tensorflow::ops::AdjustSaturation

#include <image_ops.h>

Adjust the saturation of one or more images.

Summary

images is 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 scale is then applied all the saturation values, and then remapped back to RGB colorspace.

Arguments:

  • scope: A Scope object
  • images: Images to adjust. At least 3-D.
  • scale: A float scale to add to the saturation.

Returns:

  • Output: The hue-adjusted image or images.
Constructors and Destructors
AdjustSaturation(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input scale)
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

AdjustSaturation

 AdjustSaturation(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input scale
)

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 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/adjust-saturation