JPS61105966A - Change of magnification processing system of picture - Google Patents

Change of magnification processing system of picture

Info

Publication number
JPS61105966A
JPS61105966A JP59227520A JP22752084A JPS61105966A JP S61105966 A JPS61105966 A JP S61105966A JP 59227520 A JP59227520 A JP 59227520A JP 22752084 A JP22752084 A JP 22752084A JP S61105966 A JPS61105966 A JP S61105966A
Authority
JP
Japan
Prior art keywords
magnification
image
scaling
line operation
processor
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
JP59227520A
Other languages
Japanese (ja)
Inventor
Koji Kuwata
耕司 桑田
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 JP59227520A priority Critical patent/JPS61105966A/en
Publication of JPS61105966A publication Critical patent/JPS61105966A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To make change of magnification of a picture in the longitudinal and transverse directions at high speed and at optional magnification without requiring complicated circuits and software by combining the length and breadth conversion of a picture and change of magnification of a picture by line operation. CONSTITUTION:A line operation variable magnification processor 12 is started by a controlling signal C, and an original picture designated by a command is read from a memory 13 successively and magnification is changed by line operation according to a designated rate of change of magnification F. The result is written on the memory 13. When this is completed, a host CPU 10 gives a command for 90 deg. rotation to a length and breadth conversion processor 11 by a controlling signal C. Then, the line operation variable magnification processor 12 is started again, and change of magnification is made by thinning out of lines or superposition of lines, and the result is written on the memory 13.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、デジタル複写機やデジタルファクシミリ等の
デジタル画像処理装置において、デジタル画像を縦横に
拡大または縮小(変倍)するための画像変倍処理方式に
関する。
[Detailed Description of the Invention] [Technical Field] The present invention relates to an image scaling processing method for vertically and horizontally enlarging or reducing (scaling) a digital image in a digital image processing device such as a digital copying machine or a digital facsimile. .

〔従来技術〕[Prior art]

従来のデジタル画像処理装置における画像の縦横変倍方
式は、ラインを間引いたり連続したラインを重複させる
等のライン操作によって画像の縦方向の変倍を行い、横
方向の変倍はビットのシフトやANDもしくはOR等の
ビット操作によって行うというものである。ライン操作
による縦方向の変倍は比較的容易に行うことができ、そ
のための回路もしくはソフトウェアは単純なもので間に
合う、しかし、横方向の変倍を行うためのビット操作は
、処理に時間が掛かるだけではなく、複雑なアドレス管
理を並行して行う必要があり、複雑な回路やソフトウェ
アが必要となる。このようなことから、任意の倍率の縦
横変倍を行うデジタル画像処理装置は相当に高価なもの
になっており、また処理時間がかなり長かった。
In conventional digital image processing devices, image scaling is performed vertically and horizontally by performing line operations such as thinning out lines or overlapping consecutive lines, while horizontally scaling the image by shifting bits or This is done by bit operations such as AND or OR. Vertical scaling using line operations can be performed relatively easily, and a simple circuit or software can suffice; however, bit manipulation for horizontal scaling takes time. In addition, complex address management must be performed in parallel, which requires complex circuits and software. For these reasons, digital image processing devices that perform vertical and horizontal magnification at arbitrary magnifications have become quite expensive and require a considerable amount of processing time.

〔目 的〕〔the purpose〕

本発明の目的は、複雑な回路やソフトウェアを必要とせ
ずに、任意の倍率で画像の縦横変倍を高速に行うことが
できる画像変倍処理方式を提供することにある。
An object of the present invention is to provide an image scaling processing method that can quickly scale an image vertically and horizontally at any scaling factor without requiring complicated circuits or software.

〔構 成〕〔composition〕

前述したように、ライン操作による画像の変倍は比較的
簡単にかつ高速に行うことができる。また、画像変倍機
能を持つ装置には5画像を縦横変換する手段が設けられ
ていることが多く、またそのような画像の縦横変換はか
なり高速に行うことができる。
As described above, changing the magnification of an image by line operation can be performed relatively easily and at high speed. Further, devices having an image scaling function are often provided with means for vertically and horizontally converting five images, and such vertical and horizontal conversion of images can be performed at a considerably high speed.

このような実情に鑑み1本発明にあっては1画像の縦横
変換とライン操作による画像の変倍とを組み合せること
により、画像の縦横変倍を実行する。以下1本発明の一
実施例について図面により説明する。
In view of these circumstances, the present invention executes vertical/horizontal scaling of an image by combining vertical/horizontal conversion of one image and scaling of the image by line operation. An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例における画像縦横変倍処理の
概略手順を示す流れ図であり、各処理段階の画像の変化
も一緒に例示されている。第2図はこの画像変倍処理を
実行するためのシステ11の概略ブロック図である。
FIG. 1 is a flowchart showing a general procedure for image scaling processing in an embodiment of the present invention, and also illustrates changes in the image at each processing stage. FIG. 2 is a schematic block diagram of the system 11 for executing this image scaling process.

第2図において、10はホストCPUであり。In FIG. 2, 10 is a host CPU.

縦横変換プロセッサ11.ライン操作変倍プロセッサ1
2およびメモリ13とシステムバス14を介して接続さ
れている。メモリ13には処理すべき画像のデータ、処
理の中間データおよび処理結果のデータが記憶される。
Aspect/horizontal conversion processor 11. Line operation magnification processor 1
2 and memory 13 via a system bus 14. The memory 13 stores image data to be processed, processing intermediate data, and processing result data.

縦横変換プロセッサ11は、ホストCPtJlOの制御
の下しこ1画像の縦横変換(90°または270°回転
処理)を行う。
The vertical/horizontal conversion processor 11 performs vertical/horizontal conversion (90° or 270° rotation processing) of the lowermost image under the control of the host CPtJlO.

ライン操作変倍プロセッサ12は、ホストCPU10の
制御の下に、縮小の場合にはラインの間引きを行い、拡
大の場合には重複ラインを発生させる。このようなライ
ン操作による画像の変倍処理、および縦横変換プロセッ
サ11による画像の縦横変換処理は従来と同様でよく、
従ってそれぞれの詳細については説明しない。
Under the control of the host CPU 10, the line operation scaling processor 12 thins out lines in the case of reduction, and generates overlapping lines in the case of enlargement. Image scaling processing by such line operations and image vertical/horizontal conversion processing by the vertical/horizontal conversion processor 11 may be the same as conventional ones.
Therefore, the details of each will not be explained.

次に第1図を参照しながら5画像の縦横変倍処理につい
て順に説明する。まずホストcput。
Next, with reference to FIG. 1, vertical and horizontal scaling processing for five images will be explained in order. First, host cput.

により、縦横変倍すべきオリジナル画像のエリアが指定
される(手順l)、この指定は、ホストCPUl0から
システムバス14を通じて縦横変換プロセッサ11.ラ
イン操作変倍プロセッサ12に対し、セグメント値およ
びオフセット値(SA)。
The area of the original image to be scaled vertically and horizontally is designated (step 1). This designation is carried out from the host CPU 10 via the system bus 14 to the vertical/horizontal conversion processor 11. Segment values and offset values (SA) for line operation scaling processor 12.

画像の横幅(X)と縦幅(Y)、1行の最大幅(XM)
、および変倍率(F)等のパラメータをコマンドとして
送ることによりなされる。次にホストCPUl0は、コ
ントロール信号(C)によりライン操作変倍プロセッサ
12を起動させる。ライン操作変倍プロセッサ12は、
コマンドにより指定されたオリジナル画像をメモリ13
から順次読み取り・、指定された変倍率(F)に応じて
ライン操作によって変倍(そのラインと直交する方向の
変倍。ここでは原画像の縦方向変倍)を行い、その結果
をメモリ13に書き込む(手順2)、変倍が縮小の場合
には、変倍率に応じてラインの間引きを行う。逆に拡大
の場合には、変倍率に応じて重複ラインを発生させる。
Image width (X) and height (Y), maximum width of one line (XM)
This is done by sending parameters such as , variable magnification (F), etc. as commands. Next, the host CPU10 activates the line operation scaling processor 12 using the control signal (C). The line operation variable power processor 12 is
The original image specified by the command is stored in memory 13.
The image is read sequentially from 1 to 3, and the magnification is changed by line operation according to the specified magnification ratio (F) (the magnification is changed in the direction perpendicular to the line, in this case, the vertical direction of the original image is changed), and the results are stored in the memory 13. (Step 2). If the scaling is reduction, lines are thinned out according to the scaling ratio. Conversely, in the case of enlargement, overlapping lines are generated according to the magnification ratio.

ライン操作変倍プロセッサ12は、1回の処理を終了す
ると、終了信号(RFT)をシステムバス14を介して
ホストCPUl0へ送る。この終了信号を受けたホスト
CPUl0は、コントロール信号(C)により縦横変換
プロセッサ11に90°回転動作を指令する。縦横変換
プロセッサ11は、メモリ13に書き込まれている縦方
向変倍後の画像データを順次読み込み、90°回転を施
し、その結果をメモリ13に再び書き込む(手順3)、
この90°回転処理を終了すると、縦横変換プロセッサ
11から終了イご号(RET)が送出 ゛される。
When the line operation scaling processor 12 completes one process, it sends a completion signal (RFT) to the host CPU10 via the system bus 14. Upon receiving this end signal, the host CPU10 instructs the vertical/horizontal conversion processor 11 to perform a 90° rotation operation using a control signal (C). The vertical/horizontal conversion processor 11 sequentially reads the vertically scaled image data written in the memory 13, rotates it by 90 degrees, and writes the result back to the memory 13 (step 3).
When this 90° rotation processing is completed, the vertical/horizontal conversion processor 11 sends a termination signal (RET).

この終了信号を受けたホストcpuioは、コントロー
ル信号(C)によりライン操作変倍プロセッサ12を再
び起動させる。ライン操作変倍プロセッサ12は、前回
変倍後に90°回転させられた画像データをメモリ13
から順次読み込み。
Upon receiving this termination signal, the host cpuio restarts the line operation variable magnification processor 12 using a control signal (C). The line operation scaling processor 12 stores the image data rotated by 90 degrees after the previous scaling in the memory 13.
Load sequentially from

ラインの間引きまたはラインの重複により変倍(そのラ
インと直交する方向の変倍で5ここでは原画像の横方向
変倍に相当する)を行い、その結果をメモリ13に書き
込む(手順4)。この処理を終了するとライン操作変倍
プロセッサ12から終了信号(RET)が送出される。
Scaling is performed by thinning out lines or overlapping lines (scaling in the direction perpendicular to the lines, which here corresponds to lateral scaling of the original image), and the results are written in the memory 13 (step 4). When this process is completed, a termination signal (RET) is sent from the line operation scaling processor 12.

この終了信号を受けたホストCPUl0は、縦横変換プ
ロセッサ11に対して2フ0° (または−90@)回
転処理を指令する。縦横変換プロセッサ11は、メモリ
13に格納されている処理画像データを順次読み込み、
270° (または−90°)の回転を行い、その結果
をメモリ13に書き込む(手順5)、かくして、第1図
の左側に模式的に示すように、オリジナル画像を縦方向
および横方向に変倍(第1図には拡大の場合を示しであ
る)した画像がメモリ13に得られる。なお。
Upon receiving this end signal, the host CPU 10 instructs the vertical/horizontal conversion processor 11 to perform a 2-degree 0° (or -90@) rotation process. The vertical/horizontal conversion processor 11 sequentially reads the processed image data stored in the memory 13,
Perform a rotation of 270° (or -90°) and write the result to the memory 13 (step 5), thus transforming the original image vertically and horizontally, as schematically shown on the left side of Figure 1. A magnified image (the case of enlargement is shown in FIG. 1) is obtained in the memory 13. In addition.

各手順の段階において2画像は図に示されていないデ、
イスプレイに表示される。
At each step of the procedure two images are shown, which are not shown in the figure.
displayed on the screen.

なお、以上の説明においては1画像の縦方向の変倍を行
った後90°回転を行い、そこで縦方向変倍を行い、さ
らに270°回転を行っていたが。
In the above description, after scaling one image in the vertical direction, the image is rotated by 90 degrees, then the image is scaled in the vertical direction, and then rotated by 270 degrees.

この上うな変倍と回転の組み合せの順序は必要に応じ変
更し、でもよい。例えば、最初に画像を90゜回転させ
て1回変倍を行い、そこで270°または一90°回転
させて変倍を行い、最終的な変倍画像を得ることもでき
る。さらに、縦横変換プロセッサ11およびライン操作
変倍プロセッサ12はそ九ぞれ物理的に独立した装置と
してもよいし、共通のバードウ゛エアにおいて実行され
るソフトウェアとして構成してもよい。
Moreover, the order of the combination of magnification and rotation may be changed as necessary. For example, it is also possible to first rotate the image by 90 degrees and perform scaling once, then rotate it by 270 degrees or 190 degrees and perform scaling to obtain the final scaled image. Further, the aspect conversion processor 11 and the line operation scaling processor 12 may each be physically independent devices, or may be configured as software executed in a common software.

〔効 果〕〔effect〕

以上説明したように1本発明によれば、処理時間が掛か
ったり複雑なハードウェアまたはソフトウェアが必要な
ビット操作を用いず、ライン操作による変倍と縦横変換
の組み合せによって画像の縦横変倍を行うため、簡単な
ハードウェアまたはソフトウェアによって画像変倍を高
速に実行できる。
As explained above, according to the present invention, the vertical and horizontal scaling of an image is performed by combining scaling and vertical/horizontal conversion using line operations without using bit operations that take processing time or require complicated hardware or software. Therefore, image scaling can be performed at high speed with simple hardware or software.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例における画像変倍処理の手順
を示す流れ図、第2図は同実施例による画像変倍処理シ
ステムの概略ブロック図である。 10・・・ホストCPU、   11・・・縦横変換プ
ロセッサ、  12・・・ライン操作変倍プロセッサ、
13・・・メモリ、  14・・・システムバス。
FIG. 1 is a flowchart showing the procedure of image scaling processing according to an embodiment of the present invention, and FIG. 2 is a schematic block diagram of an image scaling processing system according to the same embodiment. 10... Host CPU, 11... Aspect/horizontal conversion processor, 12... Line operation scaling processor,
13...Memory, 14...System bus.

Claims (1)

【特許請求の範囲】[Claims] (1)画像を90°または270°回転させる縦横変換
手段と、ライン操作により画像の変倍(拡大または縮小
)を行う変倍手段とを有し、前記各手段による画像の回
転操作と変倍操作の組み合せにより画像を縦および横に
変倍することを特徴とする画像変倍処理方式。
(1) It has an aspect conversion means for rotating an image by 90° or 270°, and a scaling means for changing the size (enlarging or reducing) the image by line operation, and the rotation operation and scaling of the image by each of the above means An image scaling processing method characterized by scaling an image vertically and horizontally by a combination of operations.
JP59227520A 1984-10-29 1984-10-29 Change of magnification processing system of picture Pending JPS61105966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59227520A JPS61105966A (en) 1984-10-29 1984-10-29 Change of magnification processing system of picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59227520A JPS61105966A (en) 1984-10-29 1984-10-29 Change of magnification processing system of picture

Publications (1)

Publication Number Publication Date
JPS61105966A true JPS61105966A (en) 1986-05-24

Family

ID=16862188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59227520A Pending JPS61105966A (en) 1984-10-29 1984-10-29 Change of magnification processing system of picture

Country Status (1)

Country Link
JP (1) JPS61105966A (en)

Similar Documents

Publication Publication Date Title
JPS61105966A (en) Change of magnification processing system of picture
JP2797320B2 (en) Image display device
JPH08194812A (en) Picture processor
JP3154741B2 (en) Image processing apparatus and system
JP2971765B2 (en) Polygon drawing method and polygon drawing device
JPH1055166A (en) Polygon painting-out accelerator
JP2825927B2 (en) Image processing device
JPH0785266A (en) Image rotating device
JPS63113770A (en) Image processing system
JPH03136175A (en) Picture rotating and expanding processor
JPH0520450A (en) Picture processor
JP2537851B2 (en) Image scaling processor
JPH07122899B2 (en) High speed rotation circuit
JPH04329482A (en) Image rotation processing method and processing device for relevant method
JPS5979673A (en) Expanding and contracting method of picture
JPH01114988A (en) Method for expanding and contracting image
JP3247441B2 (en) Image processing device
JPH05204368A (en) Picture display controller
JPH10124036A (en) Picture rotation control circuit
JPH04367080A (en) Image variable power processing
JPH023196B2 (en)
JPH08241404A (en) Image processor
JPS6220074A (en) Image processing method
JPH07129460A (en) Method and device for processing image
JPH01131971A (en) Method and device for processing affine transformation of image