I am using opencv class orb for feature extraction. As I see for every input image it gives several interest points as a feature vector. However, I ve got a database of images and I want to calculate the feature vector of all these images for classification purposes. I am wandering how is it possible to create to sample all these interest points in a fix size. Am I supposed to create a visual codebook of images?