scienxlab / unmap Goto Github PK
View Code? Open in Web Editor NEWUnmap data from a pseudocolor image, with or without knowing the colormap.
Home Page: https://scienxlab.org/unmap
License: Apache License 2.0
Unmap data from a pseudocolor image, with or without knowing the colormap.
Home Page: https://scienxlab.org/unmap
License: Apache License 2.0
Poco, Mayhua & Heer 2018 use DBSCAN. Seems like it could be slow. Not sure can parameterize it for the general case either (easier for the coloubar only)
Now sometimes works without knowledge of color map.
Add something on similar tools/work.
Maybe no need to go full MyPy, but some hints would add to the docs.
Instead of Euclidean distance in RGB, try other metrics, esp CIEDE2000 as used in Poco, Mayhua & Heer (2018).
They also use pixel patches around target pixels as a way to smooth the colours a bit. Could find targets based on clustering to do this.
Instead of trying to sparsify the graph of colours, possibly this dimensionality reduction step will work.
This paper uses Laplacian eigenmaps: https://ieeexplore.ieee.org/document/9395231 (GitHub: https://github.com/yuanlinping/deep_colormap_extraction)
They are following the recipe in here: https://onlinelibrary.wiley.com/doi/abs/10.1111/cgf.12567
Some Python resources on the topic:
Allow expression of log scale for the colourbar, along with vrange
Inline docs have some TODO etc, eg https://github.com/scienxlab/unmap/blob/main/unmap/unmap.py#L252
Could also add defaults and either type hints or explicitly mention in args/returns.
Should be able to pass an image file (or URI for one) on the command line. The result should be a CSV file of the data.
E.g.
unmap --crop 115,72,690,647 --cmap jet --output data.csv image.png
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.