Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert IEEE 1394 Cameras color image into greyscale

How can I directly convert a color image (RGB32, live image from IEEE 1394 cameras) into greyscale image (U8) ?
 
Because the find object function cannot used at color image (RGB32)
 
At that moment, I can only save the color image into file, then open this file as U8 format. 
 
my camera is PROSILICA EC1380C
interface : IEEE 1394
driver : NI-IMAQ IEEE1394 for cameras
 
Thanks !
0 Kudos
Message 1 of 3
(3,255 Views)
Hi Metron,
 
If you have Vision, you can convert a RGB image to grayscale by using the IMAQ ExtractSingleColorPlane and extracting intensity or luminance.
 
Ryan M.
Applications Engineer
National instruments
0 Kudos
Message 2 of 3
(3,244 Views)
Hi Ryan M,,
 
It is ok now, thanks !
 
Metron
0 Kudos
Message 3 of 3
(3,228 Views)