In order to be counted amount of each pixel grayscale image is easy. Cited. Programming language Basic.
For row=0 To ROW_MAX-1
For col=0 To COL_MAX-1
Count(image(row,col))= Count(image(row,col))+1
Next col
Next row
The data dimension in the Count variable can be displayed as histogram your image. The histogram this will tell us about the nature of the image. This may indicate the direction of the various levels of noise to your image.
0 comments:
Post a Comment