JPS6054076A - Picture enlarging and reducing circuit - Google Patents

Picture enlarging and reducing circuit

Info

Publication number
JPS6054076A
JPS6054076A JP58161747A JP16174783A JPS6054076A JP S6054076 A JPS6054076 A JP S6054076A JP 58161747 A JP58161747 A JP 58161747A JP 16174783 A JP16174783 A JP 16174783A JP S6054076 A JPS6054076 A JP S6054076A
Authority
JP
Japan
Prior art keywords
image
circuit
enlarging
reducing
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
JP58161747A
Other languages
Japanese (ja)
Inventor
Eita Miyake
三宅 英太
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 JP58161747A priority Critical patent/JPS6054076A/en
Publication of JPS6054076A publication Critical patent/JPS6054076A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T3/02

Abstract

PURPOSE:To enable simple enlarging, reducing and rotation of a picture by controlling transfer of picture information by registers based on the command of enlarging and reducing obtained by repeated addition of the ratio of enlarging and reducing in horizontal and vertical directions set arbitrarily. CONSTITUTION:A picture enlarging and reducing circuit 1 consists of a system controlling circuit 10 that makes control of the whole and access control to a picture memory 2 and a constant setting section 20 that stores address information of the picture memory 2 and ratio of enlarging and reducing and can be changed the content of setting by a host processor 3. The circuit 1 is provided with a timing generating circuit 30 that generates timing signals of enlarging and reducing by repeated addition of ratio of enlarging and reducing. Further, the circuit 1 consists of a horizontal direction enlarging and reducing circuit 40 made up of plural shift registers that make shift output according to timing signals from the timing generating circuit 30 and a buffer memory 50 that temporarily stores picture data after enlarging and reducing of the output.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は簡単な構成でし、かも任廊に設定した拡大率及
び縮小率が得られ、かつ画像回転を容易にした画像拡大
縮小回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an image enlarging/reducing circuit which has a simple configuration, can obtain predetermined enlargement and reduction ratios, and facilitates image rotation.

〔従来技術〕[Prior art]

従来の画像拡大縮小回路として、例えば、第1図に示す
ものがある。この画像拡大縮少回路は、システム制御部
によシ拡大率および縮少率が初期設定部tする32ビツ
トのシフトレジスタ101と、イメージ記憶装R200
よ〕の原イメージデータの行方向(又は列方向)のデー
タがセットてれる32ビツトのシフトレジスタ102と
、原イメージデータがシフトレジスタ102よシ供給さ
れて新イメージデータが作らnる32ビツトのシフトレ
ジスタ103と、シフトレジスク102及び103内の
イメージデータの有効長をカウントする32進のカウン
タ104及び105と、拡大/縮小指令を反転出力する
インバータ106と、シフトレジスタ101の出力信号
とインバータ106の出力信号との論理積をとって出力
信号を発生するアンドゲート107と、シフトレジスタ
101及び拡大/縮小指令の論理積をとって出力信号を
発生するアンドゲート108と、拡大/縮小指令とアン
ドグー)107の出力信号の論理和をとって出力信号を
発生するオアゲート109と、インバータ106の出力
信号とアンドグー)108の出力信号の論理積をとって
出力信号を発生するオアグー)110と、クロック信号
とオアゲート109の出力信号の論理積をとるアンドグ
ー) Allと、クロ、り信号とオアゲート101の出
力信号の論理積をとるアンドゲート112とよシ構成さ
れる。
As a conventional image enlargement/reduction circuit, there is one shown in FIG. 1, for example. This image enlargement/reduction circuit includes a 32-bit shift register 101 in which the enlargement rate and reduction rate are initially set by the system control unit, and an image storage device R200.
A 32-bit shift register 102 in which data in the row direction (or column direction) of the original image data is set; A shift register 103, 32-decimal counters 104 and 105 that count the effective length of image data in the shift registers 102 and 103, an inverter 106 that inverts and outputs enlargement/reduction commands, and output signals of the shift register 101 and the inverter 106. an AND gate 107 that generates an output signal by performing a logical product with an output signal; an AND gate 108 that generates an output signal by performing a logical product of the shift register 101 and an enlargement/reduction command; an OR gate 109 which takes the logical sum of the output signals of the inverter 107 and generates an output signal; It is composed of an AND gate 112 that takes the logical product of the output signal of the OR gate 109, and an AND gate 112 that takes the AND of the output signal of the OR gate 101.

