จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: HSVToRGB
#include <image_ops.h>
แปลงรูปภาพหนึ่งภาพขึ้นไปจาก HSV เป็น RGB
สรุป
เอาท์พุตเทนเซอร์ที่มีรูปร่างเดียวกันกับเทนเซอร์ images
ซึ่งมีค่า RGB ของพิกเซล ผลลัพธ์จะถูกกำหนดไว้อย่างดีก็ต่อเมื่อค่าใน images
อยู่ใน [0,1]
ดู rgb_to_hsv
สำหรับคำอธิบายของการเข้ารหัส HSV
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- รูปภาพ: อันดับ 1-D หรือสูงกว่า ข้อมูล HSV ที่จะแปลง มิติสุดท้ายต้องเป็นขนาด 3
ผลตอบแทน:
-
Output
: images
ที่แปลงเป็น RGB
คุณลักษณะสาธารณะ
งานสาธารณะ
โหนด
::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::HSVToRGB Class Reference\n\ntensorflow::ops::HSVToRGB\n=========================\n\n`#include \u003cimage_ops.h\u003e`\n\nConvert one or more images from HSV to RGB.\n\nSummary\n-------\n\nOutputs a tensor of the same shape as the `images` tensor, containing the RGB value of the pixels. The output is only well defined if the value in `images` are in `[0,1]`.\n\nSee `rgb_to_hsv` for a description of the HSV encoding.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- images: 1-D or higher rank. HSV data to convert. Last dimension must be size 3.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): `images` converted to RGB.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [HSVToRGB](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1a1409722c4dd53811c226fbb1f813bd66)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` images)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1a5078b98877259cf977691d74045a8ce9) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1a64224dbb99ba5a7093433f3ba94c224e) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1ab34a36f7af9018c8c2e2c7a372d6ad8c)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1ada9be1d7e70b99306d4199283d565058)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_h_s_v_to_r_g_b_1a710f7313104d651aa5945500ccdc9274)`() 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### HSVToRGB\n\n```gdscript\n HSVToRGB(\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```"]]