Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: Điều chỉnhHue
#include <image_ops.h>
Điều chỉnh màu sắc của một hoặc nhiều hình ảnh.
Bản tóm tắt
images
là một tenxơ có ít nhất 3 chiều. Thứ nguyên cuối cùng được hiểu là kênh và phải là ba.
Hình ảnh đầu vào được xem xét trong không gian màu RGB. Về mặt khái niệm, màu RGB lần đầu tiên được ánh xạ vào HSV. Sau đó, một delta được áp dụng tất cả các giá trị màu sắc và sau đó được ánh xạ trở lại không gian màu RGB.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- hình ảnh: Hình ảnh để điều chỉnh. Ít nhất là 3-D.
- delta: Một delta nổi để thêm vào màu sắc.
Trả về:
-
Output
: Hình ảnh hoặc các hình ảnh được điều chỉnh màu sắc.
Thuộc tính công khai
Chức năng công cộng
nút
::tensorflow::Node * node() const
operator::tensorflow::Input() const
toán tử::tenorflow::Đầu ra
operator::tensorflow::Output() const
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# tensorflow::ops::AdjustHue Class Reference\n\ntensorflow::ops::AdjustHue\n==========================\n\n`#include \u003cimage_ops.h\u003e`\n\nAdjust the hue 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 delta is then applied all the hue values, and then remapped back to RGB colorspace.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- images: Images to adjust. At least 3-D.\n- delta: A float delta to add to the hue.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/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| [AdjustHue](#classtensorflow_1_1ops_1_1_adjust_hue_1adc4729f81b3706ecca637695791dc6e2)`(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, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` delta)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_adjust_hue_1ab7879385304f864560033ed8d8058438) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_adjust_hue_1a75cd3fc2cfbf2b12ad981a0d40051c95) | `::`[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_adjust_hue_1ad85bc0661591d1b7ef77a485a6a782f1)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_adjust_hue_1aab8668abf25375e15ea5979988b0d27b)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_adjust_hue_1a68d5b5f733baafcf370f564ccc097e28)`() 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### AdjustHue\n\n```gdscript\n AdjustHue(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input images,\n ::tensorflow::Input delta\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```"]]