Computer Photography -Scene Fixed 陳立奇
Outline Introduction Project Concept The Main Algorithms of Project The Demo Video
Introduction Concept: Make sure the interested region fixed Development: – C++ in Visual Studio 2010 with Webcam – External library: Image Processing: OpenCV Graphical user interface: QT 4.8.2
Introduction Environment: – Scene is in the laboratory – Capture the scene by Webcam
Algorithms Flow Chart Frame In RGB2GRAY Histogram Equalization SURF Features Matching RANSAC Transform Matrix Warping Frame Out
Algorithms RGB2GRAY: Y=0.299*R *G *B + 0*A Histogram Equalization RGBGRAY Histogram Equalization
Algorithms SURF Features Matching – Based on sums of 2D Haar wavelet responses and makes an efficient use of integral images – It uses an integer approximation to the determinant of Hessian blob detector OpenCV Result
Algorithms RANSAC Transform Matrix – RANdom SAmple Consensus 1.A model is fitted to the hypothetical inliers, i.e. all free parameters of the model are reconstructed from the inliers. 2.All other data are then tested against the fitted model and, if a point fits well to the estimated model, also considered as a hypothetical inlier. 3.The estimated model is reasonably good if sufficiently many points have been classified as hypothetical inliers. 4.The model is reestimated from all hypothetical inliers, because it has only been estimated from the initial set of hypothetical inliers. 5.Finally, the model is evaluated by estimating the error of the inliers relative to the model.
Algorithms Warping – the process of digitally manipulating an image such that any shapes portrayed in the image have been significantly distorted Thomas Funkhouser Princeton University C0S 426, Fall 2000
Demo Video ↑ X4 times speed Original Video: Scene FixedScene Fixed 連結
End Thank your attention