Extract metadata from microscopy images and provide mosaic information in feabas-ready format.
Project description
stitchmeta
Extract metadata from microscopy image tiles and write FEABAS-compatible coordinate files for stitching pipelines.
Installing stitchmeta
The preferred way of installing stitchmeta is using pip.
Installing the release version using pip
stitchmeta can be installed using pip to obtain the current release:
python -m pip install stitchmeta
Installation from source
Clone this repository and install from the local source tree:
git clone https://github.com/thomasisensee/stitchmeta.git
cd stitchmeta
python -m pip install .
Development installation
For development, it is recommended to use an editable install:
python -m pip install --editable .[tests]
Having done so, the test suite can be run using pytest:
python -m pytest
Quick start
Expected input layout:
dataset_root/
001/
tile_a.tif
tile_b.tif
002/
...
Run extraction:
stitchmeta extract \
-i dataset_root \
-o feabas_coords
The command writes one FEABAS text file per section (001.txt, 002.txt, ...).
Python API
from stitchmeta import extract
summary = extract(
input_root="dataset_root",
output_dir="feabas_coords",
reader_name="fibics_tiff",
invert_y=True,
error_policy="partial",
)
Extending to other datasets
Register a new reader class implementing the TileReader interface and use it
through reader_name in the API or CLI.
Acknowledgments
This repository was set up using the SSC Cookiecutter for Python Packages.
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 stitchmeta-0.1.0.tar.gz.
File metadata
- Download URL: stitchmeta-0.1.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eadd61ad1c2f188f14c656eca7bfdc38a2e27e64899ac2c4cf3123ab0337fb54
|
|
| MD5 |
e30563ae88074281c8e38e6ad443958a
|
|
| BLAKE2b-256 |
c161a6ed41db9f36e49e3f5982780bd7861cf6e702996049fb3c54a784f9e9be
|
Provenance
The following attestation bundles were made for stitchmeta-0.1.0.tar.gz:
Publisher:
release.yml on thomasisensee/stitchmeta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stitchmeta-0.1.0.tar.gz -
Subject digest:
eadd61ad1c2f188f14c656eca7bfdc38a2e27e64899ac2c4cf3123ab0337fb54 - Sigstore transparency entry: 1147550630
- Sigstore integration time:
-
Permalink:
thomasisensee/stitchmeta@f3cb6937245eddfef79ffa25e68049e0c071de6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thomasisensee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f3cb6937245eddfef79ffa25e68049e0c071de6f -
Trigger Event:
push
-
Statement type:
File details
Details for the file stitchmeta-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stitchmeta-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
492cb49e9e55af29581da106145a546557a5efe7a178d47af84c7cc1d4f1d4d1
|
|
| MD5 |
6b3ee535c9f3a73438603ef415f7c542
|
|
| BLAKE2b-256 |
2c0e3933c1a451e9dfc41281489540b027873110466c2de71a34f81c6539fbe4
|
Provenance
The following attestation bundles were made for stitchmeta-0.1.0-py3-none-any.whl:
Publisher:
release.yml on thomasisensee/stitchmeta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stitchmeta-0.1.0-py3-none-any.whl -
Subject digest:
492cb49e9e55af29581da106145a546557a5efe7a178d47af84c7cc1d4f1d4d1 - Sigstore transparency entry: 1147551031
- Sigstore integration time:
-
Permalink:
thomasisensee/stitchmeta@f3cb6937245eddfef79ffa25e68049e0c071de6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thomasisensee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f3cb6937245eddfef79ffa25e68049e0c071de6f -
Trigger Event:
push
-
Statement type: