#include <image_ops.h>
Converts one or more images from RGB to HSV.
Outputs a tensor of the same shape as the images
tensor, containing the HSV value of the pixels. The output is only well defined if the value in images
are in [0,1]
.
output[..., 0]
contains hue, output[..., 1]
contains saturation, and output[..., 2]
contains value. All HSV values are in [0,1]
. A hue of 0 corresponds to pure red, hue 1/3 is pure green, and 2/3 is pure blue.
Arguments:
Returns:
Output
: images
converted to HSV. Constructors and Destructors | |
---|---|
RGBToHSV(const ::tensorflow::Scope & scope, ::tensorflow::Input images) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
::tensorflow::Output output
RGBToHSV( const ::tensorflow::Scope & scope, ::tensorflow::Input images )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/r-g-b-to-h-s-v.html