Code covered by the BSD License  

Highlights from
Parametric Active Model Toolbox


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

Parametric Active Model Toolbox



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 (9)
26 Nov 2013 sarun

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 :(

10 Nov 2011 Bing Li

@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. :)

19 Oct 2011 saif

Thank you

13 Jul 2011 Jack

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

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.

14 Sep 2009 Cris Luengo

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