GDCM
2.2.6
|
FileDerivation class See PS 3.16 - 2008 For the list of Code Value that can be used for in Derivation Code Sequence. More...
#include <gdcmFileDerivation.h>
Public Member Functions | |
FileDerivation () | |
~FileDerivation () | |
bool | AddReference (const char *referencedsopclassuid, const char *referencedsopinstanceuid) |
bool | Derive () |
Change. More... | |
File & | GetFile () |
const File & | GetFile () const |
void | SetDerivationCodeSequenceCodeValue (unsigned int codevalue) |
Specify the Derivation Code Sequence Code Value. Eg 113040. More... | |
void | SetDerivationDescription (const char *dd) |
Specify the Derivation Description. Eg "lossy conversion". More... | |
void | SetFile (const File &f) |
Set/Get File. More... | |
void | SetPurposeOfReferenceCodeSequenceCodeValue (unsigned int codevalue) |
Specify the Purpose Of Reference Code Value. Eg. 121320. More... | |
Protected Member Functions | |
bool | AddDerivationDescription () |
bool | AddPurposeOfReferenceCodeSequence (DataSet &ds) |
bool | AddSourceImageSequence () |
FileDerivation class See PS 3.16 - 2008 For the list of Code Value that can be used for in Derivation Code Sequence.
URL: http://medical.nema.org/medical/dicom/2008/08_16pu.pdf
DICOM Part 16 has two Context Groups CID 7202 and CID 7203 which contain a set of codes defining reason for a source image reference (ie. reason code for referenced image sequence) and a coded description of the deriation applied to the new image data from the original. Both these context groups are extensible.
File Derivation is compulsary when creating a lossy derived image.
gdcm::FileDerivation::FileDerivation | ( | ) |
gdcm::FileDerivation::~FileDerivation | ( | ) |
|
protected |
|
protected |
bool gdcm::FileDerivation::AddReference | ( | const char * | referencedsopclassuid, |
const char * | referencedsopinstanceuid | ||
) |
Create the proper reference. Need to pass the original SOP Class UID and the original SOP Instance UID, so that those value can be used as Reference.
|
protected |
bool gdcm::FileDerivation::Derive | ( | ) |
Change.
|
inline |
|
inline |
void gdcm::FileDerivation::SetDerivationCodeSequenceCodeValue | ( | unsigned int | codevalue | ) |
Specify the Derivation Code Sequence Code Value. Eg 113040.
void gdcm::FileDerivation::SetDerivationDescription | ( | const char * | dd | ) |
Specify the Derivation Description. Eg "lossy conversion".
|
inline |
Set/Get File.
void gdcm::FileDerivation::SetPurposeOfReferenceCodeSequenceCodeValue | ( | unsigned int | codevalue | ) |
Specify the Purpose Of Reference Code Value. Eg. 121320.