0

The number of SURF keypoints is different for each image. I'm storing the features for each image in different columns as

FV(N X K)=[FV_IMG1 FV_IMG2]

I tried limiting 10 best features. But ofcourse some image have below 10 features. How to deal with this variability in number of detected features? I came across normalization- I'm not sure how that is done for SURF keypoints?

h612
  • 544
  • 2
  • 11
  • 1
    You have two options main options 1) use a cell array rather than a matrix that you've shown or 2) set the "empty" values to a default value (i.e. NaN, -1, etc.). – Suever Jan 20 '16 at 11:44
  • So since the cell array has different number of items, how can I convert it later to save as .mat file – h612 Jan 21 '16 at 05:59
  • 1
    To save as a .mat file, you just save the variable like you would any other variable. You don't have to do any conversions prior to saving as a cell array. – Suever Jan 21 '16 at 13:15

0 Answers0