JP2001103292A - Image rotation processing device and image rotation processing method - Google Patents

Image rotation processing device and image rotation processing method

Info

Publication number
JP2001103292A
JP2001103292A JP28123099A JP28123099A JP2001103292A JP 2001103292 A JP2001103292 A JP 2001103292A JP 28123099 A JP28123099 A JP 28123099A JP 28123099 A JP28123099 A JP 28123099A JP 2001103292 A JP2001103292 A JP 2001103292A
Authority
JP
Japan
Prior art keywords
address
document
rotation
image
rotated
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.)
Pending
Application number
JP28123099A
Other languages
Japanese (ja)
Inventor
Hitoshi Nakamura
仁 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP28123099A priority Critical patent/JP2001103292A/en
Publication of JP2001103292A publication Critical patent/JP2001103292A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain an image rotation processing device whose access speed is increased. SOLUTION: A control signal generating section 105 generates an address and a control signal that are used to access a memory 100 storing image data of a read original. An address generating section 102 generates addresses whose access direction is rotated by 0 degree, 90-degrees, 180-degrees and 270-degrees with respect to a write direction. A state management section 104 manages a access direction of a rotation direction management section 103 by the management of the state of the rotation angle and the scanning number of times. Succeeding read data are sequentially written in the same addresses as those read through rotation in the unit of accesses, the rotation read and write are sequentially executed and succeeding data are written to the same address as that of the rotation read by using four reads of a color image for one processing unit. The read address and the write address are selected the same to save a memory capacity and to quicken the access time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像回転処理装置
および画像回転処理方法に関し、例えば、デジタル複写
機・画像処理装置の画像データの回転制御に関わるもの
であって、画像の回転制御の読み出しと書き込みを順に
繰り返し行うことで記憶容量を減少させた画像回転処理
装置および画像回転処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image rotation processing apparatus and an image rotation processing method, and more particularly to, for example, reading out image rotation control of a digital copier / image processing apparatus. And an image rotation processing method and an image rotation processing method in which storage capacity is reduced by repeatedly performing writing and writing in order.

【0002】[0002]

【従来の技術】従来、画像回転処理装置は一般に、メモ
リを2フレーム分持ち、1フレームに保持されたデータ
を回転してもう1フレームへ書き込むことで回転を実現
する。例えば、従来例1の特公平7−104925号や
特開平5−128246号では、メモリとして正方形サ
イズを持ち回転を実現している。
2. Description of the Related Art Conventionally, an image rotation processing apparatus generally has a memory for two frames, and realizes rotation by rotating data held in one frame and writing the data in another frame. For example, Japanese Patent Publication No. Hei 7-104925 and Japanese Patent Application Laid-Open No. 5-128246 of the prior art 1 have a square size memory and realize rotation.

【0003】また、従来例2の特開平10−20803
2号の方法では、図18に示すように原稿(a)の書き
込みを行う時に図18(b)のように書き込み、図18
(c)のように回転して読み出すと同時に原稿(d)を
書き込む。また、他の方法では、原稿(d)を書き込む
際に図18(e)のようにメモリの無駄を減らすため
に、図18(b)において書き込みが行われていない未
使用分部の位置である図18(e)のように書き込みを
行わせている。
[0003] Further, Japanese Patent Application Laid-Open No.
In the method of No. 2, when writing the original (a) as shown in FIG. 18, writing is performed as shown in FIG.
The original (d) is written at the same time as the rotation is read as shown in (c). In another method, when writing the original (d), in order to reduce the waste of memory as shown in FIG. 18 (e), the position of the unused portion not written in FIG. 18 (b) is reduced. Writing is performed as shown in FIG. 18 (e).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
回転処理では、メモリを2フレーム分持ち、1フレーム
に保持されたデータを回転してもう1フレームへ書き込
むことで回転を実現するため、メモリが増えてしまう。
また、上述の従来技術のように1フレーム分程度のメモ
リで読み出しと書き込みを並列に行うことでメモリを削
減しているが、従来例1は正方形の原稿に対しての回転
であり、図18に示すように長方形の原稿に対して回転
を行わせる場合には、原稿より大きいメモリが必要とな
りメモリの無駄が多い。また、従来例2は、読み出しと
書き込みを交互に行う場合のアドレスが異なり、従来例
1の利点であるアドレス生成の読み出しと書き込みを同
じとすることによるアクセスの高速化が生かされないと
いう問題点を伴う。
However, in the conventional rotation processing, the memory is provided for two frames, and the rotation is realized by rotating the data held in one frame and writing the data in another frame. Will increase.
In addition, although reading and writing are performed in parallel by using about one frame of memory as in the above-described related art, the number of memories is reduced. In the related art 1, rotation is performed on a square document. When a rectangular document is rotated as shown in (1), a memory larger than the document is required, and the memory is wasted. Further, the conventional example 2 has a problem that the address in the case where the reading and the writing are performed alternately is different, and the advantage of the conventional example 1 is that the high-speed access by making the same reading and writing of the address generation cannot be utilized. Accompany.

【0005】本発明は、メモリの利用効率を高めアクセ
スを高速化した画像回転処理装置および画像回転処理方
法を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image rotation processing apparatus and an image rotation processing method in which the use efficiency of a memory is increased and the access speed is increased.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
め、請求項1記載の発明の画像回転処理装置は、カラー
画像を回転する画像回転処理装置において、原稿の画像
を読み取る手段と、この読み取った原稿の画像データを
保持するメモリと、このメモリへのアクセスを行うため
のアドレスと制御信号を生成する手段と、アドレスの生
成においてアクセス方向が書き込みに対して0度、90
度、180度、270度回転したアドレスを生成する手
段と、回転して読み出すアドレスと同アドレスに次の読
み取りデータをアクセス単位で順次書き込みを行う手段
と、回転読み出しと書き込みとを順繰りに行いカラー画
像の4回の読み出しを1処理単位とする手段とを備え、
回転読み出しと同じアドレスに次のデータの書き込み処
理を行うことを特徴としている。
In order to achieve the above object, an image rotation processing apparatus according to the first aspect of the present invention comprises: an image rotation processing apparatus for rotating a color image; A memory for holding image data of the original document, a means for generating an address and a control signal for accessing the memory,
Means for generating an address rotated by 180 degrees, 270 degrees, means for sequentially writing the next read data in the same address as the address read by rotation in units of access, and means for performing rotation read and write in order to sequentially perform color reading. Means for taking four readings of an image as one processing unit,
It is characterized in that write processing of the next data is performed at the same address as the rotational read.

【0007】請求項2の発明では、請求項1記載の画像
回転処理装置において、メモリは3つのブロックを持
ち、この3つのブロックは1つの正方形部分と2つの長
方形部分とに別れて構成される。
According to a second aspect of the present invention, in the image rotation processing apparatus according to the first aspect, the memory has three blocks, and the three blocks are configured separately into one square portion and two rectangular portions. .

【0008】請求項3の発明では、請求項2記載の画像
回転処理装置において、正方形部分のサイズM×Mは原
稿を回転しない場合と原稿を90度回転した場合の方向
で2辺の位置を合わせ原稿の重なった部分とし、長方形
部分の2つのブロックは同じサイズであり、M×Nのサ
イズを持ち、このサイズM×Nは原稿を回転しない場合
と原稿を90度回転した場合の方向で2辺の位置を合わ
せ原稿の重ならない部分としたメモリサイズの構成によ
り、回転処理を行う。
According to a third aspect of the present invention, in the image rotation processing apparatus according to the second aspect, the size M × M of the square portion is set to two sides in a direction when the document is not rotated and a direction when the document is rotated by 90 degrees. The two blocks of the rectangular portion are the same size and have a size of M × N, and the size M × N is determined by the direction when the document is not rotated and the direction when the document is rotated by 90 degrees. The rotation process is performed according to a memory size configuration in which the positions of the two sides are aligned so that the document does not overlap.

【0009】請求項4記載の発明の画像回転処理方法
は、カラー画像を回転する画像回転処理方法において、
原稿の画像を読み取る工程と、この読み取った原稿の画
像データを保持する記憶工程と、この記憶工程へのアク
セスを行うためのアドレスと制御信号を生成する工程
と、アドレスの生成においてアクセス方向が書き込みに
対して0度、90度、180度、270度回転したアド
レスを生成する工程と、回転して読み出すアドレスと同
アドレスに次の読み取りデータをアクセス単位で順次書
き込みを行う工程と、回転読み出しと書き込みとを順繰
りに行いカラー画像の4回の読み出しを1処理単位とす
る工程とを備え、回転読み出しと同じアドレスに次のデ
ータの書き込み処理を行うことを特徴としている。
According to a fourth aspect of the present invention, in the image rotation processing method for rotating a color image,
A step of reading an image of a document, a step of storing image data of the read document, a step of generating an address and a control signal for accessing the storage step, and a step of writing an access direction in generating the address. Generating an address rotated by 0 degrees, 90 degrees, 180 degrees, and 270 degrees, sequentially writing next read data to the same address as the address read by rotation in access units, Writing is performed in order, and reading of the color image four times is set as one processing unit, and the writing process of the next data is performed at the same address as the rotation reading.

【0010】請求項5の発明では、請求項4記載の画像
回転処理方法において、記憶工程は3つのブロックを持
ち、この3つのブロックは1つの正方形部分と2つの長
方形部分とに別れて構成される。
According to a fifth aspect of the present invention, in the image rotation processing method according to the fourth aspect, the storing step has three blocks, and the three blocks are configured separately into one square portion and two rectangular portions. You.

【0011】請求項6の発明では、請求項5記載の画像
回転処理方法において、正方形部分のサイズM×Mは原
稿を回転しない場合と原稿を90度回転した場合の方向
で2辺の位置を合わせ原稿の重なった部分とし、長方形
部分の2つのブロックは同じサイズであり、M×Nのサ
イズを持ち、このサイズM×Nは原稿を回転しない場合
と原稿を90度回転した場合の方向で2辺の位置を合わ
せ原稿の重ならない部分としたメモリサイズの構成によ
り、回転処理を行う。
According to a sixth aspect of the present invention, in the image rotation processing method according to the fifth aspect, the size M × M of the square portion is determined by determining the positions of two sides in a direction when the document is not rotated and a direction when the document is rotated by 90 degrees. The two blocks of the rectangular portion are the same size and have a size of M × N, and the size M × N is determined by the direction when the document is not rotated and the direction when the document is rotated by 90 degrees. The rotation process is performed according to a memory size configuration in which the positions of the two sides are aligned so that the document does not overlap.

【0012】[0012]

【発明の実施の形態】次に、添付図面を参照して本発明
による画像回転処理装置および画像回転処理方法の実施
の形態を詳細に説明する。図1から図17を参照する
と、本発明の画像回転処理装置および画像回転処理方法
の一実施形態が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of an image rotation processing apparatus and an image rotation processing method according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 to FIG. 17 show an embodiment of an image rotation processing apparatus and an image rotation processing method according to the present invention.

【0013】(第1の実施例)図1は、本発明の実施形
態の画像回転処理装置を構成する、データを記憶するメ
モリ100と画像の回転処理をする画像回転制御装置1
01のブロック構成例を示す図である。
(First Embodiment) FIG. 1 shows an image rotation processing apparatus according to an embodiment of the present invention. A memory 100 for storing data and an image rotation control apparatus 1 for performing image rotation processing.
It is a figure which shows the example of a block structure of No. 01.

【0014】画像回転制御装置101は、メモリアクセ
スのための信号を作成する回路であり、アドレス生成部
102、回転方向管理部103、データ保持されている
状態を管理する状態管理部104、制御信号生成部10
5、リードとライトの切り替えを管理するR/W管理部
106、データ入出力方向を制御するデータ入出力制御
部107、データのタイミングを合わせるためのタイミ
ング調整部108、109から構成されている。
An image rotation control device 101 is a circuit for generating a signal for memory access, and includes an address generation unit 102, a rotation direction management unit 103, a state management unit 104 for managing a state in which data is held, and a control signal. Generator 10
5. An R / W management unit 106 for managing switching between read and write, a data input / output control unit 107 for controlling the data input / output direction, and timing adjustment units 108 and 109 for matching data timing.

【0015】図2に示すような原稿を矢印方向に順にメ
モリに書き込んだデータを同方向に読み出す場合(図2
(a))には、画像の回転は回転0度である。しかし、
図2(b)に示すように読み出しを行うと回転90度で
ある。図2(c)に示すように読み出しを行うと回転1
80度である。また、図2(d)に示すように読み出し
を行うと回転270度となる。
When data written in a memory as shown in FIG. 2 in the direction of an arrow is read out in the same direction (FIG. 2).
In (a)), the rotation of the image is 0 degree. But,
When reading is performed as shown in FIG. 2B, the rotation is 90 degrees. When reading is performed as shown in FIG.
80 degrees. When reading is performed as shown in FIG. 2D, the rotation becomes 270 degrees.

【0016】カラー画像の作像について考える。カラー
画像原稿は、4色KYCMを作像するため4色分のデー
タ処理(4回スキャン等)を行う。読み取った原稿を回
転する場合、4色分のデータ処理を順に回転を行うもの
とする。例えば、図2に示すように縦原稿で回転90度
を行う場合について説明する。4色分のデータをスキャ
ナで読み取り、4回スキャンするものとする。
Consider the formation of a color image. The color image original is subjected to data processing (four scans or the like) for four colors in order to form a four-color KYCM. When rotating the read document, it is assumed that data processing for four colors is sequentially rotated. For example, a case where a 90-degree rotation is performed on a vertical document as shown in FIG. 2 will be described. It is assumed that data for four colors is read by a scanner and scanned four times.

【0017】図3は、メモリへのアクセスを説明する図
であり、縦原稿を90度回転した場合の読み出しと書き
込みの手順例を示している。なお、図3(a)から図3
(e)は、カラー原稿の場合の4色分のアクセスの説明
図である。1回目のスキャン時は、図3(a)に示すよ
うに矢印方向301に順に画像を読み取り、原稿と同様
な方向でメモリに画像を蓄える。2回目のスキャン時
は、図3(b)に示すように、1回目のスキャンにより
蓄えた画像データ(網点部分)を90度回転して読み出
しを行う。読み出した後の同アドレスに2回目のスキャ
ンで入力されるデータを書き込む。
FIG. 3 is a diagram for explaining access to the memory, and shows an example of a reading and writing procedure when a vertical document is rotated by 90 degrees. It should be noted that FIG.
(E) is an explanatory diagram of access for four colors in the case of a color original. At the time of the first scan, as shown in FIG. 3A, the images are sequentially read in the arrow direction 301, and the images are stored in the memory in the same direction as the original. At the time of the second scan, as shown in FIG. 3B, the image data (dotted portion) stored by the first scan is rotated 90 degrees and read. The data input in the second scan is written to the same address after reading.

【0018】図2(b)の90度回転の読み出しは、矢
印302で示すように順に読み出し、1ラインは画像が
蓄えられている後端まで行う。書き込みは矢印303で
示すように順に行い、1ラインはスキャンにより入力さ
れる長さとなる。このため、読み出しより短い長さとな
る。但し、原稿の縦横の長さにより読み出しと書き込み
の長さの関係は逆となる場合もある。読み出しと書き込
みの制御は、1ドット毎に読み出しを行い同アドレスに
1ドット書き込むようになる。このように、3回目のス
キャンは、図3(c)に示すように矢印304が読み出
し、矢印305が書き込みとなる。4回目のスキャン
は、図3(d)に示すように矢印306が読み出し、矢
印307が書き込みとなる。4回目のスキャンまでで
(3色)の出力が行われたことになる。最後に4色目の
出力時は、矢印方向の読み出しのみの制御(図3
(e))を行う。
The reading of the 90-degree rotation in FIG. 2B is sequentially read as indicated by an arrow 302, and one line is read up to the rear end where the image is stored. Writing is performed in order as indicated by an arrow 303, and one line has a length input by scanning. For this reason, the length is shorter than the readout. However, the relationship between the read and write lengths may be reversed depending on the length and width of the document. The control of reading and writing is such that reading is performed for each dot and one dot is written at the same address. Thus, in the third scan, the arrow 304 reads out and the arrow 305 writes as shown in FIG. In the fourth scan, an arrow 306 reads out and an arrow 307 writes as shown in FIG. This means that the output of (three colors) has been performed up to the fourth scan. Finally, at the time of output of the fourth color, control of only reading in the direction of the arrow (FIG.
(E)) is performed.

【0019】流れを示すと、1回目のスキャンでメモリ
への書き込みを行う。2回目のスキャンで、1回目のデ
ータの回転読み出しと2回目のスキャンのデータ書き込
みを行う。3回目のスキャンで、2回目のデータの回転
読み出しと3回目のスキャンのデータ書き込みを行う。
4回目のスキャンで、3回目のデータの回転読み出しと
4回目のスキャンのデータ書き込みを行う。5回目は、
メモリから4回目のデータの読み出しとなる。それぞれ
90度、180度、270度の回転を行った場合は、図
4(a)から図4(c)に示すようになる。なお、図中
に示した符号1、2、3、4が順に読み出し開始位置と
なる。
To show the flow, writing to the memory is performed in the first scan. In the second scan, rotation reading of the first data and data writing of the second scan are performed. In the third scan, rotation reading of the second data and data writing of the third scan are performed.
In the fourth scan, rotation reading of the third data and data writing of the fourth scan are performed. The fifth time,
This is the fourth data read from the memory. When the rotation is performed by 90 degrees, 180 degrees, and 270 degrees, respectively, the results are as shown in FIGS. 4A to 4C. Note that reference numerals 1, 2, 3, and 4 shown in FIG.

【0020】メモリは、斜線部分以外の部分形状が必要
となる。また、読み取り原稿を図5に示すように、横の
90度回転の場合の読み出しと書き込みは、図5(a)
から図5(e)に示すようになる。90度、180度、
270度の回転を行った場合は、図6(a)から図6
(c)に示すようになる。なお、図中に示した符号1、
2、3、4が順に読み出し開始位置となる。
The memory requires a partial shape other than the hatched portion. As shown in FIG. 5, the reading and writing in the case where the read original is rotated 90 degrees in the horizontal direction are performed as shown in FIG.
FIG. 5E shows the result. 90 degrees, 180 degrees,
In the case of performing the rotation of 270 degrees, FIG.
The result is as shown in FIG. In addition, the code | symbol 1 shown in the figure,
2, 3, and 4 are read start positions in order.

【0021】メモリは、斜線部分以外の部分形状が必要
となる。メモリは、原稿の縦横の利用を考えると図7に
示すような部分が必要になる。このような形状のメモリ
を利用するためのメモリアドレスマッピングおよび制御
に関して説明する。
The memory requires a partial shape other than the hatched portion. The memory requires a portion as shown in FIG. The memory address mapping and control for using the memory having such a shape will be described.

【0022】図7に示した形状を各ブロックaからfと
する。図8は、メモリのアドレスマッピングの説明図で
ある。各ブロックを図8に示すようにブロックaからブ
ロックfとブロックg部分としてマッピングを行う。ブ
ロックfは、回転した形でのマッピングとなる。ここ
で、ブロックg部分は未使用部分である。
The shapes shown in FIG. 7 are referred to as blocks a to f. FIG. 8 is an explanatory diagram of the address mapping of the memory. Each block is mapped as a block a to a block f and a block g as shown in FIG. Block f is a mapping in a rotated form. Here, the block g is an unused portion.

【0023】図8に示す形で、先頭800とし1ライン
の後端801の後は、先頭800の1つ上のライン80
2となる1次元のマッピングとする。図9は、メモリの
アクセス方向の説明図である。また、図10は、回転処
理例2を示すブロック図である。このようなアドレスマ
ッピングのメモリをアクセスする方向は、前述の図4
と、図6、図9に示す符号1から符号13の矢印方向が
ある。
In the form shown in FIG. 8, the line 800 is located at a position immediately above the head 800 after the end 800 of the one line.
It is assumed to be a one-dimensional mapping of 2. FIG. 9 is an explanatory diagram of a memory access direction. FIG. 10 is a block diagram showing a rotation processing example 2. The direction of accessing the memory having such an address mapping is as shown in FIG.
And the arrow directions of reference numerals 1 to 13 shown in FIGS.

【0024】図11は、縦原稿を90度回転した場合の
読み出しと書き込みの説明図であり、これらの方向をア
ドレスマッピングに合わせた形の図である。それぞれ、
アクセス方向を考えると、符号2、5、8、9、10、
11で1つの方向のアクセスであり、符号5が基準点と
なり、符号8がx方向へシフトしたアドレス、符号9が
y方向へのシフトしたアドレス、符号2、10、11が
x、y方向共にシフトしたアドレスからのアクセスとし
ての制御となる。
FIG. 11 is an explanatory diagram of reading and writing when a vertical document is rotated by 90 degrees, in which the directions are adjusted to address mapping. Respectively,
Considering the access direction, reference numerals 2, 5, 8, 9, 10,
Reference numeral 11 denotes access in one direction, reference numeral 5 is a reference point, reference numeral 8 is an address shifted in the x direction, reference numeral 9 is an address shifted in the y direction, and reference numerals 2, 10, and 11 are both in the x and y directions. Control is performed as access from the shifted address.

【0025】同様に、符号3、7、12、13で1つの
方向のアクセスであり、符号7を基準に符号3がy方向
へシフトしたアドレス、符号12、13がx、y方向に
シフトしたアドレスからのアクセスとしての制御とな
る。また、符号1、6で1つの方向のアクセスであり、
符号6を基準に符号1がx方向へシフトしたアドレスで
の制御となる。また、符号4で1つの方向のアクセスと
なる。
Similarly, access is made in one direction by reference numerals 3, 7, 12, and 13. Address 3 is shifted in the y direction with reference to reference code 7, and references 12 and 13 are shifted in the x and y directions. It is controlled as access from the address. Also, access in one direction is indicated by reference numerals 1 and 6,
The control is performed at an address in which the code 1 is shifted in the x direction based on the code 6. Reference numeral 4 indicates access in one direction.

【0026】(動作例)図1の回路図にあわせてメモリ
の制御動作を説明する。図2に示すように縦原稿は90
度回転を行い、図3のように読み出しと書き込みの制御
を行う場合とする。原稿を読み取ったデータは、入力デ
ータ119として入力される。タイミング調整部109
において、メモリへの書き込みを行うための信号とのタ
イミングをとる。タイミングを取ったデータは、データ
入出力制御部107の入出力の切り替えにより入力され
る。
(Operation Example) The control operation of the memory will be described with reference to the circuit diagram of FIG. As shown in FIG.
It is assumed that rotation is performed by degrees and reading and writing are controlled as shown in FIG. The data obtained by reading the document is input as input data 119. Timing adjustment unit 109
, Timing with a signal for writing to the memory is taken. The timed data is input by switching the input / output of the data input / output control unit 107.

【0027】データ入出力制御部107の入出力の切り
替えは、制御信号生成部105の読み出しと書き込みに
より行われる。読み出しの場合はメモリ100から画像
回転制御装置101へ、書き込みの場合は画像回転制御
装置101からメモリ100への処理となる。
The input / output switching of the data input / output control unit 107 is performed by reading and writing by the control signal generation unit 105. In the case of reading, processing is performed from the memory 100 to the image rotation control device 101, and in the case of writing, processing is performed from the image rotation control device 101 to the memory 100.

【0028】制御信号生成部105は、メモリ100を
アクセスするための信号を作成するものである。制御信
号としてWE、CS、RAS、CASを生成する。ここ
で生成されるWEによりデータ入出力制御部107の入
出力の切り替えを行う。
The control signal generator 105 is for generating a signal for accessing the memory 100. WE, CS, RAS, and CAS are generated as control signals. The input / output of the data input / output control unit 107 is switched by the WE generated here.

【0029】読み出しと書き込みの繰り返しは、図3
(a)の1回目のスキャンでは書き込みのみである。2
回目のスキャン時は、1ドット毎に読み出しと書き込み
を繰り返すが、領域310の部分においては書き込みの
みであり、領域311の部分においては読み出しのみで
ある。この3通りの制御の管理をR/W管理部106の
R/W制御により行う。
The repetition of reading and writing is shown in FIG.
In the first scan of (a), only writing is performed. 2
At the time of the first scan, reading and writing are repeated for each dot, but only writing is performed in the area 310 and only reading is performed in the area 311. The three types of control are managed by R / W control of the R / W management unit 106.

【0030】以下、説明を簡易にするため、読み出しと
書き込みの交互の制御を(R/W)とし、読み出しを
(R)、書き込みを(W)として説明する。読み出しは
読み出し生成部116により生成され、書き込みは書き
込み生成部117により生成される。
For simplicity, the following description will be made on the assumption that alternate control of reading and writing is (R / W), reading is (R), and writing is (W). The read is generated by the read generation unit 116, and the write is generated by the write generation unit 117.

【0031】R/W管理部106による制御の管理は、
原稿のサイズおよびスキャン回数、回転方向により行
う。例えば、スキャン回数は2回、原稿サイズの縦Y、
横XでY>X、90度回転の情報がR/W管理部106
に得られているものとする。R/W管理部106による
R/W制御は、2回目の90度回転、Y>Xの情報より
(R/W)→(W)を繰り返し、(R)の制御と判断す
る。R/W管理部106の判断により、選択部115に
おいて読み出し生成部116の読み出しと書き込み生成
部117の書き込みのいずれかを選択する。これら判断
条件とその制御の対応は、以下のようになる。なお、下
記の‘:’において、左側(‘)が条件であり右
側(’)が制御である。ここで制御の‘→’は、1ライ
ンの途中で変わることを示す。‘、’は、数ライン後に
変わる制御を示す。
The control management by the R / W management unit 106 is as follows.
This is performed according to the size of the document, the number of scans, and the rotation direction. For example, the number of scans is 2, the vertical Y of the document size,
Information of horizontal X, Y> X, and 90-degree rotation is read / written by R / W management unit 106
It is assumed that The R / W control by the R / W management unit 106 repeats (R / W) → (W) from the information of Y> X and the second 90-degree rotation, and determines that the control is (R). Based on the judgment of the R / W management unit 106, the selection unit 115 selects one of reading by the reading generation unit 116 and writing by the writing generation unit 117. The correspondence between these determination conditions and their controls is as follows. In the following ":", the left side (") is the condition and the right side (") is the control. Here, “→” of the control indicates that it changes in the middle of one line. ',' Indicates control that changes after a few lines.

【0032】 90度回転 1回目:(W) 90度回転Y>Xの2、3、4回目:(R/W)→(W)、(R) X<Yの2、3、4回目:(R/W)→(R)、(W) 90度回転 5回目:(R)90-degree rotation First time: (W) 90-degree rotation Y> X second, third, fourth: (R / W) → (W), (R) X <Y second, third, fourth: (R / W) → (R), (W) 90-degree rotation Fifth rotation: (R)

【0033】このような情報を各回転毎と原稿の縦横に
より制御方法条件として備え、90度回転縦原稿、90
度回転横原稿、180度回転縦原稿、180度回転横原
稿、270度回転縦原稿、270度回転横原稿の情報を
持つことになる。但し、上記の‘→’や‘、’は、数値
データ等である。この制御の切り替えは、アドレス生成
部102に合わせて行われる。
Such information is provided as a control method condition depending on each rotation and the length and width of the original, and a 90-degree rotated vertical original,
The document has information of a 180 ° rotated horizontal document, a 180 ° rotated vertical document, a 180 ° rotated horizontal document, a 270 ° rotated vertical document, and a 270 ° rotated horizontal document. However, the above “→” and “,” are numerical data and the like. This switching of the control is performed in accordance with the address generation unit 102.

【0034】状態管理部104は、回転角度とスキャン
回数を管理する。状態管理部104の状態管理により回
転方向管理部103のアクセス方向の管理を行う。アク
セス方向を説明する。
The state management unit 104 manages the rotation angle and the number of scans. The access direction of the rotation direction management unit 103 is managed by the state management of the state management unit 104. The access direction will be described.

【0035】図3(b)のとき、図9における符号1の
方向と符号11の方向のアクセスであり、メモリは図8
に示すブロックabcdとブロックfへのアクセスとな
る。これらの情報を回転方向管理部103により作成を
行う。回転方向管理部103のアクセス方向により、符
号1から12の方向が決められる。それぞれの符号1か
ら12は、アドレス生成部102により以下のように生
成する。
In the case of FIG. 3B, access is performed in the direction of reference numeral 1 and the direction of reference numeral 11 in FIG.
Access to block abcd and block f shown in FIG. These pieces of information are created by the rotation direction management unit 103. The direction of reference numerals 1 to 12 is determined by the access direction of the rotation direction management unit 103. The codes 1 to 12 are generated by the address generator 102 as follows.

