Comments (2)
As a reference, here are some example of how the colours look like:
https://nextjournal.com/lazarus/extracting-dominant-colours-from-pictures
I will take a look at SchemeTools later (it's also clustering ). Ahh, is the same thing. Good to know that this already there.
Nice James Bond collections :D
from colorschemes.jl.
Hi Lazaro! Yes, that's a nice feature!
Some time ago, ColorSchemes.jl was split into two, prompted by the Plots folk: a barebones list of palettes (ColorSchemes.jl), and the various functions for building and modifying images - which eventually ended up in a separate repo, ColorSchemeTools.jl.
It would be interesting to compare the performance and results of your function and the one there : (https://github.com/JuliaGraphics/ColorSchemeTools.jl/blob/51b617c40ae03911e22bcb100b72a3e956e3844f/src/ColorSchemeTools.jl#L55).
I remember having to experiment with the options to get a palette which looks to my eyes a faithful representation of the image - I think clustering is a bit random?
I used to make views of movies with this function: here's the James Bond collection from a few years ago: https://imgur.com/a/AaZMV.
from colorschemes.jl.
Related Issues (20)
- OutOfMemoryError() HOT 1
- Release 3.20.0 HOT 1
- Release 3.21.0 HOT 1
- [docs] broken URL + spelling clarification HOT 2
- [RFC] Documenting colorschemes HOT 6
- Release v3.13.0 HOT 1
- Release 3.14.0 HOT 4
- Feature request: Include the web-safe color palette HOT 6
- Release 3.15 HOT 1
- Paul Tols colormaps HOT 3
- Release 3.16.0 HOT 1
- Release 3.17.0 HOT 5
- Release 3.17.1 HOT 1
- Request: new rangescale option for symmetric colorschemes HOT 2
- RdBu and BrBg from matplotlib? HOT 2
- optimized get(colorscheme, data) function HOT 1
- Release 3.18.0 HOT 3
- Release 3.19.0 HOT 1
- `firstindex` method error in color scheme HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorschemes.jl.