You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zooming/scaling ratio, greater than 1 means larger.
1463
1463
- float, a fixed ratio.
1464
1464
- tuple of 2 floats, randomly sample a value as the ratio between 2 values.
1465
-
row_index col_index and channel_index : int
1466
-
Index of row, col and channel, default (0, 1, 2), for theano (1, 2, 0).
1467
-
fill_mode : str
1468
-
Method to fill missing pixel, default `nearest`, more options `constant`, `reflect` or `wrap`, see `scipy ndimage affine_transform <https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.ndimage.interpolation.affine_transform.html>`__
1469
-
cval : float
1470
-
Value used for points outside the boundaries of the input if mode='constant'. Default is 0.0.
1471
-
order : int
1472
-
The order of interpolation. The order has to be in the range 0-5. See ``tl.prepro.affine_transform`` and `scipy ndimage affine_transform <https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.ndimage.interpolation.affine_transform.html>`__
1465
+
border_mode : str
1466
+
- `constant`, pad the image with a constant value (i.e. black or 0)
1467
+
- `replicate`, the row or column at the very edge of the original is replicated to the extra border.
0 commit comments