Search Results for

    Show / Hide Table of Contents

    Class SingleBitPixelData

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

    Inheritance
    Object
    GrayscalePixelDataU8
    SingleBitPixelData
    Implements
    IPixelData
    Inherited Members
    GrayscalePixelDataU8.Width
    GrayscalePixelDataU8.Height
    GrayscalePixelDataU8.Components
    GrayscalePixelDataU8.Data
    GrayscalePixelDataU8.GetMinMax(Int32)
    GrayscalePixelDataU8.GetMinMax()
    GrayscalePixelDataU8.GetPixel(Int32, Int32)
    GrayscalePixelDataU8.Render(ILUT, Int32[])
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.Imaging.Render
    Assembly: cs.temp.dll.dll
    Syntax
    public class SingleBitPixelData : GrayscalePixelDataU8, IPixelData

    Constructors

    SingleBitPixelData(Int32, Int32, IByteBuffer)

    Initializes an instance of the SingleBitPixelData class.

    Declaration
    public SingleBitPixelData(int width, int height, IByteBuffer data)
    Parameters
    Type Name Description
    Int32 width

    Pixel data width.

    Int32 height

    Pixel data height.

    IByteBuffer data

    Byte data buffer.

    Methods

    GetHistogram(Int32)

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

    Declaration
    public override Histogram GetHistogram(int channel)
    Parameters
    Type Name Description
    Int32 channel

    The channel for which the histogram is requested.

    Returns
    Type Description
    Histogram

    Histogram of the pixel data for the given channel.

    Overrides
    GrayscalePixelDataU8.GetHistogram(Int32)

    Rescale(Double)

    Gets a rescaled copy of the pixel data.

    Declaration
    public override IPixelData Rescale(double scale)
    Parameters
    Type Name Description
    Double scale

    Copy scale.

    Returns
    Type Description
    IPixelData

    Rescaled copy of the pixel data.

    Overrides
    GrayscalePixelDataU8.Rescale(Double)

    Implements

    IPixelData
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors