ImageEn, unit imageenproc

TImageEnProc.AdjustLevels

TImageEnProc.AdjustLevels


Declaration

procedure AdjustLevels(Shadow: integer; MidTone: integer; Highlight: integer; OutShadow: integer; OutHighlight: integer);


Description

Perform level adjustment with midtone.

Notes:
- Null values (causing no change) would be: AdjustLevels( 0, 128, 255, 0, 255 );
- This function is also available to the user in the Image Processing dialog

Parameter Description
Shadow Low input value (0-255)
MidTone Midtone input value (0-255, 128 = linear adjustment)
Highlight High input value (0-255)
OutShadow Low output value (0-255)
OutHighlight High output value (0-255)