image - Color approximation -


let's suppose have regular rgb image. want approximate color of each individual pixel of our source image color out of small set of colors.

for example, tones of red should converted specific red out of set of colors, same goes green, blue, etc.

is there elegant way/algorithm achieve this?


Comments

Popular posts from this blog

objective c - Deep Linking for iOS Apps which are not installed yet? -

Java 8 + Maven Javadoc plugin: Error fetching URL -

java - Unable to publish my application to WAS 7.0.0.29 on RAD 7.5.5.5 iFix1 -