SetPixelDataAndImport Method
In This Topic
Method to import pixel data directly from a non-DICOM data
Syntax
'Declaration
Public Sub SetPixelDataAndImport( _
ByVal As String, _
ByVal As Integer, _
ByVal As Func(Of Integer,Stream) _
)
'Usage
Dim instance As DicomImage
Dim TransferSyntax As String
Dim FrameCount As Integer
Dim GetData As Func(Of Integer,Stream)
instance.SetPixelDataAndImport(TransferSyntax, FrameCount, GetData)
public void SetPixelDataAndImport(
string ,
int ,
Func<int,Stream>
)
public:
void SetPixelDataAndImport(
String^ ,
int ,
Func<int,Stream^>^
)
Parameters
- TransferSyntax
- The transfer syntax of the data provided via the function
- FrameCount
- Number of frames that would get imported
- GetData
- User defined function to return the correct data stream to be imported
Requirements
Target Platforms: .NET CLR 3.5 or higher
See Also