LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

replace image pixel values using replace array subset - too slow!

Hi
I would like to replace specific pixels in my image such that I get a specific pattern.  I'm using replace array subset but since my image from the ccd is in fact 2048 x 1536, the vi runs very slowly.  Is there any image functions that I could use instead?
The pattern that I want is every 2nd row and col (bayer pattern) and the user will get to choose how large of an area to replace.
 
Thanks,
sau
 

Message Edited by sau on 04-07-2006 12:53 PM

0 Kudos
Message 1 of 2
(2,734 Views)
Hi sau -

I recommend building a mask (with IMAQ Mask) for the image and applying it to get the desired effect. You can build it from user input with the IMAQ ROIToMask function.
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,714 Views)