Xmipp
v3.23.11-Nereus
|
Functions | |
int | FirConvolve (double InputData[], double OutputData[], long SignalLength, double Kernel[], long KernelOrigin, long KernelLength, enum TBoundaryConvention Convention) |
int | FirConvolveAntiSymmetric (double InputData[], double OutputData[], long SignalLength, double HalfKernel[], long KernelHalfLength, enum TBoundaryConvention Convention) |
int | FirConvolveAntiSymmetricVolume (double *VolumeSource, double *VolumeDestination, long Nx, long Ny, long Nz, double HalfKernel[], long KernelHalfLength, enum TBoundaryConvention Convention) |
int | FirConvolveSymmetric (double InputData[], double OutputData[], long SignalLength, double HalfKernel[], long KernelHalfLength, enum TBoundaryConvention Convention) |
int | FirConvolveSymmetricVolume (double *VolumeSource, double *VolumeDestination, long Nx, long Ny, long Nz, double HalfKernel[], long KernelHalfLength, enum TBoundaryConvention Convention) |
int FirConvolve | ( | double | InputData[], |
double | OutputData[], | ||
long | SignalLength, | ||
double | Kernel[], | ||
long | KernelOrigin, | ||
long | KernelLength, | ||
enum TBoundaryConvention | Convention | ||
) |
FIR Convolve 1D. The specified boundary convention applies to the input data only, not to the kernel. The boundary convention applied to the kernel is FiniteDataSupport. The input and the output have the same length. The origin for the kernel is given with respect to the leftmost sample [0].
success: return(!ERROR); failure: return(ERROR)
General structure is as follows:
int FirConvolveAntiSymmetric | ( | double | InputData[], |
double | OutputData[], | ||
long | SignalLength, | ||
double | HalfKernel[], | ||
long | KernelHalfLength, | ||
enum TBoundaryConvention | Convention | ||
) |
FIR Convolve Antisymmetric 1D. The specified boundary convention applies to the input data only, not to the kernel. The boundary convention applied to the kernel is FiniteDataSupport. The input and the output have the same length. The origin for the kernel is its leftmost sample; it corresponds to its anti-symmetry axis. The value of the kernel at the origin is expected to be HalfKernel[0] = 0.0. The full length of the symmetric kernel is (2L * KernelHalfLength - 1L)
success: return(!ERROR); failure: return(ERROR)
General structure is as follows:
int FirConvolveAntiSymmetricVolume | ( | double * | VolumeSource, |
double * | VolumeDestination, | ||
long | Nx, | ||
long | Ny, | ||
long | Nz, | ||
double | HalfKernel[], | ||
long | KernelHalfLength, | ||
enum TBoundaryConvention | Convention | ||
) |
FIR Convolve Antisymmetric 3D. The specified boundary convention applies to the input data only, not to the kernel. The boundary convention applied to the kernel is FiniteDataSupport. VolumeSource is a (double)volume of size (Nx x Ny x Nz). OutputData is a (double)volume of size (Nx x Ny x Nz). The origin for the kernel is its leftmost sample; it corresponds to its anti-symmetry axis. The full length of the amti-symmetric kernel is (2L * KernelHalfLength - 1L). The 1D kernel is applied successively to each principal direction in a separable fashion.
success: return(!ERROR); failure: return(ERROR)
General structure is as follows:
int FirConvolveSymmetric | ( | double | InputData[], |
double | OutputData[], | ||
long | SignalLength, | ||
double | HalfKernel[], | ||
long | KernelHalfLength, | ||
enum TBoundaryConvention | Convention | ||
) |
FIR Convolve Symmetric 1D. The specified boundary convention applies to the input data only, not to the kernel. The boundary convention applied to the kernel is FiniteDataSupport. The input and the output have the same length. The origin for the kernel is its leftmost sample; it corresponds to its symmetry axis. The full length of the symmetric kernel is (2L * KernelHalfLength - 1L).
success: return(!ERROR); failure: return(ERROR)
General structure is as follows:
int FirConvolveSymmetricVolume | ( | double * | VolumeSource, |
double * | VolumeDestination, | ||
long | Nx, | ||
long | Ny, | ||
long | Nz, | ||
double | HalfKernel[], | ||
long | KernelHalfLength, | ||
enum TBoundaryConvention | Convention | ||
) |
FIR Convolve Symmetric 3D. The specified boundary convention applies to the input data only, not to the kernel. The boundary convention applied to the kernel is FiniteDataSupport. VolumeSource is a (double)volume of size (Nx x Ny x Nz). OutputData is a (double)volume of size (Nx x Ny x Nz). The origin for the kernel is its leftmost sample; it corresponds to its symmetry axis. The full length of the symmetric kernel is (2L * KernelHalfLength - 1L). The 1D kernel is applied successively to each principal direction in a separable fashion.
success: return(!ERROR); failure: return(ERROR)
General structure is as follows: