ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkWeightedCovarianceSampleFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkWeightedCovarianceSampleFilter_h
19#define itkWeightedCovarianceSampleFilter_h
20
21#include "itkFunctionBase.h"
24
25namespace itk
26{
27namespace Statistics
28{
42
43template <typename TSample>
44class ITK_TEMPLATE_EXPORT WeightedCovarianceSampleFilter : public CovarianceSampleFilter<TSample>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(WeightedCovarianceSampleFilter);
48
54
56 itkOverrideGetNameOfClassMacro(WeightedCovarianceSampleFilter);
57 itkNewMacro(Self);
59
61 using typename Superclass::SampleType;
64 using typename Superclass::MeasurementType;
65
69
70
72 using WeightValueType = double;
73
74
77
80
82 itkSetGetDecoratedInputMacro(Weights, WeightArrayType);
83
84
87
90
92 itkSetGetDecoratedObjectInputMacro(WeightingFunction, WeightingFunctionType);
93
94
96 using typename Superclass::MatrixType;
98
101 using typename Superclass::OutputType;
102
103protected:
106
107 void
108 GenerateData() override;
109
111 void
113
115 void
117}; // end of class
118} // end of namespace Statistics
119} // end of namespace itk
120
121#ifndef ITK_MANUAL_INSTANTIATION
122# include "itkWeightedCovarianceSampleFilter.hxx"
123#endif
124
125#endif
Array class with size defined at construction time.
Definition itkArray.h:48
Decorates any subclass of itkObject with a DataObject API.
Base class for all ITK function objects.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
typename SampleType::MeasurementVectorType MeasurementVectorType
typename NumericTraits< MeasurementVectorType >::RealType MeasurementVectorRealType
typename SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
typename SampleType::MeasurementType MeasurementType
typename NumericTraits< MeasurementType >::RealType MeasurementRealType
VariableSizeMatrix< MeasurementRealType > MatrixType
SimpleDataObjectDecorator< MatrixType > MatrixDecoratedType
SimpleDataObjectDecorator< MeasurementVectorRealType > MeasurementVectorDecoratedType
DataObjectDecorator< WeightingFunctionType > InputWeightingFunctionObjectType
SimpleDataObjectDecorator< WeightArrayType > InputWeightArrayObjectType
FunctionBase< MeasurementVectorType, WeightValueType > WeightingFunctionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....