필터 지우기
필터 지우기

arithmetic mean filter

조회 수: 3 (최근 30일)
neetika Karwasra
neetika Karwasra 2012년 1월 27일
In arithmetic mean filter meanfilteredimage = filter2( ones([convwindowsize, convwindowsize]), noiseimage) / prod([convwindowsize, convwindowsize]); what is role of convwindowsize here and can we take any value for this

답변 (1개)

Image Analyst
Image Analyst 2012년 1월 27일
It is the size of the window (along one side) that you're going to sum up within. filter2() multiplies and sums, so to get the mean you need to divide that result by the number of pixels, which is convwindowsize^2 or prod([convwindowsize, convwindowsize]). For example if you're going to average within a 3 by 3 window, you're summing up 9 values, but you don't want the sum you want the mean, so you need to divide by 9.

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by