摘要:
Image cropping suggestion using multiple saliency maps is described. In one or more implementations, component scores, indicative of visual characteristics established for visually-pleasing croppings, are computed for candidate image croppings using multiple different saliency maps. The visual characteristics on which a candidate image cropping is scored may be indicative of its composition quality, an extent to which it preserves content appearing in the scene, and a simplicity of its boundary. Based on the component scores, the croppings may be ranked with regard to each of the visual characteristics. The rankings may be used to cluster the candidate croppings into groups of similar croppings, such that croppings in a group are different by less than a threshold amount and croppings in different groups are different by at least the threshold amount. Based on the clustering, croppings may then be chosen, e.g., to present them to a user for selection.
摘要:
Techniques are disclosed for removing blemishes from a digital image by detecting pixels containing the blemishes and replacing or blending those pixels with other pixels in the image that have a relatively low probability of containing a blemish. A standard pixel mask includes a user-selected region of the image; an extended mask extends beyond the user-selected region; and a minimal output pixel mask corresponds to the user-selected region. The minimal mask increases the transparency of some regions in the standard mask while maintaining the opacity of the standard mask in the blemish areas. Colors in the extended mask are weighted and clustered, and pixels in the minimal mask are assigned varying shades of transparency as a function of the color frequency. A blemish removal algorithm is applied using the minimal mask, with semi-transparent regions receiving a blend of source and patch pixel colors according to the level of transparency.
摘要:
Techniques for non-destructive automatic face-aware vignettes are described. In implementations, a request is received to generate a vignette for an image that includes face(s) or other salient object(s) or a combination faces and salient objects displayed in the image. Based on the request, a boundary can be determined that encloses the face(s) or other salient object(s) or both. Using the boundary, one or more parameters of the vignette are automatically modified to customize the vignette based on the face(s) or other salient object(s) or both displayed in the image. Then, a customized version of the vignette can be generated for the image based on the modified parameters.
摘要:
Techniques for non-destructive automatic face-aware vignettes are described. In implementations, a request is received to generate a vignette for an image that includes face(s) or other salient object(s) or a combination faces and salient objects displayed in the image. Based on the request, a boundary can be determined that encloses the face(s) or other salient object(s) or both. Using the boundary, one or more parameters of the vignette are automatically modified to customize the vignette based on the face(s) or other salient object(s) or both displayed in the image. Then, a customized version of the vignette can be generated for the image based on the modified parameters.
摘要:
A computing device is provided. The computing device includes a memory, at least one processor coupled to the memory and an action undo module executable by the processor. The action undo module is configured to receive user input requesting a target session of one or more sessions be undone. Each session of the one or more sessions includes at least one identifier of at least one tile that is affected by a respective action. The target session includes an identifier of a target action having affected one or more tiles identified in a collateral session of the one or more sessions. The collateral session includes an identifier of a collateral action. In one embodiment, the target session is lower in the first stack than the collateral session and the action undo module is configured to undo the collateral action and undo the target action.
摘要:
Techniques are disclosed for removing blemishes from a digital image by detecting pixels containing the blemishes and replacing or blending those pixels with other pixels in the image that have a relatively low probability of containing a blemish. A standard pixel mask includes a user-selected region of the image; an extended mask extends beyond the user-selected region; and a minimal output pixel mask corresponds to the user-selected region. The minimal mask increases the transparency of some regions in the standard mask while maintaining the opacity of the standard mask in the blemish areas. Colors in the extended mask are weighted and clustered, and pixels in the minimal mask are assigned varying shades of transparency as a function of the color frequency. A blemish removal algorithm is applied using the minimal mask, with semi-transparent regions receiving a blend of source and patch pixel colors according to the level of transparency.
摘要:
During operation of a program, various different editing actions can be performed on data (e.g., image or video data) in a document. The data includes multiple objects, each of which is a user-selectable element of the data, such as a line, a shape, or a filter applied to the data. A record of actions taken on objects in the data is maintained, and the actions can be undone. A document-based undo operation can be performed, which undoes the last action performed in the document. An object-based undo can also be performed, which undoes the last action performed on a selected one or more objects in the document. A document-based redo operation can be performed, which redoes the last action undone in the document. An object-based redo can also be performed, which redoes the last action undone on a selected one or more objects in the document.
摘要:
Image cropping suggestion using multiple saliency maps is described. In one or more implementations, component scores, indicative of visual characteristics established for visually-pleasing croppings, are computed for candidate image croppings using multiple different saliency maps. The visual characteristics on which a candidate image cropping is scored may be indicative of its composition quality, an extent to which it preserves content appearing in the scene, and a simplicity of its boundary. Based on the component scores, the croppings may be ranked with regard to each of the visual characteristics. The rankings may be used to cluster the candidate croppings into groups of similar croppings, such that croppings in a group are different by less than a threshold amount and croppings in different groups are different by at least the threshold amount. Based on the clustering, croppings may then be chosen, e.g., to present them to a user for selection.
摘要:
Image cropping suggestion using multiple saliency maps is described. In one or more implementations, component scores, indicative of visual characteristics established for visually-pleasing croppings, are computed for candidate image croppings using multiple different saliency maps. The visual characteristics on which a candidate image cropping is scored may be indicative of its composition quality, an extent to which it preserves content appearing in the scene, and a simplicity of its boundary. Based on the component scores, the croppings may be ranked with regard to each of the visual characteristics. The rankings may be used to cluster the candidate croppings into groups of similar croppings, such that croppings in a group are different by less than a threshold amount and croppings in different groups are different by at least the threshold amount. Based on the clustering, croppings may then be chosen, e.g., to present them to a user for selection.
摘要:
Techniques are disclosed for removing blemishes from a digital image by detecting pixels containing the blemishes and replacing or blending those pixels with other pixels in the image that have a relatively low probability of containing a blemish. A standard pixel mask includes a user-selected region of the image; an extended mask extends beyond the user-selected region; and a minimal output pixel mask corresponds to the user-selected region. The minimal mask increases the transparency of some regions in the standard mask while maintaining the opacity of the standard mask in the blemish areas. Colors in the extended mask are weighted and clustered, and pixels in the minimal mask are assigned varying shades of transparency as a function of the color frequency. A blemish removal algorithm is applied using the minimal mask, with semi-transparent regions receiving a blend of source and patch pixel colors according to the level of transparency.