Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

color coding attribute ( IEEE 1394 )

Hello,

What is teh correspondance between the value out after a get attributes with attribute input set to "color coding" and the image type? I have only a monochrome camera so I can see that color coding=1 is for 8 bits images but what stands for RGB, HSL,16 bits images etc etc ?
Thank you for your answer !
0 Kudos
Message 1 of 3
(3,331 Views)
Hello,

Could you tell me the exact name of function ?

Regards,

Isabelle Jean
Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 2 of 3
(3,331 Views)
Hello,

from niimaq1394.h:

IMG1394_COLORID_DEFAULT,
IMG1394_COLORID_MONO8,
IMG1394_COLORID_YUV411,
IMG1394_COLORID_YUV422,
IMG1394_COLORID_YUV444,
IMG1394_COLORID_RGB8,
IMG1394_COLORID_MONO16,
IMG1394_COLORID_RGB16,
IMG1394_COLORID_RGB32,
IMG1394_COLORID_RGB48

In C language, you need to compare the return value to this constances.
In LabVIEW, use Imaq1394Attribute.vi with "color coding" attribut.

Hope this help.
Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 3 of 3
(3,331 Views)