摘要:
A method converts an outline character to a stylized stroke character by first identifying regions of the outline character, wherein each region is closed and disjoint. For each region, candidate locations for stroke bodies and terminals of the stylized stroke character are determined. The stroke bodies are then initialized and organized into a hierarchical tree stricture, and modified in an order of the hierarchical tree structure. End positions of the modified stroke bodies are then adjusted to match the outline character, and lastly, the terminals are selected for the adjusted stroke bodies.
摘要:
A method generates a distance field of an object, where the distance field includes a set of cells and the object includes a set of stylized strokes. Each stylized stroke includes a centerline, a set of profiles, and a set of terminals. A processor is included for performing steps of the method. A first cell of the set of cells enclosing the object is determined. An outside reconstruction method is associated with the first cell. For each stylized stroke, centerline cells of the set of cells are determined, where each centerline cell encloses a portion of the centerline of the stylized stroke. A centerline reconstruction method is associated with each centerline cell. For each terminal of each stylized stroke a terminal distance field is generated, the terminal distance field including a terminal reconstruction method. Reconstructed distances are determined using the reconstruction methods to generate the distance field of the object.
摘要:
A method performed on a processor reconstructs a distance field of an object at a sample point, where the object is a swept volume generated by moving a shape along a path. The shape is represented by a shape distance field. The path is represented by a parametric function. Distance data at the sample points is determined, where the distance data characterizes the distance field of the object at the sample point. An optimal set of parameters defining an optimal placement of the shape along the path is determined in a continuous manner. The shape distance field is transformed to the optimal placement to produce a transformed shape distance field. The distance data is determined at the sample point from the transformed shape distance field to reconstruct the distance field at the sample point.
摘要:
A method is described for modeling interactions between models. A first adaptively sampled distance field having a first spatial hierarchy for a first model is generated, and a second adaptively sampled distance field having a second spatial hierarchy for a second model is generated. During each time step, a potential overlap region is determined using the spatial hierarchies of the first and second adaptively sampled distance fields. When the potential overlap region is non-empty, a third adaptively sampled distance field is generated from the first and second adaptively sampled distance fields using a first interaction procedure and first properties and a fourth adaptively sampled distance field is generated from the first and second adaptively distance fields using a second interaction procedure and second properties to model the interactions between the first and second models.
摘要:
A method generates a two-dimensional distance field from a pen stroke. A pen state is sampled during the pen stroke to generate an ordered list of pen states along the pen stroke. The pen state includes a location of the pen stroke. A set of boundary descriptors is generated from the ordered list of pen states. The two-dimensional distance field is generated from the set of boundary descriptors.
摘要:
A camera generates a textured range image. The camera includes a single lens, and a flash substantially co-located with the lens. The camera acquires a first image of a scene from a point of view with ambient light, and a second image of the scene from the point of view with direct light of the flash. The first image and the seconds image are then combined by a divider to generate the textured range image.
摘要:
A method generates a distance field for a region of a shape descriptor representing an object. The distance field includes a set of cells for which cell types are defined. A configuration of a set of cells for the region is generated. Each cell of the configuration includes a cell type and a method for reconstructing the distance field within the cell. The configuration of the set of cells is modified until an optimal configuration is reached. The modification is based on the shape descriptor, the region, and the set of cell types. The optimal configuration of the set of cells is stored in a memory to generate the distance field for the region. Another method generates a two-dimensional distance field within a cell associated with a two-dimensional object. A set of boundary descriptors for the two-dimensional object is determined and partitioned into a set of segments. The segments are delimited by a set of features of the boundary descriptors. A first and second segment associated with the cell are identified. First and second sets of distance values using the first and second segments are specified. A method for reconstructing the distance field within the cell, using the first and second sets of distance values, is defined. The first and second sets of distance values and the reconstruction method are stored to enable reconstruction of the distance field within the cell by applying the reconstruction method.
摘要:
A method generates a two-dimensional distance field within a cell associated with a corner of a two-dimensional object. A set of boundary descriptors for the two-dimensional object is determined. A corner point in the cell is identified from the set of boundary descriptors. The corner point represents the corner of the object. The corner point partitions the set of boundary descriptors into two subsets. The cell is partitioned into two regions where one region is closest to the corner point and the other region is closest to the set of boundary descriptors. Two lines passing through the corner point are determined such that each line corresponds to one of the two subsets of boundary descriptors. These lines delimit the two regions. A set of values and a method using the two regions are specified for reconstructing the distance field within the cell. The corner point, the lines delimiting the two regions, the reconstruction method, and the set of values are stored in a memory to enable reconstruction of the distance field within the cell by applying the reconstruction method.
摘要:
A method typesets a set of glyphs. A current glyph is selected from the set of glyphs and a current position of the current glyph is selected. A next position of a next glyph is determined, where the next glyph is selected from the set of glyphs. The determination of the next position of the next glyph first represents the current glyph as a two-dimensional distance field and then determines the next position using the current position, an escapement of the current glyph, and an alignment of the two-dimensional distance field. The current glyph is then updated to be the next glyph and the current position is updated to be the next position. The selection of the next glyph and the determination of the next position continue until a termination condition is satisfied.
摘要:
A method determines a distance from a 3D point to a 3D surface from a 2D projected range image. A projected distance and a cliff distance from the 3D point to the 3D surface are determined using the projected range image. The projected distance and the cliff distance are then combined to determine the distance from the 3D point to the 3D surface.