HSVToRGB


tensorflow C++ API

tensorflow::ops::HSVToRGB

Convert one or more images from HSV to RGB.


Summary

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

Seergb_to_hsvfor a description of the HSV encoding.

Arguments:

  • scope: A Scope object
  • images: 1-D or higher rank. HSV data to convert. Last dimension must be size 3.

Returns:

  • Output: imagesconverted to RGB.

Constructor

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

Public attributes

  • tensorflow::Output output.

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

Return:

  • Output output: Output object of HSVToRGB 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 ""