User`s guide

R2011a
9-2
Spatial Referencing Improvements
Raster Referencing Classes
The new spatialref.GeoRasterReference and
spatialref.MapRasterReference classes relate georeferenced images or data to
geographic or planar coordinates. Most Mapping Toolbox functions that work with
referencing vectors and matrices now work with referencing objects, as well. Unlike
the older referencing matrix and vector representations, a referencing object is self-
documenting, providing a rich set of properties to describe both the intrinsic and extrinsic
geometry.
These functions now work with GeoRasterReference objects:
areamat contour3m contourfm contourm
filterm findm geoshow geotiffinfo
geotiffread gradientm grid2image imbedm
latlon2pix limitm los2 ltln2val
mapprofile maptrims meshgrat meshlsrm
meshm neworig pix2latlon resizem
setltln setpostn usamap vec2mtx
viewshed worldfileread worldfilewrite worldmap
These functions now work with MapRasterReference objects:
geotiffinfo geotiffread map2pix mapbbox
mapoutline mapshow mapview pix2map
pixcenters worldfileread worldfilewrite
Use the new georasterref and maprasterref functions to construct GeoRasterReference
and MapRasterReference objects.
Compatibility Considerations
Use the new referencing classes instead of referencing matrices and referencing
vectors. To convert referencing matrices or referencing vectors to the