Home | Links | Contact Us | More About Intellectual Property | Bookmark
Search patents:
Home I/O Systems Method-for-rotating-a-binary-image

 Closed-loop control system
An apparatus and method for bending tubing, having a multiple number of bends uses a standard ...


 Method and apparatus for controlling drilling process
It is an object of the invention to provide a method and apparatus for controlling drilling process ...


 Apparatus for vitally sensing binary data for a vital processor implemented with non-vital hardware
The invention provides a new solution for problems previously solved in the past, as well as ...


 Channel control system having device control block and corresponding device control word with channel command part and I/O command part
An object of the present invention is to provide a general-purpose channel unit which, without ...


 Cyclic data communication system
It is an object of the present invention to provide a data communication system which is ...


 Remotely controlled toy and wireless remote operable in a point of sale package
It is an object of the invention disclosed herein to enable a remotely controlled toy or other ...


 Card trunk system
Accordingly, an object of the present invention is to provide a labor-saving type of card trunk ...


 Computer terminal device for producing different types of buzzer sounds
It is an object of the present invention to provide a computer terminal device such as a printer or ...


 Clock synchronization algorithm for address independent networks
It is therefore an object of the invention to provide a simple clock synchronization algorithm for ...


 Method for synchronizing interconnected digital equipment
Digital networks are represented as a combination of digital equipment shown as nodes in FIG. 1 ...


 Method for rotating a binary image

Details
Inventors: Pruett, David R.; Goertzel, Gerald; Tompson, Gerhard R.;
Assignee: International Business Machines Corporation (Armonk, NY)
Primary Examiner: Boudreau; Leo H.
Assistant Examiner: Mancuso; Joseph
Attorney, Agent or Firm: Troike; Robert L., Poag; Frederick D., Clark; George E.

The present invention deals with rotating an n.times.n block of bits through an angle of +90 degrees or -90 degrees by a method including the steps of: storing the data in a matrix; separating the matrix into groups of bits of rotatable size; transposing first preselected bit positions with second preselected bit positions in each group; and exchanging a first one or more rows of bits in the group with a second one or more rows of bits in the group.

DETAILED DESCRIPTION What is claimed is: 1.
A method for rotating binary data by 90 degrees, comprising the steps of: storage said data in a matrix arranged in r rows by c columns, where r may be equal to c, information in each row being stored in a number of bytes, each byte having b bits, there being c/b bytes in each said row; separating said matrix into groups of bits of rotatable size; arranging the groups of bits into registers so that those bits to be exchanged line up in corresponding bit positions of different registers and all the bits to be exchanged can be exchanged in parallel; simultaneously exchanging selected group positions between registers to thereby simultaneously transpose first selected bit positions with second selected bit positions in said each group under the control of a mask instruction; storing said simultaneously transposed groups of bits into predetermined registers; and repeating said steps of arranging, exchanging and storing until said matrix has been rotated by 90 degrees.
2.
A method for rotating binary data by 90 degrees according to claim 1, wherein the step of exchanging selected group positions between registers includes the step of: performing a swap under mask function on selected bits in first and second registers of a plurality of registers storing said matrix, wherein said mask controls the selection of bits.
3.
A method for rotating binary data by 90 degrees according to claim 1 wherein said steps of arranging and simultaneously exchanging selected group positions between registers is performed by: executing an alternate swap instruction including the additional steps of: rotating a first preselected register right m bits; loading a utility register with the contents of a second preselected register; exclusive ORing said utility register with said first preselected register; performing a mask operation on said utility register; repeating said exclusive ORing on said utility register with said first and second preselected registers; and rotating said first preselected register left m bits to complete the alternate swap operation



Related patents
  Apparatus for high speed image rotation
It is a principal object of the present invention to provide an improved high speed character generator. It is another principal object of the present invention to ...
  Method and apparatus for providing rotation of digital image data
The invention provides a framestore architecture that permits direct addressing of digital image data in order to generate rotated image. The framestore architecture ...
  Digital computer having unique instruction decoding logic
The present invention employs a gate array, embodied in a single integrated circuit packaged in a single encapsulation, to perform decoding of each instruction in order ...
  Method of monitoring the bring up of all units in a multiple system from a remote unit including diagnostic testing with visual indicator illumination indicating operability
OF THE PREFERRED EMBODIMENT Although the present invention, to be described hereinafter, can be adapted for use in any type of computer system, it works well in a ...
  Wireless vehicle monitoring system
A main object of the present invention is to provide a wireless vehicular safety monitoring system, which can monitor tire pressure, detect objects behind the vehicle, ...
  Arrangement for transmitting signals from a device monitoring tire pressure on the wheels of a motor vehicle to an evaluation device arranged in a motor vehicle
What is claimed is: 1. An arrangement for transmitting signals from a device (3) for monitoring the tire pressure in vehicle wheels (1), being arranged in the tire, and ...
  Mobile communication unit
An object of the invention is to provide a mobile communication unit which is able to acquire desired information effectively. The invention provides a mobile ...
  Extended communications link for keyboard and display units remotely located from a computer
OF THE DRAWING Referring to the drawing, a shielded cable 10 is connected from keyboard input connector terminals 12 of computer 14 to receptacle terminals 16 housed in ...
  Element for conducting light to an outside surface of furnishing article
It is the general object of the present invention to enhance the visual appearance of various relatively commonplace articles of furniture or furnishing objects, and to ...
  Computer vision system based upon solid state image sensor
This invention comprises a computer vision system in which the camera comprises a suitable lens, a solid state image sensor, and a unique hardware interface between the ...

0.004

Archive: All patents - Links

Copyright (c)2006 Eipa-patents.org - All rights reserved