Table of Contents

Class PixelDataFactory

Namespace
FellowOakDicom.Imaging.Render
Assembly
fo-dicom.core.dll

Pixel data factory to create IPixelData and SingleBitPixelData from DicomPixelData

public static class PixelDataFactory
Inheritance
PixelDataFactory
Inherited Members

Methods

Create(DicomOverlayData)

Create SingleBitPixelData form DicomOverlayData according to the input overlayData

public static SingleBitPixelData Create(DicomOverlayData overlayData)

Parameters

overlayData DicomOverlayData

The input overlay data

Returns

SingleBitPixelData

The result overlay stored in SingleBitPixelData

Create(DicomPixelData, int)

Create IPixelData form DicomPixelData according to the input pixelData PhotometricInterpretation

public static IPixelData Create(DicomPixelData pixelData, int frame)

Parameters

pixelData DicomPixelData

Input pixel data

frame int

Zero-based frame index.

Returns

IPixelData

Implementation of IPixelData according to PhotometricInterpretation