0% found this document useful (0 votes)
834 views3 pages

Q1) The Following Figure Shows A 3-Bit Image of Size 5-By-5 Image in The Square

This document contains two quizzes on image processing techniques. Quiz 1 involves applying mean, median and histogram equalization filters to a 3x3 binary image. Quiz 2 similarly applies mean, median and histogram equalization filters as well as a custom filter kernel to 3x3 and 5x5 binary and 8-bit images. The student is asked to show their work and provide the output values for various filter applications and histogram calculations on the sample images.

Uploaded by

Duaa Hussein
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)
834 views3 pages

Q1) The Following Figure Shows A 3-Bit Image of Size 5-By-5 Image in The Square

This document contains two quizzes on image processing techniques. Quiz 1 involves applying mean, median and histogram equalization filters to a 3x3 binary image. Quiz 2 similarly applies mean, median and histogram equalization filters as well as a custom filter kernel to 3x3 and 5x5 binary and 8-bit images. The student is asked to show their work and provide the output values for various filter applications and histogram calculations on the sample images.

Uploaded by

Duaa Hussein
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/ 3

Islamic University Of Gaza Image Processing

Faculty of Engineering Quiz 2 (Chapter 3)


Computer Department Time: 10 minutes.
Eng. Ahmed M. Ayash Date: 31/03/2013

Student Name: …Solution… ID: ………………….. Grade: ………………….

Q1) The following figure shows a 3-bit image of size 5-by-5 image in the square

Compute the following:

(a) The output of a 3 × 3 mean filter at (3,3)

(4+6+1+7+2+5+0+6+2)/9 = 3.67 ≈ 4

(b) The output of a 3 × 3 median filter at (3,3)

median(0,1,2,2,4,5,6,6,7) = 4

(c) The histogram of the whole image.

r 0 1 2 3 4 5 6 7

h 2 4 5 2 3 3 3 3

(d) The result of histogram equalization at the point (3,3). Show steps in obtaining your solution.

r 0 1 2 3 4 5 6 7

pdf 0.08 0.16 0.2 0.08 0.12 0.12 0.12 0.12

cdf 0.08 0.24 0.44 0.52 0.64 0.76 0.88 1

s 1 2 3 4 5 5 6 7

3.08 ≈ 3

1
Q2)
a) The following figure shows a 3-bit image of size 5-by-5 image in the square:

Compute the following:

(1) Apply the filter kernel given below to calculate the filter response at pixel location (3,3).

(4+12+1+14+8+10+0+12+2)/16 = 3.9375 ≈ 4

(2) The histogram of the whole image.

r 0 1 2 3 4 5 6 7

h 2 4 5 2 3 3 3 3

(3) The result of histogram equalization at the point (4,5). Show steps in obtaining your solution.

r 0 1 2 3 4 5 6 7

pdf 0.08 0.16 0.2 0.08 0.12 0.12 0.12 0.12

cdf 0.08 0.24 0.44 0.52 0.64 0.76 0.88 1

s 1 2 3 4 5 5 6 7

1.68 ≈ 2

2
b) The following figure shows an 8-bit image of size 5-by-5 image in the square,

Compute the following:

(1) The output of a 3 × 3 mean filter at (2,3)

(25+95+65+95+40+65+25+65+40)/9 = 57.2222 ≈ 57

(2) The output of a 3 × 3 median filter at (2,3)

median(25,25,40,40,65,65,65,95,95) = 65

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy