ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkShapeLabelObject.h>
A Label object to store the common attributes related to the shape of the object.
ShapeLabelObject stores the common attributes related to the shape of the object
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 42 of file itkShapeLabelObject.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
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 |
virtual const char * | GetNameOfClass () const |
const SizeValueType & | GetNumberOfPixels () const |
const SizeValueType & | GetNumberOfPixelsOnBorder () 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 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 | 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) |
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 () |
void | CopyAllFrom (const Self *src) |
bool | Empty () const |
IndexType | GetIndex (SizeValueType i) const |
const LabelType & | GetLabel () const |
const LineType & | GetLine (SizeValueType i) const |
LineType & | GetLine (SizeValueType i) |
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 | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
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::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 () |
Additional Inherited Members | |
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 () |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef AffineTransformType::Pointer itk::ShapeLabelObject< TLabel, VImageDimension >::AffineTransformPointer |
Definition at line 465 of file itkShapeLabelObject.h.
typedef AffineTransform< double, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::AffineTransformType |
Affine transform for mapping to and from principal axis
Definition at line 464 of file itkShapeLabelObject.h.
typedef Superclass::AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::AttributeType |
Definition at line 71 of file itkShapeLabelObject.h.
typedef Point< double, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::CentroidType |
Definition at line 285 of file itkShapeLabelObject.h.
typedef SmartPointer< const Self > itk::ShapeLabelObject< TLabel, VImageDimension >::ConstPointer |
Definition at line 50 of file itkShapeLabelObject.h.
typedef WeakPointer< const Self > itk::ShapeLabelObject< TLabel, VImageDimension >::ConstWeakPointer |
Definition at line 51 of file itkShapeLabelObject.h.
typedef Superclass::IndexType itk::ShapeLabelObject< TLabel, VImageDimension >::IndexType |
Definition at line 63 of file itkShapeLabelObject.h.
typedef LabelMap< Self > itk::ShapeLabelObject< TLabel, VImageDimension >::LabelMapType |
Definition at line 57 of file itkShapeLabelObject.h.
typedef Superclass::LabelObjectType itk::ShapeLabelObject< TLabel, VImageDimension >::LabelObjectType |
Definition at line 48 of file itkShapeLabelObject.h.
typedef TLabel itk::ShapeLabelObject< TLabel, VImageDimension >::LabelType |
Definition at line 65 of file itkShapeLabelObject.h.
typedef Superclass::LengthType itk::ShapeLabelObject< TLabel, VImageDimension >::LengthType |
Definition at line 69 of file itkShapeLabelObject.h.
typedef Superclass::LineType itk::ShapeLabelObject< TLabel, VImageDimension >::LineType |
Definition at line 67 of file itkShapeLabelObject.h.
typedef Matrix< double, VImageDimension, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::MatrixType |
Definition at line 287 of file itkShapeLabelObject.h.
typedef SmartPointer< Self > itk::ShapeLabelObject< TLabel, VImageDimension >::Pointer |
Definition at line 49 of file itkShapeLabelObject.h.
typedef ImageRegion< VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::RegionType |
Definition at line 283 of file itkShapeLabelObject.h.
typedef ShapeLabelObject itk::ShapeLabelObject< TLabel, VImageDimension >::Self |
Standard class typedefs
Definition at line 46 of file itkShapeLabelObject.h.
typedef LabelObject< TLabel, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::Superclass |
Definition at line 47 of file itkShapeLabelObject.h.
typedef Vector< double, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::VectorType |
Definition at line 289 of file itkShapeLabelObject.h.
|
inlineprotected |
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 550 of file itkShapeLabelObject.h.
References itk::Matrix< T, NRows, NColumns >::Fill(), itk::FixedArray< TValue, VLength >::Fill(), itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, and itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.
|
private |
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.
|
inlineoverridevirtual |
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.
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.
Definition at line 520 of file itkShapeLabelObject.h.
References itk::LabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, and itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.
Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::CopyAttributesFrom().
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.
|
inlinestatic |
Definition at line 145 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX, itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID, itk::ShapeLabelObject< TLabel, VImageDimension >::ELONGATION, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_ELLIPSOID_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_RADIUS, itk::ShapeLabelObject< TLabel, VImageDimension >::FERET_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS, itk::LabelObject< TLabel, VImageDimension >::GetAttributeFromName(), itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS, itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER_RATIO, itk::ShapeLabelObject< TLabel, VImageDimension >::PHYSICAL_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_AXES, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS, and itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS.
Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), itk::ShapeRelabelImageFilter< TInputImage >::SetAttribute(), itk::LabelShapeOpeningImageFilter< TInputImage >::SetAttribute(), itk::LabelShapeKeepNObjectsImageFilter< TInputImage >::SetAttribute(), itk::BinaryShapeOpeningImageFilter< TInputImage >::SetAttribute(), and itk::BinaryShapeKeepNObjectsImageFilter< TInputImage >::SetAttribute().
|
inline |
Definition at line 291 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox.
|
inline |
Definition at line 321 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid.
|
inline |
Definition at line 381 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation.
|
inline |
Definition at line 431 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter.
|
inline |
Definition at line 421 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter.
|
inline |
Definition at line 411 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius.
|
inline |
Definition at line 351 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter.
|
inline |
Definition at line 441 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness.
|
inlinestatic |
Definition at line 219 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX, itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID, itk::ShapeLabelObject< TLabel, VImageDimension >::ELONGATION, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_ELLIPSOID_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_RADIUS, itk::ShapeLabelObject< TLabel, VImageDimension >::FERET_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS, itk::LabelObject< TLabel, VImageDimension >::GetNameFromAttribute(), itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS, itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER_RATIO, itk::ShapeLabelObject< TLabel, VImageDimension >::PHYSICAL_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_AXES, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS, and itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS.
Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.
|
inline |
Definition at line 311 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels.
|
inline |
Definition at line 331 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder.
|
inline |
Definition at line 391 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter.
|
inline |
Definition at line 341 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder.
|
inline |
Definition at line 451 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio.
|
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 496 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, and itk::AffineTransform< TParametersValueType, NDimensions >::New().
|
inline |
Definition at line 301 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize.
|
inline |
Definition at line 371 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes.
|
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 470 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, and itk::AffineTransform< TParametersValueType, NDimensions >::New().
|
inline |
Definition at line 361 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments.
|
inline |
Definition at line 401 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.
|
static |
Method for creation through the object factory.
|
private |
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.
|
inlineoverrideprotectedvirtual |
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.
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.
Definition at line 570 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness, itk::Region::Print(), and itk::LabelObject< TLabel, VImageDimension >::PrintSelf().
Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::PrintSelf().
|
inline |
Definition at line 296 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox.
|
inline |
Definition at line 326 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid.
|
inline |
Definition at line 386 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation.
|
inline |
Definition at line 436 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter.
|
inline |
Definition at line 426 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter.
|
inline |
Definition at line 416 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius.
|
inline |
Definition at line 356 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter.
|
inline |
Definition at line 446 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness.
|
inline |
Definition at line 316 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels.
|
inline |
Definition at line 336 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder.
|
inline |
Definition at line 396 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter.
|
inline |
Definition at line 346 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder.
|
inline |
Definition at line 456 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio.
|
inline |
Definition at line 306 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize.
|
inline |
Definition at line 376 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes.
|
inline |
Definition at line 366 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments.
|
inline |
Definition at line 406 of file itkShapeLabelObject.h.
References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.
|
static |
Definition at line 86 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Centroid is the position of the center of the shape in physical coordinates. It is not constrained to be in the object, and thus can be outside if the object is not convex.
Definition at line 84 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Elongation is the ratio of the largest principal moment to the second largest principal moment. Its value is greater or equal to 1. Its type is double.
Definition at line 119 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
EquivalentEllipsoidPerimeter is the size of the ellipsoid of the same size and the same ratio on all the axes than the label object. The value depends on the image spacing.
Definition at line 139 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
EquivalentPerimeter is the equivalent perimeter of the hypersphere of the same size than the label object. The value depends on the image spacing. Its type is double.
Definition at line 134 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
EquivalentRadius is the equivalent radius of the hypersphere of the same size than the label object. The value depends on the image spacing. Its type is double.
Definition at line 129 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
FeretDiameter is the diameter in physical units of the sphere which include all the object. The feret diameter is not computed by default, because of its high computation. Its type is double.
Definition at line 108 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Definition at line 141 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Definition at line 61 of file itkShapeLabelObject.h.
|
private |
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 598 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetBoundingBox(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), and itk::ShapeLabelObject< TLabel, VImageDimension >::SetBoundingBox().
|
private |
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 601 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetCentroid(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToPrincipalAxesTransform(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxesToPhysicalAxesTransform(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetCentroid(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 607 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetElongation(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetElongation(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 612 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentEllipsoidDiameter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentEllipsoidDiameter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 611 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalPerimeter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalPerimeter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 610 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalRadius(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalRadius(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 604 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetFeretDiameter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetFeretDiameter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 613 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetFlatness(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetFlatness(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 599 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixels(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixels(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 602 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixelsOnBorder(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixelsOnBorder(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 608 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 603 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorder(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorder(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 614 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorderRatio(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorderRatio(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 600 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSize(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSize(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 606 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToPrincipalAxesTransform(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxes(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxesToPhysicalAxesTransform(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalAxes(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 605 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalMoments(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalMoments(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
private |
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 609 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetRoundness(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetRoundness(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().
|
static |
The number of pixels.
Definition at line 74 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
NumberOfPixelsOnBorder is the number of pixels in the objects which are on the border of the image. A pixel on several borders (a pixel in a corner) is counted only one time, so the size on border can't be greater than the size of the object. This attribute is particularly useful to remove the objects which are touching too much the border. Its type is unsigned long.
Definition at line 94 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
The perimeter of the object.
Definition at line 122 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
PerimeterOnBorder is the physical size of the objects which are on the border of the image. In 2D, it is a distance, in 3D, a surface, etc. Contrary to the PhysicalSize attribute which is directly linked to the NumberOfPixels, this attribute is not directly linked to the NumberOfPixelsOnBorder attribute. This attribute is particularly useful to remove the objects which are touching too much the border. Its type is double.
Definition at line 103 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Definition at line 143 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
PhysicalSize is the size of the object in physical units. It is equal to the NumberOfPixels multiplied by the physical pixel size. Its type is double.
Definition at line 79 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
BinaryPrincipalAxes contains the principal axes of the object.
Definition at line 114 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
PrincipalMoments contains the principal moments.
Definition at line 111 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().
|
static |
Definition at line 124 of file itkShapeLabelObject.h.
Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().