|
|
Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkBSplineInterpolateVectorImageFunction.h>
Helper class to interpolate each component of a VectorImage using separate B-Spline interpolators.
This class enables feature-wise interpolation of ITK VectorImages using one B-Spline interpolator per channel. It supports evaluation at arbitrary physical points and returns the interpolated values or spatial derivatives as Torch tensors for downstream use in workflows.
Definition at line 43 of file itkBSplineInterpolateVectorImageFunction.h.
Public Types | |
| using | ImageType = TImage |
| using | InterpolatorType = TInterpolator |
Public Member Functions | |
| BSplineInterpolateVectorImageFunction ()=default | |
| torch::Tensor | Evaluate (typename ImageType::PointType point, std::vector< unsigned int > subsetOfFeatures) const |
| torch::Tensor | EvaluateDerivative (typename ImageType::PointType point, std::vector< unsigned int > subsetOfFeatures) const |
| void | SetInputImage (typename ImageType::Pointer vectorImage) |
Private Attributes | |
| std::vector< typename InterpolatorType::Pointer > | m_Interpolators |
| using BSplineInterpolateVectorImageFunction< TImage, TInterpolator >::ImageType = TImage |
Definition at line 46 of file itkBSplineInterpolateVectorImageFunction.h.
| using BSplineInterpolateVectorImageFunction< TImage, TInterpolator >::InterpolatorType = TInterpolator |
Definition at line 47 of file itkBSplineInterpolateVectorImageFunction.h.
|
default |
| torch::Tensor BSplineInterpolateVectorImageFunction< TImage, TInterpolator >::Evaluate | ( | typename ImageType::PointType | point, |
| std::vector< unsigned int > | subsetOfFeatures ) const |
Interpolates the selected feature channels at a given physical point.
| point | The physical coordinate where interpolation is performed. |
| subsetOfFeatures | Indices of feature channels to interpolate. |
| torch::Tensor BSplineInterpolateVectorImageFunction< TImage, TInterpolator >::EvaluateDerivative | ( | typename ImageType::PointType | point, |
| std::vector< unsigned int > | subsetOfFeatures ) const |
Evaluates the spatial derivative of selected features at a given point.
Computes gradients of the selected feature channels with respect to spatial dimensions using the underlying B-Spline interpolators.
| point | The physical coordinate at which derivatives are computed. |
| subsetOfFeatures | Indices of feature channels to differentiate. |
| void BSplineInterpolateVectorImageFunction< TImage, TInterpolator >::SetInputImage | ( | typename ImageType::Pointer | vectorImage | ) |
Initializes one B-Spline interpolator per feature channel in the input VectorImage.
Each channel of the vector image is assigned a separate B-Spline interpolator, as ITK's BSplineInterpolateImageFunction does not natively support VectorImages.
| vectorImage | The input VectorImage to initialize the B-Spline interpolators for each channel. |
|
private |
Definition at line 89 of file itkBSplineInterpolateVectorImageFunction.h.
Generated on 1774142652 for elastix by 1.15.0 |