18#ifndef sitkLabelShapeStatisticsImageFilter_h
19#define sitkLabelShapeStatisticsImageFilter_h
345 std::string
GetName()
const {
return std::string(
"LabelShapeStatisticsImageFilter"); }
391 std::vector<int64_t>
m_Labels{ std::vector<int64_t>() };
410 std::unique_ptr<itk::ProcessObject, ProcessObjectDeleter>
m_Filter{
nullptr};
The Image class for SimpleITK.
void(Self::*)(const Image &image1) MemberFunctionType
void SetComputeOrientedBoundingBox(bool ComputeOrientedBoundingBox)
LabelShapeStatisticsImageFilter Self
bool GetComputeOrientedBoundingBox() const
void SetComputePerimeter(bool ComputePerimeter)
uint64_t GetNumberOfPixels(int64_t label) const
std::function< std::vector< unsigned int >(int64_t)> m_pfGetBoundingBox
double GetPhysicalSize(int64_t label) const
std::function< std::vector< double >(int64_t)> m_pfGetCentroid
bool m_ComputeFeretDiameter
bool m_ComputeOrientedBoundingBox
std::vector< unsigned int > GetRegion(int64_t label) const
double GetElongation(int64_t label) const
std::function< std::vector< double >(int64_t)> m_pfGetOrientedBoundingBoxVertices
std::vector< unsigned int > GetRLEIndexes(int64_t label) const
void Execute(const Image &image1)
std::function< std::vector< double >(int64_t)> m_pfGetPrincipalAxes
std::function< std::vector< double >(int64_t)> m_pfGetEquivalentEllipsoidDiameter
void ComputeOrientedBoundingBoxOn()
void ComputePerimeterOn()
std::function< double(int64_t)> m_pfGetPhysicalSize
void ComputeOrientedBoundingBoxOff()
double GetRoundness(int64_t label) const
double GetEquivalentSphericalRadius(int64_t label) const
bool GetComputeFeretDiameter() const
double GetEquivalentSphericalPerimeter(int64_t label) const
std::function< std::vector< double >(int64_t)> m_pfGetOrientedBoundingBoxDirection
std::unique_ptr< itk::ProcessObject, ProcessObjectDeleter > m_Filter
uint64_t GetNumberOfPixelsOnBorder(int64_t label) const
std::function< std::vector< unsigned int >(int64_t)> m_pfGetRLEIndexes
std::function< double(int64_t)> m_pfGetFeretDiameter
std::vector< double > GetCentroid(int64_t label) const
std::function< double(int64_t)> m_pfGetElongation
std::vector< double > GetEquivalentEllipsoidDiameter(int64_t label) const
std::function< std::vector< unsigned int >(int64_t)> m_pfGetRegion
void ComputeFeretDiameterOff()
std::function< std::vector< double >(int64_t)> m_pfGetOrientedBoundingBoxOrigin
std::function< uint64_t(int64_t)> m_pfGetNumberOfPixelsOnBorder
std::function< std::vector< double >(int64_t)> m_pfGetPrincipalMoments
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
std::vector< double > GetPrincipalMoments(int64_t label) const
virtual ~LabelShapeStatisticsImageFilter()
std::vector< int64_t > GetLabels() const
double GetPerimeterOnBorderRatio(int64_t label) const
void ComputePerimeterOff()
std::function< uint64_t(int64_t)> m_pfGetNumberOfPixels
std::vector< unsigned int > GetBoundingBox(int64_t label) const
std::vector< double > GetOrientedBoundingBoxSize(int64_t label) const
std::function< std::vector< unsigned int >(int64_t)> m_pfGetIndexes
std::vector< int64_t > m_Labels
double GetPerimeterOnBorder(int64_t label) const
std::function< double(int64_t)> m_pfGetRoundness
std::vector< double > GetOrientedBoundingBoxDirection(int64_t label) const
uint64_t GetNumberOfLabels()
double GetBackgroundValue() const
void ComputeFeretDiameterOn()
IntegerPixelIDTypeList PixelIDTypeList
void SetComputeFeretDiameter(bool ComputeFeretDiameter)
std::function< double(int64_t)> m_pfGetEquivalentSphericalPerimeter
std::vector< unsigned int > GetIndexes(int64_t label) const
std::vector< double > GetOrientedBoundingBoxOrigin(int64_t label) const
void SetBackgroundValue(double BackgroundValue)
std::function< double(int64_t)> m_pfGetPerimeterOnBorderRatio
std::string GetName() const
std::function< double(int64_t)> m_pfGetPerimeterOnBorder
std::string ToString() const
double GetFeretDiameter(int64_t label) const
std::function< double(int64_t)> m_pfGetFlatness
std::vector< double > GetPrincipalAxes(int64_t label) const
std::function< double(int64_t)> m_pfGetEquivalentSphericalRadius
bool GetComputePerimeter() const
std::vector< double > GetOrientedBoundingBoxVertices(int64_t label) const
bool HasLabel(int64_t label)
std::function< double(int64_t)> m_pfGetPerimeter
LabelShapeStatisticsImageFilter()
double GetFlatness(int64_t label) const
void ExecuteInternal(const Image &image1)
std::function< std::vector< double >(int64_t)> m_pfGetOrientedBoundingBoxSize
double GetPerimeter(int64_t label) const
A class used to instantiate and generate function object to templated member functions.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT