T
- data type for output()
output@Operator(group="image") public final class AdjustHue<T extends Number> extends PrimitiveOp implements Operand<T>
`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 delta is then applied all the hue values, and then remapped back to RGB colorspace.
operation
Modifier and Type | Method and Description |
---|---|
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<T> images,
Operand<Float> delta)
Factory method to create a class wrapping a new AdjustHue operation.
|
Output<T> |
output()
The hue-adjusted image or images.
|
equals, hashCode, op, toString
public static <T extends Number> AdjustHue<T> create(Scope scope, Operand<T> images, Operand<Float> delta)
scope
- current scopeimages
- Images to adjust. At least 3-D.delta
- A float delta to add to the hue.public Output<T> asOutput()
Operand
Inputs 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<T extends Number>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.