[vtkusers] vtkImageData::GetNumberOfScalarComponents()

Meisam Aliroteh meisam.aliroteh at gmail.com
Wed Oct 17 09:15:56 EDT 2007


If you have a gray-scaled image then your image has 1 scalar component (just
the gray level) and if you have a colored image then your image has 3 scalar
components (RGB, HSV, HSI, etc). GetNumberOfScalarComponents will tell you
this number.

On 10/17/07, tuo zhang <zhangtuo123 at yahoo.com.cn> wrote:
>
> Hi all,
> what does "scalar components" mean?
>
> Thanks!
>
>                           Jedi  07/10/17
>
>
>      ___________________________________________________________
> 雅虎邮箱,终生伙伴!
> http://mail.yahoo.com.cn/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071017/d365353d/attachment.htm>


More information about the vtkusers mailing list