Interaction box imageΒΆ

Demonstrate interaction box on image layer

interaction box image
from skimage import data
import numpy as np
import napari
from napari.utils.transforms import Affine

viewer = napari.view_image(data.astronaut(), rgb=True)
viewer.layers.selection.active.mode = 'transform'

if __name__ == '__main__':
    napari.run()

Gallery generated by Sphinx-Gallery