<< imchoose Utilities and Interactive Tools imlsusb >>

IPCV >> Utilities and Interactive Tools > imdistline

imdistline

Measure distance between 2 selected points in pixels.

Syntax

dist = imdistline()

Parameters

dist :

Computed distance

Description

This function allows the user to select 2 points on the current figure and measure the distance between 2 points.

Examples

S = imread(fullpath(getIPCVpath() + "/images/balloons.png"));
imshow(S);
dist = imdistline();

See also

Authors


Report an issue
<< imchoose Utilities and Interactive Tools imlsusb >>