How to associate a color value to a number?
I'm creating a module that would associate the average color value to a value, which is ranged from white to blue (based from a thermal picture). Now I need to a way to do this in code, and I definitely need help in this regard, since I have no clue as to how do I code this in the first place.
Any help would be appreciated.
Thanks in advance.
duplicate post ? https://answers.opencv.org/question/2...
https://answers.opencv.org/question/2...
I wasn't able to get the answer, so yes. Then there's the fact that I wasn't able to respond in time.
@it_master, however, please stop deleting your old questions and starting all over, since you also wreck anyone elses previous effort to help you.
Alright, I'm really sorry for this.
(Also, can you go back to the Dominant color thread, it seems that the reshape didn't work and it still displayed all 8 colors. Not to mention that I'm stuck as to how do I exclude black from the array.)