08-01-2022 06:12 AM
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?
08-01-2022 08:53 AM
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.
08-02-2022 04:15 AM
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?
08-02-2022 07:55 AM
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.