Hello to all.
I have an image and a ROI.
I would like to get the minimun distance between the first edge and the last edge in horizontal position.
See image attached. If every edges found are in color yellow I would like to get the distance between edges in red (minimun distance from last edge to last edge in horizontal direction.
I have tried to use "IMAQ Clamp Horizontal Min VI" but this VI does't the option "from first to last edge" and the only way to get what I want is to play with contrast but it is not work for some of my images.
So is there any way to get what I want?
Here is the image.
From fist edge to last edge I mean from left to righ, the first edge found and last edge found.
Thanks a lot.