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
153 typedef std::map<Offset2Type, SizeValueType, Offset2Type::LexicographicCompare>
MapIntercept2Type;
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"
itk::Vector< double, 2 > Spacing2Type
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.
virtual void AfterThreadedGenerateData()
void PrintSelf(std::ostream &os, Indent indent) const
double PerimeterFromInterceptCount(TMapIntercept &intercepts, const TSpacing &spacing)
SmartPointer< const Self > ConstPointer
InputImageType::LabelObjectType LabelObjectType
ImageType::OffsetType OffsetType
ImageType::Pointer ImagePointer
void operator=(const Self &)
ImageType::IndexType IndexType
SmartPointer< Self > Pointer
itk::Vector< double, 3 > Spacing3Type
ImageType::LabelObjectType LabelObjectType
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject)
itk::Offset< 3 > Offset3Type
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 BeforeThreadedGenerateData()
ImageType::PixelType PixelType
LabelImageType::PixelType LabelPixelType
itk::Offset< 2 > Offset2Type
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