MeVisLab Toolbox Reference
|
Functions | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void | updateSourceImageReferences (DCMTree::Const_TreePtr dcmTree, MultiFileVolumeList &volList, std::set< size_t > &srcRefs, std::set< size_t > &forRefs, const std::string &sequenceScanConfig, DicomMessageCollector &dcmMsgCollector) |
Check dcmTree for ReferencedSOPInstanceUIDs according to sequenceScanConfig and for frame of reference uids tags. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void | setUpVolumeIndexFields (const std::set< size_t > &foundVolumeIndexes, IntField &firstRelatedVolumeIndexFld, StringField &relatedVolumeIndexesFld) |
Sets the first index from foundVolumeIndexes as index in firstRelatedVolumeIndexFld or -1 if foundVolumeIndexes is empty; relatedVolumeIndexesFld will be set to a space separated list of all indexes from foundVolumeIndexes or to an empty string if foundVolumeIndexes is empty. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void | setUpVolumeIndexFields (const std::set< size_t > &foundVolumeIndexes1, const std::set< size_t > &foundVolumeIndexes2, IntField &firstRelatedVolumeIndexFld, StringField &relatedVolumeIndexesFld) |
Generates an ordered sequence with all indexes from foundVolumeIndexes1 and appends all indexes from foundVolumeIndexes2 which still are not part of the sequence; the fields firstRelatedVolumeIndexFld and relatedVolumeIndexesFld then are set as described for setUpVolumeIndexFields with one set. | |
Variables | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string | FromReferencedSeriesSequence |
The currently supported source sequences for related volumes. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string | FromReferencedImageSequence |
Take entries from ReferencedImageSequence. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string | FromSourceImageSequence |
Take entries from SourceImageSequenceImageSequence. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string | FromDerivationImageSequence |
Take entries from DerivationImageSequence -> SourceImageSequence. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string | DefaultSequenceScanConfig |
Default scan configuration: takes only the first found sequence of the three ones. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::vector< std::string > | ValidSequenceScanConfigEntries |
All entry values allowed in a SequenceScanConfig string. | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void ml::RelatedMultiFileVolumeTools::setUpVolumeIndexFields | ( | const std::set< size_t > & | foundVolumeIndexes, |
IntField & | firstRelatedVolumeIndexFld, | ||
StringField & | relatedVolumeIndexesFld ) |
Sets the first index from foundVolumeIndexes as index in firstRelatedVolumeIndexFld or -1 if foundVolumeIndexes is empty; relatedVolumeIndexesFld will be set to a space separated list of all indexes from foundVolumeIndexes or to an empty string if foundVolumeIndexes is empty.
References setUpVolumeIndexFields().
Referenced by setUpVolumeIndexFields(), and setUpVolumeIndexFields().
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void ml::RelatedMultiFileVolumeTools::setUpVolumeIndexFields | ( | const std::set< size_t > & | foundVolumeIndexes1, |
const std::set< size_t > & | foundVolumeIndexes2, | ||
IntField & | firstRelatedVolumeIndexFld, | ||
StringField & | relatedVolumeIndexesFld ) |
Generates an ordered sequence with all indexes from foundVolumeIndexes1 and appends all indexes from foundVolumeIndexes2 which still are not part of the sequence; the fields firstRelatedVolumeIndexFld and relatedVolumeIndexesFld then are set as described for setUpVolumeIndexFields with one set.
References setUpVolumeIndexFields().
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void ml::RelatedMultiFileVolumeTools::updateSourceImageReferences | ( | DCMTree::Const_TreePtr | dcmTree, |
MultiFileVolumeList & | volList, | ||
std::set< size_t > & | srcRefs, | ||
std::set< size_t > & | forRefs, | ||
const std::string & | sequenceScanConfig, | ||
DicomMessageCollector & | dcmMsgCollector ) |
Check dcmTree for ReferencedSOPInstanceUIDs according to sequenceScanConfig and for frame of reference uids tags.
Regarding these UIDs possible corresponding volume indexes in volList are inserted into srcRefs and/or forRefs.
dcmTree | The DICOM tree in which the references shall be searched. |
volList | The MultiFileVolumeList into which the found indexes shall point. |
srcRefs | The set of indexes to be extended with the newly found related volume indexes. |
forRefs | The set of indexes to be extended with newly found indexes corresponding to frame of reference tags. |
sequenceScanConfig | The configuration specifying the sequences in which ReferencedSOPInstaneUIDs shall be searched in dcmTree. |
dcmMsgCollector | Collects error, info and issue messages. Possible errors and DCMtree exceptions are caught and logged in dcmMsgCollector. |
References updateSourceImageReferences().
Referenced by updateSourceImageReferences().
|
extern |
Default scan configuration: takes only the first found sequence of the three ones.
|
extern |
Take entries from DerivationImageSequence -> SourceImageSequence.
|
extern |
Take entries from ReferencedImageSequence.
|
extern |
The currently supported source sequences for related volumes.
Take entries from ReferencedSeriesSequence -> ReferencedInstanceSequence -> ReferencedImageSequence.
|
extern |
Take entries from SourceImageSequenceImageSequence.
|
extern |
All entry values allowed in a SequenceScanConfig string.