HsvToRgb

public final class HsvToRgb

Convert one or more images from HSV to RGB.

Outputs a tensor of the same shape as the `images` tensor, containing the RGB value of the pixels. The output is only well defined if the value in `images` are in `[0,1]`.

See `rgb_to_hsv` for a description of the HSV encoding.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output <T>
asOutput ()
Returns the symbolic handle of the tensor.
static <T extends TNumber > HsvToRgb <T>
create ( Scope scope, Operand <T> images)
Factory method to create a class wrapping a new HsvToRgb operation.
Output <T>
output ()
`images` converted to RGB.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "HSVToRGB"

Public Methods

public Output <T> asOutput ()

Returns the symbolic handle of the tensor.

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.

public static HsvToRgb <T> create ( Scope scope, Operand <T> images)

Factory method to create a class wrapping a new HsvToRgb operation.

Parameters
scope current scope
images 1-D or higher rank. HSV data to convert. Last dimension must be size 3.
Returns
  • a new instance of HsvToRgb

public Output <T> output ()

`images` converted to RGB.