A brief description of your package
Project description
FISHcreation
Overview
FISHcreation is a Python library designed for image processing and analysis, specifically tailored for FISH (Fluorescence In Situ Hybridization) images. The library provides a range of functionalities, from preprocessing TIFF images to merging bounding boxes based on overlap criteria.
Features
- Preprocessing: Functions for reading TIFF images and normalizing them. (preprocess.py)
- Bounding Boxes: Functions to determine if two bounding boxes should be merged and to merge bounding boxes for a given label. (process_boxes.py)
- Signal Generation: Functions to create Gaussian signals and apply them to image patches. (signals.py)
- Utilities: Functions to create datasets from bounding boxes. (utils.py)
Installation
To install the library, you can clone the repository and install the required packages.
git clone https://github.com/SimonBon/FISHcreation.git
cd FISHcreation
pip install -r requirements.txt
or
pip install FISHcreation
Preprocessing:
from FISHcreation.src import preprocess
image = preprocess.get_cell_background("path/to/image.tiff", normalize=True)
Create FISH images:
fish_patch, boxes, labels = create_FISH(rgb_patch, mask_to_patch, num_red=2, num_green=8)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FISHcreation-0.5.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for FISHcreation-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac551e32748c03f7e8de93be7447d3d90f7fb510de367a1b9743a2eb14dc550 |
|
MD5 | be92c1edc873291e278d8fff7ef93570 |
|
BLAKE2b-256 | 9da4d3b6db0afc1d98e99c6e9e09b9b49f7f69a71e443e3211afae7933e8e2b4 |