JPH06251139A - Image rotational processor - Google Patents

Image rotational processor

Info

Publication number
JPH06251139A
JPH06251139A JP5040103A JP4010393A JPH06251139A JP H06251139 A JPH06251139 A JP H06251139A JP 5040103 A JP5040103 A JP 5040103A JP 4010393 A JP4010393 A JP 4010393A JP H06251139 A JPH06251139 A JP H06251139A
Authority
JP
Japan
Prior art keywords
image
image information
rotation processing
size
image data
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
JP5040103A
Other languages
Japanese (ja)
Inventor
Katsutoshi Imai
克敏 今井
Toshikazu Matsuoka
俊和 松岡
Yuji Ito
裕二 伊藤
Masami Inagi
雅美 稲木
Shunichi Hosokawa
俊一 細川
Hiroshi Ohira
洋 大平
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5040103A priority Critical patent/JPH06251139A/en
Priority to TW082104904A priority patent/TW226449B/en
Priority to KR1019930021750A priority patent/KR970004111B1/en
Publication of JPH06251139A publication Critical patent/JPH06251139A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To execute a rotational processing of larger image information than image information which can be stored in an image storage area. CONSTITUTION:Based on size information of input image information inputted from an input device 1, an image expanding part 2 expands it to divided image information being a divided unit of a rotational processing, and an image storage area comparing part 3 decides whether this expanded divided image information is larger size than prescribed storage size required for the rotational processing or not. Subsequently, when a result of this decision is larger size, a resolution converting part 4 executes a resolution convertion at a reduction rate for reducing it to the prescribed storage size or below. Also, an image rotating part 7 executes a rotational processing of the converted image information, and an output control part 8 outputs this image information subjected to rotational processing to an output device 9.

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 device for rotating image information at an arbitrary angle and outputting it.

【0002】[0002]

【従来の技術】従来、入力された画像情報を任意の角度
に回転処理を行って出力する画像回転処理装置により回
転処理を行う場合、適切な複数の領域に分割し、各分割
領域ごとに回転処理を行って、入力された画像情報の回
転処理を行っていた。
2. Description of the Related Art Conventionally, when rotation processing is performed by an image rotation processing device that performs rotation processing of input image information at an arbitrary angle and outputs it, it is divided into a plurality of appropriate areas and rotated for each divided area. Processing is performed to rotate the input image information.

【0003】図5は、従来の画像回転処理装置の構成ブ
ロック図である。
FIG. 5 is a block diagram showing the configuration of a conventional image rotation processing device.

【0004】図5において、イメージスキャナ等から取
得され、磁気ディスク等に記憶されている画像情報が入
力されると、画像展開部52は、入力画像情報を、画像
メモリ53のバッファ領域53aに対応する分割画像情
報として展開する。
In FIG. 5, when image information acquired from an image scanner or the like and stored in a magnetic disk or the like is input, the image developing section 52 associates the input image information with the buffer area 53a of the image memory 53. It is expanded as divided image information.

【0005】ここで、入力画像情報、例えば解像度400d
piで、幅(width)9344ドット×長さ(length)6624ド
ットの約7.7Mbytesの「A2」サイズのラスタデータの
画像情報をバッファ領域53aにn分割して展開する場
合のバッファ領域53aのバッファサイズBfは次のよ
うに求められる。すなわち、バッファサイズBf(Mbyt
es)={9344×(6624/n)}/8/1024/1024とな
る。ただし、nは8の倍数である。
Here, input image information, for example, a resolution of 400d
In pi, the buffer of the buffer area 53a when the image information of the raster data of “A2” size of about 7.7 Mbytes of width 9344 dots × length 6624 dots is divided into n buffer areas 53a and expanded. The size Bf is calculated as follows. That is, the buffer size Bf (Mbyt
es) = {9344 × (6624 / n)} / 8/1024/1024. However, n is a multiple of 8.

【0006】そして、このバッファ領域53aに展開さ
れたバッファサイズBfの分割画像情報は、画像回転部
54により回転処理が行われ、回転処理が行われた分割
回転画像情報は、画像メモリ53の回転画像データ格納
領域53bに記憶される。そして、入力画像情報に対す
る全ての分割画像情報の回転処理が終了し、回転画像デ
ータ格納領域53bに全ての分割回転画像情報が格納さ
れた後に、入力画像情報の回転処理がなされた回転画像
情報として出力制御部55から出力部56に出力され
る。
Then, the divided image information of the buffer size Bf expanded in the buffer area 53a is rotated by the image rotation unit 54, and the rotated divided image information is rotated in the image memory 53. It is stored in the image data storage area 53b. Then, after the rotation processing of all the divided image information with respect to the input image information is completed and all the divided rotation image information is stored in the rotation image data storage area 53b, the rotation processing of the input image information is performed as the rotation image information. Output from the output control unit 55 to the output unit 56.

【0007】ここで、回転処理を行う画像情報に対して
十分大きな画像メモリを有する画像回転処理装置であれ
ばよいが、比較的小さな画像メモリをもつ画像回転処理
装置である場合は、画像回転部54による回転処理後の
画像情報を格納する領域が確保できないため、回転処理
を行えない。
Here, an image rotation processing apparatus having an image memory sufficiently large for the image information to be rotated may be used, but in the case of an image rotation processing apparatus having a relatively small image memory, the image rotating unit. Since the area for storing the image information after the rotation processing by 54 cannot be secured, the rotation processing cannot be performed.

【0008】例えば、8Mbyteの記憶容量をもつ画像メモ
リで、解像度400dpiで、幅(width)13248ドット×長さ
(length)9344ドットの約15.5Mbytesの「A1」サイズ
のラスタデータの画像情報を回転処理を行おうとしても
回転処理後の画像情報を格納する領域が確保できないた
め、回転処理が不可能となる。
For example, in an image memory having a storage capacity of 8 Mbytes, image information of raster data of "A1" size of about 15.5 Mbytes of width 13248 dots x length 9344 dots with a resolution of 400 dpi is rotated. Even if an attempt is made to perform the processing, the area for storing the image information after the rotation processing cannot be secured, so that the rotation processing becomes impossible.

【0009】また、この場合、上述した「A2」サイズ
のラスタデータの画像情報、すなわち7.7Mbytesの画像
情報であったとしても、画像メモリが他の処理のために
記憶領域が使用されている場合は、この画像メモリが解
放されるまで待たなければ、画像回転処理を行うことが
できない。
In this case, even if the image information of the above-mentioned "A2" size raster data, that is, the image information of 7.7 Mbytes, the storage area of the image memory is used for other processing. Cannot perform the image rotation process without waiting until the image memory is released.

【0010】なお、画像処理技術に関しては、例えば特
開昭60−222974号公報には、周辺部の分割画像
データの内側部分のデータだけを回転後の分割画像デー
タの位置に選択的に転送して、分割画像データを正確に
回転処理する画像回転処理方式が記載されている。
Regarding the image processing technique, for example, in Japanese Patent Laid-Open No. 60-222974, only the data of the inner part of the divided image data of the peripheral part is selectively transferred to the position of the rotated divided image data. Then, an image rotation processing method for accurately rotating the divided image data is described.

【0011】また、特開昭62−259179号公報に
は、書き込み時に画像を正常または回転などの指定した
モードを画像と一緒にメモリの一部に記憶させ、再生時
に読み出しモードを指定することなく、読み出しモード
を切換え、書き込み時に指定した画像の正常または回転
のモードで表示装置に表示することができる画像記憶再
生装置が記載されている。
Further, in Japanese Patent Laid-Open No. 62-259179, a mode in which an image is designated as normal or rotated at the time of writing is stored in a part of the memory together with the image, and the reading mode is not designated at the time of reproduction. , An image storage / reproduction device capable of switching the read mode and displaying the image on a display device in a normal or rotation mode of an image designated at the time of writing.

【0012】さらに、特開昭63−70381号公報に
は、複数の分割画像データにスペース領域がある場合
に、該スペースを付加して回転処理を行うイメージ・デ
ータの回転方法が記載されている。
Further, Japanese Patent Laid-Open No. 63-70381 discloses a method of rotating image data in which, when a plurality of divided image data have a space area, the space is added to perform rotation processing. .

【0013】しかし、これらのものは、分割画像データ
が境界位置等にある特殊な分割画像データの回転処理に
関するものである。
However, these are related to the rotation processing of the special divided image data in which the divided image data is at the boundary position or the like.

【0014】また、特開昭64−89760号公報に
は、ラン符号をそのまま排他的論理和処理することによ
り、ラン方向とは異なる第2の方向の端点座標値を求
め、元画像データに戻さずに、この端点座標値に基づい
て第2の方向に関する任意の画像処理を行う画像処理装
置が記載されている。
Further, in Japanese Patent Laid-Open No. 64-89760, the run code is directly subjected to the exclusive OR processing to obtain the end point coordinate values in the second direction different from the run direction and restore the original image data. Instead, an image processing device is described that performs arbitrary image processing in the second direction based on the end point coordinate values.

【0015】しかし、この技術は、ラン符号化された画
像情報の回転処理に関するものであり、ラスタデータそ
のものの回転処理を行うものではない。
However, this technique relates to rotation processing of run-coded image information, and does not perform rotation processing of raster data itself.

【0016】さらに、特開平2−12570号公報に
は、画像データを拡大/縮小率が所定値以上あるいは以
下の場合に、拡大/縮小処理を行ってプリント出力する
画像処理装置が記載されている。
Further, Japanese Patent Laid-Open No. 12570/1990 describes an image processing apparatus for performing enlarging / reducing processing and printing out when the enlarging / reducing rate of image data is equal to or larger than a predetermined value. .

【0017】しかし、この技術は、画像データの回転処
理を行うものではない。
However, this technique does not perform rotation processing of image data.

【0018】[0018]

【発明が解決しようとする課題】前述したように、従
来、画像情報を任意の角度に回転処理を行って出力する
場合、回転処理を行うべき画像情報に対して小さな画像
記憶領域しか有しない場合は、回転処理部による回転処
理後の画像情報を格納する領域が確保できないため、回
転処理が行えないという問題点があった。
As described above, conventionally, when image information is rotated and output at an arbitrary angle, and only has a small image storage area for the image information to be rotated. However, since the area for storing the image information after the rotation processing by the rotation processing unit cannot be secured, there is a problem that the rotation processing cannot be performed.

【0019】また、回転処理を行うべき画像情報と同じ
画像記憶領域を有する場合でも、画像記憶領域が他の処
理のために記憶領域が使用されている場合は、この画像
記憶領域が解放されるまで待たなければ、画像回転処理
を行うことができず、この場合、画像情報の回転処理に
時間がかかるという問題点があった。
Further, even if the image storage area has the same image storage area as the image information to be rotated, if the image storage area is used for other processing, this image storage area is released. There is a problem that the image rotation processing cannot be performed without waiting until, and in this case, the rotation processing of the image information takes time.

【0020】そこで、本発明は、かかる問題点を除去
し、画像記憶領域に格納できる画像情報に比して大きな
画像情報の回転処理を行うことができる画像回転処理装
置を提供することを目的とする。
Therefore, it is an object of the present invention to eliminate such problems and provide an image rotation processing device capable of performing rotation processing of image information larger than image information that can be stored in an image storage area. To do.

【0021】[0021]

【課題を解決するための手段】本発明は、サイズ情報を
含む入力画像情報を回転処理して出力する画像回転処理
装置において、前記サイズ情報に基づいて、前記入力画
像情報が、回転処理に必要な所定の記憶サイズより大き
いサイズか否かを判断する判断手段(図1の3)と、前
記判断手段による判断結果が大きいサイズであるときは
前記所定の記憶サイズ以下に縮小する縮小率で解像度変
換をする変換手段(図1の4)と、変換された画像情報
を回転処理する回転手段(図1の5、7)とを具備した
ことを特徴とする。
According to the present invention, in an image rotation processing apparatus for rotating and outputting input image information including size information, the input image information is necessary for rotation processing based on the size information. Determination means (3 in FIG. 1) for determining whether the size is larger than the predetermined storage size, and if the determination result by the determination means is a large size, the resolution is reduced at a reduction ratio that is equal to or smaller than the predetermined storage size. It is characterized by comprising a converting means (4 in FIG. 1) for converting and a rotating means (5, 7 in FIG. 1) for rotating the converted image information.

【0022】また、本発明は、サイズ情報を含む入力画
像情報を回転処理して出力する画像回転処理装置におい
て、前記サイズ情報に基づいて、前記入力画像情報が、
回転処理に必要な所定の記憶サイズより大きいか否かを
判断する判断手段(図3の3)と、前記判断手段による
判断結果が大きいサイズであるときは前記所定の記憶サ
イズ以下に縮小する縮小率で解像度変換をする縮小手段
(図3の14)と、前記縮小率を記憶する記憶手段(図
3の21)と、前記記憶手段に記憶された画像情報を回
転処理する回転手段(図3の5、7)と、前記回転手段
により回転処理された画像情報を前記縮小率の逆数の拡
大率で解像度変換をする拡大手段(図3の14)とを具
備したことを特徴とする。
Further, according to the present invention, in the image rotation processing device for rotating and outputting the input image information including the size information, the input image information is changed based on the size information.
Judgment means (3 in FIG. 3) for judging whether or not it is larger than a predetermined storage size necessary for the rotation processing, and reduction when the judgment result by the judgment means is a large size, the size is reduced to the predetermined storage size or less. Reduction means (14 in FIG. 3) that performs resolution conversion, storage means (21 in FIG. 3) that stores the reduction rate, and rotation means (FIG. 3) that rotates the image information stored in the storage means. 5) and 7), and an enlarging means (14 in FIG. 3) for performing resolution conversion on the image information rotated by the rotating means at an enlarging rate that is the reciprocal of the reducing rate.

【0023】[0023]

【作用】本発明は、入力画像情報のサイズ情報に基づい
て、まず前記入力画像情報が、回転処理に必要な所定の
記憶サイズより大きいサイズか否かを判断手段が判断す
る。そして、この判断結果が大きいサイズであるときは
変換手段が、前記所定の記憶サイズ以下に縮小する縮小
率で解像度変換を行う。さらに、回転手段が、変換され
た画像情報を回転処理し、この回転処理された画像情報
を出力する。このため、画像記憶領域に格納できる画像
情報に比して大きな入力画像情報の回転処理を行うこと
ができる。
According to the present invention, based on the size information of the input image information, the judging means first judges whether or not the input image information is larger than a predetermined storage size necessary for the rotation processing. Then, if the result of this determination is a large size, the conversion means performs resolution conversion at a reduction ratio that reduces the storage size to the predetermined storage size or less. Further, the rotation means performs rotation processing on the converted image information and outputs the rotation-processed image information. Therefore, rotation processing of input image information that is larger than the image information that can be stored in the image storage area can be performed.

【0024】また、本発明は、入力画像情報のサイズ情
報に基づいて、まず前記入力画像情報が、回転処理に必
要な所定の記憶サイズより大きいか否かを判断手段が判
断する。そして、この判断結果が大きいサイズであると
きは縮小手段が、前記所定の記憶サイズ以下に縮小する
縮小率で解像度変換を行うとともに、この縮小率は記憶
手段に記憶される。その後、前記記憶手段に記憶された
画像情報を回転手段が回転処理する。そして、拡大手段
が、この回転処理された画像情報を、記憶手段に記憶さ
れた前記縮小率の逆数の拡大率で解像度逆変換を行う。
そして、この回転処理され、解像度逆変換された画像情
報を出力する。このため、画像記憶領域に格納できる画
像情報に比して大きな入力画像情報である場合でも、入
力画像情報と同じ解像度を有し、回転処理された画像情
報を出力することができる。
Further, according to the present invention, based on the size information of the input image information, the determining means first determines whether or not the input image information is larger than a predetermined storage size required for the rotation processing. Then, when the result of this determination is a large size, the reducing means performs resolution conversion at a reducing rate for reducing the size to the predetermined storage size or less, and the reducing rate is stored in the storing means. After that, the rotation means rotates the image information stored in the storage means. Then, the enlarging means performs resolution inverse conversion on the image information subjected to the rotation processing at an enlarging rate that is the reciprocal of the reducing rate stored in the storing means.
Then, the image information that has been subjected to this rotation processing and resolution inverse conversion is output. Therefore, even if the input image information is larger than the image information that can be stored in the image storage area, it is possible to output the image information that has the same resolution as the input image information and has undergone the rotation processing.

【0025】[0025]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0026】まず、第1の発明に対応する第1の実施例
について説明する。
First, a first embodiment corresponding to the first invention will be described.

【0027】図1は、第1の実施例である画像回転処理
装置の構成を示すブロック図である。すなわち、入力画
像データに対して格納することができる画像記憶領域が
小さい場合に、解像度の変換処理を行ってデータ量を少
なくし、このデータ量の少ない画像データの回転処理を
行うものである。
FIG. 1 is a block diagram showing the arrangement of an image rotation processing apparatus according to the first embodiment. That is, when the image storage area that can be stored with respect to the input image data is small, the resolution conversion process is performed to reduce the data amount, and the rotation process of the image data with the small data amount is performed.

【0028】図1において、画像回転処理装置10は、
入力装置1により入力される、2次元走査装置等から読
み取られた、あるいは読み取られた画像データを磁気デ
ィスク装置等に格納された画像データを、回転処理され
た画像データとして、プリンタあるいは磁気ディスク等
の出力装置9に出力するものである。
In FIG. 1, the image rotation processing device 10 is
Image data read by a two-dimensional scanning device or the like, which is input by the input device 1, or image data stored in a magnetic disk device or the like is used as image data subjected to rotation processing, and is used as a printer, a magnetic disk, or the like. Is output to the output device 9.

【0029】この画像回転処理装置10は、入力された
入力画像データを所定の回転処理単位に分割展開する画
像展開部2、この分割展開された分割画像データを一時
記憶するバッファ領域5aと回転処理された分割画像デ
ータを格納する回転画像データ格納領域5bとを有する
画像メモリ5、画像メモリに格納されるデータの制御を
行うメモリ制御部6、バッファ領域5aに一時記憶され
た分割画像データを回転処理して回転画像データ格納領
域に格納する画像回転部7、画像展開部2で分割展開さ
れた分割画像データを、入力画像データ量、分割された
分割画像データ量すなわちバッファ領域5aとして必要
なメモリ量、画像メモリ5の使用可能な画像メモリ量と
から分割画像データの変倍率を算出して、この変倍率が
「1」より小さいか否かを比較判定する画像記憶領域比
較部3、画像記憶領域比較部3の変倍率が「1」より小
さい場合に変倍率をもとに分割画像データの解像度変換
を行う解像度変換部4、および回転画像データ格納領域
5bに回転処理された全ての分割画像データが格納され
たときに、回転処理された1つの画像データとして出力
装置9に出力する制御を行う出力制御部8から構成され
る。
The image rotation processing device 10 includes an image expansion unit 2 for dividing and expanding input input image data into predetermined rotation processing units, a buffer area 5a for temporarily storing the divided and expanded image data, and a rotation processing. The image memory 5 having a rotated image data storage area 5b for storing the divided image data, a memory control unit 6 for controlling the data stored in the image memory, and the divided image data temporarily stored in the buffer area 5a. The image rotation unit 7 for processing and storing in the rotated image data storage area, the divided image data divided and developed by the image developing unit 2, the input image data amount, the divided divided image data amount, that is, a memory required as the buffer area 5a. Amount, the amount of usable image memory in the image memory 5 is used to calculate the scaling factor of the divided image data, and this scaling factor is smaller than "1". An image storage area comparison unit 3 that determines whether or not to compare, a resolution conversion unit 4 that performs resolution conversion of divided image data based on the scaling ratio when the scaling ratio of the image storage region comparison unit 3 is smaller than “1”, and When all the rotated divided image data are stored in the rotated image data storage area 5b, the output control unit 8 controls to output to the output device 9 as one rotated image data.

【0030】ここで、画像展開部2が回転処理単位に分
割するのは、入力画像データをそのまま全入力画像デー
タを回転処理するより、所定の回転処理単位ごとに回転
処理した方が少ないメモリ量で回転処理できるからであ
る。すなわち、全入力画像データを分割せずに回転処理
すると、全入力画像データを格納する領域と、回転処理
された全画像データを格納する領域を必要とするのに対
し、所定の回転処理単位で分割して回転処理単位ごとに
回転処理する場合は、回転処理単位の画像データを格納
するメモリ量と回転処理後の全画像データを格納するメ
モリ量のみでよく、これにより、約半分のメモリ量で入
力画像データの回転処理を行うことができるからであ
る。
Here, the image developing unit 2 divides the input image data into rotation processing units by a smaller amount of memory when the rotation processing is performed for each predetermined rotation processing unit than when the entire input image data is rotated as it is. This is because rotation processing can be performed with. In other words, if rotation processing is performed without dividing all input image data, an area for storing all input image data and an area for storing all rotated image data are required, whereas in a predetermined rotation processing unit. When dividing and performing rotation processing for each rotation processing unit, only the amount of memory that stores the image data of the rotation processing unit and the amount of memory that stores all the image data after the rotation processing are enough. This is because the input image data can be rotated with.

【0031】また、変倍率とは、入力画像データ量に対
する回転処理後の画像データを格納することができるメ
モリ量の比を意味する。ここで、回転処理後の画像デー
タを格納することができるメモリ量とは、画像メモリ5
の使用可能な領域のメモリ量から回転処理単位の画像デ
ータを一時記憶する領域(バッファ領域5a)のメモリ
量を減算したメモリ量をいう。
The scaling factor means the ratio of the amount of memory that can store image data after rotation processing to the amount of input image data. Here, the memory capacity capable of storing the image data after the rotation processing is the image memory 5
The memory amount obtained by subtracting the memory amount of the region (buffer region 5a) for temporarily storing the image data of the rotation processing unit from the memory amount of the usable region of.

【0032】例えば、入力画像データ量を「M1」、画
像メモリ5の使用可能なメモリ量を「M2」、回転処理
単位のメモリ量(バッファ領域のメモリ量)を「Bf」
とし、変倍率を「a」とすると、変倍率aは次式のよう
になる。すなわち、 a=(M2−Bf)/M1 このため、この変倍率aが「1」より小さい場合は、回
転処理が不可能となることを意味する。
For example, the input image data amount is "M1", the usable memory amount of the image memory 5 is "M2", and the rotation process unit memory amount (buffer region memory amount) is "Bf".
And the scaling factor is "a", the scaling factor a is as follows. That is, a = (M2-Bf) / M1 Therefore, if the scaling factor a is smaller than "1", it means that the rotation process cannot be performed.

【0033】具体的に、「A2」サイズのラスタデータ
の入力画像データM1が、 M1=(9344×6624)/8/1024/1024 の場合は入力画像データM1は約7.6MBytesとなる。
そして、この入力画像データM1をn分割する場合、バ
ッファ領域のメモリ量Bfは、次のようになる。すなわ
ち、 Bf={9344×(6624/n)}/8/1024/1024 となる。すなわち、約(7.6/n)MBytesとなる。こ
のとき画像メモリ5の全メモリ量が8MBytesであって、
この画像メモリ5の使用可能なメモリ量が6.2MBytes
である場合、変倍率aは次のようになる。すなわち、 a=(6.2−7.6/n) である。
Specifically, when the input image data M1 of the raster data of "A2" size is M1 = (9344 × 6624) / 8/1024/1024, the input image data M1 is about 7.6 MBytes.
Then, when the input image data M1 is divided into n, the memory amount Bf of the buffer area is as follows. That is, Bf = {9344 × (6624 / n)} / 8/1024/1024. That is, it becomes about (7.6 / n) MBytes. At this time, the total memory amount of the image memory 5 is 8 MBytes,
The available memory capacity of this image memory 5 is 6.2 MBytes
, The scaling factor a is as follows. That is, a = (6.2-7.6 / n).

【0034】次に画像回転処理装置10の画像回転処理
動作をフローチャートに基づいて説明する。
Next, the image rotation processing operation of the image rotation processing device 10 will be described with reference to the flowchart.

【0035】図2は、画像回転処理装置10の画像回転
処理手順を示すフローチャートである。
FIG. 2 is a flow chart showing the image rotation processing procedure of the image rotation processing device 10.

【0036】まず、画像展開部2は、入力装置1から入
力された入力画像データをn個の回転処理単位にn分割
展開する(ステップ101)。そして、画像記憶領域比
較部3は、入力画像データ量、n分割展開された1つの
分割画像データ量、およびメモリ制御部6から得られる
画像メモリ5の使用可能な画像メモリ量とから変倍率a
を算出する(ステップ102)。さらに、画像記憶領域
比較部3は、変倍率aが1より小さいか否かを判断する
(ステップ103)。そして、この変倍率aが1より小
さい場合は、解像度変換部4はこの変倍率a、すなわち
縮小率aに基づいて1つの分割画像データの解像度変換
を行い、バッファ領域5aのメモリ量に適合させた(ス
テップ104)後、ステップ105に移行する。一方、
ステップ103において、変倍率aが1より大きい場合
は、ステップ105に移行する。
First, the image expansion unit 2 expands the input image data input from the input device 1 into n rotation processing units in n divisions (step 101). Then, the image storage area comparison unit 3 calculates a scaling factor a based on the input image data amount, one divided image data amount developed by n divisions, and the usable image memory amount of the image memory 5 obtained from the memory control unit 6.
Is calculated (step 102). Further, the image storage area comparison unit 3 determines whether or not the scaling factor a is smaller than 1 (step 103). When the scaling factor a is smaller than 1, the resolution conversion unit 4 performs resolution conversion of one divided image data based on the scaling factor a, that is, the reduction rate a to match the memory amount of the buffer area 5a. After (step 104), the process proceeds to step 105. on the other hand,
If the scaling factor a is greater than 1 in step 103, the process proceeds to step 105.

【0037】そして、バッファ領域5aに記憶すること
が可能となった1つの分割画像データがバッファ領域5
aに記憶される(ステップ105)。そして、画像回転
部7は、バッファ領域5aに記憶されている回転処理単
位の1つの分割画像データの回転処理を行う(ステップ
106)。そして、画像回転部7は、1つの分割画像デ
ータの回転処理が終了すると、処理された分割画像デー
タを回転画像データ格納領域5bの所定の場所に格納す
る(ステップ107)。
Then, one divided image data which can be stored in the buffer area 5a is stored in the buffer area 5a.
It is stored in a (step 105). Then, the image rotation unit 7 performs the rotation processing of one divided image data in the rotation processing unit stored in the buffer area 5a (step 106). Then, when the rotation processing of one divided image data is completed, the image rotating unit 7 stores the processed divided image data in a predetermined location of the rotated image data storage area 5b (step 107).

【0038】そして、全ての分割画像データ、すなわち
n個の分割画像データに対する回転処理が終了したか否
かを判断し(ステップ108)、終了していない場合
は、ステップ103に移行し、上記処理を繰り返す。一
方、終了した場合は、ステップ109に移行し、出力制
御部8は、入力された回転処理後の画像データを出力装
置9に出力するための制御を行って出力装置9に出力す
る(ステップ109)。
Then, it is judged whether or not the rotation processing for all the divided image data, that is, the n divided image data has been completed (step 108), and if not completed, the processing shifts to step 103 and the above processing is performed. repeat. On the other hand, when the processing is finished, the process proceeds to step 109, and the output control unit 8 performs control for outputting the input image data after the rotation processing to the output device 9 and outputs the output image data to the output device 9 (step 109). ).

【0039】このように第1の実施例においては、画像
メモリ5のメモリ状態、入力画像データのサイズ、ある
いは回転処理単位の画像データのサイズを考慮した変倍
率に基づく解像度変換を行ってデータサイズを適切に
し、入力画像データが大きい場合でも回転処理を可能と
している。
As described above, in the first embodiment, the data size is obtained by performing the resolution conversion based on the scaling factor in consideration of the memory state of the image memory 5, the size of the input image data, or the size of the image data in the rotation processing unit. The rotation processing is possible even when the input image data is large.

【0040】次に、第2の発明に対応する第2の実施例
について説明する。
Next, a second embodiment corresponding to the second invention will be described.

【0041】この第2の実施例は、第1の実施例が変倍
率aに基づいた解像度で回転処理された画像データとし
て出力装置に出力されるのに対し、解像度変換を行う前
の解像度の画像データとして出力装置に出力しようとす
るものである。
In the second embodiment, the image data which has been subjected to the rotation processing at the resolution based on the scaling factor a is outputted to the output device in the first embodiment, while the resolution before the resolution conversion is performed. The image data is to be output to an output device.

【0042】図3は、第2の実施例である画像回転処理
装置の構成を示すブロック図である。なお説明の便宜
上、図1と同じ構成の部分は同一符号を付している。
FIG. 3 is a block diagram showing the arrangement of an image rotation processing apparatus according to the second embodiment. For convenience of explanation, the same components as those in FIG. 1 are designated by the same reference numerals.

【0043】図3において、図1と異なる構成は、画像
回転処理装置20内で、画像記憶領域比較部3で算出さ
れた変倍率を記憶する変倍率記憶部21を有しており、
また、図1の解像度変換部4に代わって、解像度変換の
みでなく、解像度変換された画像データを変倍率記憶部
21に記憶された変倍率をもとに解像度変換の逆変換を
行う解像度変換/逆変換部14を有することである。そ
して、画像回転処理された画像データは解像度変換/逆
変換部14を介して、出力制御部8に出力される構成と
なっている。
In FIG. 3, the configuration different from that of FIG. 1 has a scaling factor storage unit 21 for storing the scaling factor calculated by the image storage area comparison unit 3 in the image rotation processing device 20,
Further, instead of the resolution conversion unit 4 of FIG. 1, not only the resolution conversion but also the resolution conversion in which the resolution-converted image data is subjected to the inverse conversion of the resolution conversion based on the scaling ratio stored in the scaling ratio storage unit 21. That is, the inverse conversion unit 14 is included. Then, the image data subjected to the image rotation processing is output to the output control unit 8 via the resolution conversion / inverse conversion unit 14.

【0044】次に、この画像回転処理装置20の画像回
転処理動作をフローチャートに基づいて説明する。
Next, the image rotation processing operation of the image rotation processing device 20 will be described with reference to the flowchart.

【0045】図4は、画像回転処理装置20の画像回転
処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing the image rotation processing procedure of the image rotation processing device 20.

【0046】図4において、まず、画像展開部20は、
入力装置1から入力された入力画像データをn個の回転
処理単位にn分割展開する(ステップ201)。そし
て、画像記憶領域比較部3は、入力画像データ量、n分
割展開された1つの分割画像データ量、およびメモリ制
御部6から得られる画像メモリ5の使用可能な画像メモ
リ量とから変倍率aを算出する(ステップ202)。さ
らに、画像記憶領域比較部3は、変倍率aが1より小さ
いか否かを判断する(ステップ203)。そして、この
変倍率aが1より小さい場合は、解像度変換/逆変換部
14はこの変倍率a、すなわち縮小率aを変倍率記憶部
21に記憶し、この変倍率aに基づいて1つの分割画像
データの解像度変換を行い、バッファ領域5aのメモリ
量に適合させた(ステップ204)後、ステップ205
に移行する。一方、ステップ203において、変倍率a
が1より大きい場合は、ステップ205に移行する。
In FIG. 4, first, the image expansion unit 20
The input image data input from the input device 1 is expanded into n rotation processing units by n divisions (step 201). Then, the image storage area comparison unit 3 calculates a scaling factor a based on the input image data amount, one divided image data amount developed by n divisions, and the usable image memory amount of the image memory 5 obtained from the memory control unit 6. Is calculated (step 202). Further, the image storage area comparison unit 3 determines whether or not the scaling factor a is smaller than 1 (step 203). When the scaling factor a is smaller than 1, the resolution conversion / inverse conversion unit 14 stores the scaling factor a, that is, the reduction rate a in the scaling factor storage unit 21, and one division based on the scaling factor a. The resolution of the image data is converted to match the memory amount of the buffer area 5a (step 204), and then step 205.
Move to. On the other hand, in step 203, the scaling factor a
If is larger than 1, the process proceeds to step 205.

【0047】そして、バッファ領域5aに記憶すること
が可能となった1つの分割画像データがバッファ領域5
aに記憶される(ステップ205)。そして、画像回転
部7は、バッファ領域5aに記憶されている回転処理単
位の1つの分割画像データの回転処理を行う(ステップ
206)。そして、画像回転部7は、1つの分割画像デ
ータの回転処理が終了すると、処理された分割画像デー
タを回転画像データ格納領域5bの所定の場所に格納す
る(ステップ207)。
Then, one divided image data which can be stored in the buffer area 5a is stored in the buffer area 5a.
It is stored in a (step 205). Then, the image rotation unit 7 performs the rotation processing of one divided image data in the rotation processing unit stored in the buffer area 5a (step 206). Then, when the rotation processing of one divided image data is completed, the image rotating unit 7 stores the processed divided image data in a predetermined location of the rotated image data storage area 5b (step 207).

【0048】そして、全ての分割画像データ、すなわち
n個の分割画像データに対する回転処理が終了したか否
かを判断し(ステップ208)、終了していない場合
は、ステップ203に移行し、上記処理を繰り返す。
Then, it is judged whether or not the rotation process for all the divided image data, that is, the n divided image data is completed (step 208), and if not completed, the process proceeds to step 203 and the above-mentioned process is performed. repeat.

【0049】一方、終了した場合は、ステップ209に
移行し、解像度変換/逆変換部14は、変倍率記憶部2
1に記憶されている変倍率aを取り出し、この変倍率a
の逆数の値に基づいて、回転画像データ格納領域5bに
格納されている回転処理された画像データの解像度逆変
換を行う。そして、出力制御部8は、解像度逆変換され
た画像データを出力装置9に出力するための制御を行っ
て出力装置9に出力する(ステップ210)。
On the other hand, when the processing is completed, the process proceeds to step 209, and the resolution conversion / inverse conversion unit 14 causes the scaling ratio storage unit 2
The scaling factor a stored in 1 is taken out, and this scaling factor a
Based on the value of the reciprocal of, the resolution of the rotation-processed image data stored in the rotated image data storage area 5b is inversely converted. Then, the output control unit 8 performs control for outputting the resolution-inversely converted image data to the output device 9 and outputs the image data to the output device 9 (step 210).

【0050】このように第2の実施例においては、変倍
率aを記憶しておき、解像度変換後に回転処理された画
像データをさらに解像度逆変換を行うようにしているの
で、入力画像データに比して少ない画像メモリ領域であ
る場合でも、回転処理された画像データを元の解像度で
出力することができる。
As described above, in the second embodiment, the scaling factor a is stored, and the image data that has undergone the rotation processing after the resolution conversion is further subjected to the inverse resolution conversion. Even in the case where the image memory area is small, it is possible to output the rotation-processed image data at the original resolution.

【0051】このように上記第1および第2の実施例に
おいては、回転処理用に格納できる画像メモリ量に比し
て大きな画像データの回転処理を行うことができる。
As described above, in the first and second embodiments, the rotation processing of the image data which is larger than the amount of the image memory which can be stored for the rotation processing can be performed.

【0052】[0052]

【発明の効果】以上詳細に説明したように、本発明で
は、本発明は、記入力画像情報のサイズが、回転処理に
必要な所定の記憶サイズより大きいサイズであるとき
は、前記所定の記憶サイズ以下に縮小する解像度変換を
行う。その後、解像度変換された画像情報を回転処理
し、この回転処理された画像情報を出力する。
As described above in detail, in the present invention, when the size of the input image information is larger than the predetermined storage size required for the rotation processing, the predetermined storage is performed. Performs resolution conversion to reduce the size to below the size. Thereafter, the resolution-converted image information is rotated, and the rotated image information is output.

【0053】従って、画像記憶領域に格納できる画像情
報に比して大きな入力画像情報の回転処理を行うことが
できるという利点を有する。
Therefore, there is an advantage that the rotation processing of the input image information that is larger than the image information that can be stored in the image storage area can be performed.

【0054】また、本発明では、記憶手段が解像度変換
時の縮小率を記憶し、回転手段による回転処理後に、拡
大手段が、前記縮小率の逆数の拡大率で解像度逆変換を
行い、もとの入力画像情報の解像度と同じ解像度の画像
情報として出力する。
Further, in the present invention, the storage means stores the reduction rate at the time of resolution conversion, and after the rotation processing by the rotation means, the enlargement means performs the inverse resolution conversion with the enlargement rate which is the reciprocal of the reduction rate. Output as image information of the same resolution as that of the input image information.

【0055】従って、画像記憶領域に格納できる画像情
報に比して大きな入力画像情報である場合でも、入力画
像情報と同じ解像度を有し、回転処理された画像情報を
出力することができるという利点を有する。
Therefore, even if the input image information is larger than the image information that can be stored in the image storage area, it has the same resolution as the input image information, and the rotated image information can be output. Have.

【0056】特に、画像記憶領域が入力画像情報に比し
て大きな記憶領域を有している場合でも、他の処理のた
め、記憶領域を一部占有され、入力画像情報の回転処理
を行うことができない場合が生じるが、このような記憶
領域が変動する場合においても、迅速に回転処理された
画像情報を出力することができるという利点を有する。
In particular, even when the image storage area has a larger storage area than the input image information, the storage area is partially occupied for other processing and the rotation processing of the input image information is performed. However, there is an advantage that the image information that has been subjected to the rotation processing can be quickly output even when such a storage area changes.

【0057】また、逆に少ない画像記憶領域しか有しな
い場合でも、回転処理を常に行うことができるという利
点を有する。
On the contrary, there is an advantage that the rotation processing can be always performed even when the image storage area has a small amount.

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

【図1】第1の実施例である画像回転処理装置の構成を
示すブロック図。
FIG. 1 is a block diagram showing a configuration of an image rotation processing device that is a first embodiment.

【図2】画像回転処理装置10の画像回転処理手順を示
すフローチャート。
FIG. 2 is a flowchart showing an image rotation processing procedure of the image rotation processing device 10.

【図3】第2の実施例である画像回転処理装置の構成を
示すブロック図。
FIG. 3 is a block diagram showing a configuration of an image rotation processing device that is a second embodiment.

【図4】画像回転処理装置20の画像回転処理手順を示
すフローチャート。
FIG. 4 is a flowchart showing an image rotation processing procedure of the image rotation processing device 20.

【図5】従来の画像回転処理装置の構成を示すブロック
図。
FIG. 5 is a block diagram showing a configuration of a conventional image rotation processing device.

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

