18 #ifndef itkRegionBasedLevelSetFunctionData_h
19 #define itkRegionBasedLevelSetFunctionData_h
67 template<
typename TInputImage,
typename TFeatureImage >
78 static constexpr
unsigned int ImageDimension = TFeatureImage::ImageDimension;
110 void CreateHeavisideFunctionOfLevelSetImage(
const InputImageType *image);
114 template<
typename TIndex >
117 for (
unsigned int j = 0; j < ImageDimension; j++ )
119 if ( ( featureIndex[j] < static_cast< InputIndexValueType >( this->m_Start[j] ) )
120 || ( featureIndex[j] > static_cast< InputIndexValueType >( this->m_End[j] ) ) )
129 InputIndexType GetIndex(
const FeatureIndexType & featureIndex);
132 FeatureIndexType GetFeatureIndex(
const InputIndexType & inputIndex);
147 #ifndef ITK_MANUAL_INSTANTIATION
148 #include "itkRegionBasedLevelSetFunctionData.hxx"
typename FeatureImageType::PixelType FeaturePixelType
typename InputImageType::SizeType InputSizeType
typename FeatureImageType::SizeType FeatureSizeType
Light weight base class for most itk classes.
typename FeatureImageType::ConstPointer FeatureImageConstPointer
double m_WeightedNumberOfPixelsInsideLevelSet
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
unsigned long SizeValueType
typename InputImageType::PointType InputPointType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::IndexType InputIndexType
typename InputSizeType::SizeValueType InputSizeValueType
typename InputImageType::SpacingType InputSpacingType
typename FeatureSizeType::SizeValueType FeatureSizeValueType
TInputImage InputImageType
ImageBaseType::SizeType SizeType
typename InputImageType::Pointer InputImagePointer
typename FeatureImageType::PointType FeaturePointType
ImageBaseType::IndexType IndexType
signed long IndexValueType
TFeatureImage FeatureImageType
typename FeatureImageType::Pointer FeatureImagePointer
typename InputImageType::PixelType InputPixelType
bool VerifyInsideRegion(const TIndex &featureIndex)
ImageBaseType::PointType PointType
typename FeatureImageType::SpacingType FeatureSpacingType
typename FeatureImageType::IndexType FeatureIndexType
double m_WeightedNumberOfPixelsOutsideLevelSet
~RegionBasedLevelSetFunctionData() override
ImageBaseType::RegionType RegionType
InputImagePointer m_HeavisideFunctionOfLevelSetImage
typename InputImageType::RegionType InputRegionType
typename FeatureImageType::RegionType FeatureRegionType
typename InputIndexType::IndexValueType InputIndexValueType