[go: up one dir, main page]

0% found this document useful (0 votes)
7 views2 pages

Dipcse Lab 2020

Uploaded by

Ritik Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Dipcse Lab 2020

Uploaded by

Ritik Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

-1-

Department of Computer Science & Engg.


College of Engineering & Technology
Baba Ghulam Shah Badshah University, Rajouri (J&K)

Course Title: Digital Image Processing (Using MATLab/SciLab) Course Code: CSE-731
LAB-1
a) Generate the Vectors from functions using
zeros (M,N) MxN matrix of zeros
ones(M,N) MxN matrix of ones
rand(M,N) MxN matrix of uniformily distributed random numbers on (0,1)
b) Create two matrices (and hence vectors), set the entries of a matrix, perform following
operations:
a. Add two matrices
b. Subtract two matrices
c. Multiply two matrices
LAB-2
a) How to define variables, programming constructs, loops and custom functions. Also mentions
predefined variables in MATLAB and few functions.
b) Write small programs using:
FOR, IF-END,IF-ELSE_END,ELSEIF,SWITCH-CASE, FOR Loops , WHILE Loops.

Lab3:
a) Create a vector x, with 50 equally spaced entries from 0 to 1.0 create a vector f, with entries
of cosine evaluated at entries of 2*pi*x, plot f is a function of x, using + symbols. Create a
vector g with entries sin (2*pi*x), on same graph plot g as a function of x, using red +
symbols. Add the title, labeling Axes and Legends.
b) Create two curves on the same graph:

F=1/ (1*x^2)

G= exp(x^3)

Plot the point at 33 points equally spaced between 0 and 1, Use black * for F and green 0s for
G Label the horizontal and vertical axes, credits a title (Including your name), Create a
legend.

Lab4:
Read the two images , retrieving the image information and perform the following operations :
Adding two images, Subtracting two images, multiplying two images, Dividing two images,
converting rgb to gray scale, converting gray to monochrome, cropping an image, resizing an
image, rotating an image.
Lab5:
a) Displaying the histogram of the image, perform the histogram normalization and equalization.
b) Take your own photograph in dark area. Improve its appearance using histogram equalization
Technique.

Lab6:
a) Perform filtering using linear filtering or median filtering by correlation or convolution.
b) Find the color composition of pixels in the 11 th row and 14th column and20th column , Plot the
Images as a figure
c) Write a program to perform a special filtering of an image by taking different size of mask.

Lab 7:
(a) Implement the basic gray level transformation functions.
(b). Detect the edge of an image using canny, sobel, Prewitt,Laplacian, robert and LoG methods.

Lab 8:
Write and execute programs for image frequency domain filtering
a) Apply FFT on given image
b) Perform low pass and high pass filtering in frequency domain
c) Apply IFFT to reconstruct image

Lab 9:
Write programs to implement various image compression techniques.

Lab 10:
Write a program for image segmentation:
Demonstration of global and local thresholding for segmentation

Lab 11:
Write the program for Face and Eye Recognition and Detection.

You might also like