JP2519821B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2519821B2
JP2519821B2 JP2162486A JP16248690A JP2519821B2 JP 2519821 B2 JP2519821 B2 JP 2519821B2 JP 2162486 A JP2162486 A JP 2162486A JP 16248690 A JP16248690 A JP 16248690A JP 2519821 B2 JP2519821 B2 JP 2519821B2
Authority
JP
Japan
Prior art keywords
image
data
processing
image data
contour
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.)
Expired - Lifetime
Application number
JP2162486A
Other languages
Japanese (ja)
Other versions
JPH0451377A (en
Inventor
義夫 井上
良浩 永田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2162486A priority Critical patent/JP2519821B2/en
Publication of JPH0451377A publication Critical patent/JPH0451377A/en
Application granted granted Critical
Publication of JP2519821B2 publication Critical patent/JP2519821B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は画像処理装置に係り、特にイメージリー
ダ、プリンタ、ファクシミリ等に用いられる画像処理を
効率よく行なうに好適な画像処理装置に関するものであ
る。
The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus suitable for efficiently performing image processing used in an image reader, a printer, a facsimile, and the like. .

[従来の技術] 第6図は文献『NEC技報』(Vo1.42No.5/1989)に示さ
れた従来の画像処理装置のブロック図であり、特に演算
回路部を示すものである。この構成の詳細はこの発明の
要旨とは異なり文献にも記載してあるので特別な説明は
避けるが、この中の輪郭強調処理部分だけを取り出すと
第7図の部分ブロック図に示すような構成となる。第7
図において、(11)は輪郭強調回路、(12)は輪郭強調
ラインメモリである。
[Prior Art] FIG. 6 is a block diagram of a conventional image processing apparatus shown in the document "NEC Technical Report" (Vo1.42 No.5 / 1989), and particularly shows an arithmetic circuit section. The details of this structure are different from the gist of the present invention and are described in the literature, so a special explanation will be avoided, but if only the contour emphasis processing part is taken out, the structure as shown in the partial block diagram of FIG. 7 is obtained. Becomes Seventh
In the figure, (11) is a contour enhancement circuit, and (12) is a contour enhancement line memory.

以上のような構成において、次にその動作を説明す
る。
The operation of the above arrangement will be described below.

上記文献には輪郭強調処理についての記載があるが、
これによると、空間フィルタにより着目するデータとそ
の隣接データの平均値との差分を求め、その差分を着目
するデータに加算にすることにより輪郭部分を強調させ
る方式が採用されており、この結果文字や自然画像にメ
リハリがつく旨が記載されている。この方式はよく知ら
れた一般的な画像輪郭強調方式であり、先ず輪郭強調ラ
インメモリ(12)に所定のライン数の画像データを保管
し、続いて入力されている画像データに対してこの保管
画像データを用いて輪郭強調回路(11)で演算処理を行
なうことで実現できる。例えば、輪郭強調ラインメモリ
(12)に1ラインのデータを保管する場合は、第4図の
説明図に示すように演算を実施したい画素(以下、注目
画素と称する)のデータG(x,y)の左右と後ろの画素
のデータを用いて Go(x,y) =G(x,y)+[G(x,y) −1/3{G(x−1,y)+G(x+1,y) +G(x,y+1)}] …(1) なる演算処理を輪郭強調回路(11)で実施する。ちなみ
に、第4図は任意の画素データに対して1ライン分の関
連処理で輪郭強調する場合の画素配列の説明図である。
そして、G(x,y)は任意画素の読取りデータであり、G
o(x,y)はG(x,y)に対する輪郭強調回路(11)の出
力、そしてxは主走査方向ラベル、yは副走査方向ラベ
ルである。この時、(1)式のG(x,y)、G(x−1,
y)ならびにG(x+1,y)が輪郭強調ラインメモリ(1
2)に保管されていた画像データであり、続いて入力さ
れる画像データG(x,y+1)を用いて輪郭強調回路(1
1)で演算処理を行なう。
Although there is a description of the contour enhancement processing in the above document,
According to this, a method is adopted in which the difference between the data of interest and the average value of its adjacent data is obtained by a spatial filter, and the contour portion is emphasized by adding the difference to the data of interest. And that the natural image is sharp. This method is a well-known general image edge enhancement method. First, image data of a predetermined number of lines is stored in the edge enhancement line memory (12), and then this image data is stored for the input image data. This can be realized by performing arithmetic processing in the contour emphasis circuit (11) using image data. For example, when one line of data is stored in the outline emphasizing line memory (12), the data G (x, y) of the pixel (hereinafter referred to as the pixel of interest) to be calculated as shown in the explanatory diagram of FIG. ) Go (x, y) = G (x, y) + [G (x, y) -1/3 {G (x-1, y) + G (x + 1, y) + G (x, y + 1)}] (1) The contour emphasizing circuit (11) performs the arithmetic processing. By the way, FIG. 4 is an explanatory diagram of a pixel array in the case where contour enhancement is performed on arbitrary pixel data by a related process for one line.
And G (x, y) is read data of an arbitrary pixel,
o (x, y) is the output of the contour enhancement circuit (11) for G (x, y), and x is the main scanning direction label and y is the sub scanning direction label. At this time, G (x, y) and G (x-1,
y) and G (x + 1, y) are the contour emphasis line memories (1
The image data stored in (2) and subsequently input image data G (x, y + 1) are used to draw the contour enhancement circuit (1
The calculation processing is performed in 1).

一方、輪郭強調ラインメモリ(12)で2ラインのデー
タを保管する場合は第5図の説明図に示すように、注目
画素のデータG(x,y)の前後左右の画素のデータを用
いて Go(x,y) =G(x,y)+[G(x,y) −1/4{G(x−1,y)+G(x+1,y) +G(x,y+1)+G(x,y−1)}] …(2) なる演算処理を輪郭強調回路(11)で実施する。ちなみ
に、第5図は任意の画素データに対して2ライン分の関
連処理で輪郭強調する場合の画素配列の説明図である。
そして、(2)式のG(x,y)、G(x−1,y)、G(x
+1,y)、G(x,y−1)が輪郭強調ラインメモリ(12)
より出力される予め保管されていた画像データであり、
G(x,y+1)が続いて入力される画素データである。
On the other hand, when two lines of data are stored in the contour emphasizing line memory (12), as shown in the explanatory diagram of FIG. 5, the data of the pixels before and after and to the left and right of the data G (x, y) of the pixel of interest are used. Go (x, y) = G (x, y) + [G (x, y) -1/4 {G (x-1, y) + G (x + 1, y) + G (x, y + 1) + G (x, y-1)}] ... (2) The contour enhancement circuit (11) performs the arithmetic processing. By the way, FIG. 5 is an explanatory diagram of a pixel array in the case where contour enhancement is performed on arbitrary pixel data by a related process for two lines.
Then, G (x, y), G (x-1, y), and G (x
+ 1, y), G (x, y-1) is the outline emphasis line memory (12)
Image data that has been stored in advance and is output by
G (x, y + 1) is pixel data that is subsequently input.

第2図は輪郭強調ラインメモリ(12)に先ず1ライン
の画像データを保管する場合における、ある任意の画素
データG(x,y+1)が輪郭強調回路(11)に入力され
てから次の画素データG(x+1,y+1)が輪郭強調回
路(11)に入力されるまでの輪郭強調ラインメモリ(1
2)の動作を示すタイムチャートである。同図におい
て、(a)は画像データクロック、(b)は外部からの
入力画像データ、(c)は画像メモリよりリードする画
像データ、(d)は画像メモリにライトする画像デー
タ、(e)は演算処理の結果として出力される画像デー
タである。ここで、説明を簡略化するために、ある任意
の画素データG(x,y+1)が輪郭強調回路(11)に入
力されてから次の画素データG(x+1,y+1)が輪郭
強調回路(11)に入力されるまでの間を画像転送周期GS
と言うことにする。
FIG. 2 shows the case where the image data of one line is first stored in the contour emphasis line memory (12), and then the next pixel after the arbitrary pixel data G (x, y + 1) is input to the contour emphasis circuit (11). Contour emphasis line memory (1 until data G (x + 1, y + 1) is input to the contour emphasis circuit (11)
It is a time chart which shows operation of 2). In the figure, (a) is an image data clock, (b) is input image data from the outside, (c) is image data read from the image memory, (d) is image data to be written in the image memory, (e). Is image data output as a result of the arithmetic processing. Here, in order to simplify the description, after a certain arbitrary pixel data G (x, y + 1) is input to the contour emphasis circuit (11), the next pixel data G (x + 1, y + 1) is changed to the contour emphasis circuit (11). ) Image transfer cycle GS
I will say.

先ず、1ライン分の画像データを保管する場合の輪郭
強調ラインメモリ(12)の動作について説明する。処理
に必要なデータを得るために、先ず輪郭強調ラインメモ
リ(12)から画素データG(x+1,y)を輪郭強調回路
(11)から出力する。次に、次ラインの処理を行なうた
め輪郭強調回路(11)に入力されたG(x,y+1)と上
記動作によって作成された空き領域に保管する。ここで
画像データG(x,y)と画素データG(x,y−1)をラッ
チ回路等により遅延して処理に必要なデータを得る。
First, the operation of the contour emphasizing line memory (12) when storing image data for one line will be described. In order to obtain the data necessary for processing, first, the pixel data G (x + 1, y) is output from the contour emphasis line memory (12) from the contour emphasis circuit (11). Next, in order to process the next line, it is stored in G (x, y + 1) input to the contour emphasis circuit (11) and the empty area created by the above operation. Here, the image data G (x, y) and the pixel data G (x, y-1) are delayed by a latch circuit or the like to obtain data necessary for processing.

次に、2ライン分の画像データを保管する場合の輪郭
強調ラインメモリ(12)の動作を説明する。第3図は2
ラインの画像データを保管する場合における画像転送周
期GSにおける輪郭強調ラインメモリ(12)の動作を説明
するためのタイムチャートである。同図において、
(a)は画像データクロック、(b)は外部からの入力
画像データ、(c)は画像メモリよりリードする画像デ
ータ、(d)は画像メモリにライトする画像データ、
(e)は演算処理の結果として出力される画像データで
ある。最初に、処理に必要な第1ライン目のデータを得
るために、輪郭強調ラインメモリ(12)から画素データ
G(x+1,y)を輪郭強調回路(11)に出力する。次に
次ラインのデータを処理するために輪郭強調回路(11)
に入力された画素データG(x,y+1)を上記動作によ
って作成された空き領域に保管する。続いて、処理に必
要な第2ライン目の画素データG(x+1,y)を次のラ
イン処理に用いるために画素データG(x,y−1)を出
力したことによって作成された空き領域に保管する。
Next, the operation of the contour emphasizing line memory (12) when storing image data for two lines will be described. Figure 3 is 2
6 is a time chart for explaining the operation of the contour emphasis line memory (12) in the image transfer cycle GS when storing line image data. In the figure,
(A) is an image data clock, (b) is input image data from the outside, (c) is image data read from the image memory, (d) is image data to be written in the image memory,
(E) is image data output as a result of the arithmetic processing. First, the pixel data G (x + 1, y) is output from the contour emphasizing line memory (12) to the contour emphasizing circuit (11) in order to obtain the data of the first line necessary for processing. Next, the contour enhancement circuit (11) for processing the data of the next line
The pixel data G (x, y + 1) input to is stored in the empty area created by the above operation. Then, the pixel data G (x + 1, y) of the second line necessary for the processing is output to the pixel data G (x, y−1) in order to use it for the next line processing. store.

さて、一般に、輪郭強調ラインメモリ(12)には8ビ
ットのデータ入出力が能なRAMが用いられる。ところ
が、RAMにはアクセス時間、つまりアドレスが入力され
てから実際にデータが出力されるまでの時間が存在す
る。現在、市場で入手可能なRAMはアクセス時間が100ns
程度であり、従って輪郭強調ラインメモリ(12)に2ラ
インのデータを保管し、(2)式の演算処理を輪郭強調
回路(11)で行なう場合は第3図に示したように画像転
送周期GSの間に2回のRAMのリード/ライトを行なう必
要があるので、輪郭強調ラインメモリ(12)にアクセス
時間が100nsのRAMを用いた場合、画像転送周期GSが400n
s以上必要になる。
Generally, a RAM capable of inputting and outputting 8-bit data is used as the contour emphasis line memory (12). However, the RAM has an access time, that is, a time from the input of an address to the actual output of data. Currently available RAM in the market has 100ns access time
Therefore, when two lines of data are stored in the contour emphasizing line memory (12) and the arithmetic processing of equation (2) is performed by the contour emphasizing circuit (11), the image transfer cycle is as shown in FIG. Since it is necessary to read / write the RAM twice during the GS, when a RAM with an access time of 100 ns is used for the contour emphasis line memory (12), the image transfer cycle GS is 400 n.
You need more than s.

従って、画像転送速度が2MHzの場合、画像転送周期GS
は画像の転送速度の逆数なので、 1/2×10-6sec=500ns …(3) になり、輪郭強調ラインメモリ(12)に2ラインのデー
タを保管し、(2)式の演算処理を輪郭強調回路(11)
で行なうことが可能である。
Therefore, if the image transfer rate is 2MHz, the image transfer cycle GS
Is the reciprocal of the image transfer rate, so 1/2 × 10 -6 sec = 500ns (3), and the data of 2 lines is stored in the edge emphasizing line memory (12), and the arithmetic processing of equation (2) is performed. Contour enhancement circuit (11)
Can be done at.

一方、画像転送速度が4MHzの場合、画像転送周期GSは 1/4×10-6sec=250ns …(4) になり、輪郭強調ラインメモリ(12)に2ラインのデー
タを保管し、(2)式の演算処理を輪郭強調回路(11)
で行なうことができなくなってしまう。
On the other hand, when the image transfer speed is 4 MHz, the image transfer cycle GS becomes 1/4 × 10 −6 sec = 250 ns (4), and two lines of data are stored in the contour emphasis line memory (12), (2 ) Expression calculation circuit for contour enhancement (11)
Can't be done in.

これに対して、従来の画像処理装置は、輪郭強調ライ
ンメモリ(12)に保管するライン数と演算処理方法が最
初から決まっており、従って輪郭強調ラインメモリ(1
2)に保管するライン数と輪郭強調回路(11)による演
算処理方法を変更することはできない。即ち、輪郭強調
ラインメモリ(12)に1ラインのデータを保管し、
(1)式の演算処理を輪郭強調回路(11)で行なう場合
は画像の転送速度がある程度早くても演算処理を行なう
ことができるが、(2)式の演算処理を輪郭強調回路
(11)で行なう場合に比べて画質が劣るという問題があ
る。一方、輪郭強調ラインメモリ(12)に2ラインのデ
ータを保管し、(2)式の演算処理を輪郭強調回路(1
1)で行なう場合は(1)の演算距離を輪郭強調回路(1
1)で行なう場合に比べて画質は良いが、画像転送速度
がある程度早くなると演算処理が実行できないという問
題点がある。
On the other hand, in the conventional image processing apparatus, the number of lines to be stored in the contour emphasis line memory (12) and the arithmetic processing method are determined from the beginning, and accordingly, the contour emphasis line memory (1
It is not possible to change the number of lines stored in 2) and the arithmetic processing method by the contour enhancement circuit (11). That is, one line of data is stored in the contour emphasis line memory (12),
When the contour emphasizing circuit (11) performs the arithmetic processing of the expression (1), the arithmetic processing can be performed even if the image transfer speed is somewhat high, but the arithmetic processing of the expression (2) is performed by the contour emphasizing circuit (11). There is a problem that the image quality is inferior to that in the case of. On the other hand, two lines of data are stored in the contour emphasizing line memory (12), and the arithmetic processing of equation (2) is performed by the contour emphasizing circuit (1
When performing with 1), the calculation distance of (1) is set to the contour emphasis circuit (1
Although the image quality is better than in the case of 1), there is a problem that the arithmetic processing cannot be executed when the image transfer speed becomes high to some extent.

[発明が解決しようとする課題] 従来の画像処理装置は以上のように構成されているの
で、入力される画像データの転送速度、つまり画像転送
周期GSに関係なく画像処理結果は劣るが高速処理の可能
な演算方式か、画像処理結果は優れているが処理速度の
遅い演算方式のいずれかの演算方式しか選択できず、画
像データの転送速度に合わせてアダプティブに高画質の
画像処理を実行できる方式の開発が大きな課題となって
いた。
[Problems to be Solved by the Invention] Since the conventional image processing apparatus is configured as described above, the image processing result is inferior regardless of the transfer speed of the input image data, that is, the image transfer cycle GS, but high speed processing is performed. Can be selected, or an image processing result that is superior in image processing result but slow in processing speed can be selected, and image processing of high image quality can be adaptively executed according to the transfer speed of image data. The development of the method was a big issue.

この発明は上記の課題を解決するためになされたもの
で、データの転送速度によって演算処理の方式を選択す
ることにより、画像データの転送速度に応じてより高画
質の画像データ処理を実現するための画像処理装置を得
ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and in order to realize image data processing of higher image quality in accordance with the transfer rate of image data, by selecting a calculation processing method according to the transfer rate of data. It is intended to obtain the image processing device of.

[課題を解決するための手段] 上記目的を達成するために、この発明は、外部より入
力される画像データを一時保管する画像メモリ手段とし
て、前記画像データの転送速度を判断して画像転送周期
の1演算単位における前記画像メモリ手段のアクセス可
能な回数を前記画像メモリ手段の能力から判定する判断
手段と、前記判断手段の判定に基づいて前記画像メモリ
手段の可能なアクセス回数に適合する最適な演算処理方
式を選択する演算処理手段を備えることを特徴とする。
[Means for Solving the Problems] In order to achieve the above-mentioned object, the present invention is an image memory means for temporarily storing image data input from the outside, and an image transfer cycle for determining the transfer rate of the image data. A determination unit that determines the number of times the image memory unit can be accessed in one calculation unit based on the capability of the image memory unit, and an optimum number of times that the image memory unit can be accessed based on the determination of the determination unit. It is characterized by comprising an arithmetic processing means for selecting an arithmetic processing method.

[作用] 上記手段において、この発明の画像処理装置は、判断
手段において外部より入力される画像データの転送速度
を判断して画像転送周期を求め、画像転送周期の1演算
単位における画像メモリ手段のアクセス可能な回数を判
定し、この判定結果に基づいて演算処理手段においては
メモリ手段の可能なアクセス回数に対応して最適な演算
処理方式を選択して画像データに演算処理を加えること
により最適な画像処理装置を実施している。
[Operation] In the above means, the image processing apparatus of the present invention determines the image transfer cycle by determining the transfer speed of the image data input from the outside in the judging means, and the image memory means in the operation unit of the image transfer cycle determines the image transfer cycle. The number of times of access is determined, and based on the result of the determination, the arithmetic processing means selects the optimal arithmetic processing method corresponding to the number of times the memory means can be accessed, and adds the arithmetic processing to the image data to determine the optimum number. Implements an image processing device.

[実施例] 以下、図面を参照しながらこの発明の実施例を説明す
る。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例に係る画像処理装置のブ
ロック図である。図において、(3)は画像データを格
納する画像メモリ、(7)は第1の入力端子(13)から
入力された画像データと第2の入力端子(14)から入力
された画像データの転送速度情報に基づいて画像処理演
算を実施して演算結果を出力端子(15)より出力データ
として送出する処理部、(1)は処理部(7)において
第1の画像処理演算を実行する第1の演算部、(2)は
処理部(7)において第2の画像処理演算を実行する第
2の演算部、(6)は第2の入力端子(14)からのデー
タ転送速度情報に基づいて演算処理方式を選択する判断
部、(5)は第1の入力端子(13)からの画像データを
判断部(6)からの信号に基づいて第1の演算部(1)
または第2の演算部(2)に導入する1−2セレクタ、
(4)は画像メモリ(3)へのアクセスデータを判断部
(6)からの信号に基づいて第1の演算部(1)または
第2の演算部(2)に接続する2−1セレクタ、(8)
は画像メモリ(3)へのアドレスを第1の演算部(1)
から与えるか第2の演算部(2)から与えるかを判断部
(6)からの信号に基づいて設定する2−1セレクタ、
(9)は出力端子(15)への出力データを第1の演算部
(1)から導出するか第2の演算部(2)から導出する
かを判断部(6)からの信号に基づいて選択する2−1
セレクタである。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. In the figure, (3) is an image memory for storing image data, (7) is transfer of image data input from the first input terminal (13) and image data input from the second input terminal (14). A processing unit that performs an image processing operation based on the speed information and sends the operation result as output data from an output terminal (15); (1) a first image processing operation in a processing unit (7); (2) is a second operation unit that executes the second image processing operation in the processing unit (7), and (6) is based on the data transfer rate information from the second input terminal (14). A judging section for selecting a calculation processing method, (5) a first calculating section (1) based on a signal from the judging section (6) for image data from the first input terminal (13).
Alternatively, a 1-2 selector introduced into the second arithmetic unit (2),
(4) is a 2-1 selector that connects access data to the image memory (3) to the first calculation unit (1) or the second calculation unit (2) based on the signal from the determination unit (6), (8)
Is an address to the image memory (3) for the first arithmetic unit (1)
2-1 selector for setting whether to give from the second calculation unit (2) or from the second calculation unit (2),
(9) determines whether to derive the output data to the output terminal (15) from the first arithmetic unit (1) or the second arithmetic unit (2) based on a signal from the judging unit (6). 2-1 to select
It is a selector.

以上のような構成において、次にその動作を説明す
る。
The operation of the above arrangement will be described below.

処理部(7)に第1の入力端子(13)を通じて画像デ
ータが入力される場合、併せて第2の入力端子(14)か
らデータ転送速度情報が判断部(6)に入力される。デ
ータ転送速度を入力された判断部(6)は転送速度の逆
数である画像転送周期GSを求め、この画像転送周期GSの
間に画像メモリ(3)を2回以上リード/ライトできる
か否かを判断し、、判断結果に基づき2−1セレクタ
(4)、(8)、(9)、1−2セレクタ(5)に選択
信号を与える。
When image data is input to the processing unit (7) through the first input terminal (13), data transfer rate information is also input to the determination unit (6) through the second input terminal (14). The determination unit (6), which has been input with the data transfer rate, obtains the image transfer cycle GS which is the reciprocal of the transfer rate, and whether or not the image memory (3) can be read / written twice or more during this image transfer cycle GS. And based on the result of the determination, a selection signal is given to the 2-1 selectors (4), (8), (9) and 1-2 selector (5).

以上の判断の結果、画像転送周期GSの間に画像メモリ
(3)を2回以上リード/ライトできると判断された場
合、入力された画像データの画素データG(x,y+1)
を1−2セレクタ(5)を通じて第1の演算部(1)に
入力し、2−1セレクタ(4)、(8)を通じて画像メ
モリ(3)を第1の演算部(1)に接続し、第1の演算
部(1)の演算結果を2−1セレクタ(9)を通じて出
力端子(15)に接続する。その結果、第1の演算部
(1)は画像メモリ(3)から画素データG(x+1,
y)、G(x,y−1)を読み出し、読み出した画素データ
G(x+1,y)を遅延してG(x,y)、G(x−1,y+
1)を作成して AGo(x,y) =G(x,y)+[G(x,y) −1/4{G(x−1,y) +G(x+1,y)+G(x,y+1) +G(x,y−1)}] …(3) なる、(2)式と同様の演算処理を実行して演算結果AG
o(x,y)を得て、これを2−1セレクタ(9)から出力
端子(15)に出力データとして送出する。
As a result of the above determination, when it is determined that the image memory (3) can be read / written more than once during the image transfer cycle GS, the pixel data G (x, y + 1) of the input image data
Is input to the first arithmetic unit (1) through the 1-2 selector (5), and the image memory (3) is connected to the first arithmetic unit (1) through the 2-1 selectors (4) and (8). , The calculation result of the first calculation unit (1) is connected to the output terminal (15) through the 2-1 selector (9). As a result, the first arithmetic unit (1) outputs the pixel data G (x + 1, 1) from the image memory (3).
y) and G (x, y−1) are read, and the read pixel data G (x + 1, y) is delayed to G (x, y), G (x−1, y +).
1) is created and AGo (x, y) = G (x, y) + [G (x, y) -1/4 {G (x-1, y) + G (x + 1, y) + G (x, y + 1) + G (x, y-1)}] (3) The same calculation process as in the formula (2) is executed, and the calculation result AG
O (x, y) is obtained and sent from the 2-1 selector (9) to the output terminal (15) as output data.

一方、判断部(6)による判断の結果、画像転送周期
GSの間に画像メモリ(3)を2回以上リード/ライトで
きないと判断された場合、入力された画像データの画素
データG(x,y+1)を1−2セレクタ(5)を通じ
て、第2の演算部(2)、2−1セレクタ(4)、
(8)を通じて画像メモリ(3)を第2の演算部(2)
に接続し、第2の演算部(2)の演算結果を2−1セレ
クタ(9)を通じて出力端子(15)に接続する。その結
果、第2の演算部(2)は画像メモリ(3)から画素デ
ータG(x+1,y)を読み出し、読み出した画素データ
G(x+1,y)を遅延してG(x,y)、G(x−1,y)を
作成して BGo(x,y) =G(x,y)+[G(x,y) −1/3{G(x−1,y)+G(x+1,y) +G(x,y+1)}] …(4) なる、(1)式と同様の演算処理を実行して演算結果BG
o(x,y)を得て、これを2−1セレクタ(9)から出力
端子(15)に出力データとして送出する。
On the other hand, as a result of the judgment by the judgment unit (6), the image transfer cycle
When it is determined that the image memory (3) cannot be read / written more than once during GS, the pixel data G (x, y + 1) of the input image data is transferred to the second selector (5) through the second selector (5). Arithmetic unit (2), 2-1 selector (4),
The image memory (3) is connected to the second arithmetic unit (2) through (8).
And the calculation result of the second calculation unit (2) is connected to the output terminal (15) through the 2-1 selector (9). As a result, the second calculation unit (2) reads the pixel data G (x + 1, y) from the image memory (3), delays the read pixel data G (x + 1, y), and then G (x, y), G (x-1, y) is created and BGo (x, y) = G (x, y) + [G (x, y) -1/3 {G (x-1, y) + G (x + 1, y) + G (x, y + 1)}] (4) The same calculation process as in formula (1) is executed and the calculation result BG
O (x, y) is obtained and sent from the 2-1 selector (9) to the output terminal (15) as output data.

以上のような処理を通じて、処理部(7)は第1の入
力端子(13)から入力される画像データのデータ転送速
度情報を第2の入力端子(14)から得て判断部(6)で
画像転送周期GSを演算し、画像メモリ(3)への画像デ
ータのアクセス回数を判断して、第1の演算部(1)ま
たは第2の演算部(2)を選択して、画像データの転送
速度に合致した最適な演算処理を行なわせるため、良好
な画像処理結果を得ることを可能としている。
Through the above processing, the processing unit (7) obtains the data transfer rate information of the image data input from the first input terminal (13) from the second input terminal (14), and then the determination unit (6). The image transfer cycle GS is calculated, the number of times the image data is accessed to the image memory (3) is determined, and the first calculation unit (1) or the second calculation unit (2) is selected to save the image data. Since the optimum arithmetic processing matching the transfer speed is performed, it is possible to obtain a good image processing result.

なお、上記実施例では輪郭強調処理を例にとって説明
したが、この発明の実施はこれに限定されるものではな
く、画像メモリを用いて1ライン分又は2ライン分の画
像データを保管し、この保管データを用いて演算処理を
行なわせるような場合に有効に適用可能なものである。
また、上記実施例では演算方式として2種類の中から選
択する構成を例示したが、選択可能な演算方式が3種類
以上であっても同様に適用可能なことは言うまでもな
い。また、演算方式の選択もハードウエアの選択ではな
くソフトウエアにおける演算ルーチンの選択であっても
良い。
In the above embodiment, the edge enhancement processing is described as an example, but the embodiment of the present invention is not limited to this, and the image memory is used to store image data for one line or two lines. It can be effectively applied to a case where arithmetic processing is performed using stored data.
Further, in the above-described embodiment, the configuration of selecting from two types as the calculation method has been illustrated, but it goes without saying that the same is applicable even if there are three or more selectable calculation methods. Further, the selection of the calculation method may be the selection of the calculation routine in software instead of the selection of the hardware.

[発明の効果] 以上述べたように、この発明によれば、入力画像デー
タの転送速度に応じて画像処理演算における画像メモリ
へのアクセス可能回数を判断し、判断可能に基づいて演
算処理方式を変えることにより、画像データの転送速度
のそれぞれに対応して最も高画質化した演算処理を実施
できる画像処理装置が得られる効果がある。
As described above, according to the present invention, the number of times the image memory can be accessed in the image processing operation is determined according to the transfer speed of the input image data, and the operation processing method is determined based on the determination. By changing it, it is possible to obtain an image processing apparatus capable of performing the arithmetic processing with the highest image quality corresponding to each transfer rate of image data.

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

