Table of Contents

Class SingleBitPixelData

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

Single bit pixel IPixelData implementation(for binary pixels) usually used for overlay pixel data

public class SingleBitPixelData : GrayscalePixelDataU8, IPixelData
Inheritance
SingleBitPixelData
Implements
Inherited Members
Extension Methods

Constructors

SingleBitPixelData(int, int, IByteBuffer)

Initializes an instance of the SingleBitPixelData class.

public SingleBitPixelData(int width, int height, IByteBuffer data)

Parameters

width int

Pixel data width.

height int

Pixel data height.

data IByteBuffer

Byte data buffer.

Methods

GetHistogram(int)

Gets a histogram of the pixel data for a given channel.

public override Histogram GetHistogram(int channel)

Parameters

channel int

The channel for which the histogram is requested.

Returns

Histogram

Histogram of the pixel data for the given channel.

Rescale(double)

Gets a rescaled copy of the pixel data.

public override IPixelData Rescale(double scale)

Parameters

scale double

Copy scale.

Returns

IPixelData

Rescaled copy of the pixel data.