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

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -