fspecial (disk)
显示 更早的评论
Hello everyone,
I have employed fspecial several times for the exercises of image processing course (h=special('disk',5);). But I have no idea how disk filter function works. Maybe sounds silly but I really appreciate if someone at least explains the big picture behind it.
Thanks in advance for your responses!
回答(1 个)
Jan
2017-5-11
doc fspecial
The term "Circular averaging filter (pillbox)" sounds very descritpive: The average over a circular shape is calculated. What exactly is not clear about this?
2 个评论
Shohreh Kr
2017-5-11
Jan
2017-5-11
The value of each pixel is replaced by the mean of the values of all pixels inside a circle around this pixel.
What do you want to know exactly? How the circular mask is applied? How averaging RGB values work? If this is performed by 2 loops or vectorized? What the opical effect is?
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!