/
translate.txt
40 lines (23 loc) · 963 Bytes
/
translate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.. _translate:
translate
*********
**Syntax:** :code:`translate(input image, output image, shift)`
Translates input image by specified amount.
This command cannot be used in the distributed processing mode. If you need it, please contact the authors.
Arguments
---------
input image [input]
~~~~~~~~~~~~~~~~~~~
**Data type:** uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image
Input image.
output image [output]
~~~~~~~~~~~~~~~~~~~~~
**Data type:** uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image
Output image.
shift [input]
~~~~~~~~~~~~~
**Data type:** 3-component real vector
Translation that will be applied to the input image.
See also
--------
:ref:`rot90cw`, :ref:`rot90ccw`, :ref:`rotate`, :ref:`flip`, :ref:`reslice`, :ref:`crop`, :ref:`copy`, :ref:`scalelabels`