ITK
5.2.0
Insight Toolkit
|
#include <itkBSplineControlPointImageFunction.h>
Public Types | |
using | ArrayType = FixedArray< unsigned, ImageDimension > |
using | ConstPointer = SmartPointer< const Self > |
using | ContinuousIndexType = typename Superclass::ContinuousIndexType |
using | ControlPointLatticeType = TInputImage |
using | CoordRepType = TCoordRep |
using | GradientType = VariableSizeMatrix< CoordRepType > |
using | HessianComponentType = VariableSizeMatrix< CoordRepType > |
using | IndexType = typename InputImageType::IndexType |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | KernelOrder0Type = BSplineKernelFunction< 0 > |
using | KernelOrder1Type = BSplineKernelFunction< 1 > |
using | KernelOrder2Type = BSplineKernelFunction< 2 > |
using | KernelOrder3Type = BSplineKernelFunction< 3 > |
using | KernelType = CoxDeBoorBSplineKernelFunction< 3 > |
using | OriginType = typename InputImageType::PointType |
using | OutputType = PixelType |
using | PixelType = typename InputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | PointType = typename Superclass::PointType |
using | RealImagePointer = typename RealImageType::Pointer |
using | RealImageType = Image< CoordRepType, ImageDimension > |
using | RealType = float |
using | RegionType = typename InputImageType::RegionType |
using | Self = BSplineControlPointImageFunction |
using | SizeType = typename InputImageType::SizeType |
using | SpacingType = typename InputImageType::SpacingType |
using | Superclass = ImageFunction< TInputImage, typename TInputImage::PixelType, TCoordRep > |
Public Types inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep > | |
using | ConstPointer = SmartPointer< const Self > |
using | ContinuousIndexType = ContinuousIndex< TCoordRep, Self::ImageDimension > |
using | CoordRepType = TCoordRep |
using | IndexType = typename InputImageType::IndexType |
using | IndexValueType = typename InputImageType::IndexValueType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImageType = TInputImage |
using | InputPixelType = typename InputImageType::PixelType |
using | OutputType = TInputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | PointType = Point< TCoordRep, Self::ImageDimension > |
using | Self = ImageFunction |
using | Superclass = FunctionBase< Point< TCoordRep, Self::ImageDimension >, TInputImage::PixelType > |
Public Types inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, TInputImage::PixelType > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputType = Point< TCoordRep, TInputImage::ImageDimension > |
using | OutputType = TInputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = FunctionBase |
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 |
virtual const ArrayType & | GetCloseDimension () const |
virtual const char * | GetNameOfClass () const |
virtual const ArrayType & | GetSplineOrder () const |
virtual void | SetCloseDimension (ArrayType _arg) |
void | SetInputImage (const InputImageType *) override |
void | SetSplineOrder (const ArrayType &) |
void | SetSplineOrder (const unsigned int) |
Public Member Functions inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep > | |
TInputImage::PixelType | Evaluate (const PointType &point) const override=0 |
virtual TInputImage::PixelType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0 |
const InputImageType * | GetInputImage () const |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
void | ConvertPointToNearestIndex (const PointType &point, IndexType &index) const |
void | ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const |
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
virtual const IndexType & | GetStartIndex () const |
virtual const IndexType & | GetEndIndex () const |
virtual const ContinuousIndexType & | GetStartContinuousIndex () const |
virtual const ContinuousIndexType & | GetEndContinuousIndex () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) 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) |
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 () |
Evaluate a B-spline object given a grid of control points.
Operations include
Definition at line 58 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ArrayType = FixedArray<unsigned, ImageDimension> |
Other type alias
Definition at line 98 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ContinuousIndexType = typename Superclass::ContinuousIndexType |
Definition at line 101 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ControlPointLatticeType = TInputImage |
Image type alias support
Definition at line 79 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::CoordRepType = TCoordRep |
Definition at line 81 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GradientType = VariableSizeMatrix<CoordRepType> |
Definition at line 94 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::HessianComponentType = VariableSizeMatrix<CoordRepType> |
Definition at line 95 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::IndexType = typename InputImageType::IndexType |
Definition at line 84 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 86 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::InputImageType = TInputImage |
Definition at line 80 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder0Type = BSplineKernelFunction<0> |
Definition at line 106 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder1Type = BSplineKernelFunction<1> |
Definition at line 107 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder2Type = BSplineKernelFunction<2> |
Definition at line 108 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder3Type = BSplineKernelFunction<3> |
Definition at line 109 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelType = CoxDeBoorBSplineKernelFunction<3> |
Interpolation kernel type (default spline order = 3)
Definition at line 105 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::OriginType = typename InputImageType::PointType |
Definition at line 89 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::OutputType = PixelType |
Output type alias support
Definition at line 93 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::PixelType = typename InputImageType::PixelType |
Definition at line 82 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::PointType = typename Superclass::PointType |
Definition at line 85 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RealImagePointer = typename RealImageType::Pointer |
Definition at line 100 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RealImageType = Image<CoordRepType, ImageDimension> |
Definition at line 99 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RealType = float |
Definition at line 102 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RegionType = typename InputImageType::RegionType |
Definition at line 83 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Self = BSplineControlPointImageFunction |
Definition at line 64 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SizeType = typename InputImageType::SizeType |
Definition at line 90 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SpacingType = typename InputImageType::SpacingType |
Definition at line 88 of file itkBSplineControlPointImageFunction.h.
using itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Superclass = ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordRep> |
Definition at line 65 of file itkBSplineControlPointImageFunction.h.
|
protected |
Parameters for the B-spline object domain
|
overrideprotecteddefault |
Parameters for the B-spline object domain
|
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.
|
override |
Evaluate the resulting B-spline object at a specified internal parametric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).
|
override |
Evaluate the resulting B-spline object at a specified continuous index in the parametric domain.
|
overridevirtual |
Evaluate the resulting B-spline object at a specified index in the parametric domain.
Implements itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >.
OutputType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateAtParametricPoint | ( | const PointType & | ) | const |
Evaluate the resulting B-spline object at a specified point in the parametric domain.
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradient | ( | const PointType & | ) | const |
Evaluate the gradient of the resulting B-spline object at a specified internal parametric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtContinuousIndex | ( | const ContinuousIndexType & | ) | const |
Evaluate the gradient of the resulting B-spline object at a specified continuous index in the parametric domain.
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtIndex | ( | const IndexType & | ) | const |
Evaluate the gradient of the resulting B-spline object at a specified index in the parametric domain.
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtParametricPoint | ( | const PointType & | ) | const |
Evaluate the gradient of the resulting B-spline object at a specified point in the parametric domain.
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessian | ( | const PointType & | , |
const unsigned int | |||
) | const |
Evaluate the hessian of the resulting B-spline object at a specified internal parametric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtContinuousIndex | ( | const ContinuousIndexType & | , |
const unsigned int | |||
) | const |
Evaluate the Hessian of the resulting B-spline object at a specified con- tinuous index within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtIndex | ( | const IndexType & | , |
const unsigned int | |||
) | const |
Evaluate the Hessian of the resulting B-spline object at a specified index within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtParametricPoint | ( | const PointType & | , |
const unsigned int | |||
) | const |
Evaluate the Hessian of the resulting B-spline object at a specified point within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.
|
virtual |
Parameters for the B-spline object domain
|
virtual |
Get the boolean array indicating which dimensions are closed.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >.
|
virtual |
Parameters for the B-spline object domain
|
virtual |
Parameters for the B-spline object domain
|
virtual |
Parameters for the B-spline object domain
|
virtual |
Get the spline order array of the B-spline object. Default = 3.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Parameters for the B-spline object domain
Reimplemented from itk::Object.
|
virtual |
Set/Get the epsilon used for B-splines. The B-spline parametric domain in 1-D is defined on the half-closed interval [a,b). Extension to n-D is defined similarly. This presents some difficulty for defining the the image domain to be co-extensive with the parametric domain. We use the B-spline epsilon to push the edge of the image boundary inside the B-spline parametric domain.
|
virtual |
Set the boolean array indicating the periodicity of the B-spline object. This array of 0/1 values defines whether a particular dimension of the parametric space is to be considered periodic or not. For example, if you are using interpolating along a 1D closed curve, the array type will have size 1, and you should set the first element of this array to the value "1". In the case that you were interpolating in a planar surface with cylindrical topology, the array type will have two components, and you should set to "1" the component that goes around the cylinder, and set to "0" the component that goes from the top of the cylinder to the bottom. This will indicate the periodicity of that parameter to the filter. Internally, in order to make periodic the domain of the parameter, the filter will reuse some of the points at the beginning of the domain as if they were also located at the end of the domain. The number of points to be reused will depend on the spline order. As a user, you don't need to replicate the points, the filter will do this for you.
|
overridevirtual |
Set the input image. Note that the size, spacing, origin, and spline order must be called prior to setting the input image.
Reimplemented from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >.
|
virtual |
Set/Get the parametric origin of the B-spline object domain.
|
virtual |
Set/Get the parametric size of the B-spline object domain.
|
virtual |
Set/Get the parametric spacing of the B-spline object domain.
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSplineOrder | ( | const ArrayType & | ) |
Set the spline order array where each element of the array corresponds to a single parametric dimension of the B-spline object. Default = 3.
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSplineOrder | ( | const unsigned int | ) |
Set the spline order of the B-spline object for all parametric dimensions. Default = 3.
|
staticconstexpr |
Extract dimension from input image.
Definition at line 76 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 307 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 296 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 301 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 302 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 303 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 304 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 305 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 299 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 295 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 293 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 291 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 292 of file itkBSplineControlPointImageFunction.h.
|
private |
Parameters for the B-spline object domain
Definition at line 297 of file itkBSplineControlPointImageFunction.h.