Commit 0eadbbd1c898e09c1872e1dbc5a8a8d7ae8250c3

Authored by Josh Klontz
1 parent dce0a076

remove humoments

openbr/plugins/imgproc/humoments.cpp deleted
1 -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
2 - * Copyright 2012 The MITRE Corporation *  
3 - * *  
4 - * Licensed under the Apache License, Version 2.0 (the "License"); *  
5 - * you may not use this file except in compliance with the License. *  
6 - * You may obtain a copy of the License at *  
7 - * *  
8 - * http://www.apache.org/licenses/LICENSE-2.0 *  
9 - * *  
10 - * Unless required by applicable law or agreed to in writing, software *  
11 - * distributed under the License is distributed on an "AS IS" BASIS, *  
12 - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *  
13 - * See the License for the specific language governing permissions and *  
14 - * limitations under the License. *  
15 - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */  
16 -  
17 -#include <openbr/plugins/openbr_internal.h>  
18 -#include <opencv2/imgproc/imgproc.hpp>  
19 -  
20 -using namespace cv;  
21 -  
22 -namespace br  
23 -{  
24 -  
25 -/*!  
26 - * \ingroup transforms  
27 - * \brief Computes the seven Hu moments of a shape.  
28 - * \author Scott Klum \cite sklum  
29 - */  
30 -class HuMomentsTransform : public UntrainableTransform  
31 -{  
32 - Q_OBJECT  
33 -  
34 - void project(const Template &src, Template &dst) const  
35 - {  
36 - HuMoments(moments(src,true),dst);  
37 - }  
38 -};  
39 -  
40 -BR_REGISTER(Transform, HuMomentsTransform)  
41 -  
42 -} // namespace br  
43 -  
44 -#include "imgproc/humoments.moc"  
45 -