ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFiniteDifferenceSparseImageFilter.h>
Classes | |
struct | FDThreadStruct |
struct | ThreadRegionType |
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::FiniteDifferenceFunctionType | FiniteDifferenceFunctionType |
typedef SparseOutputImageType::IndexType | IndexType |
typedef Superclass::InputImageType | InputImageType |
typedef OutputNodeType::NodeDataType | NodeDataType |
typedef SparseOutputImageType::NodeListType | NodeListType |
typedef OutputNodeType::NodeValueType | NodeValueType |
typedef SparseOutputImageType::NodeType | OutputNodeType |
typedef Superclass::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef FiniteDifferenceSparseImageFilter | Self |
typedef SparseOutputImageType::SizeType | SizeType |
typedef FiniteDifferenceSparseImageFunction < SparseOutputImageType > | SparseFunctionType |
typedef Superclass::OutputImageType | SparseOutputImageType |
typedef FiniteDifferenceImageFilter < TInputImageType, TSparseOutputImageType > | Superclass |
typedef Superclass::TimeStepType | TimeStepType |
Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > | |
typedef TInputImageType::PixelType | InputPixelType |
typedef NumericTraits < InputPixelType >::ValueType | InputPixelValueType |
typedef FiniteDifferenceFunctionType::NeighborhoodScalesType | NeighborhoodScalesType |
typedef TSparseOutputImageType | OutputImageType |
typedef TSparseOutputImageType::PixelType | OutputPixelType |
typedef NumericTraits < OutputPixelType >::ValueType | OutputPixelValueType |
typedef FiniteDifferenceFunctionType::RadiusType | RadiusType |
Public Types inherited from itk::InPlaceImageFilter< TInputImageType, TSparseOutputImageType > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Types inherited from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType > | |
Public Types inherited from itk::ImageSource< TSparseOutputImageType > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImageType, TSparseOutputImageType > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType > | |
Static Public Attributes inherited from itk::ImageSource< TSparseOutputImageType > |
Static Protected Member Functions | |
static ITK_THREAD_RETURN_TYPE | ApplyUpdateThreaderCallback (void *arg) |
static ITK_THREAD_RETURN_TYPE | CalculateChangeThreaderCallback (void *arg) |
static ITK_THREAD_RETURN_TYPE | PrecalculateChangeThreaderCallback (void *arg) |
Private Member Functions | |
FiniteDifferenceSparseImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_PrecomputeFlag |
NodeListType::RegionListType | m_RegionList |
SparseFunctionType * | m_SparseFunction |
Additional Inherited Members | |
Protected Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > | |
IdentifierType | m_ElapsedIterations |
bool | m_IsInitialized |
bool | m_ManualReinitialization |
double | m_MaximumRMSError |
IdentifierType | m_NumberOfIterations |
double | m_RMSChange |
This class implements a multi-threaded base class for Image to SparseImage finite difference processes.
Definition at line 63 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SmartPointer< const Self > itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::ConstPointer |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 74 of file itkFiniteDifferenceSparseImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::FiniteDifferenceFunctionType |
The value type of the time step. This is distinct from PixelType because PixelType may often be a vector value, while the TimeStep is a scalar value.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 84 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SparseOutputImageType::IndexType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::IndexType |
Typedefs from the sparse output image type.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 92 of file itkFiniteDifferenceSparseImageFilter.h.
typedef Superclass::InputImageType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::InputImageType |
Typedefs from the superclass
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 77 of file itkFiniteDifferenceSparseImageFilter.h.
typedef OutputNodeType::NodeDataType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeDataType |
The type for the data variable of OutputNodeType.
Definition at line 98 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SparseOutputImageType::NodeListType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeListType |
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 95 of file itkFiniteDifferenceSparseImageFilter.h.
typedef OutputNodeType::NodeValueType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeValueType |
The basic scalar variable type used in OutputNodeType. Expected to be float or double. If NodeDataType is a scalar, then this is the same type as that.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 103 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SparseOutputImageType::NodeType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::OutputNodeType |
Definition at line 94 of file itkFiniteDifferenceSparseImageFilter.h.
typedef Superclass::PixelType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::PixelType |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Definition at line 82 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SmartPointer< Self > itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Pointer |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 73 of file itkFiniteDifferenceSparseImageFilter.h.
typedef FiniteDifferenceSparseImageFilter itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Self |
Standard class typedef
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 69 of file itkFiniteDifferenceSparseImageFilter.h.
typedef SparseOutputImageType::SizeType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SizeType |
Definition at line 93 of file itkFiniteDifferenceSparseImageFilter.h.
typedef FiniteDifferenceSparseImageFunction< SparseOutputImageType > itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SparseFunctionType |
The sparse image finite difference function type used in this class.
Definition at line 107 of file itkFiniteDifferenceSparseImageFilter.h.
typedef Superclass::OutputImageType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SparseOutputImageType |
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 81 of file itkFiniteDifferenceSparseImageFilter.h.
typedef FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Superclass |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 71 of file itkFiniteDifferenceSparseImageFilter.h.
typedef Superclass::TimeStepType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::TimeStepType |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Definition at line 83 of file itkFiniteDifferenceSparseImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 116 of file itkFiniteDifferenceSparseImageFilter.h.
|
private |
|
inlineprotectedvirtual |
This class does not use AllocateUpdateBuffer to allocate memory for its narrow band. All memory is handled through the SparseImage class.
Implements itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Definition at line 126 of file itkFiniteDifferenceSparseImageFilter.h.
|
protectedvirtual |
This function updates the m_Data variable in the output image nodes using the update values computed by CalculateChange.
|
staticprotected |
Multi-threaded implementation of ApplyUpdate.
|
protectedvirtual |
This method computes changes to the output image using the ComputeSparseUpdate method in the Sparse Function object.
Implements itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
|
staticprotected |
Multuthreaded implementation of CalculateChange
|
inlineprotectedvirtual |
This function can be used to implements constraints on the range of data values. Default is no constraint.
Definition at line 130 of file itkFiniteDifferenceSparseImageFilter.h.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
|
virtual |
|
protected |
This function returns a single region for use in multi-threading.
|
protectedvirtual |
This method splits the active pixels of the sparse image into equal size lists for multi-threading. These lists remain constant throughout the operation of this filter.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
|
protectedvirtual |
This method provides a means of performing a first pass for computing the change and storing intermediate values that will then be used by CalculateChange. This can be used to speed up certain update rules.
|
staticprotected |
Multi-threaded implementation of PrecalculateChange
|
protectedvirtual |
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::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
|
virtual |
void itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SetSparseFunction | ( | SparseFunctionType * | sf | ) |
Sets the function object that will be called for computing updates.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
static |
Dimensionality of input and output data is assumed to be the same. It is inherited from the superclass.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.
Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 89 of file itkFiniteDifferenceSparseImageFilter.h.
|
private |
Flag to let the class know whether or not to call PrecalculateChange.
Definition at line 189 of file itkFiniteDifferenceSparseImageFilter.h.
|
private |
A list of subregions of the active set of pixels in the sparse image which are passed to each thread for parallel processing.
Definition at line 196 of file itkFiniteDifferenceSparseImageFilter.h.
|
private |
The Sparse function type.
Definition at line 192 of file itkFiniteDifferenceSparseImageFilter.h.