09-11-2013 12:05 PM
I wrote a VI that read images from a Camera Link camera, filtered them (applied edge detection) and displayed them. That works well.
I then wrote a VI that reads images from the same camera and saves them in an AVI file. That works well.
I then wroe a VI that reads images from the saved AVI file and displays them on the screen. That works well.
However, when I modified the VI that reads the images from the AVI file, to also apply the edge detection filter, the 'second', 'filtered' image is a duplicate of the original. It is not filtered.
When I turn on the 'Highlight Execution', I can see the 'data flow' into the filter VIs, but the result doesn't flow out to the displayed indicator.
I have attached the VI for review.
Thanks,
Jeff
Solved! Go to Solution.
09-11-2013 05:29 PM
I guess - Read AVI frame will return RGB image, but convolution can accept only single channel images.
If so, try to convert image to grayscale prior filtering, for example in the following way:
Andrey.
09-11-2013 06:13 PM
Hi Andrey,
Thanks, that worked wonders.
I never would have guessed that on my own.
Thanks,
Jeff