Search Results for

    Show / Hide Table of Contents

    Interface IImage

    Image interface.

    Inherited Members
    IDisposable.Dispose()
    Namespace: Dicom.Imaging
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IImage : IDisposable

    Properties

    Pixels

    Gets the array of pixels associated with the image.

    Declaration
    PinnedIntArray Pixels { get; }
    Property Value
    Type Description
    PinnedIntArray

    Methods

    As<T>()

    Cast IImage object to specific (real image) type.

    Declaration
    T As<T>()
    Returns
    Type Description
    T

    IImage object as specific (real image) type.

    Type Parameters
    Name Description
    T

    Real image type to cast to.

    Clone()

    Creates a deep copy of the image.

    Declaration
    IImage Clone()
    Returns
    Type Description
    IImage

    Deep copy of this image.

    DrawGraphics(IEnumerable<IGraphic>)

    Draw graphics onto existing image.

    Declaration
    void DrawGraphics(IEnumerable<IGraphic> graphics)
    Parameters
    Type Name Description
    IEnumerable<IGraphic> graphics

    Graphics to draw.

    Render(Int32, Boolean, Boolean, Int32)

    Renders the image given the specified parameters.

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

    Number of components.

    Boolean flipX

    Flip image in X direction?

    Boolean flipY

    Flip image in Y direction?

    Int32 rotation

    Image rotation.

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