https://github.com/bioinfotongli/feature_reg
Feature based registration for fluorescence microscopy images
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 (11.5%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Feature based registration for fluorescence microscopy images
Basic Info
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of BayraktarLab/feature_reg
Created about 4 years ago
· Last pushed about 4 years ago
https://github.com/BioinfoTongLI/feature_reg/blob/master/
[](https://zenodo.org/badge/latestdoi/405296414) # Feature based image registrator The image registrator uses `FAST` feature finder and `DAISY` feature descriptor for registration. It can align images of different size by padding them with 0 values. The image registrator can work with multichannel grayscale TIFFs and TIFFs with multiple z-planes. Images **MUST** have OME-TIFF XML in their description. The script does linear image registration. To avoid excessive memory consumption it extracts features from tiles instead of a whole image. ## Command line arguments **`-i`** paths to images you want to register separated by space. **`-r`** reference image id, e.g. if `-i 1.tif 2.tif 3.tif`, and you ref image is `1.tif`, then `-r 0` (starting from 0) **`-c`** reference channel name, e.g. DAPI. Enclose in double quotes if name consist of several words e.g. "Atto 490LS". **`-o`** directory to output registered image. **`-n`** multiprocessing: number of processes, default 1 **`--tile_size`** size of a side of a square tile used for registration, e.g. --tile_size 1000 = tile with dims 1000x1000px **`--num_pyr_lvl`** number of pyramid levels. Default 3, 0 - will not use pyramids **`--num_iter`** number of registration iterations per pyramid level. Default 3, cannot be less than 1 **`--stack`** add this flag if input is image stack instead of image list **`--estimate_only`** add this flag if you want to get only registration parameters and do not want to process images. **`--load_param`** specify path to csv file with registration parameters ## Example usage `python reg.py -i "/path/to/image1/img1.tif" "/path/to/image2/img2.tif" -o "/path/to/output/directory" -r 0 -c "Atto 490LS" -n 3` ## Dependencies `numpy pandas tifffile opencv-contrib-python scikit-learn scikit-image` `scikit-image` is necessary for affine transformation of big images that has more than 32000 pixels in one or two dimensions. The affine registration process in `scikit-image` requires usage of `float64` data, so you need amount of RAM at least 3 times the size of the picture (channel, z-plane).
Owner
- Name: Tong LI
- Login: BioinfoTongLI
- Kind: user
- Location: Hinxton
- Company: Wellcome Sanger Institute
- Repositories: 4
- Profile: https://github.com/BioinfoTongLI