Paid affiliate advertisement

Dicom file handler module

mysty - July 6, 2009 - 17:28

Hello,

a drupal project I am working on needs a dicom file handler module. Dicom is a standard for medical images, containing metadata (for more details on Dicom see here).

The project needs a module to be able to:

  • import dicom files (from upload, maybe batch?)
  • convert dicom image for display within drupal, e.g. as a jpeg
  • extract the metadata from the dicom file as CCK fields that are then searchable

.. optionally:

  • jpg image rotation
  • jpg image scaling

The resulting module would be sponsored by the project, for the author's release as open source on drupal.org

If you are interested in this please contact me on irc in channel #drupaluk or via the contact form of d.o.

Thanks!

mysty

Sounds like a sub-class of

budda - July 6, 2009 - 17:40

Sounds like a sub-class of the filefield / imagefield with a custom formatter to display the additional meta data.

Looks fiddly. Good luck!

changed from the above based

mysty - July 7, 2009 - 21:21

changed from the above based on further information.

  • convert dicom image for display within drupal, e.g. as a PNG (as JPG is perceived as lossy by the intended audience, and therefore 'not good enough')

Also

  • release 1 of the module is not expected to include the ability to edit the meta data in the dicom file, but a future release should ideally plan for the ability to edit the meta data for 'export' (i.e. download of a single updated dicom file with the updated metadata)
  • dicom file format apparently supports multiframe images. Sounds complicated, so unless you tell me different let's assume that release 1 does not support multiframe dicom images. Though of couse mutiframe support is preferred, it will eventually be required as part of the dicome standard

Hope the above makes sense.
Please contact with any questions.
Regards,
mysty

More clarification being sought

mysty - July 7, 2009 - 23:03

.. trying to find out at the moment whether the project needs full resolution dicom image browser (with zoom etc) or just a 72dpi preview.

Obviously quite important so please stand by.

Answers will be provided here, along with a re-stated more clear specification, and as much as I can offer about use cases, etc.

thanks for you interest and bearing with me while I try and nail down the moving pieces as much as possible before we get going :)

mysty

OK it seems the people I've

mysty - July 15, 2009 - 23:47

OK it seems the people I've been trying to get clarification from are both on separate beaches! Typical ;)

So what I've proposed to them is the following:

  • "The system should be able to recognise/treat medical data (pictures) in “dicom” format (which is widely used by current medical systems). Dicom file support will include importing of dicom images for preview within the web front end, and extraction of the dicom metadata so that the metadata can be searchable within the TP front end
  • "There will be an “export” screen/facility to export .. the original dicom files."

When I say system, I mean of course the drupal site via the aforementioned dicom module.

So what is not offered is a dicom file browser.

The use case would be for a user to import a dicom file - via either a file upload (for smaller files) or from a server side directory (dicom files can be large). The dicom module would then parse the file to extract:

  • a 72dpi image preview from the dicom file - which may be high resolution, or contain multiple images. In the latter case a still image preview will be supplied, with extacted meta data indicating that there are more than one image in the original dicom file
  • the associated metadata - which would be then stored say in CCK fields so as to be searchable

So the original dicom files will not be for editing, and will be available for downloaded later.

How does that sound? Hopefully realistic and achievable :)

regards,

mysty

Oh dear, I did forget that

mysty - July 16, 2009 - 00:07

Oh dear, I did forget that the site will be in both Greek and English so i18n interoperation (whatever that means) will be important. Unlike for example the core contact module.

Sorry that's so unclear, and trust me, I really wish it was a single language project..

Drupal and DICOM

owen32 - November 12, 2009 - 15:16

- have you looked at (some how) using something like DIOwave within Drupal? (http://diowave-vs.sourceforge.net/) - I use DIOwave for other things and getting it to work throug Drupal would solve some of my problems -

 
 

Drupal is a registered trademark of Dries Buytaert.