发明授权
- 专利标题: Method to rotate a bitmap image 90 degrees
- 专利标题(中): 旋转图像90度的方法
-
申请号: US453738申请日: 1989-12-20
-
公开(公告)号: US5111192A公开(公告)日: 1992-05-05
- 发明人: Vinod K. Kadakia
- 申请人: Vinod K. Kadakia
- 申请人地址: CT Stamford
- 专利权人: Xerox Corporation
- 当前专利权人: Xerox Corporation
- 当前专利权人地址: CT Stamford
- 主分类号: G06T3/60
- IPC分类号: G06T3/60
摘要:
An algorithm for rotating an image 90 degrees starts with an array or r rows and c columns of pixels. Each column of the pixel array is partitioned into words of w pixels each, and the rows, the columns, the words in each column, and the pixels in each word of the pixel array are all numbered starting at zero. Let v= r/w , where r/w is the smallest integer greater than or equal to r/w. Similarly, let h- c/w . The algorithm stores words of the original pixel array into a linear word organized memory as follows: it circular right-shifts each word i of column j by (j)mod w pixel positions and then writes in parallel this modified word into word address vj+i of the memory. The algorithm fetches words of the stored pixel array from this memory rotating this pixel array 90 degrees as follows: it reads a whole word in parallel such that each pixel p of this word comes from pixel p of word address wvi+v((p+j+1)mod w)+ wv-j-1/w) and then circular right-shifts this word by (j+1)mod w pixel positions, thereby delivering word i of column j of a 90 degree rotated version of the original pixel array.
公开/授权文献
- US5677021A Article forming system 公开/授权日:1997-10-14
信息查询