• Tidak ada hasil yang ditemukan

FACULTY OF EGINEERING Digital Image Processing LECTURE-27 Mr. Dhirendra

N/A
N/A
Protected

Academic year: 2024

Membagikan "FACULTY OF EGINEERING Digital Image Processing LECTURE-27 Mr. Dhirendra"

Copied!
9
0
0

Teks penuh

(1)

FACULTY OF EGINEERING Digital Image Processing

LECTURE- 27 Mr. Dhirendra

Assistant Professor

Computer Science & Engineering

(2)

OUTLINE

The Hit-or-Miss Transformation

Hit-or-Miss exp

MCQ

References

(3)

The Hit-or-Miss Transformation

•A basic morphological tool for shape detection.

•Let the origin of each shape be located at its center of gravity.

•If we want to find the location of a shape , say – X , at (larger) image, say – A :

•Let X be enclosed by a small window, say – W.

•The local background of X with respect to W is defined as the set difference (W - X).

•Apply erosion operator of A by X, will get us the set of locations of the origin of X, such that X is completely contained in A.

•It may be also view geometrically as the set of all locations of the origin of X at which X found a match (hit) in A.

(4)

The Hit-or-Miss Transformation

•Apply erosion operator on the complement of A by the local background set (W – X).

•Notice, that the set of locations for which X exactly fits inside A is the intersection of these two last operators above.

This intersection is precisely the location sought.

Formally:

If B denotes the set composed of X and it’s background – B = (B1,B2) ; B1 = X , B2 = (W-X).

The match (or set of matches) of B in A, denoted is:

(5)

Hit-or-Miss exp

(6)

Hit-or-Miss Transformation

•The reason for using these kind of structuring element – B = (B1,B2) is based on an assumed definition that, two or more objects are distinct only if they are disjoint (disconnected) sets.

•In some applications , we may interested in detecting certain patterns (combinations) of 1’s and 0’s.

and not for detecting individual objects.

•In this case a background is not required. and the hit-or-miss transform reduces to simple erosion.

•This simplified pattern detection scheme is used in some of the algorithms for – identifying characters within a text.

(7)

MCQ

1. What kind of relation can be obtained between first order derivative and second order derivative of an image on the response obtained by encountering an isolated noise point in the image?

a) First order derivative has a stronger response than a second order b) Second order derivative has a stronger response than a first order

c) Both enhances the same and so the response is same for both first and second order derivative d) None of the mentioned

2. What kind of relation can be obtained between the response of first order derivative and second order derivative of an image having a transition into gray-level step from zero?

a) First order derivative has a stronger response than a second order b) Second order derivative has a stronger response than a first order c) Both first and second order derivative has the same response d) None of the mentioned

3. If in an image there exist similar change in gray-level values in the image, which of the following shows a stronger response using second order derivative operator for sharpening?

a) A line b) A step c) A point

d) None of the mentioned

(8)

MCQ

4. The objective of sharpening spatial filters is/are to ___________

a) Highlight fine detail in an image

b) Enhance detail that has been blurred because of some error

c) Enhance detail that has been blurred because of some natural effect of some method of image acquisition

d) All of the mentioned

5. Sharpening is analogous to which of the following operations?

a) To spatial integration b) To spatial differentiation c) All of the mentioned d) None of the mentioned

(9)

References

https://www.javatpoint.com/digital-image-processing-tutorial

Henry Sambrooke Leigh, Carols of Cockayne, The Twins Morphological Image Processing (Digital Image Processing– Gonzalez/Woods)

https://www.geeksforgeeks.org/

Digital Image Processing 2nd Edition, Rafael C. Gonzalvez and Richard E. Woods. Published by: Pearson Education.

Digital Image Processing and Computer Vision, R.J. Schalkoff. Published by: JohnWiley and Sons, NY.

Fundamentals of Digital Image Processing, A.K. Jain. Published by Prentice Hall,Upper Saddle River, NJ.

Referensi

Dokumen terkait

Much of this information is not useful to us; but we can see the size of the image in pixels, the size of the file (in bytes), the number of bits per pixel (this is given by

Consequently, this book aims to give a corresponding overview on system level design, analysis, and synthesis of image processing applications using multidimensional data flow..

3 THE PROPOSED IMAGE COMPRESSION APPROACH In order to obtain the best possible compression ratio CR, Discrete cosine transform DCT has been widely used in image and video coding

1: Example of a remotely sensed image of a delta of river Ganges, b Glacier flow in Bhutan Himalayas 3.3 Content-Based Image Retrieval Retrieving query images from large image

[7] conducted a similar study in 2022 to optimize the classification of chest X-ray images by improving the quality of the model using supervised machine learning algorithms, decision

Segmentation of the image is a crucial stage in using magnetic resonance images of brain cancer research where the segmented part of the brain tumor might ignore perplexing features

3.2 Results of Segmentation Image of Area Blood Flow Figure 1 displays the data obtained from the segmentation process, and the corresponding output for patient A.. Image

Enter test data in the form of an image of bisi corn leaves which will be compared with the corn leaf data which was used as the previous training data with a size of 200x200 pixels..