GDCM
2.2.0
|
FileExplicitFilter class After changing a file from Implicit to Explicit representation (see ImageChangeTransferSyntax) one operation is to make sure the VR of each DICOM attribute are accurate and do match the one from PS 3.6. Indeed when a file is written in Implicit reprensentation, the VR is not stored directly in the file. More...
#include <gdcmFileExplicitFilter.h>
Public Member Functions | |
FileExplicitFilter () | |
~FileExplicitFilter () | |
bool | Change () |
Set FMI Transfer Syntax. | |
File & | GetFile () |
void | SetChangePrivateTags (bool b) |
Decide whether or not to VR'ify private tags. | |
void | SetFile (const File &f) |
Set/Get File. | |
void | SetRecomputeItemLength (bool b) |
By default set Sequence & Item length to Undefined to avoid recomputing length: | |
void | SetRecomputeSequenceLength (bool b) |
void | SetUseVRUN (bool b) |
When VR=16bits in explicit but Implicit has a 32bits length, use VR=UN. | |
Protected Member Functions | |
bool | ChangeFMI () |
bool | ProcessDataSet (DataSet &ds, Dicts const &dicts) |
FileExplicitFilter class After changing a file from Implicit to Explicit representation (see ImageChangeTransferSyntax) one operation is to make sure the VR of each DICOM attribute are accurate and do match the one from PS 3.6. Indeed when a file is written in Implicit reprensentation, the VR is not stored directly in the file.
gdcm::FileExplicitFilter::FileExplicitFilter | ( | ) | [inline] |
gdcm::FileExplicitFilter::~FileExplicitFilter | ( | ) | [inline] |
bool gdcm::FileExplicitFilter::Change | ( | ) |
bool gdcm::FileExplicitFilter::ChangeFMI | ( | ) | [protected] |
File& gdcm::FileExplicitFilter::GetFile | ( | ) | [inline] |
bool gdcm::FileExplicitFilter::ProcessDataSet | ( | DataSet & | ds, |
Dicts const & | dicts | ||
) | [protected] |
void gdcm::FileExplicitFilter::SetChangePrivateTags | ( | bool | b | ) | [inline] |
Decide whether or not to VR'ify private tags.
void gdcm::FileExplicitFilter::SetFile | ( | const File & | f | ) | [inline] |
Set/Get File.
void gdcm::FileExplicitFilter::SetRecomputeItemLength | ( | bool | b | ) |
By default set Sequence & Item length to Undefined to avoid recomputing length:
void gdcm::FileExplicitFilter::SetRecomputeSequenceLength | ( | bool | b | ) |
void gdcm::FileExplicitFilter::SetUseVRUN | ( | bool | b | ) | [inline] |