Rotate part of an image?

2 次查看(过去 30 天)
I have a .tiff file that I read into matlab as a .mat file and plot. When I plot the matrix, the image I am actually interested in (part no including purple triangle edges around the image) is rotated. How do I first remove the purple border around the image (highlighted in light blue in the attached jpeg file) and then take the image and rotate it by 30 degrees counterclockwise to make the image flat? The outside purple part of the image I to remove from the image has a value of 0 and color purple according to the colorbar.

采纳的回答

madhan ravi
madhan ravi 2018-10-22
  2 个评论
Andrew Poissant
Andrew Poissant 2018-10-23
Thank you I was able to rotate the image without issue but I still have the purple border around the actual image, which I do not want. I need to remove that portion.
madhan ravi
madhan ravi 2018-10-23
Chop off the the points from extracting the points from the rotated image using imread

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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!

Translated by