JP3426743B2 - Halftone area determination device - Google Patents

Halftone area determination device

Info

Publication number
JP3426743B2
JP3426743B2 JP28222494A JP28222494A JP3426743B2 JP 3426743 B2 JP3426743 B2 JP 3426743B2 JP 28222494 A JP28222494 A JP 28222494A JP 28222494 A JP28222494 A JP 28222494A JP 3426743 B2 JP3426743 B2 JP 3426743B2
Authority
JP
Japan
Prior art keywords
pixel
pixels
image data
dip
peak
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
JP28222494A
Other languages
Japanese (ja)
Other versions
JPH08149290A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP28222494A priority Critical patent/JP3426743B2/en
Priority to US08/556,839 priority patent/US5729627A/en
Priority to EP95117934A priority patent/EP0713326A1/en
Publication of JPH08149290A publication Critical patent/JPH08149290A/en
Application granted granted Critical
Publication of JP3426743B2 publication Critical patent/JP3426743B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、たとえばスキャナで
光学的に読取られた原稿画像が網点領域に属する原稿画
像であるか否かを判定する網点領域判定装置に関する。 【0002】 【従来の技術】従来から、原稿画像をCCD(電荷結合
素子)などで構成したスキャナで光学的に読取って濃度
に対応する画像データに変換し、この変換された画像デ
ータに基づいて原稿画像を形成するようにしたディジタ
ル複写機が用いられている。この種のディジタル複写機
では、文字・線画,写真または単位面積当たりのドット
のサイズで階調が表現される網点(screen)が混在する
原稿画像でも高品質な複写物が取得できるように、原稿
画像が文字・線画領域,写真領域または網点領域のいず
れの領域に属するかが判定され、各領域に応じた画像処
理が施される。具体的には、文字・線画領域では、エッ
ジ強調または黒色文字の強調などの画像処理が施され
る。また、網点領域では、モアレ除去のための平滑化な
どの画像処理が施される。 【0003】網点領域か否かの判定は、たとえば次のよ
うにして行われる。原稿画像が光学的に読取られて画像
データに変換されると、副走査方向の複数ライン(たと
えば11ライン)の画像データが複数ラインの容量を有
するメモリに保持される。そして、注目画素を中心とす
る連続した一定範囲(たとえば3画素×3ライン)の検
出領域において、注目画素の濃度が周囲の画素よりも相
対的に濃いか薄いかが判定される。その結果、注目画素
の濃度が周囲の画素よりも相対的に濃いと判定される
と、当該注目画素はピーク画素であると検出される。一
方、注目画素の濃度が周囲の画素よりも相対的に薄いと
判定されると、当該注目画素はディップ画素であると検
出される。 【0004】このようにして検出領域内のピーク画素ま
たはディップ画素が検出されると、上記注目画素とした
画素のうち一定数の画素で構成した判定領域(たとえば
9画素×9ライン)において、ピーク画素またはディッ
プ画素の出現パターンが網点領域を表す複数のマスクパ
ターンと一致するか否か、またはピーク画素またはディ
ップ画素の存在密度が一定以上であるか否かが判別され
る。その結果、一致するパターンがある、または存在密
度が一定以上であると判別されると、上記判定領域は網
点領域であると判定される。 【0005】 【発明が解決しようとする課題】ところが、上記従来の
ピーク画素またはディップ画素の検出では、副走査方向
の複数ラインに相当する容量を有するメモリが必須であ
るので、メモリ規模が大きくなるという不具合もあっ
た。また、網点領域において、1インチ当たりのドット
数(以下「線数」という)は、肌理の細かいものでは2
00線程度のものから、肌理の粗いものでは65線程度
のものまで存在する。 【0006】このうち、100線程度未満の線数の少な
い原稿では、網点を構成するドットのサイズがスキャナ
の検出画素をはみ出すおそれがある。このような場合、
上記従来のピーク画素またはディップ画素を検出する方
法では、ピーク画素またはディップ画素を正確に検出で
きず、誤検出することが多いという不具合があった。そ
こで、この発明の目的は、上述の技術的課題を解決し、
メモリ規模を小さくできる網点領域判定装置を提供する
ことである。 【0007】また、この発明の他の目的は、網点領域を
構成するドットのサイズの大小にかかわらず、ピーク画
素またはディップ画素を確実に検出でき、これにより網
点領域であるか否かを正確に判定できる網点領域判定装
置を提供することである。 【0008】 【課題を解決するための手段】上記目的を達成するため
の請求項1記載の網点領域判定装置は、原稿画像を読取
ってその濃度に対応する画像データに変換して出力する
変換手段と、この変換手段から出力された画像データの
中から1または複数のラインに対応する画像データを保
持する保持手段と、この保持手段に保持されている画像
データにおいて、注目画素に対応する画像データと当該
注目画素周辺の画素に対応する画像データとを比較し
て、ピーク画素およびディップ画素を検出する検出手段
と、この検出手段で交互に検出されたそれぞれ2つのピ
ーク画素およびディップ画素を用いて、ピーク画素の間
の距離およびディップ画素の間の距離を求める距離演算
手段と、この距離演算手段で求められたピーク画素の間
の距離とディップ画素の間の距離との差を求める距離差
演算手段と、この距離差演算手段で求められた距離差が
予め定める値以下であるか否かを判別する判別手段と、
この判別手段において、上記距離差が予め定める値以下
であると判別されると、上記検出手段において最初に検
出されたピーク画素またはディップ画素から最後に検出
されたディップ画素またはピーク画素までの間のすべて
の画素を網点領域であると判定する判定手段とを含み、
上記検出手段が、注目画素に対応する画像データと、当
該注目画素の主走査方向の上流側に連続した同一ライン
上の2つの画素に対応する各画像データおよび上記注目
画素の主走査方向の下流側に連続した同一ライン上の1
つの画素に対応する画像データとを比較して、ピーク画
素またはディップ画素を検出するものであることを特徴
とする。 【0009】 【0010】 【作用】上記請求項1記載の構成では、検出手段におい
て網点領域を構成するドットの中心であるピーク画素お
よび各ドット間の谷間であるディップ画素が検出され
る。距離演算手段では、この検出手段で検出された2つ
のピーク画素の間の距離、および2つのディップ画素の
間の距離が求められ、さらに距離差演算手段で求められ
たピーク画素間距離とディップ画素間距離との差が求め
られる。そして、この距離差が予め定める画素以下であ
れば、最初に検出されたピーク画素またはディップ画素
から最後に検出されたディップ画素またはピーク画素ま
でのすべての画素が網点領域であると判定される。 【0011】上記網点領域はドットが周期的に配列され
て構成された領域であることから、ピーク画素およびデ
ィップ画素は、原稿が極端に明るかったり極端に暗かっ
たりしない限り、交互に同じ周期で現れる。したがっ
て、上記求められたピーク画素間距離およびディップ画
素間距離の差は、理想的には全く同一であるが、少なく
とも予め定める値以下である。そのため、上記構成によ
れば、網点領域か否かを確実に判定できる。 【0012】このように、上記構成によれば、ピーク画
素とディップ画素との出現の類似性に基づいて網点領域
か否かを判定しているので、網点領域か否かの判定に
は、必ずしも複数ライン分の画像データは必要でなく、
たとえば1ライン分の画像データのうちピーク画素また
はディップ画素の出現に周期性があるか否かを判定でき
る程度の画像データがあればよい。したがって、網点領
域か否かの判定に少なくとも複数ライン(たとえば9ラ
イン)の画像データを保持できるメモリが必須であった
従来技術に比べて、メモリ規模を小さくできる。 【0013】、ピーク画素またはディップ画素の検
出に、注目画素に隣接しない同一ライン上の画素に対応
する画像データを利用しているので、ドットと変換手段
の検出画素との大小関係にかかわらず、ピーク画素また
はディップ画素を確実に検出できる。 【0014】 【実施例】以下では、この発明の実施例を、添付図面を
参照して詳細に説明する。図2は、この発明の網点領域
判定装置が適用されたディジタルカラー複写機の要部の
電気的構成を示すブロック図である。このディジタルカ
ラー複写機には、複写すべきカラー原稿画像を光学的に
読取って赤(R) ,緑(G) および青(B) の加色法による3
原色画像データに光電変換するとともに、各R,G,B
の3原色画像データをそれぞれの補色であるイエロー
(Y) ,マゼンタ(M) およびシアン(C) の減色法による3
原色画像データに変換して出力するCCD(電荷結合素
子)などで構成された変換手段であるスキャナ1が備え
られている。スキャナ1の分解能は、たとえば1インチ
当たり400画素程度である。 【0015】スキャナ1で生成されて出力されるY,
M,Cの各画像データは、原稿画像の濃度に対応するα
ビット(たとえばα=8;256階調)で表されたディ
ジタルデータである。ディジタルカラー複写機にはま
た、上記スキャナ1から出力されたY,M,Cの各画像
データに種々の処理を施すための画像処理回路2、およ
び原稿画像に対応する静電潜像を形成すべき感光体に光
を照射させる出力部3が備えられている。 【0016】より具体的に説明すると、画像処理回路2
には入力処理回路4が備えられていて、上記Y,M,C
の各画像データはこの入力処理回路4に与えられる。入
力処理回路4では、上記Y,M,Cの各画像データに対
して、スキャナ1と画像処理回路2とのクロック差を解
消するため、クロック変換などの処理が施される。その
後、上記Y,M,Cの各画像データは、FIFO(Firs
t In First Out)メモリ5に与えられる。 【0017】FIFOメモリ5に与えられたY,M,C
の各画像データの任意の1ラインに相当する画像データ
は、それぞれ、文字・写真・網点判定回路6に与えら
れ、文字・写真・網点判定回路6に備えられている1ラ
イン分の画像データを保持できる保持手段であるライン
メモリ61に保持される。文字・写真・網点判定回路6
では、ラインメモリ61に保持されている画像データに
基づいて、その画像データが文字・線画領域,写真領域
または網点領域のいずれの領域に属する画像データであ
るかが判定される。網点領域とは、単位面積当たりのド
ットのサイズで階調が表現された領域のことである。判
定結果は、後述する黒生成回路,ズーム・移動回路,フ
ィルタ回路,階調処理回路および出力制御回路に与えら
れる。 【0018】FIFOメモリ5に保持されている画像デ
ータはまた、文字・写真・網点判定回路6を経て、黒生
成回路7に与えられる。黒生成回路7では、高濃度部に
おける濃度不足を補うための黒(BK)データが生成され
る。具体的には、たとえばY,M,Cの各画像データの
最小値に補正係数β(たとえばβ=0.5 〜1 )を乗じた
値を各画像データから除去し、この除去した値をBKデ
ータとするようにして生成される。Y,M,Cの各画像
データおよびBKデータは出力色セレクト回路8に与え
られる。 【0019】出力色セレクト回路8では、上記Y,M,
C,BK画像データのうちいずれか1つの色に対応する
画像データが選択される。選択された画像データは、ズ
ーム・移動回路9に与えられ、設定倍率などに応じて拡
大または縮小などの処理が施される。その後、フィルタ
回路10に与えられ、文字・写真・網点判定回路6から
与えられた判定結果に応じた平滑化処理またはエッジ強
調化処理などが施される。そして、階調処理回路11に
与えられ、いわゆるディザ処理または多値ディザ処理な
どの中間調処理が施される。 【0020】中間調処理が施された画像データは、出力
制御回路12で出力に必要な処理が施され、上記出力部
3に与えられる。この実施例の特徴は、上記文字・写真
・網点判定回路6における網点領域判定機能にある。図
1は、上記文字・写真・網点判定回路6における網点領
域判定処理の流れを示すブロック図である。 【0021】文字・写真・網点判定回路6には、上述の
ように、Y,M,Cの各画像データの任意の色の画像デ
ータの中の任意の1ラインに対応する画像データを保持
するラインメモリ61が備えられている。また、文字・
写真・網点判定回路6には、ピーク検出部62およびデ
ィップ検出部63が備えられている。この実施例では、
ピーク検出部62およびディップ検出部63が検出手段
に相当する。 【0022】ピーク検出部62では、先ず、ラインメモ
リ61に保持されている画像データの中から連続した4
画素P1 ,P2 ,P3 ,P4 (図3参照)にそれぞれ対
応する濃度を表すαビットの画像データD1 ,D2 ,D
3 ,D4 が読込まれる。このとき、注目画素は画素P3
とされる。そして、注目画素P3 が網点領域を構成する
ドットの中心であるピーク画素であるか否かが上記画像
データD1 〜D4 に基づいて検出される。具体的には、 D3 −D1 >dTH1 または D3 −D2 >dTH2 ‥‥(1) D3 ≧D4 ‥‥(2) D3 >dTH3 ‥‥(3) の各式の判定の論理積が成立するか否かが判別される
(ただし、dTH2 <dTH1<dTH3 、たとえばdTH1 =1
0,dTH2 =5 ,dTH3 =35)。 【0023】ピーク検出部62では、原稿画像の左端2
画素P1 ,P2 (図3参照)および右端の1画素P
n (図3参照)に対してはピーク画素の検出処理は行わ
れないが、原稿画像の端付近はほとんど目立たないの
で、無視しても特に問題はない。上記判別の結果、上記
(1) 〜(3) 式の判定の論理積は成立しないと判別される
と、上記注目画素P3 はピーク画素ではないと検出され
る。ピーク画素でないと検出されると、次に、上記読込
んだ画素P1 〜P4 よりも主走査方向Mにそれぞれ1画
素だけずらした画素P2 〜P5 (図3参照)にそれぞれ
対応する画像データD2 〜D5 が読込まれ(注目画素は
画素P4 )、上記と同様のピーク画素の検出処理が行わ
れる。このようなピーク画素の検出処理は、ピーク画素
が検出されるまで繰り返し行われる。 【0024】ところで、上記(1) 式において、注目画素
とされた画素P3 に隣接する画素P 2 ,P4 以外の1つ
離れた画素P1 の画像データD1 を用いているのは、網
点領域を構成するドットのサイズがスキャナ1の検出画
素をはみ出す場合を考慮しているためである。より具体
的に説明すると、たとえばドットのサイズがスキャナ1
の4画素にわたる程度(すなわち、網点領域の線数が約
50線)であって、かつ注目画素とされた画素P3 にドッ
トの中心がある場合には、たとえば図4に示すように、
画素P 3 の画像データD3 とこの画素P3 に隣接する画
素P2 の画像データD2 との間には相対的に小さい差Δ
d1しかなく、画素P3 の画像データD3 と画素P1
画像データD1 との間には相対的に大きい差Δd2があ
る。 【0025】したがって、もしも画素P3 に隣接する画
素P2 ,P4 の各画像データD2 ,D4 だけしか利用し
ていなければ、上記(1) 式内の論理和は成立せず、注目
画素とされた画素P3 をピーク画素として検出できない
おそれがある。そのため、上記画素P3 と離れた画素P
1 に対応する画像データD1 を利用している。このよう
に、この実施例では、ドットのサイズがスキャナ1の検
出画素をはみ出している場合をも考慮しているので、ド
ットのサイズがスキャナ1の検出画素よりも大きくて
も、ピーク画素を確実に検出できる。 【0026】図1に戻って、上記ピーク画素の検出処理
が行われた結果、たとえば画素Pa- 2 ,Pa-1 ,Pa
a+1 が読込まれたとき(図3参照、注目画素は画素P
a )、上記(1) 〜(3) 式の判定の論理積は成立すると判
別されると、注目画素Pa の濃度は周囲の3つの画素P
a-2 ,Pa-1 ,Pa+1 よりも相対的に濃いとみなされ、
上記注目画素Pa はピーク画素であると検出される。 【0027】ピーク検出部62では、注目画素Pa がピ
ーク画素であると検出されると、その注目画素Pa の位
置がPEAK1としてPEAK1保存部64に保存され
る。PEAK1保存部64にPEAK1が保存される
と、続いてディップ検出部63では、上記ピーク画素が
検出されたときに読込まれた4つの画素Pa-2
a- 1 ,Pa ,Pa+1 をそれぞれ1画素ずつ主走査方向
Mにずらした4つの画素Pa- 1 ,Pa ,Pa+1 ,Pa+2
(図3参照)にそれぞれ対応する画像データDa-1 ,D
a ,Da+1 ,Da+2 が読込まれる(注目画素は画素P
a+1 )。 【0028】そして、注目画素Pa+1 が網点領域を構成
するドットの谷間であるディップ画素であるか否かが上
記画像データに基づいて検出される。具体的には、 Da-1 −Da+1 >dTH1 または Da −Da+1 >dTH2 ‥‥(4) Da+1 ≦Da+2 ‥‥(5) Da+2 >dTH3 ‥‥(6) の各式の判定の論理積が成立するか否かが判別される
(ただし、dTH2 <dTH1<dTH3 、たとえばdTH1 =1
0,dTH2 =5 ,dTH3 =35)。 【0029】ディップ検出部63では、原稿画像の左端
2画素P1 ,P2 および右端の1画素Pn に対してはデ
ィップ画素の検出処理は行われないが、上述のように、
原稿画像の端付近はほとんど目立たないので、無視して
も特に問題はない。上記判別の結果、上記(4) 〜(6) 式
の判定の論理積が成立しないと判別されると、上記注目
画素Pa+1 はディップ画素ではないと検出される。ディ
ップ画素ではないと検出されると、次に上記読込んだ画
素Pa-1 ,Pa ,Pa+1 ,Pa+2 よりも主走査方向Mに
それぞれ1画素だけずらした画素Pa ,Pa+1
a+2 ,P a+3 (図3参照)にそれぞれ対応する画像デ
ータDa ,Da+1 ,Da+2 ,Da+3が読込まれ(注目画
素は画素Pa+2 )、上記と同様のディップ画素の検出処
理が行われる。このようなディップ画素の検出処理は、
ディップ画素が検出されるまで繰り返される。 【0030】ディップ画素の検出処理が行われた結果、
たとえば画素Pb-2 ,Pb-1 ,Pb,Pb+1 (図3参
照)にそれぞれ対応する画像データDb-2 ,Db-1 ,D
b ,D b+1 が読込まれたとき(注目画素は画素Pb )、
上記(4) 〜(6) 式の判定の論理積が成立すると判別され
ると、注目画素Pb の濃度は周囲の3つの画素Pb-2
b-1 ,Pb+1 よりも相対的に薄いとみなされ、上記注
目画素Pb はディップ画素であると検出される。 【0031】ディップ検出部63では、注目画素Pb
ディップ画素であると検出されると、その注目画素Pb
の位置がDIP1としてDIP1保存部65に保存され
る。DIP1保存部64にDIP1が保存されると、続
いてピーク検出部62において、上記画素Pb-2 ,P
b-1 ,Pb ,Pb+1 から主走査方向Mにそれぞれ1画素
ずらした画素Pb-1 ,Pb ,Pb+1 ,Pb+2 (図3参
照)にそれぞれ対応する画像データDb-1 ,Db ,D
b+1 ,Db+2 が読込まれ(注目画素は画素Pb+1 )、上
記と同様に、ピーク画素の検出処理がピーク画素が検出
されるまで繰り返される。 【0032】その結果、たとえば画素Pc-2 ,Pc-1
c ,Pc+1 (図3参照)にそれぞれ対応する画像デー
タDc-2 ,Dc-1 ,Dc ,Dc+1 が読込まれたとき(注
目画素は画素Pc )、上記注目画素Pc がピーク画素で
あると検出されると、当該注目画素Pc がPEAK2と
してPEAK2保存部66に保存される。PEAK2保
存部66にPEAK2が保存されると、続いてディップ
検出部63において、上記画素Pc-2 ,Pc-1 ,Pc
c+1 から主走査方向Mにそれぞれ1画素ずらした画素
c-1 ,Pc ,Pc+1 ,Pc+2 (図3参照)にそれぞれ
対応する画像データDc-1 ,Dc ,Dc+1 ,Dc+2 が読
込まれ(注目画素は画素P c+1 )、上記と同様に、ディ
ップ画素の検出処理がディップ画素が検出されるまで繰
り返される。 【0033】その結果、たとえば画素Pd-2 ,Pd-1
d ,Pd+1 (図3参照)にそれぞれ対応する画像デー
タDd-2 ,Dd-1 ,Dd ,Dd+1 が読込まれたとき(注
目画素は画素Pd )、上記注目画素Pd がディップ画素
であると検出されると、当該注目画素Pd がDIP2と
してDIP2保存部67に保存される。以上のようにし
てPEAK1保存部64,PEAK2保存部66,DI
P1保存部65およびDIP2保存部67にそれぞれP
EAK1,PEAK2,DIP1およびDIP2が保存
されると、PEAK1とPEAK2との間の距離、およ
びDIP1とDIP2との間の距離がそれぞれPEAK
差分計算部68およびDIP差分計算部69にて計算さ
れる。PEAK差分計算部68およびDIP差分計算部
69の各出力は比較部70に与えられる。 【0034】なお、この実施例では、上記PEAK差分
計算部68およびDIP差分計算部69が距離演算手段
に相当し、上記比較部70が距離差演算手段,判別手段
および判定手段に相当する。ところで、網点領域はドッ
トが周期的に配列された領域なので、ドットの中心に対
応するピーク画素と各ドット間の谷間に対応するディッ
プ画素とは互いに同じ周期で現れる。 【0035】そこで、比較部70では、PEAK差分計
算部68から与えられたPEAK間距離PLとDIP差
分計算部69から与えられたDIP間距離DLとの差が
一定画素A以下であるか否かを判別することとしてい
る。具体的には、 |PL−DL|≦A ‥‥(7) が満足されるか否かを判別する。 【0036】ここで、上記「A」としてたとえば「1」
が考えられる。次にその理由について説明する。通常、
ピーク画素間距離およびディップ画素間距離は、たとえ
ば図5(a) (たとえばスキャナ1の分解能が400画
素、原稿画像の網点領域が200線の場合。)に示すよ
うに、互いに全く同一である。しかしながら、たとえば
図5(b) に示すように、ドットがスキャナ1の2つの検
出画素に及ぶ場合(たとえばスキャナ1の分解能が40
0画素、原稿画像の網点領域が100線の場合。)に
は、画素「1」または画素「2」がピーク画素として検
出される。また、ディップ画素の場合も同様である。こ
のような場合、ピーク画素間距離には1画素以下の誤差
が表れ、またディップ画素間距離にも1画素以下の誤差
が表れる。したがって、ピーク画素間距離とディップ画
素間距離との距離差は1画素以下である可能性が高い。
そのため、「A」として「1」を設定するのが好まし
い。 【0037】上記判別の結果、上記(7) 式が満足された
と判別されると、PEAK1として検出された画素Pa
からDIP2として検出された画素Pd までの間のすべ
ての画素が網点領域であると判定される。具体的には、
たとえば図6に示すように、画素Pa から画素Pd まで
の間のすべての画素を含む領域Qが網点領域であると判
定される。 【0038】網点領域か否かの判定が終了すると、上記
PEAK2保存部66およびDIP2保存部67にそれ
ぞれ保存されているPEAK2およびDIP2が、それ
ぞれ、PEAK1保存部64およびDIP1保存部65
に移され、次の網点領域判定処理におけるPEAK1お
よびDIP1として利用される。そして、以上の網点領
域判定処理が繰り返し行われ、画素Pn-1 (図3参照)
が注目画素とされたときの網点領域判定処理が終了した
ことをもって、ラインメモリ61に保持されている任意
の色の任意の1ラインの画像データに対する網点領域判
定処理が強制的に終了される。 【0039】ここで、上記網点領域判定処理の終了条件
を画素Pn-1 が注目画素とされたことにしているのは、
ピーク画素またはディップ画素の検出処理が、上述のよ
うに、注目画素の主走査方向に隣接する画素を必要とす
るためである。したがって、原稿画像の右端の画素Pn
(図3参照)については、ピーク画素またはディップ画
素の検出処理が行われない。 【0040】そして、上述のような網点領域判定処理が
他のラインに対しても行われ、さらにすべての色の画像
データに対して行われて、すべての網点領域判定処理が
終了する。以上のようにこの実施例のディジタルカラー
複写機によれば、ピーク画素およびディップ画素の出現
の類似性に基づいて網点領域判定処理が行われるので、
網点領域か否かの判定に必要な画像データを保持すべき
ラインメモリ61は複数ライン分の容量は不要である。
そのため、網点領域か否かの判定に少なくとも複数ライ
ン分の画像データが必要であった従来技術に比べて、メ
モリ規模を小さくできる。 【0041】また、注目画素から1画素離れた画素に対
応する画像データを利用してピーク画素およびディップ
画素を検出しているので、網点領域を構成するドットと
スキャナ1の検出画素との大小関係にかかわらず、ピー
ク画素およびディップ画素を確実に検出できる。この発
明の実施例の説明は以上のとおりであるが、この発明は
上述の実施例に限定されるものではない。たとえば上記
実施例では、PEAK2保存部66およびDIP2保存
部67にぞれぞれ保存されているPEAK2およびDI
P2を、それぞれ、次の網点領域判定処理におけるPE
AK1およびDIP1として利用する場合について説明
したが、たとえば次の網点領域判定処理において、従前
の網点領域判定処理において検出されたPEAK2およ
びDIP2を用いずに、全く新たにPEAK1およびD
IP1を検出するようにしてもよい。 【0042】また、上記実施例では、PEAK1,DI
P1,PEAK2およびDIP2の順序でピーク画素お
よびディップ画素を検出してPEAK1からDIP2ま
での画素が網点領域であるか否かを判定しているが、た
とえばDIP1,PEAK1,DIP2およびPEAK
2の順序でピーク画素およびディップ画素を検出し、D
IP1からPEAK2までの画素が網点領域であるか否
かを判定するようにしてもよい。 【0043】さらに、上記実施例では、主走査方向Mに
互いに連続する4つの画素を用いてピーク画素またはデ
ィップ画素を検出しているが、たとえば次の〜およ
び′〜′の各条件が満足されたことによって、それ
ぞれピーク画素およびディップ画素を検出するようにし
てもよい。ただし、以下の説明では、図7も同時に参照
する。また、DA 〜DL はそれぞれ図7の画素PA 〜P
L の画像データである。さらに、注目画素は画素PG
ある。 【0044】 DF <DG かつ DG >DH
つ DG >dTH3 ′ DF >DG かつ DG <DH かつ DH >d
TH3 これら,′では、後述の,′よりも誤検出を防
止できる。 DF <DG かつ DG >DH ′ DF >DG かつ DG <DH これら,′では、線数の少ない網点領域におけるピ
ーク画素またはディップ画素から線数の多い網点領域に
おけるピーク画素またはディップ画素まで検出できる。 【0045】 DF <DG かつ DG ≧DH ′ DF >DG かつ DG ≦DH これら,′では、上記,′よりも線数の少ない
網点領域におけるピーク画素またはディップ画素を検出
できる。 DG >DB ,DC ,DD ,DH ,DL ,DK ,D
J ,DF (論理積) ′ DG <DB ,DC ,DD ,DH ,DL ,DK ,D
J ,DF (論理積) これら,′では、誤検出を相対的に防止できる。た
だし、下記,′よりも線数の少ない網点領域におけ
るピーク画素またはディップ画素の検出は困難である。
また、ラインメモリも3ライン分必要になる。 【0046】 DG >DC ,DH ,DK ,DF (論理積) ′ DG <DC ,DH ,DK ,DF (論理積) これら,′では、上記,′よりも線数の少ない
網点領域におけるピーク画素またはディップ画素を検出
できる。ただし、上記,′よりも誤検出は増加す
る。また、ラインメモリも3ライン分必要になる。 【0047】 DG ≧DB ,DD ,DL ,DJ (論
理積)と、DG >DC ,DH ,DK ,DF (論理積)
と、の論理積。 ′ DG ≦DB ,DD ,DL ,DJ (論理積)と、D
G <DC ,DH ,DL ,DF (論理積)と、の論理積。 【0048】これら,′では、誤検出は上記,
′と,′との中間であり、検出可能な網点領域の
線数も上記,′と,′との中間である。また、
ラインメモリも3ライン分必要になる。また、上記実施
例では、ディジタルカラー複写機を例にとって説明した
が、この発明は、たとえばディジタルモノクロ複写機、
カラー/モノクロファクシミリ装置またはカラー/モノ
クロプリンタなど、原稿画像が網点領域の原稿画像であ
るか否かを判定する処理が必要な他の画像形成装置にも
適用可能である。 【0049】その他特許請求の範囲に記載された範囲で
種々の設計変更を施すことは可能である。 【0050】 【発明の効果】以上のようにこの発明の網点領域判定装
置によれば、ピーク画素およびディップ画素の出現の類
似性に基づいて網点領域か否かが判定されるので、網点
領域か否かの判定には、複数ライン分の画像データは必
ずしも必要でなく、たとえば1ライン分の画像データが
あればよい。したがって、網点領域か否かの判定に少な
くとも複数ラインの画像データを保持できるメモリが必
須であった従来技術に比べて、メモリ規模を小さくでき
る。 【0051】また、注目画素に対応する画像データと注
目画素周辺の画素に対応する画像データとを比較してピ
ーク画素またはディップ画素を検出しているので、ドッ
トと変換手段の検出画素との大小関係にかかわらず、ピ
ーク画素またはディップ画素を確実に検出できる。特
、ピーク画素またはディップ画素の検出に、注目画素
に隣接しない同一ライン上の画素に対応する画像データ
を利用しているので、ドットが変換手段の検出画素より
大きくても、ピーク画素またはディップ画素をより確実
に検出できる。
DETAILED DESCRIPTION OF THE INVENTION [0001] BACKGROUND OF THE INVENTION 1. Field of the Invention
The original image that is optically read belongs to the halftone area.
The present invention relates to a dot area determination device that determines whether an image is an image. [0002] 2. Description of the Related Art Conventionally, an original image is stored in a CCD (charge coupled).
Optically read with a scanner composed of
To the image data corresponding to
A digital image forming an original image based on data
Copier is used. This type of digital copier
So, characters / line drawings, photos or dots per unit area
Halftone (screen) whose gradation is expressed in the size of
To ensure that high-quality copies of original images can be obtained,
Image is text / line drawing area, photo area or halftone area
It is determined whether the image belongs to each area, and the image processing corresponding to each area is performed.
Is applied. Specifically, in the character / line drawing area,
Image processing such as emphasis or black text
You. In the halftone dot area, smoothing for removing moiré is required.
Which image processing is performed. [0003] The determination as to whether or not the area is a halftone dot area is performed, for example, as follows.
It is done like this. Original image is read optically
When converted to data, multiple lines in the sub-scanning direction
(For example, 11 lines) has a capacity of multiple lines.
Is stored in memory. Then, focus on the pixel of interest
Detection of a continuous fixed range (for example, 3 pixels x 3 lines)
In the output area, the density of the target pixel is higher than that of surrounding pixels.
In contrast, it is determined whether the image is dark or light. As a result, the target pixel
Is determined to be relatively darker than surrounding pixels
Then, the target pixel is detected as a peak pixel. one
On the other hand, if the density of the pixel of interest is relatively lighter than surrounding pixels,
If determined, the pixel of interest is determined to be a dip pixel.
Will be issued. [0004] In this way, the peak pixel in the detection area is obtained.
Or when a dip pixel is detected,
A determination area composed of a certain number of pixels (for example,
(9 pixels x 9 lines)
The appearance pattern of mask pixels represents a halftone area.
Match turn, or peak pixel or
It is determined whether or not the presence density of
You. As a result, there is a matching pattern or presence
If the degree is determined to be equal to or more than a certain
It is determined that it is a point area. [0005] SUMMARY OF THE INVENTION
In the detection of peak pixels or dip pixels,
A memory having a capacity equivalent to a plurality of lines
Therefore, there is a problem that the memory size becomes large.
Was. In the halftone dot area, dots per inch
The number (hereinafter referred to as “line number”) is 2 for fine texture
From about 00 lines to about 65 lines for rough textures
There are even things. Of these, the number of lines less than about 100 lines is small.
The size of the dots that make up the halftone
May run out of the detection pixel. In such a case,
For detecting the above conventional peak pixel or dip pixel
Method accurately detects peak or dip pixels.
There was a defect that the detection was often erroneous. So
Here, an object of the present invention is to solve the above technical problem,
To provide a halftone dot region determination device capable of reducing a memory scale.
That is. Another object of the present invention is to form a halftone dot area.
Regardless of the size of the constituent dots, the peak image
Element or dip pixels can be reliably detected,
A dot area determination device that can accurately determine whether a pixel is a dot area
Is to provide an installation. [0008] [MEANS FOR SOLVING THE PROBLEMS] To achieve the above object
The halftone dot determination apparatus according to claim 1 reads a document image
And convert it to image data corresponding to the density
Conversion means, and image data output from the conversion means.
Store image data corresponding to one or more lines from inside
Holding means to hold and images held by the holding means
In the data, the image data corresponding to the pixel of interest and the
Compare with the image data corresponding to the pixels around the pixel of interest
Detecting means for detecting peak pixels and dip pixels
And two pins each alternately detected by the detecting means.
Between the peak pixels using the dark pixels and the dip pixels.
Calculation for finding the distance between pixels and the distance between dip pixels
Between the means and the peak pixel obtained by the distance calculating means.
Difference to find the difference between the distance of the dip and the distance between the dip pixels
Calculating means and the distance difference calculated by the distance difference calculating means
Determining means for determining whether the value is equal to or less than a predetermined value,
In this determination means, the distance difference is equal to or less than a predetermined value.
Is determined by the detection means,
Last detected from peak pixel or dip pixel output
Everything between the dip or peak pixel
Determination means for determining that the pixel is a halftone dot area.See
The detecting means detects image data corresponding to the pixel of interest and
The same line continuing upstream of the pixel of interest in the main scanning direction
Each image data corresponding to the above two pixels and the above attention
1 on the same line continuous on the downstream side of the pixel in the main scanning direction
Compare the image data corresponding to one pixel with the peak image
To detect elementary or dip pixelsFeatures
And [0009] [0010] According to the structure of the first aspect, the detecting means is
The peak pixel and the center of the dots that
And dip pixels in the valley between each dot are detected.
You. In the distance calculating means, the two values detected by the detecting means are used.
The distance between the peak pixels of and the two dip pixels
The distance between them is obtained, and the distance
The difference between the peak pixel distance and the dip pixel distance
Can be Then, this distance difference is equal to or less than a predetermined pixel.
The first detected peak or dip pixel
From the last detected dip pixel or peak pixel.
Is determined to be a halftone dot area. In the halftone dot area, dots are periodically arranged.
The peak pixel and data
Dip pixels indicate that the document is extremely bright or extremely dark.
Unless otherwise noted, they appear alternately at the same frequency. Accordingly
The peak pixel distance and the dip image
Ideally, the difference between elementary distances is exactly the same,
Is less than or equal to a predetermined value. Therefore, according to the above configuration,
Then, it can be reliably determined whether or not the area is a dot area. As described above, according to the above configuration, the peak image
Halftone area based on similarity of appearance between element and dip pixel
Since it is determined whether or not it is a halftone dot area,
Does not necessarily require image data for multiple lines,
For example, in one line of image data, the peak pixel or
Can determine if the appearance of dip pixels is periodic
It is sufficient if there is some image data. Therefore, the dot area
At least a plurality of lines (for example, 9 lines)
Memory that can hold the image data of
The memory scale can be reduced as compared with the related art. [0013]MaWas,Detection of dark pixels or dip pixels
Corresponding to pixels on the same line that are not adjacent to the pixel of interest
Dot and conversion means
Regardless of the magnitude relationship with the detected pixel, the peak pixel or
Can reliably detect a dip pixel. [0014] BRIEF DESCRIPTION OF THE DRAWINGS FIG.
This will be described in detail with reference to FIG. FIG. 2 shows a halftone dot area according to the present invention.
Of the main part of a digital color copier to which
FIG. 3 is a block diagram illustrating an electrical configuration. This digital camera
Color copiers optically copy color original images to be copied.
Read 3 colors by red (R), green (G) and blue (B)
In addition to photoelectric conversion into primary color image data, each R, G, B
Of the three primary color image data, which are complementary colors of yellow
(Y), magenta (M) and cyan (C) color reduction methods 3
CCD (Charge Coupled Device) that converts to primary color image data and outputs it
The scanner 1 is a conversion means composed of
Have been. The resolution of the scanner 1 is, for example, 1 inch.
Per pixel. Y, which is generated and output by the scanner 1,
Each of the M and C image data is represented by α corresponding to the density of the original image.
Bits expressed in bits (for example, α = 8; 256 gradations)
Digital data. Digital color copiers
Each image of Y, M and C output from the scanner 1
An image processing circuit 2 for performing various processes on the data, and
Light on the photoreceptor on which an electrostatic latent image corresponding to
An output unit 3 for irradiating the light is provided. More specifically, the image processing circuit 2
Is provided with an input processing circuit 4, and the above Y, M, C
Are supplied to the input processing circuit 4. Entering
In the power processing circuit 4, each of the Y, M, and C image data is processed.
To solve the clock difference between the scanner 1 and the image processing circuit 2.
In order to erase the data, processing such as clock conversion is performed. That
Thereafter, each of the Y, M, and C image data is stored in a FIFO (Firs
t In First Out) is given to the memory 5. Y, M, C given to FIFO memory 5
Image data corresponding to any one line of each image data
Are given to the character / photo / halftone determination circuit 6 respectively.
1 line provided in the character / photo / half-tone dot decision circuit 6.
A line that is a holding means that can hold image data for IN
It is held in the memory 61. Character / photo / halftone dot judgment circuit 6
Now, the image data stored in the line memory 61
Based on the image data, the text / line drawing area and photo area
Or image data belonging to any of the halftone dot areas.
Is determined. The dot area is the dot per unit area.
It is the area where the gradation is expressed in the size of the dot. Size
The fixed result is a black generation circuit, zoom / movement circuit,
Filter circuit, gradation processing circuit, and output control circuit.
It is. The image data stored in the FIFO memory 5
The data also passes through the character / photo / halftone dot determination circuit 6
It is provided to the forming circuit 7. In the black generation circuit 7,
(BK) data is generated to compensate for the density
You. Specifically, for example, for each of the image data of Y, M, and C,
The minimum value is multiplied by a correction coefficient β (for example, β = 0.5 to 1)
Values are removed from each image data, and the removed values are
Data. Each image of Y, M, C
Data and BK data are supplied to the output color selection circuit 8.
Can be In the output color selection circuit 8, the above Y, M,
Corresponds to one of the colors of C and BK image data
Image data is selected. The selected image data is
Provided to the camera / moving circuit 9 and expanded according to the set magnification.
Processing such as large or reduced is performed. Then filter
Provided to the circuit 10 and from the character / photo / halftone dot judging circuit 6
Smoothing processing or edge strength according to given judgment result
Toning processing and the like are performed. Then, the gradation processing circuit 11
Given, so-called dithering or multi-valued dithering
Which halftone processing is performed. The image data subjected to the halftone processing is output
Processing necessary for output is performed by the control circuit 12, and the output unit
3 given. The feature of this embodiment is that
A dot area determination function in the dot determination circuit 6; Figure
1 is a halftone dot area in the character / photograph / halftone dot determination circuit 6.
It is a block diagram which shows the flow of area determination processing. The character / photo / halftone dot judging circuit 6
Thus, the image data of any color of the Y, M, and C image data
Holds image data corresponding to any one line of data
A line memory 61 is provided. Also, characters
The photo / dot determination circuit 6 includes a peak detection unit 62 and a data
A dip detector 63 is provided. In this example,
The peak detecting section 62 and the dip detecting section 63
Is equivalent to In the peak detector 62, first, the line memo
Continuous 4 out of the image data held in the
Pixel P1, PTwo, PThree, PFour(See Fig. 3)
Α-bit image data D representing the corresponding density1, DTwo, D
Three, DFourIs read. At this time, the pixel of interest is pixel PThree
It is said. Then, the target pixel PThreeConstitutes a dot area
Whether the pixel is the peak pixel at the center of the dot or not
Data D1~ DFourIs detected based on In particular,   DThree-D1> DTH1  Or DThree-DTwo> DTH2              ‥‥ (1)   DThree≧ DFour                                                  ‥‥ (2)   DThree> DTH3                                                ‥‥ (3) It is determined whether or not the logical product of the judgments of each expression holds
(However, dTH2<DTH1<DTH3, For example, dTH1= 1
0, dTH2= 5, dTH3= 35). In the peak detecting section 62, the left end 2
Pixel P1, PTwo(See FIG. 3) and one pixel P at the right end
n(See FIG. 3), peak pixel detection processing is performed.
It is not noticeable near the edge of the original image
There is no particular problem if you ignore it. As a result of the above determination,
It is determined that the logical product of the judgments in equations (1) to (3) does not hold.
And the target pixel PThreeIs detected as not a peak pixel
You. If it is detected that the pixel is not the peak pixel, then the above read
Pixel P1~ PFourImage in the main scanning direction M
Pixel P shifted by elementTwo~ PFive(See Fig. 3)
Corresponding image data DTwo~ DFiveIs read (the pixel of interest is
Pixel PFour), Peak pixel detection processing similar to the above is performed.
It is. Such peak pixel detection processing is based on the peak pixel
Is repeated until is detected. By the way, in the above equation (1), the pixel of interest is
Pixel PThreePixel P adjacent to Two, PFourOne other than
Pixel P away1Image data D1Is used for the net
The size of the dots constituting the dot area is
This is because consideration is given to the case of protruding elements. More specific
More specifically, for example, if the dot size is
Over four pixels (that is, the number of lines in the halftone dot region is approximately
Pixel P which is 50 pixels) and is the pixel of interestThreeTo
When there is a center of the object, for example, as shown in FIG.
Pixel P ThreeImage data DThreeAnd this pixel PThreePicture adjacent to
Element PTwoImage data DTwoIs a relatively small difference Δ
There is only d1 and pixel PThreeImage data DThreeAnd pixel P1of
Image data D1Has a relatively large difference Δd2 between
You. Therefore, if pixel PThreePicture adjacent to
Element PTwo, PFourEach image data DTwo, DFourOnly use
If not, the logical sum in the above equation (1) does not hold,
Pixel PThreeCannot be detected as a peak pixel
There is a risk. Therefore, the pixel PThreePixel P away from
1Image data D corresponding to1I use. like this
In this embodiment, the dot size is detected by the scanner 1.
Since the case where the pixel is protruding is considered,
The size of the bit is larger than the detection pixel of the scanner 1
Also, the peak pixel can be reliably detected. Returning to FIG. 1, the above-mentioned peak pixel detection processing will be described.
Is performed, for example, the pixel Pa- Two, Pa-1, Pa,
Pa + 1Is read (see FIG. 3, the pixel of interest is the pixel P
a), The logical product of the judgments in the above equations (1) to (3) is
When separated, the target pixel PaThe density of the three surrounding pixels P
a-2, Pa-1, Pa + 1Is considered relatively darker than
The above noted pixel PaAre detected as peak pixels. In the peak detector 62, the target pixel PaBut
If the pixel of interest P is detected asaRank
Is stored in the PEAK1 storage unit 64 as PEAK1.
You. PEAK1 is stored in the PEAK1 storage unit 64
Then, in the dip detection unit 63, the peak pixel is
Four pixels P read when detecteda-2,
Pa- 1, Pa, Pa + 1For each pixel in the main scanning direction
Four pixels P shifted to Ma- 1, Pa, Pa + 1, Pa + 2
(See FIG. 3)a-1, D
a, Da + 1, Da + 2Is read (the pixel of interest is pixel P
a + 1). Then, the target pixel Pa + 1Constitutes a dot area
Whether the pixel is a dip pixel in the valley of dots
It is detected based on the image data. In particular,   Da-1-Da + 1> DTH1  Or Da-Da + 1> DTH2        ‥‥(Four)   Da + 1≤Da + 2                                              ‥‥(Five)   Da + 2> DTH3                                              ‥‥ (6) It is determined whether or not the logical product of the judgments of each expression holds
(However, dTH2<DTH1<DTH3, For example, dTH1= 1
0, dTH2= 5, dTH3= 35). In the dip detecting section 63, the left end of the original image
2 pixels P1, PTwoAnd one pixel P at the right endnAgainst
No detection processing is performed for the pixel, but as described above,
The edges of the original image are almost inconspicuous, so ignore them.
There is no particular problem. As a result of the above discrimination, the above equations (4) to (6)
If it is determined that the logical product of the determinations does not hold,
Pixel Pa + 1Is not detected as a dip pixel. Day
If it is detected that the pixel is not a
Element Pa-1, Pa, Pa + 1, Pa + 2In the main scanning direction M
Pixel P shifted by one pixel eacha, Pa + 1,
Pa + 2, P a + 3(See FIG. 3)
Data Da, Da + 1, Da + 2, Da + 3Is read
The element is pixel Pa + 2), The same dip pixel detection processing as above.
Is performed. Such a dip pixel detection process is as follows.
This is repeated until a dip pixel is detected. As a result of the dip pixel detection processing,
For example, pixel Pb-2, Pb-1, Pb, Pb + 1(See Figure 3
Image data D respectively corresponding tob-2, Db-1, D
b, D b + 1Is read (the pixel of interest is pixel Pb),
It is determined that the logical product of the judgments of the above equations (4) to (6) is satisfied.
Then, the target pixel PbThe density of the three surrounding pixels Pb-2,
Pb-1, Pb + 1Is considered relatively thinner than
Eye pixel PbAre detected as dip pixels. In the dip detecting section 63, the target pixel PbBut
If it is detected as a dip pixel, the target pixel Pb
Is stored in the DIP1 storage unit 65 as DIP1.
You. When DIP1 is stored in the DIP1 storage unit 64,
In the peak detector 62, the pixel Pb-2, P
b-1, Pb, Pb + 1One pixel in the main scanning direction M from
Pixel P shiftedb-1, Pb, Pb + 1, Pb + 2(See Figure 3
Image data D respectively corresponding tob-1, Db, D
b + 1, Db + 2Is read (the pixel of interest is pixel Pb + 1),Up
As described above, peak pixel detection processing detects peak pixels.
Repeated until As a result, for example, the pixel Pc-2, Pc-1,
Pc, Pc + 1(See FIG. 3)
TA Dc-2, Dc-1, Dc, Dc + 1Is read (Note
Eye pixel is pixel Pc), The noted pixel PcIs the peak pixel
If it is detected that there is, the target pixel PcIs PEAK2
And stored in the PEAK2 storage unit 66. PEAK2 insurance
When PEAK2 is stored in the storage section 66, the dip
In the detection unit 63, the pixel Pc-2, Pc-1, Pc,
Pc + 1Pixels shifted by one pixel in the main scanning direction M from
Pc-1, Pc, Pc + 1, Pc + 2(See Fig. 3)
Corresponding image data Dc-1, Dc, Dc + 1, Dc + 2Read
(The pixel of interest is pixel P c + 1), As above,
The detection process of the dip pixel is repeated until the dip pixel is detected.
Will be returned. As a result, for example, the pixel Pd-2, Pd-1,
Pd, Pd + 1(See FIG. 3)
TA Dd-2, Dd-1, Dd, Dd + 1Is read (Note
Eye pixel is pixel Pd), The noted pixel PdIs the dip pixel
Is detected, the target pixel PdIs DIP2
And stored in the DIP2 storage unit 67. As above
PEAK1 storage unit 64, PEAK2 storage unit 66, DI
P1 storage unit 65 and DIP2 storage unit 67
EAK1, PEAK2, DIP1 and DIP2 stored
The distance between PEAK1 and PEAK2, and
And the distance between DIP1 and DIP2 is PEAK
Calculated by the difference calculator 68 and the DIP difference calculator 69
It is. PEAK difference calculator 68 and DIP difference calculator
Each output of 69 is given to the comparison unit 70. In this embodiment, the PEAK difference
The calculating unit 68 and the DIP difference calculating unit 69 are distance calculating means.
And the comparing unit 70 includes a distance difference calculating unit and a discriminating unit.
And determination means. By the way, the dot area is
Since the dots are periodically arranged, the center of the dot
The corresponding peak pixel and the dit corresponding to the valley between each dot.
The pixels appear at the same period as each other. Therefore, the comparing section 70 uses a PEAK difference meter.
PEAK distance PL and DIP difference given from the arithmetic unit 68
The difference from the DIP distance DL given from the minute calculation unit 69 is
It is determined whether or not the pixel is equal to or less than a predetermined pixel A.
You. In particular,   | PL-DL | ≦ A ‥‥ (7) Is determined whether or not is satisfied. Here, the above “A” is, for example, “1”.
Can be considered. Next, the reason will be described. Normal,
The peak pixel distance and dip pixel distance are
For example, if the resolution of the scanner 1 is 400
In the case where the halftone dot area of the original or original image is 200 lines. )
Thus, they are completely identical to each other. However, for example
As shown in FIG.
In case of reaching outgoing pixels (for example, if the resolution of the scanner 1 is 40
0 pixels, when the halftone area of the original image is 100 lines. )
Indicates that pixel “1” or pixel “2” is detected as the peak pixel.
Will be issued. The same applies to dip pixels. This
In such a case, the error between the peak pixels is 1 pixel or less.
Appears and the distance between dip pixels is less than 1 pixel.
Appears. Therefore, the distance between the peak pixels and the dip image
There is a high possibility that the distance difference from the elementary distance is one pixel or less.
Therefore, it is preferable to set “1” as “A”.
No. As a result of the above determination, the above equation (7) was satisfied.
Is determined, the pixel P detected as PEAK1a
P detected as DIP2 fromdEverything in between
All the pixels are determined to be a halftone area. In particular,
For example, as shown in FIG.aFrom pixel PdUntil
It is determined that the area Q including all the pixels between
Is determined. When the determination as to whether or not the area is a dot area is completed,
It is stored in the PEAK2 storage unit 66 and the DIP2 storage unit 67.
The stored PEAK2 and DIP2, respectively,
The PEAK1 storage unit 64 and the DIP1 storage unit 65, respectively.
To the next halftone area determination process.
And DIP1. And the above dot area
The area determination process is repeatedly performed, and the pixel Pn-1(See Fig. 3)
Is completed as the target pixel.
This means that any information held in the line memory 61
Halftone dot area for any one line of image data
The fixed processing is forcibly terminated. Here, the termination condition of the above-mentioned halftone dot area determination processing
Is the pixel Pn-1Is the pixel of interest.
The process of detecting a peak pixel or a dip pixel is as described above.
Thus, a pixel adjacent to the pixel of interest in the main scanning direction is required.
That's because. Therefore, the rightmost pixel P of the original imagen
(See Fig. 3)
No element detection processing is performed. Then, the above-described halftone dot area determination processing is performed.
This is done for other lines, and for all color images
Is performed on the data, and
finish. As described above, the digital color
According to the copier, the appearance of peak pixels and dip pixels
Is performed based on the similarity of
Image data necessary to determine whether or not a dot area should be retained
The line memory 61 does not need a capacity for a plurality of lines.
Therefore, at least a plurality of lines are used to determine
Compared to the conventional technology that required image data for
The size of the moly can be reduced. Also, a pixel one pixel away from the target pixel is
Peak pixels and dips using corresponding image data
Because pixels are detected, the dots that make up the halftone dot area
Regardless of the size relationship with the detection pixels of the scanner 1, the peak
The black pixel and the dip pixel can be reliably detected. This departure
Although the description of the embodiment has been given above, the present invention
The present invention is not limited to the above embodiment. For example above
In the embodiment, the PEAK2 storage unit 66 and the DIP2 storage
PEAK2 and DI respectively stored in section 67
P2 is the PE in the next halftone dot area determination process.
Explanation about the case of using as AK1 and DIP1
However, for example, in the next halftone dot area determination process,
PEAK2 and PEAK2 detected in the halftone dot area determination process
PEAK1 and DAK2 without DIP2 and DIP2
You may make it detect IP1. In the above embodiment, PEAK1, DI
Peak pixels and PAKs in the order of P1, PEAK2 and DIP2.
And DIP pixels to detect PEAK1 to DIP2.
It is determined whether the pixel at is a halftone area or not.
For example, DIP1, PEAK1, DIP2 and PEAK
The peak pixel and the dip pixel are detected in the order of 2.
Whether the pixels from IP1 to PEAK2 are halftone areas
May be determined. Further, in the above embodiment, in the main scanning direction M,
A peak pixel or a decimation using four pixels which are consecutive to each other.
Is detected, but for example,
By satisfying the conditions of
Detect peak and dip pixels respectively.
You may. However, in the following description, FIG. 7 is also referred to at the same time.
I do. Also, DA~ DLIs the pixel P in FIG.A~ P
LImage data. Further, the pixel of interest is pixel PGso
is there. DF<DG  And DG> DH  Or
Tsu DG> DTH3 'DF> DG  And DG<DH  And DH> D
TH3 In these cases, the erroneous detection is more prevented than in the case of
Can be stopped.     DF<DG  And DG> DH 'DF> DG  And DG<DH In these and ', the pitch in the halftone dot area with a small number of lines is
From dark pixels or dip pixels to halftone dot areas with a large number of lines
A peak pixel or a dip pixel can be detected. DF<DG  And DG≧ DH 'DF> DG  And DG≤DH These 'have a smaller number of lines than the above'.
Detect peak pixel or dip pixel in halftone area
it can.     DG> DB, DC, DD, DH, DL, DK, D
J, DF(Logical AND) 'DG<DB, DC, DD, DH, DL, DK, D
J, DF(Logical AND) In these, ', erroneous detection can be relatively prevented. Was
However, in the dot area with fewer lines than
It is difficult to detect a peak pixel or a dip pixel.
Also, three line memories are required. [0046]     DG> DC, DH, DK, DF(Logical AND) 'DG<DC, DH, DK, DF(Logical AND) These 'have a smaller number of lines than the above'.
Detect peak pixel or dip pixel in halftone area
it can. However, the number of erroneous detections increases compared to
You. Also, three line memories are required. DG≧ DB, DD, DL, DJ(Conclusion
Logical) and DG> DC, DH, DK, DF(Logical AND)
And the logical product of 'DG≤DB, DD, DL, DJ(Logical product) and D
G<DC, DH, DL, DF(Logical product) and logical product. In these, ', the erroneous detection is
′ And ′, between the detectable halftone dot areas
The number of lines is also halfway between 'and'. Also,
Line memory is also required for three lines. In addition, the above implementation
In the example, a digital color copier has been described as an example.
However, the present invention relates to a digital monochrome copying machine,
Color / monochrome facsimile machine or color / mono
If the original image is a halftone dot original image
Other image forming devices that need to determine whether
Applicable. Others within the scope described in the claims
It is possible to make various design changes. [0050] As described above, the halftone dot determining apparatus of the present invention
The appearance of peak and dip pixels
Since it is determined based on the similarity whether or not it is a dot area,
To determine whether a region is an area, image data for multiple lines is required.
It is not necessary, for example, one line of image data
I just need. Therefore, it is difficult to determine whether the area is a dot area.
At least a memory that can hold multiple lines of image data is required.
Memory size can be reduced compared to the conventional technology
You. The image data corresponding to the pixel of interest and the
Compare the image data corresponding to the pixels around the eye pixel with the image data.
Detected a dark or dip pixel.
Regardless of the magnitude relationship between
A dark pixel or a dip pixel can be reliably detected. Special
To,Target pixel for detection of dark pixels or dip pixels
Image data corresponding to pixels on the same line that are not adjacent to
Is used, so that the dots are
Larger, more reliable peak or dip pixels
Can be detected.

【図面の簡単な説明】 【図1】この発明の網点領域判定装置が適用された一実
施例のディジタルカラー複写機における網点領域判定処
理の流れを説明するためのブロック図である。 【図2】上記ディジタルカラー複写機の要部の電気的構
成を示すブロック図である。 【図3】原稿画像の任意のラインにおけるピーク画素お
よびディップ画素の検出処理を説明するための図であ
る。 【図4】ピーク画素の検出処理を説明するための図であ
る。 【図5】ピーク画素およびディップ画素の現れ方を説明
するための図である。 【図6】網点領域か否かを判定すべき領域を説明するた
めの図である。 【図7】この発明の他の実施例を説明するための図であ
る。 【符号の説明】 1 スキャナ 2 画像処理回路 6 文字・写真・網点判定回路 61 ラインメモリ 62 ピーク検出部 63 ディップ検出部 64 PEAK1保存部 65 DIP1保存部 66 PEAK2保存部 67 DIP2保存部 68 PEAK距離計算部 69 DIP距離計算部 70 比較部
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram for explaining a flow of a dot area determining process in a digital color copying machine according to an embodiment to which a dot area determining apparatus according to the present invention is applied. FIG. 2 is a block diagram showing an electrical configuration of a main part of the digital color copying machine. FIG. 3 is a diagram illustrating a process of detecting a peak pixel and a dip pixel in an arbitrary line of a document image; FIG. 4 is a diagram for explaining a peak pixel detection process; FIG. 5 is a diagram for explaining how a peak pixel and a dip pixel appear. FIG. 6 is a diagram for explaining an area to be determined whether or not it is a dot area; FIG. 7 is a diagram for explaining another embodiment of the present invention. [Description of Signs] 1 Scanner 2 Image processing circuit 6 Character / photo / halftone dot determination circuit 61 Line memory 62 Peak detection unit 63 Dip detection unit 64 PEAK1 storage unit 65 DIP1 storage unit 66 PEAK2 storage unit 67 DIP2 storage unit 68 PEAK distance Calculation unit 69 DIP distance calculation unit 70 Comparison unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山本 治男 大阪府大阪市中央区玉造1丁目2番28号 三田工業株式会社内 (56)参考文献 特開 平5−145759(JP,A) 特開 昭62−88478(JP,A) 特開 昭63−69375(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Haruo Yamamoto 1-2-2, Tamazo, Chuo-ku, Osaka City, Osaka Prefecture Inside Mita Kogyo Co., Ltd. (56) References JP 5-145759 (JP, A) JP JP-A-62-88478 (JP, A) JP-A-63-69375 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46 H04N 1 / 60

Claims (1)

(57)【特許請求の範囲】 【請求項1】原稿画像を読取ってその濃度に対応する画
像データに変換して出力する変換手段と、 この変換手段から出力された画像データの中から1また
は複数のラインに対応する画像データを保持する保持手
段と、 この保持手段に保持されている画像データにおいて、注
目画素に対応する画像データと当該注目画素周辺の画素
に対応する画像データとを比較して、ピーク画素および
ディップ画素を検出する検出手段と、 この検出手段で交互に検出されたそれぞれ2つのピーク
画素およびディップ画素を用いて、ピーク画素の間の距
離およびディップ画素の間の距離を求める距離演算手段
と、 この距離演算手段で求められたピーク画素の間の距離と
ディップ画素の間の距離との差を求める距離差演算手段
と、 この距離差演算手段で求められた距離差が予め定める値
以下であるか否かを判別する判別手段と、 この判別手段において、上記距離差が予め定める値以下
であると判別されると、上記検出手段において最初に検
出されたピーク画素またはディップ画素から最後に検出
されたディップ画素またはピーク画素までの間のすべて
の画素を網点領域であると判定する判定手段とを含み、 上記検出手段は、注目画素に対応する画像データと、当
該注目画素の主走査方向の上流側に連続した同一ライン
上の2つの画素に対応する各画像データおよび上記注目
画素の主走査方向の下流側に連続した同一ライン上の1
つの画素に対応する画像データとを比較して、ピーク画
素またはディップ画素を検出するものである ことを特徴
とする網点領域判定装置。
(57) [Claim 1] A conversion means for reading a document image, converting the read image into image data corresponding to the density, and outputting one or more of the image data output from the conversion means. Holding means for holding image data corresponding to a plurality of lines; and in the image data held in the holding means, comparing the image data corresponding to the pixel of interest with the image data corresponding to pixels around the pixel of interest. Detecting means for detecting a peak pixel and a dip pixel; and calculating a distance between the peak pixels and a distance between the dip pixels by using two peak pixels and the dip pixels alternately detected by the detecting means. Distance calculating means; distance difference calculating means for calculating a difference between the distance between the peak pixels obtained by the distance calculating means and the distance between the dip pixels; Determining means for determining whether or not the distance difference obtained by the distance calculating means is equal to or less than a predetermined value; and detecting, when the determining means determines that the distance difference is equal to or less than a predetermined value, detecting the distance. first look including the the determining means is a halftone dot region all pixels between the detected peak pixels or dip pixel to dip pixel or peak pixels detected last in the means, said detecting means And the image data corresponding to the pixel of interest
The same line continuing upstream of the pixel of interest in the main scanning direction
Each image data corresponding to the above two pixels and the above attention
1 on the same line continuous on the downstream side of the pixel in the main scanning direction
Compare the image data corresponding to one pixel with the peak image
A halftone dot region determination device for detecting elementary or dip pixels .
JP28222494A 1994-11-16 1994-11-16 Halftone area determination device Expired - Fee Related JP3426743B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP28222494A JP3426743B2 (en) 1994-11-16 1994-11-16 Halftone area determination device
US08/556,839 US5729627A (en) 1994-11-16 1995-11-02 Apparatus for and method of judging dotted image area
EP95117934A EP0713326A1 (en) 1994-11-16 1995-11-14 Apparatus for and method of judging dotted image area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28222494A JP3426743B2 (en) 1994-11-16 1994-11-16 Halftone area determination device

Publications (2)

Publication Number Publication Date
JPH08149290A JPH08149290A (en) 1996-06-07
JP3426743B2 true JP3426743B2 (en) 2003-07-14

Family

ID=17649679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28222494A Expired - Fee Related JP3426743B2 (en) 1994-11-16 1994-11-16 Halftone area determination device

Country Status (1)

Country Link
JP (1) JP3426743B2 (en)

Also Published As

Publication number Publication date
JPH08149290A (en) 1996-06-07

Similar Documents

Publication Publication Date Title
JP3777785B2 (en) Image processing device
JP3176052B2 (en) Image processing device
JP3700381B2 (en) Image processing device
JP3887951B2 (en) Image forming apparatus
JPH1169150A (en) Image area discriminating method, image processor and image forming device
EP0685959B1 (en) Image processing apparatus for identifying character, photo and dot images in the image area
EP0711066A2 (en) Image processing apparatus
US5805304A (en) Image processing apparatus
US5729627A (en) Apparatus for and method of judging dotted image area
US5754312A (en) Method of and apparatus for detecting pixels constituting dotted image area utilizing distance between change points of pixel values
JP3426743B2 (en) Halftone area determination device
US7502512B2 (en) Image processing apparatus and image processing method
JP3183787B2 (en) Halftone area determination device
JP3434373B2 (en) Halftone area determination device
JP3216963B2 (en) Halftone area determination device
JP3426747B2 (en) Color halftone area determination device
JP3426746B2 (en) Halftone area search device
JPH08163355A (en) Dot area discriminating device
JPH11266360A (en) Image processor
JP3434374B2 (en) Image forming device
JPH09321989A (en) Edge area detector
JP3596962B2 (en) Image processing device
JP3183788B2 (en) Halftone area determination device
JP3136650B2 (en) Image processing device
JP3146516B2 (en) Image processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090509

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees