LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Edges in Grayscale Image

I am trying to analyze the edges in an image using the Laplacian of Gaussian, with a threshold and sigma(variance) values. However, the IMAQ toolkit does not have a full function for this. For instance, the IMAQ edge detection does not mention any thing about the Laplacian of Gaussian method.

 

Like in MATLAB, BW = edge(I,'log',thresh,sigma) will do the job. where log = Laplacian of Gaussian.

 

I will like to know if anyone has any idea on what additional function to use in LabVIEW to achieve this task. One option I would have used is to put a MATLAB script node in my LabVIEW program, but the results generated with MATLAB script node when it comes to image processing is frustrating.

 

Thank you.

0 Kudos
Message 1 of 2
(2,779 Views)
Hi ade77, You are correct we do not seem to have a function that will do this directly. What you might try is using the IMAQ Convolute function to create your own convolution kernel to perform the Laplacian of Gaussian part of it. You can then use the edge detection step to finish your processing. I don’t know if you are familiar with creating a convolution kernel or not. I would take a look at this site as it seems to have an equation to generate the kernel you need. http://academic.mu.edu/phys/matthysd/web226/Lab02.htm
Adam H
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,741 Views)