[SOLVED] DIP Assignment 3-Morphological Processing, Texture Analysis

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Homework3-pblshs.zip (2748.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

 

Problem 1: MORPHOLOGICAL PROCESSING

A binary image, sample1.png, is given in Figure 1. Please implement several morphological operations and provide discussions about the results. (Note that the white pixels represent foreground objects and the black pixels are background.)

  1. (a)  (15 pt) Perform boundary extraction on sample1.png to extract the objects’ boundaries and output the result as result1.png.
  2. (b)  (15 pt) Perform hole filling on sample1.png and output the result as result2.png.
  3. (c)  (30 pt) Please design an algorithm to count the number of objects in Figure 1. Describe the stepsin detail and specify the corresponding parameters.

    (a) sample1.png
    Figure 1: The test image for morphological processing.

Problem 2: TEXTURE ANALYSIS

In this problem, there is an image sample2.png composed of several different textures.

  1. (a)  (10 pt) Perform Law’s method on sample2.png to obtain the feature vector of each pixel anddiscuss the feature vectors in your report.
  2. (b)  (10 pt) Use k-means algorithm to classify each pixel with the feature vectors you obtained from(a). Label same kind of texture with the same color and output it as result3.png.
  3. (c)  (20 pt) Based on result3.png, design a method to improve the classification result and output theupdated result as result4.png. Describe the modifications in detail and explain the reason why.
  4. (d)  (Bonus) Try to replace the flowers in color or gray-scale sample2.png with sample3.png or other texture you prefer by using the result from (c), and output it as result5.png.
    It’s allowed to utilize external libraries to help you accomplish it, but you should specify the im- plementation detail and functions you used in the report.

(a) sample2.png (color)

(b) sample2.png

(c) sample3.png
Figure 2: Images for texture analysis.

2

Digital Image Processing (2021 Spring)

2021.04.10

Appendix
Problem 1: MORPHOLOGICAL PROCESSING

sample1.png: 400 × 400 Problem 2: TEXTURE ANALYSIS

gray-scale

gray-scale color gray-scale

sample2.png: sample2 color.png: sample3.png:

400 × 600 400 × 600 150 × 200

3

  • Homework3-pblshs.zip