OTB
9.0.0
Orfeo Toolbox
Modules
Core
Density
include
otbPointSetDensityGaussianFunction.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 otbPointSetDensityGaussianFunction_h
22
#define otbPointSetDensityGaussianFunction_h
23
24
#include "
otbPointSetFunction.h
"
25
#include "itkPoint.h"
26
27
namespace
otb
28
{
29
39
template
<
class
TPo
int
Set,
class
TOutput>
40
class
ITK_EXPORT
PointSetDensityGaussianFunction
:
public
PointSetFunction
<TPointSet, TOutput>
41
{
42
public
:
43
45
typedef
PointSetDensityGaussianFunction
Self
;
46
typedef
PointSetFunction<TPointSet, TOutput>
Superclass
;
47
typedef
itk::SmartPointer<Self>
Pointer
;
48
typedef
itk::SmartPointer<const Self>
ConstPointer
;
49
51
itkTypeMacro(
PointSetDensityGaussianFunction
,
PointSetFunction
);
52
54
itkNewMacro(
Self
);
55
57
typedef
TPointSet
PointSetType
;
58
typedef
typename
Superclass::InputType
InputType
;
59
typedef
typename
PointSetType::Pointer
PointSetPointerType
;
60
62
typedef
TOutput
OutputType
;
63
65
itkSetMacro(Radius,
unsigned
int
);
66
itkGetMacro(Radius,
unsigned
int
);
68
70
OutputType
Evaluate(
const
InputType
& input)
const override
;
71
72
protected
:
73
PointSetDensityGaussianFunction
() : m_Radius(1){};
74
~PointSetDensityGaussianFunction
()
override
75
{
76
}
77
78
void
PrintSelf(std::ostream& os, itk::Indent indent)
const override
;
79
80
private
:
81
PointSetDensityGaussianFunction
(
const
Self&) =
delete
;
82
void
operator=(
const
Self&) =
delete
;
83
84
unsigned
int
m_Radius
;
85
};
86
87
}
// end namespace otb
88
89
#ifndef OTB_MANUAL_INSTANTIATION
90
#include "
otbPointSetDensityGaussianFunction.hxx
"
91
#endif
92
93
#endif
otb::PointSetDensityGaussianFunction::Self
PointSetDensityGaussianFunction Self
Definition:
otbPointSetDensityGaussianFunction.h:45
otb::PointSetDensityGaussianFunction::PointSetType
TPointSet PointSetType
Definition:
otbPointSetDensityGaussianFunction.h:54
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::PointSetDensityGaussianFunction::OutputType
TOutput OutputType
Definition:
otbPointSetDensityGaussianFunction.h:62
otb::PointSetDensityGaussianFunction::~PointSetDensityGaussianFunction
~PointSetDensityGaussianFunction() override
Definition:
otbPointSetDensityGaussianFunction.h:74
otb::PointSetFunction::OutputType
TOutput OutputType
Definition:
otbPointSetFunction.h:55
otb::PointSetDensityGaussianFunction
Calculate the density in the neighborhood of a pixel using a gaussian function.
Definition:
otbPointSetDensityGaussianFunction.h:40
otb::PointSetDensityGaussianFunction::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
otbPointSetDensityGaussianFunction.h:48
otbPointSetFunction.h
otb::PointSetDensityGaussianFunction::PointSetDensityGaussianFunction
PointSetDensityGaussianFunction()
Definition:
otbPointSetDensityGaussianFunction.h:73
otb::PointSetDensityGaussianFunction::InputType
Superclass::InputType InputType
Definition:
otbPointSetDensityGaussianFunction.h:58
otbPointSetDensityGaussianFunction.hxx
otb::PointSetDensityGaussianFunction::Superclass
PointSetFunction< TPointSet, TOutput > Superclass
Definition:
otbPointSetDensityGaussianFunction.h:46
otb::PointSetDensityGaussianFunction::PointSetPointerType
PointSetType::Pointer PointSetPointerType
Definition:
otbPointSetDensityGaussianFunction.h:59
otb::PointSetDensityGaussianFunction::Pointer
itk::SmartPointer< Self > Pointer
Definition:
otbPointSetDensityGaussianFunction.h:47
otb::PointSetFunction
Calculate the density in the neighborhood of a pixel.
Definition:
otbPointSetFunction.h:39
otb::PointSetDensityGaussianFunction::m_Radius
unsigned int m_Radius
Definition:
otbPointSetDensityGaussianFunction.h:84
Generated at Wed Feb 28 2024 15:23:23 for
OTB
with
1.8.17