Commit 71df2249cbe4eafca381cabb45f8af48569762c9

Authored by Josh Klontz
1 parent 57c7b311

remove scalemat

openbr/plugins/imgproc/scalemat.cpp deleted
1 -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
2 - * Copyright 2015 Rank One Computing  
3 - * *  
4 - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */  
5 -  
6 -#include <opencv2/imgproc/imgproc.hpp>  
7 -  
8 -#include <openbr/plugins/openbr_internal.h>  
9 -  
10 -using namespace cv;  
11 -  
12 -namespace br  
13 -{  
14 -  
15 -/*!  
16 - * \ingroup transforms  
17 - * \brief Scales the mat values by provided factor  
18 - * \author Brendan Klare \cite bklare  
19 - */  
20 -class ScaleMatTransform : public UntrainableTransform  
21 -{  
22 - Q_OBJECT  
23 -  
24 - Q_PROPERTY(float scaleFactor READ get_scaleFactor WRITE set_scaleFactor RESET reset_scaleFactor STORED false)  
25 - BR_PROPERTY(float, scaleFactor, 1.)  
26 -  
27 - void project(const Template &src, Template &dst) const  
28 - {  
29 - dst = src * scaleFactor;  
30 - }  
31 -};  
32 -  
33 -BR_REGISTER(Transform, ScaleMatTransform)  
34 -  
35 -} // namespace br  
36 -  
37 -#include "imgproc/scalemat.moc"