Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Class for calculating the volume (or area) for each label in a labeled image. More...
#include <mitkLabeledImageVolumeCalculator.h>
Public Types | |
typedef std::vector< double > | VolumeVector |
typedef std::vector< Point3D > | PointVector |
Public Member Functions | |
mitkClassMacroItkParent (LabeledImageVolumeCalculator, itk::Object) | |
Pointer | Clone () const |
virtual void | SetImage (const mitk::Image *_arg) |
virtual void | Calculate () |
double | GetVolume (unsigned int label) const |
const Point3D & | GetCentroid (unsigned int label) const |
const VolumeVector & | GetVolumes () const |
const PointVector & | GetCentroids () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LabeledImageVolumeCalculator () | |
~LabeledImageVolumeCalculator () override | |
template<typename TPixel , unsigned int VImageDimension> | |
void | _InternalCalculateVolumes (itk::Image< TPixel, VImageDimension > *image, LabeledImageVolumeCalculator *volumeCalculator, BaseGeometry *geometry) |
Protected Attributes | |
ImageTimeSelector::Pointer | m_InputTimeSelector |
Image::ConstPointer | m_Image |
VolumeVector | m_VolumeVector |
PointVector | m_CentroidVector |
Point3D | m_DummyPoint |
Class for calculating the volume (or area) for each label in a labeled image.
Labels are expected to be of an unsigned integer type.
TODO: Extend class for time resolved images
Definition at line 34 of file mitkLabeledImageVolumeCalculator.h.
typedef std::vector<Point3D> mitk::LabeledImageVolumeCalculator::PointVector |
Definition at line 38 of file mitkLabeledImageVolumeCalculator.h.
typedef std::vector<double> mitk::LabeledImageVolumeCalculator::VolumeVector |
Definition at line 37 of file mitkLabeledImageVolumeCalculator.h.
|
protected |
|
overrideprotected |
|
protected |
|
virtual |
Pointer mitk::LabeledImageVolumeCalculator::Clone | ( | ) | const |
const Point3D& mitk::LabeledImageVolumeCalculator::GetCentroid | ( | unsigned int | label | ) | const |
const PointVector& mitk::LabeledImageVolumeCalculator::GetCentroids | ( | ) | const |
double mitk::LabeledImageVolumeCalculator::GetVolume | ( | unsigned int | label | ) | const |
const VolumeVector& mitk::LabeledImageVolumeCalculator::GetVolumes | ( | ) | const |
mitk::LabeledImageVolumeCalculator::mitkClassMacroItkParent | ( | LabeledImageVolumeCalculator | , |
itk::Object | |||
) |
|
static |
|
virtual |
|
protected |
Definition at line 70 of file mitkLabeledImageVolumeCalculator.h.
|
protected |
Definition at line 72 of file mitkLabeledImageVolumeCalculator.h.
|
protected |
Definition at line 67 of file mitkLabeledImageVolumeCalculator.h.
|
protected |
Definition at line 65 of file mitkLabeledImageVolumeCalculator.h.
|
protected |
Definition at line 69 of file mitkLabeledImageVolumeCalculator.h.