Mercurial > hg > orthanc-wsi
comparison Applications/Dicomizer.cpp @ 281:b5b9719ef1c0
log
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jul 2023 18:22:14 +0200 |
parents | 77afef2cf64b |
children | ea08ace91b81 |
comparison
equal
deleted
inserted
replaced
279:77afef2cf64b | 281:b5b9719ef1c0 |
---|---|
1082 if (openslide->LookupImagedVolumeSize(volumeWidth, volumeHeight)) | 1082 if (openslide->LookupImagedVolumeSize(volumeWidth, volumeHeight)) |
1083 { | 1083 { |
1084 if (!volume.HasWidth()) | 1084 if (!volume.HasWidth()) |
1085 { | 1085 { |
1086 volume.SetWidth(volumeWidth); | 1086 volume.SetWidth(volumeWidth); |
1087 LOG(WARNING) << "Width of the imaged volume extracted using OpenSlide: " << volumeWidth << "mm"; | |
1087 } | 1088 } |
1088 | 1089 |
1089 if (!volume.HasHeight()) | 1090 if (!volume.HasHeight()) |
1090 { | 1091 { |
1091 volume.SetHeight(volumeHeight); | 1092 volume.SetHeight(volumeHeight); |
1093 LOG(WARNING) << "Height of the imaged volume extracted using OpenSlide: " << volumeHeight << "mm"; | |
1092 } | 1094 } |
1093 } | 1095 } |
1094 | 1096 |
1095 return openslide.release(); | 1097 return openslide.release(); |
1096 } | 1098 } |