Xmipp
v3.23.11-Nereus
|
Functions | |
double | spatial_Bspline03 (const Matrix1D< double > &r) |
double | Bspline03LUT (double x) |
double | spatial_Bspline03LUT (const Matrix1D< double > &r) |
double | sum_spatial_Bspline03_Grid (const Grid &grid) |
double | spatial_Bspline03_proj (const Matrix1D< double > &r, const Matrix1D< double > &u) |
void | spatial_Bspline032voxels (const GridVolume &vol_splines, MultidimArray< double > *vol_voxels, int Zdim=0, int Ydim=0, int Xdim=0) |
Variables | |
const int | BSPLINE03_SUBSAMPLING = 2000 |
double Bspline03LUT | ( | double | x | ) |
Value of a Bspline of order 3 in a Look-Up Table.
Definition at line 30 of file splines.cpp.
|
inline |
void spatial_Bspline032voxels | ( | const GridVolume & | vol_splines, |
MultidimArray< double > * | vol_voxels, | ||
int | Zdim = 0 , |
||
int | Ydim = 0 , |
||
int | Xdim = 0 |
||
) |
Splines —> Voxels. The voxel size is defined in the same grid as the spline volume.
However, you might give a size, usually set to 0, i.e., no external size. If no size is provided a size is produced such that all spline centers fit into the output volume.
Definition at line 386 of file splines.cpp.
Spline projection. This function returns the value of the spline line integral through a straight line which passes through the point r with direction u
Definition at line 103 of file splines.cpp.
|
inline |
double sum_spatial_Bspline03_Grid | ( | const Grid & | grid | ) |
Sum of a single spline over a grid. As a normalisation factor, the sum of the splines values over a given grid is needed. This function puts a spline at coordinate (0,0,0) and sums all the splines values at points of the grid which are inside the spline. It doesn't matter if the grid is compound or not.
Definition at line 72 of file splines.cpp.