DicomServer/Desktop/Wado
2024-12-13 10:06:20 +08:00
..
App_Start 添加项目文件。 2024-12-13 10:06:20 +08:00
Controllers 添加项目文件。 2024-12-13 10:06:20 +08:00
Models 添加项目文件。 2024-12-13 10:06:20 +08:00
Properties 添加项目文件。 2024-12-13 10:06:20 +08:00
TestFiles 添加项目文件。 2024-12-13 10:06:20 +08:00
Global.asax 添加项目文件。 2024-12-13 10:06:20 +08:00
Global.asax.cs 添加项目文件。 2024-12-13 10:06:20 +08:00
packages.config 添加项目文件。 2024-12-13 10:06:20 +08:00
Readme.md 添加项目文件。 2024-12-13 10:06:20 +08:00
Wado.csproj 添加项目文件。 2024-12-13 10:06:20 +08:00
Web.config 添加项目文件。 2024-12-13 10:06:20 +08:00
Web.Debug.config 添加项目文件。 2024-12-13 10:06:20 +08:00
Web.Release.config 添加项目文件。 2024-12-13 10:06:20 +08:00

WADO Sample

This is a sample of a partial WADO implementation using Web Api in an Asp.Net Project. If needed, web api, can be hosted outside of IIS.

Specification and what's missing

official specification: ftp://medical.nema.org/medical/dicom/2009/09_18pu.pdf

what is not implemented:

  • Single Frame Objects (still conform to specification):
    The Server SHOULD also support the following MIME types:
    • image/gif
    • image/png
    • image/jp2
  • Multi Frame Objects (still conform to specification):
    The Server SHOULD also support the following MIME types:
    • video/mpeg
    • image/gif
  • nothing is implemented in 7.3 TEXT OBJECTS
  • nothing is implemented in 7.4 OTHER OBJECTS
  • charset is not implemented, but it's conform to specification
  • anonymize is not implemented, but it's conform to specification
  • many parameters in 8.2 are not implemented :
    • annotation
    • region
    • rows
    • columns
    • frame number
    • windwsCenter
    • windowsWidth
    • imageQuality
    • presentationUID
    • presentationSeriesUID

How to test it

Launch the project and browse to :

http://localhost:{port}/wado?requestType=WADO&studyUID={studyUID}&seriesUID={serieUID}&objectUID={objectUID}&contentType=image/jpeg

replace {port} with your local port, you can replace {studyUID}, {serieUID} and {objectUID} by any value : it always return the same image in the sample.

How to use it in your own application

Implement your own IDicomImageFinderService with your database. replace this line :

_dicomImageFinderService = new TestDicomImageFinderService();

by

_dicomImageFinderService = new \*your own implementation here\*;

in WadoUriController parameterless constructor