Increased the threshold for using separable filters.

This commit is contained in:
Davis King 2013-11-11 21:20:09 -05:00
parent 0ffdc78242
commit 64f36ea160

View File

@ -581,7 +581,7 @@ namespace dlib
for (unsigned long l = 0; l < feats.size(); ++l) for (unsigned long l = 0; l < feats.size(); ++l)
{ {
rectangle area; rectangle area;
if (num_separable_filters > 62) if (num_separable_filters > 31*3)
{ {
area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]); area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]);
for (unsigned long i = 1; i < w.filters.size(); ++i) for (unsigned long i = 1; i < w.filters.size(); ++i)