Metadata-Version: 2.1
Name: tirf_ob
Version: 0.1.6
Summary: Croping tool for TIRF images
Home-page: UNKNOWN
Author: Robert Kiewisz
Author-email: robert.kiewisz@gmail.com
License: GNU General Public License v3
Keywords: tirf_ob
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.8
Description-Content-Type: text/x-rst

================================
TIRF Object Cropping [tirf_ob]
================================

.. image:: https://img.shields.io/github/v/release/RRobert92/tirf_ob
        :target: https://img.shields.io/github/v/release/RRobert92/tirf_ob


Python package for cropping images based on input coordinates.


============
Installation
============


Stable release
--------------

To install Semantic_Label_Creator, run this command in your terminal:

.. code-block:: console

    $ pip install tirf_ob

This is the preferred method to install tirf_ob , as it will always install the most recent stable release.

From sources
------------

The sources for tirf_ob can be downloaded from the `Github repo`_.

You can either clone the public repository:

.. code-block:: console

    $ git clone git://github.com/RRobert92/tirf_ob
    $ python setup.py install

or install is with pip:

.. code-block:: console

    $ pip install tirf_ob


.. _Github repo: https://github.com/RRobert92/tirf_ob
.. _tarball: https://github.com/RRobert92/tirf_ob/tarball/master

=====
Usage
=====

To use tirf_ob with terminal::

    crop_tirf -dir_img C:/... -dir_csv C:/... -o C:/.../output -m 256

 string [-dir_img] Directory of the image that should be cropped.
    [-default] None
 string [-dir_csv] Directory of the .csv file with coordinates.
    [-default] None
 string [-o]   Output directory to the folder where all of cropped image is stored.
    [-default] None
 int    [-m]  Size of corpping area in pixels.
    [-default] 256