第2図は第1図に示し次画像拡大縮小回路を水平方向及
び垂直方向の各々の拡大縮少回路に用いてイメージ処理
装置を構成した一例であp。
FIG. 2 shows an example of an image processing apparatus in which the next image enlargement/reduction circuit shown in FIG. 1 is used as each of the horizontal and vertical enlargement/reduction circuits.

原イメージデータ及びシフトレジスタ103よシの拡大
又は縮/J%さ九た新イメージデータな記憶するlワー
ド32ビツト栴成のイメージ記憶装置200と、マイク
ロプロセッサを用いて構成されシステム全体の制御を行
なうシステム制御部300と、原イメージの行方向のデ
ータを拡大縮小して行方向の新イメージデータを作成す
る第1図に示した構成の行方向拡大縮小回路400と、
原イメージデータの列方向のデータを拡大縮小して列方
向の新イメージデータを作成する列方向拡大縮小回路5
00と、各種端末装置より入力したイメージデータをイ
メージ記憶装置200に転送し或いは拡大縮小後のデー
タを出力装置に転送するホストCPU 600と、ホス
トCPU 600とイメージ処理装置とt”電気的に結
合するチャネル結合回路700と、各回路よりのイメー
ジ記憶装置200へのアクセスを制御するアクセス制御
回路800とよシ構成芒nる。
It is constructed using a 32-bit word image storage device 200 for storing the original image data and the shift register 103, expansion or reduction/J% new image data, and a microprocessor to control the entire system. a system control unit 300 that performs image processing, and a row-direction scaling circuit 400 configured as shown in FIG.
A column direction scaling circuit 5 that enlarges or reduces the column direction data of the original image data to create new column direction image data.
00, a host CPU 600 that transfers image data input from various terminal devices to the image storage device 200 or transfers enlarged/reduced data to an output device, and the host CPU 600 and the image processing device are electrically coupled. The configuration includes a channel coupling circuit 700 that controls access to the image storage device 200 from each circuit, and an access control circuit 800 that controls access to the image storage device 200 from each circuit.

以上の構成において、ドキーメント等のイメージ情報は
ホス)CPU600よりチャネル結合回路700を介し
てイメージ記憶装置200に格紬し、システム制御部3
00KJ、って拡大率又は#:1小率を拡大縮小回路4
00及び500に設定し、この縮倍率に従って原イメー
ジデータのデータ移rtbを制御して新イメージデータ
を作成し、イメージ記憶装R200に転送する。イメー
ジ記憶装置200に記憶さnた拡犬又り、縮小後の新イ
メージデータはホストcPU600を介して外部機器あ
るりは伝送線路に出力される。
In the above configuration, image information such as document information is stored in the image storage device 200 from the host CPU 600 via the channel coupling circuit 700, and is stored in the system control unit 3.
00KJ is the magnification rate or #: 1 decimal magnification circuit 4
00 and 500, and control the data transfer rtb of the original image data according to this reduction ratio to create new image data and transfer it to the image storage device R200. The new image data after enlargement or reduction stored in the image storage device 200 is outputted to an external device or a transmission line via the host cPU 600.

このときの画像拡大縮小動作衾行方向拡大縮小回路・■
00について2倍に拡大の場合を例に以下゛詳述する。
Image enlargement/reduction operation at this time: Forward direction enlargement/reduction circuit・■
A case in which 00 is enlarged twice will be described below in detail.

拡大/縮小指令はシステム制御部300↓、す、拡大の
場合にl、縮小の場合にOが与えられ、また、拡大率あ
るいは縮小率に応じた32ビツトの2進数がシフトレジ
スタ101にセットされる。例えば、2倍に拡大する場
合は010101・・・、4倍に拡大する場合は011
101110111・・・:の如くの配列で全部で32
ビツト構成のものがシフトレジヌク101にセットさ牡
ている。
The enlargement/reduction command is given to the system control unit 300↓, l is given for enlargement, and O is given for reduction, and a 32-bit binary number corresponding to the enlargement rate or reduction rate is set in the shift register 101. Ru. For example, 010101 to enlarge by 2 times, 011 to enlarge by 4 times.
101110111...: A total of 32 arrays
The bit configuration is set in the shift register 101.

2倍に拡大の場合には、拡大/縮小jii令が1で、シ
フトレジスタ101は010101・・・O20ムであ
り、初期状態におい1は、クロック信号が供給源れず、
カウンタ+04及び105が0にセットで肛ている。こ
の状態におい−Cシフトレジスタ102に原・「メージ
データの行方向データの32ビツトがイメージ記憶装置
200.1ニジ転送ぜノする。
In the case of expansion by 2 times, the expansion/reduction jii command is 1, the shift register 101 is 010101...O20m, and in the initial state, 1 means that there is no clock signal source,
Counters +04 and 105 are set to 0. In this state, the original 32 bits of the row direction data of the image data are transferred to the C shift register 102 from the image storage device 200.1.

転送後にクロック信号が入力てれるが、オアゲ−)10
9の10カレベルが1でオアゲート11Oの出力レベル
がOであるため、アントゲ−1・illに出力信号が発
生してもアントゲ−)112に出力信号は発生しない。
The clock signal is input after the transfer, but it's not a good idea.)10
Since the level of 10 of 9 is 1 and the output level of the OR gate 11O is O, even if an output signal is generated at the ant game 1.ill, no output signal is generated at the ant game 112.

アンドゲートiiiの出力信号によpカウンタ105が
歩進すると共にンフトレジスタ103にシフトレジスタ
+02の左端の1ビツトのデータが伝送さ扛る。、つい
でクロック信号が出力され、シフトレジヌク101el
ビツト左へシフト重重〃がアンドゲート107及び10
8に出力でれる。この^めオアゲート109及び110
の双方にルベルの出力信号が発生し、アントゲ−)Il
l及び112の―ずれにも出力信号が発生し、カウンタ
104.i05が共に歩進するど共にシフトレジスタi
02.u03が共に1ビツトタは左にシフトする。この
ときシフトレジアタ103に転送さfするデータは前回
のクロック発生時のデータと同一であり(アンドゲート
112よシ前回は出力信号が発生しでいないためシフト
〃二豹−なわれ1いない)、原イメージデータの1ビツ
トが枕け″L2ビット転送されることに、2!i−る。
The p counter 105 is incremented by the output signal of the AND gate iii, and the leftmost 1-bit data of the shift register +02 is transmitted to the shift register 103. , then a clock signal is output, and the shift register 101el
Bit left shift weight is AND gate 107 and 10
8 can be output. This^me or gate 109 and 110
A Lebel output signal is generated on both sides of the
1 and 112 - output signals are also generated, and the counters 104 . Both shift register i
02. Both u03 are shifted to the left by 1 bit. At this time, the data transferred to the shift register 103 is the same as the data when the previous clock was generated (no output signal was generated from the AND gate 112 last time, so there was no shift); It is 2!i- because 1 bit of image data is transferred by L2 bits.

