Converting image from RGB to HSV color space

后端 未结 1 822
予麋鹿
予麋鹿 2020-12-03 21:14

I couldn\'t find such function (i.e. RGB_to_HSV()) in Scipy or Matplotlib\'s documentations, and Google doesn\'t show pointers, excep

相关标签:
1条回答
  • 2020-12-03 21:15

    Matplotlib provides RGB to HSV conversion function: matplotlib.colors.rgb_to_hsv():

    matplotlib.colors.rgb_to_hsv(arr)

    convert rgb values in a numpy array to hsv values input and output arrays should have shape (M,N,3)

    0 讨论(0)
提交回复
热议问题