HSVToRGB
tensorflow C++ API
Convert one or more images from HSV to RGB.
Summary
Outputs a tensor of the same shape as theimages
tensor, containing the RGB value of the pixels. The output is only well defined if the value inimages
are in[0,1]
.
Seergb_to_hsv
for 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
:images
converted 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.