Code covered by the BSD License  

Highlights from
Snakes with class

Be the first to rate this file! 29 Downloads (last 30 days) File Size: 8.8 KB File ID: #26124
image thumbnail

Snakes with class

by Cris Luengo

 

17 Dec 2009

Implementation of snakes using a class to enable automatic display of the snake over an image.

| Watch this File

File Information
Description

This package implements snakes (active contours) through a class `dip_snake`. The function `snakeminimize` modifies the snake to move it to a lower energy configuration, which typically corresponds to the snake following edges in an image. When the semicolon is left off a statement that returns an object of this class, the snake is automatically drawn on top of the image in the current figure window.

`snakeminimize` is very general in the sense that it can be used to implement many types of snakes found in the literature. The snake's external force is an input parameter, and hence the user can implement the GVF (gradient vector flow) or VFC (vector field convolution) external forces, or simply use the gradient. The balloon force is included.

This package add to and builds on DIPimage, a scientific image analysis toolbox for MATLAB. See http://www.diplib.org/

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Parametric Active Model Toolbox

MATLAB release MATLAB 7.9 (2009b)
Other requirements DIPimage version 2.1 or newer - obtainable from http://www.diplib.org/
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
14 Oct 2010 Vivek

hi,
i'm having Matlab 7.8.0 R2009 in windows platform, could you please let me know, how to run this file?

14 Oct 2010 Cris Luengo

Vivek,

It's explained in the README file inside the ZIP that you download here. You need to install DIPimage (from http://www.diplib.org/). Then copy the two M-files "snakeminimize.m" and "dip_snake.m" to the "dip/common/dipimage/" directory and the M-file "private/paramtype_snake.m" to "dip/common/dipimage/private/". You might need to CLEAR FUNCTIONS before you can use these functions.

Please let me know what it is that is not working!

Cris.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image analysis Cris Luengo 17 Dec 2009 09:47:31
image processing Cris Luengo 17 Dec 2009 09:47:31
snake Cris Luengo 17 Dec 2009 09:47:31
active contour Cris Luengo 17 Dec 2009 09:47:31
balloon force Cris Luengo 17 Dec 2009 09:47:31
dipimage Cris Luengo 17 Dec 2009 09:47:31
segmentation Cris Luengo 17 Dec 2009 09:47:31
active contour foufa riahi 09 Jan 2010 06:36:18
image processing hind 22 Apr 2011 16:24:13
active contour sridharan 30 Jan 2012 13:58:11

Contact us at files@mathworks.com