ITK
4.8.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 http://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 http://hdl.handle.net/1926/1532 and "Level set segmentation using coupled active surfaces" http://www.insight-journal.org/browse/publication/323 http://hdl.handle.net/1926/1533
Definition at line 65 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
SharedDataPointer | m_SharedData |
Protected Attributes inherited from itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction > | |
unsigned int | m_ReinitializeCounter |
Protected Attributes inherited from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int > | |
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 |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
void | operator= (const Self &) |
ScalarChanAndVeseDenseLevelSetImageFilter (const Self &) | |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TFeatureImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
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 |
|
inlineprotected |
Definition at line 139 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
private |
|
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.
|
private |
|
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.
References itk::ImageToImageFilter< TFeatureImage, TOutputImage >::SetInput().
itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >::typedef | ( | Concept::HasNumericTraits< OutputPixelType > | ) |
This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )
|
static |
Definition at line 85 of file itkScalarChanAndVeseDenseLevelSetImageFilter.h.
|
protected |