Loading...
Searching...
No Matches
cv::detail Namespace Reference
Namespaces | |
namespace | contrib_feature |
namespace | kalman_filters |
namespace | online_boosting |
namespace | tbm |
namespace | tld |
namespace | tracking |
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 > |
typedef std::vector< std::pair< Ptr< TrackerTargetState >, float > > | ConfidenceMap |
Represents the model of the target at frame \(k\) (all states and scores) | |
using | ConstructOpaque = std::function< void(OpaqueRef &)> |
using | ConstructVec = std::function< void(VectorRef &)> |
template<class T > | |
using | g_type_of_t = typename GTypeOf< T >::type |
using | GOpaqueTraitsArrayTypes = std::tuple< int, double, float, uint64_t, bool, std::string, cv::Size, cv::Scalar, cv::Point, cv::Point2f, cv::Point3f, cv::Mat, cv::Rect, cv::gapi::wip::draw::Prim > |
using | GOpaqueTraitsOpaqueTypes = std::tuple< int, double, float, uint64_t, bool, std::string, cv::Size, cv::Point, cv::Point2f, cv::Point3f, cv::Rect, cv::gapi::wip::draw::Prim > |
using | HostCtor = util::variant< util::monostate, detail::ConstructVec, detail::ConstructOpaque > |
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 |
using | OptionalOpaqueRef = OptRef< cv::detail::OpaqueRef > |
using | OptionalVectorRef = OptRef< cv::detail::VectorRef > |
template<typename T > | |
using | ProtoToMetaT = typename ProtoToMeta< T >::type |
template<typename T > | |
using | ProtoToParamT = typename ProtoToParam< T >::type |
typedef std::vector< Ptr< TrackerTargetState > > | Trajectory |
Represents the estimate states for all frames. | |
template<typename... Ts> | |
using | valid_infer_types = all_satisfy< accepted_infer_types, Ts... > |
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 class | ArgKind : int { OPAQUE_VAL , GOBJREF , GMAT , GMATP , GFRAME , GSCALAR , GARRAY , GOPAQUE } |
enum class | OpaqueKind : int { CV_UNKNOWN , CV_BOOL , CV_INT , CV_INT64 , CV_DOUBLE , CV_FLOAT , CV_UINT64 , CV_STRING , CV_POINT , CV_POINT2F , CV_POINT3F , CV_SIZE , CV_RECT , CV_SCALAR , CV_MAT , CV_DRAW_PRIM } |
enum | WaveCorrectKind { WAVE_CORRECT_HORIZ , WAVE_CORRECT_VERT , WAVE_CORRECT_AUTO } |
Functions | |
template<class Feature > | |
void | _writeFeatures (const std::vector< Feature > features, FileStorage &fs, const Mat &featureMap) |
WaveCorrectKind | autoDetectWaveCorrectKind (const std::vector< Mat > &rmats) |
Tries to detect the wave correction kind depending on whether a panorama spans horizontally or vertically. | |
float | calcNormFactor (const Mat &sum, const Mat &sqSum) |
bool | calibrateRotatingCamera (const std::vector< Mat > &Hs, Mat &K) |
void | computeImageFeatures (const Ptr< Feature2D > &featuresFinder, InputArray image, ImageFeatures &features, InputArray mask=noArray()) |
void | computeImageFeatures (const Ptr< Feature2D > &featuresFinder, InputArrayOfArrays images, std::vector< ImageFeatures > &features, InputArrayOfArrays masks=noArray()) |
void | constructGraphOutputs (const cv::GTypesInfo &out_info, cv::GRunArgs &args, cv::GRunArgsP &outs) |
Ptr< UnscentedKalmanFilter > | createAugmentedUnscentedKalmanFilter (const AugmentedUnscentedKalmanFilterParams ¶ms) |
Augmented Unscented Kalman Filter factory method. | |
void | createLaplacePyr (InputArray img, int num_levels, std::vector< UMat > &pyr) |
void | createLaplacePyrGpu (InputArray img, int num_levels, std::vector< UMat > &pyr) |
Ptr< UnscentedKalmanFilter > | createUnscentedKalmanFilter (const UnscentedKalmanFilterParams ¶ms) |
Unscented Kalman Filter factory method. | |
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. | |
void | findMaxSpanningTree (int num_images, const std::vector< MatchesInfo > &pairwise_matches, Graph &span_tree, std::vector< int > ¢ers) |
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. | |
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 T > | |
std::enable_if<!is_nongapi_type< T >::value, typenameMetaType< T >::type >::type | get_in_meta (const GMetaArgs &in_meta, const GArgs &, int idx) |
template<typename... Ts, int... Indexes> | |
static GProtoOutputArgs | getGOut_impl (const std::tuple< Ts... > &ts, detail::Seq< Indexes... >) |
template<typename InferType > | |
InferROITraits< InferType >::outType | inferGenericROI (const std::string &tag, const typename InferROITraits< InferType >::inType &in, const cv::GInferInputs &inputs) |
std::vector< int > | leaveBiggestComponent (std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, float conf_threshold) |
template<typename T > | |
auto | make_default () -> decltype(T{}) |
template<typename InferT > | |
std::shared_ptr< cv::GCall > | makeCall (const std::string &tag, std::vector< cv::GArg > &&args, std::vector< std::string > &&names, cv::GKinds &&kinds) |
String | matchesGraphAsString (std::vector< String > &paths, 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< Size > &sizes) |
Rect | resultRoi (const std::vector< Point > &corners, const std::vector< UMat > &images) |
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 () |
template<typename T > | |
gapi::GNetParam | strip (T &&t) |
void | unpackBlobs (const cv::GInferInputs::Map &blobs, std::vector< cv::GArg > &args, std::vector< std::string > &names, cv::GKinds &kinds) |
void | waveCorrect (std::vector< Mat > &rmats, WaveCorrectKind kind) |
Tries to make panorama more horizontal (or vertical). | |
template<> | |
GOptRunArgP | wrap_opt_arg (optional< cv::Mat > &m) |
template<> | |
GOptRunArgP | wrap_opt_arg (optional< cv::MediaFrame > &f) |
template<> | |
GOptRunArgP | wrap_opt_arg (optional< cv::RMat > &m) |
template<> | |
GOptRunArgP | wrap_opt_arg (optional< cv::Scalar > &s) |
template<typename T > | |
GOptRunArgP | wrap_opt_arg (optional< std::vector< T > > &arg) |
template<typename T > | |
GOptRunArgP | wrap_opt_arg (optional< T > &arg) |
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> |
◆ ConstructOpaque
using cv::detail::ConstructOpaque = typedef std::function<void(OpaqueRef&)> |
◆ 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 |
◆ GOpaqueTraitsArrayTypes
using cv::detail::GOpaqueTraitsArrayTypes = typedef std::tuple<int, double, float, uint64_t, bool, std::string, cv::Size, cv::Scalar, cv::Point, cv::Point2f, cv::Point3f, cv::Mat, cv::Rect, cv::gapi::wip::draw::Prim> |
◆ GOpaqueTraitsOpaqueTypes
using cv::detail::GOpaqueTraitsOpaqueTypes = typedef std::tuple<int, double, float, uint64_t, bool, std::string, cv::Size, cv::Point, cv::Point2f, cv::Point3f, cv::Rect, cv::gapi::wip::draw::Prim> |
◆ HostCtor
using cv::detail::HostCtor = typedef util::variant < util::monostate , detail::ConstructVec , detail::ConstructOpaque > |
◆ 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 |
◆ OptionalOpaqueRef
using cv::detail::OptionalOpaqueRef = typedef OptRef<cv::detail::OpaqueRef> |
◆ OptionalVectorRef
using cv::detail::OptionalVectorRef = typedef OptRef<cv::detail::VectorRef> |
◆ 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 |
◆ valid_infer_types
template<typename... Ts>
using cv::detail::valid_infer_types = typedef all_satisfy<accepted_infer_types, Ts...> |
◆ 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
|
strong |
◆ OpaqueKind
|
strong |
Function Documentation
◆ constructGraphOutputs()
void cv::detail::constructGraphOutputs | ( | const cv::GTypesInfo & | out_info, |
cv::GRunArgs & | args, | ||
cv::GRunArgsP & | outs | ||
) |
◆ get_in_meta() [1/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 | ||
) |
◆ get_in_meta() [2/2]
template<typename T >
std::enable_if<!is_nongapi_type< T >::value, typenameMetaType< T >::type >::type cv::detail::get_in_meta | ( | const GMetaArgs & | in_meta, |
const GArgs & | , | ||
int | idx | ||
) |
◆ getGOut_impl()
template<typename... Ts, int... Indexes>
|
static |
◆ inferGenericROI()
template<typename InferType >
InferROITraits< InferType >::outType cv::detail::inferGenericROI | ( | const std::string & | tag, |
const typename InferROITraits< InferType >::inType & | in, | ||
const cv::GInferInputs & | inputs | ||
) |
◆ make_default()
template<typename T >
auto cv::detail::make_default | ( | ) | -> decltype(T{}) |
◆ makeCall()
template<typename InferT >
std::shared_ptr< cv::GCall > cv::detail::makeCall | ( | const std::string & | tag, |
std::vector< cv::GArg > && | args, | ||
std::vector< std::string > && | names, | ||
cv::GKinds && | kinds | ||
) |
◆ packArgs()
template<typename... Ts>
|
inline |
◆ postprocess()
template<typename... Outputs>
void cv::detail::postprocess | ( | Outputs &... | outs | ) |
◆ postprocess_ocl()
template<typename... Outputs>
void cv::detail::postprocess_ocl | ( | Outputs &... | outs | ) |
◆ strip()
template<typename T >
gapi::GNetParam cv::detail::strip | ( | T && | t | ) |
◆ unpackBlobs()
|
inline |
◆ wrap_opt_arg() [1/6]
template<>
|
inline |
◆ wrap_opt_arg() [2/6]
template<>
|
inline |
◆ wrap_opt_arg() [3/6]
template<>
|
inline |
◆ wrap_opt_arg() [4/6]
template<>
|
inline |
◆ wrap_opt_arg() [5/6]
template<typename T >
|
inline |
◆ wrap_opt_arg() [6/6]
template<typename T >
|
inline |