@Operator public final class AdjustSaturation extends PrimitiveOp implements Operand<Float>
`images` is a tensor of at least 3 dimensions. The last dimension is interpretted as channels, and must be three.
The input image is considered in the RGB colorspace. Conceptually, the RGB colors are first mapped into HSV. A scale is then applied all the saturation values, and then remapped back to RGB colorspace.
operation| Modifier and Type | Method and Description |
|---|---|
Output<Float> |
asOutput()
Returns the symbolic handle of a tensor.
|
static AdjustSaturation |
create(Scope scope,
Operand<Float> images,
Operand<Float> scale)
Factory method to create a class to wrap a new AdjustSaturation operation to the graph.
|
Output<Float> |
output()
The hue-adjusted image or images.
|
equals, hashCode, toStringpublic static AdjustSaturation create(Scope scope, Operand<Float> images, Operand<Float> scale)
scope - current graph scopeimages - Images to adjust. At least 3-D.scale - A float scale to add to the saturation.public Output<Float> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<Float>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.