A method, a device and a computer readable for automatically identifying a Christmas tree scene and setting a camera's focus and/or exposure parameters in a way that yields images with high image quality. The Christmas tree scene identification can be performed by segmenting the image into bright and dark regions, identifying the light objects, collecting the statistics of the light objects, and classifying the scene based on the statistics of the light objects, or by collecting the pixel value statistics for the image, and classifying the scene based on the statistics of the pixel values, or by collecting the pixel value statistics for the image, filtering the image, collecting the pixel value statistics for the filtered image, and classifying the scene by comparing the statistics of the pixel values before and after filtering. The focus and exposure settings can be adjusted based on the Christmas tree scene identification results. For Christmas tree scenes, the exposure can be set based on a value that is adjusted upwards from the mean luminance of the image, or on a value that is calculated from the top luminance value. The focus can be set by identifying the lights in the image, and minimizing the light size in the image.