LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know how to "hard code" a simple edge finding algorithm? or input about my problem..

Solved!
Go to solution

 I don't have IMAQ....... I need to measure black columns of different length on a picture. I created a program that convert the picture in binary “colors” and check the values on the matrix looking for the changes in color. Every time there is a change it records the location (column number on the row is running) ..  but my real problem is:  if the second column is larger than the first one the values of the second column is assigned as the first column. Please see attached program and picture check the data exporting the indicator.

Download All
0 Kudos
Message 1 of 3
(2,604 Views)
Solution
Accepted by topic author vg007

Hi vg007, what version LabVIEW are you using? I found an example in the NI Example Finder  (LabVIEW 2014) that might be helpful to accomplish what you are trying to do. In LabVIEW navigate to Help >> Find Examples.

 

In the Example Finder under the 'Browse' tab go to:

 

Analysis, Signal Processing and Mathematics >> Signal Processing >> Edge Detection with 2D Convolution.vi

Message 2 of 3
(2,524 Views)

Thank you for guiding me! 🙂

0 Kudos
Message 3 of 3
(2,495 Views)