SlideShare a Scribd company logo
1 of 7
Download to read offline
CS474/674 Image Processing and Interpretation
Sample Midterm Exam - Solutions
Name:_______________________________________________
1. [25 points] True/False Questions – To get credit, you must give brief reasons for
each answer!
Correct, when k=1
2. [15 points] State and prove the convolution theorem in the continuous case. For
simplicity, assume 1-D functions.
lecture
3. [15 points] Find and plot the discrete convolution of the following discrete sequences:
4 samples 2 samples
4. [20 points]. A 3 bits/pixel image of size 5x5 is given below. Find the following: (a) the output
of a 3x3 averaging filter at (1,1), (b) the output of a 3x3 median filter at (1,1) and (c) the gradient
magnitude at (1,1) using the Sobel masks shown below.
4. [15 points] What is the FT of cos(4πx)+cos(10πx)? How many samples should we
obtain according to the Nyquist theorem in order to avoid aliasing?
5. [10 points] Given the 3x3 image shown below, compute the histogram equalized image
(assume that the gray-levels are in the range [0..7]). Show all the steps.
7. Graduate Students Only [10 points] The pixel intensity values of a gray level image have
the probability density function pr (r) given by pr (r)=2(1− r), for 0 ≤ r ≤ 1, and zero otherwise. It is
desired to transform the gray levels of the image so that they have the probability density
function pz(z)=2z, for 0 ≤ z ≤ 1, and zero otherwise. Assume that r and z are continuous random
variables. Find the transformation that accomplishes that.

More Related Content

What's hot

Programmation Dynamique : Mise en œuvre et application à des problèmes en TAL
Programmation Dynamique : Mise en œuvre et application à des problèmes en TALProgrammation Dynamique : Mise en œuvre et application à des problèmes en TAL
Programmation Dynamique : Mise en œuvre et application à des problèmes en TAL
ECAM Brussels Engineering School
 

What's hot (20)

Sécuriser un BYOD
Sécuriser un BYODSécuriser un BYOD
Sécuriser un BYOD
 
Arbre de décision
Arbre de décisionArbre de décision
Arbre de décision
 
Aql métriques logicielles
Aql métriques logiciellesAql métriques logicielles
Aql métriques logicielles
 
conception et création une base de donnée de réservation de vol
conception et création une base de donnée de réservation de vol conception et création une base de donnée de réservation de vol
conception et création une base de donnée de réservation de vol
 
Routage statique
Routage statiqueRoutage statique
Routage statique
 
cours transmission numerique.pdf
cours transmission numerique.pdfcours transmission numerique.pdf
cours transmission numerique.pdf
 
Les Vpn
Les VpnLes Vpn
Les Vpn
 
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
Telecharger Cours Systèmes d’exploitation windows: Administration  WindowsTelecharger Cours Systèmes d’exploitation windows: Administration  Windows
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
 
Chap3 Communication Inter Processus.pptx
Chap3 Communication Inter Processus.pptxChap3 Communication Inter Processus.pptx
Chap3 Communication Inter Processus.pptx
 
Tp 1
Tp 1Tp 1
Tp 1
 
Rtlinux
RtlinuxRtlinux
Rtlinux
 
Programmation Dynamique : Mise en œuvre et application à des problèmes en TAL
Programmation Dynamique : Mise en œuvre et application à des problèmes en TALProgrammation Dynamique : Mise en œuvre et application à des problèmes en TAL
Programmation Dynamique : Mise en œuvre et application à des problèmes en TAL
 
Fp growth
Fp growthFp growth
Fp growth
 
Cartographie Culture
Cartographie CultureCartographie Culture
Cartographie Culture
 
vpn-site-a-site-avec-des-routeurs-cisco
 vpn-site-a-site-avec-des-routeurs-cisco vpn-site-a-site-avec-des-routeurs-cisco
vpn-site-a-site-avec-des-routeurs-cisco
 
vpn
vpnvpn
vpn
 
cours le routage statique (ipv4 et ipv6)
cours le routage statique (ipv4 et ipv6)cours le routage statique (ipv4 et ipv6)
cours le routage statique (ipv4 et ipv6)
 
Vpn
VpnVpn
Vpn
 
Non Deterministic and Deterministic Problems
Non Deterministic and Deterministic Problems Non Deterministic and Deterministic Problems
Non Deterministic and Deterministic Problems
 
Rapport sécurité
Rapport sécuritéRapport sécurité
Rapport sécurité
 

Similar to SampleMidtermExamSolutions.pdf

F4 04 Mathematical Reasoning
F4 04 Mathematical  ReasoningF4 04 Mathematical  Reasoning
F4 04 Mathematical Reasoning
guestcc333c
 
Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)
butest
 
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
College Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docxCollege Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docx
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
monicafrancis71118
 
Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)
butest
 
1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx
mercysuttle
 
Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010
sue sha
 

Similar to SampleMidtermExamSolutions.pdf (20)

Computer Graphics End Semester Question Paper
Computer Graphics End Semester Question PaperComputer Graphics End Semester Question Paper
Computer Graphics End Semester Question Paper
 
Assignment4
Assignment4Assignment4
Assignment4
 
F4 04 Mathematical Reasoning
F4 04 Mathematical  ReasoningF4 04 Mathematical  Reasoning
F4 04 Mathematical Reasoning
 
xldb-2015
xldb-2015xldb-2015
xldb-2015
 
Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)
 
Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...
 
DeepXplore: Automated Whitebox Testing of Deep Learning
DeepXplore: Automated Whitebox Testing of Deep LearningDeepXplore: Automated Whitebox Testing of Deep Learning
DeepXplore: Automated Whitebox Testing of Deep Learning
 
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
College Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docxCollege Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docx
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
 
Bca1040 digital logic
Bca1040   digital logicBca1040   digital logic
Bca1040 digital logic
 
Ats maths09
Ats maths09Ats maths09
Ats maths09
 
Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)
 
Bca1040 digital logic
Bca1040   digital logicBca1040   digital logic
Bca1040 digital logic
 
1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx
 
Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010
 
Multimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact detailsMultimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact details
 
R programming lab 3 - jupyter notebook
R programming lab   3 - jupyter notebookR programming lab   3 - jupyter notebook
R programming lab 3 - jupyter notebook
 
0580_s14_qp_23
0580_s14_qp_230580_s14_qp_23
0580_s14_qp_23
 
SMU BCA SUMMER 2014 ASSIGNMENTS
SMU BCA SUMMER 2014 ASSIGNMENTSSMU BCA SUMMER 2014 ASSIGNMENTS
SMU BCA SUMMER 2014 ASSIGNMENTS
 
An Approach for Image Deblurring: Based on Sparse Representation and Regulari...
An Approach for Image Deblurring: Based on Sparse Representation and Regulari...An Approach for Image Deblurring: Based on Sparse Representation and Regulari...
An Approach for Image Deblurring: Based on Sparse Representation and Regulari...
 
0580_w14_qp_42
0580_w14_qp_420580_w14_qp_42
0580_w14_qp_42
 

More from KarminderSingh7 (6)

Road.pptx
Road.pptxRoad.pptx
Road.pptx
 
Road_safety.pptx
Road_safety.pptxRoad_safety.pptx
Road_safety.pptx
 
India_road_safety.pptx
India_road_safety.pptxIndia_road_safety.pptx
India_road_safety.pptx
 
Digital Image Processing and analysis.pptx
Digital Image Processing and analysis.pptxDigital Image Processing and analysis.pptx
Digital Image Processing and analysis.pptx
 
Image Processing and analysis.pptx
Image Processing and analysis.pptxImage Processing and analysis.pptx
Image Processing and analysis.pptx
 
student-problem-solutions.PDF
student-problem-solutions.PDFstudent-problem-solutions.PDF
student-problem-solutions.PDF
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 

SampleMidtermExamSolutions.pdf

  • 1. CS474/674 Image Processing and Interpretation Sample Midterm Exam - Solutions Name:_______________________________________________ 1. [25 points] True/False Questions – To get credit, you must give brief reasons for each answer! Correct, when k=1
  • 2. 2. [15 points] State and prove the convolution theorem in the continuous case. For simplicity, assume 1-D functions. lecture
  • 3. 3. [15 points] Find and plot the discrete convolution of the following discrete sequences: 4 samples 2 samples
  • 4. 4. [20 points]. A 3 bits/pixel image of size 5x5 is given below. Find the following: (a) the output of a 3x3 averaging filter at (1,1), (b) the output of a 3x3 median filter at (1,1) and (c) the gradient magnitude at (1,1) using the Sobel masks shown below.
  • 5. 4. [15 points] What is the FT of cos(4πx)+cos(10πx)? How many samples should we obtain according to the Nyquist theorem in order to avoid aliasing?
  • 6. 5. [10 points] Given the 3x3 image shown below, compute the histogram equalized image (assume that the gray-levels are in the range [0..7]). Show all the steps.
  • 7. 7. Graduate Students Only [10 points] The pixel intensity values of a gray level image have the probability density function pr (r) given by pr (r)=2(1− r), for 0 ≤ r ≤ 1, and zero otherwise. It is desired to transform the gray levels of the image so that they have the probability density function pz(z)=2z, for 0 ≤ z ≤ 1, and zero otherwise. Assume that r and z are continuous random variables. Find the transformation that accomplishes that.