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
0 comments:
Post a Comment