#include <itkLevelSetImageFilter.h>
Inheritance diagram for itk::LevelSetImageFilter:
Public Types | |
typedef LevelSetImageFilter | Self |
typedef ImageToImageFilter< TLevelSet, TLevelSet > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef LevelSetTypeDefault< TLevelSet > | LevelSetType |
typedef LevelSetType::LevelSetImageType | LevelSetImageType |
typedef LevelSetType::LevelSetPointer | LevelSetPointer |
typedef LevelSetType::LevelSetConstPointer | LevelSetConstPointer |
typedef LevelSetType::PixelType | PixelType |
typedef LevelSetType::NodeType | NodeType |
typedef LevelSetType::NodeContainer | NodeContainer |
typedef LevelSetType::NodeContainerPointer | NodeContainerPointer |
enum | { SetDimension = LevelSetType::SetDimension } |
Public Methods | |
virtual const char * | GetClassName () const |
virtual void | SetTimeStepSize (double _arg) |
virtual double | GetTimeStepSize () |
virtual bool | GetNarrowBanding () |
virtual void | SetNarrowBandwidth (double _arg) |
virtual double | GetNarrowBandwidth () |
void | SetInputNarrowBand (NodeContainer *ptr) |
NodeContainerPointer | GetInputNarrowBand () |
virtual void | SetNumberOfIterations (unsigned int _arg) |
virtual unsigned int | GetNumberOfIterations () |
virtual void | SetNarrowBanding (bool _arg) |
virtual void | NarrowBandingOn () |
virtual void | NarrowBandingOff () |
int | GetNarrowBandSize () |
Protected Methods | |
LevelSetImageFilter () | |
~LevelSetImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | AllocateBuffers (bool outputOnly=false) |
virtual void | SwapBuffers () |
virtual void | CopyInputToInputBuffer () |
virtual void | CopyOutputBufferToOutput () |
LevelSetPointer | GetInputBuffer (void) |
LevelSetPointer | GetOutputBuffer (void) |
virtual void | GenerateInputRequestedRegion () |
virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
Depending on the application a level set function may correspond to iso-intensity contours of an image (e.g. for image denoising) or some signed distance function from a shape boundary or interface.
Typically, level set evolution is a iterative process. This class provides infrastructure for internal iterations. Specifically, this class maintains two buffers to keep intermediate results between iterations.
This class also provides a mechanism for narrowbanding, where only data within a narrow band of interest is processed.
This class is templated over the image type which represents the level set.
Note: All level set algorithms will eventually be reimplemented to in the Finite Difference Solver framework.
Definition at line 57 of file itkLevelSetImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 65 of file itkLevelSetImageFilter.h. |
|
Definition at line 74 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 72 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 73 of file itkLevelSetImageFilter.h. |
|
LevelSetType typedef support. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 71 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 77 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 78 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 76 of file itkLevelSetImageFilter.h. |
|
Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 75 of file itkLevelSetImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 64 of file itkLevelSetImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 62 of file itkLevelSetImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. Definition at line 63 of file itkLevelSetImageFilter.h. |
|
SetDimension enumeration. Definition at line 81 of file itkLevelSetImageFilter.h. |
|
|
|
Definition at line 135 of file itkLevelSetImageFilter.h. |
|
Allocate the internal buffers for internal interations. |
|
Copy data from the input level set to the internal input buffer. |
|
Copy data from the internal output buffer to the process buffer. |
|
Specify a larger than requested output region. The default is to enlarge the requested region to the largest possible. Subclasses should override this method if a different output region is desired.
Reimplemented from itk::ProcessObject. |
|
Specify the required input region to satisfiy the output request. The default is to request for the largest possible region for any output. Subclasses should override this method if a different input size is desired.
Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. |
|
Get a pointer to the internal input buffer. Definition at line 155 of file itkLevelSetImageFilter.h. |
|
Get the input narrowband. Definition at line 124 of file itkLevelSetImageFilter.h. |
|
Get the narrowbanding flag. |
|
Get the number of pixels in the narrowband. Definition at line 113 of file itkLevelSetImageFilter.h. |
|
Get the narrow bandwidth. |
|
Get the number of iterations. |
|
Get a pointer to the internal output buffer. Definition at line 159 of file itkLevelSetImageFilter.h. |
|
Get the evolution time step size. |
|
Set the narrowbanding flag. If NarrowBanding is turned on, only the pixels in the InputNarrowBand are processed. A NarrowBand is represented as a VectorContainer of LevelSetNodes. NarrowBanding is set to false by default.
|
|
Set the narrowbanding flag. If NarrowBanding is turned on, only the pixels in the InputNarrowBand are processed. A NarrowBand is represented as a VectorContainer of LevelSetNodes. NarrowBanding is set to false by default.
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ImageToImageFilter< TLevelSet, TLevelSet >. Reimplemented in itk::GeodesicActiveContourImageFilter< TLevelSet, TEdgeImage, TDerivImage >, and itk::ShapeDetectionLevelSetFilter< TLevelSet, TEdgeImage >. |
|
Set the input narrowband. |
|
Set the narrowbanding flag. If NarrowBanding is turned on, only the pixels in the InputNarrowBand are processed. A NarrowBand is represented as a VectorContainer of LevelSetNodes. NarrowBanding is set to false by default.
|
|
Set the narrow bandwidth. Default is 12. |
|
Set the number of iterations. Default is 10. |
|
Set the evolution time step size. Default is 0.5. The timestep is typically algorithm and application dependent. It should be chosen to meet the CFL condition which requires that no pixels move more than one grid position at each time step. |
|
Swap the pointers to the two internal pointers. Useful when the output of one iteration is the input to the next iteration. |