tensorflow :: ops :: 명암 조정
#include <image_ops.h>
하나 이상의 이미지 대비를 조정합니다.
요약
images
는 최소 3 차원의 텐서입니다. 마지막 3 개의 치수는 [height, width, channels]
로 해석됩니다. 다른 차원은 [batch, height, width, channels].
과 같은 이미지 모음만을 나타냅니다 [batch, height, width, channels].
대비는 각 이미지의 각 채널에 대해 독립적으로 조정됩니다.
각 채널에 대해 Op는 먼저 채널에있는 이미지 픽셀의 평균을 계산 한 다음 각 픽셀의 각 구성 요소를 (x - mean) * contrast_factor + mean
합니다.
인수 :
- 범위 : 범위 개체
- 이미지 : 조정할 이미지입니다. 최소한 3 차원.
- contrast_factor : 대비를 조정하기위한 부동 승수입니다.
보고:
-
Output
: 대비가 조정 된 이미지입니다.
생성자와 소멸자 | |
---|---|
AdjustContrast (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input contrast_factor) |
공용 속성 | |
---|---|
operation | |
output |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공용 속성
조작
Operation operation
산출
::tensorflow::Output output
공공 기능
명암 조정
AdjustContrast( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input contrast_factor )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const