Substance Designer • Dominant Colors
Overview
Extract the Dominant Colors from an image with this Substance Designer (2018.3.x) node. Perfect for quickly generating color palettes or extracting colors to use in your graphs.
Modes
Palette
The default mode is used to visualize the input image’s dominant colors. The node also outputs each extracted colors individually so you can easily use them in a graph.
Graph
This mode graphs the input image’s dominant colors, weighted by importance.
Quantize
Reduce the amount of distinct colors of the input image.
How it Works
The node is based on the K-Means Clustering algorithm, which as the name suggests, is used to cluster similar data points together. Various Color Difference equations can be used in order to determine how similar the pixels are to each other.
You can find out more here :
https://en.wikipedia.org/wiki/K-means_clustering
https://en.wikipedia.org/wiki/Color_difference
Photo Credits