mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 00:01:17 +08:00
Detection test, smoothed removal, setter modified, samples corrected
This commit is contained in:
@@ -190,14 +190,12 @@ class CV_EXPORTS_W BinaryDescriptor : public Algorithm
|
||||
|
||||
/* requires descriptors computation (only one image) */
|
||||
CV_WRAP
|
||||
void compute( const Mat& image, CV_OUT CV_IN_OUT std::vector<KeyLine>& keylines, CV_OUT Mat& descriptors, bool returnFloatDescr = false,
|
||||
bool useDetectionData = false ) const;
|
||||
void compute( const Mat& image, CV_OUT CV_IN_OUT std::vector<KeyLine>& keylines, CV_OUT Mat& descriptors, bool returnFloatDescr = false ) const;
|
||||
|
||||
/* requires descriptors computation (more than one image) */
|
||||
CV_WRAP
|
||||
void compute( const std::vector<Mat>& images, std::vector<std::vector<KeyLine> >& keylines, std::vector<Mat>& descriptors, bool returnFloatDescr =
|
||||
false,
|
||||
bool useDetectionData = false ) const;
|
||||
false ) const;
|
||||
|
||||
/* returns descriptor size */
|
||||
CV_WRAP
|
||||
|
@@ -106,21 +106,19 @@ class EDLineDetector
|
||||
/*extract edges from image
|
||||
*image: In, gray image;
|
||||
*edges: Out, store the edges, each edge is a pixel chain
|
||||
*smoothed: In, flag to mark whether the image has already been smoothed by Gaussian filter.
|
||||
*return -1: error happen
|
||||
*/
|
||||
int EdgeDrawing( cv::Mat &image, EdgeChains &edgeChains, bool smoothed );
|
||||
int EdgeDrawing( cv::Mat &image, EdgeChains &edgeChains );
|
||||
|
||||
/*extract lines from image
|
||||
*image: In, gray image;
|
||||
*lines: Out, store the extracted lines,
|
||||
*smoothed: In, flag to mark whether the image has already been smoothed by Gaussian filter.
|
||||
*return -1: error happen
|
||||
*/
|
||||
int EDline( cv::Mat &image, LineChains &lines, bool smoothed );
|
||||
int EDline( cv::Mat &image, LineChains &lines );
|
||||
|
||||
/* extract line from image, and store them */
|
||||
int EDline( cv::Mat &image, bool smoothed );
|
||||
int EDline( cv::Mat &image );
|
||||
|
||||
cv::Mat dxImg_; //store the dxImg;
|
||||
|
||||
|
Reference in New Issue
Block a user