SlideShare a Scribd company logo
1 of 45
Download to read offline
© 2011 Frank Nielsen
INF555
Fundamentals of 3D
Lecture 3:
Debriefing: Lecture 2
Rigid transformations/Quaternions
Iterative Closest Point (+Kd-trees)
Frank Nielsen
nielsen@lix.polytechnique.fr
28 Septembre 2011
© 2011 Frank Nielsen
• Depth discontinuity
• Surface orientation
discontinuity
• Reflectance
discontinuity (i.e.,
change in surface
material properties)
• Illumination
discontinuity (e.g.,
shadow)
Harris-Stephens' combined corner/edge detector
© 2011 Frank Nielsen
© 2011 Frank Nielsen
Harris-Stephens edge detector
Aim at finding good feature
© 2011 Frank Nielsen
Harris-Stephens edge detector
Measure the corner response as
Algorithm:
– Find points with large corner response function R
(R > threshold)
– Take the points of local maxima of R
© 2011 Frank Nielsen
© 2011 Frank Nielsen
Edge thresholding hysterisis
● If a pixel value is above the high threshold, it is an edge.
● If a pixel value is below the low threshold, it is not an edge.
● If a pixel value is between the low and high thresholds,
it is an edge if it is connected to another edge pixel,
otherwise it is interpreted as noise.
Two thresholds: low and high
Single threshold value for edges -> Streaking
© 2011 Frank Nielsen
Edge hysteresis
© 2011 Frank Nielsen
Homogeneous coordinates and duality point/line
homogenization
Homogeneous vectorInhomogeneous vector
dehomogenization (also known as
Perspective division)
© 2011 Frank Nielsen
Projective plane
Equivalence class:
is equivalent to
Line coefficients stored in an inhomogeneous vector
Equation of the line:
Point and line have same homogeneous representation:
A point can be interpreted as the coefficients of the line
Point and line have same homogeneous representation:
A point can be interpreted as the coefficients of the line
© 2011 Frank Nielsen
Intersection of lines
Cross-product of two vectors:
Intersection point of two lines is obtained from their cross-product:
Line passing through two « points » l1* and l2*:
l=p*=l1* x l2*
p= l1 x l2
Duality
© 2011 Frank Nielsen
Application:
Detection of line segment intersection
l1=CrossProduct(p,q);
l2=CrossProduct(r,s);
// intersection point is the cross-product
//of the line coefficients (duality)
intersection=CrossProduct(l1,l2);
intersection.Normalize(); // to get back Euclidean point
© 2011 Frank Nielsen
Overview of duality in projective geometry
The determinant of three points represent the volume of their parallepiped.
© 2011 Frank Nielsen
2D Transformations using homogeneous coordinates
© 2011 Frank Nielsen
2D Transformations using homogeneous coordinates
© 2011 Frank Nielsen
Cartesian coordinate systems in 3D
© 2011 Frank Nielsen
3D Transformations using homogeneous coordinates
Be careful: Gimbal lock
© 2011 Frank Nielsen
Euler rotation
© 2011 Frank Nielsen
Cross-product/outer product
Consider the cross-product as a matrix multiplication:
Outer-product
© 2011 Frank Nielsen
Arbitrary matrix rotation:
Rodrigues' formula
Equivalent to:
© 2011 Frank Nielsen
© 2011 Frank Nielsen
© 2011 Frank Nielsen
Rigid transformations
Concatenation (non-commutative!)
© 2011 Frank Nielsen
Quaternions for rotations
● Easy to invert scalars
● For 2D vectors, invert using complex numbers...
● For 3D vectors??? (-> 4D quaternions)
● For dD vectors??? (-> 8D octonions)
● Easy to invert scalars
● For 2D vectors, invert using complex numbers...
● For 3D vectors??? (-> 4D quaternions)
● For dD vectors??? (-> 8D octonions)
Provide rotation operator that is invertible
Sir William Rowan Hamilton
Lectures on Quaternions
http://digital.library.cornell.edu/
© 2011 Frank Nielsen
Quaternions: 1D real+3D imaginary
Real part (1D) Imaginary part (3D, i j k vectors)
Multiplication:
Norm (l2)
© 2011 Frank Nielsen
Unit quaternions
For a given 3D point p, we compute its rotation Rp as
Rotation theta around an axis u: Quaternion representation:
conjugate
© 2011 Frank Nielsen
Unit quaternions
for rotations
© 2011 Frank Nielsen
Conversion rotation matrix to quaternion
© 2011 Frank Nielsen
Spherical linear interpolation (SLERP)
LERP is non-sense for rotation matrices:
SLERP is using quaternion algebra:
© 2011 Frank Nielsen
Spherical linear interpolation (SLERP)
Useful for computer graphics animation
(bone, skinning at articulation)
© 2011 Frank Nielsen
Bilateral filtering
Edge-preserving smoothing
Videos/demo
© 2011 Frank Nielsen
Gaussian filtering: Blur everything
Traditional spatial gaussian filtering
© 2011 Frank Nielsen
Bilateral filtering
New! gaussian on the intensity difference filtering
Bilateral Filtering for Gray and Color Images, Tomasi and Manduchi 1998
.... SUSAN feature extractor...
© 2011 Frank Nielsen
Domain
filtering
Range filtering
© 2011 Frank Nielsen
Iterative Closest Point (ICP)
Align point sets. For example, terrains (DEMs)
Robotics
© 2011 Frank Nielsen
Align point sets obtained from range scanners
http://www-graphics.stanford.edu/projects/mich/
© 2011 Frank Nielsen
Solve stone jigsaws...
ICP for solving jigsaws
© 2011 Frank Nielsen
ICP: Algorithm at a glance
● Start from a not too far transformation
● Match the point of the target to the source
● Compute the best transformation from point correspondence
● Reiterate until the mismatch error goes below a threshold
In practice, this is a very fast registration method...
A Method for Registration of 3-D Shapes. by: Paul J Besl, Neil D Mckay.
IEEE Trans. Pattern Anal. Mach. Intell., Vol. 14, No. 2. (February 1992
© 2011 Frank Nielsen
ICP: Finding the best rigid transformation
Given point correspondences, find the best rigid transformation.
Source/ModelObservation/Target
Find (R,t) that minimizes the squared euclidean error:
© 2011 Frank Nielsen
Align the center of mass of sets:
© 2011 Frank Nielsen
Finding the rotation matrix:
Compute the singular value decomposition
Optimal transformation:
© 2011 Frank Nielsen
Registration of many point sets to a common atlas
Scoliotic Spine (Atlas of 307 patients)
Many variants of ICP method (truncated, robust, etc.)Many variants of ICP method (truncated, robust, etc.)
© 2011 Frank Nielsen
In theory,
ICP may provably run very slowly for well-constructedwell-constructed point sets...
What computational geometers say
David Arthur; Sergei Vassilvitskii
Worst-case and Smoothed Analysis of the ICP Algorithm, with an Application to the
k-means Method
FOCS 2006 => O(n/d)^d iterations (exponential)
... but smooth analysis of ICP is polynomial
© 2011 Frank Nielsen
Computing nearest neighbors in ICP...
● Naive linear-time algorithm
● Tree-like algorithm using kd-trees
● Tree-like algorithm using metric ball trees
●...
Challenging problem in very high-dimensions
(common to work up to dimension > 1000 nowadays)
Nearest neighbor of q
© 2011 Frank Nielsen
Installez Processing.org
→ Rendu des TD1, 2 et 3 pour le Mardi 4 Octobre 17h
(Upload work sur la page du cours)

More Related Content

What's hot

DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...
DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...
DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...Joonhyung Lee
 
DBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmDBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmPınar Yahşi
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Hwa Pyung Kim
 
presentation
presentationpresentation
presentationjie ren
 
Learning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for GraphsLearning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for GraphsMathias Niepert
 
Feature Matching using SIFT algorithm
Feature Matching using SIFT algorithmFeature Matching using SIFT algorithm
Feature Matching using SIFT algorithmSajid Pareeth
 
(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
Webinar on Graph Neural Networks
Webinar on Graph Neural NetworksWebinar on Graph Neural Networks
Webinar on Graph Neural NetworksLucaCrociani1
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting schemeSubhashini Subramanian
 
Density Based Clustering
Density Based ClusteringDensity Based Clustering
Density Based ClusteringSSA KPI
 
Taras Sereda "Waveglow. Generative modeling for audio synthesis"
Taras Sereda "Waveglow. Generative modeling for audio synthesis"Taras Sereda "Waveglow. Generative modeling for audio synthesis"
Taras Sereda "Waveglow. Generative modeling for audio synthesis"Fwdays
 
Optics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureOptics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureRajesh Piryani
 
Object Detection Methods using Deep Learning
Object Detection Methods using Deep LearningObject Detection Methods using Deep Learning
Object Detection Methods using Deep LearningSungjoon Choi
 
icml2004 tutorial on spectral clustering part II
icml2004 tutorial on spectral clustering part IIicml2004 tutorial on spectral clustering part II
icml2004 tutorial on spectral clustering part IIzukun
 
Comparison of Various RCNN techniques for Classification of Object from Image
Comparison of Various RCNN techniques for Classification of Object from ImageComparison of Various RCNN techniques for Classification of Object from Image
Comparison of Various RCNN techniques for Classification of Object from ImageIRJET Journal
 

What's hot (20)

DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...
DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...
DeepLab V3+: Encoder-Decoder with Atrous Separable Convolution for Semantic I...
 
DBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmDBSCAN : A Clustering Algorithm
DBSCAN : A Clustering Algorithm
 
Recurrent Instance Segmentation (UPC Reading Group)
Recurrent Instance Segmentation (UPC Reading Group)Recurrent Instance Segmentation (UPC Reading Group)
Recurrent Instance Segmentation (UPC Reading Group)
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)
 
presentation
presentationpresentation
presentation
 
Learning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for GraphsLearning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for Graphs
 
Feature Matching using SIFT algorithm
Feature Matching using SIFT algorithmFeature Matching using SIFT algorithm
Feature Matching using SIFT algorithm
 
Dbscan algorithom
Dbscan algorithomDbscan algorithom
Dbscan algorithom
 
(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision
 
Webinar on Graph Neural Networks
Webinar on Graph Neural NetworksWebinar on Graph Neural Networks
Webinar on Graph Neural Networks
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
 
Density Based Clustering
Density Based ClusteringDensity Based Clustering
Density Based Clustering
 
Taras Sereda "Waveglow. Generative modeling for audio synthesis"
Taras Sereda "Waveglow. Generative modeling for audio synthesis"Taras Sereda "Waveglow. Generative modeling for audio synthesis"
Taras Sereda "Waveglow. Generative modeling for audio synthesis"
 
Optics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureOptics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structure
 
LCD charactrization
LCD charactrizationLCD charactrization
LCD charactrization
 
Wavelet
WaveletWavelet
Wavelet
 
Gnn overview
Gnn overviewGnn overview
Gnn overview
 
Object Detection Methods using Deep Learning
Object Detection Methods using Deep LearningObject Detection Methods using Deep Learning
Object Detection Methods using Deep Learning
 
icml2004 tutorial on spectral clustering part II
icml2004 tutorial on spectral clustering part IIicml2004 tutorial on spectral clustering part II
icml2004 tutorial on spectral clustering part II
 
Comparison of Various RCNN techniques for Classification of Object from Image
Comparison of Various RCNN techniques for Classification of Object from ImageComparison of Various RCNN techniques for Classification of Object from Image
Comparison of Various RCNN techniques for Classification of Object from Image
 

Viewers also liked

Point elementary school team- matthew, nate and dawson-basket of hope-3003
Point elementary school team- matthew, nate and dawson-basket of hope-3003Point elementary school team- matthew, nate and dawson-basket of hope-3003
Point elementary school team- matthew, nate and dawson-basket of hope-3003SuperServiceChallenge2013
 
(ISIA 4) Cours d'algorithmique (1995)
(ISIA 4) Cours d'algorithmique (1995)(ISIA 4) Cours d'algorithmique (1995)
(ISIA 4) Cours d'algorithmique (1995)Frank Nielsen
 
Q6 Evaluation Media
Q6 Evaluation MediaQ6 Evaluation Media
Q6 Evaluation Mediagryall97
 
MVT Across Multiple Brands: One approach to successful testing, Webtrends
MVT Across Multiple Brands: One approach to successful testing, WebtrendsMVT Across Multiple Brands: One approach to successful testing, Webtrends
MVT Across Multiple Brands: One approach to successful testing, WebtrendsInternet World
 
Point elementary school team- nadeem, mason & luke-basket of hope-2935
Point elementary school team- nadeem, mason & luke-basket of hope-2935Point elementary school team- nadeem, mason & luke-basket of hope-2935
Point elementary school team- nadeem, mason & luke-basket of hope-2935SuperServiceChallenge2013
 
Space coast ge volunteers children's home society 3563
Space coast ge volunteers   children's home society 3563Space coast ge volunteers   children's home society 3563
Space coast ge volunteers children's home society 3563SuperServiceChallenge2013
 
Point elementary team- zack, kaylene, and doron-basket of hope-2786
Point elementary   team- zack, kaylene, and doron-basket of hope-2786Point elementary   team- zack, kaylene, and doron-basket of hope-2786
Point elementary team- zack, kaylene, and doron-basket of hope-2786SuperServiceChallenge2013
 
Point elemtary team- nick, sean and rachel-basket of hope-2769
Point elemtary   team- nick, sean and rachel-basket of hope-2769Point elemtary   team- nick, sean and rachel-basket of hope-2769
Point elemtary team- nick, sean and rachel-basket of hope-2769SuperServiceChallenge2013
 
The devil made me do it- documentary
The devil made me do it- documentaryThe devil made me do it- documentary
The devil made me do it- documentarygryall97
 
Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Frank Nielsen
 
Traitement des données massives (INF442, A3)
Traitement des données massives (INF442, A3)Traitement des données massives (INF442, A3)
Traitement des données massives (INF442, A3)Frank Nielsen
 
(slides 6) Visual Computing: Geometry, Graphics, and Vision
(slides 6) Visual Computing: Geometry, Graphics, and Vision(slides 6) Visual Computing: Geometry, Graphics, and Vision
(slides 6) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...Frank Nielsen
 
Why email is (still) the killer app, Striata
Why email is (still) the killer app, StriataWhy email is (still) the killer app, Striata
Why email is (still) the killer app, StriataInternet World
 
Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Frank Nielsen
 
Islands elementary islands elementary pta-1079
Islands elementary islands elementary pta-1079Islands elementary islands elementary pta-1079
Islands elementary islands elementary pta-1079SuperServiceChallenge2013
 
Point elementary team- maggie, alex and jerrica-basket of hope-2849
Point elementary   team- maggie, alex and jerrica-basket of hope-2849Point elementary   team- maggie, alex and jerrica-basket of hope-2849
Point elementary team- maggie, alex and jerrica-basket of hope-2849SuperServiceChallenge2013
 

Viewers also liked (20)

Point elementary school team- matthew, nate and dawson-basket of hope-3003
Point elementary school team- matthew, nate and dawson-basket of hope-3003Point elementary school team- matthew, nate and dawson-basket of hope-3003
Point elementary school team- matthew, nate and dawson-basket of hope-3003
 
Defender direct gleaners food bank-2201
Defender direct gleaners food bank-2201Defender direct gleaners food bank-2201
Defender direct gleaners food bank-2201
 
(ISIA 4) Cours d'algorithmique (1995)
(ISIA 4) Cours d'algorithmique (1995)(ISIA 4) Cours d'algorithmique (1995)
(ISIA 4) Cours d'algorithmique (1995)
 
Q6 Evaluation Media
Q6 Evaluation MediaQ6 Evaluation Media
Q6 Evaluation Media
 
MVT Across Multiple Brands: One approach to successful testing, Webtrends
MVT Across Multiple Brands: One approach to successful testing, WebtrendsMVT Across Multiple Brands: One approach to successful testing, Webtrends
MVT Across Multiple Brands: One approach to successful testing, Webtrends
 
Dots in blue water eem:dibw-1391
Dots in blue water eem:dibw-1391Dots in blue water eem:dibw-1391
Dots in blue water eem:dibw-1391
 
Point elementary school team- nadeem, mason & luke-basket of hope-2935
Point elementary school team- nadeem, mason & luke-basket of hope-2935Point elementary school team- nadeem, mason & luke-basket of hope-2935
Point elementary school team- nadeem, mason & luke-basket of hope-2935
 
Space coast ge volunteers children's home society 3563
Space coast ge volunteers   children's home society 3563Space coast ge volunteers   children's home society 3563
Space coast ge volunteers children's home society 3563
 
Point elementary team- zack, kaylene, and doron-basket of hope-2786
Point elementary   team- zack, kaylene, and doron-basket of hope-2786Point elementary   team- zack, kaylene, and doron-basket of hope-2786
Point elementary team- zack, kaylene, and doron-basket of hope-2786
 
Point elemtary team- nick, sean and rachel-basket of hope-2769
Point elemtary   team- nick, sean and rachel-basket of hope-2769Point elemtary   team- nick, sean and rachel-basket of hope-2769
Point elemtary team- nick, sean and rachel-basket of hope-2769
 
The devil made me do it- documentary
The devil made me do it- documentaryThe devil made me do it- documentary
The devil made me do it- documentary
 
Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)
 
Traitement des données massives (INF442, A3)
Traitement des données massives (INF442, A3)Traitement des données massives (INF442, A3)
Traitement des données massives (INF442, A3)
 
(slides 6) Visual Computing: Geometry, Graphics, and Vision
(slides 6) Visual Computing: Geometry, Graphics, and Vision(slides 6) Visual Computing: Geometry, Graphics, and Vision
(slides 6) Visual Computing: Geometry, Graphics, and Vision
 
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 6) A Concise and Practical Introduction to Programming Algorithms in...
 
Why email is (still) the killer app, Striata
Why email is (still) the killer app, StriataWhy email is (still) the killer app, Striata
Why email is (still) the killer app, Striata
 
Decibel blue detour company theatre-3087
Decibel blue detour company theatre-3087Decibel blue detour company theatre-3087
Decibel blue detour company theatre-3087
 
Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)
 
Islands elementary islands elementary pta-1079
Islands elementary islands elementary pta-1079Islands elementary islands elementary pta-1079
Islands elementary islands elementary pta-1079
 
Point elementary team- maggie, alex and jerrica-basket of hope-2849
Point elementary   team- maggie, alex and jerrica-basket of hope-2849Point elementary   team- maggie, alex and jerrica-basket of hope-2849
Point elementary team- maggie, alex and jerrica-basket of hope-2849
 

Similar to (slides 3) Visual Computing: Geometry, Graphics, and Vision

(slides 7) Visual Computing: Geometry, Graphics, and Vision
(slides 7) Visual Computing: Geometry, Graphics, and Vision(slides 7) Visual Computing: Geometry, Graphics, and Vision
(slides 7) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
Nonlinear Optical Materials
Nonlinear Optical MaterialsNonlinear Optical Materials
Nonlinear Optical Materialskrishslide
 
Ellipsometry- non destructive measuring method
Ellipsometry- non destructive measuring methodEllipsometry- non destructive measuring method
Ellipsometry- non destructive measuring methodViji Vijitha
 
Continuous and Discrete Crooklet Transform
Continuous and Discrete Crooklet TransformContinuous and Discrete Crooklet Transform
Continuous and Discrete Crooklet TransformDR.P.S.JAGADEESH KUMAR
 
Dct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionDct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionMuhammad Younas
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...Ken Sakurada
 
Lecture7 xing fei-fei
Lecture7 xing fei-feiLecture7 xing fei-fei
Lecture7 xing fei-feiTianlu Wang
 
Maapr3
Maapr3Maapr3
Maapr3FNian
 
Image formation
Image formationImage formation
Image formationpotaters
 
Intelligent reflecting surface 3
Intelligent reflecting surface 3Intelligent reflecting surface 3
Intelligent reflecting surface 3VARUN KUMAR
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transformSimranjit Singh
 
Image Interpolation Techniques in Digital Image Processing: An Overview
Image Interpolation Techniques in Digital Image Processing: An OverviewImage Interpolation Techniques in Digital Image Processing: An Overview
Image Interpolation Techniques in Digital Image Processing: An OverviewIJERA Editor
 
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijripublishers Ijri
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 

Similar to (slides 3) Visual Computing: Geometry, Graphics, and Vision (20)

(slides 7) Visual Computing: Geometry, Graphics, and Vision
(slides 7) Visual Computing: Geometry, Graphics, and Vision(slides 7) Visual Computing: Geometry, Graphics, and Vision
(slides 7) Visual Computing: Geometry, Graphics, and Vision
 
(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision
 
Nonlinear Optical Materials
Nonlinear Optical MaterialsNonlinear Optical Materials
Nonlinear Optical Materials
 
Ellipsometry- non destructive measuring method
Ellipsometry- non destructive measuring methodEllipsometry- non destructive measuring method
Ellipsometry- non destructive measuring method
 
CS-ChapterI.pdf
CS-ChapterI.pdfCS-ChapterI.pdf
CS-ChapterI.pdf
 
Continuous and Discrete Crooklet Transform
Continuous and Discrete Crooklet TransformContinuous and Discrete Crooklet Transform
Continuous and Discrete Crooklet Transform
 
Pycon openlcdfdm
Pycon openlcdfdmPycon openlcdfdm
Pycon openlcdfdm
 
Dct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionDct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decomposition
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
 
Lecture7 xing fei-fei
Lecture7 xing fei-feiLecture7 xing fei-fei
Lecture7 xing fei-fei
 
Maapr3
Maapr3Maapr3
Maapr3
 
Image formation
Image formationImage formation
Image formation
 
Intelligent reflecting surface 3
Intelligent reflecting surface 3Intelligent reflecting surface 3
Intelligent reflecting surface 3
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
Image Interpolation Techniques in Digital Image Processing: An Overview
Image Interpolation Techniques in Digital Image Processing: An OverviewImage Interpolation Techniques in Digital Image Processing: An Overview
Image Interpolation Techniques in Digital Image Processing: An Overview
 
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
 
190 195
190 195190 195
190 195
 
Presentation
PresentationPresentation
Presentation
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 

Recently uploaded

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

(slides 3) Visual Computing: Geometry, Graphics, and Vision

  • 1. © 2011 Frank Nielsen INF555 Fundamentals of 3D Lecture 3: Debriefing: Lecture 2 Rigid transformations/Quaternions Iterative Closest Point (+Kd-trees) Frank Nielsen nielsen@lix.polytechnique.fr 28 Septembre 2011
  • 2. © 2011 Frank Nielsen • Depth discontinuity • Surface orientation discontinuity • Reflectance discontinuity (i.e., change in surface material properties) • Illumination discontinuity (e.g., shadow) Harris-Stephens' combined corner/edge detector
  • 3. © 2011 Frank Nielsen
  • 4. © 2011 Frank Nielsen Harris-Stephens edge detector Aim at finding good feature
  • 5. © 2011 Frank Nielsen Harris-Stephens edge detector Measure the corner response as Algorithm: – Find points with large corner response function R (R > threshold) – Take the points of local maxima of R
  • 6. © 2011 Frank Nielsen
  • 7. © 2011 Frank Nielsen Edge thresholding hysterisis ● If a pixel value is above the high threshold, it is an edge. ● If a pixel value is below the low threshold, it is not an edge. ● If a pixel value is between the low and high thresholds, it is an edge if it is connected to another edge pixel, otherwise it is interpreted as noise. Two thresholds: low and high Single threshold value for edges -> Streaking
  • 8. © 2011 Frank Nielsen Edge hysteresis
  • 9. © 2011 Frank Nielsen Homogeneous coordinates and duality point/line homogenization Homogeneous vectorInhomogeneous vector dehomogenization (also known as Perspective division)
  • 10. © 2011 Frank Nielsen Projective plane Equivalence class: is equivalent to Line coefficients stored in an inhomogeneous vector Equation of the line: Point and line have same homogeneous representation: A point can be interpreted as the coefficients of the line Point and line have same homogeneous representation: A point can be interpreted as the coefficients of the line
  • 11. © 2011 Frank Nielsen Intersection of lines Cross-product of two vectors: Intersection point of two lines is obtained from their cross-product: Line passing through two « points » l1* and l2*: l=p*=l1* x l2* p= l1 x l2 Duality
  • 12. © 2011 Frank Nielsen Application: Detection of line segment intersection l1=CrossProduct(p,q); l2=CrossProduct(r,s); // intersection point is the cross-product //of the line coefficients (duality) intersection=CrossProduct(l1,l2); intersection.Normalize(); // to get back Euclidean point
  • 13. © 2011 Frank Nielsen Overview of duality in projective geometry The determinant of three points represent the volume of their parallepiped.
  • 14. © 2011 Frank Nielsen 2D Transformations using homogeneous coordinates
  • 15. © 2011 Frank Nielsen 2D Transformations using homogeneous coordinates
  • 16. © 2011 Frank Nielsen Cartesian coordinate systems in 3D
  • 17. © 2011 Frank Nielsen 3D Transformations using homogeneous coordinates Be careful: Gimbal lock
  • 18. © 2011 Frank Nielsen Euler rotation
  • 19. © 2011 Frank Nielsen Cross-product/outer product Consider the cross-product as a matrix multiplication: Outer-product
  • 20. © 2011 Frank Nielsen Arbitrary matrix rotation: Rodrigues' formula Equivalent to:
  • 21. © 2011 Frank Nielsen
  • 22. © 2011 Frank Nielsen
  • 23. © 2011 Frank Nielsen Rigid transformations Concatenation (non-commutative!)
  • 24. © 2011 Frank Nielsen Quaternions for rotations ● Easy to invert scalars ● For 2D vectors, invert using complex numbers... ● For 3D vectors??? (-> 4D quaternions) ● For dD vectors??? (-> 8D octonions) ● Easy to invert scalars ● For 2D vectors, invert using complex numbers... ● For 3D vectors??? (-> 4D quaternions) ● For dD vectors??? (-> 8D octonions) Provide rotation operator that is invertible Sir William Rowan Hamilton Lectures on Quaternions http://digital.library.cornell.edu/
  • 25. © 2011 Frank Nielsen Quaternions: 1D real+3D imaginary Real part (1D) Imaginary part (3D, i j k vectors) Multiplication: Norm (l2)
  • 26. © 2011 Frank Nielsen Unit quaternions For a given 3D point p, we compute its rotation Rp as Rotation theta around an axis u: Quaternion representation: conjugate
  • 27. © 2011 Frank Nielsen Unit quaternions for rotations
  • 28. © 2011 Frank Nielsen Conversion rotation matrix to quaternion
  • 29. © 2011 Frank Nielsen Spherical linear interpolation (SLERP) LERP is non-sense for rotation matrices: SLERP is using quaternion algebra:
  • 30. © 2011 Frank Nielsen Spherical linear interpolation (SLERP) Useful for computer graphics animation (bone, skinning at articulation)
  • 31. © 2011 Frank Nielsen Bilateral filtering Edge-preserving smoothing Videos/demo
  • 32. © 2011 Frank Nielsen Gaussian filtering: Blur everything Traditional spatial gaussian filtering
  • 33. © 2011 Frank Nielsen Bilateral filtering New! gaussian on the intensity difference filtering Bilateral Filtering for Gray and Color Images, Tomasi and Manduchi 1998 .... SUSAN feature extractor...
  • 34. © 2011 Frank Nielsen Domain filtering Range filtering
  • 35. © 2011 Frank Nielsen Iterative Closest Point (ICP) Align point sets. For example, terrains (DEMs) Robotics
  • 36. © 2011 Frank Nielsen Align point sets obtained from range scanners http://www-graphics.stanford.edu/projects/mich/
  • 37. © 2011 Frank Nielsen Solve stone jigsaws... ICP for solving jigsaws
  • 38. © 2011 Frank Nielsen ICP: Algorithm at a glance ● Start from a not too far transformation ● Match the point of the target to the source ● Compute the best transformation from point correspondence ● Reiterate until the mismatch error goes below a threshold In practice, this is a very fast registration method... A Method for Registration of 3-D Shapes. by: Paul J Besl, Neil D Mckay. IEEE Trans. Pattern Anal. Mach. Intell., Vol. 14, No. 2. (February 1992
  • 39. © 2011 Frank Nielsen ICP: Finding the best rigid transformation Given point correspondences, find the best rigid transformation. Source/ModelObservation/Target Find (R,t) that minimizes the squared euclidean error:
  • 40. © 2011 Frank Nielsen Align the center of mass of sets:
  • 41. © 2011 Frank Nielsen Finding the rotation matrix: Compute the singular value decomposition Optimal transformation:
  • 42. © 2011 Frank Nielsen Registration of many point sets to a common atlas Scoliotic Spine (Atlas of 307 patients) Many variants of ICP method (truncated, robust, etc.)Many variants of ICP method (truncated, robust, etc.)
  • 43. © 2011 Frank Nielsen In theory, ICP may provably run very slowly for well-constructedwell-constructed point sets... What computational geometers say David Arthur; Sergei Vassilvitskii Worst-case and Smoothed Analysis of the ICP Algorithm, with an Application to the k-means Method FOCS 2006 => O(n/d)^d iterations (exponential) ... but smooth analysis of ICP is polynomial
  • 44. © 2011 Frank Nielsen Computing nearest neighbors in ICP... ● Naive linear-time algorithm ● Tree-like algorithm using kd-trees ● Tree-like algorithm using metric ball trees ●... Challenging problem in very high-dimensions (common to work up to dimension > 1000 nowadays) Nearest neighbor of q
  • 45. © 2011 Frank Nielsen Installez Processing.org → Rendu des TD1, 2 et 3 pour le Mardi 4 Octobre 17h (Upload work sur la page du cours)