MADHAV INSTITUTE OF TECHNOLOGY AND SCIENCE, GWALIOR
Deemed to be University
(Declared under Distinct Category by Ministry of Education, Government of India)
(NAAC Accredited with A++ Grade)
Lab Report
On
Digital Image Processing
(2150601)
Submitted by:
Karan Chhabda
(0901CS221062)
Faculty Mentor:
Dr. Ganesh Chandra
Dr. Rohit Agrawal
Assistant Professor
Department of Computer Science and Engineering
Submitted to:
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
MADHAV INSTITUTE OF TECHNOLOGY AND SCIENCE
GWALIOR (474005) (MP) est.1957
JAN-JUNE 2025
INDEX
S.no EXPERIMENT Date of Signature
Experiment
1. Program to read an image and display it on the
screen.
2. Program to determine image negative
3. Read an image and perform different filtering
operations
4. Program to create motion blur.
5. Program to perform gray level slicing without
background
6. Program to perform brightness enhancement
and brightness suppression of an image.
7. To create a vision program to find histogram
and display histograph of a grayscale and
colour image
8. Read an RGB image and segment it using
threshold method
9. Read a colour image and separate the colour
image into red green and blue planes.
10. Perform gamma correction for given colour
image
11. Program to perform different image
conversion techniques
12. To create colour image and perform read and
write operation
13. Code to implement watermarking in spatial
domain
14. Code to generate different levels of Gaussian
Pyramid
EXPERIMENT-1
Aim: Program to read an image and display it on the screen.
CODE:
OUTPUT:
EXPERIMENT-2
Aim: Program to determine image negative.
CODE:
OUTPUT:
EXPERIMENT-3
Aim: Read an image and perform different filtering operations (Average, Median
etc.)
CODE:
OUTPUT:
EXPERIMENT-4
Aim: Program to create motion blur.
CODE:
OUTPUT:
EXPERIMENT-5
Aim: Program performs Gray level slicing without background.
CODE:
OUTPUT:
EXPERIMENT-6
Aim: Program to perform brightness enhancement and brightness suppression of
an image.
CODE:
OUTPUT:
EXPERIMENT-7
Aim: To create a vision program to find histogram value and display histograph
of a grayscale and colour image.
CODE:
OUTPUT:
CODE:
OUTPUT:
EXPERIMENT-8
Aim: Read an RGB image and segment it using threshold method.
CODE:
OUTPUT:
EXPERIMENT-9
Aim: Read a colour image and separate the colour image into red green and
blue planes.
CODE:
OUTPUT:
EXPERIMENT-10
Aim: Perform gamma correction for the given colour image
CODE:
OUTPUT:
EXPERIMENT-11
Aim: Program to perform different image conversion techniques
CODE:
OUTPUT:
EXPERIMENT-12
Aim: To create a colour image and perform read and write operation
CODE:
OUTPUT:
EXPERIMENT-13
Aim: Code to implement watermarking in spatial domain
CODE:
.
OUTPUT:
EXPERIMENT-14
Aim: Code to generate different levels of Gaussian Pyramid.
CODE:
OUTPUT: