ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkStandardDeviationPerComponentSampleFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 
23 #include "itkVariableSizeMatrix.h"
26 
27 namespace itk
28 {
29 namespace Statistics
30 {
48 template< typename TSample >
50  public ProcessObject
51 {
52 public:
58  typedef TSample SampleType;
59 
62  itkNewMacro(Self);
64 
66  typedef typename TSample::MeasurementVectorSizeType MeasurementVectorSizeType;
67 
69  typedef typename TSample::MeasurementVectorType MeasurementVectorType;
71 
74  void SetInput(const SampleType *sample);
75 
76  const SampleType * GetInput() const;
77 
81 
83 
86 
88 
91 
93 
94 protected:
95  StandardDeviationPerComponentSampleFilter(const Self &); //purposely not
96  // implemented
97  void operator=(const Self &); //purposely not
98  // implemented
99 
102  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
103 
106 
110 
111  virtual void GenerateData() ITK_OVERRIDE;
112 
114 
115 private:
116 }; // end of class
117 } // end of namespace Statistics
118 } // end of namespace itk
119 
120 #ifndef ITK_MANUAL_INSTANTIATION
121 #include "itkStandardDeviationPerComponentSampleFilter.hxx"
122 #endif
123 
124 #endif
Light weight base class for most itk classes.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
const MeasurementVectorRealType GetMeanPerComponent() const
MeasurementVectorSizeType GetMeasurementVectorSize() const
Calculates the covariance matrix of the target sample data.
const MeasurementVectorRealType GetStandardDeviationPerComponent() const
Decorates any &quot;simple&quot; data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
SimpleDataObjectDecorator< MeasurementVectorRealType > MeasurementVectorRealDecoratedType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
const MeasurementVectorRealDecoratedType * GetStandardDeviationPerComponentOutput() const
Control indentation during Print() invocation.
Definition: itkIndent.h:49
const MeasurementVectorRealDecoratedType * GetMeanPerComponentOutput() const
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE