Commit f1ce81bda06067933b17d1c6e11c227c173c1841
1 parent
217b09f7
made pixel happy
Showing
1 changed file
with
1 additions
and
1 deletions
sdk/plugins/pixel.cpp
| @@ -52,7 +52,7 @@ class PerPixelClassifier : public MetaTransform | @@ -52,7 +52,7 @@ class PerPixelClassifier : public MetaTransform | ||
| 52 | 52 | ||
| 53 | void rotate(Template &src, Template &dst) const | 53 | void rotate(Template &src, Template &dst) const |
| 54 | { | 54 | { |
| 55 | - if (temp.m.cols()%9 != 0) qFatal("Rotation invariance can only be used after Neighbors"); | 55 | + //if (src.m().cols%9 != 0) qFatal("Rotation invariance can only be used after Neighbors"); |
| 56 | int images = (src.m().cols)/9; | 56 | int images = (src.m().cols)/9; |
| 57 | dst = src; | 57 | dst = src; |
| 58 | for (int i = 0; i < images; i++){ | 58 | for (int i = 0; i < images; i++){ |