Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FilterNTo3NFactory.cpp
1 /*
2 This file is part of the BIAS library (Basic ImageAlgorithmS).
3 
4 Copyright (C) 2004 (see file CONTACT for details)
5  Multimediale Systeme der Informationsverarbeitung
6  Institut fuer Informatik
7  Christian-Albrechts-Universitaet Kiel
8 
9 BIAS is free software; you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
13 
14 BIAS is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with BIAS; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23 
24 #include <Filter/FilterNTo3NFactory.hh>
25 #include <Filter/StructureTensor.hh>
26 
27 using namespace BIAS;
28 using namespace std;
29 
30 template <class InputStorageType, class OutputStorageType>
33 Generate(const std::string& className)
34 {
35  if (className == "StructureTensor")
37 
38  BIASERR("Invalid FilterNTo3N class: " << className);
39  return NULL;
40 }
41 
42 namespace BIAS{
43 #define FILTER_INSTANTIATION_CLASS FilterNTo3NFactory
44 #define FILTER_INSTANTIATION_NO_UNSIGNED_OUTPUT
45 #include "Filterinst.hh"
46 }
basic class for structure tensor calculation
FilterNTo3N< InputStorageType, OutputStorageType > * Generate(const std::string &className)
base class for simple n-&gt;3n filter implementations
Definition: FilterNTo3N.hh:43