Demo entry 6699736

cpp

   

Submitted by lu on Jan 26, 2018 at 09:29
Language: C++. Code size: 342 Bytes.

void detect_surf(surf_feature& src_feature,float paraHessian)
{
	cv::SurfFeatureDetector surfDetector(paraHessian);
	cv::SurfDescriptorExtractor surfExtractor;
	
	surfDetector.detect(src_feature.src_image, src_feature.keyPoints);

	
	surfExtractor.compute(src_feature.src_image, src_feature.keyPoints, src_feature.descriptorMat);

}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).