16 #ifndef _WEIGHT3D_SPECT_mph_H 17 #define _WEIGHT3D_SPECT_mph_H 22 void wm_calculation_mph(
bool do_estim,
24 psf2d_type* psf2d_bin,
26 psf2d_type* psf2d_aux,
37 bool check_xang_par(voxel_type* vox, hole_type* h);
39 bool check_zang_par(voxel_type* vox, hole_type* h);
45 void voxel_projection_mph(lor_type* l, voxel_type* v, hole_type* h, wmh_mph_type& wmh);
47 void fill_psfi(psf2d_type* kern, wmh_mph_type& wmh);
49 void downsample_psf(psf2d_type* psf_in, psf2d_type* psf_out,
int factor,
bool do_calc);
51 void psf_convol(psf2d_type* psf1, psf2d_type* psf_aux, psf2d_type* psf2,
bool do_calc);
53 float bresenh_f(
int i1,
int j1,
int i2,
int j2,
float** f,
int imax,
int jmax,
float dcr, wmh_mph_type& wmh, pcf_type& pcf);
55 void fill_psf_geo(psf2d_type* psf2d, lor_type* l, discrf2d_type* f,
int factor,
bool do_calc, wmh_mph_type& wmh);
57 void fill_psf_depth(psf2d_type* psf2d, lor_type* l, discrf2d_type* f,
int factor,
bool do_calc, wmh_mph_type& wmh, pcf_type& pcf);
59 void psf_convol(psf2d_type* psf2d, psf2d_type* psf_aux, psf2d_type* kern);
61 void downsample_psf(psf2d_type* psf_subs, psf2d_type* psf_bin);
65 float calc_att_mph(bin_type bin, voxel_type vox,
float* attmap, wmh_mph_type& wmh);
67 int comp_dist(
float dx,
float dy,
float dz,
float dlast);
69 void error_weight3d(
int nerr, std::string txt);
Definition: PinholeSPECTUB_Tools.h:22