AdjustHue


tensorflow C++ API

tensorflow::ops::AdjustHue

Adjust the hue of one or more images.


Summary

imagesis 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.

Arguments:

  • scope: A Scope object
  • images: Images to adjust. At least 3-D.. Datatype must be float.
  • delta: A float delta to add to the hue.

Returns:

  • Output: The hue-adjusted image or images.

Constructor

  • AdjustHue(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input delta) .

Public attributes

  • tensorflow::Output output.

AdjustHue block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_image_ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • images : connect Input node.
  • delta: connect Input node or input float value.

Return:

  • Output output: Output object of AdjustHue class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method

Input contents datatype of images must be float.

results matching ""

    No results matching ""