MeVisLab Toolbox Reference
|
Functions | |
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void | updateSourceImageReferences (DCMTree::Const_TreePtr dcmTree, MultiFileVolumeList &volList, std::set< size_t > &srcRefs, std::set< size_t > &forRefs, DicomMessageCollector &dcmMsgCollector) |
Searches referenced or source images in dcmTree and returns their indexes into volList. More... | |
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. More... | |
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. More... | |
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.
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.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void ml::RelatedMultiFileVolumeTools::updateSourceImageReferences | ( | DCMTree::Const_TreePtr | dcmTree, |
MultiFileVolumeList & | volList, | ||
std::set< size_t > & | srcRefs, | ||
std::set< size_t > & | forRefs, | ||
DicomMessageCollector & | dcmMsgCollector | ||
) |
Searches referenced or source images in dcmTree and returns their indexes into volList.
dcmTree | The DICOM tree in which the series shall be searched. |
volList | The MultiFileVolumeList in which the source images and UIDs shall be searched. |
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. |
dcmMsgCollector | Collects error, info and issue messages (typically related to a handle). |