计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2013年
17期
143-145,173
,共4页
直线扫描转换%区域取样%扫描线%重叠面积
直線掃描轉換%區域取樣%掃描線%重疊麵積
직선소묘전환%구역취양%소묘선%중첩면적
line scan conversion%area sampling%scan line%overlapping area
区域取样是最简单的反走样方法,将其应用于直线的扫描转换中,通过计算像素与直线重叠面积改变像素的颜色,以达到直线反走样的目的。针对区域取样中的重叠面积计算,提出基于扫描线的重叠面积计算方法,利用扫描线的连续性和直线图元的连续性,将重叠面积转换为扫描线被直线所截线段长度的叠加,克服了传统重叠面积计算方法效率低的问题。该方法为区域取样的重叠面积计算开辟了新的思路。
區域取樣是最簡單的反走樣方法,將其應用于直線的掃描轉換中,通過計算像素與直線重疊麵積改變像素的顏色,以達到直線反走樣的目的。針對區域取樣中的重疊麵積計算,提齣基于掃描線的重疊麵積計算方法,利用掃描線的連續性和直線圖元的連續性,將重疊麵積轉換為掃描線被直線所截線段長度的疊加,剋服瞭傳統重疊麵積計算方法效率低的問題。該方法為區域取樣的重疊麵積計算開闢瞭新的思路。
구역취양시최간단적반주양방법,장기응용우직선적소묘전환중,통과계산상소여직선중첩면적개변상소적안색,이체도직선반주양적목적。침대구역취양중적중첩면적계산,제출기우소묘선적중첩면적계산방법,이용소묘선적련속성화직선도원적련속성,장중첩면적전환위소묘선피직선소절선단장도적첩가,극복료전통중첩면적계산방법효솔저적문제。해방법위구역취양적중첩면적계산개벽료신적사로。
Area-sampling is the simplest method for line anti-aliasing. Applied to the line scan conversion, it determines the pixel color by calculating the overlapping area between the pixel and the straight line to achieve the line anti-aliasing. In view of the overlap calculation, a new computational method based on the scan line is presented in this paper. Utilizing the continuity of both the scan line and the linear primitives, the method turns the overlap area into the sum of the length of the segments cut by the straight line from the scan line, and overcomes the problem of low efficiency of the traditional overlapping area calculation method. The method opens a new way for the overlapping area computation in the area-sampling.