OTB
9.0.0
Orfeo Toolbox
Modules
Learning
Supervised
include
otbNormalBayesMachineLearningModelFactory.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3
*
4
* This file is part of Orfeo Toolbox
5
*
6
* https://www.orfeo-toolbox.org/
7
*
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
11
*
12
* http://www.apache.org/licenses/LICENSE-2.0
13
*
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
19
*/
20
21
#ifndef otbNormalBayesMachineLearningModelFactory_h
22
#define otbNormalBayesMachineLearningModelFactory_h
23
24
#include "
otbRequiresOpenCVCheck.h
"
25
26
#include "itkObjectFactoryBase.h"
27
#include "itkImageIOBase.h"
28
29
namespace
otb
30
{
36
template
<
class
TInputValue,
class
TTargetValue>
37
class
ITK_EXPORT
NormalBayesMachineLearningModelFactory
:
public
itk::ObjectFactoryBase
38
{
39
public
:
41
typedef
NormalBayesMachineLearningModelFactory
Self
;
42
typedef
itk::ObjectFactoryBase
Superclass
;
43
typedef
itk::SmartPointer<Self>
Pointer
;
44
typedef
itk::SmartPointer<const Self>
ConstPointer
;
45
47
const
char
* GetITKSourceVersion(
void
)
const override
;
48
const
char
* GetDescription(
void
)
const override
;
50
52
itkFactorylessNewMacro(
Self
);
53
55
itkTypeMacro(
NormalBayesMachineLearningModelFactory
, itk::ObjectFactoryBase);
56
58
static
void
RegisterOneFactory
(
void
)
59
{
60
Pointer
Factory =
NormalBayesMachineLearningModelFactory::New
();
61
itk::ObjectFactoryBase::RegisterFactory(Factory);
62
}
64
65
protected
:
66
NormalBayesMachineLearningModelFactory
();
67
~
NormalBayesMachineLearningModelFactory
()
override
=
default
;
68
69
private
:
70
NormalBayesMachineLearningModelFactory
(
const
Self&) =
delete
;
71
void
operator=(
const
Self&) =
delete
;
72
};
73
74
}
// end namespace otb
75
76
#ifndef OTB_MANUAL_INSTANTIATION
77
#include "
otbNormalBayesMachineLearningModelFactory.hxx
"
78
#endif
79
80
#endif
otb::NormalBayesMachineLearningModelFactory::RegisterOneFactory
static void RegisterOneFactory(void)
Definition:
otbNormalBayesMachineLearningModelFactory.h:58
otb::NormalBayesMachineLearningModelFactory::Superclass
itk::ObjectFactoryBase Superclass
Definition:
otbNormalBayesMachineLearningModelFactory.h:42
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::NormalBayesMachineLearningModelFactory::Self
NormalBayesMachineLearningModelFactory Self
Definition:
otbNormalBayesMachineLearningModelFactory.h:41
otb::NormalBayesMachineLearningModelFactory::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
otbNormalBayesMachineLearningModelFactory.h:44
otb::NormalBayesMachineLearningModelFactory::New
static Pointer New(void)
otb::NormalBayesMachineLearningModelFactory
Creation of an instance of object SVMMachineLearningModel using the objects factory.
Definition:
otbNormalBayesMachineLearningModelFactory.h:37
otbNormalBayesMachineLearningModelFactory.hxx
otb::NormalBayesMachineLearningModelFactory::Pointer
itk::SmartPointer< Self > Pointer
Definition:
otbNormalBayesMachineLearningModelFactory.h:43
otbRequiresOpenCVCheck.h
Generated at Wed Feb 28 2024 15:23:11 for
OTB
with
1.8.17