JPH01252066A - Halftone picture separation processor - Google Patents

Halftone picture separation processor

Info

Publication number
JPH01252066A
JPH01252066A JP63079704A JP7970488A JPH01252066A JP H01252066 A JPH01252066 A JP H01252066A JP 63079704 A JP63079704 A JP 63079704A JP 7970488 A JP7970488 A JP 7970488A JP H01252066 A JPH01252066 A JP H01252066A
Authority
JP
Japan
Prior art keywords
block
image
area
picture
binary
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
JP63079704A
Other languages
Japanese (ja)
Inventor
Toshihiko Nannichi
俊彦 南日
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63079704A priority Critical patent/JPH01252066A/en
Publication of JPH01252066A publication Critical patent/JPH01252066A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a picture with excellent separation and gradation by deciding whether a picture is in a binary picture area or a contrast picture area at every of plural picture element blocks depending on the mutual relation between the density gradation of a picture and the distribution state of the picture element and applying respectively a simple binarizing processing and dither processing respectively. CONSTITUTION:A/D conversion 12, shading distortion correction 13, AGC 14 are applied to an analog multi-level signal read by a CCD 11. The signal is stored respectively in memories 17, 18 while being binarized by a dither processing circuit 15 and a simple binary processing circuit 16. The black/white variable number A in the main and subscanning direction in the block is measured by the circuit 24, the density gradient A in the block is measured by the circuit 21, compared with specified values (k), (m) by comparators 26, 23 and the selector 28 is switched by OR 27 of the compared outputs. In the case of only A<k and A<m, the block is decided in the contrast picture area and the information of the memory 17 is given from the selector 28. In the case of A>=k or A>=m, it is decided to be in the binary picture area and the information of the memory 18 is outputted. By such a constitution, the original in mixture of character and photograph for its resolution and gradation is reproduced in an excellent way.

Description

【発明の詳細な説明】 (発明の目的) (産業上の利用分野) 本発明は、2画■との淡側像の混在する原稿を自動的に
領域を分離して、それぞれの画像領域に適した処理を行
う中間調画像分離処理装置に関するものである。
Detailed Description of the Invention (Objective of the Invention) (Industrial Application Field) The present invention automatically separates areas of a document containing two images and a light side image, and divides the area into each image area. The present invention relates to a halftone image separation processing device that performs suitable processing.

(従来の技術) 従来イメージセンサにより原稿を読み取り、量子化され
た画信号を用いて記録または表示を行う画像処理装置で
は、原稿に文字や写真の混在している場合それぞれの部
分を区別して画像処理覆ることが行われている。これは
画素ごとの2値化!2!lL浬では文字画像の部分のみ
が良好に再現され、写真等の濃淡部分の再現性に限界が
ある一方、デイザ処理等の疑似中間調処理を行うと写真
等の濃淡画像が良好に再現される反面、文字等の線画部
分の再現性が劣化することになるためである。
(Prior Art) Conventional image processing devices that read a document with an image sensor and record or display it using a quantized image signal, when the document contains text and photographs, distinguish each part and process the image. Processing is being done. This is binarization for each pixel! 2! With LL, only text images are reproduced well, and there is a limit to the reproducibility of shading parts of photographs, etc. However, when pseudo halftone processing such as dither processing is performed, shading images of photographs, etc. are reproduced well. On the other hand, this is because the reproducibility of line drawings such as characters deteriorates.

例えば第5図に示す画情報をデイザ処理する場合を説明
する。
For example, a case will be described in which the image information shown in FIG. 5 is subjected to dither processing.

第5図において破線で示す小さい正方形は1画素を表し
ている。また実線で示す大きい正方形は、それぞれ1つ
のブロック1〜8を表しており、各ブロックは16の画
素から構成される。言うまでもなく、各ブロックサイズ
はNXM (N、Mは整数)の任意の大きさで良い。
In FIG. 5, a small square indicated by a broken line represents one pixel. Further, each large square indicated by a solid line represents one block 1 to 8, and each block is composed of 16 pixels. Needless to say, each block size may be any size of NXM (N, M are integers).

また、各画素ごとに示されている数字は、原稿より読み
取った湿度レベルであって′0′が白、” 15 ”が
黒、その間のレベルは中間調の灰色を示す。なお、第5
図の濃度レベルは便宜上整数で表されているが必ずしも
整数である必要はない。
Further, the numbers shown for each pixel indicate the humidity level read from the original, with '0' indicating white, '15' indicating black, and levels in between indicating intermediate gray. In addition, the fifth
Although the density levels in the diagram are expressed as integers for convenience, they do not necessarily have to be integers.

かかる画情報をデイザ処理するには第5図に示す各ブロ
ック1.2.3,4.5,6.7.8と第6図に示すデ
イザマトリクス9とを比較し、デイザマトリクス内の閾
値の方がブロック内の濃度レベルより大きい場合その画
素は白と判定され、逆の場合には黒と判定される。例え
ば第5図に示す1.2,3,4.5,6,7.8をデイ
ザ処理すると処理結果は第7図に示すようなものとなる
To dither such image information, compare each block 1.2.3, 4.5, 6.7.8 shown in FIG. 5 with the dither matrix 9 shown in FIG. If the threshold value of is larger than the density level within the block, the pixel is determined to be white, and in the opposite case, the pixel is determined to be black. For example, when data 1.2, 3, 4.5, 6, and 7.8 shown in FIG. 5 are dithered, the processing results are as shown in FIG. 7.

このようにデイザ処理を行った場合、ブロック1.2.
5.6の文字等の線画部分の再現性が良好でないことが
わかる。
When dithering is performed in this way, blocks 1.2.
It can be seen that the reproducibility of line drawing portions such as characters 5.6 is not good.

このため文字画像領域と濃淡画像領域とを区別する方法
として特開昭58−3374号によって開示された方法
がある。この方法は原稿面(画面)を複数の画素からな
るブロックに分割し、各ブロック内で濃度レベルの最大
の画素と最少の画素との間で濃度レベルの差を求める。
For this reason, there is a method disclosed in Japanese Patent Laid-Open No. 58-3374 as a method for distinguishing between character image areas and grayscale image areas. In this method, the document surface (screen) is divided into blocks each consisting of a plurality of pixels, and within each block, the difference in density level is determined between the pixel with the maximum density level and the pixel with the minimum density level.

そしてこの差が予め定められた値よりも大きい場合には
2値画O領域あるいは文字画像部分と判別し、これ以外
の場合には儂淡画像領域あるいは写真画像部分と判別す
るものである。
If this difference is larger than a predetermined value, it is determined that it is a binary image O area or a character image part, and in other cases, it is determined that it is a light image area or a photographic image part.

例えば第5図に示す画情報をこの方法によ処理すると以
下のようになる。
For example, when the image information shown in FIG. 5 is processed by this method, the result will be as follows.

今、ブロック内の濃度レベルの最大値をP nax、最
小値をPninとして、 Pnax −Piin≧mの時2値画像領域・(1)p
nax −pnin <mの時ご淡画像領域・(2)と
したとき、m=8としてブロック1〜8について判定を
行う。その結果2値画像領域と判定されたブロックにつ
いて斜線で示した図が第8図である。すなわちブロック
1,5が2値画像領域のブロックである。
Now, assuming that the maximum value of the density level in the block is Pnax and the minimum value is Pnin, when Pnax - Piin≧m, binary image area (1) p
When nax −pnin <m, light image area (2) When m=8, blocks 1 to 8 are judged. FIG. 8 is a diagram in which blocks determined to be binary image areas are indicated by diagonal lines. That is, blocks 1 and 5 are blocks in the binary image area.

この場合すべてのブロックを組織的デイザ法によって2
値化した第7図の場合に比較して左方ブロック1.5に
ある直線が明瞭に現れている。−方ブロック2.6に示
される2本の細線に関しては切れ切れとなって画質劣化
が起きている。このブロック2.6に関しては読取り装
置のMTF(モジュレーション、トランスファー、ファ
ンクション)特性によって黒、白の振幅濃度レベルが小
さくなってきているため、濃度差が小さくなりそのブロ
ックが濃淡領域と誤判定されたためである。
In this case, all blocks are divided into 2
The straight line in left block 1.5 appears clearly compared to the case of FIG. 7, which is converted into values. The two thin lines shown in block 2.6 on the - side are cut off, causing deterioration in image quality. Regarding this block 2.6, the amplitude density level of black and white is becoming smaller due to the MTF (modulation, transfer, function) characteristics of the reading device, so the density difference becomes smaller and the block is incorrectly determined to be a gray area. It is.

そこで式(1)9式(2)におけるm値をm=6にすれ
ばこのブロック2.6に関する判定は2値画Q領域とな
り、良好に1lIIl線が再現される様和なるが、一方
本来濃淡領域であるブロック4.7.8も2値画fIi
領域となって不具合が生ずる。
Therefore, if the m value in Equation (1) and Equation (2) is set to m = 6, the judgment regarding this block 2.6 will be in the binary image Q area, and the 1lIIl line will be reproduced well, but on the other hand, Block 4.7.8, which is a gray area, is also a binary image fIi
This will cause problems.

第9図に示す図は線画や写真が混在した画像を走査した
時の出力濃度レベルを示したものである。
The diagram shown in FIG. 9 shows the output density level when scanning an image containing a mixture of line drawings and photographs.

第9図を用いてMTFの低下した2値画懺部分が濃淡画
像と誤判定が起きる場合を説明する。図中B 〜B が
画素ブロックを表す番号でT1〜T5がブロック内の画
素濃度の最大値と最小値の差を表し、Pが2値画fs!
領域か濃淡画像領域かを判別する閾値である。
A case will be explained using FIG. 9 in which a binary image area with a reduced MTF is erroneously determined to be a grayscale image. In the figure, B to B represent the pixel blocks, T1 to T5 represent the difference between the maximum and minimum pixel density within the block, and P represents the binary image fs!
This is a threshold value for determining whether it is a region or a grayscale image region.

