A technique for the contrast enhancement of a picture is proposed. The method is derived from the entropy concept of information theory. The originality of the algorithm rests on the use of a local contrast to define the digital entropy. The basic idea of the treatment is to enhance the contrast by transforming the global entropy. The same technique can also be used for an adaptive smoothing processing.