LEAD DICOM Writer User Interface (2.0)

The DICOM Writer filter makes it possible  to set the pixel data of an existing or new DICOM file. The DICOM Writer accepts 8-bit RGB, 24-bit RGB, 16-bit UYVY, 16-bit YUY2 uncompressed data, MPEG-2 (SD or HD) compressed data  or H.264/AVC (SD, HD or BD-compatible) compressed data. The filter has a built-in JPEG and JPEG 2000 compressor so it can create JPEG and/or JPEG 2000-compressed DICOM files. It can also create MPEG2 (SD or HD) or H264 (MPEG-4 AVC/H.264) DICOM files but it needs an external MPEG2 or H264 encoders. The DICOM Writer property page has two tabs to control the output. The LEAD DICOM File Writer tab is shown in the following figure:

LEAD DICOM File Writer Tab

DICOM File Writer Tab

The following fields are on this tab:

Control Description
Input template file name Edit box: Contains the input template file name. This edit box is disabled during streaming.
Browse Button Click this button to open the Open Dialog to browse to the location of the input file. This button is disabled during streaming.
DICOM Class Drop-down list box Select an item from this list to construct certain DICOM files based on standard DICOM classes without choosing an input template file. If an input template file is selected then this list will be disabled. This drop-down list box is disabled during streaming. Possible values depend on whether the input stream is MPEG2 (or MPEG2 Transport), as follows:
  When the Input Stream is MPEG2 When the Input Stream is not MPEG2
  Secondary Capture Multi-frame True Color Image Storage Nuclear Medicine Image Storage
  Video Endoscopic Image Storage Ultrasound Multi-frame Image Storage
  Video Photographic Image Storage X-Ray Angiographic Image Storage
  Video Microscopic Image Storage X-Ray Radiofluoroscopic Image Storage
    Secondary Capture Multi-frame Grayscale
Byte Image Storage
    Secondary Capture Multi-frame Grayscale
Word Image Storage
    Secondary Capture Multi-frame True Color Image Storage
    Default (Secondary Capture Image Storage)

DICOM Compression Tab

The following tab appears when the input data is not MPEG2 data:

DICOM Compression Tab

The following fields are on this tab:

Control

Description

Enable Check box

Select this check box to enable compression.

Flip YUV data Check box

Select this check box to flip the YUV data. This check box is ignored if the input data is not in the YUV color space.

Format drop-down list box:

Sets which compression type is to be used for the pixel data in the DICOM file. Possible values are:

 

Uncompressed

 

Lossless JPEG

 

Lossy JPEG

 

JPEG 2000

 

Lossless JPEG 2000

Quality factor Slider bar

Sets the quality factor. Values range from 2 (Best) to 255 (Worst). The exact value is displayed in the Quality factor edit box.

Quality factor Edit box

 

Displays the Quality factor. Type in a value, or use the slider bar.

 

LEAD MPEG2 Compression property page

The following page appears when the input data is MPEG2:

LEAD MPEG2 Compression property page

The following fields are on this tab:

Control Description
MPEG-2 Stream DICOM compatibility Drop-down list box:  
  If input stream is MPEG-2 with MPEG2 compression: If input stream is MPEG-2 Transport or ISO(MP4) whith H.264/AVC compression:
 Force Force MPEG2 encoder settings to be compatible with the MPEG2 DICOM standard.

Returns an error code if the  audio stream is not compatible with the DICOM standard. Accepts only MPEG1 audio with the following frequencies: 32KHz, 44.1KHz, 48KHz.

Force H264 encoder settings to be compatible with the MPEG-2 Transport or ISO(MP4) DICOM standard.

If the stream is MPEG-2 Transport:
If audio encoder selected is AAC or AC3, force the settings to be compatible with the MPEG2 Transport DICOM standard.
Note that the accepted audio formats are: AAC, AC3, LPCM, MP3 and MPEG-1 Layer2.

If the stream is ISO(MP4):
If audio encoder selected is AAC, force the settings to be compatible with the ISO(MP4) DICOM standard.
Note that the accepted audio formats are: AAC, MP3 and MPEG-1 Layer2.

An error code will be returned if the audio stream is not compatible with the DICOM standard.

Ignore Do not change the MPEG2 encoder settings if they are not compatible with the MPEG2 DICOM standard.

Tolerates audio compression settings that are not compatible with the MPEG2 standard (accepts MPEG audio with the following frequencies: 16KHz, 22.05KHz, 24KHz, 32KHz, 44.1KHz, 48KHz).

Do not change the H264 encoder settings if they are not compatible with the MPEG-2 Transport or ISO(MP4) DICOM standard.

Tolerates audio compression settings that are not compatible with the MPEG2 Transport or ISO(MP4) standard (accepts audio with the following frequencies: 16KHz, 22.05KHz, 24KHz, 32KHz, 44.1KHz, 48KHz, 96KHz).

If the stream is MPEG-2 Transport:
The accepted audio formats are: AAC, AC3, LPCM, MP3 and MPEG-1 Layer2.

If the stream is ISO(MP4):
The accepted audio formats are: AAC, MP3 and MPEG-1 Layer2.

 Stop Graph Stop the graph if the MPEG2 encoder settings are not compatible with the MPEG2 DICOM standard.

Returns an error code if the audio stream is not compatible with the DICOM standard. Accepts only MPEG1 audio with the following frequencies: 32KHz, 44.1KHz, 48KHz.

Stop the graph if the H264encoder settings are not compatible with the MPEG2 Transport or (MP4) DICOM standard.

If the stream is MPEG-2 Transport:
The accepted audio formats are: AAC, AC3, LPCM, MP3 and MPEG-1 Layer2.

If the stream is ISO(MP4):
The accepted audio formats are: AAC, MP3 and MPEG-1 Layer2.

An error code will be returned if the audio stream is not compatible with the DICOM standard.
Compatible settings are:
AAC: 48KHz with 2 or 5.1 channels.
AC3: 48KHz with 2 or 5.1 channels.
LPCM:48KHz or 96KHz with 2 channels.
MP3: 32KHz, 44.1KHz or 48KHz with 2 channels.
MPEG-1 Layer 2: 32KHz, 44.1KHz or 48KHz with 2 channels.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Filters C API Help