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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FISHcreation-1.0.tar.gz.
File metadata
- Download URL: FISHcreation-1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a3e3fb0793c252727289acf3fcf0ed47ad8e24e76c34f774d6c45d2d9d3998
|
|
| MD5 |
b4c1c84dd911e3c500f36953df72dbff
|
|
| BLAKE2b-256 |
6cc190d961d8c22f01dc243c2401b7dd4edf2244432480a5e7b96fdc1b06d7ec
|
File details
Details for the file FISHcreation-1.0-py3-none-any.whl.
File metadata
- Download URL: FISHcreation-1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2e5ce9a31825ce5af391ec8d370eba7895f7f9f06802546303e2288959c3abd
|
|
| MD5 |
c21a8fdc8f2162164faec4c38940052d
|
|
| BLAKE2b-256 |
0d6ff39980c39adf269f4a4383d79e6a8e75ccd98bad079e4af4fa2b762a933b
|