JPH02243060A - Magnification and reduction circuit for picture data - Google Patents

Magnification and reduction circuit for picture data

Info

Publication number
JPH02243060A
JPH02243060A JP1064569A JP6456989A JPH02243060A JP H02243060 A JPH02243060 A JP H02243060A JP 1064569 A JP1064569 A JP 1064569A JP 6456989 A JP6456989 A JP 6456989A JP H02243060 A JPH02243060 A JP H02243060A
Authority
JP
Japan
Prior art keywords
circuit
data
clock
parallel
value
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.)
Granted
Application number
JP1064569A
Other languages
Japanese (ja)
Other versions
JP2567695B2 (en
Inventor
Tadahisa Kamiyama
忠久 神山
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP1064569A priority Critical patent/JP2567695B2/en
Publication of JPH02243060A publication Critical patent/JPH02243060A/en
Application granted granted Critical
Publication of JP2567695B2 publication Critical patent/JP2567695B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To magnify and reduce a picture data at an optional magnification by inputting a value N to an circuit as a 1st value when the adder circuit outputs no carry signal and inputting a value 2P-M+N to the adder circuit when the circuit outputs the signal. CONSTITUTION:When a carry signal CY is not outputted from a P-bit adder 5, a multiplexer 10 selects a data of a register 8 and when the carry signal CY is outputted, the multiplexer 10 selects a data of a register 9 respectively and the data is latched in a latch 6. For example, when a picture data is magnified or reduced to a multiple of N/M, a numeral N is set the register 8 and a numeral (X+N) (=2P-M+N) is set to the register 9 respectively. In the case of reducing the picture data, a reference clock CLKB is outputted to a terminal S and given to a P/S circuit 1, and a clock CLKC is outputted to a terminal D and given to an S/P circuit 3. In the case of magnifying the picture data, the reference clock CLKB is outputted to the terminal D and given to the S/P circuit 3, and the clock CLKC outputted to a terminal S and given to the circuit 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファクシミリ装置あるいは文書ファイルシス
テム等において、ディジタル信号に変換された文書1図
形等の画像データを拡大・縮小するための回路に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a circuit for enlarging/reducing image data such as a figure of a document converted into a digital signal in a facsimile machine or a document file system.

〔従来の技術〕[Conventional technology]

ファクシミリ装置等においては、送信側と受信側とで処
理サイズ異なる場合には画像データの拡大・縮小を行う
必要がある。また文書ファイルシステム等の画像処理を
行う装置では画像データの拡大・縮小は頻繁に行われる
In a facsimile machine or the like, if the processing size differs between the sending side and the receiving side, it is necessary to enlarge or reduce the image data. Furthermore, in devices that perform image processing such as document file systems, image data is frequently enlarged or reduced.

このような画像データの拡大・縮小のための手法は既に
数多く開発、実用化されており、高度のデータ補間処理
を適用する手法もあれば単純にデータの間引きあるいは
同一データの重複を行うような手法等種々知られている
Many methods for enlarging/reducing image data have already been developed and put into practical use.Some methods apply advanced data interpolation processing, while others simply thin out data or duplicate the same data. Various methods are known.

ファクシミリ装置あるいは文書ファイルシステム等のよ
うに取扱いデータ量が大量であるにも拘わらず、安価で
あることを要求される場合には、高速処理及びハードウ
ェアにて比較的構成容易な後者の手法が採用される傾向
にある。
The latter method, which is relatively easy to configure with high-speed processing and hardware, is recommended when low cost is required even though a large amount of data is handled, such as with a facsimile machine or document file system. They tend to be adopted.

たとえば、特開昭60−20632号公報には、Pピン
ト加算回路から出力されるキャリー信号を利用してソー
スデータを1ビツトずつ出力する並列/直列変換回路と
、この並列/直列変換回路の出力データを1ピントずつ
取込みんでデスティネーシッンデータとする直列/並列
変換回路とを動作させるクロックを拡大・縮小倍率に応
じて可変とすることにより、最小でl/2′倍から最大
で2r倍まで画像データを拡大・縮小する回路が提案さ
れてい〔発明が解決しようとする課題〕 ところで、上述の特開昭60−20632号の発明では
、たとえば2倍に縮小する場合、加算回路の一方の2デ
ータとして2P/2=2P−’を設定する。この場合、
2r−1は整数であるが、たとえば173倍に縮小する
ような場合、2P/3は整数にはならない。従って、上
述の特開昭60−20632号の発明では1ノ3倍の縮
小は出来ない。
For example, Japanese Patent Laid-Open No. 60-20632 discloses a parallel/serial conversion circuit that outputs source data bit by bit using a carry signal output from a P-focus adder circuit, and an output of this parallel/serial conversion circuit. By making the clock that operates the serial/parallel converter circuit that captures data one pin at a time and converts it into destination data variable according to the magnification/reduction ratio, the data can be increased from a minimum of 1/2' times to a maximum of 2r times. A circuit has been proposed for enlarging/reducing image data up to [Problem to be solved by the invention] By the way, in the above-mentioned invention of JP-A-60-20632, when reducing image data by a factor of 2, for example, one of the adder circuits is 2P/2=2P-' is set as 2 data. in this case,
2r-1 is an integer, but in the case of reduction by a factor of 173, for example, 2P/3 does not become an integer. Therefore, the above-mentioned invention of JP-A-60-20632 cannot reduce the size by 1 to 3 times.

より具体的には、上述の特開昭60−20632号の発
明では、拡大に際しては2P/N倍、縮小に際してはN
/21倍(N−1〜2P−1)の場合のみ可能である。
More specifically, in the invention of JP-A No. 60-20632 mentioned above, when enlarging, the number is 2P/N, and when reducing, the number is N.
/21 times (N-1 to 2P-1) is possible.

しかし、文書ファイルシステム等においては画面サイズ
等に応じて任意の倍率で拡大・縮小を行う必要が生じる
ので、上述の特開昭60−20632号の発明では対応
することが出来ない。
However, in document file systems and the like, it is necessary to perform enlargement/reduction at an arbitrary magnification depending on the screen size, etc., so the invention of Japanese Patent Laid-Open No. 60-20632 mentioned above cannot handle this.

本発明はこのような事情に鑑みてなされたものであり、
任意の倍率で拡大・縮小が可能な画像データの拡大・縮
小回路の提供を目的とする。
The present invention was made in view of these circumstances, and
The purpose of the present invention is to provide a circuit for enlarging/reducing image data that can be enlarged/reduced at any magnification.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、並列データを入力して第1のタロツクに同期
して直列データとして出力する並列/直列変換回路と、
該並列/直列変換回路の出力データを第2のクロックの
タイミングで順次入力して並列データとして出力する直
列/並列変換回路と、第1の値と自身の出力である第2
の値とを入力し、第3のクロックに同期して前記第1の
値及び第2の値を加算するPビット加算回路と、該加算
回路が出力するキャリー信号から第4のクロックを生成
するクロック生成回路と、前記第3のクロック及び第4
のクロックを拡大・縮小に応じて前記並列/直列変換回
路及び直列/並列変換回路へ前記第1及び第2のクロッ
クとして選択的に供給するセレクタ回路とを備え、原画
像データをM/N倍またはN/M倍(阿−1〜2P、N
=1〜2ゝ−1,M>N)に拡大・縮小する画像データ
の拡大・縮小回路において、前記加算回路がキャリー信
号を出力していない場合は前記値Nを、前記加算回路が
キャリー信号を出力している場合は値2P−M+Nを前
記加算回路に第1の値として入力させる手段を備えたこ
とを特徴とする。
The present invention provides a parallel/serial conversion circuit that inputs parallel data and outputs it as serial data in synchronization with a first tarok;
a serial/parallel conversion circuit that sequentially inputs the output data of the parallel/serial conversion circuit at the timing of a second clock and outputs it as parallel data;
a P-bit adder circuit that inputs the value of and adds the first value and the second value in synchronization with a third clock, and generates a fourth clock from the carry signal output from the adder circuit. a clock generation circuit, the third clock and the fourth clock;
a selector circuit that selectively supplies the clock to the parallel/serial conversion circuit and the serial/parallel conversion circuit as the first and second clocks according to expansion/reduction, and the selector circuit is configured to multiply the original image data by M/N. Or N/M times (A-1~2P, N
=1 to 2ゝ-1, M>N), when the adder circuit does not output a carry signal, the value N is output, and the adder circuit outputs the carry signal. The present invention is characterized in that it includes means for inputting the value 2P-M+N to the adding circuit as the first value when the value 2P-M+N is being output.

(作用〕 本発明の画像データの拡大・縮小回路では、Pビット加
算回路を使用する場合、最小縮小率l/2′倍から最大
拡大率2P倍までの間の任意の倍率で画像データを拡大
・縮小することが可能である。
(Function) In the image data enlargement/reduction circuit of the present invention, when using a P-bit addition circuit, image data is enlarged at an arbitrary magnification between the minimum reduction rate 1/2' times and the maximum expansion rate 2P times.・It is possible to reduce the size.

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

以下、本発明をその実施例を示す図面に基づいて詳述す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on drawings showing embodiments thereof.

第1図は本発明に係る画像データの拡大・縮小回路の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an image data enlargement/reduction circuit according to the present invention.

図中1は並列/直列変換回路(以下P/S回路)である
。このP/S73回路、たとえば図示しない画像メモリ
等から出力されるにビット画像データが入力され、この
にビットの並列入力を後述するセレクタ11のS端子か
ら出力されるP/Sクロックの立下がりで順次1ビツト
ずつ直列データとして後述するS/P回路3へ出力する
In the figure, 1 is a parallel/serial conversion circuit (hereinafter referred to as a P/S circuit). Bit image data is input to this P/S 73 circuit, for example, output from an image memory (not shown), and bits are input in parallel at the falling edge of the P/S clock output from the S terminal of the selector 11, which will be described later. The data is sequentially output one bit at a time as serial data to the S/P circuit 3, which will be described later.

2はカウンタであり、上述のセレクタ11のS端子から
出力されるP/Sクロックを計数することにより、P/
S回路1から出力されるビット数を計数してP/S回路
1へのデータの入力を制御する。
2 is a counter, which counts the P/S clock output from the S terminal of the selector 11 mentioned above.
The number of bits output from the S circuit 1 is counted to control the input of data to the P/S circuit 1.

3は直列/並列変換回路(以下S/P回路)である、こ
のS/P回路3には上述のP/S回路1が出力する直列
データ及びセレクタ11のD端子から出力されるS/P
クロックがインバータ21により反転された上で与えら
れている。そして、S/P回路3は、P/S回路1が出
力した直列データをセレクタ11のD端子から出力され
るS/Pクロックの立上がりで順次1ビツトずつ入力し
、これらのデータを!ビットの並列データとしてたとえ
ば図示しない画像メモリ等へ出力する。
3 is a serial/parallel conversion circuit (hereinafter referred to as S/P circuit). This S/P circuit 3 receives the serial data output from the above-mentioned P/S circuit 1 and the S/P output from the D terminal of the selector 11.
The clock is inverted by an inverter 21 and then applied. Then, the S/P circuit 3 sequentially inputs the serial data output from the P/S circuit 1 one bit at a time at the rising edge of the S/P clock output from the D terminal of the selector 11, and inputs these data! It is output as bit parallel data to, for example, an image memory (not shown).

4はカウンタであり、上述のセレクタ11のD端子から
出力されるS/Pクロンクを計数することにより、S/
P回路3へP/S回路1から入力されるビット数を計数
してS/P回路3からのデータの出力を制御する。
4 is a counter, which counts the S/P clock output from the D terminal of the selector 11 mentioned above.
The number of bits input from the P/S circuit 1 to the P circuit 3 is counted to control the output of data from the S/P circuit 3.

5はPビット加算器であり、ラッチ6からのPビットの
入力データA及びラッチ7からのPピントの入力データ
Bを加算してPビットの加算結果データS及びキャリー
信号cyを出力する。
A P-bit adder 5 adds P-bit input data A from the latch 6 and P-pinto input data B from the latch 7, and outputs P-bit addition result data S and a carry signal cy.

上述のラッチ6及びラッチ7は共に基本クロックに同期
して動作し、ラッチ6はマルチプレクサ10の出力をラ
ッチし、ランチ7はPビット加算器5の出力Sをラッチ
する。
Both the latch 6 and the latch 7 described above operate in synchronization with the basic clock, with the latch 6 latching the output of the multiplexer 10 and the latch 7 latching the output S of the P-bit adder 5.

マルチプレクサ10には二つのレジスタ8.9の出力が
与えられている。Pビット加算器5からキャリー信号C
Yが出力されていない場合は、マルチプレクサ10はレ
ジスタ8のデータを、Pビット加算器5からキャリー信
号cyが出力されている場合は、マルチプレクサ10は
レジスタ9のデータをそれぞれ選択してランチ6にラン
チさせる。
Multiplexer 10 is provided with the outputs of two registers 8.9. Carry signal C from P-bit adder 5
If Y is not output, the multiplexer 10 selects the data in register 8, and if the carry signal cy is output from the P-bit adder 5, the multiplexer 10 selects the data in register 9 and sends it to launch 6. Have lunch.

両レジスタ8.9に設定される値は以下の如く決定され
る。即ち、たとえば画像データをN/M倍に拡大・縮小
する場合には、数値Nをレジスタ8に、数値X+N(−
2P−M+N)をレジスタ9にそれぞれ設定する。
The values set in both registers 8.9 are determined as follows. That is, for example, when enlarging or reducing image data by N/M times, the numerical value N is stored in the register 8, and the numerical value X+N(-
2P-M+N) are set in register 9, respectively.

11はセレクタであり、拡大・縮小のいずれかに応じて
基準クロックCLKBとPビット加算器5からのキャリ
ー信号CYを基準クロックCLKBで切出したクロック
CLKCとを、P/S回路1及びS/P回路3に振り分
ける。具体的には、画像データの縮小に際しては、基準
クロックCLKBをS端子へ出力してP/S回路1に与
えると共にクロックCLKCをD端子へ出力してS/P
回路3に与える。また逆に画像データの拡大に際しては
、基準クロックCLKBをD端子へ出力してS/P回路
3に与えると共にクロックCLKCをS端子へ出力して
P/S回路1に与える。
11 is a selector which selects the reference clock CLKB and the clock CLKC obtained by extracting the carry signal CY from the P-bit adder 5 using the reference clock CLKB according to either enlargement or reduction, to the P/S circuit 1 and the S/P. Assign to circuit 3. Specifically, when reducing image data, the reference clock CLKB is output to the S terminal and applied to the P/S circuit 1, and the clock CLKC is output to the D terminal to provide the S/P circuit 1.
feed into circuit 3. Conversely, when enlarging image data, the reference clock CLKB is outputted to the D terminal and applied to the S/P circuit 3, and the clock CLKC is outputted to the S terminal and applied to the P/S circuit 1.

次に、上述の本発明回路の動作について、まず2/3倍
に縮小する場合について説明する。
Next, the operation of the above-mentioned circuit of the present invention will be described first in the case of 2/3 times reduction.

273倍であるので、M=3.N=2である。Pビット
加算器5のビット数Pが4ビツト(P = 4)である
とすると、 X+N−2P−M+N =2P−3+ 2 である。
Since it is 273 times, M=3. N=2. If the number of bits P of the P-bit adder 5 is 4 bits (P=4), then X+N-2P-M+N=2P-3+2.

従って、レジスタ8には数値2を、レジスタ9には数値
15を設定する。
Therefore, the value 2 is set in register 8, and the value 15 is set in register 9.

第2図は基準クロックCLKBのサイクル数とそれぞれ
のサイクルにおけるPビット加算器5の入出力の関係を
示す表である。なお基準クロックCLKBの第1サイク
ルでは、Pビット加算器5の入力Aは15に、入力Bは
0にそれぞれなるように構成されている。
FIG. 2 is a table showing the relationship between the number of cycles of the reference clock CLKB and the input/output of the P-bit adder 5 in each cycle. In the first cycle of the reference clock CLKB, the input A of the P-bit adder 5 becomes 15, and the input B becomes 0.

基準クロックCLKBの第1サイクルでは、入力A−1
5.入力B=Oであるから、Pビット加算器5の出力S
(A+B)は15になる。しかしこの場合桁上げは発生
しないので、キャリー信号CYは0′である。
In the first cycle of the reference clock CLKB, the input A-1
5. Since the input B=O, the output S of the P-bit adder 5
(A+B) becomes 15. However, in this case, no carry occurs, so the carry signal CY is 0'.

第2サイクルでは、第1サイクルでキャリー信号CY=
“O”であるため、Pビット加算器5の入力Aとしてマ
ルチプレクサIOはレジスタ8を選択し、入力BはPビ
ット加算器5の出力である。従って、入力A−2.入力
B=15となるので、■)ビット加算器5の加算結果は
17となる。このため、Pビット加算器5の出力Sはl
となり、キャリー信号CYは“1″になる。
In the second cycle, the carry signal CY=
Since it is “O”, multiplexer IO selects register 8 as input A of P-bit adder 5, and input B is the output of P-bit adder 5. Therefore, input A-2. Since the input B=15, the addition result of the bit adder 5 becomes 17. Therefore, the output S of the P-bit adder 5 is l
Therefore, the carry signal CY becomes "1".

第3サイクルでは、第2サイクルでキャリー信号CY=
“1″であるため、Pビット加算器5の入力Aとしてマ
ルチプレクサ10はレジスタ9を選択し、入力BはPビ
ット加算器5の出力である。従って、入力A−15.入
力B−1となるので、Pピア)加算器5の加算結果は1
6となる。このため、Pビット加算器5の出力SはOと
なりキャリー信号CYは“l”になる。
In the third cycle, the carry signal CY=
Since it is "1", multiplexer 10 selects register 9 as input A of P-bit adder 5, and input B is the output of P-bit adder 5. Therefore, input A-15. Since the input is B-1, the addition result of adder 5 (P peer) is 1.
It becomes 6. Therefore, the output S of the P-bit adder 5 becomes O, and the carry signal CY becomes "L".

以下、同様にして第2図の表に示されている如く動作す
る。
Thereafter, operations are performed in the same manner as shown in the table of FIG.

第3図は上述の画像データを2/3倍に縮小する場合の
タイミングチャートである。
FIG. 3 is a timing chart when the above-mentioned image data is reduced to 2/3 times.

画像データの縮小に際しては、セレクタ11は基準クロ
ックCLKBをS端子から出力してP/SクロックCL
KP/SとしてP/S回路1に、クロックCLKCをD
端子から出力してS/PクロフクCLKS/Pとしてイ
ンバータ21で反転した上でS/P回路3に与えている
When reducing image data, the selector 11 outputs the reference clock CLKB from the S terminal and outputs the P/S clock CLKB.
The clock CLKC is connected to the P/S circuit 1 as KP/S.
The signal is outputted from the terminal, inverted by an inverter 21 as an S/P clock CLKS/P, and then applied to the S/P circuit 3.

第3図から明らかなように、画像データの縮小に際して
は、セレクタ11からP/S回路lへは基準クロックC
IJBと同数のP/SクロックCLIP/Sが与えれる
。従って、P/S回路1は入力された並列データの総て
をP/SクロックCLKP/Sに対応して順次S/P回
路3へ出力している。
As is clear from FIG. 3, when reducing image data, the reference clock C is sent from the selector 11 to the P/S circuit l.
The same number of P/S clocks CLIP/S as IJBs are given. Therefore, the P/S circuit 1 sequentially outputs all input parallel data to the S/P circuit 3 in response to the P/S clock CLKP/S.

一方、セレクタ11からSIP回路3へは基準クロック
CLKBの3クロツクの間に2クロンクのS/Pクロッ
クCLKS/Pが与えれる。従って、S/P回路3はP
/S回路1から順次入力される直列データの3ビツトの
内の2ピントをS/PクロックCLKS/Pに対応して
並列データに変換出力する。
On the other hand, the S/P clock CLKS/P of 2 clocks is applied from the selector 11 to the SIP circuit 3 during 3 clocks of the reference clock CLKB. Therefore, the S/P circuit 3 has P
Two pins out of three bits of serial data sequentially inputted from the /S circuit 1 are converted into parallel data and output in response to the S/P clock CLKS/P.

即ち、画像データの縮小に際しては、P/S回路lへ入
力された並列データがP/S回路1から直列データとし
て第3図に0.1,2・・・にて示されている如く出力
され、その3ビツトの内の2ビツトがS/P回路3へO
’、1’、2・・・にて示されている如く入力される。
That is, when reducing image data, the parallel data input to the P/S circuit 1 is output from the P/S circuit 1 as serial data as shown by 0.1, 2, etc. in FIG. 2 out of the 3 bits are output to the S/P circuit 3.
It is input as shown by ', 1', 2, . . .

この場合、S/P回路3へ入力されるピント0゛はP/
S回路1から出力されたビット0が、同様に1′は2が
、以下2′は4が、3°は5が・・・というようになり
、これらのデータO″、1’、2′・・・がS/P回路
3から並列データとして出力される。従って、S/P回
路3から出力される画像データはP/S回路1へ入力さ
れた画像データの273倍に縮小されることになる。
In this case, the focus 0゛ input to the S/P circuit 3 is P/
Similarly, bit 0 output from S circuit 1 becomes 2 for 1', 4 for 2', 5 for 3°, and so on, and these data O'', 1', 2' ... is output as parallel data from the S/P circuit 3. Therefore, the image data output from the S/P circuit 3 is reduced to 273 times the image data input to the P/S circuit 1. become.

第4図は逆に画像データを372倍に拡大する場合のタ
イミングチャートである。
On the other hand, FIG. 4 is a timing chart when image data is enlarged 372 times.

画像データの拡大に際しては、セレクタ11は基準クロ
ックCLKBをD端子から出力してS/PクロックCL
KS/Pとしてインバータ21で反転した上でS/P回
路3に、クロックCCLにをS端子から出力してP/S
クロフクCLKP/SとしてP/S回路1に与えている
When enlarging image data, the selector 11 outputs the reference clock CLKB from the D terminal and uses the S/P clock CL
The clock CCL is inverted by the inverter 21 as KS/P and outputted from the S terminal to the S/P circuit 3, and the clock CCL is outputted from the S terminal as P/S.
It is given to the P/S circuit 1 as a clock CLKP/S.

第4図から明らかなように、画像データの拡大に際して
は、セレクタ11からP/S回路1へは基準クロックC
LKBの3クロツクの間に2クロツクのP/Sクロック
CLKP/Sが与えれる。従って、P/S回路lは入力
される並列データの3ビツトの内の2ビツトをP/Sク
ロフクCLKP/Sに対応して1ビツトずつSIP回路
3へ出力する。
As is clear from FIG. 4, when expanding the image data, the reference clock C is sent from the selector 11 to the P/S circuit 1.
Two clocks of P/S clock CLKP/S are applied between three clocks of LKB. Therefore, the P/S circuit 1 outputs 2 bits out of 3 bits of input parallel data to the SIP circuit 3 bit by bit in correspondence with the P/S clock CLKP/S.

一方、セレクタ11からS/P回路3へは基準クロック
CLKBと同数のS/PクロックCLにS/Pがインバ
ータ22により逆転された上で与えられる。従って、S
/P回路3はP/S回路lから出力された直列データの
総てをS/PクロックCLKS/Pに対応して順次入力
し、並列データとして出力する。
On the other hand, from the selector 11 to the S/P circuit 3, the same number of S/P clocks CL as the reference clock CLKB and the S/P are inverted by an inverter 22 and then provided. Therefore, S
The /P circuit 3 sequentially inputs all of the serial data output from the P/S circuit 1 in response to the S/P clock CLKS/P, and outputs it as parallel data.

即ち、画像データの拡大に際しては、P/S回路1へ入
力された並列データはその3ビツトの内の2ビツトがP
/S回路lから直列データとして第4図に0.1,2・
・・にて示されている如く出力され、S/P回路3へは
基準クロックCLKBに同期してビyト0’。
That is, when enlarging image data, two of the three bits of the parallel data input to the P/S circuit 1 are
/S circuit l as serial data 0.1, 2.
. . , bit 0' is output to the S/P circuit 3 in synchronization with the reference clock CLKB.

l”12°・・・にて示されている如く入力される。こ
の際、S/P回路3へ入力されるビットO°はP/S回
路1から出力されたビフビO”が、同様にl゛は0が、
2゛は1が、3°は2がというようになり、これらのデ
ータがS/P回路3から並列データとして出力される。
The bit O° input to the S/P circuit 3 is inputted as shown at l"12°... At this time, the bit O° input to the S/P circuit 3 is equal to the bit O" outputted from the P/S circuit 1. l゛ is 0,
2° is 1, 3° is 2, and so on, and these data are output from the S/P circuit 3 as parallel data.

従って、S/P回路3から出力される画像データはP/
S回路1へ入力された画像データの372倍に拡大され
ることになる。
Therefore, the image data output from the S/P circuit 3 is
The image data input to the S circuit 1 will be enlarged 372 times.

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

以上に詳述した如く、本発明の画像データの拡大・縮小
回路によれば、任意の倍率で拡大・縮小が可能であり、
また高速処理が可能である。更に、加算回路のビット数
を多くすることにより処理精度を向上させることが容易
に可能である。
As detailed above, according to the image data enlargement/reduction circuit of the present invention, enlargement/reduction is possible at any magnification,
Also, high-speed processing is possible. Furthermore, processing accuracy can be easily improved by increasing the number of bits in the adder circuit.

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

第1図は本発明の画像データの拡大・縮小回路の構成を
示すブロック図、第2図はその2/3倍縮小または37
2倍拡大のサイクルの加算回路の入力データ及び出力で
の遷移表、第3図は2ノ3倍縮小の際のタイミングチャ
ート、第4図は372倍拡大の際のタイミングチャート
である。 1・・・並列/直列変換(P/S)回路  3・・・直
列/並列変換(S/P)回路  5・・・Pビット加算
器6・・・ラッチ  7・・・う7チ  8・・・レジ
スタ9・・・レジスタ  lO・・・マルチプレクサ 
 11・・・セレクタ 特 許 出願人  三洋電機株式会社 代理人 弁理士  河 野  登 夫
FIG. 1 is a block diagram showing the configuration of the image data enlargement/reduction circuit of the present invention, and FIG.
A transition table for the input data and output of the adder circuit for a cycle of 2 times enlargement, FIG. 3 is a timing chart for 2 to 3 times reduction, and FIG. 4 is a timing chart for 372 times enlargement. 1... Parallel/serial conversion (P/S) circuit 3... Serial/parallel conversion (S/P) circuit 5... P-bit adder 6... Latch 7... U7 8. ...Register 9...Register lO...Multiplexer
11...Selector patent Applicant: Sanyo Electric Co., Ltd. Agent Patent attorney: Noboru Kono

Claims (1)

【特許請求の範囲】 1、並列データを入力して第1のクロックに同期して直
列データとして出力する並列/直列変換回路と、 該並列/直列変換回路の出力データを第2 のクロックのタイミングで順次入力して並列データとし
て出力する直列/並列変換回路と、第1の値と自身の出
力である第2の値とを 入力し、第3のクロックに同期して前記第1の値及び第
2の値を加算するPビット加算回路と、 該加算回路が出力するキャリー信号から第 4のクロックを生成するクロック生成回路と、前記第3
のクロック及び第4のクロックを 拡大・縮小に応じて前記並列/直列変換回路及び直列/
並列変換回路へ前記第1及び第2のクロックとして選択
的に供給するセレクタ回路とを備え、 原画像データをM/N倍またはN/M倍(M=1〜2^
P,N=1〜2^P−1,M>N)に拡大・縮小する画
像データの拡大・縮小回路において、 前記加算回路がキャリー信号を出力してい ない場合は前記値Nを、前記加算回路がキャリー信号を
出力している場合は値2^P−M+Nを前記加算回路に
第1の値として入力させる手段を備えたことを特徴とす
る画像データの拡大・縮小回路。
[Claims] 1. A parallel/serial conversion circuit that inputs parallel data and outputs it as serial data in synchronization with a first clock; and a parallel/serial conversion circuit that outputs the output data of the parallel/serial conversion circuit at the timing of a second clock. A serial/parallel conversion circuit inputs the first value and a second value which is its own output sequentially and outputs it as parallel data, and converts the first value and the second value in synchronization with a third clock. a P-bit addition circuit that adds a second value; a clock generation circuit that generates a fourth clock from a carry signal output from the addition circuit;
and the fourth clock according to the expansion/reduction of the parallel/serial conversion circuit and the serial/
A selector circuit selectively supplies the first and second clocks to the parallel conversion circuit, and the original image data is multiplied by M/N or N/M (M=1 to 2^).
In a circuit for enlarging/reducing image data to P, N=1 to 2^P-1, M>N, if the adder circuit is not outputting a carry signal, the value N is A circuit for enlarging/reducing image data, comprising means for inputting a value 2^P-M+N to the adding circuit as a first value when the circuit outputs a carry signal.
JP1064569A 1989-03-15 1989-03-15 Image data enlargement / reduction circuit Expired - Lifetime JP2567695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1064569A JP2567695B2 (en) 1989-03-15 1989-03-15 Image data enlargement / reduction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1064569A JP2567695B2 (en) 1989-03-15 1989-03-15 Image data enlargement / reduction circuit

