Measure distance between 2 selected points in pixels.
dist = imdistline()
Computed distance
This function allows the user to select 2 points on the current figure and measure the distance between 2 points.
S = imread(fullpath(getIPCVpath() + "/images/balloons.png")); imshow(S); dist = imdistline(); | ![]() | ![]() |