![]() |
Orfeo Toolbox
3.16
|
#include <itkVectorCurvatureNDAnisotropicDiffusionFunction.h>
Inheritance diagram for itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >:
Collaboration diagram for itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >:Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef ZeroFluxNeumannBoundaryCondition < ImageType > | DefaultBoundaryConditionType |
| typedef Superclass::FloatOffsetType | FloatOffsetType |
| typedef Superclass::ImageType | ImageType |
| typedef Vector< PixelRealType, itkGetStaticConstMacro(ImageDimension)> | NeighborhoodScalesType |
| typedef Superclass::NeighborhoodType | NeighborhoodType |
| typedef double | PixelRealType |
| typedef Superclass::PixelRealType | PixelrealType |
| typedef Superclass::PixelType | PixelType |
| typedef SmartPointer< Self > | Pointer |
| typedef Superclass::RadiusType | RadiusType |
| typedef PixelType::ValueType | ScalarValueType |
| typedef VectorCurvatureNDAnisotropicDiffusionFunction | Self |
| typedef VectorAnisotropicDiffusionFunction < TImage > | Superclass |
| typedef Superclass::TimeStepType | TimeStepType |
Static Public Member Functions | |
| static void | BreakOnError () |
| static Pointer | New () |
Static Public Attributes | |
| static const unsigned int | ImageDimension = Superclass::ImageDimension |
| static const unsigned int | VectorDimension = Superclass::VectorDimension |
Protected Types | |
| typedef int | InternalReferenceCountType |
Protected Member Functions | |
| VectorCurvatureNDAnisotropicDiffusionFunction () | |
| ~VectorCurvatureNDAnisotropicDiffusionFunction () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
Protected Attributes | |
| RadiusType | m_Radius |
| InternalReferenceCountType | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| PixelRealType | m_ScaleCoefficients [ImageDimension] |
Private Member Functions | |
| VectorCurvatureNDAnisotropicDiffusionFunction (const Self &) | |
| void | operator= (const Self &) |
Private Attributes | |
| DerivativeOperator < ScalarValueType, itkGetStaticConstMacro(ImageDimension)> | dx_op |
| unsigned long | m_Center |
| VectorNeighborhoodInnerProduct < ImageType > | m_InnerProduct |
| double | m_K |
| unsigned long | m_Stride [ImageDimension] |
| std::slice | x_slice [ImageDimension] |
| std::slice | xa_slice [ImageDimension][ImageDimension] |
| std::slice | xd_slice [ImageDimension][ImageDimension] |
Static Private Attributes | |
| static double | m_MIN_NORM = 1.0e-10 |
This class is a simple extension of the CurvatureNDAnisotropicDiffusionFunction to pixel types of multiple components. Vector components are diffused separately, but diffusion of each component is limited by a conductance term which depends on all components.
For more information, please see CurvatureNDAnisotropicDiffusionFunction.
Definition at line 42 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef SmartPointer<const Self> itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::ConstPointer |
Definition at line 50 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
inherited |
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.
Definition at line 91 of file itkFiniteDifferenceFunction.h.
| typedef Superclass::FloatOffsetType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::FloatOffsetType |
Definition at line 65 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef Superclass::ImageType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::ImageType |
Inherit some parameters from the superclass type.
Definition at line 57 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
protectedinherited |
Define the type of the reference count according to the target. This allows the use of atomic operations
Definition at line 137 of file itkLightObject.h.
|
inherited |
The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.
Definition at line 102 of file itkFiniteDifferenceFunction.h.
| typedef Superclass::NeighborhoodType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::NeighborhoodType |
Definition at line 64 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
inherited |
Definition at line 80 of file itkFiniteDifferenceFunction.h.
|
inherited |
Definition at line 151 of file itkAnisotropicDiffusionFunction.h.
| typedef Superclass::PixelType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::PixelType |
Definition at line 61 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef SmartPointer<Self> itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::Pointer |
Definition at line 49 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef Superclass::RadiusType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::RadiusType |
Definition at line 63 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef PixelType::ValueType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::ScalarValueType |
Definition at line 66 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef VectorCurvatureNDAnisotropicDiffusionFunction itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::Self |
Standard itk Self & Superclass typedefs
Definition at line 47 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef VectorAnisotropicDiffusionFunction<TImage> itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::Superclass |
Definition at line 48 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
| typedef Superclass::TimeStepType itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::TimeStepType |
Definition at line 62 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
protected |
|
inlineprotected |
Definition at line 89 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
|
staticinherited |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
Definition at line 149 of file itkLightObject.cxx.
|
virtualinherited |
Compute the average gradient magnitude squared.
Definition at line 32 of file itkVectorAnisotropicDiffusionFunction.txx.
References itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::CreateDirectional(), itk::Neighborhood< TPixel, VDimension, TAllocator >::GetRadius(), itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::SetDirection(), and itk::DerivativeOperator< TPixel, VDimension, TAllocator >::SetOrder().
|
pure virtualinherited |
This method is called before each iteration. It calculates a scalar value that is the average of the gradient magnitude squared at each pixel in the output image (intermediate solution). The average gradient magnitude value is typically used in the anisotropic diffusion equations to calibrate the conductance term.
Referenced by itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::InitializeIteration().
|
inlinevirtualinherited |
Returns the time step supplied by the user. We don't need to use the global data supplied since we are returning a fixed value.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 201 of file itkAnisotropicDiffusionFunction.h.
|
inherited |
Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius
|
virtual |
Compute the equation value.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 75 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.txx.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel().
|
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::LightObject.
|
virtualinherited |
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.
Delete a 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.
Definition at line 88 of file itkLightObject.cxx.
|
inlineinherited |
Set/Get the average gradient magnitude squared.
Definition at line 190 of file itkAnisotropicDiffusionFunction.h.
|
inlineinherited |
Definition at line 184 of file itkAnisotropicDiffusionFunction.h.
|
inlinevirtualinherited |
The anisotropic diffusion classes don't use this particular parameter so it's safe to return a null value.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 208 of file itkAnisotropicDiffusionFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VectorAnisotropicDiffusionFunction< TImage >.
|
inlineinherited |
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 145 of file itkFiniteDifferenceFunction.h.
|
inlinevirtualinherited |
Gets the reference count on this object.
Definition at line 105 of file itkLightObject.h.
|
inlineinherited |
Definition at line 174 of file itkAnisotropicDiffusionFunction.h.
|
inlinevirtual |
This method is called prior to each iteration of the solver.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 81 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
static |
Method for creation through the object factory.
Referenced by itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::VectorCurvatureAnisotropicDiffusionImageFilter().
|
private |
|
inherited |
Cause the object to print itself out.
Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).
Definition at line 135 of file itkLightObject.cxx.
References itk::Indent::GetNextIndent().
Referenced by itk::operator<<().
|
protectedvirtualinherited |
Define a default print header for all objects.
Definition at line 320 of file itkLightObject.cxx.
|
inlineprotectedvirtual |
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.
Chaining method to print an object's instance variables, as well as its superclasses.
Reimplemented from itk::VectorAnisotropicDiffusionFunction< TImage >.
Definition at line 90 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
protectedvirtualinherited |
Define a default print trailer for all objects.
Definition at line 331 of file itkLightObject.cxx.
|
virtualinherited |
Increase the reference count (mark as used by another object).
Reimplemented in itk::ExceptionObject::ReferenceCountedExceptionData, and itk::Object.
Definition at line 160 of file itkLightObject.cxx.
Referenced by itk::ExceptionObject::ReferenceCountedExceptionData::Register().
|
inlinevirtualinherited |
Does nothing. No global data is used in this class of equations.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 214 of file itkAnisotropicDiffusionFunction.h.
|
inlineinherited |
Definition at line 194 of file itkAnisotropicDiffusionFunction.h.
Referenced by itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::InitializeIteration().
|
inlineinherited |
Set/Get the conductance parameter. The conductance parameter.
Definition at line 180 of file itkAnisotropicDiffusionFunction.h.
Referenced by itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::InitializeIteration().
|
inlineinherited |
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 140 of file itkFiniteDifferenceFunction.h.
|
virtualinherited |
Sets the reference count on this object. This is a dangerous method, use it with care.
Sets the reference count (use with care)
Reimplemented in itk::Object.
Definition at line 244 of file itkLightObject.cxx.
|
inlineinherited |
Set the ScaleCoefficients for the difference operators. The defaults a 1.0. These can be set to take the image spacing into account.
Definition at line 151 of file itkFiniteDifferenceFunction.h.
|
inlineinherited |
Set/Get the time step. For this class of anisotropic diffusion filters, the time-step is supplied by the user and remains fixed for all updates.
Definition at line 170 of file itkAnisotropicDiffusionFunction.h.
Referenced by itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::InitializeIteration().
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented in itk::ExceptionObject::ReferenceCountedExceptionData, and itk::Object.
Definition at line 192 of file itkLightObject.cxx.
Referenced by itk::LightObject::New(), and itk::ExceptionObject::ReferenceCountedExceptionData::UnRegister().
|
private |
Derivative operator
Definition at line 106 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
static |
Extract the image and vector dimension.
Definition at line 70 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Definition at line 112 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Inner product function.
Definition at line 98 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Modified global average gradient magnitude term.
Definition at line 109 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
staticprivate |
Definition at line 111 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
protectedinherited |
Definition at line 201 of file itkFiniteDifferenceFunction.h.
|
mutableprotectedinherited |
Number of uses of this object by other objects.
Definition at line 141 of file itkLightObject.h.
|
mutableprotectedinherited |
Mutex lock to protect modification to the reference count
Definition at line 144 of file itkLightObject.h.
|
protectedinherited |
Definition at line 202 of file itkFiniteDifferenceFunction.h.
|
private |
Definition at line 113 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
static |
Definition at line 72 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Slices for the ND neighborhood.
Definition at line 101 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Definition at line 102 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.
|
private |
Definition at line 103 of file itkVectorCurvatureNDAnisotropicDiffusionFunction.h.