Method: Colordom::Image#kmeans
- Defined in:
- lib/colordom/image.rb
#kmeans(max_colors) ⇒ Array<Color>
Get dominant colors using k-means clustering.
|
|
# File 'lib/colordom/image.rb', line 22
|
Get dominant colors using k-means clustering.
|
|
# File 'lib/colordom/image.rb', line 22
|