【0036】方向1アドレス110は、図9の符号4の
アクセス方向のアドレスを生成する。方向2アドレス1
11は、図9の符号6のアクセス方向のアドレスを生成
し、符号1は、x方向にシフトする値をオフセット値と
して設定することで生成可能である。
The direction 1 address 110 generates an address in the access direction denoted by reference numeral 4 in FIG. Direction 2 address 1
Numeral 11 generates an address in the access direction indicated by reference numeral 6 in FIG. 9, and reference numeral 1 can be generated by setting a value shifted in the x direction as an offset value.

【0037】方向3アドレス112は、図9の符号5の
アクセス方向のアドレスを生成し、符号8は、x方向に
シフトする値をオフセット値として設定する。符号9
は、y方向にシフトする値をオフセット値として設定す
る。符号2、10、11は、x方向とy方向にシフトす
る値をオフセット値として設定する。
The direction 3 address 112 generates an address in the access direction indicated by reference numeral 5 in FIG. 9, and the reference numeral 8 sets a value shifted in the x direction as an offset value. Code 9
Sets a value shifted in the y direction as an offset value. Symbols 2, 10, and 11 set values that shift in the x and y directions as offset values.

【0038】方向4アドレス113は、図9の符号7の
アクセス方向のアドレスを生成し、符号3、12、13
は、y方向にシフトする値をオフセット値として設定す
る。
The direction 4 address 113 generates an access direction address indicated by reference numeral 7 in FIG.
Sets a value shifted in the y direction as an offset value.

【0039】図3(b)の場合、符号1のアクセス及び
符号11のアクセス方向となり、方向2アドレスと方向
3アドレスの制御となる。方向2と方向3の切り替え
は、方向2アドレスによる生成が終了後に方向3アドレ
スへと切り替わる。以下に方向の制御を示す。
In the case of FIG. 3B, the access direction of the code 1 and the access direction of the code 11 are used, and the direction 2 address and the direction 3 address are controlled. The switching between the direction 2 and the direction 3 is switched to the direction 3 address after the generation by the direction 2 address is completed. The direction control is shown below.

【0040】 1回目:方向1アドレス4 2回目:方向2アドレス1、方向3アドレス11 3回目:方向3アドレス2→方向3アドレス13、方向
3アドレス10 4回目:方向4アドレス3→方向4アドレス12 5回目:方向1アドレス4 このように制御を行うことで第1の発明である回転制御
が可能となる。
First time: Direction 1 address 4 Second time: Direction 2 address 1, Direction 3 address 11 Third time: Direction 3 address 2 → Direction 3 address 13, Direction 3 address 10 Fourth time: Direction 4 address 3 → Direction 4 address 125th: direction 1 address 4 By performing control in this way, the rotation control according to the first aspect of the present invention can be performed.

【0041】(第2の実施例)図10は、画像回転制御
装置1001の構成を示すブロック図およびデータを記
憶するメモリ1000である。画像回転制御装置100
1は、メモリアクセスのための信号を作成するための回
路であり、アドレス生成部1002、アクセス順番の管
理および読み出しと書き込みの切り替えの管理を行うア
クセス順管理部の回転方向管理部1003、データが保
持されている状態であるスキャン回数と回転角度等を管
理する状態管理部1004、制御信号生成部1005、
データ入出力方向を制御するデータ入出力制御部100
7、データのタイミングを合わせるためのタイミング調
整部1008、1009から構成されている。
(Second Embodiment) FIG. 10 is a block diagram showing the configuration of the image rotation control device 1001 and a memory 1000 for storing data. Image rotation control device 100
Reference numeral 1 denotes a circuit for generating a signal for memory access, which includes an address generation unit 1002, a rotation direction management unit 1003 of an access order management unit that manages access order and management of switching between reading and writing. A state management unit 1004 that manages the number of scans and a rotation angle that are held, a control signal generation unit 1005,
Data input / output control unit 100 for controlling data input / output direction
7. It comprises timing adjusters 1008 and 1009 for adjusting data timing.

【0042】図10の回路図にあわせてメモリの制御動
作を説明する。図11に示すような縦原稿を90度回転
を行う場合とする。原稿を読み取ったデータは、入力デ
ータ1019から入力される。タイミング調整部100
9は、制御信号生成部1005およびアドレス生成部1
002で作成されるアドレス、制御信号とによりタイミ
ング調整をする。タイミングを取ったデータは、データ
入出力制御部1007の入出力の切り替えに入力され
る。
The control operation of the memory will be described with reference to the circuit diagram of FIG. It is assumed that a vertical document as shown in FIG. 11 is rotated by 90 degrees. Data obtained by reading a document is input from input data 1019. Timing adjustment unit 100
9 is a control signal generator 1005 and an address generator 1
The timing is adjusted by the address and the control signal created in step 002. The timed data is input to the input / output switching of the data input / output control unit 1007.

【0043】データ入出力制御部1007の入出力の切
り替えは、制御信号生成部1005の読み出しと書き込
みにより行われる。読み出しの場合はメモリ1000か
ら画像回転制御装置1001へ、書き込みの場合は画像
回転制御装置1001からメモリ1000となるように
切り替えを行う。
The input / output switching of the data input / output control unit 1007 is performed by reading and writing by the control signal generation unit 1005. In the case of reading, switching is performed from the memory 1000 to the image rotation control device 1001, and in the case of writing, switching is performed from the image rotation control device 1001 to the memory 1000.

【0044】制御信号生成部1005は、メモリ100
0をアクセスするための制御信号WE、CS、RAS、
CASを作成する。ここで生成される制御信号WEによ
りデータ入出力制御部1007の入出力の切り替えを行
う。読み出しと書き込みは、1回目のスキャンでは
(W)制御のみである。2回目のスキャン時は、1ドッ
ト毎に(R/W)制御であるが、1101の部分におい
ては、(W)制御であり、1102の部分においては、
(R)制御である。この3通りのアクセスの管理を回転
方向管理部1003により行う。
The control signal generation unit 1005
0 to access control signals WE, CS, RAS,
Create a CAS. The input / output of the data input / output control unit 1007 is switched by the control signal WE generated here. Reading and writing are only (W) control in the first scan. At the time of the second scan, (R / W) control is performed for each dot, but (W) control is performed in the portion of 1101, and in the portion of 1102,
(R) Control. The three kinds of access are managed by the rotation direction management unit 1003.

【0045】読み出しの制御信号は読み出し生成部10
16で作成され、書き込みの制御信号は書き込み生成部
1017で作成され、回転方向管理部1003によるア
クセス管理によって、これらの読み出し生成部1016
と書き込み生成部1017で作成された信号のいずれか
一方を読み出し/書き込み選択部1015により選択さ
れる。また、アクセスを行うメモリブロックの管理も行
う。メモリブロックの管理につては、後述する。
The read control signal is supplied to the read generator 10.
16, the write control signal is generated by the write generation unit 1017, and these read generation units 1016 are controlled by the access management by the rotation direction management unit 1003.
And the signal generated by the write generation unit 1017 are selected by the read / write selection unit 1015. It also manages memory blocks to be accessed. The management of the memory block will be described later.

