OpenCV  4.1.0
Open Source Computer Vision
Classes | Typedefs | Enumerations | Functions
cv::detail Namespace Reference

Classes

class  AffineBasedEstimator
 Affine transformation based estimator. More...
 
class  AffineBestOf2NearestMatcher
 Features matcher similar to cv::detail::BestOf2NearestMatcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf. More...
 
class  AffineWarper
 Affine warper that uses rotations and translations. More...
 
class  BasicVectorRef
 
class  BestOf2NearestMatcher
 Features matcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf. More...
 
class  BestOf2NearestRangeMatcher
 
class  Blender
 Base class for all blenders. More...
 
class  BlocksChannelsCompensator
 Exposure compensator which tries to remove exposure related artifacts by adjusting image block on each channel. More...
 
class  BlocksCompensator
 Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks. More...
 
class  BlocksGainCompensator
 Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [216] for details. More...
 
class  BundleAdjusterAffine
 Bundle adjuster that expects affine transformation represented in homogeneous coordinates in R for each camera param. Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares. More...
 
class  BundleAdjusterAffinePartial
 Bundle adjuster that expects affine transformation with 4 DOF represented in homogeneous coordinates in R for each camera param. Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares. More...
 
class  BundleAdjusterBase
 Base class for all camera parameters refinement methods. More...
 
class  BundleAdjusterRay
 Implementation of the camera parameters refinement algorithm which minimizes sum of the distances between the rays passing through the camera center and a feature. : More...
 
class  BundleAdjusterReproj
 Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection error squares. More...
 
struct  CameraParams
 Describes camera parameters. More...
 
class  ChannelsCompensator
 Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently. More...
 
struct  CompileArgTag
 
struct  CompileArgTag< cv::gapi::GKernelPackage >
 
struct  CompileArgTag< cv::gapi::GLookupOrder >
 
struct  CompileArgTag< cv::graph_dump_path >
 
struct  CompileArgTag< GFluidOutputRois >
 
struct  CompressedRectilinearPortraitProjector
 
class  CompressedRectilinearPortraitWarper
 
struct  CompressedRectilinearProjector
 
class  CompressedRectilinearWarper
 
struct  CylindricalPortraitProjector
 
class  CylindricalPortraitWarper
 
struct  CylindricalProjector
 
class  CylindricalWarper
 Warper that maps an image onto the x*x + z*z = 1 cylinder. More...
 
class  CylindricalWarperGpu
 
class  DisjointSets
 
class  DpSeamFinder
 
class  Estimator
 Rotation estimator base class. More...
 
class  ExposureCompensator
 Base class for all exposure compensators. More...
 
class  FeatherBlender
 Simple blender which mixes images at its borders. More...
 
class  FeaturesMatcher
 Feature matchers base class. More...
 
struct  FisheyeProjector
 
class  FisheyeWarper
 
struct  fluid_get_in
 
struct  fluid_get_in< cv::GMat >
 
struct  fluid_get_in< cv::GScalar >
 
struct  FluidCallHelper
 
struct  FluidCallHelper< Impl, std::tuple< Ins... >, std::tuple< Outs... >, UseScratch >
 
class  GainCompensator
 Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see [28] and [239] for details. More...
 
class  GArrayU
 
struct  GCompoundCallHelper
 
struct  GCompoundCallHelper< Impl, std::tuple< Ins... >, std::tuple< Outs... > >
 
struct  GCompoundContext
 
class  GCompoundKernel
 
class  GCompoundKernelImpl
 
struct  get_border_helper
 
struct  get_border_helper< false, Impl, Ins... >
 
struct  get_border_helper< true, Impl, Ins... >
 
struct  get_compound_in
 
struct  get_compound_in< cv::GArray< U > >
 
struct  get_in
 
struct  get_in< cv::GArray< U > >
 
struct  get_in< cv::GMat >
 
struct  get_in< cv::GScalar >
 
struct  get_out
 
struct  get_out< cv::GArray< U > >
 
struct  get_out< cv::GMat >
 
struct  get_out< cv::GScalar >
 
class  Graph
 
class  GraphCutSeamFinder
 Minimum graph cut-based seam estimator. See details in [114] . More...
 
class  GraphCutSeamFinderBase
 Base class for all minimum graph-cut-based seam estimators. More...
 
struct  GraphEdge
 
struct  GTypeOf
 
struct  GTypeOf< cv::gapi::own::Mat >
 
struct  GTypeOf< cv::gapi::own::Scalar >
 
struct  GTypeOf< cv::Mat >
 
struct  GTypeOf< cv::Scalar >
 
struct  GTypeOf< std::vector< U > >
 
struct  GTypeTraits
 
struct  GTypeTraits< cv::GArray< T > >
 
struct  GTypeTraits< cv::GMat >
 
struct  GTypeTraits< cv::GScalar >
 
struct  has_custom_wrap
 
class  HomographyBasedEstimator
 Homography based rotation estimator. More...
 
struct  ImageFeatures
 Structure containing image keypoints and descriptors. More...
 
struct  is_gmat_type
 
struct  is_meta_descr
 
struct  is_meta_descr< GArrayDesc >
 
struct  is_meta_descr< GMatDesc >
 
struct  is_meta_descr< GScalarDesc >
 
struct  last_type
 
struct  last_type< T >
 
struct  last_type< T, Ts... >
 
struct  MatchesInfo
 Structure containing information about matches between two images. More...
 
struct  MercatorProjector
 
class  MercatorWarper
 
struct  MetaHelper
 
struct  MetaHelper< K, std::tuple< Ins... >, Out >
 
struct  MetaHelper< K, std::tuple< Ins... >, std::tuple< Outs... > >
 
struct  MetaType
 
struct  MetaType< cv::GArray< U > >
 
struct  MetaType< cv::GMat >
 
struct  MetaType< cv::GScalar >
 
class  MultiBandBlender
 Blender which uses multi-band blending algorithm (see [31]). More...
 
class  NoBundleAdjuster
 Stub bundle adjuster that does nothing. More...
 
class  NoExposureCompensator
 Stub exposure compensator which does nothing. More...
 
class  NoSeamFinder
 Stub seam estimator which does nothing. More...
 
struct  ocl_get_in
 
struct  ocl_get_in< cv::GArray< U > >
 
struct  ocl_get_in< cv::GMat >
 
struct  ocl_get_in< cv::GScalar >
 
struct  ocl_get_out
 
struct  ocl_get_out< cv::GArray< U > >
 
struct  ocl_get_out< cv::GMat >
 
struct  ocl_get_out< cv::GScalar >
 
struct  OCLCallHelper
 
struct  OCLCallHelper< Impl, std::tuple< Ins... >, std::tuple< Outs... > >
 
struct  OCVCallHelper
 
struct  OCVCallHelper< Impl, std::tuple< Ins... >, std::tuple< Outs... > >
 
class  PairwiseSeamFinder
 Base class for all pairwise seam estimators. More...
 
struct  PaniniPortraitProjector
 
class  PaniniPortraitWarper
 
struct  PaniniProjector
 
class  PaniniWarper
 
struct  PlanePortraitProjector
 
class  PlanePortraitWarper
 
struct  PlaneProjector
 
class  PlaneWarper
 Warper that maps an image onto the z = 1 plane. More...
 
class  PlaneWarperGpu
 
struct  ProjectorBase
 Base class for warping logic implementation. More...
 
struct  ProtoToMeta
 
struct  ProtoToMeta< cv::GArray< U > >
 
struct  ProtoToMeta< cv::GMat >
 
struct  ProtoToMeta< cv::GScalar >
 
struct  ProtoToParam
 
struct  ProtoToParam< cv::GArray< U > >
 
struct  ProtoToParam< cv::GMat >
 
struct  ProtoToParam< cv::GScalar >
 
class  RotationWarper
 Rotation-only model image warper interface. More...
 
class  RotationWarperBase
 Base class for rotation-based warper using a detail::ProjectorBase_ derived class. More...
 
struct  scalar_wrapper
 
struct  scalar_wrapper_ocl
 
struct  scratch_helper
 
struct  scratch_helper< false, Impl, Ins... >
 
struct  scratch_helper< true, Impl, Ins... >
 
class  SeamFinder
 Base class for a seam estimator. More...
 
struct  SphericalPortraitProjector
 
class  SphericalPortraitWarper
 
struct  SphericalProjector
 
class  SphericalWarper
 Warper that maps an image onto the unit sphere located at the origin. More...
 
class  SphericalWarperGpu
 
struct  StereographicProjector
 
class  StereographicWarper
 
class  Timelapser
 
class  TimelapserCrop
 
struct  tracked_cv_mat
 
struct  tracked_cv_umat
 
struct  TransverseMercatorProjector
 
class  TransverseMercatorWarper
 
struct  tuple_wrap_helper
 
struct  tuple_wrap_helper< std::tuple< Objs... > >
 
class  VectorRef
 
class  VectorRefT
 
class  VoronoiSeamFinder
 Voronoi diagram-based seam estimator. More...
 
struct  WrapValue
 
struct  WrapValue< T, typename std::enable_if< has_custom_wrap< T >::value >::type >
 

Typedefs

template<typename... Ts>
using are_meta_descrs = all_satisfy< is_meta_descr, Ts... >
 
template<typename... Ts>
using are_meta_descrs_but_last = all_satisfy< is_meta_descr, typename all_but_last< Ts... >::type >
 
using ConstructVec = std::function< void(VectorRef &)>
 
template<class T >
using g_type_of_t = typename GTypeOf< T >::type
 
template<typename T >
using is_compile_arg = std::is_same< GCompileArg, typename std::decay< T >::type >
 
template<typename T >
using is_garg = std::is_same< GArg, typename std::decay< T >::type >
 
template<typename T >
using is_nongapi_type = std::is_same< T, typename MetaType< T >::type >
 
template<typename... Ts>
using last_type_t = typename last_type< Ts... >::type
 
template<typename T >
using ProtoToMetaT = typename ProtoToMeta< T >::type
 
template<typename T >
using ProtoToParamT = typename ProtoToParam< T >::type
 
template<typename T >
using wrap_gapi_helper = WrapValue< typename std::decay< T >::type >
 
template<typename T >
using wrap_host_helper = WrapValue< typename std::decay< g_type_of_t< T > >::type >
 

Enumerations

enum  ArgKind : int {
  ArgKind::OPAQUE,
  ArgKind::GOBJREF,
  ArgKind::GMAT,
  ArgKind::GSCALAR,
  ArgKind::GARRAY
}
 
enum  WaveCorrectKind {
  WAVE_CORRECT_HORIZ,
  WAVE_CORRECT_VERT
}
 

Functions

bool calibrateRotatingCamera (const std::vector< Mat > &Hs, Mat &K)
 
void computeImageFeatures (const Ptr< Feature2D > &featuresFinder, InputArrayOfArrays images, std::vector< ImageFeatures > &features, InputArrayOfArrays masks=noArray())
 
void computeImageFeatures (const Ptr< Feature2D > &featuresFinder, InputArray image, ImageFeatures &features, InputArray mask=noArray())
 
void createLaplacePyr (InputArray img, int num_levels, std::vector< UMat > &pyr)
 
void createLaplacePyrGpu (InputArray img, int num_levels, std::vector< UMat > &pyr)
 
void createWeightMap (InputArray mask, float sharpness, InputOutputArray weight)
 
void estimateFocal (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< double > &focals)
 Estimates focal lengths for each given camera. More...
 
void findMaxSpanningTree (int num_images, const std::vector< MatchesInfo > &pairwise_matches, Graph &span_tree, std::vector< int > &centers)
 
void focalsFromHomography (const Mat &H, double &f0, double &f1, bool &f0_ok, bool &f1_ok)
 Tries to estimate focal lengths from the given homography under the assumption that the camera undergoes rotations around its centre only. More...
 
template<typename T >
std::enable_if<!is_nongapi_type< T >::value, typename MetaType< T >::type >::type get_in_meta (const GMetaArgs &in_meta, const GArgs &, int idx)
 
template<typename T >
std::enable_if< is_nongapi_type< T >::value, T >::type get_in_meta (const GMetaArgs &, const GArgs &in_args, int idx)
 
template<typename... Ts, int... Indexes>
static GProtoOutputArgs getGOut_impl (const std::tuple< Ts... > &ts, detail::Seq< Indexes... >)
 
std::vector< int > leaveBiggestComponent (std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, float conf_threshold)
 
template<typename T >
auto make_default () -> decltype(T
 
String matchesGraphAsString (std::vector< String > &pathes, std::vector< MatchesInfo > &pairwise_matches, float conf_threshold)
 
void normalizeUsingWeightMap (InputArray weight, InputOutputArray src)
 
bool overlapRoi (Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi)
 
template<typename... Ts>
GProtoArgs packArgs (Ts... args)
 
template<typename... Outputs>
void postprocess (Outputs &... outs)
 
template<typename... Outputs>
void postprocess_ocl (Outputs &... outs)
 
void restoreImageFromLaplacePyr (std::vector< UMat > &pyr)
 
void restoreImageFromLaplacePyrGpu (std::vector< UMat > &pyr)
 
Rect resultRoi (const std::vector< Point > &corners, const std::vector< UMat > &images)
 
Rect resultRoi (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 
Rect resultRoiIntersection (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 
Point resultTl (const std::vector< Point > &corners)
 
void selectRandomSubset (int count, int size, std::vector< int > &subset)
 
int & stitchingLogLevel ()
 
void waveCorrect (std::vector< Mat > &rmats, WaveCorrectKind kind)
 Tries to make panorama more horizontal (or vertical). More...
 

Typedef Documentation

§ are_meta_descrs

template<typename... Ts>
using cv::detail::are_meta_descrs = typedef all_satisfy<is_meta_descr, Ts...>

§ are_meta_descrs_but_last

template<typename... Ts>
using cv::detail::are_meta_descrs_but_last = typedef all_satisfy<is_meta_descr, typename all_but_last<Ts...>::type>

§ ConstructVec

using cv::detail::ConstructVec = typedef std::function<void(VectorRef&)>

§ g_type_of_t

template<class T >
using cv::detail::g_type_of_t = typedef typename GTypeOf<T>::type

§ is_compile_arg

template<typename T >
using cv::detail::is_compile_arg = typedef std::is_same<GCompileArg, typename std::decay<T>::type>

§ is_garg

template<typename T >
using cv::detail::is_garg = typedef std::is_same<GArg, typename std::decay<T>::type>

§ is_nongapi_type

template<typename T >
using cv::detail::is_nongapi_type = typedef std::is_same<T, typename MetaType<T>::type>

§ last_type_t

template<typename... Ts>
using cv::detail::last_type_t = typedef typename last_type<Ts...>::type

§ ProtoToMetaT

template<typename T >
using cv::detail::ProtoToMetaT = typedef typename ProtoToMeta<T>::type

§ ProtoToParamT

template<typename T >
using cv::detail::ProtoToParamT = typedef typename ProtoToParam<T>::type

§ wrap_gapi_helper

template<typename T >
using cv::detail::wrap_gapi_helper = typedef WrapValue<typename std::decay<T>::type>

§ wrap_host_helper

template<typename T >
using cv::detail::wrap_host_helper = typedef WrapValue<typename std::decay<g_type_of_t<T> >::type>

Enumeration Type Documentation

§ ArgKind

enum cv::detail::ArgKind : int
strong
Enumerator
OPAQUE 
GOBJREF 
GMAT 
GSCALAR 
GARRAY 

Function Documentation

§ get_in_meta() [1/2]

template<typename T >
std::enable_if<!is_nongapi_type<T>::value, typename MetaType<T>::type>::type cv::detail::get_in_meta ( const GMetaArgs in_meta,
const GArgs ,
int  idx 
)

§ get_in_meta() [2/2]

template<typename T >
std::enable_if<is_nongapi_type<T>::value, T>::type cv::detail::get_in_meta ( const GMetaArgs ,
const GArgs in_args,
int  idx 
)

§ getGOut_impl()

template<typename... Ts, int... Indexes>
static GProtoOutputArgs cv::detail::getGOut_impl ( const std::tuple< Ts... > &  ts,
detail::Seq< Indexes... >   
)
static

§ make_default()

template<typename T >
auto cv::detail::make_default ( ) -> decltype(T

§ packArgs()

template<typename... Ts>
GProtoArgs cv::detail::packArgs ( Ts...  args)
inline

§ postprocess()

template<typename... Outputs>
void cv::detail::postprocess ( Outputs &...  outs)

§ postprocess_ocl()

template<typename... Outputs>
void cv::detail::postprocess_ocl ( Outputs &...  outs)