| Image Processing Toolbox User's Guide |    | 
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.
I = imread('cameraman.tif'); se = translate(strel(1), [25 25]); J = imdilate(I,se); imshow(I), title('Original') figure, imshow(J), title('Translated');
See Also
|   | tforminv | truesize |  | 
© 1994-2005 The MathWorks, Inc.