Method and system for auto-enhancing photographs with saturation adjustments
AssigneeApple Inc.
InventorsRussell Y. Webb, Garrett M. Johnson
Life of this patent
Estimating the term…
Abstract
Some embodiments of the image editing and organizing application described herein provide an automatic enhancement process that includes vibrancy adjustment. The vibrancy adjustment increases the saturation of multiple pixels. The saturation of each pixel is determined by subtracting the lowest component value from the highest component value. The process determines an overall saturation of the image using a histogram. The histogram is generated using doubled saturation values for pixels with blue and green as the highest component value.
Claims25
A method of automatically adjusting a saturation level of a plurality of pixels in an image, the method comprising:
- creating a histogram of saturation levels of the plurality of pixels in the image by determining saturation levels for each of the plurality of pixels and modifying the determined saturation levels for a subset of the plurality of pixels, wherein the saturation modification level is reduced for skin-tone colored pixels;
- based on the histogram, identifying a saturation modification level for the image;
- and
- modifying the saturation levels of the plurality of pixels in the image by the identified saturation modification level.
A method of automatically adjusting a saturation level of a plurality of pixels in an image, the method comprising:
- creating a histogram of saturation levels of the plurality of pixels in the image by determining saturation levels for each of the plurality of pixels and modifying the determined saturation levels for a subset of the plurality of pixels, wherein the modified determined saturation levels of the subset of pixels are greater than the actual saturation levels of the subset of pixels;
- based on the histogram, identifying a saturation modification level for the image;
- and
- modifying the saturation levels of the plurality of pixels in the image by the identified saturation modification level.
A non-transitory machine readable medium storing a program which, when executed by at least one processing unit, automatically adjusts a saturation level of a plurality of pixels in an image, the program comprising sets of instructions for:
- creating a histogram for the saturation levels of the plurality of pixels in the image, wherein each pixel is represented by three color component values;
- identifying a saturation modification level for the image based on the histogram;
- and
- for each of the plurality of pixels:
- generating new color component values for the pixel by subtracting an average color component value from each original color component value of the pixel, multiplying a result of the subtraction by a factor based on the saturation modification level, and adding the original color component value to a product of the multiplication.
A method of adjusting saturation levels of a plurality of pixels in an image, the method comprising:
- creating an adjusted histogram of pixel saturation levels by using substitute saturation levels for non-red pixels instead of actual saturation levels of the non-red pixels, wherein the substitute saturation level for a particular non-red pixel is determined by multiplying the actual saturation level of the particular non-red pixel by a particular factor, subject to a cap of a maximum possible saturation level, before adding the substitute saturation levels of the non-red pixels to the histogram;
- determining a location of a particular percentile of the histogram;
- and
- based on the location of the particular percentile, adjusting the saturation levels of the plurality of pixels in the image.
Dependencies are inferred from the claim text.