←Select platform

DicomSetImageFlags Enumeration

Summary
Represents the values that control the behavior of the InsertImage and SetImage methods.
Syntax
C#
VB
C++
Java
[FlagsAttribute()] 
public enum DicomSetImageFlags   
<FlagsAttribute()> 
Public Enum DicomSetImageFlags  
public class DicomSetImageFlags 
[FlagsAttribute()] 
public enum class DicomSetImageFlags   
Members
ValueMemberDescription
0x00000000None None.
0x00000001AutoSaveOverlays The method will automatically insert the overlays associated with the input image into the dataset.
0x00000002AutoSetVoiLut The method will automatically add a VOI LUT to the dataset.
0x00000004MinimizeJpegSize and the nCompression parameter is IMAGE_COMPRESSION_JPEG_LOSSLESS or IMAGE_COMPRESSION_JPEG_LOSSY, the JPEG compression engine will use optimized Huffman tables, which results in better compression, but slower speed
0x00000008MfgOverwriteShared For SetImage and SetImageList: This flag is ignored.
For all other methods: Existing elements under the Shared Functional Groups Sequence will be overwritten. If this flag is not included, Shared Functional Groups Sequence elements are unchanged.
0x00000010MfgVoiLutPerFrame For SetImage and SetImageList: The Frame VOI LUT Sequence is added under the Per-frame Functional Groups Sequence.

For all other methods:
If the Frame VOI LUT Sequence does not already exist, it is added under the Per-frame Functional Groups Sequence.
If the Frame VOI LUT Sequencealready exists under the Shared Functional Groups Sequence, this flag is ignored.
0x00000020MfgVoiLutShared For SetImage and SetImageList: The Frame VOI LUT Sequence is added under the Shared Functional Groups Sequence.

For all other methods:
If the Frame VOI LUT Sequence does not already exist, it is added under the Shared Functional Groups Sequence.
If the Frame VOI LUT Sequencealready exists under the Per-frame Functional Groups Sequence, this flag is ignored.
0x00000040MfgModalityLutPerFrame For SetImage and SetImageList: The Pixel Value Transformation Sequence is added under the Per-frame Functional Groups Sequence.

For all other methods:
If the Pixel Value Transformation Sequence does not already exist, it is added under the Per-frame Functional Groups Sequence.
If the Pixel Value Transformation Sequencealready exists under the Shared Functional Groups Sequence, this flag is ignored.
0x00000080MfgModalityLutShared For SetImage and SetImageList: The Pixel Value Transformation Sequence is added under the Shared Functional Groups Sequence.

For all other methods:
If the Pixel Value Transformation Sequence does not already exist, it is added under the Shared Functional Groups Sequence.
If the Pixel Value Transformation Sequencealready exists under the Per-frame Functional Groups Sequence, this flag is ignored.
0x00000200OptimizedMemory Enables the method to minimize memory usage by utilizing the disk. The method optimizes memory to the minimum possible.
0x20000000KeepLutsIntact For internal use by LEADTOOLS.
For all other methods: If the *Frame VOI LUT Sequence* does **not** already exist, it is added under the *Per-frame Functional Groups Sequence*. If the *Frame VOI LUT Sequence***already** exists under the *Shared Functional Groups Sequence*, this flag is ignored. | | **0x00000020** | **MfgVoiLutShared** | For SetImage and SetImageList: The *Frame VOI LUT Sequence* is added under the *Shared Functional Groups Sequence*. For all other methods: If the *Frame VOI LUT Sequence* does **not** already exist, it is added under the *Shared Functional Groups Sequence*. If the *Frame VOI LUT Sequence***already** exists under the *Per-frame Functional Groups Sequence*, this flag is ignored. | | **0x00000040** | **MfgModalityLutPerFrame** | For SetImage and SetImageList: The *Pixel Value Transformation Sequence* is added under the *Per-frame Functional Groups Sequence*. For all other methods: If the *Pixel Value Transformation Sequence* does **not** already exist, it is added under the *Per-frame Functional Groups Sequence*. If the *Pixel Value Transformation Sequence***already** exists under the *Shared Functional Groups Sequence*, this flag is ignored. | | **0x00000080** | **MfgModalityLutShared** | For SetImage and SetImageList: The *Pixel Value Transformation Sequence* is added under the *Shared Functional Groups Sequence*. For all other methods: If the *Pixel Value Transformation Sequence* does **not** already exist, it is added under the *Shared Functional Groups Sequence*. If the *Pixel Value Transformation Sequence***already** exists under the *Per-frame Functional Groups Sequence*, this flag is ignored. | | **0x00000200** | **OptimizedMemory** | Enables the method to minimize memory usage by utilizing the disk. The method optimizes memory to the minimum possible. | | **0x20000000** | **KeepLutsIntact** | For internal use by LEADTOOLS. |
Remarks

For Android/Java users: The constant members of this class are defined using all capital letters with underscores between words.

Example

For an example, refer to GetImage.

Requirements

Target Platforms

See Also

Reference

Leadtools.Dicom Namespace

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.