Parameters
- minLevelDifference
- The sensibility of light pixels in dark regions.
- maxLevelDifference
- The sensibility of dark pixels in light regions.
- convertToBlackLevel
- The level to convert pixels with darker luminance to black.
- convertToWhiteLevel
- The level to convert pixels with lighter luminance to white.
- windowRadius
- The radius of the local window.