LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
This program will transcode the mr-knee.dcm sample image to Lossy Jpeg2000 (.91) using a legacy Jasper codec configuration.

The alternate codec uses the legacy FracBits=13 Jasper library that is no longer used in DCF because it demonstrated some quality issues for certain types of hi-frequency images.

Codec options may be read from a configuration file at startup, or configured programmatically. It is also possible to independently configure input and output operations independently, on a per session basis using the DicomSessionSettings class.

This example demonstrates how codecs may be configured by creating a derived instance of a DicomTSCodecOptions for the codec in question, reconfiguring properties, and using SetCodecOptions(DicomTSCodecOptions, CodecIOMode) to set the options for the codec during the input or output operation.

In the following example, the DicomFileOutput class will pass its DicomSessionSettings to the DicomTSCodecFactory that constructs the output codec. Note that the same method may be used to customize Codec options for input codecs. Quality and processing options may also be configured in the DicomTSCodecOptions derived classes.

Inheritance Hierarchy

SystemObject
  LaurelBridge.DCF.Examples.CodecConfigurationProgram

Namespace:  LaurelBridge.DCF.Examples.CodecConfiguration
Assembly:  CodecConfiguration (in CodecConfiguration.exe) Version: DCF34 r10560 DCF_3_4_10
Syntax

C#
public class Program

The Program type exposes the following members.

Constructors

  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point for CodecConfiguration.
Top
See Also

Reference