Skip to content

aminul-islam-niloy/Digital-Image-processing-

Repository files navigation

Certainly! Here is a decorated version for a README file:

Image Processing Lab Tasks

Task 1: Grayscale Image Operations

(a) Decrease Spatial Resolution

  • Take a grayscale image of size 512x512.
  • Decrease its spatial resolution by half every time.
  • Observe changes when displaying in the same window size.

(b) Decrease Intensity Level Resolution

  • Decrease intensity level resolution by one bit up to reach its binary format.
  • Observe changes when displaying in the same window size.

(c) Illustrate Histogram & Single Threshold Segmentation

  • Illustrate the histogram of the image.
  • Perform single threshold segmentation observed from the histogram.

Task 2: More Grayscale Image Operations

(a) Brightness Enhancement

  • Take a grayscale image of size 512x512.
  • Perform brightness enhancement of a specific range of gray levels.
  • Observe the result.

(b) Power Law & Inverse Logarithmic Transformation

  • Differentiate the results of power law & inverse logarithmic transformation.

(c) Find Difference Image

  • Take a grayscale image.
  • Find the difference image between the original & the image obtained by the last three MSBs.

Task 3: Image with Salt-and-Pepper Noise

(a) Average & Median Spatial Filters

  • Apply average & median spatial filters with a 5x5 mask.
  • Observe their performance for noise suppression in terms of PSNR.

(b) Average Filter with Different Mask Sizes

  • Apply an average filter with (3x3, 5x5, 7x7) mask.
  • Observe its performance in terms of PSNR.

(c) Harmonic & Geometric Mean Filter

  • Apply harmonic & geometric mean filter on the noisy image.
  • Compare their performance with PSNR.

Task 4: Image with Gaussian Noise

(a) Frequency Domain Filtering

  • Apply 4th order Butterworth & Gaussian low-pass filter.
  • Analyze their performance quantitatively.

(b) Ringing Effect of Ideal Low-Pass Filter

  • Display the ringing effect of the ideal low-pass filter of different radii on the image.

(c) Edge Detection

  • Perform edge detection on the noisy & clean image using ideal & Gaussian high-pass filters.

Task 5: Binary Image Morphological Operations

(a) Erosion & Dilation

  • Perform Erosion & Dilation operations.

(b) Opening & Closing

  • Perform Opening & Closing operations.

(c) Boundary Extraction

  • Extract boundaries using morphological operations.

Releases

No releases published

Packages

No packages published