A tool for converting images to Imaris format
Project description
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
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
imaris_convert-1.0.1.tar.gz
(1.5 MB
view details)
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 imaris_convert-1.0.1.tar.gz.
File metadata
- Download URL: imaris_convert-1.0.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc9b0076875b699c4844df221e8ca4aa6ab9618d30d8b32d546c80f4076b9b30
|
|
| MD5 |
ed4063e0489bb1805d54e1f387b4ac05
|
|
| BLAKE2b-256 |
6b61abf5ef8e876744006922f639bbfa685b75e586b12526c64885b81c518b76
|
File details
Details for the file imaris_convert-1.0.1-py3-none-any.whl.
File metadata
- Download URL: imaris_convert-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e069022ecdfb79c497ba1e965ec174fe900645b3df4fb1e8ec1bc8654bce0bf
|
|
| MD5 |
2029d78ddf8afa76ed286fadef766dc2
|
|
| BLAKE2b-256 |
bfb92ddbbc0be97b5f1710a12698840fb8cdc45293e33baad79adcce00348f10
|