The DICOM standard allows the 1.2.840.10008.1.2.4.91 J2K91 transfer syntax to be encoded lossy or losslessly.
An astute DCF customer noticed that our J2K91 implementation did not allow a lossless encoding. The codec options were enhanced to allow the selection of lossless encoding (lossy is still the default for J2K91). This example demonstrates how to use DCF to configure lossy and lossless encoding of the J2K91 transfer syntax.
This example also demonstrates usage of the IFrameProducer interface for extracting pixel data. The image pixels from each encoding are acquired and compared to the original image to verify expected behavior.Inheritance Hierarchy
LaurelBridge.DCFExamples.CodecEncodeJ2K91Program
Namespace: LaurelBridge.DCFExamples.CodecEncodeJ2K91
Assembly: CodecEncodeJ2K91 (in CodecEncodeJ2K91.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public class Program
The Program type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Methods
Name | Description | |
---|---|---|
Main |
Main entry point for CodecEncodeJ2K91.
|
See Also