plastimatch
|
The Dicom_sro_save is a utility class for saving DICOM Spatial Registration objects from different input sources. The input images may either already exist as DICOM, in which case the SRO will reference the existing series, or they may be written by this class. More...
#include <dicom_sro_save.h>
Public Member Functions | |
Dicom_sro_save () | |
~Dicom_sro_save () | |
Inputs | |
void | set_fixed_image (const char *path) |
Set the reference image. If it is a non-DICOM volume, the volume will be loaded and exported as DICOM. If it is a DICOM volume, it will be loaded and referenced. | |
void | set_fixed_image (const Plm_image::Pointer &fixed_image) |
Set the reference image. The volume will be exported as DICOM. | |
void | set_moving_image (const char *path) |
Set the moving image. If it is a non-DICOM volume, the volume will be loaded and exported as DICOM. If it is a DICOM volume, it will be loaded and referenced. | |
void | set_moving_image (const Plm_image::Pointer &moving_image) |
Set the moving image. The volume will be exported as DICOM. | |
void | set_xform (const Xform::Pointer &xform) |
Set the transform, which will be exported as DICOM. | |
void | set_output_dir (const std::string &output_dir) |
Set the path to the output directory where the DICOM SRO and images will be saved. | |
Execution | |
void | run () |
Save the SRO and maybe some images too. | |
Public Attributes | |
Dicom_sro_save_private * | d_ptr |
The Dicom_sro_save is a utility class for saving DICOM Spatial Registration objects from different input sources. The input images may either already exist as DICOM, in which case the SRO will reference the existing series, or they may be written by this class.
Dicom_sro_save::Dicom_sro_save | ( | ) |
Dicom_sro_save::~Dicom_sro_save | ( | ) |
void Dicom_sro_save::run | ( | ) |
Save the SRO and maybe some images too.
void Dicom_sro_save::set_fixed_image | ( | const char * | path | ) |
Set the reference image. If it is a non-DICOM volume, the volume will be loaded and exported as DICOM. If it is a DICOM volume, it will be loaded and referenced.
void Dicom_sro_save::set_fixed_image | ( | const Plm_image::Pointer & | fixed_image | ) |
Set the reference image. The volume will be exported as DICOM.
void Dicom_sro_save::set_moving_image | ( | const char * | path | ) |
Set the moving image. If it is a non-DICOM volume, the volume will be loaded and exported as DICOM. If it is a DICOM volume, it will be loaded and referenced.
void Dicom_sro_save::set_moving_image | ( | const Plm_image::Pointer & | moving_image | ) |
Set the moving image. The volume will be exported as DICOM.
void Dicom_sro_save::set_output_dir | ( | const std::string & | output_dir | ) |
Set the path to the output directory where the DICOM SRO and images will be saved.
void Dicom_sro_save::set_xform | ( | const Xform::Pointer & | xform | ) |
Set the transform, which will be exported as DICOM.
Dicom_sro_save_private* Dicom_sro_save::d_ptr |