Image of HSV color wheel for openCV?

后端 未结 1 812

I have written the code for histogram and i want to use it for SVM traning. But the fundamental problem is that i don\'t understand how many minimum number of bins i should

相关标签:
1条回答
  • 2020-12-19 05:24

    in opencv, the hsv image has to fit into 3 8-bit channels, (no problem for S and V [0..255]) .

    since H is in the [0..360] range, the actual values get divided by 2, so it fits into a uchar.

    just divide any value in the diagram above by 2. ( or multiply the value you get from opencv )

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