JPH10215382A - Color image processing unit - Google Patents

Color image processing unit

Info

Publication number
JPH10215382A
JPH10215382A JP9015473A JP1547397A JPH10215382A JP H10215382 A JPH10215382 A JP H10215382A JP 9015473 A JP9015473 A JP 9015473A JP 1547397 A JP1547397 A JP 1547397A JP H10215382 A JPH10215382 A JP H10215382A
Authority
JP
Japan
Prior art keywords
color
character
area
frequency
detected
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.)
Granted
Application number
JP9015473A
Other languages
Japanese (ja)
Other versions
JP3737230B2 (en
Inventor
Sadao Takahashi
禎郎 高橋
Satoshi Ouchi
敏 大内
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 JP01547397A priority Critical patent/JP3737230B2/en
Publication of JPH10215382A publication Critical patent/JPH10215382A/en
Application granted granted Critical
Publication of JP3737230B2 publication Critical patent/JP3737230B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To discriminate colored characters in an original with high accuracy. SOLUTION: A colored character detection means 1 detects colored characters from a color image signal in the case of preliminary scanning. A frequency detection means 2 calculates a frequency of colored characters in all images by dividing an area of a domain detected as the colored characters with a total area of image data. A parameter selection means 3 selects a parameter corresponding to the frequency. A chromatic achromatic discrimination means 4 discriminates a chromatic achromatic domain of the image data obtained in the case of the main scanning by using the parameter selected in the case of the preliminary scanning.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、原稿中の文字が有
彩色であるか無彩色であるかを自動的に判定して、その
判定結果に応じた処理を施すカラー画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus for automatically determining whether a character in a document is chromatic or achromatic, and performing processing according to the result of the determination.

【0002】[0002]

【従来の技術】ディジタルカラー複写機、ディジタル複
写機などの画像処理装置においては、文字と絵柄が混在
した画像を再生する場合、高画質の再生画像を得るため
に、絵柄に対しては高階調な処理を施し、文字に対して
は解像度を重視した処理を施すことが望ましい。そし
て、このような処理を実現するには、画像中の文字領域
と絵柄領域を高精度に分離する必要がある。すなわち、
例えば、原稿の色相を検出する手段と、原稿が文字領域
か中間調領域かを判別する手段とを設け、原稿が無彩色
でありかつ文字領域であるとき、黒単色で再生するカラ
ー画像処理装置があるが(特開昭64−72662号公
報を参照)、黒文字は黒単色で再生することによって高
画質再生が可能となる。
2. Description of the Related Art In an image processing apparatus such as a digital color copier or a digital copier, when reproducing an image in which characters and patterns are mixed, a high gradation is applied to the pattern in order to obtain a high-quality reproduced image. It is desirable to perform an appropriate process, and to perform a process that emphasizes the resolution on characters. In order to realize such processing, it is necessary to separate a character area and a picture area in an image with high accuracy. That is,
For example, a color image processing apparatus is provided which includes means for detecting the hue of a document and means for determining whether the document is a character area or a halftone area, and reproduces a single black color when the document is achromatic and a character area. (Refer to Japanese Patent Application Laid-Open No. Sho 64-72662), however, high-quality reproduction is possible by reproducing black characters in a single black color.

【0003】ところが、スキャナの性能上の問題などか
ら無彩色領域の検出は容易ではなく、多くの色文字が黒
文字として検出されてしまう。また、色文字を精度良く
判定しようとすると逆に黒文字の判定精度が低下し、こ
のため黒文字に色がついて画質が劣化する。通常使用さ
れている原稿には黒文字が多用されていることから、黒
文字を精度良く判定することが必要となり、このため、
有彩色・無彩色の判定基準では、黒文字の判定を優先し
て行い、その次に色文字を判定している。
However, it is not easy to detect an achromatic region due to a problem in the performance of the scanner, and many color characters are detected as black characters. On the other hand, if it is attempted to determine a color character with high accuracy, the determination accuracy of a black character is reduced, so that the black character is colored and the image quality is degraded. Since black characters are frequently used in commonly used documents, it is necessary to determine black characters with high accuracy.
In the chromatic / achromatic judgment criteria, the judgment of black characters is given priority, and the color characters are judged next.

【0004】ところで、地図などでは、黒文字が必ず黒
単色であることよりも、色自体に意味を持つ場合が非常
に多い。例えば、紫色や茶色の文字・線画が用いられる
が、これと黒色との判別が難しいために黒文字と判定さ
れ、著しい画質劣化の要因となっている。特に、国土地
理院発行の地形図は等高線が茶色線で描かれており、こ
れを複写すると、ほとんどの等高線が黒単色で出力され
るという問題がある。
By the way, in a map or the like, there are many cases where the color itself has a meaning rather than the fact that black characters are always a single black color. For example, purple or brown characters and line drawings are used. However, it is difficult to discriminate between black and black characters and line drawings. In particular, the topographic map issued by the Geospatial Information Authority of Japan has contour lines drawn with brown lines, and copying the contour lines causes a problem that most of the contour lines are output in black.

【0005】そこで、このような問題を解決するには、
例えば、特開平2−249365号公報(カラー画像処
理装置)に記載されているように、入力画像の無彩色領
域を判定する手段と、無彩色領域信号を補正する手段
(つまり、有彩色領域を検出したとき、その有彩色領域
を無彩色領域と判定しない)とを設けることによって、
有彩色/無彩色の判定精度を向上させることが必要にな
る。
In order to solve such a problem,
For example, as described in JP-A-2-249365 (color image processing apparatus), a means for determining an achromatic color area of an input image and a means for correcting an achromatic color area signal (that is, a means for correcting an achromatic color area signal). When detected, the chromatic color area is not determined to be an achromatic color area).
It is necessary to improve the chromatic / achromatic color determination accuracy.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記した従来
の技術では、スキャナの工作精度、ラインセンサの位置
補正、RGB各色成分のMTF特性の違いなどを考慮し
なければならず、コストの増加が避けられない。
However, in the above-mentioned prior art, it is necessary to take into account the processing accuracy of the scanner, the position correction of the line sensor, the difference in the MTF characteristics of each of the RGB color components, and the like, and the cost increases. Inevitable.

【0007】また、カラー読み取り信号を無彩色と有彩
色とに色分けするに際し、外部から設定されるモードに
従って無彩色と有彩色との色分けを行う領域を変化させ
るようにしたカラー画像処理装置がある(特開平2−2
80573号公報を参照)。この装置では、写真モード
あるいは文字モードの設定時に、中間色と判定された領
域を写真モードの時に有彩色領域に振り分け、また文字
モードの時に無彩色領域に振り分けるものである。しか
し、この装置では、文字モードの場合に色文字が黒文字
として出力されやすくなり、この結果、前述した紫色の
文字や茶色の等高線がますます黒単色で再生されること
になり、上記した問題が依然として解決されない。
Further, there is a color image processing apparatus in which a color reading signal is classified into an achromatic color and a chromatic color, and an area in which the achromatic color and the chromatic color are classified is changed according to a mode set from the outside. (Japanese Patent Laid-Open No. 2-2
No. 80573). In this apparatus, when a photograph mode or a character mode is set, an area determined as an intermediate color is assigned to a chromatic area in the photograph mode, and to an achromatic area in the character mode. However, in this device, in the character mode, colored characters are easily output as black characters, and as a result, the purple characters and brown contour lines described above are reproduced more and more in a single black color. Still not resolved.

【0008】本発明は上記した事情を考慮してなされた
もので、本発明の目的は、原稿中の色文字を精度よく判
定するカラー画像処理装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a color image processing apparatus for accurately determining a color character in a document.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、原稿をディジタル画像信
号として読み取る手段と、該画像信号が有彩色であるか
無彩色であるかを判定する手段とを少なくとも備えたカ
ラー画像処理装置であって、前記画像信号から所定の条
件を満たす色文字を検出する手段と、該色文字の出現頻
度を検出する手段と、該出現頻度に応じて前記判定手段
の判定基準を制御する手段とを備えたことを特徴として
いる。
In order to achieve the above object, according to the present invention, there is provided means for reading an original as a digital image signal, and determining whether the image signal is chromatic or achromatic. A color image processing apparatus having at least a determination unit, a unit configured to detect a color character satisfying a predetermined condition from the image signal, a unit configured to detect an appearance frequency of the color character, Means for controlling the criterion of the determination means.

【0010】請求項2記載の発明では、前記色文字検出
手段は、文字を検出する手段と、所定の条件の色領域を
検出する手段とからなることを特徴としている。
[0010] The invention according to claim 2 is characterized in that the color character detecting means includes means for detecting a character and means for detecting a color area under a predetermined condition.

