From 5bab078d793f155fdba69c2e92785b7a37cfe20a Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Sun, 11 Aug 2013 17:54:10 -0400 Subject: [PATCH] Do not flatten to a single Mat in CatCols --- openbr/plugins/regions.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/openbr/plugins/regions.cpp b/openbr/plugins/regions.cpp index d4363b5..bd850aa 100644 --- a/openbr/plugins/regions.cpp +++ b/openbr/plugins/regions.cpp @@ -141,13 +141,15 @@ class CatColsTransform : public UntrainableMetaTransform void project(const Template &src, Template &dst) const { + int half = src.size()/2; + for (int i=0; i