System for fast 90-degree rotation of bi-level images
AssigneeInternational Business Machines Corporation
InventorAlbert Z. Zhao
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorAlbert Z. Zhao
Estimating the term…
A method for rotating bi-level image data plus or minus 90.degree.. An 8.times.8 pixel block is selected for rotation from the image data and, using lookup tables, an intermediate matrix is generated dynamically and stored into two 32-bit registers in the processor. Generation of the intermediate matrix partially rotates and stores the odd-numbered rows from the block of data in the first 32-bit register and the even-numbered rows from the block in the second 32-bit register. The first and second registers are copied, respectively, into third and fourth 32-bit registers. The first and second registers are then shifted one bit in opposite directions. The first register is logical ORed with the fourth register, and the second register is logical ORed with the third register so that the even bits are replaced in one register and the odd bits in the other. These steps are repeated for all remaining blocks of image data.
In a 32-bit operating system, a method of rotating by 90.degree. a block of bi-level image data having 8 rows by 8 columns of pixel data bits, comprising the computer implemented steps of:
In a 32-bit operating system, a method of rotating a bi-level image by 90.degree., comprising the computer implemented steps of:
A 32-bit system for operating a block of bi-level image data having 8 rows by 8 columns of pixel data bits, comprising:
Dependencies are inferred from the claim text.