removed extra whitespaces and hopefully fixed the test failures

This commit is contained in:
Vadim Pisarevsky
2013-12-23 18:41:54 +04:00
parent d084d19779
commit 8998186ce4
4 changed files with 39 additions and 34 deletions

View File

@@ -251,9 +251,9 @@ public:
{
Feature();
bool read( const FileNode& node );
bool tilted;
enum { RECT_NUM = 3 };
struct
{
@@ -373,11 +373,11 @@ public:
Rect rect; // weight and height for block
};
struct OptFeature
{
OptFeature();
int calc( const int* pwin ) const;
void setOffsets( const Feature& _f, int step );
int ofs[16];
@@ -403,10 +403,10 @@ protected:
Ptr<std::vector<Feature> > features;
Ptr<std::vector<OptFeature> > optfeatures;
OptFeature* optfeaturesPtr; // optimization
Mat sum0, sum;
UMat usum0, usum, ufbuf;
const int* pwin;
};
@@ -415,7 +415,7 @@ inline LBPEvaluator::Feature :: Feature()
{
rect = Rect();
}
inline LBPEvaluator::OptFeature :: OptFeature()
{
for( int i = 0; i < 16; i++ )