DicomObjects Reference
DicomObjects Reference / DicomLabel Object / Threshold Method
Define the range of values to include in the new DicomLabel
Define the range of values to include in the new DicomLabel
In This Topic
    Threshold Method
    In This Topic
    Description
    Makes a bitmap label by threesholding an existing label
    Syntax
    Visual Basic
    Public Function Threshold( _
       ByVal Min As Single, _
       ByVal Max As Single _
    ) As DicomLabel
    Parameters
    Min
    Define the range of values to include in the new DicomLabel
    Max
    Define the range of values to include in the new DicomLabel
    Remarks
    The DicomLabel to which this method is applied must be of a type which defines an area, i.e. doLabelRectangle, doLabelEllipse, doLabelPolygon, or doLabelBitmap.
    The result is a new label (unattached to any collection) of type doLabelBitmap, which consists of all those points in the original label whose values (after applying scaling if necessary) fall with the range Min to Max inclusive.
    See Also