发明名称 Line stroking method and system
摘要 A method for generating an outline for a stroked line of specified width from an input line (601) defined by a vector having two input points (P0, P1) is disclosed. The method comprises the steps of: determining an offset vector based on the vector, the offset vector having components [Xoff, Yoff]; determining a first set of two pairs of points (L1, L2 and R1, R2) based on the offset vector applied to the two input points (P0, P1); and determining a second set of two pairs of points (L0, L3 and R0, R3) based on the first set of points (L1, L2 and R1, R2). The second set of two pairs of points (L0, L3 and R0, R3) defines at least a portion of the outline and one of the components of the offset vector [Xoff, Yoff] is independent of the inclination of the vector and the specified width.
申请公布号 US8907956(B2) 申请公布日期 2014.12.09
申请号 US200912500444 申请日期 2009.07.09
申请人 Canon Kabushiki Kaisha 发明人 Cao Cuong Hung Robert
分类号 G06T11/20 主分类号 G06T11/20
代理机构 Fitzpatrick, Cella, Harper & Scinto 代理人 Fitzpatrick, Cella, Harper & Scinto
主权项 1. A method performed by a raster-graphics imaging apparatus, including a memory and a processor coupled to the memory, which generates an outline for a stroked line of a specified width in a digital image, the method comprising the steps of: based on an input line defined by an input vector that has two input points, determining, with the processor, an offset vector, the offset vector having components [Xoff, Yoff]; calculating, with the processor, a first set of two pairs of points based on the offset vector applied to the two input points of the input vector; and computing, with the processor, a second set of two pairs of points based on the first set of points; and storing the two sets of two pairs in the memory of the raster-graphics imaging apparatus, wherein the second set of two pairs of points define at least a portion of the outline, and one component of the offset vector [Xoff, Yoff] is independent of the inclination of the input vector and the width specified for the stroked line.
地址 Tokyo JP