Code Monkey home page Code Monkey logo

pathflow-mixmatch's Introduction

PathFlow-MixMatch

Improved giga-pixel WSI registration through automated segment-based registration. Proof-of-concept pipeline, would love your contributions!

Currently under review and additional validation, Biorxiv: https://www.biorxiv.org/content/10.1101/2020.03.22.002402v1

UPDATE: We are in the process of updating this repository with the necessary level of documentation and adding a Wiki page, stay tuned!

This package can be installed for Python 3.6+ using the following command:

pip install pathflow_mixmatch

Our latest package build can be installed using:

pip install git+https://github.com/jlevy44/PathFlow-MixMatch.git   

Minimal working example:

pathflow-mixmatch register_images --im1 A.png --im2 B.png --fix_rotation False --output_dir output_registered_images/ --gpu_device 0 --transform_type similarity --lr 0.01 --iterations 1000 --min_object_size 50000

To run without the segment based analysis, if images have black background (eg. using HistoQC) and training on the CPU:

pathflow-mixmatch register_images --im1 A.png --im2 B.png --fix_rotation False --output_dir output_registered_images/ --gpu_device -1 --transform_type similarity --lr 0.01 --iterations 1000 --min_object_size 50000 --no_segment_analysis True --black_background True

See https://airlab.readthedocs.io/ for further description of available transformations and loss functions.

Currently available loss functions:

  • mse
  • ncc
  • lcc
  • mi
  • mgf
  • ssim

Currently available transformations:

  • similarity
  • affine
  • rigid

pathflow-mixmatch's People

Contributors

jlevy44 avatar sumanthratna avatar dregula avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.