摘要:
A computer implemented method includes receiving, by a computer, a plurality of objects, each object in the plurality having one or more associated attributes and an associated visual representation, wherein a sequential arrangement of the plurality of objects is specified based on the one or more associated attributes. The method includes defining a path according to a space-filling curve. The method includes determining that a visual representation of a first object in the sequential arrangement has a shape that is incompatible with a current position on the path. The method includes responsive to the determining, reordering the sequential arrangement, including assigning at least one visual representation of a second object to the current position on the path. The method includes assigning the visual representation of the first object to a subsequent position on the path with which the shape is compatible.
摘要:
Methods, systems, and apparatus, including computer program products, featuring receiving user input defining a sample of pixels from an image, the image being defined by a raster of pixels. While receiving the user input, the following actions are performed one or more times: pixels are coherently classified in the raster of pixels as being foreground or background based on the sample of pixels; and a rendering of the image is updated on a display to depict classified foreground pixels and background pixels as the sample is being defined.
摘要:
An example method includes receiving a first selection location and at least one selection parameter with respect to digital data. A portion of the digital data is selected relative to the first selection location. The selecting of the portion includes assigning an energy value to each pixel within a selection proximity of the selection location. The selection proximity is determined based on the selection parameter and the energy value being a function of distance from the selection location. The selecting of the portion further includes generating a selection value for each pixel within the selection proximity, based on the assigned energy value and on a pixel characteristic difference between the relevant pixel and at least one neighboring pixel. The selection value determines whether the relevant pixel is included in the selected portion of the digital data.
摘要:
A system to perform modifications, or adjustments, to a digital image includes an interface component to receive selection input to enable selection of the digital data to be modified. A detector then detects a characteristic of the digital data. A configurator automatically configures a function, supported by a data modification component, to modify the digital data. The automatic configuration of the function is performed using the detected characteristic of the digital data to be modified.
摘要:
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.
摘要:
Methods and systems, including computer program products, for determining a plurality of color clusters based on a plurality of pixels associated with a color image, the clusters being fewer than the pixels. A grayscale value for each one of a plurality of points in a color space is determined. Each grayscale value is based on a weighted average of target differences between each point and the clusters. Each of the pixels is associated with one or more of the points. A grayscale value for each pixel is identified based on the grayscale value of the associated one or more points.
摘要:
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.
摘要:
A digital image that includes first and second regions is processed. An intrinsic color of a given pixel located in an area of interest that is adjacent to at least one of the first and second regions is estimated by extrapolating from colors of multiple pixels in one of the first and second regions and multiple pixels in the other of the two regions.