クロック化上が32個出力されると、カウンタ105よ
りヌトア綿令か出きれ、・1メ一ジ記憶i’%、200
内の納イメージデータ内にシフトレジスタ1133内の
データがストア芒牡る。また、カウントl (+ 4が
32カウントした時点でフェッチ命令が出され、次の原
イメージデータを/フトレジスタ102にセットする。
When 32 clocks are output, the counter 105 outputs Nutuawata, 1st memory i'%, 200
The data in the shift register 1133 is stored in the stored image data. Further, when the count l (+4) counts to 32, a fetch command is issued, and the next original image data is set in the /ft register 102.

このように、シフトレジアタ102と103に印加する
アンドゲート111と112の出力信号の発生比率を拡
大率に応じで出力し、2つのレジスタ内のデータ移動を
倍率に応じて行なうことによシ、拡大を行なうことがで
きる。縮小はシフトレジスタi03のデータ移動fr1
02に対し間引くことによシ可能でIC1列方向の拡大
、縮小も行方向と同一の手順によシ処理可能であるので
、説明は省略する。
In this way, by outputting the generation ratio of the output signals of the AND gates 111 and 112 applied to the shift registers 102 and 103 according to the magnification ratio, and moving the data within the two registers according to the magnification ratio, the expansion is possible. can be done. Reduction is data movement fr1 of shift register i03
This can be done by thinning out 02, and the expansion and contraction in the IC1 column direction can be processed using the same procedure as in the row direction, so the explanation will be omitted.

以上のような構成により、乗算処理等を行なうことなく
イメージデータの拡大、縮小が可能となる。
With the above configuration, image data can be enlarged or reduced without performing multiplication processing or the like.

しかし、従来の画像拡大縮小回路にあっては、拡大又は
縮小の指示をシフトレジスタl0IK設定する夕要があ
るため、予めデータパターンを作成しておく必要がある
とともに、用意したデータパターンビット数の割には鞘
度の悪いものであった。
However, in the conventional image enlargement/reduction circuit, it is necessary to set the enlargement or reduction instruction in the shift register 10IK, so it is necessary to create the data pattern in advance, and the number of bits of the prepared data pattern is The sheath quality was relatively poor.

〔発明の目的および構成〕[Object and structure of the invention]

本発明は、上記に鑑みてなさi七りものであり、簡単な
構成により任意の拡大率及び縮少率の画像を高速に得る
と共に画像の回転を可能にするため、水平方向および垂
直方向の任意に設定式ft、た拡太、縮少率を繰返し、
加算して得らf′L、fc拡犬、縮小の指令に基づいて
複数のレジスタによる画像情報の転送を制御するように
した画像拡大縮小回路全提供するものである。
The present invention has been made in view of the above, and has a simple configuration to quickly obtain images with arbitrary enlargement and reduction ratios, and to enable rotation of the image. Repeat the arbitrary setting formula ft, enlargement and reduction ratio,
The present invention provides an entire image enlarging/reducing circuit which controls the transfer of image information through a plurality of registers based on commands for enlarging and reducing f'L and fc obtained by addition.

以下、本発明による画像拡大縮小回路を詳細に説明する
The image enlargement/reduction circuit according to the present invention will be explained in detail below.

〔実施例〕〔Example〕

第3図は本発明の一実施例を示し、拡大または縮小の対
象となる画像情報が格納さflJj画像メモリ2および
システムを制御するためのホストプロセッサ3の各々に
接続さ扛るのが本発明による画像拡大縮小回路lである
。画像拡大縮小゛回路lは、マイクロブロセ、すが用い
られて全体の制御および画像メモリ2に対するアクセス
制御等を行なうシステム制御回路ioと、画像メモリ2
のアドレス情報、拡大率および縮小率が記憶さ扛るとと
もに設定内容をホストブロセッ′9−3によシ任意に変
更可能な定数設定部20と、拡大率、縮小率ta返し加
算することに↓っで拡大と縮少のタイミング信号を発生
するタイミング発生回路30と、画像情報を保持しクイ
ミンク発生回路30よりのタイミング信号に従ってシフ
ト出力を行なう複数個のシフトレジスタより成る水平方
向拡太縞小回路40と、水平方向拡大縮小回路40より
出力される拡太まrは縮少後の画像データを一時的に記
憶するノくラフアメモリ50とより構成さオする。
FIG. 3 shows an embodiment of the present invention, in which the image information to be enlarged or reduced is stored and connected to each of the image memory 2 and the host processor 3 for controlling the system. This is an image enlargement/reduction circuit l. The image scaling circuit 1 includes a system control circuit io that uses a microprocessor to perform overall control and access control to the image memory 2, and the image memory 2.
The address information, enlargement ratio, and reduction ratio are stored, and the setting contents are stored in the constant setting section 20, which can be changed arbitrarily by the host processor '9-3. a horizontal enlargement stripe subcircuit 40 consisting of a timing generation circuit 30 that generates timing signals for enlargement and reduction, and a plurality of shift registers that hold image information and perform shift output according to timing signals from the quimink generation circuit 30; The enlarged image data outputted from the horizontal enlargement/reduction circuit 40 is composed of a rougher memory 50 that temporarily stores the image data after reduction.

第4図は第3図に示したタイミング発生回路30と水平
方向拡太籟1少回路40の詳細構成を示すプロワ、り図
でちる。
FIG. 4 is a diagram showing detailed configurations of the timing generation circuit 30 and the horizontal enlargement/reduction circuit 40 shown in FIG. 3.

タイミング発生回路30は、レジスタ21に格納さ牡た
水平方向の拡大率および縮小率の値を繰返し加算する1
Cめに用いられるテンポラリレジスタ31と、テンポラ
リレジスフ3tt介した加算動作によってキャリー(桁
上り)信号を発生する加算器32と、キャリーと縮小指
令(J″レベルおよび拡大指令(縮少指令)反転信号)
との論理私金とるアンド回路33と、クロックパルスと
拡大/種1小指令との論理私金とるアンド回路34と、
アンド回路33と34の出力信号の論理木1をとシシフ
トクロツクな出力するオア回路35と、キャリーと拡大
/縮小指令との論理積をとるアンド回路36と、クロッ
クパルスと拡大/縮少指令との論理私金とるアンド回路
37と、アンド回路36と37の出力(Q号の論理和を
とシパッファメモリストアタ・イミング信号を出力する
オア回路38とより構成式i1.る。
The timing generation circuit 30 repeatedly adds the values of the horizontal expansion rate and reduction rate stored in the register 21.
A temporary register 31 used for C, an adder 32 that generates a carry signal by addition operation via the temporary register 3tt, and a carry and reduction command (J'' level and enlargement command (reduction command) inversion) signal)
A logic AND circuit 33 that takes the logic of the clock pulse and an expansion/species 1 small command, and an AND circuit 34 that takes the logic of the clock pulse and the expansion/species 1 small command.
An OR circuit 35 outputs the logic tree 1 of the output signals of AND circuits 33 and 34 as a shift clock; An AND circuit 37 which takes a logic private sum, an OR circuit 38 which outputs the logical sum of the outputs of the AND circuits 36 and 37 (the logical sum of the Q numbers) and a shippuffer memory store timing signal form a configuration formula i1.

水平方向拡大縮小回路4oは、画像情報とパラレルに入
力しシリアルに出力する複数個のシフトレジスタ(例え
ば、16X16ビツトのマトリクスの形成〃2可能な1
6個のレジスタ)を備゛えたシフトレジスタ群41と、
オア回路35よシ出力さiLるシフトクロ、りcI!l
を計数し計数値がシフトレジスタのビット数に達すると
オーバフロー信号をシステム制御回路1oに送出するシ
フトカウンタ4zとより4’4成される。
The horizontal enlargement/reduction circuit 4o includes a plurality of shift registers (for example, formation of a 16×16 bit matrix) which inputs image information in parallel and outputs it serially.
a shift register group 41 comprising six registers);
OR circuit 35 outputs iL shift clock, RcI! l
and a shift counter 4z which counts the number of bits and sends an overflow signal to the system control circuit 1o when the counted value reaches the number of bits of the shift register.

また、垂直方向の拡大縮小タイミング信号を発生するタ
イミング発生回路は、垂直方向の拡大率及び、t111
小率が格納でnでいるレジスタ22と、垂直方向の拡大
/゛縮小率の値を繰返し加算するために用いらnるテン
ポラリレジスタ39と、テンポラリレジスタ39を介し
た加勢動作によってキャリー信号を発生する加算器45
とより構成さオしる。
Further, the timing generation circuit that generates the vertical enlargement/reduction timing signal is configured to determine the vertical enlargement ratio and t111.
A carry signal is generated by a register 22 whose fractional ratio is n for storage, a temporary register 39 whose n is used to repeatedly add the value of the vertical expansion/reduction ratio, and an assisting operation via the temporary register 39. Adder 45
It is made up of a lot more.

以上の構成において、画像情報はホストプロセッサ3の
制御のもとて情報の白と黒の部分が0と五のヒツト値に
対応して画像メモリ2に格納ざノしておシ、ホストプロ
セッサ3に19画像メモリ2のアドレス情報、拡大率お
よび縮少率等か任意に設定される。画像メモリ2の画像
とメモリアドレスの開係を示したのが第5図であり、画
像メモリ2はθ〜(n−+)番地までのnの画像メモリ
ピッチを有し、こtLを(M+1)桁分有している。シ
ステム制御1回路10の画像メモリアドレスレジスタに
は(n十1)番地がセ。
In the above configuration, the image information is stored in the image memory 2 under the control of the host processor 3, with the white and black parts of the information corresponding to the hit values of 0 and 5. Address information of the 19 image memory 2, enlargement rate, reduction rate, etc. are arbitrarily set. FIG. 5 shows the relation between the image in the image memory 2 and the memory address. The image memory 2 has an image memory pitch of n from θ to address (n-+), and ) digits. The image memory address register of the system control 1 circuit 10 has address (n11).

トさ扛、加算器45が繰返し加算するごとに画像メモリ
アドレスレジスタに画像メモリピッチnが加算さ扛、オ
ア回路35よシシフトクロ。
Each time the adder 45 repeatedly adds, the image memory pitch n is added to the image memory address register.

りC3が発生すると画像メモリ2よりデータの読出しを
行ない、シフトレジスタ群41の16(+61のシフト
レジスタに順次セットする。加算器32よシキャリーが
出力式n、かつ縮小指令が出されるとアンド回路36の
アンド条件が成立しオア回路38よ勺バ、ファメモリヌ
トアタイミングが出力され、この信号が出力されるごと
にシステム制御回路lOはシフトレジスタ群41よシシ
リアルアウトされる画像情報をバッファメモリ50に書
き込む。一方、オア回路35よシ出力ζgるシフトクロ
ックCsがシフトレジスタの最大ビット数に達すると、
シフトカウンタ42はオーバーフローしてオーバフロー
信号をシステム制御回路lOに送出する。システム制御
回路lOはオーバフロー信号を受けて再度シフトレジス
タ群41へ画像メモリ2からの読み出し情報をセットし
、第5図に示す次の行の画像情報を各シフトレジスタに
転送する。以後オ、(−フロー信号が送出されるごとに
、画像メモリ2からの読み出しが行なわ牡、(M+1)
桁分が完了するまで繰返し実行式ノする。読み出しはブ
ロック1(Bl)、B2、・・・Bnのアドレス順序で
順次行なわn、各ブロックの縮小後の画像情報はバッフ
ァメモリ50に格納される。例えば、B1では(n−t
)から、B2では(n−2)のアドレスから読み出場れ
る。
When C3 occurs, data is read from the image memory 2 and sequentially set in the shift registers 16 (+61) of the shift register group 41. When the adder 32 and the shift register are output formula n and a reduction command is issued, the AND circuit is When the AND condition of 36 is satisfied, the OR circuit 38 outputs the output timing signal, and each time this signal is output, the system control circuit 10 transfers the image information to be serially outputted from the shift register group 41 to the buffer memory. On the other hand, when the shift clock Cs output from the OR circuit 35 reaches the maximum number of bits of the shift register,
Shift counter 42 overflows and sends an overflow signal to system control circuit IO. Upon receiving the overflow signal, the system control circuit IO sets the read information from the image memory 2 in the shift register group 41 again, and transfers the image information of the next row shown in FIG. 5 to each shift register. From then on, every time the (-flow signal is sent out, reading from the image memory 2 is performed. (M+1)
The expression is executed repeatedly until the digits are completed. Reading is performed sequentially in the address order of blocks 1 (Bl), B2, . . . Bn, and the reduced image information of each block is stored in the buffer memory 50. For example, in B1 (nt
), B2 can read from address (n-2).

縮小率50%とした縮小例が第6図である。FIG. 6 shows an example of reduction at a reduction rate of 50%.

レジスタ21には0.5が設定ハへており、次表に示す
よう罠加算器32が10回加算するとキャリーが5個出
力さ扛、この間にクロックパルスが10個出出力扛、か
つ囁l〃レベルの縮小指令が出力式れている友め、シフ
トクロックC3がオア回路35↓す10個出力され、バ
ッファメモリストアタイミング信号がオア回路38より
5個出力される。従って、画像メモリ2よりレジスタ群
41に読み込’E f’Lるビット数のl/2がレジス
タ群41よシバラフアメモリ50に転送さ牡、50%に
縮小された画像情報がバッファメモリ50に出力さ扛る
ことになる。
The register 21 is set to 0.5, and as shown in the table below, when the trap adder 32 adds 10 times, 5 carries are output, during which time 10 clock pulses are output, and a whisper is output. 〃The shift clock C3 for which the level reduction command is output is outputted from the OR circuit 35 ↓ 10 times, and the OR circuit 38 outputs 5 buffer memory store timing signals. Therefore, l/2 of the number of bits read from the image memory 2 to the register group 41 is transferred from the register group 41 to the Shibarahua memory 50, and image information reduced by 50% is output to the buffer memory 50. You will be robbed.

なお、画像を拡大する場合には、水平方向に対しては縮
小率の逆数をセットし、垂直方向に対しては拡大率−1
をセットすると共に水平側は加゛算クロックと桁上りを
逆転させてシフトクロックCs及びバッファメモリスト
アタイミング信号を発生略せて水平側を拡大し、垂直側
は桁上シが発生するごとK ii[+i像メモリ2が読
み出した同一情報をシフトレジスタiと(i+1)に書
き込み、2行分ごとに同一内容となるようにする。
When enlarging an image, set the reciprocal of the reduction ratio for the horizontal direction, and set the enlargement ratio -1 for the vertical direction.
At the same time, on the horizontal side, the addition clock and carry are reversed to generate the shift clock Cs and the buffer memory store timing signal, and the horizontal side is enlarged, and on the vertical side, every time a carry occurs, K +i The same information read by the image memory 2 is written into shift registers i and (i+1) so that every two lines have the same content.

さらに、画像の回転は、回転の前と後で画像メモリ2の
アドレス割旬けを異ならせ、これに合せてバッファメモ
リ50が画像メモリ2への情報の転送時の順序を変更す
ることにより、例えば、第7図に示すような90度回転
した画像が得られる(第7図では50チの縮小も行なわ
れている)。
Furthermore, when rotating an image, the address allocation of the image memory 2 is made different before and after the rotation, and the order in which the buffer memory 50 transfers information to the image memory 2 is changed accordingly. For example, an image rotated by 90 degrees as shown in FIG. 7 is obtained (in FIG. 7, the image is also reduced by 50 inches).

なお、拡大、縮小のタイミング発生はマイクロコンピュ
ータ内のレジスタ、ALU等に置換することが可能で′
p)シ、また、シフトレジスタおよびバッファメモリを
複数個設けることにより、階調付の情報を扱うことがで
きる。
Note that the timing generation for expansion and contraction can be replaced with registers, ALU, etc. in the microcomputer.
p) Also, by providing a plurality of shift registers and buffer memories, information with gradation can be handled.

〔発明の効果〕〔Effect of the invention〕

以上説明した通り、本発明の画像拡大縮小回路によれば
、水平方向及び垂直方向の任意に設定した拡大/縮小率
を繰返し加η:して得られた拡大/縮小の指令に基づい
て複数のレジスタによる画像情報の転送を制御するよう
にしたため、簡単な構成によシ任意の拡大率および縮小
率の画像を得ることができ、更には回転画像も得ること
ができる。
As explained above, according to the image enlargement/reduction circuit of the present invention, a plurality of Since the transfer of image information is controlled by the register, images with arbitrary enlargement and reduction ratios can be obtained with a simple configuration, and even rotated images can be obtained.

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

第1図は従来の画像拡太罰1コ小回路のプロ,り1図、
第2図は第1図に示(7た画像拡大縮小回路を用いてイ
メージ処理装1k 4l成した一例な・示すブロック図
、第3図は本発明の一実施例を示すブロック図、第4図
は第3図におけるタイミング発生回路30および水平方
向拡大縮小回路40の詳細プロ,り図、第5図は画像メ
モリ2のアドレス配171゜図、第6図は本発明による
縮小画像の一例を示す説明図、第7図は不発ツJによる
回転画像の一例を示す説明図。 符号の説明 l・・・画像拡大縮小回路、 2・・・画像メモリ、3
・・・ホストブロセ,ザ、10・・・システム制御部、
20・・・定数設定部、21.22・・・レジスタ、3
0・・・タイミング発生回路, 31.39・・・デン
ボラリレジスタ、32.45・・・加算器、33、34
,36.37・・・アンド回路、35.38・・・オア
回路、40・・・水平方向拡大縮小回路、4l・・・シ
フトレジスフ部、42・・・シフトカウンク、50・・
・バッファメモリ。
Figure 1 is a diagram of the conventional image enlargement process for one small circuit.
FIG. 2 is a block diagram showing an example of an image processing device 1k4l constructed using the image enlargement/reduction circuit shown in FIG. The figure shows a detailed diagram of the timing generation circuit 30 and the horizontal enlargement/reduction circuit 40 in FIG. 3, FIG. 5 shows the address layout 171° of the image memory 2, and FIG. FIG. 7 is an explanatory diagram showing an example of a rotated image by the misfire J. Explanation of symbols 1: Image enlargement/reduction circuit, 2: Image memory, 3
...Host Brosse, The, 10...System control unit,
20...Constant setting section, 21.22...Register, 3
0...Timing generation circuit, 31.39...Denvolary register, 32.45...Adder, 33, 34
, 36.37...AND circuit, 35.38...OR circuit, 40...horizontal enlargement/reduction circuit, 4l...shift register section, 42...shift count, 50...
・Buffer memory.

Claims (1)

【特許請求の範囲】 画像の各画素をディジタル信号に変換して画像メモリに
記憶し、この記憶された画像情報を拡大または縮小処理
する画像処理装置において、任意の水平方向、垂直方向
の拡大率および縮小率が設定部nる定数設定部と、 該定数設定部によシ設定さnた拡大率または、縮小率を
繰返し加算して拡大または縮小のタイミング信号を発生
し、拡大縮小指令時このタイミング信号、クロックパル
スおよび拡大・縮小指令の相互間の論理条件によりでシ
フトクロック及びバッファメモリストアタイミング信号
を発生するタイミング信号発生部と、 該タイミング信号発生部よりの出力信号に基づいて前記
画像メモリよυの水平方向情報をシフトする複数のシフ
トレジスタを備えたシフトレジスタ群と、 該シフトレジスタ群↓シの拡大tたは縮小された画像デ
ータを一時的に記憶するバッファメモリとを設けたこと
を特徴とする画像拡大縮小回路。
[Claims] An image processing device that converts each pixel of an image into a digital signal and stores it in an image memory, and processes the stored image information to enlarge or reduce the image, which can be used at any horizontal or vertical enlargement rate. and a constant setting part in which the reduction rate is set by the setting part, and the enlargement or reduction ratio set by the constant setting part are repeatedly added to generate an enlargement or reduction timing signal. a timing signal generating section that generates a shift clock and a buffer memory store timing signal according to mutual logical conditions of the timing signal, the clock pulse, and the enlargement/reduction command; A shift register group including a plurality of shift registers for shifting horizontal direction information of yυ, and a buffer memory for temporarily storing enlarged or reduced image data of the shift register group ↓ are provided. An image scaling circuit featuring:
JP58161747A 1983-09-02 1983-09-02 Picture enlarging and reducing circuit Pending JPS6054076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58161747A JPS6054076A (en) 1983-09-02 1983-09-02 Picture enlarging and reducing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58161747A JPS6054076A (en) 1983-09-02 1983-09-02 Picture enlarging and reducing circuit

Publications (1)

Publication Number Publication Date
JPS6054076A true JPS6054076A (en) 1985-03-28

Family

ID=15741114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58161747A Pending JPS6054076A (en) 1983-09-02 1983-09-02 Picture enlarging and reducing circuit

Country Status (1)

Country Link
JP (1) JPS6054076A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0359292A2 (en) * 1985-03-30 1990-03-21 Dainippon Screen Mfg. Co., Ltd. Apparatus for interpolating image signals
US5372078A (en) * 1991-06-20 1994-12-13 Mitsubishi Denki Kabushiki Kaisha Automatic sewing machine having a driving mechanism for driving a cloth presser unit according to a sewing pattern
US5427040A (en) * 1991-11-05 1995-06-27 Mitsubishi Denki Kabushiki Kaisha Method of and apparatus for controlling an automatic sewing machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5537672A (en) * 1978-09-09 1980-03-15 Ricoh Co Ltd Conversion system of dot pattern
JPS55124184A (en) * 1979-03-19 1980-09-25 Nippon Electric Co Image contraction circuit
JPS5785161A (en) * 1980-11-14 1982-05-27 Fujitsu Ltd Image magnifying and reducing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5537672A (en) * 1978-09-09 1980-03-15 Ricoh Co Ltd Conversion system of dot pattern
JPS55124184A (en) * 1979-03-19 1980-09-25 Nippon Electric Co Image contraction circuit
JPS5785161A (en) * 1980-11-14 1982-05-27 Fujitsu Ltd Image magnifying and reducing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0359292A2 (en) * 1985-03-30 1990-03-21 Dainippon Screen Mfg. Co., Ltd. Apparatus for interpolating image signals
US5372078A (en) * 1991-06-20 1994-12-13 Mitsubishi Denki Kabushiki Kaisha Automatic sewing machine having a driving mechanism for driving a cloth presser unit according to a sewing pattern
US5427040A (en) * 1991-11-05 1995-06-27 Mitsubishi Denki Kabushiki Kaisha Method of and apparatus for controlling an automatic sewing machine

Similar Documents

Publication Publication Date Title
KR950012080B1 (en) Display control unit
JPH03184082A (en) Electronic system
JPS61159686A (en) Image display unit
US5737761A (en) Memory control architecture for high-speed transfer operations
US5592649A (en) RAM control method and apparatus for presetting RAM access modes
JPS6054076A (en) Picture enlarging and reducing circuit
US4829585A (en) Electronic image processing circuit
EP0143351B1 (en) Memory device with a register interchange function
KR19990008388A (en) Semiconductor memory with arithmetic function and processing apparatus using same
US5539873A (en) Picture storage apparatus and graphic engine apparatus
JPS6332390B2 (en)
JPS5952291A (en) Video ram writing controller
JPS6054075A (en) Picture enlarging and reducing circuit
JPS6037930B2 (en) information storage device
JPH0346833B2 (en)
JP2824708B2 (en) Graphic drawing device
JPS63298673A (en) Image memory element
JPH05108467A (en) Semiconductor storage device
KR950005801B1 (en) Circuit transmitting image data in graphic system
JPS6095482A (en) Rotary image processing system
JPH01142986A (en) Picture memory element
JPS59205665A (en) Picture processor
JP2641932B2 (en) Frame memory access method
JP2557630B2 (en) Image reduction device
JPS6015687A (en) Display