ewpnia / vlfeatandopencv Goto Github PK
View Code? Open in Web Editor NEWSome test of Vlfeat and OpenCV for the Similar images
Some test of Vlfeat and OpenCV for the Similar images
Your adaptation of SIFT form vlfeat toolbox to OpenCV works great. I was similarly trying to import Vlfeat covariace detector to OpenCV. I have added below its code snippet. But the number of features detected are zero. Please let me know, what should be corrected.
VlCovDet * covdet = vl_covdet_new(VL_COVDET_METHOD_HESSIAN_LAPLACE);
//set parameters
vl_covdet_set_first_octave(covdet,-1);
vl_covdet_set_octave_resolution(covdet,3);
vl_covdet_set_peak_threshold(covdet, 0.1) ;
vl_covdet_set_edge_threshold(covdet, 1) ;
// process the image and run the detector
vl_covdet_put_image(covdet, ImageData, Image->height, Image->width) ;
vl_covdet_detect(covdet) ;
// get feature frames back
vl_size numFeatures = vl_covdet_get_num_features(covdet) ;
VlCovDetFeature const * feature = (VlCovDetFeature*)vl_covdet_get_features(covdet) ;
for (int i=0;i<numFeatures;i++)
{
float x = feature[i].frame.x;
float y = feature[i].frame.y;
float sigma = 2;//
std::cout << x << "\t" << y << std::endl;
cvDrawCircle(Image, cvPoint(x,y), sigma/2, CV_RGB( 255,255,255));
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.