Represents the values that control the behavior of the InsertImage and SetImage methods.
[FlagsAttribute()]
public enum DicomSetImageFlags
<FlagsAttribute()>
Public Enum DicomSetImageFlags
[FlagsAttribute()]
public enum DicomSetImageFlags
public class DicomSetImageFlags
Leadtools.Dicom.DicomSetImageFlags = function() { };
Leadtools.Dicom.DicomSetImageFlags.prototype = {<br/>
None = 0x00000000,
AutoSaveOverlays = 0x00000001,
AutoSetVoiLut = 0x00000002,
MinimizeJpegSize = 0x00000004,
MfgOverwriteShared = 0x00000008,
MfgVoiLutPerFrame = 0x00000010,
MfgVoiLutShared = 0x00000020,
MfgModalityLutPerFrame = 0x00000040,
MfgModalityLutShared = 0x00000080,
OptimizedMemory = 0x00000200,
KeepLutsIntact = 0x20000000,
};
[FlagsAttribute()]
public enum class DicomSetImageFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | None. |
0x00000001 | AutoSaveOverlays | The method will automatically insert the overlays associated with the input image into the dataset. |
0x00000002 | AutoSetVoiLut | The method will automatically add a VOI LUT to the dataset. |
0x00000004 | MinimizeJpegSize | 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 |
0x00000008 | MfgOverwriteShared | 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. |
0x00000010 | MfgVoiLutPerFrame | 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. |
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 Sequencealready 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 Sequencealready 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 Sequencealready 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. |
| 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 Sequencealready 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 Sequencealready 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 Sequencealready 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. |
For Android/Java users: The constant members of this class are defined using all capital letters with underscores between words.
For an example, refer to GetImage.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET