تينسورفلو :: العمليات :: ضبط التباين
#include <image_ops.h>
اضبط تباين صورة واحدة أو أكثر.
ملخص
images
موتر لا يقل عن 3 أبعاد. يتم تفسير الأبعاد الثلاثة الأخيرة على أنها [height, width, channels]
. لا تمثل الأبعاد الأخرى سوى مجموعة من الصور ، مثل [batch, height, width, channels].
يتم ضبط التباين بشكل مستقل لكل قناة في كل صورة.
لكل قناة ، يحسب Op أولاً متوسط وحدات البكسل في القناة ثم يضبط كل مكون من كل بكسل إلى (x - mean) * contrast_factor + mean
الحجج:
- النطاق: كائن النطاق
- الصور: الصور لضبط. ما لا يقل عن 3-D.
- جهة التباين: مُضاعِف عائم لضبط التباين.
عائدات:
-
Output
: الصورة أو الصور المعدلة على التباين.
البنائين والمدمرين | |
---|---|
AdjustContrast (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input contrast_factor) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
ضبط التباين
AdjustContrast( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input contrast_factor )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]