#include <itkExtensionVelocitiesImageFilter.h>
Inheritance diagram for itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >:


ExtensionVelocitiesImageFilter extends velocities smoothly from a particular level set.
This class is templated over the image type which represents the level set, the type of the velocity and the number of velocities to be extended.
This class supports narrowbanding. If the input narrowband is provided, the algorithm will only locate the level set within the input narrowband. For the output, the extended velocity is only valid for a distance of OutputNarrowBandwidth / 2 of either side of the level set of interest.
Implementation of this class is based on Chapter 11 of "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Second edition, 1999.
Definition at line 52 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxImageConstPointer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxImageConstPointer |
Definition at line 89 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxImagePointer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxImagePointer |
Definition at line 88 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxImageType itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxImageType |
Definition at line 87 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxValueContainer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxValueContainer |
Definition at line 86 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxValueType itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxValueType |
Definition at line 84 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarType::AuxValueVectorType itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxValueVectorType |
Definition at line 85 of file itkExtensionVelocitiesImageFilter.h.
| typedef AuxVarTypeDefault<TAuxValue,VAuxDimension, itkGetStaticConstMacro(SetDimension)> itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AuxVarType |
AuxVarType typedef support.
Definition at line 83 of file itkExtensionVelocitiesImageFilter.h.
| typedef SmartPointer<const Self> itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::ConstPointer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 61 of file itkExtensionVelocitiesImageFilter.h.
typedef DataObject::Pointer itk::ImageSource< TLevelSet >::DataObjectPointer [inherited] |
Smart Pointer type to a DataObject.
Reimplemented from itk::ProcessObject.
Definition at line 62 of file itkImageSource.h.
typedef std::vector<DataObjectPointer> itk::ProcessObject::DataObjectPointerArray [inherited] |
STL Array of SmartPointers to DataObjects
Definition at line 103 of file itkProcessObject.h.
typedef DataObjectPointerArray::size_type itk::ProcessObject::DataObjectPointerArraySizeType [inherited] |
Size type of an std::vector
Definition at line 112 of file itkProcessObject.h.
typedef InputImageType::ConstPointer itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputImageConstPointer [inherited] |
Definition at line 83 of file itkImageToImageFilter.h.
typedef InputImageType::PixelType itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputImagePixelType [inherited] |
Definition at line 85 of file itkImageToImageFilter.h.
typedef InputImageType::Pointer itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputImagePointer [inherited] |
Definition at line 82 of file itkImageToImageFilter.h.
typedef InputImageType::RegionType itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputImageRegionType [inherited] |
Definition at line 84 of file itkImageToImageFilter.h.
typedef TLevelSet itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputImageType [inherited] |
Some convenient typedefs.
Definition at line 81 of file itkImageToImageFilter.h.
typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension)> itk::ImageToImageFilter< TLevelSet , TLevelSet >::InputToOutputRegionCopierType [protected, inherited] |
Typedef for the region copier function object that converts an input region to an output region.
Definition at line 163 of file itkImageToImageFilter.h.
| typedef LevelSetType::LevelSetConstPointer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::LevelSetConstPointer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 72 of file itkExtensionVelocitiesImageFilter.h.
typedef LevelSetType::LevelSetImageType itk::ReinitializeLevelSetImageFilter< TLevelSet >::LevelSetImageType [inherited] |
Definition at line 73 of file itkReinitializeLevelSetImageFilter.h.
| typedef LevelSetType::LevelSetPointer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::LevelSetPointer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 71 of file itkExtensionVelocitiesImageFilter.h.
| typedef LevelSetTypeDefault<TLevelSet> itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::LevelSetType |
The type of level set and the pointer type.
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 67 of file itkExtensionVelocitiesImageFilter.h.
| typedef LevelSetType::NodeContainer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::NodeContainer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 75 of file itkExtensionVelocitiesImageFilter.h.
| typedef LevelSetType::NodeContainerPointer itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::NodeContainerPointer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 76 of file itkExtensionVelocitiesImageFilter.h.
| typedef LevelSetType::NodeType itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::NodeType |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 74 of file itkExtensionVelocitiesImageFilter.h.
typedef OutputImageType::PixelType itk::ImageSource< TLevelSet >::OutputImagePixelType [inherited] |
Definition at line 71 of file itkImageSource.h.
typedef OutputImageType::Pointer itk::ImageSource< TLevelSet >::OutputImagePointer [inherited] |
Definition at line 69 of file itkImageSource.h.
typedef Superclass::OutputImageRegionType itk::ImageToImageFilter< TLevelSet , TLevelSet >::OutputImageRegionType [inherited] |
Superclass typedefs.
Reimplemented from itk::ImageSource< TLevelSet >.
Definition at line 75 of file itkImageToImageFilter.h.
typedef TLevelSet itk::ImageSource< TLevelSet >::OutputImageType [inherited] |
Some convenient typedefs.
Definition at line 65 of file itkImageSource.h.
typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension)> itk::ImageToImageFilter< TLevelSet , TLevelSet >::OutputToInputRegionCopierType [protected, inherited] |
Typedef for the region copier function object that converts an output region to an input region.
Definition at line 168 of file itkImageToImageFilter.h.
| typedef LevelSetType::PixelType itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::PixelType |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 73 of file itkExtensionVelocitiesImageFilter.h.
| typedef SmartPointer<Self> itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::Pointer |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 60 of file itkExtensionVelocitiesImageFilter.h.
| typedef ExtensionVelocitiesImageFilter itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::Self |
Standard class typedefs.
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 58 of file itkExtensionVelocitiesImageFilter.h.
| typedef ReinitializeLevelSetImageFilter<TLevelSet> itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::Superclass |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
Definition at line 59 of file itkExtensionVelocitiesImageFilter.h.
| itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::ExtensionVelocitiesImageFilter | ( | ) | [protected] |
| itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::~ExtensionVelocitiesImageFilter | ( | ) | [inline, protected] |
Definition at line 114 of file itkExtensionVelocitiesImageFilter.h.
| virtual void itk::ProcessObject::AbortGenerateDataOff | ( | ) | [virtual, inherited] |
| virtual void itk::ProcessObject::AbortGenerateDataOn | ( | ) | [virtual, inherited] |
Turn on and off the AbortGenerateData flag.
| virtual void itk::ProcessObject::AddInput | ( | DataObject * | input | ) | [protected, virtual, inherited] |
| unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
| Command * | ||||
| ) | const [inherited] |
| unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
| Command * | ||||
| ) | [inherited] |
Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects
| virtual void itk::ProcessObject::AddOutput | ( | DataObject * | output | ) | [protected, virtual, inherited] |
| virtual void itk::ImageSource< TLevelSet >::AfterThreadedGenerateData | ( | ) | [inline, protected, virtual, inherited] |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Definition at line 254 of file itkImageSource.h.
| virtual void itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::AllocateOutput | ( | ) | [protected, virtual] |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
| virtual void itk::ImageSource< TLevelSet >::AllocateOutputs | ( | ) | [protected, virtual, inherited] |
The GenerateData method normally allocates the buffers for all of the outputs of a filter. Some filters may want to override this default behavior. For example, a filter may have multiple outputs with varying resolution. Or a filter may want to process data in place by grafting its input to its output.
| virtual void itk::ImageSource< TLevelSet >::BeforeThreadedGenerateData | ( | void | ) | [inline, protected, virtual, inherited] |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Definition at line 242 of file itkImageSource.h.
| static void itk::LightObject::BreakOnError | ( | ) | [static, inherited] |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
| virtual void itk::ProcessObject::CacheInputReleaseDataFlags | ( | ) | [protected, virtual, inherited] |
Cache the state of any ReleaseDataFlag's on the inputs. While the filter is executing, we need to set the ReleaseDataFlag's on the inputs to false in case the current filter is implemented using a mini-pipeline (which will try to release the inputs). After the filter finishes, we restore the state of the ReleaseDataFlag's before the call to ReleaseInputs().
| virtual void itk::ImageToImageFilter< TLevelSet , TLevelSet >::CallCopyInputRegionToOutputRegion | ( | OutputImageRegionType & | destRegion, | |
| const InputImageRegionType & | srcRegion | |||
| ) | [protected, virtual, inherited] |
This function calls the actual region copier to do the mapping from input image space to output image space. It uses a Function object used for dispatching to various routines to copy an input region (start index and size) to an output region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::UnaryFunctorImageFilter can support output images of a higher dimension that the input.
This function object is used by the default implementation of GenerateOutputInformation(). It can also be used in routines like ThreadedGenerateData() where a filter may need to map an input region to an output region.
The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.
For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the first portion of the input region is copied to the output region. If the input region is a lower dimension than the output, the input region information is copied into the first portion of the output region and the rest of the output region is set to zero.
If a filter needs a different default behavior, it can override this method.
| virtual void itk::ImageToImageFilter< TLevelSet , TLevelSet >::CallCopyOutputRegionToInputRegion | ( | InputImageRegionType & | destRegion, | |
| const OutputImageRegionType & | srcRegion | |||
| ) | [protected, virtual, inherited] |
This function calls the actual region copier to do the mapping from output image space to input image space. It uses a Function object used for dispatching to various routines to copy an output region (start index and size) to an input region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::ExtractImageFilter can support output images of a lower dimension that the input.
This function object can be used by GenerateOutputInformation() to copy the input LargestPossibleRegion to the output LargestPossibleRegion and can also be used in GenerateData or ThreadedGenerateData() where a filter may need to map an output region to an input region.
The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.
For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the output region information is copied into the first portion of the input region and the rest of the input region is set to zero. If the input region is a lower dimension than the output, the first portion of the output region is copied to the input region.
If a filter needs a different default behavior, it can override this method. The ExtractImageFilter overrides this function object so that if the input image is a higher dimension than the output image, the filter can control "where" in the input image the output subimage is extracted (as opposed to mapping to first few dimensions of the input).
| virtual LightObject::Pointer itk::Object::CreateAnother | ( | ) | const [virtual, inherited] |
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::LightObject.
| virtual void itk::Object::DebugOff | ( | ) | const [virtual, inherited] |
Turn debugging output off.
| virtual void itk::Object::DebugOn | ( | ) | const [virtual, inherited] |
Turn debugging output on.
| virtual void itk::LightObject::Delete | ( | ) | [virtual, inherited] |
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
| virtual void itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
| void itk::ReinitializeLevelSetImageFilter< TLevelSet >::GenerateData | ( | void | ) | [protected, virtual, inherited] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TLevelSet >.
| virtual void itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::GenerateDataFull | ( | ) | [protected, virtual] |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
| virtual void itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::GenerateDataNarrowBand | ( | ) | [protected, virtual] |
Reimplemented from itk::ReinitializeLevelSetImageFilter< TLevelSet >.
| virtual void itk::ReinitializeLevelSetImageFilter< TLevelSet >::GenerateInputRequestedRegion | ( | ) | [protected, virtual, inherited] |
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierachy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of