diff --git a/openbr/plugins/imgproc/split.cpp b/openbr/plugins/imgproc/split.cpp index 7819de9..f10f792 100644 --- a/openbr/plugins/imgproc/split.cpp +++ b/openbr/plugins/imgproc/split.cpp @@ -53,13 +53,20 @@ class SplitRowsTransform : public UntrainableTransform { Q_OBJECT Q_PROPERTY(int step READ get_step WRITE set_step RESET reset_step STORED false) + Q_PROPERTY(bool cols READ get_cols WRITE set_cols RESET reset_cols STORED false) BR_PROPERTY(int, step, 1) + BR_PROPERTY(bool, cols, false) void project(const Template &src, Template &dst) const { const Mat &m = src; - for (int i=0; i