JPS63245568A - Picture converter - Google Patents

Picture converter

Info

Publication number
JPS63245568A
JPS63245568A JP7867487A JP7867487A JPS63245568A JP S63245568 A JPS63245568 A JP S63245568A JP 7867487 A JP7867487 A JP 7867487A JP 7867487 A JP7867487 A JP 7867487A JP S63245568 A JPS63245568 A JP S63245568A
Authority
JP
Japan
Prior art keywords
picture
image
arithmetic
section
converted
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
JP7867487A
Other languages
Japanese (ja)
Inventor
Akira Saito
明 斉藤
Tadanobu 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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7867487A priority Critical patent/JPS63245568A/en
Publication of JPS63245568A publication Critical patent/JPS63245568A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily change a design for the high speed of a processing by applying an arithmetic processing to a picture element selected from an original picture element and defining the arithmetic result to be the picture element of a converted picture. CONSTITUTION:Document information obtained by scanning an original by a picture reading part 100 is converted to a binary picture consisting of (m)X(n) picture elements. This binary picture is written in a picture memory 200 under the control of a writing circuit 201 and read from the memory 200 under the control of a reading circuit 202. The binary picture of this memory 200 is defined to be an original picture and a picture converter 300 forms an enlarged/ reduced converted picture. Then, the converted picture is written in an output buffer 400 under the control of a writing circuit 401, read under the control of a reading circuit 402 and displayed on a display part 500, for instance, a CRT display device.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、画像変換装置にかかり、特に原画像から選
び出されたいくつかの画素に演算処理を施し、その演算
結果を変換画像の画素とすることで原画像を目的とする
画像に変換する画像変換装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention relates to an image conversion device, which performs arithmetic processing on some pixels selected from an original image, and calculates the result of the arithmetic operation. The present invention relates to an image conversion device that converts an original image into a target image by using pixels of the converted image.

(従来の技術) 従来、たとえば画像拡大縮小回路などの画像変換装置で
は、変換後の画素の位置とその周辺の画素の情報とから
、ある演算アルゴリズムにしたがって変換後の画素値を
決定し、目的とする画像(変換画像)への変換を行うよ
うになっている。
(Prior Art) Conventionally, image conversion devices such as image scaling circuits determine the pixel value after conversion according to a certain calculation algorithm from the position of the pixel after conversion and information on surrounding pixels, and The image is converted into an image (converted image).

しかし、この方式をハードウェアで実現した場合、演算
処理がかなり複雑となり、処理時間を長く必要とする。
However, if this method is implemented using hardware, the calculation processing becomes quite complex and requires a long processing time.

そこで、演算部においていわゆるバイブライン処理を行
うことがある。
Therefore, so-called vibe line processing may be performed in the arithmetic unit.

第9図にレジスタを3段持つバイブライン処理の一例を
示す。このバイブライン処理では、複数の演算部1,3
,5.7の各演算部間を、必要なデータ線数を持つレジ
スタ2,4.6で連結することによって、演算アルゴリ
ズムを複数段に分割して実現するようになっている。こ
の場合、各演鼻部1,3,5.7のうちで最も動作時間
の遅い演算部と同じ処理速度で演算バイブライン部全体
が動作可能となり、演算処理の高速化がなされる。
FIG. 9 shows an example of a vibe line process having three stages of registers. In this vibe line processing, a plurality of calculation units 1, 3
, 5.7 are connected by registers 2, 4.6 having the required number of data lines, thereby realizing the arithmetic algorithm by dividing it into multiple stages. In this case, the entire arithmetic vibration line section can operate at the same processing speed as the arithmetic section having the slowest operation time among the nasal performance sections 1, 3, and 5.7, and the arithmetic processing speed is increased.

しかしながら、上記の方法では、演算アルゴリズムの見
直しによる演算パイプライン部の段数の変更や、各演算
部を構成する素子の置換えによって処理の高速化を実現
しようとした場合、各演算部間の独立性が低いため、回
路の構成やその制御方法などを大幅に設計変更しなけれ
ばならないものであった。
However, with the above method, when trying to speed up processing by changing the number of stages in the calculation pipeline section by reviewing the calculation algorithm or replacing the elements that make up each calculation section, the independence between each calculation section Because of the low level of power, it was necessary to make major design changes to the circuit configuration and its control method.

(発明が解決しようとする問題点) この発明は、パイプライン処理を行う各演算部の独立性
が低いため、演算アルゴリズムの見直しなどで処理の高
速化を実現しようとした場合、演算パイプライン部の段
数や動作クロック信号の大規模な修正が必要であったと
いう欠点を除去し、演算アルゴリズムの見直しや素子の
変更などに容易に対応することができ、処理の高速化の
ための設計変更が容易に行える汎用性の高い画像変換装
置を提供することを目的とする。
(Problems to be Solved by the Invention) In this invention, since the independence of each arithmetic unit that performs pipeline processing is low, when trying to speed up processing by reviewing the arithmetic algorithm, etc., the arithmetic pipeline unit This eliminates the disadvantages of requiring large-scale modifications to the number of stages and operating clock signals, and makes it easier to review calculation algorithms and change elements, making it possible to make design changes to speed up processing. It is an object of the present invention to provide a highly versatile image conversion device that can easily perform image conversion.

[発明の構成コ (問題点を解決するための手段) この発明の画像変換装置にあっては、複数の演算部と、
これら各演算部間を連結するレジスタとを並列的に動作
させて原画像から選択されたいくつかの画素に対して演
算処理を施し、その演算結果を変換画像の画素とするこ
とで画像変換を行う画像変換装置において、前記レジス
タの段数と各演算部間の動作時間とをそれぞれ任意に設
定できる制御手段を設けた構成とされるものである。
[Configuration of the Invention (Means for Solving Problems) The image conversion device of the present invention includes a plurality of calculation units,
Image conversion is performed by operating the registers that connect these calculation units in parallel to perform calculation processing on some pixels selected from the original image, and using the calculation results as pixels of the converted image. The image conversion apparatus is provided with a control means that can arbitrarily set the number of stages of the registers and the operation time between each calculation section.

(作用) この発明は、複数の演算部と、これら各演算部間を連結
するレジスタとを並列的に動作させて原画像から選択さ
れたいくつかの画素に対して演算処理を施し、その演算
結果を変換画像の画素とすることで画像変換を行う画像
変換装置において、レジスタの段数と各演算部間の動作
時間とをそれぞれ任意に設定可能とすることにより、各
演算部の独立性を高くし、回路構成やその制御方法など
の設計変更を最小限の修正により容易に実現できるよう
にしたものである。
(Operation) This invention performs arithmetic processing on several pixels selected from an original image by operating a plurality of arithmetic units and registers that connect these arithmetic units in parallel, and performs arithmetic processing on several pixels selected from an original image. In an image conversion device that performs image conversion by using the result as a pixel of a converted image, the number of register stages and the operating time between each calculation unit can be set arbitrarily, thereby increasing the independence of each calculation unit. However, design changes such as the circuit configuration and its control method can be easily realized with minimal modifications.

(実施例) 以下、この発明の一実施例について図面を参照して説明
する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第8図はこの発明が適用される画像処理装置の構成を示
すものである。この画像処理装置は、画像読取部100
、画像メモリ200、画像変換装置300、出力バッフ
ァ400、表示部500および装置全体を管理制御する
情報処理ユニットとしてのCPU600により構成され
ている。すなわち、前記CPU600からのCPUバス
601を介して与えられる制御信号の供給に応じて、画
像の拡大/縮小などの所望の処理が実行されることにな
る。
FIG. 8 shows the configuration of an image processing apparatus to which the present invention is applied. This image processing device includes an image reading section 100
, an image memory 200, an image conversion device 300, an output buffer 400, a display section 500, and a CPU 600 as an information processing unit that manages and controls the entire device. That is, in response to the supply of control signals from the CPU 600 via the CPU bus 601, desired processing such as image enlargement/reduction is executed.

前記画像読取部100は、ファクシミリ装置や複写機な
どで用いられている原稿読取り機構をそのまま用いるこ
とができる。ここでは、画像読取部100により、原稿
を走査することによって得られる文書情報をmxn個の
絵素からなる2値画像に変換している。この2値画像は
、書込み回路(W)201の制御のもとに画像メモリ2
00に書込まれるとともに、読出し回路(R)202の
制御のもとに画像メモリ200から読出される。
For the image reading section 100, a document reading mechanism used in facsimile machines, copying machines, etc. can be used as is. Here, the image reading unit 100 converts document information obtained by scanning a document into a binary image consisting of m×n picture elements. This binary image is stored in the image memory 2 under the control of the write circuit (W) 201.
00 and read out from the image memory 200 under the control of the readout circuit (R) 202.

画像変換装置300は、画像メモリ200の2値画像を
原画像として、拡大/縮小された変換画像を作成する。
The image conversion device 300 creates an enlarged/reduced converted image using the binary image in the image memory 200 as an original image.

この変換画像は、書込み回路(W)401の制御のもと
に出力バッファ400に書込まれるとともに、読出し回
路(R)402の制御のもとに読出され、表示部500
、たとえばCRTディスプレイ装置において表示される
This converted image is written to the output buffer 400 under the control of the write circuit (W) 401 and read out under the control of the read circuit (R) 402, and is displayed on the display section 500.
, for example displayed on a CRT display device.

第1図は画像変換装置300の構成例を示すもので、3
段のレジスタを持つパイプライン構成とされている。す
なわち、4段に分割された演算部301.302,30
3,304.3段のレジスタ305,306,307、
画素選択部308、演算制御部309、構成設定部31
0により構成されている。
FIG. 1 shows an example of the configuration of an image conversion device 300.
It has a pipeline configuration with stages of registers. That is, the arithmetic units 301, 302, 30 divided into four stages
3,304.3 stages of registers 305, 306, 307,
Pixel selection section 308, calculation control section 309, configuration setting section 31
Consists of 0.

前記演算部301,302,303,304は、それぞ
れ所望の演算アルゴリズムを実現するための組合わせ回
路あるいは記憶素子である。
The calculation units 301, 302, 303, and 304 are combinational circuits or storage elements for realizing a desired calculation algorithm, respectively.

前記レジスタ305,306,307は、それぞれ隣接
した演算部間におけるデータの受渡しに必要な信号線数
を持つラッチ回路またはフリップフロップ回路である。
The registers 305, 306, and 307 are latch circuits or flip-flop circuits each having the number of signal lines necessary for transferring data between adjacent arithmetic units.

前記画素選択部308は、たとえば画像メモリ200の
2値画像から変換画素を中心とする4×4の領域の原画
素を選択して演算部301へ出力する。この場合、演算
アルゴリズムで必要があれば、さらに大きな領域の原画
素を出力するようにしても良いし、あるいは原画素の情
報だけでなく、変換後の画素が原画素よりさらに細かい
複数の小領域の中のどこの領域に位置するかについての
情報をも出力するようにしても良い。
The pixel selection unit 308 selects original pixels in a 4×4 area centered on the converted pixel from the binary image in the image memory 200, for example, and outputs the selected original pixels to the calculation unit 301. In this case, if the arithmetic algorithm requires it, it may be possible to output a larger area of original pixels, or to output not only the original pixel information, but also multiple small areas where the converted pixel is smaller than the original pixel. It may also be possible to output information about which area within .

前記演算制御部309は、線ノ1.ノ2を介して、それ
ぞれ画素選択部308および各演算部301.302,
303,304の動作タイミングを制御するとともに、
後段の出力バッファ400への書込みを、線lを介して
制御する。
The arithmetic control unit 309 performs line No. 1. 2, a pixel selection unit 308 and each calculation unit 301, 302,
In addition to controlling the operation timing of 303 and 304,
Writing to the subsequent output buffer 400 is controlled via line l.

この演算制御部309は、第2図に示すように、構成設
定部310の制御のもとに、演算パイブライン部のレジ
スタの段数をro、1,2,3Jの4段階に切換え設定
する段数設定部309Aと、画像変換装置300の基本
動作クロックの「1゜2.3,4Jの4サイクルの範囲
で、隣接したレジスタ間の演算時間を可変に設定するサ
イクル設定部309Bとからなる。段数設定部309A
は、クロックイネーブル機能を持つフリップフロップ回
路311,312,313,314、セレクタ318お
よびアンド回路320により構成され、前記画素選択部
308から送られる各ラインの最初のデータがパイプラ
イン部の通過に要する時間だけ、出力バッファ400に
対するデータ入力イネーブル信号EN3を遅らせるよう
になっている。
As shown in FIG. 2, under the control of the configuration setting section 310, the arithmetic control section 309 sets the number of stages of registers in the arithmetic pipeline section by switching it to four stages: ro, 1, 2, and 3J. 309A, and a cycle setting unit 309B that variably sets the calculation time between adjacent registers within the range of 4 cycles of 1°2.3.4J of the basic operation clock of the image conversion device 300.Number of stages setting Section 309A
is composed of flip-flop circuits 311, 312, 313, 314 with a clock enable function, a selector 318, and an AND circuit 320, and the first data of each line sent from the pixel selection section 308 is required for passing through the pipeline section. The data input enable signal EN3 to the output buffer 400 is delayed by the amount of time.

サイクル設定部309Bは、JKフリップフロップ回路
315,316,317、セレクタ319、アンド回路
322およびノット回路321によって構成され、パイ
プライン部の動作サイクルに応じて、必要なだけフリッ
プフロップ回路311゜312.313のクロック動作
を禁止する信号CKEを発生するようになっている。こ
の場合、画素選択部308の出力部における出力イネー
ブル信号EN1、パイプライン部を構成する各レジスタ
305,306.307へのクロックイネーブル信号E
N2、および前記EN3はいずれも基本クロックの立上
がりに同期して動作され、前記フリップフロップ回路3
11〜317とパイプライン部のレジスタ305〜30
7はすべて基本クロックで動作される。
The cycle setting section 309B includes JK flip-flop circuits 315, 316, 317, a selector 319, an AND circuit 322, and a NOT circuit 321, and the cycle setting section 309B includes the flip-flop circuits 311, 312, 312, . A signal CKE for inhibiting the clock operation of 313 is generated. In this case, an output enable signal EN1 at the output section of the pixel selection section 308, a clock enable signal E to each register 305, 306, and 307 constituting the pipeline section.
N2 and the EN3 are both operated in synchronization with the rising edge of the basic clock, and the flip-flop circuit 3
11 to 317 and pipeline section registers 305 to 30
7 are all operated by the basic clock.

また、パイプライン部のレジスタ段数および動作サイク
ル数は、前記構成設定部310からの設定信号sl、s
2.s3,64により4対1の割合いで、セレクタ31
8,319が動作されることによって設定される。すな
わち、レジスタ段数と動作サイクル数とは、それぞれ下
記に示す表1゜表2の如く、前記設定信号s 1 r 
 s 2 +  s 3 +s4のいくつかの組合わせ
によって決定される。
Further, the number of register stages and the number of operation cycles of the pipeline section are determined by setting signals sl and s from the configuration setting section 310.
2. Selector 31 at a ratio of 4 to 1 due to s3 and 64
8,319 is operated. That is, the number of register stages and the number of operation cycles are as shown in Tables 1 and 2 below, respectively, when the setting signal s 1 r
It is determined by some combination of s 2 + s 3 +s4.

なお、この実施例では、レジスタ305゜306.30
7へのEN2 (クロックイネーブル信号)を発生して
いるが、クロックイネーブル入力のないレジスタを使用
する場合には、EN2と基本クロックとの論理積をレジ
スタのクロック動作として用いるようにすれば良い。ま
た、レジスタ段数と動作サイクル数の設定範囲をより広
くすることも同様の回路を用いて容易に実現可能であり
、あるいはレジスタ段数と動作サイクル数のいずれか一
方だけを設定することも同様の回路により可能である。
In addition, in this embodiment, the register 305°306.30
However, if a register without a clock enable input is used, the AND of EN2 and the basic clock may be used as the clock operation of the register. Furthermore, it is possible to easily widen the setting range of the number of register stages and the number of operating cycles using a similar circuit, or it is possible to set only either the number of register stages or the number of operating cycles using a similar circuit. This is possible.

構成設定部310は、レジスタ段数と動作サイクルとを
制御する設定信号sl、s2.s3゜s4をセットする
部分である。この構成設定部310は、たとえば第3図
に示すように、CPU600からCPUバス601を介
して供給されるパラメータレジスタに応じて設定信号8
1,82゜s3.s4をセットするもので、各設定信号
sl。
The configuration setting unit 310 receives setting signals sl, s2 . This is the part to set s3 and s4. For example, as shown in FIG.
1,82°s3. s4, each setting signal sl.

s2.s3.s4に対応して準備されるボートを有する
ラッチ回路またはフリップフロップ回路310aとアド
レスデコーダ310bとにより構成される。この場合、
CPU600からの制御が可能であり、ハードウェアと
しての変更を必要としない。また、簡便な方法としては
、たとえば第4図に示すように、ボストPi、P2.P
3゜P4とジャンパJl、J2.J3.J4とで、ある
いは第5図に示すように、スイッチSWI。
s2. s3. It is composed of a latch circuit or flip-flop circuit 310a having a port prepared corresponding to s4, and an address decoder 310b. in this case,
It can be controlled from the CPU 600 and does not require any changes to the hardware. Further, as a simple method, for example, as shown in FIG. 4, the boss Pi, P2. P
3°P4 and jumpers Jl, J2. J3. J4 or, as shown in FIG. 5, switch SWI.

SW2.SW3.SW4と抵抗R1,R2,R3゜R4
とで、構成設定部310を構成することも可能である。
SW2. SW3. SW4 and resistors R1, R2, R3゜R4
It is also possible to configure the configuration setting section 310 with the following.

以上の構成により、演算パイプライン部のレジスタ段数
と基本クロックに対する動作サイクルとが容易に変更可
能となるため、演算アルゴリズムや回路構成の見直しに
よりレジスタの段数が増減した場合、あるいは演算部を
構成する素子をより高速のものと置換えることにより、
従来レジスタ間を基本クロックの2サイクルで動作させ
ていたところを1サイクルにしてスルーブツトの向上を
図る場合など、設定信号sl、s2.s3.s4の組合
わせ設定を変更するだけで容易に対応可能となる。
With the above configuration, the number of register stages in the arithmetic pipeline section and the operating cycle relative to the basic clock can be easily changed, so if the number of register stages is increased or decreased due to a review of the arithmetic algorithm or circuit configuration, or when configuring the arithmetic section. By replacing the element with a faster one,
Setting signals sl, s2. s3. This can easily be done by simply changing the combination settings of s4.

次に、上記構成の動作について、レジスタ段数と動作サ
イクルとの組合わせに対する画像変換装置300の動作
を中心に、第6図を参照して説明する。たとえば今、原
稿上の文書情報は、CPU600の制御のもとに画像読
取部100によって2値画像として読取られ、画像メモ
リ200を介して画像変換装置300に供給される。
Next, the operation of the above configuration will be explained with reference to FIG. 6, focusing on the operation of the image conversion device 300 with respect to the combination of the number of register stages and the operation cycle. For example, document information on a document is read as a binary image by the image reading unit 100 under the control of the CPU 600 and supplied to the image conversion device 300 via the image memory 200.

この画像変換装置300では、2値画像を原画像として
変換画像が作成される。すなわち、画素選択部308で
は、画像メモリ200からのENI (出力イネーブル
信号)の供給に応じて、たとえば変換画素を中心とする
4×4の領域内の原画素が選択されて演算パイプライン
部をなす演算部301に出力される。すると、演算パイ
プライン部としては、構成設定部310からの設定信号
s 1 、s 2 +  s 3 、s 4のもとに演
算制御部309の制御による動作タイミングに応じて、
演算アルゴリズムに対応する各種の処理を施した後に画
素が出力バッファ400に転送される。
In this image conversion device 300, a converted image is created using a binary image as an original image. That is, in response to the supply of ENI (output enable signal) from the image memory 200, the pixel selection unit 308 selects, for example, an original pixel within a 4×4 area centered on the converted pixel, and selects the original pixel in the arithmetic pipeline unit. It is output to the calculation unit 301. Then, the calculation pipeline section performs the following operations according to the operation timing under the control of the calculation control section 309 based on the setting signals s 1 , s 2 + s 3 , and s 4 from the configuration setting section 310.
After performing various processes corresponding to the calculation algorithm, the pixels are transferred to the output buffer 400.

この場合、レジスタ段数と動作サイクル数との組合わせ
に対する各イネーブル信号EN1゜EN2.EN3およ
び画素選択部308の出力画素の動作は、第6図に示す
ようになる。その−例を説明すると、たとえばレジスタ
段数「0」、サイクル数「1」に設定される、つまり設
定信号sl、s2.s3.s4がともに「0」にセット
されると、最初の基本クロックの立ち上がりに同期して
ENI (出力イネーブル信号)が動作され、次の基本
クロックの立ち上がりに同期してEN3(データ入力イ
ネーブル信号)が動作される。すると、まずENIの動
作により、基本クロックの立ち上がりに応じて、順次画
素選択部308から演算部301に画素が出力される。
In this case, each enable signal EN1, EN2, . The operation of the output pixel of EN3 and the pixel selection section 308 is as shown in FIG. For example, the number of register stages is set to "0" and the number of cycles is set to "1", that is, the setting signals sl, s2. s3. When both s4 are set to "0", ENI (output enable signal) is activated in synchronization with the rising edge of the first basic clock, and EN3 (data input enable signal) is activated in synchronization with the rising edge of the next basic clock. It is operated. Then, by the operation of ENI, pixels are sequentially output from the pixel selection section 308 to the calculation section 301 in response to the rising edge of the basic clock.

この画素は、前記EN3の動作により、基本クロックの
立ち上がりに同期して、順次出力バッファ400へ格納
される。これにより、画素は、演算部301から直接出
力バッファ400に転送されることとなり、レジスタ3
05〜307間は、基本クロックの1サイクルで動作さ
れることとなる。
These pixels are sequentially stored in the output buffer 400 in synchronization with the rising edge of the basic clock by the operation of EN3. As a result, pixels are directly transferred from the calculation unit 301 to the output buffer 400, and the
The period from 05 to 307 is operated in one cycle of the basic clock.

また、たとえばレジスタ段数「3」、サイクル数「1」
に設定される、つまり設定信号sl。
For example, the number of register stages is "3" and the number of cycles is "1".
That is, the setting signal sl.

s2がともにrlJ、s3.s4がともに「0」にセッ
トされると、最初(第1)の基本クロックの立ち上がり
に同期してENIが動作される。また、次(第2)の基
本クロックの立ち上がりに同期してEN2が動作される
。さらに、第5の基本クロックの立ち上がりに同期して
EN3が動作される。すると、まずENIの動作により
、基本クロックの立ち上がりに応じて、順次画素選択部
308から演算部301に画素が出力される。この画素
は、前記EN2の動作により、それぞれの基本クロック
の立ち上がりに同期して、順次後段のレジスタに転送さ
れる。そして、EN3の動作により、基本クロックの立
ち上がりに同期して、順次出力バッファ400へ格納さ
れる。これにより、各レジスタ305,306,307
間は、それぞれ基本クロックの1サイクルで動作される
こととなる。
s2 are both rlJ, s3. When both s4 are set to "0", ENI is operated in synchronization with the rising edge of the first (first) basic clock. Further, EN2 is operated in synchronization with the rising edge of the next (second) basic clock. Furthermore, EN3 is operated in synchronization with the rise of the fifth basic clock. Then, by the operation of ENI, pixels are sequentially output from the pixel selection section 308 to the calculation section 301 in response to the rising edge of the basic clock. These pixels are sequentially transferred to subsequent registers in synchronization with the rising edge of each basic clock by the operation of EN2. Then, by the operation of EN3, the signals are sequentially stored in the output buffer 400 in synchronization with the rising edge of the basic clock. As a result, each register 305, 306, 307
During this period, each operation is performed in one cycle of the basic clock.

さらに、たとえばレジスタ段数「1」、サイクル数「4
」に設定される、つまり設定信号s1がrOJ、s2が
rlJ、s3.s4がともに「1」にセットされると、
最初(第1)の基本クロックの立ち上がりに同期して4
サイクルごとにENIが動作される。次に、第5の基本
クロックの立ち上がりに同期して4サイクルごとにEN
2が動作される。さらに、第10の基本クロックの立ち
上かりに同期して4サイクルごとにEN3が動作される
。すると、まずENIの動作により、基本クロックの4
サイクルごとの立ち上がりに応じて、順次画素選択部3
08から演算部301に画素が出力される。この画素は
、前記EN2の動作により、基本クロックの4サイクル
ごとの立ち上がりに同期して、後段のレジスタ305に
転送される。
Furthermore, for example, the number of register stages is "1" and the number of cycles is "4".
", that is, the setting signals s1 are rOJ, s2 is rlJ, s3 . When s4 are both set to "1",
4 in synchronization with the rising edge of the first (first) basic clock.
ENI is operated every cycle. Next, in synchronization with the rising edge of the fifth basic clock, EN is activated every four cycles.
2 is operated. Furthermore, EN3 is operated every four cycles in synchronization with the rising edge of the tenth basic clock. Then, first, due to the operation of ENI, the basic clock 4
The pixel selection unit 3 sequentially responds to the rising edge of each cycle.
Pixels are output from 08 to the calculation unit 301. This pixel is transferred to the subsequent register 305 in synchronization with the rise of every four cycles of the basic clock by the operation of EN2.

そして、EN3の動作により、基本クロックの4サイク
ルごとの立ち上がりに同期して、順次出力バッファ40
0へ格納される。これにより、画素は、演算部302か
ら出力バッファ400に転送されることとなり、レジス
タ305間は、それぞれ基本クロックの4サイクルで動
作されることとなる。
Then, by the operation of EN3, the output buffer 40 is sequentially
Stored to 0. As a result, pixels are transferred from the calculation unit 302 to the output buffer 400, and the registers 305 are each operated in four cycles of the basic clock.

また、たとえばレジスタ段数「2」、サイクル数「3」
に設定される、つまり設定信号s1がrlJ、s2が「
0」、s3がrlJ、s4が「0」にセットされると、
最初(第1′)の基本クロックの立ち上がりに同期して
3サイクルごとにENIが動作される。次に、m4の基
本クロックの立ち上がりに同期して3サイクルごとにE
N2が動作される。さらに、第10の基本クロックの立
ち上がりに同期して3サイクルごとにEN3が動作され
る。すると、まずENIの動作により、基本クロックの
3サイクルごとの立ち上がりに応じて、順次画素選択部
308から演算部301に画素が出力される。この画素
は、前記EN2の動作により、基本クロックの3サイク
ルごとの立ち上がりに同期して、順次後段のレジスタ3
05゜306に転送される。そして、EN3の動作によ
り、基本クロックの3サイクルごとの立ち上がりに同期
して、順次出力バッファ400へ格納される。これによ
り、画素は、演算部303から出力バッファ400に転
送されることとなり、レジスタ305,306間は、そ
れぞれ基本クロックの3サイクルで動作されることとな
る。
For example, the number of register stages is "2" and the number of cycles is "3".
In other words, the setting signal s1 is rlJ, and s2 is
0'', s3 is set to rlJ, and s4 is set to ``0'',
ENI is operated every three cycles in synchronization with the rising edge of the first (1') basic clock. Next, E
N2 is activated. Further, EN3 is operated every three cycles in synchronization with the rise of the tenth basic clock. Then, by the operation of ENI, pixels are sequentially output from the pixel selection section 308 to the calculation section 301 in response to the rising edge of the basic clock every three cycles. Due to the operation of EN2, this pixel is sequentially transferred to the subsequent register 3 in synchronization with the rise of every 3 cycles of the basic clock.
Transferred to 05°306. Then, by the operation of EN3, the data are sequentially stored in the output buffer 400 in synchronization with the rising edge of the basic clock every three cycles. As a result, pixels are transferred from the calculation unit 303 to the output buffer 400, and the registers 305 and 306 are each operated in three cycles of the basic clock.

以上のようにして、演算パイプライン処理によって作成
された変換画像は、出力バッファ400から読出されて
表示部500において表示される。
The converted image created by the arithmetic pipeline processing as described above is read from the output buffer 400 and displayed on the display unit 500.

上記したように、演算バイブライン部のレジスタ段数と
、隣接するレジスタ間の演算時間とを、基本動作クロッ
クの整数倍でそれぞれ独立に可変制御できるようにして
いる。
As described above, the number of register stages in the operation vibe line section and the operation time between adjacent registers can be independently and variably controlled at integral multiples of the basic operation clock.

すなわち、演算アルゴリズムの見直しによる演算段数の
変更や回路およびそれを構成する素子のより高速な素子
への変更による処理の高速化に対する演算バイブライン
部の種々の構成に容易に対応できるようにしている。こ
れにより、演算部の独立性を高くし、回路構成やその制
御の変更を最小限の修正により容易に実現可能となる。
In other words, it is possible to easily adapt to various configurations of the arithmetic vibe line section in order to increase the processing speed by changing the number of arithmetic stages by reviewing the arithmetic algorithm or by changing the circuit and its constituent elements to faster elements. . This increases the independence of the arithmetic unit and makes it possible to easily change the circuit configuration and its control with minimal modification.

したがって、処理の高速化のための設計変更などを容易
なものとし、装置としての汎用性を向上することができ
るものである。
Therefore, design changes for speeding up processing can be easily made, and the versatility of the device can be improved.

また、レジスタ段数と動作サイクル数とを容易に可変可
能とすることにより、処理時間の異なる複数の回路や素
子が並列に、かつ排他的に動作する場合に最も効果的に
作用する。たとえば、第7図は演算部301の一構成例
を示すもので、ROMA350、ROMB551および
セレクタ352とから構成される。この演算部301に
おけル演算アルゴリズムは、ある条件の時に原画像の2
X2の領域を参照し、そうでない時には4×4の領域を
参照するようになっている。また、ROMA350.R
OMB51には、あらかじめ目的とする演算を行った結
果がそれぞれ格納されている。
Furthermore, by making the number of register stages and the number of operation cycles easily variable, the present invention works most effectively when a plurality of circuits and elements having different processing times operate in parallel and exclusively. For example, FIG. 7 shows an example of the configuration of the calculation section 301, which is composed of a ROMA 350, a ROMB 551, and a selector 352. The calculation algorithm in this calculation unit 301 is based on two parts of the original image under certain conditions.
The area of X2 is referred to, and if not, the area of 4×4 is referred to. Also, ROMA350. R
The OMB 51 stores in advance the results of target calculations.

ここで、たとえばROMB551をROMA350に比
べてサイズを大きくシ、基本クロックサイクルを100
ns、、ROMA350゜ROMB551のアクセス時
間をそれぞれ70ns、120nsとした場合(ただし
、レジスタ305以降の演算部302,303,304
は、各段ともに100nsにより処理可能であり、その
他の遅れやセットアツプ時間は十分に小さいものとする
。) 、ROMA350が選択された際には演算部30
1は基本クロックの1サイクルで動作可能であるが、R
OMB551が選択された際には2サイクルが必要とな
る。このような場合、従来の方法では、動作中にレジス
タ間のサイクル数を変更できなかったため、サイクル数
を2サイクルに固定する必要があった。ところが、この
発明によれば、レジスタ間の動作サイクル数はCPU6
00から設定できるノテ、ROMA350あるいはRO
MB551のどちらが選択された場合でも、その動作時
間に最適な最高の処理速度での処理が可能となり、スル
ーブツトを向上することができる。したがって、演算部
が高速な素子と低速な素子とで並列に構成されるものに
ついては、それぞれに最適な動作時間での処理が可能と
なるものである。
Here, for example, the size of ROMB551 is made larger than that of ROMA350, and the basic clock cycle is increased to 100.
ns,, ROMA 350° and ROMB 551 access times are 70 ns and 120 ns, respectively (however, when the arithmetic units 302, 303, 304 after register 305
It is assumed that each stage can be processed in 100 ns, and other delays and setup times are sufficiently small. ), when the ROMA 350 is selected, the calculation unit 30
1 can operate in one cycle of the basic clock, but R
Two cycles are required when OMB551 is selected. In such a case, in the conventional method, the number of cycles between registers could not be changed during operation, so it was necessary to fix the number of cycles to two. However, according to this invention, the number of operation cycles between registers is
Notes that can be set from 00, ROMA350 or RO
Whichever MB551 is selected, processing can be performed at the highest processing speed that is optimal for the operating time, and throughput can be improved. Therefore, when the arithmetic unit is configured in parallel with high-speed elements and low-speed elements, processing can be performed with the optimum operating time for each.

[発明の効果] 以上、詳述したようにこの発明によれば、演算アルゴリ
ズムの見直しや素子の変更などに容易に対応することが
でき、処理の高速化のための設計変更が容易に行える汎
用性の高い画像変換装置を提供できる。
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to easily respond to changes in calculation algorithms, changes in elements, etc., and to easily make design changes to speed up processing. Therefore, it is possible to provide an image conversion device with high performance.

4、図面簡単な説明 第1図はこの発明の一実施例である画像変換装置の構成
を概略的に示すブロック図、第2図は演算制御部を概略
的に示す回路構成図、第3図乃至第5図はそれぞれ構成
設定部を概略的に示す構成図、第6図はパイプライン処
理の動作例を説明するために示す図、第7図は演算部の
一例を示す構成図、第8図はこの発明が適用される画像
処理装置を概略的に示す構成図、第9図はパイプライン
処理の概要を説明するために示す構成図である。
4. Brief description of the drawings Fig. 1 is a block diagram schematically showing the configuration of an image conversion device that is an embodiment of the present invention, Fig. 2 is a circuit configuration diagram schematically showing the arithmetic control section, and Fig. 3 5 to 5 are block diagrams schematically showing the configuration setting section, FIG. 6 is a diagram shown to explain an example of the operation of pipeline processing, FIG. 7 is a block diagram showing an example of the calculation section, and FIG. FIG. 9 is a block diagram schematically showing an image processing apparatus to which the present invention is applied, and FIG. 9 is a block diagram shown to explain the outline of pipeline processing.

100・・・画像読取部、200・・・画像メモリ、3
00・・・画像変換装置、301,302,303゜3
04・・・演算部、305,306,307・・・レジ
スタ、308・・・画素選択部、309・・・演算制御
部、310・・・構成設定部、310a・・・ラッチ回
路、310b・・・アドレスデコーダ、311,312
゜313.314・・・フリップフロップ回路、315
゜316.317・・・JKフリップフロップ回路、3
18.319・・・セレクタ、400・・・出力バッフ
ァ、500・・・表示部、600・・・CPU。
100... Image reading unit, 200... Image memory, 3
00... Image conversion device, 301, 302, 303°3
04... Arithmetic section, 305, 306, 307... Register, 308... Pixel selection section, 309... Arithmetic control section, 310... Configuration setting section, 310a... Latch circuit, 310b.・Address decoder, 311, 312
゜313.314...Flip-flop circuit, 315
゜316.317...JK flip-flop circuit, 3
18.319...Selector, 400...Output buffer, 500...Display section, 600...CPU.

出願人代理人 弁理士 鈴江武彦 第3図 第4図Applicant's agent: Patent attorney Takehiko Suzue Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)複数の演算部と、これら各演算部間を連結するレ
ジスタとを並列的に動作させて原画像から選択されたい
くつかの画素に対して演算処理を施し、その演算結果を
変換画像の画素とすることで画像変換を行う画像変換装
置において、 前記レジスタの段数と各演算部間の動作時間とをそれぞ
れ任意に設定できる制御手段を設けたことを特徴とする
画像変換装置。
(1) Multiple arithmetic units and registers that connect these arithmetic units are operated in parallel to perform arithmetic processing on some pixels selected from the original image, and the results of the arithmetic operations are converted into a converted image. What is claimed is: 1. An image conversion device that performs image conversion by converting pixels into pixels, characterized in that the image conversion device is provided with a control means that can arbitrarily set the number of stages of the register and the operation time between each arithmetic unit.
(2)制御手段は、各演算部間の動作時間を、画像変換
装置における基本動作クロック信号周期の整数倍の範囲
で可変に設定できることを特徴とする特許請求の範囲第
1項記載の画像変換装置。
(2) Image conversion according to claim 1, wherein the control means can variably set the operation time between each calculation unit within a range of an integral multiple of the basic operation clock signal period in the image conversion device. Device.
JP7867487A 1987-03-31 1987-03-31 Picture converter Pending JPS63245568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7867487A JPS63245568A (en) 1987-03-31 1987-03-31 Picture converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7867487A JPS63245568A (en) 1987-03-31 1987-03-31 Picture converter

Publications (1)

Publication Number Publication Date
JPS63245568A true JPS63245568A (en) 1988-10-12

Family

ID=13668414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7867487A Pending JPS63245568A (en) 1987-03-31 1987-03-31 Picture converter

Country Status (1)

Country Link
JP (1) JPS63245568A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02191077A (en) * 1989-01-20 1990-07-26 Mitsubishi Heavy Ind Ltd Picture data compressor
US5126284A (en) * 1991-10-25 1992-06-30 Curran Patrick A Method of inductively contacting semiconductor regions

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02191077A (en) * 1989-01-20 1990-07-26 Mitsubishi Heavy Ind Ltd Picture data compressor
US5126284A (en) * 1991-10-25 1992-06-30 Curran Patrick A Method of inductively contacting semiconductor regions

Similar Documents

Publication Publication Date Title
JP2004534446A (en) Reconfigurable digital filter with multiple filtering modes
JPH10304184A (en) Image processor and image processing method
KR20010031192A (en) Data processing system for logically adjacent data samples such as image data in a machine vision system
JP3203124B2 (en) Image data value storage method
KR20070061538A (en) Interconnections in simd processor architectures
JPS63245568A (en) Picture converter
JP2012098884A (en) Data processor and image processor
JPS58208981A (en) Address control circuit
JPS621055A (en) Direct memory access controller
JPH0728991A (en) Data processing circuit using memory
JPH01311378A (en) Pipeline type image processor control system
JPH09251545A (en) Picture processor
JP2003177960A (en) Arithmetic unit and storage device
KR100207651B1 (en) Memory access circuit
JPH05150944A (en) Digital signal processor
JPH05159042A (en) Picture processor
JPH0728988A (en) Two-dimensional sensor system
JPH01233515A (en) Information processor
JPH04181373A (en) Vector processor
JPH03291712A (en) Computer
KR20040108464A (en) Image Processing Device And The Method
JP2009123190A (en) Data processor and control method
JPH0522152A (en) Msb/lsb conversion circuit
JPH0470262A (en) Picture data time base conversion circuit
JPH03235184A (en) Image memory controller