Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery
Haytham Elhawary, Ph.D. Philips Research North America, Briarcliff, New York, USA
Temporal Feature Tracking for Robotic Assisted Endoscopic Surgery - - PowerPoint PPT Presentation
Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery Temporal Feature Tracking for Robotic Assisted Endoscopic Surgery Haytham Elhawary, Ph.D. Philips Research North America, Briarcliff, New York, USA Objectives of this talk
Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery
Haytham Elhawary, Ph.D. Philips Research North America, Briarcliff, New York, USA
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Objectives of this talk
using uncalibrated monocular endoscopes
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Why develop robust feature tracking algorithms?
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
The need for feature tracking
(X-Y-Z stage, 3 rot, 1 insertion)
beating heart phantom
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
The need for feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
“I like when a girl knows what she looks like and dresses to accentuate those features.“ Zac Efron
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
tracked successfully
method (optical flow) better
941, and SURF based feature detector from Bay et al 20062 etc
1 J. Shi and C. Tomasi (June 1994). "Good Features to Track,“ 9th IEEE Conference on Computer Vision and Pattern Recognition.
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
Learning OpenCV, Gary Bradski & Adrian Kaehler, O’Reilly
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
that point is:
small window at each point is calculated, and the eigenvalues computed.
threshold, the point is considered good to track.
T t t t
y x x ] , [ =
→
) , ( y x I
∂ ∂ ∂ ∂ ∂ ∂ ∂ ∂ ∂ ∂ =
→ → → → →
) ( ) ( ) ( ) ( ) (
2 2 2 2 2 2 t t t t t
x I y x I y x x I y x x I x x H
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
a point is considered good to track
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
dimensions
point neighbourhood, based on Haar wavelets (inspired by SIFT)
Hessian is maximum – Hessian used is covariance of second order Gaussian image
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
considered good to track
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Choosing good features to track
GFT detector SURF detector
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
“Are you stalking me? Because that would be super.“ Ryan Reynolds
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Optical flow algorithm
patterns in an image (displacement vectors)
between 2 frames
dense methods are computationally expensive
tracking methods
1 B. D. Lucas and T. Kanade (1981), An iterative image registration technique with an application to stereo vision. Proceedings of Imaging
Understanding Workshop, pages 121--130
2 B.K.P. Horn and B.G. Schunck, "Determining optical flow." Artificial Intelligence, vol 17, pp 185-203, 1981
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Optical flow algorithm
approximating the derivative of intensity over time)
surface and have similar motion
) , , ( ) , , ( t t v y u x I t y x I ∆ + + + = = + +
t y x
I v I u I
(1)
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Optical flow algorithm
the same manner, equation (1) can be applied for each pixel in the window to obtain u and v → Minimization problem solved with least squares
large motions falling outside of the local window
1 J.-Y. Bouguet, "Pyramidal Implementation of the Lucas Kanade Feature Tracker Description of the algorithm," Intel Corporation,
Microprocessor Research Labs, unpublished.
) ( ) ( ) (
t t t t w x x w x x w y y w y y t t t
v x I x I v e
x t x t y t y t
− =
∆ + + = − = + = − =
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Optical flow algorithm
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Optical flow algorithm
error
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
“Probably about 10-15% of the time it's accurate.“ Justin Timberlake
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
method due to lack of gold standard
tedious and not accurate!
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
compare tracked feature with known location of feature
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
pyramidal levels, interframe thresh 10 px, “high quality” 30 points
deg
(1) was lower than with LK-GFT (2)
>30Hz
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
with SURF feature detection
SURF detected points Manually selected points
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
between point in current frame and point in start frame)
time
the spectrum
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Presence of heart beat peak
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Presence of heart beat peak
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
p p
f f
8 .
components in the spectrum after removing DC component
deviations such as jumps
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Methods to evaluate feature tracking
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
“In theory, there is no difference between theory and practice. In practice, there is.“ Yogi Berra
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
moving at 5mm/s
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
SURF detected points Manually selected points
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
SURFLK51_th20 SURFLK31_th20
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
LK31_th20 LK31_th10
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
LK31_th20 LK31_th10
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
motion of the robot to locate the point at the centre of image
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
the image in <3s
residual error above 0.5s) < 6 points
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Example Applications
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Conclusions
accuracy
spite of their constraints
window size
metrics must be used
analysis
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Conclusions
the Beating Heart for a Robotic Guided Endoscope”, IJMRCAS, 2011, in press
Guidance of an Uncalibrated Endoscope in Beating Heart Surgery”, Proceedings of the 2010 3rd IEEE RAS & EMBS, International Conference on Biomedical Robotics and Biomechatronics, Tokyo, Japan, September 26-29, 2010
a Robotic Arm with the Surgical Assistant Workstation Software Framework “, MICCAI 2011 workshop Systems and Architectures for Computer Assisted Interventions
Haytham Elhawary – Temporal Feature Tracking using an Endoscope Tutorial on 3D Surface Reconstruction in Laparoscopic Surgery.
22ndSeptember ,Toronto, Canada
Haytham Elhawary, PhD Member Research Staff Clinical Informatics, Interventional and Translational Solutions Philips Research North America 345 Scarborough Road, Briarcliff Manor, NY 10510 Tel: (914) 945-6175 -- Fax: (914) 945-6330 Email: Haytham.Elhawary@Philips.com