Imaris Convert
一个用于将图像转换为 Imaris 格式的 Python 工具包。
安装
pip install imaris-convert
使用方法
命令行使用
# 基本用法
imaris-convert input.tiff
# 指定输出目录
imaris-convert input.tiff -o /path/to/output/directory
Python API 使用
# 转换图像文件(.tiff)
from imaris_convert import tiff_to_imaris
tif_path = r'your_tiff_path'
tiff_to_imaris(tiff_path=tif_path)
# tiff_to_imaris(tiff_path=tif_path,out_path=out_path)
# 转换 np.ndarray 到 ims
from imaris_convert import numpy_to_imaris
import numpy as np
your_np_data = np.ones((100,100,100),dtype=np.uint16)
numpy_to_imaris(np_data=your_np_data,out_path='your_save_path')
依赖项
- Python >= 3.6
- numpy
- tifffile
- tqdm
许可证
MIT License
Metadata
Release files for imaris-convert 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imaris_convert-1.0.1.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imaris_convert-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 MB
Release files / imaris_convert-1.0.1.tar.gz
| Download URL | imaris_convert-1.0.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc9b0076875b699c4844df221e8ca4aa6ab9618d30d8b32d546c80f4076b9b30
|
|
BLAKE2b-256 checksum How to use checksums |
6b61abf5ef8e876744006922f639bbfa685b75e586b12526c64885b81c518b76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|
Release files / imaris_convert-1.0.1-py3-none-any.whl
| Download URL | imaris_convert-1.0.1-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e069022ecdfb79c497ba1e965ec174fe900645b3df4fb1e8ec1bc8654bce0bf
|
|
BLAKE2b-256 checksum How to use checksums |
bfb92ddbbc0be97b5f1710a12698840fb8cdc45293e33baad79adcce00348f10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|