ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkGaussianMixtureModelComponent.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 itkGaussianMixtureModelComponent_h
19#define itkGaussianMixtureModelComponent_h
20
25
26namespace itk::Statistics
27{
47
48template <typename TSample>
49class ITK_TEMPLATE_EXPORT GaussianMixtureModelComponent : public MixtureModelComponentBase<TSample>
50{
51public:
57
60 itkOverrideGetNameOfClassMacro(GaussianMixtureModelComponent);
61 itkNewMacro(Self);
67 using typename Superclass::WeightArrayType;
68 using typename Superclass::ParametersType;
69
72
77
80
83
85 void
86 SetSample(const TSample * sample) override;
87
89 void
90 SetParameters(const ParametersType & parameters) override;
91
92protected:
94 ~GaussianMixtureModelComponent() override = default;
95 void
96 PrintSelf(std::ostream & os, Indent indent) const override;
97
100 double
102
104 void
105 GenerateData() override;
106
107private:
109
111
113
115
117}; // end of class
118} // namespace itk::Statistics
119
120#ifndef ITK_MANUAL_INSTANTIATION
121# include "itkGaussianMixtureModelComponent.hxx"
122#endif
123
124#endif
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
GaussianMembershipFunction models class membership through a multivariate Gaussian function.
void SetParameters(const ParametersType &parameters) override
NativeMembershipFunctionType::Pointer m_GaussianMembershipFunction
WeightedCovarianceSampleFilter< TSample > CovarianceEstimatorType
typename CovarianceEstimatorType::OutputType CovarianceMatrixType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetSample(const TSample *sample) override
GaussianMembershipFunction< MeasurementVectorType > NativeMembershipFunctionType
typename TSample::MeasurementVectorType MeasurementVectorType
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
typename TSample::MeasurementVectorSizeType MeasurementVectorSizeType
Calculates the covariance matrix of the target sample data. where each measurement vector has an asso...
VariableSizeMatrix< MeasurementRealType > MatrixType
Given a sample where each measurement vector has associated weight value, this filter computes the sa...
MeasurementVectorDecoratedType OutputType
typename SampleType::MeasurementVectorType MeasurementVectorType