Metadata-Version: 2.1
Name: em_add_scalebar
Version: 0.0.9
Summary: A package to add a scale bar to microscopy images
Home-page: https://git.mpi-cbg.de/scicomp/bioimage_team/tobias_em_app_scalebar
Author: Anthony Vega
Author-email: vega@extern.mpi-cbg.de
License: BSD
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: numpy ==1.23.5
Requires-Dist: scikit-image
Requires-Dist: matplotlib ==3.7.0
Requires-Dist: microfilm ==0.2.1
Requires-Dist: aicsimageio ==4.14.0
Requires-Dist: opencv-python
Requires-Dist: mrcfile
Requires-Dist: Gooey >=1.0.7
Requires-Dist: ncempy ==1.11.0

# Add Scalebar Python Package

Description: Python GUI to add scale bar (and other processing features) to images within a selected folder

# Installation
## 1. Download through PyPi
`$ python -m pip install em-add-scalebar`
## 2. Download through Git
`$git clone https://git.mpi-cbg.de/scicomp/bioimage_team/tobias_em_app_scalebar.git`

# Quickstart
**1.** After downloading the package, the user interface can be accessed by running

`python -m add_scalebar`

The following window should appear

<img src = "Images/UserInterface.png" width="500">

**2.** In the window, you can change the following parameters

    1. Input Location - Folder containing images to be processed

    2. Input File extension - Type of images to be processed. All other image types are ignored

    3. Output method - Where to save the images

        - Default Save in Subfolder in parent folder: All new files are saved in a folder at the top level named ImageWithScaleBar
        - Save in Subfolder: A subfolder named ImagesWithScaleBar is created for each folder containing images
        - Save in Same Folder: New images are saved in the same folder as original images 
    
    4. Output file extension - New file extension for saved images

    5. Convert images to 8 Bit

    6. Automatically adjust the contrast of each image

    7. Add Scale Bar to images
    
    8. The font color of the scale bar to be added



**3.** Press start to begin the process

Example resulting image

<img src = "Images/ImageExample.jpg" width="500">
