ITK  6.0.0
Insight Toolkit
itkLabelGeometryImageFilter.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 itkLabelGeometryImageFilter_h
19 #define itkLabelGeometryImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
22 #include "itkNumericTraits.h"
23 #include "itkArray.h"
25 #include <map>
26 #include <vector>
27 #include "vnl/algo/vnl_symmetric_eigensystem.h"
28 #include "vnl/vnl_det.h"
29 #include "itkMath.h"
30 
31 namespace itk
32 {
80 template <typename TLabelImage, typename TIntensityImage = TLabelImage>
81 class ITK_TEMPLATE_EXPORT [[deprecated(
82  "This class contains known computational bugs. See class documentation for details.")]] LabelGeometryImageFilter
83  : public ImageToImageFilter<TLabelImage, TIntensityImage>
84 {
85 public:
86  ITK_DISALLOW_COPY_AND_MOVE(LabelGeometryImageFilter);
87 
93 
95  itkNewMacro(Self);
96 
98  itkOverrideGetNameOfClassMacro(LabelGeometryImageFilter);
99 
101  using IntensityImageType = TIntensityImage;
106  using PixelType = typename TIntensityImage::PixelType;
107 
109  using LabelImageType = TLabelImage;
114  using LabelPixelType = typename TLabelImage::PixelType;
116 
118  static constexpr unsigned int ImageDimension = TLabelImage::ImageDimension;
119 
122 
125 
128 
132 
133  // using BoundingBoxVerticesType = itk::FixedArray<
134  // LabelPointType,std::pow(2.0,Self::ImageDimension)>;
135  using BoundingBoxVerticesType = std::vector<LabelPointType>;
136 
139 
142 
144  using LabelsType = std::vector<LabelPixelType>;
145 
147  using LabelIndicesType = std::vector<LabelIndexType>;
148 
150  using VectorType = std::vector<double>;
151 
153  using MatrixType = vnl_matrix<double>;
154 
160  {
161  public:
162  // default constructor
164  {
165  // initialized to the default values
166  this->m_Label = 0;
167  this->m_Sum = RealType{};
168 
169  const unsigned int imageDimension = Self::ImageDimension;
170 
171  // m_BoundingBox.resize(imageDimension*2);
172  for (unsigned int i = 0; i < imageDimension * 2; i += 2)
173  {
176  }
177 
178  m_BoundingBoxVolume = 0;
179  m_BoundingBoxSize.Fill(0);
180  m_PixelIndices.clear();
181  m_Centroid.Fill(0);
182  m_WeightedCentroid.Fill(0);
183  m_ZeroOrderMoment = 0;
184  m_FirstOrderRawMoments.Fill(0);
185  m_FirstOrderWeightedRawMoments.Fill(0);
186  m_Eigenvalues.resize(ImageDimension);
187  m_Eigenvalues.clear();
188  m_Eigenvectors.set_size(ImageDimension, ImageDimension);
189  m_Eigenvectors.fill(0);
190  m_AxesLength.Fill(0);
191  m_Eccentricity = 1;
192  m_Elongation = 1;
193  m_Orientation = 0;
194  LabelPointType emptyPoint;
195  emptyPoint.Fill(0);
196  unsigned int numberOfVertices = 1 << ImageDimension;
197  m_OrientedBoundingBoxVertices.resize(numberOfVertices, emptyPoint);
198  m_OrientedBoundingBoxVolume = 0;
199  m_OrientedBoundingBoxSize.Fill(0);
200  m_OrientedLabelImage = LabelImageType::New();
201  m_OrientedIntensityImage = IntensityImageType::New();
202  m_OrientedBoundingBoxOrigin.Fill(0);
203  m_RotationMatrix.set_size(ImageDimension, ImageDimension);
204  m_RotationMatrix.fill(0.0);
205 
206  m_SecondOrderRawMoments.set_size(ImageDimension, ImageDimension);
207  m_SecondOrderCentralMoments.set_size(ImageDimension, ImageDimension);
208  for (unsigned int i = 0; i < ImageDimension; ++i)
209  {
210  for (unsigned int j = 0; j < ImageDimension; ++j)
211  {
212  m_SecondOrderRawMoments(i, j) = 0;
213  m_SecondOrderCentralMoments(i, j) = 0;
214  }
215  }
216  }
217 
246  };
247 
249  // Map from the label to the class storing all of the geometry information.
250  using MapType = std::map<LabelPixelType, LabelGeometry>;
251  using MapIterator = typename std::map<LabelPixelType, LabelGeometry>::iterator;
252  using MapConstIterator = typename std::map<LabelPixelType, LabelGeometry>::const_iterator;
253 
254  // Macros for enabling the calculation of additional features.
255  itkGetMacro(CalculatePixelIndices, bool);
256  itkBooleanMacro(CalculatePixelIndices);
257  void SetCalculatePixelIndices(const bool value)
258  {
259  // CalculateOrientedBoundingBox, CalculateOrientedLabelImage, and
260  // CalculateOrientedIntensityImage all need CalculatePixelIndices to be
261  // turned
262  // on if they are turned on. So, CalculatePixelIndices cannot be
263  // turned off if any of these flags are turned on.
264  if (value == false)
265  {
266  if ((this->m_CalculateOrientedBoundingBox) || (this->m_CalculateOrientedLabelRegions) ||
267  (this->m_CalculateOrientedIntensityRegions))
268  {
269  // We cannot change the value, so return.
270  return;
271  }
272  }
273 
274  if (this->m_CalculatePixelIndices != value)
275  {
276  this->m_CalculatePixelIndices = value;
277  this->Modified();
278  }
279  }
280 
281  itkGetMacro(CalculateOrientedBoundingBox, bool);
282  itkBooleanMacro(CalculateOrientedBoundingBox);
283  void SetCalculateOrientedBoundingBox(const bool value)
284  {
285  if (this->m_CalculateOrientedBoundingBox != value)
286  {
287  this->m_CalculateOrientedBoundingBox = value;
288  this->Modified();
289  }
290 
291  // CalculateOrientedBoundingBox needs
292  // CalculatePixelIndices to be turned on.
293  if (value)
294  {
295  this->SetCalculatePixelIndices(true);
296  }
297  }
298 
299  itkGetMacro(CalculateOrientedLabelRegions, bool);
300  itkBooleanMacro(CalculateOrientedLabelRegions);
301  void SetCalculateOrientedLabelRegions(const bool value)
302  {
303  if (this->m_CalculateOrientedLabelRegions != value)
304  {
305  this->m_CalculateOrientedLabelRegions = value;
306  this->Modified();
307 
308  // CalculateOrientedLabelImage needs
309  // CalculateOrientedBoundingBox to be turned on.
310  if (value)
311  {
312  SetCalculateOrientedBoundingBox(true);
313  }
314  }
315  }
316 
317  itkGetMacro(CalculateOrientedIntensityRegions, bool);
318  itkBooleanMacro(CalculateOrientedIntensityRegions);
320  {
321  if (this->m_CalculateOrientedIntensityRegions != value)
322  {
323  this->m_CalculateOrientedIntensityRegions = value;
324  this->Modified();
325 
326  // CalculateOrientedIntensityImage needs
327  // CalculateOrientedBoundingBox to be turned on.
328  if (value)
329  {
330  this->SetCalculateOrientedBoundingBox(true);
331  }
332  }
333  }
334 
336  void SetIntensityInput(const TIntensityImage * input)
337  {
338  // Process object is not const-correct so the const casting is required.
339  this->SetNthInput(1, const_cast<TIntensityImage *>(input));
340  }
341 
343  const TIntensityImage * GetIntensityInput() const
344  {
345  return static_cast<TIntensityImage *>(const_cast<DataObject *>(this->ProcessObject::GetInput(1)));
346  }
347 
350  bool HasLabel(LabelPixelType label) const { return m_LabelGeometryMapper.find(label) != m_LabelGeometryMapper.end(); }
351 
353  SizeValueType GetNumberOfObjects() const { return m_LabelGeometryMapper.size(); }
354 
355  SizeValueType GetNumberOfLabels() const { return this->GetNumberOfObjects(); }
356 
358  std::vector<LabelPixelType> GetLabels() const { return m_AllLabels; }
359 
361  LabelIndicesType GetPixelIndices(LabelPixelType label) const;
362 
365  SizeValueType GetVolume(LabelPixelType label) const;
366 
368  RealType GetIntegratedIntensity(LabelPixelType label) const;
369 
371  LabelPointType GetCentroid(LabelPixelType label) const;
372 
374  LabelPointType GetWeightedCentroid(LabelPixelType label) const;
375 
377  VectorType GetEigenvalues(LabelPixelType label) const;
378 
380  MatrixType GetEigenvectors(LabelPixelType label) const;
381 
383  AxesLengthType GetAxesLength(LabelPixelType label) const;
384 
387  RealType GetMinorAxisLength(LabelPixelType label) const;
388 
391  RealType GetMajorAxisLength(LabelPixelType label) const;
392 
394  RealType GetEccentricity(LabelPixelType label) const;
395 
398  RealType GetElongation(LabelPixelType label) const;
399 
401  RealType GetOrientation(LabelPixelType label) const;
402 
406  BoundingBoxType GetBoundingBox(LabelPixelType label) const;
407 
409  RealType GetBoundingBoxVolume(LabelPixelType label) const;
410 
412  LabelSizeType GetBoundingBoxSize(LabelPixelType label) const;
413 
420  BoundingBoxVerticesType GetOrientedBoundingBoxVertices(LabelPixelType label) const;
421 
423  RealType GetOrientedBoundingBoxVolume(LabelPixelType label) const;
424 
426  LabelPointType GetOrientedBoundingBoxSize(LabelPixelType label) const;
427 
429  LabelPointType GetOrientedBoundingBoxOrigin(LabelPixelType label) const;
430 
433  MatrixType GetRotationMatrix(LabelPixelType label) const;
434 
436  RegionType GetRegion(LabelPixelType label) const;
437 
439  TLabelImage * GetOrientedLabelImage(LabelPixelType label) const;
440 
443  TIntensityImage * GetOrientedIntensityImage(LabelPixelType label) const;
444 
445 #ifdef ITK_USE_CONCEPT_CHECKING
446  // Begin concept checking
447  itkConceptMacro(InputHasNumericTraitsCheck, (Concept::HasNumericTraits<PixelType>));
448  // End concept checking
449 #endif
450 
451 protected:
453  ~LabelGeometryImageFilter() override = default;
454  void PrintSelf(std::ostream & os, Indent indent) const override;
455 
456  void GenerateData() override;
457 
458 private:
459  bool CalculateOrientedBoundingBoxVertices(vnl_symmetric_eigensystem<double> eig, LabelGeometry & m_LabelGeometry);
460 
461  bool m_CalculatePixelIndices{};
462  bool m_CalculateOrientedBoundingBox{};
463  bool m_CalculateOrientedLabelRegions{};
464  bool m_CalculateOrientedIntensityRegions{};
465 
466  MapType m_LabelGeometryMapper{};
467  LabelGeometry m_LabelGeometry{};
468  LabelsType m_AllLabels{};
469 }; // end of class
470 
471 } // end namespace itk
472 
473 #ifndef ITK_MANUAL_INSTANTIATION
474 # include "itkLabelGeometryImageFilter.hxx"
475 #endif
476 
477 #endif
itk::LabelGeometryImageFilter::GetLabels
std::vector< LabelPixelType > GetLabels() const
Definition: itkLabelGeometryImageFilter.h:358
itk::LabelGeometryImageFilter::SetCalculateOrientedLabelRegions
void SetCalculateOrientedLabelRegions(const bool value)
Definition: itkLabelGeometryImageFilter.h:301
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itk::SimpleDataObjectDecorator
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Definition: itkSimpleDataObjectDecorator.h:66
itk::LabelGeometryImageFilter::HasLabel
bool HasLabel(LabelPixelType label) const
Definition: itkLabelGeometryImageFilter.h:350
itk::LabelGeometryImageFilter::SetCalculateOrientedBoundingBox
void SetCalculateOrientedBoundingBox(const bool value)
Definition: itkLabelGeometryImageFilter.h:283
itk::LabelGeometryImageFilter::LabelImageType
TLabelImage LabelImageType
Definition: itkLabelGeometryImageFilter.h:109
itk::LabelGeometryImageFilter::LabelIndicesType
std::vector< LabelIndexType > LabelIndicesType
Definition: itkLabelGeometryImageFilter.h:147
itk::LabelGeometryImageFilter::LabelGeometry::m_RotationMatrix
MatrixType m_RotationMatrix
Definition: itkLabelGeometryImageFilter.h:244
itk::LabelGeometryImageFilter::LabelGeometry::m_Eigenvectors
MatrixType m_Eigenvectors
Definition: itkLabelGeometryImageFilter.h:230
itk::LabelGeometryImageFilter::LabelGeometry::LabelGeometry
LabelGeometry()
Definition: itkLabelGeometryImageFilter.h:163
itk::Concept::HasNumericTraits
Definition: itkConceptChecking.h:716
itk::LabelGeometryImageFilter::MapConstIterator
typename std::map< LabelPixelType, LabelGeometry >::const_iterator MapConstIterator
Definition: itkLabelGeometryImageFilter.h:252
itk::LabelGeometryImageFilter::LabelGeometry::m_BoundingBoxSize
LabelSizeType m_BoundingBoxSize
Definition: itkLabelGeometryImageFilter.h:236
itk::LabelGeometryImageFilter::LabelsType
std::vector< LabelPixelType > LabelsType
Definition: itkLabelGeometryImageFilter.h:144
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedBoundingBoxSize
LabelPointType m_OrientedBoundingBoxSize
Definition: itkLabelGeometryImageFilter.h:241
itk::LabelGeometryImageFilter::LabelPixelType
typename TLabelImage::PixelType LabelPixelType
Definition: itkLabelGeometryImageFilter.h:114
itk::LabelGeometryImageFilter::MatrixType
vnl_matrix< double > MatrixType
Definition: itkLabelGeometryImageFilter.h:153
itk::LabelGeometryImageFilter::IndexType
typename TIntensityImage::IndexType IndexType
Definition: itkLabelGeometryImageFilter.h:105
itk::LabelGeometryImageFilter::VectorType
std::vector< double > VectorType
Definition: itkLabelGeometryImageFilter.h:150
itk::NumericTraits::NonpositiveMin
static constexpr T NonpositiveMin()
Definition: itkNumericTraits.h:98
itk::LabelGeometryImageFilter::SetIntensityInput
void SetIntensityInput(const TIntensityImage *input)
Definition: itkLabelGeometryImageFilter.h:336
itk::GTest::TypedefsAndConstructors::Dimension2::VectorType
ImageBaseType::SpacingType VectorType
Definition: itkGTestTypedefsAndConstructors.h:53
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::LabelGeometryImageFilter::LabelGeometry::m_AxesLength
FixedArray< float, Self::ImageDimension > m_AxesLength
Definition: itkLabelGeometryImageFilter.h:231
itk::LabelGeometryImageFilter::SetCalculateOrientedIntensityRegions
void SetCalculateOrientedIntensityRegions(const bool value)
Definition: itkLabelGeometryImageFilter.h:319
itk::LabelGeometryImageFilter::LabelGeometry::m_BoundingBoxVolume
RealType m_BoundingBoxVolume
Definition: itkLabelGeometryImageFilter.h:237
itk::LabelGeometryImageFilter::BoundingBoxVerticesType
std::vector< LabelPointType > BoundingBoxVerticesType
Definition: itkLabelGeometryImageFilter.h:135
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::LabelGeometryImageFilter::LabelGeometry::m_Eigenvalues
VectorType m_Eigenvalues
Definition: itkLabelGeometryImageFilter.h:229
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedBoundingBoxVolume
RealType m_OrientedBoundingBoxVolume
Definition: itkLabelGeometryImageFilter.h:240
itk::LabelGeometryImageFilter::LabelGeometry::m_SecondOrderCentralMoments
MatrixType m_SecondOrderCentralMoments
Definition: itkLabelGeometryImageFilter.h:228
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::LabelGeometryImageFilter::LabelGeometry::m_FirstOrderRawCrossMoment
SizeValueType m_FirstOrderRawCrossMoment
Definition: itkLabelGeometryImageFilter.h:225
itk::ImageToImageFilter
Base class for filters that take an image as input and produce an image as output.
Definition: itkImageToImageFilter.h:108
itk::LabelGeometryImageFilter::MapIterator
typename std::map< LabelPixelType, LabelGeometry >::iterator MapIterator
Definition: itkLabelGeometryImageFilter.h:251
itk::LabelGeometryImageFilter::LabelIndexType
typename TLabelImage::IndexType LabelIndexType
Definition: itkLabelGeometryImageFilter.h:113
itk::LabelGeometryImageFilter::LabelSizeType
typename TLabelImage::SizeType LabelSizeType
Definition: itkLabelGeometryImageFilter.h:112
itk::LabelGeometryImageFilter::RegionType
typename TIntensityImage::RegionType RegionType
Definition: itkLabelGeometryImageFilter.h:103
itk::LabelGeometryImageFilter::IntensityImageType
TIntensityImage IntensityImageType
Definition: itkLabelGeometryImageFilter.h:101
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedIntensityImage
IntensityImageType::Pointer m_OrientedIntensityImage
Definition: itkLabelGeometryImageFilter.h:243
itk::LabelGeometryImageFilter::LabelGeometry::m_Centroid
LabelPointType m_Centroid
Definition: itkLabelGeometryImageFilter.h:220
itk::LabelGeometryImageFilter::LabelGeometry::m_Sum
RealType m_Sum
Definition: itkLabelGeometryImageFilter.h:219
itk::LabelGeometryImageFilter::LabelGeometry::m_Elongation
RealType m_Elongation
Definition: itkLabelGeometryImageFilter.h:233
itk::LabelGeometryImageFilter::LabelGeometry::m_Eccentricity
RealType m_Eccentricity
Definition: itkLabelGeometryImageFilter.h:232
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::LabelGeometryImageFilter::MapType
std::map< LabelPixelType, LabelGeometry > MapType
Definition: itkLabelGeometryImageFilter.h:250
itk::LabelGeometryImageFilter::GetIntensityInput
const TIntensityImage * GetIntensityInput() const
Definition: itkLabelGeometryImageFilter.h:343
itk::LabelGeometryImageFilter::LabelRegionType
typename TLabelImage::RegionType LabelRegionType
Definition: itkLabelGeometryImageFilter.h:111
itk::LabelGeometryImageFilter::RealType
typename NumericTraits< PixelType >::RealType RealType
Definition: itkLabelGeometryImageFilter.h:121
itk::LabelGeometryImageFilter::InputImagePointer
typename TIntensityImage::Pointer InputImagePointer
Definition: itkLabelGeometryImageFilter.h:102
itk::LabelGeometryImageFilter::LabelPointType
typename TLabelImage::PointType LabelPointType
Definition: itkLabelGeometryImageFilter.h:115
itk::LabelGeometryImageFilter::LabelGeometry::m_SecondOrderRawMoments
MatrixType m_SecondOrderRawMoments
Definition: itkLabelGeometryImageFilter.h:227
itk::LabelGeometryImageFilter::LabelGeometry::m_WeightedCentroid
LabelPointType m_WeightedCentroid
Definition: itkLabelGeometryImageFilter.h:221
itk::LabelGeometryImageFilter::LabelGeometry::m_FirstOrderCentralCrossMoment
RealType m_FirstOrderCentralCrossMoment
Definition: itkLabelGeometryImageFilter.h:226
itk::LabelGeometryImageFilter::LabelGeometry::m_Orientation
RealType m_Orientation
Definition: itkLabelGeometryImageFilter.h:234
itkImageToImageFilter.h
itk::LabelGeometryImageFilter::LabelGeometry
Geometry stored per label.
Definition: itkLabelGeometryImageFilter.h:159
itk::LabelGeometryImageFilter::GetNumberOfObjects
SizeValueType GetNumberOfObjects() const
Definition: itkLabelGeometryImageFilter.h:353
itk::FixedArray< typename LabelIndexType::IndexValueType, Self::ImageDimension *2 >
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedBoundingBoxVertices
BoundingBoxVerticesType m_OrientedBoundingBoxVertices
Definition: itkLabelGeometryImageFilter.h:239
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedLabelImage
LabelImageType::Pointer m_OrientedLabelImage
Definition: itkLabelGeometryImageFilter.h:242
itk::NumericTraits
Define additional traits for native types such as int or float.
Definition: itkNumericTraits.h:59
itk::NumericTraits::max
static constexpr T max(const T &)
Definition: itkNumericTraits.h:168
itkArray.h
itk::LabelGeometryImageFilter::LabelGeometry::m_BoundingBox
BoundingBoxType m_BoundingBox
Definition: itkLabelGeometryImageFilter.h:235
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk::LabelGeometryImageFilter::PixelType
typename TIntensityImage::PixelType PixelType
Definition: itkLabelGeometryImageFilter.h:106
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::LabelGeometryImageFilter::LabelGeometry::m_PixelIndices
LabelIndicesType m_PixelIndices
Definition: itkLabelGeometryImageFilter.h:238
itk::LabelGeometryImageFilter::LabelGeometry::m_ZeroOrderMoment
SizeValueType m_ZeroOrderMoment
Definition: itkLabelGeometryImageFilter.h:222
itk::LabelGeometryImageFilter::SetCalculatePixelIndices
void SetCalculatePixelIndices(const bool value)
Definition: itkLabelGeometryImageFilter.h:257
itk::LabelGeometryImageFilter::LabelImagePointer
typename TLabelImage::Pointer LabelImagePointer
Definition: itkLabelGeometryImageFilter.h:110
itk::LabelGeometryImageFilter::LabelGeometry::m_OrientedBoundingBoxOrigin
LabelPointType m_OrientedBoundingBoxOrigin
Definition: itkLabelGeometryImageFilter.h:245
itkNumericTraits.h
itkSimpleDataObjectDecorator.h
New
static Pointer New()
itk::LabelGeometryImageFilter::LabelGeometry::m_FirstOrderRawMoments
IndexArrayType m_FirstOrderRawMoments
Definition: itkLabelGeometryImageFilter.h:223
itk::DataObject::Pointer
SmartPointer< Self > Pointer
Definition: itkDataObject.h:301
itk::LabelGeometryImageFilter::LabelGeometry::m_Label
LabelPixelType m_Label
Definition: itkLabelGeometryImageFilter.h:218
itkMath.h
itk::LabelGeometryImageFilter::GetNumberOfLabels
SizeValueType GetNumberOfLabels() const
Definition: itkLabelGeometryImageFilter.h:355
itk::LabelGeometryImageFilter::LabelGeometry::m_FirstOrderWeightedRawMoments
AxesLengthType m_FirstOrderWeightedRawMoments
Definition: itkLabelGeometryImageFilter.h:224
itk::ProcessObject::GetInput
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
itk::LabelGeometryImageFilter::SizeType
typename TIntensityImage::SizeType SizeType
Definition: itkLabelGeometryImageFilter.h:104
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:86
itk::LabelGeometryImageFilter
Given a label map and an optional intensity image, compute geometric features.
Definition: itkLabelGeometryImageFilter.h:81