Table of Contents

Class DicomIconImageSequenceBuilder

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

Utility for building DICOM Icon Image Sequences from grayscale pixel data. Provides consistent icon formatting across all imaging implementations.

public static class DicomIconImageSequenceBuilder
Inheritance
DicomIconImageSequenceBuilder
Inherited Members

Methods

Build(int, int, byte[])

Creates a DICOM Icon Image Sequence from 8-bit grayscale pixel data.

public static DicomSequence Build(int width, int height, byte[] grayscalePixelData)

Parameters

width int

Icon width in pixels.

height int

Icon height in pixels.

grayscalePixelData byte[]

8-bit grayscale pixel data (Monochrome2 format).

Returns

DicomSequence

A DicomSequence containing the icon image data.

Exceptions

ArgumentNullException

If grayscalePixelData is null.

ArgumentException

If dimensions are invalid or pixel data size doesn't match dimensions.