Skip to content

Python code to quickly display an image with matplotlib. Meant for debugging image processing code.

License

Notifications You must be signed in to change notification settings

thearn/quick_imshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick_imshow

Python code to quickly display an image with a colorscale using matplotlib. Meant to help quickly debug image processing applications.

the qimshow(A) function provided here is a one-line alias for:

import pylab
pylab.imshow(A)
pylab.colorbar()
pylab.show()
quit()

I found myself writing this sequence of statements often enough for debugging image processing code (such as stl_tools) that I put this short script together.

Usage

from qimshow import qimshow

# test image
from scipy.misc import lena
A = lena()

qimshow(A) # displays image with color scale info, then quits

About

Python code to quickly display an image with matplotlib. Meant for debugging image processing code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages