Image Processing Toolbox    
translate

Translate structuring element

Syntax

Description

SE2 = reflect(SE,V) translates a structuring element SE in N-D space. V is an N-element vector containing the offsets of the desired translation in each dimension.

Class Support

SE and SE2 are STREL objects; V is a vector of double precision values.

Example

Dilating with a translated version of strel(1) is a way to translate the input image in space. This example translates the cameraman.tif image down and to the right by 25 pixels.

See Also

strel, reflect


  tforminv truesize