Herror ::scale_image_max (
    Hobject Image,
    Hobject *ImageScaleMax
)
HImage HImage::ScaleImageMax (
    void
) const
HImageArray HImageArray::ScaleImageMax (
    void
) const

Maximum gray value spreading in the value range 0 bis 255.

The operator ::scale_image_max calculates the minimum and maximum and scales the image to the maximum value range of a byte image. This way the dynamics (value range) is fully exploited. The number of different gray scales does not change, but in general the visual impression is enhanced. The gray values of images of the real, int2 and int4 type are scaled to the range 0 to 255 and returned as byte images.


Attention

The output always is an image of the type byte.


Parameters

Image (input_object)
(multichannel-)image(-array) -> Hobject: HImage(Array) ( byte / int2 / int4 / real )
Image to be scaled.

ImageScaleMax (output_object)
image(-array) -> Hobject * : HImage(Array) ( byte )
contrast enhanced image.


Possible Successors

::disp_image


Alternatives

::equ_histo_image, ::scale_image, ::illuminate, ::convert_image_type


See also

::min_max_gray, ::gray_histo


Module

Image filters



Copyright © 1996-2002 MVTec Software GmbH