필터 지우기
필터 지우기

extract rectangular image from scanned image

조회 수: 2 (최근 30일)
AFFY
AFFY 2015년 3월 28일
댓글: hamida 2022년 12월 2일
I have scanned copies of currency notes from which I need to extract only the rectangular notes. Although the scanned copies have a very blank background, the note itself can be rotated or aligned correctly. I'm using matlab. how do I extract the currency part and get it aligned to the horizontal axis. I have tried using thresholding and canny/sobel edge detection to no avail. I used the below code but it works only for aligned images and not for rotated images.
<< input image
output image
>>
  댓글 수: 1
hamida
hamida 2022년 12월 2일
Affy, please can you tell me how you solved this problem.

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

답변 (2개)

Image Analyst
Image Analyst 2015년 3월 30일
Did you see my answer to your prior question: http://www.mathworks.com/matlabcentral/answers/182427#comment_271921
Did you look up "registration" in the help and try any of the examples with your image?
  댓글 수: 1
AFFY
AFFY 2015년 3월 31일
Yup but i couldn't extract the image with the help of your code. I tried thresholding, filtering and finding 4 corners in the image to get it rotated but it din't work either.

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


Image Analyst
Image Analyst 2015년 3월 31일
I'll be traveling today and not have much time. I'm attaching another demo that uses the radon transform to do rotation. Give that a try.
  댓글 수: 4
AFFY
AFFY 2015년 3월 31일
that isn't helping either.
Image Analyst
Image Analyst 2015년 3월 31일
Then try another method. I'm getting ready to fly to Arizona today and will not have much time to help anyone.

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

카테고리

Help CenterFile Exchange에서 Filter Banks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by