18 #ifndef itkShapeLabelMapFilter_h
19 #define itkShapeLabelMapFilter_h
51 template<
typename TImage,
typename TLabelImage =
52 Image< typename TImage::PixelType, TImage ::ImageDimension > >
91 #ifdef ITK_USE_CONCEPT_CHECKING
140 void operator=(const
Self &) ITK_DELETE_FUNCTION;
154 typedef std::map<Offset3Type, SizeValueType, Offset3Type::LexicographicCompare>
MapIntercept3Type;
158 template<typename TMapIntercept, typename TSpacing>
double PerimeterFromInterceptCount( TMapIntercept & intercepts, const TSpacing & spacing );
159 #if ! defined(ITK_DO_NOT_USE_PERIMETER_SPECIALIZATION)
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkShapeLabelMapFilter.hxx"
void SetLabelImage(const TLabelImage *input)
Light weight base class for most itk classes.
Represent the offset between two n-dimensional indexes in a n-dimensional image.
double PerimeterFromInterceptCount(TMapIntercept &intercepts, const TSpacing &spacing)
SmartPointer< const Self > ConstPointer
InputImageType::LabelObjectType LabelObjectType
virtual void AfterThreadedGenerateData() override
ImageType::OffsetType OffsetType
unsigned long SizeValueType
ImageType::Pointer ImagePointer
ImageType::IndexType IndexType
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
ImageType::LabelObjectType LabelObjectType
ImageType::ConstPointer ImageConstPointer
A templated class holding a n-Dimensional vector.
static const unsigned int ImageDimension
LabelImageType::Pointer LabelImagePointer
Base class for filters that takes an image as input and overwrites that image as the output...
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
ImageType::PixelType PixelType
LabelImageType::PixelType LabelPixelType
virtual void BeforeThreadedGenerateData() override
LabelObjectType::VectorType VectorType
void ComputeFeretDiameter(LabelObjectType *labelObject)
ImageType::SizeType SizeType
Control indentation during Print() invocation.
std::map< Offset2Type, SizeValueType, Offset2Type::LexicographicCompare > MapIntercept2Type
bool m_ComputeFeretDiameter
LabelImageType::ConstPointer LabelImageConstPointer
ImageType::RegionType RegionType
LabelObjectType::MatrixType MatrixType
TLabelImage LabelImageType
The valuator class for the ShapeLabelObject.
LabelImageConstPointer m_LabelImage
void ComputePerimeter(LabelObjectType *labelObject)
InPlaceLabelMapFilter< TImage > Superclass
std::map< Offset3Type, SizeValueType, Offset3Type::LexicographicCompare > MapIntercept3Type