Requirements for pyramid

112 views
Skip to first unread message

Alex Price

unread,
Oct 26, 2018, 3:46:46 PM10/26/18
to Orthanc Users
Hello, I am having a hard time getting my dicom images to display on the wsi plugin for orthanc as a pyramid.  I can view them in the preview but they are red.  I am creating dcm files from tiling a .svs and can open the dcm files in micro dicom fine.  I have compared the tags of working dcm files and this one that is failing and everything seems to be in order but I keep getting the error "Cannot get the pyramid structure of series: ".  

What is required for the viewer to show a pyramid or what structure is required? 

Thank you.

Alex Price

unread,
Oct 26, 2018, 7:00:02 PM10/26/18
to Orthanc Users
I found out that I was not adding some tags correctly namely xoffset yoffset and the column and row positions.  After properly adding them I was able to view the image in orthanc.

Sébastien Jodogne

unread,
Oct 27, 2018, 3:10:54 AM10/27/18
to Orthanc Users
Glad to read that you solved your issue by yourself.

Nonetheless, are you aware of the fact that the Orthanc project provides a command-line tool called "OrthancWSIDicomizer" that can create compliant DICOM pyramids from SVS images?

Alex Price

unread,
Oct 29, 2018, 1:01:34 PM10/29/18
to Orthanc Users
Yes that is what I am using as a sanity check for tags but I have extra requirements (speed, related images, special tags etc), which is forcing me to dicomize on my own.
 I have noticed that using that tool does not produce a frame comment tag with the resolution, how does orthanc know how the pyramid is organized if it does not know the resolution and x, y location of the frame i.e. (Key)FrameComments  (Value)Resolution: 0 X: 1 Y: 1?
Thank you for the tip.

Alex Price

unread,
Oct 29, 2018, 2:13:59 PM10/29/18
to Orthanc Users
Looks like Orthanc uses DimensionIndexValues tag 0020,9157 to determine the structure.  Is this right?  I see it is just rolls over when the column position goes over the total width.  But I still don't see how Orthanc knows the resolutions of the levels.

Alex Price

unread,
Nov 1, 2018, 6:05:27 PM11/1/18
to Orthanc Users
For everyone else's benefit, I looked through the .cpp and orthanc builds the pyramid off of the instance height and width.  The instances are all grabbed and sorted by total height and width with highest width and height being the most zoomed in level, level 0 I think.

Sébastien Jodogne

unread,
Nov 9, 2018, 9:11:59 AM11/9/18
to Orthanc Users
Yes, I confirm that your interpretation is correct.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages