সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: RGBToHSV
#include <image_ops.h>
এক বা একাধিক ছবিকে RGB থেকে HSV-তে রূপান্তর করে।
সারাংশ
পিক্সেলের HSV মান সমন্বিত images
টেনসরের মতো একই আকৃতির একটি টেনসর আউটপুট করে। আউটপুট শুধুমাত্র ভালভাবে সংজ্ঞায়িত করা হয় যদি images
মান [0,1]
এ থাকে।
output[..., 0]
-এ রয়েছে রঙ, output[..., 1]
স্যাচুরেশন রয়েছে এবং output[..., 2]
এর মান রয়েছে। সমস্ত HSV মান [0,1]
এ রয়েছে। 0 এর একটি বর্ণ খাঁটি লালের সাথে মিলে যায়, 1/3 রঙটি বিশুদ্ধ সবুজ এবং 2/3টি বিশুদ্ধ নীল।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- ছবি: 1-ডি বা উচ্চতর র্যাঙ্ক। রূপান্তর করতে RGB ডেটা। শেষ মাত্রা মাপ 3 হতে হবে।
রিটার্ন:
-
Output
: images
এইচএসভিতে রূপান্তরিত।
পাবলিক বৈশিষ্ট্য
পাবলিক ফাংশন
নোড
::tensorflow::Node * node() const
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# tensorflow::ops::RGBToHSV Class Reference\n\ntensorflow::ops::RGBToHSV\n=========================\n\n`#include \u003cimage_ops.h\u003e`\n\nConverts one or more images from RGB to HSV.\n\nSummary\n-------\n\nOutputs 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]`.\n\n`output[..., 0]` contains hue, `output[..., 1]` contains saturation, and `output[..., 2]` contains value. [All](/versions/r2.1/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_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.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- images: 1-D or higher rank. RGB data to convert. Last dimension must be size 3.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): `images` converted to HSV.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [RGBToHSV](#classtensorflow_1_1ops_1_1_r_g_b_to_h_s_v_1adeee02a3b49a0f5c65cb80d483ea989f)`(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)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_r_g_b_to_h_s_v_1ac7ab2f00f74ab0311b9f1c48aaaf7eeb) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_r_g_b_to_h_s_v_1a13c0fc88dc3e8e64b4d6e06b977dfb60) | `::`[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_r_g_b_to_h_s_v_1a649b74b8b8eca61339a0b8697b48f663)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_r_g_b_to_h_s_v_1a8df89464d3f6495f95e0dacea72033dc)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_r_g_b_to_h_s_v_1a985432c9b3b9e880080e1ec9c52a3d4a)`() 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### RGBToHSV\n\n```gdscript\n RGBToHSV(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input images\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```"]]