संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: संतृप्ति समायोजित करें
#include <image_ops.h>
एक या अधिक छवियों की संतृप्ति समायोजित करें.
सारांश
images
कम से कम 3 आयामों का एक टेंसर है। अंतिम आयाम की व्याख्या चैनल के रूप में की गई है, और यह तीन होना चाहिए।
इनपुट छवि को RGB कलरस्पेस में माना जाता है। वैचारिक रूप से, आरजीबी रंगों को पहले एचएसवी में मैप किया जाता है। फिर सभी संतृप्ति मानों को एक स्केल पर लागू किया जाता है, और फिर वापस आरजीबी कलरस्पेस में रीमैप किया जाता है।
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- छवियाँ: समायोजित करने के लिए छवियाँ। कम से कम 3-डी.
- स्केल: संतृप्ति में जोड़ने के लिए एक फ्लोट स्केल।
रिटर्न:
-
Output
: रंग-समायोजित छवि या छवियाँ।
सार्वजनिक गुण
सार्वजनिक समारोह
नोड
::tensorflow::Node * node() const
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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 interpreted 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.3/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.3/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.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` images, ::`[tensorflow::Input](/versions/r2.3/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.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_adjust_saturation_1a504be90e696510fdcfc95ff05b351f62) | `::`[tensorflow::Output](/versions/r2.3/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```"]]