67 void set_input (
const std::string& dicom_dir);
71 void set_structure_set_image (
const char* ss_image_fn,
72 const char *ss_list_fn);
89 enum Histogram_type histogram_type,
int num_bins,
float bin_width);
void set_dose_units(enum Dvh_units units)
Set the units for dose image.
Definition dvh.cxx:62
void set_dose_image(Plm_image *image)
Set the dose image as a Plm image.
void set_dvh_parameters(enum Dvh_normalization normalization, enum Histogram_type histogram_type, int num_bins, float bin_width)
Set the units for dvh computation. Normalization in either percent or voxels, choice of cumulative or...
Definition dvh.cxx:68
void save_csv(const char *csv_fn)
Save the DVH as a csv file.
Definition dvh.cxx:261
static Dvh::Dvh_normalization default_normalization()
Return the default value for DVH normalization.
Definition dvh.h:47
Histogram_type
Definition dvh.h:33
@ DVH_DIFFERENTIAL_HISTOGRAM
Definition dvh.h:35
@ DVH_CUMULATIVE_HISTOGRAM
Definition dvh.h:34
void run()
Compute dvh.
Definition dvh.cxx:78
static Dvh::Histogram_type default_histogram_type()
Return the default value for histogram type.
Definition dvh.h:51
void set_structure_set_image(Segmentation *image)
Set the structure set image as an Segmentation.
Dvh_units
Definition dvh.h:23
@ DVH_UNITS_GY
Definition dvh.h:24
@ DVH_UNITS_CGY
Definition dvh.h:25
Dvh_normalization
Definition dvh.h:28
@ DVH_NORMALIZATION_PCT
Definition dvh.h:29
@ DVH_NORMALIZATION_VOX
Definition dvh.h:30
void set_dose_image(const char *image_fn)
Set the dose image. The image will be loaded from the specified filename.
Definition dvh.cxx:56
void set_dose_image(const FloatImageType::Pointer image)
Set the dose image as an ITK image.
Dvh_private * d_ptr
Definition dvh.h:20
static Dvh::Dvh_units default_dose_units()
Return the default value for dose units.
Definition dvh.h:43
static int default_histogram_num_bins()
Return the default number of bins in the histogram.
Definition dvh.h:55
Dvh()
Definition dvh.cxx:33
static float default_histogram_bin_width()
Return the default bin width (in Gy) in the histogram.
Definition dvh.h:59
The Plm_image class represents a three-dimensional volume. The volume is an abstraction that can co...
Definition plm_image.h:27
Definition segmentation.h:23
#define PLMUTIL_API
Definition plmutil_config.h:26