Saving geotiff using geotiffwrite

Hello,
I produced a new variable (mapfinal) in the workspace by subtracting one geotiff from another (they are images of cities).
I want to save this as a geotiff using the function geotiffwrite.
geotiffwrite(mapfinal, info.SpatialRef, ...
'GeoKeyDirectoryTag', info.GeoTIFFTags.GeoKeyDirectoryTag);
How should I write the code?
Thank you!

Etiquetas

Preguntada:

el 18 de Nov. de 2019

Respondida:

el 18 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by