How to do template Matching between two images?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I have two images one is a binary image and other is a rgb image. I want to apply template matching method between these images (first 1 will be a template image & 2nd is the original image) for matching. What should i do? Please describe about template of an image. Thanks in advance.
Regards Asif
댓글 수: 0
답변 (1개)
Image Analyst
2014년 9월 13일
편집: Image Analyst
2014년 9월 13일
That's almost exactly what my demo of normalized cross correlation does. Turn your binary image into an RGB image
templateImage = cat(3, binaryImage, binaryImage, binaryImage);
Then run the m-file attached below the image.
댓글 수: 6
Image Analyst
2014년 9월 13일
I don't know, other than what I've already told you. Why don't you email the authors for further clarification?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!