필터 지우기
필터 지우기

Sliding a 3X3 window over an image

조회 수: 1 (최근 30일)
Avinash Bhatt
Avinash Bhatt 2019년 5월 15일
답변: KSSV 2019년 5월 15일
I am using kriging interpolation algorithm for the removal of high density salt and pepper noise in images.
For this I am using window of different size to slide over an image for uncorrupted image pixels. Initially I created a 3X3 window using
ones(3,3)
I am unable to convolve this 3X3 window to a image('cameraman.tif')
Please provide matlab code for this.

채택된 답변

KSSV
KSSV 2019년 5월 15일
A = conv2(A,ones(3),'same');

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by