basic Weighted Median filter
이전 댓글 표시
is there a beginner method for this filter?
if:
I = [10, 200, 21; 7, 9, 10; 200, 20, 50];
and after adding zeros:
0 0 0 0 0
0 10 200 21 0
0 7 9 10 0
0 200 20 50 0
0 0 0 0 0
w = [1, 2, 1; 2, 3, 2; 1, 2, 1];
it should result in [0, 0, 0, 0, 0, 0, 10, 10, 10, 200, 200, 0, 7, 7, 9] for number 10 (2,2)
and so on for each number.
without using Matlab functions (so only by using For loops, If conditions and so on... )
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Filtering에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!