The switch
function allows you to visualize multiple channels and blending them in and out.
from skimage import data
from skimage.filters import gaussian
from skimage.measure import label
import stackview
nuclei = data.cells3d()[:,1]
blurred = gaussian(nuclei, sigma=2)
binary = blurred > 0.15
labels = label(binary)
stackview.switch([nuclei, blurred, binary, labels],
toggleable=True)
VBox(children=(HBox(children=(VBox(children=(ImageWidget(height=256, width=256),)),)), HBox(children=(ToggleBu…