Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

on-demand loading or direct-read from CD

Open Infotrafic opened this issue 3 years ago • 3 comments

When a CD is inserted and the button import&close is pressed, it can take a long time before we can use the viewer

Would it be possible to load only the first picture of each folder and load all remaining pictures on folder selection.

Reading directly the data from the CD would be an interesting alternative.

Infotrafic avatar Feb 19 '21 15:02 Infotrafic

It can be slow to read CDs when the order of the DICOMDIR does not match the order in which the files are written to the disc.

Try the DICOM directory import method without using DICOMDIR.

nroduit avatar Feb 19 '21 19:02 nroduit

I can confirm that loading is going much faster without using DICOMDIR. The main reason is that it is not making any copy from the CD to the disk. Unfortunately making a copy from the CD to the disk is needed to have a nice user experience using large series of pictures.

How can we configure (recompile if needed) the path where the "Import from CD" button copies the pictures? The idea would be to store all pictures into RAM-disk. (/dev/shm in linux).

Thanks in advance for your answer.

Infotrafic avatar Mar 09 '21 09:03 Infotrafic

The CD button action searches for a volume (could be a USB device) with DICOMDIR in root folder see here

For loading data at start, see https://nroduit.github.io/en/getting-started/weasis-protocol/#examples-to-load-images

nroduit avatar Mar 14 '21 17:03 nroduit