openCV library for Renesas RZ/A
Dependents: RZ_A2M_Mbed_samples
include/opencv2/videostab.hpp@0:0e0631af0305, 2021-01-29 (annotated)
- Committer:
- RyoheiHagimoto
- Date:
- Fri Jan 29 04:53:38 2021 +0000
- Revision:
- 0:0e0631af0305
copied from https://github.com/d-kato/opencv-lib.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| RyoheiHagimoto | 0:0e0631af0305 | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// |
| RyoheiHagimoto | 0:0e0631af0305 | 2 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. |
| RyoheiHagimoto | 0:0e0631af0305 | 4 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 5 | // By downloading, copying, installing or using the software you agree to this license. |
| RyoheiHagimoto | 0:0e0631af0305 | 6 | // If you do not agree to this license, do not download, install, |
| RyoheiHagimoto | 0:0e0631af0305 | 7 | // copy or use the software. |
| RyoheiHagimoto | 0:0e0631af0305 | 8 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 9 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 10 | // License Agreement |
| RyoheiHagimoto | 0:0e0631af0305 | 11 | // For Open Source Computer Vision Library |
| RyoheiHagimoto | 0:0e0631af0305 | 12 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 14 | // Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 15 | // Third party copyrights are property of their respective owners. |
| RyoheiHagimoto | 0:0e0631af0305 | 16 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 17 | // Redistribution and use in source and binary forms, with or without modification, |
| RyoheiHagimoto | 0:0e0631af0305 | 18 | // are permitted provided that the following conditions are met: |
| RyoheiHagimoto | 0:0e0631af0305 | 19 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 20 | // * Redistribution's of source code must retain the above copyright notice, |
| RyoheiHagimoto | 0:0e0631af0305 | 21 | // this list of conditions and the following disclaimer. |
| RyoheiHagimoto | 0:0e0631af0305 | 22 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 23 | // * Redistribution's in binary form must reproduce the above copyright notice, |
| RyoheiHagimoto | 0:0e0631af0305 | 24 | // this list of conditions and the following disclaimer in the documentation |
| RyoheiHagimoto | 0:0e0631af0305 | 25 | // and/or other materials provided with the distribution. |
| RyoheiHagimoto | 0:0e0631af0305 | 26 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 27 | // * The name of the copyright holders may not be used to endorse or promote products |
| RyoheiHagimoto | 0:0e0631af0305 | 28 | // derived from this software without specific prior written permission. |
| RyoheiHagimoto | 0:0e0631af0305 | 29 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 30 | // This software is provided by the copyright holders and contributors "as is" and |
| RyoheiHagimoto | 0:0e0631af0305 | 31 | // any express or implied warranties, including, but not limited to, the implied |
| RyoheiHagimoto | 0:0e0631af0305 | 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. |
| RyoheiHagimoto | 0:0e0631af0305 | 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, |
| RyoheiHagimoto | 0:0e0631af0305 | 34 | // indirect, incidental, special, exemplary, or consequential damages |
| RyoheiHagimoto | 0:0e0631af0305 | 35 | // (including, but not limited to, procurement of substitute goods or services; |
| RyoheiHagimoto | 0:0e0631af0305 | 36 | // loss of use, data, or profits; or business interruption) however caused |
| RyoheiHagimoto | 0:0e0631af0305 | 37 | // and on any theory of liability, whether in contract, strict liability, |
| RyoheiHagimoto | 0:0e0631af0305 | 38 | // or tort (including negligence or otherwise) arising in any way out of |
| RyoheiHagimoto | 0:0e0631af0305 | 39 | // the use of this software, even if advised of the possibility of such damage. |
| RyoheiHagimoto | 0:0e0631af0305 | 40 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 41 | //M*/ |
| RyoheiHagimoto | 0:0e0631af0305 | 42 | |
| RyoheiHagimoto | 0:0e0631af0305 | 43 | #ifndef OPENCV_VIDEOSTAB_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 44 | #define OPENCV_VIDEOSTAB_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 45 | |
| RyoheiHagimoto | 0:0e0631af0305 | 46 | /** |
| RyoheiHagimoto | 0:0e0631af0305 | 47 | @defgroup videostab Video Stabilization |
| RyoheiHagimoto | 0:0e0631af0305 | 48 | |
| RyoheiHagimoto | 0:0e0631af0305 | 49 | The video stabilization module contains a set of functions and classes that can be used to solve the |
| RyoheiHagimoto | 0:0e0631af0305 | 50 | problem of video stabilization. There are a few methods implemented, most of them are described in |
| RyoheiHagimoto | 0:0e0631af0305 | 51 | the papers @cite OF06 and @cite G11 . However, there are some extensions and deviations from the original |
| RyoheiHagimoto | 0:0e0631af0305 | 52 | paper methods. |
| RyoheiHagimoto | 0:0e0631af0305 | 53 | |
| RyoheiHagimoto | 0:0e0631af0305 | 54 | ### References |
| RyoheiHagimoto | 0:0e0631af0305 | 55 | |
| RyoheiHagimoto | 0:0e0631af0305 | 56 | 1. "Full-Frame Video Stabilization with Motion Inpainting" |
| RyoheiHagimoto | 0:0e0631af0305 | 57 | Yasuyuki Matsushita, Eyal Ofek, Weina Ge, Xiaoou Tang, Senior Member, and Heung-Yeung Shum |
| RyoheiHagimoto | 0:0e0631af0305 | 58 | 2. "Auto-Directed Video Stabilization with Robust L1 Optimal Camera Paths" |
| RyoheiHagimoto | 0:0e0631af0305 | 59 | Matthias Grundmann, Vivek Kwatra, Irfan Essa |
| RyoheiHagimoto | 0:0e0631af0305 | 60 | |
| RyoheiHagimoto | 0:0e0631af0305 | 61 | @{ |
| RyoheiHagimoto | 0:0e0631af0305 | 62 | @defgroup videostab_motion Global Motion Estimation |
| RyoheiHagimoto | 0:0e0631af0305 | 63 | |
| RyoheiHagimoto | 0:0e0631af0305 | 64 | The video stabilization module contains a set of functions and classes for global motion estimation |
| RyoheiHagimoto | 0:0e0631af0305 | 65 | between point clouds or between images. In the last case features are extracted and matched |
| RyoheiHagimoto | 0:0e0631af0305 | 66 | internally. For the sake of convenience the motion estimation functions are wrapped into classes. |
| RyoheiHagimoto | 0:0e0631af0305 | 67 | Both the functions and the classes are available. |
| RyoheiHagimoto | 0:0e0631af0305 | 68 | |
| RyoheiHagimoto | 0:0e0631af0305 | 69 | @defgroup videostab_marching Fast Marching Method |
| RyoheiHagimoto | 0:0e0631af0305 | 70 | |
| RyoheiHagimoto | 0:0e0631af0305 | 71 | The Fast Marching Method @cite Telea04 is used in of the video stabilization routines to do motion and |
| RyoheiHagimoto | 0:0e0631af0305 | 72 | color inpainting. The method is implemented is a flexible way and it's made public for other users. |
| RyoheiHagimoto | 0:0e0631af0305 | 73 | |
| RyoheiHagimoto | 0:0e0631af0305 | 74 | @} |
| RyoheiHagimoto | 0:0e0631af0305 | 75 | |
| RyoheiHagimoto | 0:0e0631af0305 | 76 | */ |
| RyoheiHagimoto | 0:0e0631af0305 | 77 | |
| RyoheiHagimoto | 0:0e0631af0305 | 78 | #include "opencv2/videostab/stabilizer.hpp" |
| RyoheiHagimoto | 0:0e0631af0305 | 79 | #include "opencv2/videostab/ring_buffer.hpp" |
| RyoheiHagimoto | 0:0e0631af0305 | 80 | |
| RyoheiHagimoto | 0:0e0631af0305 | 81 | #endif |