#include <itkBlockMatchingStrainWindowBlockAffineTransformCommand.h>
Use the strain image calculated in the StrainWindowDisplacementCalculator as the deforming strain image for the BlockAffineTransformMetricImageFilter or calculate new strain with a linear least squares gradient filter.
To use, set the objects, then add as an observer to the StrainWindowDisplacementCalculator.
Definition at line 46 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
Inheritance diagram for itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >:
Collaboration diagram for itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >:Public Types | |
| using | BlockAffineTransformMetricImageFilterType = TBlockAffineTransformMetricImageFilter |
| using | Pointer = SmartPointer<Self> |
| using | Self = StrainWindowBlockAffineTransformCommand |
| using | StrainImageFilterType = TStrainImageFilter |
| using | StrainWindowDisplacementCalculatorType = TStrainWindowDisplacemenCalculator |
| using | Superclass = Command |
Public Types inherited from itk::Command | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Command |
| using | Superclass = Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| void | Execute (const itk::Object *object, const itk::EventObject &event) override |
| void | Execute (itk::Object *caller, const itk::EventObject &event) override |
| virtual bool | GetUseStrainWindowStrain () const |
| virtual void | SetBlockAffineTransformMetricImageFilter (BlockAffineTransformMetricImageFilterType *_arg) |
| virtual void | SetUseStrainWindowStrain (bool _arg) |
Public Member Functions inherited from itk::Command | |
| virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Protected Types | |
| using | BlockAffineTransformMetricImageFilterPointer = typename BlockAffineTransformMetricImageFilterType::Pointer |
| using | LeastSquaresFilterType |
Protected Member Functions | |
| StrainWindowBlockAffineTransformCommand () | |
Protected Member Functions inherited from itk::Command | |
| Command () | |
| ~Command () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| 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 () |
Protected Attributes | |
| BlockAffineTransformMetricImageFilterPointer | m_BlockAffineTransformMetricImageFilter |
| LeastSquaresFilterType::Pointer | m_LeastSquaresFilter |
| StrainImageFilterType::Pointer | m_StrainImageFilter |
| bool | m_UseStrainWindowStrain |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
Private Member Functions | |
| void | operator= (const Self &) |
| StrainWindowBlockAffineTransformCommand (const Self &) | |
|
protected |
Definition at line 85 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::BlockAffineTransformMetricImageFilterType = TBlockAffineTransformMetricImageFilter |
Definition at line 57 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
protected |
Definition at line 80 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::Pointer = SmartPointer<Self> |
Definition at line 51 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::Self = StrainWindowBlockAffineTransformCommand |
Definition at line 49 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::StrainImageFilterType = TStrainImageFilter |
Definition at line 58 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::StrainWindowDisplacementCalculatorType = TStrainWindowDisplacemenCalculator |
Definition at line 55 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
| using itk::BlockMatching::StrainWindowBlockAffineTransformCommand< TStrainWindowDisplacemenCalculator, TBlockAffineTransformMetricImageFilter, TStrainImageFilter >::Superclass = Command |
Definition at line 50 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
protected |
|
private |
|
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::Object.
|
overridevirtual |
Abstract method that defines the action to be taken by the command. This variant is expected to be used when requests comes from a const Object
Implements itk::Command.
|
inlineoverridevirtual |
Abstract method that defines the action to be taken by the command.
Implements itk::Command.
Definition at line 61 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
virtual |
|
static |
|
private |
|
virtual |
|
virtual |
Use the strain windower strain? Otherwise the least squares base strain filter is use. Defaults to true. @todo figure out why if set to true it performs worse or segfaults.
|
protected |
Definition at line 87 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
protected |
Definition at line 89 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
protected |
Definition at line 91 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.
|
protected |
Definition at line 93 of file itkBlockMatchingStrainWindowBlockAffineTransformCommand.h.