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