tensorflow :: ops :: رمزگشایی Gif
#include <image_ops.h>
فریم (های) تصویر رمزگذاری شده با GIF را به یک سنسور uint8 رمزگشایی کنید.
خلاصه
تصاویر GIF با فشرده سازی قاب یا شفافیت پشتیبانی نمی شوند. در سیستم های لینوکس و MacOS ، با استفاده از GIF های متحرک از حالت فشرده به غیر فشرده تبدیل کنید:
convert $src.gif -coalesce $dst.gif
این op همچنین از رمزگشایی JPEG و PNG پشتیبانی می کند ، اگرچه استفاده از tf.image.decode_image
.
استدلال ها:
- دامنه: یک شی Sc Scope
- محتویات: 0-D. تصویر رمزگذاری شده با GIF.
بازده:
-
Output
: 4-D با شکل[num_frames, height, width, 3]
. سفارش کانال RGB.
سازندگان و ویرانگران | |
---|---|
DecodeGif (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) |
صفات عمومی | |
---|---|
image | |
operation |
کارکردهای عمومی | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
صفات عمومی
تصویر
::tensorflow::Output image
عمل
Operation operation
کارکردهای عمومی
رمزگشایی Gif
DecodeGif( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
گره
::tensorflow::Node * node() const
عملگر :: tensorflow :: ورودی
operator::tensorflow::Input() const
عملگر :: tensorflow :: خروجی
operator::tensorflow::Output() const
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2020-04-20 بهوقت ساعت هماهنگ جهانی.
[{
"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":"غیره"
}]