Compression of received images

vrinda edited this page May 14, 2018 · 10 revisions

Configuration

Using Archive UI

  1. Go to Menu->Configuration, then on Devices page, Edit the dcm4chee-arc device. Go to Extensions and
    Edit extension of Device Extension. Again go to its Extensions and Edit extension of Archive Device.
  2. Next go to the archive device extension's Child Objects and use + to add an Compression rule. Enter values in fields Name and DICOM Transfer Syntax UID and any other optional fields and Save.

Using LDAP

One can configure Lossy and Lossless compression types as shown below.

       dn: cn=JPEG 12-bit Lossy,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
       objectClass: dcmArchiveCompressionRule
       cn: JPEG 12-bit Lossy
       dicomTransferSyntax: 1.2.840.10008.1.2.4.51
       dcmImageWriteParam: compressionQuality=0.8
       dcmImageWriteParam: maxPixelValueError=20.0
       dcmImageWriteParam: avgPixelValueBlockSize=8.0
       dcmProperty: BitsStored=9|10|11|12
       dcmProperty: PhotometricInterpretation=MONOCHROME1|MONOCHROME2
       dcmProperty: PixelRepresentation=0
       dcmProperty: SendingApplicationEntityTitle=JPEG_LOSSY

       dn: cn=JPEG LS Lossless,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
       objectClass: dcmArchiveCompressionRule
       cn: JPEG LS Lossless
       dicomTransferSyntax: 1.2.840.10008.1.2.4.80
       dcmImageWriteParam: maxPixelValueError=0.0
       dcmProperty: SendingApplicationEntityTitle=JPEG_LS

       dn: cn=JPEG 8-bit Lossy,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
       objectClass: dcmArchiveCompressionRule
       cn: JPEG 8-bit Lossy
       dicomTransferSyntax: 1.2.840.10008.1.2.4.50
       dcmImageWriteParam: compressionQuality=0.8
       dcmImageWriteParam: maxPixelValueError=10.0
       dcmImageWriteParam: avgPixelValueBlockSize=8.0
       dcmProperty: BitsStored=8
       dcmProperty: PhotometricInterpretation=MONOCHROME1|MONOCHROME2|RGB
       dcmProperty: PixelRepresentation=0
       dcmProperty: SendingApplicationEntityTitle=JPEG_LOSSY

       dn: cn=JPEG Lossless,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
       objectClass: dcmArchiveCompressionRule
       cn: JPEG Lossless
       dicomTransferSyntax: 1.2.840.10008.1.2.4.70
       dcmImageWriteParam: maxPixelValueError=0.0
       dcmProperty: SendingApplicationEntityTitle=JPEG_LOSSLESS
       
       dn: cn=JPEG 2000 Lossless,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
       objectClass: dcmArchiveCompressionRule
       cn: JPEG 2000 Lossless
       dicomTransferSyntax: 1.2.840.10008.1.2.4.90
       dcmImageWriteParam: maxPixelValueError=0.0
       dcmProperty: SendingApplicationEntityTitle=JPEG_2000
  • The AE Title of modality sending the images to archive can be configured against SendingApplicationEntityTitle.
  • The properties of an image can be defined against dcmProperty.
  • The archive compression rule gets applied, if the images that are sent by the modality, comply with the JPEG codec / transfer syntaxes.
  • For Lossy types, if one defines maxPixelValueError then one must also define avgPixelValueBlockSize.
  • For Lossless types, one must set the maxPixelValueError value to 0.0

One may refer to Archive Compression Rule to understand the description of the attributes.

Go to the Control tab on Configuration page in archive UI and reload the configuration.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.