April 26, 2015

[FreeMat] [Matlab] Filter with padding of borders 模糊


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

三個逗號俱樂部

《免責聲明》 本部落格不針對任何金融商品進行買賣建議, 內容來自公開資訊觀測站之分享與各大媒體之評論為主, 投資人應審慎評估並獨立判斷,切勿以本部落格資訊作為投資依據。 靜候 時機來臨;瞬間掌握重壓;享受 獲利奔馳。 -------------------------...