Project 4
Using Snakes (Active Contour Modeling)
Here I used matlab and defined an appropriate energy function to converge.
I ran it over this MRI image and these are the results:
Original Image |
Image after 10 iters |
 |
 |
| Image after 36 iters |
Image after 61 iters |
 |
 |
| Image after convergence |
 |
2.) Snakes on "man-made" objects
Here I changed the bending function to penalize for bends (since man-made objects
have sharp corners). I chose the steel cube sculpture and the PS2 since I thought that
the sharp angles would be difficult to get exactly right. For the cube the snake gets a
pretty good rough outline with some rounded corners. However, on the PS2, the snake has
trouble with the angles from the vertical stand. This is to be expected since it would
be more of a bend and the snake should shy away from this.
| Original image |
Image after 27 iters |
 |
 |
| Image after 50 iters |
Image after convergence |
 |
 |
| Original image |
Image after 10 iters |
 |
 |
| Image after 50 iters |
Image after convergence |
 |
 |