发明名称 METHODS AND APPARATUS FOR DETERMINING INTERSECTIONS OF A PARTICULAR LINE WITH CELLS IN A LATTICE
摘要 <p>Disclosed are techniques for determining in a lattice a set of cells of the lattice that are intersected by a line endpoints. The techniques employ orders 1..n of runs of lattice cells to make the determination and are usable with lines whose endpoints have coordinates that may be any real number. The techniques include an initialization that derives an error term with a real number value and a structural parameter with a real number value for order 1 using the values of the coordinates of the end points and then determines the error terms and structural parameters for each order i belonging to the orders 2..n using the error term and structural parameter for order i - 1. When the first run of any orders 1..n is truncated, the initialization also adds the cells belonging to the truncated run to the set. When the initialization is finished, the remaining cells belonging to the set are determined using full runs of order n. In either the initialization or the determination using full runs, the techniques terminate when a cell is added to the set that includes the x and y coordinates of the line's endpoints. Also included is a technique for determining whether the cell that includes the x and y coordinates of the start of the line is to be included in the set of cells prior to the initialization. When the cell is so included, the relationship between the x and y coordinates of the start of the line and the x and y coordinates of the lower left-hand corner of the cell are used together with the slope of the line to obtain an error term which is used to determine the location of the next cell belonging to the set. Disclosed applications of the technique include making pixel representations of lines and determining locations in a plane that is represented by a lattice that are intersected by particular lines.</p>
申请公布号 WO2003012599(A2) 申请公布日期 2003.02.13
申请号 US2002024711 申请日期 2002.08.02
申请人 发明人
分类号 主分类号
代理机构 代理人
主权项
地址