Example 2.3 Let the following image be given. egin{array}{|c|c|c|c|} hline 3 & 2 & 8 & 2 \ hline 5 & 1 & 7 & 1 \ hline 9 & 1 & 6 & 1 \ hline 8 & 0 & 5 & 2 \ hline end{array} 1. Determine the threshold for image binarization using the Otsu method. Show intermediate results. 2. Perform image thresholding.
Added by Celia O.
Close
Step 1
The histogram is a frequency distribution of the pixel intensities in the image. We count the number of occurrences of each intensity value. Intensity Value | Frequency ----------------|---------- 0 | 1 1 | 4 2 | 3 3 Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 52 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
In image processing, filtering an image is replacing each pixel with a linear combination of its neighbors. This process can be accomplished through convolution of the image with convolution filters called kernels. A mathematical model for the convolution process is: gx,y = ∑i=-n ∑j=-m hi,j * I(x-i, y-j) Explain in detail at least two applications of filtering in image processing. [10 marks] With the aid of a neat diagram, explain in detail the convolution process. [10 marks] Apply the convolution method to filter image I: I = 23 56 13 52 51 23 24 74 32 52 05 14 51 78 12 0 13 21 85 15 59 81 65 49 55 45 52 76 65 48 46 82 89 98 112 92 110 154 105 96 126 with kernel: h = 1 0 -1 0 0 0 -1 0 1 [25 marks] Validate your result using Matlab. [5 marks]
Sri K.
Q1 Given a 2D digital image array as: calculate the output of the filtering (convolution) with the following filter: HINT: For the boundaries apply zero padding: So that the output will be 5x5.
Madhur L.
4 (25 points) Consider the following model for blurring images: Bij = 1/16 |i - j| = 2, 1/8 |i - j| = 1, 5/8 i = j, 0 otherwise. Additionally, assume the periodic boundaries of your image. Blur a matlab-provided demo image (e.g. mandrill.mat) applying the blurring iterations 16 times. Use GMRES algorithm to unblur the image. Use gmres matlab function. Restart the method every 60 iterations. Use the tolerance 10^-6. Plot the original image, the burred image, and the restored image side by side. Check whether the restored and the original image are the same (use matrix norms). If not, list (in the project's README file) possible reason(s) why they are different.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD