remove generic version of GPU channel computer.

This commit is contained in:
marina.kolpakova
2013-03-13 15:06:27 +04:00
parent 3c8e66d580
commit 83e7d3dd67
3 changed files with 7 additions and 152 deletions

View File

@@ -219,7 +219,7 @@ class CV_EXPORTS ChannelsProcessor
public:
enum
{
GENERIC = 1 << 4,
// GENERIC = 1 << 4, does not supported
SEPARABLE = 2 << 4
};
@@ -233,7 +233,7 @@ public:
// Param shrinkage is a resizing factor. Resize is applied before the computing integral sum
// Param bins is a number of HOG-like channels.
// Param flags is a channel computing extra flags.
static cv::Ptr<ChannelsProcessor> create(const int shrinkage, const int bins, const int flags = GENERIC);
static cv::Ptr<ChannelsProcessor> create(const int shrinkage, const int bins, const int flags = SEPARABLE);
virtual ~ChannelsProcessor();
@@ -267,7 +267,7 @@ public:
// Param scales is a number of scales from minScale to maxScale.
// Param flags is an extra tuning flags.
SCascade(const double minScale = 0.4, const double maxScale = 5., const int scales = 55,
const int flags = NO_REJECT || ChannelsProcessor::GENERIC);
const int flags = NO_REJECT | ChannelsProcessor::SEPARABLE);
virtual ~SCascade();