public class ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend extends InstanceReceiver
A class to wait for incoming composite instance storage operations and process any single high resolution tiled whole slide image as it is received to produce a multi-resolution pyramid set of images and send the original and the pyramid set of images to a pre-configured network remote Storage SCP AE.
It is configured by use of a properties file that resides in the user's
home directory in .com.pixelmed.apps.ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend.properties
.
The properties allow control over the user interface elements that are displayed
and record the settings changed by the user when the application closes.
For a description of the network configuration properties, see NetworkApplicationProperties
.
The properties that are specific to the application, and their default values, are as follows
Application.SavedImagesFolderName=.com.pixelmed.apps.InstanceReceiver.receivedinstances
- where to store DICOM instances received
Application.PyramidImagesFolderName=.com.pixelmed.apps.ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend.pyramidimages
- where to store DICOM pyramid images created
Dicom.CurrentlySelectedStorageTargetAE=them
- the name of the selected remote AE listed amongst the Dicom.RemoteAEs
Modifier and Type | Class and Description |
---|---|
protected class |
ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend.OurMultipleInstanceTransferStatusHandlerWithFileName |
InstanceReceiver.OurReadTerminationStrategy, InstanceReceiver.OurReceivedObjectHandler, InstanceReceiver.ReceivedFileProcessor
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
defaultDicomCurrentlySelectedStorageTargetAE |
protected java.lang.String |
defaultPyramidImagesFolderName |
protected java.lang.String |
ourCallingAETitle |
protected static java.lang.String |
propertyName_DicomCurrentlySelectedStorageTargetAE |
protected static java.lang.String |
propertyName_PyramidImagesFolderName |
protected java.io.File |
pyramidImagesFolder |
protected java.lang.String |
remoteAETitle |
protected java.lang.String |
remoteHost |
protected int |
remotePort |
defaultPropertiesFileName, defaultSavedImagesFolderName, networkApplicationInformation, networkApplicationProperties, ourCalledAETitle, properties, propertyName_SavedImagesFolderName, savedImagesFolder, storedFilePathStrategy, terminateAfterRelationshipGroup
Constructor and Description |
---|
ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend(java.lang.String propertiesFileName)
Wait for incoming composite instance storage operations
and process any single high resolution tiled whole slide image as it is received to produce a multi-resolution pyramid set of images
and send the original and the pyramid set of images to a pre-configured network remote Storage SCP AE.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doSomethingWithReceivedDicomFile(java.lang.String receivedFileName,
java.lang.String sourceApplicationEntityTitle,
java.lang.String transferSyntaxUID,
java.lang.String sopClassUID)
Process any single high resolution tiled whole slide image received to produce a multi-resolution pyramid set of images.
|
static void |
main(java.lang.String[] arg)
Wait for incoming composite instance storage operations
and process any single high resolution tiled whole slide image as it is received to produce a multi-resolution pyramid set of images
and send the original and the pyramid set of images to a pre-configured network remote Storage SCP AE.
|
activateStorageSCP, getFolderNameCreatingItIfNecessary, loadProperties, shutdownStorageSCP
protected java.lang.String defaultDicomCurrentlySelectedStorageTargetAE
protected java.lang.String defaultPyramidImagesFolderName
protected java.lang.String ourCallingAETitle
protected static java.lang.String propertyName_DicomCurrentlySelectedStorageTargetAE
protected static java.lang.String propertyName_PyramidImagesFolderName
protected java.io.File pyramidImagesFolder
protected java.lang.String remoteAETitle
protected java.lang.String remoteHost
protected int remotePort
public ProcessReceivedWholeSlideImagesMakeTiledPyramidAndSend(java.lang.String propertiesFileName) throws DicomException, DicomNetworkException, java.io.IOException, java.lang.InterruptedException
Wait for incoming composite instance storage operations and process any single high resolution tiled whole slide image as it is received to produce a multi-resolution pyramid set of images and send the original and the pyramid set of images to a pre-configured network remote Storage SCP AE.
propertiesFileName
- DicomException
DicomNetworkException
java.io.IOException
java.lang.InterruptedException
protected void doSomethingWithReceivedDicomFile(java.lang.String receivedFileName, java.lang.String sourceApplicationEntityTitle, java.lang.String transferSyntaxUID, java.lang.String sopClassUID)
Process any single high resolution tiled whole slide image received to produce a multi-resolution pyramid set of images.
doSomethingWithReceivedDicomFile
in class InstanceReceiver
receivedFileName
- the path name to a DICOM filesourceApplicationEntityTitle
- the Application Entity from which the file was receivedtransferSyntaxUID
- the Transfer Syntax of the Data Set in the DICOM filesopClassUID
- the SOP Class of the Data Set in the DICOM filepublic static void main(java.lang.String[] arg)
Wait for incoming composite instance storage operations and process any single high resolution tiled whole slide image as it is received to produce a multi-resolution pyramid set of images and send the original and the pyramid set of images to a pre-configured network remote Storage SCP AE.
arg
- none