JPH0281566A - High-speed picture magnifying/reducing circuit - Google Patents

High-speed picture magnifying/reducing circuit

Info

Publication number
JPH0281566A
JPH0281566A JP63232408A JP23240888A JPH0281566A JP H0281566 A JPH0281566 A JP H0281566A JP 63232408 A JP63232408 A JP 63232408A JP 23240888 A JP23240888 A JP 23240888A JP H0281566 A JPH0281566 A JP H0281566A
Authority
JP
Japan
Prior art keywords
speed
circuit
control table
image
processing
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
JP63232408A
Other languages
Japanese (ja)
Other versions
JPH0757004B2 (en
Inventor
Yoshihiro Yokoyama
佳宏 横山
Yasuo Kurosu
康雄 黒須
Hidefumi Masuzaki
増崎 秀文
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63232408A priority Critical patent/JPH0757004B2/en
Publication of JPH0281566A publication Critical patent/JPH0281566A/en
Publication of JPH0757004B2 publication Critical patent/JPH0757004B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To contrive the high speed of a processing by providing plural control tables, and selecting the control table which can execute a processing at the highest speed according to the size of an area where the color of a picture does not change. CONSTITUTION:Plural types of control table ROMs 104 and 105 are provided, and they are switched according to the processing of a high-speed decoder 101. That is, the high-speed decoder 101 promptly outputs the picture, in which the color of the plural continuous bits are the same, by collecting them up to a specific data width. On the other hand, for the part where the colors variously change, concerning a signal processed bit by using a conventional control table ROM 4, the signal in the high-speed processing condition is received from a high-speed decoder 101, and it is switched to the other high-speed control table ROM 105. Thus, the high speed of the processing can be contrived.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタル2値画像の拡大縮小に係り、特に高速
復号装置の出力画像を直接に受は取り。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to enlarging and reducing digital binary images, and particularly to directly receiving and receiving output images from a high-speed decoding device.

復号装置の処理速度に合わせて高速に拡大縮小する回路
および画像の内容に応じて高速処理を選択する拡大縮小
回路に関する。
The present invention relates to a circuit that scales up and down at high speed according to the processing speed of a decoding device, and a scaling circuit that selects high-speed processing depending on the content of an image.

〔従来の技術〕[Conventional technology]

従来、ファクシミリ装置等の画像の符号化による画像デ
ータ量の圧縮とその復号による画像復元を行う装置の画
像縮小回路としては、特開昭60−98762号公報な
どがある。第2図はファクシミリ装置の縮小回路の概略
ブロック図である。
2. Description of the Related Art Conventionally, an image reduction circuit for a device such as a facsimile machine which compresses the amount of image data by encoding the image and restores the image by decoding the image is disclosed in Japanese Patent Laid-Open No. 60-98762. FIG. 2 is a schematic block diagram of a reduction circuit of a facsimile machine.

復号装置201はファクシミリ装置本体であり、ファク
シミリの国際標準規格であるM H符号。
The decoding device 201 is a main body of a facsimile machine, and uses MH code, which is an international facsimile standard.

MR符号あるいはMMR符号に変換された圧縮画像デー
タを、回線を介して他から受は取り、元の画像に復号し
てシリアルパラレル変換回路107へ1ビツトシリアル
形式で送る。縮小制御テーブルROM203は縮小のた
めの画像データ間引きパターンを記憶したものであり、
カウンタ回路202の発生する値をアドレスとしてシリ
アルパラレル変換回路107の画像取り込みクロックの
制御信号を出力する。シリアルパラレル変換回路107
は縮小制御テーブルROM203からの制御信号に従っ
た取り込みクロックを用いて復号装置201から画像デ
ータを1ビツトずつ受は取る。
Compressed image data converted into MR code or MMR code is received from others via a line, decoded into the original image, and sent to serial-parallel conversion circuit 107 in 1-bit serial format. The reduction control table ROM 203 stores image data thinning patterns for reduction.
Using the value generated by the counter circuit 202 as an address, a control signal for the image capture clock of the serial-parallel conversion circuit 107 is output. Serial parallel conversion circuit 107
receives and takes image data bit by bit from the decoding device 201 using a capture clock according to a control signal from the reduction control table ROM 203.

更に1ビツト画像データを複数ビットにもとめ、パラレ
ル形式に変換して外部へ出力する。
Furthermore, the 1-bit image data is converted into multiple bits, converted into a parallel format, and output to the outside.

第3図は第2図のブロック図の処理タイムチャートであ
る。基本処理クロックは復号装置201゜カウンタ回路
2o2.シリアルパラレル変換回路107の処理クロッ
クである。復号画像データは復号装置201の出力する
信号であり、Aから○が各々1ビツトの画像データを表
わす。ROMアドレスはカウンタ回路202の出力する
値であり、基本処理クロックに従い、0から1ずつ加算
されて行き、縮小制御テーブルROM203のアドレス
を表わす。取り込みクロックはシリアルパラレル変換回
路107が復号装置201から画像を取り込むクロック
を表わしており、基本処理クロックと同相であるが、縮
小制御テーブルROM203からの信号により間引かれ
たクロックとなる。
FIG. 3 is a processing time chart of the block diagram of FIG. The basic processing clock is the decoding device 201° counter circuit 2o2. This is a processing clock for the serial-parallel conversion circuit 107. The decoded image data is a signal output from the decoding device 201, and each of A to O represents 1-bit image data. The ROM address is a value output from the counter circuit 202, which is incremented by 1 from 0 in accordance with the basic processing clock, and represents the address of the reduction control table ROM 203. The capture clock represents a clock at which the serial-parallel conversion circuit 107 captures an image from the decoding device 201, and is in phase with the basic processing clock, but is a clock thinned out by the signal from the reduction control table ROM 203.

取り込み画像はシリアルパラレル変換回路107が復号
装置201から前記取り込みクロックにより取り込んだ
画像を表わし、AからMは前記復号画像データのAから
Mに対応する。
The captured image represents an image captured by the serial-parallel conversion circuit 107 from the decoding device 201 using the capture clock, and A to M correspond to A to M of the decoded image data.

第3図では、復号画像データAからHの8ビツトに対し
て取り込み画像がA、B、D、E、Gの5ビツトしかな
いので、5/8倍処理である。これを実現するために、
ROMアドレス2,5.7において取り込みクロックが
発生しないように制御するデータが縮小制御テーブルR
OM203に書き込まれている。これにより復号画像デ
ータC1F、Gがシリアルパラレル変換回路107に取
り込まれず、間引かれる。
In FIG. 3, since the captured image has only 5 bits, A, B, D, E, and G, compared to the 8 bits of decoded image data A to H, the processing is 5/8 times. To achieve this,
The data that controls the capture clock so that it does not occur at ROM addresses 2, 5.7 is the reduction control table R.
It is written in OM203. As a result, the decoded image data C1F and G are not taken into the serial-parallel conversion circuit 107 and are thinned out.

以上の縮小回路は復号装置の出力する画像を1ビツトず
つシリアルパラレル変換回路107が取り込むか否かに
より画像データを少なくしているため、基、本処理クロ
ック1サイクルにつき復号画像データ1ビツトを処理で
きる。
The reduction circuit described above reduces the amount of image data depending on whether or not the serial-parallel conversion circuit 107 takes in the image output from the decoding device bit by bit, so basically, one bit of decoded image data is processed per cycle of the main processing clock. can.

ところが、画像ファイル装置等への復号装置の適用範囲
拡大に伴い、復号処理の高速化が必要となってきている
。これは、ファクシミリ装置では回線速度が低く、復号
装置の高速化を図ってもシステム全体の処理速度が向上
しないのに対して、画像ファイル装置では記憶装置から
データを高速に読み出せるため、復号装置の高速化がシ
ステム全体の処理速度向上に役立つからである。
However, with the expansion of the scope of application of decoding devices to image file devices and the like, it has become necessary to speed up the decoding process. This is because facsimile devices have low line speeds, and even if you try to speed up the decoding device, the overall system processing speed will not improve, whereas image file devices can read data from the storage device at high speed, so the decoding device This is because increasing the speed of the process helps improve the processing speed of the entire system.

高速復号装置に関しては特開昭59−126368号公
報等が挙げられる。これらの装置は、ファクシミリ符号
化方式が画像の色の変化する場所すなわち変化点に対し
て符号を割当てることにより画像データを圧縮すること
に着目し、画像の色の変化のない部分を高速に処理する
ものである。
Regarding high-speed decoding devices, Japanese Patent Laid-Open No. 59-126368 and the like can be cited. These devices focus on the facsimile encoding method, which compresses image data by assigning codes to locations where the color of the image changes, that is, the points of change, and processes parts of the image where the color does not change at high speed. It is something to do.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は復号装置の高速化について配慮がされて
おらず、復号装置を高速化しても縮小回路の処理速度で
制限され、システム全体の性能向上が望めないという問
題があった。
The above-mentioned conventional technology does not give consideration to speeding up the decoding device, and even if the speed of the decoding device is increased, it is limited by the processing speed of the reduction circuit, and there is a problem in that the performance of the entire system cannot be improved.

本発明の目的は、復号装置の高速化に対応して縮小回路
も高速化することにある。
An object of the present invention is to increase the speed of the reduction circuit in response to the increase in speed of the decoding device.

本発明の他の目的は、復号装置の高速化と同じ手段を縮
小回路に付加することにより、縮小回路単体で使用する
ときも高速化することにある。
Another object of the present invention is to increase the speed even when the reduction circuit is used alone by adding the same means to the reduction circuit as for speeding up the decoding device.

本発明筒3の目的は、縮小回路の高速化と同じ手段によ
り、縮ノJX処理のみならず拡大処理も高速化すること
にある。
The purpose of the tube 3 of the present invention is to speed up not only the reduction JX processing but also the enlargement processing by the same means used to speed up the reduction circuit.

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

上記目的は、複数種類の制御テーブルを備え、高速復号
装置の処理に対応して切替えることにより達成される。
The above object is achieved by providing a plurality of types of control tables and switching them according to the processing of the high-speed decoding device.

上記化の目的は、複数ビット変化点検出回路と複数種類
の制御テーブルを儒え、複数ビット変化点検出回路の検
出信号により複数種類の制御テーブルを切替えることに
より達成される。
The above object is achieved by providing a multi-bit change point detection circuit and a plurality of types of control tables, and switching between the plurality of types of control tables based on the detection signal of the multi-bit change point detection circuit.

上記第3の目的は、拡大用の複数種類の制御テーブルを
備え、高速復号装置の処理あるいは複数ビット変化点検
出回路の検出信号により拡大用の複数種類の制御テーブ
ルを切替えることにより達成される。
The third object is achieved by providing a plurality of types of control tables for expansion, and switching between the plurality of types of control tables for expansion using the processing of a high-speed decoding device or the detection signal of a multi-bit change point detection circuit.

〔作用〕[Effect]

画像の拡大縮小処理は画像の1ビツトずつに対し、間引
いて縮小するか、複写して拡大するために基本的には画
像を複数ビットまとめて処理することができない。しか
し、連続する複数ビットの色が同じである画像に対して
は1ビツトずつに対して処理する必要がなく、同じ色で
画像のビット数だけを制御すればよい。
Image enlargement/reduction processing involves thinning out and reducing each bit of the image, or copying and enlarging it, so basically it is not possible to process a plurality of bits of the image at once. However, for an image in which consecutive bits have the same color, it is not necessary to process each bit one by one, and it is only necessary to control the number of bits of the image for the same color.

高速復号装置は連続する複数ビットの色が同じである画
像を特定のデータ幅だけまとめて高速に出力する。これ
に対して色の変化の多い部分は従来の制御テーブルを用
いて1ビツトずつ処理するものを、高速復号装置から高
速処理状態の信号を受は取り、別の高速用制御テーブル
に切替える。
A high-speed decoding device outputs images in which multiple consecutive bits have the same color together by a specific data width at high speed. On the other hand, for portions with many color changes, the conventional control table is used to process bit by bit, but the high-speed processing state signal is received from the high-speed decoding device and the process is switched to another high-speed control table.

縮小の場合、従来の制御テーブルでは取り込みクロック
を間引き、復号画像データを一部捨てることにより画像
のビット数を減らしたが、高速用制御テーブルでは取り
込みクロックを間引かず、取り込みクロックの個数を高
速用制御テーブルで制御する。これはいずれのビットの
色も同じであることから、従来は捨てていた復号画像デ
ータを取り込み、出力に必要なビット数の画像を可能な
かぎり早くそろえるためである。また、高速復号装置は
同色の画像を特定のデータ幅だけまとめて1クロツクで
出力してしまうので、取り込みクロックの個数を制御し
て縮小画像を作成する間は高速用制御テーブルが高速復
号装置へ信号を送り。
In the case of reduction, conventional control tables reduce the number of bits of the image by thinning out the capture clocks and discarding some decoded image data, but the high-speed control table does not thin out the capture clocks and reduces the number of capture clocks at high speeds. control table. This is because all bits have the same color, so the decoded image data that was conventionally discarded is taken in, and an image with the required number of bits for output is prepared as quickly as possible. In addition, since a high-speed decoding device outputs images of the same color at a time by a specific data width in one clock, the high-speed control table is sent to the high-speed decoding device while controlling the number of capture clocks and creating a reduced image. Send a signal.

処理を停止させる。以上の制御によりnとmを自然数と
するとn / m倍縮小の場合には高速処理部分を従来
mクロックに対してロクロックで処理でき、n / m
倍高連化できる。
Stop processing. With the above control, if n and m are natural numbers, in the case of reduction by n / m times, the high-speed processing part can be processed by the clock compared to the conventional m clock, and n / m
Can be multiplied.

拡大の場合、高速復号装置が同色の画像を特定のデータ
幅だけまとめて出力するのに対して、高速用制御テーブ
ルはまとまった復号画像データをテーブルで決められた
回数だけ通過させ、端数の画像を1ビツトずつテーブル
で決められた数だけ出力する。従って、n / m倍拡
大の場合には、高速復号装置がまとめて出力するデータ
幅をk。
In the case of enlarging, a high-speed decoding device outputs images of the same color together for a specific data width, whereas a high-speed control table passes a group of decoded image data a number of times determined by the table and outputs fractional images. The number determined in the table is output one bit at a time. Therefore, in the case of n/m-fold expansion, the data width that is collectively output by the high-speed decoding device is k.

nをkで割った商をi、余りを0とするとn=kXi+
Rとなり高速処理部分をi+12クロックで処理できる
If the quotient of n divided by k is i and the remainder is 0, then n=kXi+
R, and the high-speed processing part can be processed in i+12 clocks.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図は本発明に係る高速画像拡大縮小回路のブロック
図である。高速復号装置101は通信回線あるいは記憶
装置から符号化された圧縮画像データを受は取り、元の
画像データに復号し、画像データを8ビツトパラレル形
式でパラレルシリアル変換回路102とセレクタ回路1
08へ送る。
FIG. 1 is a block diagram of a high-speed image enlargement/reduction circuit according to the present invention. A high-speed decoding device 101 receives encoded compressed image data from a communication line or storage device, decodes it into original image data, and converts the image data into an 8-bit parallel format into a parallel-to-serial conversion circuit 102 and a selector circuit 1.
Send to 08.

また、連続する8ビツト以上が同じ色の画像を出力する
場合は、セレクタ回路106へ信号101Bを送り、高
速用制御テーブルROM105を選択させる。逆に、セ
レクタ回路106からの信号106Cにより復号処理を
一時的に停止する。
When outputting an image in which consecutive 8 or more bits have the same color, a signal 101B is sent to the selector circuit 106 to select the high speed control table ROM 105. Conversely, the signal 106C from the selector circuit 106 temporarily stops the decoding process.

パラレルシリアル変換回路102は高速復号装置101
から受は取る画像データ101Aを8ビツトパラレル形
式から1ビツトシリアル形式へ変換する回路である。低
速処理時に1ビツトずつ処理するために使用する。
The parallel-serial conversion circuit 102 is a high-speed decoding device 101
The receiver is a circuit that converts the received image data 101A from 8-bit parallel format to 1-bit serial format. Used to process one bit at a time during low-speed processing.

シリアルパラレル変換回路107はパラレルシリアル変
換回路102から受は取る1ビツトシリアル形式の画像
データ102Aを8ビツトパラレル形式に変換して、セ
レクタ回路108へ送る回路である。パラレルシリアル
変換回路102から画像を取り込むタイミングはセレク
タ回路106からの信号106Aで決定する。
The serial-parallel conversion circuit 107 is a circuit that converts the 1-bit serial format image data 102A received from the parallel-serial conversion circuit 102 into 8-bit parallel format and sends it to the selector circuit 108. The timing of capturing an image from the parallel-serial conversion circuit 102 is determined by a signal 106A from the selector circuit 106.

セレクタ回路108は高速復号装置101とシリアルパ
ラレル変換回路107からの8ビツトパラレル形式の画
像データ107Aをセレクタ回路106からの信号10
6Bにより選択する。拡大処理時に高速復号装置101
の出力を選択することにより、1ビット単位の処理を省
略できる。
The selector circuit 108 converts the 8-bit parallel format image data 107A from the high-speed decoding device 101 and the serial-to-parallel conversion circuit 107 into the signal 10 from the selector circuit 106.
Select by 6B. High-speed decoding device 101 during enlargement processing
By selecting the output of , processing in 1-bit units can be omitted.

ラッチ回路103は低速用制御テーブルROM104と
高速用制御テーブルROMIO3へアドレスを出力する
。2つのROMのアドレスは同じである。次に出力すべ
きアドレスはセレクタ回路106からデータ106Dと
して入力する。
The latch circuit 103 outputs addresses to the low-speed control table ROM104 and the high-speed control table ROMIO3. The addresses of the two ROMs are the same. The next address to be output is input from the selector circuit 106 as data 106D.

低速用制御テーブルROM 104と高速用制御テーブ
ルROM105は各々が次のアドレス106D、シリア
ルパラレル変換回1f1107の縮小用取り込みクロッ
ク制御情報106A、高速復号装置101の拡大用復号
停止情報106C,セレクタ回路108の拡大用選択情
報106Bを記憶している。ラッチ回路103の値をア
ドレスとして入力し、セレクタ回路106へ上記4種類
の情報を出力する。
The low-speed control table ROM 104 and the high-speed control table ROM 105 each contain the following address 106D, reduction capture clock control information 106A of the serial-parallel conversion circuit 1f 1107, expansion decoding stop information 106C of the high-speed decoding device 101, and selector circuit 108. Enlargement selection information 106B is stored. The value of the latch circuit 103 is input as an address, and the above four types of information are output to the selector circuit 106.

セレクタ回路106は高速復号装置101からの高速復
号信号101Bにより低速用制御テーブルROM104
と高速用制御テーブルROM105の信号を選択して、
高速復号装置]01゜ラッチ回路1o3.シリアルパラ
レル変換回路107およびセレクタ回路108へ信号を
送る。
The selector circuit 106 uses the high-speed decoding signal 101B from the high-speed decoding device 101 to select the low-speed control table ROM 104.
and the signal of the high-speed control table ROM 105,
High-speed decoding device] 01° latch circuit 1o3. A signal is sent to serial-parallel conversion circuit 107 and selector circuit 108.

第4図は5/8倍縮小のタイムチャートであり、第5図
は低速用制御テーブルROM104と高速用制御テーブ
ルROM 106の内容である。
FIG. 4 is a time chart for 5/8 times reduction, and FIG. 5 is the contents of the low-speed control table ROM 104 and the high-speed control table ROM 106.

復号画像データ8ビツトが同色になると、高速復号装置
101からセレクタ回路106へ高速復号信号101B
が出力され、セレクタ回路106は高速用制御テーブル
ROM105を選択する。
When the 8 bits of decoded image data become the same color, a high speed decode signal 101B is sent from the high speed decoding device 101 to the selector circuit 106.
is output, and the selector circuit 106 selects the high speed control table ROM 105.

また、復号装置101はパラレルシリアル変換回路10
2へ復号画像データAからHを出力する。
Further, the decoding device 101 includes a parallel-to-serial conversion circuit 10
The decoded image data A to H are output to 2.

第4図と第5図では省略しであるが、縮小処理であるの
でセレクタ回路108は常にシリアルパラレル変換回路
107を選択する。
Although omitted in FIGS. 4 and 5, since this is a reduction process, the selector circuit 108 always selects the serial-parallel conversion circuit 107.

高速用制御テーブルROM105を選択すると、第5図
の高速用の内容に従い、アドレスをo、1゜2.3.7
と順次に変える。このときにクロック発生の内容がすべ
て“1″であるため、第4図に示すように取り込みクロ
ックは間引かれず、シリアルパラレル変換回路107は
パラレルシリアル変換回路102の出力する同色の画像
を5ビット取り込む。このようにして、高速復号装置1
01の8ビツトを5ビツトに変換し5/8倍縮小を実現
する。第4図では取り込み画像としてA、B。
When the high-speed control table ROM 105 is selected, the addresses are set to o, 1°2.3.7 according to the high-speed data shown in FIG.
and sequentially. At this time, since the contents of the clock generation are all "1", the captured clocks are not thinned out as shown in FIG. take in. In this way, the high-speed decoding device 1
Converts 8 bits of 01 to 5 bits to achieve 5/8 times reduction. In Figure 4, A and B are captured images.

D、E、Gと書いたが、AからHは同色であり、どのビ
ットを取り込んだかは問題とならない。
Although D, E, and G are written, A to H have the same color, so it does not matter which bit is captured.

復号画像データエ以降は画像の色に変化のある場合であ
り、高速復号装置101からの高速復号信号がなくなり
、セレクタ回路106は低速用制御テーブルROM10
4を選択する。これにより第5図の低速用の内容に従い
、アドレスを8から順次に1ずつ加えた値とする。また
、アドレス10と13ではクロック発生が“O”のため
に第4図では取り込みクロックが間引かれて復号画像デ
ータにとNを取り込まない。
After the decoded image data, there is a change in the color of the image, and the high-speed decoding signal from the high-speed decoding device 101 disappears, and the selector circuit 106 outputs the low-speed control table ROM 10.
Select 4. As a result, in accordance with the contents for low speed shown in FIG. 5, the address is set to a value in which 1 is added sequentially from 8. Furthermore, since the clock generation is "O" at addresses 10 and 13, the capture clocks are thinned out in FIG. 4, so that "N" and "N" are not captured in the decoded image data.

以上の実施例によれば、5/8倍縮小において第3図で
は基本処理クロックの上の数字が示すようにAからMま
での13ビツトを処理するために13クロツクを必要と
するのに対し、第4図では復号処理クロックの上の数字
が示すように10クロンクで高速に処理できる効果があ
る。
According to the above embodiment, in 5/8 times reduction, 13 clocks are required to process 13 bits from A to M, as shown by the number above the basic processing clock in FIG. In FIG. 4, as shown by the number above the decoding processing clock, there is an effect that processing can be performed at high speed with 10 clocks.

