摘要 |
FIELD: information technology.SUBSTANCE: system for correcting dark, light and middle tones on digital images has a module for obtaining the source RGB image, a global contrasting module, a module for converting from the RGB colour system, a bilateral filtration module, a module for determining the gain factor of dark tones, a module for correcting dark tones and a module for converting to the RGB colour system. The system also has a noise filtering module, a module for determining the attenuation factor of light tones, a module for correcting light tones, a module for determining the gain factor of middle tones and a module for correcting middle tones. The output of the module for obtaining the source RGB image is connected to the input of the noise filtering module, the output of which is connected to the input of the global contrasting module, the output of which is connected to the input of the module for converting from the RGB colour system; the output of the module for converting from the RGB colour system for transmission of the brightness channel is connected to the input of the bilateral filtration module, the input of the module for determining the gain factor of dark tones, the input of the module for determining the attenuation factor of light tones, the input of the module for determining the gain factor of middle tones, the third input of the module for correcting dark tones, the third input of the module for correcting light tones and the third input of the module for correcting middle tones. The output of the module for converting from the RGB colour system for transmission of the colour channel is connected to the fourth input of the module for converting to the RGB colour system. The output of the bilateral filtration module is connected to the first input of the module for correcting dark tones, the first input of the module for correcting light tones and the first input of the module for correcting middle tones. The output of the module for determining the gain factor of dark tones is connected to the second input of the module for correcting dark tones, the output of which is connected to the first input of the module for converting to the RGB colour system. The output of the module for determining the attenuation factor of light tones is connected to the second input of the module for correcting light tones, the output of which is connected to the second input of the module for converting to the RGB colour system. The output of the module for determining the gain factor of middle tones is connected to the second input of the module for correcting middle tones, the output of which is connected to the third input of the module for converting to the RGB colour system.EFFECT: high local contrast in dark, light and middle tones of an image.10 dwg |