ImageEn, unit imageenproc




procedure AutoImageEnhance1(SubsampledSize: Integer = 60; Slope: Integer = 20; Cut: Integer = 25; Neighbour: Integer = 2);


ImageEn offers a selection of functions to automatically enhance an image. AutoImageEnhance1 performs a series of complex operations to improve the contrast and colors in the image.

Parameter Description
SubsampledSize For better performance operations are performed on a subsampled image. This parameter specifies the image width (default 60)
Slope The core function slope (in degrees) which will affect the contrast. Allowed values: 0 to 90, default 20
Cut The code function range which will affect the contrast. Allowed values are 0 to 100, default 25
Neighbour When the subsampled image is used to change the full size image, Neighbour specifies the window size of the conversion. High values slow down processing but produce better results. Default is 2.

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


Demo  Demos\ImageEditing\AutoEnhance\AutoAdjust.dpr

See Also

Public Method  AutoImageEnhance2
Public Method  AutoImageEnhance3