https://github.com/bioinfotongli/opt_flow_reg

Optical flow based registration for fluorescence microscopy images

https://github.com/bioinfotongli/opt_flow_reg

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.5%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Optical flow based registration for fluorescence microscopy images

Basic Info
  • Host: GitHub
  • Owner: BioinfoTongLI
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 52.7 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of BayraktarLab/opt_flow_reg
Created almost 4 years ago · Last pushed almost 4 years ago

https://github.com/BioinfoTongLI/opt_flow_reg/blob/master/

[![DOI](https://zenodo.org/badge/405296622.svg)](https://zenodo.org/badge/latestdoi/405296622)
## Optical flow based registration for immunofluorescence images

These scripts perform fine registration using warping. 
A map for warping is calculated using Farneback optical flow algorithm, by OpenCV.
Although images are MINMAX normalized during processing, optical flow algorithms expect images to have 
similar pixel intensities. 

Currently does not support z-stacks.

### Command line arguments

**`-i`**  path to image stack

**`-c`**  name of reference channel

**`-o`**  output directory

**`-n`**  multiprocessing: number of processes, default 1

####Optional

**`--tile_size`**  size of a square tile, default 1000, which corresponds to 1000x1000px tile

**`--overlap`**  overlap between tiles, default 100

**`--method`**  optical flow method: farneback, denselk, deepflow, rlof, pcaflow, default rlof

### Example usage

**`python opt_flow_reg.py -i /path/to/iamge/stack/out.tif -c "DAPI" -o /path/to/output/dir/ -n 3`**


### Dependencies
`numpy tifffile opencv-contrib-python dask`

Owner

  • Name: Tong LI
  • Login: BioinfoTongLI
  • Kind: user
  • Location: Hinxton
  • Company: Wellcome Sanger Institute

GitHub Events

Total
Last Year