第1図はこの発明の一実施例に係る画像処理装置のブロ
ック図、第2図は1ラインの画像データに基づく演算処
理方式を説明するためのタイムチャート、第3図は2ラ
インの画像データに基づく演算処理方式を説明するため
のタイムチャート、第4図は任意の画素データに対して
1ライン分の関連処理で輪郭強調する場合の画素配列の
説明図、第5図は任意の画素データに対して2ライン分
の関連処理で輪郭強調する場合の画素配列の説明図、第
6図では従来の画像処理装置を含む演算回路部のブロッ
ク図、第7図は第6図の構成から輪郭強調機能部分を抜
き出して示す部分ブロック図である。 図において、(1)は第1の演算部、(2)は第2の演
算部、(3)は画像メモリ、(4)は2−1セレクタ、
(5)は1−2セレクタ、(6)は判断部、(7)は処
理部、(8)、(9)は2−1セレクタ、(11)は輪郭
強調回路、(12)は輪郭強調ラインメモリ、(13)は第
1の入力端子、(14)は第2の入力端子、(15)は出力
端子である。 なお、図中、同一符号は同一、または相当部分を示す。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention, FIG. 2 is a time chart for explaining an arithmetic processing system based on image data of 1 line, and FIG. 3 is image data of 2 lines. 4 is a time chart for explaining an arithmetic processing system based on FIG. 4, FIG. 4 is an explanatory view of a pixel array in the case of performing edge enhancement on an arbitrary pixel data by a related process for one line, and FIG. 5 is an arbitrary pixel data. In contrast, FIG. 6 is an explanatory view of a pixel array in the case where contours are emphasized by a related process for two lines, FIG. 6 is a block diagram of an arithmetic circuit unit including a conventional image processing device, and FIG. It is a partial block diagram which extracts and shows an emphasis function part. In the figure, (1) is a first arithmetic unit, (2) is a second arithmetic unit, (3) is an image memory, (4) is a 2-1 selector,
(5) is a 1-2 selector, (6) is a judgment section, (7) is a processing section, (8) and (9) are 2-1 selectors, (11) is an edge enhancement circuit, and (12) is edge enhancement. A line memory, (13) is a first input terminal, (14) is a second input terminal, and (15) is an output terminal. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】外部より入力される画像データを一時保管
する画像メモリ手段と、前記画像データの転送速度を判
断して画像転送周期における前記画像メモリ手段のアク
セス可能回数を判定する判断手段と、前記判断手段の判
定に基づいて前記画像メモリ手段の可能なアクセス回数
に適合する演算処理方式を選択する演算処理手段を備え
ることを特徴とする画像処理装置。
1. An image memory means for temporarily storing image data inputted from the outside, and a judging means for judging a transfer speed of the image data to judge an accessible number of times of the image memory means in an image transfer cycle. An image processing apparatus comprising: an arithmetic processing unit that selects an arithmetic processing method suitable for the number of possible accesses to the image memory unit based on the determination of the determination unit.
JP2162486A 1990-06-19 1990-06-19 Image processing device Expired - Lifetime JP2519821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2162486A JP2519821B2 (en) 1990-06-19 1990-06-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2162486A JP2519821B2 (en) 1990-06-19 1990-06-19 Image processing device

Publications (2)

Publication Number Publication Date
JPH0451377A JPH0451377A (en) 1992-02-19
JP2519821B2 true JP2519821B2 (en) 1996-07-31

Family

ID=15755533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2162486A Expired - Lifetime JP2519821B2 (en) 1990-06-19 1990-06-19 Image processing device

Country Status (1)

Country Link
JP (1) JP2519821B2 (en)

Also Published As

Publication number Publication date
JPH0451377A (en) 1992-02-19

Similar Documents

Publication Publication Date Title
KR101386767B1 (en) Apparatus and method for displaying a warped version of a source image
US4607340A (en) Line smoothing circuit for graphic display units
EP0827082B1 (en) Semiconductor memory having arithmetic function
JP2519821B2 (en) Image processing device
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JPH04294166A (en) Image processor
US5062142A (en) Data processor producing a medial axis representation of an extended region
US6307969B1 (en) Dynamic image encoding method and apparatus
US6108746A (en) Semiconductor memory having an arithmetic function and a terminal arrangement for coordinating operation with a higher processor
JP2946360B2 (en) Image data interpolation method and apparatus
JPH11168610A (en) Image processor
US6882345B2 (en) Method and system for efficiently loading primitives into processors of a graphics system
JP2523687Y2 (en) Image data processing device
JP3212664B2 (en) Image processing device
JP3093359B2 (en) Line buffering processing circuit
JP2000148965A (en) Image processor
JPH0443761A (en) Picture processor
JP2903175B2 (en) Image processing device
JPH04100179A (en) Image processor
JP3061830B2 (en) Image processing device
JPH0371326A (en) Scanning adding device
EI-Din et al. Rapid video data capture and processing system for computer image measurement and analysis
JPH08202861A (en) Data processor
JPH06301595A (en) Address generation device for picture memory
JPS5945577A (en) Addressing system of picture memory