Visual Basic (Declaration) | |
---|---|
Public Function GetImageInformation( _ ByVal element As DicomElement, _ ByVal index As Integer _ ) As DicomImageInformation |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DicomImageInformation GetImageInformation( DicomElement element, int index ) |
Managed Extensions for C++ | |
---|---|
public: DicomImageInformation* GetImageInformation( DicomElement* element, int index ) |
C++/CLI | |
---|---|
public: DicomImageInformation^ GetImageInformation( DicomElement^ element, int index ) |
Parameters
- element
- An item in the Data Set.
- index
- The zero-based index of the frame whose information is required.
Return Value
The information about the specified image.For an example, refer to GetImage.
Most DICOM files will only have one Data Element of type DicomTagType.PixelData.
Therefore, in most instances you can set element to null,
since the method will automatically retrieve information about the image at the
specified index within the only Pixel Data Element in the file. If element
is not null, it must point to the Pixel Data Element itself.
If the DICOM file is DicomClassType.BasicDirectory , the file may contain more than one Pixel Data Element. In this case you must specify in element the Pixel Data Element from which to get the image information.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family