Visualize image distribution#

[1]:
import seaborn_image as isns

isns.set_context("notebook")
[2]:
img = isns.load_image("polymer")
[3]:
f = isns.imghist(img, describe=True)
No. of Obs. : 65536
Min. Value : -8.2457214
Max. Value : 43.714034999999996
Mean : 7.456410761947062
Variance : 92.02680396572863
Skewness : 0.47745180538933696
../_images/Tutorial_Image_Distribution_3_1.svg
[4]:
f = isns.imghist(img, bins=250)
../_images/Tutorial_Image_Distribution_4_0.svg
[5]:
f = isns.imghist(img, dx=15, units="nm", cmap="YlGnBu_r", cbar_label="Height (nm)")
../_images/Tutorial_Image_Distribution_5_0.svg
[6]:
f = isns.imghist(img, orientation="h", cbar_label="Height (nm)")
../_images/Tutorial_Image_Distribution_6_0.svg