JPS60124785A - Picture processing unit - Google Patents

Picture processing unit

Info

Publication number
JPS60124785A
JPS60124785A JP23310783A JP23310783A JPS60124785A JP S60124785 A JPS60124785 A JP S60124785A JP 23310783 A JP23310783 A JP 23310783A JP 23310783 A JP23310783 A JP 23310783A JP S60124785 A JPS60124785 A JP S60124785A
Authority
JP
Japan
Prior art keywords
address
window
bit
memory
bits
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
JP23310783A
Other languages
Japanese (ja)
Inventor
Yukikazu Kaburayama
蕪山 幸和
Yoshihisa Fujii
敬久 藤井
▲はい▼ 東善
Touzen Hai
Eiichiro Yamamoto
山本 栄一郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23310783A priority Critical patent/JPS60124785A/en
Publication of JPS60124785A publication Critical patent/JPS60124785A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators

Abstract

PURPOSE:To attain arithmetic of a window function in high speed by using an address of a specific bit and an address of an adder circuit to access respectively a memory unit. CONSTITUTION:The window consists of 2X2-bit to a picture memory. Then memory units 9, 10-12 being of the same number as the bit number in the window are provided. Moreover, registers 3, 4 and 5 storing the difference between an address of the specific bit in the window and an address of other bits are provided. Adder circuits 6, 7 and 8 adding specific bits at write/read of the memory units are provided. Then the memory units 9-12 are accessed respectively by using the address of the specific bit and the address of the adder circuits 6-8. Thus, all bits in the window of the picture memory are read by one accessing and the result is outputted via a ROM13.

Description

