Skip to content

(END-VO) Endoscope Localization and Dense Surgical Scene Reconstruction for Stereo Endoscopy by Unsupervised Optical Flow and Kanade-Lucas-Tomasi Tracking

Notifications You must be signed in to change notification settings

zixinyang9109/END-VO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

END-VO

Introduction

Code of Endoscope Localization and Dense Surgical Scene Reconstruction for Stereo Endoscopy by Unsupervised Optical Flow and Kanade-Lucas-Tomasi Tracking.

demo_1.mp4

Setup

Install dependences required in the CMakeLists.txt

OpenCV 3.1 https://github.com/opencv/opencv/archive/3.1.0.zip

unzip opencv-3.1.0.zip
cd opencv-3.1.0
mkdir build
cd build 
cmake ..
make
sudo make install

pangolin

sudo apt-get install libglew-dev  
sudo apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev
sudo apt-get install git
git clone https://github.com/stevenlovegrove/Pangolin.git

cd Pangolin
mkdir build
cd build 
cmake ..
make
sudo make install

Sophus

git clone http://github.com/strasdat/Sophus.git
cd Sophus
mkdir build
cd build 
cmake ..
make
make install

G20

sudo apt-get install qt5-qmake qt5-default libqglviewer-dev-qt5 libsuitesparse-dev libcxsparse3 libcholmod3
git clone https://github.com/RainerKuemmerle/g2o.git
cd g2o
mkdir build
cd build 
cmake ..
make
sudo make install

glog

sudo apt update
sudo apt install libgoogle-glog-dev

gtest

git clone https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake ..
make
sudo make install

csparse

sudo apt-get install libsuitesparse-dev

Complie the project

mkdir build
cd build/
cmake ..
make -j4
sudo make install

Dataset

We used the SCARED dataset (https://arxiv.org/abs/2101.01133). Please feel free to send an email to yy8898@rit.edu for the link to preprocessed dataset.

Run

Please change the dataset_dir and depth_dir in the config/endoscope0103.yaml and run:

bin/run_end_stereo --log_dir=. #save the poses to a specific folder
or
bin/run_end_stereo --logtostderr #save the poses to your current folder

Mesh

Please refer to http://www.open3d.org/docs/0.12.0/tutorial/pipelines/rgbd_integration.html and Endo-Depth-and-Motion](https://github.com/UZ-SLAMLab/Endo-Depth-and-Motion/tree/main)

Evaluation

For pose evaluation, please install evo (https://github.com/MichaelGrupp/evo) and go to the eva folder.

python evo_mydata.py
python plot_all.py

Fore reconstruction evaluation, please use (https://www.danielgm.net/cc/).

Citation

@inproceedings{yang2022endoscope,
  title={Endoscope Localization and Dense Surgical Scene Reconstruction for Stereo Endoscopy by Unsupervised Optical Flow and Kanade-Lucas-Tomasi Tracking},
  author={Yang, Zixin and Lin, Shan and Simon, Richard and Linte, Cristian A},
  booktitle={2022 44th Annual International Conference of the IEEE Engineering in Medicine \& Biology Society (EMBC)},
  pages={4839--4842},
  year={2022},
  organization={IEEE}
}

Acknowledgements

About

(END-VO) Endoscope Localization and Dense Surgical Scene Reconstruction for Stereo Endoscopy by Unsupervised Optical Flow and Kanade-Lucas-Tomasi Tracking

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published