Mercurial > hg > orthanc-wsi
comparison Applications/Dicomizer.cpp @ 166:f0dac1e8f736
access to photometric interpretation of source pyramids
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jul 2019 09:06:54 +0200 |
parents | 6b8ccfc02051 |
children | 605247fc8758 |
comparison
equal
deleted
inserted
replaced
165:8c279c5b28a3 | 166:f0dac1e8f736 |
---|---|
130 | 130 |
131 assert(lowerLevelsCount <= levelsCount); | 131 assert(lowerLevelsCount <= levelsCount); |
132 if (lowerLevelsCount != levelsCount) | 132 if (lowerLevelsCount != levelsCount) |
133 { | 133 { |
134 LOG(WARNING) << "Constructing the " << lowerLevelsCount << " lower levels of the pyramid"; | 134 LOG(WARNING) << "Constructing the " << lowerLevelsCount << " lower levels of the pyramid"; |
135 OrthancWSI::TruncatedPyramidWriter truncated(target, lowerLevelsCount); | 135 OrthancWSI::TruncatedPyramidWriter truncated(target, lowerLevelsCount, source.GetPhotometricInterpretation()); |
136 OrthancWSI::ReconstructPyramidCommand::PrepareBagOfTasks | 136 OrthancWSI::ReconstructPyramidCommand::PrepareBagOfTasks |
137 (tasks, truncated, source, lowerLevelsCount + 1, 0, parameters); | 137 (tasks, truncated, source, lowerLevelsCount + 1, 0, parameters); |
138 OrthancWSI::ApplicationToolbox::Execute(tasks, parameters.GetThreadsCount()); | 138 OrthancWSI::ApplicationToolbox::Execute(tasks, parameters.GetThreadsCount()); |
139 | 139 |
140 assert(tasks.GetSize() == 0); | 140 assert(tasks.GetSize() == 0); |