Description Usage Arguments Value Raises
Translates image in X or Y dimension.
1 | img_translate_xy(image, translate_to, replace)
|
image |
A 3D image Tensor. |
translate_to |
A 1D tensor to translate [x, y] |
replace |
A one or three value 1D tensor to fill empty pixels. |
Translated image along X or Y axis, with space outside image filled with replace. Raises: ValueError: if axis is neither 0 nor 1.
ValueError: if axis is neither 0 nor 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.