次に、10/8倍拡大の実施例を第6図と第7図を用い
て説明する。
Next, an example of 10/8 times enlargement will be explained using FIGS. 6 and 7.

復号画像データ8ビツトが同色になると、高速復号装置
101からセレクタ回路106へ高速復号信号が出力さ
れ、セレクタ回路106は高速用制御テーブルROMI
○5を選択する。また、復号装置101はパラレルシリ
アル変換回路102とセレクタ回路108へ復号画像デ
ータAからHを出力する。
When the 8 bits of decoded image data become the same color, a high-speed decoding signal is output from the high-speed decoding device 101 to the selector circuit 106, and the selector circuit 106 outputs a high-speed decoding signal to the high-speed control table ROMI.
○Select 5. Further, the decoding device 101 outputs decoded image data A to H to the parallel-serial conversion circuit 102 and the selector circuit 108.

高速用制御テーブルROM 105を選択すると、第7
図の高速用の内容に従い、アドレスを0,1゜9と順次
に変える。第7図では省略しであるが、拡大ではクロッ
ク発生かす入て“1”であり、アドレス0において8ビ
ツト出力が“1”のためにセレクタ回路108は高速復
号装置101の復号画像データを選択し、1クロツクで
8ビツトの画像を出力する。さらに、アドレス1と9で
は8ビツト出力が“0”のためセレクタ回路108はシ
リアルパラレル変換回路107を選択し、復号画像デー
タAからHと同色の画像を2ビツトだけシリアルパラレ
ル変換回路107で取り込み、この後に8ビツトそろっ
た時点でセレクタ回路108を介して出力する。第6図
では取り込み画像としてAからHと書いであるが、実際
には高速復号装!101からセレクタ回路108へ直接
に送られるため、シリアルパラレル変換回路107では
取り込まない。単に出力のタイミングを書いただけであ
る。このようにして、高速復号装置101の8ビツトを
10ビツトに変換することにより1078倍拡大を実現
する。
When high-speed control table ROM 105 is selected, the seventh
Change the address sequentially to 0, 1°9 according to the content for high speed in the figure. Although it is omitted in FIG. 7, in the enlargement, the clock generation input is "1" and the 8-bit output is "1" at address 0, so the selector circuit 108 selects the decoded image data of the high-speed decoding device 101. Then, an 8-bit image is output in one clock. Furthermore, since the 8-bit output is "0" at addresses 1 and 9, the selector circuit 108 selects the serial-parallel conversion circuit 107, and the serial-parallel conversion circuit 107 captures only 2 bits of the image having the same color as the decoded image data A to H. , after that, when 8 bits are complete, the data is outputted via the selector circuit 108. In Figure 6, the captured images are labeled A to H, but they are actually high-speed decoders! 101 directly to the selector circuit 108, the serial-to-parallel conversion circuit 107 does not take in the signal. I simply wrote the output timing. In this way, by converting the 8 bits of the high-speed decoding device 101 into 10 bits, an expansion of 1078 times is achieved.

復号画像データI以降は画像の色に変化のある場合であ
り、セレクタ回路106は低速用制御テーブルROM1
04を選択する。これにより第7図の低速用の内容に従
い、アドレスはOから順次に1ずつ加えた値となる。ア
ドレスOと5では復号停止が“1″のため、第6図では
復号処理クロックが停止して復号画像データの■とMと
Qが各々2ビツト発生したのと同じ効果を持ち、拡大さ
れる。
After the decoded image data I, there is a change in the color of the image, and the selector circuit 106 uses the low speed control table ROM1.
Select 04. As a result, in accordance with the content for low speed in FIG. 7, the address becomes a value that is sequentially added one by one starting from O. At addresses O and 5, the decoding stop is "1", so in Figure 6, the decoding processing clock is stopped and the decoded image data ■, M, and Q have the same effect as 2 bits each, and are enlarged. .

以上の実施例によれば8ビツトを1クロツクで1回処理
しており、すべてを低速用制御テーブルROM104で
処理した場合と比較すると7クロツク高速に処理できる
効果がある。
According to the above embodiment, 8 bits are processed once per clock, and compared to the case where all the data is processed by the low-speed control table ROM 104, there is an effect that processing can be performed 7 clocks faster.

次に、高速復号装置101に接続されず、拡大縮小回路
単体の実施例を第8図により以下に説明する。
Next, an embodiment in which the enlargement/reduction circuit is used as a single unit without being connected to the high-speed decoding device 101 will be described below with reference to FIG.

第8図は拡大縮小回路単体のブロック図である。FIG. 8 is a block diagram of a single enlargement/reduction circuit.

第1図との差は高速復号装置101がなく、入力バッフ
ァ回路801.変化点検出回路802および入力要求回
路803が追加されている。
The difference from FIG. 1 is that there is no high-speed decoding device 101, and there is no input buffer circuit 801. A change point detection circuit 802 and an input request circuit 803 are added.

入カバソファ回路801は外部から入力する画像を一時
的に蓄え、タイミングを整えるとともに、8ビツトパラ
レル形式で変化点検出回路802゜パラレルシリアル変
換回路1o2.セレクタ回路108へ画像を送る。変化
点検出回路802は入力バッファ801の出力する8ビ
ツトの画像中の色の変化を調べる回路であり、高速復号
装置101の高速復号信号と同じ信号をセレクタ回路1
06へ出力する。入力要求回路803は外部に対して画
像データを要求する回路であり、要求された画像データ
は入力バッファ回路801へ入力される。セレクタ回路
106から復号停止信号を受は取り、復号停止の場合は
外部に画像を要求しない。また、1ビット単位の処理で
は、パラレルシリアル変換回路102が8ビツトを変換
し終えると外部に画像を要求する。
The input cover sofa circuit 801 temporarily stores images input from the outside, adjusts the timing, and converts them into a change point detection circuit 802 and a parallel-to-serial conversion circuit 1o2 in 8-bit parallel format. The image is sent to the selector circuit 108. The change point detection circuit 802 is a circuit that examines color changes in the 8-bit image output from the input buffer 801, and sends the same signal as the high-speed decoding signal of the high-speed decoding device 101 to the selector circuit 1.
Output to 06. The input request circuit 803 is a circuit that requests image data from the outside, and the requested image data is input to the input buffer circuit 801. A decoding stop signal is received from the selector circuit 106, and when decoding is stopped, no image is requested from the outside. In addition, in 1-bit unit processing, when the parallel-serial conversion circuit 102 finishes converting 8 bits, it requests an image from the outside.

以上の説明で明らかなように第8図のブロック図は第1
図のブロック図と同じ拡大縮小処理を実現でき、同じ効
果が得られる。
As is clear from the above explanation, the block diagram in FIG.
The same scaling process as in the block diagram in the figure can be realized and the same effect can be obtained.

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

本発明によれば、画像の拡大縮小処理において複数の制
御テーブルを選択することにより、無駄な処理時間を省
くことができるので、高速化の効果がある。
According to the present invention, by selecting a plurality of control tables in image enlargement/reduction processing, wasteful processing time can be omitted, resulting in an effect of speeding up the processing.

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

第1図は本発明の一実施例の高速復号装置付き拡大縮小
回路のブロック図、第2図は従来の復号装置付き縮小回
路のブロック図、第3図は従来の縮小回路の処理タイム
チャート、第4図は第1図のブロック図の縮小処理時の
タイムチャート、第5図は第4図の処理を実現する制御
テーブルの内容を示す図、第6図は第1図のブロック図
の拡大処理時のタイムチャート、第7図は第6図の処理
を実現する制御テーブルの内容を示す図、第8図は本発
明の一実施例の拡大縮小回路単体のブロック図である。 102・・・パラレルシリアル変換回路。 103・・・ラッチ回路。 104・・・低速用制御テーブルROM。 105・・・高速用制御テーブルROM。 106・・・セレクタ回路。 107・・・シリアルパラレル変換回路。 108・・・セレクタ回路。 晃2国 拓 凹 第7目
FIG. 1 is a block diagram of a scaling circuit with a high-speed decoding device according to an embodiment of the present invention, FIG. 2 is a block diagram of a conventional scaling circuit with a decoding device, and FIG. 3 is a processing time chart of a conventional scaling circuit. Figure 4 is a time chart during the reduction processing of the block diagram in Figure 1, Figure 5 is a diagram showing the contents of the control table that implements the processing in Figure 4, and Figure 6 is an enlarged version of the block diagram in Figure 1. FIG. 7 is a diagram showing the contents of a control table for realizing the processing of FIG. 6, and FIG. 8 is a block diagram of a single enlargement/reduction circuit according to an embodiment of the present invention. 102...Parallel-serial conversion circuit. 103...Latch circuit. 104...Low speed control table ROM. 105...High speed control table ROM. 106...Selector circuit. 107...Serial-parallel conversion circuit. 108...Selector circuit. Ko 2 country Takuko 7th item

Claims (1)

【特許請求の範囲】 1、制御テーブルと、該制御テーブルの信号に従い画像
を間引き縮小する回路あるいは画像を複写し拡大する回
路あるいは該縮小と拡大の両方の回路より成る画像処理
回路において、複数の制御テーブルを設け、画像の色に
変化のない領域の大きさに対応して、最も高速に処理で
きる制御テーブルを選択することを特徴とする高速画像
拡大縮小回路。 2、制御テーブルと、該制御テーブルの信号に従い画像
を間引き縮小する回路あるいは画像を複写し拡大する回
路あるいは該縮小と拡大の両方の回路より成る画像処理
回路において、1つの制御テーブルを設け、画像の色に
変化のない領域の大きさに対応して、制御テーブルの内
容を最も高速に処理できるものに変更することを特徴と
する高速画像拡大縮小回路。 3、複数の制御テーブルの内容を1つの制御テーブルと
してまとめて記憶し、該1つの制御テーブルのアドレス
を画像の色に変化のない領域の大きさに対応して、変更
することを特徴とする請求項1記載の高速画像拡大縮小
回路。 4、画像復号装置を設け、画像復号装置からの変化点情
報により、最も高速に処理できる制御テーブルを選択す
ることを特徴とする請求項1記載の高速画像拡大縮小回
路。
[Claims] 1. In an image processing circuit comprising a control table and a circuit for thinning out and reducing an image according to signals from the control table, a circuit for copying and enlarging an image, or a circuit for both reduction and enlargement, a plurality of A high-speed image enlarging/reducing circuit characterized by providing a control table and selecting a control table that can be processed at the highest speed in accordance with the size of an area in which the color of an image does not change. 2. In an image processing circuit consisting of a control table and a circuit for thinning and reducing an image according to a signal from the control table, a circuit for copying and enlarging an image, or a circuit for both reduction and enlargement, one control table is provided, A high-speed image enlarging/reducing circuit characterized in that the contents of a control table are changed to those that can be processed at the highest speed in accordance with the size of an area where there is no change in color. 3. The contents of the plurality of control tables are stored together as one control table, and the address of the one control table is changed in accordance with the size of the area where the color of the image does not change. A high-speed image scaling circuit according to claim 1. 4. The high-speed image scaling circuit according to claim 1, further comprising an image decoding device and selecting a control table that can be processed at the highest speed based on change point information from the image decoding device.
JP63232408A 1988-09-19 1988-09-19 Image reduction circuit and image enlargement circuit Expired - Lifetime JPH0757004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63232408A JPH0757004B2 (en) 1988-09-19 1988-09-19 Image reduction circuit and image enlargement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63232408A JPH0757004B2 (en) 1988-09-19 1988-09-19 Image reduction circuit and image enlargement circuit

Publications (2)

Publication Number Publication Date
JPH0281566A true JPH0281566A (en) 1990-03-22
JPH0757004B2 JPH0757004B2 (en) 1995-06-14

Family

ID=16938779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63232408A Expired - Lifetime JPH0757004B2 (en) 1988-09-19 1988-09-19 Image reduction circuit and image enlargement circuit

Country Status (1)

Country Link
JP (1) JPH0757004B2 (en)

Also Published As

Publication number Publication date
JPH0757004B2 (en) 1995-06-14

Similar Documents

Publication Publication Date Title
JP3231855B2 (en) Data format conversion apparatus and method
JPH06274612A (en) Image processor
JPH0750593A (en) Decoding method for serial data and encoder
JPH1155530A (en) Image reader and image output device
JPH0281566A (en) High-speed picture magnifying/reducing circuit
JP3417684B2 (en) Image processing device
JPH0779415B2 (en) Decompression method of compressed data
JPS62195979A (en) Facsimile code converter
JPH10117288A (en) Image-processing unit
JP2002297442A (en) Graphic pattern processing system
JPH0844875A (en) Encoding processor
JP2001102937A (en) Method and device for run-length encoding
JP3264559B2 (en) Image coding method and apparatus
JP3187696B2 (en) Image coding device
JP2744229B2 (en) Image processing device
JPH09116764A (en) Picture processor
JPH11168609A (en) Scanner data processing system and record medium having scanner data processing program recorded therein
JP3205088B2 (en) Image processing device
JPH10304205A (en) Device for processing picture and method therefor
JPH04363962A (en) One-dimensional picture processing unit
JPH0767137A (en) Image processor
JP2001298622A (en) Image processor
JPH11284864A (en) Image decoder
JPH03175875A (en) Code data conversion device
JPH1065924A (en) Image processing unit