From 71df2249cbe4eafca381cabb45f8af48569762c9 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 31 Aug 2021 17:38:18 -0600 Subject: [PATCH] remove scalemat --- openbr/plugins/imgproc/scalemat.cpp | 37 ------------------------------------- 1 file changed, 0 insertions(+), 37 deletions(-) delete mode 100644 openbr/plugins/imgproc/scalemat.cpp diff --git a/openbr/plugins/imgproc/scalemat.cpp b/openbr/plugins/imgproc/scalemat.cpp deleted file mode 100644 index 56b1001..0000000 --- a/openbr/plugins/imgproc/scalemat.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright 2015 Rank One Computing - * * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#include - -#include - -using namespace cv; - -namespace br -{ - -/*! - * \ingroup transforms - * \brief Scales the mat values by provided factor - * \author Brendan Klare \cite bklare - */ -class ScaleMatTransform : public UntrainableTransform -{ - Q_OBJECT - - Q_PROPERTY(float scaleFactor READ get_scaleFactor WRITE set_scaleFactor RESET reset_scaleFactor STORED false) - BR_PROPERTY(float, scaleFactor, 1.) - - void project(const Template &src, Template &dst) const - { - dst = src * scaleFactor; - } -}; - -BR_REGISTER(Transform, ScaleMatTransform) - -} // namespace br - -#include "imgproc/scalemat.moc" -- libgit2 0.21.4