Utility functions for diffusion


source

plot_grid

 plot_grid (scheds, rows=1, width=256, height=256, titles=None)

Displays an array of images in a nice grid, or single row.


source

image_grid

 image_grid (images, rows=1, width=256, height=256, title=None)

Displays an array of images in a grid with the given number of rows.


source

show_image

 show_image (image, scale=0.5, plot=True)

Displays the given image resized based on scale.