Professional Documents
Culture Documents
Full Scale Contrast Stretch for different images and respective Histograms after full scale contrast
stretching
Question 1(b): Histogram Equalization
Histogram equalized images and their respective histograms after histogram equalization
Fig1 Fig2
Fig3 Fig4
Fig 5
Question1(c) Non-Linear contrast stretch:
Histogram equalized Image and respective Histogram (after equalization)
Fig1 : IISc Main building Image
Fig1 Fig2
Fig3 Fig4
Fig5
Question2 Image Upsampling
Here I have up sampled two images “Bee Image” and “StoneFace Image” with scaling factor
2 & 3. Using nearest neighbor interpolation and bilinear interpolation.
In first part (Q2a) I have unsampled the image and in Second part(Q2b) I have down
sampled the image and then up sampled the image and calculated mean square error from
both interpolation.
so I have found that Bilinear Interpolation gives better result over Nearest Neighbor
Interpolation because it gives less mean square error.
➔ Mean Square Error for StoneFace image using Bilinear interpolation 86.567
➔ Mean Square Error for Bee image using Nearest Neighbour interpolation 0.007959
➔ Mean Square Error for StoneFace image using Nearest Neighbour interpolation 193.77
➔ Mean Square Error for Bee image using Bilinear interpolation 0.0041725
➔
➔ Mean Square Error for StoneFace image using Bilinear interpolation 86.567146
➔ Mean Square Error for Bee image using Nearest Neighbour interpolation 0.0079592
➔ Mean Square Error for StoneFace image using Nearest Neighbour interpolation 193.7
➔ Mean Square Error for Bee image using Nearest Neighbour interpolation 0.0079
Image Upsampling by factor 2 and 3 Of :
Downsampling and Upsampling of Images
1] Using Bilinear Interpolation
Fig1 Fig2