Dicomizer: how to split up pyramidal TIF image by resolution plane?

The Dicomizer has the (very nice) feature of limiting the maximum size per file (e.g., 10MB). That results in the dicom files using concatenation for the same instance. It looks like not all dicom-readers can handle this. Is there a way of telling the dicomizer to put each resolution level of the pyramidal TIF WSI image in a separate file? Thank you very much, Jack

Hello,

You can simply set “–max-size=0” in order to generate only one file by level of the multi-resolution pyramid.

The documentation has just been clarified by the following changeset:
https://bitbucket.org/sjodogne/orthanc-wsi/commits/18e9a5429cc49f02877f79da1d3779b185027de3

Regards,
Sébastien-

Hi Sébastien, Thank you very much for adding the clarification to the option. Adding the option '--max-size=0' to the command line causes a runtime error. I downloaded the tip (rev. 106) and looking at the source code Dicomizer.cpp #734 and following into DicomizerParameters.cpp #139, it looks like the error is triggered because max-size=0 causes the target file size to be less than 1MB, the minimum value tested against. Am I not working with the correct version? What am I missing?
Thank you very much,
Jack

Hi Sébastien, after some code analysis I was able to get it to work by changing the minimum target file size test performed in DicomParameters.cpp #139. After a five-minute recompile it worked like a charm.
Thanks again for pointing to the max-size=0 option.
Best Regards,
Jack

Hello,

Indeed, this was a bug. It is now fixed by the following changeset:https://bitbucket.org/sjodogne/orthanc-wsi/commits/7e45d8856495f290d4b9be197526a3cb98c7b0e9

Thanks for the debugging!

Regards,
Sébastien-