fspecial (disk)

조회 수: 7 (최근 30일)
Shohreh Kr
Shohreh Kr 2017년 5월 11일
댓글: Jan 2017년 5월 11일
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
Jan 2017년 5월 11일
We can assume, that you have read the documentation already:
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
Shohreh Kr 2017년 5월 11일
Thanks! but how circular averaging works on an image?
Jan
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by