mapresize
Resize projected raster
Syntax
Description
[
returns a raster B
,RB
] = mapresize(A
,RA
,scale
)B
that is scale
times the size of
raster A
. RA
is a raster reference object that
specifies the location and extent of data in A
.
mapresize
returns the raster reference object RB
that is associated with the returned raster B
. By default,
mapresize
uses cubic interpolation.
[
specifies whether to perform antialiasing when shrinking a raster. When
B
,RB
] = mapresize(___,'Antialiasing',TF)true
, mapresize
performs antialiasing. The default
value depends on the type of interpolation specified. For nearest-neighbor interpolation,
the default value is false
. For all other interpolation methods, the
default is true
.
Examples
Input Arguments
Output Arguments
Tips
Use
mapresize
with raster data in x- and y-coordinates. To work with geographic raster data in latitude and longitude coordinates, usegeoresize
.
Version History
Introduced in R2019a