Skip to content

jperryhouts/unmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

 
 
 

Languages