VLFeat open source library does not return structure Fq consisting of ellipsoids descriptors and gives error message ??? Attempt to reference field of non-structure array.
5 views (last 30 days)
Show older comments
Sushant Hiwale
on 7 Apr 2015
Commented: Sushant Hiwale
on 10 Apr 2015
I am working on an image retrieval project. It requires The VLFeat open source library which implements popular computer vision algorithms specializing in image understanding and local features extraction and matching. Even after successful implementation of VLFEAT toolbox I get the following error:
??? Attempt to reference field of non-structure array.
Error in ==> gm at 84 locs = fq.f(1:2,:);
fq is a struct with the N query features as returned by VLFEAT: contains of two elements: 1.- fq.f is a 6xN matrix with the ellipsoids descriptors of each detected feature in the query. 2.- fq.d is a MxN matrix with the M-dimensional features descriptors of each detected feature in the query.
0 Comments
Accepted Answer
Dima Lisin
on 8 Apr 2015
It looks like fq is not a struct. Put a breakpoint at that line, and see what it is. My guess is that it may be empty.
3 Comments
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!