#include <itkBlockMatchingCosineInterpolationDisplacementCalculator.h>
The displacement around the maximum pixel is interpolated by a cosine in each direction and the peak of the cosine is used.
Cespedes et. al. Methods for estimation of subsample time delays of digitized echo signals. Ultrasonic Imaging 17. 142-171. 1995.
Definition at line 39 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
Inheritance diagram for itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >:
Collaboration diagram for itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >:Public Member Functions | |
| virtual void | Compute () |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const char * | GetNameOfClass () const |
| virtual void | SetMetricImagePixel (const PointType &point, const IndexType &index, MetricImageType *image) |
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 () |
Static Public Attributes | |
| static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| static constexpr unsigned int | ImageDimension = TDisplacementImage::ImageDimension |
Protected Member Functions | |
| CosineInterpolationDisplacementCalculator () | |
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 | |
| CosineInterpolationDisplacementCalculator (const Self &) | |
| void | operator= (const Self &) |
Additional Inherited Members | |
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::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::ConstPointer = SmartPointer<const Self> |
Definition at line 47 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::IndexType = typename Superclass::IndexType |
Definition at line 63 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::MetricImagePointerType = typename Superclass::MetricImagePointerType |
Definition at line 59 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::MetricImageType = typename Superclass::MetricImageType |
Definition at line 58 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::PixelType = typename MetricImageType::PixelType |
Definition at line 60 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::Pointer = SmartPointer<Self> |
Definition at line 46 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::PointType = typename Superclass::PointType |
Definition at line 62 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::Self = CosineInterpolationDisplacementCalculator |
Standard class type alias.
Definition at line 44 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::SpacingType = typename MetricImageType::SpacingType |
Definition at line 61 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::CosineInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::Superclass = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage> |
Definition at line 45 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.
|
protected |
Referenced by GetNameOfClass().
|
private |
|
inlinevirtual |
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 69 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.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 >.
References CosineInterpolationDisplacementCalculator().
|
static |
Method for creation through the object factory.
|
private |
|
virtual |
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 >.
|
staticconstexpr |
ImageDimension enumeration.
Definition at line 50 of file itkBlockMatchingCosineInterpolationDisplacementCalculator.h.