JP3767210B2 - Document type determination device and image processing device - Google Patents

Document type determination device and image processing device Download PDF

Info

Publication number
JP3767210B2
JP3767210B2 JP31494098A JP31494098A JP3767210B2 JP 3767210 B2 JP3767210 B2 JP 3767210B2 JP 31494098 A JP31494098 A JP 31494098A JP 31494098 A JP31494098 A JP 31494098A JP 3767210 B2 JP3767210 B2 JP 3767210B2
Authority
JP
Japan
Prior art keywords
pixel
document
color
colored
ridge
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
JP31494098A
Other languages
Japanese (ja)
Other versions
JP2000151997A (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.)
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 JP31494098A priority Critical patent/JP3767210B2/en
Publication of JP2000151997A publication Critical patent/JP2000151997A/en
Application granted granted Critical
Publication of JP3767210B2 publication Critical patent/JP3767210B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、入力原稿が例えば地図に代表されるような色地(色べた、色網点)上の文字を多く含む原稿であるか否かを高精度に判定する原稿種判定装置と、色地上の文字を多く含む原稿に対して解像度優先の処理を施す画像処理装置に関する。
【0002】
【従来の技術】
例えば特開平7−298074号公報には、写真部に属す画素、網点部に属す画素を検出し、その画素の係数値によって原稿が写真画像であるか否か、網点画像であるか否かを判定するようになっている。例えば網点上文字は文字の背景が網点であり、網点領域の存在によって網点絵柄原稿と判定され、階調性優先の処理(平滑化寄りのフィルタリング、大サイズ寄りのディザ処理)が施されていた。
【0003】
また、原稿種に応じて画像処理の処理工程を変更するように構成されたカラー複写機も知られており、このカラー複写機では、ユーザが指定する原稿に応じて処理を切り換えることができるように構成されている。具体的には、原稿タイプを文字/写真、文字、写真、地図の4つに分類し、ユーザがキー操作によって指定する原稿タイプに応じたモードにしたがって空間フィルタの強さやスクリーン線数を切り換えるようになっている。例えば色地上文字を多く含む原稿は、特徴的には地図と同様の原稿となるので、地図モードで複写することが望ましいということになる。
【0004】
【発明が解決しようとする課題】
ところで、前述のように原稿種に応じて画像処理の処理の仕方を変えるという技術は知られているが、ユーザが原稿の種類を入力しなければならず、面倒であるだけでなく原稿の種類の入力を間違えると不適切な画像処理が行われることになる。そこで、ユーザの負担やユーザの入力間違いを回避する意味で、原稿種、例えば地図モードで処理すべき原稿を自動的に判定することが望まれる。さらに具体的には、色地(色べた、色網点)上の文字を多く含む原稿(以下、「地図ライクな原稿」と称する。)であるか否かを高精度に判定する必要がある。
【0005】
このとき、高精度に判定することが重要であり、誤判定された場合、従来の方法ではべた検出手段、網点検出手段によって絵柄ありと判定され、結果として階調性優先処理が施され、文字が薄くなってしまうという問題が生じる。
【0006】
本発明は、このような従来技術の問題点に鑑みてなされたもので、その目的は、色地上の文字を多く含む地図のような原稿において黒文字が黒単色に近くなるようにし、グレーバランスを向上させることにある。
【0008】
【課題を解決するための手段】
前記目的を達成するため、本発明は、原稿を読み取って得られた入力画像から前記原稿が色地上文字を多く含む原稿であるか否かを判定する原稿種判定装置において、色べた領域検出として注目画素を中心とする矩形マスク内の全画素が中間レベルをとるか否かにより該注目画素を色べた画素候補として検出する色べた画素候補検出部、及び、注目画素を中心とし注目画素の左右に存在する所定の画素数について色べた画素候補が存在するか否かを判定し、存在する場合に注目画素を色べた画素として検出する補正処理部とを含み、前記入力画像から色べた領域画素を検出する色べた領域画素検出手段と、前記入力画像から画素レベルが尾根状に連なる特性を有する画素を検出することで、文字の中心部である尾根画素を検出する尾根画素検出手段と、前記色べた領域画素検出手段によって色べた領域画素として検出され、かつ、前記尾根画素検出手段により尾根画素として検出された画素を色べた上文字画素として出力する色べた上文字画素出力手段と、前記色べた領域画素の頻度が所定の値より大きく、かつ、前記色べた上文字画素の頻度と前記色べた領域画素との比率が所定値より大きい場合に、前記原稿が色地上文字を多く含む原稿であると判定する判定手段とを備え、前記判定手段の判定結果に応じて色地上文字を多く含む原稿であると判定された場合には、墨生成量を高くすることを特徴とする。
【0013】
【発明の実施の形態】
以下、図面を参照し、本発明の実施形態について説明する。
【0014】
図1は、本発明の一実施形態に係る画像処理装置に構成を示すブロック図である。図において、画像処理装置は、画像入力装置1、平滑化フィルタ回路2、Log変換回路3、エッジ強調回路4、色補正回路5、UCR回路6、中間処理回路(ディザ回路)7、画像出力装置(ここでは、カラープリンタ)8、原稿種判定回路9、デフォルトのフィルタ係数群10、地図ライクな原稿用のフィルタ係数群11、およびフィルタ決定回路12から構成されている。
【0015】
なお、画像入力装置1はカラースキャナなどの画像読み取り機能を備えた装置で、Log変換回路3は反射率リニアな信号を濃度リニアな信号に変換する装置である。色補正回路5は原稿と再生画像の色を合わせるための補正処理を行う回路である。UCR回路6はK信号分だけ各色材の信号から減じる処理を行う回路である。中間調処理回路7はディザテーブルを用いて中間調を表現する回路である。原稿種判定回路9は注目原稿が地図原稿に代表される地図ライクな原稿であるか否かを判定する回路である。決定回路12は原稿種判定回路9からの原稿種判定結果に基づいて使用するフィルタ群を決定する回路である。
【0016】
さらに詳しく説明すると、画像入力装置1には例えばCCDが用いられ、そのレスポンスに応じてRGBの各色毎に多値のデジタル信号、ここでは概ね反射率リニア400dpiの8bit信号(原稿の白→255、黒→0)を出力する。画像入力装置1から出力された前記デジタル信号は空間フィルタの平滑化回路2に入力され、網点画像のモアレ除去などを目的としたフィルタ処理を実行する。この平滑化フィルタの一例を図2(a)に示す。ただし、後述する原稿認識装置において、原稿が地図ライクなものと判定された場合には、平滑化を弱めるようなフィルタ処理が施される。このフィルタ例を図2(b)に示す。この2つのフィルタの切り替え処理によって地図ライクな原稿にはモアレが発生する可能性もでてくるが、それよりも解像度を優先することにする。あるいは、地図ライクな原稿に対して後述するように中間調まで同時に制御すれば、つまりディザサイズが小さくなると、モアレ発生の度合いは自然に小さくなるので、弱い平滑化でもモアレ発生の問題がなくなる。
【0017】
平滑化処理が終了すると、後段の色補正を行う前処理として、Log変換回路3で信号の特性を反射率空間から濃度空間へ変換するようなテーブル変換を行う。ここで、出力信号はインク量を表している。
【0018】
次いで、エッジ強調フィルタ回路4でエッジ部のぼけ補正を目的としたフィルタ処理を行う。このフィルタの一例を図3(a)に示す。ただし、後述する原稿認識装置において、原稿が地図ライクなものと判定された場合には、よりはっきりと文字を再生させたいという目的のためにフィルタ処理を施す。このフィルタの一例を図3(b)に示す。
【0019】
エッジ強調回路4で各色ごとにエッジ強調処理が実行された信号は、色補正回路5に入力される。この色補正回路5は、スキャナでの色分解フィルタの濁り成分、さらに、インクの濁り成分を除去するための回路であり、一般にマスキング方式、メモリマップ方式(補間方式)などが製品化を鑑みると現実的である。そこで、ここでは、マスキング方式を用いて説明する。変換は、
C=k11×c+k12×m+k13×y+k14
M=k21×c+k22×m+k23×y+k24
Y=k31×c+k32×m+k33×y+k34
(ただし、k11〜k34は定数であり、実験にもとづいて決定される。)のような線形式によって行う。
【0020】
さらに色補正回路5では、上記CMY信号からK(ブラック)信号を発生させる。ここでは、一般的な、
K=α×min(C,M,Y)
(ただし、αは画質を考慮しながら実験に基づいて決定される。)
の式に従って発生させる。
【0021】
色補正回路5で色補正が行われた画像信号はUCR回路6に入力され、
C’=C−K
M’=M−K
Y’=Y−K
の各式にしたがってカラープリンタを駆動するC’,M’,Y’信号を算出する。
【0022】
UCR回路6でアンダーカラーが除去された信号は、中間調処理回路7に入力される。中間調処理回路では、ディザテーブル(ディザマトリクス)を準備し、ディザ処理を施した後、カラープリンタなその画像出力装置8に画像データを出力する。
【0023】
原稿種判定回路9では、主に網点上文字画素を多く含むか否かを判定する。図4はこの原稿種判定回路9の詳細な構成を示すブロック図である。入力信号は説明を簡単にするためにG信号を使用するが、必要に応じて輝度信号などを利用してもよいことは言うまでもない。本実施形態に係る原稿種判定回路9は、大きくわけて尾根画素判定部91、網点画素判定部92、AND部93及び総合判定部94の4つのブロックからなる。尾根画素判定部91では注目画素が文字の尾根に相当する画素であるか否かを判定し、網点画素判定部92では注目画素が網点領域であるか否かを判定し、アンド部93では尾根画素であって網点画素である場合に、網点上文字画素であると判定し、総合判定部94では、これらの判定結果を利用して総合的に地図ライクな原稿用の処理を行うか否かを判定する。この判定には、第1及び第2のカウンタ95,96が使用される。第1のカウンタ95は、アンド部93で網点上文字画素であると判定された画素数(m1)をカウントし、第2のカウンタ96は網点画素判定部92で網点画素と判定された画素数(n1)をカウントする。
【0024】
文字、特に尾根部を検出するために文字の尾根部に相当する画素を適当なマスクによって検出する尾根画素判定部91は本出願人の出願に係る特開平3−82269号公報に詳細に説明されているので、ここでの詳細な説明は省略するが、網点上文字を検出するために、前処理として平滑化を行い、さらに文字の中心部は画素レベルが尾根状に連なる特性を利用した判定方式である。網点画素判定部92は、原稿中から網点(印刷の絵柄)領域を検出する回路である。この検出方法は、論文「文字/絵柄(網点、写真)混在画像の像域分離方式」(電子情報通信学会論文誌Vol.J75-D II No.1 pp39-47 1992年1月)に記載された「4.1 網点領域検出」に記載された方法を用いる。この方法は、網点領域の濃度変化 は文字領域の濃度変化と大きくことなる点に着目し、ピーク画素の検出、網点領域の検出、網点領域の補正を行い、網点領域を分離することを特徴としている。
【0025】
ピーク画素の検出は、例えば3×3画素のブロックにおいて、中心画素の濃度レベルLが周囲の全ての画素の濃度レベルよりも高い、あるいは低く、かつ、中心画素の濃度レベルLと中心画素を挟んで対角線に存在する対画素の濃度レベルa、bが4対ともに
|2×L−a−b|>TH
であるとき(なお、THは固定の閾値)、中心画素をピーク画素とする。
【0026】
網点領域の検出は、例えば4×4画素を単位とした4つのブロックにおいて、ピーク画素を含むブロックが2ブロック以上存在すれば、注目ブロックを網点候補領域とし、それ以外は非網点領域と判定する。網点/非網点候補領域を判定した後、注目ブロックを中心とした9つのブロックにおいて4ブロック以上が網点候補領域であれば、注目ブロックを網点領域とし、そうでなければ注目ブロックを非網点領域とする。
【0027】
AND部93では、注目画素が尾根画素(アクティブ)であって、網点画素(アクティブ)である場合に、網点上文字画素(アクティブ)として出力する。総合判定部94では、網点画素(n1)が所定値より大きいこと、及び網点上文字画素(m1)と網点画素(n1)との比率が所定値より大きいことの2つの条件を満たす場合に地図ライクな原稿と判定する。すなわち、
n1>TH n1 and m1/n1>TH
である。
【0028】
判定処理を簡単にするには、下記の条件式
m1>TH m1
のように網点上の文字の頻度のみによって判定しても構わない。
【0029】
なお、前記所定値(閾値)「TH n1」、「TH 1」及び「TH m1」のアンダーバーの次の値「n1」、「1」及び「m1」は閾値THがそれぞれ異なる値であることを意味する。
【0030】
図5は原稿種判定回路の他の実施形態を示すブロック図である。この実施形態に係る原稿種判定回路は、主に色べた上文字画素を多く含むか否かを判定する回路である。前記図4に示した回路と異なる点は、図6に示すべた画素判定部97と前記第2のカウンタ96でカウントする画素数がべた画素数(n2)となるだけであるので、べた画素判定部97のブロックについてのみ詳細に説明し、その他の各ブロックについての説明は割愛する。
【0031】
図6はべた画素判定部97のブロック図である。べた画素判定部97はべた画素検出部971と補正部972とからなる。べた画素検出部971では、例えば5×5のマスクにおいて、マスク内の全画素が中間レベルをとる場合、すなわち、
α<Xij<β
の場合、中心の注目画素をべた画素候補として検出する。さらに、図7に示すような補正を補正部972で行って真のべた画素か否かを判定する。補正処理は、注目画素の左32画素中1つでもべた画素候補として検出され、かつ、注目画素の右32画素中1つでもべた画素候補として検出されれば、注目画素を真のべた画素として出力する。
【0032】
他の実施形態を図8に示す。この実施形態は、中間調処理回路7において地図ライクな原稿であるか否かの情報にもとづいてディザテーブルを切り替えるようにした例であり、図1に示した実施形態におけるデフォルトのフィルタ係数10と地図ライクな原稿用のフィルタ係数11に代えてデフォルトのディザテーブル10’と地図ライクな原稿用のディザテーブル11’とを用意し、原稿種判定回路9による地図ライクな原稿であるか否かの情報に基づいてディザテーブル10’と11’とを切り替えるようにしたものである。
【0033】
基本的な考えはディザのサイズを小さくすれば、諧調性はでないが解像度はあがるので、地図ライクな原稿の場合は階調性より解像度重視の再生を意図して標準のディザサイズよりもサイズの小さなディザを選択する。準備するディザテーブルの例を図9に示す。図9においてaは標準のディザテーブル(2×1)で、a1が主走査方向右の画素用、a2が主走査左の画素用である。また、bが地図ライクな原稿用のディザテーブル(1×1)である。
【0034】
なお、この実施形態では、地図ライクな原稿に対して空間フィルタと中間調処理とを制御することによって解像度と高くして再生する装置を例示しているが、解像度を高く再生するその他の例として、墨の生成量を切り替えたりγテーブルでコントラストを切り替えたりすることも可能である。
【0035】
墨の生成量の切り替えの例としては、前述の、
K=α×min(C,M,Y)
において、αを例えば1.0と0.6とで切り替える方法がある。0.6で墨を生成する場合に比べ、1.0で墨を生成する方が当然墨の量が多くなり、その結果、CMYKのインクやトナーといった記録系の総量が下ることになり、文字、特に黒文字の解像度としては上ることになる。さらに、このように1.0で墨を生成する方が地図ライクな原稿において黒文字が黒単色に近くなり、グレーバランスの向上も図ることができる。
【0036】
【発明の効果】
以上のように、本発明によれば、色地上の文字を多く含む地図のような原稿において黒文字が黒単色に近くなり、グレーバランスを向上させることができる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る画像処理装置の構成を示すブロック図である。
【図2】図1の平滑化回路の平滑化フィルタの例を示す図である。
【図3】図1のエッジ強調回路のエッジ強調フィルタの例を示す図である。
【図4】図1における原稿種判定回路の詳細を示すブロック図である。
【図5】図1における原稿種判定回路の他の例を示すブロック図である。
【図6】図5におけるべた画素判定部の詳細を示すブロック図である。
【図7】図6の画素検出部における真のべた画素の検出方法を示す説明図である。
【図8】本発明の他の実施形態に係る画像処理装置の構成を示すブロック図である。
【図9】図8の実施形態で使用するディザテーブルの例を示す図である。
【符号の説明】
1 画像入力装置
2 平滑化回路
3 Log変換回路
4 エッジ強調回路
5 色補正回路
6 UCR回路
7 中間調処理回路
8 カラープリンタ
9 原稿種判定回路
10 デフォルトフィルタ係数
10’ デフォルトディザテーブル
11 地図原稿用フィルタ係数
11’ 地図原稿用ディザテーブル
12 決定回路
91 尾根画素判定部
92 網点画素判定部
93 AND回路
94 総合判定部
95 第1のカウンタ
96 第2のカウンタ
97 べた画素判定部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a document type determination device that determines with high accuracy whether or not an input document is a document including a lot of characters on a color ground (solid, color halftone dot) as typified by a map, and a color The present invention relates to an image processing apparatus that performs resolution-priority processing on a document including many characters on the ground.
[0002]
[Prior art]
For example, in Japanese Patent Laid-Open No. 7-298074, a pixel belonging to a photographic portion and a pixel belonging to a halftone dot portion are detected, and whether or not the document is a photographic image or a halftone dot image is determined by the coefficient value of the pixel. It is to judge whether. For example, the character on the halftone dot has a halftone dot background, and is determined to be a halftone dot pattern manuscript due to the presence of the halftone dot region. Tone priority processing (smoothing filtering, large size dithering) is performed. It was given.
[0003]
There is also known a color copying machine configured to change the processing process of image processing in accordance with the document type. In this color copying machine, the processing can be switched according to the document specified by the user. It is configured. Specifically, the document type is classified into four types: character / photo, character, photo, and map, and the strength of the spatial filter and the number of screen lines are switched in accordance with the mode corresponding to the document type designated by the user by key operation. It has become. For example, a manuscript containing many colored ground characters is characteristically a manuscript similar to a map, so it is desirable to copy in the map mode.
[0004]
[Problems to be solved by the invention]
By the way, as described above, there is known a technique of changing the image processing method according to the document type, but the user has to input the type of the document, which is not only cumbersome but also the type of document. If the input is incorrect, inappropriate image processing will be performed. Therefore, it is desirable to automatically determine a document type, for example, a document to be processed in the map mode, in order to avoid a burden on the user and an input error by the user. More specifically, it is necessary to determine with high accuracy whether or not the document includes a lot of characters on the color ground (colored solid, halftone dots) (hereinafter referred to as “map-like document”). .
[0005]
At this time, it is important to determine with high accuracy, and in the case of erroneous determination, in the conventional method, it is determined that there is a pattern by the solid detection means, the halftone detection means, and as a result, gradation priority processing is performed, There arises a problem that characters become thin.
[0006]
The present invention has been made in view of such problems of the prior art, and its purpose is to make black characters close to a single black color in a manuscript such as a map containing many characters on the color ground, and to achieve gray balance. It is to improve .
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a color solid area detection in a document type determination apparatus for determining whether or not the document is a document including many colored ground characters from an input image obtained by reading the document. A colored pixel candidate detection unit that detects the pixel of interest as a colored pixel candidate based on whether or not all pixels in the rectangular mask centered on the pixel of interest have an intermediate level, and left and right of the pixel of interest centered on the pixel of interest A correction processing unit that determines whether or not there is a color candidate for a predetermined number of pixels existing in the image , and detects a pixel of interest as a color pixel when it exists, A ridge pixel detection unit that detects a ridge pixel that is a central part of a character by detecting a pixel having a characteristic in which a pixel level is connected in a ridge shape from the input image; And a colored solid character pixel output means for outputting a pixel detected as a colored pixel by the colored pixel detection unit and detected as a ridge pixel by the ridge pixel detecting device as a colored character pixel. When the frequency of the color solid area pixel is greater than a predetermined value and the ratio of the color solid color pixel frequency to the color solid area pixel is greater than a predetermined value, A determination unit that determines that the document includes a large amount of ink, and the ink generation amount is increased when it is determined that the document includes a large amount of colored ground characters according to the determination result of the determination unit. To do.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0014]
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. In the figure, the image processing apparatus includes an image input apparatus 1, a smoothing filter circuit 2, a log conversion circuit 3, an edge enhancement circuit 4, a color correction circuit 5, a UCR circuit 6, an intermediate processing circuit (dither circuit) 7, and an image output apparatus. (Here, a color printer) 8, a document type determination circuit 9, a default filter coefficient group 10, a filter coefficient group 11 for a map-like document, and a filter determination circuit 12.
[0015]
Note that the image input device 1 is a device having an image reading function such as a color scanner, and the Log conversion circuit 3 is a device that converts a reflectance linear signal into a density linear signal. The color correction circuit 5 is a circuit that performs correction processing for matching the colors of the original and the reproduced image. The UCR circuit 6 is a circuit that performs a process of subtracting from each color material signal by K signals. The halftone processing circuit 7 is a circuit that expresses a halftone using a dither table. The document type determination circuit 9 is a circuit that determines whether or not the document of interest is a map-like document represented by a map document. The determination circuit 12 is a circuit that determines a filter group to be used based on the document type determination result from the document type determination circuit 9.
[0016]
More specifically, for example, a CCD is used for the image input device 1, and a multi-value digital signal for each color of RGB according to the response, an 8-bit signal of approximately 400 linear reflectance here (white of document → 255, Black → 0) is output. The digital signal output from the image input device 1 is input to the smoothing circuit 2 of the spatial filter, and performs a filtering process for the purpose of removing moire from a halftone image. An example of this smoothing filter is shown in FIG. However, in the document recognition apparatus described later, when it is determined that the document is map-like, a filtering process that weakens smoothing is performed. An example of this filter is shown in FIG. The switching process between the two filters may cause moire in a map-like document, but resolution is given priority over that. Alternatively, if a map-like document is simultaneously controlled up to a halftone as described later, that is, if the dither size is reduced, the degree of moiré is naturally reduced, so that the problem of moiré is eliminated even with weak smoothing.
[0017]
When the smoothing process is completed, as a pre-process for performing the subsequent color correction, the Log conversion circuit 3 performs table conversion to convert the signal characteristics from the reflectance space to the density space. Here, the output signal represents the ink amount.
[0018]
Next, the edge enhancement filter circuit 4 performs filter processing for the purpose of blur correction of the edge portion. An example of this filter is shown in FIG. However, in the document recognition apparatus described later, when it is determined that the document is map-like, a filter process is performed for the purpose of reproducing characters more clearly. An example of this filter is shown in FIG.
[0019]
A signal that has been subjected to edge enhancement processing for each color by the edge enhancement circuit 4 is input to the color correction circuit 5. The color correction circuit 5 is a circuit for removing the turbidity component of the color separation filter in the scanner and further the turbidity component of the ink. In general, the masking method, the memory map method (interpolation method), etc. are considered in view of commercialization. Realistic. Therefore, here, a description will be given using a masking method. Conversion
C = k11 * c + k12 * m + k13 * y + k14
M = k21 * c + k22 * m + k23 * y + k24
Y = k31 * c + k32 * m + k33 * y + k34
(However, k11 to k34 are constants and are determined based on experiments.)
[0020]
Further, the color correction circuit 5 generates a K (black) signal from the CMY signal. Here, general,
K = α × min (C, M, Y)
(However, α is determined based on experiments taking image quality into consideration.)
Is generated according to the equation
[0021]
The image signal subjected to color correction by the color correction circuit 5 is input to the UCR circuit 6,
C ′ = C−K
M ′ = M−K
Y '= YK
The C ′, M ′, and Y ′ signals for driving the color printer are calculated according to the equations.
[0022]
The signal from which the under color has been removed by the UCR circuit 6 is input to the halftone processing circuit 7. The halftone processing circuit prepares a dither table (dither matrix), performs dither processing, and then outputs image data to the image output device 8 that is a color printer.
[0023]
The document type determination circuit 9 mainly determines whether or not a large number of halftone dot character pixels are included. FIG. 4 is a block diagram showing a detailed configuration of the document type determination circuit 9. The G signal is used as the input signal for simplicity of explanation, but it goes without saying that a luminance signal or the like may be used as necessary. The document type determination circuit 9 according to the present embodiment is roughly composed of four blocks: a ridge pixel determination unit 91, a halftone pixel determination unit 92, an AND unit 93, and an overall determination unit 94. The ridge pixel determining unit 91 determines whether or not the target pixel is a pixel corresponding to the ridge of the character, and the halftone pixel determining unit 92 determines whether or not the target pixel is a halftone dot region. In the case where the pixel is a ridge pixel and a halftone dot pixel, it is determined that the pixel is a character pixel on the halftone dot, and the comprehensive determination unit 94 performs processing for a map-like document comprehensively using these determination results. Determine whether to do it. For this determination, the first and second counters 95 and 96 are used. The first counter 95 counts the number of pixels (m1) determined to be a half-dot character pixel by the AND section 93, and the second counter 96 is determined to be a halftone pixel by the halftone pixel determination section 92. The number of pixels (n1) counted is counted.
[0024]
A ridge pixel determining unit 91 for detecting pixels corresponding to the ridge portion of a character with an appropriate mask in order to detect a character, particularly a ridge portion, is described in detail in Japanese Patent Application Laid-Open No. 3-82269, which is filed by the present applicant. Therefore, although detailed explanation is omitted here, in order to detect the character on the halftone dot, smoothing is performed as preprocessing, and furthermore, the center of the character uses the characteristic that the pixel level is continuous in a ridge shape. This is a judgment method. The halftone pixel determination unit 92 is a circuit that detects a halftone dot (printing pattern) region from the document. This detection method is described in the paper “Image Area Separation Method for Mixed Image of Character / Picture (Half Dots and Photos)” (The IEICE Transactions Vol.J75-D II No.1 pp39-47 January 1992) The method described in “4.1 Halftone dot area detection” is used. This method focuses on the fact that the change in the density of the halftone dot area is significantly different from the change in the density of the character area, and detects the peak pixel, detects the halftone dot area, corrects the halftone dot area, and separates the halftone dot area. It is characterized by that.
[0025]
For example, in the 3 × 3 pixel block, the peak pixel detection is performed such that the density level L of the central pixel is higher or lower than the density levels of all surrounding pixels, and the density level L of the central pixel is sandwiched between the central pixel and the central pixel. | 2 × L−a−b |> TH for all four pairs of pixel density levels a and b existing on the diagonal line.
(Where TH is a fixed threshold), the central pixel is the peak pixel.
[0026]
In the detection of a halftone dot area, for example, in four blocks in units of 4 × 4 pixels, if there are two or more blocks including peak pixels, the target block is set as a halftone dot candidate area, and the rest is a non-halftone dot area Is determined. After determining the halftone / non-halftone dot candidate area, if four or more blocks are the dot candidate areas in the nine blocks centered on the block of interest, the block of interest is set as the dot area, otherwise the block of interest is selected. A non-halftone area is assumed.
[0027]
In the AND unit 93, when the target pixel is a ridge pixel (active) and is a halftone dot pixel (active), the AND pixel 93 outputs it as a halftone dot character pixel (active). The overall determination unit 94 satisfies the two conditions that the halftone dot pixel (n1) is larger than a predetermined value and that the ratio between the halftone dot pixel (m1) and the halftone dot pixel (n1) is larger than a predetermined value. In this case, it is determined as a map-like manuscript. That is,
n1> TH n1 and m1 / n1> TH 1
It is.
[0028]
To simplify the determination process, the following conditional expression m1> TH m1
As described above, the determination may be made based only on the frequency of characters on the halftone dots.
[0029]
The predetermined value (threshold value) “TH” n1 "," TH 1 ”and“ TH The next values “n1”, “1” and “m1” of the underbar of “m1” mean that the threshold values TH are different from each other.
[0030]
FIG. 5 is a block diagram showing another embodiment of the document type determination circuit. The document type determination circuit according to this embodiment is a circuit that determines whether or not it mainly includes many colored upper character pixels. The difference from the circuit shown in FIG. 4 is that the number of pixels counted by the solid pixel determination unit 97 and the second counter 96 shown in FIG. 6 is only the total number of pixels (n2). Only the block of the unit 97 will be described in detail, and the description of the other blocks will be omitted.
[0031]
FIG. 6 is a block diagram of the solid pixel determination unit 97. The solid pixel determination unit 97 includes a solid pixel detection unit 971 and a correction unit 972. In the solid pixel detection unit 971, for example, in a 5 × 5 mask, when all the pixels in the mask take an intermediate level, that is,
α <Xij <β
In this case, the center pixel of interest is detected as a solid pixel candidate. Further, the correction unit 972 performs correction as shown in FIG. 7 to determine whether or not the pixel is a true solid pixel. In the correction process, if at least one of the left 32 pixels of the target pixel is detected as a solid pixel candidate, and if at least one of the right 32 pixels of the target pixel is detected as a solid pixel candidate, the target pixel is determined as a true solid pixel. Output.
[0032]
Another embodiment is shown in FIG. This embodiment is an example in which the halftone processing circuit 7 switches the dither table based on information on whether or not the document is a map-like document. The default filter coefficient 10 in the embodiment shown in FIG. A default dither table 10 ′ and a map-like original dither table 11 ′ are prepared in place of the filter coefficient 11 for the map-like document, and whether or not the map-like document is determined by the document type determination circuit 9 is determined. The dither tables 10 ′ and 11 ′ are switched based on the information.
[0033]
The basic idea is that if the dither size is reduced, the gradation will not be improved, but the resolution will be improved. In the case of a map-like document, the resolution is more important than the standard dither size with the intention of reproducing the resolution more than the gradation. Select a small dither. An example of the dither table to be prepared is shown in FIG. In FIG. 9, a is a standard dither table (2 × 1), where a1 is for the right pixel in the main scanning direction and a2 is for the left pixel in the main scanning direction. B is a dither table (1 × 1) for a map-like document.
[0034]
In this embodiment, a device that reproduces a map-like document with a high resolution by controlling a spatial filter and halftone processing is illustrated. However, as another example of reproducing a high resolution, It is also possible to switch the black generation amount or switch the contrast using the γ table.
[0035]
As an example of switching the amount of black generation,
K = α × min (C, M, Y)
There is a method of switching α between 1.0 and 0.6, for example. Compared to the case of generating black ink at 0.6, the amount of black ink generated naturally at 1.0 increases the total amount of ink such as CMYK ink and toner. Especially, the resolution of black characters will increase. Further, when black is generated at 1.0 as described above, black characters are close to black in a map-like document, and gray balance can be improved.
[0036]
【The invention's effect】
As described above, according to the present invention, in a document such as a map including many characters on the color ground, black characters are close to black and the gray balance can be improved .
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating an example of a smoothing filter of the smoothing circuit in FIG. 1;
FIG. 3 is a diagram illustrating an example of an edge enhancement filter of the edge enhancement circuit of FIG. 1;
4 is a block diagram showing details of a document type determination circuit in FIG. 1. FIG.
5 is a block diagram showing another example of the document type determination circuit in FIG. 1. FIG.
6 is a block diagram illustrating details of a solid pixel determination unit in FIG. 5. FIG.
7 is an explanatory diagram illustrating a method for detecting a true solid pixel in the pixel detection unit of FIG. 6;
FIG. 8 is a block diagram showing a configuration of an image processing apparatus according to another embodiment of the present invention.
FIG. 9 is a diagram showing an example of a dither table used in the embodiment of FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Image input device 2 Smoothing circuit 3 Log conversion circuit 4 Edge emphasis circuit 5 Color correction circuit 6 UCR circuit 7 Halftone processing circuit 8 Color printer 9 Original type determination circuit 10 Default filter coefficient 10 'Default dither table 11 Filter for map original Coefficient 11 ′ Dither table for map document 12 Determination circuit 91 Ridge pixel determination unit 92 Halftone pixel determination unit 93 AND circuit 94 Overall determination unit 95 First counter 96 Second counter 97 Solid pixel determination unit

Claims (1)

原稿を読み取って得られた入力画像から前記原稿が色地上文字を多く含む原稿であるか否かを判定する原稿種判定装置において、
色べた領域検出として注目画素を中心とする矩形マスク内の全画素が中間レベルをとるか否かにより該注目画素を色べた画素候補として検出する色べた画素候補検出部、及び、注目画素を中心とし注目画素の左右に存在する所定の画素数について色べた画素候補が存在するか否かを判定し、存在する場合に注目画素を色べた画素として検出する補正処理部とを含み、前記入力画像から色べた領域画素を検出する色べた領域画素検出手段と、
前記入力画像から画素レベルが尾根状に連なる特性を有する画素を検出することで、文字の中心部である尾根画素を検出する尾根画素検出手段と、
前記色べた領域画素検出手段によって色べた領域画素として検出され、かつ、前記尾根画素検出手段により尾根画素として検出された画素を色べた上文字画素として出力する色べた上文字画素出力手段と、
前記色べた領域画素の頻度が所定の値より大きく、かつ、前記色べた上文字画素の頻度と前記色べた領域画素との比率が所定値より大きい場合に、前記原稿が色地上文字を多く含む原稿であると判定する判定手段と、
を備え
前記判定手段の判定結果に応じて色地上文字を多く含む原稿であると判定された場合には、墨生成量を高くすることを特徴とする原稿種判定装置。
In a document type determination apparatus for determining whether or not the document is a document including a large number of colored ground characters from an input image obtained by reading the document,
A color solid pixel candidate detection unit that detects the target pixel as a color candidate according to whether or not all pixels in the rectangular mask centered on the target pixel have an intermediate level as color detection, and the target pixel A correction processing unit that determines whether or not there is a color candidate for a predetermined number of pixels existing on the left and right sides of the target pixel, and detects the target pixel as a color pixel when it exists, the input image A color solid area pixel detecting means for detecting color solid area pixels from:
A ridge pixel detecting means for detecting a ridge pixel that is a central part of a character by detecting a pixel having a characteristic in which a pixel level is continuous in a ridge shape from the input image;
A colored solid character pixel output means for outputting as a colored upper character pixel a pixel detected as a colored pixel by the colored area pixel detecting means and detected as a ridge pixel by the ridge pixel detecting means;
When the frequency of the color solid area pixels is higher than a predetermined value and the ratio of the frequency of the color solid area pixels to the color solid area pixels is higher than a predetermined value, the document includes many colored ground characters. Determining means for determining that the document is a document;
Equipped with a,
An original type determination apparatus that increases a black generation amount when it is determined that the original contains a lot of colored ground characters according to the determination result of the determination means .
JP31494098A 1998-11-05 1998-11-05 Document type determination device and image processing device Expired - Fee Related JP3767210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31494098A JP3767210B2 (en) 1998-11-05 1998-11-05 Document type determination device and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31494098A JP3767210B2 (en) 1998-11-05 1998-11-05 Document type determination device and image processing device

Publications (2)

Publication Number Publication Date
JP2000151997A JP2000151997A (en) 2000-05-30
JP3767210B2 true JP3767210B2 (en) 2006-04-19

Family

ID=18059494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31494098A Expired - Fee Related JP3767210B2 (en) 1998-11-05 1998-11-05 Document type determination device and image processing device

Country Status (1)

Country Link
JP (1) JP3767210B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8467109B2 (en) 2009-09-08 2013-06-18 Ricoh Company, Ltd. Image processing apparatus and method
US8804205B2 (en) 2009-11-20 2014-08-12 Ricoh Company, Limited Image processing apparatus, method, and computer program product for converting image data

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152123B (en) * 2023-04-21 2023-09-19 荣耀终端有限公司 Image processing method, electronic device, and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8467109B2 (en) 2009-09-08 2013-06-18 Ricoh Company, Ltd. Image processing apparatus and method
US8804205B2 (en) 2009-11-20 2014-08-12 Ricoh Company, Limited Image processing apparatus, method, and computer program product for converting image data

Also Published As

Publication number Publication date
JP2000151997A (en) 2000-05-30

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP3334042B2 (en) IMAGE PROCESSING APPARATUS, IMAGE READING APPARATUS AND IMAGE FORMING APPARATUS EQUIPPED WITH THE SAME, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE STORAGE MEDIUM CONTAINING IMAGE PROCESSING PROCEDURE
JP3929030B2 (en) Image processing device
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP3767210B2 (en) Document type determination device and image processing device
JP3767878B2 (en) Image processing apparatus with output correction inside character
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JPH0877350A (en) Image processor
JPH0541796A (en) Copying machine
JP2002232709A (en) Image processing device, image forming device using the same, and image processing method
JPH06152945A (en) Image processor
JP3064896B2 (en) Image processing device
JP3581756B2 (en) Image processing device
JP3615308B2 (en) Image processing apparatus and method
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP3788669B2 (en) Color image processing device
JP3854414B2 (en) Image processing apparatus and image forming apparatus
JP2003224718A (en) Image processing method and image processor
JP4007849B2 (en) Image data processing apparatus, program, and recording medium
JP4100757B2 (en) Image processing apparatus and method
JP3518258B2 (en) Color image processing equipment
JP2004096625A (en) Image processing apparatus and method therefor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051011

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051212

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: 20060117

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060123

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees