JPS61184967A - Image processor - Google Patents

Image processor

Info

Publication number
JPS61184967A
JPS61184967A JP2349585A JP2349585A JPS61184967A JP S61184967 A JPS61184967 A JP S61184967A JP 2349585 A JP2349585 A JP 2349585A JP 2349585 A JP2349585 A JP 2349585A JP S61184967 A JPS61184967 A JP S61184967A
Authority
JP
Japan
Prior art keywords
image data
register
stored
image
picture data
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
JP2349585A
Other languages
Japanese (ja)
Inventor
Takashi Nimata
二俣 隆
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 JP2349585A priority Critical patent/JPS61184967A/en
Publication of JPS61184967A publication Critical patent/JPS61184967A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To process two-dimensional picture data arrangement of optional row numbers, by providing the 1st, 2nd, and 3rd buffer memories for temporarily storing picture data in the unit of line and reading out two-dimensional picture data stored in a picture image memory one by one, and then, inputting the read out data in any one of the 1st, 2nd, and 3rd buffer memories by switching in accordance with the position of each data occupying in the two-dimensional picture data. CONSTITUTION:When the 1st, 2nd, and 3rd buffer memories are used by dividing each of them into two parts, picture data of six lines quantity can be stored simultaneously. When it is contrived that picture data of twelve lines quantity can be stored simultaneously by dividing each of the buffer memories into four parts, even values of (nXn) picture data (7<=n<=12) around picture data noticed by processed picture data can be calculated. Moreover, when this image processor is used, processing for calculating value of (nXn) picture data around picture data noticed by processed picture data about an optical (n) (n: a positive integer) becomes possible.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、入力し文面像データを記憶し、そのデータ
を処理する画像処理装置に関するものでめる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an image processing device that stores input text image data and processes the data.

〔従来の技術〕[Conventional technology]

従来の画像処理装置の構成を第9図に示す。図において
、1は画像処理装置に画像データを入力する画像入力装
置、2は入力さnた画像データを記憶する画像メモリ、
3は画像データを一時記憶する第1のシフトレジスタ、
4は第2のシフトレジスタ、5は第3のシフトレジスタ
である。また、6は1個の画像データを一時記憶する第
1のレジスタ、7は第2のレジスタ% 8は第3のレジ
スタ、9は第4のレジスタ、10は第5のレジスタ、1
)は第6のレジスタ、12は第7のレジスタ、13は第
8のレジスタ% 14は第9のレジスタ、15は前記第
1〜第9のレジスタに記憶さrL7を画像データを順に
1つずつ読み出すマルチプレクサ、16は前記マルチプ
レクサ15により読み出された画像データを処理する画
像データ処理回路% 1Tは前記画像データ処理回路1
6によって処理された結果の画像データを画像メモリ2
に格納するコントローラでるる。
FIG. 9 shows the configuration of a conventional image processing device. In the figure, 1 is an image input device that inputs image data to the image processing device; 2 is an image memory that stores the input image data;
3 is a first shift register that temporarily stores image data;
4 is a second shift register, and 5 is a third shift register. Also, 6 is the first register that temporarily stores one image data, 7 is the second register, 8 is the third register, 9 is the fourth register, 10 is the fifth register, 1
) is the sixth register, 12 is the seventh register, 13 is the eighth register, 14 is the ninth register, and 15 is stored in the first to ninth registers. A reading multiplexer, 16 is an image data processing circuit that processes the image data read out by the multiplexer 15; 1T is the image data processing circuit 1;
The image data processed by 6 is stored in image memory 2.
The controller to be stored in Ruru.

IL第2図は画像メモリ2に記憶された処理対象の2次
元画像データ配列の模式図である。図中、1行j列にる
る画像データをS(i、j)として記している。この画
像データS(i、j)が。
FIG. 2 is a schematic diagram of a two-dimensional image data array to be processed stored in the image memory 2. In the figure, the image data in the 1st row and the jth column is indicated as S(i,j). This image data S(i,j) is.

この画像処理装置の制御単位となる。It becomes a control unit of this image processing device.

第3図は、前記画像メモリ2に格納さnる第2図の画像
データS(i、j)に対する処理結果の2久元画像デー
タ配列の模式図で、1行j列にある画像データt−D(
i、j)と記している。
FIG. 3 is a schematic diagram of a two-dimensional image data array as a result of processing the image data S (i, j) of FIG. −D(
i, j).

以下、この画像処理装置の動作について説明する。まず
、この画像処理装置は、第2図に示した任意の画像デー
タS(i、j)に着目し、この画像データと近傍8個の
画像データ5(i−1,j−1)、5(i−1,j)、
5(i−1,j+1)。
The operation of this image processing device will be explained below. First, this image processing device focuses on arbitrary image data S (i, j) shown in FIG. (i-1,j),
5(i-1,j+1).

S(i、j−1)、S(i、j+1)、S(i+1、j
−1)、S(i+1.j)、S(t+1.j+1)とで
算出さnる画像データを第3図の対応する画像データD
(i、j)として画像メモリ2に格納する処理を行なう
。ただし処理対象の2次元画像データの列数tn(nは
正の整数)、第1のシフトレジスタ3〜第3のシフトレ
ジスタ5にそn−t′n同時に記憶する画像データの数
をbitは正の整数)とすると、nとtとは(1)式を
満足する。
S(i, j-1), S(i, j+1), S(i+1, j
−1), S(i+1.j), and S(t+1.j+1) as the corresponding image data D in FIG.
Processing is performed to store the image in the image memory 2 as (i, j). However, the number of columns tn (n is a positive integer) of the two-dimensional image data to be processed, and the number of image data to be simultaneously stored in the first shift register 3 to third shift register 5 are expressed as bits. positive integer), n and t satisfy equation (1).

n = t +3         ・・・・・・(1
)そこで、処理対象の画像データは、S(1,1)。
n = t + 3 (1
) Therefore, the image data to be processed is S(1,1).

S(1+2)*”・+S(1+n)+S(2+1)+8
(2,2)、・・・の順に、画像メモリ2から第1のシ
フトレジスタ3に入力され、第1のレジスタ6、第2の
レジスタT、第3のレジスタ8、第2のシフトレジスタ
4、第4のレジスタ9、第5のレジスタ10、第6のレ
ジスタ1).及び第3のシフトレジスタ5.第7のレジ
スタ12.第8のレジスタ13.第9のレジスタ14の
順にシフトレジスタとレジスタ間を移動する。
S(1+2)*”・+S(1+n)+S(2+1)+8
(2, 2), . . . are input from the image memory 2 to the first shift register 3 in the order of the first register 6, the second register T, the third register 8, and the second shift register 4. , fourth register 9, fifth register 10, sixth register 1). and a third shift register5. Seventh register 12. Eighth register 13. Move between shift registers and registers in the order of the ninth register 14.

こりして取込’!n7を画像データS(1,1)が第9
のレジスタ14に達するとS(1,2)は第8のレジス
タ13に、S(1,3)は第7のレジスタ12に、S(
2,1)は第6のレジスタ1)に、S(2,2)は第5
のレジスタ10に、S(2,3)は第4のレジスタ9に
、S(3,1)は第3のレジスタ8に、S(3,2)は
第2のレジスタ7に%S(3,3は第1のレジスタ6に
、それぞれ入力さnることになる。久に第9のレジスタ
14よ)画像データS(1,1)が、第8のレジスタ1
3よりS(1,2)が、第7のレジスタ12より8(1
,3)が、第6のレジスタ1)よりS(2,1)が、第
5のレジスタ10よシS(2,2)が、第4のレジスタ
9よシS(2,3)が、第3のレジスタ8よりS(3,
1)が、第2のレジスタTよ#)8(3,2)が、第1
のレジスタ6よシS(3,3)が、夫々マルチ177丈
15によって順に読出され、画像データ処理回路16に
入力される。ここで画像データ処理回路16は、前記の
入力さnた、画像データの値に従って、処理結果の画像
データD(2,2)を算出する。そして、コントローラ
ITは、処理結果の画像データD(2,2)を、画像メ
モリ2に格納する。仄に画像データS(1,2)が第9
のレジスタ14に、S(1,3)が第8のレジスタ13
[、S(1,4)が第7のレジスタ12に、S(2,2
)が第6のレジスタ1)に、S(2,3)が第5のレジ
スタ10に、S(2,4)が第4のレジスタ9に、S(
3,2)が第3のレジスタ8に、S(3,3)が第2の
レジ:x、タフttc、S(3、4)が81のレジスタ
6にそnぞn入力さnる。
Take it in! The image data S(1, 1) is the 9th
When S(1,2) reaches the register 14 of
2,1) is stored in the sixth register 1), and S(2,2) is stored in the fifth register 1).
S(2,3) is stored in the fourth register 9, S(3,1) is stored in the third register 8, S(3,2) is stored in the second register 7, S(2,3) is stored in the fourth register 9, S(3,2) is stored in the second register 7. , 3 are respectively input to the first register 6.The image data S(1,1) is input to the eighth register 14)
S(1,2) from 3, 8(1, 2) from the seventh register 12
, 3), S(2, 1) from the sixth register 1), S(2, 2) from the fifth register 10, S(2, 3) from the fourth register 9, From the third register 8, S(3,
1) is the second register T and #)8(3,2) is the first register T.
The registers 6 and S(3, 3) are sequentially read out by the multi-layer 177 15 and input to the image data processing circuit 16. Here, the image data processing circuit 16 calculates the image data D(2, 2) as a processing result according to the input image data values described above. Then, the controller IT stores the image data D(2, 2) as a result of the processing in the image memory 2. The image data S (1, 2) is slightly
S(1,3) is in the eighth register 13
[, S(1, 4) is stored in the seventh register 12, S(2, 2
) is stored in the sixth register 1), S(2, 3) is stored in the fifth register 10, S(2, 4) is stored in the fourth register 9, S(
3, 2) is input to the third register 8, and S (3, 3) is input to the second register: x, tough ttc, S (3, 4) is input to the register 6 of 81.

仄に第9のレジスタ14よシ前記の画像データS(1,
2)が、第8のレジスタ13よりS(1,3)が、第7
のレジスタ12より8(1,4)が、第6のレジスタ1
)よシS(2,2)が、第5のレジスタ10より8(2
,3)が、第4のレジスタ9より8(2,4)が、第3
のレジスタ8よシS(3,2)が、第2のレジスタ7よ
シS(3,3)が、第1のレジスタ6よシS(3,4)
が、マルチプレクサ15によって順に読出され、画像デ
ータ処理回路16に入力さnる。すると画像データ処理
回路16は、入力さnたこれらの画像データの値に従っ
て、処理結果の画像データD(2,3)を算出する。コ
ントローラ17は、処理結果の画像データD(2,3)
を、画像メモリ2に格納する。同様にして全ての処理結
果の画像データD(ilj)(i=2.3.・ 、m−
1゜j=2 、3 、・・・、n−1)を算出し、画像
メモリ2に格納する。
The image data S(1,
2) is S(1,3) from the eighth register 13.
8 (1, 4) from register 12 of 6th register 1
), S(2,2) is converted to 8(2,2) from the fifth register 10.
, 3) from the fourth register 9, 8(2, 4) is the third
register 8 to S(3,2), second register 7 to S(3,3), first register 6 to S(3,4)
are sequentially read out by the multiplexer 15 and input to the image data processing circuit 16. Then, the image data processing circuit 16 calculates image data D(2,3) as a processing result according to the values of these input image data. The controller 17 receives image data D(2,3) as a result of processing.
is stored in the image memory 2. In the same way, image data D(ilj) (i=2.3.・, m−) of all processing results
1°j=2, 3, . . . , n-1) is calculated and stored in the image memory 2.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の画像処理装置は1以上のように構成されていたの
で第1のシフトレジスタ3〜第3のシフトレジスタ5に
そnぞn同時に記憶さnる画像データの個数1に1.処
理対象の2久元画像データ配列の列数1:nとすると、
tとnは上述の(1)式を満足する必要があり、処理対
象の2矢元画像データ配列の列数は(t+3)に固定さ
nる。従って、任意の列数をもつt2久元画像データ配
列全処理することは不可能でおるという問題点があり尺
Since the conventional image processing apparatus is configured with one or more pieces of image data, the number of pieces of image data stored simultaneously in the first shift register 3 to third shift register 5 is 1 to 1. Assuming that the number of columns in the 2-dimensional image data array to be processed is 1:n,
t and n must satisfy the above-mentioned formula (1), and the number of columns of the two-arrow image data array to be processed is fixed to (t+3). Therefore, there is a problem in that it is impossible to process the entire t2-dimensional image data array with an arbitrary number of columns.

また、処理結果の画像データは、着目し72−3 x3
個の画像データにより算出されるデータ処理のみが可能
でおり、処理結果の画像データが、着目した画像データ
を含むNXN個(Nは任意の正の整数)の画像データに
より算出さnるようたデータ処理は不可能でるるという
問題点がめった。
In addition, the image data of the processing result is 72-3 x 3
It is possible to process only data calculated using NxN image data including the image data of interest. The problem was that data processing was impossible.

この発明は、上記のような問題点を解消するためになさ
れ7j%ので、処理結果の画像データが、着目した画像
データを中心とするNXN個(Nは任意の正の整数)の
画像データによル算出されるようなデータ処理t%可能
とすること、および任意の列数をtつ7t2次元画像デ
ータ配列の処理をも可能とすることを目的とするもので
ある。
This invention was made to solve the above-mentioned problems, so that the image data as a result of processing is divided into NXN (N is any positive integer) image data centered on the image data of interest. The purpose of this invention is to enable data processing such as t% to be calculated based on the total number of columns, and to also enable processing of a two-dimensional image data array with an arbitrary number of columns of t and 7t.

〔問題点を解決する丸めの手段〕 この発明にかかる画像処理装置は、画像メモリに記憶さ
rL、た2次元画像データを1つずつ読出し記憶する第
1のレジスタと、2次元画像データにおいて行単位の画
像データを一時記憶する第1゜第2.第3のバックアメ
モリと、各バッファメモリに記憶された画像データを読
出し記憶する第2Ij43.第4のレジスタと、第1の
レジスタに記憶さrした画像データを、この画像データ
が2次元画像データにおいて占める位置に応じて、第1
.第2、第3のバッファメモリのいずnかのバッファメ
モリに切換えて入力し、17t、処理結果の画像データ
を画像メモリに格納する制御手段とを設けたものである
[Rounding means for solving the problem] The image processing device according to the present invention includes a first register that reads and stores two-dimensional image data stored in an image memory one by one, and a first register that reads out and stores two-dimensional image data one by one; 1st and 2nd for temporarily storing unit image data. a third backup memory, and a second Ij 43. which reads and stores image data stored in each buffer memory. The image data stored in the fourth register and the first register is stored in the first register according to the position that this image data occupies in the two-dimensional image data.
.. The apparatus is provided with a control means for switching to and inputting image data to either the second or third buffer memory, and storing image data as a result of processing in the image memory (17t).

〔作用〕[Effect]

この発明においては、第1.第2.第3のパックアメモ
リは、2次元画像データにおいて着目した画像データの
行を中心とするN行分の画像データを分担して記憶する
。例えばNを5とし、着目した画像データをS(t、j
)とすると、第(l−2)行の画像データは第1のバッ
ファメモリに、第(i−1)行の画像データll1W、
2のバッファメモリに、第1行の画像データは第3のバ
ックアメモリに、続いて第(i+i)行の画像データは
第1のバッフアメそりに、第(i + 2 )行の画像
データは第2のバックアメモリに、そnぞれ格納する。
In this invention, 1. Second. The third pack memory stores image data for N rows centered on the row of image data of interest in the two-dimensional image data. For example, if N is 5, the image data of interest is S(t,j
), the image data of the (l-2)th row is stored in the first buffer memory, and the image data of the (i-1)th row are ll1W,
The image data of the first row is stored in the third backup memory, the image data of the (i+i)th row is stored in the first buffer memory, and the image data of the (i + 2)th row is stored in the third buffer memory. The data are stored in the second backup memory, respectively.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。図中
第9図と同一の部分は同一の符号をもって図示した第1
図において% 18は第1のレジスタで画像メモリ2に
記憶さnた画像データを1つずつ読出し記憶する。19
は第1のバックアメモリ% 20は第2のバックアメモ
リ、2)は第3のバッファメモリで、各パックアメモリ
はコントロ−ラ1Tから出力さnるアドレスデータおよ
び書込み制御データに従って第1のレジスタ18に記憶
さn北面像データを読出して記憶する、マフtは記憶し
ていた画像データを出力する。22は第2のレジスタで
、前記第1のバッファメモリから出力された画像データ
を記憶する。23は第3のレジスタで、第2のバッファ
メモリから出力された画像データを記憶する。24は第
4のレジスタで。
An embodiment of the present invention will be described below with reference to the drawings. In the figure, the same parts as in Fig. 9 are designated by the same reference numerals.
In the figure, %18 is a first register that reads and stores the image data stored in the image memory 2 one by one. 19
is the first backup memory%, 20 is the second backup memory, 2) is the third buffer memory, and each backup memory is stored in the first register according to the address data and write control data output from the controller 1T. The muff t outputs the stored image data. A second register 22 stores the image data output from the first buffer memory. A third register 23 stores image data output from the second buffer memory. 24 is the fourth register.

第3のバッファメモリから出力された画像データを記憶
する。
Image data output from the third buffer memory is stored.

以下、この画像処理装置の動作を説明する。まず第2図
の画像データを処理して第3図の画像データを得る例に
ついて説明する。第3図の画像データD(i、j)は、
第2図の画像データS(1゜j)に着目し、S(i、j
)を中心とする5×5画像データの値に従って算出さn
る。そして、第1、第2.第3のバッファメモリ19,
20.2)にそn(″n記憶できる画像データの個数を
1<1は正の整数)とする。
The operation of this image processing device will be explained below. First, an example of processing the image data of FIG. 2 to obtain the image data of FIG. 3 will be described. The image data D(i, j) in FIG. 3 is
Focusing on the image data S(1°j) in Fig. 2, S(i,j
) is calculated according to the value of 5 × 5 image data centered on n
Ru. And the first, second... third buffer memory 19,
20.2) Let the number of image data that can be stored be n (1<1 is a positive integer).

第4図は、画像メモリ2に記憶された第2図の2次元画
像データの第1行から第5行の画像データが、第1)第
2.第3のバッファメモリ19゜20.2)に夫々入力
され、続いて、コントローラ1TからアドレスデータI
01が出力さn第1のバッファメモリ19から第2のレ
ジスタ22へ画像データS(1,1)が、第2のバッフ
ァメモリ20から第3のレジスタ23へ画像データS 
(2゜1)が、第3のバッファメモリ2)から第4のレ
ジスタ24へ画像データS(3、1)が、それぞn出力
さn7を時点の画像データの格納状態を示している。こ
こで第1行の画像データは、第1のバッファメモリ19
のアドレスIO1から順に格納さnている。エタ、第2
行の画像データは第2のバッファメモリ20のアドレス
101から順に格納さnている。第3行の画像データは
第3のバッファメモリ2)のアドレス101から順に格
納さnている。第4行の画像データは第1のバッファメ
モリ19のアドレスt/2から順に格納さnている。
FIG. 4 shows that the image data of the first to fifth rows of the two-dimensional image data of FIG. address data I from the controller 1T.
01 is output n Image data S (1, 1) is output from the first buffer memory 19 to the second register 22, and image data S (1, 1) is output from the second buffer memory 20 to the third register 23.
(2°1) indicates the storage state of the image data at the time n7 when the image data S(3, 1) is output from the third buffer memory 2) to the fourth register 24, respectively. Here, the first row of image data is stored in the first buffer memory 19.
are stored in order from address IO1. Etta, 2nd
The image data of the rows are stored in order from address 101 of the second buffer memory 20. The image data in the third row is stored in order from address 101 of the third buffer memory 2). The image data in the fourth row is stored in order from address t/2 in the first buffer memory 19.

第5行の画像データは第2のバッファメモリ20のアド
レスt/2から順に格納さねている。マ窺、第1のレジ
スタ18には第6行の最初の画像データS(6,1)が
格納されている。この後、マルチプレクサ15によシ、
第2のレジスタ22、第3のVラスタ23、第4のレジ
スタ24が順に読出され、画像データS (1、1) 
、 S (2、1)。
The image data in the fifth row is stored in the second buffer memory 20 in order from address t/2. The first image data S(6,1) of the sixth row is stored in the first register 18. After this, the multiplexer 15
The second register 22, third V raster 23, and fourth register 24 are read out in order, and the image data S (1, 1)
, S (2, 1).

S(3、1)の順に画像データ処理回路16へ出力され
る。
The data are output to the image data processing circuit 16 in the order of S(3, 1).

仄に、コントローラ1Tから書込み制御データが出力さ
れ、第1のレジスタ18に記憶された画像データS(6
、1)は第1のバッファメモリ19のアドレスlO1に
格納される。続いて、コントローラ17からアドレスデ
ータL/2が出力され、第1のバッファメモリ19、第
2のバッファメモリ20から画像データS(4,1)、
S(5,1)が出力され、それぞn第2のレジスタ22
、第3のレジスタ23に記憶される。この時点の画像デ
ータ格納の状態を第5図に示した。この後、マルチブレ
クf15によシ第2のレジスタ22、第3のレジスタ2
3が順に読出され、画像データS(4,1)、’S(5
,1)の順に画像データ処理回路16へ出力される。
At the same time, write control data is output from the controller 1T, and the image data S (6
, 1) are stored at address lO1 of the first buffer memory 19. Subsequently, address data L/2 is output from the controller 17, and image data S(4,1),
S (5, 1) are output, respectively n second register 22
, is stored in the third register 23. The state of image data storage at this point is shown in FIG. After this, the second register 22 and the third register 2 are set by the multi-break f15.
3 are read out in order, and the image data S(4,1),'S(5
, 1) are output to the image data processing circuit 16 in this order.

仄に、コントローラ1Tから、アドレスデータ1)1が
出力さn1第1.第2.第3のバッファメモリ19,2
0.2)から、そnぞれ画像データS(1,2)、S(
2,2)、S(3,2)が出力され、それぞれ、第2の
レジスタ22、第3のレジスタ23、第4のレジスタ2
4に記憶される。
Meanwhile, address data 1) 1 is output from the controller 1T. Second. Third buffer memory 19,2
0.2) to image data S(1,2) and S(
2, 2) and S(3, 2) are output, respectively, to the second register 22, third register 23, and fourth register 2.
4 is stored.

この時点の状態を第6図に示した。The state at this point is shown in FIG.

この後、マルテプレク?15により第2のレジスタ22
.第3のレジスタ23.第4のレジスタ24が順に読出
され1画像データS(1,2)lS(2,2)、S(3
,2)の順に画像データ処理回路16へ出力さnる。
After this, Malteplek? 15 to the second register 22
.. Third register 23. The fourth register 24 is sequentially read out and one image data S(1,2), S(2,2), S(3
, 2) are output to the image data processing circuit 16 in this order.

仄に、コントローラ1Tからアドレスデータ(t/2+
1)が出力され、第1)第2のバッファメモリ19.2
0から画像データ19(4,2)、S(5、2)がそれ
ぞれ出力さn、第2のレジスタ22%第3のレジスタ2
3に記憶される。この時点の状態を第7図に示した。こ
の後、マルチプレクサ15により、第2のレジスタ22
%第3のしジスタ23.が順に読出さn1画像データS
(4゜2)、S(5,2)の順に画像データ処理回路1
6へ出力される。
Meanwhile, address data (t/2+
1) is output, the 1st) second buffer memory 19.2
Image data 19 (4, 2) and S (5, 2) are output from 0 to n, second register 22%, third register 2
3 is stored. The state at this point is shown in FIG. After this, the multiplexer 15 selects the second register 22.
%Third register23. are sequentially read out n1 image data S
(4°2), S(5,2) in the order of image data processing circuit 1
6.

同様にして、S(1,3)〜S(5、3) 、S(1,
4)〜S(5,4)、S(1,5)〜S(5,5)が順
に画像データ処理回路16へ出力される。こうして画像
データS(3,3)を中心とする5×5画像データが画
像データ処理回路16に入力され、処理結果の画像デー
タD(3,3)が算出さnる。1)(3,3)はコント
ローラ1Tにより画像メモリ2に格納さnる。
Similarly, S(1,3) to S(5,3), S(1,
4) to S(5,4) and S(1,5) to S(5,5) are sequentially output to the image data processing circuit 16. In this way, 5×5 image data centered around image data S(3,3) is input to the image data processing circuit 16, and image data D(3,3) as a processing result is calculated. 1) (3, 3) is stored in the image memory 2 by the controller 1T.

以上は、処理結果の画像データD(3,3)t−算出し
1画像メモリ2に格納する1での動作説明でおる。この
間、第1のパックアメモリ19において、画像データS
(6,1)が画像データS(1,1)にとって代わる。
The above is an explanation of the operation in step 1 in which the image data D(3,3)t- of the processing result is calculated and stored in the one-image memory 2. During this time, in the first pack memory 19, the image data S
(6,1) replaces image data S(1,1).

同様にして、画像データS(3,4)を中心とする5×
5画像データが、S(1,2)〜S(5゜2)、S(1
,3)〜S(5,3)、S(1,4)〜S(5,4)、
S(1,5)〜S(5,5)。
Similarly, 5× centering on image data S(3,4)
5 image data are S(1,2) to S(5°2), S(1
,3)~S(5,3),S(1,4)~S(5,4),
S(1,5) to S(5,5).

S(1,6)〜S(5,6)の順に第1.第2゜第3の
バッファメモリから読出され、画像データ処理回路16
へ出力される。処理結果の画像データD(3,4)はコ
ントローラ1Tにより画像メモリ2に格納さnる。この
間、第1のバッファメモリ19において1画像データS
(6,2)が画像データS(1,2)Kとって代わる。
The first .S(1,6) to S(5,6) The image data processing circuit 16 is read out from the second and third buffer memories.
Output to. The image data D(3, 4) resulting from the processing is stored in the image memory 2 by the controller 1T. During this time, one image data S is stored in the first buffer memory 19.
(6,2) replaces the image data S(1,2)K.

同様にして、第3図の処理結果の画像データの中、第3
行の画像データが全て算出され終わり窺時点で、第1の
バッファメモリ19において、画像データS(6,1)
〜S(6,n)が、画像データS(1、1) 〜S(1
、n)Icとって代わっている。仄に、画像データD(
4、3)を算出するためコントローラ17から、アドレ
スデータI01が出力さn、第1.第2.第3のバッフ
ァメモリ19.20.2)から、そnぞれ画像データS
(6,1)、S(2,1)、S(3,1)が出力さ  
諜れ、それぞれ第2.第3.第4のレジスタ22゜23
.24に記憶される。第8図は、この時点の状態を示し
ている。第1のレジスタ1Bには、第7行の最初の画像
データS(7,1)が格納されている。この後、マルチ
プレクサ15により、第2、!3.第4のレジスタ22
,23.24が順欠読出され、画像データS(6,1)
、S(2゜1)、S(3,1)の順に画像データ処理回
路16に出力さnる。
Similarly, in the image data of the processing result shown in FIG.
When all the image data for a row has been calculated, the image data S(6,1) is stored in the first buffer memory 19.
~S(6,n) is the image data S(1,1) ~S(1
, n) replacing Ic. In addition, image data D (
4, 3), address data I01 is output from the controller 17. Second. From the third buffer memory 19.20.2), the image data S
(6,1), S(2,1), S(3,1) are output.
Spy, each second. Third. Fourth register 22゜23
.. 24. FIG. 8 shows the state at this point. The first image data S(7,1) in the seventh row is stored in the first register 1B. After this, the multiplexer 15 causes the second,! 3. Fourth register 22
, 23 and 24 are read out sequentially, and the image data S(6,1)
, S(2°1), and S(3,1) are output to the image data processing circuit 16 in this order.

久に、コントローラ17から書込み制御データが出力さ
n、第1のレジスタ18に記憶されていた画像データS
(7,1)t−第2のバッファメモリ20のアドレス1
01に格納する。続いて、コントローラ17からアドレ
スデータ(t/2+1)が出力さね、第1.第2のバッ
ファメモリ19.20から、そnぞn画像データS(4
,t)、S(s。
After a while, the write control data is output from the controller 17, and the image data S stored in the first register 18 is
(7,1)t-address 1 of second buffer memory 20
Store in 01. Subsequently, address data (t/2+1) is output from the controller 17, and the first . From the second buffer memory 19.20, each image data S (4
, t), S(s.

1)が出力され、そnぞれ第2.第3のレジスタ22.
23に記憶される。この後マルチプレクサ15により第
2.第3のレジスタ22.23が順に続出さね、画像デ
ータS(4,1)、S(5゜1)の順に画像データ処理
回路16へ出力さnる。
1) are output, and the 2nd . Third register 22.
23. After this, the multiplexer 15 causes the second. The third registers 22 and 23 sequentially output image data S(4,1) and S(5°1) to the image data processing circuit 16 in this order.

同様にして1画像データS(4,3)i中心とする5×
5画像データが、S(6,2)、S(2゜2)〜S(5
,2)、S(6,3)、S(2,3)〜S(5,3)、
S(6,4)、S(2,4)〜S(5,4)、S(6,
5)、S(2,5)〜S(5,5)の順に第1.第2.
第3のバッファメモリ19,40.2)から読出さn1
画像データ処理回路16に出力される。そして処理結果
の画像データD(4,3)はコントローラ17からの制
御指令によシ画儂メモリ2に格納される。この間、第2
のバッファメモリ20において、画像データS(7,1
)が画像データS(2,1)ICとって代わる。
Similarly, 5× centered on one image data S(4,3)i
5 image data are S(6,2), S(2°2) to S(5
,2),S(6,3),S(2,3)~S(5,3),
S(6,4), S(2,4) to S(5,4), S(6,
5), S(2,5) to S(5,5) in the order of the first. Second.
read n1 from the third buffer memory 19, 40.2)
It is output to the image data processing circuit 16. The image data D(4, 3) resulting from the processing is stored in the image memory 2 according to a control command from the controller 17. During this time, the second
In the buffer memory 20 of , image data S(7,1
) replaces the image data S(2,1)IC.

同様にして、第3図の処理結果の画像データの中、第4
行の画像データが全て算出され終わった時点で、第2の
バッファメモリ20において、画像データS(7,1)
 〜S(7,n)が画像データS(2,1) 〜S(2
,n)にとって代わる。
Similarly, in the image data of the processing result shown in FIG.
When all the image data of the row has been calculated, the image data S(7,1) is stored in the second buffer memory 20.
~S(7,n) is the image data S(2,1) ~S(2
, n).

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

以上は、処理結果の画像データが着目した画像データを
中心とする5×5画像データの値により算出される画像
データの処理について説明したが。
The above describes the processing of image data in which the image data of the processing result is calculated from the values of 5×5 image data centered on the image data of interest.

処理結果の画像データが着目し次画像データを中心とす
る4×4画像データの値により算出さnる前記処理、お
よび処理結果の画像データが着目した画像データを中心
とする6×6画像データの値によシ算出さnる前記処理
等が、この画像処理装置を用いることによシ可能となる
The image data of the processing result is calculated based on the value of 4 x 4 image data centered on the next image data, and the image data of the processing result is 6 x 6 image data centered on the focused image data. The above-mentioned processing, which is calculated based on the value of n, becomes possible by using this image processing device.

1m第1.第2.第3のパックアメモリをそnぞrL、
2分割して用いると、6行分の画像データを同時に記憶
できるので、そnぞれ4分割して12行分の画像データ
を同時に記憶できるよ5にすると、処理結果の画像デー
タが着目し次画像データを中心とするnXn画像データ
(7くn≦12)の値をも算出できる効果がある。更に
、この画像処理装置を用いることにより、任意のn(n
は正の整数)について、処理結果の画像データが着目し
た画像データを中心とするnXn画像データの値を算出
する処理1例えば、nXn空間フィルタリング処理、n
Xn論理フィルタリング処理、n×nコード化処理等が
可能となる。
1m 1st. Second. Take the third pack memory,
If you divide it into 2 parts, you can store 6 lines of image data at the same time, so if you divide it into 4 parts and use it, you can store 12 lines of image data at the same time. There is an advantage that the value of nXn image data (7×n≦12) centered on the next image data can also be calculated. Furthermore, by using this image processing device, any n(n
is a positive integer), processing 1 for calculating the value of nXn image data with the image data of the processing result centered on the image data of interest. For example, nXn spatial filtering processing, n
Xn logical filtering processing, n×n encoding processing, etc. are possible.

ILL12第2.第3のバッファメモリにそnぞれ同時
に記憶できる画像データの個数をt(Lは正の整数)と
すると、Lt−超えない任意の列数n(nは正の整数)
をtつt2次元画像データの処理が可能となる等の効果
がろる。
ILL12 2nd. If the number of image data that can be stored simultaneously in the third buffer memory is t (L is a positive integer), then Lt - any number of columns that does not exceed n (n is a positive integer)
Effects such as the ability to process two-dimensional image data are obtained.

【図面の簡単な説明】 第1図はこの発明による画像処理fe置の構成図、第2
図は処理対象の2久元画像データ配列の模式図、第3図
は処理結果の2久元画像データ配列の模式図、第4図、
第5図、第6図、第7図および第8図は、この発明によ
る画像処理装置における画像データの流n、ft説明す
る丸めの模式図、第9図は従来の画像処理装置の構成図
でるる。 図中% 1は画像入力装置、2は画律メそす%15はマ
ルチプレタテ、16は画像データ処理回路、17はコン
トローラ、18は第1のレジスタ、19は第1のバッフ
ァメモリ%20は第2のバッファメモリ、2)は第3の
バッファメモリ、22は第2のレジスタ、23は第3の
レジスタ、24は第4のレジスタでるる。 なお1図中、同一6るいは相当部分には同一符号を何し
ている。
[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a block diagram of an image processing FE device according to the present invention,
The figure is a schematic diagram of a two-dimensional image data array to be processed, FIG. 3 is a schematic diagram of a two-dimensional image data array as a result of processing, and FIG.
5, 6, 7, and 8 are schematic diagrams of rounding to explain the image data flow n and ft in the image processing device according to the present invention, and FIG. 9 is a configuration diagram of a conventional image processing device. Out. In the figure, %1 is an image input device, 2 is an image format, %15 is a multiplexer, 16 is an image data processing circuit, 17 is a controller, 18 is a first register, 19 is a first buffer memory%20 is 2) is a second buffer memory, 2) is a third buffer memory, 22 is a second register, 23 is a third register, and 24 is a fourth register. In Figure 1, the same reference numerals are used for the same 6 or equivalent parts.

Claims (2)

