geotif referencing of rotated image- without black box
3 views (last 30 days)
Show older comments
Please can somebody help me. I am trying to make a mosaic of georeferenced images whihc have been rotated dependent on the heading from which they were taken. I have managed to use imrotate and geotiffwrite to create the file- however this has a black boarder surrounding the image which prevent mosaicking. Does anybody know of a way to remove this black boarder? I was hoping to assign co-ordinates to each corner of the image by editing geotiffinfo cornercoordinates- preventing the need for the border but i cannot get the changes to save to the picture. I have also tried adding transparency to the image but this creates a white border and so does not remove my problem please any help would be wonderful. thank you
0 Comments
Answers (1)
Walter Roberson
on 16 Oct 2012
No. MATLAB does not support non-rectangular arrays such as would be needed to store an image rotated at angles (that are not multiples of 90 degrees). Something has to go into the empty space. You can choose the constant that will go in, but you cannot make it "not be there"
See Also
Categories
Find more on Data Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!