Skip to content

v1.19.0

Compare
Choose a tag to compare
@hanjinliu hanjinliu released this 04 Aug 11:13
· 635 commits to main since this release

In this release I implemented a lot of new features concerned to napari viewer. Lots of new widgets and key bindings. You can find them in the "Functions" menu in the menu bar.

New Features in Viewer

  • Text editor widget for Shapes and Points layers. You can edit texts of selected shapes/points easily.
  • Parameter sweeping widget for most of the filtering functions, thresholding and labeling.
  • Show image's info by Alt+ right click.
  • You can directly label an image in napari viewer (change img.labels in place).
  • Text layer is available.
  • Rectangle editor is available. You can set rectangle's edge lengths with pixels.
  • Call regionprops in viewer and add the result directly to the Labels layer's properties.
  • add_surface function to convert 3D images into Surface layers.
  • You can call __getitem__ in function handler using input like ["y=10:40"].
  • You can move shapes with arrow keys → ↑ ← ↓.
  • When a Shapes or Points layer is selected, you can focus on the previous/next object by pressing [ or ].
  • Cropping bug is fixed when rectangle is larger than images.

Others

  • You can add images from the disk directly by ip.gui.add(path).
  • Name ip is added in the global namespace by default inside napari's console if it is started from start.py.
  • LazyImgArray.drift_correction's graph construction is much faster now by moving variable shift into the local warp function.
  • threshold's argument is changed: dimsalong, for compatibility with other functions.
  • local_dft, local_power_spectra for fast up-sampling Fourier transformation.
  • opening function in Label.