Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 /*=========================================================================
14 *
15 * Copyright Insight Software Consortium
16 *
17 * Licensed under the Apache License, Version 2.0 (the "License");
18 * you may not use this file except in compliance with the License.
19 * You may obtain a copy of the License at
20 *
21 * https://www.apache.org/licenses/LICENSE-2.0.txt
22 *
23 * Unless required by applicable law or agreed to in writing, software
24 * distributed under the License is distributed on an "AS IS" BASIS,
25 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 * See the License for the specific language governing permissions and
27 * limitations under the License.
28 *
29 *=========================================================================*/
30 #ifndef __itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter_h
31 #define __itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter_h
32 
33 #include "itkHistogram.h"
34 #include "itkMacro.h"
35 #include "itkProcessObject.h"
36 #include "itkSimpleDataObjectDecorator.h"
37 
38 namespace itk {
39  namespace Statistics {
77  template< typename THistogram >
79  {
80  public:
83  typedef ProcessObject Superclass;
86 
89 
91  itkNewMacro( Self );
92 
93  typedef THistogram HistogramType;
94  typedef typename HistogramType::Pointer HistogramPointer;
95  typedef typename HistogramType::ConstPointer HistogramConstPointer;
96  typedef typename HistogramType::MeasurementType MeasurementType;
97  typedef typename HistogramType::MeasurementVectorType MeasurementVectorType;
98  typedef typename HistogramType::IndexType IndexType;
99  typedef typename HistogramType::
100  TotalAbsoluteFrequencyType FrequencyType;
101 
103  using Superclass::SetInput;
104  void SetInput (const HistogramType * histogram );
105  const HistogramType * GetInput() const;
106 
108  typedef DataObject::Pointer DataObjectPointer;
109 
111  typedef SimpleDataObjectDecorator<MeasurementType> MeasurementObjectType;
112 
116 
120 
124 
128 
132 
133  itkGetMacro( TotalNumberOfValidVoxels, unsigned long );
134 
135  itkGetConstMacro(NumberOfVoxels, unsigned long);
136  itkSetMacro(NumberOfVoxels, unsigned long);
137 
138  void SetSiMatrix(double* matrix)
139  {
140  m_siMatrix = matrix;
141  }
142 
144  typedef enum
145  {
152 
155 
156  protected:
159  void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
160 
162  typedef ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType;
163  using Superclass::MakeOutput;
165 
166  void GenerateData() ITK_OVERRIDE;
167 
168  private:
170  void operator=(const Self&); //purposely not implemented
171 
172  unsigned long m_TotalNumberOfValidVoxels;
173  unsigned long m_NumberOfVoxels;
174 
175  double* m_siMatrix;
176  };
177  } // end of namespace Statistics
178 } // end of namespace itk
179 
180 #ifndef ITK_MANUAL_INSTANTIATION
181 #include "itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.hxx"
182 #endif
183 
184 #endif
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Self
EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter Self
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:82
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetContrast
MeasurementType GetContrast() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Complexity
@ Complexity
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:149
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GenerateData
void GenerateData() ITK_OVERRIDE
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::MakeOutput
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::DataObjectPointerArraySizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:162
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::SetInput
void SetInput(const HistogramType *histogram)
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Busyness
@ Busyness
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:148
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::~EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter
~EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter() override
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:158
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::HistogramType
THistogram HistogramType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:91
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:85
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::SetSiMatrix
void SetSiMatrix(double *matrix)
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:138
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetContrastOutput
const MeasurementObjectType * GetContrastOutput() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetStrengthOutput
const MeasurementObjectType * GetStrengthOutput() const
itk::SmartPointer< Self >
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetBusynessOutput
const MeasurementObjectType * GetBusynessOutput() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::IndexType
HistogramType::IndexType IndexType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:98
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetFeature
MeasurementType GetFeature(NeighbourhoodGreyLevelDifferenceFeatureName name)
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::MeasurementVectorType
HistogramType::MeasurementVectorType MeasurementVectorType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:97
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetStrength
MeasurementType GetStrength() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Pointer
SmartPointer< Self > Pointer
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:84
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::DataObjectPointer
DataObject::Pointer DataObjectPointer
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:108
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::MeasurementObjectType
SimpleDataObjectDecorator< MeasurementType > MeasurementObjectType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:111
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Contrast
@ Contrast
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:147
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetBusyness
MeasurementType GetBusyness() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Strength
@ Strength
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:150
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetComplexity
MeasurementType GetComplexity() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::HistogramPointer
HistogramType::Pointer HistogramPointer
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:94
itk
SET FUNCTIONS.
Definition: itkIntelligentBinaryClosingFilter.h:30
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::MeasurementType
HistogramType::MeasurementType MeasurementType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:96
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetComplexityOutput
const MeasurementObjectType * GetComplexityOutput() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetCoarseness
MeasurementType GetCoarseness() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::FrequencyType
HistogramType::TotalAbsoluteFrequencyType FrequencyType
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:100
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Superclass
ProcessObject Superclass
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:83
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetInput
const HistogramType * GetInput() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter
This class computes texture feature coefficients from a grey level Zone-length matrix.
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:78
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::Coarseness
@ Coarseness
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:146
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::HistogramConstPointer
HistogramType::ConstPointer HistogramConstPointer
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:95
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter
EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter()
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::GetCoarsenessOutput
const MeasurementObjectType * GetCoarsenessOutput() const
itk::Statistics::EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter::NeighbourhoodGreyLevelDifferenceFeatureName
NeighbourhoodGreyLevelDifferenceFeatureName
Definition: itkEnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h:144