tiftool
Project description
tiftool: A Python package for Microscopy tif images
The package for dealing tif stack image. Oriented for Microscopy image, offering useful processing. Under construction, I'll make description site and more functions, maybe for 2020.07.
Installation
pip
tiftool can installed via pip. Simply run this code by terminal.
pip install tiftool
Latest version is 0.1.5. If you have older version of tiftool, run this code to update. I strongly recommend to use latest version.
pip install tiftool -U
Running tiftool
Basic things using stack object
import tiftool.stack as st
larva = st.Stack().open("larva.tif").to_tensor() # Change to torch.tensor, default data is numpy array.
raw_data = larva._data # You can access the raw data inside Stack() object.
print(raw_data.size()) # torch.size([1098, 890, 64]) (x, y, z)
MIP = a.mip_3d() # Return Maximum Intensity Project for x, y, z axis
MIP.show() # Show image using matplotlib
MIP.write("mip_larva.tif") # write at your input path
See tiftool docs for more details. (Not constructed)
Issues & Contribution
I appreciate for all issues and contributions. You can use 'issues' tab, 'Pull request' tab, or e-mail me! I want to develop this package as a powerful toolkit for microscopy data researcher and if you mind, contribute with me! :smiley:
LICENSE
This package follows 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 Distributions
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 tiftool-0.1.8-py3-none-any.whl.
File metadata
- Download URL: tiftool-0.1.8-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e537d11516daa52f267500b415333ec84a57f5db52475e4aeb132df8956e82cb
|
|
| MD5 |
66fce60f581bb163cecf1e853c1aac7b
|
|
| BLAKE2b-256 |
bf2a4897f6065e2a3c9897ef789a33f5f005ea5aacb569f95954f76fc4cf1515
|