Get the dominant colors from image files to create a palette. (ImGui based)
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.
bin/data/images/. Or drag files into the app window. ImGui based. Grid preview and folder browser.Dependencies
ofxSurfingImGui ofxColorQuantizer / FORK ofxOpenCv / _OF Core_ 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 demo that ships with Cinder. Thanks!
License
MIT License.Get this addon
Latest release
v0.2
published 3y ago
Added color picker magnifier. Mouse wheel to tweak zoom depth. Added quantization process threaded. Non-blocking draw.
ofxAddons