フィルターのクリア

can anyone give the recover image rotation code?

8 ビュー (過去 30 日間)
anika hossain
anika hossain 2015 年 9 月 5 日
コメント済み: Image Analyst 2016 年 4 月 12 日
I need to recover an rotated image. I found the solution in MATLAB solution:
but I am not able to use it. It would be helpful if anyone could provide the code.
  4 件のコメント
Image Analyst
Image Analyst 2015 年 9 月 5 日
編集済み: Image Analyst 2015 年 9 月 5 日

If all you have is a final, rotated image, and no original image to compare it to, then obviously there is no way to find out how much your only image was rotated, or even if it was rotated. Rotation has to be compared to something.

Look at this image.

Now, if I tell you it's rotated, but don't tell you anything else, can you tell me how much it was rotated?

anika hossain
anika hossain 2015 年 9 月 5 日
編集済み: anika hossain 2015 年 9 月 5 日
ok. is there any other function that can inverse rotate the image that is rotated but not cropped like the image below
if i specify the angle to 0 degree?

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2015 年 9 月 5 日
You can use imrotate() if you know the angle. If you don't know the angle you'll have to figure it out - it's not hard, just the arctangent of the ratio of the length of the two black triangle sides.
  2 件のコメント
sendi novianto
sendi novianto 2016 年 4 月 12 日
could you provide sample code to solve that ?
Image Analyst
Image Analyst 2016 年 4 月 12 日
See attached.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by