Public Attributes | List of all members
mirtk::ConvolutionFunction::ConvolveTruncatedForegroundInX< TKernel > Struct Template Reference

Compute convolution of voxel with kernel in x dimension. More...

#include <ConvolutionFunction.h>

Inheritance diagram for mirtk::ConvolutionFunction::ConvolveTruncatedForegroundInX< TKernel >:
Inheritance graph
Collaboration diagram for mirtk::ConvolutionFunction::ConvolveTruncatedForegroundInX< TKernel >:
Collaboration graph

Public Attributes

int _Offset
 Vector component offset.
 
int _X
 Number of voxels in x dimension (nx)
 
- Public Attributes inherited from mirtk::VoxelFunction
const ImageAttributes_Domain
 

Additional Inherited Members

- Public Member Functions inherited from mirtk::VoxelFunction
void join (VoxelFunction &)
 Join results.
 
void split (VoxelFunction &)
 
 VoxelFunction ()
 Default constructor.
 
- Static Public Member Functions inherited from mirtk::VoxelFunction
static bool IsReduction ()
 
- Protected Member Functions inherited from mirtk::ConvolutionFunction::TruncatedForegroundConvolution1D< TKernel >
template<class T >
bool ConvolveCenterVoxel (const T *in, double &acc, double &sum) const
 Apply kernel initially at center voxel.
 
template<class T >
void ConvolveLeftNeighbors (int i, int n, const T *in, int s, double &acc, double &sum) const
 Apply kernel to left neighbors of given voxel.
 
template<class T >
void ConvolveRightNeighbors (int i, int n, const T *in, int s, double &acc, double &sum) const
 Apply kernel to right neighbors of given voxel.
 
 TruncatedForegroundConvolution1D (const BaseImage *image, const TKernel *kernel, int size, bool norm=true)
 Constructor.
 
- Protected Attributes inherited from mirtk::ConvolutionFunction::TruncatedForegroundConvolution1D< TKernel >
double _Background
 Background value (padding)
 
const TKernel * _Kernel
 Convolution kernel.
 
bool _Normalize
 Whether to normalize by sum of overlapping kernel weights.
 
int _Radius
 Radius of kernel.
 
int _Size
 Size of kernel = 2 * _Radius + 1.
 

Detailed Description

template<class TKernel = double>
struct mirtk::ConvolutionFunction::ConvolveTruncatedForegroundInX< TKernel >

Compute convolution of voxel with kernel in x dimension.

Definition at line 751 of file ConvolutionFunction.h.


The documentation for this struct was generated from the following file: