matlab code for average filtering?

pls help to write matlab code for average filtering....

댓글 수: 2

doc filter
Jan
Jan 2013년 1월 7일
Do you want a moving average, a block average, a moving median (see tags) or a block median filter?

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

답변 (1개)

Image Analyst
Image Analyst 2013년 1월 7일

0 개 추천

Would this do the trick:
windowSize = 5; % Whatever you want.
averagedMatrix = conv2(originalMatrix, ones(windowSize)/windowSize^2, 'same');

카테고리

태그

질문:

2013년 1월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by