ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkStandardDeviationPerComponentSampleFilter.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 itkStandardDeviationPerComponentSampleFilter_h
19#define itkStandardDeviationPerComponentSampleFilter_h
20
21#include "itkProcessObject.h"
22
26
27namespace itk
28{
29namespace Statistics
30{
48
49template <typename TSample>
51{
52public:
53 ITK_DISALLOW_COPY_AND_MOVE(StandardDeviationPerComponentSampleFilter);
54
60 using SampleType = TSample;
61
63 itkOverrideGetNameOfClassMacro(StandardDeviationPerComponentSampleFilter);
64 itkNewMacro(Self);
66
68 using MeasurementVectorSizeType = typename TSample::MeasurementVectorSizeType;
69
71 using MeasurementVectorType = typename TSample::MeasurementVectorType;
73
76 void
77 SetInput(const SampleType * sample);
78
79 const SampleType *
80 GetInput() const;
81
85
87
91
94
98
101
104
109
110protected:
113 void
114 PrintSelf(std::ostream & os, Indent indent) const override;
115
116 void
117 GenerateData() override;
118
121
122private:
123}; // end of class
124} // end of namespace Statistics
125} // end of namespace itk
126
127#ifndef ITK_MANUAL_INSTANTIATION
128# include "itkStandardDeviationPerComponentSampleFilter.hxx"
129#endif
130
131#endif
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Definition itkIndent.h:50
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
SimpleDataObjectDecorator< MeasurementVectorRealType > MeasurementVectorRealDecoratedType
const MeasurementVectorRealType GetStandardDeviationPerComponent() const
typename NumericTraits< MeasurementVectorType >::RealType MeasurementVectorRealType
const MeasurementVectorRealDecoratedType * GetMeanPerComponentOutput() const
void PrintSelf(std::ostream &os, Indent indent) const override
const MeasurementVectorRealDecoratedType * GetStandardDeviationPerComponentOutput() const
const MeasurementVectorRealType GetMeanPerComponent() const
MeasurementVectorSizeType GetMeasurementVectorSize() const
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType index) override
Make a DataObject of the correct type to used as the specified output.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....