ImageEn, unit imageenproc

TImageEnProc.AutoImageEnhance2

TImageEnProc.AutoImageEnhance2


Declaration

procedure AutoImageEnhance2(ScaleCount: Integer = 3; ScaleCurve: Integer = 2; Variance: Double = 1.8; ScaleHigh: Integer = 200; Luminance: Boolean = True);


Description

ImageEn offers a selection of functions to automatically enhance an image. AutoImageEnhance2 uses a "Retinex" algorithm to simulate how humans see the world.

Parameter Description
ScaleCount The algorithm is applied to different scales of the image. This parameter specifies the number of scales. Default 3.
ScaleCurve Specifies how to build the size of each scale. Allowed values 0..2. Default 2.
Variance The output variance. Default 1.8.
ScaleHigh Allowed values from 16 to 250. Default 200.
Luminance If true the algorithm is applied only to luminance (luminosity) channel, so the algorithm doesn't touch colors.

Note: The default parameters will generally offer an agreeable result.


Demo

Demo  Demos\ImageEditing\AutoEnhance\AutoAdjust.dpr


See Also

Public Method  AutoImageEnhance1
Public Method  AutoImageEnhance3