Abstract:
Implementations relate to editing options for image regions. Some implementations include detecting a region portion of an image based on one or more characteristics of pixels of the image. The detected region has an identified class selected from multiple identifiable classes, and each identifiable class is associated with a set of multiple editing options. Each editing option is associated with edit operation(s) operable to adjust value(s) of one or more image pixels. One of the sets of editing options is presented for selection, where the presented set is associated with the identified class of the detected region and each of the editing options in the presented set is operable to adjust value(s) of one or more pixels of the detected region. The presented set of editing options is different from at least one of the other sets of editing options associated with the other classes.
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.