Publications (2)

Publication Number Publication Date
JPH02243060A true JPH02243060A (en) 1990-09-27
JP2567695B2 JP2567695B2 (en) 1996-12-25

Family

ID=13261992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1064569A Expired - Lifetime JP2567695B2 (en) 1989-03-15 1989-03-15 Image data enlargement / reduction circuit

Country Status (1)

Country Link
JP (1) JP2567695B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564594B2 (en) 2004-05-10 2009-07-21 Funai Electric Co., Ltd. Digital multifunctional imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564594B2 (en) 2004-05-10 2009-07-21 Funai Electric Co., Ltd. Digital multifunctional imaging apparatus

Also Published As

Publication number Publication date
JP2567695B2 (en) 1996-12-25

Similar Documents

Publication Publication Date Title
JP2000099193A (en) Device and method for synchronization, and interface circuit
US6532273B1 (en) Efficient polyphase decimation filter
KR930001689A (en) Electronic zooming system using image buffer
JPH02243060A (en) Magnification and reduction circuit for picture data
US5621337A (en) Iterative logic circuit
JP3499460B2 (en) Spreading code generating circuit and spreading code generating method
KR0147942B1 (en) Booths recording circuit in a multiplier
US6625628B1 (en) Method and apparatus for digital filter
JPH1125071A (en) Complex number multiplier
JPS5965376A (en) Address control circuit
JPH066810A (en) Rate converter
JP3567256B2 (en) Stepping motor drive circuit
TW202345092A (en) Super resolution device and method
JP2001177378A (en) Fir digital filter
JPH03240174A (en) Image magnifying circuit
KR100434364B1 (en) Serial adder
JPS61179671A (en) Magnifying and reducing circuit for image information
JP2685012B2 (en) Digital integrated circuit and digital filter
KR100199190B1 (en) Data acquisition logic
Alcântara et al. Synchronous to Asynchronous Conversion: A case Study: The Blowfish Algorithm Implementation
JP2000101450A (en) Cyclic redundancy check/calculation method and device thereof
JPH05327412A (en) High speed processing type digital filter
JPS6398076A (en) Picture information reducing device
JPH0837444A (en) Oversampling digital filter
JPS6234438A (en) Elastic store memory circuit