JPS598076A - Image reduction/enlargement device - Google Patents

Image reduction/enlargement device

Info

Publication number
JPS598076A
JPS598076A JP57116120A JP11612082A JPS598076A JP S598076 A JPS598076 A JP S598076A JP 57116120 A JP57116120 A JP 57116120A JP 11612082 A JP11612082 A JP 11612082A JP S598076 A JPS598076 A JP S598076A
Authority
JP
Japan
Prior art keywords
clock signal
output
buffer
counter
enlargement
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
JP57116120A
Other languages
Japanese (ja)
Inventor
Yasunori Ishikawa
石川 安則
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 JP57116120A priority Critical patent/JPS598076A/en
Publication of JPS598076A publication Critical patent/JPS598076A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Landscapes

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

Abstract

PURPOSE:To reduce and enlarge a picture at a high speed with a simple circuit constitution, by providing an input buffer, an output buffer, an address counter, a sampling counter, etc. CONSTITUTION:The picture information D1 of a prescribed quantity is fed to an input buffer 10 and transferred for temporary storage to an output buffer 20 in the form of information D2 in response to an input clock signal CK1. These buffers 10 and 20 are addressed by address counters 11 and 21 and driven by clock signals CK1 and CK2, respectively. AND gates 12 and 22 and NAND gates 13 and 23 are connected in series to the counters 11 and 12, respectively, and a sampling counter 30 is connected to the gates 13 and 23. Then a main clock signal MCK is applied to the gates 12 and 22 as well as to the counter 30, and enlarging and reducing commands CC1 and CC2 are supplied to the gates 13 and 23 respectively. At the same time, a preset signal is applied to the counter 30. Thus a picture can be optionally reduced or enlarged.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は画像処理装置に係シ、特に画像の表示や編集
等における画像縮小拡大装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image processing device, and more particularly to an image reduction/enlargement device for image display, editing, etc.

〔発明の技術的背景及び問題点〕[Technical background and problems of the invention]

画像の縮小又は拡大のための方法は各種知られているが
、例えばソフトウェア操作によって縮小拡大を実行する
ものにあっては、実時間での処理が困難であり対話型の
編集作凝は望めなかった。
Various methods are known for reducing or enlarging images, but for those that perform reduction or enlargement through software operations, it is difficult to process in real time, and interactive editing cannot be expected. Ta.

