[go: up one dir, main page]

JPS61217883A - Picture per-processing system - Google Patents

Picture per-processing system

Info

Publication number
JPS61217883A
JPS61217883A JP60059084A JP5908485A JPS61217883A JP S61217883 A JPS61217883 A JP S61217883A JP 60059084 A JP60059084 A JP 60059084A JP 5908485 A JP5908485 A JP 5908485A JP S61217883 A JPS61217883 A JP S61217883A
Authority
JP
Japan
Prior art keywords
pixel
data
value
laplacian
image
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
JP60059084A
Other languages
Japanese (ja)
Inventor
Masahiro Fukuda
昌弘 福田
Shigeru Yoshida
茂 吉田
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 JP60059084A priority Critical patent/JPS61217883A/en
Publication of JPS61217883A publication Critical patent/JPS61217883A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To obtain the binary picture data of high picture quality by dividing the Laplacian value with a certain reference value within a mixed picture and giving the selective contour emphasis only to the part of the character line drawing. CONSTITUTION:The Laplacian value Lxy5 stored in a register 110 is compared with the prescribed reference value T through a comparator 111. When the Lxy5 is larger than the Y, a demultiplexer 112 sends the picture data 3 on a notice picture element A to an adder 113. The adder 113 adds the value 6 obtained by multiplying the Lxy5 by the coefficient K through a multiplexer 114 to the data 3. Thus the contour emphasized data is supplied to a register 116. If the Lxy5 is smaller than the T, the demultiplexer 112 sends the data 3 as it is to the register 116. The data 7 processed by said operations is binary coded with the threshold value D of a dither matrix through a comparactor 117.

Description

【発明の詳細な説明】 〔1既  要〕 本発明は文字線画と濃淡画とが混在する多値画像データ
に前処理を施すに際し、各画素のラプラシアンを求め、
これを所定の基準値と比較することにより、各画素近傍
の濃度変化を知り、濃度変化が急峻なときには文字線画
と判断してその画素に対し選択的に輪郭強調を施すよう
にしたものである。
[Detailed Description of the Invention] [1] Summary of the Invention The present invention calculates the Laplacian of each pixel when performing preprocessing on multivalued image data in which text and line drawings and gray scale drawings are mixed.
By comparing this with a predetermined reference value, the density change in the vicinity of each pixel is known, and when the density change is steep, it is determined that the pixel is a character line drawing, and outline enhancement is selectively applied to that pixel. .

〔産業上の利用分野〕[Industrial application field]

本発明は濃淡画像と文字・図形等の2値画像(以下1文
字線画と略称する)の混在する多値画像データを入力し
、その多値画像データに前処理を施した後、2値化する
方式に関する。
The present invention inputs multivalued image data in which a grayscale image and binary images such as characters and figures (hereinafter referred to as single character line drawings) are mixed, performs preprocessing on the multivalued image data, and then converts it into a binary image. Regarding the method of

〔従来の技術〕[Conventional technology]

従来、白黒2値で中間調を表現する場合、階調の再現性
とハードウェア構成が容易なことから、通常組織的ディ
ザ法が用いられる。組織的ディザ法では中間調を黒画素
の密度で表現するため、濃淡画像に対しては良好な画像
が得られる。しかし分解能が劣化するため、原稿中に濃
淡画像と文字線画が混在する場合、画像全体をディザ化
すると、文字線画の画質が悪くなる。
Conventionally, when expressing halftones using black and white binary values, a systematic dither method is usually used because of its gradation reproducibility and easy hardware configuration. In the systematic dithering method, halftones are expressed by the density of black pixels, so good images can be obtained for grayscale images. However, since the resolution deteriorates, if the original contains a mixture of grayscale images and text and line drawings, dithering the entire image will deteriorate the image quality of the text and line drawings.

文字線画の画質劣化を防ぐため、従来は2種類の方式が
提案されている。1つは2つの画像を識別し分離して2
値化する方式であり、もう1つは前処理を施した後に2
値化する方式である。
In order to prevent image quality deterioration of text and line drawings, two types of methods have been proposed in the past. One is to identify the two images and separate them.
One method is to convert into values, and the other is to perform preprocessing and then
This is a method of converting it into a value.

前者の方式としては、 (1)電子通信学会技術研究報告IE81−57 (1
981)「文字画像を考慮した擬似中間調再現の検討」
がある。4×4画素の小領域ごとに多値画像信号の最大
値と最小値の差分を求め、この差分が所定の基準値より
大きいかどうかで、文字線画か濃淡画かを識別する方式
である。
The former method is as follows: (1) Institute of Electronics and Communication Engineers Technical Research Report IE81-57 (1
981) "Study of pseudo halftone reproduction considering text images"
There is. In this method, the difference between the maximum value and the minimum value of the multivalued image signal is determined for each small area of 4×4 pixels, and whether the image is a character line drawing or a grayscale image is determined based on whether this difference is larger than a predetermined reference value.

後者の方式としては、 (2)  画像電子学会誌 第10巻 第5号(198
1)「3.中間調の表現 3−1.網点形成」がある。
As for the latter method, (2) Journal of the Institute of Image Electronics Engineers, Vol. 10, No. 5 (198
1) There is "3. Halftone expression 3-1. Halftone formation".

前処理として、画素単位に多値画像信号に輪郭強調(ラ
プラシアン)を施し、得られた画像データを組織的ディ
ザ法で2値化する方式である。
As preprocessing, this method applies contour enhancement (Laplacian) to a multivalued image signal pixel by pixel, and binarizes the obtained image data using a systematic dither method.

これら2つの方式のうち、+11の方式はディザ画像に
較べ、文字線画の画質は良くなるが、濃淡画像で識別票
りによる画質の劣化が目立つようになるという欠点があ
った。
Of these two methods, the +11 method improves the image quality of text and line drawings compared to dithered images, but has the disadvantage that the deterioration of image quality due to identification tags becomes noticeable in grayscale images.

また、(2)の方式は(1)の方式より画質は良くなる
が、画像全体にわたり輪郭強調を施すため、輪郭強調の
効果の大小により、文字線画または濃淡画のどちらか一
方の画質の劣化が目立つようになるという欠点があった
In addition, method (2) has better image quality than method (1), but because the outline is emphasized over the entire image, the image quality of either the text line drawing or the gray scale image may deteriorate depending on the magnitude of the effect of the outline emphasis. The disadvantage was that it became more noticeable.

上記(2)の方式を更に詳しく述べると、(a)  多
値画像信号を用い、処理対象の画素(以下注目画素と略
称)の濃度値をA、注目画素とその周囲8画素(以下参
照画素と略称)との合計9画素分の平均濃度をBとする
To explain method (2) above in more detail, (a) Using a multi-valued image signal, the density value of the pixel to be processed (hereinafter referred to as the pixel of interest) is set to A, and the pixel of interest and its surrounding eight pixels (hereinafter referred to as the reference pixel) are Let B be the average density of a total of 9 pixels.

