ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkDisplacementFieldToBSplineImageFilter.h>
Class which takes a dense displacement field image and/or a set of points with associated displacements and smooths them using B-splines. The inverse can also be estimated.
Definition at line 44 of file itkDisplacementFieldToBSplineImageFilter.h.
Public Types | |
using | ArrayType = typename BSplineFilterType::ArrayType |
using | BSplineFilterType = BSplineScatteredDataPointSetToImageFilter< InputPointSetType, OutputFieldType > |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename OutputFieldType::DirectionType |
using | DisplacementFieldControlPointLatticeType = typename BSplineFilterType::PointDataImageType |
using | DisplacementFieldType = InputFieldType |
using | IndexType = typename OutputFieldType::IndexType |
using | InputFieldPointType = typename InputFieldType::PointType |
using | InputFieldType = TInputImage |
using | InputPointSetType = TInputPointSet |
using | InverseDisplacementFieldType = OutputFieldType |
using | OriginType = typename OutputFieldType::PointType |
using | OutputFieldType = TOutputImage |
using | PixelType = typename OutputFieldType::PixelType |
using | PointDataContainerType = typename InputPointSetType::PointDataContainer |
using | PointDataType = typename InputPointSetType::PixelType |
using | Pointer = SmartPointer< Self > |
using | PointsContainerType = typename InputPointSetType::PointsContainer |
using | PointType = typename InputPointSetType::PointType |
using | RealImageType = Image< RealType, ImageDimension > |
using | RealType = typename VectorType::RealValueType |
using | RegionType = typename OutputFieldType::RegionType |
using | Self = DisplacementFieldToBSplineImageFilter |
using | SizeType = typename OutputFieldType::SizeType |
using | SpacingType = typename OutputFieldType::SpacingType |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
using | VectorType = typename OutputFieldType::PixelType |
using | WeightsContainerType = typename BSplineFilterType::WeightsContainerType |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
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 = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
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 = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::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 |
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 |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
DirectionType | m_BSplineDomainDirection |
bool | m_BSplineDomainIsDefined { true } |
OriginType | m_BSplineDomainOrigin |
SizeType | m_BSplineDomainSize |
SpacingType | m_BSplineDomainSpacing |
bool | m_EnforceStationaryBoundary { true } |
bool | m_EstimateInverse { false } |
ArrayType | m_NumberOfControlPoints |
ArrayType | m_NumberOfFittingLevels |
WeightsContainerType::Pointer | m_PointWeights |
unsigned int | m_SplineOrder { 3 } |
bool | m_UseInputFieldToDefineTheBSplineDomain { false } |
bool | m_UsePointWeights { false } |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::ArrayType = typename BSplineFilterType::ArrayType |
Definition at line 94 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::BSplineFilterType = BSplineScatteredDataPointSetToImageFilter< InputPointSetType, OutputFieldType> |
B-sline filter type alias
Definition at line 91 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 53 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::DirectionType = typename OutputFieldType::DirectionType |
Definition at line 78 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::DisplacementFieldControlPointLatticeType = typename BSplineFilterType::PointDataImageType |
Definition at line 93 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::DisplacementFieldType = InputFieldType |
Definition at line 65 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::IndexType = typename OutputFieldType::IndexType |
Definition at line 73 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::InputFieldPointType = typename InputFieldType::PointType |
Definition at line 67 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::InputFieldType = TInputImage |
Definition at line 61 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::InputPointSetType = TInputPointSet |
Definition at line 62 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::InverseDisplacementFieldType = OutputFieldType |
Definition at line 66 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::OriginType = typename OutputFieldType::PointType |
Definition at line 76 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::OutputFieldType = TOutputImage |
Definition at line 63 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::PixelType = typename OutputFieldType::PixelType |
Image type alias support
Definition at line 70 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::PointDataContainerType = typename InputPointSetType::PointDataContainer |
Definition at line 87 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::PointDataType = typename InputPointSetType::PixelType |
Definition at line 85 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 52 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::PointsContainerType = typename InputPointSetType::PointsContainer |
Definition at line 86 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::PointType = typename InputPointSetType::PointType |
Point set type alias support
Definition at line 84 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::RealImageType = Image<RealType, ImageDimension> |
Definition at line 81 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::RealType = typename VectorType::RealValueType |
Definition at line 80 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::RegionType = typename OutputFieldType::RegionType |
Definition at line 72 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::Self = DisplacementFieldToBSplineImageFilter |
Definition at line 50 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SizeType = typename OutputFieldType::SizeType |
Definition at line 77 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SpacingType = typename OutputFieldType::SpacingType |
Definition at line 75 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 51 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::VectorType = typename OutputFieldType::PixelType |
Definition at line 71 of file itkDisplacementFieldToBSplineImageFilter.h.
using itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::WeightsContainerType = typename BSplineFilterType::WeightsContainerType |
Definition at line 92 of file itkDisplacementFieldToBSplineImageFilter.h.
|
protected |
Constructor
|
overrideprotecteddefault |
Deconstructor
|
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.
|
virtual |
Enforce stationary boundary conditions. Default = false.
|
virtual |
Enforce stationary boundary conditions. Default = false.
|
virtual |
Estimate the inverse field instead of the forward field. Default = false.
|
virtual |
Estimate the inverse field instead of the forward field. Default = false.
|
overrideprotectedvirtual |
preprocessing function
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Get confidence image function.
Definition at line 121 of file itkDisplacementFieldToBSplineImageFilter.h.
References itk::ProcessObject::GetInput().
|
inline |
Get the input displacement field.
Definition at line 103 of file itkDisplacementFieldToBSplineImageFilter.h.
|
inline |
Get the displacement field control point lattice.
Definition at line 144 of file itkDisplacementFieldToBSplineImageFilter.h.
|
virtual |
Enforce stationary boundary conditions. Default = false.
|
virtual |
Estimate the inverse field instead of the forward field. Default = false.
|
virtual |
Get the control point grid size definining the B-spline estimate of the scalar bias field. In each dimension, the B-spline mesh size is equal to the number of control points in that dimension minus the spline order. Default = 4 control points in each dimension for a mesh size of 1 in each dimension.
|
virtual |
Get the number of fitting levels. One of the contributions of N4 is the introduction of a multi-scale approach to fitting. This allows one to specify a B-spline mesh size for initial fitting followed by a doubling of the mesh resolution for each subsequent fitting level. Default = 1 level.
|
inline |
Get the input point set.
Definition at line 135 of file itkDisplacementFieldToBSplineImageFilter.h.
References itk::ProcessObject::GetInput().
|
virtual |
Get the spline order defining the bias field estimate. Default = 3.
|
virtual |
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Standard print self function
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SetBSplineDomain | ( | OriginType | , |
SpacingType | , | ||
SizeType | , | ||
DirectionType | |||
) |
Define the b-spline domain explicitly.
void itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SetBSplineDomainFromImage | ( | RealImageType * | ) |
Define the b-spline domain from an image
|
inline |
Define the b-spline domain from an image
Definition at line 153 of file itkDisplacementFieldToBSplineImageFilter.h.
void itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SetBSplineDomainFromImage | ( | InputFieldType * | ) |
Define the b-spline domain from a displacement field
|
inline |
Define the b-spline domain from a displacement field
Definition at line 160 of file itkDisplacementFieldToBSplineImageFilter.h.
|
inline |
Set confidence image function. If a confidence image is specified, estimation of the displacement field weights the contribution of each voxel according the value of the corresponding voxel in the confidence image.
Definition at line 113 of file itkDisplacementFieldToBSplineImageFilter.h.
|
inline |
Set the displacement field
Definition at line 97 of file itkDisplacementFieldToBSplineImageFilter.h.
|
virtual |
Enforce stationary boundary conditions. Default = false.
|
virtual |
Estimate the inverse field instead of the forward field. Default = false.
|
inline |
Set confidence image function. If a confidence image is specified, estimation of the displacement field weights the contribution of each voxel according the value of the corresponding voxel in the confidence image.
Definition at line 117 of file itkDisplacementFieldToBSplineImageFilter.h.
|
inline |
Set the input point set
Definition at line 131 of file itkDisplacementFieldToBSplineImageFilter.h.
|
virtual |
Set the control point grid size definining the B-spline estimate of the scalar bias field. In each dimension, the B-spline mesh size is equal to the number of control points in that dimension minus the spline order. Default = 4 control points in each dimension for a mesh size of 1 in each dimension.
|
virtual |
Set the number of fitting levels. One of the contributions of N4 is the introduction of a multi-scale approach to fitting. This allows one to specify a B-spline mesh size for initial fitting followed by a doubling of the mesh resolution for each subsequent fitting level. Default = 1 level.
|
inline |
Set the number of fitting levels. One of the contributions of N4 is the introduction of a multi-scale approach to fitting. This allows one to specify a B-spline mesh size for initial fitting followed by a doubling of the mesh resolution for each subsequent fitting level. Default = 1 level.
Definition at line 225 of file itkDisplacementFieldToBSplineImageFilter.h.
|
inline |
Set the input point set
Definition at line 127 of file itkDisplacementFieldToBSplineImageFilter.h.
void itk::DisplacementFieldToBSplineImageFilter< TInputImage, TInputPointSet, TOutputImage >::SetPointSetConfidenceWeights | ( | WeightsContainerType * | weights | ) |
Set the confidence weights associated with the input point set
|
virtual |
Set the spline order defining the bias field estimate. Default = 3.
|
virtual |
|
virtual |
|
virtual |
|
static |
Extract dimension from input image.
Definition at line 59 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 284 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 286 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 281 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 283 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 282 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 273 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 272 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 275 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 276 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 278 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 274 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 287 of file itkDisplacementFieldToBSplineImageFilter.h.
|
private |
Definition at line 279 of file itkDisplacementFieldToBSplineImageFilter.h.