←Select platform

GetImages(DicomElement,Int32,Int32,Int32,DicomGetImageFlags,DicomGetImageCallback) Method

Summary

Gets the images of a Pixel Data element.

Syntax

C#
VB
WinRT C#
C++
public Leadtools.RasterImage GetImages(  
   Leadtools.Dicom.DicomElement element, 
   int index, 
   int count, 
   int bitsPerPixel, 
   Leadtools.Dicom.DicomGetImageFlags flags, 
   Leadtools.Dicom.DicomGetImageCallback callback 
) 
Public Overloads Function GetImages( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal index As Integer, _ 
   ByVal count As Integer, _ 
   ByVal bitsPerPixel As Integer, _ 
   ByVal flags As Leadtools.Dicom.DicomGetImageFlags, _ 
   ByVal callback As Leadtools.Dicom.DicomGetImageCallback _ 
) As Leadtools.RasterImage 
public Leadtools.RasterImage GetImages(  
   Leadtools.Dicom.DicomElement element, 
   int index, 
   int count, 
   int bitsPerPixel, 
   Leadtools.Dicom.DicomGetImageFlags flags, 
   Leadtools.Dicom.DicomGetImageCallback callback 
) 
 function Leadtools.Dicom.DicomDataSet.GetImages(DicomElement,Int32,Int32,Int32,DicomGetImageFlags,DicomGetImageCallback)(  
   element , 
   index , 
   count , 
   bitsPerPixel , 
   flags , 
   callback  
) 
public: 
Leadtools.RasterImage^ GetImages(  
   Leadtools.Dicom.DicomElement^ element, 
   int index, 
   int count, 
   int bitsPerPixel, 
   Leadtools.Dicom.DicomGetImageFlags flags, 
   Leadtools.Dicom.DicomGetImageCallback^ callback 
)  

Parameters

element
An item in the Data Set.

index
The zero-based index of the first frame to load.

count
Value that represents the number of frames to load.

bitsPerPixel
Value that represents the resulting image pixel depth. Possible values are:

Value Meaning
0 Keep the original file's pixel depth (do not convert).
1 to 8 Use the specified bits per pixel in the resulting image.
12 Use 12 bits per pixel in the resulting image.
16 Use 16 bits per pixel in the resulting image.
24 Use 24 bits per pixel in the resulting image.
32 Use 32 bits per pixel in the resulting image.

flags
Flags that control the behavior of this method.

callback
DicomGetImageCallback which will be called for each image that is loaded. This parameter cannot be null.

Return Value

The images of a Pixel Data element.

Remarks

For more details, see GetImages

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly