<< imroi Utilities and Interactive Tools rectangle >>

IPCV - Image Processing and Computer Vision Toolbox for Scilab >> Utilities and Interactive Tools > imselect

imselect

Select points on an image.

Syntax

pts = imselect(n [, bnd])

Parameters

n :

Number of maximum points to select, or it could be less by using right click.

bnd :

optional 1x4 vector [xmin, ymin, xmax, ymax];

pts :

Selected points coordinates, axes coordinates returns.

Description

This function allows user to select the up to the maximum points specified in n, or the last points could be selected by using right click. The returned coordinates are in cartesian, which need to be manually converted to image coordinates if required.

Examples

S = imread(fullpath(getIPCVpath() + "/images/puffin.png"));
imshow(S);
pts = imselect(5);

See also

Authors


Report an issue
<< imroi Utilities and Interactive Tools rectangle >>