#include <itkBlockMatchingMaximumPixelDisplacementCalculator.h>
The displacement is taken to be the pixel with the maximum metric value.
This is the simplest and fastest of the MetricImageToDisplacementCalculator's.
Definition at line 38 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
Inheritance diagram for itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >:
Collaboration diagram for itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >:Public Member Functions | |
| void | Compute () override |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const char * | GetNameOfClass () const |
| void | SetMetricImagePixel (const PointType &point, const IndexType &index, MetricImageType *image) override |
Public Member Functions inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| virtual void | CacheMetricImageOff () |
| virtual void | CacheMetricImageOn () |
| virtual bool | GetCacheMetricImage () const |
| virtual const CenterPointsImageType * | GetCenterPointsImage () const |
| const DisplacementImageType * | GetDisplacementImage () const |
| virtual const MetricImageImageType * | GetMetricImageImage () const |
| virtual void | ModifyEnlargeOutputRequestedRegion (DataObject *data) |
| virtual void | ModifyGenerateInputRequestedRegion (RegionType ®ion) |
| virtual void | SetCacheMetricImage (bool _arg) |
| virtual void | SetCenterPointsImage (CenterPointsImageType *_arg) |
| virtual void | SetDisplacementImage (DisplacementImageType *image) |
| virtual void | SetMetricImageImage (MetricImageImageType *_arg) |
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 |
| LightObject::Pointer | CreateAnother () const override |
| 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 Member Functions | |
| MaximumPixelDisplacementCalculator () | |
Protected Member Functions inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| MetricImageToDisplacementCalculator () | |
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 () |
Private Member Functions | |
| MaximumPixelDisplacementCalculator (const Self &) | |
| void | operator= (const Self &) |
Additional Inherited Members | |
Static Public Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| static constexpr unsigned int | ImageDimension = TDisplacementImage::ImageDimension |
Protected Types inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| using | MetricImageDuplicatorType = ImageDuplicator<MetricImageType> |
Protected Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| bool | m_CacheMetricImage |
| CenterPointsImagePointerType | m_CenterPointsImage |
| DisplacementImagePointerType | m_DisplacementImage |
| MetricImageDuplicatorType::Pointer | m_MetricImageDuplicator |
| MetricImageImagePointerType | m_MetricImageImage |
| MultiThreaderBase::Pointer | m_MultiThreader |
| bool | m_RegionsDefined |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 46 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::IndexType = typename Superclass::IndexType |
Definition at line 60 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::MetricImagePointerType = typename Superclass::MetricImagePointerType |
Definition at line 55 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::MetricImageType = typename Superclass::MetricImageType |
Definition at line 54 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::PixelType = typename MetricImageType::PixelType |
Definition at line 56 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::Pointer = SmartPointer<Self> |
Definition at line 45 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::PointType = typename Superclass::PointType |
Definition at line 58 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::Self = MaximumPixelDisplacementCalculator |
Standard class type alias.
Definition at line 43 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
| using itk::BlockMatching::MaximumPixelDisplacementCalculator< TMetricImage, TDisplacementImage >::Superclass = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage> |
Definition at line 44 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
|
inlineprotected |
Definition at line 74 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
|
private |
|
inlineoverridevirtual |
Subclasses must implement this method. If the displacement calculation takes place in SetMetricImagePixel(), then this can do nothing.
Implements itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.
Definition at line 66 of file itkBlockMatchingMaximumPixelDisplacementCalculator.h.
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.
|
static |
Method for creation through the object factory.
|
private |
|
overridevirtual |
Set a metric image pixel. This is the way to supply input to this class. The point is the center point of the corresponding fixed block. The index is the index of the corresponding displacement image pixel. The metric image may or may not be stored in the class's MetricImageImage depending on the needs of the implementation and whether SetCacheMetricImageOn() has been set.
Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.