摘要:
Methods, systems and apparatus, including computer program products, for processing an image. A first tone value is determined for a location within the image based upon attributes of pixels within a first neighborhood surrounding the location. The first tone value specifies a local weight for a first tone adjustment in the image. A second tone value is determined for the location based upon attributes of pixels within a second neighborhood surrounding the location. The second tone value specifies a local weight for a second tone adjustment in the image. The image is adjusted at the location using the first and second tone adjustments according to the local weights specified by the first and second tone values, respectively.
摘要:
A user identifies an area of a digital canvas. Color gradients are determined based on a corresponding area on a reference. Brush strokes are applied in the area of the digital canvas, the brush strokes having trajectories based on the color gradients.
摘要:
Methods and apparatus, including computer program products, implementing techniques for identifying one or more objects within an image. The techniques include receiving an image that includes at least one object; identifying a plurality of edge pixels in the image, an edge pixel being a pixel that borders two contrasting areas of the image, the plurality of edge pixels including both inner edge pixels and outer edge pixels; and finding a substantially connected component correlated with each object, the substantially connected component comprising a set of the edge pixels that are connected by traversing substantially only edge pixels.
摘要:
A method, system, and computer-readable storage medium are disclosed for combining raster image masks in a digital image. A first raster image mask may be generated that comprises a first set of one or more pixels having a first intermediate value for membership in the first raster image mask. A second raster image mask may be generated that comprises the first set of one or more pixels having a second intermediate value for membership in the second raster image mask. The first raster image mask and the second raster image mask may be combined to generate a third raster image mask, wherein a boundary of the third raster image mask is not greater than a combined boundary of the first raster image mask and the second raster image mask.
摘要:
Methods and apparatus implementing a technique for adjusting the color of pixels in an image. The technique includes identifying a target region of pixels in the image that represent an object, the object having a shape and a predefined set of features; and adjusting the color of one or more pixels in the target region by an amount determined based on one or more probability functions and one or more spatial profile functions, each probability function defining a probability value at each of the one or more pixels in the target region, the probability value representing the probability that the pixel corresponds to one or more features of the object, each spatial profile function being defined based on one or more spatial properties of the object or one or more of its features.
摘要:
Systems and techniques for blending image data such that noise, texture and/or high-frequency data may be better preserved in a resulting blended image. In general, in one implementation, the techniques include combining a first image region and a second image region to form a blended image region having a neighborhood mean and a neighborhood variance, at each of multiple points in the blended image region, that are linear blends of corresponding neighborhood means and variances from the first and second image regions using a common blending parameter.
摘要:
Methods, systems, and apparatus, including computer program products feature identifying a first plurality of pixels in a raster image as foreground pixels and a distinct second plurality of pixels in the raster image as background pixels. Each of the foreground and background pixels have a respective color value. The color values of the foreground pixels and the color values of the background pixels are used to solve for a color model of opacity. The color model of opacity is used to determine an opacity value for a pixel in the raster image.
摘要:
Methods and apparatus, including computer program products, for detecting an object in an image. The techniques include scanning a sequence of pixels in the image, each pixel having one or more property values associated with properties of the pixel, and generating a dynamic probability value for each of one or more pixels in the sequence. The dynamic probability value for a given pixel represents a probability that the given pixel has neighboring pixels in the sequence that correspond to one or more features of the object. The dynamic probability value is generated by identifying a dynamic probability value associated with a pixel that immediately precedes the given pixel in the sequence; updating the identified dynamic probability value based on the property values of the immediately preceding pixel; and associating the updated probability value with the given pixel.
摘要:
Among other disclosures, a method includes associating an initial work area corresponding to a portion of graphical data with a graphical editing tool, receiving a request indicating a change in editing mode to use of the graphical editing tool, determining an active work area based on the initial work area associated with the graphical editing tool, and selecting the active work area, at least initially, for editing using the graphical editing tool.
摘要:
Methods and apparatus for creating bokeh effects in digital images. A bokeh technique is described that may provide double threshold image bokeh boosting. The bokeh effect may be controlled by a boost amount, an upper threshold value, and a lower threshold value. Colorfulness may be added to the bokeh effect applied to specular highlights according to a variable colorfulness value. A soft threshold may be implemented that results in most but not all energy of the boosting of the intensity falling between the upper and lower threshold values. The bokeh technique may achieve creative bokeh effects in digital images by simulating bokeh in the resultant blurred image. The bokeh technique may, for example, be used in combination with any of various blur patterns, and also may be used with combinations of two or more blur patterns.