Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0671308B2 - Image signal processing method - Google Patents
[go: Go Back, main page]

JPH0671308B2 - Image signal processing method - Google Patents

Image signal processing method

Info

Publication number
JPH0671308B2
JPH0671308B2 JP59201862A JP20186284A JPH0671308B2 JP H0671308 B2 JPH0671308 B2 JP H0671308B2 JP 59201862 A JP59201862 A JP 59201862A JP 20186284 A JP20186284 A JP 20186284A JP H0671308 B2 JPH0671308 B2 JP H0671308B2
Authority
JP
Japan
Prior art keywords
image
pixel
density
peripheral pixels
halftone
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 - Fee Related
Application number
JP59201862A
Other languages
Japanese (ja)
Other versions
JPS6180959A (en
Inventor
大治 永岡
正實 倉田
高志 大森
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP59201862A priority Critical patent/JPH0671308B2/en
Publication of JPS6180959A publication Critical patent/JPS6180959A/en
Publication of JPH0671308B2 publication Critical patent/JPH0671308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、文字画像と中間調画像の混在する画情報源に
ついてこれらの部分でそれぞれ適正な画像処理を行わせ
るために、画像処理に際してこれら画像部分を識別させ
るための画信号処理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION "Industrial field of application" The present invention relates to an image information source in which a character image and a halftone image coexist in order to appropriately perform image processing in these portions. The present invention relates to a picture signal processing method for identifying an image portion.

「従来の技術」 イメージセンサを用いて原稿を読み取り、量子化された
画信号を用いて記録または表示を行う画像処理装置で
は、原稿に文字や写真の混在している場合それぞれの部
分を区別して画像処理することが行われている。これは
画素ごとの多値化処理では文字画像の部分のみが良好に
再現され、写真等の中間調の部分の再現性に限界がある
一方、ディザ処理等の疑似中間調処理を行うと写真等の
中間調が良好に再現される反面、文字等の線画部分の再
現性が劣化することになるためである。
"Prior Art" Image processing devices that read an original using an image sensor and record or display it using a quantized image signal distinguish the respective parts when the original contains characters and photographs. Image processing is performed. This is because only the part of the character image is reproduced well by the multi-valued processing for each pixel, and the reproducibility of the halftone part such as a photograph is limited, while the pseudo halftone process such as dither processing causes a photograph etc. This is because while the halftone of 3 is well reproduced, the reproducibility of the line drawing portion such as characters is deteriorated.

文字画像の部分と中間調画像の部分を区別する従来技術
としては、特開昭58−3374号によって開示された方法が
代表的なものである。この方法(方式)では、原稿面
(画面)を複数の画素から成るブロックに分割し、各ブ
ロック内で濃度レベルの最大の画素と最小の画素の間で
濃度レベルの差を求める。そしてこの差が予め定められ
た値よりも大きい場合には2値画像領域あるいは文字画
像部分と判別し、これ以外の場合には濃淡画像領域ある
いは中間調画像部分と判別する。
As a conventional technique for distinguishing a character image portion from a halftone image portion, the method disclosed in Japanese Patent Laid-Open No. 58-3374 is representative. In this method (method), the document surface (screen) is divided into blocks composed of a plurality of pixels, and the difference in density level between the pixels having the maximum density level and the pixels having the minimum density level in each block is obtained. If the difference is larger than a predetermined value, it is determined to be a binary image area or a character image portion, and otherwise, it is determined to be a gray image area or a halftone image portion.

ところでこのような画信号処理方法では、ブロックの隅
に注目画素が存在する場合にはこの注目画素の画像状態
を正確に判別するためのデータがなく、誤った判断を行
う危険性があった。
By the way, in such an image signal processing method, when the target pixel exists at the corner of the block, there is no data for accurately determining the image state of the target pixel, and there is a risk of making an erroneous determination.

これに対処するに、特開昭58−220563号公報には、注目
画素を中心とする画素マトリクスを設定し、このマトリ
クス中の画素レベルの平均値と中心画素レベルとを比較
することにより、注目画素が文字画像か濃淡画像(中間
調画像)かを判別する技術が示されている。この技術に
よれば、各画素毎に画像状態の判別が可能となる。
To deal with this, in Japanese Patent Laid-Open No. 58-220563, a pixel matrix centered on a pixel of interest is set, and the average value of the pixel levels in this matrix is compared with the central pixel level. A technique for discriminating whether a pixel is a character image or a grayscale image (halftone image) is shown. According to this technique, the image state can be determined for each pixel.

「発明が解決しようとする問題点」 ところで、中間調画像に比べて文字画像の方が濃度勾配
が大きくなるという特徴があることから、従来より、濃
度勾配の大小によって画像状態を判別することが行われ
ている。そして、濃度勾配の求め方としては、従来より
種々の方法が提案されており、例えば、前記の特開昭58
−3374号公報に示されるようにブロック内の濃度レベル
の最大値と最小値の差分を求める方法(以下、第1の方
法という。)や、前記の特開昭58−220563号公報に示さ
れるようにブロック中の画素レベルの平均値と中心画素
レベルの差分を求める方法(以下、第2の方法とい
う。)が知られている。また、特開昭50−111941号公報
に示されるように注目画素の両側の2つの画素の濃度の
差分を求める方法(以下、第3の方法という。)も考え
られる。
[Problems to be Solved by the Invention] By the way, since a character image has a characteristic that a density gradient is larger than that of a halftone image, it is possible to discriminate an image state based on the magnitude of the density gradient. Has been done. Various methods have been conventionally proposed for obtaining the concentration gradient.
A method for obtaining the difference between the maximum value and the minimum value of the density level in a block as shown in Japanese Patent Laid-Open No. 3374 (hereinafter referred to as the first method) and the method disclosed in Japanese Patent Laid-Open No. 58-220563. As described above, a method (hereinafter referred to as a second method) of obtaining a difference between an average value of pixel levels in a block and a central pixel level is known. Further, as disclosed in Japanese Patent Laid-Open No. 50-111941, a method of obtaining the difference in density between two pixels on both sides of the target pixel (hereinafter referred to as a third method) is also conceivable.

しかしながら、これら第1ないし第3の方法では、それ
ぞれ以下のような問題点がある。
However, each of these first to third methods has the following problems.

まず、第1の方法では、ブロック内の全画素を対象にし
て最大値と最小値を検出する必要があるため、これを実
現する回路構成が大掛かりになるという問題点がある。
First, in the first method, since it is necessary to detect the maximum value and the minimum value for all the pixels in the block, there is a problem that the circuit configuration for realizing this becomes large.

次に、第2の方法では次のような2つの問題点がある。Next, the second method has the following two problems.

第1の問題点は画像中のノイズに対して弱いということ
である。その理由は、第2の方法は、言い換えると注目
画素の濃度レベルと周辺画素の濃度レベルとから濃度勾
配を求める方法であるが、ブロックサイズが小さいと注
目画素と周辺画素との間隔が小さくノイズによる濃度勾
配の変動が大きくなるからである。また、このノイズに
よる濃度勾配の変動を小さくするためにブロックサイズ
を大きくすると演算対象となる画素が増え、処理が複雑
になってしまう。
The first problem is that it is weak against noise in the image. The reason is that the second method is, in other words, a method of obtaining the density gradient from the density level of the target pixel and the density level of the peripheral pixels. However, when the block size is small, the interval between the target pixel and the peripheral pixels is small and noise is small. This is because the fluctuation of the concentration gradient due to becomes large. Further, if the block size is increased in order to reduce the fluctuation of the density gradient due to this noise, the number of pixels to be calculated increases, and the processing becomes complicated.

また、第2の方法では、注目画素に対する全方向からの
濃度勾配が考慮されるが、注目画素にノイズがのった場
合にはノイズによる濃度勾配の変動が全方向からの濃度
勾配に加算されることになる。一方、注目画素に対して
全方向からの濃度勾配が略等しくなることは考え難く、
通常は、濃度勾配は方向性を有している。そのため、第
2の方法のようにブロック中の各画素の濃度の平均値と
注目画素の濃度との差分を濃度勾配としてしまうと、本
来の濃度勾配よりも小さい値になってしまう。以上のこ
とから、第2の方法で求められる濃度勾配は、本来の濃
度勾配の寄与が少なくなる一方、ノイズの寄与が大きく
なり、ノイズの影響が強調されてしまう。
Further, in the second method, the density gradient from all directions with respect to the pixel of interest is taken into consideration. However, when noise occurs on the pixel of interest, the fluctuation of the density gradient due to noise is added to the density gradient from all directions. Will be. On the other hand, it is unlikely that the density gradients from all directions will be approximately equal to the pixel of interest,
Usually, the concentration gradient is directional. Therefore, if the difference between the average value of the densities of the pixels in the block and the density of the pixel of interest is set as the density gradient as in the second method, the value becomes smaller than the original density gradient. From the above, in the concentration gradient obtained by the second method, the contribution of the original concentration gradient is reduced, while the contribution of noise is increased, and the influence of noise is emphasized.

第2の方法における第2の問題点は、画像状態の判別精
度が悪くなるかあるいは判別精度を上げるために処理が
複雑になるということである。その理由は以下の通りで
ある。文字画像の場合であっても1画素単位で濃度勾配
が急激に変化するということは少ないため、ブロックサ
イズが小さいと求められる濃度勾配の値も小さくなり、
判別精度が悪くなる。一方、判別精度を上げるためにブ
ロックサイズを大きくすると演算対象となる画素が増
え、処理が複雑になる。
The second problem with the second method is that the image state discrimination accuracy becomes poor, or the processing becomes complicated in order to improve the discrimination accuracy. The reason is as follows. Even in the case of a character image, the density gradient is unlikely to change abruptly on a pixel-by-pixel basis.
Discrimination accuracy becomes poor. On the other hand, if the block size is increased to increase the discrimination accuracy, the number of pixels to be calculated increases, and the processing becomes complicated.

次に、第3の方法では次のような2つの問題点がある。Next, the third method has the following two problems.

第1の問題点は、濃度勾配の方向によって、求められる
濃度勾配の値が変化するということである。なぜなら
ば、第3の方法では、差分を求める2つの画素の配列方
向に沿って濃度勾配が生じていれば、求められる濃度勾
配の値は本来の濃度勾配の値に近い値となるが、差分を
求める2つの画素の配列方向と濃度勾配の方向がずれて
いると、そのずれに応じて、求められる濃度勾配の値は
本来の濃度勾配の値よりも小さい値となってしまう。例
えば、差分を求める2つの画素の配列方向と濃度勾配の
方向が直交している場合には、求められる濃度勾配の値
は“0"になってしまう。なお、前記の特開昭50−111941
号公報に示されるように、濃度勾配として、直交する2
方向の差分の平均値を求めることも考えられるが、この
場合であっても、濃度勾配の方向によって、求められる
濃度勾配の値が変化する。すなわち、差分を求める2方
向の中間の方向(斜め方向)に沿って濃度勾配が生じて
いれば、求められる濃度勾配の値は本来の濃度勾配の値
に近い値となるが、差分を求める2方向のうちの1方向
に沿って濃度勾配が生じていれば、求められる濃度勾配
の値は本来の濃度勾配の値の半分程度になってしまう。
The first problem is that the value of the obtained density gradient changes depending on the direction of the density gradient. This is because in the third method, if a density gradient is generated along the arrangement direction of two pixels for which a difference is to be obtained, the value of the density gradient obtained will be close to the value of the original density gradient. If the arrangement direction of the two pixels for which is calculated and the direction of the density gradient are deviated, the value of the density gradient obtained becomes smaller than the original value of the density gradient depending on the deviation. For example, when the arrangement direction of the two pixels for which the difference is obtained and the direction of the density gradient are orthogonal to each other, the obtained density gradient value is "0". Incidentally, the above-mentioned JP-A-50-111941
As shown in Japanese Patent Publication No.
Although it is conceivable to obtain the average value of the difference between the directions, even in this case, the obtained concentration gradient value changes depending on the direction of the concentration gradient. That is, if the density gradient is generated along the middle direction (oblique direction) of the two directions for obtaining the difference, the value of the obtained density gradient is close to the value of the original density gradient, but the difference is obtained 2. If a concentration gradient is generated along one of the directions, the obtained concentration gradient value will be about half of the original concentration gradient value.

第3の方法における第2の問題点は、画像中のノイズに
対して弱いということである。その理由は、前述のよう
に第3の方法では、濃度勾配の方向が特定の方向の場合
以外は、求められる濃度勾配の値が本来の濃度勾配の値
よりも小さい値となってしまい、ノイズによって生じた
濃度勾配との差が小さくなるためである。
The second problem with the third method is that it is weak against noise in the image. The reason is that, as described above, in the third method, the value of the obtained density gradient becomes a value smaller than the original value of the density gradient except when the direction of the density gradient is in a specific direction, and the noise This is because the difference from the concentration gradient caused by is small.

本発明はこのような事情に鑑み、簡単な処理で、ノイズ
の影響が少なくかつ画像上の濃度勾配の方向によって影
響を受けることなく、精度良く画素毎に文字画像か中間
調画像かを判別することのできる画信号処理方法を提供
することを目的とする。
In view of such circumstances, the present invention makes it possible to accurately determine, for each pixel, a character image or a halftone image with a simple process, which is less affected by noise and is not affected by the direction of the density gradient on the image. It is an object of the present invention to provide a picture signal processing method capable of performing the above.

[問題点を解決するための手段」 本発明の画信号処理方法は、画像処理の対象となる画素
としての注目画素を取り巻いた所定範囲の周辺部分に位
置する周辺画素のうち注目画素を挟む位置に存在する2
つの周辺画素の濃度差を異なった周辺画素について複数
組求め、これらの最大値を所定の閾値と比較して、この
比較結果から注目画素が文字画像の部分に属するか中間
調画像の部分に属するかを判別するものである。この場
合、濃度差を求めるための2つの周辺画素は注目画素に
対して対称の位置に存在するものであってもよく、また
注目画素を挟んだ最も離れた位置に存在するものであっ
てもよい。
[Means for Solving Problems] According to the image signal processing method of the present invention, among the peripheral pixels located in the peripheral portion of the predetermined range surrounding the target pixel as the pixel to be subjected to the image processing, the positions sandwiching the target pixel. Existing in 2
The density difference between two peripheral pixels is calculated for a plurality of different peripheral pixels, and the maximum value of these peripheral pixels is compared with a predetermined threshold value. From this comparison result, the pixel of interest belongs to the character image portion or the halftone image portion. It is to determine whether or not. In this case, the two peripheral pixels for obtaining the density difference may be located symmetrically with respect to the target pixel, or may be located at the most distant positions with the target pixel sandwiched therebetween. Good.

「実施例」 以下実施例につき本発明を詳細に説明する。[Examples] The present invention will be described in detail below with reference to Examples.

第1図は画情報源としての原稿11と、画像の判断に用い
るための3×3の画素群P0〜P8から成るウィンドウ12を
表わしたものである。この実施例で原稿11は、画像処理
の対象となる注目画素P0によって隙間なくスキャンさ
れ、これと共にウィンドウ12も原稿上を移動するかたち
となる。注目画素P0を取り巻いた形の8つの画素P1〜P8
を周辺画素と呼ぶ。周辺画素P1〜P8の各濃度d1〜d8は、
読取素子の光電変換出力をA/D変換した後の信号レベル
として表わされたものである。この実施例で濃度d1〜d8
は6ビット(64段階)のディジタルデータとして表わさ
れる。
FIG. 1 shows a document 11 as an image information source and a window 12 made up of 3 × 3 pixel groups P 0 to P 8 used for image determination. In this embodiment, the original 11 is scanned without any gap by the target pixel P 0 to be image-processed, and the window 12 also moves along with the original. Eight pixels P 1 to P 8 surrounding the target pixel P 0
Are called peripheral pixels. The respective densities d 1 to d 8 of the peripheral pixels P 1 to P 8 are
It is represented as a signal level after A / D conversion of the photoelectric conversion output of the reading element. In this example, the concentrations d 1 to d 8
Is represented as 6-bit (64 steps) digital data.

さて本実施例では注目画素P0を挟む周辺画素として4組
の周辺画素を使用する。これらは以下の組合せとなる。
In this embodiment, four sets of peripheral pixels are used as the peripheral pixels that sandwich the target pixel P 0 . These are the following combinations.

(P1,P8)、(P2,P7)、 (P3,P6)、(P4,P5) これらの各組の周辺画素の濃度差の絶対値はそれぞれ次
のようになる。
(P 1 , P 8 ), (P 2 , P 7 ), (P 3 , P 6 ), (P 4 , P 5 ) The absolute value of the density difference between the peripheral pixels of each of these groups is as follows. Become.

|d1−d8|、|d2−d7|、 |d3−d6|、|d4−d5| 本実施例ではこれら4組の濃度差のうち最大のものをピ
ックアップし、これを所定の閾値lTHと比較する。そし
て閾値lTHよりも大きい場合には注目画素P0が文字画像
部分に属するものと判別し、これ以外の場合には中間調
画像部分に属するものと判別する。これを式で表わすと
次のようになる。
| d 1 −d 8 |, | d 2 −d 7 |, | d 3 −d 6 |, | d 4 −d 5 | In the present example, the largest concentration difference among these four pairs is picked up, This is compared with a predetermined threshold l TH . If it is larger than the threshold value l TH, it is determined that the pixel of interest P 0 belongs to the character image portion, and otherwise it is determined to belong to the halftone image portion. This can be expressed as follows.

(i)MAX(|d1−d8|、|d2−d7|、 |d3−d6|、|d4−d5|)>lTH ……文字画像 (ii)MAX(|d1−d8|、|d2−d7|、 |d3−d6|、|d4−d5|)≦lTH ……中間調画像 以上の判別原理を第2図を用いて説明する。同図は原稿
のある部分について1ライン分の信号レベル(濃度)を
表わしたものである。この図で信号レベルが“1"とは原
稿のその部分が理想的な白色である場合であり、信号レ
ベル“64"とはその部分が理想的な黒色である場合をい
う。信号レベルは走査の前半部分において全体としてな
だらかに変化している。これらの部分では信号レベルが
多段階に変化しており、中間調画像領域であることがわ
かる。中間調画像領域では近接した2点をとるとそれら
の濃度に大差がない。従って注目画素P0を挟んだ2つの
画素の濃度差を小さければ、注目画素P0は中間調画像の
部分に属する可能性が高い。注目画素P0を中心としてす
べての方向(本実施例では4方向)について濃度差を求
め、それらの最大値を所定の閾値と比較すれば、中間調
画像か否かの判断が更に確実となる。
(I) MAX (| d 1 −d 8 |, | d 2 −d 7 |, | d 3 −d 6 |, | d 4 −d 5 |)> l TH …… Character image (ii) MAX (| d 1 −d 8 |, | d 2 −d 7 |, | d 3 −d 6 |, | d 4 −d 5 |) ≦ l TH …… Halftone image explain. This figure shows the signal level (density) of one line for a certain part of the document. In this figure, the signal level "1" means that the part of the document is ideal white, and the signal level "64" means that the part is ideal black. The signal level changes as a whole in the first half of scanning. In these portions, the signal level changes in multiple stages, and it can be seen that it is a halftone image area. In the halftone image area, if two adjacent points are taken, there is no great difference in their densities. Therefore smaller the density difference of the two pixels sandwiching the target pixel P 0, the pixel of interest P 0 is likely to belong to a portion of the halftone image. If density differences are found in all directions (four directions in this embodiment) centered on the pixel of interest P 0 and their maximum values are compared with a predetermined threshold value, the determination as to whether or not the image is a halftone image becomes more reliable. .

一方、第2図で走査の後半部分にはシャープに切り込ん
だ波形が存在する。この部分は文字等の線画像のエッジ
部分であり、典型的な文字画像領域である。このような
文字画像領域では近接した2点で大きな濃度差を生じる
可能性が高い。従って注目画素を挟んだ2つの画素の濃
度差が大きければ、注目画素は文字画像の部分に属する
可能性が高い。注目画素を中心としてその周辺の濃度差
を全組にわたって調べれば、文字画像か否かの判断が更
に確実となる。
On the other hand, there is a sharply cut waveform in the latter half of scanning in FIG. This portion is an edge portion of a line image such as a character and is a typical character image area. In such a character image area, there is a high possibility that a large density difference will occur between two adjacent points. Therefore, if the density difference between the two pixels sandwiching the target pixel is large, the target pixel is likely to belong to the character image portion. If the density difference around the pixel of interest is centered on and examined for all groups, the determination as to whether or not it is a character image becomes more reliable.

第3図は以上のような原理を用いて画信号の処理を行う
画信号処理装置を表わしたものである。この装置のイメ
ージセンサ21は原稿をラスタスキャンし、A/D変換器22
は入力されたアナログ画信号23を一画素ずつ量子化す
る。6ビットのパラレルデータとしてA/D変換器22から
出力されるディジタル画信号24は、ラインメモリ25に供
給される他、第1〜第3のラッチ261〜263の直列回路に
供給され、3画素分ラッチされる。ここでラインメモリ
25は6ビットのパラレルデータを1ライン分蓄えて順に
出力する遅延メモリであり、第1〜第3のラッチ261〜2
63は後に説明する第0および第4〜第8のラッチ260、2
64〜268と同様に6ビットのパラレルデータを1画素分
ずつラッチする回路である。
FIG. 3 shows an image signal processing apparatus for processing an image signal using the above principle. The image sensor 21 of this device raster-scans the original document, and the A / D converter 22
Quantizes the input analog image signal 23 pixel by pixel. The digital image signal 24 output from the A / D converter 22 as 6-bit parallel data is supplied to the line memory 25 and also to the series circuit of the first to third latches 26 1 to 26 3 , 3 pixels are latched. Line memory here
Reference numeral 25 is a delay memory that stores 6-bit parallel data for one line and sequentially outputs the data, and first to third latches 26 1 to 2
6 3 is a 0th and 4th to 8th latches 26 0 and 2 to be described later.
6 4-26 8 similarly to the 6-bit parallel data is a circuit that latches by one pixel a.

第1のラッチ261のラッチ出力は、濃度d1を表わす信号
として第1の減算器281に供給される。同様に第2また
は第3のラッチ262、263のラッチ出力は、濃度d2または
d3を表わす信号として第2または第4の減算器282、284
に供給される。
Latch output of the first latch 26 1 is supplied to the first subtracter 28 1 as a signal representative of the density d 1. Similarly, the latch output of the second or third latch 26 2 , 26 3 is the density d 2 or
The second or fourth subtractor 28 2 , 28 4 is used as a signal representing d 3.
Is supplied to.

一方、ラインメモリ25から出力される1ライン遅延され
たディジタル画信号29は、同一構成の他のラインメモリ
31に供給される他、第4、第0および第5のラッチ2
64、260、265の直列回路に供給される。第4または第5
のラッチ264、265のラッチ出力は、濃度d4またはd5を表
わす信号として第3の減算器283に供給される。
On the other hand, the digital image signal 29 delayed by one line output from the line memory 25 is the other line memory having the same configuration.
31 to the fourth, 0th and 5th latches 2
6 4 is supplied to the 26 0, 26 5 of the series circuit. 4th or 5th
The latched outputs of the latches 26 4 and 26 5 are supplied to the third subtractor 28 3 as a signal representing the density d 4 or d 5 .

これに対してラインメモリ31から出力される更に1ライ
ン遅延されたディジタル画信号32は、第6〜第8のラッ
チ266〜268の直列回路に供給される。第6〜第8のラッ
チ266〜268のラッチ出力は、それぞれ第4、第2あるい
は第1の減算器284、282、281に供給される。
On the other hand, the digital image signal 32 output from the line memory 31 and further delayed by one line is supplied to the series circuit of the sixth to eighth latches 266 to 268. The latch outputs of the sixth to eighth latches 26 6 to 268 are supplied to the fourth, second or first subtractors 28 4 , 28 2 and 28 1 , respectively.

このようにして第1〜第4の減算器281〜284には、第1
図に示した注目画素P0と対象の位置にある4組の周辺画
素(P1,P8)、(P2,P7)、(P4,P5)、(P3,P6)のディ
ジタル画信号が入力されることになる。このとき第0の
ラッチ260の出力は注目画素P0のディジタル画信号33で
あり、これは文字画像について最適な処理を行う文字処
理部34と、中間調画像について最適な処理を行う中間調
処理部35の双方に供給され、それぞれ独自の画像処理を
受けることになる。
In this way, the first to fourth subtractors 28 1 to 28 4 have the first
The target pixel P 0 shown in the figure and four sets of peripheral pixels (P 1 , P 8 ), (P 2 , P 7 ), (P 4 , P 5 ), (P 3 , P 6 ) at the target position Will be input. At this time, the output of the 0th latch 26 0 is the digital image signal 33 of the pixel of interest P 0 , which is the character processing unit 34 that performs the optimum processing for the character image and the halftone that performs the optimum processing for the halftone image. The image data is supplied to both of the processing units 35 and undergoes its own image processing.

さて第1〜第4の減算器281〜284は入力されたそれぞれ
2種類のディジタル画信号の信号レベルの差を演算し、
それらの絶対値を最大値検出回路36に供給する。最大値
検出回路36ではこれらの差の最大値を検出し、その値を
最大値信号VMAXとしてコンパレータ38に供給する。コン
パレータ38はこれを所定の閾値電圧VTHと比較し、比較
結果信号39を出力する。比較結果信号39は最大値信号V
MAXが閾値電圧VTHよりも大きいとH(ハイ)レベルの信
号状態となり、これ以外の場合にL(ロー)レベルの信
号状態となる。この比較結果信号39はマルチプレクサ41
の制御信号として用いられる。
The first to fourth subtractors 28 1 to 28 4 calculate the difference between the signal levels of the two types of input digital image signals,
The absolute values thereof are supplied to the maximum value detection circuit 36. The maximum value detection circuit 36 detects the maximum value of these differences and supplies the value to the comparator 38 as the maximum value signal V MAX . The comparator 38 compares this with a predetermined threshold voltage V TH and outputs a comparison result signal 39. The comparison result signal 39 is the maximum value signal V
When MAX is larger than the threshold voltage V TH, the signal state is H (high) level, and in other cases, the signal state is L (low) level. This comparison result signal 39 is sent to the multiplexer 41.
It is used as a control signal.

マルチプレクサ41には、それぞれ文字処理部34と中間調
処理部35から注目画素P0の処理画信号42、43が並列入力
されるようになっており、比較結果信号39の信号状態に
応じていずれか一方の処理画信号42あるいは43が選択さ
れ、画信号44として出力されるようになっている。ここ
で文字処理部34は例えば3値化処理を行う部分であり、
この実施例の場合では64段階の信号レベルを注目画素ご
とに3段階(白、灰、黒)の信号レベルに量子化する。
また中間調処理部35は例えばディザ法により域値を個々
に設定し、疑似中間調処理を行う。この中間調処理部35
ではディザマトリックスを構成する各ドットを2値化処
理してもよいし、3値化あるいはこれ以上の多値化処理
を行ってもよい。
To the multiplexer 41, the processed image signals 42 and 43 of the target pixel P 0 are input in parallel from the character processing unit 34 and the halftone processing unit 35, respectively, and depending on the signal state of the comparison result signal 39, One of the processed image signals 42 or 43 is selected and output as an image signal 44. Here, the character processing unit 34 is, for example, a unit that performs ternarization processing,
In the case of this embodiment, the signal level of 64 steps is quantized into the signal level of 3 steps (white, gray, black) for each pixel of interest.
Further, the halftone processing section 35 sets threshold values individually by, for example, the dither method, and performs pseudo halftone processing. This halftone processing unit 35
Then, each dot forming the dither matrix may be binarized, or may be ternarized or multi-valued.

このようにして得られた画信号44は注目画素P0が属する
画像状態に応じた適正な処理が行われており、後段の図
示しない記録部あるいは表示部で画像の良好な再現が行
われることになる。
The image signal 44 obtained in this manner is subjected to appropriate processing according to the image state to which the pixel of interest P 0 belongs, and good reproduction of the image can be performed in the recording unit or display unit (not shown) in the subsequent stage. become.

なお以上説明した実施例では3×3のマトリックス構成
の画素領域を用いて文字画像と中間調画像の判定を行っ
たが、他のマトリックス構成の画素領域を用いることは
自由である。第4図は4×4の画素領域を一例として表
わしたもので、この場合注目画素P0は中心位置からやや
ずれた位置に設定される。第4図に示した位置に注目画
素P0が存在する場合、濃度差を測定する2点は一義的に
定まらない。例えば周辺画素P1と濃度差を演算する他の
周辺画素P10であってもよいし、P15であってもよい。周
辺画素(P1,P10)の組を選択した場合には、主走査方向
あるいは副走査方向に濃度測定を行う他の組、例えば周
辺画素(P2,P13)と画素間の距離がほぼ等しくなるとい
う特長がある。また周辺画素(P1,P15)の組を選択した
場合には、画素間の距離を増大することにより濃度差を
より把握しやすいという特長がある。
In the embodiment described above, the character image and the halftone image are determined by using the pixel area having the 3 × 3 matrix structure, but it is free to use the pixel area having another matrix structure. FIG. 4 shows a 4 × 4 pixel area as an example. In this case, the target pixel P 0 is set at a position slightly displaced from the center position. When the pixel of interest P 0 exists at the position shown in FIG. 4, the two points for measuring the density difference are not uniquely determined. For example, it may be another peripheral pixel P 10 that calculates a density difference from the peripheral pixel P 1 or P 15 . When a set of peripheral pixels (P 1 , P 10 ) is selected, the distance between other pixels for measuring the density in the main scanning direction or the sub-scanning direction, for example, peripheral pixels (P 2 , P 13 ) The feature is that they are almost equal. Further, when a set of peripheral pixels (P 1 , P 15 ) is selected, there is a feature that it is easier to understand the density difference by increasing the distance between pixels.

また実施例では1画素ずつすべての画素について順に文
字画像か中間調画像かの判別を行うこととしたが、特定
の注目画素の判別結果をこの注目画素を含んだ所定範囲
の画素群の判別結果として拡張適用することも、信号処
理の簡略化から有効である。更に実施例では中間調処理
部でディザ処理を行ったが、階調に対応させた印字比率
のパターンを割り当てる面積階調法で中間調の表現を行
うことも可能である。
In addition, in the embodiment, it is decided to determine whether each pixel is a character image or a halftone image in order for every pixel, but the discrimination result of a specific pixel of interest is determined as a discrimination result of a pixel group in a predetermined range including this pixel of interest. It is also effective to apply the extension as the above because of simplification of the signal processing. Further, in the embodiment, the dither processing is performed by the halftone processing unit, but it is also possible to express the halftone by the area gradation method in which the pattern of the printing ratio corresponding to the gradation is assigned.

「発明の効果」 このように本発明によれば、注目画素を挟む2つの周辺
画素の濃度差を複数組求め、その最大値から注目画素の
画像状態を判別するようにしたので、画素毎に文字画像
か中間調画像かを判別することができると共に、ブロッ
ク内の濃度レベルの最大値と最小値の差分から画像状態
を判別する従来の方法に比べて処理が簡単になるという
効果がある。
[Effect of the Invention] As described above, according to the present invention, a plurality of sets of density differences between two peripheral pixels sandwiching a target pixel are obtained, and the image state of the target pixel is determined from the maximum value thereof. There is an effect that it is possible to determine whether it is a character image or a halftone image, and the processing is simpler than the conventional method that determines the image state from the difference between the maximum value and the minimum value of the density levels in the block.

また、本発明によれば、ブロックサイズが同じ場合に
は、ブロック内の注目画素の濃度レベルと周辺画素の濃
度レベルとから濃度勾配を求める従来の方法に比べて、
濃度勾配を求めるのに使用する画素の間隔が大きくなり
画像状態の判別精度が向上するという効果がある。
Further, according to the present invention, when the block sizes are the same, compared to the conventional method of obtaining the density gradient from the density level of the pixel of interest in the block and the density level of the peripheral pixels,
This has the effect of increasing the interval between pixels used to obtain the density gradient and improving the accuracy of determining the image state.

さらに本発明によれば、上述のように濃度勾配を求める
のに使用する画素の間隔が大きくなることからノイズに
よる濃度勾配の変動が少なくなると共に、注目画素を除
いた周辺画素の濃度から注目画素の画像状態を判別する
ことから従来の方法のように注目画素にノイズがのった
場合にノイズの影響が強調されることがなくなり、ノイ
ズの影響を受けにくいという効果がある。
Further, according to the present invention, since the interval of the pixels used for obtaining the density gradient is large as described above, the fluctuation of the density gradient due to noise is reduced and the density of the target pixel is determined from the density of the peripheral pixels excluding the target pixel. Since the image state is discriminated, the influence of noise is not emphasized when noise occurs on the pixel of interest as in the conventional method, and the effect of noise is less likely to be exerted.

また、本発明では注目画素を挟む2つの周辺画素の濃度
差を複数組求め、その最大値を濃度勾配として求め、こ
の濃度勾配から画像状態を判別するので、画像上の濃度
勾配の方向によって影響を受けることなく正確に濃度勾
配を求めることができ、精度良く画像状態を判別するこ
とができるという効果がある。また、本発明によれば、
画像上の濃度勾配の方向によらず、求められる濃度勾配
の値が本来の濃度勾配の値に近いものとなるため、注目
画素を挟む特定の2つの周辺画素の濃度差のみから画像
状態を判別する場合や、注目画素を挟む2つの周辺画素
の濃度差を2方向について求め、その平均値から画像状
態を判別する場合に比べ、ノイズの影響を受けにくいと
いう効果がある。
Further, in the present invention, a plurality of sets of density differences between two peripheral pixels sandwiching the pixel of interest are obtained, the maximum value thereof is obtained as a density gradient, and the image state is determined from this density gradient, so the influence of the direction of the density gradient on the image is affected. There is an effect that the density gradient can be accurately obtained without being affected, and the image state can be accurately determined. Further, according to the present invention,
The value of the obtained density gradient is close to the original value of the density gradient regardless of the direction of the density gradient on the image. Therefore, the image state is determined only by the density difference between two specific peripheral pixels that sandwich the pixel of interest. The effect of being less likely to be affected by noise is obtained as compared with the case where the density difference between two peripheral pixels sandwiching the target pixel is obtained in two directions and the image state is determined from the average value thereof.

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

第1図は画像の判断に用いる画素群と原稿との関係を表
わした説明図、第2図は画信号のレベル変化を1ライン
について例示した波形図、第3図は本発明の一実施例に
おける画信号処理方法を実現する装置のブロック図、第
4図は注目画素および周辺画素から成る画素群の構成に
ついて他の例を表わした構成図である。 25、31……ラインメモリ、 26……ラッチ、 28……減算器、 36……最大値検出回路、 P0……注目画素、 P1〜P15……周辺画素。
FIG. 1 is an explanatory diagram showing the relationship between a pixel group used for image determination and a document, FIG. 2 is a waveform diagram illustrating the level change of an image signal for one line, and FIG. 3 is an embodiment of the present invention. FIG. 4 is a block diagram of an apparatus for realizing the image signal processing method in FIG. 4, and FIG. 4 is a configuration diagram showing another example of the configuration of a pixel group including a target pixel and peripheral pixels. 25, 31 …… Line memory, 26 …… Latch, 28 …… Subtractor, 36 …… Maximum value detection circuit, P 0 …… Pixel of interest, P 1 to P 15 …… Peripheral pixels.

フロントページの続き (72)発明者 大森 高志 神奈川県海老名市本郷2274 富士ゼロツク ス株式会社海老名事業所内 (56)参考文献 特開 昭59−163957(JP,A) 特開 昭58−220563(JP,A) 特開 昭50−111941(JP,A)Front Page Continuation (72) Inventor Takashi Omori 2274 Hongo, Ebina City, Kanagawa Fuji Zerox Co., Ltd. Ebina Works (56) References JP 59-163957 (JP, A) JP 58-220563 (JP, JP, 220563) A) JP-A-50-111941 (JP, A)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】文字画像の部分とこれ以外の中間調画像の
部分とで異なった画像処理を行う画像処理装置におい
て、画像処理の対象となる画素としての注目画素を取り
巻いた所定範囲の周辺部分に位置する周辺画素のうち注
目画素を挟む位置に存在する2つの周辺画素の濃度差を
異なった周辺画素について複数組求め、これらの最大値
を所定の閾値と比較して、この比較結果から注目画素が
文字画像の部分に属するか中間調画像の部分に属するか
を判別することを特徴とする画信号処理方法。
1. In an image processing apparatus for performing different image processing on a character image portion and a halftone image portion other than the character image portion, a peripheral portion of a predetermined range surrounding a target pixel as a pixel to be subjected to image processing. Among the peripheral pixels located at, the density difference between the two peripheral pixels existing at positions sandwiching the pixel of interest is determined for a plurality of peripheral pixels having different densities, and the maximum value thereof is compared with a predetermined threshold value. An image signal processing method characterized by determining whether a pixel belongs to a character image portion or a halftone image portion.
【請求項2】濃度差を求めるための2つの周辺画素が注
目画素に対して対称の位置にあることを特徴とする特許
請求の範囲第1項記載の画信号処理方法。
2. The image signal processing method according to claim 1, wherein the two peripheral pixels for obtaining the density difference are symmetrical with respect to the target pixel.
JP59201862A 1984-09-28 1984-09-28 Image signal processing method Expired - Fee Related JPH0671308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59201862A JPH0671308B2 (en) 1984-09-28 1984-09-28 Image signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59201862A JPH0671308B2 (en) 1984-09-28 1984-09-28 Image signal processing method

Publications (2)

Publication Number Publication Date
JPS6180959A JPS6180959A (en) 1986-04-24
JPH0671308B2 true JPH0671308B2 (en) 1994-09-07

Family

ID=16448117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59201862A Expired - Fee Related JPH0671308B2 (en) 1984-09-28 1984-09-28 Image signal processing method

Country Status (1)

Country Link
JP (1) JPH0671308B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738689B2 (en) * 1986-05-20 1995-04-26 三洋電機株式会社 Noise reduction device
JP2009089266A (en) * 2007-10-02 2009-04-23 Seiko Epson Corp Image processing apparatus and pixel attribute determination method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58220563A (en) * 1982-06-17 1983-12-22 Fujitsu Ltd Character and pattern picture image extracting system
JPH0722328B2 (en) * 1983-03-08 1995-03-08 キヤノン株式会社 Image processing device

Also Published As

Publication number Publication date
JPS6180959A (en) 1986-04-24

Similar Documents

Publication Publication Date Title
KR920007152B1 (en) Method and device for picture decision
EP0521662B1 (en) Improved automatic image segmentation
US4656665A (en) Thresholding technique for graphics images using histogram analysis
US4817174A (en) Image processing apparatus
CN1096659C (en) Image processing method and system
EP0685959B1 (en) Image processing apparatus for identifying character, photo and dot images in the image area
US6192153B1 (en) Image processing device
JP3073837B2 (en) Image region separation device and image region separation method
JP2616386B2 (en) Image processing device
JPH0671308B2 (en) Image signal processing method
JPH07107275A (en) Image data discrimination device
JPH0736607B2 (en) Image signal processing method
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPS6359272A (en) Picture processor
JPS6180958A (en) Picture signal processing method
JPH05344330A (en) Picture area discriminating device
JPS61225975A (en) Conversion to binary signal
JP3451490B2 (en) Image information processing method
JP3077204B2 (en) Image reading device
JPS6180964A (en) Picture signal processing method
JPH0457274B2 (en)
JP3032238B2 (en) Image processing device
JP3262773B2 (en) Method and apparatus for detecting pixel color of color image
JPH0357083A (en) Image area determination method for binary images
JPS62165477A (en) Image processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees