EDGE DETECTION IN DIP LINE DETECTION AND ALGORITHMS

Kavitha_nair 6 views 61 slides Sep 23, 2024
Slide 1
Slide 1 of 61
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61

About This Presentation

DIP


Slide Content

The Moravec corner detection algorithm follows these steps: Convert the input image to grayscale if it is not already in grayscale. Define a window of a small size (e.g., 3x3 pixels) that moves over the image. For each pixel in the image, calculate the sum of squared differences (SSD) between the intensities of the window and shifted versions of the window in different directions (typically horizontal, vertical, and two diagonal directions). The SSD measures the intensity variation when the window is shifted in a particular direction. Repeat this calculation for all possible shifts of the window in each direction. Compare the SSD values obtained for each shift and select the minimum SSD value. This minimum value represents the direction with the least intensity variation within the window. Compute a corner response metric, typically using the minimum SSD value. In the original Moravec algorithm, the corner response is defined as the sum of squared differences across all directions. However, other metrics like the minimum value or a combination of values from different shifts can also be used. Apply a threshold to the corner response metric to determine whether a pixel is a corner or not. If the response value exceeds the threshold, the pixel is considered a corner. Perform non-maximal suppression to eliminate weak corners and keep only the strongest corners. This can be done by suppressing corners that are adjacent to stronger corners.

HARRIS CORNER DETECTION

Input: We have a grayscale image with pixel intensities ranging from 0 to 255. Histogram computation: Calculate the histogram of the image. The histogram shows the distribution of pixel intensities in the image. Probability distribution: Normalize the histogram to obtain the probability distribution function (PDF). Cumulative distribution: Compute the cumulative distribution function (CDF) from the PDF. Threshold selection: Iterate over all possible threshold values from 0 to 255. Class probabilities: Calculate the probabilities of pixels belonging to class 1 (foreground) and class 2 (background) for each threshold. Class means: Compute the mean intensities of class 1 and class 2 for each threshold. Between-class variance: Calculate the between-class variance for each threshold. Optimal threshold selection: Find the threshold value that maximizes the between-class variance. Output: Use the optimal threshold to separate the image into foreground (digit) and background regions.

Once the optimal threshold is determined, we can apply it to the image. All pixels with intensities greater than the threshold will be classified as foreground, representing the digit, while pixels with intensities less than or equal to the threshold will be classified as background.

MODULE 3 REPRESENTATIONS To recognize the object first we have to convert object into a representation using some proper representation technique and from that representation we can get the descriptor and this will used for recognizing the object SIGNATURES

Skeleton In image representation, a skeleton refers to a simplified version of the shape or structure of an object or figure within an image. It is commonly used in computer vision and image processing tasks for various purposes such as object recognition, shape analysis, and motion tracking. A skeleton is typically represented as a set of lines or curves that capture the essential features or connectivity of the object while discarding unnecessary details.

One common method for skeleton representation is the thinning algorithm, also known as skeletonization. This algorithm iteratively removes pixels from the object boundaries until only the skeleton remains

DESCRIPTORS Boundary descriptors are the entities which helps to calculate the property of an object and used to compare between two different boundaries
Tags