Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

DICOM Format (DIC)

Show in webframe

DICOM (DIC) files are commonly used in medical images. LEADTOOLS reads a broad range of DICOM formats, converting them to LEAD-supported bits-per-pixel as necessary. LEADTOOLS writes DICOM files in the LEAD-supported bits-per-pixel. DICOM files can contain many comment fields of various types. You can use the LFile::ReadComment function to read comments in an existing file. Before writing a file, you can use the LFileSettings::SetComment function to create an array of comments to be saved in the file.

You can read DICOM files as follows:

You can write DICOM files as 8, 12, or 16-bit grayscale, 8-bit palettized color, or 24-bit RGB color (8 bits per plane).

 

The file constants associated with this file format are:

Constant

Read Support

Write Support

Description

FILE_DICOM_GRAY

1 to 16 BPP (Grayscale)

1 to 16 BPP (Grayscale)

[89] Grayscale DICOM uncompressed.

FILE_DICOM_COLOR

8, 24 BPP

8, 24 BPP

[90] Color DICOM uncompressed.

FILE_DICOM_RLE_GRAY

1 to 16 BPP (Grayscale)

1 to 16 BPP (Grayscale)

[125] Grayscale DICOM RLE compressed.

FILE_DICOM_RLE_COLOR

8, 24 BPP

8, 24 BPP

[126] Color DICOM RLE compressed.

FILE_DICOM_JPEG_GRAY

8, 16 BPP (Grayscale)

8, 16 BPP (Grayscale)

[127] Grayscale DICOM JPEG compressed.

FILE_DICOM_JPEG_COLOR

24 BPP

24 BPP

[128] Color DICOM JPEG compressed.

FILE_DICOM_J2K_GRAY

8, 16 BPP (Grayscale)

8, 16 BPP (Grayscale)

[293] Grayscale DICOM JPEG 2000 compressed.

FILE_DICOM_J2K_COLOR

24 BPP

24 BPP

[294] Color DICOM JPEG 2000 compressed.

FILE_DICOM_JPEG_LS_GRAY

8, 16 BPP (Grayscale)

8, 16 BPP (Grayscale)

[383] Grayscale DICOM JPEG-LS compressed.

FILE_DICOM_JPEG_LS_COLOR

24 BPP

24 BPP

[384] Color DICOM JPEG-LS compressed.

Required DLL: LTDIC. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Related Formats: EXIF - Exif Formats, JPG - JPEG Compressed, JP2 - JPEG 2000 Compressed, TIFF - Tagged Image File Format.

Platforms

Win32, x64.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.