I'm trying to use BagOfVisualWords with LinearBinaryPattern, but an algorythm consumes a lot of memory and throws OutOfMemeoryException. However It works perfectly with HOG and FREAK.
example code:
var lbp = new LocalBinaryPattern(); //with default params
int wordClusters = 32;
var bow = new BagOfVisualWords<FeatureDescriptor>(lbp, wordClusters);
Data: two RGB images 250 x 200 px
I tried to change params in LBP and number of clusters in BoVW. Any ideas?
Thanks a lot!