0

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:

  • fq.f is a 6xN matrix with the ellipsoids descriptors of each detected feature in the query.
  • fq.d is a MxN matrix with the M-dimensional features descriptors of each detected feature in the query.

'fq' is an input parameter to the main function 'gm' which carries out the image retrieval task between query image and the R reference images.

function [similarities]= gm(query_path,reference_paths,fq,fr,matches,K)
sansuiso
  • 9,259
  • 1
  • 40
  • 58

0 Answers0