JP2004187119A - Device, system, and method for processing image - Google Patents

Device, system, and method for processing image Download PDF

Info

Publication number
JP2004187119A
JP2004187119A JP2002353335A JP2002353335A JP2004187119A JP 2004187119 A JP2004187119 A JP 2004187119A JP 2002353335 A JP2002353335 A JP 2002353335A JP 2002353335 A JP2002353335 A JP 2002353335A JP 2004187119 A JP2004187119 A JP 2004187119A
Authority
JP
Japan
Prior art keywords
image
color component
pixel
target pixel
image processing
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
JP2002353335A
Other languages
Japanese (ja)
Other versions
JP4212876B2 (en
Inventor
Hiroyuki Shibaki
弘幸 芝木
Noriko Miyagi
徳子 宮城
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 JP2002353335A priority Critical patent/JP4212876B2/en
Priority to US10/727,663 priority patent/US20040165081A1/en
Publication of JP2004187119A publication Critical patent/JP2004187119A/en
Application granted granted Critical
Publication of JP4212876B2 publication Critical patent/JP4212876B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device, system, and program for processing image by which black-character information can be detected (extracted again) with high precision as compared with the conventional practise. <P>SOLUTION: The device has a first separating means 103 which judges the attribute of an objective pixel with respect to inputted color image signals, a color component control means 106 which performs prescribed processing on the color component of the objective pixel based on the attribute of the component judged by the separating means 103, and a second separating means 108 which judges the attribute of the objective pixel with respect to the image signals processed by means of the control means 106. The control means 106 performs prescribed processing on the color component of the objective pixel so that the attribute judging accuracy of the second separating means 108 to the objective pixel may be improved. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタ,デジタル複写機,ファクシミリ,複合機能画像処理装置,MFP(マルチファンクションプリンタ)などに利用される画像処理装置および画像処理システムおよび画像処理方法に関する。
【0002】
【従来の技術】
従来、例えば特許文献1には、黒文字領域である画素に対して無彩色を表す信号値を設定することにより画像信号と分離信号を融合する画像処理装置が示されている。この特許文献1に示されている画像処理装置では、画像信号と分離信号を融合する際に、R=G=Bとなるように黒文字画素に対して補正を行い、抽出部ではR=G=Bなる画素を黒文字として再抽出している。また、この特許文献1には、Lab表色系では、a,b信号の値を0にすることによって融合する方法が示されている。また、通常のカラー画像では一般的には用いられないような特殊な値(R=255,G=B=0など)とすることにより黒文字情報を融合する方法が示されている。さらには、再抽出の際に、誤って検出された画素を除去するため、周辺画素の抽出結果を用いて総合的判定するようにしている。
【0003】
【特許文献1】
特開平8−98016号公報
【0004】
【発明が解決しようとする課題】
このように、従来では(例えば特許文献1においては)、黒文字画素に対して、R=G=Bや、Labにおけるa=b=0などの無彩化処理を行ない、分離結果抽出手段でこれらの情報をたよりに黒文字情報を検出(再抽出)するようにしている。しかしながら、無彩化処理だけでは、分離結果抽出手段において高精度に黒文字情報を検出(再抽出)することができないという問題があった。
【0005】
本発明は、黒文字情報が従来に比べて高精度に検出(再抽出)されることを可能にする画像処理装置および画像処理システムおよび画像処理方法を提供することを目的としている。
【0006】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴としている。
【0007】
また、請求項2記載の発明は、請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴としている。
【0008】
また、請求項3記載の発明は、請求項2記載の画像処理装置において、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうようになっていることを特徴としている。
【0009】
また、請求項4記載の発明は、請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が色文字画素であるか否かを判定する色文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより色文字画素を検出する機能を有していることを特徴としている。
【0010】
また、請求項5記載の発明は、請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が文字画素であるか否かを判定する文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴としている。
【0011】
また、請求項6記載の発明は、請求項1乃至請求項5のいずれか一項に記載の画像処理装置において、前記色成分制御手段で処理された画像信号を蓄積する蓄積手段を有し、第2の分離手段は、前記蓄積手段に蓄積された信号を読み出して処理を行なうようになっていることを特徴としている。
【0012】
また、請求項7記載の発明は、請求項1乃至請求項5のいずれか一項に記載の画像処理装置において、前記色成分制御手段で処理された画像信号に対し圧縮処理を施す圧縮手段と、前記圧縮手段で圧縮処理された画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を伸張する伸張手段とを有し、前記第2の分離手段は、前記伸張手段によって伸張処理された画像信号に対して処理を行なうようになっていることを特徴としている。
【0013】
また、請求項8記載の発明は、請求項7記載の画像処理装置において、前記圧縮手段は、非可逆圧縮処理を行なうようになっていることを特徴としている。
【0014】
また、請求項9記載の発明は、請求項8記載の画像処理装置において、前記圧縮手段は、輝度色差系の信号に変換してから画像信号の圧縮を行なうようになっていることを特徴としている。
【0015】
また、請求項10記載の発明は、請求項1乃至請求項9のいずれか一項に記載の画像処理装置において、前記色成分制御手段における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものであることを特徴としている。
【0016】
また、請求項11記載の発明は、請求項1乃至請求項9のいずれか一項に記載の画像処理装置において、前記色成分制御手段は、前記第2の分離手段によって黒文字画素を検出する際に、黒文字画素ではない画素を黒文字画素と誤って検出する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出する可能性が高い画像領域に対してのみ色成分を増加させるようになっていることを特徴としている。
【0017】
また、請求項12記載の発明は、請求項1乃至請求項3,請求項5乃至請求項11のいずれか一項に記載の画像処理装置において、前記第1の分離手段は、白背景領域上の黒文字画素や黒線画画素を黒文字画素として判定する機能を有し、前記第2の分離手段は、白画素領域に隣接した領域であって概ね無彩色である画素を黒文字画素として判定する機能を有していることを特徴としている。
【0018】
また、請求項13記載の発明は、請求項1乃至請求項12のいずれか一項に記載の画像処理装置において、前記色成分制御手段によって所定の処理が施された画像信号を、システムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理機能を有し、指定された所定の画像フォーマットに応じて前記色成分制御手段を制御するようになっていることを特徴としている。
【0019】
また、請求項14記載の発明は、請求項13記載の画像処理装置において、前記所定の画像フォーマットに応じた色成分制御手段の制御として、前記第1の分離手段で判定された黒文字画素の領域を周辺の領域に無彩化する領域として拡張する制御を含むことを特徴としている。
【0020】
また、請求項15記載の発明は、請求項6乃至請求項9のいずれか一項に記載の画像処理装置において、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴としている。
【0021】
また、請求項16記載の発明は、請求項6乃至請求項9のいずれか一項に記載の画像処理装置において、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記第1の分離手段によって判定された対象画素の属性に応じて前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記第1の分離手段によって判定された対象画素の属性に応じて前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴としている。
【0022】
また、請求項17記載の発明は、請求項1乃至請求項16のいずれか一項に記載の画像処理装置において、画像信号を外部機器に転送する際に、該画像信号に施された処理内容をヘッダ情報に保存して外部機器に転送するようになっていることを特徴としている。
【0023】
また、請求項18記載の発明は、請求項17記載の画像処理装置において、外部機器から入力した画像データに対して前記第2の分離手段によって属性の判定を行なう画像処理装置であって、前記ヘッダ情報に応じて第2の分離手段の黒文字抽出方法を制御するようになっていることを特徴としている。
【0024】
また、請求項19記載の発明は、請求項18記載の画像処理装置において、外部機器から入力した画像データを前記蓄積手段に蓄積し、前記蓄積手段に蓄積された画像信号を読み出し前記第2の分離手段で対象画素の属性を検出して画像処理を施す画像処理装置であって、入力された画像信号に処理内容を示すヘッダ情報が付されていないときは、第2の分離手段による黒文字抽出を制限するかまたは行わないことを特徴としている。
【0025】
また、請求項20記載の発明は、入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴としている。
【0026】
また、請求項21記載の発明は、請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴としている。
【0027】
また、請求項22記載の発明は、請求項21記載の画像処理システムにおいて、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうようになっていることを特徴としている。
【0028】
また、請求項23記載の発明は、請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が色文字画素であるか否かを判定する色文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより色文字画素を検出する機能を有していることを特徴としている。
【0029】
また、請求項24記載の発明は、請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が文字画素であるか否かを判定する文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴としている。
【0030】
また、請求項25記載の発明は、請求項20乃至請求項24のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段で処理された画像信号を蓄積する蓄積手段を有し、第2の分離手段は、前記蓄積手段に蓄積された信号を読み出して処理を行なうようになっていることを特徴としている。
【0031】
また、請求項26記載の発明は、請求項20乃至請求項24のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段で処理された画像信号に対し圧縮処理を施す圧縮手段と、前記圧縮手段で圧縮処理された画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を伸張する伸張手段とを有し、前記第2の分離手段は、前記伸張手段によって伸張処理された画像信号に対して処理を行なうようになっていることを特徴としている。
【0032】
また、請求項27記載の発明は、請求項26記載の画像処理システムにおいて、前記圧縮手段は、非可逆圧縮処理を行なうようになっていることを特徴としている。
【0033】
また、請求項28記載の発明は、請求項27記載の画像処理システムにおいて、前記圧縮手段は、輝度色差系の信号に変換してから画像信号の圧縮を行なうようになっていることを特徴としている。
【0034】
また、請求項29記載の発明は、請求項20乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものであることを特徴としている。
【0035】
また、請求項30記載の発明は、請求項20乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段は、前記第2の分離手段によって黒文字画素を検出する際に、黒文字画素ではない画素を黒文字画素と誤って検出する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出する可能性が高い画像領域に対してのみ色成分を増加させるようになっていることを特徴としている。
【0036】
また、請求項31記載の発明は、請求項20乃至請求項30のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段によって所定の処理が施された画像信号を、システムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理機能を有し、指定された所定の画像フォーマットに応じて前記色成分制御手段を制御するようになっていることを特徴としている。
【0037】
また、請求項32記載の発明は、請求項25乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴としている。
【0038】
また、請求項33記載の発明は、入力されたカラー画像信号に対し対象画素の属性を判定し、判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施し、対象画素の色成分に所定の処理が施された画像信号に対し対象画素の属性を判定するようになっており、対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴としている。
【0039】
また、請求項34記載の発明は、請求項33記載の画像処理方法において、対象画素の属性として対象画素が黒文字画素であるか否かを判定し、対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴としている。
【0040】
また、請求項35記載の発明は、請求項34記載の画像処理方法において、対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうことを特徴としている。
【0041】
また、請求項36記載の発明は、請求項33記載の画像処理方法において、対象画素の属性として対象画素が色文字画素であるか否かを判定し、対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴としている。
【0042】
また、請求項37記載の発明は、請求項33記載の画像処理方法において、対象画素の属性として対象画素が文字画素であるか否かを判定し、対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴としている。
【0043】
【発明の実施の形態】
以下、本発明の実施形態を図面に基づいて説明する。
【0044】
(第1の実施形態)
図1は本発明の第1の実施形態の画像処理装置の構成例を示す図である。図1を参照すると、この第1の実施形態の画像処理装置は、画像入力手段101と、スキャナγ補正手段102と、第1の像域分離手段(第1の分離手段)103と、エッジ量算出手段104と、フィルタ処理手段105と、色成分制御手段106と、色補正手段107と、第2の像域分離手段(第2の分離手段)108と、下色除去・墨生成手段109と、プリンタγ補正手段110と、中間調処理手段111と、画像出力手段112とを有している。
【0045】
この第1の実施形態の画像処理装置では、次のような処理がなされる。すなわち、スキャナ等の画像入力手段101によって光学的に読み取られた原稿は、rgbの各8bitのデジタル画像信号に変換されて出力される。出力された画像信号は、スキャナγ補正手段102に入力され、反射率リニアなrgb信号は、LUT(ルックアップテーブル)等により濃度リニアなRGB信号へと変換される。また、このとき、グレーバランスがとられ、R,G,Bの画素値が等しいときはグレーとなるように調整される。
【0046】
画像入力手段101からの画像信号rgbは、同時に第1の像域分離手段103に入力され、第1の像域分離手段103に入力した画像は、第1の像域分離手段103によって黒文字画像領域と色文字画像領域及びそれ以外の絵柄領域に識別される。なお、絵柄領域とは、網点画像領域(網点上の文字に関しては絵柄領域と識別される)や連続調画像領域や地肌領域のことを指す。
【0047】
ここで、第1の像域分離手段103は、例えば、特許第3153221号や特開平5−48892に開示されているような像域分離方式で像域分離処理を行なう。すなわち、上記像域分離方式では、エッジ領域検出と網点領域検出と白地背景領域検出と有彩/無彩領域検出に基づいて総合的に判定しており、白地上の文字は文字領域と判定し、網点上の文字を含む網点画像や連続調画像は絵柄領域(文字以外の領域)と判定する。また、文字領域については、有彩/無彩領域検出によって、さらに、黒文字領域と色文字領域の判別が行われる。図1においては、フィルタ処理手段105に入力される分離信号s1は、文字領域(文字画像領域)を示す信号である。また、色成分制御手段106に入力される信号c1は、黒文字領域(黒文字画像領域)を示す信号である。
【0048】
また、エッジ量算出手段104は、g信号を用いて、入力画像のエッジの度合いを示すエッジ量e1を算出するようになっている。
【0049】
フィルタ処理手段105では、第1の像域分離手段103による判定結果s1とエッジ量算出手段104によるエッジ量e1に基づいて、スキャナγ補正手段102からのRGB画像信号に対し適応的にエッジ強調処理あるいは平滑化処理を施す。具体的には、RGB画像信号の文字領域(黒文字及び色文字の両領域)に対しては均一なエッジ強調フィルタを施し、絵柄領域に対しては平滑化フィルタを施した後にエッジ量に基づく適応エッジ強調処理を行なう。このようなフィルタ処理によって、文字部では鮮鋭性を満足させ、絵柄部では網点部などでのモアレの抑制と網点上文字での鮮鋭性を満足させることができる。
【0050】
また、色成分制御手段106は、第1の像域分離手段103からの黒文字分離結果(黒文字領域信号)c1に基づいて、フィルタ処理手段105からの画像信号に対して色成分の制御を行なうようになっている。
【0051】
図2は色成分制御手段106の構成例を示す図である。図2の例では、色成分制御手段106は、入力されたRGB信号の平均値を求める平均値手段1061〜1063と、平均値手段1061〜1063からの平均値信号と元のRGB信号とを信号c1に基づいて切り換えるセレクタ1064とを有している。より具体的に、セレクタ1064は、信号c1に基づいて、黒文字であると判定された画素に対しては平均値手段1061〜1063からの出力を選択し、黒文字でないと判定された画素に対してはフィルタ処理手段105からの信号値を選択して出力するようになっている。なお、図2に示した例では、黒文字画素であった場合には、R’=G’=B’=ave(R,G,B)とし、全ての画素を同じ値にすることによって黒文字であることを示す信号としている。つまり、色成分制御手段106は、黒文字コードをR’=G’=B’=ave(R,G,B)として画像中に埋め込んでいる。
【0052】
色成分制御手段106からの画像信号R’G’B’は、色補正手段107に入力し、色補正手段106では、マスキング演算等によりRGB系の信号をプリンタ系の色材に適したCMY系の信号に変換するようになっている。色補正処理としては、さまざまな手法が考えられるが、ここでは次式(数1)のようなマスキング演算が行われるものとする。
【0053】
【数1】
C=α11×R+α12×G+α13×B+β1
M=α21×R+α22×G+α23×B+β2
Y=α31×R+α32×G+α33×B+β3
【0054】
上記数1において、α11〜α33およびβ1〜β3は予め定められた色補正係数で、出力されるCMYも8bit(0〜255)の信号とする。
【0055】
また、色成分制御手段106からの画像データは第2の像域分離手段108にも入力し、第2の像域分離手段108では、黒文字画素の検出(再抽出)を行なうようになっている。
【0056】
図3は第2の像域分離手段108の構成例を示す図である。図3の例では、第2の像域分離手段108は、黒候補画素検出手段1081と、連結性判定手段1082と、白画素検出手段1083と、3×3の膨張処理手段1084と、論理積回路1085,1087と、5×5の膨張処理手段1086とを有している。
【0057】
この第2の像域分離手段108における黒文字画素の検出処理(再抽出処理)は、次のようになされる。すなわち、R’G’B’信号に対し、黒候補画素検出手段1081では、対象画素がR=G=BかつG>th1であるか否かを判定し、対象画素がR=G=BかつG>th1であれば、黒候補画素として1を出力する。ここで、th1は黒レベルを決定する濃度閾値である。このようにして、黒候補画素検出手段1081では、所定濃度以上の黒画素が検出される。黒候補画素検出手段1081の検出結果は、連結性判定手段1082に入力し、連結性判定手段1082では、例えば図4に示すようなパターンに基づきパターンマッチングが行われる。文字画像の性質から、黒文字を構成する画素(黒文字画素)は1ドットや2ドットで孤立して存在することはない。すなわち、文字とは連続した白画素中に連続した黒画素が並んでいるという特徴がある。例えば特許第3153221号に開示されている分離手段でもその性質を利用したパターンマッチングを組み込んでおり、このような検出を前段で行っておけば黒文字部で黒画素が孤立して存在することはないと言い切れる。そこで、図4の例では、3×3画素の連結性判定パターンを使用してパターンマッチングを行い、注目画素を挟んだ縦横斜めいずれかの方向で黒候補画素が3画素連結して存在する画素を検出することにより、その他の孤立画素を取り除くことができる。連結性判定では注目画素を3×3画素の中心としているため、線の端点や折れ線・曲線の角で黒画素が1画素欠落するが、後段の白地上黒エッジに対する5×5膨張処理により最終的には黒文字として検出されるので問題ない。以上のように連結性判定を行なうことで、絵柄中に点在するようなR=G=B画素を黒文字と誤って判定することがなくなる。
【0058】
また、図3の構成例では、白画素検出手段1083によって検出の精度をさらに上げている。すなわち、ここでは、前述のように、黒文字領域とは白地上の黒文字を指すものなので、黒文字画素の周囲には白画素があるという特徴を用いている。白画素検出手段1083では、画素がR=G=BかつG<th2であるか否かを判定し、R=G=BかつG<th2であるならば、白画素として1を出力する。さらに、このように検出された白画素を膨張処理手段1084によって3×3膨張し、論理積回路1085において、前記連結性判定手段1082から出力される信号との論理積をとる。白画素は3×3膨張によって本来の白画素から1画素膨張したような領域となっており、黒文字候補画素との論理積をとることにより、白地と隣接した黒画素領域が検出できる。絵柄中に点在する黒文字に似た黒塊は、周囲に白画素がないので、ここで除去することができる。
【0059】
以上のように、黒文字以外のR=G=B画素を除去した信号は、5×5膨張処理手段1086によって膨張され(5ドット幅を持つ黒文字領域に膨張され)、さらに、論理積回路1087において、連結性判定手段1082から出力される信号と論理積をとることによって、白地側にはみだした黒文字領域(2ドット分)を排除している。以上のように検出された黒文字分離信号c2は、白地上の黒文字の輪郭部において3ドット幅を有する領域であり、後段の処理に用いるため出力される。
【0060】
なお、第2の像域分離手段108の前に施されるフィルタ処理として、白地上の文字に対しては十分な強調処理を行い、あえて文字周囲に発生する白抜けをそのまま残し、また、色地上の黒文字に対しては強調の際に発生する白抜けを防止するような機構を用いることで、上記黒文字画素の検出(再抽出)を高精度に行なうことができる。
【0061】
色補正手段107からの画像信号は、下色除去・墨生成手段109においてCMYK信号に変換される。下色除去・墨生成手段109では、墨成分であるK信号が生成されると共に、CMY信号から下色除去(UCR)が行われる。ここで、下色除去・墨生成手段109は、第2の像域分離手段108からの黒文字分離結果c2に基づいて、黒文字画素とその他の画素に対して異なる下色除去・墨生成を行なうようになっている。
【0062】
黒文字画素でない画素(非黒文字画素)に対してのK信号の生成およびCMY信号からの下色除去は、次式のように行われる。
【0063】
【数2】
K=Min(C,M,Y)×β4
C’=C−K×β5
M’=M−K×β5
Y’=Y−K×β5
【0064】
ここで、Min(C,M,Y)は、CMY信号のうち最小のものであり、β4,β5は予め定められた係数で8bitの信号とする。また、黒文字画素に対してのK信号の生成およびCMY信号からの下色除去は、次式のように行われる。
【0065】
【数3】
K=Min(C,M,Y)
C’=0
M’=0
Y’=0
【0066】
このように、黒文字画素に対してはKトナー単色での再生が行われるため、版ズレ時の色ズレによる色付きや解像度低下を招くことがなく、良好な黒文字品質が得られる。
【0067】
下色除去・墨生成手段109で処理された信号は、プリンタγ補正手段110によってプリンタエンジン特性に合わせたγ補正が行われ、さらに中間調処理手段111において中間調処理が施されて、画像出力手段112において出力される。
【0068】
図1の構成例では、中間調処理手段111は、第2の像域分離手段108による分離結果c2を用いて中間調処理方式を切り換えるよう構成されている。つまり、中間調処理手段111は、より具体的には、例えば、黒文字と判定された画素に対しては文字鮮鋭性の再現に有利な誤差拡散処理を施し、絵柄部などの非黒文字と判定された画素に対しては粒状性,階調再現性に有利なディザ処理を施すようになっている。なお、いまの例ではこのような切換を行なっているが、全面を誤差拡散処理にて処理しても何ら問題はない。
【0069】
以上のように、この第1の実施形態では、第1の分離手段103の分離結果に基づき、黒文字画素(黒文字領域画素)をR=G=Bとして色成分を減ずる処理を行い、また、第2の分離手段108ではR=G=B情報をもとに黒文字画素を検出(再抽出)し、検出(再抽出)した黒文字画素情報を基に後段の下色除去・墨生成等の処理を行なうことで、高画質な画像再生を実現できる。
【0070】
なお、上記の処理例では、黒文字画素の色成分を完全に0にする構成としたが、この限りではない。例えば、色成分抑制手段106でΔRGBの値が所定値以下になるように色成分を抑制することもでき、この場合には、第2の像域分離手段108では、黒候補画素検出を行なう際にΔRGBが所定の閾値以下の画素を黒候補画素とするように判定すればよい。このようにすると、完全に無彩色にすることがなく、色成分抑制処理後の画像をPCなどのモニタで表示する場合にも、黒文字画像の違和感を比較的少なくすることができる。
【0071】
本発明は、上述のように、入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有しており、この場合、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうことを特徴としている。
【0072】
具体的には、本発明の第1の例として、第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、色成分制御手段は、第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出(抽出)する機能を有している。
【0073】
すなわち、この第1の例では、色成分制御手段106において非黒文字画素の色成分を増加させるようになっている。このようにすることで、絵柄部分で誤まって黒文字を検出(抽出)することを減少させ、高精度な黒文字検出(抽出)を行なうことができる。
【0074】
図5は、この第1の例の色成分制御手段106の構成図である。図5を参照すると、色成分制御手段106は、ブロック1065において、入力されたRGB信号を輝度色信号のYUV信号に変換する。ここで、RGB→YUVの変換式は、次式の通りである。
【0075】
【数4】
Y=(R+2G+B)/4
U=(R−G)/2
V=(B−G)/2
【0076】
YUV信号において、Y信号は輝度を表す信号であり、U,V信号は彩度を表す信号である。すなわち、数4は、無彩色つまりR=G=Bであれば、U,Vの値はいずれも0になるような変換式となっている。彩度成分を変換するブロック1066〜1068では、ブロック1065で変換されたYUV信号に対し、色成分を変更する。
【0077】
ここで、ブロック1068は、U成分を0として出力する無彩化手段である。同様に、ブロック1069は、V成分を0として出力する無彩化手段である。これに対し、ブロック1066は、Uが0または正のときにUに所定の値kを加算して出力し、Uが負のときにはkを減算して出力するものであり、彩度を大きくする有彩化手段である。なお、kとしては、視覚的に色変わりが認識できないレベルの小さな値であって、かつ後段の第2の像域分離で十分に有彩画素と判定されるような適切な値とすることが望ましい。同様に、ブロック1067も、Vに対して有彩化を行なう有彩化手段である。また、ブロック1065からのY信号については何も処理を行わずにセレクタ1064へと出力するようになっている。
【0078】
セレクタ1064では、第1の像域分離手段103からの黒文字分離信号c1に基づいて切り換えを行なうようになっている。つまり、セレクタ1064は、第1の像域分離手段103からの黒文字分離信号c1が黒文字画素を示すものであれば無彩化手段1068,1069からの出力を選択し、非黒文字画素を示すものであれば有彩化手段1066,1067からの出力を選択するようになっている。次いで、信号Yとセレクタ1064からの出力信号U’,V’は、YUVからRGBに逆変換を行なうブロック1070にて色成分を制御されたR’G’B’信号に変換され出力される。ここで、YUV→RGBの変換式は次式の通りである。
【0079】
【数5】
G=Y−(2U+2V)/4
R=2U+G
B=2V+G
【0080】
図5のような構成とすることにより、非黒文字部で無彩色あるいは無彩色に非常に近い信号があった場合でも、有彩化手段によって必要十分な量だけ有彩化されるので、ユーザに色が変わったという印象を与えることなく、後段での黒文字の再抽出精度(検出精度)を向上させることができる。
【0081】
また、本発明の第2の例として、第1の分離手段は、対象画素の属性として対象画素が色文字画素であるか否かを判定する色文字画素判定機能を有し、色成分制御手段は、第1の分離手段によって対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより色文字画素を検出(抽出)する機能を有している。
【0082】
図6は、この第2の例の色成分制御手段106の構成図である。図6を参照すると、この色成分制御手段106も、図5と同様の有彩化ブロック1066,1067を有しており、彩度を大きくするように構成されている。また別のパスでは、入力されたU,V信号をそのままセレクタ1064に入力するように構成されている。セレクタ1064では、第1の分離手段103で判別された色文字分離信号c3に基づいて、これらを切り換えるようになっている。すなわち、セレクタ1064は、色文字画素に対しては有彩化ブロック1066,1067からの信号を選択し、非色文字画素に対してはスルーの信号を選択するようになっている。
【0083】
このように色文字の彩度を高めることで、後段の第2の分離で色文字を誤って黒文字と判別することが少なくなり、黒文字画素の検出(再抽出)精度を向上させることができる。
【0084】
また、本発明の第3の例として、第1の分離手段は、対象画素の属性として対象画素が文字画素であるか否かを判定する文字画素判定機能を有し、色成分制御手段は、第1の分離手段によって対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出(抽出)する機能を有している。
【0085】
図7は、この第3の例の色成分制御手段106の構成図である。図7はセレクタ1064に入力する分離信号が図6と異なっており、他は図6と同様の構成となっている。すなわち、図7では、セレクタ1064には文字分離結果s1が入力するようになっている。図7を参照すると、この第3の例の色成分制御手段106は、非文字画素に対しては有彩化ブロック1066,1067からの信号を選択し、これによって非文字画素の彩度を大きくするものとする一方、文字と判定された画素(すなわち、黒文字と色文字の画素)に対しては彩度成分の制御を行わずにスルーとする。このようにすることで、絵柄領域中における無彩画素を誤って黒文字と誤抽出することが少なくなる。
【0086】
このように、本発明では、上記第1,第2,第3の例のように、色成分制御手段106は、第2の分離手段108での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうことによって、黒文字情報を従来に比べて高精度に検出(再抽出)することができる。
【0087】
なお、上述した処理を組み合わせることもできる。例えば、色成分制御手段106は、第1の分離手段103によって対象画素が黒文字画素であると判定されると対象画素の色成分を減ずるかまたは除去する無彩化処理を、上記第1の例と組み合わせて行なうことができる(すなわち、第1の分離手段103によって対象画素が黒文字画素であると判定されると対象画素の色成分を減ずるかまたは除去する無彩化処理を行ない、また、第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうこともできる)。あるいは、黒文字画素に対しては無彩化処理を行ない、色文字画素に対してはスルーとし、非文字領域に対しては有彩化処理を施すことなどもできる。
【0088】
また、図1の構成例において、第1の分離手段103と同じ構成の分離回路を第2の分離手段108に持たせて黒文字を判定することも可能であるが、第1の分離手段103は非常に大きな回路構成であるのでハードウエアコストが高くなるという問題がある。これに対し、本発明のように第1の分離手段103の結果に応じて画像データに情報を埋め込むとともに、後段での分離回路が簡易的なものですむようにデータの加工(有彩化および/または無彩化)を行なうことで、ハードウエアコストが安く、かつ精度の高い分離信号を後段処理で用いることができる。
【0089】
(第2の実施形態)
図8は本発明の第2の実施形態の画像処理装置の構成例を示す図である。図8を参照すると、この第2の実施形態の画像処理装置は、図1の画像処理装置において、色成分制御手段106からの出力を一旦蓄積手段113に蓄積し、蓄積手段113に蓄積された信号を読み出して色補正手段107,第2の像域分離手段108以降の処理を施す構成となっている。すなわち、この第2の実施形態において(図8の画像処理装置において)、蓄積手段113以外の各処理手段101,102,103,104,105,106,107,108,109,110,111,112は、第1の実施形態(図1の画像処理装置)のものと同じものとなっている。
【0090】
このように、本発明の第2の実施形態は、第1の実施形態の画像処理装置において、色成分制御手段106で処理された画像信号を蓄積する蓄積手段113を有し、第2の分離手段108は、蓄積手段113に蓄積された信号を読み出して処理を行なうことを特徴としている。
【0091】
複数枚にわたるコピージョブ等では一旦画像データを蓄積する構成が一般的であるが、本発明では黒文字分離情報を画像データ中に埋め込む構成をとっているので、分離信号を別途保存する必要がなく(図8の構成において、蓄積手段113とは別途に分離信号保存用の蓄積手段を設ける必要がなく)、メモリ容量を節約することができる。
【0092】
(第3の実施形態)
図9は本発明の第3の実施形態の画像処理装置の構成例を示す図である。図9を参照すると、この第3の実施形態の画像処理装置は、図1の画像処理装置において、色成分制御手段106からの出力を圧縮手段115で圧縮して蓄積手段113に蓄積し、蓄積手段113に蓄積された信号を読み出して伸張手段116で伸張し、色補正手段107,第2の像域分離手段108以降の処理を施す構成となっている。すなわち、この第3の実施形態において(図9の画像処理装置において)、圧縮手段115,蓄積手段113,伸張手段116以外の各処理手段101,102,103,104,105,106,107,108,109,110,111,112は、第1の実施形態(図1の画像処理装置)のものと同じものとなっている。
【0093】
このように、本発明の第3の実施形態は、第1の実施形態の画像処理装置において、色成分制御手段106で処理された画像信号に対し圧縮処理を施す圧縮手段115と、圧縮手段115で圧縮処理された画像信号を蓄積する蓄積手段113と、蓄積手段113に蓄積された画像信号を伸張する伸張手段116とを有し、第2の分離手段108は、伸張手段116によって伸張処理された画像信号に対して処理を行なうことを特徴としている。
【0094】
ここで、圧縮手段115は可逆圧縮処理を行なうようになっていても良いし、非可逆圧縮処理を行なうようになっていても良い。但し、蓄積手段113への蓄積枚数やデータ転送レートを考慮して、非可逆圧縮処理方式を用いる方が好ましい。但し、この場合、非可逆圧縮では、色成分制御手段106によって埋め込まれた黒文字情報や、再抽出の精度を高めるための有彩化処理が、圧縮,伸張による劣化によって歪んでしまう。どの程度の信号レベル変化が起きるかは圧縮処理の方式や施されたフィルタ特性や原稿の種類などによっても異なるが、第2の像域分離手段108で十分な黒文字情報の検出(再抽出)が行なえるよう、圧縮手段115の圧縮処理方式に応じた色成分制御が必要である。
【0095】
また、圧縮手段115は、輝度色差系の信号に変換してから画像信号の圧縮を行なうものが望ましい。これまで説明したように、黒文字を無彩化することで黒文字分離情報を埋め込む処理を行っているので、圧縮,伸張による黒文字部での彩度成分の変化はできるだけ小さいことが望ましい。画像信号をYUVのような輝度色差信号に変換すれば黒文字部での彩度成分は0となり、圧縮,伸張による劣化を受けにくい。RGB信号に対して版毎に圧縮するような構成では、R,G,Bのいずれかの信号が圧縮劣化によって変化した場合、無彩画素は有彩となってしまう。YUVであれば、Yに対しては変化が発生してもU,Vに変化がなければ無彩であることに変わりはない。以上のような理由で、圧縮手段115は、輝度色差系の信号に変換してから画像信号の圧縮を行なうものが望ましい。
【0096】
上述した第1,第2,第3の実施形態において、色成分制御手段106における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものにすることができる。
【0097】
図5では、非黒文字画素に対して一律に有彩化するように制御していた。視覚的には認識できない程度の彩度制御ではあるが、望ましくは彩度を変更することは行いたくない。このことに対応し、色成分を制御する部分を最小限に抑えるために、色成分制御手段106における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものにすることができる。
【0098】
図10には、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させる色成分制御手段106の構成例が示されている。すなわち、図10の例では、色成分制御手段106は、入力された非黒文字画素のうち、彩度成分が所定の値よりも小さいときのみ色成分を増加するように構成されている。例えば図10のブロック1066では、U成分の絶対値が2以下の時は彩度成分をkだけ増加するよう制御するが、U成分の絶対値が2より大きいときは、処理を行わないようになっている。ブロック1067についても同様である。すなわち、図10の例では、十分な彩度を有する画素は誤って黒文字と検出(再抽出)されることがないのでスルーで良く、黒文字と誤判定される可能性のある無彩に近い画素のみを有彩化するようにしている。このようにすれば、有彩化処理を必要最小限におさえることができ、色再現性も保証することができる。
【0099】
また、図10で説明したのと同様の目的で、上述した第1,第2,第3の実施形態において、色成分制御手段は、第2の分離手段108によって黒文字画素を検出(抽出)する際に、黒文字画素ではない画素を黒文字画素と誤って検出(抽出)する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出(抽出)する可能性が高い画像領域に対してのみ色成分を増加させるようにすることができる。これにより、色成分制御手段106による黒文字画素以外への色成分制御を最小限に抑えることを実現できる。
【0100】
すなわち、図3に示した第2の像域分離手段108では、白画素に隣接したR=G=B画素塊を検出することで黒文字情報の検出(再抽出)を行なうものであったが、このような簡易な検出方法では白地上にグレーの画像がある場合などに黒文字と誤まって判定してしまうことがあった。例えば、白い紙上に貼り付けられたモノクロの写真などがこの場合に当たる。モノクロ画像といってもほとんどの場合、R=G=Bとなる画素が塊で存在することは少なく、しかも図3の分離手段では白地と隣接する3ドット幅のみを黒文字領域と判定するものなので、実質上ほぼ問題とならないが、より高画質な画像再現のためにはこのような誤判定はない方が好ましい。
【0101】
このため、本発明では、あらかじめ後段の像域分離手段108で誤判定しそうな画像領域を検出し、この画像領域にのみ誤判定を起こさないように補正を加えることで、色成分制御を必要最小限の領域に抑えるようにしている。
【0102】
図11には、第2の分離手段108によって黒文字画素を検出(抽出)する際に、黒文字画素ではない画素を黒文字画素と誤って検出(抽出)する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出(抽出)する可能性が高い画像領域に対してのみ色成分を増加させる色成分制御手段106の構成例が示されている。すなわち、図11の例では、色成分制御手段106は、黒文字画素に対する無彩化手段の部分Aに加えて、後段の像域分離で誤分離を起こしやすい部分を検出し補正を加える部分Bを有している。
【0103】
図11の構成例では、黒文字画素に対してはセレクタ1064によって無彩化が施された信号は、第3の像域分離手段1073に入力する。第3の像域分離手段1073は、前述の第2の像域分離手段108(図3)と同じ構成であり、白地上の無彩画素塊を検出するように構成されている。第3の像域分離手段1073で検出された黒文字分離結果c4は、差分判定手段1074によってオリジナルの黒文字分離結果c1との差分が検出され、差分判定手段1074では、誤判定する画像領域をc5として検出する。そして、誤判定する画像領域c5に対して有彩化手段1071,1072で有彩化が行われ、ブロック1070において出力される。
【0104】
ここで、第3の像域分離手段1073では、黒文字検出(再抽出)のパラメータを、黒文字がより検出されやすいようなパラメータとして設定しておけばよい。このようにすることによって、圧縮伸張手段などによる画像の劣化で誤検出が増えてしまう箇所についてもあらかじめ検出することができる。
【0105】
このように、図11の色成分制御手段106では、後段の第2の像域分離手段108で誤って検出される可能性が高い領域について有彩化し、誤検出に対する余裕度を高めることができ、また有彩化する部分も必要最小限に留めることができる。
【0106】
なお、図11の構成例では、第2の像域分離手段108と同じ構成の検出手段を第3の分離手段1073に用いる例を示したが、この例のように白地上の無彩画素あるいは無彩に近い画素が誤検出する可能性が高いとわかっている場合は、特に第3の分離手段1073を設けなくとも、第1の像域分離手段103からの白地背景領域検出結果と、黒文字検出結果と、ほぼ無彩である画素情報とによって、あらかじめ有彩化しておく領域を特定することもできる。
【0107】
(第4の実施形態)
本発明の第4の実施形態は、上述した第1,第2,第3の実施形態の画像処理装置において、色成分制御手段106によって所定の処理が施された画像信号を、システムまたはユーザによって指定された所定の画像フォーマット(圧縮方式、圧縮率、画像解像度、色空間)に変換して外部機器に転送する処理機能を有し、指定された所定の画像フォーマットに応じて前記色成分制御手段を制御することを特徴としている。
【0108】
ここで、所定の画像フォーマットに応じた色成分制御手段の制御としては、第1の分離手段103で判定された黒文字画素の領域を周辺の領域に無彩化する領域として拡張する制御を含んでいる。
【0109】
図12は本発明の第4の実施形態の画像処理装置の構成例を示す図である。図12の例では、図9の画像処理装置において、蓄積手段113に蓄積された画像信号を所定のフォーマットに変換して外部装置に転送するようになっている。すなわち、図12の例では、蓄積手段113に蓄積された画像信号を所定のフォーマットに変換して外部装置に転送する場合、蓄積手段113からの信号を読み出し、圧縮・伸張手段117にて伸張し、解像度変換手段119で所定の解像度に変換する。外部転送時のデータサイズを小さくするため、例えば600dpi解像度画像を300dpiや200dpiに変換する。さらに、ブロック120でsRGB変換などの標準信号に変換し、JPEG圧縮・伸張手段121でJPEGフォーマットに変換し、NIC122を介して外部装置に転送することができる。
【0110】
外部転送された画像信号は、PC上のアプリケーションとしてスキャンされた画像データとして使用するなどの他、再度画像形成装置に入力されてコピー出力されるケースがある。例えば編集ソフトによって読み取られた画像中にあるパンチ穴画像などの不要な部分を除去したり、スタンプを押すような画像編集を行ったりしたものを出力する場合がその例である。このような場合には、再度、NIC122を介して、JPEG圧縮・伸張手段121でJPEG伸張し、さらに、ブロック120でデバイス依存のRGB信号に変換し、解像度変換手段119で元の解像度(600dpi)に変換し、圧縮・伸張手段117で圧縮を施して蓄積手段113に格納することができる。そして、蓄積手段113への格納が終了すると、システムコントローラ(図示せず)により、伸張手段116以降の後段処理が施される。
【0111】
ところで、図12において、第1の色成分制御手段106によって画像データ中に埋め込まれた黒文字分離情報は、解像度変換手段119やJPEG圧縮・伸張手段121によって画像データが劣化・変更されるため、再度コピー出力する際の第2の像域分離手段108での黒文字情報の検出(再抽出)精度が悪くなってしまう。
【0112】
本発明の第4の実施形態は、このような外部転送時のフォーマット変換を経由した再出力時にも黒文字の画質を満足させようとするものであり、第1の色成分制御手段106を外部転送される際の画像フォーマットに応じて制御するようにしている。具体的には、黒文字画素および非黒文字画素に対して、再検出(再抽出)の際の検出マージンが向上するように更なる色成分の制御を行なうものである。
【0113】
例えば、非黒文字画素に対する有彩化については、第1の色成分制御手段106で行った有彩化よりも有彩化を強くして出力する方法がある。
【0114】
また、他の方法としては、無彩化する領域を拡張する方法がある。例えばJPEG圧縮は、8×8ブロックサイズ毎に輝度色差信号(YC)に変換して、DCT変換を用いて画像圧縮する方式である。無彩化された黒文字画素に対してJPEG圧縮が施されると、8×8ブロック内の他の画素が有彩画素であった場合、黒文字画素が有彩化してしまう。通常、黒文字と判定される画素の周囲には白地背景領域が存在し、彩度の高い色画素は存在しないが、白地といえども若干の彩度を有する画素は存在するので、前述のような問題が発生する。また、これは圧縮率の設定を高くした場合に顕著である。
【0115】
これに対し、8×8ブロック内の画素が全て無彩画素であればYC信号にした時点でC成分は0となるので、無彩情報は劣化することなく保存できる。よって、第1の色成分制御手段106は、JPEG圧縮を施して外部に出力すると分かっている場合、圧縮されるブロック内における黒文字画素の有無に応じてブロック内の非黒文字画素の有彩・無彩処理を制御するように構成し、黒文字画素がある場合には他の有彩画素をすべて無彩画素に補正すればよい。
【0116】
また、前述のように黒文字画素の周囲には彩度の高い色画素は存在しないので、ブロック内の全ての画素を無彩化することは画質的には問題ないが、例えばブロックサイズのもっと大きな圧縮方式では、有彩画素を無彩化することが画質劣化となる場合がある。このような場合には、ブロック内の十分な彩度を持つ有彩画素に対しては無彩化処理をせず、比較的彩度の低い画素に対してのみ無彩化するようにすればよい。
【0117】
また、ブロック単位での黒文字周囲画素の無彩化方法について述べたが、ブロック単位ではなく、黒文字画素を数画素膨張した領域に対して無彩化するように構成しても良い。この場合、変換されるデータフォーマットに応じて膨張する画素数を決定すればよい。解像度についても同様で、低解像データに変換される場合は無彩化する領域を広くとっておけば黒文字情報の保存をうまく行なうことができる。
【0118】
以上のように、第1の色成分制御手段106を制御することによって、解像度変換,圧縮方式などの異なるデータフォーマットに変換された信号にも的確に黒文字情報を埋め込むことができ、再コピーの際の高画質化が実現できる。また、上述の説明では、本画像処理装置での再コピーを例に挙げたが、埋め込まれた属性情報を再抽出し適応的な処理を実現できる外部の画像処理装置や画像処理プログラムでも有効である。
【0119】
(第5の実施形態)
本発明の第5の実施形態は、第2,第3の実施形態の画像処理装置において、蓄積手段113に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、蓄積手段113に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、蓄積手段113に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴としている。
【0120】
ここで、第2の色成分制御手段は、蓄積手段113に蓄積されている画像信号から識別された属性情報に応じて、蓄積手段113に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送することができる。
【0121】
あるいは、第2の色成分制御手段は、第1の分離手段103によって判定された対象画素の属性に応じて蓄積手段113に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送することもできる。
【0122】
図13は本発明の第5の実施形態の画像処理装置の構成例を示す図である。図13の例では、図12の構成において、圧縮・伸張手段117と解像度変換手段119との間に、第2の色成分制御手段118がさらに設けられている。
【0123】
図13の構成例は、コピー出力のために蓄積手段113に処理蓄積した画像データを、外部装置への出力としても利用する場合に有効である。すなわち、コピー出力のために最適化した黒文字情報の埋め込みは、そのままでは解像度変換やJPEG圧縮によって劣化してしまうのは上述した通りである。しかし、外部転送を考慮して第4の実施形態のような広範囲な無彩化などを行なうと、コピー出力にとっては画質劣化を招く恐れがある。そこで、本発明の第5の実施形態では、外部転送されるデータフォーマットに応じた黒文字情報の補正処理を第2の色成分制御手段118で実行するようにしている。
【0124】
具体的には、第2の色成分制御手段118は、蓄積手段113に蓄積されている画像信号から識別された属性情報に応じて、蓄積手段113に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送することができる。
【0125】
あるいは、第2の色成分制御手段118は、第1の分離手段103によって判定された対象画素の属性に応じて蓄積手段103に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送することもできる。
【0126】
また、第2の色成分制御手段118での制御は、第1の像域分離手段103からの黒文字分離結果c1に基づいて行っても良いし、再抽出手段(図示せず)によって画像データから埋め込まれている黒文字情報を再抽出し、再抽出した結果に基づいて行っても良い。
【0127】
ところで、上述した各実施形態において、蓄積手段113には、圧縮された画像データとともに、指定された出力条件や処理内容を情報として保存しておくことができる。指定された出力条件や処理内容を情報として保存しておく場合には、蓄積された画像データを後日、操作パネルなどからの出力指定によって再度出力する場合に有効である。蓄積された画像データに対する情報を読み出し、画質モード(文字写真モード、文字モード、写真モードなど)や原稿種モード(印画紙、印刷原稿)や施されたフィルタパラメータ、色成分の抑制に関するパラメータなどを認識することで、圧縮後段の色補正手段や中間調処理手段での処理内容を最適なものにすることができる。
【0128】
さらに、外部機器に画像信号を転送する際にも、該画像信号に施された処理内容などをヘッダ情報あるいはフッタ情報として出力できることが望ましい。具体的には、変換された解像度情報,sRGB信号であることを示す情報,JPEGクオリティ,第2の色成分制御手段における処理内容などを、前記の情報に付加して出力するようにすることができる。このようにすることによって(すなわち、画像信号を外部機器に転送する際に、該画像信号に施された処理内容をヘッダ情報に保存して外部機器に転送することによって)、再度外部から入力した場合に、ヘッダ情報に応じて的確な画像フォーマットに変換することができる。
【0129】
また、第2の像域分離手段108では、ヘッダ情報に基づいて分離方法やパラメータを変更することで、精度の高い黒文字検出(抽出)を行なうことができる。例えば、圧縮率や解像度に応じて、有彩画素判定,無彩画素判定の閾値を制御するようにすることができる。具体例として、圧縮率が高い場合には劣化が起こっている可能性が高いので、判定閾値を緩くして、より黒文字を検出しやすくする。しかし、さらに圧縮率が高い場合は、黒文字を再抽出しようとすると誤検出が非常に増えて、絵柄部分の画質劣化が著しくなるので、逆に無彩画素判定を厳しくするか、黒文字再抽出機能をOFFにする。このように、圧縮率に応じて第2の像域分離手段を最適に制御することで、トータル的な最適画質が得られるようにすることができる。
【0130】
また、解像度についても、一旦ある程度以下の低解像度画像に変換された場合は、黒文字再抽出機能をOFFにした方が好適な場合があるので、このように制御するようにすることができる。
【0131】
また、外部編集で色成分を変更する処理が行われた場合には、同じく黒文字再抽出機能をOFFにするようにすることができる。
【0132】
さらに、外部装置から入力された画像信号に黒文字情報の埋め込みについての情報が付加されていない場合や、ヘッダ情報がない場合は黒文字再抽出機能をOFFにするようにすることができる。
【0133】
換言すれば、外部機器から入力した画像データに対して第2の分離手段108によって属性の判定を行なう画像処理装置において、前記ヘッダ情報に応じて第2の分離手段108の黒文字抽出方法を制御することができる。
【0134】
また、外部機器から入力した画像データを蓄積手段113に蓄積し、蓄積手段113に蓄積された画像信号を読み出して第2の分離手段108で対象画素の属性を検出(抽出)して画像処理を施す画像処理装置において、入力された画像信号に処理内容を示すヘッダ情報が付されていないときは、第2の分離手段108による黒文字抽出を制限するかまたは行わないようにすることができる。
【0135】
このように、画像データに付加する情報に応じて、第2の像域分離手段108の使用,未使用、およびパラメータを制御することで、再現できる画質のうち最適なものを出力できるようにすることが可能となる。
【0136】
上述したように、本発明によれば、入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうことによって(より具体的には、第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行ない、第2の分離手段は、色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出(抽出)する機能を有していることによって)、黒文字情報を従来に比べて高精度に検出(再抽出)することができる。
【0137】
より具体的に、R=G=Bとして埋め込んだ黒文字情報が圧縮,伸張などによって劣化してしまい、黒文字情報の検出(再抽出)がうまく行えない場合があるが、本発明は、このようなケースにも対応した画素情報の劣化に対する耐性の強い画像処理装置を提供するため、黒文字を無彩化する以外に非黒文字画素を有彩化するようにしている。また、後段の黒文字情報の検出(抽出)の際に誤分離を起こしそうな部分や、十分な有彩画素は有彩化処理を行わないなど、必要な画素にのみ有彩化処理を施すようにしている。
【0138】
また、複数枚コピーしたり電子ソートを行なう場合は、黒文字情報を埋め込んだ画像データをハードディスク装置等の大容量記憶手段に複数ページ分、一旦蓄積し、これを読み出すことによって実現する構成があるが、このような場合こそ、分離情報をデータとして保持しない本発明の構成にすることにより、記憶手段(蓄積手段)の容量の節約およびバスへ転送するデータの少量化を図ることができる。
【0139】
さらに、記憶手段(蓄積手段)に記憶蓄積する際に、画像データを圧縮して蓄積する方法がとられるのが一般的であるが、このような場合、先に埋め込んだ黒文字情報をできるだけ劣化させないで蓄積することが必要である。本発明は、非可逆圧縮によりデータが変化してしまう場合にも、前記黒文字情報が劣化しないように前処理を行なうようにしている。
【0140】
また、蓄積手段に蓄積された画像信号などを外部に転送する際には、通常、JPEG等の圧縮手段によってさらに圧縮し出力することが行われるが、異なる圧縮方式あるいは異なる圧縮率での処理が行われるため、画像データ中に埋め込んだ黒文字情報が破損してしまうことがあった。このような場合、一旦外部に転送したデータを再度入力して出力する時や、他の同じ画像処理システムを有するMFPなどに転送して出力する時に、高品位な再生が行えなくなる。これに対し、本発明では、蓄積した信号をさらに別の圧縮手段によって圧縮し出力する場合などにも黒文字情報の保存が行えるようにするため、第2の色成分制御手段を有し、黒文字コードをより堅固な状態に補正するようにしている。
【0141】
また、本発明では、画像データを蓄積する際に、画質モードや変倍率や圧縮率など、画像データに施された画像処理内容を画像データとともにヘッダ情報などに保存することによって、黒文字の再抽出の際に最適な処理を施すのを可能にしている。
【0142】
なお、上述した各例では、第1の像域分離手段および第2の像域分離手段は、白地上の黒文字に対しては黒文字領域と判定し、網点上の黒文字に対しては黒文字領域ではないと判定するものを前提として説明を進めてきたが、この限りではない。
【0143】
第1の像域分離手段が網点や色地上の黒文字を黒文字領域と判定するものである場合にも、黒文字領域画素をR=G=Bに補正することで黒コードを埋め込み、第2の像域分離手段によってR=G=Bを抽出し、黒文字処理を行なえば同様の効果を得ることができる。また、非黒文字画素を有彩化するなどの処理も、第2の分離手段での分離精度を向上させる点で有効であり、同様の効果が得られる。
【0144】
また、上述した各例では、画像出力手段112がプリンタであるとして説明したが、画像出力手段112としては、画像出力機能を有するものであれば良く、プリンタ以外のものであっても、本発明が適用される。
【0145】
図14は本発明の画像処理装置のハードウェア構成例を示す図である。図14を参照すると、この画像処理装置は、例えばパーソナルコンピュータ等で実現され、全体を制御するCPU21と、CPU21の制御プログラム等が記憶されているROM22と、CPU21のワークエリア等として使用されるRAM23と、ハードディスク24と、スキャナなどの画像入力手段101と、画像出力手段(例えば、ディスプレイやプリンタ)112と、通信手段(例えばNIC)122とを有している。
【0146】
ここで、ハードディスク24は、蓄積手段113に対応している。また、CPU21は、前述した各手段102,103,104,105,106,107,108,109,110,111,115,116,117,118,119,120,121などの機能を有している。
【0147】
なお、CPU21におけるこのような各手段102,103,104,105,106,107,108,109,110,111,115,116,117,118,119,120,121等としての機能は、例えばソフトウェアパッケージ(具体的には、CD−ROM等の情報記録媒体)の形で提供することができる。
【0148】
また、本発明においては、各手段102,103,104,105,106,107,108,109,110,111,115,116,117,118,119,120,121等における処理をコンピュータ(CPU21)に実現させるプログラムの形で提供することができる。
【0149】
換言すれば、本発明の画像処理装置は、スキャナ,プリンタ等を備えた汎用の計算機システムにCD−ROM等の記録媒体に記録されたプログラムを読み込ませて、この汎用計算機システムのマイクロプロセッサに処理を実行させる装置構成においても実施することが可能である。この場合、本発明の処理を実行するためのプログラム(すなわち、ハードウェアシステムで用いられるプログラム)は、媒体に記録された状態で提供される。プログラムなどが記録される記録媒体としては、CD−ROMに限られるものではなく、ROM,RAM,フレキシブルディスク,メモリカード等が用いられても良い。媒体に記録されたプログラムは、ハードウェアシステムに組み込まれている記憶装置、例えばハードディスク24にインストールされ起動することにより、このプログラムを実行して、本発明の処理を実現することができる。
【0150】
また、上述の説明では、本発明を画像処理装置として説明したが、当業者にとって、本発明は、画像処理システムとして捉えることもできるし、さらには、画像処理方法として捉えることもできる。
【0151】
【発明の効果】
以上に説明したように、請求項1乃至請求項37記載の発明によれば、入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうことによって、黒文字情報を従来に比べて高精度に検出(再抽出)することができる。
【0152】
具体的には、例えば、黒文字分離結果に応じて、黒文字領域については色成分を抑制あるいは完全な無彩化をし、非黒文字領域については彩度成分を増加させる処理を施すことによって、黒文字情報を従来に比べて高精度に検出(再抽出)することができる。そして、画像データ中に黒文字分離情報を保存し、後段の第2の分離手段で彩度情報に応じて黒文字情報を検出(再抽出)するよう構成しているので、圧縮などにより発生する画素値の変化に対して余裕度の高い高精度な黒文字再抽出を行なうことができる。また、非文字領域を有彩化する方法や、色文字領域を有彩化する方法も再抽出の際の余裕度を広げることが可能となる。
【0153】
また、後段の黒文字情報の検出(抽出)の際に誤分離を起こしそうな部分や、十分な有彩画素については、有彩化処理を行わないなど、必要な画素にのみ有彩化処理を施す(有彩化する)画像領域を必要最小限に留めることにより、ほとんど全ての部分でオリジナルの色を保存するようにできる。
【0154】
また、蓄積手段に記憶蓄積する際に、画像データを圧縮して蓄積する方法がとられるのが一般的であるが、輝度色差系の信号に変換してから圧縮することで、先に埋め込んだ黒文字情報をできるだけ劣化しないで蓄積することができる。
【0155】
また、蓄積手段に蓄積された画像信号などを外部に転送する際には、通常、JPEG等の圧縮手段によってさらに圧縮し出力することが行われるが、異なる圧縮方式あるいは異なる圧縮率での処理が行われるため、画像データ中に埋め込んだ黒文字情報が破損してしまうことがあった。このような場合、一旦外部に転送したデータを再度入力して出力する時や、他の同じ画像処理システムを有するMFPなどに転送して出力する時に、高品位な再生が行えなくなる。これに対し、本発明では、蓄積した信号をさらに別の圧縮手段によって圧縮し出力する場合などにも、第2の色成分制御手段で黒文字コードをより堅固な状態に補正することで、黒文字情報の保存が行える。
【0156】
また、画像データを蓄積する際に、画質モードや変倍率や圧縮率など、画像データに施された画像処理内容を画像データとともにヘッダ情報などに保存し、再出力する際には前記情報を利用して最適な処理を行なうことによって、黒文字の検出(再抽出)を最適に行なうことができ、高画質で再出力することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態の画像処理装置の構成例を示す図である。
【図2】色成分制御手段の構成例を示す図である。
【図3】第2の像域分離手段の構成例を示す図である。
【図4】連結性判定パターンの例を示す図である。
【図5】色成分制御手段の他の構成例を示す図である。
【図6】色成分制御手段の他の構成例を示す図である。
【図7】色成分制御手段の他の構成例を示す図である。
【図8】本発明の第2の実施形態の画像処理装置の構成例を示す図である。
【図9】本発明の第3の実施形態の画像処理装置の構成例を示す図である。
【図10】色成分制御手段の他の構成例を示す図である。
【図11】色成分制御手段の他の構成例を示す図である。
【図12】本発明の第4の実施形態の画像処理装置の構成例を示す図である。
【図13】本発明の第5の実施形態の画像処理装置の構成例を示す図である。
【図14】本発明の画像処理装置のハードウェア構成例を示す図である。
【符号の説明】
21 CPU
22 ROM
23 RAM
24 ハードディスク
101 画像入力手段
112 画像出力手段
122 通信手段
102 スキャナγ補正手段
103 第1の像域分離手段(第1の分離手段)
104 エッジ量算出手段
105 フィルタ処理手段
106 色成分制御手段
107 色補正手段
108 第2の像域分離手段(第2の分離手段)
109 下色除去・墨生成手段
110 プリンタγ補正手段
111 中間調処理手段
113 蓄積手段
115 圧縮手段
116 伸張手段
117 圧縮・伸張手段
118 第2の色成分制御手段
119 解像度変換手段
120 ブロック
121 JPEG圧縮・伸張手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus, an image processing system, and an image processing method used for a printer, a digital copying machine, a facsimile, a multifunction image processing apparatus, an MFP (multifunction printer), and the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, for example, Patent Document 1 discloses an image processing apparatus that fuses an image signal and a separation signal by setting a signal value representing an achromatic color to a pixel that is a black character area. In the image processing apparatus disclosed in Patent Document 1, when an image signal and a separation signal are combined, black character pixels are corrected so that R = G = B. The pixel B is re-extracted as a black character. Further, in Patent Literature 1, in the Lab color system, a method of fusing by setting the values of the a and b signals to 0 is disclosed. Further, a method of fusing black character information by setting special values (R = 255, G = B = 0, etc.) which are not generally used in a normal color image is shown. Further, at the time of re-extraction, in order to remove erroneously detected pixels, comprehensive judgment is made using the extraction results of peripheral pixels.
[0003]
[Patent Document 1]
JP-A-8-98016
[0004]
[Problems to be solved by the invention]
As described above, conventionally (for example, in Patent Document 1), black character pixels are subjected to achromatization processing such as R = G = B or a = b = 0 in Lab, and the separation result extraction unit performs these processes. The black character information is detected (re-extracted) based on the above information. However, there is a problem that black character information cannot be detected (re-extracted) with high accuracy by the separation result extracting means only by the achromatic processing.
[0005]
An object of the present invention is to provide an image processing apparatus, an image processing system, and an image processing method that enable black character information to be detected (re-extracted) with higher accuracy than in the past.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 includes a first separation unit that determines an attribute of a target pixel with respect to an input color image signal, and a target pixel that is determined by the first separation unit. Color component control means for performing predetermined processing on the color component of the target pixel based on the attribute; and second separation means for determining the attribute of the target pixel for the image signal processed by the color component control means. The color component control means performs a predetermined process on the color component of the target pixel so as to improve the accuracy of determining the attribute of the target pixel in the second separation means.
[0007]
According to a second aspect of the present invention, in the image processing apparatus of the first aspect, the first separation unit determines whether or not the target pixel is a black character pixel as an attribute of the target pixel. The color component control means, when the first separation means determines that the target pixel is not a black character pixel, performs a chromatic process of increasing the color component of the target pixel, The second separation unit has a function of detecting a black character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0008]
According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the color component control unit determines that the target pixel is a black character pixel by the first separation unit. It is characterized in that an achromatic process for reducing or removing color components is performed.
[0009]
According to a fourth aspect of the present invention, in the image processing apparatus according to the first aspect, the first separation unit determines whether or not the target pixel is a color character pixel as an attribute of the target pixel. When the first separation unit determines that the target pixel is a color character pixel, the color component control unit performs a chromatic process for increasing the color component of the target pixel. The second separation unit has a function of detecting a color character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0010]
According to a fifth aspect of the present invention, in the image processing apparatus of the first aspect, the first separating unit determines whether or not the target pixel is a character pixel as an attribute of the target pixel. Wherein the color component control means performs chromatic processing for increasing the color component of the target pixel when the first separation means determines that the target pixel is not a character pixel, The second separation unit has a function of detecting a black character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0011]
According to a sixth aspect of the present invention, in the image processing apparatus according to any one of the first to fifth aspects, the image processing apparatus further includes a storage unit that stores the image signal processed by the color component control unit, The second separating means is characterized in that the signal stored in the storing means is read and processed.
[0012]
According to a seventh aspect of the present invention, in the image processing apparatus according to any one of the first to fifth aspects, a compression unit for performing compression processing on the image signal processed by the color component control unit is provided. Storage means for storing the image signal compressed by the compression means, and expansion means for expanding the image signal stored in the storage means, wherein the second separation means expands the image signal by the expansion means. It is characterized in that processing is performed on the processed image signal.
[0013]
According to an eighth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the compression means performs irreversible compression processing.
[0014]
According to a ninth aspect of the present invention, in the image processing apparatus according to the eighth aspect, the compression means converts the image signal into a luminance / color difference signal and then compresses the image signal. I have.
[0015]
According to a tenth aspect of the present invention, in the image processing device according to any one of the first to ninth aspects, the chromatic processing in the color component control means is performed when the color component of the pixel to be processed is a predetermined color component. It is characterized in that the color component is increased only when the value is smaller than the value.
[0016]
According to an eleventh aspect of the present invention, in the image processing device according to any one of the first to ninth aspects, the color component control unit detects a black character pixel by the second separation unit. In addition, for an image region in which a pixel that is not a black character pixel is likely to be erroneously detected as a black character pixel, the color component may be increased more than in other regions, or a black character pixel may be erroneously detected. It is characterized in that the color component is increased only for a high image area.
[0017]
According to a twelfth aspect of the present invention, in the image processing apparatus according to any one of the first to third and fifth to eleventh aspects, the first separating unit is arranged on a white background area. Has a function of determining a black character pixel or a black line image pixel as a black character pixel, and the second separating unit has a function of determining a pixel which is adjacent to the white pixel region and is substantially achromatic as a black character pixel. It is characterized by having.
[0018]
According to a thirteenth aspect of the present invention, in the image processing apparatus according to any one of the first to twelfth aspects, the image signal that has been subjected to predetermined processing by the color component control means is transmitted to a system or a user. A processing function of converting the image data into a predetermined image format specified by the control unit and transferring the converted image data to an external device, and controlling the color component control unit according to the specified predetermined image format. I have.
[0019]
According to a fourteenth aspect of the present invention, in the image processing apparatus according to the thirteenth aspect, as a control of the color component control means according to the predetermined image format, the area of the black character pixel determined by the first separation means is controlled. This is characterized in that the control includes a control for expanding the region as a region to be achromatic to a peripheral region.
[0020]
According to a fifteenth aspect of the present invention, in the image processing apparatus according to any one of the sixth to ninth aspects, the image signal stored in the storage means is stored in a predetermined format designated by a system or a user. A processing unit for converting the image data into an image format and transferring the converted image data to an external device, wherein the processing unit is stored in the storage unit according to the attribute information identified from the image signal stored in the storage unit. A second color component control unit for performing chromatic and / or achromatic processing again on the image signal, wherein the second color component control unit discriminates the image signal from the image signal stored in the storage unit The image signal stored in the storage means is subjected to chromatic and / or achromatic processing again in accordance with the attribute information thus obtained, and transferred to an external device. .
[0021]
According to a sixteenth aspect of the present invention, in the image processing apparatus according to any one of the sixth to ninth aspects, the image signal stored in the storage unit is stored in a predetermined format designated by a system or a user. Processing means for converting the image signal into an image format and transferring the image signal to an external device, wherein the processing means converts the image signal stored in the storage means according to the attribute of the target pixel determined by the first separation means. Second color component control means for performing chromatic and / or achromatic processing again on the other hand, wherein the second color component control means adjusts the attribute of the target pixel determined by the first separation means. Accordingly, the image signal stored in the storage means is subjected to chromatic and / or achromatic processing again and transferred to an external device.
[0022]
According to a seventeenth aspect of the present invention, in the image processing device according to any one of the first to sixteenth aspects, when the image signal is transferred to an external device, the processing content applied to the image signal Is stored in header information and transferred to an external device.
[0023]
The invention according to claim 18 is the image processing apparatus according to claim 17, wherein the attribute of the image data input from an external device is determined by the second separating unit. It is characterized in that a black character extracting method of the second separating means is controlled according to the header information.
[0024]
According to a nineteenth aspect of the present invention, in the image processing apparatus according to the eighteenth aspect, image data input from an external device is stored in the storage unit, and an image signal stored in the storage unit is read out to read the second image data. An image processing apparatus for performing image processing by detecting an attribute of a target pixel by a separating unit, wherein when the input image signal does not include header information indicating the processing content, black character extraction by the second separating unit is performed. Is restricted or not performed.
[0025]
According to a twentieth aspect of the present invention, a first separating unit that determines an attribute of a target pixel with respect to an input color image signal, and a target pixel based on the attribute of the target pixel determined by the first separating unit. A color component control unit for performing a predetermined process on a color component of the pixel; and a second separation unit for determining an attribute of a target pixel with respect to the image signal processed by the color component control unit; Is characterized in that a predetermined process is performed on the color component of the target pixel so that the attribute determination accuracy of the target pixel in the second separating means is improved.
[0026]
According to a twenty-first aspect of the present invention, in the image processing system according to the twentieth aspect, the first separating unit determines whether or not the target pixel is a black character pixel as an attribute of the target pixel. The color component control means, when the first separation means determines that the target pixel is not a black character pixel, performs a chromatic process of increasing the color component of the target pixel, The second separation unit has a function of detecting a black character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0027]
According to a twenty-second aspect of the present invention, in the image processing system according to the twenty-first aspect, the color component control unit determines that the target pixel is a black character pixel by the first separation unit. It is characterized in that an achromatic process for reducing or removing color components is performed.
[0028]
According to a twenty-third aspect of the present invention, in the image processing system according to the twentieth aspect, the first separation unit determines whether the target pixel is a color character pixel as an attribute of the target pixel. When the first separation unit determines that the target pixel is a color character pixel, the color component control unit performs a chromatic process for increasing the color component of the target pixel. The second separation unit has a function of detecting a color character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0029]
According to a twenty-fourth aspect of the present invention, in the image processing system according to the twentieth aspect, the first separating means determines whether or not the target pixel is a character pixel as an attribute of the target pixel. Wherein the color component control means performs chromatic processing for increasing the color component of the target pixel when the first separation means determines that the target pixel is not a character pixel, The second separation unit has a function of detecting a black character pixel by analyzing at least a color component of the image signal processed by the color component control unit.
[0030]
According to a twenty-fifth aspect of the present invention, in the image processing system according to any one of the twentieth to twenty-fourth aspects, the image processing system further includes a storage unit that stores the image signal processed by the color component control unit. The second separating means is characterized in that the signal stored in the storing means is read and processed.
[0031]
According to a twenty-sixth aspect of the present invention, in the image processing system according to any one of the twentieth to twenty-fourth aspects, the image processing system further includes a compression unit configured to perform a compression process on the image signal processed by the color component control unit. Storage means for storing the image signal compressed by the compression means, and expansion means for expanding the image signal stored in the storage means, wherein the second separation means expands the image signal by the expansion means. It is characterized in that processing is performed on the processed image signal.
[0032]
According to a twenty-seventh aspect of the present invention, in the image processing system according to the twenty-sixth aspect, the compression means performs irreversible compression processing.
[0033]
According to a twenty-eighth aspect of the present invention, in the image processing system according to the twenty-seventh aspect, the compression means converts the luminance and chrominance signals into a signal and then compresses the image signal. I have.
[0034]
According to a twentieth aspect of the present invention, in the image processing system according to any one of the twentieth to twenty-eighth aspects, the color component control unit performs the chromatic processing in which a color component of a pixel to be processed is a predetermined color component. It is characterized in that the color component is increased only when the value is smaller than the value.
[0035]
According to a thirtieth aspect of the present invention, in the image processing system according to any one of the twentieth to twenty-eighth aspects, the color component control means may detect a black character pixel by the second separation means. In addition, for an image region in which a pixel that is not a black character pixel is likely to be erroneously detected as a black character pixel, the color component may be increased more than in other regions, or a black character pixel may be erroneously detected. It is characterized in that the color component is increased only for a high image area.
[0036]
According to a thirty-first aspect of the present invention, in the image processing system according to any one of the twentieth to thirty-third aspects, the image signal that has been subjected to the predetermined processing by the color component control means is transmitted to a system or a user. A processing function of converting the image data into a predetermined image format specified by the control unit and transferring the converted image data to an external device, and controlling the color component control unit according to the specified predetermined image format. I have.
[0037]
According to a thirty-second aspect of the present invention, in the image processing system according to any one of the twenty-fifth to twenty-eighth aspects, the image signal stored in the storage means is stored in a predetermined format designated by a system or a user. A processing unit for converting the image data into an image format and transferring the converted image data to an external device, wherein the processing unit is stored in the storage unit according to the attribute information identified from the image signal stored in the storage unit. A second color component control unit for performing chromatic and / or achromatic processing again on the image signal, wherein the second color component control unit discriminates the image signal from the image signal stored in the storage unit The image signal stored in the storage means is subjected to chromatic and / or achromatic processing again in accordance with the attribute information thus obtained, and transferred to an external device. That.
[0038]
The invention according to claim 33 determines the attribute of the target pixel with respect to the input color image signal, performs a predetermined process on the color component of the target pixel based on the determined attribute of the target pixel, The attribute of the target pixel is determined for the image signal obtained by performing the predetermined process on the color component of the pixel, and the predetermined process is performed on the color component of the target pixel so that the attribute determination accuracy of the target pixel is improved. It is characterized by doing so.
[0039]
According to a thirty-fourth aspect of the present invention, in the image processing method according to the thirty-third aspect, it is determined whether or not the target pixel is a black character pixel as an attribute of the target pixel. , Which is characterized in that chromatic processing for increasing the color component of the target pixel is performed.
[0040]
According to a thirty-fifth aspect of the present invention, in the image processing method according to the thirty-fourth aspect, when the target pixel is determined to be a black character pixel, an achromatic process for reducing or removing a color component of the target pixel is performed. It is characterized by:
[0041]
According to a thirty-sixth aspect of the present invention, in the image processing method according to the thirty-third aspect, it is determined whether or not the target pixel is a color character pixel as an attribute of the target pixel, and the target pixel is determined to be a color character pixel. Then, chromatic processing for increasing the color component of the target pixel is performed.
[0042]
According to a thirty-seventh aspect of the present invention, in the image processing method according to the thirty-third aspect, it is determined whether or not the target pixel is a character pixel as an attribute of the target pixel. , Which is characterized in that chromatic processing for increasing the color component of the target pixel is performed.
[0043]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0044]
(1st Embodiment)
FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus according to a first embodiment of the present invention. Referring to FIG. 1, the image processing apparatus according to the first embodiment includes an image input unit 101, a scanner γ correction unit 102, a first image area separation unit (first separation unit) 103, an edge amount Calculation means 104, filter processing means 105, color component control means 106, color correction means 107, second image area separation means (second separation means) 108, under color removal / black generation means 109 Printer gamma correction unit 110, halftone processing unit 111, and image output unit 112.
[0045]
In the image processing apparatus according to the first embodiment, the following processing is performed. That is, a document optically read by the image input means 101 such as a scanner is converted into an 8-bit digital image signal of rgb and output. The output image signal is input to the scanner γ correction unit 102, and the reflectance linear RGB signal is converted into a linear density RGB signal by an LUT (look-up table) or the like. At this time, gray balance is obtained, and when the pixel values of R, G, and B are equal, adjustment is made so that the color becomes gray.
[0046]
The image signal rgb from the image input means 101 is simultaneously input to the first image area separation means 103, and the image input to the first image area separation means 103 is converted into a black character image area by the first image area separation means 103. And a color character image area and other picture area. Note that the picture area refers to a halftone image area (characters on halftone dots are identified as picture areas), a continuous tone image area, and a background area.
[0047]
Here, the first image area separation unit 103 performs an image area separation process by an image area separation method as disclosed in, for example, Japanese Patent No. 3153221 or Japanese Patent Application Laid-Open No. 5-48892. That is, in the above image area separation method, comprehensive determination is made based on edge area detection, halftone dot area detection, white background area detection, and chromatic / achromatic area detection, and a character on a white background is determined as a character area. Then, the halftone image or the continuous tone image including the character on the halftone dot is determined as a picture region (region other than the character). As for the character area, a chromatic / achromatic area is detected to further determine a black character area and a color character area. In FIG. 1, the separation signal s1 input to the filter processing unit 105 is a signal indicating a character area (character image area). The signal c1 input to the color component control means 106 is a signal indicating a black character area (black character image area).
[0048]
The edge amount calculation means 104 calculates an edge amount e1 indicating the degree of the edge of the input image using the g signal.
[0049]
The filter processing unit 105 adaptively performs edge enhancement processing on the RGB image signal from the scanner γ correction unit 102 based on the determination result s1 by the first image area separation unit 103 and the edge amount e1 by the edge amount calculation unit 104. Alternatively, a smoothing process is performed. Specifically, a uniform edge enhancement filter is applied to the character area (both black and color characters) of the RGB image signal, and a smoothing filter is applied to the picture area, and then the adaptation based on the edge amount. Perform edge enhancement processing. By such a filtering process, it is possible to satisfy sharpness in a character portion, to suppress moiré in a halftone dot portion in a picture portion, and to satisfy sharpness in a character on a halftone dot.
[0050]
The color component control means 106 controls the color components of the image signal from the filter processing means 105 based on the black character separation result (black character area signal) c1 from the first image area separation means 103. It has become.
[0051]
FIG. 2 is a diagram illustrating a configuration example of the color component control unit 106. In the example of FIG. 2, the color component control unit 106 outputs an average value unit 1061 to 1063 for obtaining an average value of the input RGB signals, and outputs the average value signal from the average value units 1061 to 1063 and the original RGB signal. and a selector 1064 for switching based on c1. More specifically, the selector 1064 selects an output from the average value means 1061 to 1063 for a pixel determined to be a black character based on the signal c1, and selects an output from the average value means 1061 to 1063 for a pixel determined to be not a black character. Is designed to select and output a signal value from the filter processing means 105. In the example shown in FIG. 2, if the pixel is a black character pixel, R ′ = G ′ = B ′ = ave (R, G, B), and all the pixels have the same value, so that a black character is obtained. The signal indicates that there is. That is, the color component control means 106 embeds the black character code in the image as R ′ = G ′ = B ′ = ave (R, G, B).
[0052]
The image signal R'G'B 'from the color component control means 106 is input to a color correction means 107. The color correction means 106 converts the RGB signals into CMY signals suitable for a printer color material by a masking operation or the like. Is converted to a signal. Various methods are conceivable as the color correction processing. Here, it is assumed that a masking operation such as the following equation (Equation 1) is performed.
[0053]
(Equation 1)
C = α11 × R + α12 × G + α13 × B + β1
M = α21 × R + α22 × G + α23 × B + β2
Y = α31 × R + α32 × G + α33 × B + β3
[0054]
In Equation 1, α11 to α33 and β1 to β3 are predetermined color correction coefficients, and the output CMY is also an 8-bit (0 to 255) signal.
[0055]
Further, the image data from the color component control means 106 is also input to the second image area separation means 108, and the second image area separation means 108 detects (re-extracts) a black character pixel. .
[0056]
FIG. 3 is a diagram illustrating a configuration example of the second image area separation unit 108. In the example of FIG. 3, the second image area separation unit 108 includes a black candidate pixel detection unit 1081, a connectivity determination unit 1082, a white pixel detection unit 1083, a 3 × 3 expansion processing unit 1084, and a logical product. It has circuits 1085, 1087 and 5 × 5 expansion processing means 1086.
[0057]
The black character pixel detection processing (re-extraction processing) in the second image area separation means 108 is performed as follows. That is, for the R′G′B ′ signal, the black candidate pixel detection unit 1081 determines whether the target pixel satisfies R = G = B and G> th1, and determines whether the target pixel R = G = B and If G> th1, 1 is output as a black candidate pixel. Here, th1 is a density threshold value for determining the black level. In this way, the black candidate pixel detection means 1081 detects black pixels having a predetermined density or higher. The detection result of the black candidate pixel detection unit 1081 is input to the connectivity determination unit 1082, and the connectivity determination unit 1082 performs pattern matching based on, for example, a pattern as shown in FIG. Due to the nature of the character image, the pixels constituting the black character (black character pixels) do not exist as isolated one dot or two dots. In other words, the character is characterized in that continuous black pixels are arranged in continuous white pixels. For example, the separating means disclosed in Japanese Patent No. 3153221 also incorporates pattern matching utilizing its properties, and if such detection is performed in the former stage, black pixels will not be isolated in black character portions. I can say that. Therefore, in the example of FIG. 4, pattern matching is performed using a connectivity determination pattern of 3 × 3 pixels, and a pixel in which three black candidate pixels are connected in any of the vertical, horizontal, and oblique directions sandwiching the target pixel. , Other isolated pixels can be removed. In the connectivity judgment, since the target pixel is the center of the 3 × 3 pixel, one black pixel is missing at the end point of the line or at the corner of the broken line / curve. There is no problem since it is detected as a black character. By performing the connectivity determination as described above, it is possible to prevent R = G = B pixels scattered in a picture from being erroneously determined as black characters.
[0058]
Further, in the configuration example of FIG. 3, the detection accuracy is further improved by the white pixel detection unit 1083. That is, as described above, since the black character area indicates a black character on a white background, a feature that a white pixel is present around a black character pixel is used. The white pixel detection means 1083 determines whether the pixel satisfies R = G = B and G <th2, and outputs 1 as a white pixel if R = G = B and G <th2. Further, the detected white pixels are expanded by 3 × 3 by the expansion processing means 1084, and the logical product circuit 1085 calculates the logical product of the white pixels and the signal output from the connectivity determining means 1082. The white pixel is an area that is expanded by one pixel from the original white pixel by 3 × 3 expansion, and by taking the logical product with the black character candidate pixel, the black pixel area adjacent to the white background can be detected. A black block similar to a black character scattered in a picture has no white pixels around it, and can be removed here.
[0059]
As described above, the signal from which the R = G = B pixels other than the black character have been removed is expanded by the 5 × 5 expansion processing unit 1086 (expanded into a black character area having a width of 5 dots). By taking the logical product with the signal output from the connectivity judging means 1082, the black character area (two dots) protruding to the white background side is excluded. The black character separation signal c2 detected as described above is a region having a width of 3 dots in the outline of the black character on a white background, and is output for use in subsequent processing.
[0060]
As a filtering process performed before the second image area separating unit 108, a sufficient emphasizing process is performed on characters on a white background, and a white spot generated around the characters is left as it is. The detection (re-extraction) of the above-described black character pixels can be performed with high accuracy by using a mechanism that prevents white spots that occur during emphasis on black characters on the ground.
[0061]
The image signal from the color correction unit 107 is converted into a CMYK signal by the under color removal / black generation unit 109. Under color removal / black generation means 109 generates a K signal as a black component and performs under color removal (UCR) from the CMY signals. Here, the under-color removal / black generation means 109 performs different under-color removal / black generation for black character pixels and other pixels based on the black character separation result c2 from the second image area separation means 108. It has become.
[0062]
The generation of the K signal and the removal of the undercolor from the CMY signals for the pixels that are not black character pixels (non-black character pixels) are performed as in the following equation.
[0063]
(Equation 2)
K = Min (C, M, Y) × β4
C ′ = CK × β5
M ′ = M−K × β5
Y ′ = Y−K × β5
[0064]
Here, Min (C, M, Y) is the smallest of the CMY signals, and β4 and β5 are 8-bit signals with predetermined coefficients. The generation of the K signal for the black character pixel and the removal of the under color from the CMY signal are performed as follows.
[0065]
[Equation 3]
K = Min (C, M, Y)
C '= 0
M '= 0
Y '= 0
[0066]
As described above, since the black character pixel is reproduced with the single color of the K toner, the color misregistration due to the color misregistration and the lowering of the resolution are not caused, and the good black character quality can be obtained.
[0067]
The signal processed by the under color removal / black generation means 109 is subjected to γ correction according to the printer engine characteristics by the printer γ correction means 110, and further subjected to halftone processing by the halftone processing means 111, and image output is performed. It is output at the means 112.
[0068]
In the configuration example of FIG. 1, the halftone processing unit 111 is configured to switch the halftone processing method using the separation result c2 by the second image area separation unit 108. That is, the halftone processing unit 111 more specifically performs, for example, an error diffusion process that is advantageous in reproducing character sharpness on a pixel determined as a black character, and determines that the pixel is a non-black character such as a picture portion. Pixels are subjected to dither processing that is advantageous for graininess and gradation reproducibility. In the present example, such switching is performed, but there is no problem even if the entire surface is processed by the error diffusion processing.
[0069]
As described above, in the first embodiment, based on the separation result of the first separation unit 103, the process of reducing the color components by setting the black character pixels (black character region pixels) to R = G = B is performed. The second separating means 108 detects (re-extracts) black character pixels based on the R = G = B information, and performs processes such as lower color removal and black generation based on the detected (re-extracted) black character pixel information. By doing so, high-quality image reproduction can be realized.
[0070]
In the above processing example, the color component of the black character pixel is completely set to 0, but the present invention is not limited to this. For example, the color components can be suppressed by the color component suppression unit 106 so that the value of ΔRGB is equal to or less than a predetermined value. In this case, the second image area separation unit 108 performs detection of black candidate pixels. In this case, it is only necessary to determine that a pixel whose ΔRGB is equal to or less than a predetermined threshold value is a black candidate pixel. By doing so, even if the image after the color component suppression processing is displayed on a monitor such as a PC without completely achromatic colors, the uncomfortable feeling of the black character image can be relatively reduced.
[0071]
As described above, the present invention provides a first separating unit that determines an attribute of a target pixel with respect to an input color image signal, and a target pixel based on the attribute of the target pixel determined by the first separating unit. Color component control means for performing a predetermined process on the color component, and a second separation means for determining the attribute of the target pixel for the image signal processed by the color component control means, in this case, The color component control means performs a predetermined process on the color component of the target pixel so that the attribute determination accuracy of the target pixel in the second separation means is improved.
[0072]
Specifically, as a first example of the present invention, the first separating unit has a black character pixel determination function of determining whether or not the target pixel is a black character pixel as an attribute of the target pixel, and performs color component control. When the first separation unit determines that the target pixel is not a black character pixel, the unit performs chromatic processing for increasing the color component of the target pixel. It has a function of detecting (extracting) a black character pixel by analyzing at least a color component of the image signal processed by the control means.
[0073]
That is, in the first example, the color component control unit 106 increases the color components of the non-black character pixels. By doing so, it is possible to reduce the possibility of detecting (extracting) black characters erroneously in the picture portion and to perform highly accurate black character detection (extraction).
[0074]
FIG. 5 is a configuration diagram of the color component control unit 106 of the first example. Referring to FIG. 5, in a block 1065, the color component control means 106 converts the input RGB signal into a YUV signal of a luminance color signal. Here, the conversion formula of RGB → YUV is as follows.
[0075]
(Equation 4)
Y = (R + 2G + B) / 4
U = (R−G) / 2
V = (BG) / 2
[0076]
In the YUV signal, the Y signal is a signal representing luminance, and the U and V signals are signals representing saturation. That is, Equation 4 is a conversion formula in which if the achromatic color, that is, R = G = B, the values of U and V both become 0. In blocks 1066 to 1068 for converting the saturation component, the color components of the YUV signal converted in block 1065 are changed.
[0077]
Here, the block 1068 is an achromatic unit that outputs the U component as 0. Similarly, a block 1069 is an achromatic unit that outputs the V component as 0. On the other hand, a block 1066 adds and outputs a predetermined value k to U when U is 0 or positive, and subtracts and outputs k when U is negative, thereby increasing the saturation. It is a chromatic means. It is desirable that k is a small value at a level at which a color change cannot be visually recognized and is an appropriate value that is sufficiently determined to be a chromatic pixel by the second image area separation at the subsequent stage. . Similarly, a block 1067 is a chromatic-coloring unit for chromatic-coloring V. The Y signal from the block 1065 is output to the selector 1064 without performing any processing.
[0078]
The selector 1064 performs switching based on the black character separation signal c1 from the first image area separation unit 103. That is, if the black character separation signal c1 from the first image area separation unit 103 indicates a black character pixel, the selector 1064 selects the output from the achromatic units 1068 and 1069 to indicate a non-black character pixel. If there is, the output from the chromatic means 1066 and 1067 is selected. Next, the signal Y and the output signals U ′ and V ′ from the selector 1064 are converted into an R′G′B ′ signal whose color component is controlled in a block 1070 that performs an inverse conversion from YUV to RGB and output. Here, the conversion formula of YUV → RGB is as follows.
[0079]
(Equation 5)
G = Y- (2U + 2V) / 4
R = 2U + G
B = 2V + G
[0080]
With the configuration as shown in FIG. 5, even if there is an achromatic color or a signal very close to an achromatic color in a non-black character portion, the signal is chromaticized by a necessary and sufficient amount by the chromaticizing means. It is possible to improve the re-extraction accuracy (detection accuracy) of black characters in the subsequent stage without giving an impression that the color has changed.
[0081]
Further, as a second example of the present invention, the first separation unit has a color / character pixel determination function of determining whether or not the target pixel is a color / character pixel as an attribute of the target pixel. When the first separation unit determines that the target pixel is a color character pixel, it performs chromatic processing for increasing the color component of the target pixel. It has a function of detecting (extracting) a color character pixel by analyzing at least a color component of the image signal processed by the component control means.
[0082]
FIG. 6 is a configuration diagram of the color component control means 106 of the second example. Referring to FIG. 6, this color component control means 106 also has chromatic blocks 1066 and 1067 similar to FIG. 5, and is configured to increase the saturation. In another path, the input U and V signals are directly input to the selector 1064. The selector 1064 switches between them based on the color / character separation signal c3 determined by the first separation means 103. That is, the selector 1064 selects a signal from the chromatic blocks 1066 and 1067 for a color character pixel, and selects a through signal for a non-color character pixel.
[0083]
By increasing the saturation of the color character in this manner, it is less likely that the color character is erroneously determined as a black character in the second separation at the subsequent stage, and the accuracy of the detection (re-extraction) of the black character pixel can be improved.
[0084]
Further, as a third example of the present invention, the first separation unit has a character pixel determination function of determining whether or not the target pixel is a character pixel as an attribute of the target pixel, and the color component control unit includes: When the first separation unit determines that the target pixel is not a character pixel, a chromatic process for increasing the color component of the target pixel is performed, and the second separation unit is controlled by the color component control unit. It has a function of detecting (extracting) a black character pixel by analyzing at least a color component of the processed image signal.
[0085]
FIG. 7 is a configuration diagram of the color component control unit 106 of the third example. FIG. 7 is different from FIG. 6 in the separation signal input to the selector 1064, and the other configuration is the same as that in FIG. That is, in FIG. 7, the character separation result s1 is input to the selector 1064. Referring to FIG. 7, the color component control means 106 of the third example selects signals from the chromatic blocks 1066 and 1067 for non-character pixels, thereby increasing the saturation of the non-character pixels. On the other hand, pixels determined to be characters (that is, pixels of black characters and color characters) are skipped without controlling the saturation component. By doing so, it is less likely that the achromatic pixel in the picture area is erroneously extracted as a black character.
[0086]
As described above, in the present invention, as in the first, second, and third examples, the color component control unit 106 controls the target component so that the attribute determination accuracy of the target pixel in the second separation unit 108 is improved. By performing a predetermined process on the color components of the pixels, black character information can be detected (re-extracted) with higher accuracy than in the past.
[0087]
Note that the processes described above can be combined. For example, the color component control unit 106 performs the achromatic process of reducing or removing the color component of the target pixel when the first separation unit 103 determines that the target pixel is a black character pixel, according to the first example. (I.e., when the first separation unit 103 determines that the target pixel is a black character pixel, an achromatic process for reducing or removing the color component of the target pixel is performed. If the separation unit determines that the target pixel is not a black character pixel, chromatic processing for increasing the color component of the target pixel can be performed.) Alternatively, it is also possible to perform achromatic processing on black character pixels, pass through color character pixels, and perform chromatic processing on non-character areas.
[0088]
Further, in the configuration example of FIG. 1, it is possible to provide the second separating unit 108 with a separating circuit having the same configuration as the first separating unit 103 to determine a black character. Since the circuit configuration is very large, there is a problem that hardware cost is increased. On the other hand, according to the present invention, information is embedded in the image data according to the result of the first separating means 103, and the data is processed (colorized and / or colored) so that the separating circuit at the subsequent stage can be simplified. Performing (achromatization) makes it possible to use a separated signal with low hardware cost and high accuracy in the post-processing.
[0089]
(Second embodiment)
FIG. 8 is a diagram illustrating a configuration example of the image processing apparatus according to the second embodiment of the present invention. Referring to FIG. 8, in the image processing apparatus of the second embodiment, in the image processing apparatus of FIG. 1, the output from the color component control unit 106 is temporarily stored in the storage unit 113, and the output is stored in the storage unit 113. The signal is read out and the processing after the color correction means 107 and the second image area separation means 108 is performed. That is, in the second embodiment (in the image processing apparatus of FIG. 8), each processing means 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112 other than the storage means 113 is used. Is the same as that of the first embodiment (the image processing apparatus of FIG. 1).
[0090]
As described above, in the second embodiment of the present invention, the image processing apparatus according to the first embodiment includes the storage unit 113 that stores the image signal processed by the color component control unit 106, and performs the second separation. The means 108 reads out the signal stored in the storage means 113 and performs processing.
[0091]
Generally, image data is temporarily stored in a copy job or the like for a plurality of sheets. However, the present invention employs a configuration in which black character separation information is embedded in image data, so that it is not necessary to separately store a separation signal ( In the configuration of FIG. 8, there is no need to provide a storage unit for storing the separated signal separately from the storage unit 113), and the memory capacity can be saved.
[0092]
(Third embodiment)
FIG. 9 is a diagram illustrating a configuration example of an image processing apparatus according to the third embodiment of the present invention. Referring to FIG. 9, the image processing apparatus of the third embodiment differs from the image processing apparatus of FIG. 1 in that the output from the color component control means 106 is compressed by a compression means 115 and stored in a storage means 113. The signal stored in the means 113 is read out, expanded by the expansion means 116, and the processing after the color correction means 107 and the second image area separation means 108 is performed. That is, in the third embodiment (in the image processing apparatus of FIG. 9), each processing means 101, 102, 103, 104, 105, 106, 107, 108 other than the compression means 115, the storage means 113, and the decompression means 116. , 109, 110, 111, and 112 are the same as those of the first embodiment (the image processing apparatus of FIG. 1).
[0093]
As described above, according to the third embodiment of the present invention, in the image processing apparatus of the first embodiment, the compression unit 115 that performs compression processing on the image signal processed by the color component control unit 106, and the compression unit 115 And a decompression unit 116 for decompressing the image signal stored in the storage unit 113. The second separation unit 108 is decompressed by the decompression unit 116. It is characterized in that processing is performed on the image signal.
[0094]
Here, the compression unit 115 may perform a lossless compression process or may perform a lossy compression process. However, it is preferable to use the irreversible compression processing method in consideration of the number of data stored in the storage unit 113 and the data transfer rate. However, in this case, in the irreversible compression, the black character information embedded by the color component control unit 106 and the chromatic processing for improving the accuracy of re-extraction are distorted due to deterioration due to compression and expansion. Although the degree of the signal level change depends on the compression processing method, the applied filter characteristics, the type of the original, and the like, the second image area separation unit 108 cannot sufficiently detect (re-extract) black character information. For this purpose, it is necessary to control the color components according to the compression processing method of the compression means 115.
[0095]
Further, it is desirable that the compression means 115 compresses the image signal after converting it into a luminance / color difference signal. As described above, since the process of embedding black character separation information by achromaticizing black characters is performed, it is desirable that the change in the saturation component in the black character portion due to compression and expansion is as small as possible. If the image signal is converted into a luminance / color difference signal such as YUV, the chroma component in the black character portion becomes 0, and is less susceptible to deterioration due to compression and expansion. In a configuration in which RGB signals are compressed for each plate, if any of the R, G, and B signals changes due to compression deterioration, achromatic pixels become chromatic. In the case of YUV, even if a change occurs in Y, if there is no change in U and V, it is still achromatic. For the reasons described above, it is desirable that the compression unit 115 compresses an image signal after converting the signal into a luminance / color difference signal.
[0096]
In the first, second, and third embodiments described above, the chromatic processing in the color component control unit 106 increases the color components only when the color components of the processing target pixel are smaller than a predetermined value. Can be.
[0097]
In FIG. 5, control is performed so that non-black character pixels are uniformly colored. Although the saturation control is such that it cannot be visually recognized, desirably, the user does not want to change the saturation. To cope with this, in order to minimize the portion for controlling the color components, the chromatic processing in the color component control means 106 increases the color components only when the color components of the processing target pixel are smaller than a predetermined value. You can make it.
[0098]
FIG. 10 illustrates a configuration example of the color component control unit 106 that increases the color component only when the color component of the processing target pixel is smaller than a predetermined value. That is, in the example of FIG. 10, the color component control unit 106 is configured to increase the color component only when the saturation component is smaller than the predetermined value among the input non-black character pixels. For example, in block 1066 in FIG. 10, when the absolute value of the U component is 2 or less, control is performed so that the saturation component is increased by k. However, when the absolute value of the U component is larger than 2, processing is not performed. Has become. The same applies to block 1067. That is, in the example of FIG. 10, pixels having sufficient saturation are not erroneously detected (re-extracted) as black characters, so that the through-hole is sufficient, and pixels close to an achromatic pixel that may be erroneously determined to be black characters. Only try to colorize. In this way, the chromatic processing can be minimized and the color reproducibility can be guaranteed.
[0099]
In the first, second, and third embodiments described above, the color component control unit detects (extracts) a black character pixel using the second separation unit 108 for the same purpose as that described with reference to FIG. At this time, for an image area in which a pixel that is not a black character pixel is likely to be erroneously detected (extracted) as a black character pixel, a color component is increased more than other regions, or a black character pixel is erroneously detected. It is possible to increase the color component only for an image region that is likely to be (extracted). Accordingly, it is possible to minimize the control of the color components other than the black character pixels by the color component control unit 106.
[0100]
That is, the second image area separation unit 108 shown in FIG. 3 detects (re-extracts) black character information by detecting an R = G = B pixel block adjacent to a white pixel. With such a simple detection method, when there is a gray image on a white background, it may be erroneously determined to be a black character. For example, a monochrome photograph pasted on white paper corresponds to this case. Even in the case of a monochrome image, in most cases, pixels where R = G = B rarely exist as a block, and the separating means in FIG. 3 determines only a 3-dot width adjacent to a white background as a black character area. Although there is substantially no problem, it is preferable not to make such an erroneous determination for higher-quality image reproduction.
[0101]
For this reason, in the present invention, the image area that is likely to be erroneously determined by the image area separation unit 108 in the subsequent stage is detected in advance, and correction is performed so that erroneous determination is not caused only in this image area. In a limited area.
[0102]
FIG. 11 illustrates another example of an image area in which it is highly likely that a pixel that is not a black character pixel is erroneously detected (extracted) as a black character pixel when the second separation unit 108 detects (extracts) a black character pixel. A configuration example of the color component control unit 106 that increases the color component more than the region of the color region or increases the color component only in an image region that is likely to be erroneously detected (extracted) as a black character pixel is shown. ing. In other words, in the example of FIG. 11, the color component control unit 106 includes, in addition to the portion A of the achromatic unit for the black character pixels, a portion B that detects a portion in which erroneous separation is likely to occur in the subsequent image area separation and performs correction. Have.
[0103]
In the configuration example of FIG. 11, a signal obtained by subjecting a black character pixel to achromatization by the selector 1064 is input to the third image area separation unit 1073. The third image area separating unit 1073 has the same configuration as the above-described second image area separating unit 108 (FIG. 3), and is configured to detect an achromatic pixel block on a white background. The difference between the black character separation result c4 detected by the third image area separation unit 1073 and the original black character separation result c1 is detected by the difference determination unit 1074, and the difference determination unit 1074 sets the image area erroneously determined to be c5. To detect. Then, the image area c5 which is erroneously determined is subjected to chromaticization by the chromaticization means 1071 and 1072, and is output in block 1070.
[0104]
Here, in the third image area separating unit 1073, the parameter of black character detection (re-extraction) may be set as a parameter that makes it easier to detect a black character. By doing so, it is possible to detect in advance a portion where the number of erroneous detections increases due to deterioration of the image due to the compression / expansion means.
[0105]
As described above, the color component control unit 106 in FIG. 11 can chromaticize a region that is likely to be erroneously detected by the second image area separation unit 108 at the subsequent stage, and can increase the margin for erroneous detection. In addition, the chromatic portion can be minimized.
[0106]
In the configuration example of FIG. 11, an example is shown in which a detection unit having the same configuration as the second image area separation unit 108 is used for the third separation unit 1073. However, as in this example, an achromatic pixel or a white pixel on a white background is used. If it is known that a pixel close to achromatic is likely to be erroneously detected, the result of the detection of the white background area from the first image area separating unit 103 and the black character can be obtained without providing the third separating unit 1073. Based on the detection result and the almost achromatic pixel information, it is also possible to specify an area to be chromatic in advance.
[0107]
(Fourth embodiment)
According to a fourth embodiment of the present invention, in the image processing apparatus of the first, second, and third embodiments described above, the image signal subjected to predetermined processing by the color component control unit 106 is transmitted by the system or the user. A processing function of converting the image data into a specified image format (compression method, compression ratio, image resolution, color space) and transferring the converted image data to an external device; Is controlled.
[0108]
Here, the control of the color component control unit according to the predetermined image format includes a control of expanding the black character pixel area determined by the first separation unit 103 as a region to be achromatic to a peripheral region. I have.
[0109]
FIG. 12 is a diagram illustrating a configuration example of an image processing apparatus according to the fourth embodiment of the present invention. In the example of FIG. 12, in the image processing apparatus of FIG. 9, the image signal stored in the storage unit 113 is converted into a predetermined format and transferred to an external device. That is, in the example of FIG. 12, when the image signal stored in the storage unit 113 is converted into a predetermined format and transferred to an external device, the signal from the storage unit 113 is read out and expanded by the compression / expansion unit 117. The resolution is converted to a predetermined resolution by the resolution conversion means 119. In order to reduce the data size at the time of external transfer, for example, a 600 dpi resolution image is converted to 300 dpi or 200 dpi. Further, it can be converted into a standard signal such as sRGB conversion in a block 120, converted into a JPEG format by a JPEG compression / decompression means 121, and transferred to an external device via the NIC 122.
[0110]
The image signal transferred externally may be used as image data scanned as an application on a PC, or may be input again to the image forming apparatus and copied and output. For example, there is a case where an unnecessary portion such as a punch hole image in an image read by editing software is removed, or an image obtained by performing image editing such as pressing a stamp is output. In such a case, JPEG expansion is performed again by the JPEG compression / expansion means 121 via the NIC 122, and further converted into a device-dependent RGB signal in the block 120, and the original resolution (600 dpi) is output by the resolution conversion means 119. , Compressed by the compression / expansion means 117, and stored in the storage means 113. When the storage in the storage unit 113 is completed, the system controller (not shown) performs post-stage processing after the expansion unit 116.
[0111]
In FIG. 12, the black character separation information embedded in the image data by the first color component control unit 106 is deteriorated or changed by the resolution conversion unit 119 and the JPEG compression / expansion unit 121. The accuracy of detecting (re-extracting) the black character information in the second image area separating means 108 at the time of copying and outputting is deteriorated.
[0112]
The fourth embodiment of the present invention is intended to satisfy the image quality of black characters even at the time of re-output via such format conversion at the time of external transfer. The control is performed according to the image format at the time of execution. More specifically, further control of the color components is performed on the black character pixels and the non-black character pixels so that the detection margin at the time of re-detection (re-extraction) is improved.
[0113]
For example, with regard to the chromaticization of non-black character pixels, there is a method in which the chromaticization is made stronger than the chromaticization performed by the first color component control means 106 and output.
[0114]
As another method, there is a method of expanding a region to be achromatic. For example, in JPEG compression, a luminance / color difference signal (YC b C r ) And compresses the image using DCT. When JPEG compression is performed on an achromatic black character pixel, if another pixel in the 8 × 8 block is a chromatic pixel, the black character pixel becomes chromatic. Normally, a white background area exists around a pixel determined to be a black character, and there is no high-saturation color pixel.However, a pixel having a slight saturation exists even on a white background. Problems arise. This is more noticeable when the compression ratio is set higher.
[0115]
On the other hand, if all the pixels in the 8 × 8 block are achromatic pixels, YC b C r C at the time of signal b C r Since the component is 0, the achromatic information can be stored without deterioration. Therefore, if it is known that the first color component control unit 106 performs JPEG compression and outputs the result to the outside, the first color component control unit 106 determines whether chromatic or non-black characters of non-black character pixels in the block are present depending on the presence or absence of black character pixels in the compressed block. The color processing is configured to be controlled, and if there is a black character pixel, all other chromatic pixels may be corrected to achromatic pixels.
[0116]
Further, as described above, since there is no color pixel with high saturation around the black character pixel, it is not a problem in terms of image quality to achromaticize all the pixels in the block. In the compression method, achromatic chromatic pixels may degrade image quality. In such a case, if the chromatic pixels having sufficient saturation in the block are not subjected to the achromatic processing, only the relatively low-saturation pixels are achromatized. Good.
[0117]
Also, the method of achromaticizing pixels surrounding black characters in units of blocks has been described. However, a configuration may be adopted in which black character pixels are achromatic in a region expanded by several pixels instead of blocks. In this case, the number of pixels to be expanded may be determined according to the data format to be converted. The same applies to the resolution. In the case where the data is converted to low-resolution data, if the area to be achromatic is widened, black character information can be stored well.
[0118]
As described above, by controlling the first color component control means 106, black character information can be accurately embedded in a signal converted into a different data format such as a resolution conversion and a compression method. Can achieve high image quality. In the above description, re-copying in the present image processing apparatus has been described as an example. However, the present invention is also effective in an external image processing apparatus or image processing program capable of re-extracting embedded attribute information and implementing adaptive processing. is there.
[0119]
(Fifth embodiment)
According to a fifth embodiment of the present invention, in the image processing apparatus according to the second or third embodiment, the image signal stored in the storage unit 113 is converted into a predetermined image format specified by a system or a user. Processing means for transferring the image signal stored in the storage means 113 to the external device; and a second color component control means for performing chromatic and / or achromatic processing again on the image signal stored in the storage means 113. The image signal stored in the storage means 113 is subjected to chromatic and / or achromatic processing again and transferred to an external device.
[0120]
Here, the second color component control unit re-colorizes the image signal stored in the storage unit 113 according to the attribute information identified from the image signal stored in the storage unit 113. And / or perform desaturation and transfer to an external device.
[0121]
Alternatively, the second color component control unit re-colorizes and / or achromatizes the image signal stored in the storage unit 113 according to the attribute of the target pixel determined by the first separation unit 103. The data can be transferred to an external device after performing the conversion process.
[0122]
FIG. 13 is a diagram illustrating a configuration example of an image processing apparatus according to a fifth embodiment of the present invention. In the example of FIG. 13, in the configuration of FIG. 12, a second color component control unit 118 is further provided between the compression / expansion unit 117 and the resolution conversion unit 119.
[0123]
The configuration example of FIG. 13 is effective when image data processed and stored in the storage unit 113 for copy output is also used as output to an external device. That is, embedding of black character information optimized for copy output is deteriorated by resolution conversion or JPEG compression as it is as described above. However, if a wide range of achromatization or the like as in the fourth embodiment is performed in consideration of external transfer, image quality may be degraded for copy output. Therefore, in the fifth embodiment of the present invention, the second color component control means 118 executes the correction processing of the black character information according to the data format transferred externally.
[0124]
Specifically, the second color component control unit 118 re-exists the image signal stored in the storage unit 113 in accordance with the attribute information identified from the image signal stored in the storage unit 113. The image data can be transferred to an external device after being subjected to a coloring process and / or a desaturating process.
[0125]
Alternatively, the second color component control unit 118 re-colorizes and / or re-colors the image signal stored in the storage unit 103 according to the attribute of the target pixel determined by the first separation unit 103. The image data can be transferred to an external device after being subjected to a coloring process.
[0126]
The control by the second color component control unit 118 may be performed based on the black character separation result c1 from the first image area separation unit 103, or may be performed by the re-extraction unit (not shown) from the image data. The embedded black character information may be re-extracted and performed based on the result of the re-extraction.
[0127]
By the way, in each of the above-described embodiments, the designated output conditions and processing contents can be stored in the storage unit 113 as information together with the compressed image data. Saving the specified output conditions and processing contents as information is effective when the accumulated image data is output again at a later date by specifying output from an operation panel or the like. Reads the information for the stored image data, and sets the image quality mode (text / photo mode, text mode, photo mode, etc.), document type mode (photographic paper, print manuscript), applied filter parameters, parameters related to color component suppression, etc. By recognizing, it is possible to optimize the processing contents of the color correction unit and the halftone processing unit in the post-compression stage.
[0128]
Further, it is desirable that the contents of processing performed on the image signal can be output as header information or footer information even when the image signal is transferred to an external device. Specifically, converted resolution information, information indicating that the signal is an sRGB signal, JPEG quality, the processing content of the second color component control means, and the like are added to the above information and output. it can. In this way (that is, when the image signal is transferred to the external device, the processing performed on the image signal is stored in the header information and transferred to the external device), and the image signal is input again from the outside. In this case, the image can be converted into an accurate image format according to the header information.
[0129]
Further, the second image area separation unit 108 can perform highly accurate black character detection (extraction) by changing the separation method and parameters based on the header information. For example, thresholds for chromatic pixel determination and achromatic pixel determination can be controlled according to the compression ratio and resolution. As a specific example, when the compression ratio is high, there is a high possibility that deterioration has occurred. Therefore, the determination threshold value is set to a lower level to make it easier to detect a black character. However, if the compression ratio is even higher, erroneous detection will increase greatly when trying to re-extract black characters, and the image quality of the picture part will be significantly degraded. To OFF. As described above, by optimally controlling the second image area separating means according to the compression ratio, it is possible to obtain a total optimal image quality.
[0130]
Also, regarding the resolution, once a low-resolution image is converted to a low-resolution image to a certain extent or less, it may be preferable to turn off the black character re-extraction function.
[0131]
Further, when the process of changing the color component is performed by the external editing, the black character re-extraction function can be similarly turned off.
[0132]
Further, when information about embedding of black character information is not added to the image signal input from the external device or when there is no header information, the black character re-extraction function can be turned off.
[0133]
In other words, in the image processing apparatus that determines the attribute of the image data input from the external device by the second separating unit 108, the black character extracting method of the second separating unit 108 is controlled according to the header information. be able to.
[0134]
Further, the image data input from the external device is stored in the storage unit 113, the image signal stored in the storage unit 113 is read, and the attribute of the target pixel is detected (extracted) by the second separation unit 108 to perform image processing. In the image processing apparatus, when header information indicating the processing content is not added to the input image signal, black character extraction by the second separation unit 108 can be restricted or not performed.
[0135]
As described above, by controlling the use, non-use, and parameters of the second image area separation unit 108 according to the information added to the image data, it is possible to output the optimum image quality among the reproducible image quality. It becomes possible.
[0136]
As described above, according to the present invention, based on the first separating unit that determines the attribute of the target pixel with respect to the input color image signal, based on the attribute of the target pixel determined by the first separating unit, A color component control unit configured to perform predetermined processing on a color component of the target pixel; and a second separation unit configured to determine an attribute of the target pixel with respect to the image signal processed by the color component control unit. The means performs a predetermined process on the color component of the target pixel so that the attribute determination accuracy of the target pixel in the second separation means is improved (more specifically, the first separation means Has a black character pixel determination function of determining whether or not the target pixel is a black character pixel, and the color component control means determines that the target pixel is not a black character pixel by the first separation means. Increase pixel color component The second separation unit has a function of detecting (extracting) a black character pixel by analyzing at least a color component of the image signal processed by the color component control unit. ), It is possible to detect (re-extract) black character information with higher accuracy than before.
[0137]
More specifically, black character information embedded as R = G = B may be degraded by compression, decompression, etc., making it difficult to detect (re-extract) black character information. In order to provide an image processing apparatus that is highly resistant to deterioration of pixel information corresponding to a case, non-black character pixels are chromatic in addition to achromatic black characters. In addition, chromatic processing is performed only on necessary pixels, for example, chromatic processing is not performed on portions that are likely to cause erroneous separation when detecting (extracting) black character information at the subsequent stage, and chromatic processing is not performed on sufficient chromatic pixels. I have to.
[0138]
When a plurality of copies or electronic sorting is performed, there is a configuration in which image data in which black character information is embedded is temporarily stored in a large-capacity storage unit such as a hard disk device for a plurality of pages, and is read out. In such a case, by adopting the configuration of the present invention that does not hold the separation information as data, it is possible to save the capacity of the storage means (storage means) and reduce the amount of data to be transferred to the bus.
[0139]
Further, when storing and storing the image data in the storage means (storage means), a method of compressing and storing the image data is generally employed. In such a case, the black character information embedded earlier is not deteriorated as much as possible. It is necessary to accumulate in. According to the present invention, even when data changes due to lossy compression, preprocessing is performed so that the black character information does not deteriorate.
[0140]
In addition, when an image signal or the like stored in the storage means is transferred to the outside, it is usually further compressed and output by a compression means such as JPEG. However, processing using a different compression method or a different compression ratio is performed. Therefore, the black character information embedded in the image data may be damaged. In such a case, high-quality reproduction cannot be performed when data once transferred to the outside is input and output again, or when transferred and output to another MFP having the same image processing system. On the other hand, the present invention has a second color component control means for storing black character information even when the stored signal is compressed and output by another compression means. Is corrected to a more robust state.
[0141]
In addition, in the present invention, when image data is stored, the image processing contents applied to the image data, such as an image quality mode, a scaling ratio, and a compression ratio, are stored in header information together with the image data, so that black characters can be re-extracted. In this case, it is possible to perform an optimal process.
[0142]
In each of the above-described examples, the first image area separating unit and the second image area separating unit determine that a black character on a white background is a black character area, and that a black character on a halftone dot is a black character area. The description has been made on the premise that the judgment is not made, but the present invention is not limited to this.
[0143]
Even when the first image area separating unit determines a black character on a halftone dot or a color ground as a black character area, the black code is embedded by correcting the black character area pixels to R = G = B, and The same effect can be obtained by extracting R = G = B by the image area separating means and performing black character processing. Processing such as chromaticizing non-black character pixels is also effective in improving the separation accuracy of the second separation means, and the same effect can be obtained.
[0144]
Further, in each of the above-described examples, the image output unit 112 is described as a printer. However, the image output unit 112 may be any device having an image output function. Is applied.
[0145]
FIG. 14 is a diagram illustrating a hardware configuration example of the image processing apparatus according to the present invention. Referring to FIG. 14, this image processing apparatus is realized by, for example, a personal computer or the like, and controls a CPU 21 that controls the whole, a ROM 22 that stores a control program of the CPU 21, and a RAM 23 that is used as a work area of the CPU 21. , A hard disk 24, an image input unit 101 such as a scanner, an image output unit (for example, a display or a printer) 112, and a communication unit (for example, NIC) 122.
[0146]
Here, the hard disk 24 corresponds to the storage unit 113. Further, the CPU 21 has functions of the above-described units 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 115, 116, 117, 118, 119, 120, 121 and the like. .
[0147]
The function of each of the units 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 115, 116, 117, 118, 119, 120, 121 and the like in the CPU 21 is, for example, software It can be provided in the form of a package (specifically, an information recording medium such as a CD-ROM).
[0148]
Further, in the present invention, the processing in each of the means 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 115, 116, 117, 118, 119, 120, 121 and the like is performed by a computer (CPU 21). Can be provided in the form of a program to be realized.
[0149]
In other words, the image processing apparatus of the present invention causes a general-purpose computer system including a scanner, a printer, and the like to read a program recorded on a recording medium such as a CD-ROM, and process the program by a microprocessor of the general-purpose computer system. Can also be implemented in an apparatus configuration for executing In this case, a program for executing the processing of the present invention (that is, a program used in a hardware system) is provided in a state recorded on a medium. The recording medium on which the program or the like is recorded is not limited to a CD-ROM, but may be a ROM, a RAM, a flexible disk, a memory card, or the like. The program recorded on the medium is installed in a storage device incorporated in the hardware system, for example, a hard disk 24 and activated, whereby the program can be executed to realize the processing of the present invention.
[0150]
Further, in the above description, the present invention has been described as an image processing apparatus. However, for those skilled in the art, the present invention can be regarded as an image processing system or further as an image processing method.
[0151]
【The invention's effect】
As described above, according to the present invention, the first separating unit that determines the attribute of the target pixel for the input color image signal, and the first separating unit determines the attribute of the target pixel. Color component control means for performing a predetermined process on the color component of the target pixel based on the attribute of the target pixel, and second separation for determining the attribute of the target pixel with respect to the image signal processed by the color component control means The color component control means performs predetermined processing on the color component of the target pixel so that the attribute determination accuracy of the target pixel in the second separation means is improved, thereby converting the black character information into a conventional one. Detection (re-extraction) can be performed with higher accuracy than in the case of the above.
[0152]
Specifically, for example, according to the black character separation result, the color component is suppressed or completely achromatized for the black character region, and the saturation component is increased for the non-black character region, so that the black character information is increased. Can be detected (re-extracted) with higher precision than before. Then, black character separation information is stored in the image data, and black character information is detected (re-extracted) in accordance with the chroma information by the second separation means at the subsequent stage. , A high-accuracy black character re-extraction with a high margin can be performed. Also, a method for chromaticizing a non-character area and a method for chromaticizing a color character area can increase the margin in re-extraction.
[0153]
In addition, chromatic processing is performed only on necessary pixels. For example, chromatic processing is not performed on parts that are likely to cause erroneous separation when detecting (extracting) black character information at the subsequent stage, or on sufficient chromatic pixels. By minimizing the area of the image to be applied (saturated) to a minimum, it is possible to preserve the original color in almost all parts.
[0154]
In addition, when storing and storing the image data in the storage means, it is common to employ a method of compressing and storing the image data. The black character information can be stored with as little deterioration as possible.
[0155]
In addition, when an image signal or the like stored in the storage means is transferred to the outside, it is usually further compressed and output by a compression means such as JPEG. However, processing using a different compression method or a different compression ratio is performed. Therefore, the black character information embedded in the image data may be damaged. In such a case, high-quality reproduction cannot be performed when data once transferred to the outside is input and output again, or when transferred and output to another MFP having the same image processing system. On the other hand, in the present invention, even when the stored signal is compressed and output by another compression unit, the black character information is corrected to a more robust state by the second color component control unit, so that the black character information is corrected. Can be saved.
[0156]
Also, when storing the image data, the image processing contents applied to the image data, such as an image quality mode, a scaling ratio, and a compression ratio, are stored in header information together with the image data, and the information is used when re-outputting. By performing the optimal processing, black character detection (re-extraction) can be optimally performed, and re-output with high image quality can be performed.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating a configuration example of a color component control unit.
FIG. 3 is a diagram illustrating a configuration example of a second image area separation unit.
FIG. 4 is a diagram illustrating an example of a connectivity determination pattern.
FIG. 5 is a diagram illustrating another configuration example of a color component control unit.
FIG. 6 is a diagram illustrating another configuration example of a color component control unit.
FIG. 7 is a diagram illustrating another configuration example of the color component control unit.
FIG. 8 is a diagram illustrating a configuration example of an image processing apparatus according to a second embodiment of the present invention.
FIG. 9 is a diagram illustrating a configuration example of an image processing apparatus according to a third embodiment of the present invention.
FIG. 10 is a diagram showing another configuration example of the color component control means.
FIG. 11 is a diagram showing another configuration example of the color component control means.
FIG. 12 is a diagram illustrating a configuration example of an image processing apparatus according to a fourth embodiment of the present invention.
FIG. 13 is a diagram illustrating a configuration example of an image processing apparatus according to a fifth embodiment of the present invention.
FIG. 14 is a diagram illustrating an example of a hardware configuration of an image processing apparatus according to the present invention.
[Explanation of symbols]
21 CPU
22 ROM
23 RAM
24 Hard Disk
101 Image input means
112 Image output means
122 communication means
102 Scanner gamma correction means
103 First Image Area Separating Means (First Separating Means)
104 edge amount calculation means
105 Filter processing means
106 color component control means
107 color correction means
108 Second image area separating means (second separating means)
109 Undercolor removal / black generation means
110 Printer gamma correction means
111 halftone processing means
113 storage means
115 compression means
116 Extension means
117 Compression / expansion means
118 second color component control means
119 Resolution conversion means
120 blocks
121 JPEG compression / decompression means

Claims (37)

入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴とする画像処理装置。A first separating unit that determines an attribute of the target pixel with respect to the input color image signal, and performs a predetermined process on a color component of the target pixel based on the attribute of the target pixel determined by the first separating unit Color component control means, and second separation means for determining an attribute of a target pixel for the image signal processed by the color component control means, wherein the color component control means An image processing apparatus configured to perform a predetermined process on a color component of a target pixel so as to improve pixel attribute determination accuracy. 請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴とする画像処理装置。2. The image processing apparatus according to claim 1, wherein the first separation unit has a black character pixel determination function of determining whether or not the target pixel is a black character pixel as an attribute of the target pixel. When the first separation unit determines that the target pixel is not a black character pixel, a chromatic process for increasing the color component of the target pixel is performed. An image processing apparatus having a function of detecting a black character pixel by analyzing at least a color component of an image signal processed by a component control unit. 請求項2記載の画像処理装置において、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうようになっていることを特徴とする画像処理装置。3. The achromatic image processing apparatus according to claim 2, wherein the color component control means reduces or removes the color component of the target pixel when the first separation unit determines that the target pixel is a black character pixel. An image processing apparatus characterized in that the image processing apparatus performs a conversion process. 請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が色文字画素であるか否かを判定する色文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより色文字画素を検出する機能を有していることを特徴とする画像処理装置。2. The image processing apparatus according to claim 1, wherein the first separation unit has a color / character pixel determination function for determining whether or not the target pixel is a color / character pixel as an attribute of the target pixel; When the first separation unit determines that the target pixel is a color character pixel, the unit performs chromatic processing for increasing a color component of the target pixel. An image processing device having a function of detecting a color character pixel by analyzing at least a color component of an image signal processed by the color component control means. 請求項1記載の画像処理装置において、前記第1の分離手段は、対象画素の属性として対象画素が文字画素であるか否かを判定する文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴とする画像処理装置。2. The image processing apparatus according to claim 1, wherein the first separation unit has a character pixel determination function of determining whether or not the target pixel is a character pixel as an attribute of the target pixel. 3. When the first separation unit determines that the target pixel is not a character pixel, a chromatic process for increasing the color component of the target pixel is performed. An image processing apparatus having a function of detecting a black character pixel by analyzing at least a color component of an image signal processed by a component control unit. 請求項1乃至請求項5のいずれか一項に記載の画像処理装置において、前記色成分制御手段で処理された画像信号を蓄積する蓄積手段を有し、第2の分離手段は、前記蓄積手段に蓄積された信号を読み出して処理を行なうようになっていることを特徴とする画像処理装置。The image processing apparatus according to claim 1, further comprising a storage unit configured to store the image signal processed by the color component control unit, wherein the second separation unit includes the storage unit. An image processing apparatus for reading out a signal stored in a memory and performing processing. 請求項1乃至請求項5のいずれか一項に記載の画像処理装置において、前記色成分制御手段で処理された画像信号に対し圧縮処理を施す圧縮手段と、前記圧縮手段で圧縮処理された画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を伸張する伸張手段とを有し、前記第2の分離手段は、前記伸張手段によって伸張処理された画像信号に対して処理を行なうようになっていることを特徴とする画像処理装置。The image processing apparatus according to claim 1, wherein the compression unit performs compression processing on the image signal processed by the color component control unit, and the image compression processing is performed by the compression unit. A storage unit that stores the signal; and a decompression unit that decompresses the image signal stored in the storage unit. The second separation unit performs processing on the image signal decompressed by the decompression unit. An image processing apparatus characterized in that the processing is performed. 請求項7記載の画像処理装置において、前記圧縮手段は、非可逆圧縮処理を行なうようになっていることを特徴とする画像処理装置。8. The image processing apparatus according to claim 7, wherein said compression means performs irreversible compression processing. 請求項8記載の画像処理装置において、前記圧縮手段は、輝度色差系の信号に変換してから画像信号の圧縮を行なうようになっていることを特徴とする画像処理装置。9. The image processing apparatus according to claim 8, wherein said compression means compresses the image signal after converting the image signal into a luminance / color difference signal. 請求項1乃至請求項9のいずれか一項に記載の画像処理装置において、前記色成分制御手段における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものであることを特徴とする画像処理装置。10. The image processing device according to claim 1, wherein the color component control unit increases the color component only when the color component of the processing target pixel is smaller than a predetermined value. 11. An image processing apparatus, wherein 請求項1乃至請求項9のいずれか一項に記載の画像処理装置において、前記色成分制御手段は、前記第2の分離手段によって黒文字画素を検出する際に、黒文字画素ではない画素を黒文字画素と誤って検出する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出する可能性が高い画像領域に対してのみ色成分を増加させるようになっていることを特徴とする画像処理装置。The image processing apparatus according to claim 1, wherein the color component control unit is configured to, when detecting the black character pixel by the second separating unit, replace a pixel that is not a black character pixel with a black character pixel. For image regions that are likely to be erroneously detected, increase the color components more than for other regions, or only for image regions that are likely to be erroneously detected as black character pixels. An image processing apparatus characterized in that the number is increased. 請求項1乃至請求項3,請求項5乃至請求項11のいずれか一項に記載の画像処理装置において、前記第1の分離手段は、白背景領域上の黒文字画素や黒線画画素を黒文字画素として判定する機能を有し、前記第2の分離手段は、白画素領域に隣接した領域であって概ね無彩色である画素を黒文字画素として判定する機能を有していることを特徴とする画像処理装置。12. The image processing apparatus according to claim 1, wherein the first separating unit converts a black character pixel or a black line drawing pixel on a white background area into a black character pixel. Wherein the second separating means has a function of determining a pixel which is adjacent to a white pixel region and is substantially achromatic as a black character pixel. Processing equipment. 請求項1乃至請求項12のいずれか一項に記載の画像処理装置において、前記色成分制御手段によって所定の処理が施された画像信号を、システムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理機能を有し、指定された所定の画像フォーマットに応じて前記色成分制御手段を制御するようになっていることを特徴とする画像処理装置。13. The image processing apparatus according to claim 1, wherein the image signal subjected to predetermined processing by the color component control unit is converted into a predetermined image format specified by a system or a user. An image processing apparatus having a processing function of transferring the image data to an external device, and controlling the color component control means in accordance with a specified predetermined image format. 請求項13記載の画像処理装置において、前記所定の画像フォーマットに応じた色成分制御手段の制御として、前記第1の分離手段で判定された黒文字画素の領域を周辺の領域に無彩化する領域として拡張する制御を含むことを特徴とする画像処理装置。14. The image processing apparatus according to claim 13, wherein, as control of the color component control unit according to the predetermined image format, a region of a black character pixel determined by the first separation unit is achromatic to a peripheral region. An image processing apparatus characterized by including a control to extend the image processing. 請求項6乃至請求項9のいずれか一項に記載の画像処理装置において、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴とする画像処理装置。10. The image processing device according to claim 6, wherein the image signal stored in the storage unit is converted into a predetermined image format specified by a system or a user and transferred to an external device. Processing means for performing colorization and re-scaling on the image signal stored in the storage means in accordance with the attribute information identified from the image signal stored in the storage means. And / or second color component control means for performing achromatization processing, wherein the second color component control means stores the image data in accordance with the attribute information identified from the image signal stored in the storage means. An image processing apparatus characterized in that the image signal stored in the means is subjected to chromatic and / or achromatic processing again and transferred to an external device. 請求項6乃至請求項9のいずれか一項に記載の画像処理装置において、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記第1の分離手段によって判定された対象画素の属性に応じて前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記第1の分離手段によって判定された対象画素の属性に応じて前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴とする画像処理装置。10. The image processing apparatus according to claim 6, wherein the image signal stored in the storage unit is converted into a predetermined image format specified by a system or a user and transferred to an external device. Processing means for re-coloring and / or non-coloring the image signal stored in the storage means according to the attribute of the target pixel determined by the first separation means. A second color component control unit for performing a colorization process, wherein the second color component control unit is stored in the storage unit according to the attribute of the target pixel determined by the first separation unit; An image processing apparatus characterized by performing chromatic and / or achromatic processing again on an image signal and transferring the processed signal to an external device. 請求項1乃至請求項16のいずれか一項に記載の画像処理装置において、画像信号を外部機器に転送する際に、該画像信号に施された処理内容をヘッダ情報に保存して外部機器に転送するようになっていることを特徴とする画像処理装置。17. The image processing apparatus according to claim 1, wherein, when transferring the image signal to an external device, the processing content applied to the image signal is stored in header information and transmitted to the external device. An image processing apparatus characterized in that the image is transferred. 請求項17記載の画像処理装置において、外部機器から入力した画像データに対して前記第2の分離手段によって属性の判定を行なう画像処理装置であって、前記ヘッダ情報に応じて第2の分離手段の黒文字抽出方法を制御するようになっていることを特徴とする画像処理装置。18. The image processing apparatus according to claim 17, wherein the attribute of the image data input from an external device is determined by the second separating unit, and the second separating unit is configured to perform the attribute determination based on the header information. An image processing apparatus for controlling a method of extracting black characters. 請求項18記載の画像処理装置において、外部機器から入力した画像データを前記蓄積手段に蓄積し、前記蓄積手段に蓄積された画像信号を読み出し前記第2の分離手段で対象画素の属性を検出して画像処理を施す画像処理装置であって、入力された画像信号に処理内容を示すヘッダ情報が付されていないときは、第2の分離手段による黒文字抽出を制限するかまたは行わないことを特徴とする画像処理装置。19. The image processing apparatus according to claim 18, wherein image data input from an external device is stored in said storage unit, and an image signal stored in said storage unit is read out, and said second separation unit detects an attribute of a target pixel. An image processing apparatus that performs image processing by using a second separating unit that restricts or does not perform black character extraction when header information indicating processing content is not added to an input image signal. Image processing apparatus. 入力されたカラー画像信号に対し対象画素の属性を判定する第1の分離手段と、第1の分離手段によって判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施す色成分制御手段と、色成分制御手段によって処理された画像信号に対し対象画素の属性を判定する第2の分離手段とを有し、前記色成分制御手段は、第2の分離手段での対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴とする画像処理システム。A first separating unit that determines an attribute of the target pixel with respect to the input color image signal, and performs a predetermined process on a color component of the target pixel based on the attribute of the target pixel determined by the first separating unit Color component control means, and second separation means for determining an attribute of a target pixel for the image signal processed by the color component control means, wherein the color component control means An image processing system wherein a predetermined process is performed on a color component of a target pixel so as to improve the accuracy of pixel attribute determination. 請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が黒文字画素であるか否かを判定する黒文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴とする画像処理システム。21. The image processing system according to claim 20, wherein the first separation unit has a black character pixel determination function of determining whether or not the target pixel is a black character pixel as an attribute of the target pixel, and the color component control unit includes: When the first separation unit determines that the target pixel is not a black character pixel, the chromatic processing for increasing the color component of the target pixel is performed, and the second separation unit performs An image processing system having a function of detecting a black character pixel by analyzing at least a color component of an image signal processed by a component control unit. 請求項21記載の画像処理システムにおいて、前記色成分制御手段は、前記第1の分離手段によって対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうようになっていることを特徴とする画像処理システム。22. The image processing system according to claim 21, wherein the color component control unit reduces or removes a color component of the target pixel when the target pixel is determined to be a black character pixel by the first separation unit. An image processing system characterized in that a conversion process is performed. 請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が色文字画素であるか否かを判定する色文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより色文字画素を検出する機能を有していることを特徴とする画像処理システム。21. The image processing system according to claim 20, wherein the first separation unit has a color / character pixel determination function for determining whether or not the target pixel is a color / character pixel as an attribute of the target pixel, and the color component control. When the first separation unit determines that the target pixel is a color character pixel, the unit performs chromatic processing for increasing a color component of the target pixel. An image processing system having a function of detecting a color character pixel by analyzing at least a color component of an image signal processed by the color component control means. 請求項20記載の画像処理システムにおいて、前記第1の分離手段は、対象画素の属性として対象画素が文字画素であるか否かを判定する文字画素判定機能を有し、前記色成分制御手段は、前記第1の分離手段によって対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうようになっており、前記第2の分離手段は、前記色成分制御手段によって処理された画像信号の少なくとも色成分を解析することにより黒文字画素を検出する機能を有していることを特徴とする画像処理システム。21. The image processing system according to claim 20, wherein the first separation unit has a character pixel determination function of determining whether or not the target pixel is a character pixel as an attribute of the target pixel. When the first separation unit determines that the target pixel is not a character pixel, a chromatic process for increasing the color component of the target pixel is performed. An image processing system having a function of detecting a black character pixel by analyzing at least a color component of an image signal processed by a component control unit. 請求項20乃至請求項24のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段で処理された画像信号を蓄積する蓄積手段を有し、第2の分離手段は、前記蓄積手段に蓄積された信号を読み出して処理を行なうようになっていることを特徴とする画像処理システム。25. The image processing system according to claim 20, further comprising a storage unit configured to store the image signal processed by the color component control unit, wherein the second separation unit stores the image signal. An image processing system characterized in that a signal stored in a memory is read and processed. 請求項20乃至請求項24のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段で処理された画像信号に対し圧縮処理を施す圧縮手段と、前記圧縮手段で圧縮処理された画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を伸張する伸張手段とを有し、前記第2の分離手段は、前記伸張手段によって伸張処理された画像信号に対して処理を行なうようになっていることを特徴とする画像処理システム。The image processing system according to any one of claims 20 to 24, wherein a compression unit performs compression processing on the image signal processed by the color component control unit, and an image compressed by the compression unit. A storage unit that stores the signal; and a decompression unit that decompresses the image signal stored in the storage unit. The second separation unit performs processing on the image signal decompressed by the decompression unit. An image processing system characterized in that the image processing system performs the processing. 請求項26記載の画像処理システムにおいて、前記圧縮手段は、非可逆圧縮処理を行なうようになっていることを特徴とする画像処理システム。27. The image processing system according to claim 26, wherein said compression means performs irreversible compression processing. 請求項27記載の画像処理システムにおいて、前記圧縮手段は、輝度色差系の信号に変換してから画像信号の圧縮を行なうようになっていることを特徴とする画像処理システム。28. The image processing system according to claim 27, wherein the compression unit converts the image signal into a luminance / color difference signal and then compresses the image signal. 請求項20乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段における有彩化処理は、処理対象画素の色成分が所定値より小さい場合にのみ色成分を増加させるものであることを特徴とする画像処理システム。29. The image processing system according to claim 20, wherein the chromatic processing in the color component control means increases the color component only when the color component of the processing target pixel is smaller than a predetermined value. An image processing system comprising: 請求項20乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段は、前記第2の分離手段によって黒文字画素を検出する際に、黒文字画素ではない画素を黒文字画素と誤って検出する可能性が高い画像領域に対しては他の領域よりも多く色成分を増加させるか、あるいは、黒文字画素と誤って検出する可能性が高い画像領域に対してのみ色成分を増加させるようになっていることを特徴とする画像処理システム。The image processing system according to any one of claims 20 to 28, wherein the color component control unit, when detecting a black character pixel by the second separation unit, replaces a pixel that is not a black character pixel with a black character pixel. For image regions that are likely to be erroneously detected, increase the color components more than for other regions, or only for image regions that are likely to be erroneously detected as black character pixels. An image processing system, characterized in that the number is increased. 請求項20乃至請求項30のいずれか一項に記載の画像処理システムにおいて、前記色成分制御手段によって所定の処理が施された画像信号を、システムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理機能を有し、指定された所定の画像フォーマットに応じて前記色成分制御手段を制御するようになっていることを特徴とする画像処理システム。31. The image processing system according to claim 20, wherein the image signal that has been subjected to predetermined processing by the color component control unit is converted into a predetermined image format specified by the system or a user. An image processing system having a processing function of transferring the image data to an external device, and controlling the color component control means in accordance with a designated predetermined image format. 請求項25乃至請求項28のいずれか一項に記載の画像処理システムにおいて、前記蓄積手段に蓄積されている画像信号をシステムまたはユーザによって指定された所定の画像フォーマットに変換して外部機器に転送する処理手段を有し、該処理手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施す第2の色成分制御手段を有し、第2の色成分制御手段は、前記蓄積手段に蓄積されている画像信号から識別された属性情報に応じて、前記蓄積手段に蓄積されている画像信号に対して再度有彩化および/または無彩化処理を施して外部機器に転送するようになっていることを特徴とする画像処理システム。29. The image processing system according to claim 25, wherein the image signal stored in the storage unit is converted into a predetermined image format specified by a system or a user and transferred to an external device. Processing means for performing colorization and re-scaling on the image signal stored in the storage means in accordance with the attribute information identified from the image signal stored in the storage means. And / or second color component control means for performing achromatization processing, wherein the second color component control means stores the image data in accordance with the attribute information identified from the image signal stored in the storage means. An image processing system, wherein the image signal stored in the means is subjected to chromatic and / or achromatic processing again and transferred to an external device. 入力されたカラー画像信号に対し対象画素の属性を判定し、判定された対象画素の属性に基づいて、対象画素の色成分に所定の処理を施し、対象画素の色成分に所定の処理が施された画像信号に対し対象画素の属性を判定するようになっており、対象画素の属性判定精度が向上するように対象画素の色成分に所定の処理を行なうようになっていることを特徴とする画像処理方法。The attribute of the target pixel is determined with respect to the input color image signal, a predetermined process is performed on the color component of the target pixel, and a predetermined process is performed on the color component of the target pixel based on the determined attribute of the target pixel. The attribute of the target pixel is determined with respect to the obtained image signal, and a predetermined process is performed on the color component of the target pixel so that the attribute determination accuracy of the target pixel is improved. Image processing method. 請求項33記載の画像処理方法において、対象画素の属性として対象画素が黒文字画素であるか否かを判定し、対象画素が黒文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴とする画像処理方法。34. The image processing method according to claim 33, wherein it is determined whether or not the target pixel is a black character pixel as an attribute of the target pixel. If it is determined that the target pixel is not a black character pixel, the color component of the target pixel is increased. An image processing method characterized by performing a coloring process. 請求項34記載の画像処理方法において、対象画素が黒文字画素であると判定されると、対象画素の色成分を減ずるかまたは除去する無彩化処理を行なうことを特徴とする画像処理方法。35. The image processing method according to claim 34, wherein when the target pixel is determined to be a black character pixel, achromatic processing for reducing or removing the color component of the target pixel is performed. 請求項33記載の画像処理方法において、対象画素の属性として対象画素が色文字画素であるか否かを判定し、対象画素が色文字画素であると判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴とする画像処理方法。In the image processing method according to claim 33, it is determined whether or not the target pixel is a color character pixel as an attribute of the target pixel, and when it is determined that the target pixel is a color character pixel, the color component of the target pixel is determined. An image processing method characterized by performing increasing chromatic processing. 請求項33記載の画像処理方法において、対象画素の属性として対象画素が文字画素であるか否かを判定し、対象画素が文字画素でないと判定されると、対象画素の色成分を増加する有彩化処理を行なうことを特徴とする画像処理方法。34. The image processing method according to claim 33, wherein it is determined whether or not the target pixel is a character pixel as an attribute of the target pixel. If it is determined that the target pixel is not a character pixel, the color component of the target pixel is increased. An image processing method characterized by performing a coloring process.
JP2002353335A 2002-12-05 2002-12-05 Image processing apparatus and image processing system Expired - Fee Related JP4212876B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002353335A JP4212876B2 (en) 2002-12-05 2002-12-05 Image processing apparatus and image processing system
US10/727,663 US20040165081A1 (en) 2002-12-05 2003-12-05 Image processing apparatus, image processing system, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002353335A JP4212876B2 (en) 2002-12-05 2002-12-05 Image processing apparatus and image processing system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008104077A Division JP4526577B2 (en) 2008-04-11 2008-04-11 Image processing apparatus, image processing system, and image processing method

Publications (2)

Publication Number Publication Date
JP2004187119A true JP2004187119A (en) 2004-07-02
JP4212876B2 JP4212876B2 (en) 2009-01-21

Family

ID=32754639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002353335A Expired - Fee Related JP4212876B2 (en) 2002-12-05 2002-12-05 Image processing apparatus and image processing system

Country Status (1)

Country Link
JP (1) JP4212876B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094425A (en) * 2004-09-27 2006-04-06 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program
JP2006311381A (en) * 2005-04-28 2006-11-09 Sharp Corp Image processor, image forming apparatus, image processing method, computer program and recording medium
US7324244B2 (en) * 2003-03-20 2008-01-29 Kabushiki Kaisha Toshiba Image forming apparatus and image forming method
JP2008028550A (en) * 2006-07-19 2008-02-07 Ricoh Co Ltd Image processor, image processing method, and program
JP2008035478A (en) * 2006-07-04 2008-02-14 Sharp Corp Method and apparatus for image processing, image forming apparatus, computer program, and recording medium
US8643907B2 (en) 2010-04-15 2014-02-04 Seiko Epson Corporation Image processing apparatus and program therefor
US8654403B2 (en) 2010-04-15 2014-02-18 Seiko Epson Corporation Image processing apparatus and program therefor
JP2014230232A (en) * 2013-05-27 2014-12-08 ブラザー工業株式会社 Image processing device and program
JP2020009345A (en) * 2018-07-12 2020-01-16 スキャネット株式会社 System, program, and method for grading papers

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324244B2 (en) * 2003-03-20 2008-01-29 Kabushiki Kaisha Toshiba Image forming apparatus and image forming method
JP2006094425A (en) * 2004-09-27 2006-04-06 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program
JP2006311381A (en) * 2005-04-28 2006-11-09 Sharp Corp Image processor, image forming apparatus, image processing method, computer program and recording medium
JP4549227B2 (en) * 2005-04-28 2010-09-22 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2008035478A (en) * 2006-07-04 2008-02-14 Sharp Corp Method and apparatus for image processing, image forming apparatus, computer program, and recording medium
JP2008028550A (en) * 2006-07-19 2008-02-07 Ricoh Co Ltd Image processor, image processing method, and program
US8643907B2 (en) 2010-04-15 2014-02-04 Seiko Epson Corporation Image processing apparatus and program therefor
US8654403B2 (en) 2010-04-15 2014-02-18 Seiko Epson Corporation Image processing apparatus and program therefor
JP2014230232A (en) * 2013-05-27 2014-12-08 ブラザー工業株式会社 Image processing device and program
JP2020009345A (en) * 2018-07-12 2020-01-16 スキャネット株式会社 System, program, and method for grading papers

Also Published As

Publication number Publication date
JP4212876B2 (en) 2009-01-21

Similar Documents

Publication Publication Date Title
US7327874B2 (en) Method of and apparatus for image processing apparatus, and computer product
JP5540553B2 (en) Image processing apparatus, image forming apparatus, image processing method, and image processing program
US20040165081A1 (en) Image processing apparatus, image processing system, and image processing method
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP4176114B2 (en) Image compression apparatus, image reading apparatus including the same, image processing apparatus including the image compression apparatus, image forming apparatus including the same, and image compression processing method
JP2004228811A (en) Image processor, image processing method and program for computer to perform execution
JP2017175213A (en) Manuscript type recognition device, image forming apparatus, manuscript type recognition method and program
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JP2007311836A (en) Image processing apparatus, control method thereof, computer program and computer-readable storage medium
JP2004193964A (en) Picture processor, picture processing method, program and recording medium
JP4217536B2 (en) Image processing apparatus, image processing method, and image forming apparatus
JP6705237B2 (en) Image compression apparatus, image forming apparatus, image compression method and program
JP4212876B2 (en) Image processing apparatus and image processing system
JP3929030B2 (en) Image processing device
JP4898601B2 (en) Image processing apparatus, image processing method, and program thereof
JP2021027434A (en) Image processing device
JP4526577B2 (en) Image processing apparatus, image processing system, and image processing method
JP4050639B2 (en) Image processing apparatus, image processing method, and program executed by computer
JP2002077647A (en) Image processor
JP4515986B2 (en) Image processing apparatus and program
JP4963559B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program for causing computer to execute the method
JP3767210B2 (en) Document type determination device and image processing device
JP4185831B2 (en) Image processing apparatus, image processing method, and image processing program
JP3581756B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080411

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080805

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081003

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081029

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees