tensorflow :: ops :: DecodeBmp
#include <image_ops.h>
BMP로 인코딩 된 이미지의 첫 번째 프레임을 uint8 텐서로 디코딩합니다.
요약
attr channels
은 디코딩 된 이미지에 대해 원하는 색상 채널 수를 나타냅니다.
허용되는 값은 다음과 같습니다.
- 0 : BMP 인코딩 이미지의 채널 수를 사용합니다.
- 3 : RGB 이미지를 출력합니다.
- 4 : RGBA 이미지를 출력합니다.
인수 :
- 범위 : 범위 개체
- 내용 : 0-D. BMP로 인코딩 된 이미지입니다.
보고:
-
Output
: 3 차원 모양[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 :: 속성 | DecodeBmp에 대한 선택적 속성 설정자. |
공용 속성
영상
::tensorflow::Output image
조작
Operation operation
공공 기능
DecodeBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
DecodeBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const DecodeBmp::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
채널
Attrs Channels( int64 x )