LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bilinear Interpolation in IMAQ Edge Tool 3?

Hi,

 

I am curious about how bilinear interpolation is used by the the IMAQ Edge Tool 3 to find edges. Does anyone know about it?

0 Kudos
Message 1 of 4
(637 Views)

See the Edge Detection example where the ROI is a line under a certain angle. This requires resampling because edge detection works on a 1D array of pixels.

 

RamonG_0-1659361891666.png

 

0 Kudos
Message 2 of 4
(614 Views)

Given that the ROI is a line, the pixels underneath the line that belong to the image will form a 1D array as I understand it. What role does the interpolation play in this sequence? Why is the resampling needed?

0 Kudos
Message 3 of 4
(584 Views)

I think it's reasonable to assume the 1D array should contain values that are equidistant and therefor resampling is performed along the scan direction, but that might not involve this interpolation input.

 

The VI help documentation (https://www.ni.com/docs/en-US/bundle/ni-vision-2020-labview-api-ref/page/imaqvision/imaq_edge_tool_3... and Vision Concepts (https://www.ni.com/docs/en-US/bundle/ni-vision-concepts-help/page/edge_detection_concepts.html) don't explicitly say how it applied so the best way to find out might be to experiment on your own.

0 Kudos
Message 4 of 4
(569 Views)