Docsity

Programming Assignment 2 for Computers and Vision 1 | CAP 5416, Assignments of Computer Science

Toggle sidebar
bg1
CAP5416/CAP4410: Programming Assignment #2.
Due Date:11/5/08
(20 pts)
You should turn in well documented C/C++ code or MATLAB code for the
following programs as well as a report containing a discussion of your findings
and display of your results. Code without documentation will NOT be graded.
Develop code to: (a) implement the snakes algorithm from the Kass Witkin
Terzopoulos paper which was discussed at length in class. Use an LU factor-
ization to solve the resulting linear system. (b) Incorporate the Eterm i.e.,
the termination potentials into the external potentials in your implementation.
(c) Add the ballooning term that allows for initialization of the snake to be
sufficiently far from the desired boundaries. (d) interpolate your external po-
tentials using bilinear interpolation so that the external potentials are smooth
everywhere. Demonstrate the advantage of using the termination potentials by
showing that the snake can actually get attracted to concavities in objects.
Use the test images provided to you as input for testing your code. Imple-
mentation of the algorithm should be your own but you may use any existing
GUI or write your own. Discussion on the balloon term can be found in the
paper by L. D. Cohen, ”On active contour models and balloons,” in Computer
Vision, Graphics and Image Processing, Volume 53 , Issue 2 March 1991, page
211-218.
Your report should contain, snap shots of the initialized snake, two interme-
diate stages of the snake and then the final achieved result. Each of these snake
snap shots should be superposed on the original image depicting the position
of the snake in the image being segmented. Use a red color to show the snake
contour. Interpolate the snake contour points to get a smooth contour.
20% Extra Credit: Your GUI should allow the user to interact with the
snake via mouse enabled input forces.
1

Partial preview of the text

Download Programming Assignment 2 for Computers and Vision 1 | CAP 5416 and more Assignments Computer Science in PDF only on Docsity!

CAP5416/CAP4410: Programming Assignment #2. Due Date:11/5/ (20 pts)

You should turn in well documented C/C++ code or MATLAB code for the following programs as well as a report containing a discussion of your findings and display of your results. Code without documentation will NOT be graded.

Develop code to: (a) implement the snakes algorithm from the Kass Witkin Terzopoulos paper which was discussed at length in class. Use an LU factor- ization to solve the resulting linear system. (b) Incorporate the Eterm i.e., the termination potentials into the external potentials in your implementation. (c) Add the ballooning term that allows for initialization of the snake to be sufficiently far from the desired boundaries. (d) interpolate your external po- tentials using bilinear interpolation so that the external potentials are smooth everywhere. Demonstrate the advantage of using the termination potentials by showing that the snake can actually get attracted to concavities in objects.

Use the test images provided to you as input for testing your code. Imple- mentation of the algorithm should be your own but you may use any existing GUI or write your own. Discussion on the balloon term can be found in the paper by L. D. Cohen, ”On active contour models and balloons,” in Computer Vision, Graphics and Image Processing, Volume 53 , Issue 2 March 1991, page 211-218.

Your report should contain, snap shots of the initialized snake, two interme- diate stages of the snake and then the final achieved result. Each of these snake snap shots should be superposed on the original image depicting the position of the snake in the image being segmented. Use a red color to show the snake contour. Interpolate the snake contour points to get a smooth contour.

20% Extra Credit: Your GUI should allow the user to interact with the snake via mouse enabled input forces.