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
[4]:
f = isns.imghist(img, bins=250)
[5]:
f = isns.imghist(img, dx=15, units="nm", cmap="YlGnBu_r", cbar_label="Height (nm)")
[6]:
f = isns.imghist(img, orientation="h", cbar_label="Height (nm)")