seaborn-image: image data visualization and processing like seaborrn using matplotlib, scipy and scikit-image
Project description
seaborn-image: image data visualization
Seaborn-like image data visualization using matplotlib, scikit-image and scipy.
Description
Seaborn-image is a seaborn like python image visualization and processing library based on matplotlib, scipy and scikit-image.
The aim of seaborn-image is to provide a high-level API to process and plot attractive images quickly and effectively.
Installation
pip install seaborn-image
Usage
Simple usage
import seaborn_image as isns
"""Plot image"""
isns.imgplot(data)
"""Plot image with scalebar"""
isns.imgplot(data, dx=0.01, units="um")
"""Add colorbar label"""
isns.imgplot(data, dx=0.01, units="um", cbar_label="Height (nm)")
Plot image with a histogram
import seaborn_image as isns
isns.imghist(data, dx=150, units="nm", cbar_label="Height (nm)", cmap="ice")
Set context like seaborn
import seaborn_image as isns
isns.set_context("notebook") # Other options include paper, talk, presentation, poster
Apply image filters (from scipy and skimage) and plot
import seaborn_image as isns
isns.filterplot(data, filter="gaussian", sigma=5, cbar_label="Height (nm)")
Documentation
Check out the docs here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seaborn-image-0.3.0.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for seaborn_image-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce594afd1d173f51972347d1d970ffcda7b98e2a22c8a9be1da87dccf1f4796e |
|
MD5 | 3f27129a4b2ea0c59e234f81eea213c4 |
|
BLAKE2b-256 | c98f225f275a5aae4f3ab4d47a4cef3860795fc2c3523a2695f815559a640b42 |