CENG466 – HW4 17.12.2003

DUE: 02.01.2004  -  23:59

In this homework you are required to segment a given image. Consider the following example:

original image

segmented image

Your implementation should include:

1.      Developing your own algorithm based on “Region Growing” method.

2.      Developing your own algorithm based on “Split and Merge” paradigm where “Quad Trees” are used for splitting.

Write a report detailing your implementation.

You will use C programming language for this assignment. Your main file should be named hw4.c 

Your homework should accept 3 parameters. First for input file name, second for output file name and the last one is an integer value representing the.

hw4 input.ppm output.ppm {1,2}  <--- 'input.ppm' is the input image, 
                                      'output.ppm' is the segmented image and 
 
                                      1 representing that the program will use region growing method,
                                      and alternatively,
                                      2 representing that the program will use split and merge paradigm. 

 

HINTS & NOTES: