JPS6326069A - Image enlarging and reducing circuit - Google Patents
Image enlarging and reducing circuitInfo
- Publication number
- JPS6326069A JPS6326069A JP61168697A JP16869786A JPS6326069A JP S6326069 A JPS6326069 A JP S6326069A JP 61168697 A JP61168697 A JP 61168697A JP 16869786 A JP16869786 A JP 16869786A JP S6326069 A JPS6326069 A JP S6326069A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- registers
- shift register
- memory
- 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
Links
- 238000013341 scale-up Methods 0.000 claims 1
- 238000007792 addition Methods 0.000 description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 241001365914 Taira Species 0.000 description 1
- 235000010724 Wisteria floribunda Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は拡大縮小のシフト操作と画像データの転送を同
時に行えるようにした画像拡大縮小回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image enlarging/reducing circuit capable of simultaneously performing an enlarging/reducing shift operation and image data transfer.
画像拡大縮小回路として、例えば、実願昭59−134
738号(昭和59年9月5日出願)によって提案され
たものがある。この画像拡大縮小回路は拡大縮小される
画像データをソース用シフトレジスタにロードし、その
内容をソース用シフトレジスタからディスティネーショ
ン用レジスタにロードするとき、両レジスタのシフトク
ロック周波数比を拡大縮小率に応した[直にすることに
より、ディスティネーション用レジスタから拡大縮小さ
れた画像データを発生させ、その画像データを一担RA
Mに記・トσした21 RA″v1から読みだして画像
メモリに(′6納するものである。As an image enlargement/reduction circuit, for example, Utility Application No. 59-134
There is one proposed by No. 738 (filed on September 5, 1980). This image scaling circuit loads the image data to be scaled into the source shift register, and when loading the contents from the source shift register to the destination register, the shift clock frequency ratio of both registers is set to the scaling ratio. By directly changing the corresponding image data to the destination register, the enlarged/reduced image data is generated and the image data is transferred to the RA
It is read from 21 RA''v1 recorded in M and stored in the image memory ('6).
この画像拡大縮小回路によれば、例え::女′、拡犬侍
に同一のラインの画像データを重複して使用するとき、
同一内容の画像データをRAMから読み出すことにより
重複ラインのシフトレジスタによるシフト操作を省略す
ることができ、それによって処理速度の高速化を図って
いる。According to this image enlargement/reduction circuit, when using the same line of image data redundantly for the example: Woman', Enlarged Dog Samurai,
By reading image data of the same content from the RAM, it is possible to omit shift operations using shift registers for overlapping lines, thereby increasing processing speed.
しかし、前述した画像拡大縮小回路によれば、画像デー
タのイメージメモリからシフトレジスタへの転送とシフ
トレジスタにおける拡大縮小のためのシフト操作、およ
び拡大縮小された画像データのシフトレジスタにおける
シフト操作と画像データのシフトレジスタからイメージ
メモリへの転送が同時に行えないため、処理速度の高速
化に限界が生じている。However, according to the image enlargement/reduction circuit described above, the image data is transferred from the image memory to the shift register, the shift operation for enlargement/reduction in the shift register, the shift operation of the enlarged/reduced image data in the shift register, and the image Since data cannot be transferred from the shift register to the image memory at the same time, there is a limit to increasing the processing speed.
本発明は上記に鑑みてなされたものであり、前述したシ
フト操作と転送を同時に行って画像の拡大縮小の処理速
度を更に高速化するため、ソース側のイメージメモリと
シフトレジスタの間、およびディスティネーション側の
シフトレジスタとイメージメモリの間にそれぞれラッチ
レジスタを設けた画像拡大縮小回路を提供するものであ
る。The present invention has been made in view of the above, and in order to further speed up the processing speed of image scaling by performing the above-mentioned shift operation and transfer at the same time, it is possible to The present invention provides an image enlarging/reducing circuit in which a latch register is provided between a shift register on the nation side and an image memory.
以下、本発明による画像の拡大縮小回路を詳細に説明す
る。Hereinafter, the image scaling circuit according to the present invention will be explained in detail.
第1図は本発明の一実施例を示し、第3図(イ)のよう
に、MXNのワードの画像データ(例えは、1ワードを
16ビツトとする)を0〜M−1のMラインの0〜N−
1のNのアドレスに記憶するイメージメモリ1と、イメ
ージメモリ1の画像データを拡大縮小して記憶するイメ
ージメモリ2と、イメージメモリ1.2の書き込みおよ
び読み出しを制御するメモリ制御回路3と、イメージメ
モリ1の画像データをロードされてシフト操作によって
拡大縮小するソース側シフトレジスタ4と、拡大縮小さ
れた画像データをロードされるディスティネーション側
シフトレジスタ5と、拡大縮小率に応じた拡大縮小を行
わせるため、シフトレジスタ4.5のシフトクロックの
周波数比を制御する拡大縮小信号作成回路7と、画像デ
ータの転送、シフトレジスタへのロード等のシーケンス
を制御するシーケンス制御回路9と、イメージメモリ1
から読み出された画像データをストアし、シフトレジス
タ4がシフト中でないときあるいは画像データを保有し
ていないときシフトレジスタ4へロードするソース側ラ
ンチレジスタ10と、シフトレジスタ5の全てのビット
に画像データがロードされたときその画像データをラン
チするディスティネーション側ラッチレジスタ11と、
ラッチレジスタ10.11を制御するランチレジスタ制
御回路12を有する。FIG. 1 shows an embodiment of the present invention, and as shown in FIG. 3(a), image data of MXN words (for example, 1 word is 16 bits) is transferred to M lines from 0 to M-1. 0~N-
An image memory 1 that stores the image data at address N of 1, an image memory 2 that enlarges and reduces the image data of the image memory 1, and a memory control circuit 3 that controls writing and reading of the image memory 1.2. A source-side shift register 4 that is loaded with image data in the memory 1 and scales it up or down by a shift operation, and a destination-side shift register 5 that is loaded with the scaled image data and scales up or down according to the scaling ratio. In order to achieve this, an enlargement/reduction signal generation circuit 7 controls the frequency ratio of the shift clock of the shift register 4.5, a sequence control circuit 9 controls the sequence of image data transfer, loading to the shift register, etc., and an image memory 1.
A source-side launch register 10 stores the image data read from the shift register 4 and loads it into the shift register 4 when the shift register 4 is not shifting or does not hold image data; a destination side latch register 11 that launches the image data when the data is loaded;
It has a launch register control circuit 12 that controls latch registers 10 and 11.
第2図は第1図のシフトレジスタ4.5およびラッチレ
ジスタ10.11を示し、それぞれ16個のシフトレジ
スタ4゜、4.−・・・−・−・ 413.5o、51
”””−’ 5 + sおよび16個のラッチレジスタ
10゜、10.、−−−一・10.6.11゜、11.
−−−−−・11.Sより構成されていることを示す。FIG. 2 shows the shift register 4.5 and latch register 10.11 of FIG. 1, with 16 shift registers 4.5 and 4.1, respectively. -・・・-・-・413.5o, 51
"""-' 5 + s and 16 latch registers 10°, 10., ---1・10.6.11°, 11.
------・11. It shows that it is composed of S.
以上の構成において、イメージメモリ1の画像データを
1.41倍6こ拡大してイメージメモリ2に格納する場
合について説明する。まず、拡大率1.41の逆数1/
1.41 =0.71を算出し、これを加算器(図示せ
ず)で加算する。第3図(ロ)は加算回数と加算値の関
係、および加算値にキャリーがないとき同じラインの画
像データを繰り返して採用することを表わしている。メ
モリ制御回路3は加算結果に基づいてイメージメモリ1
より16個のワード、即ち、第3図(イ)の第0列の(
0,1,2,2,3,4,4,5,6,7,7,8,9
,9,10,11)のラインのワードを読み出してソー
ス側ランチレジスタ100.103、−・−−−−−−
−10,、ヘロードする。このとき、ソース側シフトレ
ジスタ4゜、41””−””’ 4 、sがシフト中で
はなく、かつ、データを保有しない場合、ソース側シフ
トレジスタ4゜、4.−・−43,ヘロードされ、拡大
縮小信号作成回路7の拡大信号に基づいてシフトされる
。次に、水平方向アドレスに+1の加算が行われて第3
図(イ)の第1列の前述したラインの16個のワードが
ソース側ラッチレジスタ10..101−・・−・10
2.ヘロードされる。このとき、ソース側シフトレジス
タ4゜、4+’−’−・・−・−41,がシフト中であ
ったり、データを保有している場合、ソース側ランチレ
ジスタ100.10+ −−−−−−−−−1(Lsの
内容はソース側シフトレジスタ4゜、4I ・・−・−
・・4,5ヘロードされずに保留される。同時に、イメ
ージメモリ1よりソース側ラッチレジスタ10゜、1(
L ”−”−−・−10+sへのロードも保留される。In the above configuration, a case will be described in which the image data in the image memory 1 is enlarged by 1.41 times 6 times and stored in the image memory 2. First, the reciprocal of the magnification rate 1.41 is 1/
1.41=0.71 is calculated and added by an adder (not shown). FIG. 3(B) shows the relationship between the number of additions and the added value, and the fact that when there is no carry in the added value, image data of the same line is repeatedly employed. The memory control circuit 3 controls the image memory 1 based on the addition result.
16 words, that is, (
0, 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9
, 9, 10, 11) and read out the words of lines 100, 103, ------- on the source side.
-10,, Herod. At this time, if the source-side shift registers 4°, 41""-""' 4, s are not in the process of shifting and do not hold data, the source-side shift registers 4°, 4. -43, and shifted based on the enlargement signal of the enlargement/reduction signal generation circuit 7. Next, +1 is added to the horizontal address and the third
The 16 words of the above-mentioned line in the first column of FIG. .. 101-...-10
2. Herod. At this time, if the source side shift register 4°, 4+'-'-...-41, is in the process of shifting or holds data, the source-side launch register 100.10+ --------- ---1 (The contents of Ls are the source side shift register 4°, 4I...
...4 and 5 are not loaded and are held on hold. At the same time, source side latch registers 10°, 1(
Loading to L "-"--.-10+s is also suspended.
この保留はソース側シフトレジスタ4゜、4 、−−−
−−−−−41.がシフト中、あるいはデータ保有の状
態から脱すると解除される。以上述べた操作を繰り返し
てソース側シフトレジスタ4゜、41・−・−−−−−
415に画像データをロードし、拡大縮小信号作成回路
7の拡大信号に基づいて拡大する。This suspension is caused by the source side shift register 4°, 4, ---
------41. It is released when the is in the middle of a shift or leaves the state of holding data. Repeating the above operations, the source side shift register 4°, 41...
Image data is loaded into 415 and enlarged based on the enlargement signal from the enlargement/reduction signal generation circuit 7.
拡大された画像データはディスティネーション側シフト
レジスタ5゜、51−・−・−−−−−5Isに格納さ
れ、その全ビットにデータが入力したときディスティネ
ーション側う・ノチレジスタ11..11゜−−−”−
’−’ 11 、sにロードされる。ディスティネーシ
ョン側ラッチレジスタ11o、 11.−−−−−11
1sにロードされた16ワードの拡大画像データはイメ
ージメモリ2へ転送されて格納され、同時にディスティ
ネーション側シフトレジスタ50%DI−−”−−’
5 Isへ次の拡大画像データが格納される。The enlarged image data is stored in the destination shift registers 5°, 51-. .. 11゜---”-
'-' 11, loaded into s. Destination side latch register 11o, 11. ------11
The 16 words of enlarged image data loaded in 1s are transferred to the image memory 2 and stored therein, and at the same time the destination side shift register 50% DI--"--'
5 The next enlarged image data is stored in Is.
このとき、ディスティネーション側ラッチレジスタ11
゜、111 ・・−・−−−−−11+ sの内容が全
てイメージメモリ2へ転送されていない場合は、ディス
ティネーション側シフトレジスタ5゜、51”’−−−
−− 5 Isの内容をディスティ皐−ンヨン側ラッチ
レジスタ11゜、111 ・−−−−−−111sへロ
ートするのは保留され、かり、シフトクロックも停止す
る。At this time, the destination side latch register 11
゜, 111 ・・−・−−−−−11+ If the contents of s have not all been transferred to the image memory 2, the destination side shift register 5゜, 51”'−−−
The loading of the contents of 5 Is to the destination side latch registers 11°, 111 and 111s is suspended, and the shift clock is also stopped.
以上述べた動作が繰り返さ着7て対象の全ワードについ
て拡大操作が終了するとイメージメモリ2に拡大画像の
内容が格納されることになる。The above-described operations are repeated 7 and when the enlargement operation for all target words is completed, the contents of the enlarged image are stored in the image memory 2.
縮小操作も同じように行うことができる。まず、縮小率
を、例えば、0.4とすると、加算器による0、4の加
算が行われる。Reduction operations can be performed in the same way. First, if the reduction rate is, for example, 0.4, an adder adds 0 and 4.
その加算値と加算回数の関係は次のようになる。The relationship between the added value and the number of additions is as follows.
上表において、キャリーがあるライン、第3図(イ)に
対応させると、ライン2、ライン4− ・−が削除され
た後、16ワードの単位でソース側ランチレジスタ10
゜、10+ ”−・・・−1otsへロードされる。以
下、拡大縮小信号作成回路より出力される縮小信号に基
づいてソース側シフトレジスタ4゜、4 、−−−−・
−41,で縮小が行われた点を除けば、拡大操作と同じ
なので説明を省略する。尚、以上の実施例では、16個
のレジスタを使用しているので、画像データの90°の
回転にも適用することができる。In the above table, if the line with carry corresponds to the line in FIG.
゜, 10+''-...-1ots.Hereinafter, based on the reduction signal output from the enlargement/reduction signal generation circuit, the source side shift register 4゜, 4, -----.
This is the same as the enlargement operation except that the reduction is performed at -41, so the explanation will be omitted. In addition, in the above embodiment, since 16 registers are used, it can also be applied to rotation of image data by 90 degrees.
以上説明した通り、本発明の画像拡大縮小回路によれば
、ソース側のイメージメモリとシフトレジスタの間、お
よびディスティネーション側のシフトレジスタとイメー
ジメモリの間にそれぞれランチレジスタを設けたため、
画像データのシフト操作と転送を同時に行って拡大縮小
の処理速度を更に高速化することができる。As explained above, according to the image scaling circuit of the present invention, a launch register is provided between the image memory and the shift register on the source side, and between the shift register and the image memory on the destination side.
By performing the image data shift operation and transfer at the same time, the enlargement/reduction processing speed can be further increased.
第1図は本発明の一実施例を示す説明図。第2図は第1
図の要部拡大図。第30(イ)、(ロ)はメモリ、およ
び拡大縮小率の加算値とキャリーの関係を示す説明図。
符号の説明
■、2−−−イメージメモリ
3−−−−−−メモリ制御回路
4.5−−−−−シフトレジスタ
10.11−一−〜−−〜ラッチレジスタ特許出願人
冨士ゼロックス株式会社
代理人 弁理士 平 1)忠 雄第3図
(イフ
ζ口)FIG. 1 is an explanatory diagram showing one embodiment of the present invention. Figure 2 is the first
Enlarged view of the main part of the figure. 30th (a) and (b) are explanatory diagrams showing the relationship between the memory, the addition value of the enlargement/reduction ratio, and the carry; FIG. Explanation of symbols■, 2---Image memory 3---Memory control circuit 4.5---Shift register 10.11-1---Latch register Patent applicant
Fuji Xerox Co., Ltd. Agent Patent Attorney Taira 1) Tadao Diagram 3 (If ζ mouth)
Claims (1)
画像の拡大縮小を行う画像拡大縮小回路において、 前記画像データを拡大縮小率に応じて拡大縮小する拡大
縮小手段と、 前記イメージメモリより出力される前記画像データを一
時的に記憶して前記拡大縮小回路へ出力する第1のレジ
スタ手段と、 前記拡大縮小手段によって拡大縮小された画像データを
一時的に記憶して所定のメモリへ出力する第2のレジス
タ手段と、 前記拡大縮小手段の拡大縮小操作と前記第1及び第2の
レジスタの入出力操作を同時に行わせる制御手段を備え
たことを特徴とする画像拡大縮小回路。[Scope of Claims] An image scaling circuit that scales up and down the image data stored in an image memory to scale up and down the image, comprising: scaling means that scales up and down the image data according to a scaling rate; a first register means for temporarily storing the image data outputted from the image memory and outputting it to the scaling circuit; An image enlargement/reduction circuit comprising: second register means for outputting to a memory; and control means for simultaneously performing enlargement/reduction operations of the enlargement/reduction means and input/output operations of the first and second registers. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61168697A JPS6326069A (en) | 1986-07-17 | 1986-07-17 | Image enlarging and reducing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61168697A JPS6326069A (en) | 1986-07-17 | 1986-07-17 | Image enlarging and reducing circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6326069A true JPS6326069A (en) | 1988-02-03 |
Family
ID=15872785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61168697A Pending JPS6326069A (en) | 1986-07-17 | 1986-07-17 | Image enlarging and reducing circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6326069A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011160337A (en) * | 2010-02-03 | 2011-08-18 | Brother Industries Ltd | Image reading apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61152162A (en) * | 1984-12-25 | 1986-07-10 | Fuji Xerox Co Ltd | Picture enlarging and reducing circuit |
-
1986
- 1986-07-17 JP JP61168697A patent/JPS6326069A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61152162A (en) * | 1984-12-25 | 1986-07-10 | Fuji Xerox Co Ltd | Picture enlarging and reducing circuit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011160337A (en) * | 2010-02-03 | 2011-08-18 | Brother Industries Ltd | Image reading apparatus |
US8559066B2 (en) | 2010-02-03 | 2013-10-15 | Brother Kogyo Kabushiki Kaisha | Image-reader selecting parameter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04107070A (en) | Encoding and decoding device | |
JPS6326069A (en) | Image enlarging and reducing circuit | |
JPS60245062A (en) | Data transfer device | |
JPS61107475A (en) | Image enlargement and reduction device | |
JPS603039A (en) | Data storing method | |
JPS6049438A (en) | Memory device | |
JPS63173459A (en) | Picture information filing device | |
JPS6054075A (en) | Picture enlarging and reducing circuit | |
JPS60132243A (en) | Template read-out circuit | |
JP3675948B2 (en) | Data conversion method and apparatus | |
JP3255429B2 (en) | Memory interface circuit | |
JPS60144874A (en) | Vector data processor | |
JPH02231632A (en) | Control storage loading memory for data processor | |
JPS63118965A (en) | Dma word transfer system | |
JPH01205324A (en) | First-in first-out storage device | |
JPH01161436A (en) | Arithmetic processor | |
JPH02136919A (en) | Fifo memory | |
JPH02105264A (en) | Memory device for processing graphic data | |
JPS61134793A (en) | Image processor | |
JPS61211742A (en) | Buffer register | |
JPH0821076B2 (en) | Image data control device | |
JPS63204323A (en) | Increment/decrement circuit | |
JPS6365484A (en) | Digital image display device | |
JPS62293588A (en) | Memory with shift bus | |
JPH05334179A (en) | Memory integrated circuit |