'DeclarationPublic Overloads Function Bitmap( _ ByVal frame As Integer, _ ByVal size As SkiaSharp.SKSizeI, _ Optional ByVal format As SkiaSharp.SKColorType, _ Optional ByVal matrix As SkiaSharp.SKMatrix, _ Optional ByVal windowWidth As Single, _ Optional ByVal windowCenter As Single, _ Optional ByVal useVoiIfPresent As Boolean _ ) As SkiaSharp.SKBitmap
'UsageDim instance As DicomImage Dim frame As Integer Dim size As SkiaSharp.SKSizeI Dim format As SkiaSharp.SKColorType Dim matrix As SkiaSharp.SKMatrix Dim windowWidth As Single Dim windowCenter As Single Dim useVoiIfPresent As Boolean Dim value As SkiaSharp.SKBitmap value = instance.Bitmap(frame, size, format, matrix, windowWidth, windowCenter, useVoiIfPresent)
public SkiaSharp.SKBitmap Bitmap( int frame, SkiaSharp.SKSizeI size, SkiaSharp.SKColorType format, SkiaSharp.SKMatrix matrix, float windowWidth, float windowCenter, bool useVoiIfPresent )
public: SkiaSharp.SKBitmap^ Bitmap( int frame, SkiaSharp.SKSizeI size, SkiaSharp.SKColorType format, SkiaSharp.SKMatrix matrix, float windowWidth, float windowCenter, bool useVoiIfPresent )
Parameters
- frame
- The frame number to use. This is 1-index, i.e. first frame is 1 not 0
- size
- The size of the image to generate
- format
- The requested format
- matrix
- The Matrix to apply to convert from DICOM coordinates to SKBitmap coordinates. Empty matrix will be set to Identity internally to avoid errors during calculation
- windowWidth
- Custom Window Width value to apply if VOILUT is not present or useVOIIfPresent is set to false
- windowCenter
- Custom Window Centre value to apply if VOILUT is not present or useVOIIfPresent is set to false
- useVoiIfPresent
- Apply VOI LUT is present in base Image object
Return Value
A SKBitmap object