| Constructor and Description |
|---|
Resize(int size)
Creates a
Resize Transform that resizes to the given size. |
Resize(int width,
int height)
Creates a
Resize Transform that resizes to the given width and height. |
Resize(int width,
int height,
Image.Interpolation interpolation)
Creates a
Resize Transform that resizes to the given width and height with
given interpolation. |
| Modifier and Type | Method and Description |
|---|---|
NDArray |
transform(NDArray array)
Applies the
Transform to the given NDArray. |
public Resize(int size)
Resize Transform that resizes to the given size.size - the new size to use for both height and widthpublic Resize(int width,
int height)
Resize Transform that resizes to the given width and height.width - the desired widthheight - the desired heightpublic Resize(int width,
int height,
Image.Interpolation interpolation)
Resize Transform that resizes to the given width and height with
given interpolation.width - the desired widthheight - the desired heightinterpolation - the desired interpolation