The main difference between flters and point operations is that flters generally use more than one pixel from the source image for computing each new pixel value. Let us first take a closer look at the task of smoothing an image.
Images look sharp primarily at places where the local intensity rises or drops sharply (i. e., where the difference between neighboring pixels is large). On the other hand, we perceive an image as blurred or fuzzy where the local intensity function is smooth.
A first idea for smoothing an image could thus be to simply replace every pixel by the average of its neighboring pixels. To determine the new pixel value in the smoothed image I(u, v), we use the original pixel I(u, v) = p 0 at the same position plus its eight neighboring pixels p 1 , p 2 , . . . p 8 to compute the arithmetic mean of these nine values,
No comments:
Post a Comment