Visual Basic (Declaration) | |
---|---|
Public Function GetChannelSamplesPtr() As IntPtr |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DicomWaveformChannel Dim value As IntPtr value = instance.GetChannelSamplesPtr() |
C# | |
---|---|
public IntPtr GetChannelSamplesPtr() |
C++/CLI | |
---|---|
public: IntPtr GetChannelSamplesPtr(); |
Return Value
A buffer that holds the samples (data) for a waveform channel.For an example, refer to DicomDataSet.WaveformGroupCount.
- This method returns a pointer to a buffer that holds the channel samples (data).
- Please note that the data is always encapsulated as 32-bit regardless of the bits allocated for the channel (8- or 16-bit). You can tell if the data for the channel is 8- or 16-bit from the waveform sample interpretation. For 8-bit channels the "Waveform Sample Interpretation" (5400,1006) can either be is signed 8-bit linear DicomWaveformSampleInterpretationType.Signed8BitLinear, unsigned 8-bit linear DicomWaveformSampleInterpretationType.Unsigned8BitLinear, 8-bit mu-law DicomWaveformSampleInterpretationType.Mulaw8Bit or 8-bit A-law DicomWaveformSampleInterpretationType.Alaw8Bit. For 16-bit channels the "Waveform Sample Interpretation" can either be signed 16-bit linear DicomWaveformSampleInterpretationType.Signed16BitLinear or unsigned 16-bit linear DicomWaveformSampleInterpretationType.Unsigned8BitLinear. To get the waveform sample interpretation, use the DicomWaveformGroup.GetSampleInterpretation method.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)