1. A method of automatically adjusting shadow levels of an image, the method comprising: generating a set of histograms that identify different characteristics of the image, wherein the set of histograms comprises a structure histogram comprising values based on relationships between each particular pixel of a plurality of pixels in the image and the neighboring pixels of the particular pixel; determining a shadow lift setting level based on a set of statistics calculated for the set of histograms; and applying a shadow lift at the determined shadow lift setting level to the image, wherein the generating, determining and applying are performed by an electronic device.