Skip to main content

A tool for converting IMS format images to TIFF format

Project description

imarisCooker

项目简介

imarisCooker是一个用于将Imaris软件的IMS格式文件转换为TIFF格式的工具。该工具支持多通道图像处理,可以选择性地转换特定通道的数据。

安装说明

pip install imaris-cooker

使用方法

命令行参数

# bash
imaris-cooker <file_path> [-save_path SAVE_PATH] [-specify_channel SPECIFY_CHANNEL]

Python

# python
import imaris_cooker
file_path = 'your .ims file path'
save_path = 'export .tiff file path'
specify_channel = [0,2] # specify channel index, None to extract all channel.
imaris_cooker.convert_ims_to_tiff(file_path,save_path,specify_channel)

参数说明:

  • file_path:必需参数,指定IMS文件的路径
  • -save_path:可选参数,指定TIFF文件的保存路径,默认为IMS文件所在目录下的tiff文件夹
  • -specify_channel:可选参数,指定需要转换的通道索引,多个通道用逗号分隔,例如:0,1,3 或 1,3

示例

# bash
# 转换所有通道
imaris-cooker D:\data\sample.ims

# 转换指定通道并指定保存路径
imaris-cooker D:\data\sample.ims -save_path D:\output -specify_channel 0,2
# python
import imaris_cooker

# 转换所有通道
imaris_cooker.convert_ims_to_tiff(r'D:\data\sample.ims')

# 转换指定通道并指定保存路径
imaris_cooker.convert_ims_to_tiff(r'D:\data\sample.ims',r'D:\data\out', [0, 2])

注意事项

  • 输入文件必须是.ims格式
  • 对于大型文件,转换过程可能需要较长时间

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

imaris_cooker-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imaris_cooker-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file imaris_cooker-0.1.1.tar.gz.

File metadata

  • Download URL: imaris_cooker-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for imaris_cooker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7aad7eec9fefcd73038805b779f289dd77e1fa835af1ae77cd911b44836dd664
MD5 e7ff1eeeb3c5c18b83f1f76fd86798f2
BLAKE2b-256 a3d5edcabe976e74bda7d30c005eb073e513d25a228c63fad7d4a3adf2eb8f73

See more details on using hashes here.

File details

Details for the file imaris_cooker-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: imaris_cooker-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for imaris_cooker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aecba3a6dcb020ebc466c9856e8778806525825d0958b30457453ecc295a7adf
MD5 3d30c15df4b1b324c344e16de57b1034
BLAKE2b-256 9fc0bbd9a6036fbf10dea264f0bc92e2ddaa67910a9521f2b6257d33109e8aff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page