Skip to content
Related Articles
Open in App
Not now

Related Articles

Digital Image Processing Basics

Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 30 Nov, 2021
Improve Article
Save Article

Digital Image Processing means processing digital image by means of a digital computer. We can also say that it is a use of computer algorithms, in order to get enhanced image either to extract some useful information. 

Image processing mainly include the following steps:

1.Importing the image via image acquisition tools; 
2.Analysing and manipulating the image; 
3.Output in which result can be altered image or a report which is based on analysing that image.

What is an image?

An image is defined as a two-dimensional function,F(x,y), where x and y are spatial coordinates, and the amplitude of F at any pair of coordinates (x,y) is called the intensity of that image at that point. When x,y, and amplitude values of F are finite, we call it a digital image
In other words, an image can be defined by a two-dimensional array specifically arranged in rows and columns. 
Digital Image is composed of a finite number of elements, each of which elements have a particular value at a particular location.These elements are referred to as picture elements,image elements,and pixels.A Pixel is most widely used to denote the elements of a Digital Image.

Types of an image

  1. BINARY IMAGE– The binary image as its name suggests, contain only two pixel elements i.e 0 & 1,where 0 refers to black and 1 refers to white. This image is also known as Monochrome.
  2. BLACK AND WHITE IMAGE– The image which consist of only black and white color is called BLACK AND WHITE IMAGE.
  3. 8 bit COLOR FORMAT– It is the most famous image format.It has 256 different shades of colors in it and commonly known as Grayscale Image. In this format, 0 stands for Black, and 255 stands for white, and 127 stands for gray.
  4. 16 bit COLOR FORMAT– It is a color image format. It has 65,536 different colors in it.It is also known as High Color Format. In this format the distribution of color is not as same as Grayscale image.

A 16 bit format is actually divided into three further formats which are Red, Green and Blue. That famous RGB format. 

Image as a Matrix

As we know, images are represented in rows and columns we have the following syntax in which images are represented: 

The right side of this equation is digital image by definition. Every element of this matrix is called image element , picture element , or pixel. 



In MATLAB the start index is from 1 instead of 0. Therefore, f(1,1) = f(0,0). 
henceforth the two representation of image are identical, except for the shift in origin. 
In MATLAB, matrices are stored in a variable i.e X,x,input_image , and so on. The variables must be a letter as same as other programming languages. 



1.ACQUISITION– It could be as simple as being given an image which is in digital form. The main work involves: 
a) Scaling 
b) Color conversion(RGB to Gray or vice-versa) 
2.IMAGE ENHANCEMENT– It is amongst the simplest and most appealing in areas of Image Processing it is also used to extract some hidden details from an image and is subjective. 
3.IMAGE RESTORATION– It also deals with appealing of an image but it is objective(Restoration is based on mathematical or probabilistic model or image degradation). 
4.COLOR IMAGE PROCESSING– It deals with pseudocolor and full color image processing color models are applicable to digital image processing. 
5.WAVELETS AND MULTI-RESOLUTION PROCESSING– It is foundation of representing images in various degrees. 
6.IMAGE COMPRESSION-It involves in developing some functions to perform this operation. It mainly deals with image size or resolution. 
7.MORPHOLOGICAL PROCESSING-It deals with tools for extracting image components that are useful in the representation & description of shape. 
8.SEGMENTATION PROCEDURE-It includes partitioning an image into its constituent parts or objects. Autonomous segmentation is the most difficult task in Image Processing. 
9.REPRESENTATION & DESCRIPTION-It follows output of segmentation stage, choosing a representation is only the part of solution for transforming raw data into processed data. 
10.OBJECT DETECTION AND RECOGNITION-It is a process that assigns a label to an object based on its descriptor. 




According to block 1,if input is an image and we get out image as a output, then it is termed as Digital Image Processing. 
According to block 2,if input is an image and we get some kind of information or description as a output, then it is termed as Computer Vision. 
According to block 3,if input is some description or code and we get image as an output, then it is termed as Computer Graphics. 
According to block 4,if input is description or some keywords or some code and we get description or some keywords as a output,then it is termed as Artificial Intelligence 



Digital Image Processing (Rafael c. gonzalez)

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!