But what if i want to show a specific color ?
Maybe we can change traditional RGB color model to HSV color model
Here is a simple solution on StackOverflow
They give a detailed solution and demonstration
=> How can I convert an RGB image to grayscale but keep one color?
Other article shows demonstration
=> How to Count number Objects in an Image identify by Color in Matlab
Another thing is HSV color space
If we want to capture a specific color, you should know where it is on the hue plane
---------------------------------------------------------------------------------
A color map example coding by C (Link here)
沒有留言:
張貼留言