A system and method for enhancing digital images containing both text and
pictorial content ("mixed document images") utilizes an estimated
illumination surface for a given digital image to correct the undesirable
effect of non-uniform illumination. The estimated illumination surface is
based on the luminance values of the edge pixels of the given image that
are on the dark side of text edges. In an alternative embodiment, the
luminance values of the edge pixels that are on the lighter side of the
detected text edges are used to generate the estimated illumination
surface. The estimated illumination surface is applied to the digital
image to compensate for illumination variations in the image due to
non-uniform illumination. In addition to non-uniform illumination
correction, the system and method enhances the mixed document images by
sharpening and/or darkening edges of text contained in the images.
Um sistema e um método para realçar as imagens digitais que contêm o texto e o índice pictorial ("misturou imagens do original") utilizam uma superfície estimada da iluminação para uma imagem digital dada para corrigir o efeito indesejável da iluminação non-uniform. A superfície estimada da iluminação é baseada nos valores do luminance dos pixels da borda da imagem dada que estão no lado escuro de bordas do texto. Em uma incorporação alternativa, os valores do luminance dos pixels da borda que estão no lado mais claro das bordas detectadas do texto são usados gerar a superfície estimada da iluminação. A superfície estimada da iluminação é aplicada à imagem digital para compensar para variações da iluminação na imagem devido à iluminação non-uniform. Além à correção non-uniform da iluminação, o sistema e o método realçam as imagens misturadas do original sharpening e/ou escurecendo as bordas do texto contidas nas imagens.