このため、加算器を用いて縮小の場合は倍率を繰返して
加賞し、また拡大の場合はi率を繰返して加轡し、その
桁上げ信号を画素の間引き又は重複のためのサンプリン
グ信号とするものがあった。しかし、この方法によると
、1倍や1倍など    2 簡単な整数比で表わされる倍率の縮小・拡大にも桁数の
大きな加嘗器を特徴とする特に、拡大の場合には、倍率
の逆数をパラメータとして加舞する必要があり、画像編
集を行うには王者[X合であった0 〔発明の目的及び概要〕 この発明は、以上の様な従来技術の欠点を除去しようと
して成されたものであり、縮小・拡大処理を簡単に且つ
高速で実行することのできる画像縮小拡大装置を提供す
ることを目的とする。
Therefore, in the case of reduction using an adder, the magnification is repeated and added, and in the case of enlargement, the i factor is repeated and added, and the carry signal is used as a sampling signal for pixel thinning or duplication. There was something to do. However, according to this method, reduction and expansion of magnification expressed by simple integer ratios such as 1x and 1x are also characterized by a large number of digits. [Purpose and Summary of the Invention] This invention was made in an attempt to eliminate the drawbacks of the prior art as described above. It is an object of the present invention to provide an image reduction/enlargement device that can perform reduction/enlargement processing simply and at high speed.

この目的を達成するため、この発明によれば、所定量の
画像情報を蓄積する入力バッファと、この人力バッファ
内の情報を転送され出力に備える出力バッファと、主ク
ロツク信号で作動し縮小率又は拡大率に応じてプリセッ
ト値を設定し、このプリセット値に従って桁信号を出力
するサンプリングカウンタとを具え、前記主クロyり信
号を前記サンプリングカウンタの出力で間引くことによ
り、縮小の場合には前記出力バツファを前記主クロツク
信号で駆動し且つ前記入カッくツファを前記間引いたク
ロック信号で駆動し、また拡大の場合には前記入力バッ
ファを前記主クロツク信号で駆動し且つ前記出力バッフ
ァを前記間引いたクロック信号で駆動するようにする。
To achieve this objective, the present invention provides an input buffer for storing a predetermined amount of image information, an output buffer for transferring the information in this manual buffer and preparing it for output, and an output buffer for controlling the reduction rate or and a sampling counter that sets a preset value according to the enlargement ratio and outputs a digit signal according to the preset value, and by thinning out the main black signal with the output of the sampling counter, the output is reduced in the case of reduction. A buffer is driven by the main clock signal and the input buffer is driven by the thinned out clock signal, and in the case of expansion, the input buffer is driven by the main clock signal and the output buffer is driven by the thinned out clock signal. Drive it with a clock signal.

〔発明の実施例〕[Embodiments of the invention]

以下、添付図面に従ってこの発明の詳細な説明する。。 Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. .

第1図は、この発明の実施例に係る画像縮小拡大装置を
示す系統図である。同図によれば、入力バッファ10、
出力バッファ20、アドレスカウンタ// 、 2/、
アンドゲートt2 、 D 、ナントゲート/3゜コ3
、及びサンプリング・カウンタ30が示されている。
FIG. 1 is a system diagram showing an image reduction/enlargement apparatus according to an embodiment of the present invention. According to the figure, an input buffer 10,
Output buffer 20, address counter //, 2/,
And gate t2, D, Nantes gate/3゜co3
, and sampling counter 30 are shown.

人力バッファ10は、所定軟例ヌ2は一走査線分の画像
情報D/を蓄積するための一時記憶装置であり1例えば
レジスタをもって構成する。
The manual buffer 10 is a temporary storage device for storing image information D/ for one scanning line, and is constituted by, for example, a register.

出力バッファ20は、入カバッファlO内の情報を必要
に応じて情報り、2として転送され一時記憶し出力に備
えるものであり、例えばレジスタをもって構成する。
The output buffer 20 receives the information in the input buffer IO as necessary, is transferred as 2, temporarily stores it, and prepares for output, and is configured with, for example, a register.

これら人力バッファ10及び出力バッファ20はそれぞ
れアドレス・カウンタ// 、 !/によってアドレス
され、クロック信号OK/、OK2によって駆動される
。以下、必要がある場合には、クロック信号OK/を入
カクロッ久信号、クロック信号CK2を出力クロック信
号と呼ぶことにする。
These manual buffer 10 and output buffer 20 are address counters //, !, respectively. / and driven by clock signals OK/, OK2. Hereinafter, if necessary, the clock signal OK/ will be referred to as an input clock signal and the clock signal CK2 will be referred to as an output clock signal.

アンドゲート/J 、 22及びナントゲート/3 、
 J、?はサンプリング・カウンタ30と共に、主クロ
ツク信号MCKを基に入力クロック信号OK/及び出力
クロック信号OK、2を形成するものである。サンプリ
ング・カウンタ30ば、主クロツク信号MOKで作動し
縮小率又は拡大率に応じてプリセット値PDを設定し、
このプリセット値PDに従って桁上げ又は桁下げを示す
桁信号BWを出力する。例えばプリセット値FDが2の
ときには3つ目のクロック信号毎に桁信号BWを出力し
、プリセット値がjのときには6つ目のクロック信号毎
に桁信号BWを出力するようにする。
ANDGATE/J, 22 and NANTGATE/3,
J.? together with the sampling counter 30, forms the input clock signal OK/ and the output clock signal OK,2 based on the main clock signal MCK. The sampling counter 30 is operated by the main clock signal MOK and sets a preset value PD according to the reduction rate or expansion rate;
A digit signal BW indicating carry up or down is output according to this preset value PD. For example, when the preset value FD is 2, the digit signal BW is output every third clock signal, and when the preset value is j, the digit signal BW is output every sixth clock signal.

この様な構成によれば、拡大指令CC7又は縮小指令0
0.2.並びにプリセット値に従って入力バッファ10
内の情報を規則的に間引いて転送することにより縮小処
理を実行し、また規則的に2重に同じデータを転送する
ととにより拡大処理を実行するようにする。
According to such a configuration, the enlargement command CC7 or the reduction command 0
0.2. and input buffer 10 according to the preset value.
Reduction processing is performed by regularly thinning out and transferring the information within, and enlargement processing is performed by regularly transmitting the same data twice.

次に、この実施例の動作を説明する。Next, the operation of this embodiment will be explained.

先つ、7倍の縮小を行う場合を考える。この場合、3画
素のうち7画素を規則的に間引いて出力すればよい。こ
のため、拡大指令OC/−o(ローレベル) 、縮小f
fH令OC,2= / ()・イレベル)。
First, let us consider a case where the image is reduced by a factor of 7. In this case, 7 pixels out of 3 pixels may be regularly thinned out and output. Therefore, the enlargement command OC/-o (low level), the reduction f
fH order OC, 2 = / ()・I level).