【発明の詳細な説明】 (a)発明の技術分野 本発明は画像処理装置に係り、特に窓演算(例えばi!
!!I像の線を細くする等の処理をする時、処理対象ビ
ットの周辺のビットの状態から演算すること)を高速に
実施することを可能とした画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to an image processing apparatus, and particularly to window operations (eg, i!
! ! The present invention relates to an image processing device that can perform processing such as thinning lines of an I image by performing calculations based on the states of bits surrounding a bit to be processed at high speed.

(b)従来技術と問題点 画像メモリに格納された画像データを加工して、例えば
文字の線を細くするとが、画像の凹凸を平滑にする等の
処理をすることがある。この場合、処理対象となる或ビ
ットを、そのビットの周辺のピントの状態から黒とする
か、又は白とするかを決定する。この時、例えば3×3
ヒント又は2×2ビツト等の画像メモリ上の領域を窓と
し、その窓を移動して演算する。第1図は2×2の窓を
説明する図である。画像メモリ1の処理対象のヒツトを
例えば■とすると、周辺のビットは■、■。
(b) Prior Art and Problems The image data stored in the image memory may be processed to, for example, make the lines of characters thinner, or to smooth out the unevenness of the image. In this case, it is determined whether a certain bit to be processed is made black or white based on the focus state around the bit. At this time, for example, 3×3
An area on the image memory such as a hint or 2×2 bit is used as a window, and the window is moved to perform calculations. FIG. 1 is a diagram illustrating a 2×2 window. For example, if the target to be processed in the image memory 1 is ■, the surrounding bits are ■, ■.

■である。この■〜■のヒツトの状態から■のビットを
黒とするか白とするかを演算して決定する。
■It is. Based on the hit states of ■ to ■, it is calculated and determined whether the bit of ■ is to be black or white.

そして■〜■の4ビ・/トで窓2を構成する。Window 2 is composed of 4 bits from ■ to ■.

従来、上記窓内のビットを読出して演算する場合、画像
メモリ1を4回アクセスするとが、シフトレジスタを用
いるとかの方法が用いられていた。
Conventionally, when reading and calculating the bits within the window, the image memory 1 is accessed four times, and a shift register is used.

しかし、前者は一つの窓2を読出すのにアクセスを4回
行うため画像処理時間が大きくなり、後者は画像メモリ
1上を窓2が順次移動する場合は有効であるが、窓2′
fcランダムに移動させるようなプロセツサを用いた複
雑な処理には適さないという欠点がある。
However, the former requires accessing four times to read one window 2, which increases the image processing time, and the latter is effective when the windows 2 move sequentially on the image memory 1, but the window 2'
It has the disadvantage that it is not suitable for complex processing using a processor that moves fc randomly.

(C,)発明の目的 本発明の目的は上記欠点を除くため、窓内のピント数と
同数のメモリユニットを設け、該メモリユニットの書込
み時又は読出し時に、処理対象のビットに対する周辺ビ
ットのアドレスの差分を与えることにより、−回のアク
セスで窓内の全ビットを読出すことが出来る画像処理装
置を提供することにある。
(C,) Purpose of the Invention The purpose of the present invention is to eliminate the above-mentioned drawbacks by providing the same number of memory units as the number of focal points within the window, and when writing or reading from the memory unit, the address of the peripheral bit for the bit to be processed is An object of the present invention is to provide an image processing device that can read out all bits within a window in - times of access by providing the difference between the two times.

(d)発明の構成一 本発明の構成はビットマツプ状の画像データのあるビッ
トに対してnxnビットの窓演算を行う画像処理装置で
あって、前記窓内のピッ1−数と同数のメモリュニノi
−と、前記窓内の特定ビットのアドレスとその他のビッ
トのアドレスとの差分を記憶する手段と、前記メモリユ
ニットの書込み又は読出し時に前記特定ビットのアドレ
スに前記差分を加算する手段とを設け、前記特定ビット
のアドレスと前記加算手段のアドレスとで前記メモリユ
ニットの各々をアクセスするようにしたものである。
(d) Configuration of the Invention 1 The configuration of the present invention is an image processing device that performs an nxn bit window operation on a certain bit of bitmap-like image data, wherein the memory number i is the same as the number of pins in the window.
- means for storing a difference between the address of a specific bit and the address of other bits within the window, and means for adding the difference to the address of the specific bit when writing or reading from the memory unit; Each of the memory units is accessed using the address of the specific bit and the address of the adding means.

(e)発明の実施例 本発叫は複数のメモリユニットを用い、−回の読出しで
窓内のデータを読出せるようにし、複雑な窓関数の演算
が高速に実施し得るようにしたものである。
(e) Embodiments of the Invention The present invention uses a plurality of memory units to read data within a window in - times, allowing complex window function calculations to be performed at high speed. be.

第2図は本発明の一実施例を示す回路のブロック図であ
る。本実施例は2×2ビツトまたは4×1ビツト等4ビ
ットで構成される窓の場合を示す。
FIG. 2 is a block diagram of a circuit showing one embodiment of the present invention. This embodiment shows the case of a window consisting of 4 bits such as 2x2 bits or 4x1 bits.

従ってメモリユニットは9.10,11.12と4ユニ
ツト使用する。若し3×3ビン1〜の場合は9ユニツト
使用する。端子DIからメモリユニット9〜12に書込
むデータが入る。端子DAからは窓内の処理対象である
特定ピッI・(例えば第1図■)のアドレスが入る。端
子へからは第1図■のアドレスと■のアドレスの差分が
入り、レジスタ3に格納される。又■と■のアドレスの
差分が入り、レジスタ7に格納される。更に■と■のア
ドレスの差分が入り、レジスタ8に格納される。
Therefore, four memory units, 9.10 and 11.12, are used. If there are 3 x 3 bins from 1 onwards, use 9 units. Data to be written into memory units 9 to 12 is input from terminal DI. The address of a specific pin I (for example, ■ in FIG. 1) to be processed within the window is input from the terminal DA. The difference between the address (2) and the address (2) in FIG. 1 is input to the terminal and stored in the register 3. Also, the difference between the addresses of ■ and ■ is entered and stored in the register 7. Furthermore, the difference between the addresses of ■ and ■ is entered and stored in the register 8.

これらの差分はメモリユニット9〜12の構成により定
まるため予め演5’li して格納すれば良い。端子C
,TI−からはレジスタ3〜5の出力を制御する信号が
入り、例えばθ111子CTLが“ビの時レジスタ3〜
5の出力が加算器6,7.8に夫々送出され、“0”の
時は零が送出される。端子DIから入るデータをメモリ
ユニ・ノ1〜9〜12に書込む時端子CTLを例えば“
0”とすると、加算器6〜8の出力は端子DAのアドレ
スと同一のため、このデータはメモリユニット9〜12
の同一アドレスに夫々書込まれる。メモリユニット9〜
12からデータを読出ず時、端子CT Lを“1゛とす
ると、レジスタ3の差分アドレスは加算器6により端子
DAから入る特定しノドのアドレスに加算されてメモリ
ュニノl−10に入り、レジスタ4の差分アドレスは加
算器7により端子DAから入る特定ビットのアドレスに
加算されてメモリユニ・ノド11に入り、レジスタ5の
差分アドレスは加算器8により端子DAから入る特定ヒ
ツトのアドレスに加算されてメモリユニy l・12に
入る。(itっで第1図に示す■のアドレスが端子DA
から入れば■のデータはメモリュニノl−9より、■の
データはメモリユニット10より、■のデータはメモリ
ユニット11より、■のデータはメモリユニット12か
ら夫々続出され、出力DO1,1)02゜DO3,DO
4に夫々送出される。従って■〜■の4画素を同時に読
出ずことが可能である。
Since these differences are determined by the configurations of the memory units 9 to 12, they may be calculated and stored in advance. Terminal C
, TI- input signals to control the outputs of registers 3 to 5. For example, when θ111 child CTL is “B”, registers 3 to 5 are input.
The outputs of 5 are sent to adders 6, 7.8, respectively, and when it is "0", 0 is sent out. When writing data input from terminal DI to memory units 1 to 9 to 12, set terminal CTL to “
0'', the output of adders 6-8 is the same as the address of terminal DA, so this data is stored in memory units 9-12.
are respectively written to the same address. Memory unit 9~
When data is not read from terminal 12, when terminal CT L is set to "1", the differential address of register 3 is added to the specified node address input from terminal DA by adder 6, enters memory node 1-10, and is stored in register 4. The differential address of the register 5 is added by the adder 7 to the address of a specific bit input from the terminal DA and enters the memory unit node 11, and the differential address of the register 5 is added by the adder 8 to the address of a specific bit input from the terminal DA and input to the memory unit Enter y l・12. (The address of ■ shown in Figure 1 is terminal DA.
If input from , the data of ■ is successively output from the memory unit 1-9, the data of ■ is output from the memory unit 10, the data of ■ is output from the memory unit 11, and the data of ■ is output from the memory unit 12, respectively, and the output DO1, 1)02° DO3, DO
4, respectively. Therefore, it is possible to avoid reading out the four pixels ① to ① at the same time.

ROM13はテーブルを記憶しており、前記D01〜D
O4の出力をテーブルを参照して処理す、る場合に利用
する。即ちテーブルで処理する場合更に処理速度を向上
させることが出来る。
The ROM 13 stores a table, and the above D01 to D
It is used when processing the output of O4 by referring to a table. That is, when processing is performed using a table, the processing speed can be further improved.

上記動作は端子CTLを書込み時“0″とし、読出し時
“′lパとしたが、書込め11ろ” 1 ”とし、読出
し時“0″゛としても同様である。又レジスタ3〜5の
値を変えることで4X1等の場合も1ijJ様に実施出
来る。
In the above operation, the terminal CTL is set to "0" when writing and set to "'l" when reading, but the same is true if the terminal CTL is set to "1" when writing and "0" when reading. By changing the values, 4X1 etc. can be implemented in the same way as 1ijJ.

(f)発明の詳細 な説明した如く、本発明は一回のアクセスで画像メモリ
上の窓内のビットを総で読出すことが出来るため、窓関
数の演算を高速に実施出来る。
(f) As described in detail, the present invention can read all the bits within the window on the image memory in one access, and therefore can perform window function calculations at high speed.

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

第1図は2×2の窓を説明する図、第2図は本発明の一
実施例を示す回路のブロック図である。 1は画像メモリ、2は窓、3,4.5はレジスタ、6,
7.8は加算器、9,10,11.12はメモリュニノ
1−113はROMである。 ′5J 18
FIG. 1 is a diagram explaining a 2×2 window, and FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention. 1 is image memory, 2 is window, 3, 4.5 is register, 6,
7.8 is an adder, and 9, 10, 11.12 are memory nodes 1-113 are ROMs. '5J 18

Claims (1)

【特許請求の範囲】[Claims] ビットマツプ状の画像データのあるピントに対してn 
X nビットの窓演算を行う画像処理装置であって、前
記窓内のピント数と同数のメモリユニットと、前記窓内
の特定ピントのアトルスとその他のピッ1−のアドレス
との差分を記憶する手段と、前記メモリユニットの書込
み又は読出し時に前記特定ビットのアドレスに前記差分
を加算する手段とを設け、前記特定ビットのアドレスと
前記加算手段のアドレスとで前記メモリユニットの各々
をアクセスすることを特徴とする画像処理装置。
n for focus with bitmap image data
X An image processing device that performs an n-bit window operation, which stores the same number of memory units as the number of focuses within the window, and the difference between the atrus of a specific focus within the window and the addresses of other pins. and means for adding the difference to the address of the specific bit when writing or reading from the memory unit, and each of the memory units is accessed using the address of the specific bit and the address of the adding means. Characteristic image processing device.
JP23310783A 1983-12-09 1983-12-09 Picture processing unit Pending JPS60124785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23310783A JPS60124785A (en) 1983-12-09 1983-12-09 Picture processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23310783A JPS60124785A (en) 1983-12-09 1983-12-09 Picture processing unit

Publications (1)

Publication Number Publication Date
JPS60124785A true JPS60124785A (en) 1985-07-03

Family

ID=16949881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23310783A Pending JPS60124785A (en) 1983-12-09 1983-12-09 Picture processing unit

Country Status (1)

Country Link
JP (1) JPS60124785A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6247785A (en) * 1985-08-27 1987-03-02 Hamamatsu Photonics Kk Adjacent image processor
JPS63301372A (en) * 1987-06-01 1988-12-08 Iizeru:Kk Image processing method
JPH01321574A (en) * 1988-06-24 1989-12-27 Sony Corp Memory device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50106532A (en) * 1974-01-29 1975-08-22
JPS5956277A (en) * 1982-09-22 1984-03-31 Toshiba Corp Memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50106532A (en) * 1974-01-29 1975-08-22
JPS5956277A (en) * 1982-09-22 1984-03-31 Toshiba Corp Memory device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6247785A (en) * 1985-08-27 1987-03-02 Hamamatsu Photonics Kk Adjacent image processor
JPH0435792B2 (en) * 1985-08-27 1992-06-12 Hamamatsu Photonics Kk
JPS63301372A (en) * 1987-06-01 1988-12-08 Iizeru:Kk Image processing method
JPH01321574A (en) * 1988-06-24 1989-12-27 Sony Corp Memory device

Similar Documents

Publication Publication Date Title
US4561072A (en) Memory system handling a plurality of bits as a unit to be processed
JPS6247786A (en) Exclusive memory for adjacent image processing
KR950704744A (en) METHOD AND APPARATUS FOR PROVIDING FAST MULTI-COLOR STORAGE IN A FRAME BUFFER
JPS60124785A (en) Picture processing unit
JPH01283676A (en) Read-out processing system for window image data
JPS59188764A (en) Memory device
JPH0325684A (en) Picture drawing controller
JPS6076094A (en) Read-only memory
JPH061449B2 (en) Image memory for image editing
JPH0120514B2 (en)
JP2633251B2 (en) Image memory device
JP2769384B2 (en) Arithmetic control IC and information processing device
JP2906449B2 (en) Bitmap display control device
JP2861435B2 (en) Pipeline type arithmetic unit
JP2643533B2 (en) Image information rotation device
JPS61161576A (en) Picture signal processor
JPS61251897A (en) Image processor
JPS61262977A (en) Picture processor
JPS6168636A (en) Data processor
JPH01142986A (en) Picture memory element
JPS63104187A (en) Area specification system
JPS6257079A (en) Smoothing device
JPS638951A (en) Information memory device
JPH0216665A (en) Data transfer equipment
JPS63208956A (en) Picture processor