【0046】回転方向管理部1003によるアクセスの
管理は、原稿のサイズおよびスキャン回数、回転方向に
より行う。例えば、スキャン回数は2回、原稿サイズ縦
Y、横XでY>X、90度回転の情報が得られてい場合
は、(R/W)→(W)を繰り返し、(R)の制御と判
断する。これらは、判断条件とその制御の対応は以下の
様になる。なお、‘:’より左側が条件であり、右側が
制御である。ここで制御の‘→’は1ラインの途中で変
わることを示す。‘、’はメモリブロック終了後に変わ
る制御を示す。
Access management by the rotation direction management unit 1003 is performed based on the size of the document, the number of scans, and the rotation direction. For example, if the number of scans is two, and document size Y> X and Y> X, and information of 90-degree rotation is obtained, (R / W) → (W) is repeated, and the control of (R) and to decide. These correspond to the judgment conditions and their controls as follows. Note that the condition is on the left side of ':' and the control is on the right side. Here, “→” of the control indicates that it changes in the middle of one line. ',' Indicates control that changes after the end of the memory block.

【0047】 90度回転 1回目 :(W) 90度回転Y>Xの2、3、4回目:(R/W)→(W)、(R) X<Yの2、3、4回目:(R/W)→(R)、(W) 90度回転 5回目 :(R)First 90-degree rotation: (W) Second, third, and fourth rotation of 90-degree rotation Y> X: (R / W) → (W), (R) Second, third, and fourth rotation of X <Y: (R / W) → (R), (W) 90-degree rotation Fifth rotation: (R)

【0048】このような情報を各回転方向および原稿の
縦横の区別により回転方向管理部1003に備え、判断
を行う。状態管理部1004は、回転角度とスキャン回
数を管理する。アドレスの生成は、アドレス生成部10
02により行われる。
Such information is provided in the rotation direction management unit 1003 by discriminating each rotation direction and the length and width of the document, and the judgment is made. The state management unit 1004 manages the rotation angle and the number of scans. The address is generated by the address generation unit 10
02.

【0049】回転90度で原稿が縦であるとき図11に
示すように、1回目のスキャンで図11(a)のように
データの書き込みを行い、2回目のスキャンで図11
(b)のように読み出しと書き込みを行う。3回目のス
キャンで図11(c)、4回目のスキャンで図11
(d)となる。5回目は、メモリからの読み出しのみと
なる。
When the original is vertical at a rotation of 90 degrees, as shown in FIG. 11, data is written in the first scan as shown in FIG.
Reading and writing are performed as shown in FIG. FIG. 11C shows the third scan, and FIG. 11 shows the fourth scan.
(D). The fifth time is only reading from the memory.

【0050】図11での矢印は短い方が読み出しであ
り、長い方が書き込みである。同様に原稿が横であると
き図12に示すようになる。図12は、横原稿を90度
回転した場合の読み出しと書き込みの説明図であり、メ
モリの3つのブロックをマッピングした形である。図1
3は、必要な部分のブロック化の説明図である。また、
図14は、メモリのアドレスマッピングの説明図であ
る。これら3つのブロックは、正方形部分と長方形部分
2つに別れ、正方形部分は、原稿を回転しない場合と原
稿を90度回転した場合の方向で、2辺の位置を合わせ
て重なった部分である。長方形部分は、残りの部分であ
る。図11および図12における正方形部分と長方形部
分(網点と斜線)のブロックである。このブロックは、
図13に示すように“a”、“b”、“c”とすると、
図14に示すようなマッピングになるようにする。この
ようなマッピングでのアドレス生成について説明する。
In FIG. 11, the shorter arrow indicates reading, and the longer arrow indicates writing. Similarly, when the document is horizontal, the result is as shown in FIG. FIG. 12 is an explanatory diagram of reading and writing when the horizontal document is rotated by 90 degrees, in which three blocks of the memory are mapped. FIG.
FIG. 3 is an explanatory diagram of blocking necessary parts. Also,
FIG. 14 is an explanatory diagram of the address mapping of the memory. These three blocks are divided into a square portion and a rectangular portion, and the square portion is a portion where the two sides are aligned and overlapped in the directions when the document is not rotated and when the document is rotated 90 degrees. The rectangular part is the rest. It is a block of a square part and a rectangular part (halftone and oblique lines) in FIGS. This block
As shown in FIG. 13, if “a”, “b”, and “c” are used,
The mapping is made as shown in FIG. Address generation in such a mapping will be described.

【0051】状態管理部1004の状態と回転方向管理
部1003のアクセス順の管理により、アドレス生成部
1002はアドレスを作成する。回転方向管理部100
3のアクセス順管理は、図16、図17に示すようなア
クセス順の情報を保持している。
The address generation unit 1002 creates an address by managing the state of the state management unit 1004 and the access order of the rotation direction management unit 1003. Rotation direction management unit 100
The access order management of No. 3 holds information on the access order as shown in FIGS.

【0052】図16は、図11の場合の処理であり、図
17は図12の場合の処理である。図16、17におい
て、ここで→は、1ラインの途中でアクセスアドレスが
移ることを意味する。‘、’は、前のブロックのアクセ
スが終了したら…、の意味である。‘→’や‘、’の情
報は、回転方向管理部1003のアクセス管理部内にお
いて処理できるデータとして表されている。実際には、
数値データ等である。ここでは、説明を容易にするため
用いる。
FIG. 16 shows the processing in the case of FIG. 11, and FIG. 17 shows the processing in the case of FIG. In FIGS. 16 and 17, “→” means that the access address shifts in the middle of one line. ',' Means when the access of the previous block is completed. The information “→”, “,” is represented as data that can be processed in the access management unit of the rotation direction management unit 1003. actually,
Numerical data and the like. Here, it is used for ease of explanation.

【0053】図15は、アクセス方向の説明図である。
また、図16および図17は、アクセスのための情報の
説明図である。例えば図16の場合、スキャン1回目
は、“a4→b4”という情報からブロック“a”のメ
モリ領域を“4”方向にアドレスの制御順で行う。次
に、ブロック“b”のメモリ領域を“4”方向にアドレ
ス制御順で行う。方向は、図15に示すような番号と
し、図13に示すように各メモリブロックは全てのアド
レス制御方向がある。
FIG. 15 is an explanatory diagram of the access direction.
FIG. 16 and FIG. 17 are explanatory diagrams of information for access. For example, in the case of FIG. 16, in the first scan, the memory area of the block “a” is controlled in the direction of address control in the “4” direction based on the information “a4 → b4”. Next, the memory area of the block “b” is performed in the address control order in the “4” direction. The directions are numbers as shown in FIG. 15, and as shown in FIG. 13, each memory block has all the address control directions.

【0054】スキャン2回目は、“a1→b1、c2”
でありブロック“a”を“1”の方向にアドレス制御順
で行い、次にブロック“b”のメモリ領域を“1”方向
にアドレス制御順で行う。この処理は、1ライン毎に繰
り返し行う。ブロック“a”と“b”が終了したら、ブ
ロック“c”の領域を“2”方向にアドレス制御順で行
う。このように5回までの処理を順に行う。図16のよ
うなアクセスするブロックとアドレス生成のための順序
を回転方向管理部1003に保持し、それに従いメモリ
へのアクセスを行う。これらの情報は、回転角度と原稿
の縦横の情報を備える。このように制御を行うことで、
回転制御が可能となる。
In the second scan, “a1 → b1, c2”
Then, the block "a" is performed in the direction of "1" in the order of address control, and then the memory area of the block "b" is performed in the direction of "1" in the order of address control. This process is repeated for each line. When the blocks “a” and “b” are completed, the area of the block “c” is performed in the “2” direction in the address control order. Thus, the processing up to five times is sequentially performed. The blocks to be accessed and the order for generating the addresses as shown in FIG. 16 are held in the rotation direction management unit 1003, and the memory is accessed accordingly. These pieces of information include information on the rotation angle and the length and width of the document. By performing control in this way,
Rotation control becomes possible.

【0055】[0055]

【発明の効果】以上の説明より明らかなように、本発明
の画像回転処理装置および画像回転処理方法は、回転時
のメモリ制御として、読み出しと書き込みを順に繰り返
し行い、アドレス生成を読み出しと書き込みを同じとす
る。また、メモリのアドレスマッピングで領域毎にブロ
ック化を行い無駄を減らしている。これにより、メモリ
を削減し、かつ読み出しと書き込みのアドレス生成を同
一のアドレスとして作成することで、アクセスの高速化
が可能である。
As is clear from the above description, the image rotation processing apparatus and the image rotation processing method of the present invention repeatedly perform reading and writing in order as memory control during rotation, and perform reading and writing of address generation. Same. In addition, the area is divided into blocks by memory address mapping to reduce waste. This makes it possible to reduce the number of memories and generate read and write addresses as the same address, thereby increasing the access speed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の画像回転処理装置の実施形態を示すブ
ロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an image rotation processing apparatus according to the present invention.

【図2】回転方向の動作例1を説明するための概念図で
ある。
FIG. 2 is a conceptual diagram illustrating an operation example 1 in a rotation direction.

【図3】縦原稿を90度回転した場合のメモリへのアク
セスであり、(a)から(e)はカラー原稿の場合に4
色分のアクセスの説明図である。
FIG. 3 shows access to a memory when a vertical document is rotated by 90 degrees. FIGS.
FIG. 9 is an explanatory diagram of access for a color.

【図4】縦原稿の90度、180度、270度の回転を
行った場合を説明するための図である。
FIG. 4 is a diagram illustrating a case where a vertical document is rotated by 90 degrees, 180 degrees, and 270 degrees.

【図5】横原稿を90度回転した場合の読み出しと書き
込みの説明図である。
FIG. 5 is an explanatory diagram of reading and writing when a horizontal document is rotated by 90 degrees.

【図6】横原稿の90度、180度、270度回転の場
合の必要なメモリ部分の説明図である。
FIG. 6 is an explanatory diagram of a necessary memory portion when rotating a horizontal document by 90 degrees, 180 degrees, and 270 degrees.

【図7】必要な部分のブロックの説明図である。FIG. 7 is an explanatory diagram of blocks of necessary parts.

【図8】メモリのアドレスマッピングの説明図である。FIG. 8 is an explanatory diagram of address mapping of a memory;

【図9】メモリのアクセス方向の説明図である。FIG. 9 is an explanatory diagram of a memory access direction.

【図10】実施例2の回転処理装置を示すブロック構成
図である。
FIG. 10 is a block diagram illustrating a rotation processing apparatus according to a second embodiment.

【図11】縦原稿を90度回転した場合の読み出しと書
き込みの説明図である。
FIG. 11 is an explanatory diagram of reading and writing when a vertical document is rotated by 90 degrees.

【図12】横原稿を90度回転した場合の読み出しと書
き込みの説明図である。
FIG. 12 is an explanatory diagram of reading and writing when a horizontal document is rotated by 90 degrees.

【図13】必要な部分のブロック化の説明図である。FIG. 13 is an explanatory diagram of blocking necessary parts.

【図14】メモリのアドレスマッピングの説明図であ
る。
FIG. 14 is an explanatory diagram of address mapping of a memory;

【図15】アクセス方向の説明図である。FIG. 15 is an explanatory diagram of an access direction.

【図16】アクセスのための情報の説明図である。FIG. 16 is an explanatory diagram of information for access.

【図17】アクセスのための情報の説明図である。FIG. 17 is an explanatory diagram of information for access.

【図18】従来例の技術を説明するための概念図であ
る。
FIG. 18 is a conceptual diagram for explaining a conventional technique.

【符号の説明】[Explanation of symbols]

