Giter VIP home page Giter VIP logo

ssslsquared's Introduction

LGDV Phoniatric Division
Python3 GPL-3.0

(SSSL)²

This repository accompanies the paper Joint Segmentation and Sub-Pixel Localization in Structured Light Laryngoscopy. This is a joint work of the Chair of Visual Computing of the Friedrich-Alexander University of Erlangen-Nuremberg and the Phoniatric Division of the University Hospital Erlangen.

Video

Why (SSSL)²?

(SSSL)² := SSSLSSSL stands for Semantic Segmentation and Sub-Pixel Accurate Localization in Single-Shot Structured Light Laryngoscopy. Our approach estimates a semantic segmentation of the Vocal Folds and Glottal Gap while simultaneously predicting sub-pixel accurate laserpoint positions in an efficient manner. It is used on a per frame basis (single-shot) in an active reconstruction setting (structured light) in laryngeal endoscopy (laryngoscopy).

Dataset

The vocal fold segmentations were integrated into the original repository and can be found here on GitHub!

Prerequisites

Make sure that you have a Python version >=3.5 installed. A CUDA capable GPU is recommended, but not necessary. However, note that inference times are most definitely higher, and training a network from is not recommended.

Installation

We supply a environment.yaml inside this folder. You can use this to easily setup a conda environment using
conda env create -f environment.yml

Pretrained Models

The five trained U-Net models can be downloaded here.
If you want the other models as well, please contact me.
Uploading every model easily spends all of my available cloud space that I get from the university, lol.

Visualizing Results

Inference Viewer We supply a Viewer that you can use to visualize the predictions of the trained networks. You can use it via inference.py, with
A: Show Previous Frame
D: Show Next Frame
W: Toggle Predicted Keypoints (Green)
S: Toggle Ground-Truth Keypoints (Blue)
Scroll Mousewheel: Zoom In and Out
Click Mousewheel: Drag View.

Evaluating a Network

Can be done using evaluate.py.

Things to note

We are currently in the process of heavily refactoring this code. The most recent version can be found in the refactor branch. The Gaussian regression code can be found in models/LSQ.py. 👍

Quantitative Evaluation and Comparison

Precision ⬆️ F1-Score ⬆️ IoU ⬆️ DICE ⬆️ Inf. Speed (ms) ⬇️ FPS ⬆️
Baseline 0.64 0.69
U-LSTM[8] 0.70 ± 0.41 0.58 ± 0.32 0.52 ± 0.18 0.77 ± 0.08 65.57 ± 0.31 15
U-Net[18] 0.92 ± 0.08 0.88 ± 0.04 0.68 ± 0.08 0.88 ± 0.02 4.54 ± 0.03 220
Sharan[21] 0.17 ± 0.19 0.16 ± 0.17 5.97 ± 0.25 168
2.5D U-Net 0.90 ± 0.08 0.81 ± 0.05 0.65 ± 0.06 0.87 ± 0.02 1.08 ± 0.01 926

Citation

Please cite this paper, if this work helps you with your research:

@InProceedings{SegAndLocalize,
  author="TBD",
  title="TBD",
  booktitle="TBD",
  year="2023",
  pages="?",
  isbn="?"
}

A PDF of the Paper will be included in the assets/ Folder of this repository. However, you can also find it here (at a later point in time).

ssslsquared's People

Contributors

henningson avatar

Stargazers

Paul Bittner avatar Moritz Kappel avatar  avatar SÜHA BERK KUKUK avatar Huy Manh avatar  avatar  avatar Lukas Meyer avatar

Watchers

 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.