Package com.pixelmed.doseocr
Class ExposureDoseSequence
java.lang.Object
com.pixelmed.doseocr.ExposureDoseSequence
A class to extract Exposure Dose Sequence and related attributes from Philips modality dose report screen saves.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CTDose
getCTDoseFromExposureDoseSequence
(AttributeList list, int debugLevel, CTIrradiationEventDataFromImages eventDataFromImages, boolean buildSR) Extract CTDose values from ExposureDoseSequence.static CTDose
getCTDoseFromExposureDoseSequence
(AttributeList list, CTIrradiationEventDataFromImages eventDataFromImages, boolean buildSR) Extract CTDose values from ExposureDoseSequence.static String
static String
getValuesFromCommentsOnRadiationDose
(AttributeList list, Map<String, String> DLPFromCommentsOnRadiationDoseIndexedBySeriesNumber, Map<String, String> CTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber) Extract DLP and CTDIVol values from CommentsOnRadiationDose string value.static String
getValuesFromCommentsOnRadiationDose
(AttributeList list, Map<String, String> DLPFromCommentsOnRadiationDoseIndexedBySeriesNumber, Map<String, String> CTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber, int debugLevel) Extract DLP and CTDIVol values from CommentsOnRadiationDose string value.static boolean
static boolean
static boolean
isPossiblyPhilipsDoseScreenInstance
(String manufacturer, String sopClassUID, String imageType) static boolean
static boolean
isPossiblyPhilipsDoseScreenSeries
(String manufacturer, String modality, String seriesNumber, String seriesDescription) static final void
Extract the CT dose information from the Exposure Dose Sequence in a screen save or localizer image, correlate it with any acquired CT slice images.
-
Constructor Details
-
ExposureDoseSequence
public ExposureDoseSequence()
-
-
Method Details
-
getValuesFromCommentsOnRadiationDose
public static String getValuesFromCommentsOnRadiationDose(AttributeList list, Map<String, String> DLPFromCommentsOnRadiationDoseIndexedBySeriesNumber, Map<String, throws IOExceptionString> CTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber, int debugLevel) Extract DLP and CTDIVol values from CommentsOnRadiationDose string value.
- Parameters:
list
- the listDLPFromCommentsOnRadiationDoseIndexedBySeriesNumber
- map of DLP values indexed by series number to which to add extracted valuesCTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber
- map of CTDIVol values indexed by series number to which to add extracted valuesdebugLevel
- ignored- Returns:
- the total DLP value extracted
- Throws:
IOException
-
getValuesFromCommentsOnRadiationDose
public static String getValuesFromCommentsOnRadiationDose(AttributeList list, Map<String, String> DLPFromCommentsOnRadiationDoseIndexedBySeriesNumber, Map<String, throws IOExceptionString> CTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber) Extract DLP and CTDIVol values from CommentsOnRadiationDose string value.
- Parameters:
list
- the listDLPFromCommentsOnRadiationDoseIndexedBySeriesNumber
- map of DLP values indexed by series number to which to add extracted valuesCTDIVolFromCommentsOnRadiationDoseIndexedBySeriesNumber
- map of CTDIVol values indexed by series number to which to add extracted values- Returns:
- the total DLP value extracted
- Throws:
IOException
-
getPhilipsPrivateDLPValue
- Throws:
DicomException
-
isPossiblyPhilipsDoseScreenSeries
-
isPossiblyPhilipsDoseScreenSeries
-
isPossiblyPhilipsDoseScreenInstance
-
isPossiblyPhilipsDoseScreenInstance
-
isPhilipsDoseScreenInstance
-
getCTDoseFromExposureDoseSequence
public static CTDose getCTDoseFromExposureDoseSequence(AttributeList list, int debugLevel, CTIrradiationEventDataFromImages eventDataFromImages, boolean buildSR) throws IOException, DicomException Extract CTDose values from ExposureDoseSequence. optionally building an RDSR object.
- Parameters:
list
- the listdebugLevel
- ignoredeventDataFromImages
- the per-event data or nullbuildSR
- whether or not to extract composite context from the list for use later to build an RDSR- Returns:
- the CTDose instance
- Throws:
IOException
DicomException
-
getCTDoseFromExposureDoseSequence
public static CTDose getCTDoseFromExposureDoseSequence(AttributeList list, CTIrradiationEventDataFromImages eventDataFromImages, boolean buildSR) throws IOException, DicomException Extract CTDose values from ExposureDoseSequence. optionally building an RDSR object.
- Parameters:
list
- the listeventDataFromImages
- the per-event data or nullbuildSR
- whether or not to extract composite context from the list for use later to build an RDSR- Returns:
- the CTDose instance
- Throws:
IOException
DicomException
-
main
Extract the CT dose information from the Exposure Dose Sequence in a screen save or localizer image, correlate it with any acquired CT slice images.
- Parameters:
arg
- an array of 1 to 4 strings - the file name of the dose screen save image (or "-" if to search for dose screen amongst acquired images), then optionally the path to a DICOMDIR or folder containing acquired CT slice images (or "-" if none and more arguments) then optionally the name of Dose SR file to write (or "-" if none and more arguments)
-