LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image display after filtering

hi...
i face a problem to get display of original 8-bit image after apply IMAQ edge detection.vi on the image of read avi file in example finder....
the image display now is just the black and white color lines after filtering..
but...i want to show the display of the image of the object..not the line although i apply the filtering on the image..
how i can do it??
thank you..
0 Kudos
Message 1 of 2
(2,451 Views)
Hi wuliao23,
The detailed help for the IMAQ EdgeDetection VI has a note after the introductory paragraph explaining that the VI destructively modifies your image:

Note  This VI modifies the source image. If you need the original source image, create a copy of the image using the IMAQ Copy VI before using this VI.


To get around this, is use IMAQ Create to make a new image buffer just for this copy process, and then use IMAQ Copy to copy from your original 8-bit image (the source) to the new buffer (the destination). Then use that newly copied image as the destination (Image Dst) for the IMAQ EdgeDetection VI, rather than using the same image buffer in memory for the source and destination.

0 Kudos
Message 2 of 2
(2,434 Views)