mexopencv
3.4.1
MEX interface for OpenCV library
|
Implementation of mexopencv_stitching. More...
Go to the source code of this file.
Functions | |
ImageFeatures | MxArrayToImageFeatures (const MxArray &arr, mwIndex idx) |
Convert MxArray to cv::details::ImageFeatures. More... | |
MatchesInfo | MxArrayToMatchesInfo (const MxArray &arr, mwIndex idx) |
Convert MxArray to cv::details::MatchesInfo. More... | |
CameraParams | MxArrayToCameraParams (const MxArray &arr, mwIndex idx) |
Convert MxArray to cv::details::CameraParams. More... | |
vector< ImageFeatures > | MxArrayToVectorImageFeatures (const MxArray &arr) |
Convert MxArray std::vector<cv::details::ImageFeatures> More... | |
vector< MatchesInfo > | MxArrayToVectorMatchesInfo (const MxArray &arr) |
Convert MxArray to std::vector<cv::details::MatchesInfo> More... | |
vector< CameraParams > | MxArrayToVectorCameraParams (const MxArray &arr) |
Convert MxArray to std::vector<cv::details::CameraParams> More... | |
MxArray | toStruct (const ImageFeatures &feat) |
Convert image features to scalar struct. More... | |
MxArray | toStruct (const vector< ImageFeatures > &features) |
Convert image features to struct array. More... | |
MxArray | toStruct (const MatchesInfo &matches_info) |
Convert matches to scalar struct. More... | |
MxArray | toStruct (const vector< MatchesInfo > &pairwise_matches) |
Convert matches to struct array. More... | |
MxArray | toStruct (const CameraParams ¶ms) |
Convert cameras params to scalar struct. More... | |
MxArray | toStruct (const vector< CameraParams > &cameras) |
Convert cameras params to struct array. More... | |
MxArray | toStruct (Ptr< FeaturesFinder > p) |
Convert a FeaturesFinder to MxArray. More... | |
MxArray | toStruct (Ptr< FeaturesMatcher > p) |
MxArray | toStruct (Ptr< Estimator > p) |
Convert a Estimator to MxArray. More... | |
MxArray | toStruct (Ptr< BundleAdjusterBase > p) |
Convert a BundleAdjusterBase to MxArray. More... | |
MxArray | toStruct (Ptr< WarperCreator > p) |
MxArray | toStruct (Ptr< ExposureCompensator > p) |
Convert a ExposureCompensator to MxArray. More... | |
MxArray | toStruct (Ptr< SeamFinder > p) |
Convert a SeamFinder to MxArray. More... | |
MxArray | toStruct (Ptr< Blender > p) |
Convert a Blender to MxArray. More... | |
Ptr< OrbFeaturesFinder > | createOrbFeaturesFinder (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of OrbFeaturesFinder using options in arguments. More... | |
Ptr< AKAZEFeaturesFinder > | createAKAZEFeaturesFinder (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of AKAZEFeaturesFinder using options in arguments. More... | |
Ptr< FeaturesFinder > | createFeaturesFinder (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of FeaturesFinder using options in arguments. More... | |
Ptr< BestOf2NearestMatcher > | createBestOf2NearestMatcher (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of BestOf2NearestMatcher using options in arguments. More... | |
Ptr< BestOf2NearestRangeMatcher > | createBestOf2NearestRangeMatcher (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of BestOf2NearestRangeMatcher using options in arguments. More... | |
Ptr< AffineBestOf2NearestMatcher > | createAffineBestOf2NearestMatcher (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of AffineBestOf2NearestMatcher using options in arguments. More... | |
Ptr< FeaturesMatcher > | createFeaturesMatcher (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of FeaturesMatcher using options in arguments. More... | |
Ptr< HomographyBasedEstimator > | createHomographyBasedEstimator (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of HomographyBasedEstimator using options in arguments. More... | |
Ptr< Estimator > | createEstimator (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of Estimator using options in arguments. More... | |
Ptr< BundleAdjusterBase > | createBundleAdjusterBase (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of BundleAdjusterBase using options in arguments. More... | |
Ptr< cv::CompressedRectilinearWarper > | createCompressedRectilinearWarper (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of CompressedRectilinearWarper using options in arguments. More... | |
Ptr< cv::CompressedRectilinearPortraitWarper > | createCompressedRectilinearPortraitWarper (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of CompressedRectilinearPortraitWarper using options in arguments. More... | |
Ptr< cv::PaniniWarper > | createPaniniWarper (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of PaniniWarper using options in arguments. More... | |
Ptr< cv::PaniniPortraitWarper > | createPaniniPortraitWarper (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of PaniniPortraitWarper using options in arguments. More... | |
Ptr< WarperCreator > | createWarperCreator (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of WarperCreator using options in arguments. More... | |
Ptr< RotationWarper > | createRotationWarper (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last, float scale) |
Create an instance of RotationWarper using options in arguments. More... | |
Ptr< BlocksGainCompensator > | createBlocksGainCompensator (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of BlocksGainCompensator using options in arguments. More... | |
Ptr< ExposureCompensator > | createExposureCompensator (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of ExposureCompensator using options in arguments. More... | |
Ptr< DpSeamFinder > | createDpSeamFinder (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of DpSeamFinder using options in arguments. More... | |
Ptr< GraphCutSeamFinder > | createGraphCutSeamFinder (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of GraphCutSeamFinder using options in arguments. More... | |
Ptr< SeamFinder > | createSeamFinder (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of SeamFinder using options in arguments. More... | |
Ptr< FeatherBlender > | createFeatherBlender (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of FeatherBlender using options in arguments. More... | |
Ptr< MultiBandBlender > | createMultiBandBlender (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of MultiBandBlender using options in arguments. More... | |
Ptr< Blender > | createBlender (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of Blender using options in arguments. More... | |
Variables | |
const ConstMap< string, int > | KAZEDiffusivityType |
KAZE Diffusivity type. More... | |
const ConstMap< string, int > | AKAZEDescriptorType |
AKAZE descriptor type. More... | |
Ptr<AffineBestOf2NearestMatcher> createAffineBestOf2NearestMatcher | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of AffineBestOf2NearestMatcher using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 497 of file mexopencv_stitching.cpp.
Ptr<AKAZEFeaturesFinder> createAKAZEFeaturesFinder | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of AKAZEFeaturesFinder using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 335 of file mexopencv_stitching.cpp.
Ptr<BestOf2NearestMatcher> createBestOf2NearestMatcher | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of BestOf2NearestMatcher using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 436 of file mexopencv_stitching.cpp.
Ptr<BestOf2NearestRangeMatcher> createBestOf2NearestRangeMatcher | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of BestOf2NearestRangeMatcher using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 465 of file mexopencv_stitching.cpp.
Ptr<Blender> createBlender | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of Blender using options in arguments.
type | blender type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 959 of file mexopencv_stitching.cpp.
Ptr<BlocksGainCompensator> createBlocksGainCompensator | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of BlocksGainCompensator using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 789 of file mexopencv_stitching.cpp.
Ptr<BundleAdjusterBase> createBundleAdjusterBase | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of BundleAdjusterBase using options in arguments.
type | bundle adjuster type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 587 of file mexopencv_stitching.cpp.
Ptr<cv::CompressedRectilinearPortraitWarper> createCompressedRectilinearPortraitWarper | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of CompressedRectilinearPortraitWarper using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 649 of file mexopencv_stitching.cpp.
Ptr<cv::CompressedRectilinearWarper> createCompressedRectilinearWarper | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of CompressedRectilinearWarper using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 627 of file mexopencv_stitching.cpp.
Ptr<DpSeamFinder> createDpSeamFinder | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of DpSeamFinder using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 838 of file mexopencv_stitching.cpp.
Ptr<Estimator> createEstimator | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of Estimator using options in arguments.
type | features matcher type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 566 of file mexopencv_stitching.cpp.
Ptr<ExposureCompensator> createExposureCompensator | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of ExposureCompensator using options in arguments.
type | exposure compensator type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 811 of file mexopencv_stitching.cpp.
Ptr<FeatherBlender> createFeatherBlender | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of FeatherBlender using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 914 of file mexopencv_stitching.cpp.
Ptr<FeaturesFinder> createFeaturesFinder | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of FeaturesFinder using options in arguments.
type | features finder type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 408 of file mexopencv_stitching.cpp.
Ptr<FeaturesMatcher> createFeaturesMatcher | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of FeaturesMatcher using options in arguments.
type | features matcher type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 526 of file mexopencv_stitching.cpp.
Ptr<GraphCutSeamFinder> createGraphCutSeamFinder | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of GraphCutSeamFinder using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 857 of file mexopencv_stitching.cpp.
Ptr<HomographyBasedEstimator> createHomographyBasedEstimator | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of HomographyBasedEstimator using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 547 of file mexopencv_stitching.cpp.
Ptr<MultiBandBlender> createMultiBandBlender | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of MultiBandBlender using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 933 of file mexopencv_stitching.cpp.
Ptr<OrbFeaturesFinder> createOrbFeaturesFinder | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of OrbFeaturesFinder using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 307 of file mexopencv_stitching.cpp.
Ptr<cv::PaniniPortraitWarper> createPaniniPortraitWarper | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of PaniniPortraitWarper using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 693 of file mexopencv_stitching.cpp.
Ptr<cv::PaniniWarper> createPaniniWarper | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of PaniniWarper using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 671 of file mexopencv_stitching.cpp.
Ptr<RotationWarper> createRotationWarper | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last, | ||
float | scale = 1.0f |
||
) |
Create an instance of RotationWarper using options in arguments.
type | rotation warper type, passed to createWarperCreator() |
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
scale |
Definition at line 779 of file mexopencv_stitching.cpp.
Ptr<SeamFinder> createSeamFinder | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of SeamFinder using options in arguments.
type | seam finder type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 882 of file mexopencv_stitching.cpp.
Ptr<WarperCreator> createWarperCreator | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of WarperCreator using options in arguments.
type | warper creator type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 715 of file mexopencv_stitching.cpp.
CameraParams MxArrayToCameraParams | ( | const MxArray & | arr, |
mwIndex | idx = 0 |
||
) |
Convert MxArray to cv::details::CameraParams.
arr | struct-array MxArray object |
idx | linear index of the struct array element |
Definition at line 60 of file mexopencv_stitching.cpp.
ImageFeatures MxArrayToImageFeatures | ( | const MxArray & | arr, |
mwIndex | idx = 0 |
||
) |
Convert MxArray to cv::details::ImageFeatures.
arr | struct-array MxArray object |
idx | linear index of the struct array element |
Definition at line 35 of file mexopencv_stitching.cpp.
MatchesInfo MxArrayToMatchesInfo | ( | const MxArray & | arr, |
mwIndex | idx = 0 |
||
) |
Convert MxArray to cv::details::MatchesInfo.
arr | struct-array MxArray object |
idx | linear index of the struct array element |
Definition at line 47 of file mexopencv_stitching.cpp.
vector<CameraParams> MxArrayToVectorCameraParams | ( | const MxArray & | arr | ) |
Convert MxArray to std::vector<cv::details::CameraParams>
arr | struct-array MxArray object |
Definition at line 106 of file mexopencv_stitching.cpp.
vector<ImageFeatures> MxArrayToVectorImageFeatures | ( | const MxArray & | arr | ) |
Convert MxArray std::vector<cv::details::ImageFeatures>
arr | struct-array MxArray object |
Definition at line 72 of file mexopencv_stitching.cpp.
vector<MatchesInfo> MxArrayToVectorMatchesInfo | ( | const MxArray & | arr | ) |
Convert MxArray to std::vector<cv::details::MatchesInfo>
arr | struct-array MxArray object |
Definition at line 89 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const cv::detail::ImageFeatures & | feat | ) |
Convert image features to scalar struct.
feat | instance of image features |
Definition at line 123 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const std::vector< cv::detail::ImageFeatures > & | features | ) |
Convert image features to struct array.
features | vector of image features |
Definition at line 134 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const cv::detail::MatchesInfo & | matches_info | ) |
Convert matches to scalar struct.
matches_info | instance of matches info |
Definition at line 147 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const std::vector< cv::detail::MatchesInfo > & | pairwise_matches | ) |
Convert matches to struct array.
pairwise_matches | vector of matches info |
Definition at line 162 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const cv::detail::CameraParams & | params | ) |
Convert cameras params to scalar struct.
params | instance of camera params |
Definition at line 179 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | const std::vector< cv::detail::CameraParams > & | cameras | ) |
Convert cameras params to struct array.
cameras | vector of camera params |
Definition at line 193 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::FeaturesFinder > | p | ) |
Convert a FeaturesFinder to MxArray.
p | smart poitner to an instance of FeaturesFinder |
Definition at line 212 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | Ptr< FeaturesMatcher > | p | ) |
Definition at line 222 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::Estimator > | p | ) |
Convert a Estimator to MxArray.
p | smart poitner to an instance of Estimator |
Definition at line 232 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::BundleAdjusterBase > | p | ) |
Convert a BundleAdjusterBase to MxArray.
p | smart poitner to an instance of BundleAdjusterBase |
Definition at line 241 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | Ptr< WarperCreator > | p | ) |
Definition at line 253 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::ExposureCompensator > | p | ) |
Convert a ExposureCompensator to MxArray.
p | smart poitner to an instance of ExposureCompensator |
Definition at line 262 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::SeamFinder > | p | ) |
Convert a SeamFinder to MxArray.
p | smart poitner to an instance of SeamFinder |
Definition at line 271 of file mexopencv_stitching.cpp.
MxArray toStruct | ( | cv::Ptr< cv::detail::Blender > | p | ) |
Convert a Blender to MxArray.
p | smart poitner to an instance of Blender |
Definition at line 285 of file mexopencv_stitching.cpp.
AKAZE descriptor type.
Definition at line 26 of file mexopencv_stitching.cpp.
KAZE Diffusivity type.
Definition at line 19 of file mexopencv_stitching.cpp.