Visual Basic |
---|
Public Property MaximumPixelValue( _ ByVal ScaleOrLUT As Boolean _ ) As Long |
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.