Table of Contents

Interface IIconGenerator

Namespace
FellowOakDicom.Media
Assembly
fo-dicom.core.dll

Interface for generating DICOMDIR icon images from DICOM datasets. Icons are 8-bit grayscale thumbnails, maximum 128x128 pixels with preserved aspect ratio.

public interface IIconGenerator
Extension Methods

Methods

GenerateIconImageSequence(DicomDataset, int)

Generates an Icon Image Sequence for a DICOM dataset.

DicomSequence? GenerateIconImageSequence(DicomDataset dataset, int frameIndex = 0)

Parameters

dataset DicomDataset

The DICOM dataset containing the image data.

frameIndex int

Frame index to use for multi-frame images (default: 0).

Returns

DicomSequence

A DicomSequence containing the icon image data conforming to DICOM standard, or null if icon generation fails or is not applicable for this dataset.