Skip to main content

A plugin that allows napari to run atlas stitching and alignement tool

Project description

napari atlas cci

Napari plugin to give a GUI interface to the cci atlas tool.

This is a wrapper around the cci atlas package.

Installation

A standalone version of napari is available at napari.org, and the plugin is available on the napari hub. Just follow the installation instruction from napari. You can install the plugin from the plugin manager.

It is also possible to install the plugin from source code or from pip with pip install napari-atlas-cci. In this case, be sure to isolate the installation in a dedicated environment with napari.

How to use

Browse and load an atlas project. An atlas project is composed of a series of S_ folder, each containing 1 or multiple tiff images.

Initial status

2D stitching

For 2D stitching, it is possible to process one, multiple or all S_ folder. This will stitch images in a S_ folder in one tiff image. The number of images being processes at the same time is dependent to the number of core in your PC. Be carefull on RAM consumption.

On going stitching

After processing, you can select one S_ folder and display the image in Napari.

Z alignement

It is only possible to process to the z-alignement if all S_ folder has been stitched. The alignement is required to run first a on downsampled image. This downsampling factor can be control in the Options.

Once the initial alignement is completed, a preview image is display. Please confirm that the alignement is correct through the z volume.

Initial align preview

It is possible to add correction in the alignement by clicking the "Enter Correction" button. It will create a couple of point layers, called "Fixed points" and "Moving points".

Move to a plane before the shift, and identify one striking feature with the Fixed points layer. Then move one Z-slice up, select the "Moving points" layer and identify the same feature. You can repeat as many time as necessary, however all points need to be paired.

Once done, click on the "Apply correction" button. It will reprocess the downsample image, then display the corrected zstack. Check that the correction happen.

WIP: Small video Youtube to display alignement correction.

Once the data is aligned, it can be processed for the "Final Z Alignement". This step can be time consuming based on the size of the dataset, so please, be patient.

Final alignment

Export and upload

All intermediate files are stored in the root folder of the Atlas project. Individual planes are stored as tiff images, will the alignement is stored as a pickle pandas table. The z aligned files (both the downsample and the final ones) are saved in a ome-zarr format.

For easier data manipulation, it is possible to export the final alignement as a czi file. The other option is to upload the data on Webknossos, which is great for both visualization and fine z-alignement. To do this upload, it is required to have a account on webknossos and to indicate your token for the upload.

Upload to webknossos

webknossos ulpoad success

Troubleshooting

WIP

Contributing

Contributions are very welcome. Tests can be run with [tox], please ensure the coverage at least stays the same before you submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_atlas_cci-1.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_atlas_cci-1.0.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file napari_atlas_cci-1.0.0.tar.gz.

File metadata

  • Download URL: napari_atlas_cci-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for napari_atlas_cci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5016202c0eee18c0097fe20404d39bc45faa3916ba4189508ca6595f95db3b37
MD5 f354c6cd95273cb5e833aefb9e749deb
BLAKE2b-256 7b14ac05ba1e9510a0bda62f34c15b03eccc28a2f4608eb9ed6b47123542bf94

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_atlas_cci-1.0.0.tar.gz:

Publisher: release.yml on CCI-GU-Sweden/napari-atlas-cci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napari_atlas_cci-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_atlas_cci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76ca6e1c9144b2a54dd9df25f603f0220d59d189cc2883620569a7d921c08293
MD5 29ede4bb546fb6ffa86b25859ad3b050
BLAKE2b-256 8552d0ceb403823f365c7d158643e7623cafbe1489fdd0993fc47225f8c0a01d

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_atlas_cci-1.0.0-py3-none-any.whl:

Publisher: release.yml on CCI-GU-Sweden/napari-atlas-cci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page