Package com.pixelmed.doseocr
Class LegacyRadiationDoseOCRDicomForwardingService
java.lang.Object
com.pixelmed.doseocr.LegacyRadiationDoseOCRDicomForwardingService
A class to wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to a pre-configured DICOM destination.
The class has no public methods other than the constructor and a main method that is useful as a utility.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
protected class
protected class
protected class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLegacyRadiationDoseOCRDicomForwardingService
(int ourPort, String ourAETitle, String theirHost, int theirPort, String theirAETitle, File savedImagesFolder) Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.protected void
sendSRFile
(CTDose ctDose)
-
Field Details
-
TIMEOUT_BEFORE_PROCESSING_SERIES_MS
protected static long TIMEOUT_BEFORE_PROCESSING_SERIES_MS -
TIMEOUT_BEFORE_CHECKING_FOR_WORK_MS
protected static long TIMEOUT_BEFORE_CHECKING_FOR_WORK_MS -
theirHost
-
theirPort
protected int theirPort -
theirAETitle
-
ourAETitle
-
seriesQueue
-
-
Constructor Details
-
LegacyRadiationDoseOCRDicomForwardingService
public LegacyRadiationDoseOCRDicomForwardingService(int ourPort, String ourAETitle, String theirHost, int theirPort, String theirAETitle, File savedImagesFolder) throws IOException Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
- Parameters:
ourPort
- our portourAETitle
- our AE TitletheirHost
- their host name or IP addresstheirPort
- their porttheirAETitle
- their AE titlesavedImagesFolder
- the folder in which to save the received images- Throws:
IOException
-
-
Method Details
-
sendSRFile
-
main
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
- Parameters:
arg
- array of five strings - our port, our AE Title, their hostname, their port, their AE Title
-