Mercurial > hg > orthanc-stone
diff Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h @ 1822:0489fe25ce48
support of pixel spacing in ultrasound images from tag SequenceOfUltrasoundRegions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 May 2021 18:13:35 +0200 |
parents | 36430d73e36c |
children | 3889ae96d2e9 |
line wrap: on
line diff
--- a/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h Wed May 26 14:02:12 2021 +0200 +++ b/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h Wed May 26 18:13:35 2021 +0200 @@ -156,9 +156,11 @@ * "PixelSpacing" in the "SequenceOfUltrasoundRegions" * (0018,6011) sequence, cf. tags "PhysicalDeltaX" (0018,602c) * and "PhysicalDeltaY" (0018,602e) => This would require - * storing the full JSON into the "LoadedDicomResources" class - * or to use DCMTK + * parsing "message.GetResources()->GetSourceJson(0)" + * => cf. "DicomInstanceParameters::EnrichUsingDicomWeb()" **/ + + // std::cout << message.GetResources()->GetSourceJson(0).toStyledString(); LOG(INFO) << "Using millimeters units, as the DICOM instance contains the PixelSpacing tag"; units_ = OrthancStone::Units_Millimeters;