A tool to extract, analyze, and report on metadata from TIFF, QPTIFF, and CZI files.
Project description
Image Metadata Recorder
A specialized tool for biomedical researchers to extract, analyze, and document metadata from various microscopy image formats. This package is designed to support research workflows by providing detailed insights into image acquisition parameters and experimental conditions.
Features
-
Multi-format Support
- TIFF, QPTIFF, and CZI (Carl Zeiss Image) file processing
- Extensible architecture for additional formats
-
Comprehensive Metadata Extraction
- Image dimensions and properties
- Channel information and configurations
- Acquisition parameters
- Instrument settings
- Custom metadata fields
-
Reporting Capabilities
- Markdown report generation
- Structured data output in JSON format
Installation
Prerequisites
- Python 3.8 or higher
- pip (Python package installer)
Basic Installation
pip install image-metadata-recorder
Development Installation
git clone https://github.com/saptarshichakrabarti/image-metadata-recorder.git
cd image-metadata-recorder
pip install -e .
Usage
Command Line Interface
The tool can be used directly from the command line:
# Process all supported files in the current directory
record_image_metadata .
Output Files
For each processed image, the tool generates:
*_raw_metadata.json: Complete raw metadata in JSON format*_processed_metadata.json: Cleaned and promoted metadata in JSON format*_key_paths.txt: List of all metadata paths (for structure analysis)*_report.md: Human-readable Markdown report
Example Workflow
- Place your image files in a directory
- Run the tool:
record_image_metadata . - Review the generated reports and metadata files
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- aicspylibczi for CZI file support
- tifffile for TIFF processing
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
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 image_metadata_recorder-1.3.0.tar.gz.
File metadata
- Download URL: image_metadata_recorder-1.3.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372ecbdf10c8329d7a4a595c265c685052c1f846715a70ff5447bb13dca6308d
|
|
| MD5 |
cb8cb9a5251a7d2299b4f8921ef5fad8
|
|
| BLAKE2b-256 |
200d469c1e8720d40db6851ab1f7dcf41e7414324123d6a18d9e3500375916fd
|
File details
Details for the file image_metadata_recorder-1.3.0-py3-none-any.whl.
File metadata
- Download URL: image_metadata_recorder-1.3.0-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d9e71daf25ff6630ac0ee85f1720de861cdeb876280c188bf7d0512092ab1f
|
|
| MD5 |
37e115bce498420e3552fe389204cb9b
|
|
| BLAKE2b-256 |
76c725cea3c7e1b2542eb70510cb8b3aef7ba2836bcb7d6381d5a595e2c65f0f
|