J2KCompressionControl property (IDICOMJ2KOptions)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

Syntax

DicomJ2KCompressionControl J2KCompressionControl

Overview

Refer to Implementing JPEG 2000 Plug In Features

Remarks

Indicates how to determine the resulting compression. The value of this property determines which property should be used for determining the compression. Possible values are:

Value

Meaning

DICOM_J2K_COMPRESSION_RATIO

Compress the image based on the value of the J2KCompressionRatio property.

DICOM_J2K_COMPRESSION_TARGETSIZE

Compress the image based on the target stream size in the J2KTargetFileSize property.

DICOM_J2K_COMPRESSION_QFACTOR

Compress the image based on the quality factor passed to any of the functions which can be used to replace or insert image(s) in the Pixel Data Element, such as SetBitmapValue or InsertBitmapValue.

Remarks

This property is only effective when using the Lossy JPEG 2000 compression. Otherwise it gets ignored.

See Also

Elements:

J2KCBS_ErrorResilienceSymbol property, J2KCBS_PredictableTermination property, J2KCBS_ResetContextOnBoundaries property, J2KCBS_SelectiveACBypass property, J2KCBS_TerminationOnEachPass property, J2KCBS_VerticallyCausalContext property, J2KCodBlockHeight property, J2KCodBlockWidth property, J2KCompressionRatio property, J2KDecompLevel property, J2KDerivedBaseExponent property, J2KDerivedBaseMantissa property, J2KDerivedQuantization property, J2KGuardBits property, J2KProgressOrder property, J2KSetDefaults method, J2KTargetFileSize property, J2KUseColorTransform property, J2KUseEPHMarker property, J2KUseSOPMarker property, J2KXOsiz property, J2KXTOsiz property, J2KXTsiz property, J2KYOsiz property, J2KYTOsiz property, J2KYTsiz property, J2KOptions property, SetBitmapValue method, SetBitmapListValue method, InsertBitmapValue method, InsertBitmapListValue method

Topics:

Data Sets: Compressing Pixel Data Elements