1 入力装置 2 画像展開部 3 画像記憶領域比較
部 4 解像度変換部 5 画像メモリ 6 メモリ制御部
7 画像回転部 8 出力制御部 9 出力装置 10 画像回転処理装
置 5a バッファ領域 5b 回転画像データ格納領域
DESCRIPTION OF SYMBOLS 1 input device 2 image development unit 3 image storage area comparison unit 4 resolution conversion unit 5 image memory 6 memory control unit 7 image rotation unit 8 output control unit 9 output device 10 image rotation processing device 5a buffer region 5b rotated image data storage region

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/387 4226−5C 1/393 4226−5C (72)発明者 伊藤 裕二 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 稲木 雅美 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 細川 俊一 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 大平 洋 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内Continuation of the front page (51) Int.Cl. 5 Identification number Reference number within the agency FI Technical indication location H04N 1/387 4226-5C 1/393 4226-5C (72) Inventor Yuji Ito 3 Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa 2-2-1 KSP R & D Business Park Building Fuji Xerox Co., Ltd. (72) Inventor Masami Inaki 3-2-1 Sakado, Takatsu-ku, Kawasaki City, Kanagawa Prefecture KSP R & D Business Park Building Fuji Xerox Co., Ltd. (72) Inventor Shunichi Hosokawa KSP R & D Business Park Building, 3-2-1, Sakado, Takatsu-ku, Kanagawa Prefecture Fuji Xerox Co., Ltd. (72) Inventor Hiroshi Ohira 3-2-1, Sakado, Takatsu-ku, Kawasaki, Kanagawa Prefecture KSP R & D Business Park Building Fuji Xerox Co., Ltd. Within

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 サイズ情報を含む入力画像情報を回転処
理して出力する画像回転処理装置において、 前記サイズ情報に基づいて、前記入力画像情報が、回転
処理に必要な所定の記憶サイズより大きいサイズか否か
を判断する判断手段と、 前記判断手段による判断結果が大きいサイズであるとき
は前記所定の記憶サイズ以下に縮小する縮小率で解像度
変換をする変換手段と、 変換された画像情報を回転処理する回転手段とを具備し
たことを特徴とする画像回転処理装置。
1. An image rotation processing apparatus for rotating and outputting input image information including size information, wherein the input image information has a size larger than a predetermined storage size required for the rotation processing based on the size information. Determination means for determining whether or not the determination result is determined, and conversion means for performing resolution conversion at a reduction rate for reducing the storage size to a predetermined storage size or less when the determination result by the determination means is large, and rotating the converted image information. An image rotation processing device, comprising: a rotating unit for processing.
【請求項2】 サイズ情報を含む入力画像情報を回転処
理して出力する画像回転処理装置において、 前記サイズ情報に基づいて、前記入力画像情報が、回転
処理に必要な所定の記憶サイズより大きいか否かを判断
する判断手段と、 前記判断手段による判断結果が大きいサイズであるとき
は前記所定の記憶サイズ以下に縮小する縮小率で解像度
変換をする縮小手段と、 前記縮小率を記憶する記憶手段と、 前記記憶手段に記憶された画像情報を回転処理する回転
手段と、 前記回転手段により回転処理された画像情報を前記縮小
率の逆数の拡大率で解像度変換をする拡大手段とを具備
したことを特徴とする画像回転処理装置。
2. An image rotation processing apparatus for rotating and outputting input image information including size information, wherein whether the input image information is larger than a predetermined storage size required for the rotation processing based on the size information. Judgment means for judging whether or not there is a judgment result, reduction means for performing resolution conversion at a reduction ratio for reducing to a predetermined storage size or less when the judgment result by the judgment means is large, and storage means for storing the reduction ratio. And rotation means for rotating the image information stored in the storage means, and enlargement means for performing resolution conversion on the image information rotated by the rotation means at an enlargement ratio that is the reciprocal of the reduction ratio. An image rotation processing device characterized by.
JP5040103A 1993-03-01 1993-03-01 Image rotational processor Pending JPH06251139A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5040103A JPH06251139A (en) 1993-03-01 1993-03-01 Image rotational processor
TW082104904A TW226449B (en) 1993-03-01 1993-06-22 Picture rotation process device
KR1019930021750A KR970004111B1 (en) 1993-03-01 1993-10-20 Image rotational processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5040103A JPH06251139A (en) 1993-03-01 1993-03-01 Image rotational processor

Publications (1)

Publication Number Publication Date
JPH06251139A true JPH06251139A (en) 1994-09-09

Family

ID=12571532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5040103A Pending JPH06251139A (en) 1993-03-01 1993-03-01 Image rotational processor

Country Status (3)

Country Link
JP (1) JPH06251139A (en)
KR (1) KR970004111B1 (en)
TW (1) TW226449B (en)

Also Published As

Publication number Publication date
KR970004111B1 (en) 1997-03-25
KR940022325A (en) 1994-10-20
TW226449B (en) 1994-07-11

Similar Documents

Publication Publication Date Title
JPH07205496A (en) Page printer and method for data compression
JP2004289667A (en) Image processor
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JP2797320B2 (en) Image display device
JPH06251139A (en) Image rotational processor
JP3368990B2 (en) Image processing device
JP3877054B2 (en) Image reduction scaling device
JPH07323608A (en) Printer
JPH10198333A (en) Outline character drawing device
US20020129084A1 (en) Data processing apparatus and recording medium
US6985624B2 (en) Image processing apparatus and its method
JPS61163469A (en) Information processor
JPH0488583A (en) Picture processor
JPS6085681A (en) Picture information processing system
JPH0744730A (en) Picture conversion processing method
JPH0567983B2 (en)
JPS616767A (en) Picture information processing system
JPH04282271A (en) Recorder
JPH07271338A (en) Character generator and its method
JPH07320048A (en) Image processor
JPH08242359A (en) Image display system
JPH05127659A (en) Image display device
JPH05153386A (en) Method and device for image processing
JPH08123956A (en) Image processing device
JPH03288273A (en) Method and device for processing picture information