problems using the intrinsicToWorld function

2 次查看(过去 30 天)
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?

采纳的回答

Jeevan Joishi
Jeevan Joishi 2016-4-7
编辑:Jeevan Joishi 2016-4-7
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by