This present invention discloses a system and method for enhancing images
of barcodes and other similar objects taken by the digital camera
connected to or embedded in a mobile device. This filter works by
converting the image into its equivalent gray scale. The algorithm then
computes the mean pixel intensity value of a row of pixels in the image.
The row is divided into sections and the mean pixel intensity of each
section is also calculated. The pixels in each section are processed
according to the relation of the relative mean intensities of the row and
the section. Once each pixel has been processed, the image is reassembled
from its divided sections.