
Showing posts with label threshold. Show all posts
Showing posts with label threshold. Show all posts
Saturday, April 24, 2010
Edge Detection
Find the perimeter of objects in the picture. With that in mind a line around the object. We can calculate area (size) or know the type of objects that need. However, finding the right edge of picture is not complete as easy. In particular, finding the edge of the picture quality is less difference between foreground and background, low Or brightness is not always around the image edge image resulting from the difference in intensity from one point to another point if it is different this valuable edge image will be visible. If the difference is less. Edge images is not clear.

Tuesday, April 6, 2010
Getting Thresholding
Used to change the direction of the image. By experts of the image into sections by normal processes of memory compared with a Threshold value of the threshold by more than if I change the pixel at that location as the maximum If less than to change the pixel position to the minimum makes the picture has only two levels of maximum or minimum sample program.
For row=0 To ROW_MAX-1
For col = 0 To COL_MAX-1
If (image(row,col) > threshold ) Then
image(row,col) = MAX
else
image(row,col) = MIN
End if
Next col
Next row
| ![]() |
![]() |
Subscribe to:
Posts (Atom)