tensorflow :: ops :: DecodeGif
#include <image_ops.h>
GIF로 인코딩 된 이미지의 프레임을 uint8 텐서로 디코딩합니다.
요약
프레임 또는 투명도 압축이 적용된 GIF 이미지는 지원되지 않습니다. Linux 및 MacOS 시스템에서 다음을 실행하여 애니메이션 GIF를 압축에서 압축 해제로 변환하십시오.
convert $src.gif -coalesce $dst.gif
이 작업은 JPEG 및 PNG 디코딩도 지원하지만 tf.image.decode_image
를 사용하는 것이 더 깨끗합니다.
인수 :
- 범위 : 범위 개체
- 내용 : 0-D. GIF로 인코딩 된 이미지입니다.
보고:
-
Output
: 모양[num_frames, height, width, 3]
4-D. 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
공공 기능
DecodeGif
DecodeGif( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const