#include <itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h>
The search region at subsequent levels is determined by bounding box of the metric image convex hull at the current level.
This is a SearchRegionImageSource that defines the search region size dynamically according the metric image performance at higher levels. The search region given the metric images at the current level is determined by bounding box of the convex hull of metric values above a given threshold. This size is interpolated is interpolated at the following levels.
In order to examine the metric image values, this class also inherits from MetricImageToDisplacementCalculator. The center of the search region is taken to be the displacement.
Definition at line 51 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Inheritance diagram for itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >:
Collaboration diagram for itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >:Static Public Member Functions | |
| static Pointer | New (void) |
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 = TMovingImage::ImageDimension |
Static Public Attributes inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage > | |
| static constexpr unsigned int | ImageDimension = TMovingImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > > | |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage > | |
| static constexpr unsigned int | ImageDimension = TDisplacementImage::ImageDimension |
Private Member Functions | |
| MultiResolutionThresholdBoundingBoxSearchRegionImageSource (const Self &) | |
| void | operator= (const Self &) |
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::DisplacementCalculatorSuperclass = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage> |
Definition at line 59 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::DisplacementImageType = TDisplacementImage |
Type of the displacement image from the previous level.
Definition at line 101 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::DisplacementResamplerPointer = typename DisplacementResamplerType::Pointer |
Definition at line 105 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::DisplacementResamplerType = ResampleImageFilter<DisplacementImageType, DisplacementImageType> |
Type of the filter used to resample the deformations.
Definition at line 104 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::FixedImageType = TFixedImage |
Type of the fixed image.
Definition at line 68 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::FixedRegionType = typename FixedImageType::RegionType |
Definition at line 69 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::IndexType = typename DisplacementCalculatorSuperclass::IndexType |
Definition at line 110 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::MetricImageType = typename DisplacementCalculatorSuperclass::MetricImageType |
Types inherited from the DisplacementCalculator superclass.
Definition at line 108 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::MovingImageType = TMovingImage |
Type of the moving image.
Definition at line 75 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::MovingRegionType = typename MovingImageType::RegionType |
Definition at line 76 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::OutputImageType = typename Superclass::OutputImageType |
Type of the search region image.
Definition at line 79 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::OutputRegionType = typename OutputImageType::RegionType |
Definition at line 80 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::OverlapScheduleType = typename Superclass::OverlapScheduleType |
OverlapScheduleType type alias support.
Definition at line 98 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::PointType = typename DisplacementCalculatorSuperclass::PointType |
Definition at line 109 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::PyramidScheduleType = typename Superclass::PyramidScheduleType |
ScheduleType type alias support.
Definition at line 91 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::RadiusType = typename FixedImageType::SizeType |
Type of the radius used to characterized the fixed image block.
Definition at line 72 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::SearchRegionRadiusImagePointer = typename SearchRegionRadiusImageType::Pointer |
Definition at line 84 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::SearchRegionRadiusImageType |
Definition at line 82 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::SearchRegionRadiusResamplerPointer = typename SearchRegionRadiusResamplerType::Pointer |
Definition at line 88 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::SearchRegionRadiusResamplerType = ResampleImageFilter<SearchRegionRadiusImageType, SearchRegionRadiusImageType> |
Type of the filter used to resample the search region images.
Definition at line 87 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::Self = MultiResolutionThresholdBoundingBoxSearchRegionImageSource |
Standard class type alias.
Definition at line 57 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::Superclass = MultiResolutionSearchRegionImageSource<TFixedImage, TMovingImage, TDisplacementImage> |
Definition at line 58 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::ThresholdScheduleType = Array<ThresholdType> |
Definition at line 95 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
| using itk::BlockMatching::MultiResolutionThresholdBoundingBoxSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage >::ThresholdType = typename TMetricImage::PixelType |
Type of the threshold.
Definition at line 94 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
protected |
Referenced by GetNameOfClass().
|
private |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >.
|
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 189 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
inline |
Definition at line 217 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References itk::Object::GetDebug().
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >.
References MultiResolutionThresholdBoundingBoxSearchRegionImageSource().
|
virtual |
|
virtual |
|
inlinevirtual |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.
Reimplemented from itk::Object.
Definition at line 211 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References itk::Object::Modified().
Referenced by SetMinimumSearchRegionRadius(), SetThresholdSchedule(), and SetTopLevelRadius().
|
inlinestatic |
New macro for creation of through a Smart Pointer is not used because of ambiguities with LightObject.
Definition at line 118 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References itk::ObjectFactory< T >::Create(), itk::SmartPointer< TObjectType >::GetPointer(), and itk::SmartPointer< TObjectType >::UnRegister().
|
private |
|
inlinevirtual |
This is needed to avoid resolution ambiguities that occur with multiple inheritance.
Reimplemented from itk::LightObject.
Definition at line 199 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References itk::LightObject::Register().
|
virtual |
We allocate the previous search region image.
Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.
|
virtual |
Calculates the search region radius based on the metric image.
Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.
|
inlinevirtual |
Set/Get the minimum search region radius. The search region radius is not allowed to go smaller that the given value.
Definition at line 165 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References m_MinimumSearchRegionRadius, and Modified().
Referenced by SetMinimumSearchRegionRadius().
|
inlinevirtual |
Set the radius to the given value in all directions.
Definition at line 172 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References SetMinimumSearchRegionRadius().
|
inlinevirtual |
Definition at line 144 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References m_ThresholdSchedule, m_ThresholdScheduleSpecified, and Modified().
|
virtual |
Set/get the threshold schedule. The search region size in the next level will be interpolated from the size of the area above this threshold. The threshold is an Array that should have the same size as the number of pyramid levels less one.
|
inlinevirtual |
Set/Get the search region radius at the top, highest level ( level 0 ).
Definition at line 155 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References m_TopLevelRadius, m_TopLevelRadiusSpecified, and Modified().
|
overrideprotectedvirtual |
|
inlinevirtual |
Decrease the reference count (release by another object).
Reimplemented from itk::LightObject.
Definition at line 205 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
References itk::LightObject::UnRegister().
|
staticconstexpr |
ImageDimension enumeration.
Definition at line 65 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
protected |
Definition at line 240 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
protected |
Definition at line 238 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Referenced by SetMinimumSearchRegionRadius().
|
protected |
Definition at line 243 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
protected |
Definition at line 244 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
|
protected |
Definition at line 233 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Referenced by SetThresholdSchedule().
|
protected |
Definition at line 234 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Referenced by SetThresholdSchedule().
|
protected |
Definition at line 235 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Referenced by SetTopLevelRadius().
|
protected |
Definition at line 236 of file itkBlockMatchingMultiResolutionThresholdBoundingBoxSearchRegionImageSource.h.
Referenced by SetTopLevelRadius().