# simple measure over an image

Hi everyone, I Need to take a measure (euclidean distance) over a set of selected points on an image. In order to make this simple I broke down all the process in steps:

- Taking/Loading a photo (with a known pattern in it)
- Recognicing the pattern to calibrate measure
- Selecting points "from" and "to" in order to measure the distance between them

For my first iteration i will load a picture (half of number 1), select the pattern manually(a rough aproximation of number 2) and select point to measure distances between them. I'm just beginig with openCV, Do I need openCV for my fist iteration?

Thanks in advance :)

For me your question is still to vague... Do you want to find euclidean distance in 2D between points in a single image? Or do you want to get the 3D euclidean distance of two points in a space, that have been defined in two stereo photo's? Because the second approach is a lot more complicated, including camera calibration, coordinate system conversions, mapping to 3D points, ...

Euclidean distance in 2D between two points in a single image