ITK
6.0.0
Insight Toolkit
|
#include <itkStatisticsLabelObject.h>
A Label object to store the common attributes related to the statistics of the object.
StatisticsLabelObject stores the common attributes related to the statistics of the object
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
Definition at line 41 of file itkStatisticsLabelObject.h.
Public Member Functions | |
template<typename TSourceLabelObject > | |
void | CopyAllFrom (const TSourceLabelObject *src) |
template<typename TSourceLabelObject > | |
void | CopyAttributesFrom (const TSourceLabelObject *src) |
const PointType & | GetCenterOfGravity () const |
const HistogramType * | GetHistogram () const |
const double & | GetKurtosis () const |
const double & | GetMaximum () const |
const IndexType & | GetMaximumIndex () const |
const double & | GetMean () const |
const double & | GetMedian () const |
const double & | GetMinimum () const |
const IndexType & | GetMinimumIndex () const |
const char * | GetNameOfClass () const override |
const double & | GetSkewness () const |
const double & | GetStandardDeviation () const |
const double & | GetSum () const |
const double & | GetVariance () const |
const double & | GetWeightedElongation () const |
const double & | GetWeightedFlatness () const |
const MatrixType & | GetWeightedPrincipalAxes () const |
const VectorType & | GetWeightedPrincipalMoments () const |
void | SetCenterOfGravity (const PointType &v) |
void | SetHistogram (const HistogramType *v) |
void | SetKurtosis (const double v) |
void | SetMaximum (const double v) |
void | SetMaximumIndex (const IndexType &v) |
void | SetMean (const double v) |
void | SetMedian (const double v) |
void | SetMinimum (const double v) |
void | SetMinimumIndex (const IndexType &v) |
void | SetSkewness (const double v) |
void | SetStandardDeviation (const double v) |
void | SetSum (const double v) |
void | SetVariance (const double v) |
void | SetWeightedElongation (const double v) |
void | SetWeightedFlatness (const double v) |
void | SetWeightedPrincipalAxes (const MatrixType &v) |
void | SetWeightedPrincipalMoments (const VectorType &v) |
AffineTransformPointer | GetWeightedPrincipalAxesToPhysicalAxesTransform () const |
AffineTransformPointer | GetPhysicalAxesToWeightedPrincipalAxesTransform () const |
Public Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension > | |
template<typename TSourceLabelObject > | |
void | CopyAllFrom (const TSourceLabelObject *src) |
template<typename TSourceLabelObject > | |
void | CopyAttributesFrom (const TSourceLabelObject *src) |
const RegionType & | GetBoundingBox () const |
const CentroidType & | GetCentroid () const |
const double & | GetElongation () const |
const VectorType & | GetEquivalentEllipsoidDiameter () const |
const double & | GetEquivalentSphericalPerimeter () const |
const double & | GetEquivalentSphericalRadius () const |
const double & | GetFeretDiameter () const |
const double & | GetFlatness () const |
const SizeValueType & | GetNumberOfPixels () const |
const SizeValueType & | GetNumberOfPixelsOnBorder () const |
const OrientedBoundingBoxDirectionType & | GetOrientedBoundingBoxDirection () const |
const OrientedBoundingBoxPointType & | GetOrientedBoundingBoxOrigin () const |
const OrientedBoundingBoxSizeType & | GetOrientedBoundingBoxSize () const |
OrientedBoundingBoxVerticesType | GetOrientedBoundingBoxVertices () const |
const double & | GetPerimeter () const |
const double & | GetPerimeterOnBorder () const |
const double & | GetPerimeterOnBorderRatio () const |
const double & | GetPhysicalSize () const |
const MatrixType & | GetPrincipalAxes () const |
const VectorType & | GetPrincipalMoments () const |
const RegionType & | GetRegion () const |
const double & | GetRoundness () const |
void | SetBoundingBox (const RegionType &v) |
void | SetCentroid (const CentroidType ¢roid) |
void | SetElongation (const double v) |
void | SetEquivalentEllipsoidDiameter (const VectorType &v) |
void | SetEquivalentSphericalPerimeter (const double v) |
void | SetEquivalentSphericalRadius (const double v) |
void | SetFeretDiameter (const double v) |
void | SetFlatness (const double v) |
void | SetNumberOfPixels (const SizeValueType &v) |
void | SetNumberOfPixelsOnBorder (const SizeValueType &v) |
void | SetOrientedBoundingBoxOrigin (const OrientedBoundingBoxPointType &v) |
void | SetOrientedBoundingBoxSize (const OrientedBoundingBoxSizeType &v) |
void | SetPerimeter (const double v) |
void | SetPerimeterOnBorder (const double v) |
void | SetPerimeterOnBorderRatio (const double v) |
void | SetPhysicalSize (const double v) |
void | SetPrincipalAxes (const MatrixType &v) |
void | SetPrincipalMoments (const VectorType &v) |
void | SetRoundness (const double v) |
AffineTransformPointer | GetPrincipalAxesToPhysicalAxesTransform () const |
AffineTransformPointer | GetPhysicalAxesToPrincipalAxesTransform () const |
Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
void | AddIndex (const IndexType &idx) |
void | AddLine (const IndexType &idx, const LengthType &length) |
void | AddLine (const LineType &line) |
void | Clear () |
template<typename TSourceLabelObject > | |
void | CopyAllFrom (const TSourceLabelObject *src) |
template<typename TSourceLabelObject > | |
void | CopyAttributesFrom (const TSourceLabelObject *src) |
template<typename TSourceLabelObject > | |
void | CopyLinesFrom (const TSourceLabelObject *src) |
bool | Empty () const |
IndexType | GetIndex (SizeValueType offset) const |
const LabelType & | GetLabel () const |
LineType & | GetLine (SizeValueType i) |
const LineType & | GetLine (SizeValueType i) const |
SizeValueType | GetNumberOfLines () const |
bool | HasIndex (const IndexType &idx) const |
void | Optimize () |
bool | RemoveIndex (const IndexType &idx) |
void | SetLabel (const LabelType &label) |
void | Shift (OffsetType offset) |
SizeValueType | Size () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static AttributeType | GetAttributeFromName (const std::string &s) |
static std::string | GetNameFromAttribute (const AttributeType &a) |
static Pointer | New () |
Static Public Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension > | |
static AttributeType | GetAttributeFromName (const std::string &s) |
static std::string | GetNameFromAttribute (const AttributeType &a) |
static Pointer | New () |
Static Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
static AttributeType | GetAttributeFromName (const std::string &s) |
static std::string | GetNameFromAttribute (const AttributeType &a) |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr AttributeType | CENTER_OF_GRAVITY = 209 |
static constexpr AttributeType | HISTOGRAM = 216 |
static constexpr unsigned int | ImageDimension = VImageDimension |
static constexpr AttributeType | KURTOSIS = 213 |
static constexpr AttributeType | MAXIMUM = 201 |
static constexpr AttributeType | MAXIMUM_INDEX = 207 |
static constexpr AttributeType | MEAN = 202 |
static constexpr AttributeType | MEDIAN = 206 |
static constexpr AttributeType | MINIMUM = 200 |
static constexpr AttributeType | MINIMUM_INDEX = 208 |
static constexpr AttributeType | SKEWNESS = 214 |
static constexpr AttributeType | STANDARD_DEVIATION = 204 |
static constexpr AttributeType | SUM = 203 |
static constexpr AttributeType | VARIANCE = 205 |
static constexpr AttributeType | WEIGHTED_ELONGATION = 215 |
static constexpr AttributeType | WEIGHTED_FLATNESS = 217 |
static constexpr AttributeType | WEIGHTED_PRINCIPAL_AXES = 212 |
static constexpr AttributeType | WEIGHTED_PRINCIPAL_MOMENTS = 211 |
Static Public Attributes inherited from itk::ShapeLabelObject< TLabel, VImageDimension > | |
static constexpr AttributeType | BOUNDING_BOX = 105 |
static constexpr AttributeType | CENTROID = 104 |
static constexpr AttributeType | ELONGATION = 111 |
static constexpr AttributeType | EQUIVALENT_ELLIPSOID_DIAMETER = 116 |
static constexpr AttributeType | EQUIVALENT_SPHERICAL_PERIMETER = 115 |
static constexpr AttributeType | EQUIVALENT_SPHERICAL_RADIUS = 114 |
static constexpr AttributeType | FERET_DIAMETER = 108 |
static constexpr AttributeType | FLATNESS = 117 |
static constexpr unsigned int | ImageDimension = VImageDimension |
static constexpr AttributeType | NUMBER_OF_PIXELS = 100 |
static constexpr AttributeType | NUMBER_OF_PIXELS_ON_BORDER = 106 |
static constexpr AttributeType | ORIENTED_BOUNDING_BOX_ORIGIN = 119 |
static constexpr AttributeType | ORIENTED_BOUNDING_BOX_SIZE = 120 |
static constexpr AttributeType | PERIMETER = 112 |
static constexpr AttributeType | PERIMETER_ON_BORDER = 107 |
static constexpr AttributeType | PERIMETER_ON_BORDER_RATIO = 118 |
static constexpr AttributeType | PHYSICAL_SIZE = 101 |
static constexpr AttributeType | PRINCIPAL_AXES = 110 |
static constexpr AttributeType | PRINCIPAL_MOMENTS = 109 |
static constexpr AttributeType | ROUNDNESS = 113 |
Static Public Attributes inherited from itk::LabelObject< TLabel, VImageDimension > | |
static constexpr unsigned int | ImageDimension = VImageDimension |
static constexpr AttributeType | LABEL = 0 |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
StatisticsLabelObject () | |
Protected Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension > | |
ShapeLabelObject () | |
Protected Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
LabelObject () | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
PointType | m_CenterOfGravity {} |
HistogramType::ConstPointer | m_Histogram {} |
double | m_Kurtosis {} |
double | m_Maximum {} |
IndexType | m_MaximumIndex {} |
double | m_Mean {} |
double | m_Median {} |
double | m_Minimum {} |
IndexType | m_MinimumIndex {} |
double | m_Skewness {} |
double | m_StandardDeviation {} |
double | m_Sum {} |
double | m_Variance {} |
double | m_WeightedElongation {} |
double | m_WeightedFlatness {} |
MatrixType | m_WeightedPrincipalAxes {} |
VectorType | m_WeightedPrincipalMoments {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::StatisticsLabelObject< TLabel, VImageDimension >::AffineTransformPointer = typename AffineTransformType::Pointer |
Definition at line 484 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::AffineTransformType = AffineTransform<double, Self::ImageDimension> |
Affine transform for mapping to and from principal axis
Definition at line 483 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 51 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::ConstWeakPointer = WeakPointer<const Self> |
Definition at line 52 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::HistogramType = Statistics::Histogram<double> |
Definition at line 78 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelMapType = LabelMap<Self> |
Definition at line 60 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelObjectType = typename Superclass::LabelObjectType |
Definition at line 49 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelType = TLabel |
Definition at line 68 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::MatrixType = Matrix<double, Self::ImageDimension, Self::ImageDimension> |
Definition at line 74 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Pointer = SmartPointer<Self> |
Definition at line 50 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::PointType = Point<double, Self::ImageDimension> |
Definition at line 66 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::RegionType = ImageRegion<Self::ImageDimension> |
Definition at line 227 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Self = StatisticsLabelObject |
Standard class type aliases
Definition at line 47 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Superclass = ShapeLabelObject<TLabel, VImageDimension> |
Definition at line 48 of file itkStatisticsLabelObject.h.
using itk::StatisticsLabelObject< TLabel, VImageDimension >::VectorType = Vector<double, Self::ImageDimension> |
Definition at line 76 of file itkStatisticsLabelObject.h.
|
inlineprotected |
Definition at line 542 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 259 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 233 of file itkStatisticsLabelObject.h.
|
inlinestatic |
Definition at line 101 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 375 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 458 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 434 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 279 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 351 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 291 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 339 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 267 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 363 of file itkStatisticsLabelObject.h.
|
inlinestatic |
Definition at line 182 of file itkStatisticsLabelObject.h.
|
overridevirtual |
Reimplemented from itk::ShapeLabelObject< TLabel, VImageDimension >.
|
inline |
Get the affine transform from physical axes to principal axes This method returns an affine transform which transforms from the physical coordinate system to the principal axes coordinate system.
Definition at line 517 of file itkStatisticsLabelObject.h.
References New().
|
inline |
Definition at line 422 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 315 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 303 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 327 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 446 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 470 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 410 of file itkStatisticsLabelObject.h.
|
inline |
Get the affine transform from principal axes to physical axes This method returns an affine transform which transforms from the principal axes coordinate system to physical coordinates.
Definition at line 490 of file itkStatisticsLabelObject.h.
References New().
|
inline |
Definition at line 398 of file itkStatisticsLabelObject.h.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ShapeLabelObject< TLabel, VImageDimension >.
Definition at line 565 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 381 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 464 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 440 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 285 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 357 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 297 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 345 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 273 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 369 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 428 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 321 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 309 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 333 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 452 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 476 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 416 of file itkStatisticsLabelObject.h.
|
inline |
Definition at line 404 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 90 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 97 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 62 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 94 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 599 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 607 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 604 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 591 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 597 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 592 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 596 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 590 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 598 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 603 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 594 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 593 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 595 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 605 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 609 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 602 of file itkStatisticsLabelObject.h.
|
private |
Definition at line 601 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 82 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 88 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 83 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 87 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 81 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 89 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 95 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 85 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 84 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 86 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 96 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 98 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 93 of file itkStatisticsLabelObject.h.
|
staticconstexpr |
Definition at line 92 of file itkStatisticsLabelObject.h.