Xmipp
v3.23.11-Nereus
|
#include "situs.h"
#include "lib_vwk.h"
#include "lib_vec.h"
#include "lib_err.h"
#include "lib_std.h"
Go to the source code of this file.
Macros | |
#define | BARL 70 /* available space for histogram bars */ |
Functions | |
unsigned long | gidz_cube (int k, int j, int i, unsigned ext) |
unsigned long | gidz_general (int k, int j, int i, unsigned ey, unsigned ex) |
void | create_padded_map (double **outmap, unsigned *out_extx, unsigned *out_exty, unsigned *out_extz, double *out_origx, double *out_origy, double *out_origz, unsigned long *out_nvox, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double widthx, double widthy, double widthz, unsigned margin[3]) |
void | interpolate_map (double **outmap, unsigned *out_extx, unsigned *out_exty, unsigned *out_extz, double *out_origx, double *out_origy, double *out_origz, double out_widthx, double out_widthy, double out_widthz, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double in_widthx, double in_widthy, double in_widthz) |
void | project_map_lattice (double **outmap, unsigned ref_extx, unsigned ref_exty, unsigned ref_extz, double ref_origx, double ref_origy, double ref_origz, double ref_widthx, double ref_widthy, double ref_widthz, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double in_widthx, double in_widthy, double in_widthz) |
void | shrink_margin (double **outmap, unsigned *out_extx, unsigned *out_exty, unsigned *out_extz, double *out_origx, double *out_origy, double *out_origz, unsigned long *out_nvox, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double widthx, double widthy, double widthz) |
double | calc_total (double *phi, unsigned long nvox) |
double | calc_average (double *phi, unsigned long nvox) |
double | calc_sigma (double *phi, unsigned long nvox) |
double | calc_norm (double *phi, unsigned long nvox) |
double | calc_gz_average (double *phi, unsigned long nvox) |
double | calc_gz_sigma (double *phi, unsigned long nvox) |
double | calc_gz_norm (double *phi, unsigned long nvox) |
double | calc_max (double *phi, unsigned long nvox) |
double | calc_min (double *phi, unsigned long nvox) |
void | calc_map_info (double *phi, unsigned long nvox, double *maxdens, double *mindens, double *ave, double *sig) |
void | print_map_info (double *phi, unsigned long nvox) |
void | threshold (double *phi, unsigned long nvox, double limit) |
void | step_threshold (double *phi, unsigned long nvox, double limit) |
void | boost_factor_high (double *phi, unsigned long nvox, double limit, double scale) |
void | boost_power_high (double *phi, unsigned long nvox, double limit, double lexpo) |
void | normalize (double *phi, unsigned long nvox, double factor) |
void | floatshift (double *phi, unsigned long nvox, double dens) |
int | clipped (double *phi, unsigned long nvox, double max, double min) |
void | create_gaussian (double **phi, unsigned long *nvox, unsigned *ext, double sigmap, double sigma_factor) |
void | shrink_to_sigma_factor (double **outmap, unsigned *out_ext, double *inmap, unsigned in_ext, double sigmap, double sigma_factor) |
void | create_identity (double **phi, unsigned long *nvox, unsigned *ext) |
void | create_laplacian (double **phi, unsigned long *nvox, unsigned *ext) |
void | relax_laplacian (double **phi, unsigned extx, unsigned exty, unsigned extz, unsigned ignored[3], double radius) |
void | convolve_kernel_inside (double **outmap, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double *kernel, unsigned kernel_size) |
void | convolve_kernel_inside_fast (double **outmap, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double *kernel, unsigned kernel_size, double normfac, unsigned ignored[3]) |
void | convolve_kernel_inside_erode (double **outmap, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double *kernel, unsigned kernel_size) |
void | convolve_kernel_outside (double **outmap, unsigned *out_extx, unsigned *out_exty, unsigned *out_extz, double *out_origx, double *out_origy, double *out_origz, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double widthx, double widthy, double widthz, double *kernel, unsigned kernel_size) |
int | print_histogram (unsigned *extx, unsigned *exty, unsigned *extz, double **phi, int nbins) |
void | print_diff_histogram (unsigned *extx, unsigned *exty, unsigned *extz, double **phi, int nbins) |
Definition at line 20 of file lib_vwk.cpp.
void boost_factor_high | ( | double * | phi, |
unsigned long | nvox, | ||
double | limit, | ||
double | scale | ||
) |
Definition at line 557 of file lib_vwk.cpp.
void boost_power_high | ( | double * | phi, |
unsigned long | nvox, | ||
double | limit, | ||
double | lexpo | ||
) |
Definition at line 566 of file lib_vwk.cpp.
double calc_average | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 368 of file lib_vwk.cpp.
double calc_gz_average | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 410 of file lib_vwk.cpp.
double calc_gz_norm | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 446 of file lib_vwk.cpp.
double calc_gz_sigma | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 427 of file lib_vwk.cpp.
void calc_map_info | ( | double * | phi, |
unsigned long | nvox, | ||
double * | maxdens, | ||
double * | mindens, | ||
double * | ave, | ||
double * | sig | ||
) |
Definition at line 491 of file lib_vwk.cpp.
double calc_max | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 463 of file lib_vwk.cpp.
double calc_min | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 477 of file lib_vwk.cpp.
double calc_norm | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 396 of file lib_vwk.cpp.
double calc_sigma | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 381 of file lib_vwk.cpp.
double calc_total | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 357 of file lib_vwk.cpp.
int clipped | ( | double * | phi, |
unsigned long | nvox, | ||
double | max, | ||
double | min | ||
) |
Definition at line 603 of file lib_vwk.cpp.
void convolve_kernel_inside | ( | double ** | outmap, |
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double * | kernel, | ||
unsigned | kernel_size | ||
) |
Definition at line 819 of file lib_vwk.cpp.
void convolve_kernel_inside_erode | ( | double ** | outmap, |
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double * | kernel, | ||
unsigned | kernel_size | ||
) |
Definition at line 896 of file lib_vwk.cpp.
void convolve_kernel_inside_fast | ( | double ** | outmap, |
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double * | kernel, | ||
unsigned | kernel_size, | ||
double | normfac, | ||
unsigned | ignored[3] | ||
) |
Definition at line 859 of file lib_vwk.cpp.
void convolve_kernel_outside | ( | double ** | outmap, |
unsigned * | out_extx, | ||
unsigned * | out_exty, | ||
unsigned * | out_extz, | ||
double * | out_origx, | ||
double * | out_origy, | ||
double * | out_origz, | ||
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double | in_origx, | ||
double | in_origy, | ||
double | in_origz, | ||
double | widthx, | ||
double | widthy, | ||
double | widthz, | ||
double * | kernel, | ||
unsigned | kernel_size | ||
) |
Definition at line 947 of file lib_vwk.cpp.
void create_gaussian | ( | double ** | phi, |
unsigned long * | nvox, | ||
unsigned * | ext, | ||
double | sigmap, | ||
double | sigma_factor | ||
) |
Definition at line 625 of file lib_vwk.cpp.
void create_identity | ( | double ** | phi, |
unsigned long * | nvox, | ||
unsigned * | ext | ||
) |
Definition at line 707 of file lib_vwk.cpp.
void create_laplacian | ( | double ** | phi, |
unsigned long * | nvox, | ||
unsigned * | ext | ||
) |
Definition at line 717 of file lib_vwk.cpp.
void create_padded_map | ( | double ** | outmap, |
unsigned * | out_extx, | ||
unsigned * | out_exty, | ||
unsigned * | out_extz, | ||
double * | out_origx, | ||
double * | out_origy, | ||
double * | out_origz, | ||
unsigned long * | out_nvox, | ||
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double | in_origx, | ||
double | in_origy, | ||
double | in_origz, | ||
double | widthx, | ||
double | widthy, | ||
double | widthz, | ||
unsigned | margin[3] | ||
) |
Definition at line 40 of file lib_vwk.cpp.
void floatshift | ( | double * | phi, |
unsigned long | nvox, | ||
double | dens | ||
) |
Definition at line 594 of file lib_vwk.cpp.
unsigned long gidz_cube | ( | int | k, |
int | j, | ||
int | i, | ||
unsigned | ext | ||
) |
Definition at line 25 of file lib_vwk.cpp.
unsigned long gidz_general | ( | int | k, |
int | j, | ||
int | i, | ||
unsigned | ey, | ||
unsigned | ex | ||
) |
Definition at line 32 of file lib_vwk.cpp.
void interpolate_map | ( | double ** | outmap, |
unsigned * | out_extx, | ||
unsigned * | out_exty, | ||
unsigned * | out_extz, | ||
double * | out_origx, | ||
double * | out_origy, | ||
double * | out_origz, | ||
double | out_widthx, | ||
double | out_widthy, | ||
double | out_widthz, | ||
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double | in_origx, | ||
double | in_origy, | ||
double | in_origz, | ||
double | in_widthx, | ||
double | in_widthy, | ||
double | in_widthz | ||
) |
Definition at line 82 of file lib_vwk.cpp.
void normalize | ( | double * | phi, |
unsigned long | nvox, | ||
double | factor | ||
) |
Definition at line 581 of file lib_vwk.cpp.
void print_diff_histogram | ( | unsigned * | extx, |
unsigned * | exty, | ||
unsigned * | extz, | ||
double ** | phi, | ||
int | nbins | ||
) |
int print_histogram | ( | unsigned * | extx, |
unsigned * | exty, | ||
unsigned * | extz, | ||
double ** | phi, | ||
int | nbins | ||
) |
Definition at line 1001 of file lib_vwk.cpp.
void print_map_info | ( | double * | phi, |
unsigned long | nvox | ||
) |
Definition at line 513 of file lib_vwk.cpp.
void project_map_lattice | ( | double ** | outmap, |
unsigned | ref_extx, | ||
unsigned | ref_exty, | ||
unsigned | ref_extz, | ||
double | ref_origx, | ||
double | ref_origy, | ||
double | ref_origz, | ||
double | ref_widthx, | ||
double | ref_widthy, | ||
double | ref_widthz, | ||
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double | in_origx, | ||
double | in_origy, | ||
double | in_origz, | ||
double | in_widthx, | ||
double | in_widthy, | ||
double | in_widthz | ||
) |
Definition at line 185 of file lib_vwk.cpp.
void relax_laplacian | ( | double ** | phi, |
unsigned | extx, | ||
unsigned | exty, | ||
unsigned | extz, | ||
unsigned | ignored[3], | ||
double | radius | ||
) |
Definition at line 742 of file lib_vwk.cpp.
void shrink_margin | ( | double ** | outmap, |
unsigned * | out_extx, | ||
unsigned * | out_exty, | ||
unsigned * | out_extz, | ||
double * | out_origx, | ||
double * | out_origy, | ||
double * | out_origz, | ||
unsigned long * | out_nvox, | ||
double * | inmap, | ||
unsigned | in_extx, | ||
unsigned | in_exty, | ||
unsigned | in_extz, | ||
double | in_origx, | ||
double | in_origy, | ||
double | in_origz, | ||
double | widthx, | ||
double | widthy, | ||
double | widthz | ||
) |
Definition at line 266 of file lib_vwk.cpp.
void shrink_to_sigma_factor | ( | double ** | outmap, |
unsigned * | out_ext, | ||
double * | inmap, | ||
unsigned | in_ext, | ||
double | sigmap, | ||
double | sigma_factor | ||
) |
Definition at line 663 of file lib_vwk.cpp.
void step_threshold | ( | double * | phi, |
unsigned long | nvox, | ||
double | limit | ||
) |
Definition at line 540 of file lib_vwk.cpp.
void threshold | ( | double * | phi, |
unsigned long | nvox, | ||
double | limit | ||
) |
Definition at line 524 of file lib_vwk.cpp.