export image in mapping toolbox with no deformation

1 view (last 30 days)
I have a referenced image that I project using:
ax=worldmap([-18.5 0.5],[-82 -68]); setm(ax,'mapprojection','mercator') geoshow(im,R); then I exported it, I did it with print command. However when I read the exported image and make the referencing matrix using georasterref function the image show a distortion as you can see in the image I upload.
How can I export a matlab figure conserving its properties.
  1 Comment
Rob Comer
Rob Comer on 14 Oct 2014
Putting the "how" aside for a moment (exporting a figure may not turn out to be part of the solution), it would help to clarify the "what." You've set up a Mercator projection, which implies a specific projected coordinate reference system (PCRS) with its own x and y axes. It seems like you have an input "im" with regular samples in lat-lon, and you want to transform it geometrically to an image that is sampled regularly in the x-y system. Is that right?

Sign in to comment.

Answers (0)

Categories

Find more on Read, Write, and Modify Image 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!