Download - Lab Manual of DSIP
-
8/10/2019 Lab Manual of DSIP
1/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 1# MAT/A$ Intro*uction an* +lotting of $asic *iscrete
Signals. Date: _________
1. Aim: Introduction to MATLAB and Plotting of Basic discrete Signals.
2. RequirementsPC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
+a,iliarit- with MATLAB and stud- of discrete ti,e signals and their
classication
4. Laboratory Exercise
A) Procedure
%a) /0en new ,le.%b) 1rite a 0rogra, code for dis0la-ing discrete ti,e signals such as
2%n)3 u%n)3 r%n)3rising e40onential and decreasing e40onential.%c)5se sub0lot to dis0la- the signals
%d) Sa*e ,le. &un it and obser*e the results%e) Insert title3 legends3 46label and -6label in each gra0h.
. Post-Experiment Exercise
A) !"eory
7) 8laborate on Discrete ti,e signals and classif- the,') 1rite the ,athe,atical denitions of signals studied in the lab
#) $bser%ations:
/bser*e the 0lotted signals w. r. t. their ,athe,atical
re0resentations. &e9ect on what is studied
&) Re'ated (uestions
7) Co,,ent on wh- to use discrete ti,e signals o*er analog signals
Page ; 7
-
8/10/2019 Lab Manual of DSIP
2/22
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
_____________________________
Page ; '
-
8/10/2019 Lab Manual of DSIP
3/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment !# linear, circular, linear using circular conolution Date:
_________1. Aim: Progra, to i,0le,ent Linear Con*olution3 Circular Con*olution
and Linear Con*olution using Circular Con*olution.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of Discrete ti,e s-ste,s and their classications3 I,0ulse
res0onse and con*olution
4. Laboratory Exercise
A) Procedure
%a) /0en new ,le.
%b) 1rite a 0rogra, code for acce0ting $ 0t. 7D signal arra- fro, userand calculate linear3 circular3 linear using circular and 'D con*olution.
%c) Acce0t user choices at the beginning of 0rogra, such asacce0t
-
8/10/2019 Lab Manual of DSIP
4/22
. Post-Experiment Exercise
A) !"eory
7) Dene con*olution
') Sol*e the e4a,0le for in0ut signal entered b- user. and tall-anal-tical results with -our 0rogra, out0ut
#) $bser%ations:
/bser*e the di>erence between the results of circular and linear
con*olution. &e9ect on what is studied.
&) Re'ated (uestions
7) 1hat is the signicance of circular con*olution
') Pro*e that 'D con*olution is se0arable
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
_____________________________
St. Francis Institute of Technology, Mumbai-400 103
Page ; $
-
8/10/2019 Lab Manual of DSIP
5/22
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing%eriment 3#+! and ,n%erse +!
Date: _________
1. Aim: Progra, to nd Discrete +ourier transfor, and in*erse
Discrete +ourier transfor,.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of 7D?'D D+T and ID+T.
4. Laboratory Exercise
Procedure
%a) /0en new ,le.%b) 1rite a 0rogra, code for acce0ting $ 0t. 7D signal arra- fro, user
to calculate 7D D+T %++T function ) and to 0lot Magnitude and 0hases0ectru, of D+T%c) @e4t acce0t two 7D3 $ 0t. signal arra-s fro, user to calculate 7D
ID+T %I++T function ) and to 0lot Magnitude and 0hase s0ectru, ofID+T
%d) Acce0t user choices at the beginning of 0rogra, such asacce0t
-
8/10/2019 Lab Manual of DSIP
6/22
#) $bser%ations:
/bser*e the 0lot of 7D D+T and 76D ID+T. And &e9ect on what is
studied.
&) Re'ated (uestions
7) State and 0ro*e three 0ro0erties of 7D D+T.
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
__________________________
Page ;
-
8/10/2019 Lab Manual of DSIP
7/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 4#/inear filtering using FFT base* oerla sae metho*
Date: _________
1. Aim: Progra, to i,0le,ent Linear ltering using ++T based o*erla0
sa*e ,ethod.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of o*erla0 sa*e and o*erla0 add ,ethods of linear ltering of
longer signals stud- of con*olution 0ro0ert- of D+T 4%n)h%n)
E%F).G%F)
4. Laboratory Exercise
Procedure
%a) /0en new ,le.%b) 1rite a 0rogra, code for acce0ting two signals fro, user for
con*olution of rst longer 7D signal arra- with another shortersignal arra- with $ sa,0les.
%c) I,0le,ent *e ste0s of o*erla0 sa*e algorith,%d) In ste0 IH of algorith,3 0erfor, circular con*olution of seg,ented
blocFs of long in0ut signal with shorter signal using ++T %use D+Tcon*olution 0ro0ert-)
%e) Sa*e ,le3 run the 0rogra,3 0ro*ide 0ro0er in0uts and obser*e theresults.
. Post-Experiment Exercise
A) !"eory
7) List down ste0s in the /*erla0 Sa*e Algorith, for lteringof long signals
') Sol*e the e4a,0le for in0ut signals entered b- user. andtall- anal-tical results with -our 0rogra, out0ut
Page ;
-
8/10/2019 Lab Manual of DSIP
8/22
#) Co,,ent the 0rogra, code where*er necessar- as 0er-our understanding
#) $bser%ations:
/bser*e the results obtained. &e9ect on what is studied.
&) Re'ated (uestions
7) List down the ste0s in the /*erla0 Add Algorith, forltering of long signals
') Sol*e the e4a,0le taFen in this e40eri,ent using /*erla06Add ,ethod and conr, that -ou get sa,e results.
#) Di>erentiate between /*erla0 Add and /*erla0 Sa*e
,ethods
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
__________________________
Page ; !
-
8/10/2019 Lab Manual of DSIP
9/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment #,mae !ransorms /2 +! and 2 &!)
Date: _________
1. Aim: Progra, to nd forward in*erse D+T and DCT of an I,age.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of i,age transfor,s such as discrete fourier %D+T) and
discrete cosine %DCT) transfor,.
4. Laboratory Exercise
Procedure A0
%a) /0en new ,le. and%b) 1rite a 0rogra, code to acce0t user choices at the beginning of
0rogra, such asacce0t
-
8/10/2019 Lab Manual of DSIP
10/22
#0%a) Transfor, the i,age gi*en in the 0art A of the e40eri,ent using
Discrete Cosine Transfor, %
-
8/10/2019 Lab Manual of DSIP
11/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 2#iscrete a%e'et !ransorms /!)
Date: _________
1. Aim: Progra, to 0erfor, '6scale D1T of a seKuence and also
0erfor, forward in*erse D1T of an I,age
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of discrete wa*elet transfor, %DCT) for 76D seKuence and '6D
i,age. Stud- of Gaar transfor,
4. Laboratory Exercise
Procedure A0
%a) /0en new ,le. and%b) 1rite a 0rogra, code to acce0t user choices at the beginning of
0rogra, such as
acce0t
-
8/10/2019 Lab Manual of DSIP
12/22
%f) Sa*e the ,le3 run the 0rogra,3 0ro*ide 0ro0er in0uts and obser*ethe results.
#0%a) Choose the i,age to i,0le,ent Discrete 1a*elet Transfor,%b) +ind 76scale D1T of an i,age using Matlab function %
-
8/10/2019 Lab Manual of DSIP
13/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment #,mae En"ancement by &ontrast stretc"inmet"od
Date: _________
1. Aim: Progra, to enhance i,age using contrast stretching.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of 0oint 0rocessing techniKues %contrast stretching algorith,)
for i,age enhance,ent
4. Laboratory Exercise
Procedure
%a) /0en new ,le.%b) 1rite a 0rogra, code for acce0ting *e *ariables fro, user *iJ.
lower threshold %a)3 u00er threshold %b) and slo0es used in algorith,na,el- al0ha3 beta and ga,,a
%c) Choose the low contrast i,age e.g. Pout.tif3 i,0le,ent the contraststretching algorith, ste0 b- ste0
%d) Dis0la- the original i,age and contrast stretched i,age%e) Sa*e the ,le3 run the 0rogra,3 0ro*ide 0ro0er in0uts and obser*e
the results.%f) Change the *alues of slo0es and thresholds and see the di>erence
in the contrast.
. Post-Experiment Exercise
Page ; 7#
-
8/10/2019 Lab Manual of DSIP
14/22
A) !"eory
7) 1ith neat diagra, deri*e the contrast stretch algorith,') Co,,ent the 0rogra, code where*er necessar- as 0er
-our understanding
#) $bser%ations:
/bser*e the results obtained. &e9ect on what is studied.
&) Re'ated (uestions
7) 1hat is a need of contrast stretching
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
__________________________
Page ; 7$
-
8/10/2019 Lab Manual of DSIP
15/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment #arious ,mae En"ancement operations
Date: _________
1. Aim: Progra, to i,0le,ent i,age enhance,ent o0erations.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of Digital negati*e3 Thresholding3 Bit 0lane slicing and Median
ltering for i,age enhance,ent
4. Laboratory Exercise
Procedure
%a) /0en new ,le.
%b) Choose the low contrast i,age e.g. Pout.tif %c) 1rite a 0rogra, code to acce0t user choices at thebeginning of 0rogra, such as
acce0t
-
8/10/2019 Lab Manual of DSIP
16/22
%e) If choice
-
8/10/2019 Lab Manual of DSIP
17/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 5# Ede detection usin radient $perators
Date: _________
1. Aim: Progra, to nd edges using Prewitt3 Sobel and &oberts
o0erators
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of I,age seg,entation and edge detection techniKues
4. Laboratory Exercise
Procedure
%a) /0en new ,le.
%b) Choose the i,age Ca,era,an. tif%c) 1rite a 0rogra, code to con*ol*e di>erent ,asFs such as/rdinar-3 &oberts3 Prewitts and Sobel=s
%d) Dis0la- the original i,age along with i,ages showinghoriJontal %4) edges3 *ertical %-) edges and both 46-direction edges
%e) Sa*e the ,le3 run the 0rogra,3 0ro*ide 0ro0er in0utsand obser*e the results.
. Post-Experiment Exercise
A) !"eory
Page ; 7
-
8/10/2019 Lab Manual of DSIP
18/22
7) Deri*e the radient %ordinar-) o0erator b- taFing rstderi*ati*e of an i,age.
') List down all the ,asFs used in the e40eri,ent#) Co,,ent the 0rogra, code where*er necessar- as 0er
-our understanding
#) $bser%ations:
/bser*e the results obtained. &e9ect on what is studied.
&) Re'ated (uestions
7) 1hat is 8dge linFing 1h- it is reKuired
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
__________________________
Page ; 7!
-
8/10/2019 Lab Manual of DSIP
19/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 10# Ede detection usin Lap'acian5 and L$5
met"od
Date: _________
1. Aim: Progra, to co,0are edge detection with La0lacian and
La0lacian of aussian Lo N o0erators using global Thresholding.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of edge detection techniKues using second deri*ati*e of
i,age La0lacian and La0lacian of aussian %L/) ,ethod
4. Laboratory Exercise
Procedure
%a) /0en new ,le.%b) Choose the i,age Ca,era,an.tif %c) 1rite a 0rogra, code to detect edges using
-
8/10/2019 Lab Manual of DSIP
20/22
7) 840lain how L/ ,asF is deri*ed') Co,,ent the 0rogra, code where*er necessar- as 0er
-our understanding
#) $bser%ations:
/bser*e the results obtained. &e9ect on what is studied.
&) Re'ated (uestions
7) 1h- La0lacian ,asF cannot be used in its original for,Gow to o*erco,e this disad*antage
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained') List down the a00lications %if an-) of the to0ic studied
__________________________
Page ; '"
-
8/10/2019 Lab Manual of DSIP
21/22
St. Francis Institute of Technology, Mumbai-400 103
A.. !013-!014
"lass# $%-ITA&IT$, Semester# 'II
Sub(ect# )igital Signal an* Image +rocessing
%eriment 11#)igital 6atermar7ing an* Steganograhy
Date: _________
1. Aim: Progra, to 0erfor, digital water,arFing Steganogra0h-.
2. Requirements
PC with MatLab .!.".#$ %&'""(a) *ersion or abo*e
3. Pre-Experiment Exercise
Stud- of A00lications of I,age Processing such as
water,arFing?Steganogra0h-
4. Laboratory Exercise
Procedure
%a) /0en new ,le.%b) Choose the carrier i,age and a secret %Message) i,age%c) &esiJe the secret i,age to t in carrier i,age
%d) +ind ! bit binar- re0resentation of each 0i4el of a carrier and secreti,age
%e) &e0lace LSB of carrier with MSB of secret i,age to get stego i,age%f) Dis0la- carrier3 secret and stego i,age%g) Perfor, re*erse o0eration to reco*er secret i,age fro, stego i,age%h) Sa*e the ,le3 run the 0rogra,3 0ro*ide 0ro0er in0uts and obser*e
the results.
. Post-Experiment Exercise
A) !"eory
7) 840lain the conce0t of Steganogra0h-
Page ; '7
-
8/10/2019 Lab Manual of DSIP
22/22
') Co,,ent the 0rogra, code where*er necessar- as 0er-our understanding
#) $bser%ations:
/bser*e the results obtained. &e9ect on what is studied.
&) Re'ated (uestions
7) 1hat is 1ater,arFing Gow it is related to steganogra0h-
) &onc'usion*&omments
7) Co,,ent on what is 0erfor,ed and results obtained
') List down the a00lications %if an-) of the to0ic studied __________________________
Page ; ''