텐서플로우:: ops:: RGBToHSV

#include <image_ops.h>

하나 이상의 이미지를 RGB에서 HSV로 변환합니다.

요약

images 텐서와 동일한 형태의 텐서를 출력하며, 이 텐서에는 픽셀의 HSV 값이 포함됩니다. 출력은 images 의 값이 [0,1] 범위에 있을 때만 제대로 정의됩니다.

output[..., 0] 에는 색조가, output[..., 1] 에는 채도가, output[..., 2] 에는 명도가 포함됩니다. 모든 HSV 값은 [0,1] 범위에 있습니다. 색조 0은 순수한 빨간색, 색조 1/3은 순수한 녹색, 색조 2/3은 순수한 파란색에 해당합니다.

논거:

  • 범위: Scope 객체
  • 이미지: 1차원 이상. 변환할 RGB 데이터. 마지막 차원의 크기는 3이어야 합니다.

보고:

  • Output : HSV 형식으로 변환된 images .

생성자와 소멸자

RGBToHSV (const :: tensorflow::Scope & scope, :: tensorflow::Input images)

공개 속성

operation
output

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

RGBToHSV

 RGBToHSV(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const