2017-10-11 7 views

답변

0

Matlab과 같이 rgb2hsv의 출력은 3면에 이미지의 색조, 채도 및 값 구성 요소가 포함 된 mx3x 이미지 배열로 반환됩니다. 따라서이 구성 요소를 얻을 수 있습니다. 예 :

hsv_image = rgb2hsv(rgb_image); 
hue_component= hsv_image(:,:,1); 
saturation_component= hsv_image(:,:,2); 
value _component= hsv_image(:,:,3);