View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
imPixelLine and imCircle

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 108 KB File ID: #13397 Version: 1.0

imPixelLine and imCircle


sun peng (view profile)


15 Dec 2006 (Updated )

pixel by pixel version of imline and circle version of imrect

| Watch this File

File Information

m_pix_line draws a "pixel by pixel" imline and im_circle draws a "circle version" of imrect.They are adopted from imline and imrect, respectively.
Both of them are dragable and extensible(add callback, contrait function, etc.)

Refer to demo.htm on how to install them.

They are easy to use:

for example:
figure, imshow('cameraman.tif')
h = im_circle(gca, [110,60], 30);
api = iptgetapi(h);
api.setColor([1 0 0]);

This will draw a circle centered at (110,60) with radius 30

for another example:
im_pix_line(imgca,[189, 204],[195,214]);

This will draw a pixel by pixel line between (189,195) and (204,214)

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
30 Jun 2011 Aurélien TROTIER

Contact us