今、第9図においてブロックB2の濃度差T2は閾値P
よりも大きいのでまたグラフからも明らかに2値画像領
域である。しかし、ブロックB3を見るとグラフから2
値画像語域と考えられるが、細かなパターンであるため
、MTFが低下し、その結果m反差T3は閾値Pより小
さくなりコ淡領域と誤判定が行われた。そこで閾値Pの
値を濃度差■3よりも小さくP、とすればブロックB3
は2値画像頭域と判定が行われるのであるが、一方その
様にするとブロックB5においては濃淡領域にもかかわ
らず、■5がPaよりも大きくなってしまい、2値画像
領域と誤判定を行ってしまう不具合があった。そこで閾
値Pの値は両者の適当な所で妥協していたので、細かな
文字が線画に関して、やや濃度変化が大きな濃淡画像の
部分では誤判定が生じ、画質劣化の原因となっていた。
Now, in FIG. 9, the density difference T2 of block B2 is the threshold value P
Since it is larger than , it is also clear from the graph that it is a binary image area. However, when looking at block B3, the graph shows that 2
Although it is considered to be a value image word range, since it is a fine pattern, the MTF decreases, and as a result, the m difference T3 becomes smaller than the threshold P, and it is erroneously determined as a light area. Therefore, if the value of the threshold P is set to be P smaller than the density difference ■3, block B3
is determined to be a binary image head area, but if this is done, in block B5, ■5 becomes larger than Pa even though it is a gray area, and it is incorrectly determined to be a binary image area. There was a problem with it going away. Therefore, since the value of the threshold P was compromised at an appropriate point between the two, erroneous judgments occurred in areas of shading images with relatively large changes in density, such as fine characters and line drawings, causing image quality deterioration.

また、この問題は濃度差から領域を判別分離する方法に
関してすべてにあてはまる問題点であつ上)ホの如く、
上記装置では複数画素ブロック内の画素の濃度差から領
域を判別しているために、MTFが低下する細かな文字
や線画が現れると画素ブロック内の濃度差が小さくなり
濃淡領域と誤判定され、また比較的濃度変化の大きい濃
淡画像領域は2値画fg!頒域と誤判定されるという問
題点があった。そこで本発明では濃度差や濃度変化を調
べて画像領域を判定する方式にあるこの問題点を除去し
、MTFが低下して濃度差や濃度変化が小さくなった細
かな文字や線画でも2値画像領域として正しく判定して
、細かな文字・線画の分解能を低下させず、また濃淡画
cll領域においても良好な階調再現を行う中間調画像
処理装装置を提供することを目的とする。
In addition, this problem applies to all methods of determining and separating regions from density differences.
In the above device, the area is determined based on the density difference between pixels within a multi-pixel block, so when small characters or line drawings that reduce MTF appear, the density difference within the pixel block becomes smaller and is incorrectly determined as a dark and light area. Furthermore, the grayscale image area with relatively large density changes is a binary image fg! There was a problem in that it was incorrectly determined to be a distribution area. Therefore, in the present invention, this problem in the method of determining the image area by checking the density difference or density change is removed, and even if the MTF is reduced and the density difference or density change is small, such as fine characters or line drawings, binary images can be obtained. It is an object of the present invention to provide a halftone image processing device that correctly determines the area as a region, does not reduce the resolution of fine characters and line drawings, and performs good gradation reproduction even in the grayscale CLL area.

〔発明の構成〕[Structure of the invention]

謀 (褥題←を解決するための手段) 本発明は入力画像の画面を複数の画素から成る画素ブロ
ックに分割する分割手段と、画素ブロック内での濃度勾
配が予め定められた値よりも大きいか又はその画素ブロ
ック内の主走査方向と副走査方向の白黒の変化の回数が
予め定められた所定の値よりも大きい場合にはその画素
ブロックを2値画像領域と判定しその他の場合にはその
画素ブロックを濃淡画像領域と判定する判定手段と、前
記判定手段による判定結果に応じて入力両件を2値画像
処理および淵淡画■処理する画像処理手段とを具備する
ことを特徴とする。
The present invention provides dividing means for dividing an input image screen into pixel blocks each consisting of a plurality of pixels, and a method in which the density gradient within the pixel block is larger than a predetermined value. Or, if the number of black and white changes in the main scanning direction and sub-scanning direction within the pixel block is larger than a predetermined value, the pixel block is determined to be a binary image area, and in other cases, the pixel block is determined to be a binary image area. It is characterized by comprising a determining means for determining the pixel block as a grayscale image area, and an image processing means for performing binary image processing and deep/dark image processing on both input items according to the determination result by the determining means. .

(作用) 本発明においては、ブロック内の画素濃度差だけでは画
像ブロックの領域判別が良好に行えないという不具合を
解決すべく、他の特性も用いて良好な画像領域判別を行
う。
(Operation) In the present invention, in order to solve the problem that image block regions cannot be discriminated well based only on pixel density differences within blocks, other characteristics are also used to perform good image region discrimination.

第10図に示す2値化処理画像は一定閾値7を用いて第
5図に示す画像を2値化した画像で、本発明で用いる2
値化画素の分布状態を説明するのに用いる。
The binarized image shown in FIG. 10 is an image obtained by binarizing the image shown in FIG.
It is used to explain the distribution state of valued pixels.

第10図において、ブロック1,2,5.6が2値画像
領域、ブロック3,4.7.6が濃淡画像領域であり、
それぞれ一定値で2値化を行った画素の分布状態には特
徴がある。
In FIG. 10, blocks 1, 2, and 5.6 are binary image areas, and blocks 3, 4, and 7.6 are gray image areas,
There are characteristics in the distribution of pixels that are binarized using constant values.

つまり、1つのブロック内での白画素、黒画素の変化の
回数に着目すると、2値画作領域においてMTFが低下
する様な細かなパターンでは白、黒の変化回数が多くな
る傾向にある。一方、濃淡画像領域においては、だんだ
んと濃度が変化するため、1つのブロック内においては
白と黒の境界線は1本あるか全くない(全面が白又は黒
の状態)という傾向がある。
That is, when focusing on the number of changes in white pixels and black pixels within one block, there is a tendency for the number of changes in white and black to increase in a fine pattern in which the MTF decreases in a binary image creation area. On the other hand, in a gray-scale image area, since the density gradually changes, there is a tendency for one block to have one or no boundary line between white and black (the entire area is white or black).

