Class DicomIconImage
DICOM Image class for image rendering.
Inheritance
System.Object
DicomIconImage
Inherited Members
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 class DicomIconImage
Constructors
DicomIconImage(DicomDataset)
Creates an Icon image from the Icon Image Sequence item supplied
Declaration
public DicomIconImage(DicomDataset iconImageSequenceItem)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | iconImageSequenceItem | The icon image sequence item to create an image from |
Properties
Height
Height of icon in pixels
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Width of icon in pixels
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
RenderImage()
Renders DICOM icon image to IImage.
Declaration
public virtual IImage RenderImage()
Returns
Type | Description |
---|---|
IImage | Rendered image |
TryCreate(DicomDataset, out DicomIconImage)
Try to extract icon from dataset
Declaration
public static bool TryCreate(DicomDataset dataset, out DicomIconImage dicomIconImage)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | |
DicomIconImage | dicomIconImage | The Icon, ready to be rendered |
Returns
Type | Description |
---|---|
System.Boolean |