From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-18-2015 10:08 PM - edited 10-18-2015 10:10 PM
I am using the Vision Acquitisition Software from Feb 2015 to capture images from a Basler Ace series camera.
When I read an IMAQ image out of the buffer and display it to the front panel it looks like the grayscale image below. There are lots of horizontal and vertical lines in the displayed image. How can I get rid of of these lines? I have found examples online about making grayscale images that I can't use because I don't have any cast functions in my vision pallette. One example I am referencing: http://digital.ni.com/public.nsf/allkb/ED42C55C29B9B34C862570A60079952E
I assume they are probably color filters for the Bayer filter? See how the colorized image looks much better after going through the Bayer filter VI. How can I make a grayscale image that looks as smooth as the color image?
Solved! Go to Solution.
10-18-2015 10:44 PM
Use a convolution filter. Either a 2x2 with all ones, or 3x3 with 1 2 1, 2 4 2, 1 2 1 for the rows. This will average the pixels and eliminate the checkerboard.
Bruce
10-18-2015 10:52 PM - edited 10-18-2015 10:54 PM
10-18-2015 10:54 PM
IMAQ Convolute under the Filters palette.
Bruce
10-18-2015 10:54 PM
Does that mean there is no IMAQ function to do this?
If I have to use the convolution filter, then will I need to turn the image into an array and process it through the convolution filter vi?
10-18-2015 10:57 PM
I don't seem to have the IMAQ Convolute vi installed. The only filters palette I know about is the one in signal processing palette and I don't see it in there. Also, I don't have any IMAQ filters in the vision palette.
10-18-2015 10:59 PM
Do you have the NI Vision tools installed? It sounds like you do not.
Bruce
10-18-2015 11:00 PM
I have Vision Acquitisition Software from Feb 2015 installed. Does that not come with the VI you are refering to? Maybe I just didn't install it?
10-18-2015 11:06 PM
No, you have to purchase and install the NI Vision Development Module, which is separate from the Vision Acquisition Drivers.
Bruce
10-18-2015 11:09 PM
Thanks for helping me figure that out!