Translate image

translates
image `B`

= imtranslate(`A`

,`translation`

)`A`

according to the translation specified
by the translation vector `translation`

. The function
returns `B`

, the translated image. If `A`

has
more than two dimensions and `translation`

is a
two-element vector, `imtranslate`

applies a 2-D translation
to `A`

, one plane at a time.

`[`

translates
the spatially referenced image `B`

,`RB`

] =
imtranslate(`A`

,`RA`

,`translation`

)`A`

with its associated
spatial referencing object `RA`

. The translation
vector, `translation`

, is in the world coordinate
system. The function returns the translated spatially referenced image `B`

,
with its associated spatially referencing object, `RB`

.

`___ = imtranslate(___,`

specifies
the interpolation method to use.`method`

)

`___ = imtranslate(___,`

translates
the input image using name-value pairs to control various aspects
of the translation.`Name,Value`

)

Code Generation support: Yes.

MATLAB Function Block support: Yes.

Was this topic helpful?