ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkDenseFrequencyContainer2.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 itkDenseFrequencyContainer2_h
19#define itkDenseFrequencyContainer2_h
20
21#include <map>
24#include "ITKStatisticsExport.h"
25
26namespace itk::Statistics
27{
40
41class ITKStatistics_EXPORT DenseFrequencyContainer2 : public Object
42{
43public:
44 ITK_DISALLOW_COPY_AND_MOVE(DenseFrequencyContainer2);
45
51
53 itkOverrideGetNameOfClassMacro(DenseFrequencyContainer2);
54
56 itkNewMacro(Self);
57
60
63
66
69
72
75
77
80 void
82
85 void
87
90 bool
92
96 bool
98
103
107 {
108 return m_TotalFrequency;
109 }
110
111protected:
113 ~DenseFrequencyContainer2() override = default;
114 void
115 PrintSelf(std::ostream & os, Indent indent) const override;
116
117private:
121}; // end of class
122} // namespace itk::Statistics
123
124#endif
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
bool IncreaseFrequency(const InstanceIdentifier id, const AbsoluteFrequencyType value)
MeasurementVectorTraits::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
TotalAbsoluteFrequencyType GetTotalFrequency() const
void PrintSelf(std::ostream &os, Indent indent) const override
void Initialize(SizeValueType length)
MeasurementVectorTraits::AbsoluteFrequencyType AbsoluteFrequencyType
ValarrayImageContainer< InstanceIdentifier, AbsoluteFrequencyType > FrequencyContainerType
AbsoluteFrequencyType GetFrequency(const InstanceIdentifier id) const
MeasurementVectorTraits::RelativeFrequencyType RelativeFrequencyType
bool SetFrequency(const InstanceIdentifier id, const AbsoluteFrequencyType value)
MeasurementVectorTraits::InstanceIdentifier InstanceIdentifier
FrequencyContainerType::Pointer FrequencyContainerPointer
MeasurementVectorTraits::TotalRelativeFrequencyType TotalRelativeFrequencyType
NumericTraits< RelativeFrequencyType >::AccumulateType TotalRelativeFrequencyType
NumericTraits< AbsoluteFrequencyType >::AccumulateType TotalAbsoluteFrequencyType
NumericTraits< AbsoluteFrequencyType >::RealType RelativeFrequencyType
Defines a front-end to the std\::<valarray> container that conforms to the ImageContainerInterface.
unsigned long SizeValueType
Definition itkIntTypes.h:86