cv::detail namespace#
G-API framework » G-API Main Classes
Namespaces#
Classes#
Enumerations#
enum class cv::detail::OpaqueKind {
cv::detail::OpaqueKind::CV_UNKNOWN,
cv::detail::OpaqueKind::CV_BOOL,
cv::detail::OpaqueKind::CV_INT,
cv::detail::OpaqueKind::CV_INT64,
cv::detail::OpaqueKind::CV_DOUBLE,
cv::detail::OpaqueKind::CV_FLOAT,
cv::detail::OpaqueKind::CV_UINT64,
cv::detail::OpaqueKind::CV_STRING,
cv::detail::OpaqueKind::CV_POINT,
cv::detail::OpaqueKind::CV_POINT2F,
cv::detail::OpaqueKind::CV_POINT3F,
cv::detail::OpaqueKind::CV_SIZE,
cv::detail::OpaqueKind::CV_RECT,
cv::detail::OpaqueKind::CV_SCALAR,
cv::detail::OpaqueKind::CV_MAT,
cv::detail::OpaqueKind::CV_DRAW_PRIM
}
enum cv::detail::WaveCorrectKind {
cv::detail::WAVE_CORRECT_HORIZ,
cv::detail::WAVE_CORRECT_VERT,
cv::detail::WAVE_CORRECT_AUTO
}
Typedef Documentation#
are_meta_descrs#
are_meta_descrs_but_last#
ConstructOpaque#
-
using cv::detail::ConstructOpaque = std::function<void(OpaqueRef&)>#
ConstructVec#
-
using cv::detail::ConstructVec = std::function<void(VectorRef&)>#
g_type_of_t#
GOpaqueTraitsArrayTypes#
GOpaqueTraitsOpaqueTypes#
HostCtor#
-
using cv::detail::HostCtor = util::variant<util::monostate, detail::ConstructVec, detail::ConstructOpaque>#
is_compile_arg#
-
template<typename T>
using cv::detail::is_compile_arg = std::is_same<GCompileArg, typename std::decay<T>::type>#
is_garg#
is_nongapi_type#
last_type_t#
OptionalOpaqueRef#
-
using cv::detail::OptionalOpaqueRef = OptRef<cv::detail::OpaqueRef>#
OptionalVectorRef#
-
using cv::detail::OptionalVectorRef = OptRef<cv::detail::VectorRef>#
ProtoToMetaT#
ProtoToParamT#
valid_infer_types#
wrap_gapi_helper#
wrap_host_helper#
-
template<typename T>
using cv::detail::wrap_host_helper = WrapValue<typename std::decay<g_type_of_t<T>>::type>#
Enumeration Type Documentation#
ArgKind#
enum class cv::detail::ArgKind
|
|
|
|
|
|
|
|
OpaqueKind#
enum class cv::detail::OpaqueKind
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WaveCorrectKind#
enum cv::detail::WaveCorrectKind
|
|
|
Function Documentation#
constructGraphOutputs()#
-
void cv::detail::constructGraphOutputs(const cv::GTypesInfo &out_info, cv::GRunArgs &args, cv::GRunArgsP &outs)#
get_in_meta()#
Warning
doxygenfunction: Unable to resolve function “cv::detail::get_in_meta” with arguments (const GMetaArgs&, const GArgs&, int) in doxygen xml output for project “opencv” from directory: /media/abhishek/hugedrive21/opencv_abhishek/build/doc/doxygen/xml_for_sphinx. Potential matches:
- 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 T> std::enable_if<is_nongapi_type<T>::value, T>::type get_in_meta(const GMetaArgs&, const GArgs &in_args, int idx)
get_in_meta()#
Warning
doxygenfunction: Unable to resolve function “cv::detail::get_in_meta” with arguments (const GMetaArgs&, const GArgs&, int) in doxygen xml output for project “opencv” from directory: /media/abhishek/hugedrive21/opencv_abhishek/build/doc/doxygen/xml_for_sphinx. Potential matches:
- 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 T> std::enable_if<is_nongapi_type<T>::value, T>::type 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...>)#
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()#
Warning
doxygenfunction: Unable to resolve function “cv::detail::make_default” with arguments “()”. Candidate function could not be parsed. Parsing error is Invalid C++ declaration: Expecting “,” or “)” in parameters-and-qualifiers, got “{”. [error at 2] (T{}) make_default() –^
makeCall()#
packArgs()#
-
template<typename ...Ts>
inline GProtoArgs cv::detail::packArgs(Ts... args)#
postprocess()#
postprocess_ocl()#
renderPointsNormals()#
-
void cv::detail::renderPointsNormals(InputArray _points, InputArray _normals, OutputArray image, cv::Vec3f lightLoc)#
renderPointsNormalsColors()#
-
void cv::detail::renderPointsNormalsColors(InputArray _points, InputArray _normals, InputArray _colors, OutputArray image)#
strip()#
unpackBlobs()#
-
inline void cv::detail::unpackBlobs(const cv::GInferInputs::Map &blobs, std::vector<cv::GArg> &args, std::vector<std::string> &names, cv::GKinds &kinds)#
wrap_opt_arg()#
-
template<>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<cv::Mat> &m)#
wrap_opt_arg()#
-
template<>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<cv::MediaFrame> &f)#
wrap_opt_arg()#
-
template<>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<cv::RMat> &m)#
wrap_opt_arg()#
-
template<>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<cv::Scalar> &s)#
wrap_opt_arg()#
-
template<typename T>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<std::vector<T>> &arg)#
wrap_opt_arg()#
-
template<typename T>
inline GOptRunArgP cv::detail::wrap_opt_arg(optional<T> &arg)#
autoDetectWaveCorrectKind()#
calibrateRotatingCamera()#
computeImageFeatures()#
-
void cv::detail::computeImageFeatures(const Ptr<Feature2D> &featuresFinder, InputArray image, ImageFeatures &features, InputArray mask = noArray())#
- Parameters:
featuresFinder –
image –
features –
mask –
computeImageFeatures()#
-
void cv::detail::computeImageFeatures(const Ptr<Feature2D> &featuresFinder, InputArrayOfArrays images, std::vector<ImageFeatures> &features, InputArrayOfArrays masks = noArray())#
- Parameters:
featuresFinder –
images –
features –
masks –
createLaplacePyr()#
-
void cv::detail::createLaplacePyr(InputArray img, int num_levels, std::vector<UMat> &pyr)#
createLaplacePyrGpu()#
-
void cv::detail::createLaplacePyrGpu(InputArray img, int num_levels, std::vector<UMat> &pyr)#
createWeightMap()#
-
void cv::detail::createWeightMap(InputArray mask, float sharpness, InputOutputArray weight)#
estimateFocal()#
-
void cv::detail::estimateFocal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches, std::vector<double> &focals)#
Estimates focal lengths for each given camera.
- Parameters:
features – Features of images.
pairwise_matches – Matches between all image pairs.
focals – Estimated focal lengths for each camera.
findMaxSpanningTree()#
-
void cv::detail::findMaxSpanningTree(int num_images, const std::vector<MatchesInfo> &pairwise_matches, Graph &span_tree, std::vector<int> ¢ers)#
focalsFromHomography()#
-
void cv::detail::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.
See “Construction of Panoramic Image Mosaics with Global and Local Alignment” by Heung-Yeung Shum and Richard Szeliski.
- Parameters:
H – Homography.
f0 – Estimated focal length along X axis.
f1 – Estimated focal length along Y axis.
f0_ok – True, if f0 was estimated successfully, false otherwise.
f1_ok – True, if f1 was estimated successfully, false otherwise.
leaveBiggestComponent()#
-
std::vector<int> cv::detail::leaveBiggestComponent(std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, float conf_threshold)#
matchesGraphAsString()#
-
String cv::detail::matchesGraphAsString(std::vector<String> &paths, std::vector<MatchesInfo> &pairwise_matches, float conf_threshold)#
normalizeUsingWeightMap()#
-
void cv::detail::normalizeUsingWeightMap(InputArray weight, InputOutputArray src)#
overlapRoi()#
restoreImageFromLaplacePyr()#
restoreImageFromLaplacePyrGpu()#
resultRoi()#
resultRoi()#
resultRoiIntersection()#
resultTl()#
selectRandomSubset()#
-
void cv::detail::selectRandomSubset(int count, int size, std::vector<int> &subset)#
stitchingLogLevel()#
-
int &cv::detail::stitchingLogLevel()#
waveCorrect()#
-
void cv::detail::waveCorrect(std::vector<Mat> &rmats, WaveCorrectKind kind)#
Tries to make panorama more horizontal (or vertical).
- Parameters:
rmats – Camera rotation matrices.
kind – Correction kind, see detail::WaveCorrectKind.