تينسورفلو :: العمليات :: فك التشفير
#include <image_ops.h>
قم بفك تشفير الإطار الأول لصورة مشفرة باستخدام BMP إلى موتر uint8.
ملخص
تشير channels
Attr إلى العدد المطلوب من القنوات الملونة للصورة التي تم فك تشفيرها.
القيم المقبولة هي:
- 0: استخدم عدد القنوات في الصورة المشفرة BMP.
- 3: إخراج صورة RGB.
- 4: إخراج صورة RGBA.
الحجج:
- النطاق: كائن النطاق
- المحتويات: 0-D. الصورة المشفرة بواسطة BMP.
عائدات:
-
Output
: ثلاثي الأبعاد مع الشكل[height, width, channels]
. ترتيب RGB
البنائين والمدمرين | |
---|---|
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const DecodeBmp::Attrs & attrs) |
السمات العامة | |
---|---|
image | |
operation |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Channels (int64 x) |
الهياكل | |
---|---|
tensorflow :: ops :: DecodeBmp :: Attrs | محددات السمات الاختيارية لـ DecodeBmp . |
السمات العامة
صورة
::tensorflow::Output image
عملية
Operation operation
الوظائف العامة
فك التشفير
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
فك التشفير
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const DecodeBmp::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
القنوات
Attrs Channels( int64 x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-08-30 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]