Interface IImage
- Namespace
- FellowOakDicom.Imaging
- Assembly
- fo-dicom.core.dll
Image interface.
public interface IImage : IDisposable
- Inherited Members
- Extension Methods
Properties
Height
int Height { get; }
Property Value
Pixels
Gets the array of pixels associated with the image.
PinnedIntArray Pixels { get; }
Property Value
Width
int Width { get; }
Property Value
Methods
As<T>()
Cast IImage object to specific (real image) type.
T As<T>()
Returns
- T
IImage object as specific (real image) type.
Type Parameters
T
Real image type to cast to.
Clone()
Creates a deep copy of the image.
IImage Clone()
Returns
- IImage
Deep copy of this image.
DrawGraphics(IEnumerable<IGraphic>)
Draw graphics onto existing image.
void DrawGraphics(IEnumerable<IGraphic> graphics)
Parameters
graphics
IEnumerable<IGraphic>Graphics to draw.
GetPixel(int, int)
Color32 GetPixel(int x, int y)
Parameters
Returns
Render(int, bool, bool, int)
Renders the image given the specified parameters.
void Render(int components, bool flipX, bool flipY, int rotation)