DICOMSDL
0.79.20110728
DICOMSoftwareDevelopmentLibrary
|
#include <dicom.h>
Public Member Functions | |
int | load (void *instream, dicomfile *dfobj, uidtype tsuid, opttype opt=default_load_opt, optarg arg=0) |
int | save_a (char **val_a, int *len_a, opttype opt=default_save_opt) |
int | _save (void *ostream, uidtype tsuid, opttype opt) |
dataelement * | get_dataelement (tagtype tag) |
dataelement * | get_dataelement (const char *tagstr) |
dataelement & | operator[] (tagtype tag) |
dataelement & | operator[] (const char *tagstr) |
dataelement * | add_dataelement (tagtype tag, vrtype vr=VR_NULL, uint32 len=0, void *ptr=NULL, int endian=MACHINE_ENDIANNESS, int own_memory=false) |
dataelement * | add_dataelement (const char *tagstring, vrtype vr=VR_NULL) |
void | remove_dataelement (tagtype tag) |
void | remove_all_dataelements () |
~dataset () | |
void | dump_string_a (char **val_a, int *len_a, std::string prefix="") |
std::string | dump_string (std::string prefix="") |
void | get_image_info (int *width, int *height, int *precision, int *signedness, int *ncomponents, int *bytes_per_pixel, int *nframes) |
void | set_image_dimension (int width, int height, int precision, int signedness, int ncomponents) |
void | get_pixeldata_a (char **val_a, int *len_a) |
int | copy_pixeldata_to (char *buf, int rowstep, int framestep, int idx=-1) |
int | copy_pixeldata_to (void *buf, int rowstep, int framestep, int idx=-1) |
int | set_pixeldata (uidtype tsuid, char *buf, int width, int height, int prec, int sgnd, int ncomps, int nframes, int rowstep, int framestep, int quality=0) |
int | set_filemetainfo (uidtype sop_class_uid, char *sop_instance_uid, uidtype transfer_syntax_uid) |
int | change_pixelencoding (uidtype transfer_syntax_uid, int quality=0) |
int | number_of_elements () |
void | realloc_ptr (long ptrdiff) |
Public Attributes | |
element_dict_type | edict |
uidtype | tsuid |
Implementation of DICOM data set
|
inline |
dataelement* dicom::dataset::add_dataelement | ( | tagtype | tag, |
vrtype | vr = VR_NULL , |
||
uint32 | len = 0 , |
||
void * | ptr = NULL , |
||
int | endian = MACHINE_ENDIANNESS , |
||
int | own_memory = false |
||
) |
dataelement* dicom::dataset::add_dataelement | ( | const char * | tagstring, |
vrtype | vr = VR_NULL |
||
) |
int dicom::dataset::change_pixelencoding | ( | uidtype | transfer_syntax_uid, |
int | quality = 0 |
||
) |
int dicom::dataset::copy_pixeldata_to | ( | char * | buf, |
int | rowstep, | ||
int | framestep, | ||
int | idx = -1 |
||
) |
|
inline |
std::string dicom::dataset::dump_string | ( | std::string | prefix = "" | ) |
void dicom::dataset::dump_string_a | ( | char ** | val_a, |
int * | len_a, | ||
std::string | prefix = "" |
||
) |
dataelement* dicom::dataset::get_dataelement | ( | tagtype | tag | ) |
dataelement* dicom::dataset::get_dataelement | ( | const char * | tagstr | ) |
void dicom::dataset::get_image_info | ( | int * | width, |
int * | height, | ||
int * | precision, | ||
int * | signedness, | ||
int * | ncomponents, | ||
int * | bytes_per_pixel, | ||
int * | nframes | ||
) |
void dicom::dataset::get_pixeldata_a | ( | char ** | val_a, |
int * | len_a | ||
) |
int dicom::dataset::load | ( | void * | instream, |
dicomfile * | dfobj, | ||
uidtype | tsuid, | ||
opttype | opt = default_load_opt , |
||
optarg | arg = 0 |
||
) |
|
inline |
|
inline |
|
inline |
void dicom::dataset::realloc_ptr | ( | long | ptrdiff | ) |
void dicom::dataset::remove_all_dataelements | ( | ) |
void dicom::dataset::remove_dataelement | ( | tagtype | tag | ) |
int dicom::dataset::save_a | ( | char ** | val_a, |
int * | len_a, | ||
opttype | opt = default_save_opt |
||
) |
int dicom::dataset::set_filemetainfo | ( | uidtype | sop_class_uid, |
char * | sop_instance_uid, | ||
uidtype | transfer_syntax_uid | ||
) |
void dicom::dataset::set_image_dimension | ( | int | width, |
int | height, | ||
int | precision, | ||
int | signedness, | ||
int | ncomponents | ||
) |
int dicom::dataset::set_pixeldata | ( | uidtype | tsuid, |
char * | buf, | ||
int | width, | ||
int | height, | ||
int | prec, | ||
int | sgnd, | ||
int | ncomps, | ||
int | nframes, | ||
int | rowstep, | ||
int | framestep, | ||
int | quality = 0 |
||
) |
element_dict_type dicom::dataset::edict |
uidtype dicom::dataset::tsuid |