Difference between revisions of "Using the CTP DicomPixelAnonymizer"

From MircWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
For JPEGBaseline images, the stage modifies the internal compressed values directly, thus avoiding the requirement to decompress the image and subsequently recompress it, with the accompanying loss of quality. The effect is a blurring of the regions that renders them unintelligible.
 
For JPEGBaseline images, the stage modifies the internal compressed values directly, thus avoiding the requirement to decompress the image and subsequently recompress it, with the accompanying loss of quality. The effect is a blurring of the regions that renders them unintelligible.
  
Here are the effects on a sample image that is encoded as JPEGBaseline. This is the original image:
+
Here are the effects on a sample image that is encoded as JPEGBaseline.  
 +
 
 +
This is the original image:
  
 
[[Image:DPA-orig.jpeg]]
 
[[Image:DPA-orig.jpeg]]
 +
  
 
This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the <b>test</b> attribute set to <b>yes</b>:
 
This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the <b>test</b> attribute set to <b>yes</b>:
  
 
[[Image:DPA-test.jpeg]]
 
[[Image:DPA-test.jpeg]]
 +
  
 
This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the <b>test</b> attribute set to <b>no</b>:
 
This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the <b>test</b> attribute set to <b>no</b>:
  
 
[[Image:DPA-normal.jpeg]]
 
[[Image:DPA-normal.jpeg]]
 +
  
 
This is the result of processing the original image without decompression:
 
This is the result of processing the original image without decompression:
  
 
[[Image:DPA-JPEG.jpeg]]
 
[[Image:DPA-JPEG.jpeg]]

Revision as of 17:43, 5 January 2015

The CTP DicomPixelAnonymizer is a pipeline stage that modifies regions of pixels in a DICOM image. It is configured with a script file that specifies which regions are to be modified, based on information in the non-pixel part of the DICOM dataset. This article describes how to use the DicomPixelAnonymizer to best advantage. The intended audience for this information is clinical trial coordinators at principal investigator sites.

Tthe DicomPixelAnonymizer can modify any uncompressed DICOM image. It can also modify compressed images that have the JPEGBaselilne transfer syntax (1.2.840.10008.1.2.4.50).

For uncompressed images, the stage's test attribute specifies whether to replace modified regions with black or mir-gray, the latter typically used during initial configuration to make it clear which regions are being modified.

For JPEGBaseline images, the stage modifies the internal compressed values directly, thus avoiding the requirement to decompress the image and subsequently recompress it, with the accompanying loss of quality. The effect is a blurring of the regions that renders them unintelligible.

Here are the effects on a sample image that is encoded as JPEGBaseline.

This is the original image:

Error creating thumbnail: Unable to save thumbnail to destination


This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the test attribute set to yes:

Error creating thumbnail: Unable to save thumbnail to destination


This is the result of decompressing the original image to obtain an uncompressed version and then processing it with the test attribute set to no:

Error creating thumbnail: Unable to save thumbnail to destination


This is the result of processing the original image without decompression:

Error creating thumbnail: Unable to save thumbnail to destination