发明名称 Image processing apparatus and method for generating stencil data of a stroke based on shape information, connection-point information, and end-point information
摘要 An image processing apparatus renders a stroke formed by paths. A first obtaining unit obtains shape information representing a shape of a path, a second obtaining unit obtains end-point information representing a modification method for an end point, and a third obtaining unit obtains line-width information representing a line-width of the stroke. A generation unit generates stencil data of the stroke based on the shape, the line-width, and the end-point information. The generation unit includes a first generator to generate basic stencil data by fattening the path represented by the shape information based on the line-width information, and a second generator to generate end-point stencil data based on the end-point information. The generation unit merges the end-point stencil data into the basic stencil data in generating the stencil data. The end-point information represents one of a butt, a square, and a round as the modification method for the end point.
申请公布号 US9202148(B2) 申请公布日期 2015.12.01
申请号 US201414340866 申请日期 2014.07.25
申请人 CANON KABUSHIKI KAISHA 发明人 Takeichi Shinya
分类号 G06K1/00;G06K15/02 主分类号 G06K1/00
代理机构 Fitzpatrick, Cella, Harper & Scinto 代理人 Fitzpatrick, Cella, Harper & Scinto
主权项 1. An image processing apparatus for rendering a stroke formed by paths, the apparatus comprising: (a) a first obtaining unit configured to obtain shape information representing a shape of a path; (b) a second obtaining unit configured to obtain end-point information representing a modification method for an end point of the stroke; (c) a third obtaining unit configured to obtain line-width information representing a line-width of the stroke; and (d) a generation unit configured to generate stencil data of the stroke based on the shape information, the line-width information, and the end-point information, wherein the generation unit comprises: (i) a first generator configured to generate basic stencil data by fattening the path represented by the shape information based on the line-width information; and(ii) a second generator configured to generate end-point stencil data based on the end-point information, wherein the generation unit merges the end-point stencil data into the basic stencil data in the generation of the stencil data, wherein the end-point information represents one of a butt, a square, and a round as the modification method for the end point, wherein the first generator creates a figure having four vertices with respect to each of the paths forming the stroke based on the shape information and the line-width information, and fills an inside of the figure to generate basic stencil data in which the modification method for the end point is the butt, wherein, in a case when the end-point information represents a modification method other than the butt, the second generator generates end-point stencil data based on the end-point information, and merges the end-point stencil data into the basic stencil data, and wherein at least one of the first obtaining unit, the second obtaining unit, the third obtaining unit, and the generation unit is implemented using a processor.
地址 Tokyo JP