Xmipp
v3.23.11-Nereus
|
Functions | |
int | LinearGradient (double InputData[], double OutputGradient[], long SignalLength, long Degree, enum TBoundaryConvention Convention, double Tolerance, int *Status) |
int | PlanarGradient (float *InputImage, float *OutputGradient[], long Nx, long Ny, long Degree, enum TBoundaryConvention Convention, double Tolerance, int *Status) |
int | VolumetricGradient (float *InputVolume, float *OutputGradient[], long Nx, long Ny, long Nz, long Degree, enum TBoundaryConvention Convention, double Tolerance, int *Status) |
int LinearGradient | ( | double | InputData[], |
double | OutputGradient[], | ||
long | SignalLength, | ||
long | Degree, | ||
enum TBoundaryConvention | Convention, | ||
double | Tolerance, | ||
int * | Status | ||
) |
Compute the gradient of 1D data. InputData and OutputGradient have size SignalLength.
success: return(!ERROR); failure: return(ERROR)
int PlanarGradient | ( | float * | InputImage, |
float * | OutputGradient[], | ||
long | Nx, | ||
long | Ny, | ||
long | Degree, | ||
enum TBoundaryConvention | Convention, | ||
double | Tolerance, | ||
int * | Status | ||
) |
Compute the gradient of 2D data. InputImage has size (Nx x Ny). OutputGradient is an array of two elements. Each element of OutputGradient is a (float *) pointer to an image. Each element has size (Nx x Ny). The first element is the gradient along x. The second element is the gradient along y.
success: return(!ERROR); failure: return(ERROR)
int VolumetricGradient | ( | float * | InputVolume, |
float * | OutputGradient[], | ||
long | Nx, | ||
long | Ny, | ||
long | Nz, | ||
long | Degree, | ||
enum TBoundaryConvention | Convention, | ||
double | Tolerance, | ||
int * | Status | ||
) |
Compute the gradient of 3D data. InputVolume has size (Nx x Ny x Nz). OutputGradient is an array of three elements. Each element of OutputGradient is a (float *) pointer to a volume. Each element of OutputGradient has size (Nx x Ny x Nz). The first element is the gradient along x. The second element is the gradient along y. The third element is the gradient along z.
success: return(!ERROR); failure: return(ERROR)