GithubHelp home page GithubHelp logo

hfawaz / aime19 Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 1.5 MB

Automatic alignment of surgical videos using kinematic data

Home Page: https://germain-forestier.info/src/aime2019/

License: GNU General Public License v3.0

Shell 0.66% Python 99.34%
alignment dynamic-time-warping multivariate-timeseries surgical-robots time-series time-series-analysis video-sync

aime19's Introduction

Automatic alignment of surgical videos using kinematic data

This is the companion repository for our paper also available on ArXiv, titled "Automatic alignment of surgical videos using kinematic data". This paper has been accepted at the Conference on Artificial Intelligence in Medicine (AIME) 2019.

Approach

The following is an example on how a time series alignment is used to synchronize the videos by duplicating the gray-scale frames.

Video without alignment Video with alignment
unsynched synched

The following is an example of aligning coordinate X’s time series for subject F, when performing three trials of the suturing surgical task.

Time series without alignment Time series with alignment
unsynched synched

Data

You will need the JIGSAWS: The JHU-ISI Gesture and Skill Assessment Working Set to re-run the experiments of the paper.

Suturing Knot-Tying Needle-Passing
st kt np

Prerequisites

To run the code you will also need to download seperatly and install the following dependencies (the full list can be found here):

Code

We have three surgical tasks in JIGSAWS.

Suturing
Knot_Tying
Needle_Passing

Before running the code, you might need to generate the Cython files using the following command:

cd src
./build-cython.sh

To align multiple videos for the Suturing task using the NLTS algorithm, you can run:

python3 main.py Suturing align_videos

To aligne only two videos for the Suturing task using the classic DTW algorithm, you can run:

python3 main.py Suturing align_2_videos

Reference

If you re-use this work, please cite:

@InProceedings{IsmailFawaz2019automatic,
  Title                    = {Automatic alignment of surgical videos using kinematic data},
  Author                   = {Ismail Fawaz, Hassan and Forestier, Germain and Weber, Jonathan and Petitjean, François and Idoumghar, Lhassane and Muller, Pierre-Alain},
  booktitle                = {Artificial Intelligence in Medicine},
  Year                     = {2019},
  pages                    = {104--113}
}

aime19's People

Contributors

dependabot[bot] avatar hfawaz avatar jjmweber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.