텐서플로우:: ops:: DecodeJpeg:: Attrs

#include <image_ops.h>

DecodeJpeg 에 대한 선택적 속성 설정기입니다.

요약

공개 속성

acceptable_fraction_ = 1.0f
float
channels_ = 0
int64
dct_method_ = ""
StringPiece
fancy_upscaling_ = true
bool
ratio_ = 1
int64
try_recover_truncated_ = false
bool

공공 기능

AcceptableFraction (float x)
TF_MUST_USE_RESULT Attrs
잘린 입력이 허용되기 전에 필요한 최소 줄 수 비율입니다.
Channels (int64 x)
TF_MUST_USE_RESULT Attrs
디코딩된 이미지의 색상 채널 수입니다.
DctMethod (StringPiece x)
TF_MUST_USE_RESULT Attrs
압축 해제에 사용된 알고리즘에 대한 힌트를 지정하는 문자열입니다.
FancyUpscaling (bool x)
TF_MUST_USE_RESULT Attrs
사실이라면 크로마 평면을 더 느리지만 더 보기 좋게 업스케일링하는 방법을 사용하십시오(yuv420/422만 해당).
Ratio (int64 x)
TF_MUST_USE_RESULT Attrs
축소 비율.
TryRecoverTruncated (bool x)
TF_MUST_USE_RESULT Attrs
만약 그렇다면, 잘린 입력에서 이미지를 복구하려고 시도합니다.

공개 속성

허용 가능한 비율

float tensorflow::ops::DecodeJpeg::Attrs::acceptable_fraction_ = 1.0f

채널_

int64 tensorflow::ops::DecodeJpeg::Attrs::channels_ = 0

dct_방법_

StringPiece tensorflow::ops::DecodeJpeg::Attrs::dct_method_ = ""

고급_업스케일링_

bool tensorflow::ops::DecodeJpeg::Attrs::fancy_upscaling_ = true

비율_

int64 tensorflow::ops::DecodeJpeg::Attrs::ratio_ = 1

try_recover_truncated_

bool tensorflow::ops::DecodeJpeg::Attrs::try_recover_truncated_ = false

공공 기능

허용 가능한 비율

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::AcceptableFraction(
  float x
)

잘린 입력이 허용되기 전에 필요한 최소 줄 수 비율입니다.

기본값은 1입니다.

채널

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::Channels(
  int64 x
)

디코딩된 이미지의 색상 채널 수입니다.

기본값은 0입니다.

DCT 방법

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::DctMethod(
  StringPiece x
)

압축 해제에 사용된 알고리즘에 대한 힌트를 지정하는 문자열입니다.

기본값은 ""이며, 이는 시스템별 기본값에 해당합니다. 현재 유효한 값은 ["INTEGER_FAST", "INTEGER_ACCURATE"]입니다. 이 힌트는 무시될 수 있습니다(예: 내부 JPEG 라이브러리가 해당 옵션이 없는 버전으로 변경된 경우).

기본값은 ""입니다.

팬시업스케일링

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::FancyUpscaling(
  bool x
)

사실이라면 크로마 평면을 더 느리지만 더 보기 좋게 업스케일링하는 방법을 사용하십시오(yuv420/422만 해당).

기본값은 true입니다.

비율

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::Ratio(
  int64 x
)

축소 비율.

기본값은 1입니다.

TryRecoverTruncated

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::TryRecoverTruncated(
  bool x
)

만약 그렇다면, 잘린 입력에서 이미지를 복구하려고 시도합니다.

기본값은 false입니다.