shampoo.save_scaled_image(image, filename, margin=100, blobs=None, min=0.01, max=99.99)[source] [edit on github]

Save an image to png.


image : ndarray

Image to save

filename : str

Path to where to save the png file

blobs : list or ndarray or None

(x, y, z) positions

margin :

min : float

Colormap scaling minimum

max : float

Colormap scaling maximum