extract rectangular image from scanned image
古いコメントを表示
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
2022 年 12 月 2 日
Affy, please can you tell me how you solved this problem.
回答 (2 件)
Image Analyst
2015 年 3 月 30 日
0 投票
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?
Image Analyst
2015 年 3 月 31 日
0 投票
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
2015 年 3 月 31 日
Image Analyst
2015 年 3 月 31 日
It's under the image.
AFFY
2015 年 3 月 31 日
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.
カテゴリ
ヘルプ センター および File Exchange で Geometric Transformation and Image Registration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
