Digital Image Processing
Homework 2, Due 4/6
Problem 1
Power-Law (Gamma) Transformation
Write a program to perform the power-law transformation
for gamma = 0.6, 0.4, and 0.3.
Problem 2
Contrast Stretching
(a) Design a transformation function as Figure 3.10(a) on Page 116.
Then use this transformation function to do contrast stretching.
(b) Do the thresholding.
ftp your homework to
ftp://imagestud@140.127.208.113/
in the directory 影像處理\HW2
by the following format:
檔案名稱:hw#_學號.zip
例如:資工同學,作業2
檔案名稱:hw2_a09355xx.zip
The password is given in class.