sfm.hpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /*
  2. * Software License Agreement (BSD License)
  3. *
  4. * Copyright (c) 2009, Willow Garage, Inc.
  5. * All rights reserved.
  6. *
  7. * Redistribution and use in source and binary forms, with or without
  8. * modification, are permitted provided that the following conditions
  9. * are met:
  10. *
  11. * * Redistributions of source code must retain the above copyright
  12. * notice, this list of conditions and the following disclaimer.
  13. * * Redistributions in binary form must reproduce the above
  14. * copyright notice, this list of conditions and the following
  15. * disclaimer in the documentation and/or other materials provided
  16. * with the distribution.
  17. * * Neither the name of Willow Garage, Inc. nor the names of its
  18. * contributors may be used to endorse or promote products derived
  19. * from this software without specific prior written permission.
  20. *
  21. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  22. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  23. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  24. * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  25. * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  26. * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  27. * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  28. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  29. * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  30. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  31. * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  32. * POSSIBILITY OF SUCH DAMAGE.
  33. *
  34. */
  35. #ifndef __OPENCV_SFM_HPP__
  36. #define __OPENCV_SFM_HPP__
  37. #include <opencv2/sfm/conditioning.hpp>
  38. #include <opencv2/sfm/fundamental.hpp>
  39. #include <opencv2/sfm/io.hpp>
  40. #include <opencv2/sfm/numeric.hpp>
  41. #include <opencv2/sfm/projection.hpp>
  42. #include <opencv2/sfm/triangulation.hpp>
  43. #if CERES_FOUND
  44. #include <opencv2/sfm/reconstruct.hpp>
  45. #include <opencv2/sfm/simple_pipeline.hpp>
  46. #endif
  47. /** @defgroup sfm Structure From Motion
  48. The opencv_sfm module contains algorithms to perform 3d reconstruction
  49. from 2d images.\n
  50. The core of the module is based on a light version of
  51. [Libmv](https://developer.blender.org/project/profile/59) originally
  52. developed by Sameer Agarwal and Keir Mierle.
  53. __Whats is libmv?__ \n
  54. libmv, also known as the Library for Multiview Reconstruction (or LMV),
  55. is the computer vision backend for Blender's motion tracking abilities.
  56. Unlike other vision libraries with general ambitions, libmv is focused
  57. on algorithms for match moving, specifically targeting [Blender](https://developer.blender.org) as the
  58. primary customer. Dense reconstruction, reconstruction from unorganized
  59. photo collections, image recognition, and other tasks are not a focus
  60. of libmv.
  61. __Development__ \n
  62. libmv is officially under the Blender umbrella, and so is developed
  63. on developer.blender.org. The [source repository](https://developer.blender.org/diffusion/LMV) can get checked out
  64. independently from Blender.
  65. This module has been originally developed as a project for Google Summer of Code 2012-2015.
  66. @note
  67. - Notice that it is compiled only when Eigen, GLog and GFlags are correctly installed.\n
  68. Check installation instructions in the following tutorial: @ref tutorial_sfm_installation
  69. @{
  70. @defgroup conditioning Conditioning
  71. @defgroup fundamental Fundamental
  72. @defgroup io Input/Output
  73. @defgroup numeric Numeric
  74. @defgroup projection Projection
  75. @defgroup robust Robust Estimation
  76. @defgroup triangulation Triangulation
  77. @defgroup reconstruction Reconstruction
  78. @note
  79. - Notice that it is compiled only when Ceres Solver is correctly installed.\n
  80. Check installation instructions in the following tutorial: @ref tutorial_sfm_installation
  81. @defgroup simple_pipeline Simple Pipeline
  82. @note
  83. - Notice that it is compiled only when Ceres Solver is correctly installed.\n
  84. Check installation instructions in the following tutorial: @ref tutorial_sfm_installation
  85. @}
  86. */
  87. #endif
  88. /* End of file. */