diff --git a/openbr/plugins/imgproc/split.cpp b/openbr/plugins/imgproc/split.cpp index 83e5e63..936e335 100644 --- a/openbr/plugins/imgproc/split.cpp +++ b/openbr/plugins/imgproc/split.cpp @@ -51,12 +51,14 @@ BR_REGISTER(Transform, SplitChannelsTransform) class SplitRowsTransform : public UntrainableTransform { Q_OBJECT + Q_PROPERTY(int step READ get_step WRITE set_step RESET reset_step STORED false) + BR_PROPERTY(int, step, 1) void project(const Template &src, Template &dst) const { const Mat &m = src; - for (int i=0; i