public class FlipImageTransform extends BaseImageTransform<org.bytedeco.javacpp.opencv_core.Mat>
converter, currentImage, random| Constructor and Description |
|---|
FlipImageTransform()
Calls
this(null). |
FlipImageTransform(int flipMode)
Calls
this(null) and sets the flip mode. |
FlipImageTransform(Random random)
Constructs an instance of the ImageTransform.
|
| Modifier and Type | Method and Description |
|---|---|
protected ImageWritable |
doTransform(ImageWritable image,
Random random) |
float[] |
query(float... coordinates)
Transforms the given coordinates using the parameters that were used to transform the last image.
|
getCurrentImage, transform, transformpublic FlipImageTransform()
this(null).public FlipImageTransform(int flipMode)
this(null) and sets the flip mode.flipMode - the deterministic flip mode
0 Flips around x-axis.
>0 Flips around y-axis.
<0 Flips around both axes.public FlipImageTransform(Random random)
random - object to use (or null for deterministic)protected ImageWritable doTransform(ImageWritable image, Random random)
doTransform in class BaseImageTransform<org.bytedeco.javacpp.opencv_core.Mat>public float[] query(float... coordinates)
ImageTransformquery in interface ImageTransformquery in class BaseImageTransform<org.bytedeco.javacpp.opencv_core.Mat>coordinates - to transforms (x1, y1, x2, y2, ...)Copyright © 2018. All rights reserved.