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.
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.
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.
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.
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5016202c0eee18c0097fe20404d39bc45faa3916ba4189508ca6595f95db3b37
|
|
| MD5 |
f354c6cd95273cb5e833aefb9e749deb
|
|
| BLAKE2b-256 |
7b14ac05ba1e9510a0bda62f34c15b03eccc28a2f4608eb9ed6b47123542bf94
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_atlas_cci-1.0.0.tar.gz -
Subject digest:
5016202c0eee18c0097fe20404d39bc45faa3916ba4189508ca6595f95db3b37 - Sigstore transparency entry: 2234793720
- Sigstore integration time:
-
Permalink:
CCI-GU-Sweden/napari-atlas-cci@d926a51c959cfac45680ec4ef8ace62e02537ef2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CCI-GU-Sweden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d926a51c959cfac45680ec4ef8ace62e02537ef2 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file napari_atlas_cci-1.0.0-py3-none-any.whl.
File metadata
- Download URL: napari_atlas_cci-1.0.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76ca6e1c9144b2a54dd9df25f603f0220d59d189cc2883620569a7d921c08293
|
|
| MD5 |
29ede4bb546fb6ffa86b25859ad3b050
|
|
| BLAKE2b-256 |
8552d0ceb403823f365c7d158643e7623cafbe1489fdd0993fc47225f8c0a01d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_atlas_cci-1.0.0-py3-none-any.whl -
Subject digest:
76ca6e1c9144b2a54dd9df25f603f0220d59d189cc2883620569a7d921c08293 - Sigstore transparency entry: 2234794218
- Sigstore integration time:
-
Permalink:
CCI-GU-Sweden/napari-atlas-cci@d926a51c959cfac45680ec4ef8ace62e02537ef2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CCI-GU-Sweden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d926a51c959cfac45680ec4ef8ace62e02537ef2 -
Trigger Event:
workflow_run
-
Statement type: