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
widthintIcon width in pixels.
heightintIcon height in pixels.
grayscalePixelDatabyte[]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.