Skip to content

Extract a color palette from an image using the K-means algorithm. Sort colors by chroma values, Hue, Saturation or Brightness

Notifications You must be signed in to change notification settings

moebiussurfing/ofxColorQuantizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[MODIFIED FORK]

Originally from mantissa/ofxColorQuantizer

I recommend to check this helper too:
https://github.com/moebiussurfing/ofxColorQuantizerHelper

CHANGELOG

  • Added threading workflow

Alt text

Some code copied from the stc user fork: https://github.com/stc/ofxColorQuantizer/ This example can get colors weighted based on their areas, their order is based on their chroma values.


ofxColorQuantizer

Extract a color palette from an image using the K-means algorithm.

Based on the ocvColorQuantize demo that ships with Cinder:
https://github.com/cinder/Cinder-OpenCV/blob/master/samples/ocvColorQuantize

This add-on uses ofxOpenCv.

by Jeremy Rotsztain

http://www.mantissa.ca

About

Extract a color palette from an image using the K-means algorithm. Sort colors by chroma values, Hue, Saturation or Brightness

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 99.8%
  • Makefile 0.2%