18#ifndef itkRegionBasedLevelSetFunctionData_h
19#define itkRegionBasedLevelSetFunctionData_h
64template <
typename TInputImage,
typename TFeatureImage>
75 static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension;
112 template <
typename TIndex>
116 for (
unsigned int j = 0; j < ImageDimension; ++j)
135 double m_WeightedNumberOfPixelsInsideLevelSet{};
136 double m_WeightedNumberOfPixelsOutsideLevelSet{};
148#ifndef ITK_MANUAL_INSTANTIATION
149# include "itkRegionBasedLevelSetFunctionData.hxx"
Light weight base class for most itk classes.
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
typename InputImageType::PixelType InputPixelType
typename FeatureSizeType::SizeValueType FeatureSizeValueType
typename InputImageType::PointType InputPointType
typename InputImageType::RegionType InputRegionType
typename InputImageType::ConstPointer InputImageConstPointer
InputIndexType GetIndex(const FeatureIndexType &featureIndex)
void CreateHeavisideFunctionOfLevelSetImage(const InputImageType *image)
typename FeatureImageType::SpacingType FeatureSpacingType
typename InputImageType::SpacingType InputSpacingType
typename InputImageType::IndexType InputIndexType
TFeatureImage FeatureImageType
TInputImage InputImageType
typename FeatureImageType::RegionType FeatureRegionType
typename FeatureImageType::IndexType FeatureIndexType
FeatureIndexType GetFeatureIndex(const InputIndexType &inputIndex)
typename InputIndexType::IndexValueType InputIndexValueType
RegionBasedLevelSetFunctionData()
typename InputImageType::SizeType InputSizeType
typename FeatureImageType::ConstPointer FeatureImageConstPointer
typename FeatureImageType::PointType FeaturePointType
typename FeatureImageType::PixelType FeaturePixelType
typename InputSizeType::SizeValueType InputSizeValueType
typename InputImageType::Pointer InputImagePointer
typename FeatureImageType::SizeType FeatureSizeType
typename FeatureImageType::Pointer FeatureImagePointer
~RegionBasedLevelSetFunctionData() override=default
bool VerifyInsideRegion(const TIndex &featureIndex)
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType