GithubHelp home page GithubHelp logo

scienxlab / unmap Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 2.0 15.56 MB

Unmap data from a pseudocolor image, with or without knowing the colormap.

Home Page: https://scienxlab.org/unmap

License: Apache License 2.0

Python 100.00%
plotting python recovering-data reproducible-research reproducible-science

unmap's People

Contributors

kwinkunks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

amoodie

unmap's Issues

Try DBSCAN instead of k-means

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)

Update README

Now sometimes works without knowledge of color map.

Add something on similar tools/work.

Add type hints

Maybe no need to go full MyPy, but some hints would add to the docs.

Try CIEDE colour distance

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.

Explore Laplacian eigenmaps for colourmap inference step

Allow log scale

Allow expression of log scale for the colourbar, along with vrange

Add CLI

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.