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.
Documentation
Check out the docs here
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)")
Check out the more information 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.2.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for seaborn_image-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5f694b9c5279488c89fe9ac0922e0f1d2870bfbcff3af5574a10f0af9fb9ce |
|
MD5 | 99e2f5f25bd7d26549bcdcd5eba779f3 |
|
BLAKE2b-256 | 0ad245d5c248581f6f2894c6bb49347f99d08a491d9e4ba9c4de10695916a785 |