そこで、それぞれのブロックについて主走査方向、副走
査方向それぞれの白黒の変化の回数M、Nを数えてブロ
ックごとに合計すると以下のようになる。
Therefore, if we count the number of black and white changes M and N in the main scanning direction and the sub-scanning direction for each block and add them up for each block, we get the following.

ブロックト・・8回、ブロック2・・・12回ブロック
3・・・0回、ブロック4・・・ 0回ブロック5・・
・8回、ブロック6・・・12回ブロック7・・・2回
、ブロック8・・・ 5回次にこの回数をある数kを閾
値として2つのグループに分ける。ここでに=8として M+N≧k の時 2値画件領域・・・(3)M+N<
k  の時 濃淡画像領域・・・(4)とすると、ブロ
ック1.2,5.6は2値画像領域、ブロック3,4,
7.8は濃淡画像領域として判定される。
Blocked... 8 times, Block 2... 12 times Block 3... 0 times, Block 4... 0 times Block 5...
- 8 times, block 6... 12 times block 7... 2 times, block 8... 5 times Next, divide this number into two groups using a certain number k as a threshold. Here, when =8 and M+N≧k, binary image area...(3) M+N<
When k, grayscale image area...(4), blocks 1.2, 5.6 are binary image areas, blocks 3, 4,
7.8 is determined as a grayscale image area.

次に先にブロック内の画素の濃度差(濃度勾配)から2
値画像領域と濃淡画像領域にグループ分けした結果をふ
まえ、2値化画素の分布状態からグループ分けしたもの
とで、第4図に示されるよう両面または一方で2値画像
領域と判定されたものを最終的に2値画像領域とし残り
を濃淡画像領域とする。
Next, first calculate 2 from the density difference (density gradient) of pixels within the block.
Based on the results of grouping into value image areas and grayscale image areas, those that are grouped based on the distribution state of binarized pixels, and those that are determined to be binary image areas on both sides or on one side, as shown in Figure 4. is finally made into a binary image area, and the rest is made into a grayscale image area.

これは、2値画像領域であっても太い黒線や大きな面積
で黒となる部分の境界部分の画んブロックでは、一定量
値で2値化した時の面木分布状態が、濃淡画像領域のそ
れと区別がつかないため、画素ブロック内の濃度差(濃
度勾配)を優先さ氾るためである。
This means that even in a binary image area, for thick black lines or blocks at the boundaries of black areas with a large area, the face tree distribution state when binarized with a certain amount of value is different from the gray image area. This is because the concentration difference (density gradient) within a pixel block is given priority because it is indistinguishable from that of the pixel block.

本発明では画像の濃度勾配と画素の分布状態の相互関係
から複数画素ブロックごとに2値画像領域か濃淡画像領
域か判定してそれぞれの画素ブロックごとに2値画像領
域には単@2値化!2!L理を、濃淡画像領域にはデイ
ザ処理を行っているのでMTFの低下する細かな文字や
、細かな線画も含めて良好な分離能と階調性を両立した
文字・写真混在画像の2値化処理出力画像を得ることが
できる。
In the present invention, it is determined whether each multiple pixel block is a binary image area or a grayscale image area based on the correlation between the image density gradient and the pixel distribution state, and each pixel block is converted into a binary image area by single@binarization. ! 2! Since dither processing is applied to the grayscale image area, it is possible to achieve binary images of mixed text and photos with good resolution and gradation, including fine text and fine line drawings where the MTF decreases. It is possible to obtain a processed output image.

(実施例) 以下図面に基づいて本発明の一実施例を詳細に説明する
。第1図は本発明の一実施例に係る中間調画像分離処理
VC置の構成を示すブロック図である。同図に示される
ようにこの装置はチャージカップルドデイバイス(CO
D)I Lアナログデジタルコンバータ(A/Dコンバ
ータ)12、シェーディング補正回路(SHD補正回路
)13、自動利得制御回路(AGC)14、デイザ処理
回路15、単純2値処理回路16、メモリ17.18、
画信号データバス19、ブロック内濃度勾配計測回路2
1、閾値パラメータ保持回路22、コンパレータ23、
ブロック内画素変化計測回路24、閾値パラメータ保持
回路25、コンパレータ26、オアゲート27、セレク
タ28からなる。
(Example) An example of the present invention will be described in detail below based on the drawings. FIG. 1 is a block diagram showing the configuration of a halftone image separation processing VC device according to an embodiment of the present invention. As shown in the figure, this device is a charge-coupled device (CO
D) I L analog digital converter (A/D converter) 12, shading correction circuit (SHD correction circuit) 13, automatic gain control circuit (AGC) 14, dither processing circuit 15, simple binary processing circuit 16, memory 17.18 ,
Image signal data bus 19, intra-block concentration gradient measurement circuit 2
1. Threshold parameter holding circuit 22, comparator 23,
It consists of an intra-block pixel change measurement circuit 24, a threshold parameter holding circuit 25, a comparator 26, an OR gate 27, and a selector 28.

CG[)11は原稿を読み取り、読み取られた多値画信
号がA/Dコンバータ12に送られる。A/Dコンバー
タ12はアナログ信丹をデジタル信丹に変換する。SH
D補正回路13は光源の螢光灯の光量のバラツキによる
シェーディングは歪みを補正する。AGC14は画信号
の利得の自動調整を行う。利得の調整の行われた画信号
は画信号データバス19を介してデイザ処理回路15、
単純2値処理回路16、ブロック内湿度勾配計測回路2
1に送られる。デイザ処理回路15は画信号のデイザ処
理を行う。単純2値処理回路16は画信号の単純2値処
理を行う。メモリ17.18はブロックの領域判定を行
う間両信号を蓄積する。
The CG[) 11 reads the original, and the read multilevel image signal is sent to the A/D converter 12. The A/D converter 12 converts analog Shintan into digital Shintan. S.H.
The D correction circuit 13 corrects shading distortion caused by variations in the amount of light from a fluorescent lamp as a light source. The AGC 14 automatically adjusts the gain of the image signal. The image signal whose gain has been adjusted is sent to the dither processing circuit 15 via the image signal data bus 19.
Simple binary processing circuit 16, intra-block humidity gradient measurement circuit 2
Sent to 1. The dither processing circuit 15 performs dither processing on the image signal. The simple binary processing circuit 16 performs simple binary processing of the image signal. Memories 17, 18 store both signals during block area determination.

ブロック内の濃度勾配計測回路21はブロック内の濃度
勾配を計測する。閾値パラメータ保持回路22は式(1
)、 (2)の閾値mを記憶している。コンパレータ2
3はブロック内の濃度勾配計測回路21の出力値と閾値
パラメータ保持回路22の出力閾値mとを比較し、ブロ
ック内での濃度勾配が大きければ1″を出力し、小さけ
れば“0″を出力する。ブロック内画素変化計測回路2
4はブロック内で白画素から黒画素へ主走査方向、JJ
走査方向とも合計何回変化したかを計測する。閾値パラ
メータ保持回路25は式(3)、 (4)の閾値Kを記
憶している。コンパレータ26はブロック内画素変化計
測回路24と閾値パラメータ保持回路25の出力する閾
値にとを比較し、ブロック内での白黒の変化の方が閾値
によりも大きければ“JlPlを出力し、小さければ′
O″を出力する。オアゲート27はコンパレータ23,
26の出力値の論理和を取る。セレクタ28はオアゲー
ト27の出力値が1”であればメモリ18に記憶されて
いる値を出力し、オアゲート27の出力値がO″であれ
ばメモリ17に記憶されている値を出力する。
The concentration gradient measurement circuit 21 within the block measures the concentration gradient within the block. The threshold parameter holding circuit 22 is based on the formula (1
), (2) threshold m is stored. Comparator 2
3 compares the output value of the concentration gradient measurement circuit 21 in the block and the output threshold value m of the threshold parameter holding circuit 22, and if the concentration gradient in the block is large, outputs 1", and if it is small, outputs "0". Intra-block pixel change measurement circuit 2
4 is from white pixel to black pixel in the main scanning direction, JJ
The total number of changes in both scanning directions is measured. The threshold parameter holding circuit 25 stores the threshold K of equations (3) and (4). The comparator 26 compares the intra-block pixel change measuring circuit 24 and the threshold output from the threshold parameter holding circuit 25, and outputs "JlPl" if the change in black and white within the block is greater than the threshold;
O'' is output.The OR gate 27 outputs the comparator 23,
26 output values are logically summed. The selector 28 outputs the value stored in the memory 18 if the output value of the OR gate 27 is 1'', and outputs the value stored in the memory 17 if the output value of the OR gate 27 is O''.

次に本実施例の動作について説明する。CCD11で読
み取られたアナログの多値画信号は、A/Dコンバータ
12においてディジタル画信号に変換される。そして、
5t−10補正回路13において光源の螢光灯の光iバ
ラツキによるシェーディング歪みを補正し、AGC回路
14において画信号のゲインの自vJIfl整を行う。
Next, the operation of this embodiment will be explained. The analog multivalued image signal read by the CCD 11 is converted into a digital image signal by the A/D converter 12. and,
A 5t-10 correction circuit 13 corrects shading distortion due to variations in light i of a fluorescent lamp as a light source, and an AGC circuit 14 adjusts the gain of the image signal.

このようにしてCcoiiで読み取られた画信号は−通
りの補正が行われる。画信号はデイザ処理回路15、単
純2値処理回路16にてそれぞれ2値化され、ブロック
の領域判定を行う間、それぞれメモリ17.18にて一
時蓄積され、ブロックの領域が判定されると、その結果
にしたがってセレクタ28より選択されて2値化画信号
として出力される。一方、単純2値化された伯母はブロ
ック内画素変化計測回路24にてブロック内で白画素へ
主走査方向、副走査方向とも合計何回変化したかが計測
され、その値が閾値パラメータ保持回路25の出力する
閾値にの値とコンパレータ26にて比較され、ブロック
内での白黒の変化が多ければ1′を出力し少なければ“
0″を出力、する。また一方、ブロック内濃度勾配計測
回路21にてブロック内の濃度勾配が計測され、その値
が閾値パラメータ保持回路22の出力する閾値mの値と
コンパレータ23にて比較され、ブロック内での濃度勾
配が大きければ“1″を出力し、少なければ0″を出力
する。次にこれらのコンパレータ23,26からの出力
はオアゲート27にて論理和がとられる。
The image signal read by Ccoii in this way is corrected in - different ways. The image signals are each binarized by the dither processing circuit 15 and the simple binary processing circuit 16, and are temporarily stored in the memories 17 and 18 while the block area is being determined, and when the block area is determined, According to the result, it is selected by the selector 28 and output as a binary image signal. On the other hand, for the simply binarized aunt, the intra-block pixel change measuring circuit 24 measures the total number of times the pixel changes to white within the block in both the main scanning direction and the sub-scanning direction, and the value is stored in the threshold parameter holding circuit. The comparator 26 compares the value of the threshold value outputted by the block 25 with the value of the threshold value outputted by the comparator 25.
On the other hand, the intra-block concentration gradient measurement circuit 21 measures the concentration gradient within the block, and the comparator 23 compares the value with the value of the threshold m output from the threshold parameter holding circuit 22. , if the concentration gradient within the block is large, "1" is output, and if it is small, "0" is output. Next, the outputs from these comparators 23 and 26 are logically summed by an OR gate 27.

オアゲート27の出力値が′″1″であればセレクタ2
8はメモリ18に記憶されている値を出力しオアゲート
27の出力値が0″であればセレクタ28はメモリ17
に記憶されている値を出力する。
If the output value of OR gate 27 is ``1'', selector 2
8 outputs the value stored in the memory 18, and if the output value of the OR gate 27 is 0'', the selector 28 outputs the value stored in the memory 17.
Outputs the value stored in .

従って本実施例ではコンパレータ23によってブロック
内のe度勾配と所定の閾値mとの比較が行われ、又コン
パレータ26によってブロック内の画素変化数と所定の
閾値にとの比較が行われ、コンパレータ23,26の出
力伯母の論理和によってセレクタ28が切り換えられる
。従って第4図に示される濃度勾配が所定の閾値により
小さくかつ白黒の変化数が所定の閾値mよりも小さい場
合のみ、そのブロックが濃淡画affi域と判断されデ
イサ処理回路15によってデイザ処理された両信号がセ
レクタ28から出力される。これに対して濃度勾配が所
定の閾IaKより大きいか、又は白黒の変化数が所定の
閾値mよりも大きい場合には、そのブロックは2値画像
領域と判断され、単純2値処理回路16によって単純2
値処理された画信号がセレクタ28から出力される。
Therefore, in this embodiment, the comparator 23 compares the gradient e in the block with a predetermined threshold value m, and the comparator 26 compares the number of pixel changes in the block with a predetermined threshold value m. , 26, the selector 28 is switched. Therefore, only when the density gradient shown in FIG. 4 is smaller than a predetermined threshold value and the number of changes between black and white is smaller than a predetermined threshold value m, the block is determined to be a gray area and is dithered by the dither processing circuit 15. Both signals are output from selector 28. On the other hand, if the density gradient is larger than the predetermined threshold IaK or the number of black and white changes is larger than the predetermined threshold m, the block is determined to be a binary image area, and the simple binary processing circuit 16 determines that the block is a binary image area. simple 2
The value-processed image signal is output from the selector 28.

第2図本実施例による処理結果を示す図である。FIG. 2 is a diagram showing processing results according to this embodiment.

第2図に示すように左半分のブロック1,2,5゜6の
1111Mが明瞭に再現され、左半分のブロック3゜4
.7.8の濃淡画像デイザ処理が施されて、従来再現が
できなかったMTFが低下する細線部に関しても良好な
判別再現が行える。
As shown in Figure 2, blocks 1, 2, and 5゜6 1111M on the left half are clearly reproduced, and blocks 3゜4 on the left half are clearly reproduced.
.. 7.8 density image dither processing is performed, and good discrimination reproduction can be performed even for thin line portions where the MTF decreases, which could not be reproduced conventionally.

かくして本実施例によれば文字画像のように分解能が要
求される2値画像や、写真のように階調性が要求される
儂淡画像が混在する原稿でも効果的に判別を同時に行え
るので、それぞれの画像に適した2値化処理が行え、文
字写真混在原稿の分解能と階調性を良好に再現できる。
In this way, according to this embodiment, it is possible to simultaneously perform effective discrimination on originals containing binary images that require high resolution, such as character images, and gray and white images that require gradation, such as photographs. Binarization processing suitable for each image can be performed, and the resolution and gradation of originals containing text and photographs can be reproduced well.

また、従来細かな文字や、細線パターンは濃淡画像領域
と誤判定されていた部分も正確に2値画像領域と判定さ
れるようになった。そして2値画@領域と濃淡画像領域
の判別を同時に行うので、それぞれの画像の性質に適し
た冗長度抑圧符号化方式に切換えることができる。
In addition, parts of fine characters and thin line patterns that were previously erroneously determined to be grayscale image areas are now accurately determined to be binary image areas. Since the binary image @ area and the grayscale image area are discriminated at the same time, it is possible to switch to a redundancy suppression encoding method suitable for the characteristics of each image.

従って本装置を原稿の読取系に用いれば文字や写真の混
在した原稿も自動的にそれぞれの画像の性質に適した2
値化処理を行うのでディジタルコピーの画質改善が行え
る。また、ファクシミリの読取系に用いれば、従来文字
と写真でボタン操作によってモードを切換えていた動作
が不要、また混在原稿も使えるという利点もあり、すべ
ての画像情報の伝送処理に有効である。
Therefore, if this device is used as a document reading system, even documents containing text and photographs can be automatically scanned for two images that are suitable for the nature of each image.
Since digitization processing is performed, the image quality of digital copies can be improved. Furthermore, if used in a facsimile reading system, it eliminates the need to switch between text and photo modes by pressing a button, and also has the advantage of being able to use mixed originals, making it effective for transmitting all types of image information.

尚本発明はその技術的思想の範囲内において種々の変形
が可能である。
Note that the present invention can be modified in various ways within the scope of its technical idea.

即ち本実施例では画素ブロック内の濃度勾配を調べるの
に特開昭58−3374号にて開示された濃度差を用い
て行ったが濃度勾配の傾向がわかればよいので他の方法
を用いて濃度勾配を2値化してもよい。例えば、画素ブ
ロック内の濃度レベルの分布状態を調べたりして濃度勾
配を求めて2値化してもよい。
That is, in this embodiment, the density gradient in a pixel block was investigated using the density difference disclosed in Japanese Patent Laid-Open No. 58-3374, but since it is sufficient to know the tendency of the density gradient, other methods may be used. The concentration gradient may be binarized. For example, the density gradient may be determined by examining the distribution of density levels within a pixel block and then binarized.

また、濃度レベルの2値化の方法では、′CC両画像領
域2値化処理はB ayerの閾値マトリクスを用い、
また文字画e領域では単一閾値を用いた2値化処理での
説明を行ってきたが、画像領域判定後の2値化処理は他
の方法を用いても可能であることはいうまでもない。例
えば濃淡画像領域の処理ではB averの閾値マトリ
クスを用いたが、第3図(a)、 (b)、 (c)に
示すような各種閾値配列を用いてもよい。また文字画像
領域においては本発明では単一閾値を用いた単純2値化
を行ってたが、ンワ肋スライス法や、コントラスト強調
などを用い2値化を行ってもよい。
In addition, in the density level binarization method, the binarization process for both CC and C image areas uses Bayer's threshold matrix,
Furthermore, although we have explained the binarization process using a single threshold value for the character image e area, it goes without saying that the binarization process after image area determination can also be performed using other methods. do not have. For example, Baver's threshold matrix is used in processing the grayscale image region, but various threshold arrays such as those shown in FIGS. 3(a), (b), and (c) may also be used. Furthermore, in the character image area, although simple binarization using a single threshold value is performed in the present invention, binarization may be performed using the Nwa rib slice method, contrast enhancement, or the like.

また濃淡画像(写真)でも白や黒にかたよった濃度がた
くさんあるブロックでは2値化画像領域と判定される場
合があるが、本来コントラストを強調するようなブロッ
クであるので2値領域と判定して処理を行っても画質に
はほとんど影響はない。
Also, even in grayscale images (photographs), blocks that have many densities that are biased toward white or black may be determined to be binary image areas, but since the blocks originally emphasize contrast, they are determined to be binary image areas. Even if you process the image, it will have almost no effect on the image quality.

又以上の説明ではブロックサイズを4×4の16画素で
構成して16階調の場合で説明してきたが、このブロッ
クサイズを8×8や8×4といった構成にして、64階
調や32階調の階調再現を行ってもよい。
Also, in the above explanation, the block size is composed of 16 pixels of 4 x 4 and has 16 gradations, but if this block size is configured as 8 x 8 or 8 x 4, it is possible to create 64 gradations or 32 gradations. Gradation reproduction may also be performed.

判定ブロックサイズを8×8や8×4にした場合114
ili的デイザマトリクスはこれに対応するような8×
8や8×4で構成したほうが好ましいが、必ずしもその
必要はない。
114 when the judgment block size is set to 8x8 or 8x4
The ili dither matrix corresponds to 8×
Although it is preferable to use 8 or 8×4, it is not necessary.

