Due date
Tuesday, March 11, 2008, 11:59pm.
Task
Perform some elementary image processing operations. In the images directory you will find images called frame2.bmp, frame20.bmp, frame30.bmp. Your task is to read those images and perform some elementary image operations, so as to obtain a very rudimentary edge map out of each image. In particular, for each image you should perform the following steps:
- Convert to grayscale.
- Apply an appropriate filter to compute the x-derivative.
- Apply an appropriate filter to compute the y-derivative.
- Create a "gradient norms" image whose value in every pixel is the square root of the sums of the squares of the two derivatives.
- Threshold the gradients norms image to obtain a very coarse binary edge image.
- Save the gradient norms image and the edge to BMP files, that will be part of your submission.
File commands.m contains some Matlab comments that are likely to be useful to you for this assignment, if you implement your solution in the Matlab environment.
Grading
The assignment will be graded out of 100 points: each of the above six steps is worth 15 points, and 10 points will be awarded based on the quality of the submission (completeness of submission, including code, result images, and instructions, thoroughness of instructions, etc).
Submission guidelines
You can implement your solution in any language you want, and any platform you want. Matlab is probably going to be a convenient environment for this assignment.