来自艾伦细胞科学研究所的通用科学图像处理模块。
项目描述
AICS图像库
oldaicsimageio软件包旨在提供与CZI、OME-TIFF和PNG文件格式的简单接口。
支持级别
我们目前不对外部使用此代码提供支持,只是将其以原样发布给社区。它用于我们组织内部。我们无法提供任何支持保证。社区可以提交问题,但不应期望有积极的响应。
开发
有关开发代码的相关操作信息,请参阅BUILD.md。
使用
from oldaicsimageio import AICSImage
img = AICSImage("my_ome.tiff_or_tiff_or_czi")
# Get the image data as TCZYX
img.data
# Get channel information if you have an OME tiff
pixels = img.metadata.image().Pixels
channels = [pixels.Channel(i) for i in range(pixels.get_channel_count())]
channels = [{"name": c.get_Name(), "index": c.get_ID()} for c in channels]
# Note on channel id differences between oldaicsimageio.OMEXML and lxml.etree._Element:
# Under lxml.etree._Element, Channel Id looks like the following: `'Channel:0'`
# Where the single integer corresponds to the channel dimension index in image data.
# Under oldaicsimageio, the same Channel Id looks like the following: `'Channel:0:0'`
# Where it is the second of the two integers that corresponds to the channel dimension index in image data.
# Regardless of structure, these can both be parsed as integers with the following:
# `int(channel_id.split(":")[-1])`
项目详情
关闭
oldaicsimageio-0.6.6.tar.gz的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | be6727931f790d8c7d5cd055cf1e5713d134bf8b6c8da19d4beb7940ac28699b |
|
MD5 | 5b73f49a1e441c0d7f840e01a5252919 |
|
BLAKE2b-256 | 101db34d7e5b212aaacfe658dd74258fa04e4a6f481909f3c53b219032ba511d |
关闭
oldaicsimageio-0.6.6-py2.py3-none-any.whl的哈希值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 17d2c7e1b0f8d4e8c496ff35f88a262d44b99fa4b4dcfa402ce0169f430fa031 |
|
MD5 | 4d43a934d7ba644e2d9cb5d2adab7881 |
|
BLAKE2b-256 | 37b1cdb6da49f17f230d128af8ca82aa2c36ec3b17f840ddb6e0efd62e87a7b8 |