No project description provided
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-1.0.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for FISHcreation-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e5ce9a31825ce5af391ec8d370eba7895f7f9f06802546303e2288959c3abd |
|
MD5 | c21a8fdc8f2162164faec4c38940052d |
|
BLAKE2b-256 | 0d6ff39980c39adf269f4a4383d79e6a8e75ccd98bad079e4af4fa2b762a933b |