1 | initial version |
Bah..they do not look like the original picture because you display the HSV as if it was RGB that's all. But HSV is a better model to 'separate' perceptually the colors (then separate your objects). once your objects are separated, apply inverse color conversion to get the original color.