LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automating Edge Detection?

I have a question about the IMAQ edge detection VI. I am designing a VI that will be counting edges in an image many times in succession. My question is that since the area in question will not change as the image changes, is it possible to just measure along the same line every time? Can I select a start and end pixel location for the edge detection? At this point I have to click and drag a line and it is very tedious for the amount of images that will be measured.

 

Thanks,

Mack

0 Kudos
Message 1 of 2
(2,189 Views)

Hi Mack24, 

 

Which tool are you using for edge detection? The shipping example "Edge Detection.vi" allows you to specify a ROI of a line to detect edges against. 

 

The example can be found under Toolkits and Modules->Vision->Caliper->Edge Detection.vi

 

-N

National Instruments
Staff Certification Engineer
Message 2 of 2
(2,150 Views)