DICOMcloud icon indicating copy to clipboard operation
DICOMcloud copied to clipboard

How to generate a series thumbnail

Open zsyy94 opened this issue 7 years ago • 1 comments

hi,Since loading the viewer is too long, I want to add a series list page, but I don't know how to generate the series thumbnail. so,Need your help,thanks!

zsyy94 avatar Sep 29 '18 00:09 zsyy94

The server doesn't support generating thumbnails at the moment. Although, this could be accomplished by supporting the image parameters in the WADO-URI then passing them to the JpegMediaWriter

Please feel free to add this feature in a PR if you feel like it.

However, if you want to display a representative image of a query "qido-rs" there is an experimental feature that allows you to pass a header in the request and returns a representative SOP Instance studyUID:seriesUID:instanceUID for each query result. You can then read this header and use it to request that instance in JPEG format from the WADO-URI service.

You can check the code of this feature here: https://github.com/DICOMcloud/DICOMcloud/blob/development/DICOMcloud.Wado/Services/QidoRsService.cs#L280

Zaid-Safadi avatar Oct 02 '18 02:10 Zaid-Safadi