|
plastimatch
|
#include <segmentation.h>
Public Types | |
| typedef Segmentation | Self |
| typedef std::shared_ptr< Self > | Pointer |
Public Member Functions | |
| Segmentation () | |
| ~Segmentation () | |
| void | clear () |
| void | load (const char *ss_img, const char *ss_list) |
| void | load_cxt (const std::string &input_fn, Rt_study_metadata *rsm) |
| void | load_prefix (const char *prefix_dir) |
| void | load_prefix (const std::string &prefix_dir) |
| void | load_xio (const Xio_studyset &xio_studyset) |
| size_t | get_num_structures () |
| std::string | get_structure_name (size_t index) |
| void | set_structure_name (size_t index, const std::string &name) |
| UCharImageType::Pointer | get_structure_image (int index) |
| void | save_colormap (const std::string &colormap_fn) |
| void | save_cxt (const Rt_study_metadata::Pointer &rsm, const std::string &cxt_fn, bool prune_empty) |
| void | save_fcsv (const Rtss_roi *curr_structure, const std::string &fn) |
| void | save_prefix_fcsv (const std::string &output_prefix) |
| void | save_ss_image (const std::string &ss_img_fn) |
| void | save_labelmap (const std::string &labelmap_fn) |
| void | save_opt4d (const std::string &output_prefix) |
| void | save_prefix (const std::string &output_prefix, const std::string &extension="mha") |
| void | save_prefix (const char *output_prefix) |
| void | save_ss_list (const std::string &ss_list_fn) |
| void | save_xio (const Rt_study_metadata::Pointer &rsm, Xio_ct_transform *xio_transform, Xio_version xio_version, const std::string &output_dir) |
| UInt32ImageType::Pointer | get_ss_img_uint32 (void) |
| UCharVecImageType::Pointer | get_ss_img_uchar_vec (void) |
| void | apply_dicom_dir (const Rt_study_metadata::Pointer &rsm) |
| void | convert_ss_img_to_cxt (void) |
| void | convert_to_uchar_vec (void) |
| void | cxt_extract (void) |
| void | cxt_re_extract (void) |
| void | prune_empty (void) |
| void | keyholize () |
| void | rasterize (Plm_image_header *pih, bool want_labelmap, bool xor_overlapping) |
| void | set_geometry (const Plm_image_header *pih) |
| void | find_rasterization_geometry (Plm_image_header *pih) |
| Segmentation::Pointer | warp_nondestructive (const Xform::Pointer &xf, Plm_image_header *pih, bool use_itk=false) const |
| void | warp (const Xform::Pointer &xf, Plm_image_header *pih, bool use_itk=false) |
| void | warp (const Xform::Pointer &xf, Plm_image_header *pih, Warp_parms *parms) |
| void | add_structure (UCharImageType::Pointer itk_image, const char *structure_name=0, const char *structure_color=0) |
| Rtss_roi * | add_rtss_roi (const char *structure_name=0, const char *structure_color=0) |
| bool | have_ss_img () |
| void | set_ss_img (UCharImageType::Pointer ss_img) |
| Plm_image::Pointer | get_ss_img () |
| bool | have_structure_set () |
| Rtss::Pointer & | get_structure_set () |
| Rtss * | get_structure_set_raw () |
| void | set_structure_set (Rtss::Pointer &rtss_ss) |
| void | set_structure_set (Rtss *rtss_ss) |
| void | set_structure_image (UCharImageType::Pointer uchar_img, unsigned int bit) |
| void | resample (float spacing[3]) |
Static Public Member Functions | |
| static Segmentation::Pointer | New () |
| static Segmentation::Pointer | New (Segmentation *t) |
| template<class U1> | |
| static Segmentation::Pointer | New (const U1 &u1) |
| template<class U1, class U2> | |
| static Segmentation::Pointer | New (const U1 &u1, const U2 &u2) |
| template<class U1, class U2, class U3> | |
| static Segmentation::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3) |
| template<class U1, class U2, class U3, class U4, class U5, class U6> | |
| static Segmentation::Pointer | New (const U1 &u1, const U2 &u2, const U3 &u3, const U4 &u4, const U5 &u5, const U6 &u6) |
| static bool | valid_extension (const char *filename) |
Public Attributes | |
| Segmentation_private * | d_ptr |
Protected Member Functions | |
| void | initialize_ss_image (const Plm_image_header &pih, int vector_length) |
| void | broaden_ss_image (int new_vector_length) |
| typedef std::shared_ptr<Self> Segmentation::Pointer |
| typedef Segmentation Segmentation::Self |
| Segmentation::Segmentation | ( | ) |
| Segmentation::~Segmentation | ( | ) |
| Rtss_roi * Segmentation::add_rtss_roi | ( | const char * | structure_name = 0, |
| const char * | structure_color = 0 ) |
| void Segmentation::add_structure | ( | UCharImageType::Pointer | itk_image, |
| const char * | structure_name = 0, | ||
| const char * | structure_color = 0 ) |
| void Segmentation::apply_dicom_dir | ( | const Rt_study_metadata::Pointer & | rsm | ) |
|
protected |
| void Segmentation::clear | ( | ) |
| void Segmentation::convert_ss_img_to_cxt | ( | void | ) |
| void Segmentation::convert_to_uchar_vec | ( | void | ) |
| void Segmentation::cxt_extract | ( | void | ) |
| void Segmentation::cxt_re_extract | ( | void | ) |
| void Segmentation::find_rasterization_geometry | ( | Plm_image_header * | pih | ) |
| size_t Segmentation::get_num_structures | ( | ) |
| Plm_image::Pointer Segmentation::get_ss_img | ( | ) |
| UCharVecImageType::Pointer Segmentation::get_ss_img_uchar_vec | ( | void | ) |
| UInt32ImageType::Pointer Segmentation::get_ss_img_uint32 | ( | void | ) |
| UCharImageType::Pointer Segmentation::get_structure_image | ( | int | index | ) |
| std::string Segmentation::get_structure_name | ( | size_t | index | ) |
| Rtss::Pointer & Segmentation::get_structure_set | ( | ) |
| Rtss * Segmentation::get_structure_set_raw | ( | ) |
| bool Segmentation::have_ss_img | ( | ) |
| bool Segmentation::have_structure_set | ( | ) |
|
protected |
| void Segmentation::keyholize | ( | ) |
| void Segmentation::load | ( | const char * | ss_img, |
| const char * | ss_list ) |
| void Segmentation::load_cxt | ( | const std::string & | input_fn, |
| Rt_study_metadata * | rsm ) |
| void Segmentation::load_prefix | ( | const char * | prefix_dir | ) |
| void Segmentation::load_prefix | ( | const std::string & | prefix_dir | ) |
| void Segmentation::load_xio | ( | const Xio_studyset & | xio_studyset | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void Segmentation::prune_empty | ( | void | ) |
| void Segmentation::rasterize | ( | Plm_image_header * | pih, |
| bool | want_labelmap, | ||
| bool | xor_overlapping ) |
| void Segmentation::resample | ( | float | spacing[3] | ) |
| void Segmentation::save_colormap | ( | const std::string & | colormap_fn | ) |
| void Segmentation::save_cxt | ( | const Rt_study_metadata::Pointer & | rsm, |
| const std::string & | cxt_fn, | ||
| bool | prune_empty ) |
| void Segmentation::save_fcsv | ( | const Rtss_roi * | curr_structure, |
| const std::string & | fn ) |
| void Segmentation::save_labelmap | ( | const std::string & | labelmap_fn | ) |
| void Segmentation::save_opt4d | ( | const std::string & | output_prefix | ) |
| void Segmentation::save_prefix | ( | const char * | output_prefix | ) |
| void Segmentation::save_prefix | ( | const std::string & | output_prefix, |
| const std::string & | extension = "mha" ) |
| void Segmentation::save_prefix_fcsv | ( | const std::string & | output_prefix | ) |
| void Segmentation::save_ss_image | ( | const std::string & | ss_img_fn | ) |
| void Segmentation::save_ss_list | ( | const std::string & | ss_list_fn | ) |
| void Segmentation::save_xio | ( | const Rt_study_metadata::Pointer & | rsm, |
| Xio_ct_transform * | xio_transform, | ||
| Xio_version | xio_version, | ||
| const std::string & | output_dir ) |
| void Segmentation::set_geometry | ( | const Plm_image_header * | pih | ) |
| void Segmentation::set_ss_img | ( | UCharImageType::Pointer | ss_img | ) |
| void Segmentation::set_structure_image | ( | UCharImageType::Pointer | uchar_img, |
| unsigned int | bit ) |
| void Segmentation::set_structure_name | ( | size_t | index, |
| const std::string & | name ) |
| void Segmentation::set_structure_set | ( | Rtss * | rtss_ss | ) |
| void Segmentation::set_structure_set | ( | Rtss::Pointer & | rtss_ss | ) |
|
static |
| void Segmentation::warp | ( | const Xform::Pointer & | xf, |
| Plm_image_header * | pih, | ||
| bool | use_itk = false ) |
| void Segmentation::warp | ( | const Xform::Pointer & | xf, |
| Plm_image_header * | pih, | ||
| Warp_parms * | parms ) |
| Segmentation::Pointer Segmentation::warp_nondestructive | ( | const Xform::Pointer & | xf, |
| Plm_image_header * | pih, | ||
| bool | use_itk = false ) const |
| Segmentation_private* Segmentation::d_ptr |