02 – Basic Spatial Operations Using MATLAB

Introduction: In this project we are going to load an image file into MATLAB and make some basic spatial operations on it; spatial operations are processing methods that modify images in the spatial domain. There are three main types of spatial operations:

  1. Single Pixel Operations: on which the changes are made on each pixel independently, such as generate negative image (inverse intensities), log, inverse log and gamma corrections.
  2. Neighborhood Operations: on which the new intensity value for each pixel depends on the intensity values of its neighbors, with a specific modifications, such as averaging (Blurring). Spatial filtering is a common example for this type of operations.
  3. Geometric Spatial Transformations: on which the image coordinates are first changed, then pixels are mapped. For example: scaling, rotating, translating and shearing.

ImgProc2_hist This project consists of three parts, firstly applying gamma correction on a gray scale image. Secondly Histogram Equalization, and then Spatial Filtering with specific filter mask.

* The full article can be found in the attached PDF file.

* The source code and the used images can be found in the attached ZIP file.

winzipDigital Image Processing 2.pdf

winzipDigital Image Processing 2.zip

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.