![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkScalarChanAndVeseDenseLevelSetImageFilter.h>
Dense implementation of the Chan and Vese multiphase level set image filter.
This code was adapted from the paper:
"An active contour model without edges" T. Chan and L. Vese. In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
This code was taken from the Insight Journal paper:
"Cell Tracking using Coupled Active Surfaces for Nuclei and Membranes" http://www.insight-journal.org/browse/publication/642 https://hdl.handle.net/10380/3055
That is based on the papers:
"Level Set Segmentation: Active Contours without edge" http://www.insight-journal.org/browse/publication/322 https://hdl.handle.net/1926/1532 and "Level set segmentation using coupled active surfaces" http://www.insight-journal.org/browse/publication/323 https://hdl.handle.net/1926/1533
Definition at line 65 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FeatureImageType::Pointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef FeatureImageType::IndexType | FeatureIndexType |
typedef FeatureIndexType::IndexValueType | FeatureIndexValueType |
typedef FeatureImageType::PixelType | FeaturePixelType |
typedef FeatureImageType::RegionType | FeatureRegionType |
typedef Superclass::FiniteDifferenceFunctionType | FiniteDifferenceFunctionType |
typedef FunctionType::Pointer | FunctionPointer |
typedef TFunction | FunctionType |
typedef OutputImageType::IndexType | IndexType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::InputPointType | InputPointType |
typedef InputImageType::SpacingType | InputSpacingType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef ROIFilterType::Pointer | ROIFilterPointer |
typedef RegionOfInterestImageFilter < FeatureImageType, FeatureImageType > | ROIFilterType |
typedef ScalarChanAndVeseDenseLevelSetImageFilter | Self |
typedef SharedDataType::Pointer | SharedDataPointer |
typedef TSharedData | SharedDataType |
typedef MultiphaseDenseFiniteDifferenceImageFilter < TInputImage, TFeatureImage, TOutputImage, TFunction > | Superclass |
typedef Superclass::TimeStepType | TimeStepType |
typedef Superclass::ValueType | ValueType |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef NeighborhoodAlgorithm::ImageBoundaryFacesCalculator < InputImageType > | FaceCalculatorType |
typedef FaceCalculatorType::FaceListType | FaceListType |
typedef Superclass::FeatureImagePointer | FeatureImagePointer |
typedef Superclass::FeatureImageType | FeatureImageType |
typedef Superclass::FeaturePixelType | FeaturePixelType |
typedef Superclass::FeaturePointType | FeaturePointType |
typedef Superclass::FeatureRegionType | FeatureRegionType |
typedef Superclass::FeatureSizeType | FeatureSizeType |
typedef Superclass::FeatureSpacingType | FeatureSpacingType |
typedef Superclass::FiniteDifferenceFunctionPointer | FiniteDifferenceFunctionPointer |
typedef Superclass::FiniteDifferenceFunctionType | FiniteDifferenceFunctionType |
typedef Superclass::IdCellType | IdCellType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::InputIndexType | InputIndexType |
typedef Superclass::InputIndexValueType | InputIndexValueType |
typedef Superclass::InputPixelType | InputPixelType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputRegionType | InputRegionType |
typedef Superclass::InputSizeType | InputSizeType |
typedef Superclass::InputSizeValueType | InputSizeValueType |
typedef Superclass::InputSpacingType | InputSpacingType |
typedef MaurerType::Pointer | MaurerPointer |
typedef SignedMaurerDistanceMapImageFilter < InputImageType, InputImageType > | MaurerType |
typedef FiniteDifferenceFunctionType::NeighborhoodType | NeighborhoodIteratorType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageType | OutputImageType |
typedef Superclass::OutputIndexType | OutputIndexType |
typedef Superclass::OutputIndexValueType | OutputIndexValueType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef Superclass::OutputRegionType | OutputRegionType |
typedef Superclass::OutputSizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef MultiphaseDenseFiniteDifferenceImageFilter | Self |
typedef Superclass::OutputSizeValueType | SizeValueType |
typedef MultiphaseFiniteDifferenceImageFilter < TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int > | Superclass |
typedef ThresholdFilterType::Pointer | ThresholdFilterPointer |
typedef BinaryThresholdImageFilter < InputImageType, InputImageType > | ThresholdFilterType |
typedef Superclass::TimeStepType | TimeStepType |
typedef InputImageType::ValueType | ValueType |
![]() | |
typedef Vector< float, itkGetStaticConstMacro(ImageDimension) > | CentroidVectorType |
typedef SmartPointer< const Self > | ConstPointer |
typedef FeatureImageType::Pointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef FeatureImageType::PixelType | FeaturePixelType |
typedef FeatureImageType::PointType | FeaturePointType |
typedef FeatureImageType::RegionType | FeatureRegionType |
typedef FeatureImageType::SizeType | FeatureSizeType |
typedef FeatureImageType::SpacingType | FeatureSpacingType |
typedef FiniteDifferenceFunctionType::Pointer | FiniteDifferenceFunctionPointer |
typedef TFunction | FiniteDifferenceFunctionType |
typedef unsigned int | IdCellType |
typedef InputPointType::CoordRepType | InputCoordRepType |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputIndexType::IndexValueType | InputIndexValueType |
typedef InputImageType::OffsetValueType | InputOffsetValueType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::PointType | InputPointType |
typedef InputImageType::RegionType | InputRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef InputSizeType::SizeValueType | InputSizeValueType |
typedef InputImageType::SpacingType | InputSpacingType |
typedef KdTreeGeneratorType::Pointer | KdTreeGeneratorPointer |
typedef Statistics::KdTreeGenerator < SampleType > | KdTreeGeneratorType |
typedef KdTreeType::Pointer | KdTreePointer |
typedef KdTreeGeneratorType::KdTreeType | KdTreeType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef OutputImageType::IndexValueType | OutputIndexValueType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef OutputImageType::RegionType | OutputRegionType |
typedef OutputImageType::SizeType | OutputSizeType |
typedef OutputImageType::SizeValueType | OutputSizeValueType |
typedef SmartPointer< Self > | Pointer |
typedef FiniteDifferenceFunctionType::RadiusType | RadiusType |
typedef Statistics::ListSample < CentroidVectorType > | SampleType |
typedef MultiphaseFiniteDifferenceImageFilter | Self |
typedef InPlaceImageFilter < TFeatureImage, TOutputImage > | Superclass |
typedef FiniteDifferenceFunctionType::TimeStepType | TimeStepType |
typedef std::vector< TimeStepType > | TimeStepVectorType |
typedef std::vector< IdCellType > | VectorIdCellType |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TFeatureImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TFeatureImage, TOutputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TFeatureImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static const unsigned int | ImageDimension |
![]() | |
static const unsigned int | ImageDimension |
![]() | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
![]() | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
![]() | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
SharedDataPointer | m_SharedData |
![]() | |
unsigned int | m_ReinitializeCounter |
![]() | |
std::vector < FiniteDifferenceFunctionPointer > | m_DifferenceFunctions |
unsigned int | m_ElapsedIterations |
IdCellType | m_FunctionCount |
KdTreePointer | m_KdTree |
std::vector< InputImagePointer > | m_LevelSet |
VectorIdCellType | m_Lookup |
double | m_MaximumRMSError |
unsigned int | m_NumberOfIterations |
double | m_RMSChange |
bool | m_UseImageSpacing |
![]() | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
![]() | |
AtomicInt< int > | m_ReferenceCount |
Additional Inherited Members | |
![]() | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::ConstPointer |
Definition at line 76 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FeatureImageType::Pointer itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeatureImagePointer |
Definition at line 95 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef TFeatureImage itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeatureImageType |
Definition at line 94 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FeatureImageType::IndexType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeatureIndexType |
Definition at line 97 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FeatureIndexType::IndexValueType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeatureIndexValueType |
Definition at line 98 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FeatureImageType::PixelType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeaturePixelType |
Definition at line 96 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FeatureImageType::RegionType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FeatureRegionType |
Definition at line 99 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FiniteDifferenceFunctionType |
Definition at line 108 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef FunctionType::Pointer itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FunctionPointer |
Definition at line 111 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef TFunction itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::FunctionType |
Definition at line 110 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef OutputImageType::IndexType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::IndexType |
Definition at line 103 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::InputImagePointer itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::InputImagePointer |
Definition at line 89 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::InputImageType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::InputImageType |
Inherited typedef from the superclass.
Definition at line 88 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::InputPointType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::InputPointType |
Definition at line 90 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef InputImageType::SpacingType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::InputSpacingType |
Definition at line 92 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef TOutputImage itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::OutputImageType |
Output image type typedefs
Definition at line 102 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef OutputImageType::PixelType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::OutputPixelType |
Definition at line 104 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::Pointer |
Definition at line 75 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef ROIFilterType::Pointer itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::ROIFilterPointer |
Definition at line 117 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef RegionOfInterestImageFilter< FeatureImageType, FeatureImageType > itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::ROIFilterType |
Definition at line 116 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef ScalarChanAndVeseDenseLevelSetImageFilter itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::Self |
Definition at line 71 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef SharedDataType::Pointer itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::SharedDataPointer |
Definition at line 114 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef TSharedData itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::SharedDataType |
Definition at line 113 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction > itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::Superclass |
Definition at line 74 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::TimeStepType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::TimeStepType |
Definition at line 106 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
typedef Superclass::ValueType itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::ValueType |
Definition at line 91 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
inlineprotected |
Definition at line 134 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
inlineprotected |
Definition at line 139 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >.
|
overrideprotectedvirtual |
This method is optionally defined by a subclass and is called before the loop of iterations of calculate_change & upate. It does the global initialization, i.e. in the SparseFieldLevelSetImageFilter, initialize the list of layers.
Reimplemented from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >.
|
overrideprotectedvirtual |
This method is optionally defined by a subclass and is called immediately prior to each iterative CalculateChange-ApplyUpdate cycle. It can be used to set global variables needed for the next iteration (ie. average gradient magnitude of the image in anisotropic diffusion functions), or otherwise prepare for the next iteration.
Reimplemented from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >.
|
static |
Method for creation through the object factory.
|
inlinevirtual |
Set/Get the feature image to be used for speed function of the level set equation. Equivalent to calling Set/GetInput(1, ..)
Definition at line 128 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
static |
Definition at line 85 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
protected |
Definition at line 141 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.