【0011】請求項3記載の発明では、前記頻度検出手
段は、前記原稿領域の総面積および前記色文字と検出さ
れた領域の総面積に基づいて頻度を検出することを特徴
としている。
According to a third aspect of the present invention, the frequency detecting means detects a frequency based on a total area of the document area and a total area of the area detected as the color character.

【0012】請求項4記載の発明では、前記頻度検出手
段は、前記文字と検出された領域の総面積および前記色
文字と検出された領域の総面積に基づいて頻度を検出す
ることを特徴としている。
According to a fourth aspect of the present invention, the frequency detecting means detects a frequency based on a total area of the area detected as the character and a total area of the area detected as the color character. I have.

【0013】請求項5記載の発明では、前記頻度検出手
段は、前記原稿領域の総面積および文字と検出された領
域の総面積を基に第1の演算を行い、前記文字と検出さ
れた領域の総面積および色文字と検出された領域の総面
積を基に第2の演算を行い、前記第1、第2の演算結果
を基に頻度を検出することを特徴としている。
In the invention according to claim 5, the frequency detecting means performs a first calculation based on a total area of the document area and a total area of a region detected as a character, and executes the first calculation based on the total area of the region detected as a character. The second operation is performed based on the total area of the area and the total area of the area detected as the color character, and the frequency is detected based on the first and second operation results.

【0014】[0014]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。 〈実施例1〉図1は、本発明の実施例1の構成を示す。
図において、1は色文字検出手段、2は色文字の頻度を
検出する頻度検出手段、3は検出された頻度に応じてパ
ラメータを選択するパラメータ選択手段、4は選択され
たパラメータを用いてカラー画像データの有彩無彩領域
の判定を行う有彩無彩判定手段である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. <Embodiment 1> FIG. 1 shows the structure of Embodiment 1 of the present invention.
In the figure, 1 is a color character detecting means, 2 is a frequency detecting means for detecting the frequency of a color character, 3 is a parameter selecting means for selecting a parameter according to the detected frequency, and 4 is a color using the selected parameter. This is a chromatic / achromatic determining means for determining a chromatic / achromatic region of image data.

【0015】本実施例では、まずプレスキャンを行う。
スキャナなどの画像入力装置を用いて原稿を読み取り、
画像信号を得る。色文字検出手段1は、この画像信号を
用いて色文字検出を行う。
In this embodiment, first, a prescan is performed.
Scan the original using an image input device such as a scanner,
Obtain an image signal. The color character detection means 1 performs color character detection using this image signal.

【0016】図5(a)、(b)は、色文字検出手段の
構成を示す。(a)の構成では、特定色検出手段41が
特定色を検出した後に、文字検出手段42がその色を持
つ領域のみに対して文字検出を行い、(b)の構成で
は、逆に文字検出を行った後に、文字領域のみに対して
特定色の文字だけを検出する。
FIGS. 5A and 5B show the structure of the color character detecting means. In the configuration of (a), after the specific color detection unit 41 detects a specific color, the character detection unit 42 performs character detection only on an area having that color, and in the configuration of (b), the character detection After that, only characters of a specific color are detected for only the character area.

【0017】図6は、特定色検出手段41によって検出
される特定色の領域を示す。すなわち、RGB画像信号
について、RGBの最小値x=min(RGB)が
[a,b]の範囲にあり(a,bは所定値)、一次式R
GBの最大値max(RGB)と最小値min(RG
B)の差dが d<m1x+n1, d>m2x+n2 を満たすとき、特定色として検出する(m1,m2,n
1,n2は所定の定数)。
FIG. 6 shows a specific color area detected by the specific color detecting means 41. That is, for the RGB image signal, the minimum value x = min (RGB) of RGB is in the range of [a, b] (a and b are predetermined values), and the linear expression R
The maximum value max (RGB) and the minimum value min (RG
When the difference d of B) satisfies d <m1x + n1, d> m2x + n2, it is detected as a specific color (m1, m2, n)
1, n2 is a predetermined constant).

【0018】また、文字検出手段としては、例えば、大
内、今尾、山田、電子情報通信学会論文誌vo1.J7
5‐D‐2 No.1 1992−01に記載された
「文字/絵柄(網点、写真)混在画像の像域分離方式」
を用いる。すなわち、文字領域は、濃度が高レベルと低
レベルの画素(以下、黒画素、白画素と呼ぶ)が多く、
かつエッジ部分ではこれらの黒画素と自画素が連続して
いる。この黒画素と白画素それぞれの連続性に基づいて
文字エッジを検出する。図8は、エッジ領域判定手段の
構成である。
As the character detecting means, for example, Ouchi, Imao, Yamada, IEICE Transactions vol. J7
5-D-2 No. 1 “Image area separation method for mixed images of characters / patterns (dots, photos)” described in 1992-01
Is used. That is, the character area has many high-level and low-level pixels (hereinafter, referred to as black pixels and white pixels),
At the edge portion, the black pixel and the own pixel are continuous. A character edge is detected based on the continuity of each of the black and white pixels. FIG. 8 shows the configuration of the edge area determination means.

【0019】3値化処理部においては、入力画像信号に
ついて2種の固定閾値(TH1,TH2)で3値化(白
画素<TH1,TH1≦中間濃度画素<TH2,TH2
≦黒画素)を行う。ここで、TH1,TH2はそれぞれ
3値化処理に用いる閾値であり、例えば入力データが0
〜255の256階調(0が白)で表されている場合
は、TH1=20、TH2=80の値をとる。
In the ternarization processing section, the input image signal is ternarized using two fixed thresholds (TH1, TH2) (white pixel <TH1, TH1 ≦ intermediate density pixel <TH2, TH2).
≤ black pixels). Here, TH1 and TH2 are thresholds used for the ternarization processing, for example, when the input data is 0
When represented by 256 gradations (0 is white) from 255 to 255, values of TH1 = 20 and TH2 = 80 are taken.

【0020】連続性検出部においては、3値化後の黒画
素および白画素が連続する個所をパターンマッチングで
検出する。使用するパターンの例を図9に示す。これら
のパターンにマッチングした画素を黒連続画素、自連続
画素として検出する。
The continuity detecting section detects a portion where the ternary black and white pixels continue by pattern matching. FIG. 9 shows an example of a pattern to be used. Pixels matching these patterns are detected as black continuous pixels and self-continuous pixels.

【0021】近傍検出部では、この黒連続画素と白連続
画素が近傍にあるかどうかを判定する。5×5画素単位
のサイズのブロックの中で、黒連続画素と白連続画素が
それぞれ1つ以上存在するときにブロックをエッジ領域
とし、そうでなければ非エッジ領域と判定する。エッジ
領域と判定された画素において「1」が出力される。
The neighborhood detecting section determines whether the black continuous pixel and the white continuous pixel are in the vicinity. When one or more black continuous pixels and one or more white continuous pixels are present in a block having a size of 5 × 5 pixels, the block is determined to be an edge region, otherwise, the block is determined to be a non-edge region. “1” is output from a pixel determined to be an edge area.

【0022】図1に戻り、頻度検出手段2では、色文字
として検出された領域の面積を、画像データの総面積で
割ることにより、全画像中の色文字の頻度を算出する。
この頻度の値に応じて、パラメータ選択手段3は、有彩
無彩判定手段4に出力するパラメータを選択する。
Returning to FIG. 1, the frequency detecting means 2 calculates the frequency of the color characters in the entire image by dividing the area of the area detected as the color characters by the total area of the image data.
The parameter selection means 3 selects a parameter to be output to the chromatic / achromatic determination means 4 according to the value of the frequency.

【0023】次に、本スキャン時に得られた画像データ
を用いて、有彩無彩判定手段4は画像の有彩無彩領域の
判定を行う。この時に使用するパラメータはプレスキャ
ンの時に選択されたパラメータである。
Next, using the image data obtained at the time of the main scan, the chromatic / achromatic determining means 4 determines a chromatic achromatic region of the image. The parameters used at this time are the parameters selected at the time of the pre-scan.

【0024】図7は、有彩無彩判定手段の構成を示す。
図7に示すように、色差の絶対値を算出する回路51、
52、53では、R,G,Bの色差の絶対値を求め、最
大値回路54の出力max(|R−G|,|G−B|,
|B−R|)と所定の閾値thとを比較器55で比較
し、所定の閾値を越えないとき無彩色と判定し、越えた
とき有彩色と判定する。色文字の頻度が高いとき、パラ
メータ選択手段3は閾値としてth1を選択し、色文字
の頻度が低いときパラメータ選択手段3は閾値としてt
h2(>th1)を選択する。これにより、黒文字と誤
判定されていた茶色の文字などを精度よく、有彩色と判
定することができる。
FIG. 7 shows the configuration of the chromatic / achromatic determining means.
As shown in FIG. 7, a circuit 51 for calculating the absolute value of the color difference,
In steps 52 and 53, the absolute values of the color differences of R, G, and B are obtained, and the output max (| R−G |, | GB−,
| BR |) is compared with a predetermined threshold value th by a comparator 55. If the predetermined threshold value is not exceeded, the color is determined to be achromatic, and if the threshold value is exceeded, the color is determined to be chromatic. When the frequency of the color characters is high, the parameter selection unit 3 selects th1 as the threshold value, and when the frequency of the color characters is low, the parameter selection unit 3 selects t1 as the threshold value.
h2 (> th1) is selected. This makes it possible to accurately determine a brown character or the like that has been erroneously determined to be a black character as a chromatic color.

【0025】なお、有彩無彩判定手段の出力は、例えば
カラー画像処理装置を構成するUCR回路に与えられ
る。つまり、有彩と判定されたときは、Y,M,C,K
を出力するように制御し、無彩と判定されたときは、
Y,M,Cの出力を0とし、Kのみを出力(黒単色)す
るように制御する。
The output of the chromatic / achromatic determining means is given to, for example, a UCR circuit constituting a color image processing apparatus. That is, when it is determined to be chromatic, Y, M, C, K
Is output, and when it is determined to be achromatic,
The outputs of Y, M, and C are set to 0, and only K is output (monochrome).

【0026】また、上記した有彩無彩判定手段は、画素
単位で判定するものであるが、判定された画素を複数画
素からなるブロック(例えば8×8画素)にし、ブロッ
ク毎に有彩無彩を判定しても良い。
The above-mentioned chromatic / achromatic determination means is to make a determination on a pixel-by-pixel basis. The determined pixels are divided into blocks (for example, 8 × 8 pixels) composed of a plurality of pixels, and the chromatic / achromatic The color may be determined.

【0027】〈実施例2〉図2は、本発明の実施例2の
構成を示す。実施例2の色文字検出手段は、図5で説明
した特定色検出手段21と文字検出手段22とANDゲ
ート23からなる。まずプレスキャンを行って、スキャ
ナなどの画像入力装置を用いて原稿を読み取り、画像信
号を得る。特定色検出手段21は、この画像信号を用い
て特定色検出を行い、また文字検出手段22により文字
検出を行う。ANDゲート23は、特定色でありかつ文
字を検出したとき、色文字を出力する。
<Embodiment 2> FIG. 2 shows the configuration of Embodiment 2 of the present invention. The color character detecting means of the second embodiment includes the specific color detecting means 21, the character detecting means 22, and the AND gate 23 described with reference to FIG. First, prescanning is performed, and an original is read using an image input device such as a scanner to obtain an image signal. The specific color detecting means 21 performs specific color detection using the image signal, and performs character detection using the character detecting means 22. The AND gate 23 outputs a color character when a specific color and a character are detected.

【0028】頻度検出手段24では、色文字として検出
された領域の面積を、画像データの総面積で割ることに
より、全画像中の色文字の頻度を算出する。パラメータ
選択手段25は、この頻度の値に応じて、有彩無彩判定
手段26に出力するパラメータを選択する。
The frequency detecting means 24 calculates the frequency of the color characters in the entire image by dividing the area of the area detected as the color characters by the total area of the image data. The parameter selecting unit 25 selects a parameter to be output to the chromatic / achromatic determining unit 26 according to the value of the frequency.

【0029】次に、本スキャン時に得られた画像データ
を用いて、文字検出手段22により文字を検出し、プレ
スキャンであらかじめ選択されたパラメータを用いて有
彩無彩判定手段26により有彩無彩判定を行う。つま
り、文字検出手段22が文字を検出し、かつ有彩無彩判
定手段26が有彩色を判定したとき、ANDゲート27
は有彩色の色文字を出力し、文字検出手段22が文字を
検出し、かつ有彩無彩判定手段26が無彩色を判定した
とき、ANDゲート27は無彩色の色文字を出力する。
この実施例では、プレスキャン時と本スキャン時に共通
の文字検出手段22を利用できるので、構成が簡単化さ
れ、コスト上のメリットがある。
Next, a character is detected by the character detecting means 22 using the image data obtained at the time of the main scan, and a chromatic / achromatic determination is performed by the chromatic / achromatic determining means 26 using the parameters preselected in the prescan. Perform color determination. That is, when the character detecting means 22 detects a character and the chromatic / achromatic determining means 26 determines a chromatic color, the AND gate 27
Outputs a chromatic color character, and when the character detecting means 22 detects a character and the chromatic / achromatic determining means 26 determines an achromatic color, the AND gate 27 outputs an achromatic color character.
In this embodiment, the common character detection means 22 can be used at the time of pre-scan and at the time of main scan, so that the configuration is simplified and there is an advantage in cost.

【0030】〈実施例3〉図3は、本発明の実施例3の
構成を示す。実施例2と異なる点は、文字検出手段22
の出力が、直接、頻度検出手段24に入力されている点
である。特定色検出手段21、文字検出手段22は実施
例2と同様に機能する。そして、プレスキャン時に、頻
度検出手段24では、ANDゲート23の出力である色
文字として検出された領域の面積を、文字検出手段22
により文字と判定された領域の総面積で割ることによ
り、画像の文字領域中の色文字の頻度が算出される。パ
ラメータ選択手段25は、この頻度の値に応じて、有彩
無彩判定手段26に出力するパラメータを選択する。
<Embodiment 3> FIG. 3 shows the structure of Embodiment 3 of the present invention. The difference from the second embodiment is that the character detection unit 22
Is directly input to the frequency detecting means 24. The specific color detecting means 21 and the character detecting means 22 function in the same manner as in the second embodiment. Then, at the time of the pre-scan, the frequency detecting means 24 determines the area of the area detected as the color character output from the AND gate 23 by the character detecting means 22.
By dividing by the total area of the region determined to be a character, the frequency of the color character in the character region of the image is calculated. The parameter selecting unit 25 selects a parameter to be output to the chromatic / achromatic determining unit 26 according to the value of the frequency.

【0031】次いで、本スキャンの時に得られた画像デ
ータを用いて、文字検出手段22により文字を検出し、
プレスキャンであらかじめ選択されたパラメータを用い
て有彩無彩判定手段26により有彩無彩判定を行う。実
施例2と同様に、文字検出手段22が文字を検出し、か
つ有彩無彩判定手段26が有彩色を判定したとき、AN
Dゲート27は有彩色の色文字を出力し、文字検出手段
22が文字を検出し、かつ有彩無彩判定手段26が無彩
色を判定したとき、ANDゲート27は無彩色の色文字
を出力する。
Next, a character is detected by the character detecting means 22 using the image data obtained at the time of the main scan.
The chromatic / achromatic determination is performed by the chromatic / achromatic determination unit 26 using the parameters selected in advance in the prescan. As in the second embodiment, when the character detecting unit 22 detects a character and the chromatic / achromatic determining unit 26 determines a chromatic color,
The D gate 27 outputs a chromatic color character. When the character detecting means 22 detects a character and the chromatic / achromatic determining means 26 determines an achromatic color, the AND gate 27 outputs an achromatic color character. I do.

【0032】〈実施例4〉図4は、本発明の実施例4の
構成を示す。実施例4の頻度検出手段は、第一演算手段
29、第二演算手段28、2つの比較器30、31で構
成されている。他の構成は実施例3と同様であるので説
明を省略する。
<Embodiment 4> FIG. 4 shows the configuration of Embodiment 4 of the present invention. The frequency detecting means of the fourth embodiment includes a first calculating means 29, a second calculating means 28, and two comparators 30 and 31. The other configuration is the same as that of the third embodiment, and the description is omitted.

【0033】プレスキャン時に、第一演算手段29で
は、文字検出手段22で検出された文字領域の面積を、
画像データの総面積で割る演算を行う。第二演算手段2
8では、色文字として検出された領域の面積を、文字検
出手段22で検出された文字領域の面積で割る演算を行
う。比較器31、30は、第一の演算結果と第二の演算
結果をそれぞれ閾値th3、th4と比較することによ
り2bitの頻度にデコードする。この頻度の値に応じ
て、パラメータ選択手段25でパラメータを選択する。
例えば、第一の演算結果、第二の演算結果が共にth
3,th4より大きいとき、パラメータとして有彩色を
判定する閾値(図7)を選択し、また、第一の演算結果
がth3より大きく、第二の演算結果がth4未満のと
き、パラメータとして無彩色を判定する閾値を選択す
る。
At the time of pre-scan, the first calculating means 29 calculates the area of the character area detected by the character detecting means 22 as
An operation of dividing by the total area of the image data is performed. Second calculation means 2
In step S8, an operation of dividing the area of the area detected as a color character by the area of the character area detected by the character detection unit 22 is performed. The comparators 31 and 30 decode the first calculation result and the second calculation result to a frequency of 2 bits by comparing them with thresholds th3 and th4, respectively. The parameter is selected by the parameter selecting means 25 according to the value of the frequency.
For example, if both the first operation result and the second operation result are th
If the third calculation result is larger than th4, a threshold for determining a chromatic color (FIG. 7) is selected as a parameter. If the first calculation result is larger than th3 and the second calculation result is smaller than th4, an achromatic color is used as a parameter. Is selected.

【0034】本スキャン時に得られた画像データを用い
て、文字検出手段により文字を検出し、プレスキャンで
あらかじめ選択されたパラメータを用いて有彩無彩判定
手段により有彩無彩判定を行う。つまり、文字検出結果
と有彩無彩判定結果により有彩色文字、無彩色文字の検
出が行われる。
Characters are detected by the character detecting means using the image data obtained at the time of the main scan, and the chromatic / achromatic determination is performed by the chromatic / achromatic determining means using the parameters selected in advance in the prescan. That is, chromatic characters and achromatic characters are detected based on the character detection result and the chromatic / achromatic determination result.

【0035】[0035]

【発明の効果】以上、説明したように、請求項1、2記
載の発明によれば、原稿中に含まれる色文字、黒文字の
頻度に応じて有彩色と無彩色の判定基準を制御している
ので、原稿の特性に合った有彩無彩の判定処理を精度よ
く、かつ自動的に行うことができる。
As described above, according to the first and second aspects of the present invention, the chromatic and achromatic judgment criteria are controlled in accordance with the frequency of color characters and black characters contained in the original. Therefore, the chromatic / achromatic determination process that matches the characteristics of the document can be accurately and automatically performed.

【0036】請求項3、4、5記載の発明によれば、色
文字の出現頻度を、原稿の大きさや文字の割合等で正規
化しているので、精度よく色文字を検出することができ
る。
According to the third, fourth and fifth aspects of the present invention, the appearance frequency of the color characters is normalized by the size of the document, the ratio of the characters, and the like, so that the color characters can be detected with high accuracy.

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

【図1】本発明の実施例1の構成を示す。FIG. 1 shows a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の実施例2の構成を示す。FIG. 2 shows a configuration of a second exemplary embodiment of the present invention.

【図3】本発明の実施例3の構成を示す。FIG. 3 shows a configuration of a third embodiment of the present invention.

【図4】本発明の実施例4の構成を示す。FIG. 4 shows a configuration of a fourth embodiment of the present invention.

【図5】(a)、(b)は、色文字検出手段の構成を示
す。
FIGS. 5A and 5B show a configuration of a color character detection unit.

【図6】特定色検出手段によって検出される特定色の領
域を示す。
FIG. 6 shows a specific color area detected by a specific color detecting means.

【図7】有彩無彩判定手段の構成を示す。FIG. 7 shows a configuration of a chromatic / achromatic determining unit.

【図8】エッジ領域判定手段の構成を示す。FIG. 8 shows a configuration of an edge area determination unit.

【図9】黒画素、白画素の連続性を検出するパターンの
例を示す。
FIG. 9 shows an example of a pattern for detecting continuity of black pixels and white pixels.

【符号の説明】[Explanation of symbols]

1 色文字検出手段 2 頻度検出手段 3 パラメータ選択手段 4 有彩無彩判定手段 1 color character detecting means 2 frequency detecting means 3 parameter selecting means 4 chromatic / achromatic determining means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 原稿をディジタル画像信号として読み取
る手段と、該画像信号が有彩色であるか無彩色であるか
を判定する手段とを少なくとも備えたカラー画像処理装
置であって、前記画像信号から所定の条件を満たす色文
字を検出する手段と、該色文字の出現頻度を検出する手
段と、該出現頻度に応じて前記判定手段の判定基準を制
御する手段とを備えたことを特徴とするカラー画像処理
装置。
1. A color image processing apparatus comprising: a unit for reading a document as a digital image signal; and a unit for determining whether the image signal is a chromatic color or an achromatic color. Means for detecting a color character satisfying a predetermined condition; means for detecting the frequency of appearance of the color character; and means for controlling a criterion of the determination means according to the frequency of appearance. Color image processing device.
【請求項2】 前記色文字検出手段は、文字を検出する
手段と、所定の条件の色領域を検出する手段とからなる
ことを特徴とする請求項1記載のカラー画像処理装置。
2. A color image processing apparatus according to claim 1, wherein said color character detecting means comprises means for detecting a character and means for detecting a color area under a predetermined condition.
【請求項3】 前記頻度検出手段は、前記原稿領域の総
面積および前記色文字と検出された領域の総面積に基づ
いて頻度を検出することを特徴とする請求項1記載のカ
ラー画像処理装置。
3. The color image processing apparatus according to claim 1, wherein the frequency detection unit detects a frequency based on a total area of the document area and a total area of the area detected as the color character. .
【請求項4】 前記頻度検出手段は、前記文字と検出さ
れた領域の総面積および前記色文字と検出された領域の
総面積に基づいて頻度を検出することを特徴とする請求
項1または2記載のカラー画像処理装置。
4. The frequency detection unit according to claim 1, wherein the frequency detection unit detects a frequency based on a total area of the area detected as the character and a total area of the area detected as the color character. The color image processing apparatus as described in the above.
【請求項5】 前記頻度検出手段は、前記原稿領域の総
面積および文字と検出された領域の総面積を基に第1の
演算を行い、前記文字と検出された領域の総面積および
色文字と検出された領域の総面積を基に第2の演算を行
い、前記第1、第2の演算結果を基に頻度を検出するこ
とを特徴とする請求項1または2記載のカラー画像処理
装置。
5. The frequency detecting means performs a first operation based on a total area of the document area and a total area of a region detected as a character, and calculates a total area and a color character of the region detected as a character. 3. The color image processing apparatus according to claim 1, wherein a second operation is performed based on a total area of the detected region, and a frequency is detected based on the first and second operation results. .
JP01547397A 1997-01-29 1997-01-29 Color image processing device Expired - Fee Related JP3737230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01547397A JP3737230B2 (en) 1997-01-29 1997-01-29 Color image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01547397A JP3737230B2 (en) 1997-01-29 1997-01-29 Color image processing device

Publications (2)

Publication Number Publication Date
JPH10215382A true JPH10215382A (en) 1998-08-11
JP3737230B2 JP3737230B2 (en) 2006-01-18

Family

ID=11889780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01547397A Expired - Fee Related JP3737230B2 (en) 1997-01-29 1997-01-29 Color image processing device

Country Status (1)

Country Link
JP (1) JP3737230B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7199822B2 (en) 2002-08-19 2007-04-03 Nec Viewtechnology Ltd. Dynamic white balance control circuit and multi-screen display device
US7457465B2 (en) 2003-04-18 2008-11-25 Seiko Epson Corporation Method, apparatus, and computer-readable medium for processing an image while excluding a portion of the image
JP2020088734A (en) * 2018-11-29 2020-06-04 株式会社リコー Image processing apparatus, image processing method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7199822B2 (en) 2002-08-19 2007-04-03 Nec Viewtechnology Ltd. Dynamic white balance control circuit and multi-screen display device
US7457465B2 (en) 2003-04-18 2008-11-25 Seiko Epson Corporation Method, apparatus, and computer-readable medium for processing an image while excluding a portion of the image
JP2020088734A (en) * 2018-11-29 2020-06-04 株式会社リコー Image processing apparatus, image processing method and program

Also Published As

Publication number Publication date
JP3737230B2 (en) 2006-01-18

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
JPH03256178A (en) Picture/character area identifying system for image processor
JPH0722330B2 (en) Image region identification method for image processing apparatus
US20050078867A1 (en) System and method for generating black and white reproductions of color documents
JP3335830B2 (en) Image processing device
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JPH1127542A (en) Color-type discriminating device
US6178010B1 (en) Image processing device
JP3737230B2 (en) Color image processing device
JPH10283470A (en) Image processor, image processing method and recording medium
JP3224172B2 (en) Color image processing equipment
JPH10108012A (en) Image area separating device
JP3587740B2 (en) Image processing device
JP3255085B2 (en) Image area determination method and apparatus, image processing apparatus
JP3767210B2 (en) Document type determination device and image processing device
JP2000295469A (en) Image forming device
JPH03201772A (en) Image scanner
JP3064896B2 (en) Image processing device
JP3988970B2 (en) Image processing apparatus, image processing method, and storage medium
JP3581756B2 (en) Image processing device
JP3215146B2 (en) Image processing device
JP2001352453A (en) Image-reproducing device
JP3262773B2 (en) Method and apparatus for detecting pixel color of color image
JP3788669B2 (en) Color image processing device
JP3070174B2 (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20011212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050930

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051025

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051026

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081104

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091104

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101104

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111104

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111104

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121104

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131104

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees