Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: RGBToHSV

#include <image_ops.h>

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

요약

픽셀의 HSV 값을 포함하는 images 텐서와 동일한 모양의 텐서를 출력합니다. 출력은 images 의 값이 [0,1] 에있는 경우에만 잘 정의됩니다.

output[..., 0] 에는 색조, output[..., 1] 에는 채도, output[..., 2] 에는 값이 포함됩니다. 모든 HSV 값은 [0,1] 있습니다. 0의 색조는 순수한 빨강에 해당하고, 1/3은 순수한 녹색, 2/3는 순수한 파랑에 해당합니다.

인수 :

  • 범위 : 범위 개체
  • 이미지 : 1D 이상 등급. 변환 할 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 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const