com.pixelmed.doseocr
Class LegacyRadiationDoseOCRDicomForwardingService

java.lang.Object
  extended by com.pixelmed.doseocr.LegacyRadiationDoseOCRDicomForwardingService

public class LegacyRadiationDoseOCRDicomForwardingService
extends Object

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
protected  class LegacyRadiationDoseOCRDicomForwardingService.OurReceivedObjectHandler
           
protected  class LegacyRadiationDoseOCRDicomForwardingService.ReceivedFileProcessor
           
protected  class LegacyRadiationDoseOCRDicomForwardingService.Series
           
protected  class LegacyRadiationDoseOCRDicomForwardingService.SeriesProcessor
           
protected  class LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue
           
 
Field Summary
protected  int debugLevel
           
protected  int networkDebugLevel
           
protected  String ourAETitle
           
protected  LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue seriesQueue
           
protected  String theirAETitle
           
protected  String theirHost
           
protected  int theirPort
           
protected static long TIMEOUT_BEFORE_CHECKING_FOR_WORK_MS
           
protected static long TIMEOUT_BEFORE_PROCESSING_SERIES_MS
           
 
Constructor Summary
LegacyRadiationDoseOCRDicomForwardingService(int ourPort, String ourAETitle, String theirHost, int theirPort, String theirAETitle, File savedImagesFolder, int debugLevel)
          Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
LegacyRadiationDoseOCRDicomForwardingService(int ourPort, String ourAETitle, String theirHost, int theirPort, String theirAETitle, File savedImagesFolder, int debugLevel, int networkDebugLevel)
          Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
 
Method Summary
static void main(String[] arg)
          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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

debugLevel

protected int debugLevel

networkDebugLevel

protected int networkDebugLevel

theirHost

protected String theirHost

theirPort

protected int theirPort

theirAETitle

protected String theirAETitle

ourAETitle

protected String ourAETitle

seriesQueue

protected LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue seriesQueue
Constructor Detail

LegacyRadiationDoseOCRDicomForwardingService

public LegacyRadiationDoseOCRDicomForwardingService(int ourPort,
                                                    String ourAETitle,
                                                    String theirHost,
                                                    int theirPort,
                                                    String theirAETitle,
                                                    File savedImagesFolder,
                                                    int debugLevel)
                                             throws IOException

Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.

Parameters:
ourPort -
ourAETitle -
theirHost -
theirPort -
theirAETitle -
savedImagesFolder -
debugLevel -
Throws:
IOException

LegacyRadiationDoseOCRDicomForwardingService

public LegacyRadiationDoseOCRDicomForwardingService(int ourPort,
                                                    String ourAETitle,
                                                    String theirHost,
                                                    int theirPort,
                                                    String theirAETitle,
                                                    File savedImagesFolder,
                                                    int debugLevel,
                                                    int networkDebugLevel)
                                             throws IOException

Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.

Parameters:
ourPort -
ourAETitle -
theirHost -
theirPort -
theirAETitle -
savedImagesFolder -
debugLevel -
networkDebugLevel -
Throws:
IOException
Method Detail

sendSRFile

protected void sendSRFile(CTDose ctDose)

main

public static void main(String[] arg)

Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.

Parameters:
arg - array of six or strings - our port, our AE Title, their hostname, their port, their AE Title, and the debugging level and optionally a network debugging level (if absent defaults to the master debugging level)