W3cubDocs

/TensorFlow C++ 2.4

tensorflow::ops::HSVToRGB

#include <image_ops.h>

Convert one or more images from HSV to RGB.

Summary

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.

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.
Constructors and Destructors
HSVToRGB(const ::tensorflow::Scope & scope, ::tensorflow::Input images)
Public attributes
operation
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

HSVToRGB

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

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/h-s-v-to-r-g-b