Code Monkey home page Code Monkey logo

mpm's Introduction

MPM: Motion and Position Map

Open in the Google Colab

Open In Colab

Requirements

  • Python3.6
  • PyTorch
  • OpenCV
  • Hydra (hydra-core)

Genarate sample MPMs

Arguments

You can set up input path/output path/parameters from config/mpm_generator.yaml

Example

$ python3 mpm_genarator.py

Train MPMs

Preparation

Please prepare your data as follows

current dir
./data
    ├── train_imgs
    │   ├── sequenceA                      # Arbitrary sequence name
    │   │   ├── 0000.png                   # Frame index with '0' characters padded to the left
    │   │   ├── 0001.png
    │   │   ├── :
    │   │   └── number of frames -1.png
    │   └── sequenceB, C, D, ...           # In case of using 2 or more sequences
    │       ├── 0000.png
    │       ├── 0001.png
    │       ├── :
    │       └── number of frames -1.png
    ├── train_mpms
    │   ├── sequenceA                      # Sequence name on train_imgs/*
    │   │   ├── n                          # Arbitrary frame-interval of MPM with '0' characters padded to the left
    │   │   │   ├── 0000.npy               # n/0000.npy is MPM between "frame 0" and "frame 0 + n"
    │   │   │   ├── 0001.npy
    │   │   │   ├── :
    │   │   │   └── number of frames -1 -n.npy
    │   │   └── m                          # In case of using 2 or more frame-intervals of MPM
    │   │       ├── 0000.npy               # m/0000.npy is MPM between "frame 0" and "frame 0 + m"
    │   │       ├── 0001.npy
    │   │       ├── :
    │   │       └── number of frames -1 -m.npy
    │   └── sequenceB, C, D, ...
    │               (Same structure of train_mpms/sequenceA/*)
    ├── eval_imgs
    │       (Same structure of train_imgs. Without eval_img, part of train_img is used for evaluation)
    └── eval_mpms
            (Same structure of train_mpms)

Arguments

You can set up input path/output path/parameters from config/mpm_train.yaml

Example

$ python3 mpm_train.py

Track cells

coming soon

Citation

If you find the code useful for your research, please cite:

@inproceedings{Hayashida2020MPM,
  author = {Hayashida, Junya and Nishimura, Kazuya and Bise, Ryoma}
  title = {MPM: Joint Representation of Motion and Position Map for Cell Tracking},
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year = {2020}
}

mpm's People

Contributors

junyahayashida avatar mberkay0 avatar junya-hayashida avatar naivete5656 avatar

Stargazers

 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.