#include <itkDeformableSimplexMesh3DFilter.h>
Inheritance diagram for itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >:


DeformableSimplexMesh3DFilter is a discrete three-dimensional deformable model, which can be used to deform a 3-D SimplexMesh.
The mesh deformation is constrained by internal forces. The interal force can be scaled via SetAlpha (typical values are 0.01 < alpha < 0.3). The external force is derived from the image one wants to delineate. Therefore an image of type GradientImageType needs to be set by calling SetGradientImage(...). The external forces are scaled via SetBeta (typical values are 0.01 < beta < 1). One still needs to play around with these values.
To control the smoothness of the mesh a rigidity parameter can be adjusted. Low values (1 or 0) allow areas with high curvature. Higher values (around 7 or 8) will make the mesh smoother.
By setting the gamma parameter the regularity of the mesh is controlled. Low values (< 0.03) produce more regular mesh. Higher values ( 0.3 < gamma < 0.2) will allow to move the vertices to regions of higher curvature.
This approach for segmentation follows that of Delingette et al. (1997).
This filter currently assumes that the spacing of the input image is 1.
The user has to set the number of iterations for mesh evolution.
Definition at line 72 of file itkDeformableSimplexMesh3DFilter.h.
Public Types | |
| typedef Image< unsigned char, 3 > | BinaryOutput |
| typedef InputMeshType::CellsContainer::Iterator | CellsContainerIterator |
| typedef InputMeshType::CellsContainerPointer | CellsContainerPointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef CovariantVector< typename VectorType::ValueType, 3 > | CovariantVectorType |
| typedef DataObject::Pointer | DataObjectPointer |
| typedef std::vector< DataObjectPointer > | DataObjectPointerArray |
| typedef GeometryMapType::Iterator | GeometryMapIterator |
| typedef GeometryMapType::Pointer | GeometryMapPointer |
| typedef InputMeshType::GeometryMapType | GeometryMapType |
| typedef GradientImageType::Pointer | GradientImagePointer |
| typedef GradientImageType::SizeType | GradientImageSizeType |
| typedef Image< GradientType, 3 > | GradientImageType |
| typedef GradientImageType::IndexType | GradientIndexType |
| typedef GradientIndexType::IndexValueType | GradientIndexValueType |
| typedef GradientImageType::PixelType | GradientPixelType |
| typedef CovariantVector< PixelType, 3 > | GradientType |
| typedef IndexSetType::iterator | IndexSetIterator |
| typedef std::set< unsigned long > | IndexSetType |
| typedef InputMeshType::Pointer | InputMeshPointer |
| typedef TInputMesh | InputMeshType |
| typedef InputMeshType::NeighborListType | InputNeighbors |
| typedef InputMeshType::NeighborListType::iterator | InputNeighborsIterator |
| typedef InputMeshType::PointsContainer | InputPointsContainer |
| typedef InputMeshType::PointsContainer::Iterator | InputPointsContainerIterator |
| typedef InputMeshType::PointsContainerPointer | InputPointsContainerPointer |
| typedef Image< float, 3 > | MagnitudeOutput |
| typedef InputMeshType::PointType | MeshPointType |
| typedef NeighborSetType::iterator | NeighborSetIterator |
| typedef std::set< unsigned long > | NeighborSetType |
| typedef OutputMeshType::Pointer | OutputMeshPointer |
| typedef TOutputMesh | OutputMeshType |
| typedef InputMeshType::PixelType | PixelType |
| typedef SmartPointer< Self > | Pointer |
| typedef InputMeshType::PointType | PointType |
| typedef DeformableSimplexMesh3DFilter | Self |
| typedef MeshToMeshFilter< TInputMesh, TOutputMesh > | Superclass |
| typedef PointType::VectorType | VectorType |
| typedef itk::MapContainer< unsigned long, std::set< unsigned long > > | VertexNeighborListType |
Public Member Functions | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| virtual LightObject::Pointer | CreateAnother () const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| virtual void | Delete () |
| virtual void | EnlargeOutputRequestedRegion (DataObject *) |
| virtual const bool & | GetAbortGenerateData () |
| virtual double | GetAlpha () |
| virtual double | GetBeta () |
| Command * | GetCommand (unsigned long tag) |
| virtual double | GetDamping () |
| virtual GeometryMapType * | GetData () |
| bool | GetDebug () const |
| virtual double | GetGamma () |
| virtual GradientImagePointer | GetGradient () |
| virtual int | GetImageDepth () |
| virtual int | GetImageHeight () |
| height and depth opf image *virtual int | GetImageWidth () |
| InputMeshType * | GetInput (unsigned int idx) |
| Get the mesh input of this process object *InputMeshType * | GetInput (void) |
| DataObjectPointerArray & | GetInputs () |
| virtual int | GetIterations () |
| const MetaDataDictionary & | GetMetaDataDictionary (void) const |
| MetaDataDictionary & | GetMetaDataDictionary (void) |
| virtual unsigned long | GetMTime () const |
| MultiThreader * | GetMultiThreader () |
| virtual const char * | GetNameOfClass () const |
| std::vector< DataObjectPointer >::size_type | GetNumberOfInputs () const |
| std::vector< DataObjectPointer >::size_type | GetNumberOfOutputs () const |
| virtual const int & | GetNumberOfThreads () |
| virtual std::vector< DataObjectPointer >::size_type | GetNumberOfValidRequiredInputs () const |
| OutputMeshType * | GetOutput (unsigned int idx) |
| Get the mesh output of this process object *OutputMeshType * | GetOutput (void) |
| Return an array with all the outputs of this process object *This is useful for tracing forward in the pipeline to contruct *graphs etc *DataObjectPointerArray & | GetOutputs () |
| virtual const float & | GetProgress () |
| virtual int | GetReferenceCount () const |
| virtual const bool & | GetReleaseDataBeforeUpdateFlag () |
| virtual bool | GetReleaseDataFlag () const |
| virtual unsigned int | GetRigidity () |
| virtual int | GetStep () |
| virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
| ****this | GraftOutput (lastFilterInMiniPipeline->GetOutput()) |
| ****lastFilterInMiniPipeline | GraftOutput (this->GetOutput()) |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) const |
| void | InvokeEvent (const EventObject &) |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region | ivars (RequestedRegion, BufferedRegion,*LargestPossibleRegion) and meta-data(Spacing |
| virtual DataObjectPointer | MakeOutput (unsigned int idx) |
| virtual void | Modified () const |
| virtual void | PrepareOutputs () |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | PropagateRequestedRegion (DataObject *output) |
| virtual void | Register () const |
| virtual void | ReleaseDataBeforeUpdateFlagOff () |
| virtual void | ReleaseDataBeforeUpdateFlagOn () |
| void | ReleaseDataFlagOff () |
| void | ReleaseDataFlagOn () |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) |
| virtual void | ResetPipeline () |
| virtual void | SetAbortGenerateData (bool _arg) |
| virtual void | SetAlpha (double _arg) |
| virtual void | SetBeta (double _arg) |
| virtual void | SetDamping (double _arg) |
| virtual void | SetData (GeometryMapType *_arg) |
| void | SetDebug (bool debugFlag) const |
| virtual void | SetGamma (double _arg) |
| virtual void | SetGradient (GradientImagePointer _arg) |
| void | SetInput (InputMeshType *input) |
| *Set number of iterations for deformation process *virtual void | SetIterations (int _arg) |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| Get Set the number of threads to create when executing *virtual void | SetNumberOfThreads (int _arg) |
| void | SetOutput (TOutputMesh *output) |
| virtual void | SetProgress (float _arg) |
| virtual void | SetReferenceCount (int) |
| Turn on off the flags to control whether the bulk data belonging *to the outputs of this ProcessObject are released after being *used by a downstream ProcessObject Default value is off Another *options for controlling memory utilization is the *ReleaseDataBeforeUpdateFlag *virtual void | SetReleaseDataFlag (bool flag) |
| virtual void | SetRigidity (unsigned int _arg) |
| virtual void | UnRegister () const |
| ***lastFilterInMiniPipeline | Update () |
| virtual void | UpdateLargestPossibleRegion () |
| virtual void | UpdateOutputData (DataObject *output) |
| virtual void | UpdateOutputInformation () |
| void | UpdateProgress (float amount) |
Static Public Member Functions | |
| static void | BreakOnError () |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| This is a global flag that controls whether any warning *or error messages are displayed *static void | SetGlobalWarningDisplay (bool flag) |
Public Attributes | |
| 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 unsigned lon | AddObserver )(const EventObject &event, Command *) const |
| This is a global flag that controls whether any | debug |
| *endcode **For proper pipeline | execution |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region Origin from the *specified data object into this filter s output data object Most | however |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region Origin from the *specified data object into this filter s output data object Most * | importantly |
| Width | |
Protected Member Functions | |
| virtual void | AddInput (DataObject *input) |
| virtual void | AddOutput (DataObject *output) |
| virtual void | CacheInputReleaseDataFlags () |
| PointType | ComputeBarycentricCoordinates (PointType p, SimplexMeshGeometry *data) |
| virtual void | ComputeDisplacement () |
| virtual void | ComputeExternalForce (SimplexMeshGeometry *data) |
| virtual void | ComputeGeometry () |
| virtual void | ComputeInternalForce (SimplexMeshGeometry *data) |
| virtual void | ComputeOutput () |
| DeformableSimplexMesh3DFilter (const Self &) | |
| DeformableSimplexMesh3DFilter () | |
| virtual void | GenerateData () |
| void | GenerateInputRequestedRegion () |
| virtual void | GenerateOutputInformation () |
| virtual void | GenerateOutputRequestedRegion (DataObject *output) |
| const DataObject * | GetInput (unsigned int idx) const |
| virtual const unsigned int & | GetNumberOfRequiredInputs () |
| virtual const unsigned int & | GetNumberOfRequiredOutputs () |
| const DataObject * | GetOutput (unsigned int idx) const |
| virtual void | Initialize () |
| double | L_Func (double r, double d, double phi) |
| void | operator= (const Self &) |
| virtual void | PopBackInput () |
| virtual void | PopFrontInput () |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual void | PropagateResetPipeline () |
| Push Pop an input of this process object These methods allow a *filter to model its input vector as a queue or stack These *routines may not be appropriate for all especially *filters with different types of inputs These routines follow *the semantics of STL *virtual void | PushBackInput (const DataObject *input) |
| virtual void | PushFrontInput (const DataObject *input) |
| virtual void | ReleaseInputs () |
| virtual void | RemoveInput (DataObject *input) |
| virtual void | RemoveOutput (DataObject *output) |
| virtual void | RestoreInputReleaseDataFlags () |
| Protected methods for setting inputs *Subclasses make use of them for setting input *virtual void | SetNthInput (unsigned int num, DataObject *input) |
| Protected methods for setting outputs *Subclasses make use of them for getting output *virtual void | SetNthOutput (unsigned int num, DataObject *output) |
| void | SetNumberOfInputs (unsigned int num) |
| void | SetNumberOfOutputs (unsigned int num) |
| virtual void | SetNumberOfRequiredInputs (unsigned int _arg) |
| virtual void | SetNumberOfRequiredOutputs (unsigned int _arg) |
| virtual void | UpdateReferenceMetrics () |
| ~DeformableSimplexMesh3DFilter () | |
Protected Attributes | |
| Push Pop an input of this process object These methods allow a *filter to model its input vector as a queue or stack These *routines may not be appropriate for all | filters |
| double | m_Alpha |
| double | m_Beta |
| double | m_Damping |
| GeometryMapPointer | m_Data |
| double | m_Gamma |
| GradientImagePointer | m_Gradient |
| int | m_ImageDepth |
| int | m_ImageHeight |
| int | m_ImageWidth |
| int | m_Iterations |
| TimeStamp | m_OutputInformationMTime |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| unsigned int | m_Rigidity |
| int | m_Step |
| bool | m_Updating |
| Methods invoked by virtual 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.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
|
|||||
|
Definition at line 109 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 132 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 131 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 83 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 103 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Some convenient typedefs. Reimplemented from itk::ProcessObject. Reimplemented in itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >. Definition at line 56 of file itkMeshSource.h. |
|
|
STL Array of SmartPointers to DataObjects Definition at line 103 of file itkProcessObject.h. |
|
|||||
|
Definition at line 145 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 144 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 143 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 112 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 116 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 108 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 113 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 115 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 114 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Image and Image iterator definition. Definition at line 107 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 140 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 138 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 126 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Some typedefs. Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 89 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 133 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 134 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 96 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 97 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 95 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 110 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 130 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 139 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 137 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented from itk::MeshSource< TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 127 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented from itk::MeshSource< TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 93 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 104 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Smart pointer typedef support Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 82 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Other definitions. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 100 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Standard "Self" typedef. Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 76 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Standard "Superclass" typedef. Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. Definition at line 79 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 101 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 136 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
Turn on and off the AbortGenerateData flag. |
|
|
|
|
|
|
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
|
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(). |
|
||||||||||||||||
|
Method computes the barycentric coordinates of the passed point |
|
|||||||||
|
Computes the displacement of each point. Therefore internal and external forces are computed and multiplied by the constants (alpha and beta) set by the user. |
|
||||||||||
|
Compute the external force component Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. |
|
|||||||||
|
Compute geometric properties like curvature and normals, which are necessary for the computation of the internal force components for each point of the mesh. |
|
||||||||||
|
Compute the internal force component |
|
|||||||||
|
At the and of the deformation the output mesh is created by creating a new mesh |
|
|
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. |
|
|
Turn debugging output off. |
|
|
Turn debugging output on. |
|
|
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. |
|
|
||||||||||
|
This method causes the filter to generate its output. Reimplemented from itk::ProcessObject. |
|
|||||||||
|
Requested region of Mesh is specified as i of N unstructured regions. Since all DataObjects should be able to set the requested region in unstructured form, just copy output->RequestedRegion all inputs. Reimplemented from itk::ProcessObject. |
|
|
|
Given one output whose requested region has been set, how should the requested regions for the remaining outputs of the process object be set? By default, all the outputs are set to the same requested region. If a filter needs to produce different requested regions for each output, for instance an image processing filter producing several outputs at different resolutions, then that filter may override this method and set the requested regions appropriatedly. Note that a filter producing multiple outputs of different types is required to override this method. The default implementation can only correctly handle multiple outputs of the same type. Reimplemented in itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::RecursiveMultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::watershed::BoundaryResolver< TPixelType, TDimension >, itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >, itk::watershed::Relabeler< TScalarType, TImageDimension >, itk::watershed::Segmenter< TInputImage >, itk::watershed::SegmentTreeGenerator< TScalarType >, itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>, and itk::watershed::SegmentTreeGenerator< ScalarType >. |
|
|
Get the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways. |
|
|||||||||
|
Get internal force scaling factor |
|
|||||||||
|
Get external force scaling factor |
|
|
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used. |
|
|||||||||
|
Get reference metrics update scaling factor |
|
|||||||||
|
|
|
|
Get the value of the debug flag. |
|
|||||||||
|
Get reference metrics update scaling factor |
|
|
|
|
|||||||||
|
Getter for gradient image |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|
|
|
||||||||||
|
Reimplemented from itk::ProcessObject. |
|
||||||||||
|
|
|
|
Return an array with all the inputs of this process object. This is useful for tracing back in the pipeline to construct graphs etc. Definition at line 108 of file itkProcessObject.h. |
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
Return the multithreader used by this class. Definition at line 281 of file itkProcessObject.h. |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. |
|
|
Get the size of the input vector. This is merely the size of the input vector, not the number of inputs that have valid DataObject's assigned. Use GetNumberOfValidRequiredInputs() to determine how many inputs are non-null. Definition at line 115 of file itkProcessObject.h. |
|
|
Definition at line 132 of file itkProcessObject.h. |
|
|
|
|
|
|
|
|
|
|
|
Get the number of valid inputs. This is the number of non-null entries in the input vector in the first NumberOfRequiredInputs slots. This method is used to determine whether the necessary required inputs have been set. Subclasses of ProcessObject may override this implementation if the required inputs are not the first slots in input vector. Reimplemented in itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >, and itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >. |
|
|
|
|
||||||||||
|
Reimplemented from itk::ProcessObject. |
|
||||||||||
|
Reimplemented in itk::ImageToMeshFilter< TInputImage, TOutputMesh >. |
|
|
Definition at line 130 of file itkProcessObject.h. |
|
|
Get the execution progress of a process object. The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|
|
|
|
|
|
|||||||||
|
control smoothness of the mesh |
|
|||||||||
|
current iteration number |
|
|
Definition at line 100 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Definition at line 98 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
Return true if an observer is registered for this event. |
|
|||||||||
|
Initializes the datastructures necessary for mesh deformation with the values from the passed input mesh. |
|
|
Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object. |
|
|
Call Execute on all the Commands observing this event id. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
L function implemented follwoing the paper of Delingette |
|
||||||||||
|
Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a SmartPointer to a DataObject. If a subclass of MeshSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput(). Reimplemented from itk::ProcessObject. Reimplemented in itk::ImageToMeshFilter< TInputImage, TOutputMesh >. |
|
|
|||||||||
|
Method of creation through the object factory. Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. |
|
||||||||||
|
Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. |
|
|
|
|
An opportunity to deallocate a ProcessObject's bulk data storage. Some filters may wish to reuse existing bulk data storage to avoid unnecessary deallocation/allocation sequences. The default implementation calls Initialize() on each output. DataObject::Initialize() frees its bulk data by default. Reimplemented in itk::WatershedImageFilter< TInputImage >. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||
|
|
|
||||||||||||||||
|
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::MeshSource< TOutputMesh >. Reimplemented in itk::DeformableSimplexMesh3DBalloonForceFilter< TInputMesh, TOutputMesh >, and itk::DeformableSimplexMesh3DGradientConstraintForceFilter. |
|
||||||||||||
|
|
|
|
Send the requested region information back up the pipeline (to the filters that preceed this one). Reimplemented in itk::VTKImageImport< TOutputImage >. |
|
|
Propagate a call to ResetPipeline() up the pipeline. Called only from DataObject. |
|
|
|
|
Increase the reference count (mark as used by another object). Reimplemented from itk::LightObject. |
|
|
|
|
|
|
|
|
Definition at line 254 of file itkProcessObject.h. |
|
|
Definition at line 253 of file itkProcessObject.h. |
|
|
|
Remove all observers . |
|
|
|
|
|
Remove the observer with this tag value. |
|
|
|
|
|
Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called. |
|
|
Restore the cached input ReleaseDataFlags. |
|
|
Set the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways. |
|
||||||||||
|
Set scalar factor for internal force |
|
||||||||||
|
Set external force scaling factor |
|
||||||||||
|
Set reference metrics update scaling factor |
|
||||||||||
|
|
|
|
Set the value of the debug flag. A non-zero value turns debugging on. |
|
||||||||||
|
Set reference metrics update scaling factor |
|
|
Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn(). |
|
||||||||||
|
Setter for gradient image |
|
||||||||||
|
Set the mesh input of this process object. |
|
||||||||||
|
|
|
|
|
|
||||||||||||
|
||||||||||||
|
|
Called to allocate the input array. Copies old inputs. |
|
|
Called to allocate the output array. Copies old outputs. |
|
|
|
|
|
|
|
|
|
|
||||||||||
|
Set the mesh output of this process object. This call is slated to be removed from ITK. You should GraftOutput() and possible DataObject::DisconnectPipeline() to properly change the output. |
|
|
Set the execution progress of a process object. The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution. The ProgressEvent is NOT invoked. |
|
|
Sets the reference count (use with care) Reimplemented from itk::LightObject. |
|
|
|
|
||||||||||
|
control smoothness of the mesh |
|
|
Decrease the reference count (release by another object). Reimplemented from itk::LightObject. |
|
|||||||||
|
Bring this filter up-to-date. Update() checks modified times against last execution times, and re-executes objects if necessary. A side effect of this method is that the whole pipeline may execute in order to bring this filter up-to-date. This method updates the currently prescribed requested region. If no requested region has been set on the output, then the requested region will be set to the largest possible region. Once the requested region is set, Update() will make sure the specified requested region is up-to-date. This is a confusing side effect to users who are just calling Update() on a filter. A first call to Update() will cause the largest possible region to be updated. A second call to Update() will update that same region. If a modification to the upstream pipeline cause a filter to have a different largest possible region, this second call to Update() will not cause the output requested region to be reset to the new largest possible region. Instead, the output requested region will be the same as the last time Update() was called. To have a filter always to produce its largest possible region, users should call UpdateLargestPossibleRegion() instead. Reimplemented from itk::ProcessObject. |
|
|
Like Update(), but sets the output requested region to the largest possible region for the output. This is the method users should call if they want the entire dataset to be processed. If a user wants to update the same output region as a previous call to Update() or a previous call to UpdateLargestPossibleRegion(), then they should call the method Update(). |
|
|
Actually generate new output Reimplemented in itk::StreamingImageFilter< TInputImage, TOutputImage >. |
|
|
Update the information decribing the output data. This method transverses up the pipeline gathering modified time information. On the way back down the pipeline, this method calls GenerateOutputInformation() to set any necessary information about the output data objects. For instance, a filter that shrinks an image will need to provide an implementation for GenerateOutputInformation() that changes the spacing of the pixels. Such filters should call their superclass' implementation of GenerateOutputInformation prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information. Reimplemented in itk::watershed::Segmenter< TInputImage >, and itk::VTKImageImport< TOutputImage >. |
|
|
Update the progress of the process object. Sets the Progress ivar to amount and invokes any observers for the ProgressEvent. The parameter amount should be in [0,1] and is the cumulative (not incremental) progress. |
|
|||||||||
|
Method updates the reference metrics for each mesh point |
|
|
|
|
|
Definition at line 94 of file itkObject.h. |
|
|||||
|
Definition at line 100 of file itkMeshSource.h. |
|
|
|||||
|
Definition at line 79 of file itkMeshSource.h. |
|
|||||
|
Definition at line 79 of file itkMeshSource.h. |
|
|||||
|
Scalar defining the influence of the internal forces Values should lie between 0.001 and 0.3. Higher values increase the stiffness of the mesh Definition at line 284 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Scalar defining the influence of the external force components The choice for this parameter strongly depends on the underlying data. Typical value range from 0.00001 to 0.3 Definition at line 292 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 301 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
map stores a Geometry object for every mesh point Definition at line 331 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Gamma influneces the distribution of the mesh points. It should lie between 0.01 and 0.2. Smaller values force the mesh to be more regular. When increasing gamma, mesh points will have higher density in places of high curvature. Definition at line 300 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Definition at line 334 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Image size Definition at line 322 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Image size Definition at line 319 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Image size Definition at line 316 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
This threshold decides when to stop the model. Definition at line 325 of file itkDeformableSimplexMesh3DFilter.h. |
|
|
Time when GenerateOutputInformation was last called. Definition at line 428 of file itkProcessObject.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|||||
|
This scalar determines the smoothness of the surface model. Values should range from 0 to 10. It determines the radius of the neighborhood during internal force computation using the curvature shape contraint. The higher the rigidity the higher the smoothness. Definition at line 309 of file itkDeformableSimplexMesh3DFilter.h. |
|
|||||
|
Number of iterations Definition at line 313 of file itkDeformableSimplexMesh3DFilter.h. |
|
|
This flag indicates when the pipeline is executing. It prevents infinite recursion when pipelines have loops. Definition at line 425 of file itkProcessObject.h. |
|
|
|
|
|||||
|
Definition at line 200 of file itkDeformableSimplexMesh3DFilter.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000