ayselafsar / dicomviewer

DICOM Viewer in Nextcloud
https://apps.nextcloud.com/apps/dicomviewer
GNU Affero General Public License v3.0
221 stars 52 forks source link

Dicom files without extension / #15

Closed linuxpete closed 5 years ago

linuxpete commented 6 years ago

Hi

I don't know whether it fits here but I get this CDROM from the hospital with DICOM pictures. It has a the following :

However there are some caveats:

I won't enclose the private medical info here, but I send by the readme.txt which hints to some SW used in the viewer.

My question is, will it be possible to parse the information copied from disc with the viewer,eg by using the dicomdir file? or HTML file however this one could be some proprietary file.

readme.txt

guinhas commented 6 years ago

Hi,

I have the same problem. Just copy the folder with the dicom files to your hdd, cd to the folder with the files and copy this command on a terminal:

for f in *; do mv "$f" "${f%}.dcm"; done

This command will add the .dcm extension to all your dicom files in that folder. It worked for me.

linuxpete commented 6 years ago

Hi @guinhas ,

Thanks for the tip, I used a kind of tric like that too. But the images were worked into a somewhat elaborate directory tree. Apart from that there were MRI images which have a relationship with each other. This could be a requirement too.

guinhas commented 6 years ago

Hi,

You're welcome! Humm... I don't know if that's normal or not. The cds from where I work store all slices in a folder, usually it's the dicomdir file that sorts those slices into different series. MRI images with relationship with others... Tractography? Usually MRI slices don't have a relationship with each other apart from being from the same series (MRI sequence). Right now you can only view individual slices in dicomviewer not an entire series.

ayselafsar commented 5 years ago

Hi,

Thanks for the report.

The support for opening dicom files without extension in a folder was added in v1.0.2 Could you please give it a try?

Note that you can only open the folder (with "Open with DICOM Viewer" action) containing dicom files without extension, so dicom viewer app does not prevent downloading the files without extension.

loxK commented 1 year ago

Uploading the dicomdir file renaming it to dicomdir.dcm, I can open it and view the study.