Toshiba OCR support added to PixelMed toolkit and Dose Utility

225 views
Skip to first unread message

David Clunie

unread,
Nov 27, 2011, 4:50:41 PM11/27/11
to medical-imaging-radiation-dose-informatics
The ACR DIR guys reminded me recently that I had not gotten around to
adding Toshiba support, but finally I have got it done, just in time
for RSNA.

So the current 20111127 build on the web site (http://www.dclunie.com/
pixelmed/software/20111127_current/) includes this now, as does the
web start DoseUtility (http://www.dclunie.com/pixelmed/software/
webstart/DoseUtilityUsage.html).

It includes OCR of the variants Toshiba fonts that I have run across,
a multitude of different patterns to the layouts of the screens from
their different scanners and versions, deferred processing of multiple
pages (multiple instances in a series) to capture both the total DLP
and the per acquisition CTDIvol and DLP, as well as the phantom and
scan range (if present).

It needs more work to correlate the dose screen per acquisition stuff
with the transverse image (headers) to extract and populate technique,
but that is probably not required for many use cases, such as ACR
registry submission.

The OCR pattern matching code is VERY ugly at the moment, but works,
so I will refactor it and clean it up when I have more feedback from
the field and regression test sample screens.

Let me know if it does or does not work adequately for your Toshiba
scanners' patterns of dose screen.

Note that you may have to retrieve entire studies to OCR, since it is
very hard to detect the right series as Toshiba does not always put
them in Series 1000 or name them consistently.

David

David Platten

unread,
Dec 23, 2016, 6:21:45 AM12/23/16
to medical-imaging-radiation-dose-informatics
Dear David,


Merry Christmas.

I am working with the OpenREM project (http://openrem.org/). I would like to be able to import dose data from some older Toshiba CT scanners (Toshiba CX) into OpenREM. I think that the best way to do this may be to create DICOM RDSR files using DoseUtility and then send them to OpenREM's DICOM store. I've tried creating RDSRs with DoseUtility using the images and dose image and found the OCR to work perfectly - thank you. However, the created RDSR files will not import in to OpenREM due to some missing data. I checked the RDSRs with DoseUtility's validate function: this reports that some information is missing from the RDSRs (see below).

Do you know if there is a method I can use to populate the missing data with dummy values to pass the validation?

Many thanks for any advice or help that you can offer.

Kind regards,

David

David Platten
Clinical Scientist
Radiation Protection and Radiology Physics
Lincoln County Hospital
Greetwell Road
Lincoln
LN2 5QY


Found XRayRadiationDoseSR IOD
Found Root Template TID_10011 (CTRadiationDose)
Error: Template 10011 CTRadiationDose/[Row 1] CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/[Row 6] DATETIME (113810,DCM,"End of X-Ray Irradiation"): within 1: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 3] CODE (123014,DCM,"Target Region"): 1.11.1: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CODE (123014,DCM,"Target Region"): Code (,,"") not found in context group 4030
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 8] NUM (113824,DCM,"Exposure Time"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10014 ScanningLength/[Row 1] NUM (113825,DCM,"Scanning Length"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 10] NUM (113826,DCM,"Nominal Single Collimation Width"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 11] NUM (113827,DCM,"Nominal Total Collimation Width"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 13] NUM (113823,DCM,"Number of X-Ray Sources"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 14] CONTAINER (113831,DCM,"CT X-Ray Source Parameters"): within 1.11.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 3] CODE (123014,DCM,"Target Region"): 1.12.1: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CODE (123014,DCM,"Target Region"): Code (,,"") not found in context group 4030
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 8] NUM (113824,DCM,"Exposure Time"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 10] NUM (113826,DCM,"Nominal Single Collimation Width"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 11] NUM (113827,DCM,"Nominal Total Collimation Width"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 12] NUM (113828,DCM,"Pitch Factor"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing conditional content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 13] NUM (113823,DCM,"Number of X-Ray Sources"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Error: Template 10013 CTIrradiationEventData/[Row 1] CONTAINER (113819,DCM,"CT Acquisition")/[Row 7] CONTAINER (113822,DCM,"CT Acquisition Parameters")/[Row 14] CONTAINER (113831,DCM,"CT X-Ray Source Parameters"): within 1.12.4: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113819,DCM,"CT Acquisition")/CONTAINER (113822,DCM,"CT Acquisition Parameters"): Missing required content item
Root Template Validation Complete
Warning: 1.10.2.1: /CONTAINER (113701,DCM,"X-Ray Radiation Dose Report")/CONTAINER (113811,DCM,"CT Accumulated Dose Data")/NUM (113813,DCM,"CT Dose Length Product Total")/CODE (113835,DCM,"CTDIw Phantom Type"): Content Item not in template
IOD validation complete



David Clunie

unread,
Feb 13, 2017, 8:42:01 AM2/13/17
to medical-imaging-radiation-dose-informatics



Hi David

I posted a pixelmed-specific reply at:


As I described there, apart from the many other issues with Toshiba screens, the root cause in this case seems to be the difficulty matching the per-event data on the dose screens with the image slices in the absence of a reliable pattern of protocol name and acquisition number, or similar, to correlate them and disambiguate duplicates.

David

Reply all
Reply to author
Forward
0 new messages