GoogleCloudPlatform / wsi-to-dicom-converter

Conversion tool/library for converting whole slide images to DICOM
Apache License 2.0
76 stars 26 forks source link

Documentation does not describe SVSImportPreferScannerTileingForLargestLevel and SVSImportPreferScannerTileingForAllLevels #101

Open dclunie opened 1 year ago

dclunie commented 1 year ago

which are present in "src/main.cpp"

It would be good to describe the general approach to "lossless" conversion from SVS to DICOM so that the original JPEG tiles are not compromised by the loss in decompression/recompression, and whether or not this is supported for JPEG only or J2K tiles as well, and or any other formats than SVS.

fedorov commented 1 year ago

It looks like that option is not exposed as a command line argument. Is this correct that one would need to change the code to avoid recompression?

I believe in the above @dclunie refers to this part of the code, is this right?

https://github.com/GoogleCloudPlatform/wsi-to-dicom-converter/blob/develop/src/main.cpp#L158-L168