|
using | ConstPointer = SmartPointer< const Self > |
|
using | DemonsRegistrationFunctionType = ESMDemonsRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > |
|
using | DisplacementFieldPointer = typename Superclass::DisplacementFieldPointer |
|
using | DisplacementFieldType = typename Superclass::DisplacementFieldType |
|
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
|
using | FixedImagePointer = typename Superclass::FixedImagePointer |
|
using | FixedImageType = typename Superclass::FixedImageType |
|
using | GradientType = typename DemonsRegistrationFunctionType::GradientEnum |
|
using | MovingImagePointer = typename Superclass::MovingImagePointer |
|
using | MovingImageType = typename Superclass::MovingImageType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = DiffeomorphicDemonsRegistrationFilter |
|
using | Superclass = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > |
|
using | TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DisplacementFieldPointer = typename DisplacementFieldType::Pointer |
|
using | DisplacementFieldType = TDisplacementField |
|
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
|
using | FixedImageConstPointer = typename FixedImageType::ConstPointer |
|
using | FixedImagePointer = typename FixedImageType::Pointer |
|
using | FixedImageType = TFixedImage |
|
using | MovingImageConstPointer = typename MovingImageType::ConstPointer |
|
using | MovingImagePointer = typename MovingImageType::Pointer |
|
using | MovingImageType = TMovingImage |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | PDEDeformableRegistrationFunctionType = PDEDeformableRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = PDEDeformableRegistrationFilter |
|
using | Superclass = DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > |
|
using | StandardDeviationsType = FixedArray< double, ImageDimension > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
|
using | InputImageType = typename Superclass::InputImageType |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | PixelType = typename Superclass::PixelType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = DenseFiniteDifferenceImageFilter |
|
using | Superclass = FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > |
|
using | TimeStepType = typename Superclass::TimeStepType |
|
using | UpdateBufferType = OutputImageType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | FiniteDifferenceFunctionType = FiniteDifferenceFunction< TDisplacementField > |
|
using | InputImageType = TDisplacementField |
|
using | InputPixelType = typename TDisplacementField ::PixelType |
|
using | InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType |
|
using | NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType |
|
using | OutputImageType = TDisplacementField |
|
using | OutputPixelType = typename TDisplacementField ::PixelType |
|
using | OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType |
|
using | PixelType = OutputPixelType |
|
using | Pointer = SmartPointer< Self > |
|
using | RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
|
using | Self = FiniteDifferenceImageFilter |
|
using | Superclass = InPlaceImageFilter< TDisplacementField, TDisplacementField > |
|
using | TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InputImageConstPointer = typename InputImageType::ConstPointer |
|
using | InputImagePixelType = typename InputImageType::PixelType |
|
using | InputImagePointer = typename InputImageType::Pointer |
|
using | InputImageRegionType = typename InputImageType::RegionType |
|
using | InputImageType = TDisplacementField |
|
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
|
using | OutputImagePointer = typename Superclass::OutputImagePointer |
|
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = InPlaceImageFilter |
|
using | Superclass = ImageToImageFilter< TDisplacementField, TDisplacementField > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InputImageConstPointer = typename InputImageType::ConstPointer |
|
using | InputImagePixelType = typename InputImageType::PixelType |
|
using | InputImagePointer = typename InputImageType::Pointer |
|
using | InputImageRegionType = typename InputImageType::RegionType |
|
using | InputImageType = TDisplacementField |
|
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
|
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ImageToImageFilter |
|
using | Superclass = ImageSource< TDisplacementField > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
|
using | DataObjectPointer = DataObject::Pointer |
|
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
|
using | OutputImagePixelType = typename OutputImageType::PixelType |
|
using | OutputImagePointer = typename OutputImageType::Pointer |
|
using | OutputImageRegionType = typename OutputImageType::RegionType |
|
using | OutputImageType = TDisplacementField |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ImageSource |
|
using | Superclass = ProcessObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
|
using | DataObjectPointer = DataObject::Pointer |
|
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
|
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
|
using | MultiThreaderType = MultiThreaderBase |
|
using | NameArray = std::vector< DataObjectIdentifierType > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ProcessObject |
|
using | Superclass = Object |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
static constexpr unsigned int | ImageDimension = FixedImageType::ImageDimension |
|
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
|
static constexpr unsigned int | ImageDimension |
|
static constexpr unsigned int | ImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
using | MultiplyByConstantType = MultiplyImageFilter< DisplacementFieldType, itk::Image< TimeStepType, ImageDimension >, DisplacementFieldType > |
|
using | FieldExponentiatorType = ExponentialDisplacementFieldImageFilter< DisplacementFieldType, DisplacementFieldType > |
|
using | VectorWarperType = WarpVectorImageFilter< DisplacementFieldType, DisplacementFieldType, DisplacementFieldType > |
|
using | FieldInterpolatorType = VectorLinearInterpolateNearestNeighborExtrapolateImageFunction< DisplacementFieldType, double > |
|
using | AdderType = AddImageFilter< DisplacementFieldType, DisplacementFieldType, DisplacementFieldType > |
|
using | MultiplyByConstantPointer = typename MultiplyByConstantType::Pointer |
|
using | FieldExponentiatorPointer = typename FieldExponentiatorType::Pointer |
|
using | VectorWarperPointer = typename VectorWarperType::Pointer |
|
using | FieldInterpolatorPointer = typename FieldInterpolatorType::Pointer |
|
using | FieldInterpolatorOutputType = typename FieldInterpolatorType::OutputType |
|
using | AdderPointer = typename AdderType::Pointer |
|
MultiplyByConstantPointer | m_Multiplier |
|
FieldExponentiatorPointer | m_Exponentiator |
|
VectorWarperPointer | m_Warper |
|
AdderPointer | m_Adder |
|
bool | m_UseFirstOrderExp { false } |
|
virtual void | SetUseFirstOrderExp (bool _arg) |
|
virtual bool | GetUseFirstOrderExp () const |
|
virtual void | UseFirstOrderExpOn () |
|
virtual void | UseFirstOrderExpOff () |
|
virtual void | SetIntensityDifferenceThreshold (double) |
|
virtual double | GetIntensityDifferenceThreshold () const |
|
virtual void | SetMaximumUpdateStepLength (double) |
|
virtual double | GetMaximumUpdateStepLength () const |
|
| DiffeomorphicDemonsRegistrationFilter () |
|
| ~DiffeomorphicDemonsRegistrationFilter () override=default |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
void | InitializeIteration () override |
|
void | AllocateUpdateBuffer () override |
|
void | ApplyUpdate (const TimeStepType &dt) override |
|
DemonsRegistrationFunctionType * | DownCastDifferenceFunctionType () |
|
const DemonsRegistrationFunctionType * | DownCastDifferenceFunctionType () const |
|
|
using | ThreadRegionType = typename UpdateBufferType::RegionType |
|
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
|
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
|
| PDEDeformableRegistrationFilter () |
|
| ~PDEDeformableRegistrationFilter () override=default |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
bool | Halt () override |
|
void | CopyInputToOutput () override |
|
void | InitializeIteration () override |
|
virtual void | SmoothDisplacementField () |
|
virtual void | SmoothUpdateField () |
|
void | PostProcessOutput () override |
|
void | Initialize () override |
|
void | GenerateOutputInformation () override |
|
void | GenerateInputRequestedRegion () override |
|
void | AllocateUpdateBuffer () override |
|
void | ApplyUpdate (const TimeStepType &dt) override |
|
TimeStepType | CalculateChange () override |
|
void | CopyInputToOutput () override |
|
| DenseFiniteDifferenceImageFilter () |
|
virtual UpdateBufferType * | GetUpdateBuffer () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | ThreadedApplyUpdate (const TimeStepType &dt, const ThreadRegionType ®ionToProcess, ThreadIdType threadId) |
|
virtual TimeStepType | ThreadedCalculateChange (const ThreadRegionType ®ionToProcess, ThreadIdType threadId) |
|
| ~DenseFiniteDifferenceImageFilter () override=default |
|
| FiniteDifferenceImageFilter () |
|
| ~FiniteDifferenceImageFilter () override=default |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
void | GenerateData () override |
|
void | GenerateInputRequestedRegion () override |
|
virtual bool | ThreadedHalt (void *) |
|
virtual TimeStepType | ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const |
|
virtual void | SetElapsedIterations (IdentifierType _arg) |
|
| InPlaceImageFilter ()=default |
|
| ~InPlaceImageFilter () override=default |
|
void | AllocateOutputs () override |
|
void | ReleaseInputs () override |
|
virtual bool | GetRunningInPlace () const |
|
void | PushBackInput (const DataObject *input) override |
|
void | PushFrontInput (const DataObject *input) override |
|
| ImageToImageFilter () |
|
| ~ImageToImageFilter () override=default |
|
void | VerifyInputInformation () ITKv5_CONST override |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
| ImageSource () |
|
| ~ImageSource () override=default |
|
void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
|
virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
|
virtual void | BeforeThreadedGenerateData () |
|
virtual void | AfterThreadedGenerateData () |
|
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
|
virtual bool | GetDynamicMultiThreading () const |
|
virtual void | SetDynamicMultiThreading (bool _arg) |
|
virtual void | DynamicMultiThreadingOn () |
|
virtual void | DynamicMultiThreadingOff () |
|
| ProcessObject () |
|
| ~ProcessObject () override |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
|
virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
|
virtual void | AddInput (DataObject *input) |
|
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName () const |
|
virtual void | SetPrimaryInput (DataObject *object) |
|
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
void | SetRequiredInputNames (const NameArray &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
virtual void | SetPrimaryOutput (DataObject *object) |
|
virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
|
virtual void | AddOutput (DataObject *output) |
|
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
|
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
virtual void | VerifyPreconditions () ITKv5_CONST |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
virtual void | PropagateResetPipeline () |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | RestoreInputReleaseDataFlags () |
|
virtual bool | GetThreaderUpdateProgress () const |
|
virtual void | ThreaderUpdateProgressOn () |
|
virtual void | ThreaderUpdateProgressOff () |
|
virtual void | SetThreaderUpdateProgress (bool arg) |
|
| Object () |
|
| ~Object () override |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
|
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
|
static constexpr float | progressFixedToFloat (uint32_t fixed) |
|
static uint32_t | progressFloatToFixed (float f) |
|
bool | m_IsInitialized |
|
IdentifierType | m_NumberOfIterations |
|
IdentifierType | m_ElapsedIterations |
|
bool | m_ManualReinitialization |
|
double | m_RMSChange |
|
double | m_MaximumRMSError |
|
bool | m_DynamicMultiThreading |
|
bool | m_Updating |
|
TimeStamp | m_OutputInformationMTime |
|
std::atomic< int > | m_ReferenceCount |
|
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
class itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
Deformably register two images using a diffeomorphic demons algorithm.
This class was contributed by Tom Vercauteren, INRIA & Mauna Kea Technologies, based on a variation of the DemonsRegistrationFilter. The basic modification is to use diffeomorphism exponentials.
See T. Vercauteren, X. Pennec, A. Perchant and N. Ayache, "Non-parametric Diffeomorphic Image Registration with the Demons Algorithm", Proc. of MICCAI 2007.
DiffeomorphicDemonsRegistrationFilter implements the demons deformable algorithm that register two images by computing the deformation field which will map a moving image onto a fixed image.
A deformation field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the fixed image. The vector type must support element access via operator []. It is assumed that the vector elements behave like floating point scalars.
This class is templated over the fixed image type, moving image type and the deformation field type.
The input fixed and moving images are set via methods SetFixedImage and SetMovingImage respectively. An initial deformation field maybe set via SetInitialDisplacementField or SetInput. If no initial field is set, a zero field is used as the initial condition.
The output deformation field can be obtained via methods GetOutput or GetDisplacementField.
This class make use of the finite difference solver hierarchy. Update for each iteration is computed in DemonsRegistrationFunction.
- Author
- Tom Vercauteren, INRIA & Mauna Kea Technologies
- Warning
- This filter assumes that the fixed image type, moving image type and deformation field type all have the same number of dimensions.
This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/154
- See also
- DemonsRegistrationFilter
-
DemonsRegistrationFunction
Definition at line 78 of file itkDiffeomorphicDemonsRegistrationFilter.h.