Skip to content

jperryhouts/unmap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

UNMAP

Extracts arrays of values from colormapped figures.

Usage

Interactive GUI

usage: unmap [-h] [-o OUTFILE] infile

positional arguments:
  infile                Image to process.

optional arguments:
  -h, --help            show this help message and exit
  -o, --outfile OUTFILE Write xyz values to file.

* Select ends of color bar with mouse

From Python

import unmap as um
img = um.plt.imread('figure.png')
arr = um.unmap(img)

Dependencies

* Python (>= 2.7)
* Matplotlib
* Numpy

Unmapped figure example Adapted from Gao et al., Crust and Lithosphere Structure of the Northwestern U.S. with Ambient Noise Tomography.

About

Extract data from color-mapped images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages