Class PixelDataFactory
Pixel data factory to create IPixelData and SingleBitPixelData from DicomPixelData
Inherited Members
Namespace: Dicom.Imaging.Render
Assembly: cs.temp.dll.dll
Syntax
public static class PixelDataFactory
Methods
Create(DicomOverlayData)
Create SingleBitPixelData form DicomOverlayData
according to the input overlayData
Declaration
public static SingleBitPixelData Create(DicomOverlayData overlayData)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomOverlayData | overlayData | The input overlay data |
Returns
| Type | Description |
|---|---|
| SingleBitPixelData | The result overlay stored in SingleBitPixelData |
Create(DicomPixelData, Int32)
Create IPixelData form DicomPixelData
according to the input pixelData PhotometricInterpretation
Declaration
public static IPixelData Create(DicomPixelData pixelData, int frame)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomPixelData | pixelData | Input pixel data |
| Int32 | frame | Frame number (0 based) |
Returns
| Type | Description |
|---|---|
| IPixelData | Implementation of IPixelData according to PhotometricInterpretation |