CS/ECE 545 Homework 10

Complete by Class 12

Morphological Image Processing

Write a program to perform erosion, dilation, opening, and closing operations. Use the structuring element B={(-1,0), (0,0), (1,0), (0,-1), (0,1)} for all operations. Explain any assumptions you make about the input data, such as its dimensions, number of colors, range of values, etc.

Test your program on the Galaxy thresholded at 50 (.img), Galaxy thresholded at 50 (.tif). For reference, the original image is at galaxy.img, galaxy.tif.

How do you handle image boundaries?

Alternative Definitions of Morphological Operations

Problems 9.10 and 9.11 from the textbook.

CS/ECE 545 Staff
Contents ©1997 - 2011 Norman Wittels and Michael A. Gennert