14#ifndef _WEIGHT3D_SPECTUB_H
15#define _WEIGHT3D_SPECTUB_H
31void wm_calculation(
const int kOS,
32 const SPECTUB::angle_type*
const ang,
33 SPECTUB::voxel_type vox,
35 const SPECTUB::volume_type& vol,
41 const SPECTUB::discrf_type*
const gaussdens,
42 const int*
const NITEMS,
43 SPECTUB::wm_da_type& wm,
44 const SPECTUB::wmh_type& wmh,
47void wm_size_estimation(
int kOS,
48 const SPECTUB::angle_type*
const ang,
49 SPECTUB::voxel_type vox,
51 const SPECTUB::volume_type& vol,
52 const SPECTUB::proj_type& prj,
53 const bool*
const msk_3d,
54 const bool*
const msk_2d,
56 const SPECTUB::discrf_type*
const gaussdens,
58 const SPECTUB::wmh_type& wmh,
63void calc_gauss(SPECTUB::discrf_type* gaussdens);
65void calc_vxprj(SPECTUB::angle_type* ang);
67void voxel_projection(SPECTUB::voxel_type* vox,
float* eff,
float lngcmd2,
const SPECTUB::wmh_type& wmh);
69void fill_psf_no(SPECTUB::psf2da_type* psf,
70 SPECTUB::psf1d_type* psf1d_h,
71 const SPECTUB::voxel_type& vox,
74 const SPECTUB::wmh_type& wmh);
76void fill_psf_2d(SPECTUB::psf2da_type* psf,
77 SPECTUB::psf1d_type* psf1d_h,
78 const SPECTUB::voxel_type& vox,
79 SPECTUB::discrf_type
const*
const gaussdens,
81 const SPECTUB::wmh_type& wmh);
83void fill_psf_3d(SPECTUB::psf2da_type* psf,
84 SPECTUB::psf1d_type* psf1d_h,
85 SPECTUB::psf1d_type* psf1d_v,
86 const SPECTUB::voxel_type& vox,
87 SPECTUB::discrf_type
const*
const gaussdens,
93void calc_psf_bin(
float center_psf,
95 SPECTUB::discrf_type
const*
const vxprj,
96 SPECTUB::psf1d_type* psf,
97 const SPECTUB::wmh_type& wmh);
107calc_att_path(
const bin_type& bin,
const SPECTUB::voxel_type& vox,
const SPECTUB::volume_type& vol, SPECTUB::attpth_type* attpth);
109float calc_att(
const SPECTUB::attpth_type*
const attpth,
const float*
const attmap,
int islc,
const SPECTUB::wmh_type& wmh);
111int comp_dist(
float dx,
float dy,
float dz,
float dlast);
113void error_weight3d(
int nerr,
const std::string& txt);
Namespace for the SPECT library from University of Barcelona.
Definition SPECTUB_Tools.h:20
structure to store angles values, indices and ratios
Definition SPECTUB_Tools.h:231
structure for bin information
Definition SPECTUB_Tools.h:288
structure for projection information
Definition SPECTUB_Tools.h:80
complementary information (matrix header)
Definition SPECTUB_Tools.h:107