SIVP Toolbox
Last update : September, 2008

rectangle - Draw a rectangle on image

Calling Sequence

imr = rectangle(im, rect, rgb)

Parameters

Examples


    im = imread(SCI + '/contrib/sivp/images/lena.png');
    imr = rectangle(im, [20, 30, 50, 100]);
    imshow(imr);

Authors

Jia Wu <jiawu83[at]gmail.com>

Availability

The latest version of SIVP can be found at

http://sivp.sourceforge.net

See Also