View License

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

» Watch video

Highlights from
Parametric Active Model Toolbox

4.8 | 5 ratings Rate this file 28 Downloads (last 30 days) File Size: 4.54 MB File ID: #22871 Version: 1.0
image thumbnail

Parametric Active Model Toolbox


Bing Li (view profile)


Collection of functions and examples of parametric active model.

| Watch this File

File Information

Active Model Toolbox (AMT) provides the neccessary infrastructures to get started with active contours. It also provides two examples for users to learn from. It is based two publications

[1] Bing Li and Scott T. Acton, "Active contour external force using vector field convolution for image segmentation," Image Processing, IEEE Trans. on, vol. 16, pp. 2096-2106, 2007.
[2] Bing Li and Scott T. Acton, "Automatic Active Model Initialization via Poisson Inverse Gradient," Image Processing, IEEE Trans. on, vol. 17, pp. 1406-1420, 2008.


This file inspired Snakes With Class.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
04 Nov 2015 Jason Deglint

Hi Bing. Thanks for the great code. Do you plan to update the files to include the Active Surface (AS_*) code? I would find this very useful.

Comment only
20 Apr 2015 Bing Li

Bing Li (view profile)

If you don't have Bioinformatics Toolbox, you can simplify comment out that function call

Comment only
26 Nov 2013 Sarun

Sarun (view profile)

Works great!! There is some bugs for open type but the code is easy to understand and fix it.

07 Nov 2012 Vincent Gigot

I cannot even use the example, an error occured, beacause Bioinformatics Toolbox is needed.

Error using AM_FFS (line 129)
GRAPHCONNCOMP() in the Bioinformatics Toolbox is required to run this function!

Error in example_pig (line 63)
vert = AM_FFS(Fext,imdilate(f,strel('disk',1)));

too bad :(

Comment only
10 Nov 2011 Bing Li

Bing Li (view profile)

@Jack - well, I have another set of AS_* functions for parametric active surfaces, but I haven't had time to polish the code to really publish them. :)

Comment only
19 Oct 2011 saif

saif (view profile)

Thank you

Comment only
13 Jul 2011 Jack

Jack (view profile)

Very nice job, Bing. It works perfect. Thank you ! Furthermore, I would like to ask you, how can I use/modify this code for 3D- Image/Object? Which functions can I use instead of AC_display, AC_quiver, AC_deform etc.? Actually I want to segment an 3D image and visualize it like your example for 2D-image.


02 Jan 2011 Liu tiger

thank you!

13 Jan 2010 Bing Li

Bing Li (view profile)

Cris, Thanks for using the code.

- AM = Active model, AC = Active contour, AS = Active surface. AM_* functions are general function that can be used for either 2D or 3D cases; AC_* functions are 2D only. There are some AS_* functions I didn't put in the package, since they are too messy to be published.
- Thanks for catching this problem in AC_deform. Even though it doesn't cause any problems, I agree that it is confusing. I'll update the file.

Comment only
14 Sep 2009 Cris Luengo

Cris Luengo (view profile)

Thanks for the code, Bing. This is very useful!

Some comments:
- You are using a confusing naming scheme, some functions start with AC, some with AM, but I do not see the logic in the division.
- In your "main" function, AC_deform, you have two nested FOR loops that both use the variable "i" as index. The outer loop just uses it as a counter, that value is not actually used anywhere. This is why the code works OK. But it would be clearer if these were different variables. Also, I prefer using "ii" for index, because "i" is also used for the complex number and redefining it could cause problems.

25 Feb 2009 Wendy Wu

Contact us