100、1000 メモリ 101、1001 画像回転制御装置 102、1002 アドレス生成部 103、1003 回転方向管理部 104、1004 状態管理部 105、1005 制御信号生成部 106 R/W管理部 107、1007 データ入出力制御部 108、109、1008、1009 タイミング調整
部 110 方向1アドレス生成部 111 方向2アドレス生成部 112 方向3アドレス生成部 113 方向4アドレス生成部 115 選択部 116、1016 読み出し生成部 117、1017 書き込み生成部 119、1019 入力データ 302、303、304、305、306、307 ア
クセス方向 800 先頭アドレス 801 1ライン目後端 802 2ライン目先頭 1010 ブロックa制御部 1011 ブロックb制御部 1012 ブロックc制御部 1014 ブロック制御選択部 1015 読み出し/書き込み選択部
100, 1000 Memory 101, 1001 Image rotation control device 102, 1002 Address generation unit 103, 1003 Rotation direction management unit 104, 1004 State management unit 105, 1005 Control signal generation unit 106 R / W management unit 107, 1007 Data input / output control Units 108, 109, 1008, 1009 Timing adjustment unit 110 Direction 1 address generation unit 111 Direction 2 address generation unit 112 Direction 3 address generation unit 113 Direction 4 address generation unit 115 Selection unit 116, 1016 Read generation unit 117, 1017 Write generation unit 119, 1019 Input data 302, 303, 304, 305, 306, 307 Access direction 800 Start address 801 Back end of first line 802 Start of second line 1010 Block a control unit 1011 Block b control 1012 block c controller 1014 block control selecting section 1015 read / write selector

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/46 H04N 1/46 Z Fターム(参考) 5B057 BA02 BA11 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CD03 CH11 5C073 AA02 BB02 CE04 5C076 AA24 BA03 BA04 5C077 LL17 LL18 MM30 MP08 NP05 PP22 PP33 PP38 PP68 PQ22 TT06 5C079 HB03 JA01 LA36 MA02 NA10 NA11 NA13 PA01 PA02 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/46 H04N 1/46 Z F term (Reference) 5B057 BA02 BA11 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CD03 CH11 5C073 AA02 BB02 CE04 5C076 AA24 BA03 BA04 5C077 LL17 LL18 MM30 MP08 NP05 PP22 PP33 PP38 PP68 PQ22 TT06 5C079 HB03 JA01 LA36 MA02 NA10 NA11 NA13 PA01 PA02

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像を回転する画像回転処理装置
において、 原稿の画像を読み取る手段と、 該読み取った原稿の画像データを保持するメモリと、 該メモリへのアクセスを行うためのアドレスと制御信号
を生成する手段と、 前記アドレスの生成においてアクセス方向が書き込みに
対して0度、90度、180度、270度回転したアド
レスを生成する手段と、 回転して読み出すアドレスと同アドレスに次の読み取り
データをアクセス単位で順次書き込みを行う手段と、 前記回転読み出しと書き込みとを順繰りに行いカラー画
像の4回の読み出しを1処理単位とする手段とを備え、 回転読み出しと同じアドレスに次のデータの書き込み処
理を行うこと、 を特徴とする画像回転処理装置。
1. An image rotation processing apparatus for rotating a color image, comprising: means for reading an image of a document; a memory for holding image data of the read document; and an address and control signal for accessing the memory. Means for generating the address, means for generating an address whose access direction is 0, 90, 180, or 270 degrees with respect to writing in the generation of the address; Means for sequentially writing data in access units; and means for performing the rotation reading and writing in order to make four readings of a color image as one processing unit, wherein the next data is stored at the same address as the rotation reading. Performing an image writing process.
【請求項2】 請求項1記載の画像回転処理装置におい
て、 前記メモリは3つのブロックを持ち、該3つのブロック
は1つの正方形部分と2つの長方形部分とに別れて構成
されたことを特徴とする画像回転処理装置。
2. The image rotation processing device according to claim 1, wherein the memory has three blocks, and the three blocks are separately configured into one square portion and two rectangular portions. Image rotation processing device.
【請求項3】 請求項2記載の画像回転処理装置におい
て、 前記正方形部分のサイズM×Mは原稿を回転しない場合
と原稿を90度回転した場合の方向で2辺の位置を合わ
せ原稿の重なった部分とし、 前記長方形部分の2つのブロックは同じサイズであり、
M×Nのサイズを持ち、該サイズM×Nは原稿を回転し
ない場合と原稿を90度回転した場合の方向で2辺の位
置を合わせ原稿の重ならない部分としたメモリサイズの
構成により、回転処理を行うことを特徴とする画像回転
処理装置。
3. The image rotation processing apparatus according to claim 2, wherein the size M × M of the square portion is such that two sides are aligned in a direction when the document is not rotated and a direction when the document is rotated by 90 degrees, and the size of the document is overlapped. The two blocks of the rectangular part are the same size,
It has a size of M × N, and the size M × N is rotated by a memory size configuration in which two sides are aligned in a direction in which the document is not rotated and a direction in which the document is rotated by 90 degrees so that the document does not overlap. An image rotation processing device for performing processing.
【請求項4】 カラー画像を回転する画像回転処理方法
において、 原稿の画像を読み取る工程と、 該読み取った原稿の画像データを保持する記憶工程と、 該記憶工程へのアクセスを行うためのアドレスと制御信
号を生成する工程と、 前記アドレスの生成においてアクセス方向が書き込みに
対して0度、90度、180度、270度回転したアド
レスを生成する工程と、 回転して読み出すアドレスと同アドレスに次の読み取り
データをアクセス単位で順次書き込みを行う工程と、 前記回転読み出しと書き込みとを順繰りに行いカラー画
像の4回の読み出しを1処理単位とする工程とを備え、 回転読み出しと同じアドレスに次のデータの書き込み処
理を行うこと、 を特徴とする画像回転処理方法。
4. An image rotation processing method for rotating a color image, comprising: a step of reading an image of a document; a storage step of holding image data of the read document; and an address for accessing the storage step. A step of generating a control signal; a step of generating an address in which the access direction is rotated by 0, 90, 180, or 270 degrees with respect to writing in the generation of the address; A step of sequentially writing the read data of the color image in an access unit; and a step of sequentially performing the rotation reading and the writing to make four readings of the color image as one processing unit. Performing a data writing process;
【請求項5】 請求項4記載の画像回転処理方法におい
て、 前記記憶工程は3つのブロックを持ち、該3つのブロッ
クは1つの正方形部分と2つの長方形部分とに別れて構
成されたことを特徴とする画像回転処理方法。
5. The image rotation processing method according to claim 4, wherein the storage step has three blocks, and the three blocks are configured separately into one square portion and two rectangular portions. Image rotation processing method.
【請求項6】 請求項5記載の画像回転処理方法におい
て、 前記正方形部分のサイズM×Mは原稿を回転しない場合
と原稿を90度回転した場合の方向で2辺の位置を合わ
せ原稿の重さなった部分とし、 前記長方形部分の2つのブロックは同じサイズであり、
M×Nのサイズを持ち、該サイズM×Nは原稿を回転し
ない場合と原稿を90度回転した場合の方向で2辺の位
置を合わせ原稿の重ならない部分としたメモリサイズの
構成により、回転処理を行うことを特徴とする画像回転
処理方法。
6. The image rotation processing method according to claim 5, wherein the size M × M of the square portion is determined by aligning two sides in a direction in which the document is not rotated and a direction in which the document is rotated by 90 degrees. The two blocks of the rectangular part are the same size,
It has a size of M × N, and the size M × N is rotated by a memory size configuration in which two sides are aligned in a direction in which the document is not rotated and a direction in which the document is rotated by 90 degrees so that the document does not overlap. An image rotation processing method comprising performing processing.
JP28123099A 1999-10-01 1999-10-01 Image rotation processing device and image rotation processing method Pending JP2001103292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28123099A JP2001103292A (en) 1999-10-01 1999-10-01 Image rotation processing device and image rotation processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28123099A JP2001103292A (en) 1999-10-01 1999-10-01 Image rotation processing device and image rotation processing method

Publications (1)

Publication Number Publication Date
JP2001103292A true JP2001103292A (en) 2001-04-13

Family

ID=17636188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28123099A Pending JP2001103292A (en) 1999-10-01 1999-10-01 Image rotation processing device and image rotation processing method

Country Status (1)

Country Link
JP (1) JP2001103292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085450A (en) * 2006-09-26 2008-04-10 Kyocera Mita Corp Image forming apparatus
US9471961B2 (en) 2013-02-28 2016-10-18 Samsung Electronics Co., Ltd. Method for rotating an original image using self-learning and apparatuses performing the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085450A (en) * 2006-09-26 2008-04-10 Kyocera Mita Corp Image forming apparatus
US9471961B2 (en) 2013-02-28 2016-10-18 Samsung Electronics Co., Ltd. Method for rotating an original image using self-learning and apparatuses performing the method

Similar Documents

Publication Publication Date Title
US5086346A (en) Image processing apparatus having area designation function
JPS6341051B2 (en)
EP0506381A2 (en) Image processing apparatus
US4893195A (en) Image processing apparatus capable of eliminating moire pattern
JP3166447B2 (en) Image processing apparatus and image processing method
JP2001103292A (en) Image rotation processing device and image rotation processing method
US7508538B2 (en) Image data rotation apparatus
US5712714A (en) Image processing apparatus
JPH09289584A (en) Method for processing picture and its device
US6980701B1 (en) Image processing method and apparatus capable of rotating and reversing an input image
JPH0923320A (en) Picture recorder
JP3346916B2 (en) Image rotation device
JP2763992B2 (en) Halftone dot recording device
JP2875434B2 (en) Halftone signal generator
JP2834758B2 (en) Image processing device
JP3203024B2 (en) Image processing apparatus and image processing method
JP3028692B2 (en) Image rotation device
JP2952270B2 (en) Image conversion device
JP2737932B2 (en) Image data reduction device
JP2001086358A (en) Method and device for gradation processing of image data
JP2926710B2 (en) Image processing device
JP2770950B2 (en) Image signal processing device
JP2000032258A (en) Image processing unit and image processing method
JPS62191968A (en) Image processor
JP2000231631A (en) Image rotating device