plastimatch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Dicom_sro_save Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Dicom_sro_save()

Dicom_sro_save::Dicom_sro_save ( )

◆ ~Dicom_sro_save()

Dicom_sro_save::~Dicom_sro_save ( )

Member Function Documentation

◆ run()

void Dicom_sro_save::run ( )

Save the SRO and maybe some images too.

◆ set_fixed_image() [1/2]

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.

◆ set_fixed_image() [2/2]

void Dicom_sro_save::set_fixed_image ( const Plm_image::Pointer &  fixed_image)

Set the reference image. The volume will be exported as DICOM.

◆ set_moving_image() [1/2]

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.

◆ set_moving_image() [2/2]

void Dicom_sro_save::set_moving_image ( const Plm_image::Pointer &  moving_image)

Set the moving image. The volume will be exported as DICOM.

◆ set_output_dir()

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.

◆ set_xform()

void Dicom_sro_save::set_xform ( const Xform::Pointer &  xform)

Set the transform, which will be exported as DICOM.

Member Data Documentation

◆ d_ptr

Dicom_sro_save_private* Dicom_sro_save::d_ptr

The documentation for this class was generated from the following files: