79175249

Date: 2024-11-10 16:15:44
Score: 0.5
Natty:
Report link

Sorry to wake up an old question...
Since opencv/emgu doesn't expose the pixel conversion functions, sometimes I use this:

Bgr bgrColor = new Bgr(...);
Hsv hsvColor = new Image<Bgr, byte>(1, 1, bgrColor).Convert<Hsv, byte>()[0, 0];

This is not optimized at all, but will give the correct color.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eran