ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOM Class : BuildStandardDisplayLUT Method |
'Declaration Public Shared Function BuildStandardDisplayLUT( _ ByVal inputDepth As Integer, _ ByVal outputDepth As Integer, _ ByVal characteristicCurve() As Double _ ) As ImGearFullLUT
'Usage Dim inputDepth As Integer Dim outputDepth As Integer Dim characteristicCurve() As Double Dim value As ImGearFullLUT value = ImGearDICOM.BuildStandardDisplayLUT(inputDepth, outputDepth, characteristicCurve)
public static ImGearFullLUT BuildStandardDisplayLUT( int inputDepth, int outputDepth, double[] characteristicCurve )
public: static ImGearFullLUT* BuildStandardDisplayLUT( int inputDepth, int outputDepth, double[]* characteristicCurve )
public: static ImGearFullLUT^ BuildStandardDisplayLUT( int inputDepth, int outputDepth, array<double>^ characteristicCurve )
The source data for this method is a characteristic curve - an array that lists luminosities of display device corresponding to each pixel intensity.
double[] characteristicCurve = new double[] { }; // Fill characteristic curve, e.g. load from a file ImGearFullLUT stdLUT = ImGearDICOM.BuildStandardDisplayLUT(12, 8, characteristicCurve);
Dim characteristicCurve As Double() = New Double() {} ' Fill characteristic curve, e.g. load from a file Dim stdLUT As ImGearFullLUT = ImGearDICOM.BuildStandardDisplayLUT(12, 8, characteristicCurve)