tensorflow::ops::EncodeJpegVariableQuality
#include <image_ops.h>
Кодирует входное изображение в формате JPEG с указанным качеством сжатия.
Сводка
image — это 3-мерный Tensor типа uint8 формы [height, width, channels]. quality — это значение качества сжатия JPEG типа int32 в диапазоне от 0 до 100.
Аргументы:
- scope: объект Scope
- images: Изображения для преобразования. Не менее 3-мерные.
- quality: Значение типа int, используемое для кодирования.
Возвращает:
-
Output: 0-мерное изображение, закодированное в формате JPEG.
| Конструкторы и деструкторы | |
|---|---|
EncodeJpegVariableQuality(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input quality) |
| Открытые атрибуты | |
|---|---|
contents | |
operation | |
| Открытые функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Открытые атрибуты
contents
::tensorflow::Output contents
operation
Operation operation
Открытые функции
EncodeJpegVariableQuality
EncodeJpegVariableQuality( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input quality )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 2022 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/api_docs/cc/class/tensorflow/ops/encode-jpeg-variable-quality