Abstract:
Methods and systems for modifying an image by applying an effect to an image are described. The effects include a pop effect, a light adjustment, or a color adjustment to an image. The methods and systems include providing a user slider for applying an effect to the image. The methods and systems further include determining a first portion of the image including a face and creating a protection mask to protect the face in the first portion during image modification. The protection mask may include an enhancement threshold for modifying the first portion of the image. The modification of the image may include modifying the second portion of the image differently than the first portion of the image. A method for enforcing different resolutions of a same input image to produce similar visual results is also described.
Abstract:
Implementations generally relate to enhancing a video. In some implementations, a method includes classifying one or more objects in one or more frames of the video. The method further includes determining one or more filter parameters of one or more filters based on the classifying of the one or more objects. The method further includes smoothing one or more of the determined filter parameters based on the classifying of the one or more objects. The method further includes applying one or more of the filters with corresponding smoothed filter parameters to one or more frames of the video.
Abstract:
Implementations relate to estimating noise in images using a polynomial relationship for pixel values of image features. In some implementations, a computer-implemented method to estimate noise in an image includes determining a plurality of patches of pixels in the image. For each patch of pixels, the method determines feature pixels in the patch that are included in a particular image feature at least partially depicted in the patch. The method determines an error estimate for each patch of pixels, where each error estimate is based on an amount by which pixel values of the feature pixels in the patch of pixels are different from an estimated polynomial relationship between the feature pixels in the patch of pixels. One of the error estimates is selected as a noise level estimate for the image.
Abstract:
Implementations relate to estimating noise in images. In some implementations, a method includes extracting a plurality of sample blocks of pixels from a received image, where each sample block includes a subset of pixels of the image. One or more of the sample blocks are examined for texture content based on whether the sample blocks include one or more edges based on a predetermined threshold. At least one sample block determined to include texture content is removed. The method determines one or more average color variances based on the remaining sample blocks that have not been removed, where noise estimations for the image are based on the average color variances.
Abstract:
Implementations generally relate to providing regions of interest in an image. In some implementations, a method includes receiving an image. The method further includes determining one or more image features. The method further includes grouping the one or more image features into one or more regions of interest.
Abstract:
Aspects of the subject technology relate to automatically and selectively applying a fill light filter to an image. A process includes determining an edge-preserved, smoothed version of the image, and determining a grayscale version of the image. The process also includes comparing each pixel of the edge-preserved, smoothed version of the image to each corresponding pixel of the grayscale version of the image. The process also includes applying the fill light filter to the image based on the comparison. The fill light filter is automatically adjusted based on identifying regions in the image. Selectively applying the fill light filter can reduce artifacts and noise from forming or being amplified as a result of the fill light filter.
Abstract:
In some implementations, a method includes identifying one or more face regions of an image, the face regions including pixels that depict at least a portion of one or more faces of persons. The face regions are identified based on identifying facial landmarks of the faces. The method determines an associated face mask for each of the faces based on the face regions, where each face mask indicates which pixels in the image depict the corresponding face. Face pixels can be selected for processing by applying the face masks, and image pixels outside the faces can be selected by inversely applying the face masks. The selected pixels can be provided to a processing operation for adjustment of the selected pixels.
Abstract:
Implementations relate to estimating noise in images. In some implementations, a method includes extracting a plurality of sample blocks of pixels from a received image, where each sample block includes a subset of pixels of the image. One or more of the sample blocks are examined for texture content based on whether the sample blocks include one or more edges based on a predetermined threshold. At least one sample block determined to include texture content is removed. The method determines one or more average color variances based on the remaining sample blocks that have not been removed, where noise estimations for the image are based on the average color variances.