trvec = tform2trvec(tform)
extracts the Cartesian representation of the translation vector
trvec from the homogeneous
transformation tform. The rotational components
of tform are ignored. The input homogeneous
transformation must be in the premultiplied form for
transformations.
Homogeneous transformation, specified as a 3-by-3-by-n array or
4-by-4-by-n array. n is the number of
homogeneous transformations. The input homogeneous transformation must be in the
premultiplied form for transformations.
2-D homogeneous transformation matrices are of the form:
3-D homogeneous transformation matrices are of the form:
Cartesian representation of a translation vector,
returned as an n-by-2 matrix if
tform is a
3-by-3-by-n array and an
n-by-3 matrix if
tform is a
4-by-4-by-n array.
n is the number of translation
vectors. Each vector is of the form
[xy] or [xyz].
The tform argument now accepts 2-D homogeneous
transformation matrices as a 3-by-3-by-n array
and tform2trvec outputs a
n-by-2 matrix of 2-D translation vectors.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.