DicomObjects Reference
DicomObjects Reference / DicomImage Object / MaximumPixelValue Property
Whether to scale the values
In This Topic
    MaximumPixelValue Property
    In This Topic
    Description
    Maximum Pixel Value in the Image
    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property MaximumPixelValue( _
       ByVal ScaleOrLUT As Boolean _
    ) As Long
    Parameters
    ScaleOrLUT
    Whether to scale the values
    Remarks

    Many images have actual pixel values much smaller than the range suggested by their “bits stored”  value, presenting difficulties for those needing to set suitable ranges for user controls related to the windowing parameters   These properties indicate the highest and lowest values actually present, for this purpose.  If ScaleOrLUT is false, then the native values in the pixel data are returned, but if ScaleOrLUT is true (and if rescale information or a modality LUT are present in the image), then the values are transformed through the modality lookup table or rescale operation, ensuring that the values are then compatible with windowing operations.

    Pixels equal to the “Pixel Padding Value” (if specified in the image) are ignored for these calculations.

    See Also