Metadata-Version: 2.1
Name: tiftool
Version: 0.1.9
Summary: tiftool
Home-page: https://github.com/SteveJayH/tiftool
Author: Seungjae
Author-email: jay0118@yonsei.ac.kr
License: UNKNOWN
Download-URL: https://api.github.com/repos/SteveJayH/tiftool/tarball
Keywords: tiftool,tiff,microscopy
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: tifffile
Requires-Dist: Pillow
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: torch

<div align="center"><img src="https://github.com/SteveJayH/tiftool/blob/master/images/bannertiftoo.png" height="150px"/></div>

<h2 align="center">tiftool: A Python package for Microscopy tif images</h2>

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

```python
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](https://github.com/SteveJayH/tiftool/) for more details.  (**Not constructed**)

## Issues & Contribution

I appreciate for all [issues](https://github.com/SteveJayH/tiftool/issues) and contributions. You can use 'issues' tab, 'Pull request' tab, or [e-mail](mailto:jay0118@yonsei.ac.kr) 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.


