https://github.com/moebiussurfing/ofxcolorquantizerhelper
Get the dominant colors from image files to create a palette. (ImGui based)
https://github.com/moebiussurfing/ofxcolorquantizerhelper
ofxaddon openframeworks openframeworks-addon
Last synced: 3 months ago
JSON representation
Get the dominant colors from image files to create a palette. (ImGui based)
- Host: GitHub
- URL: https://github.com/moebiussurfing/ofxcolorquantizerhelper
- Owner: moebiussurfing
- Created: 2019-08-25T19:47:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-06-05T22:23:03.000Z (about 1 year ago)
- Last Synced: 2025-06-23T18:51:32.604Z (12 months ago)
- Topics: ofxaddon, openframeworks, openframeworks-addon
- Language: C++
- Homepage:
- Size: 26.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
ofxColorQuantizerHelper
-----------------------
**openFrameworks** addon to get the dominant colors of a picture.
Helps the integration of the original **ofxColorQuantizer** coded by @**mantissa** into an OF app.
## Screenshots


## Overview
* Get a palette with the dominant colors of a picture.
* Set the desired number of colors.
* Threaded quantizer process.
* Magnifed color picker.
- Right Click to show.
- Ctrl + Mouse wheel to set zoom depth.
* Different sorting modes: by **Hue/Saturation/Brightness** or **% of appearance**.
* Put your images also into `bin/data/images/`.
* Or drag files into the app window.
* `ImGui` based. Grid preview and folder browser.
## Dependencies
* [ofxSurfingImGui](https://github.com/moebiussurfing/ofxSurfingImGui)
* [ofxColorQuantizer](https://github.com/moebiussurfing/ofxColorQuantizer) / FORK
* ofxOpenCv / _OF Core_
* [ofxColorGradient](https://github.com/moebiussurfing/ofxColorGradient) / _Only for the gradient example._
## Note
- TODO: Sometimes dragging files is not working on *Windows 10*, maybe because of something related to ownership or administration rights.
## Tested Systems
- **Windows10** / **VS2017** / **OF ~0.11+**
## Author
Addon by **@moebiusSurfing**
*(ManuMolina). 2020-2023.*
Original engine core code taken from **@mantissa**.
https://github.com/mantissa/ofxColorQuantizer
Also based on the [ocvColorQuantize](https://github.com/cinder/Cinder-OpenCV/blob/master/samples/ocvColorQuantize) demo that ships with Cinder.
Thanks!
## License
*MIT License.*