problems using the intrinsicToWorld function

9 vues (au cours des 30 derniers jours)
William Scharpf
William Scharpf le 4 Avr 2016
trying to crop a geotiff image. I have both the Image processing and mapping tool box. I can't seem to be able to use the intrinsicToWorld function. Says " Undefined function 'intrinsicToWorld' for input arguments of type 'map.rasterref.GeographicCellsReference'.". What am I missing?

Réponse acceptée

Jeevan Joishi
Jeevan Joishi le 7 Avr 2016
Modifié(e) : Jeevan Joishi le 7 Avr 2016
The error occurs because the function 'intrinsicToWorld' is defined only for MapCellsReference class. And that is why you observe an error while trying to use the function with rasters of GeographicCellsReference class.
The equivalent of 'intrinsicToWorld' is 'intrinsicXToLongitude' and 'intrinsicYToLatitude' where X and Y are the position on the image from where the cropping has to start.
More information can be found at this link

Plus de réponses (0)

Catégories

En savoir plus sur Mapping Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by