Metadata-Version: 2.1
Name: mnfinder
Version: 0.1.3
Summary: A package for segmenting micronuclei in microscopy images
Project-URL: Homepage, https://github.com/hatch-lab/mnfinder
Author-email: Lucian DiPeso <ldipeso@uw.edu>
License-File: LICENSE.py
Keywords: U-Net,micronuclei,micronucleus,segmentation
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: csbdeep
Requires-Dist: docopt
Requires-Dist: numpy
Requires-Dist: opencv-contrib-python
Requires-Dist: pandas
Requires-Dist: scikit-image
Requires-Dist: stardist
Requires-Dist: tensorflow
Requires-Dist: tifffile
Requires-Dist: tqdm
Description-Content-Type: text/markdown

# MN UNet segmenter
A package for segmenting micronuclei in micrographs.

## Usage
````
from mnfinder import MNModel
import numpy as np
from tifffile import TiffFile

trained_model = MNModel.get_model('Combined')

image = TiffFile.imread('path/to/image.tiff').asarray()
nuclei_labels, mn_labels, mn_raw = trained_model.predict_field(image)
````