View License

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

» Watch video

Highlights from
Contour edition

4.0
4.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 3.75 KB File ID: #17490 Version: 1.0
image thumbnail

Contour edition

by

Vincent Garcia (view profile)

 

12 Nov 2007 (Updated )

Edit an object contour using mouse interactions

| Watch this File

File Information
Description

The function ctr_editContour allows to edit
- a point
- a square
- a rectangle
- a circle
- an ellipse
- a polygon
- a spline curve
on a given image using mouse interactions. This function is usefull
to edit an object contour. The output is a matrix Nx2 where N is
the number of sample points of the associated polygon. Moreover, the function
allows to modify an existing point (square, etc.) if the associated
polygon is an input parameter. Run script test.m to have an example.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Nov 2009 Vincent Garcia

Vincent Garcia (view profile)

Nikolay, you are perfectly right. The user has to specify the point (polygon, spline) in consecutive order. This work was initially done to help me in my everyday researches since there were no adapted tools in matlab at that time.

Comment only
11 Jan 2008 Nikolay Chumerin

Nice program. Good programming style. Will be useful. All, except splines, works in MATLAB 7. Only one suggestion: user has to add polygon/spline points ALWAYS in consecutive order. It would be much better if your program could add a new keynode in between nearest keynodes.

Contact us