SIP Toolbox

xgetpixel - Gets the pixel coordinates from an image

Calling Sequence

p = xgetpixel(arg [,winno])

Parameters

Description

Function xgetpixel interactively shows the (row,col) position of the mouse cursor over an image ploted into scilab graphic.

Examples

       initial_dir = PWD;
       chdir (SIPDIR + 'images');

       [im,map] = imread('example.bmp');
       xbasc()
       imshow(im,map);
       p = xgetpixel(im)

       chdir(initial_dir);
   

Authors

Ricardo Fabbri <ricardofabbri (AT) users DOT sf DOT net>

Availability

The latest version of the Scilab Image Processing toolbox can be found at

http://siptoolbox.sourceforge.net

See Also

xgetmouse,  xclick,  locate,