I implemented the Spatial Pyramid Matching algorithm designed by
Lazebnik in Matlab and the last step is to do the svm
classification. And at this point I totally don't understand how I
should do that in terms of what input I should provide to the svmtrain and
svmclassify functions to get the pairs of feature point coordinates of
train and test image in the end.
I have:
- coordinates of
SIFTfeature points on the train image - coordinates of SIFT feature points on the train image
- intersection kernel matrix for train image
- intersection kernel matrix for test image.
Which of these I should use?