またカウンタ30のブりナツト(直PD−2とする。 
   ′このとき、ナントゲート/3の出力は常に)−
イレベルゝ/“である。これは、ナントゲート/3の一
方の入力である拡大指令00/が常にローレベルゝO”
であり、サンプリング・カウンタ30による他方の入力
に関係ないためである。従って、アンドゲートlコの出
力すなわち、入力クロック信号OK/けマスククロック
信号MOKに等しい。
Also, the counter 30's output (direct PD-2) is set.
'At this time, the output of Nant Gate/3 is always) -
This is because the enlargement command 00/, which is one input of the Nant gate /3, is always at a low level "O".
This is because it is unrelated to the other input by the sampling counter 30. Therefore, the output of the AND gate 1 is equal to the input clock signal OK/mask clock signal MOK.

これに対して、ナントゲート2スの出力は主クロツク信
号MOKの3つに1つが間引かれる。すなわち、アンド
ゲートnの入力の一方は主クロツク信号MOKであり、
他方はナントゲート23からの信号である。ナントゲー
トコ3の出力信号に、その人力の一方が縮小指令CC,
2=/であるため、サンプリングカウンタ30の出力で
ある桁信月BWに従う7、ここで、カウンタ30のプリ
セット帥、 P D −2であるから、カウンタ30の
出力BWは主クロツり信号と同期して(o、o、/)が
繰返される。
On the other hand, one out of every three main clock signals MOK is thinned out from the output of the Nant gate 2. That is, one of the inputs of AND gate n is the main clock signal MOK,
The other is the signal from the Nantes gate 23. One of the human power inputs the reduction command CC to the output signal of Nant Gateco 3,
Since 2=/, the output BW of the sampling counter 30 is followed by 7. Here, the preset value of the counter 30 is PD-2, so the output BW of the counter 30 is synchronized with the main clock signal. Then (o, o, /) is repeated.

従って、ナントゲートコ3の出方は(/、/、0)が繰
返されることとなり、アンドゲート、22の出力すなわ
ち出力クロック信号OK、2け(/、/、’o)の繰返
しとなる。
Therefore, the output of the Nant gate 3 is (/, /, 0) repeated, and the output of the AND gate 22, that is, the output clock signal OK, is the repetition of 2 digits (/, /, 'o).

この様な人力クロック信号OK/並びに出力クロック信
号CK2、及びこれらの信号OK/、OK!によって転
送される情報DJ 、DJの関係を示すのが第2図であ
る。所定歌の画像情報D/が入カバッファlO内に順次
蓄積されているものとすると、主クロツク信号MOKに
等しい入力クロック信号OK/によって入力バッファ1
0内の情報が情報り、2として読出され、出力バッフア
コθに転送される。この情報D2は情報D/に等しい。
Such human clock signal OK/, output clock signal CK2, and these signals OK/, OK! FIG. 2 shows the relationship between the information DJ and the DJ transferred by the DJ. Assuming that the image information D/ of a predetermined song is stored sequentially in the input buffer lO, the input buffer 1 is
The information in 0 is read out as 2 and transferred to the output buffer θ. This information D2 is equal to information D/.

このとき、出力バッファλθは前述し且つ第2図で示し
た出力クロック信号OK、2で駆動される。
At this time, the output buffer λθ is driven by the output clock signal OK,2 described above and shown in FIG.

従って、人力情報i、i+/、i+、2.1+J。Therefore, the human power information i, i+/, i+, 2.1+J.

1+v、・・・・・・のうち1+2,1+3.1+ざが
人力バッファ10から出力されるときは出力クロック信
号CK2が存在しない。このため、1+2,1+t、i
44の情嘲遥は出力バッファ20から読出されず、この
結果出力バッフアユ0からは3画素毎に1画素間引かれ
た情報が111含次転送され、!ラインの転送が終了す
ると丁に縮小された画像情報D3が得られる。
When 1+2, 1+3.1+ out of 1+v, . . . are output from the manual buffer 10, the output clock signal CK2 does not exist. Therefore, 1+2, 1+t, i
44 emotions are not read out from the output buffer 20, and as a result, 111 pieces of information are transferred from the output buffer Ayu 0, where every 3 pixels are thinned out by 1 pixel, and ! When the line transfer is completed, image information D3 reduced to a size of 1 is obtained.

拡大の場合の動作例として亙倍の拡大の場合の! タイムチャートを第3図に示す。As an example of the operation in the case of enlargement, in case of enlargement of 5 times! A time chart is shown in Figure 3.

この場合、第1図のナンドゲー)/J、J3の一方の入
力はそれぞれ拡大指令00/−/及び縮小指令aci=
oであり、またサンプリンク・カウンタ30のプリセッ
ト値FD=jとする。こうすると、卯73図に示す様に
、tつに1つ間引いた人力クロック信号CK/及び主ク
ロツク信号MCHに等しい出力クロック信号OK、2が
得られる。入力クロック信号OK/が出力されないとき
にけ出力バッフアコ0に同じ情報例えば第3図で11−
F、i+りが2度入力される。/ラインの転送が終了す
ると亙に拡大された画像怜報D3が得られる。
In this case, one of the inputs of Nandogame)/J and J3 in FIG. 1 is the enlargement command 00/-/ and the reduction command aci=
o, and the preset value FD of the sample link counter 30 is assumed to be j. In this way, as shown in Figure 73, the human clock signal CK/, which is thinned out by one every t times, and the output clock signal OK, 2, which is equal to the main clock signal MCH, are obtained. When the input clock signal OK/ is not output, the same information is sent to the output buffer ACO 0, for example, 11- in Fig. 3.
F, i+ri are input twice. When the transfer of the / line is completed, a further enlarged image report D3 is obtained.

伺、以上においては主走査方向の処y11について説明
したが、副走査方向の処理については/ライン毎に、縮
小の場合には規則的なラインの間引を行い、また拡大の
場合には規則的なラインの重複を行えばよい。この場合
はライン単位の処理であり、処理時間に充分寿余裕があ
るため、マイクロプロセッサを用いるなど従来方法を用
いることもできる。すなわち、この発明を単独で用いる
こともできるし、従来方法と組合せて用いることもでき
るのである。
In the above, we have explained the process y11 in the main scanning direction, but for the processing in the sub-scanning direction, regular line thinning is performed for each line in the case of reduction, and regular line thinning is performed in the case of enlargement. All you have to do is overlap the lines. In this case, processing is performed line by line, and since there is sufficient processing time, conventional methods such as using a microprocessor can also be used. That is, the present invention can be used alone or in combination with conventional methods.

〔発明の効果〕 この発明は、以上の様に構成することにより、画像の縮
小・拡大処理を簡単に1つ高速で実行することができ、
対話型処理並びに編集作業の可能な画像縮小拡大装置を
提供することができる。
[Effects of the Invention] By configuring as described above, this invention can easily perform one step of image reduction/enlargement processing at high speed.
An image reduction/enlargement device capable of interactive processing and editing work can be provided.

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

第1図はこの発明の実施例の系統図、第2図は第1図の
装置によって縮小処理を実行する場合のタイムチャート
、第3図は第1図の装′rIIKよって拡大処理を実行
する場合のタイムチャートである。 10・・人力バッファ、X・・・出力バッファ、3θ・
・・サンプリング カランp、//、、lか・アドレス
・カウンタ、 /2 、.2.2・・アンドケート、 
/3 、 u3・・・ナントゲート、MOK・・・主ク
ロツク信号、FD・・・プリセット値O
Fig. 1 is a system diagram of an embodiment of the present invention, Fig. 2 is a time chart when reduction processing is executed by the apparatus shown in Fig. 1, and Fig. 3 is an enlargement processing executed by the apparatus IIK shown in Fig. 1. This is a time chart of the case. 10...Manual buffer, X...Output buffer, 3θ
・・Sampling Callan p, //,,l・Address counter, /2, . 2.2... and Kate,
/3, u3...Nant gate, MOK...main clock signal, FD...preset value O

Claims (1)

【特許請求の範囲】 所定量の画像情報を蓄積する入力バッファと。 この人力バッファ内の情報を転送され出力に備える出力
バッ7アと、主クロツク信号で作動し縮小率又は拡大率
に応じてプリセット値を設定しこのプリセット値に従っ
て桁信号を出力するサンプリングカウンタとを具え、 前記主クロツク信号を前記サンプリングカウンタの出力
で間引くこと1てよシ、縮小の場合には前記出力バッフ
ァを前記主クロツク信号で駆動し且つ前記入力バッファ
を前記間引いたクロック信号で駆動し、また拡大の場合
には前記入力バッファを前記主クロツク信号で駆動し且
っ前記出力バッファを前記間引いたクロック信号で駆動
するようにして成る画像縮小拡大装置。
[Claims] An input buffer that stores a predetermined amount of image information. An output buffer 7 to which the information in the manual buffer is transferred and prepared for output, and a sampling counter that is operated by a main clock signal, sets a preset value according to the reduction ratio or enlargement ratio, and outputs a digit signal according to this preset value. decimating the main clock signal with the output of the sampling counter; in the case of reduction, driving the output buffer with the main clock signal and driving the input buffer with the decimated clock signal; Further, in the case of enlargement, the image reduction/enlargement apparatus is configured to drive the input buffer with the main clock signal and drive the output buffer with the thinned out clock signal.
JP57116120A 1982-07-06 1982-07-06 Image reduction/enlargement device Pending JPS598076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57116120A JPS598076A (en) 1982-07-06 1982-07-06 Image reduction/enlargement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57116120A JPS598076A (en) 1982-07-06 1982-07-06 Image reduction/enlargement device

Publications (1)

Publication Number Publication Date
JPS598076A true JPS598076A (en) 1984-01-17

Family

ID=14679185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57116120A Pending JPS598076A (en) 1982-07-06 1982-07-06 Image reduction/enlargement device

Country Status (1)

Country Link
JP (1) JPS598076A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2469878A1 (en) * 1979-11-20 1981-05-29 Stichting Bedrijven Van Het PROCESS FOR THE PREPARATION OF MODIFIED SMALL MILK PROTEINS, PRODUCTS OBTAINED AND THEIR APPLICATIONS
JP2600410B2 (en) * 1988-07-14 1997-04-16 セイコーエプソン株式会社 Video processing circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2469878A1 (en) * 1979-11-20 1981-05-29 Stichting Bedrijven Van Het PROCESS FOR THE PREPARATION OF MODIFIED SMALL MILK PROTEINS, PRODUCTS OBTAINED AND THEIR APPLICATIONS
JP2600410B2 (en) * 1988-07-14 1997-04-16 セイコーエプソン株式会社 Video processing circuit

Similar Documents

Publication Publication Date Title
US5020115A (en) Methods and apparatus for dynamically scaling images
JPS59178863A (en) Image processing device
JPS598076A (en) Image reduction/enlargement device
US6636224B1 (en) Method, system, and computer program product for overlapping graphics data collection and transmission using a single processor
JPS6039988A (en) Picture signal converter
JP2858661B2 (en) Image processing method
JPS58102289A (en) Image editting system
JPS6249570A (en) Picture processor
JP3004993B2 (en) Image processing device
JPS6355653A (en) Data transfer device
JPS6363281A (en) Picture display device
JPS6220074A (en) Image processing method
JPH02230473A (en) Picture processing system for parallel computer
JPH036510B2 (en)
JPS58151675A (en) Two-dimensional fast Fourier transform processing method
JPH01261085A (en) Picture magnification display device
JPS63188276A (en) Image processing device
JPH04235592A (en) Display control device
JPH04333173A (en) Device for displaying picture
JPH02187874A (en) Picture processor
JPS62219078A (en) Arithmetic and processing device for expanded picture
JPS62263580A (en) Interpolation enlargement circuit
JPS63253398A (en) Bit map display circuit
JPS60254374A (en) Formation device of simple magnification data
JPH01311767A (en) Picture processor