Makes a bitmap label by thresholding an existing label
public function Threshold(
: System.Single;
: System.Single;
: DicomImage;
: System.Boolean
): DicomLabel;
public function Threshold(
: System.float,
: System.float,
: DicomImage,
: System.boolean
) : DicomLabel;
'Declaration
Public Function Threshold( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As DicomImage, _
ByVal As System.Boolean _
) As DicomLabel
'Usage
Dim instance As DicomLabel
Dim Min As System.Single
Dim Max As System.Single
Dim Image As DicomImage
Dim Scale As System.Boolean
Dim value As DicomLabel
value = instance.Threshold(Min, Max, Image, Scale)
Parameters
- Min
- The minimum value to include in the new DicomLabel
- Max
- The maximum value to include in the new DicomLabel
- Image
- The image from which the pixel data is taken for the calculations
- Scale
- If true, then the rescale slope and offset are applied to the data values
Return Value
A new DicomLabel
Target Platforms: .NET CLR 4.8 or higher