(bl  輪郭強調を施した後の注目画素の濃度値りを
、次式で求める。但し、Kは輪郭強調係数と呼ばれ、輪
郭強調の重みである。
(bl) The density value of the pixel of interest after contour enhancement is determined by the following equation. However, K is called the contour enhancement coefficient and is the weight of contour enhancement.

L干A+K (A−B)          ・・・■
(C)  画像全体に対して、画素単位に(al〜(b
lの処理を繰り返す。
L dry A+K (A-B)...■
(C) For the entire image, (al~(b
Repeat the process l.

(d)  以上の処理が終了したら、4×4画素のディ
ザマトリクスを用いて2値化する。
(d) After completing the above processing, binarize using a 4×4 pixel dither matrix.

以上のようにして輪郭強調を施すが、輪郭強調の効果が
少ないと、文字線画はあまり改善されず、逆に文字線画
を改善するため輪郭強調の効果を大きくすると、濃度変
化の緩い信号に対しても濃淡変化が生じ、濃淡画像の劣
化が生じるという欠点があった。
Edge enhancement is performed as described above, but if the effect of edge enhancement is small, the text and line drawings will not be improved much.On the contrary, if the effect of edge enhancement is increased to improve the text and line drawings, it will not be possible to improve the text and line drawings. However, there is a drawback that a change in shading occurs, resulting in deterioration of the shading image.

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

本発明の目的は、濃淡画像と文字線画の混在する多値画
像データ2(+!!化の前処理として、濃淡画像の部分
は輪郭強調を施さず、文字線画の部分のみ輪郭強調を施
すことにより、組織的ディザ法で2値化したとき、濃淡
画像の画質劣化を防ぐ方式を提供するにある。
The purpose of the present invention is to perform contour enhancement only on the text and line drawing portions, without applying contour enhancement to the portions of the gray image, as preprocessing for multivalued image data 2 (+!!), which contains a mixture of grayscale images and text and line drawings. Accordingly, it is an object of the present invention to provide a method for preventing deterioration of the image quality of a grayscale image when it is binarized using a systematic dithering method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は文字線画の多値画像データにラプラシアン演算
を施した値は、濃淡画像の多値画像データにラプラシア
ン演算を施した値より大きいという性質を利用し、基準
値と比較して、文字線画の部分のみ選択的に輪郭強調を
施すようにしたものである。
The present invention takes advantage of the property that the value obtained by performing a Laplacian operation on the multi-value image data of a character line drawing is larger than the value obtained by performing a Laplacian operation on the multi-value image data of a grayscale image, and compares it with a reference value. The outline is selectively enhanced only in the area.

〔作 用〕[For production]

各画素の多値画像データにラプラシアン演算を施し、こ
れを基準値と比較することにより、注目画素近傍の濃度
変化を求める。そしてこの濃度変化から注目画素が文字
線画か濃淡画かを判定し、文字線画と判定された場合に
のみ輪郭強調を施し、濃度変化が緩やかな場合にはその
画素を濃淡画と判定して、輪郭強調を施さない。従って
濃淡画像に輪郭強調を施すことより生じる画質劣化が防
止される。
A Laplacian operation is performed on the multivalued image data of each pixel, and the result is compared with a reference value to determine the density change in the vicinity of the pixel of interest. Then, from this density change, it is determined whether the pixel of interest is a character line drawing or a grayscale image, and only if it is determined to be a character linework, the outline is emphasized, and if the density change is gradual, the pixel is determined to be a grayscale image, No contour enhancement is applied. Therefore, deterioration in image quality caused by applying edge enhancement to a grayscale image is prevented.

〔実施例〕〔Example〕

本発明の詳細な説明する前に、組織的ディザ法 Before a detailed explanation of the present invention, the systematic dither method

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

同図は組織的ディザ法のディザマトリクスの一例を示し
、列数19行数jの掛目内の数字が闇値である。いま1
6僅に量子化された多値画像信号をディザ処理する場合
、ディザマトリクスの闇値と、多値画像の対応領域(ブ
ロック)とを比較する。 各画素(X、 y)  の濃度レベルQつ、とそれに対
応するディザマトリクスの各閾値T8、とを比較し、Q
Xy≧T i jのとき、ン主目画素を黒レベル“1”
にし、Q、y<T、Jのときそれを白レベル“0”にす
る。そして、同じディザマトリクスを繰り返し用いて画
像全体を2値化する。これは濃淡画像を2値化する方法
である。 次に、第3図により本発明の詳細な説明する。 同図は文字線画と濃淡画との各画素の濃度にラプラシア
ン演算を施した値のヒストグラムを示している。今、第
4図に示すように注目画素Aと参照画素B、をとると、
ラプラシアンLXyは次式で求められる。 L xy = (A−B+)+ (A−Bz) + (
A−Bt)+ (A−84)4(A−Bs)+(A−B
b)+(A−By)+(A−Be)       ・・
・■ここで第3図に示す如く、濃淡画像と文字線画に対
するラプラシアンのヒストグラムを求め、両者が交わる
点、即ち頻度が略等しくなる値Tを基準値として設定し
、ラプラシアンLX、を2分する。 即ち、基準値Tを境にして、ラプラシアンL XYの大
小により、文字線画と濃淡画像を区別するようにする。 このように本発明は単一基準値Tを予め設定しておき、
画素単位にラプラシアンL、、、1!:Tを比較し、L
、、>Tのときは、注目画素Aを文字線画と判定し、注
目画素Aの多値画像データに輪郭強調を施し、逆にり、
、<Tのときは、注目画素人を濃淡画像と判定し、注目
画素Aの多値画像データには何の処理も施さず、原デー
タを保つようにする。 この操作を画像全体に繰り返し、得られた画像データを
組織的ディザ法で2値化することにより、濃淡画像の画
質劣化を減らすようにしたものである。 第1図は上記原理に基づく本発明を実施するための前処
理回路の一実施例を示す要部ブロック図であり、多値画
像信号に前処理を施した後2値化する回路を示す。同図
において、200は各画素の多値画像データにラプラシ
アン演算を施す回路、201は得られたラプラシアンを
基準値と比較する回路、202は上記比較結果に基づい
て選択的に輪郭強調を施す回路である。 同図の前処理回路は前述の0式(P、4参照)を下記の
ように変換したときの回路を示している。 ここで、注目画素Aと参照画素B、との相互位置関係は
、前記第4図に示す如く、注目画素Aの周囲8個を参照
画素B、とする。 L=A+K (A−B) 〔但し、B、は参照画素の画像データを示す〕=A+に
’  ((A−Bl)+ (A  Bt )+・・・+
(A+Ba ) l      ・・・■〔但し、に’
  −に/9) =A+に’  + (A−A)+ (A−B、)+(A
B2)+・・・+(A−88) 1上記■式で()の式
は、前述の0式と−敗し、ラプラシアンの計算式を示し
ている。 まず、文字線画と濃淡画像の混在画像信号lをデマルチ
プレクサ(DMPX) 100に入力する。そしてデマ
ルチプレクサ100では1ライン毎のデータを順次メモ
リ(MEM)101,102.103に書き込む。メモ
リiot、 102.103への画像データの書き込み
が終了したら、マルチプレクサ(MPX) 104では
、第4図に示すように各ライン3画素ずつ、合計9画素
を順次読み出す。またマルチプレクサ(MPX) 10
5ではマルチプレクサ104の読み出す9画素のうち、
注目画素に対応する画素のみを選択して読み出す。そし
て1ライン単位の処理が終了する毎にメモリ101゜1
02、103の書き込みと読み出しを繰り返す。 今、多値画像データは解像度8木/mm、8bit/画
素で読みとったものとすると、B4サイズの原稿で考え
ると〜 1ラインは2048画素となる。 この場合、メモリ101.102.103は1ラインの
データを格納できる容量を持たせ、8bit x204
8ワードの構成となる。 以下にメモリ101 、102.103の書き込みと読
み出しの手順を具体的に説明する。 2値化開始に当たってはまずメモ1月01をクリアして
おき、第1ライン目のデータをメモリ102に、第2ラ
イン目のデータをメモ1月03に書き込む。このときメ
モリ101.102.103の番号の割り付けは第5図
(11の状態になっている。この場合、メモリ101に
は何のデータも書きこまれていないので、これの代替デ
ータとしてメモリ102のデータを用いる。そこで、マ
ルチプレクサ104の読み出しはメモリ102のデータ
を2度1合計6画素分読み出し、メモ1月03から読み
出したデータと合わせて9画素分の画像データを読み出
す・一方マルチプレクサ105では番号1が割り付けら
れているメモリ102の画像データを読み出す。 そして画素単位に読み出しを繰り返し、第1ライン目の
処理が終了したら、第3ライン目のデータを番号3が割
り付けられているメモ1月O1に書き込む。 この第3ライン目のデータの書き込みが終了したら、メ
モリ101.102.103の番号の割り付けは第5図
(2)に示す状態になる。この場合、メモリ101゜1
02、103にはそれぞれ第3.第1.第2ライン目の
データが書き込まれているので、マルチプレクサ104
では各メモリより3画素ずつ読み出す。またマルチプレ
クサ1.05では番号1の割りつけられているメモリ1
03の画像データを読み出し、第2ライン目の処理を行
う。 以上のように、1ライン単位の処理が終了するごとに番
号3が割り付けられているメモリにデータを書き込む。 そして書き込みが終了したら、メモリの番号の割り付け
を3→2,2→1,1→3にし、マルチプレクサ105
で番号1が割り付けられているメモリより画像データを
読み出す。この動作を全ラインに対して繰り返すことに
より、全画面の画像データをメモリより読み出すことが
できる。 マルチプレクサ104で読み出された参照画素の画像デ
ータ2を、マルチプレクサ105で読み出され、レジス
タ(REG) 106に入力された注目画素の画像デー
タ3から減算器(StlB) 107で減算し、求まっ
た結果4を加算器(ADD)109で1画素ずつ加算す
る。 これをすべての参照画素について9回繰り返すことによ
りレジスタ(REG) 110にラプラシアンL、、5
が格納される。 以上はラプラシアンを求める回路であり、この回路に以
下で説明する回路を付加することにより本発明は達成さ
れる。 レジスタ110のラプラシアンの値5を予め設定されて
いる基準値(T)と比較器(COMP)111において
比較する。比較した結果、ラプラシアンLXy5が基準
値Tより大きい場合、デマルチプレクサ(DMPX) 
112は注目画素Aの画像データ3を、加算器(八〇〇
)113に送出し、乗算器(MOL)114によりラプ
ラシアンL、、5に係数(K)を乗じた値6を注目画素
人の画像データ3に加算する。これにより、レジスタ(
REG)1.16に輪郭強調されたデータが入力される
。 一方、ラプラシアンL、、5が基準値Tより小さい場合
、デマルチプレクサ112は注目画素人の画像データ3
をレジスタ116にそのまま送出する。 従って注目画素Aの画像データは何の処理も施されず、
原データが保存される。以上の動作により処理されたデ
ータ7は比較器(COMP) 117でディザマトリク
スの閾値りにより2値化される。 以上は1画素分についての動作であるが、この動作を1
ラインの画素分繰り返すことにより、lライン毎全ライ
ン分繰り返すことより、全画面にわたる前処理画像デー
タが得られる。 第1図の実施例において、信号処理プロセッサを用いれ
ば、ディスクリートの回路の加減乗除の演算部分をプロ
セッサのA L U (Ari thmetic an
dLogic Unit)とソフトウェア処理で置き換
えることができ、回路をコンパクトにすることができる
。 上記一実施例ではラプラシアンの演算には第4図に示す
8連結画素を用いたが、これは4連結画素(第3図では
B +、B z、 B 5. B qの示す画素)を用
いることもできる。 〔発明の効果〕 本発明によれば、混在画像中でラプラシアンの値をある
基準値で区切り、文字線画の部分のみ選択的に輪郭強調
を施すので、文字線画と濃淡画像を共に良好な画質の2
値画像データを得ることができる。 4、図面の簡単な説明 第1図は本発明の実施例の構成説明図、第2図はディザ
マトリクスの一例を示す図、第3図は本発明の詳細な説
明図、 第4図は注目画素と参照画素の選び方の説明図、第5図
はメモリの番号割り付は図である。 図において、200はラプラシアン演算を施す回路、2
01は各画素のラプラシアンを予め定められた基準値と
比較する回路、202は比較結果に基づいて輪郭強調を
施す回路、Tは予め定められた基準値を示す。 デ°イサ′ントリフ又 lI 2 図 不1串厘理の詩蛸閏 AニジfI]Al B1へ86: 祭竺蕊業 ン主目色素と本艶通しt/1選り一方 第41!I 拳ライ>乃 ヵ理   (1)  (2)  (3)  (4)  
(5)   、、。 メモリ101   ■ −ロ [1] [I]メモ、ソ
 102    ロ [=5=] ロ ■ [=1=]
メ七すの奮号肉害11リイす1↑ 第5図
The same figure shows an example of a dither matrix of the systematic dither method, and the numbers within the multiplication of the number of columns 19 and the number j of rows are dark values. Now 1
6. When dithering a slightly quantized multivalued image signal, the dark value of the dither matrix is compared with the corresponding area (block) of the multivalued image. The density level Q of each pixel (X, y) is compared with each threshold value T8 of the dither matrix corresponding to it, and Q
When Xy≧T i j, the black level of the main pixel is “1”
and when Q,y<T,J, the white level is set to "0". Then, the entire image is binarized by repeatedly using the same dither matrix. This is a method of binarizing a grayscale image. Next, the present invention will be explained in detail with reference to FIG. This figure shows a histogram of values obtained by applying a Laplacian operation to the density of each pixel of a character line drawing and a gray scale drawing. Now, if we take the pixel of interest A and the reference pixel B as shown in FIG.
Laplacian LXy is determined by the following formula. L xy = (A-B+)+ (A-Bz) + (
A-Bt)+ (A-84)4(A-Bs)+(A-B
b)+(A-By)+(A-Be)...
・■Here, as shown in Fig. 3, find the Laplacian histogram for the grayscale image and the character line drawing, set the point where the two intersect, that is, the value T at which the frequencies are approximately equal, as the reference value, and divide the Laplacian LX into two. . That is, text and line drawings and grayscale images are distinguished from each other based on the magnitude of the Laplacian L XY with reference value T as the boundary. In this way, the present invention sets a single reference value T in advance,
Laplacian L per pixel...1! : Compare T, L
,,>T, the pixel of interest A is determined to be a character line drawing, the multivalued image data of the pixel of interest A is subjected to contour enhancement, and conversely,
, <T, the pixel of interest is determined to be a grayscale image, and no processing is performed on the multivalued image data of the pixel of interest A, so that the original data is maintained. This operation is repeated for the entire image, and the obtained image data is binarized using systematic dithering to reduce the deterioration in image quality of the grayscale image. FIG. 1 is a block diagram showing an embodiment of a preprocessing circuit for carrying out the present invention based on the above principle, and shows a circuit that performs preprocessing on a multivalued image signal and then binarizes the signal. In the figure, 200 is a circuit that performs Laplacian operation on multivalued image data of each pixel, 201 is a circuit that compares the obtained Laplacian with a reference value, and 202 is a circuit that selectively performs edge enhancement based on the comparison result. It is. The preprocessing circuit in the figure shows a circuit when the above-mentioned formula 0 (see P, 4) is converted as follows. Here, regarding the mutual positional relationship between the pixel of interest A and the reference pixel B, as shown in FIG. 4, eight surrounding pixels of the pixel of interest A are referred to as reference pixels B. L=A+K (A-B) [However, B indicates the image data of the reference pixel]=A+' ((A-Bl)+ (A Bt)+...+
(A+Ba) l...■ [However, ni'
-to/9) =A+to' + (A-A)+ (A-B,)+(A
B2)+...+(A-88) 1 In the above formula (2), the formula () is different from the above-mentioned formula 0, and represents the formula for calculating the Laplacian. First, a mixed image signal l of text and line drawings and grayscale images is input to the demultiplexer (DMPX) 100. The demultiplexer 100 sequentially writes data for each line into memories (MEM) 101, 102, and 103. After writing the image data into the memories 102 and 103, the multiplexer (MPX) 104 sequentially reads out 9 pixels in total, 3 pixels per line, as shown in FIG. Also multiplexer (MPX) 10
5, among the nine pixels read out by the multiplexer 104,
Only the pixels corresponding to the pixel of interest are selected and read out. Then, each time the processing of one line is completed, the memory 101゜1
Writing and reading of 02 and 103 are repeated. Now, assuming that the multivalued image data is read at a resolution of 8 pixels/mm and 8 bits/pixel, one line has 2048 pixels when considering a B4 size document. In this case, memories 101, 102, and 103 have a capacity that can store one line of data, and are 8 bit x 204
It consists of 8 words. The procedure for writing and reading from memories 101, 102, and 103 will be specifically explained below. To start binarization, first clear the memo January 01, and write the data of the first line to the memory 102 and the data of the second line to the memo January 03. At this time, the allocation of numbers for memories 101, 102, and 103 is in the state shown in FIG. Therefore, the multiplexer 104 reads the data of the memory 102 twice, for a total of 6 pixels, and reads out the image data for 9 pixels, including the data read from the memo January 03.On the other hand, the multiplexer 105 reads The image data in the memory 102 to which number 1 is assigned is read out. Then, the readout is repeated pixel by pixel, and when the processing for the first line is completed, the data in the third line is read out from the memory 102 to which number 3 is assigned. Write to O1. When writing of the data on the third line is completed, the number allocation of the memories 101, 102, and 103 becomes as shown in FIG. 5 (2). In this case, the memory 101.
02 and 103 respectively have the third. 1st. Since the data of the second line has been written, the multiplexer 104
Now, read out three pixels from each memory. Also, in multiplexer 1.05, memory 1 is allocated with number 1.
The image data of 03 is read out and the second line is processed. As described above, data is written to the memory assigned the number 3 every time the processing of one line is completed. When the writing is completed, the memory number allocation is changed from 3 to 2, 2 to 1, and 1 to 3, and the multiplexer 105
The image data is read from the memory to which number 1 is assigned. By repeating this operation for all lines, image data for the entire screen can be read out from the memory. The image data 2 of the reference pixel read out by the multiplexer 104 is subtracted by the subtracter (StlB) 107 from the image data 3 of the target pixel read out by the multiplexer 105 and input to the register (REG) 106. The result 4 is added pixel by pixel by an adder (ADD) 109. By repeating this 9 times for all reference pixels, the register (REG) 110 is set to Laplacian L, 5
is stored. The above is a circuit for calculating the Laplacian, and the present invention is achieved by adding the circuit described below to this circuit. The Laplacian value 5 in the register 110 is compared with a preset reference value (T) in a comparator (COMP) 111. As a result of the comparison, if the Laplacian LXy5 is larger than the reference value T, the demultiplexer (DMPX)
112 sends the image data 3 of the pixel of interest A to the adder (800) 113, and the multiplier (MOL) 114 multiplies the Laplacian L, . Add to image data 3. This allows the register (
Contour-enhanced data is input to REG) 1.16. On the other hand, when the Laplacian L, , 5 is smaller than the reference value T, the demultiplexer 112 outputs the image data 3 of the pixel of interest.
is sent to the register 116 as is. Therefore, the image data of the pixel of interest A is not subjected to any processing,
The original data is saved. The data 7 processed through the above operations is binarized by a comparator (COMP) 117 using a threshold value of a dither matrix. The above is an operation for one pixel.
By repeating the process for every pixel of a line, or by repeating every l line for every line, preprocessed image data covering the entire screen can be obtained. In the embodiment shown in FIG. 1, if a signal processing processor is used, the addition, subtraction, multiplication, and division calculation parts of the discrete circuits can be carried out by the processor's ALU (Arithmetic and U).
dLogic Unit) and software processing, the circuit can be made more compact. In the above embodiment, the 8 connected pixels shown in FIG. 4 were used for the Laplacian calculation, but this uses 4 connected pixels (in FIG. 3, the pixels indicated by B +, B z, B 5, and B q). You can also do that. [Effects of the Invention] According to the present invention, the Laplacian value in a mixed image is separated by a certain reference value, and only the text and line drawing portions are selectively enhanced, so that both the text and line drawings and the grayscale image can have good image quality. 2
value image data can be obtained. 4. Brief description of the drawings Figure 1 is a diagram illustrating the configuration of an embodiment of the present invention, Figure 2 is a diagram showing an example of a dither matrix, Figure 3 is a detailed diagram illustrating the present invention, Figure 4 is an attention-grabbing diagram. FIG. 5 is an explanatory diagram of how to select pixels and reference pixels, and a diagram of memory number allocation. In the figure, 200 is a circuit that performs Laplacian operation;
01 is a circuit that compares the Laplacian of each pixel with a predetermined reference value, 202 is a circuit that performs edge enhancement based on the comparison result, and T is a predetermined reference value. 86 to Al B1 86: The main pigment and the main polishing t/1 selection part 41! I Fist Rai> Nokari (1) (2) (3) (4)
(5) ,,. Memory 101 ■ -B [1] [I] Memo, G 102 B [=5=] B ■ [=1=]
Figure 5

Claims (1)

【特許請求の範囲】[Claims] 文字線画と濃淡画が混在する多値画像データに前処理と
して輪郭強調を施した後2値化する前処理回路に、各画
素の濃度にラプラシアン演算を施す手段(200)と、
予め定められた基準値(T)と前記画素ごとの濃度にラ
プラシアン演算を施した値とを比較する手段(201)
と、画素に選択的に輪郭強調を施す手段(202)を備
え、前記比較手段による比較結果に基づいて文字線画と
判定された場合に当該画素に対して選択的に輪郭強調を
施すことを特徴とする画像前処理方式。
means (200) for performing a Laplacian operation on the density of each pixel in a preprocessing circuit that performs contour enhancement on multivalued image data containing a mixture of character line drawings and grayscale images and then binarizes the data;
means (201) for comparing a predetermined reference value (T) with a value obtained by performing a Laplacian operation on the density of each pixel;
and means (202) for selectively applying edge enhancement to a pixel, and selectively applying edge enhancement to the pixel when it is determined to be a character line drawing based on the comparison result by the comparison unit. Image pre-processing method.
JP60059084A 1985-03-22 1985-03-22 Picture per-processing system Pending JPS61217883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60059084A JPS61217883A (en) 1985-03-22 1985-03-22 Picture per-processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60059084A JPS61217883A (en) 1985-03-22 1985-03-22 Picture per-processing system

Publications (1)

Publication Number Publication Date
JPS61217883A true JPS61217883A (en) 1986-09-27

Family

ID=13103121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60059084A Pending JPS61217883A (en) 1985-03-22 1985-03-22 Picture per-processing system

Country Status (1)

Country Link
JP (1) JPS61217883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155273A (en) * 1986-12-18 1988-06-28 Fujitsu Ltd Image processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155273A (en) * 1986-12-18 1988-06-28 Fujitsu Ltd Image processor

Similar Documents

Publication Publication Date Title
US4747156A (en) Image preprocessing procedure for noise removal
US5438634A (en) Dither processing method
JPS62216476A (en) Picture processor
JPH10271331A (en) Image processing method and device therefor
JP3749282B2 (en) Image processing device
JPH11187264A (en) Method and device for processing image
JPS61217883A (en) Picture per-processing system
JPS62107573A (en) Image processor
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPS613568A (en) Intermediate tone area identification system
JPS60136476A (en) Picture processor
JP3697027B2 (en) Image processing apparatus and method
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JPH01303869A (en) Picture processor
JPS6180964A (en) Picture signal processing method
KR0150164B1 (en) Quantization method and apparatus using error diffusion for image processing system
JPS62107572A (en) Image processor
JPH1166297A (en) Image processor and its method
JPH02109465A (en) Picture processor and multi-level picture estimating method
JPS60191562A (en) Picture processing unit
JPS6382581A (en) Method and device for processing binary image signal
JPS6386084A (en) Multilevel image encoding system
JPS61179674A (en) image identification device
JPS6175967A (en) Dither image generation circuit
JPH05205046A (en) Method and device for binalization of image