plastimatch
Loading...
Searching...
No Matches
dicom_util.cxx File Reference
#include "plmbase_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "dicom_util.h"
#include "make_string.h"
#include "plm_uid_prefix.h"

Functions

void dicom_get_date_time (std::string *date, std::string *time)
 
std::string dicom_anon_patient_id (void)
 
void dicom_load_rdd (Rt_study_metadata::Pointer rsm, const char *dicom_dir)
 
void dicom_save_short (const char *dicom_dir, Plm_image::Pointer &pli, Rt_study_metadata::Pointer &rsm)
 
void dicom_save_short (const std::string &dicom_dir, Plm_image::Pointer &pli, Rt_study_metadata::Pointer &rsm)
 
void dicom_save_short (const std::string &dicom_dir, Plm_image::Pointer &pli)
 
bool file_is_dicom (const char *filename)
 
char * dicom_uid (char *uid, const char *uid_root)
 
std::string dicom_uid (const char *uid_root)
 
std::string dicom_uid ()
 

Function Documentation

◆ dicom_anon_patient_id()

std::string dicom_anon_patient_id ( void )

◆ dicom_get_date_time()

void dicom_get_date_time ( std::string * date,
std::string * time )

◆ dicom_load_rdd()

void dicom_load_rdd ( Rt_study_metadata::Pointer rsm,
const char * dicom_dir )

◆ dicom_save_short() [1/3]

void dicom_save_short ( const char * dicom_dir,
Plm_image::Pointer & pli,
Rt_study_metadata::Pointer & rsm )

◆ dicom_save_short() [2/3]

void dicom_save_short ( const std::string & dicom_dir,
Plm_image::Pointer & pli )

◆ dicom_save_short() [3/3]

void dicom_save_short ( const std::string & dicom_dir,
Plm_image::Pointer & pli,
Rt_study_metadata::Pointer & rsm )

◆ dicom_uid() [1/3]

std::string dicom_uid ( )

◆ dicom_uid() [2/3]

char * dicom_uid ( char * uid,
const char * uid_root )

◆ dicom_uid() [3/3]

std::string dicom_uid ( const char * uid_root)

◆ file_is_dicom()

bool file_is_dicom ( const char * filename)