JPH02162967A - Detection system for black character - Google Patents

Detection system for black character

Info

Publication number
JPH02162967A
JPH02162967A JP63318021A JP31802188A JPH02162967A JP H02162967 A JPH02162967 A JP H02162967A JP 63318021 A JP63318021 A JP 63318021A JP 31802188 A JP31802188 A JP 31802188A JP H02162967 A JPH02162967 A JP H02162967A
Authority
JP
Japan
Prior art keywords
character
color
pixel
black
primary color
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
JP63318021A
Other languages
Japanese (ja)
Inventor
Hideyuki Watanabe
英行 渡辺
Kaoru Imao
今尾 薫
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP63318021A priority Critical patent/JPH02162967A/en
Publication of JPH02162967A publication Critical patent/JPH02162967A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To detect a black character with high accuracy by tracing a character area in a local area and detecting the black character after extracting a character core from a 3 primary color. CONSTITUTION:A character extraction section 11 discriminates a picture element as an achromatic picture element depending whether a maximum value of differences of 2 primary color signals of different combination in an inputted 3 primary color signal is smaller than a prescribed 1st threshold level or not. Moreover, an achromatic picture element with high density is selected as a character core and a picture element not achromatic with high density is discriminated as a dark element and other picture elements are discriminated as other elements. The data are inputted to a trace section 12, in which a character is discriminated whether it is a black character or a non black character depending whether a noted picture element is a character core or not in a local area of a prescribed size.

Description

【発明の詳細な説明】 〔産業上の利用分野ン 本発明は黒文字の検出方式に係り、特にカラー原稿から
文字部を検出して、その文字部のうち黒文字を高精度で
検出する検出方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a method for detecting black characters, and in particular to a method for detecting a character portion from a color document and detecting black characters among the character portions with high precision. .

カラー複写機やカラーファクシミリにおいては、カラー
原稿から読み取ったカラー画像に対して、種々のカラー
画質向上のための画像処理を行なってから転写紙上にカ
ラー画像をトナー又はインクで転写する。このようなカ
ラー複写機やカラーファクシミリにおいて、カラー画質
を向上するための一方法として黒文字の再生品質を向上
することが望まれている。
In a color copying machine or a color facsimile, a color image read from a color original is subjected to various types of image processing to improve color image quality, and then the color image is transferred onto transfer paper using toner or ink. In such color copying machines and color facsimiles, it is desired to improve the reproduction quality of black characters as one method for improving color image quality.

〔従来の技術〕[Conventional technology]

従来のカラー複写機等においては、カラー原稿をスキャ
ナで走査し光電変換して得られた赤(R)、緑(G)及
び青(B)の加色法の3原色信号を、それらの補色であ
るシアン(C)、マゼンタ(M)及び黄(Y)の減色法
の3原色信号に変換する。このとき、C,M、Yの色材
(インクやトナー)が理想の分光反射特性をもっていな
いので、色材を単にR,G、Bの補色としてそのまま使
用しても忠実な色再現ができないため、色補正が減色法
の3原色信号に対して行なわれた後、これらの信号に基
づいて黒(Bk)信号が生成される。
In conventional color copying machines, the three primary color signals of red (R), green (G) and blue (B) obtained by scanning a color original with a scanner and photoelectric conversion are converted into complementary colors. The signal is converted into three subtractive primary color signals of cyan (C), magenta (M) and yellow (Y). At this time, since the C, M, and Y color materials (ink and toner) do not have ideal spectral reflection characteristics, faithful color reproduction cannot be achieved even if the color materials are simply used as complementary colors for R, G, and B. , after color correction is performed on the three subtractive primary color signals, a black (Bk) signal is generated based on these signals.

上記の色補正された減色法の3原色信号(インク制御デ
ータ)Y、M、Cと黒信号(インク制御データ)とは、
中間調再現や画像の鮮鋭化などのための公知の画質向上
処理が施された後、Y、M。
The three primary color signals (ink control data) Y, M, C and the black signal (ink control data) of the above color-corrected subtractive color method are:
After being subjected to known image quality improvement processing for halftone reproduction and image sharpening, Y, M.

Cの各色材を用いてY、M、Cの単色画像を転写紙上に
生成させ、それらを重ね合わせてフルカラー画像を得る
Single-color images of Y, M, and C are generated on transfer paper using each color material of C, and these images are superimposed to obtain a full-color image.

ここで、黒文字の印刷はY、M、Cの3原色の色材を等
量ずつ重ね合わせて行なうことができるが、その場合に
は主として色材表面の反射の影響により、高濃度部にお
いて濃度不足が目立つ。このため、従来はこの濃度不足
を補うために、下色除去(UCR: Under  C
o1or  Removal)及び墨入れを行なってい
た。
Here, black characters can be printed by overlapping equal amounts of the three primary color materials Y, M, and C, but in that case, the density in high-density areas is mainly due to the effect of reflection on the color material surface. The shortage is noticeable. For this reason, under color removal (UCR) has conventionally been used to compensate for this lack of density.
o1or Removal) and inking.

上記のUCRは文字色を表わす3原色のインク制御デー
タy、m、cの夫々から例えばそれらの最小値と等聞分
差し引き(すなわちグレー成分を除去し)、除去したグ
レー成分と等身の黒インク制御データを得るカラープロ
セスである。また、グレー成分を除去した残りの原色の
インク制御データに加えてこの黒インク制御データでプ
リントすることが墨入れである。このLICRによりカ
ラーインク量又はカラートナー量が節約できる。
The above UCR is obtained by subtracting, for example, the minimum value of the three primary color ink control data y, m, and c that represents the character color (i.e., removing the gray component), and then using black ink that is the same as the removed gray component. It is a color process that obtains control data. Also, inking is printing using this black ink control data in addition to the ink control data of the remaining primary colors from which the gray component has been removed. This LICR can save the amount of color ink or color toner.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかるに、従来は黒文字の検出は行なっておらず、黒文
字の場合は文字色を表わす3原色のインクIIJIII
データy、m、cが同一量を示すことにより印刷してい
たが、実際にはこれらのインク制御データは黒文字の場
合であっても同一」でなかったため、LICRを実行し
ても黒インク又はトナーに若干のY、M、Cのインク又
はトナーが加わった状態で黒文字が印刷(再生)されて
いた。このため、従来は黒文字の再生品質が良くないと
いう欠点があった。
However, conventionally, black characters have not been detected, and in the case of black characters, three primary colors of ink IIJIII representing the character color are used.
Printing was performed by indicating the same amount of data y, m, and c, but in reality, these ink control data were not the same even for black characters, so even if LICR was executed, black ink or Black characters were printed (reproduced) with some Y, M, and C ink or toner added to the toner. For this reason, conventional methods have had the disadvantage that the reproduction quality of black characters is not good.

そこで本発明は上記の欠点を除去した新規かつ有用な黒
文字の検出方式を提供することを概括的目的とする。
SUMMARY OF THE INVENTION It is therefore a general object of the present invention to provide a new and useful black character detection method that eliminates the above-mentioned drawbacks.

また、本発明の他の目的は、カラー原稿から読み取った
3原色信号から黒文字の核を抽出した後、局所領域の中
で文字領域を追跡することにより、黒文字の検出を行な
う黒文字の検出方式を提供することを目的とする。
Another object of the present invention is to provide a black character detection method that detects black characters by extracting the core of black characters from three primary color signals read from a color original and then tracing the character area within a local area. The purpose is to provide.

〔課題を解決するための手段) 第1図は本発明の原理ブロック図を示す。同図中、11
は文字核抽出部で、カラー原稿から読み取った加色法又
は減色法の3原色信号から無彩色の画素と高濃度の画素
とを別々に検出し、無彩色、かつ、高濃度の画素を文字
核として検出し、無彩色でないが高濃度の画素をダーク
として検出する。
[Means for Solving the Problems] FIG. 1 shows a block diagram of the principle of the present invention. In the same figure, 11
is a character kernel extraction unit that separately detects achromatic pixels and high-density pixels from the three primary color signals of additive or subtractive methods read from a color original, and extracts achromatic and high-density pixels as characters. It is detected as a nucleus, and pixels that are not achromatic but have high density are detected as dark.

12は追跡部で、注目画素が文字核であるときは黒文字
と判定し、注目画素がダークのときはその周辺画素に文
字核が存在するか否かにより黒文字か否かを判定し、注
目画素が文字核及びダークのいずれでもないときは非黒
文字と判定する。
Reference numeral 12 denotes a tracking unit, which determines that when the pixel of interest is a character nucleus, it is a black character, and when the pixel of interest is dark, it determines whether or not it is a black character depending on whether or not there are character nuclei in the surrounding pixels. If it is neither a character core nor a dark character, it is determined that the character is a non-black character.

(作用〕 文字核抽出部11は入力3原色信号のうち異なる組合せ
の2原色信号同士の差分の最大値が所定の第1のしきい
値より小なるか否かで無彩色の画素と判定する。無彩色
の画素(白黒文字)は3原色信号の各々のレベルが原理
的に等しいがら、上記の最大差分値は原理的にはゼロと
なるはずであるからである。
(Operation) The character kernel extraction unit 11 determines that a pixel is an achromatic pixel based on whether the maximum value of the difference between two primary color signals of different combinations among the three input primary color signals is smaller than a predetermined first threshold value. This is because although the levels of the three primary color signals of achromatic pixels (monochrome characters) are theoretically equal, the maximum difference value described above should be zero in principle.

また、文字核抽出部11は入力3原色信号レベルが濃度
に対応しているので、それらの各画素毎に最小レベルを
検出し、それが第2のしきい値より大なるときその画素
を高濃度の画素と判定する。
In addition, since the input three primary color signal levels correspond to the density, the character kernel extraction unit 11 detects the minimum level for each pixel, and when the minimum level is greater than the second threshold, the pixel is raised. It is determined that the pixel is a density pixel.

更に文字核抽出部11は上記の無彩色の画素で、かつ、
高濃度の画素を文字部とし、無彩色でないが高濃度の画
素はダークと判定し、それ以外の画素はその他とする。
Furthermore, the character kernel extraction unit 11 uses the above-mentioned achromatic pixels, and
Pixels with high density are considered to be text parts, pixels that are not achromatic but have high density are determined to be dark, and other pixels are determined to be other.

これらのデータは追跡部12に入力され、ここで所定の
大きさの局所領域内で、注目画素が文字部であるか否か
に応じて黒文字又は非黒文字と判定される。すなわち、
この局所領域は例えば第2図に示す如く、X印で示す注
目画素を中心とする縦方向3画素、横方向3画素の3×
3の局所領域で、この中にある残りの8画素のうち四角
で示す4画素は追跡処理が終了した画素で、丸で示す4
画素は追跡処理前の画素である。
These data are input to the tracking unit 12, where it is determined that the pixel of interest is a black character or a non-black character within a local area of a predetermined size depending on whether or not it is a character part. That is,
For example, as shown in FIG. 2, this local area is a 3×
In the local area 3, of the remaining 8 pixels in this area, 4 pixels indicated by squares are pixels for which tracking processing has been completed, and 4 pixels indicated by circles
A pixel is a pixel before tracking processing.

ここで、追跡部12は注目画素が文字部であるときはそ
の注目画素を黒文字と判定する。また注目画素がダーク
であるときはその周辺の8画素に文字部として検出され
た画素があるときは黒文字と判定し、存在しないときは
非黒文字と判定する。
Here, when the pixel of interest is a character portion, the tracking unit 12 determines that the pixel of interest is a black character. Further, when the pixel of interest is dark, if there is a pixel detected as a character part among the surrounding eight pixels, it is determined to be a black character, and if there is no pixel, it is determined to be a non-black character.

更に注目画素が文字部及びダークのいずれでもないとき
は非黒文字と判定し、検出信号を出力する。
Further, when the pixel of interest is neither a character portion nor a dark pixel, it is determined to be a non-black character, and a detection signal is output.

これにより、注目画素が文字部、ダーク、その他のとき
の3つの場合に応じて黒文字か否かの検出ができる。
Thereby, it is possible to detect whether or not the pixel of interest is a black character depending on three cases: a character part, dark, and other cases.

〔実施例〕〔Example〕

第3図は本発明方式の一実施例のブロック図を示す。同
図中、第1図と同一構成部分には同一符号を付し、その
説明を省略する。第5図において、スキャナ15により
カラー原稿を読み取って得られたR、G及びBの3原色
信号(これはアナログ3原色信号を標本化、吊子化して
得られたディジタル信号である)は、色補正部16に供
給されると共に前記文学部抽出部11に供給される。
FIG. 3 shows a block diagram of one embodiment of the method of the present invention. In the figure, the same components as in FIG. 1 are denoted by the same reference numerals, and their explanations will be omitted. In FIG. 5, the three primary color signals of R, G, and B obtained by reading a color original with the scanner 15 (these are digital signals obtained by sampling and stringing the analog three primary color signals) are as follows: It is supplied to the color correction section 16 and also to the literature section extraction section 11 .

色補正部16は入力3原゛色信号B、G及びRをそれら
の補色である前記減色法の3原色信号Y。
The color correction unit 16 converts the input three primary color signals B, G and R into the three primary color signal Y of the subtractive color method, which is their complementary color.

M及びCに変換すると共に原画に忠実な色再現を行なう
ための色補正を行ない、それにより得られた3原色信号
Y、M及びCを黒信号生成部18及び文学部検出部1つ
に夫々入力する。
The three primary color signals Y, M, and C are converted into M and C, and color correction is performed to reproduce colors faithful to the original image, and the three primary color signals Y, M, and C obtained thereby are input to the black signal generation section 18 and one literature detection section, respectively. do.

黒信号生成部18は3原色信号Y、M及びCに基づいて
黒信号Bkを生成して出力すると共に、上記の3原色信
号Y、M及びCを出力する。
The black signal generation section 18 generates and outputs a black signal Bk based on the three primary color signals Y, M, and C, and also outputs the three primary color signals Y, M, and C described above.

一方、文学部検出部19は3原色信号Y、M及びCの夫
々について別々に文字部か否かを検出し、Y信号につい
て文字部と検出したときは出力信号y charを“1
nとし、同様にM信号、C信号について文字部と検出し
たときは出力信@ M char。
On the other hand, the literature section detection unit 19 separately detects whether or not each of the three primary color signals Y, M, and C is a text section, and when the Y signal is detected as a text section, the output signal y char is set to "1".
Similarly, when a character part is detected for M signal and C signal, output signal @M char.

(:、 charを大々“1″とする。この文学部検出
部19による検出方法としては、例えば各画素毎にエツ
ジ度を求め、エツジ度が大である画素が、複数の画素か
らなる局所領域内において設定数以上ある場合、その画
素を文字部と判断する方法がある。
(:, char is largely set to "1". As a detection method by the literature detection unit 19, for example, the degree of edge is determined for each pixel, and the pixel with the highest degree of edge is detected as a local area consisting of a plurality of pixels. If there are more than a set number of pixels within the pixel, there is a method of determining that the pixel is a character part.

また、黒信号生成部18より取り出された3原色信号Y
、M、Cと黒信号Bkは階調処理部20及び解像度処理
部21に夫々供給される。階調処理部20は入力信号に
対して平滑化してデイザ処理する公知の回路で、これに
より階調処理の施された上記4つの信号Y、M、C及び
Bkを出力する。
In addition, the three primary color signals Y extracted from the black signal generation section 18
, M, C and the black signal Bk are supplied to a gradation processing section 20 and a resolution processing section 21, respectively. The gradation processing unit 20 is a known circuit that smoothes and dithers the input signal, and outputs the four signals Y, M, C, and Bk subjected to gradation processing.

また、解像度処理部21は人力信号に対してエツジを強
調してからデイザ処理する公知の回路で、解像度向上処
理の施された4つの信号Y、M、C及びBkを出力する
The resolution processing unit 21 is a known circuit that emphasizes the edges of the human input signal and then performs dither processing, and outputs four signals Y, M, C, and Bk subjected to resolution improvement processing.

これら階調処理部20及び解像度処理部21より夫々取
り出された信号Y、M、C及びBkは選択回路22に供
給され、ここで文学部検出部1つからの信号Ychar
、 Mchar及びCCharと、本実施例の要部をな
す文学部抽出部11.追跡部12゜膨脹部17よりなる
回路部により生成された黒文字検出信号3kcharと
に基づいて選択出力される。
The signals Y, M, C, and Bk respectively extracted from the gradation processing section 20 and the resolution processing section 21 are supplied to the selection circuit 22, where the signal Ychar from one literature detection section is
, Mchar and CChar, and the Faculty of Literature extraction unit 11. which is the main part of this embodiment. It is selectively outputted based on the black character detection signal 3kchar generated by the circuit section consisting of the tracking section 12 and the expansion section 17.

選択回路22は検出信号Ychar、 Mchar、 
C−charが論理“1″のとき、解像度処理部21か
ら取り出された対応する原色信号Y、M、Cを選択出力
し、Ychar、 Mchar、 Ccharが論理“
0″のときは階調処理部20から取り出された対応する
原色信号Y、M、Cを選択出力する。
The selection circuit 22 receives detection signals Ychar, Mchar,
When C-char is logic "1", the corresponding primary color signals Y, M, and C taken out from the resolution processing unit 21 are selected and output, and Ychar, Mchar, and Cchar are logic "1".
When it is 0'', the corresponding primary color signals Y, M, and C taken out from the gradation processing section 20 are selectively output.

ただし、この選択動作は検出信号Ychar、 M −
char、 Cchar及び黒文字検出信号3kcha
rのすべてが同時に論理“1”でないときの場合であり
、これらの4つの信号のすべてが同時に論理“1″とな
った時には原色信号Y、M及びCは出力せず、例えばW
像度処理部21からの黒色信号13にだけを出力する。
However, this selection operation is based on the detection signal Ychar, M −
char, Cchar and black character detection signal 3kchar
This is the case when all of r are not logic "1" at the same time, and when all of these four signals become logic "1" at the same time, the primary color signals Y, M, and C are not output, and for example, W
Only the black signal 13 from the image intensity processing section 21 is output.

すなわち、本実施例によれば、黒文字と検出したときは
、選択回路20からは黒信号Bkだけが出力されること
になる。
That is, according to this embodiment, when a black character is detected, only the black signal Bk is output from the selection circuit 20.

なお、前記したように、選択回路22は黒文字゛と検出
されなかったときは、文字部であるか否かにより階調処
理部20と解像度処理部21のいずれか一方の3原色信
号を選択出力しており、これにより文字部がある画素は
高解像度処理され、文字部のない画素は111g4処理
が施されることとなり、文字部の解像度を低下させるこ
となく相反する色再現と階調性を維持している。
As mentioned above, when the selection circuit 22 does not detect a black character, it selects and outputs the three primary color signals of either the gradation processing section 20 or the resolution processing section 21 depending on whether it is a character part or not. As a result, pixels with text areas are processed with high resolution, and pixels without text areas are processed with 111g4 processing, which allows conflicting color reproduction and gradation to be achieved without reducing the resolution of text areas. Maintained.

次に本実施例の要部である文字部抽出部11゜追跡部1
2及び膨脹部17よりなる回路部の構成及び動作につい
て第4図のブロック図と共に、更に詳細に説明する。第
4図において、第1図と同一構成部分には同一符号を付
し、その説明を省略する。M4図において、加色法の3
原色信号R1G及びBのうち、異なる組合せの2つの原
色信号が演算器26.27及び28に夫々供給され、こ
こで減算され、かつ、絶対値をとられる。
Next, the main part of this embodiment is the character extraction section 11゜tracking section 1.
The configuration and operation of the circuit section consisting of the expansion section 2 and the expansion section 17 will be explained in more detail with reference to the block diagram of FIG. In FIG. 4, the same components as those in FIG. 1 are designated by the same reference numerals, and their explanations will be omitted. In the M4 diagram, additive color method 3
Two different combinations of the primary color signals R1G and B are supplied to computing units 26, 27 and 28, respectively, where they are subtracted and their absolute values are taken.

比較器29は演算器26の出力信号I R−G 1と演
算器27の出力信号IG−81のうち大なる値の方を選
択出力して比較器30に供給し、ここで演算器28より
の信号I B−Rlとの大小比較を行なわせる。比較器
30はこれらの入力信号のうち大レベルの方の信号を選
択出力する。従って、演算器26〜28.比較器29及
び30よりなる回路により、比較器30からはIR−G
1.IG−81及びI B−RIのうち最大レベルの信
号、すなわち前記した最大差分値が出力されることにな
る。
The comparator 29 selects and outputs the larger value of the output signal IRG-1 of the arithmetic unit 26 and the output signal IG-81 of the arithmetic unit 27 and supplies it to the comparator 30. A comparison is made in magnitude with the signal IB-Rl. The comparator 30 selects and outputs the higher level signal among these input signals. Therefore, the computing units 26 to 28. A circuit consisting of comparators 29 and 30 allows IR-G to be output from comparator 30.
1. The maximum level signal of IG-81 and IB-RI, that is, the maximum difference value described above, is output.

比較器30から取り出された各画素毎め最大差分値は、
比較器31に供給され、ここで第1のしきい値TH1と
比較され、最大差分値が第1のしきい値TH1より小な
るときtよ無彩色の画素であることを示す論理“1″の
信号とされ、上記以外のときは論理“0″の信号とされ
る。
The maximum difference value for each pixel taken out from the comparator 30 is
A logic "1" is supplied to the comparator 31 where it is compared with a first threshold TH1, indicating that the pixel is an achromatic pixel when the maximum difference value is less than the first threshold TH1. In other cases, the signal is a logic "0" signal.

他方、前記3原色信号R,G及びBはまたモジュレーシ
ョン・トランスフ?−・ファンクション(MTF)補正
回路32.33及び34を別々に通してエツジ強調され
た後最小レベル検出回路35に供給され、ここで各画素
毎に最小レベルの原色信号が検出される。この最小レベ
ルは、比較器36に供給され、ここで第2のしきい値T
H2と比較され、最小レベルの方が第2のしきい値°「
H2より大なるとき、高濃度の画素であることを示す論
理“1″の信号とされ、上記以外のときは論理“0″の
信号とされる。
On the other hand, the three primary color signals R, G and B are also subjected to modulation transfer? - After passing through function (MTF) correction circuits 32, 33 and 34 separately for edge emphasis, the signal is supplied to a minimum level detection circuit 35, where a minimum level primary color signal is detected for each pixel. This minimum level is fed to a comparator 36 where a second threshold T
H2 is compared, and the lowest level is the second threshold value.
When it is greater than H2, it is a logic "1" signal indicating that it is a high density pixel, and in other cases it is a logic "0" signal.

コード合成回路37は上記の比較器31及び36の岡山
力信号の論理に基づいて、入力画素が高濃度で、かつ、
無彩色のときは文字部を示し、高濃度で、かつ、有彩色
のとぎはダークを示し、それ以外の場合はその他を示す
、全部で3つのコード(これは2ビツトである)のどれ
かを生成出力する。
Based on the logic of the Okayama power signals of the comparators 31 and 36, the code synthesis circuit 37 determines that the input pixel has a high density
One of three codes in total (this is 2 bits): an achromatic color indicates a character part, a high density and chromatic color indicates a dark color, and otherwise indicates something else. Generate and output.

上記のコードはゴミのような小さな文字部を除去するた
めに密度フィルタ38に供給され、ここで局所領域内の
文字部の数が第3のしきい値TH3より大きいときに文
字部を示すコードとされ、そうでないとぎは注目画素が
文字部ならばダークを示すコードとされ、更に異なると
きは注目画素のコードがそのまま出力される。
The above code is fed to a density filter 38 to remove small text parts such as dust, where a code indicating a text part when the number of text parts in a local area is greater than a third threshold TH3. Otherwise, if the pixel of interest is a character part, a code indicating dark is used, and if the pixel is different, the code of the pixel of interest is output as is.

密度フィルタ38の出力コード(データ)は追跡処理回
路39に供給され、ここで前記した追跡部12の処理ア
ルゴリズムに従って、3X3の局所領域内で注目画素が
仮黒文字か非黒文字かの決定が行なわれる。
The output code (data) of the density filter 38 is supplied to the tracking processing circuit 39, where it is determined whether the pixel of interest within the 3×3 local area is a temporary black character or a non-black character according to the processing algorithm of the tracking unit 12 described above. .

追跡処理回路39より取り出されたデータは密度フィル
タ40に供給される。この密度フィルタ40は追跡処理
された仮黒文字のデータを膨脹させて黒文字か非黒文字
かを決定する膨脹部17を構成しており、所定の大きさ
の局所領域内に1つでも仮黒が存在するならば注目画素
を黒文字と検出し、そうでなければ非黒文字と検出した
黒文字検出信号3kcharを出力する。これにより、
カラー原稿から黒文字部を検出することができる。
Data retrieved from tracking processing circuit 39 is provided to density filter 40 . This density filter 40 constitutes an expansion unit 17 that expands the tracked data of the temporary black character to determine whether it is a black character or a non-black character, and there is at least one temporary black character within a local area of a predetermined size. If so, the pixel of interest is detected as a black character, and if it is not, a black character detection signal of 3kchar is output indicating that the pixel is a non-black character. This results in
Black text can be detected from color originals.

なお、上記の追跡処理回路39は第5図に示す如き簡単
な構成の回路で実現することができる。
Note that the tracking processing circuit 39 described above can be realized by a circuit with a simple configuration as shown in FIG.

同図中、端子42に入力されたコード(画素データ)は
シフトレジスタ43.フリップ70ツブ(以下、FFと
記す)44.45を夫々順次経て判定回路46に供給さ
れる一方、FF44の出力データがシフトレジスタ47
及びFF48を更に経て判定回路46に供給される。
In the figure, the code (pixel data) input to the terminal 42 is transferred to the shift register 43. While the output data of the FF 44 is supplied to the judgment circuit 46 through the flip 70 tubes (hereinafter referred to as FF) 44 and 45, the output data of the FF 44 is sent to the shift register 47.
The signal is further supplied to the determination circuit 46 via the FF 48 and the FF 48.

シフトレジスタ43とFF44により1ライン分の遅延
が入力データに施され、同様にシフトレジスタ47とF
F48により1ライン分遅延される。従って、FF48
の出力データが第2図にX印で示した3×3の局所領域
内の中央の注目画素データであるものとすると、シフト
レジスタ47の出力データは■で示した注目画素と同じ
ラインの隣接する次の画素データであり、またFF44
の出力データは注目画素の1ライン未来の第2図に■で
示した画素データであり、よってシフトレジスタ43.
FF45の各出力データも第2図に■、■で示した1ラ
イン未来の画素データである。
A delay of one line is applied to the input data by the shift register 43 and FF 44, and similarly, the shift register 47 and FF
It is delayed by one line by F48. Therefore, FF48
Assuming that the output data of is the pixel data of interest at the center of the 3×3 local area indicated by the X mark in FIG. This is the next pixel data to be processed, and also FF44
The output data of the shift register 43. is the pixel data indicated by ■ in FIG.
Each output data of the FF 45 is also pixel data one line in the future, indicated by ■ and ■ in FIG.

FF48の出力データはFF49.シフトレジスタ50
及びFF51により更に1ライン分遅延されて判定回路
46に供給されると共に、FF52で更に1画素分遅ら
されて判定回路46に供給される。従って、FF51.
52の各出力データは第2図に   で示した注目画素
の1ライン過去の画素データであり、またFF49.シ
フトレジスタ50より判定回路46へ供給されるデータ
は第2図に 、 で示した画素データである。
The output data of FF48 is FF49. shift register 50
The signal is further delayed by one line by the FF 51 and supplied to the determination circuit 46, and further delayed by one pixel by the FF 52 and supplied to the determination circuit 46. Therefore, FF51.
Each output data of FF 49.52 is pixel data of one line past the pixel of interest shown in FIG. The data supplied from the shift register 50 to the determination circuit 46 is the pixel data shown by and in FIG.

これにより、判定回路46には3×3の局所領域の画素
データが入力され、これらに基づいて判定回路46は前
記追跡アルゴリズムに従って、注目画素が文字液である
ときは仮黒文字、そうでないときは注目画素がダークで
周辺の8画素に仮黒文字があるときは仮黒文字と判定し
、それ以外は非黒文字と判定し、その判定結果を出力端
子53へ出力する。
As a result, the pixel data of the 3×3 local area is input to the determination circuit 46, and based on these, the determination circuit 46 uses the tracking algorithm to determine whether the pixel of interest is a temporary black character if it is a character liquid, or a temporary black character if it is not. When the pixel of interest is dark and there are temporary black characters in the surrounding eight pixels, it is determined to be a temporary black character, otherwise it is determined to be a non-black character, and the determination result is output to the output terminal 53.

以上説明した第3図に示す実施例中の選択回路22より
取り出された原色信号Y、M、C又は黒色信@Bkは、
インク制御データとしてプリンタの色材を制御するべく
プリンタへ出力される。このプリンタとしては本発明の
要旨と直接の関係はないが、例えば第6図及び第7図に
示す如き構成のレーザープリンタがある。第6図及び第
7図中、同一構成部分には同一符号を付してあり、また
入力信号に対応してY、M、C,[3にの添字を付しで
ある。
The primary color signals Y, M, C or black signal @Bk extracted from the selection circuit 22 in the embodiment shown in FIG. 3 described above are as follows:
The data is output to the printer as ink control data to control the printer's color materials. Although this printer is not directly related to the gist of the present invention, for example, there is a laser printer having a configuration as shown in FIGS. 6 and 7. In FIG. 6 and FIG. 7, the same components are denoted by the same reference numerals, and suffixes Y, M, C, and [3 are attached corresponding to the input signals.

前記したY、M、C及びBkのインク制御データは、第
7図に示すレーザー光1157Y、57M。
The Y, M, C, and Bk ink control data described above are laser beams 1157Y and 57M shown in FIG.

57G及び578kに入力され、レーザービームを変調
する。レーザー光+IQ578により照射された被変調
レーザービームは、第6図及び第7図に夫々示す回転多
面111588kに入射され、ここで偏向されて結像レ
ンズ598k (第6図にのみ示す)を通して感光ドラ
ム60Bk上に照射される。
57G and 578k to modulate the laser beam. The modulated laser beam irradiated by the laser beam +IQ578 is incident on the rotating polygon 111588k shown in FIGS. 6 and 7, respectively, and is deflected there and passes through the imaging lens 598k (shown only in FIG. 6) to the photosensitive drum. Irradiated onto 60Bk.

回転多面ff1588にはモータ61Bkによって一定
方向に回転せしめられるので、ここで偏向されたレーザ
ービームは感光ドラム608にの表面上をドラム回転軸
方向に沿って繰り返し直線的に走査するくこの走査は主
走査と呼ばれる)。また、感光ドラム608kが矢印方
向に回転することにより、上記のレーザービームは上記
主走査の方向に直交する方向にも走査される(この走査
は副走査と呼ばれる)。
Since the rotating polygon ff1588 is rotated in a fixed direction by the motor 61Bk, the laser beam deflected here repeatedly linearly scans the surface of the photosensitive drum 608 along the direction of the drum rotation axis. (called scanning). Further, by rotating the photosensitive drum 608k in the direction of the arrow, the laser beam is also scanned in a direction perpendicular to the main scanning direction (this scanning is called sub-scanning).

感光ドラム608にの回転により、その表面は第6図に
示すチャージャー628kにより均一に帯電され、上記
した主走査及び副走査を行なっているレーザービームに
より黒の画像の書ぎ込みが行なわれ、黒画像に対応する
静電潜像が形成される。この静電潜像は現像装置63’
 B kにより現像され可視像化される。
As the photosensitive drum 608 rotates, its surface is uniformly charged by a charger 628k shown in FIG. An electrostatic latent image is formed corresponding to the image. This electrostatic latent image is transferred to the developing device 63'.
It is developed and visualized with Bk.

一方、トレイ64.配紙装置65及びローラ66を夫々
経て転写紙がロー566に挟持された状態で感光ドラム
638に、63Y、63M。
On the other hand, tray 64. Transfer sheets 63Y and 63M are transferred to the photosensitive drum 638 while being sandwiched between the rows 566 after passing through the sheet distribution device 65 and the rollers 66, respectively.

63Cの回転に同期して搬送ベルト67上に送り込まれ
る。搬送ベルト67上のこの転写紙は、その表面に感光
ドラム608に表面の可視像が転写放電器688にの作
用により静電転写された後、次の感光ドラム60Y方向
へと搬送される。
It is sent onto the conveyor belt 67 in synchronization with the rotation of 63C. After a visible image on the surface of the transfer paper on the conveyance belt 67 is electrostatically transferred to the photosensitive drum 608 by the action of a transfer discharger 688, the transfer paper is conveyed to the next photosensitive drum 60Y direction.

以下、上記と同様にして、感光ドラム60Yと転写放電
器68Yにより黄白像が、感光ドラム60Mと転写放電
器68Mによりマゼンタ画像が、感光ドラムCと転写放
電器68Cによりシアン画像が転写紙表面上に順次重ね
合わせて静電転写された後、定着ユニット69により定
着が行なわれ、排紙ローラ70を介してトレイ71に排
紙される。
Thereafter, in the same manner as above, a yellow-white image is formed on the surface of the transfer paper by the photosensitive drum 60Y and the transfer discharger 68Y, a magenta image is formed by the photosensitive drum 60M and the transfer discharger 68M, and a cyan image is formed by the photosensitive drum C and the transfer discharger 68C. After being electrostatically transferred in order of overlapping, the fixing unit 69 performs fixing, and the paper is discharged to the tray 71 via the paper discharge roller 70.

かかる構造のレーザープリンタに本実施例を適用するこ
とにより、黒文字と判定された文字部は転写紙上に黒色
トナーのみで静電転写され、他の3原色の画像の静電転
写は行なわれないから、従来に比べて黒文字の再生品質
を向上することができる。
By applying this embodiment to a laser printer with such a structure, the character portion determined to be black is electrostatically transferred onto the transfer paper using only black toner, and images of the other three primary colors are not electrostatically transferred. , the reproduction quality of black characters can be improved compared to the conventional method.

なお、本発明は上記の実施例に限定されるものではなく
、例えば最大差分値の検出及び最小レベル検出は、減色
法の3原色信号に基づいて行なってもよいことは勿論で
ある。
It should be noted that the present invention is not limited to the above-mentioned embodiments, and it goes without saying that, for example, the detection of the maximum difference value and the detection of the minimum level may be performed based on the three primary color signals of the subtractive color method.

〔発明の効果〕〔Effect of the invention〕

上述の如く、本発明によれば、3原色から文字部を抽出
後、局所領域の中で文字領域を追跡して黒文字を検出し
ているので、黒文字を精度よく検出することができ、ま
た文字核抽出部及び追跡部は簡単な構成にできるので、
小規模なハードウェアで黒文字の検出ができ、また黒文
字と判定した文字部を転写紙上に黒色トナー又は黒色イ
ンクのみで印刷させることができ、その場合は従来に比
べて黒文字に他の色が付着せず忠実に黒文字の色再現が
できる等の特長を有するものである。
As described above, according to the present invention, after extracting a character part from the three primary colors, black characters are detected by tracing the character area within a local area. The nucleus extraction section and tracking section can be configured easily, so
It is possible to detect black characters with small-scale hardware, and it is also possible to print text parts that are determined to be black on transfer paper using only black toner or black ink. It has features such as being able to faithfully reproduce the color of black text without color.

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

第1図は本発明の原理ブロック図、第2図は追跡処理説
明のための局所領域を示す図、第3図は本発明の一実施
例のブロック図、第4図は本発明の要部の一実施例のブ
ロック図、第5図は第4図の要部の一実施例のブロック
図、第6図及び第7図は夫々本発明を適用し得るレーザ
ープリンタの構造を説明する図である。 11・・・文字核抽出部、12・・・追跡部、15・・
・スキャナ、17・・・膨脹部、26〜28・・・演算
部、29〜31.36・・・比較器、35・・・最小レ
ベル検出回路、37・・・コード合成回路、38.40
・・・密度フィルタ、3つ・・・追跡処理回路。 嘉 図 第 図
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a diagram showing a local area for explaining tracking processing, FIG. 3 is a block diagram of an embodiment of the present invention, and FIG. 4 is a main part of the present invention. FIG. 5 is a block diagram of an embodiment of the main part of FIG. 4, and FIGS. 6 and 7 are diagrams each explaining the structure of a laser printer to which the present invention can be applied. be. 11... Character kernel extraction section, 12... Tracking section, 15...
- Scanner, 17... Expansion unit, 26-28... Arithmetic unit, 29-31. 36... Comparator, 35... Minimum level detection circuit, 37... Code synthesis circuit, 38.40
...Density filter, three...Tracking processing circuit. Kazu Diagram

Claims (1)

【特許請求の範囲】 カラー原稿をスキャナで走査して得た加色法の3原色信
号を色補正して減色法の3原色信号に変換し、該減色法
の3原色信号に対して画質向上処理を行なつて得た3原
色の制御データに基づいて減色法の色材を制御して転写
紙に前記カラー原稿のカラー画像を印刷する装置に用い
られる黒文字の検出方式であつて、 前記加色法又は減色法の3原色信号が入力され、異なる
組合せの2原色信号同士の差分の最大値に基づいて無彩
色の画素を抽出すると共に高濃度の画素を検出し、該無
彩色の画素で、かつ、該高濃度の画素を文字核として検
出し、該無彩色の画素でなく、かつ、該高濃度の画素を
ダークとして検出出力する文字核抽出部と、 該文字核抽出部の出力信号に基づいて注目画素が前記文
字部であるときに黒文字と判定し、注目画素が前記ダー
クであるときはその周辺の画素に前記文字部が存在する
ときは黒文字と判定し、存在しないときは非黒文字と判
定し、注目画素が前記文字部及びダークのいずれでもな
いときは非黒文字と判定する追跡部とよりなることを特
徴とする黒文字の検出方式。
[Claims] Three primary color signals obtained by scanning a color original with a scanner are color corrected and converted into three primary color signals of a subtractive color method, and image quality is improved with respect to the three primary color signals of the subtractive color method. A method for detecting black characters used in a device that prints a color image of the color document on transfer paper by controlling color materials in a subtractive color method based on control data of three primary colors obtained by processing, the method comprising: Three primary color signals of the color method or subtractive color method are input, achromatic pixels are extracted based on the maximum value of the difference between the two primary color signals of different combinations, and high density pixels are detected. , and a character kernel extraction unit that detects the high density pixel as a character nucleus, and detects and outputs the high density pixel as dark instead of the achromatic pixel, and an output signal of the character kernel extraction unit. Based on this, when the pixel of interest is in the text area, it is determined to be a black character, and when the pixel of interest is dark, if the character area exists in the surrounding pixels, it is determined to be a black character, and when it does not exist, it is determined to be a black character. A method for detecting a black character, comprising: a tracking unit that determines that the character is a black character, and determines that the pixel of interest is a non-black character when the pixel of interest is neither the character portion nor the dark character.
JP63318021A 1988-12-16 1988-12-16 Detection system for black character Pending JPH02162967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63318021A JPH02162967A (en) 1988-12-16 1988-12-16 Detection system for black character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63318021A JPH02162967A (en) 1988-12-16 1988-12-16 Detection system for black character

Publications (1)

Publication Number Publication Date
JPH02162967A true JPH02162967A (en) 1990-06-22

Family

ID=18094611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63318021A Pending JPH02162967A (en) 1988-12-16 1988-12-16 Detection system for black character

Country Status (1)

Country Link
JP (1) JPH02162967A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07325045A (en) * 1994-05-30 1995-12-12 Nec Corp Inspection and recognition apparatus for black print on color background
US7778460B2 (en) * 2004-11-12 2010-08-17 Samsung Electronics Co., Ltd. Apparatus for compensating for gray component of image signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07325045A (en) * 1994-05-30 1995-12-12 Nec Corp Inspection and recognition apparatus for black print on color background
US7778460B2 (en) * 2004-11-12 2010-08-17 Samsung Electronics Co., Ltd. Apparatus for compensating for gray component of image signal

Similar Documents

Publication Publication Date Title
JP2892037B2 (en) Color image processing equipment
US5216498A (en) Image processing apparatus capable of detecting marked region
US5467196A (en) Image forming apparatus which forms halftone images mixed with characters and fine lines
US8027062B2 (en) Image forming apparatus
JP5300418B2 (en) Image forming apparatus
US6606470B1 (en) Color plane partial exposure for reducing edge effect
JPH1028229A (en) Image-forming device
JPS62220072A (en) Processing method for halftone digital color image
US5418618A (en) Tone processing method for forming a halftone image
JP2872680B2 (en) Black character detection method
JPH02162967A (en) Detection system for black character
JP3627889B2 (en) Digital image processing device
JP2000036912A (en) Image processing method
JP2788479B2 (en) Color image processing equipment
JP2751163B2 (en) Color image processing equipment
JP2790651B2 (en) Color image processing equipment
JP3880238B2 (en) Image processing method and apparatus
JP3224405B2 (en) Color image processing equipment
JP4452639B2 (en) Image processing apparatus, image processing method, program for causing computer to execute the method, and recording medium
JP3320093B2 (en) Image processing apparatus and image processing method
JP2837428B2 (en) Color image processing equipment
JPH09284553A (en) Medium tone processing method
JP2898042B2 (en) Color image processing equipment
JP3526230B2 (en) Image forming method and apparatus, and storage medium
JP2919476B2 (en) Color image processing equipment