1. An electronic camera comprising: a histogram creation unit for creating an intensity histogram for an image which is obtained with an image sensor; and a setting unit for setting a gray-scale transformation characteristic for the image according to the created intensity histogram.