vlfeat

OpenCV VLFeat Slic function call

Deadly 提交于 2019-12-04 08:43:28
I am trying to use the vl_slic_segment function of the VLFeat library using an input image stored in an OpenCV Mat. My code is compiling and running, but the output superpixel values do not make sense. Here is my code so far : Mat bgrUChar = imread("/pathtowherever/image.jpg"); Mat bgrFloat; bgrUChar.convertTo(bgrFloat, CV_32FC3, 1.0/255); cv::Mat labFloat; cvtColor(bgrFloat, labFloat, CV_BGR2Lab); Mat labels(labFloat.size(), CV_32SC1); vl_slic_segment(labels.ptr<vl_uint32>(),labFloat.ptr<const float>(),labFloat.cols,labFloat.rows,labFloat.channels(),30,0.1,25); I have tried not converting it

Error using vl_gmm - Attempt to execute script as function

纵然是瞬间 提交于 2019-12-02 22:03:18
问题 Hello I want to use Fisher Vector for my SIFT descriptors. I tried to use the function from VL_FEAT. I added the directory in MATLAB and also run vl_startup. It runs successfully but when I try the example It gives me this error: Attempt to execute SCRIPT vl_gmm as a function: C:\vlfeat-0.9.19.tar\vlfeat-0.9.19\vlfeat-0.9.19\toolbox\gmm\vl_gmm.m Anyone help me how can i solve this? 回答1: I have a couple of suggestions for you to get VLFeat working. I'm not sure if you have tried them all, but

Error using vl_gmm - Attempt to execute script as function

别等时光非礼了梦想. 提交于 2019-12-02 09:54:42
Hello I want to use Fisher Vector for my SIFT descriptors. I tried to use the function from VL_FEAT. I added the directory in MATLAB and also run vl_startup. It runs successfully but when I try the example It gives me this error: Attempt to execute SCRIPT vl_gmm as a function: C:\vlfeat-0.9.19.tar\vlfeat-0.9.19\vlfeat-0.9.19\toolbox\gmm\vl_gmm.m Anyone help me how can i solve this? I have a couple of suggestions for you to get VLFeat working. I'm not sure if you have tried them all, but I will suggest them as we go: Suggestion #1 - Compiling VLFeat if you downloaded just the source Did you

How does vl_ubcmatch work technically?

这一生的挚爱 提交于 2019-12-01 07:55:24
I am reading through vl_ubcmatch's function source code, provided here , and I am trying to understand, how does it compute the score, and how does it work technically internally. However, this C code has these macros, weird ## variables like, and what not, that I don't have experience with. So the main problem here is rather my incompetency in C. If possible, could somebody tell me, how does vl_ubcmatch work exactly? How does it compare two descriptors? This is explained in Sections 7.1 and 7.2 of Distinctive Image Features from Scale-Invariant Keypoints . Documentation for the function is

How does vl_ubcmatch work technically?

只愿长相守 提交于 2019-12-01 06:06:21
问题 I am reading through vl_ubcmatch's function source code, provided here, and I am trying to understand, how does it compute the score, and how does it work technically internally. However, this C code has these macros, weird ## variables like, and what not, that I don't have experience with. So the main problem here is rather my incompetency in C. If possible, could somebody tell me, how does vl_ubcmatch work exactly? How does it compare two descriptors? 回答1: This is explained in Sections 7.1

VLFeat - How to fix “Warning: Name is nonexistent or not a directory”?

笑着哭i 提交于 2019-11-30 12:17:24
I downloaded the VLFeat lib from its git repository! I followed the instruction in the installation page. But when I ran the vl_setup command I got this warning: Warning: Name is nonexistent or not a directory: ..\Adv. 3D Computer Vision\vlfeat\toolbox\mex\mexw32 So follow some steps mentioned in MathWorks website, like 1 , 2 , 3 but the problem didn't solve. I trace the vl_setup.m file and according to the error statement it can not find the mexw32 folder. but there wasn't any folder like that when I downloaded that lib. I'm using Windows 7, Matlab 2013a Did you compile the mex files first

/usr/bin/ld: skipping incompatible foo.so when searching for foo

对着背影说爱祢 提交于 2019-11-28 13:18:17
I am using Ubuntu 13.10 64bit and I am getting the following errors while compiling the python wrappers of vlfeat library. g++ -o _vlfeat.so ../../vl/aib.o ../../vl/generic.o ../../vl/hikmeans.o ../../vl/ikmeans.o ../../vl/imopv.o ../../vl/mathop.o ../../vl/pgm.o ../../vl/rodrigues.o ../../vl/stringop.o ../../vl/getopt_long.o ../../vl/host.o ../../vl/imop.o ../../vl/imopv_sse2.o ../../vl/mser.o ../../vl/random.o ../../vl/sift.o ../../vl/dsift.o mser/vl_erfill.o mser/vl_mser.o sift/vl_sift.o sift/vl_dsift.o sift/vl_siftdescriptor.o imop/vl_imsmooth.o misc/vl_binsum.o kmeans/vl_hikmeans.o kmeans