Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class RawImage

    IImage implementation as a raw BGRA32 byte array.

    Inheritance
    System.Object
    ImageBase<System.Byte[]>
    RawImage
    Implements
    IImage
    System.IDisposable
    Inherited Members
    ImageBase<Byte[]>._width
    ImageBase<Byte[]>._height
    ImageBase<Byte[]>._pixels
    ImageBase<Byte[]>._image
    ImageBase<Byte[]>._disposed
    ImageBase<Byte[]>.Pixels
    ImageBase<Byte[]>.Height
    ImageBase<Byte[]>.Width
    ImageBase<Byte[]>.As<T>()
    ImageBase<Byte[]>.Render(Int32, Boolean, Boolean, Int32)
    ImageBase<Byte[]>.DrawGraphics(IEnumerable<IGraphic>)
    ImageBase<Byte[]>.Clone()
    ImageBase<Byte[]>.Dispose()
    ImageBase<Byte[]>.Dispose(Boolean)
    ImageBase<Byte[]>.ToBytes(Int32, Int32, Int32, Boolean, Boolean, Int32, Int32[])
    ImageBase<Byte[]>.GetPixel(Int32, Int32)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.Imaging
    Assembly: fo-dicom.core.dll
    Syntax
    public sealed class RawImage : ImageBase<byte[]>, IImage, IDisposable

    Constructors

    RawImage(Int32, Int32)

    Initializes an instance of the RawImage object.

    Declaration
    public RawImage(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width

    Image width.

    System.Int32 height

    Image height.

    Methods

    Clone()

    Creates a deep copy of the image.

    Declaration
    public override IImage Clone()
    Returns
    Type Description
    IImage

    Deep copy of this image.

    Overrides
    FellowOakDicom.Imaging.ImageBase<System.Byte[]>.Clone()

    DrawGraphics(IEnumerable<IGraphic>)

    Draw graphics onto existing image.

    Declaration
    public override void DrawGraphics(IEnumerable<IGraphic> graphics)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<IGraphic> graphics

    Graphics to draw.

    Overrides
    FellowOakDicom.Imaging.ImageBase<System.Byte[]>.DrawGraphics(System.Collections.Generic.IEnumerable<FellowOakDicom.Imaging.Render.IGraphic>)

    Render(Int32, Boolean, Boolean, Int32)

    Renders the image given the specified parameters.

    Declaration
    public override void Render(int components, bool flipX, bool flipY, int rotation)
    Parameters
    Type Name Description
    System.Int32 components

    Number of components.

    System.Boolean flipX

    Flip image in X direction?

    System.Boolean flipY

    Flip image in Y direction?

    System.Int32 rotation

    Image rotation.

    Overrides
    FellowOakDicom.Imaging.ImageBase<System.Byte[]>.Render(System.Int32, System.Boolean, System.Boolean, System.Int32)

    Implements

    IImage
    System.IDisposable

    Extension Methods

    RawImageExtensions.AsBytes(IImage)
    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors