org.dcm4chex.archive.mbean.LossyCompressionService
The default constructor
LossyCompressionService
&defaultAttributes;
TaskInterval.]]>
SourceFileSystemGroupID
java.lang.String
DestinationFileSystemGroupID
java.lang.String
SourceFileSystemGroupID to compress.
Format:
interval!from-to or NEVER
interval = ##s (in seconds), ##m (in minutes), ##h (in hours).
from = start hour (0-23) when no compression should be performed
to = end hour (0-23) when no compression should be performed
NEVER = disable automatic compression
Example:10s!9-17 means every 10 seconds, poll the database and check
for images to compress, except between the hours of 9:00am and 5:00pm.
By setting this type of TaskInterval, you can ensure compression of
images happens outside of peak imaging hours.]]>
TaskInterval
java.lang.String
Current state if compression task is running. Used to avoid concurrency!
isRunning
boolean
Maximum number of files that are compressed in
one task.
LimitNumberOfFilesPerTask
int
Format: sop-class-name-or-uid:body-part:source-aet:delay:quality:description:ratio:near
sop-class-name-or-uid = the UID of the SOP class, or a string name defined in the dictionary.xml file under uids type="SOPClass"
body-part = Body Part Examined or '*'
source-aet = Source AE Title
delay = compression delay in minutes (##m), hours (##h) or days (##d)
quality = compression quality between 0 (= lowest image quality / highest compression ratio) and 1.0 (= highest quality / lowest compression ratio)
description = description stored in attribute Derivation Description (0008,2111) of compressed DICOM image
ratio = estimated compression ratio stored in attribute Lossy Image Compression Ratio (0028,2112) of compressed DICOM image
near = maximal absolute derivation of pixel sample values by lossy compression+decompression. -1 = disables validation of compressed images
]]>
CompressionRules
java.lang.String
'-' = no such constrain.]]>
ExternalRetrieveAETitle
java.lang.String
ExternalRetrieveAETitle = '-'.
'-' = no such constrain.]]>
CopyOnOtherFileSystemGroupID
java.lang.String
compressSeriesJPEGLossy for new created Series.]]>
SourceAETitle
java.lang.String
compressSeriesJPEGLossy for new created Series. '{}' will
be replaced by Series Description of uncompressed objects.]]>
SeriesDescription
java.lang.String
Size of write byte buffer.
BufferSize
int
TempDirectory
java.lang.String
JDBC Fetch size.
FetchSize
int
Used internally. Do NOT modify.
StoreScpServiceName
javax.management.ObjectName
Used internally. Do NOT modify.
SchedulerServiceName
javax.management.ObjectName
Used internally. Do NOT modify.
FileSystemMgtServiceNamePrefix
java.lang.String
Used internally. Do NOT modify.
TimerIDCheckFilesToCompress
java.lang.String
&defaultOperations;
Compress specified file JPEG Lossy with specified quality.
Prompts Compression Ratio, measured on file length and on bits per pixel.
compressFileJPEGLossy
inFilePath
java.lang.String
outFilePath
java.lang.String
compressionQuality
float
derivationDescription
java.lang.String
estimatedCompressionRatio
float
newSOPInstanceUID
boolean
newSeriesInstanceUID
boolean
java.lang.String
SourceFileSystemGroupID JPEG Lossy with specified
quality. Prompts number of compressed images and minimum/average/maximum
Compression Ratio, measured on file length and on bits per pixel. If
decompress = True, also prompts minimum/average/maximum of maximal absolute
derivation of pixel sample values in decompressed images.]]>
compressSeriesJPEGLossy
Series Instance UID of Series to compress
seriesIUID
java.lang.String
Compression quality in the range 0.0 - 1.0.
compressionQuality
float
Description stored in Derivation Description (0008,2111) of
compressed images.
derivationDescription
java.lang.String
Estimated Compression Ratio stored in Lossy Image
Compression Ratio (0028,2112) of compressed images.
estimatedCompressionRatio
float
Decompress lossy compressed images and calculate maximal
absolute derivation of pixel sample values.
decompress
boolean
Archive lossy compressed image as additional Series of the
same Study.
archive
boolean
java.lang.String
SourceFileSystemGroupID to compress according the
configured CompressionRules.]]>
checkForFilesToCompress