Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing edge detection points in IMAQ vision builder

I am attempting to find the edge coordinates of a cylindrical particle on an image. I can find the edges using the filter: edge detection function, but am not able to get a coordinate readout. Ideally, I would like to export it to a text file or excel. Does anyone know how to do this?
0 Kudos
Message 1 of 4
(3,411 Views)
Hello,

The best way to do that would be by creating a LabVIEW VI from your script and on step 3 of the VI Creation Wizard make sure you select the parameters you'll need to store in the Output List. This will create an indicator in your front panel for those parameters and you can use one of the easy file i/o vi's to save that info to a file.

Hope this helps!

Yusuf C.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,411 Views)
If you are using filtering to detect the edges, you would need to do more processing to identify the points. Right now you just have a grayscale image that displays the edges. You would need to threshold the new image to decide which points are the edge points. You could take the thresholded image and list the coordinates of all the white points, but that doesn't seem like it would be terribly useful. I am not sure if you could do that without using LabVIEW, anyway.

For more help, I need to know more about what your goal is. What are you going to do with these coordinates once you have them?

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 3 of 4
(3,411 Views)
Have you tried performing a rake (IMAQ Rake.vi) over the filtered image? That will return the coordinates.




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 4 of 4
(3,411 Views)