CA2027458A1 - Method to rotate a bit map image 90 degrees - Google Patents
Method to rotate a bit map image 90 degreesInfo
- Publication number
- CA2027458A1 CA2027458A1 CA002027458A CA2027458A CA2027458A1 CA 2027458 A1 CA2027458 A1 CA 2027458A1 CA 002027458 A CA002027458 A CA 002027458A CA 2027458 A CA2027458 A CA 2027458A CA 2027458 A1 CA2027458 A1 CA 2027458A1
- Authority
- CA
- Canada
- Prior art keywords
- word
- image
- buffer
- pixel
- pixels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/60—Rotation of a whole image or part thereof
- G06T3/602—Block rotation, e.g. by recursive reversing or rotating
Abstract
ABSTRACT
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 intowords of w pixels each, and the rows, the columns, the words in each column, andthe pixels in each word of the pixel array are all numbered starting at zero. Let v =
rr/w1, where rr/w1 is the smallest integer greater than or equal to r/w. Similarly, let h = rc/wl.
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.
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 intowords of w pixels each, and the rows, the columns, the words in each column, andthe pixels in each word of the pixel array are all numbered starting at zero. Let v =
rr/w1, where rr/w1 is the smallest integer greater than or equal to r/w. Similarly, let h = rc/wl.
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.
Description
D~88 1 46 Bac qround Of The Invention This invention is a circuit for rotating a digital image by multiples of ninety degrees by transferring the original image from memory, a raster input scanner or the like, into a buffer using a first addressing and shifting process, and using a second addressing and shifting process to read out from the buffer back into the memory, raster output scanner or the like, so that the image is rotated, all bits of each word being transferred to and from the buffer in parallel.
The representation of a visual image by a two-dimensional array is well known. Such an array is typically composed of rows and columns of picture elements, termed pixels. Such a pixel may represent the color or density of a spot of the total image, and can be one or a number of binary bits or words, or analog voltages. Aprincipal advantage of this representation is that it allows image processing systems to handle pixels one at a time, rather than to try to handle the whole picture all at once. For systems which transmit, display or print images from pixels, the usual one-at-a-time pixel order is a scheme called "raster ordering". In raster ordering, a pixel array is divided into scan lines corresponding to its columns (or to its rows), and pixels are sequentially accessed in the same direction along each scan line, starting with the first scan line along one edge of the pixel array and continuing with the next adjacent scan line until all the scan lines have had their pixels accessed. To increase the performance of image processincJ systems, each scanline of a pixel array is often partitioned into fixed-size subsets of adjacent pixels, called nwords", the word size being a constant over the entire pixel array. In such systems an entire word is transferred or stored at a time. Memory subsystems for storing an entire word of pixels in parallel this way are called "word organized memoriesn. Storing a pixel array in raster order into a linear word organized memory results in the words of each scanline occupying consecutive word addresses and the scanlines of the array abutting end to end.
It is a common requirement in digital document processors that a page that is scanned into the system in one orientation be printed out in another. An example would be a scanned-in image which was stored in the system in the "landscape" mode, but must be printed in the "portrait" mode. In this case, it is easier for the operator to rotate the image electronically than to re-scan the image, and is the only way if the original is no longer available. Also, in many systems, the image is displayed to the operator for editing on a display which uses horizontal scan lines and then printed on a printer which uses vertical scan lines. The result is that a printing system needs to be able to create rotated and unrotated images at any stage of processing. However, because of the memory order, the parallel fetch ofadjacent pixels along a scanline is easier to accomplish than the parallel fetch of adjacent pixels perpendicular to the scanlines. For example, in a typical memory of sixteen bit words, the first sixteen bit word of an image is loaded into the first bit of the first sixteen memory chips, the second word is loaded into the second bit of the sixteen memory chips, etc. Therefore, if a line comprising bits in the direction of the word length is needed to be output, sixteen bits at a time may be accessed in parallel since each bit is in a different memory chip. However, if the line is perpendicular to the word length, then the individual bits are all in the same chip and can only be accessed serially, which is a very slow process in comparison.
The difficulty of word-parallel access to both the rows and columns of a stored pixel array has presented a considerable challenge to the prior art. Image processing systems have often needed to change the scan direction or image orientation of a pixel array by 90 degrees. Some approaches, like those of US Pat.
Nos 3,976,982, and 4,562,485 use slow one-pixel-at-a-time access. Other approaches store a pixel array into memory and then incur a delay by performing a separate conversion process to change the pixel array into a stored 90 degree rotated version before transmitting, displaying or printing it. Many of these approaches do this by transferring small subsets of the pixel array at a time to a separate rotator, as in U.S.
Pat Nos.4,052,699,4,168,488,4,271,476. 4,593,407,4,627,020,4,636,783 and also the system described by Kornfeld in "The image Prism: A Device for Rotating and Mirroring Bitmap Images", IEEE Computer Graphics and Applications, May 1987.
Thus, all of the store-and-convert approaches require at least one additional fetch and store of the entire pixel array after its initial storage in memory.
What is required is a rotation method which needs only one data transfer into the buffer and only one data transfer out of the buffer, and where these two data transfers operate on entire words in parallel.
Summary Of The Invention An image can be rotated using all parallel transfers of data words only if all bits of the original data words in each row are put into different chips and all bits in each column are also put into different chips. Then, by appropriate addressing, either horizontal or vertical strips of the original image can be output in parallel from the buffer.
The system for accomplishing this can be explained, to use a simple numerical example, by taking a string of data words as tl-,ey are received from any source, shifting word ~0 by zero bits, word # 1 by one bit, word i~ 2 by two bits, etc.
and then loading them into the buffer. The shift is of the circulating type, where a bit that falls off the end of the word is inserted in at the beginning. All the bits in an image line in the direction of the word are still in different chips, but also, all the bits in an image line perpendicular to the word length are now also in different chips.
Then, by addressing the appropriate bit in each buffer chip properly, either horizontal or vertical word length lines may be taken out of the buffer in parallel, shifted again and output as a rotated image. For the shifts, a parallel shifter is used so that a shift of from O to 15 bits can be accomplished in one clock cycle.
Brief Description of the Drawinqs Fig 1 is an image as it is received by the rotation circuit.
Fig 2 is an image as it is stored in the buffer.
Fig 3 is an image as it is accessed from the buffer.
Fig 4 is an image in its rotated form.
Fig 5 is a diagram showing the contents of the various address fields required bythe rotation circuit.
Fig 6 is a simplified schematic diagram of the rotation circuit.
Fig 7 is a simplified schematic of the parallel shifter.
D/~8 1 4G
Detailed Description of the Invention Figs 1, 2 and 4 show, respectively, an originai image in the form of a right angle as would be received from memory or a scanner, a buffer containing an intermediate image in a form that can be rotated any multiple of 90 degrees, including 0 degrees, and the rotated image as would be sent back to memory. For simplicity, the buffer is shown as 4 by 4 bits and there are 4 bits per word, but this algorithm will work for a system of any size. Also, for greater ease of understanding, the unrotated image is shown as coming from a memory, and the rotated image is shown as being output to a memory, but, as explained above, the image can be received from any source, and transmitted to any type of device. These figures assume a vertical scanline so that the words 0, 1, 2 and 3 of Fig 1 are the words in the left column, from bottom to top, as shown. The next scan line starts with words 4, 5, etc. These Fig 1 word addresses are referred to as virtual fill addresses because they do not identify actual memory addresses, and because these are the numbers that are used by the algorithm to generate the addresses of locations which are used to fill the buffer.
To rotate the image, the first step is to shift and transfer each word of the original image to the buffer. One of the key features of this invention is that the words do not need to be loaded into or unloaded frorn the buffer in any particular order. Aiso, any subset block of words can be processed independently of the rest of the image. For example, let us consider the processing of words 18, 22, 26 and 30 which constitute one 4 by 4 bit block of an image that must be rotated 90 degrees CCW. The four bits (00,01,02,03) of word 18 comprising the original vertical line are shifted up 0 bits in a recirculating shifter and loaded into the same location, 18, of the buffer . Next,the bits(10,11,12,13) of word 22 are up shifted one bitand loaded buffer word 22 . Next, word 26 is shifted 2 bits and loaded into word 26 of the buffer. Finally, word 30 is shifted 3 bits and loaded into location 30 of the buffer.
Now, as shown, not only is each bit of each original vertical line loaded into adifferent chip, but also each bit of each original horizontal line is also loaded into a different chip. Therefore either the original horizontal or vertical lines can now be accessed from the buffer in parallel.
D/~146 The second step is to read the bits from the buffer of Fig 2, shift them the appropriate number of bits, and load them into, say, a memory, Fig 4, as a rotated image. Note that the original image of Fig 1 is four words high and three words wide. If the entire image is rotated 90 degrees the resultant image will be three words high and fourwords wide, as shown in Fig 4.
This portion of the algorithm can be thought of as comprising two steps, the first being the assembling the bits of each word, resulting in the image of Fig 3, and the second being the shifting of those bits within the word to result in theimage of Fig 4.
Q ( I ' "' ^ Let us use word 13 o,;~Fig 3 as an example. The bits or pixels req,~/ed are 13, 23l/33 and 03, which correspond to bit 0 of word(13)bit 1 of word 2i~bit 2 of word~ and bit 3 of word ~)of Fig 2. Each is in a separate buffer chip so all can be addressed and accessed at once, in parallel, and output as word #13. The remaining three word transfers are similarly accomplished to produce the 4 x 4 bit block shown in Fig 3.
Finally, an up shift is required to complete the rotation. Words 13, 16, 19 and 22 are shifted up 1, 2, 3 and 0 bits respectively. The result is shown in Fig 4 as the completly shifted image. The result of the entire algorithm is a rotated image, as shown, resulting from two parallel transfers and two shifts. Since the shifts are also done using a parallel shifter, to be discussed below, the entire rotation is done using paraliel operations.
A similar addressing technique can be used to rotate the image 270 degrees during the transfer between the buffer of Fig 2 and the memory of Fig 4. A
shift of 0 degrees is done simply by shifting the words in the buffer back to their original form and outputting them to the memory. Note, since each rotated word is accessed from the buffer, shifted and loaded directly into the memory, there is no storage device having the image of Fig 3. This figure is only produced here as an aid in understanding the invention.
This system may be generalized using mathematical notation as follows:
An algorithm for rotating an image 90 degrees starts with an array of r rows and c columns of pixels. In Fig 2, for example there are 16 rows and 12 columns D/8~146 so r= 16 and c = 12 Each column of the pixel array is partitioned into words of w pixels each, and the rows, columns, words in each column, and the pixels in eachword of the pixel array are all numbered starting at zero. In Fig 3 there are 4 bits per word so w = 4.
In fact, in the most general case, the buffer word size need not coincide with the image data word size. For example, if five bit image data words were to be stored in a sixteen bit buffer memory, it would take one memory word (16 bits )to store three data words (15 bits) and two memory words (32 bits) to store four data words (2û bits).
Also, the image dimensions need not be whole number multiples of the memory word size. Mathematicaly stated, let v, the vertical dimension of memory in words, equal rr/wl~ where rr/wl is the smallest integer greater than or equal to r/w.
Similarly, let h, the horizontal dimension of memory, equal rc/wl In Fig 2 v = 4 and h = 3 .
The algorithm stores words of the original pixel array as shown in the example of Fig 1 into a linear word-organized buffer memory as shown in Fig 2 asfollows: it circular right shifts each word i of column j by (j) mod w pixel positions and then writes the bits of this modified word in parallel into word address vj + i of the buffer memory. To use a numerical example based on Figs 1 and 2, the words to be stored in column 0 are shifted 0 bits, column 1, 2 and 3 words are shifted 1, 2 and 3 bits respectively, and the words in column 4 start at 0 again. These 5 words are then are stored into the first 5 locations of memory which are the 4 locations of col 0 and the first location of column 1.
The next step in the algorithm is to fetch each word of the stored pixel array in parallel from the buffer so that each pixel p in Fig 3 comes from each pixel p in Fig 2 of word address wvi + v((p + j + 1 )mod w) + L (wv-j-1 )/wJ
Still using the example of Fig 3, this reduces to 16i + 4((p+j+1)mod4) + L(15-j)/4J) As a numerical example, for bit 02 in column 5 of Fig 3: p, the pixel number in the word, equals 2 i, the word number in the column, equals 1. And j, the Di88 l ~16 ,., column number, equals 5. Substituting all of the constants of Fig 2 and the variables of Fig 3 into the above equation yields an answer of 18. That is, pixel 2 of word 16 of Fig 3 must be accessed from the same pixel (2) of word 18 of Fig 2.
The final step is to shift this word up two bits before outputting to the memory of Fig 4.
The equations above describe the algorithm mathematically, but if h, v, and w happen to be whole number powers of 2, then the addresses can also be generated in software or in hardware by masking and shifting bits. An example of a system for performing this process is shown in Fig 5 which assumes an original image having 16 one-bit pixels per word, 1,024 words per scan line and 256 scan lines.Therefore, to identify any input word within the allowable image size requires an 18 bit address (17:0). The words in this entire image are arbitrarily assigned addresses starting from 0, rather than using the actual addresses in memory, and are therefore referred to as "virtual" addresses, and are used to "fill" the buffer. Fig 5 shows the virtual fill address (VFA) as 18 bits (17:0).
The buffer is implemented from 16 chips, each having 256K bits.
Therefore, the address of each bit in each chip, and the address of each word in the buffer, is also an 18 bit word. This address is called a real fill address since it is the address of an actual buffer location, and is used to fill the buffer. As shown in Fig 5 the virtual fill address and the real fill address which are used to fill the buffer are identical.
Each word to be transferred must also be shifted before being stored in the buffer. In this example, the shifts range from û to 15 bits, and are therefore defined by a 4 bit number, referred to as the data right-cycle distance in Fig 5.
Assuming that the original image has 1,024 words per scan line, then the 10 least significant bits of the address, bits 9:0, comprise the number of the word in the scan line, and the next 4 bits, 13:10, comprise the least significant 4 bits of the scan line number, which is also the number of shifts required. Therefore bits 13:10 of the VFA
are shown as the right-cycle distance in Fig 5.
D!88l46 i., To transfer a word of data out from the buffer, first the output word number must be picked. The word number is 18 bits in this example, and is referred to in Fig 5 as the virtual dump address, VDA(17:0). For the purposes of image rotation, this VDA can be thought of as uniquely selecting a 16-bit word of a 90degree rotated version of the original image. This rotated image would now have 16 words per scan line and 16,384 scan lines. Thus, the least significant 4 bits of the VDA, bits 3:0, would be the number of the word in one of these new scan lines, and the most significant 14 bits, bits 17:4, would be the scanline number. The locations in the buffer from which 16 bits of data must actually come is referred to in Fig 5 as the real dump address and is assembled as follows: The most significant bits (17:14) are taken from the VDA(3:0), the next four bits are the VDA(7:4) plus the pixel number R plus 1, and the least significant 10 bits are the VDA(17:8) inverted. Sixteen of these addresses must be assembled,-o-ne for each bit, in order to read the data out The final circular right shift distance of O to 15 bits is assembled as VDA(7:4)+1.
The above fields can be the basis for a program to fetch and shift the image words or can be used to drive a circuit which generates the actual addresses, a diagram of which is shown as Fig 6. The input is the 18 bit virtual dump addressbroken into fields as shown. In all cases, if the image is not to be rotated the lower group of signals is selected in all of the 2-to-1 multiplexors, while the upper group is selected for a 90 degree rotation. For each 16-bit by 16-bit aligned block of either the original or rotated image there are going to be 14 address bits in common. These are output by the 14 bit multiplexer The remaining four bits of the addresses for each chip will be the same for each chip in the unrotated case, and different for each chip in the rotated case For the unrotated case, the remaining 4 bits 13:10 remain unchanged and are applied to the lower half of each 4 bit multiplexer to provide the remaining address bits For the rotated case, the bit addresses will be different for each chip. This is accomplished by starting with bits 7:4 of the input address, and providing sixteen 4 bit adders, each generating a sum of a number between O and 15 and the four bit address field The output of each is used as the rotated address input to the sixteen 4 bit multiplexers.
D,~8146 Fig 7 is a simple schematic diagram of the first 6 bits of the first three multiplexers of one possible sixteen bit parallel cyclic shifter which can shift a 16 bit word any number of bits in one clock cyc!e. The first six bits of the input word are represented by the letters A through F, and are applied to input pins 0 through 5 of all multiplexers. The address input to each multiplexer is applied through an adder that adds the constants 0, 1, 2... to the number n of shifts required. Thus, if n = 2, the first multiplexer will select pin 2, the second will select pin 3, the third will select pin 4, etc. Therefore the output word CD~F is shifted two bits from the input word ABCD
in one clock cycle.
Fig 14 shows the eight eight possible orientations of an image. As has been explained above, the original unrotated image 1 may be rotated 90 degrees to generate example 5, or may be rotated 27û degrees to generate example 2. Also, the original image may be output by reversing the steps in the loading process. The 180 degree rotation, example 6, can be accomplished as shown in Fig 11. In this case the words are read out in reverse order. Therefore, as shown, the last word of the upper block of the original image becomes the first word of the lower block of the rotated image. In addition, the pixels must be reversed. This is accomplished simply by transferring the word through a pixel shifter as shown in Fig 9. The top pixel of the input register on the left is hardwired to the bottom location of the register on the right, the remaining pixels being wired similarly as shown. The result of this process of scanning and shifting is a rotation of 180 degrees.
A mirror image, where the image is reversed left for right, as shown in Fig 14 examples 1 and 3, can be created using the process shown in Fig 8. Here the scan lines are read out in the reverse order that they are received in. The first column input is used as the last column output, etc.
A mirror image, where the image is reversed top for bottom, as shown in Fig 14 examples 1 and 8, can be created using the process shown in Fig 10. Here the scan lines are read out in the regular order but within each column the words are reversed from bottom to top, and the pixel order within each word is also reversed, using the circuit of Fig 9.
Finally, the process of rotating an image 90 or 270 degrees can be combined with the process of producing a mirror image or a rotation of 180 degrees to produce different orientations. The rotation of an image 90 degrees followed by a top to bottom mirror imaging is shown in Fig 12 to produce example 7 of Fig 14. Similarly, the 90 degree rotation of an image followed by a left to right morror imaging is shown in Fig 13 and results in example 4 of Fig 14 All of the word transfers of Figs 8 through 13 are parallel and therefore may be combined with the rotations of 90 and 270 degrees described above to produce any poss!ble orientation without increasing the processing time.
While the invention has been described with reference to a specific embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the true spirit and scope of the invention. For example, each pixel may be represented by one or a plurality of binary words or analog voltages. In addition, many modifications may be made without departing from the essential teachings of the invention.
The representation of a visual image by a two-dimensional array is well known. Such an array is typically composed of rows and columns of picture elements, termed pixels. Such a pixel may represent the color or density of a spot of the total image, and can be one or a number of binary bits or words, or analog voltages. Aprincipal advantage of this representation is that it allows image processing systems to handle pixels one at a time, rather than to try to handle the whole picture all at once. For systems which transmit, display or print images from pixels, the usual one-at-a-time pixel order is a scheme called "raster ordering". In raster ordering, a pixel array is divided into scan lines corresponding to its columns (or to its rows), and pixels are sequentially accessed in the same direction along each scan line, starting with the first scan line along one edge of the pixel array and continuing with the next adjacent scan line until all the scan lines have had their pixels accessed. To increase the performance of image processincJ systems, each scanline of a pixel array is often partitioned into fixed-size subsets of adjacent pixels, called nwords", the word size being a constant over the entire pixel array. In such systems an entire word is transferred or stored at a time. Memory subsystems for storing an entire word of pixels in parallel this way are called "word organized memoriesn. Storing a pixel array in raster order into a linear word organized memory results in the words of each scanline occupying consecutive word addresses and the scanlines of the array abutting end to end.
It is a common requirement in digital document processors that a page that is scanned into the system in one orientation be printed out in another. An example would be a scanned-in image which was stored in the system in the "landscape" mode, but must be printed in the "portrait" mode. In this case, it is easier for the operator to rotate the image electronically than to re-scan the image, and is the only way if the original is no longer available. Also, in many systems, the image is displayed to the operator for editing on a display which uses horizontal scan lines and then printed on a printer which uses vertical scan lines. The result is that a printing system needs to be able to create rotated and unrotated images at any stage of processing. However, because of the memory order, the parallel fetch ofadjacent pixels along a scanline is easier to accomplish than the parallel fetch of adjacent pixels perpendicular to the scanlines. For example, in a typical memory of sixteen bit words, the first sixteen bit word of an image is loaded into the first bit of the first sixteen memory chips, the second word is loaded into the second bit of the sixteen memory chips, etc. Therefore, if a line comprising bits in the direction of the word length is needed to be output, sixteen bits at a time may be accessed in parallel since each bit is in a different memory chip. However, if the line is perpendicular to the word length, then the individual bits are all in the same chip and can only be accessed serially, which is a very slow process in comparison.
The difficulty of word-parallel access to both the rows and columns of a stored pixel array has presented a considerable challenge to the prior art. Image processing systems have often needed to change the scan direction or image orientation of a pixel array by 90 degrees. Some approaches, like those of US Pat.
Nos 3,976,982, and 4,562,485 use slow one-pixel-at-a-time access. Other approaches store a pixel array into memory and then incur a delay by performing a separate conversion process to change the pixel array into a stored 90 degree rotated version before transmitting, displaying or printing it. Many of these approaches do this by transferring small subsets of the pixel array at a time to a separate rotator, as in U.S.
Pat Nos.4,052,699,4,168,488,4,271,476. 4,593,407,4,627,020,4,636,783 and also the system described by Kornfeld in "The image Prism: A Device for Rotating and Mirroring Bitmap Images", IEEE Computer Graphics and Applications, May 1987.
Thus, all of the store-and-convert approaches require at least one additional fetch and store of the entire pixel array after its initial storage in memory.
What is required is a rotation method which needs only one data transfer into the buffer and only one data transfer out of the buffer, and where these two data transfers operate on entire words in parallel.
Summary Of The Invention An image can be rotated using all parallel transfers of data words only if all bits of the original data words in each row are put into different chips and all bits in each column are also put into different chips. Then, by appropriate addressing, either horizontal or vertical strips of the original image can be output in parallel from the buffer.
The system for accomplishing this can be explained, to use a simple numerical example, by taking a string of data words as tl-,ey are received from any source, shifting word ~0 by zero bits, word # 1 by one bit, word i~ 2 by two bits, etc.
and then loading them into the buffer. The shift is of the circulating type, where a bit that falls off the end of the word is inserted in at the beginning. All the bits in an image line in the direction of the word are still in different chips, but also, all the bits in an image line perpendicular to the word length are now also in different chips.
Then, by addressing the appropriate bit in each buffer chip properly, either horizontal or vertical word length lines may be taken out of the buffer in parallel, shifted again and output as a rotated image. For the shifts, a parallel shifter is used so that a shift of from O to 15 bits can be accomplished in one clock cycle.
Brief Description of the Drawinqs Fig 1 is an image as it is received by the rotation circuit.
Fig 2 is an image as it is stored in the buffer.
Fig 3 is an image as it is accessed from the buffer.
Fig 4 is an image in its rotated form.
Fig 5 is a diagram showing the contents of the various address fields required bythe rotation circuit.
Fig 6 is a simplified schematic diagram of the rotation circuit.
Fig 7 is a simplified schematic of the parallel shifter.
D/~8 1 4G
Detailed Description of the Invention Figs 1, 2 and 4 show, respectively, an originai image in the form of a right angle as would be received from memory or a scanner, a buffer containing an intermediate image in a form that can be rotated any multiple of 90 degrees, including 0 degrees, and the rotated image as would be sent back to memory. For simplicity, the buffer is shown as 4 by 4 bits and there are 4 bits per word, but this algorithm will work for a system of any size. Also, for greater ease of understanding, the unrotated image is shown as coming from a memory, and the rotated image is shown as being output to a memory, but, as explained above, the image can be received from any source, and transmitted to any type of device. These figures assume a vertical scanline so that the words 0, 1, 2 and 3 of Fig 1 are the words in the left column, from bottom to top, as shown. The next scan line starts with words 4, 5, etc. These Fig 1 word addresses are referred to as virtual fill addresses because they do not identify actual memory addresses, and because these are the numbers that are used by the algorithm to generate the addresses of locations which are used to fill the buffer.
To rotate the image, the first step is to shift and transfer each word of the original image to the buffer. One of the key features of this invention is that the words do not need to be loaded into or unloaded frorn the buffer in any particular order. Aiso, any subset block of words can be processed independently of the rest of the image. For example, let us consider the processing of words 18, 22, 26 and 30 which constitute one 4 by 4 bit block of an image that must be rotated 90 degrees CCW. The four bits (00,01,02,03) of word 18 comprising the original vertical line are shifted up 0 bits in a recirculating shifter and loaded into the same location, 18, of the buffer . Next,the bits(10,11,12,13) of word 22 are up shifted one bitand loaded buffer word 22 . Next, word 26 is shifted 2 bits and loaded into word 26 of the buffer. Finally, word 30 is shifted 3 bits and loaded into location 30 of the buffer.
Now, as shown, not only is each bit of each original vertical line loaded into adifferent chip, but also each bit of each original horizontal line is also loaded into a different chip. Therefore either the original horizontal or vertical lines can now be accessed from the buffer in parallel.
D/~146 The second step is to read the bits from the buffer of Fig 2, shift them the appropriate number of bits, and load them into, say, a memory, Fig 4, as a rotated image. Note that the original image of Fig 1 is four words high and three words wide. If the entire image is rotated 90 degrees the resultant image will be three words high and fourwords wide, as shown in Fig 4.
This portion of the algorithm can be thought of as comprising two steps, the first being the assembling the bits of each word, resulting in the image of Fig 3, and the second being the shifting of those bits within the word to result in theimage of Fig 4.
Q ( I ' "' ^ Let us use word 13 o,;~Fig 3 as an example. The bits or pixels req,~/ed are 13, 23l/33 and 03, which correspond to bit 0 of word(13)bit 1 of word 2i~bit 2 of word~ and bit 3 of word ~)of Fig 2. Each is in a separate buffer chip so all can be addressed and accessed at once, in parallel, and output as word #13. The remaining three word transfers are similarly accomplished to produce the 4 x 4 bit block shown in Fig 3.
Finally, an up shift is required to complete the rotation. Words 13, 16, 19 and 22 are shifted up 1, 2, 3 and 0 bits respectively. The result is shown in Fig 4 as the completly shifted image. The result of the entire algorithm is a rotated image, as shown, resulting from two parallel transfers and two shifts. Since the shifts are also done using a parallel shifter, to be discussed below, the entire rotation is done using paraliel operations.
A similar addressing technique can be used to rotate the image 270 degrees during the transfer between the buffer of Fig 2 and the memory of Fig 4. A
shift of 0 degrees is done simply by shifting the words in the buffer back to their original form and outputting them to the memory. Note, since each rotated word is accessed from the buffer, shifted and loaded directly into the memory, there is no storage device having the image of Fig 3. This figure is only produced here as an aid in understanding the invention.
This system may be generalized using mathematical notation as follows:
An algorithm for rotating an image 90 degrees starts with an array of r rows and c columns of pixels. In Fig 2, for example there are 16 rows and 12 columns D/8~146 so r= 16 and c = 12 Each column of the pixel array is partitioned into words of w pixels each, and the rows, columns, words in each column, and the pixels in eachword of the pixel array are all numbered starting at zero. In Fig 3 there are 4 bits per word so w = 4.
In fact, in the most general case, the buffer word size need not coincide with the image data word size. For example, if five bit image data words were to be stored in a sixteen bit buffer memory, it would take one memory word (16 bits )to store three data words (15 bits) and two memory words (32 bits) to store four data words (2û bits).
Also, the image dimensions need not be whole number multiples of the memory word size. Mathematicaly stated, let v, the vertical dimension of memory in words, equal rr/wl~ where rr/wl is the smallest integer greater than or equal to r/w.
Similarly, let h, the horizontal dimension of memory, equal rc/wl In Fig 2 v = 4 and h = 3 .
The algorithm stores words of the original pixel array as shown in the example of Fig 1 into a linear word-organized buffer memory as shown in Fig 2 asfollows: it circular right shifts each word i of column j by (j) mod w pixel positions and then writes the bits of this modified word in parallel into word address vj + i of the buffer memory. To use a numerical example based on Figs 1 and 2, the words to be stored in column 0 are shifted 0 bits, column 1, 2 and 3 words are shifted 1, 2 and 3 bits respectively, and the words in column 4 start at 0 again. These 5 words are then are stored into the first 5 locations of memory which are the 4 locations of col 0 and the first location of column 1.
The next step in the algorithm is to fetch each word of the stored pixel array in parallel from the buffer so that each pixel p in Fig 3 comes from each pixel p in Fig 2 of word address wvi + v((p + j + 1 )mod w) + L (wv-j-1 )/wJ
Still using the example of Fig 3, this reduces to 16i + 4((p+j+1)mod4) + L(15-j)/4J) As a numerical example, for bit 02 in column 5 of Fig 3: p, the pixel number in the word, equals 2 i, the word number in the column, equals 1. And j, the Di88 l ~16 ,., column number, equals 5. Substituting all of the constants of Fig 2 and the variables of Fig 3 into the above equation yields an answer of 18. That is, pixel 2 of word 16 of Fig 3 must be accessed from the same pixel (2) of word 18 of Fig 2.
The final step is to shift this word up two bits before outputting to the memory of Fig 4.
The equations above describe the algorithm mathematically, but if h, v, and w happen to be whole number powers of 2, then the addresses can also be generated in software or in hardware by masking and shifting bits. An example of a system for performing this process is shown in Fig 5 which assumes an original image having 16 one-bit pixels per word, 1,024 words per scan line and 256 scan lines.Therefore, to identify any input word within the allowable image size requires an 18 bit address (17:0). The words in this entire image are arbitrarily assigned addresses starting from 0, rather than using the actual addresses in memory, and are therefore referred to as "virtual" addresses, and are used to "fill" the buffer. Fig 5 shows the virtual fill address (VFA) as 18 bits (17:0).
The buffer is implemented from 16 chips, each having 256K bits.
Therefore, the address of each bit in each chip, and the address of each word in the buffer, is also an 18 bit word. This address is called a real fill address since it is the address of an actual buffer location, and is used to fill the buffer. As shown in Fig 5 the virtual fill address and the real fill address which are used to fill the buffer are identical.
Each word to be transferred must also be shifted before being stored in the buffer. In this example, the shifts range from û to 15 bits, and are therefore defined by a 4 bit number, referred to as the data right-cycle distance in Fig 5.
Assuming that the original image has 1,024 words per scan line, then the 10 least significant bits of the address, bits 9:0, comprise the number of the word in the scan line, and the next 4 bits, 13:10, comprise the least significant 4 bits of the scan line number, which is also the number of shifts required. Therefore bits 13:10 of the VFA
are shown as the right-cycle distance in Fig 5.
D!88l46 i., To transfer a word of data out from the buffer, first the output word number must be picked. The word number is 18 bits in this example, and is referred to in Fig 5 as the virtual dump address, VDA(17:0). For the purposes of image rotation, this VDA can be thought of as uniquely selecting a 16-bit word of a 90degree rotated version of the original image. This rotated image would now have 16 words per scan line and 16,384 scan lines. Thus, the least significant 4 bits of the VDA, bits 3:0, would be the number of the word in one of these new scan lines, and the most significant 14 bits, bits 17:4, would be the scanline number. The locations in the buffer from which 16 bits of data must actually come is referred to in Fig 5 as the real dump address and is assembled as follows: The most significant bits (17:14) are taken from the VDA(3:0), the next four bits are the VDA(7:4) plus the pixel number R plus 1, and the least significant 10 bits are the VDA(17:8) inverted. Sixteen of these addresses must be assembled,-o-ne for each bit, in order to read the data out The final circular right shift distance of O to 15 bits is assembled as VDA(7:4)+1.
The above fields can be the basis for a program to fetch and shift the image words or can be used to drive a circuit which generates the actual addresses, a diagram of which is shown as Fig 6. The input is the 18 bit virtual dump addressbroken into fields as shown. In all cases, if the image is not to be rotated the lower group of signals is selected in all of the 2-to-1 multiplexors, while the upper group is selected for a 90 degree rotation. For each 16-bit by 16-bit aligned block of either the original or rotated image there are going to be 14 address bits in common. These are output by the 14 bit multiplexer The remaining four bits of the addresses for each chip will be the same for each chip in the unrotated case, and different for each chip in the rotated case For the unrotated case, the remaining 4 bits 13:10 remain unchanged and are applied to the lower half of each 4 bit multiplexer to provide the remaining address bits For the rotated case, the bit addresses will be different for each chip. This is accomplished by starting with bits 7:4 of the input address, and providing sixteen 4 bit adders, each generating a sum of a number between O and 15 and the four bit address field The output of each is used as the rotated address input to the sixteen 4 bit multiplexers.
D,~8146 Fig 7 is a simple schematic diagram of the first 6 bits of the first three multiplexers of one possible sixteen bit parallel cyclic shifter which can shift a 16 bit word any number of bits in one clock cyc!e. The first six bits of the input word are represented by the letters A through F, and are applied to input pins 0 through 5 of all multiplexers. The address input to each multiplexer is applied through an adder that adds the constants 0, 1, 2... to the number n of shifts required. Thus, if n = 2, the first multiplexer will select pin 2, the second will select pin 3, the third will select pin 4, etc. Therefore the output word CD~F is shifted two bits from the input word ABCD
in one clock cycle.
Fig 14 shows the eight eight possible orientations of an image. As has been explained above, the original unrotated image 1 may be rotated 90 degrees to generate example 5, or may be rotated 27û degrees to generate example 2. Also, the original image may be output by reversing the steps in the loading process. The 180 degree rotation, example 6, can be accomplished as shown in Fig 11. In this case the words are read out in reverse order. Therefore, as shown, the last word of the upper block of the original image becomes the first word of the lower block of the rotated image. In addition, the pixels must be reversed. This is accomplished simply by transferring the word through a pixel shifter as shown in Fig 9. The top pixel of the input register on the left is hardwired to the bottom location of the register on the right, the remaining pixels being wired similarly as shown. The result of this process of scanning and shifting is a rotation of 180 degrees.
A mirror image, where the image is reversed left for right, as shown in Fig 14 examples 1 and 3, can be created using the process shown in Fig 8. Here the scan lines are read out in the reverse order that they are received in. The first column input is used as the last column output, etc.
A mirror image, where the image is reversed top for bottom, as shown in Fig 14 examples 1 and 8, can be created using the process shown in Fig 10. Here the scan lines are read out in the regular order but within each column the words are reversed from bottom to top, and the pixel order within each word is also reversed, using the circuit of Fig 9.
Finally, the process of rotating an image 90 or 270 degrees can be combined with the process of producing a mirror image or a rotation of 180 degrees to produce different orientations. The rotation of an image 90 degrees followed by a top to bottom mirror imaging is shown in Fig 12 to produce example 7 of Fig 14. Similarly, the 90 degree rotation of an image followed by a left to right morror imaging is shown in Fig 13 and results in example 4 of Fig 14 All of the word transfers of Figs 8 through 13 are parallel and therefore may be combined with the rotations of 90 and 270 degrees described above to produce any poss!ble orientation without increasing the processing time.
While the invention has been described with reference to a specific embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the true spirit and scope of the invention. For example, each pixel may be represented by one or a plurality of binary words or analog voltages. In addition, many modifications may be made without departing from the essential teachings of the invention.
Claims (6)
1- The method of rotating an original n column by n row image, each column comprising a word, comprising the steps of:
A. storing said image in a buffer, said storing step comprising the steps of:
a. first circular shifting each original word by a number of pixels equal to the column number, and b. storing each shifted word in the location of said buffer equal to the column number, and B. outputting an n column by n pixel image from said buffer, where the column number j and the pixel number i of the buffer varies from 0 to n-1, said outputting step for each word output comprising the steps of:
a. assembling the jth output n pixel word from n pixels of the buffer,(where the pixel number of each pixel in the assembled word is the same as the pixel number in the word in the buffer) and where all of the pixels in the output word are the ones that originally were in the jth row of the original image, and b. second circular shifting the resultant word j + 1 pixels.
A. storing said image in a buffer, said storing step comprising the steps of:
a. first circular shifting each original word by a number of pixels equal to the column number, and b. storing each shifted word in the location of said buffer equal to the column number, and B. outputting an n column by n pixel image from said buffer, where the column number j and the pixel number i of the buffer varies from 0 to n-1, said outputting step for each word output comprising the steps of:
a. assembling the jth output n pixel word from n pixels of the buffer,(where the pixel number of each pixel in the assembled word is the same as the pixel number in the word in the buffer) and where all of the pixels in the output word are the ones that originally were in the jth row of the original image, and b. second circular shifting the resultant word j + 1 pixels.
2- The method of reorienting an image comprising the steps of:
using the method of Claim 1 to rotate an image, and reversing the order of the scan lines to produce a mirror image.
using the method of Claim 1 to rotate an image, and reversing the order of the scan lines to produce a mirror image.
3- The process of reorienting an image comprising the steps of:
using the method of Claim 1 to rotate an image, and reversing the order of the pixels in each scan line to produce a mirror image.
using the method of Claim 1 to rotate an image, and reversing the order of the pixels in each scan line to produce a mirror image.
4- A method of rotating an original image having r rows, c columns, w pixels per word, v words per column and h words per row, into a rotated image using an index i to count the words, where i varies from 0 to h-1 and using an index j to refer to the columns where j varies from 0 to r-1, comprising the steps of first circular shifting each word in the original image by a number of shifts equal to its column number, storing each word in a buffer memory so that the word number in the buffer equals the word number of the original image, reading out one word at a time from the buffer wherein each pixel p of this output word comes from pixel p of buffer word address wvi + v((p+j+l)mod w) + L(wv-j-1)/w? ,and second circular shifting this assembled word (j + 1)mod w pixels
5- The method of reorienting an image comprising the steps of using the method of Claim 3 to rotate an image, and reversing the order of the scan lines to produce a mirror image.
6- The process of reorienting an image comprising the steps of:
using the method of Claim 3 to rotate an image, and reversing the order of the pixels in each scan line to produce a mirror image.
using the method of Claim 3 to rotate an image, and reversing the order of the pixels in each scan line to produce a mirror image.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US07/453,738 US5111192A (en) | 1989-12-20 | 1989-12-20 | Method to rotate a bitmap image 90 degrees |
US453738 | 1989-12-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
CA2027458A1 true CA2027458A1 (en) | 1991-06-21 |
Family
ID=23801864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002027458A Abandoned CA2027458A1 (en) | 1989-12-20 | 1990-10-12 | Method to rotate a bit map image 90 degrees |
Country Status (4)
Country | Link |
---|---|
US (1) | US5111192A (en) |
EP (1) | EP0433645A3 (en) |
JP (1) | JPH03290765A (en) |
CA (1) | CA2027458A1 (en) |
Families Citing this family (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3022903B2 (en) * | 1992-07-27 | 2000-03-21 | 富士ゼロックス株式会社 | Image rotation device |
US5613018A (en) * | 1991-12-23 | 1997-03-18 | Xerox Corporation | Page buffer rotator |
JP3151788B2 (en) | 1991-12-23 | 2001-04-03 | ゼロックス コーポレーション | How to rotate the original rectangle image |
US5365601A (en) * | 1991-12-23 | 1994-11-15 | Xerox Corporation | N-bit wide parallel rotation algorithm |
US5611001A (en) * | 1991-12-23 | 1997-03-11 | Xerox Corporation | Address reduction scheme implementing rotation algorithm |
US5361339A (en) * | 1992-05-04 | 1994-11-01 | Xerox Corporation | Circuit for fast page mode addressing of a RAM with multiplexed row and column address lines |
US5581773A (en) * | 1992-05-12 | 1996-12-03 | Glover; Michael A. | Massively parallel SIMD processor which selectively transfers individual contiguously disposed serial memory elements |
US5450604A (en) * | 1992-12-18 | 1995-09-12 | Xerox Corporation | Data rotation using parallel to serial units that receive data from memory units and rotation buffer that provides rotated data to memory units |
EP0609622A1 (en) * | 1992-12-31 | 1994-08-10 | Xerox Corporation | Cell band rotation |
US5671440A (en) * | 1994-08-08 | 1997-09-23 | Eastman Kodak Company | Color image data reorientation and format conversion system |
US5517587A (en) * | 1994-09-23 | 1996-05-14 | International Business Machines Corporation | Positioning method and apparatus for line scanned images |
US5585863A (en) * | 1995-04-07 | 1996-12-17 | Eastman Kodak Company | Memory organizing and addressing method for digital video images |
KR970703568A (en) * | 1995-04-07 | 1997-07-03 | 이시마루 미키오 | METHOD AND APPARATUS FOR IMAGE POTATION |
DE69601935T2 (en) * | 1995-05-15 | 1999-08-19 | Polaroid Corp | IMAGING AND IMAGE ROTATION WITH APPLICATION OF THE DISCRETE COSINE INFORMATION |
US5668980A (en) * | 1995-07-31 | 1997-09-16 | Advanced Micro Devices, Inc. | System for performing rotation of pixel matrices |
US5634088A (en) * | 1995-11-01 | 1997-05-27 | Xerox Corporation | Method and apparatus for rotation of high addressability bitmap images |
US5912995A (en) * | 1996-06-06 | 1999-06-15 | Sun Microsystems, Inc. | Method and apparatus for rotating or transposing a binary image |
US5946222A (en) * | 1996-12-20 | 1999-08-31 | Oak Technology, Inc. | Method and apparatus for performing a masked byte addition operation |
US5870581A (en) * | 1996-12-20 | 1999-02-09 | Oak Technology, Inc. | Method and apparatus for performing concurrent write operations to a single-write-input register file and an accumulator register |
US6223181B1 (en) | 1997-07-31 | 2001-04-24 | Oak Technology, Inc. | Memory conserving and compression technique-compatible image rotation system |
US5986672A (en) * | 1997-10-14 | 1999-11-16 | Minnesota, Mining And Manufacturing 3M Center | Method and system for forming a rotated image on an imaging element using limited system resources |
JP4695815B2 (en) * | 2002-02-22 | 2011-06-08 | キヤノン株式会社 | Drawing processing apparatus, drawing processing method, computer-readable storage medium, and program |
US7376286B2 (en) * | 2002-09-18 | 2008-05-20 | Nxp B.V. | Block-based rotation of arbitrary-shaped images |
US7596678B2 (en) * | 2003-04-23 | 2009-09-29 | Micron Technology, Inc. | Method of shifting data along diagonals in a group of processing elements to transpose the data |
US7581080B2 (en) * | 2003-04-23 | 2009-08-25 | Micron Technology, Inc. | Method for manipulating data in a group of processing elements according to locally maintained counts |
US7913062B2 (en) * | 2003-04-23 | 2011-03-22 | Micron Technology, Inc. | Method of rotating data in a plurality of processing elements |
US7676648B2 (en) | 2003-04-23 | 2010-03-09 | Micron Technology, Inc. | Method for manipulating data in a group of processing elements to perform a reflection of the data |
US7315294B2 (en) * | 2003-08-25 | 2008-01-01 | Texas Instruments Incorporated | Deinterleaving transpose circuits in digital display systems |
US7167148B2 (en) * | 2003-08-25 | 2007-01-23 | Texas Instruments Incorporated | Data processing methods and apparatus in digital display systems |
US20050275665A1 (en) * | 2004-06-14 | 2005-12-15 | Keith Kejser | System and method for efficiently supporting image rotation modes by utilizing a display controller |
US20060028491A1 (en) * | 2004-07-29 | 2006-02-09 | Zih Corp. | System and method for providing a protable printer capable of altering the orientation of information displayed on an associated printer display |
US20060262143A1 (en) * | 2005-05-23 | 2006-11-23 | Mr. Paul Harris | Multi-Image Rotation on an Individual Video and/or Graphic Display |
US7643038B2 (en) * | 2005-06-29 | 2010-01-05 | Qualcomm Incorporated | Virtual device buffer for embedded device |
US7512287B2 (en) * | 2005-07-25 | 2009-03-31 | Seiko Epson Corporation | Method and apparatus for efficient image rotation |
JP4863755B2 (en) | 2006-04-18 | 2012-01-25 | ヤマハ発動機株式会社 | Clutch actuator, engine unit and saddle riding type vehicle |
US20070252842A1 (en) * | 2006-04-28 | 2007-11-01 | Smith Gerald R | System and method for capturing and transposing vertically scanned documents in an imaging system |
US7768678B2 (en) * | 2006-05-15 | 2010-08-03 | Xerox Corporation | Systems, methods and devices for rotating images |
JP4909144B2 (en) * | 2007-03-22 | 2012-04-04 | 富士通セミコンダクター株式会社 | Image recognition apparatus and image rotation processing method |
US9561008B2 (en) | 2010-12-28 | 2017-02-07 | General Electric Company | Method of displaying image |
US8797359B2 (en) * | 2011-11-29 | 2014-08-05 | Apple Inc. | Inline image rotation |
JP5751354B1 (en) * | 2014-01-28 | 2015-07-22 | 日本電気株式会社 | MEMORY CONTROL DEVICE, INFORMATION PROCESSING DEVICE, MEMORY CONTROL METHOD, AND COMPUTER PROGRAM |
CN106610821B (en) * | 2015-10-22 | 2020-05-12 | 海信视像科技股份有限公司 | Method for displaying picture on terminal and terminal |
US11582402B2 (en) * | 2018-06-07 | 2023-02-14 | Eys3D Microelectronics, Co. | Image processing device |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3976982A (en) * | 1975-05-12 | 1976-08-24 | International Business Machines Corporation | Apparatus for image manipulation |
US4052699A (en) * | 1976-06-30 | 1977-10-04 | International Business Machines Corporation | High speed real time image transformation |
IT1084325B (en) * | 1977-06-30 | 1985-05-25 | Elsag | PROCEDURE AND APPARATUS FOR THE ROTATION OF A MATRIX OF DATIBINARIES, PARTICULARLY INTENDED FOR USE AS A MEMORY UTILITY WITH TWO-WAY ACCESS FOR ELECTRONIC CALCULATORS. |
GB1547119A (en) * | 1977-12-09 | 1979-06-06 | Ibm | Image rotation apparatus |
US4271476A (en) * | 1979-07-17 | 1981-06-02 | International Business Machines Corporation | Method and apparatus for rotating the scan format of digital images |
US4562485A (en) * | 1979-08-10 | 1985-12-31 | Canon Kabushiki Kaisha | Copying apparatus |
JPS58159184A (en) * | 1982-03-17 | 1983-09-21 | Nec Corp | Picture turning device |
JPS6073671A (en) * | 1983-09-30 | 1985-04-25 | インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション | Pattern processor |
US4627020A (en) * | 1983-12-30 | 1986-12-02 | International Business Machines Corporation | Method for rotating a binary image |
JPS6149246A (en) * | 1984-08-16 | 1986-03-11 | Fujitsu Ltd | Image rotation processing system |
US4701752A (en) * | 1985-10-24 | 1987-10-20 | International Business Machines Corp. | Mirror inverse function in an interactive graphics system |
CA1252902A (en) * | 1985-10-31 | 1989-04-18 | David R. Pruett | Method for rotating a binary image |
JPS62299892A (en) * | 1986-06-19 | 1987-12-26 | 富士通株式会社 | Access system for character generator memory |
JPH0773920B2 (en) * | 1986-11-17 | 1995-08-09 | 日本電気株式会社 | n × n bit dot matrix 90 ° rotation circuit |
-
1989
- 1989-12-20 US US07/453,738 patent/US5111192A/en not_active Expired - Lifetime
-
1990
- 1990-10-12 CA CA002027458A patent/CA2027458A1/en not_active Abandoned
- 1990-11-09 EP EP19900121503 patent/EP0433645A3/en not_active Withdrawn
- 1990-12-13 JP JP2401872A patent/JPH03290765A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JPH03290765A (en) | 1991-12-20 |
EP0433645A2 (en) | 1991-06-26 |
US5111192A (en) | 1992-05-05 |
EP0433645A3 (en) | 1992-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5111192A (en) | Method to rotate a bitmap image 90 degrees | |
CA1049167A (en) | Apparatus for image manipulation | |
US4780711A (en) | Anti-aliasing of raster images using assumed boundary lines | |
EP0216501B1 (en) | Digital image rotation | |
CA1122696A (en) | Image rotation apparatus | |
EP0225059B1 (en) | Semiconductor memory | |
US3973245A (en) | Method and apparatus for point plotting of graphical data from a coded source into a buffer and for rearranging that data for supply to a raster responsive device | |
US5303200A (en) | N-dimensional multi-port memory | |
US6115323A (en) | Semiconductor memory device for storing data with efficient page access of data lying in a diagonal line of a two-dimensional data construction | |
JPS60147884A (en) | Image rotation method | |
US5361339A (en) | Circuit for fast page mode addressing of a RAM with multiplexed row and column address lines | |
EP0549313B1 (en) | N-bit wide parallel rotation algorithm | |
CA2058585C (en) | Signal processing system including two-dimensional array transposing | |
US5613018A (en) | Page buffer rotator | |
US4916746A (en) | Image rotation circuit | |
EP0456394A2 (en) | Video memory array having random and serial ports | |
EP0549316B1 (en) | Page buffer rotator | |
KR100297716B1 (en) | Semiconductor memory device having high flexibility in column | |
EP0549309B1 (en) | Address reduction scheme implementing rotation algorithm | |
JPH11306343A (en) | Rotational processing device for two-dimensional data | |
US5347596A (en) | Pattern mover for raster printing | |
US5910794A (en) | Method and apparatus for storing and rotating bit patterns | |
EP0609622A1 (en) | Cell band rotation | |
EP0279211A2 (en) | Table lookup addressing by dichotomy window generation | |
JPH061449B2 (en) | Image memory for image editing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
FZDE | Discontinued |