3*3 matched filter

조회 수: 10 (최근 30일)
Chandra Shekhar
Chandra Shekhar 2012년 9월 17일
please any one help me .. how to apply 3*3 matched filter to image.. image is having size 465*800..and matched filter value is all 1's.

채택된 답변

Image Analyst
Image Analyst 2012년 9월 17일
편집: Image Analyst 2012년 9월 17일
Try this:
blurredImage = conv2(single(grayImage), ones(3)/9);
imshow(blurredImage, []);
% Find where the image was all 1's in a 3x3 box.
% The output image will be exactly 1 in that situation.
matchingRegions = abs(blurredImage - 1) < 0.0001;
% Use axes() or figure() to switch to a new axes if you want.
imshow(matchingRegions, []);
You might also want to look at normxcorr2(). I have a demo for that if you want it.
  댓글 수: 1
Chandra Shekhar
Chandra Shekhar 2012년 9월 17일
thanks for giving answer

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

추가 답변 (0개)

카테고리

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