コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::彩度の調整
#include <image_ops.h>
1 つまたは複数の画像の彩度を調整します。
まとめ
images
少なくとも 3 次元のテンソルです。最後の次元はチャネルとして解釈され、3 である必要があります。
入力画像は RGB カラー空間で考慮されます。概念的には、RGB カラーは最初に HSV にマッピングされます。次に、すべての彩度値にスケールが適用され、RGB カラースペースに再マップされます。
引数:
- スコープ:スコープオブジェクト
- 画像: 調整する画像。少なくとも3D。
- スケール: 彩度を追加する浮動小数点スケール。
戻り値:
パブリック属性
公共機能
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# tensorflow::ops::AdjustSaturation Class Reference\n\ntensorflow::ops::AdjustSaturation\n=================================\n\n`#include \u003cimage_ops.h\u003e`\n\nAdjust the saturation of one or more images.\n\nSummary\n-------\n\n`images` is a tensor of at least 3 dimensions. The last dimension is interpretted as channels, and must be three.\n\nThe 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.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- images: Images to adjust. At least 3-D.\n- scale: A float scale to add to the saturation.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The hue-adjusted image or images.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [AdjustSaturation](#classtensorflow_1_1ops_1_1_adjust_saturation_1a47cd9a146bf280dcd4bed111e35df35e)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` images, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` scale)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_adjust_saturation_1a4d7f7c27cbbdda825e016da48e6ac0e8) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_adjust_saturation_1a504be90e696510fdcfc95ff05b351f62) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_adjust_saturation_1a8106decce6b90c560154227933028802)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_adjust_saturation_1a8ee6c792ccd9ac086ba0e44b3e43f730)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_adjust_saturation_1ac3cb2a3bdb3ad1e20f42d9b1f95fecc6)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### AdjustSaturation\n\n```gdscript\n AdjustSaturation(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input images,\n ::tensorflow::Input scale\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]