MCPcopy Create free account
hub / github.com/MITK/MITK / DecorateVerifyCachedImage

Method DecorateVerifyCachedImage

Modules/DICOMTesting/src/mitkTestDICOMLoading.cpp:112–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112mitk::Image::Pointer
113mitk::TestDICOMLoading
114::DecorateVerifyCachedImage( const StringList& files, mitk::DICOMTagCache* tagCache, mitk::Image::Pointer cachedImage )
115{
116 DICOMImageBlockDescriptor block;
117
118 DICOMImageFrameList framelist;
119 for (auto iter = files.begin();
120 iter != files.end();
121 ++iter)
122 {
123 framelist.push_back( DICOMImageFrameInfo::New(*iter) );
124 }
125
126 block.SetImageFrameList( framelist );
127
128 block.SetTagCache( tagCache );
129 block.SetMitkImage( cachedImage ); // this should/will create a propertylist describing the image slices
130 return block.GetMitkImage();
131}
132
133
134mitk::Image::Pointer

Callers 1

Calls 13

BuildDICOMReaderMethod · 0.95
SetImageFrameListMethod · 0.80
SetMitkImageMethod · 0.80
GetMitkImageMethod · 0.80
NewFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
SetTagCacheMethod · 0.45
SetInputFilesMethod · 0.45
AnalyzeInputFilesMethod · 0.45
GetNumberOfOutputsMethod · 0.45

Tested by

no test coverage detected