1 / 14

Project 1 – Input/Output Image ( Due: 10/11 )

Project 1 – Input/Output Image ( Due: 10/11 ). 1.1. (i) Design a program to input and output a color image. You may download the program “ bmp_io.rar ” from http://www.cs.ucsd.edu/classes/sp03/cse190 -b/hw1 / .

duer
Download Presentation

Project 1 – Input/Output Image ( Due: 10/11 )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Project 1 – Input/Output Image (Due: 10/11) 1.1. (i) Design a program to input and output a color image. You may download the program “bmp_io.rar” from http://www.cs.ucsd.edu/classes/sp03/cse190-b/hw1/. (ii) Transform the output color image C(R,G,B) into a grayscale image I by I = (R+G+B)/3.

  2. Color image Grayscale image

  3. Project 2 – Chamferring (Due: 10/24) 2.1. Giving the boundary and corners of an object (you can create by hand), construct chamfer distance arrays for (i) the boundary and (ii) the corners, respectively. It is not necessary that the boundary and corners you created are one-pixel wide. Show the distance arrays, separately, in the image form. Note that before displaying the arrays, its values have to be scaled between 0-255. Boundary Corners

  4. Boundary image Boundary(chaferarray) Corner image Corners (chafer array)

  5. Project 3 – Noise Generators (Due: 11/14) 2.2. (i) Create an image g(x,y) whose pixels all have the same gray value of 100. Show image g(x,y). (ii) Generate Gaussian noise with using a) algorithm 2.3, n(x,y), and b) the method addressed in the class, n’(x,y). Show the noisy images f(x,y) and f’(x,y), where f(x,y) = g(x,y) + n(x,y), f’(x,y) = g(x,y) + n’(x,y). (iii) Display the histograms h(i) and h’(i) of the noisy images f(x,y) and f’(x,y). (iv) Generate salt-and-pepper (impulse) noise. (v) Comment on your results.

  6. Gaussian Noise Input image with gray values of 100 Gaussian noise (Method 1) Histogram Histogram Gaussian noise (Method 2)

  7. Salt and Pepper Noise

  8. Project 4 – Bayer Images (Due: 11/28) 2.3. (i) Choose a color image C. (ii) Create a Bayer image B from image C according to the following Bayer pattern. (iii) Generate a color image C’ from the Bayer image B usinganyinterpolation method. (iv) Compare images C and C’. p.s. It would be very encouraged if you could try more than one interpolation method.

  9. Bayer image Color image Bilinear interpolation Constant hue-based interpolation

  10. Project 5 – LBC and Ratio images (Due: 12/12) • 3.1. (i) Choose a gray level image G. • (ii) Generate the 4- and 8-neighbor LBC • images of G. • (iii) Display the LBC images • Note that before displaying the 4-neighbor LBC • image, its codes have to be scaled between 0-255 • 3.2. (i) Choose a gray level image G. • (ii) Compute its ratio image R. • (iii) Display image R. • Note that before displaying image R, its pixel • values have to be scaled between 0-255 9

  11. Grayscale image 4-neighbor LBC image 8-neighbor LBC image Ratio image

  12. Project 6 –Histogram Equalization and Specification (Due: 1/13) • Develop the histogram equalization (HE) procedure. • (b) Develop the histogram specification (HS) procedure • characterized by the following specification The HS procedure is summarized in the next page. (c) Perform your HE and HS procedures on 2-3 experimental images and discuss the results. 11

  13. Grayscale image Histogram equalization Histogram specification

  14. The HS Procedure: Given: input image (I), specification ( ) 1. Compute the histogram of I 2. Compute from 3. Compute from 4. Compute 5. Transform I into O by 5-13

More Related