【特許請求の範囲】[Claims] (1)画像データを入力する画像入力装置と、前記画像
データを記憶する画像メモリと、前記画像データの画像
メモリに記憶された2次元画像データを1つずつ読出し
記憶する第1のレジスタと、2次元画像データにおいて
行単位の画像データを一時記憶する第1、第2、第3の
バッファメモリと、前記夫々のバッファメモリに記憶さ
れた画像データを読出し記憶する第2、第3、第4のレ
ジスタと、前記第2、第3、第4のレジスタに夫々記憶
された画像データを順に読出し出力するマルチプレクサ
と、2次元画像データにおいて着目した画像データに対
する処理の結果の画像データが、着目した画像データと
その近傍の画像データとで決まる処理を行なう画像デー
タ処理回路と、前記第1のレジスタに記憶された画像デ
ータが2次元画像データにおいて占める位置に応じて、
前記第1、第2、第3のバッファメモリのうちのいずれ
かのバッファメモリに切換えて入力され、かつ、処理結
果の画像データを前記画像メモリに格納するコントロー
ラとを備えた画像処理装置。
(1) an image input device that inputs image data; an image memory that stores the image data; and a first register that reads and stores two-dimensional image data stored in the image memory one by one; first, second, and third buffer memories that temporarily store image data in units of rows in two-dimensional image data; and second, third, and fourth buffer memories that read and store image data stored in the respective buffer memories. register, a multiplexer that sequentially reads and outputs the image data stored in the second, third, and fourth registers, and image data as a result of processing the image data of interest in the two-dimensional image data. An image data processing circuit that performs processing determined by image data and neighboring image data;
An image processing apparatus comprising: a controller that switches and inputs image data to any one of the first, second, and third buffer memories, and stores image data as a result of processing in the image memory.
(2)着目した画像データに対する処理の結果の画像デ
ータが該着目した画像データを中心とするN×N個の画
像データで決する処理を行なう場合、コントローラから
の指令により該Nが4〜6の時、2分割、Nが7〜12
の時、4分割し、該Nの値に応じて第1、第2、第3の
バッファメモリを等分割し各分割された該第1、第2、
第3のバッファメモリに対し処理に必要な行単位の画像
データを一時記憶させるようにしたことを特徴とする特
許請求の範囲第1項記載の画像処理装置。
(2) When performing a process in which the image data as a result of processing on the image data of interest is determined by N×N image data centered on the image data of interest, a command from the controller determines that N is 4 to 6. Time, divided into 2, N is 7 to 12
Then, the first, second, and third buffer memories are equally divided according to the value of N, and the first, second, and third buffer memories are divided into four.
2. The image processing apparatus according to claim 1, wherein the third buffer memory temporarily stores image data in units of lines necessary for processing.
JP2349585A 1985-02-12 1985-02-12 Image processor Pending JPS61184967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2349585A JPS61184967A (en) 1985-02-12 1985-02-12 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2349585A JPS61184967A (en) 1985-02-12 1985-02-12 Image processor

Publications (1)

Publication Number Publication Date
JPS61184967A true JPS61184967A (en) 1986-08-18

Family

ID=12112077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2349585A Pending JPS61184967A (en) 1985-02-12 1985-02-12 Image processor

Country Status (1)

Country Link
JP (1) JPS61184967A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108369794A (en) * 2015-12-18 2018-08-03 三菱电机株式会社 Data processing equipment, data processing method and data processor
US11557917B2 (en) 2018-12-03 2023-01-17 Astec International Limited Switched mode power supplies with configurable communication addresses

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108369794A (en) * 2015-12-18 2018-08-03 三菱电机株式会社 Data processing equipment, data processing method and data processor
US11557917B2 (en) 2018-12-03 2023-01-17 Astec International Limited Switched mode power supplies with configurable communication addresses

Similar Documents

Publication Publication Date Title
JPS6247786A (en) Exclusive memory for adjacent image processing
JPS6252392B2 (en)
JP3203124B2 (en) Image data value storage method
EP0380521B1 (en) PARALLEL PIPELINE IMAGE PROCESSOR WITH 2x2 WINDOW ARCHITECTURE
JPS61184967A (en) Image processor
JP2001157049A5 (en)
EP0342674A2 (en) Pipeline circuit for timing adjustment
JPS58215813A (en) Digital signal processing device
JPS6162977A (en) Picture processor
JPS6029134B2 (en) Storage device control method
Biswas et al. Cellular architecture for affine transforms on raster images
JPS59189472A (en) Picture processing device
JP4244619B2 (en) Image data processing device
JP3039043B2 (en) Parallel processor
JPS6168636A (en) Data processor
JPS63196984A (en) Image data transfer circuit
JPH0447589A (en) Semiconductor memory
JPH0546736A (en) Visual sensor
JPS61251971A (en) Image processor
JPH04322385A (en) Line memory control circuit
JPH03196257A (en) Vector processor
JPH0226476A (en) Matrix element transposing device
JPH03100773A (en) Data processor
JPH0312752A (en) Picture data access system
JPH02139799A (en) Two-dimensional shift register and dynamic vector detecting arithmetic circuit using the register