(発明の効果〕 以上詳細に説明したように本発明に依ればMTFが低下
して濃度差や濃度変化が小さくなった細かな文字が線画
でも2値画像領域として正しく判定して細かな文字、線
画の分解能を低下させず、また濃淡画像領域においても
良好な階調再現を行うことができる。
(Effects of the Invention) As described in detail above, according to the present invention, fine characters with reduced MTF and small density differences and density changes can be correctly determined as binary image areas even in line drawings. , it is possible to perform good gradation reproduction even in a dark and dark image area without reducing the resolution of line drawings.

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

第1図は本発明の一実施例に係る中12XIWAiIi
i像分離処理装置の構成を示すブロック図、fJ52図
は本実施例の処理結果を示す図、第3図は他のデイザマ
トリクスを示す図、第4図濃度勾配と画素変化による領
域判定を示す図、第5図は処理される画情報を示す図、
第6図はデイザマトリクスを示す図、第7図はデイザ法
によって処理された画情報を示す図、第8図は特開昭5
8−3374号によって開示された方法によって処理さ
れた結果を示す図、第9は図出力濃度レベルを示す図、
第10図は均一な閾値で2値化処理を示した場合の処理
結果を示す図である。 15・・・デイザ処理回路、16・・・単純2値処理回
銘、17.18・・・メモリ、21・・・ブロック内Ω
度勾配計測回路、22.25・・・閾値パラメータ保持
回路、23.26・・・コンパレータ、24・・・ブロ
ック内画素変化計測回路、27・・・オアゲート、28
・・・セレクタ。 (CI)          (b)        
  (C)第3図 第4図 順                m噛  バ 手続ネ市正書(方式) 特許庁長官 殿              昭和63
年7月13日2、発明の名称 中間調画像分離処理装置 3、補正をする者 事件との関係  特許出願人 (307)株式会社 東芝 4、代理人 (〒104)東京都中央区銀座2丁目11番2号銀座大
作ビル6階 電話03−545−3508 <代表)(
発進口 昭和63年6月28日) 7、補正の内容 (1)本願の明細書第20ページ第7行の「第9は図」
を[第9図は]に訂正する。
FIG. 1 shows a medium 12XIWAiIi according to an embodiment of the present invention.
A block diagram showing the configuration of the i-image separation processing device, Figure fJ52 is a diagram showing the processing results of this embodiment, Figure 3 is a diagram showing another dither matrix, Figure 4 is a diagram showing area determination based on density gradient and pixel change. FIG. 5 is a diagram showing image information to be processed,
Fig. 6 is a diagram showing a dither matrix, Fig. 7 is a diagram showing image information processed by the dither method, and Fig. 8 is a diagram showing the image information processed by the dither method.
8-3374, a diagram showing the results processed by the method disclosed in No. 8-3374, No. 9 is a diagram showing the diagram output density level,
FIG. 10 is a diagram showing processing results when binarization processing is performed using uniform threshold values. 15...Dither processing circuit, 16...Simple binary processing memory, 17.18...Memory, 21...Ω in block
degree gradient measuring circuit, 22.25...threshold parameter holding circuit, 23.26...comparator, 24...internal pixel change measuring circuit, 27...OR gate, 28
···selector. (CI) (b)
(C) Figure 3 Figure 4 order m-page procedure manual (method) Mr. Commissioner of the Patent Office 1986
July 13, 2015 2, Name of the invention Halftone image separation processing device 3, Relationship with the person making the amendment Patent applicant (307) Toshiba Corporation 4, Agent (104) 2-chome, Ginza, Chuo-ku, Tokyo 11-2 Ginza Daisaku Building 6th floor Telephone 03-545-3508 <Representative)
Starting point June 28, 1988) 7. Contents of amendment (1) "No. 9 is a figure" on page 20, line 7 of the specification of the present application
is corrected to [Figure 9].

Claims (1)

【特許請求の範囲】 入力画像の画面を複数の画素から成る画素ブロックに分
割する分割手段と、 画素ブロック内での濃度勾配が予め定められた値よりも
大きいか又はその画素ブロック内の主走査方向と副走査
方向の白黒の変化の回数が予め定められた所定の値より
も大きい場合にはその画素ブロックを2値画像領域と判
定しその他の場合にはその画素ブロックを濃淡画像領域
と判定する判定手段と、 前記判定手段による判定結果に応じて入力画像を2値画
像処理および濃淡画像処理する画像処理手段とを具備す
ることを特徴とする中間調画像分離処理装置。
[Scope of Claims] Dividing means for dividing the screen of an input image into pixel blocks each consisting of a plurality of pixels; If the number of black and white changes in the direction and sub-scanning direction is greater than a predetermined value, the pixel block is determined to be a binary image area, and in other cases, the pixel block is determined to be a grayscale image area. 1. A halftone image separation processing device, comprising: a determination unit for performing binary image processing and a grayscale image processing on an input image according to a determination result by the determination unit.
JP63079704A 1988-03-31 1988-03-31 Halftone picture separation processor Pending JPH01252066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079704A JPH01252066A (en) 1988-03-31 1988-03-31 Halftone picture separation processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079704A JPH01252066A (en) 1988-03-31 1988-03-31 Halftone picture separation processor

Publications (1)

Publication Number Publication Date
JPH01252066A true JPH01252066A (en) 1989-10-06

Family

ID=13697595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079704A Pending JPH01252066A (en) 1988-03-31 1988-03-31 Halftone picture separation processor

Country Status (1)

Country Link
JP (1) JPH01252066A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269233A (en) * 2018-03-15 2018-07-10 福州大学 A kind of word dither method based on shading halftoning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269233A (en) * 2018-03-15 2018-07-10 福州大学 A kind of word dither method based on shading halftoning
CN108269233B (en) * 2018-03-15 2021-07-27 福州大学 Text dithering method based on shading halftone

Similar Documents

Publication Publication Date Title
JP3276985B2 (en) Image pixel processing method
JPH05199413A (en) Picture processor
JPH045305B2 (en)
JPH10313407A (en) Image processing unit
JPH01252066A (en) Halftone picture separation processor
JPH04248766A (en) Image area separation system
JPH09212642A (en) Image processor
JPH0457274B2 (en)
JPH0550187B2 (en)
JP2670779B2 (en) Halftone image separation processor
JP3215146B2 (en) Image processing device
JPS5844861A (en) Processing system for intermediate tone signal
JPS60136476A (en) Picture processor
JPS6180964A (en) Picture signal processing method
KR910006683B1 (en) Picture processing device
JP2670778B2 (en) Halftone image separation processor
JP2629183B2 (en) Image area identification device
JP3472289B2 (en) Image processing device
JPS6180971A (en) Picture signal processor
JPH0494266A (en) Half tone picture processing unit
JPH04270561A (en) Picture processor
JPS63260267A (en) Picture area discriminating device
JPS63197171A (en) Digital copying machine
JPS58119268A (en) Picture signal processing system
JPS6180965A (en) Picture signal processing method