LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Do IMAQ_Extract/Replace_Color_Planes work with pointers or pixels?

I'm working in LabView, with IMAQ and the vision utilities. I'm developing a program that works with imagery from a camera, subtracting images from a reference image. The camera delivers an RGB image, and I need to extract the color planes and work on them separately. I'm having problems with images not being where they're supposed to be, and I suspect that images are getting corrupted and/or overwritten. Do the routines IMAQ_Extract_Color_Planes and IMAQ_Replace_Color_Planes work with pointers, or do they actually copy the extracted/replaced pixels?
0 Kudos
Message 1 of 2
(2,592 Views)
Hi pblase,

LabVIEW handles images by passing references, not the images themselves.  I am a little confused as to the nature of the problems that you are having with your images not being in the correct location.  Color plane extraction should be relatively easy.  Could you elaborate on the problems that seem to be ocurring?

Wes P
Applications Engineer
National Instruments
Wes Pierce
Principal Engineer
Pierce Controls
0 Kudos
Message 2 of 2
(2,576 Views)