เทนเซอร์โฟลว์ :: ops :: ปรับสี
#include <image_ops.h>
ปรับสีของภาพอย่างน้อยหนึ่งภาพ
สรุป
images
มี images
เทนเซอร์อย่างน้อย 3 มิติ มิติข้อมูลสุดท้ายถูกตีความเป็นแชนเนลและต้องเป็นสาม
ภาพที่ป้อนจะถูกพิจารณาในพื้นที่สี RGB ตามแนวคิดแล้วสี RGB จะถูกจับคู่กับ HSV เป็นครั้งแรก จากนั้นเดลต้าจะใช้ค่าเฉดสีทั้งหมดจากนั้นทำการแมปกลับเป็น RGB colorspace
อาร์กิวเมนต์:
- ขอบเขต: วัตถุ ขอบเขต
- ภาพ: ภาพที่จะปรับ อย่างน้อย 3-D
- เดลต้า: เดลต้าลอยเพื่อเพิ่มสี
ผลตอบแทน:
-
Output
: ภาพหรือภาพที่ปรับสี
ผู้สร้างและผู้ทำลาย | |
---|---|
AdjustHue (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input delta) |
คุณลักษณะสาธารณะ | |
---|---|
operation | |
output |
หน้าที่สาธารณะ | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาท์พุท
::tensorflow::Output output
หน้าที่สาธารณะ
ปรับสี
AdjustHue( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input delta )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ :: tensorflow :: อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ :: tensorflow :: เอาต์พุต
operator::tensorflow::Output() const