mexopencv
3.4.1
MEX interface for OpenCV library
|
Common definitions for the shape module. More...
Go to the source code of this file.
Functions | |
MxArray | toStruct (cv::Ptr< cv::HistogramCostExtractor > p) |
Convert a HistogramCostExtractor to MxArray. More... | |
MxArray | toStruct (cv::Ptr< cv::ShapeTransformer > p) |
Convert a ShapeTransformer to MxArray. More... | |
cv::Ptr< cv::HistogramCostExtractor > | create_NormHistogramCostExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of NormHistogramCostExtractor using options in arguments. More... | |
cv::Ptr< cv::HistogramCostExtractor > | create_EMDHistogramCostExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of EMDHistogramCostExtractor using options in arguments. More... | |
cv::Ptr< cv::HistogramCostExtractor > | create_ChiHistogramCostExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of ChiHistogramCostExtractor using options in arguments. More... | |
cv::Ptr< cv::HistogramCostExtractor > | create_EMDL1HistogramCostExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of EMDL1HistogramCostExtractor using options in arguments. More... | |
cv::Ptr< cv::HistogramCostExtractor > | create_HistogramCostExtractor (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of HistogramCostExtractor using options in arguments. More... | |
cv::Ptr< cv::AffineTransformer > | create_AffineTransformer (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of AffineTransformer using options in arguments. More... | |
cv::Ptr< cv::ThinPlateSplineShapeTransformer > | create_ThinPlateSplineShapeTransformer (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of ThinPlateSplineShapeTransformer using options in arguments. More... | |
cv::Ptr< cv::ShapeTransformer > | create_ShapeTransformer (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of ShapeTransformer using options in arguments. More... | |
cv::Ptr< cv::ShapeContextDistanceExtractor > | create_ShapeContextDistanceExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of ShapeContextDistanceExtractor using options in arguments. More... | |
cv::Ptr< cv::HausdorffDistanceExtractor > | create_HausdorffDistanceExtractor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last) |
Create an instance of HausdorffDistanceExtractor using options in arguments. More... | |
Common definitions for the shape module.
Header file for MEX-functions that use shape module from OpenCV library. This file includes maps for option processing, as well as functions for creating instances of classes from parsed arguments.
Definition in file mexopencv_shape.hpp.
cv::Ptr<cv::AffineTransformer> create_AffineTransformer | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of AffineTransformer 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 199 of file mexopencv_shape.cpp.
cv::Ptr<cv::HistogramCostExtractor> create_ChiHistogramCostExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of ChiHistogramCostExtractor 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 113 of file mexopencv_shape.cpp.
cv::Ptr<cv::HistogramCostExtractor> create_EMDHistogramCostExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of EMDHistogramCostExtractor 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 88 of file mexopencv_shape.cpp.
cv::Ptr<cv::HistogramCostExtractor> create_EMDL1HistogramCostExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of EMDL1HistogramCostExtractor 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 135 of file mexopencv_shape.cpp.
cv::Ptr<cv::HausdorffDistanceExtractor> create_HausdorffDistanceExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of HausdorffDistanceExtractor 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 287 of file mexopencv_shape.cpp.
cv::Ptr<cv::HistogramCostExtractor> create_HistogramCostExtractor | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of HistogramCostExtractor using options in arguments.
type | histogram cost extractor type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 157 of file mexopencv_shape.cpp.
cv::Ptr<cv::HistogramCostExtractor> create_NormHistogramCostExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of NormHistogramCostExtractor 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 63 of file mexopencv_shape.cpp.
cv::Ptr<cv::ShapeContextDistanceExtractor> create_ShapeContextDistanceExtractor | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of ShapeContextDistanceExtractor 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 237 of file mexopencv_shape.cpp.
cv::Ptr<cv::ShapeTransformer> create_ShapeTransformer | ( | const std::string & | type, |
std::vector< MxArray >::const_iterator | first, | ||
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of ShapeTransformer using options in arguments.
type | shape transformer type, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 218 of file mexopencv_shape.cpp.
cv::Ptr<cv::ThinPlateSplineShapeTransformer> create_ThinPlateSplineShapeTransformer | ( | std::vector< MxArray >::const_iterator | first, |
std::vector< MxArray >::const_iterator | last | ||
) |
Create an instance of ThinPlateSplineShapeTransformer 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 180 of file mexopencv_shape.cpp.
MxArray toStruct | ( | cv::Ptr< cv::HistogramCostExtractor > | p | ) |
Convert a HistogramCostExtractor to MxArray.
p | smart poitner to an instance of HistogramCostExtractor |
Definition at line 17 of file mexopencv_shape.cpp.
MxArray toStruct | ( | cv::Ptr< cv::ShapeTransformer > | p | ) |
Convert a ShapeTransformer to MxArray.
p | smart poitner to an instance of ShapeTransformer |
Definition at line 40 of file mexopencv_shape.cpp.