University of Joensuu / EUROMED

Web based access to a DICOM image database

The DICOM image archiving system we use is a web-based relational Mini SQL database of DICOM image files. The records in the image database contain references for stored DICOM files. The database table structure is defined by DICOM and is based upon a four level hierarchy: Patient, Study, Series, and Images:

To use this system, the user first activates a WWW browser and specifies the URL of a server. This URL refers to a PHP script (see below) that produces an HTML file with query forms. This query form contains two fields: Patient name and Patient ID (see Fig. 1).

Fig. 1. Query form to select a Patient
( HTML  &  JPEG  files)
Fig. 2. Query form to select a Study
( HTML  &  JPEG  files)

Once a form is completed, the user presses a button to submit the request. The PHP script submits the query to the relational database, to determine those patients that match the search criteria. The user can choose a Patient, which, in turn, causes a list of his/her Studies (see Fig. 2), then Series, and eventually of Images for this Patient to be displayed.

To maintain and support the DICOM archiving system, a set of web-based tools was created. This set includes the following tools:

The tools allow an authorized remote client to add new data to the database and to update the old ones.

Web based access to a DICOM PACS

Currently an analogous web-based interface to a DICOM PACS (Picture Archiving and Communication System) server is under development.

On-line analysis of DICOM images over the Internet

The system developed in Joensuu allows the user to perform a number of image processing procedures for images retrieved from the image database or PACS server over the Internet (Intranet). The software includes, for example, the following image processing and feature detection tools:
Fig. 3. DICOM image view: equdensities
( HTML  &  JPEG  files)
Fig. 4. DICOM image view: edge detection
( HTML  &  JPEG  files)

The set of image processing programs is written in C. These programs can be invoked from a PHP script by client request. Additional image processing and medical analysis facilities can be added to the system in a simple manner, without recompiling the whole application.

Web tools to build remote medical analysis applications

Recently a lot of tools for interfacing a database with the WWW have been developed by users and database vendors. We have chosen to use PHP, a server-side HTML-embedded script language, for this purpose. In syntax this CGI wrapper language is similar to C one, this language supports access to a number of databases, file upload and allows creating complex applications. A number of PHP scripts have been constructed for the Joensuu telemedicine platform, which allow items in the database to be created, retrieved, updated and deleted. The scripts will receive requests from the WWW client via the WWW server, manipulate the relational database, invoke image processing programs and dynamically generate HTML pages to be sent back to the client via the WWW server.

Reference


APPENDIX II: List of the demo static HTML pages

mSQL database query Image processing
  1. "Password"
  2. "Patient List" - I
  3. "Patient List" - II
  4. "Study List"
  5. "Series List"
  6. "Image View"
  1. Sharpening
  2. Equidensities
  3. Edge detection
  4. Equalization
  5. Piecewise linear transform
PACS server query Dababase management
  1. "Patient List"
  2. "Study List"
  3. "Series List"
  1. "Add data to Database "
  2. "DICOM mSQL Database Editor"
  3. "Upload DICOM file"


Alexander Kolesnikov Home