plastimatch
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
rpl_volume.cxx File Reference
#include "plmbase_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector>
#include "aperture.h"
#include "interpolate.h"
#include "compiler_warnings.h"
#include "file_util.h"
#include "logfile.h"
#include "mha_io.h"
#include "path_util.h"
#include "plm_int.h"
#include "plm_math.h"
#include "plm_image_header.h"
#include "proj_matrix.h"
#include "proj_volume.h"
#include "ray_data.h"
#include "ray_trace.h"
#include "rpl_volume.h"
#include "volume.h"
#include "volume_fill.h"
#include "volume_limit.h"
#include "volume_macros.h"
#include "print_and_exit.h"

Typedefs

typedef struct callback_data Callback_data
 

Functions

static void rpl_callback_accum (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_callback_sample (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_ray_trace_callback_ct_density (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_ray_trace_callback_ct_HU (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_ray_trace_callback_PrSTPR (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_ray_trace_callback_PrSTPR_XiO_MGH (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
static void rpl_ray_trace_callback_range_length (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 
float compute_PrSTPR_from_HU (float CT_HU)
 
float compute_PrSTPR_Schneider_weq_from_HU (float CT_HU)
 
float compute_PrSTRP_XiO_MGH_weq_from_HU (float CT_HU)
 
float compute_PrWER_from_HU (float CT_HU)
 
float compute_density_from_HU (float CT_HU)
 
static void rpl_ray_trace_callback_RSP (void *callback_data, size_t vox_index, double vox_len, float vox_value)
 

Variables

const double lookup_PrSTPR_XiO_MGH [][2]
 

Typedef Documentation

◆ Callback_data

typedef struct callback_data Callback_data

Function Documentation

◆ compute_density_from_HU()

float compute_density_from_HU ( float  CT_HU)

◆ compute_PrSTPR_from_HU()

float compute_PrSTPR_from_HU ( float  CT_HU)

◆ compute_PrSTPR_Schneider_weq_from_HU()

float compute_PrSTPR_Schneider_weq_from_HU ( float  CT_HU)

◆ compute_PrSTRP_XiO_MGH_weq_from_HU()

float compute_PrSTRP_XiO_MGH_weq_from_HU ( float  CT_HU)

◆ compute_PrWER_from_HU()

float compute_PrWER_from_HU ( float  CT_HU)

◆ rpl_callback_accum()

static void rpl_callback_accum ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_callback_sample()

static void rpl_callback_sample ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_ct_density()

static void rpl_ray_trace_callback_ct_density ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_ct_HU()

static void rpl_ray_trace_callback_ct_HU ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_PrSTPR()

static void rpl_ray_trace_callback_PrSTPR ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_PrSTPR_XiO_MGH()

static void rpl_ray_trace_callback_PrSTPR_XiO_MGH ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_range_length()

static void rpl_ray_trace_callback_range_length ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

◆ rpl_ray_trace_callback_RSP()

static void rpl_ray_trace_callback_RSP ( void callback_data,
size_t  vox_index,
double  vox_len,
float  vox_value 
)
static

Variable Documentation

◆ lookup_PrSTPR_XiO_MGH

const double lookup_PrSTPR_XiO_MGH
extern
Initial value:
={
-1000.0, 0.01,
0.0, 1.0,
40.0, 1.04,
1000.0, 1.52,
2000.0, 2.02,
3000.0, 2.55,
}