SetTransferFunction(IEnumerable<KeyValuePair<Int32,Color>>) Method
In This Topic
Set the transfer function for VR from a dictionary of pixel value to Colour lookups
Syntax
'Declaration
Public Overloads Sub SetTransferFunction( _
ByVal As System.Collections.Generic.IEnumerable(Of KeyValuePair(Of Integer,Color)) _
)
'Usage
Dim instance As DicomImage3D
Dim ColourList As System.Collections.Generic.IEnumerable(Of KeyValuePair(Of Integer,Color))
instance.SetTransferFunction(ColourList)
public void SetTransferFunction(
System.Collections.Generic.IEnumerable<KeyValuePair<int,Color>>
)
public procedure SetTransferFunction(
: System.Collections.Generic.IEnumerable
);
public function SetTransferFunction(
: System.Collections.Generic.IEnumerable
);
public: void SetTransferFunction(
System.Collections.Generic.IEnumerable<KeyValuePair<int,Color>>*
)
public:
void SetTransferFunction(
System.Collections.Generic.IEnumerable<KeyValuePair<int,Color>>^
)
Parameters
- ColourList
- The list of pixel values and associated colours
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also