×

Method and apparatus for rotating an image

  • US 5,412,768 A
  • Filed: 04/13/1994
  • Issued: 05/02/1995
  • Est. Priority Date: 01/22/1990
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of rotating a reproduced video image by an apparatus including a central processing unit (cpu), a main memory, an image storing memory for storing image data in rows, a plurality of input latches, a plurality of output latches, a data conversion circuit, an exchange circuit, a row order change circuit and a selection circuit with said plurality of input latches connected to said cpu, said main memory and said image storing memory, said data conversion circuit connected between a predetermined number of input latches and output latches, said exchange circuit and said row order change circuit connected between an input latch and an output latch, and said selection circuit connected to said predetermined number of output latches connected to said data conversion circuit, comprising the steps of:

  • calculating a conversion mode number M with respect to image data of N rows×

    N columns by referring to an equation expressed as;

    M=[log2 N] where N is a power of 2 and when a numeral within a bracket "[ ]" is equal to an integer, the bracket denotes the integer; and

    when a numeral within the bracket contains a fraction, the bracket denotes an integer which is obtained by counting the fraction as one, said step of calculating a conversion including a step of reading out the N rows of image data from the image storing memory;

    numbering the N rows by 0˜

    N-1 and transferring the rows to the plurality of input latches;

    calculating rows having numbers A and B for each of conversion modes L (=1˜

    M) by referring to equations expressed as;

    
    
    space="preserve" listing-type="equation">A=k*2.sup.L ˜

    k*2.sup.L +2.sup.L-1 -1
    
    
    space="preserve" listing-type="equation">B=A+2.sup.L-1
    
    
    space="preserve" listing-type="equation">k=0˜

    (N/2.sup.L)-1where a character "*" denotes an operator of product;

    representing row bit arrangements of the rows having the numbers A and B by A(j) and B(j) respectively;

    converting the row bit arrangements A(j) and B(j) into bit arrangements A'"'"'(j) and B'"'"'(j) with said data conversion circuit by referring to equations expressed as;

    ##EQU7## latching the row data obtained by the step of converting in said plurality of output latches;

    writing the latched row data into said image storing memory via said selection circuit;

    varying L from 1 to M and thereby deriving conversion image data of N rows×

    N columns;

    representing bit arrangements of rows of the conversion image data by E(j); and

    converting the bit arrangements of the rows of the conversion image data by referring to equations expressed as;

    
    
    space="preserve" listing-type="equation">F(j)=E(N-j-1), j=0˜

    N-1where F(j) denotes rows composing 90-degree clockwise-rotated image data of N rows×

    N columns.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×