JPH0616295B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH0616295B2 JPH0616295B2 JP61289509A JP28950986A JPH0616295B2 JP H0616295 B2 JPH0616295 B2 JP H0616295B2 JP 61289509 A JP61289509 A JP 61289509A JP 28950986 A JP28950986 A JP 28950986A JP H0616295 B2 JPH0616295 B2 JP H0616295B2
- Authority
- JP
- Japan
- Prior art keywords
- gate
- output
- input
- pixel
- 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.)
- Expired - Lifetime
Links
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Image Analysis (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、画像処理装置に関し、特に、ファクシミリ、
スキャナ等において、例えば文字/網点が混在する2値
画像を走査する場合に、両画像をより高品質にする為に
像域を分離し、それぞれの画像に適した処理を行う際に
使用されるパターン判定領域データを生成する画像処理
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and in particular to a facsimile,
Used in scanners, etc., for example, when scanning a binary image in which characters and halftone dots are mixed, separating the image areas in order to improve the quality of both images, and performing processing suitable for each image. The present invention relates to an image processing device that generates pattern determination area data.
従来の技術 近年、高速、高機能な画像処理技術の要求により、多値
中間調処理、疑似中間調処理、二値化処理、圧縮処理、
画質改善処理等の画像処理がハードウェアで実現されて
きている。2. Description of the Related Art In recent years, due to the demand for high-speed, high-performance image processing technology, multi-value halftone processing, pseudo-halftone processing, binarization processing, compression processing,
Image processing such as image quality improvement processing has been realized by hardware.
これらの画像処理の多くは注目画素を中心とした注目画
素領域、すなわちいわゆる走査窓内における注目画素と
周辺画素の画像相関のパターンを判定して処理を施すも
のである。Most of these image processes are performed by determining a pattern of image correlation between a pixel of interest centered on the pixel of interest, that is, a pixel of interest in a so-called scanning window and peripheral pixels.
したがって走査窓内のパターンを判定した結果を走査窓
の移動に伴い逐次更新しながら記憶しておく手段が要望
される場合がある。Therefore, there is a demand for a means for storing the result of determining the pattern in the scanning window while sequentially updating it as the scanning window moves.
例えば、文字/網点領域を別々の画像処理条件で処理す
る場合には、それぞれの画像処理回路からのデータをパ
ターン判定領域データに従って、逐次、画素単位に選択
していく必要がある。For example, when processing character / halftone dot areas under different image processing conditions, it is necessary to sequentially select the data from each image processing circuit in pixel units according to the pattern determination area data.
網点は、周囲の画像に対して点のように孤立した画像で
あるために、点の周囲を含めて網点領域としなければな
らず、そのための手段が要望される。Since a halftone dot is an image isolated from the surrounding image like a dot, it must be a halftone dot area including the surroundings of the point, and a means for that is required.
その場合には、走査窓の移動にあわせて判定した結果が
面に広げられないと、点の周囲が網点領域にならない。In that case, unless the result of the determination according to the movement of the scanning window is spread on the surface, the area around the point does not become a halftone dot area.
このような機能を有する回路が従来は提案されていなか
ったために、文字/網点が混在する2値画像の領域分離
が実現できなかった。Since a circuit having such a function has not been proposed in the past, it was not possible to realize area separation of a binary image in which characters / dots are mixed.
発明が解決しようとする問題点 本発明は従来の前記要望に着目してなされたものであ
り、従って本発明の目的は、パターン判定データを入力
することによりパターン判定領域データを設定すること
ができる新規な画像処理装置を提供することにある。Problems to be Solved by the Invention The present invention has been made in view of the above-mentioned demands of the related art. Therefore, an object of the present invention is to set pattern judgment area data by inputting pattern judgment data. It is to provide a new image processing device.
問題点を解決するための手段 上記目的を達成する為に、本発明に係る画像処理装置
は、第1〜第3のORゲートと、第1のORゲートの出
力と第2のORゲートの入力および第2のORゲートの
出力と第3のORゲートの入力との間に接続された第1
および第2の1画素遅延回路と、第4〜第6のORゲー
トと、第4のORゲートの出力と第5のORゲートの入
力および第5のORゲートの出力と第6のORゲートの
入力との間に接続された第3、第4の1画素遅延回路
と、第7〜第9のORゲートと、第7のORゲートの出
力と第8のORゲートの入力および第8のORゲートの
出力と第9のORゲートの入力との間に接続された第5
および第6の1画素遅延回路と、第3のORゲートの出
力と第4のORゲートの出力との間および第6のORゲ
ートの出力と第7のORゲートの入力との間に接続され
た1ライン遅延手段とを含んで構成され、前記第1〜第
9のORゲートはそれぞれ、真中が黒でそのまわりが白
画素パターンの真中の画素に対するデータが“1”で、
前記パターン以外のときの真中の画素に対するデータが
“0”である画素毎のパターン判定データを同時に入力
し、前記第9のORゲートの出力から出力信号を取り出
す、ことを特徴としている。Means for Solving the Problems In order to achieve the above object, an image processing apparatus according to the present invention includes first to third OR gates, an output of the first OR gate, and an input of the second OR gate. And a first connected between the output of the second OR gate and the input of the third OR gate
And a second one-pixel delay circuit, fourth to sixth OR gates, an output of the fourth OR gate, an input of the fifth OR gate, an output of the fifth OR gate, and an output of the sixth OR gate. Third and fourth one-pixel delay circuits connected between the input, the seventh to ninth OR gates, the output of the seventh OR gate, the input of the eighth OR gate, and the eighth OR. A fifth connected between the output of the gate and the input of the ninth OR gate
And a sixth 1-pixel delay circuit, connected between the output of the third OR gate and the output of the fourth OR gate, and between the output of the sixth OR gate and the input of the seventh OR gate. The first to ninth OR gates are black in the middle and data around the middle pixel of the white pixel pattern is "1".
It is characterized in that pattern determination data for each pixel whose data for the pixel in the center other than the above pattern is "0" is simultaneously input, and an output signal is taken out from the output of the ninth OR gate.
実施例 以下、本発明をその好ましい一実施例について図面を用
いて具体的に説明する。Examples Hereinafter, the present invention will be described in detail with reference to the accompanying drawings with reference to the drawings.
ここでは説明の便宜上、パターン判定の一例として、白
画素に囲まれた黒画素を判定する場合について説明する
ものとし、走査窓サイズは3×3として説明する。Here, for convenience of description, as an example of pattern determination, a case of determining a black pixel surrounded by white pixels will be described, and the scanning window size will be described as 3 × 3.
第1図(a)〜(c)はパターン判定データからパターン判定
領域を設定する過程を説明するための図である。FIGS. 1 (a) to 1 (c) are diagrams for explaining a process of setting a pattern determination area from pattern determination data.
第1図(a)はパターン判定データ(例えば、予め画像デ
ータを走査して得られた網点検出データ)、同図(b)は
白画素に囲まれた黒画素の原画データ、同図(c)は、同
図(b)のパターン判定領域を表す図である。第1図(b)に
おいて、走査窓は、主走査方向に1画素ずつ移動し、主
走査画素すべてについて移動すると主走査開始位置にも
どり、副走査方向に1画素移動し、また主走査方向に1
画素ずつ移動することを繰り返すものとする。FIG. 1 (a) is pattern determination data (for example, halftone dot detection data obtained by scanning image data in advance), FIG. 1 (b) is original image data of black pixels surrounded by white pixels, and FIG. FIG. 7C is a diagram showing the pattern determination area in FIG. In FIG. 1 (b), the scanning window moves one pixel at a time in the main scanning direction, and when all the main scanning pixels move, returns to the main scanning start position, moves one pixel in the sub scanning direction, and moves in the main scanning direction. 1
It shall be repeated to move pixel by pixel.
ここで、白画素に囲まれた黒画素という条件がパターン
判定基準である。走査窓の移動に併せてパターンの判定
を行い、白画素に囲まれた黒画素という条件を満たす場
合に黒、満たさない場合を白として表すと、第1図(c)
となり、これがパターン判定領域を示す。Here, the condition of black pixels surrounded by white pixels is the pattern determination standard. The pattern is determined in accordance with the movement of the scanning window, and when the condition of black pixels surrounded by white pixels is satisfied, it is expressed as black, and when it is not satisfied, it is expressed as white.
, Which indicates the pattern determination area.
第2図は本発明の一実施例を示すブロック構成図であ
る。FIG. 2 is a block diagram showing an embodiment of the present invention.
第2図を参照するに、入力端子T1に加えられたパター
ン判定データはORゲート1A、1B、1C、1D、1
E、1F、1G、1H、1Iに供給される。ここで、パ
ターン判定データの論理については前記条件を満たす場
合を“1”とし、満たさない場合を“0”とする。Referring to FIG. 2, the pattern judgment data applied to the input terminal T1 is OR gates 1A, 1B, 1C, 1D, 1
E, 1F, 1G, 1H, 1I. Here, regarding the logic of the pattern determination data, "1" is set when the above condition is satisfied, and "0" is set when the above condition is not satisfied.
走査窓の移動に併せてパターンの判定がなされ、前記条
件を満たす場合、各ORゲートの出力はすべて“1”とな
り走査窓の3×3画素分のパターン判定領域データが精
製されて出力端子T2に出力される。パターン判定領域
データは1画素遅延素子2A、2B、2C、2D、2
E、2Fおよび1走査線遅延素子3A、3B、3C、3
Dにより記憶され、走査窓に移動に併せて更新される。When the pattern is judged in accordance with the movement of the scanning window and the above conditions are satisfied, the output of each OR gate becomes "1" and the pattern judgment area data for 3 × 3 pixels of the scanning window is refined and output terminal T2. Is output to. The pattern determination area data includes 1-pixel delay elements 2A, 2B, 2C, 2D, 2
E, 2F and 1 scan line delay elements 3A, 3B, 3C, 3
Stored by D and updated in the scan window as it moves.
1走査線遅延素子は、1走査線について2個で構成さ
れ、書き込みおよび読み出し動作を交互に行うことによ
り各1画素遅延素子段でのデータ遅延に伴うアドレス制
御を簡略化すると共に高速動作が可能となる。One scanning line delay element is composed of two per scanning line, and writing and reading operations are alternately performed to simplify address control associated with data delay in each one-pixel delay element stage and enable high-speed operation. Becomes
アドレスカウンタ5Aは読み出しアドレスを指定し、ア
ドレスカウンタ5Bは、書き込みアドレスを指定するも
のであり、端子T3から入力される1走査線処理有効信
号VARと、端子T4から入力される1画素クロックCK1に
より動作する。The address counter 5A designates a read address, and the address counter 5B designates a write address. The address counter 5A uses a 1-scan line processing valid signal VAR input from a terminal T3 and a 1-pixel clock CK1 input from a terminal T4. Operate.
1/2分周回路6は書き込みまたは読み出しのモードを指
定する信号R/Wをセレクタ4A、4B、4C、4D、お
よび書込信号発生回路7A、7Bに供給する。The 1/2 frequency divider circuit 6 supplies a signal R / W designating a write or read mode to the selectors 4A, 4B, 4C, 4D and the write signal generation circuits 7A, 7B.
書込信号発生回路7A、7Bは前記CK1と、端子T5か
ら入力されるCK1の2倍の画素クロックCK2、ならびに前
記信号R/Wにより書き込み信号WE1、WE2を発生する。The write signal generation circuits 7A and 7B generate write signals WE1 and WE2 by the CK1, the pixel clock CK2 which is twice the CK1 input from the terminal T5, and the signal R / W.
1画素遅延素子2G、2Hは、パターン判定領域データ
格納用の1画素遅延素子2A、2B、2C、2D、2
E、2Fでのデータ遅延に伴う書き込みアドレスと読み
出しアドレスの遅延差を整合する。The 1-pixel delay elements 2G, 2H are 1-pixel delay elements 2A, 2B, 2C, 2D, 2 for storing pattern determination area data.
The delay difference between the write address and the read address due to the data delay at E and 2F is matched.
以上の説明においては、走査窓サイズを3×3とした
が、この例に限定されるものではない。In the above description, the scanning window size is 3 × 3, but the size is not limited to this example.
発明の効果 以上説明したように、本発明によれば、パターン判定デ
ータを入力することによりパターン判定領域データを設
定することが可能になる。EFFECTS OF THE INVENTION As described above, according to the present invention, it is possible to set pattern determination area data by inputting pattern determination data.
第1図(a)〜(c)はパターン判定データからパターン判定
領域を設定する過程を説明する図、第2図は本発明の一
実施例を示すブロック構成図である。 1A、1B、1C、1D、1E、1F、1G、1H、1
I……ORゲート、2A、2B、2C、2D、2E、2
F、2G、2H……1画素遅延素子、3A、3B、3
C、3D……1走査線遅延素子、4A、4B、4C、4
D……セレクタ、5A……読み出しアドレスカウンタ、
5B……書き込みアドレスカウンタ、6……1/2分周回
路、7A、7B……書込信号発生回路1 (a) to 1 (c) are views for explaining the process of setting a pattern judgment area from pattern judgment data, and FIG. 2 is a block diagram showing an embodiment of the present invention. 1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1
I ... OR gate, 2A, 2B, 2C, 2D, 2E, 2
F, 2G, 2H ... 1 pixel delay element, 3A, 3B, 3
C, 3D ... 1 scanning line delay element, 4A, 4B, 4C, 4
D: selector, 5A: read address counter,
5B ... write address counter, 6 ... 1/2 frequency divider circuit, 7A, 7B ... write signal generating circuit
Claims (1)
C)と、第1のORゲートの出力と第2のORゲートの
入力および第2のORゲートの出力と第3のORのゲー
トの入力との間に接続された第1および第2の1画素遅
延回路(2A、2B)と、第4〜第6のORゲート(1
D、1E、1F)と、第4のORゲートの出力と第5の
ORゲートの入力および第5のORゲートの出力と第6
のORゲートの入力との間に接続された第3、第4の1
画素遅延回路(2C、2D)と、第7〜第9のORゲー
ト(1G、1H、1I)と、第7のORゲートの出力と
第8のORゲートの入力および第8のORゲートの出力
と第9のORゲートの入力との間に接続された第5およ
び第6の1画素遅延回路(2E、2F)と、第3のOR
ゲートの出力と第4のORゲートの出力との間および第
6のORゲートの出力と第7のORゲートの入力との間
に接続された1ライン遅延手段とを含み、 前記第1〜第9のORゲートはそれぞれ、真中が黒でそ
のまわりが白画素のパターンの真中の画素に対するデー
タが“1”で、前記パターン以外のときの真中の画素に
対するデータが“0”である画素毎のパターン判定デー
タを同時に入力し、前記第9のORゲートの出力から出
力信号を取り出す、 ことを特徴とする画像処理装置。1. First to third OR gates (1A, 1B, 1)
C) and the first and second 1's connected between the output of the first OR gate and the input of the second OR gate and between the output of the second OR gate and the input of the gate of the third OR. The pixel delay circuit (2A, 2B) and the fourth to sixth OR gates (1
D, 1E, 1F), the output of the fourth OR gate, the input of the fifth OR gate, the output of the fifth OR gate, and the sixth
3rd and 4th 1 connected between the input of the OR gate of
Pixel delay circuit (2C, 2D), seventh to ninth OR gates (1G, 1H, 1I), output of seventh OR gate, input of eighth OR gate, and output of eighth OR gate The fifth and sixth 1-pixel delay circuits (2E, 2F) connected between the input and the input of the ninth OR gate, and the third OR
A first line delay means connected between the output of the gate and the output of the fourth OR gate and between the output of the sixth OR gate and the input of the seventh OR gate; Each of the OR gates 9 has a data of "1" for the pixel in the center of the pattern of black pixels in the center and a white pixel around it, and a data of "0" for the pixel in the center other than the above pattern. An image processing apparatus, wherein pattern judgment data is inputted at the same time, and an output signal is taken out from an output of the ninth OR gate.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61289509A JPH0616295B2 (en) | 1986-12-04 | 1986-12-04 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61289509A JPH0616295B2 (en) | 1986-12-04 | 1986-12-04 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63142477A JPS63142477A (en) | 1988-06-14 |
| JPH0616295B2 true JPH0616295B2 (en) | 1994-03-02 |
Family
ID=17744186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61289509A Expired - Lifetime JPH0616295B2 (en) | 1986-12-04 | 1986-12-04 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0616295B2 (en) |
-
1986
- 1986-12-04 JP JP61289509A patent/JPH0616295B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63142477A (en) | 1988-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4723163A (en) | Adaptive line interpolation for progressive scan displays | |
| US4575768A (en) | Conversion to a two-valued video signal | |
| JPS58220563A (en) | Character and pattern picture image extracting system | |
| JPH0314266B2 (en) | ||
| JPH0616295B2 (en) | Image processing device | |
| US5606656A (en) | Image data processing unit for forming a plurality of identical images in a single output image area | |
| JP2982509B2 (en) | Image reduction processing method | |
| US4860117A (en) | Image processing method and system using multiple image sensors producing image data segments which are combined and subjected to optical processing | |
| JP3391809B2 (en) | Image processing method and apparatus | |
| JP2525768B2 (en) | Image reduction conversion method | |
| JP2555199B2 (en) | Image reading method | |
| JPS5924584B2 (en) | Original reading method | |
| JPH05242242A (en) | Picture processor | |
| JP2959574B2 (en) | Image processing device | |
| JP2712426B2 (en) | Image transmission device | |
| JPH06311351A (en) | Picture processing method | |
| JPH08111774A (en) | Image reading device | |
| JPS61242467A (en) | Signal processing circuit for facsimile receiver | |
| JPS6364947B2 (en) | ||
| JP2000151991A (en) | Image resolution conversion method and its device | |
| JPS5869168A (en) | Transmitting method for facsimile | |
| JPH02290367A (en) | Processor for adding stereoscopic shadow | |
| JPS6255779A (en) | Smoothing circuit | |
| JPS58153450A (en) | Method for converting resolution of facsimile information or the like | |
| JPS6083469A (en) | Binary coding device for picture signal |