'Declaration Public Function Threshold( _ ByVal Min As Single, _ ByVal Max As Single, _ ByVal Image As DicomImage, _ ByVal Scale As Boolean _ ) As DicomLabel
'Usage Dim instance As DicomLabel Dim Min As Single Dim Max As Single Dim Image As DicomImage Dim Scale As Boolean Dim value As DicomLabel value = instance.Threshold(Min, Max, Image, Scale)
public DicomLabel Threshold( float Min, float Max, DicomImage Image, bool Scale )
public: DicomLabel^ Threshold( float Min, float Max, DicomImage^ Image, bool 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