Mercurial > hg > orthanc-wsi
comparison Applications/Dicomizer.cpp @ 236:b0ee417b667a
migrating new definitions in namespace Orthanc to namespace OrthancWSI
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Feb 2021 10:27:58 +0100 |
parents | 4eefa34657f0 |
children | 49f647ed1b4c |
comparison
equal
deleted
inserted
replaced
235:8a5b2b068e52 | 236:b0ee417b667a |
---|---|
109 OrthancWSI::ITiledPyramid& source, | 109 OrthancWSI::ITiledPyramid& source, |
110 const OrthancWSI::DicomizerParameters& parameters) | 110 const OrthancWSI::DicomizerParameters& parameters) |
111 { | 111 { |
112 LOG(WARNING) << "Transcoding the source pyramid (not re-encoding)"; | 112 LOG(WARNING) << "Transcoding the source pyramid (not re-encoding)"; |
113 | 113 |
114 Orthanc::BagOfTasks tasks; | 114 OrthancWSI::BagOfTasks tasks; |
115 | 115 |
116 for (unsigned int i = 0; i < source.GetLevelCount(); i++) | 116 for (unsigned int i = 0; i < source.GetLevelCount(); i++) |
117 { | 117 { |
118 LOG(WARNING) << "Creating level " << i << " of size " | 118 LOG(WARNING) << "Creating level " << i << " of size " |
119 << source.GetLevelWidth(i) << "x" << source.GetLevelHeight(i); | 119 << source.GetLevelWidth(i) << "x" << source.GetLevelHeight(i); |
129 OrthancWSI::ITiledPyramid& source, | 129 OrthancWSI::ITiledPyramid& source, |
130 const OrthancWSI::DicomizerParameters& parameters) | 130 const OrthancWSI::DicomizerParameters& parameters) |
131 { | 131 { |
132 LOG(WARNING) << "Re-encoding the source pyramid (not transcoding, slower process)"; | 132 LOG(WARNING) << "Re-encoding the source pyramid (not transcoding, slower process)"; |
133 | 133 |
134 Orthanc::BagOfTasks tasks; | 134 OrthancWSI::BagOfTasks tasks; |
135 | 135 |
136 unsigned int levelsCount = parameters.GetPyramidLevelsCount(target, source); | 136 unsigned int levelsCount = parameters.GetPyramidLevelsCount(target, source); |
137 LOG(WARNING) << "The target pyramid will have " << levelsCount << " levels"; | 137 LOG(WARNING) << "The target pyramid will have " << levelsCount << " levels"; |
138 assert(levelsCount >= 1); | 138 assert(levelsCount >= 1); |
139 | 139 |