JP4470349B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP4470349B2
JP4470349B2 JP2001211727A JP2001211727A JP4470349B2 JP 4470349 B2 JP4470349 B2 JP 4470349B2 JP 2001211727 A JP2001211727 A JP 2001211727A JP 2001211727 A JP2001211727 A JP 2001211727A JP 4470349 B2 JP4470349 B2 JP 4470349B2
Authority
JP
Japan
Prior art keywords
color
image data
image processing
monochrome
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001211727A
Other languages
Japanese (ja)
Other versions
JP2003032499A (en
Inventor
義和 渡邊
章夫 小谷
信弘 三縞
俊久 山中
健矢 羽場
隆博 北山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2001211727A priority Critical patent/JP4470349B2/en
Publication of JP2003032499A publication Critical patent/JP2003032499A/en
Application granted granted Critical
Publication of JP4470349B2 publication Critical patent/JP4470349B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は,カラー画像もしくはモノクロ画像を取り扱う画像処理装置およびその画像処理方法に関する。さらに詳細には,カラーかモノクロかを判定する機能を有する画像処理装置およびその画像処理方法に関するものである。
【0002】
【従来の技術】
従来から,画像処理装置においては,取り扱う画像データの中にあるカラー画素の存在状況によりカラーかモノクロかを識別し,適切な画像処理をしている。ところで,近年のカラー画像形成装置においては,カラー画像を形成する際,各装置に固有のパターン(以下,追跡パターンという。)を出力画像に付加する機能を設けている。これは,例えば,紙幣や有価証券等が複写された場合に,使用されたカラー画像形性装置の機種や機番を特定する手がかりを,その複写物に残すための機能である。かかる追跡パターンは,通常,イエロー等の目立たない色で印刷されている。そこで,画像処理装置で処理しようとする画像データに追跡パターンもしくはこれに類する特定パターンが含まれている場合に,いかなるカラー/モノクロ判別をするかが問題となる。このようなケースに着目した従来技術としては,特開平11−355589号公報が挙げられる。同号公報の技術では,追跡パターンを含む画像データはすべてカラーの画像データであると判別し,カラー画像として画像処理することとしている。
【0003】
【発明が解決しようとする課題】
しかしながら,前記した従来の技術では以下のような問題があった。すなわち,追跡パターン以外はモノクロである画像データは,通常,ユーザによりモノクロであると認識されていると考えられる。しかし,追跡パターンの存在のためカラー画像として処理してしまう。このため,ユーザがモノクロ画像と認識している画像データに対して,モノクロ画像としての処理がされない。すなわち,ユーザが所望する処理と画像処理装置の実際の処理とが異なっていた。
【0004】
本発明は,前記した従来の技術が有する問題点を解決するためになされたものである。すなわちその課題とするところは,特定パターンの存在する画像データについても適切にカラー/モノクロ判別し,ユーザが所望する画像処理を行う画像処理装置およびその画像処理方法を提供することにある。
【0005】
【課題を解決するための手段】
この課題の解決を目的としてなされた本発明の画像処理装置は,画像データを取り扱うものであって,画像データ中のその画像を形成した装置に固有のパターンである追跡パターンを検出する特定パターン検出手段と,画像データ中のカラー画素を認識するカラー画素認識手段と,画像データ中のカラー画素の個数から追跡パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定する判定手段とを有するものである。
【0006】
この画像処理装置では,画像データを取り扱う場合に,特定パターン検出手段により画像データ中の特定パターンが検出される。また,カラー画素認識手段により画像データ中のカラー画素が認識される。そして,画像データ中のカラー画素のうち特定パターンに該当しないものの存在状況に基づいて,判定手段により画像データがカラーかモノクロかが判定される。これにより,特定パターンの存在する画像データについては,特定パターンが無視され,特定パターン以外の部分によりカラーかモノクロかの判定がなされる。その後,判定結果に基づき適切な処理がなされる。かくして,ユーザの意図に合致した画像処理がなされるのである。
【0007】
本発明において,判定手段は,画像データ中のカラー画素の個数から特定パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定することが望ましい。このようにすると,カラーかモノクロかを判定する場合に,特定パターンを無視して判別することとなる。このため,特定パターンの有無に関係のない自動カラー選択処理ができるのである。
【0008】
そして本発明の画像処理方法は,画像データの処理をするに際し,画像データ中のその画像を形成した装置に固有のパターンである追跡パターンを検出し,画像データ中のカラー画素を認識し,画像データ中のカラー画素の個数から追跡パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定する。この方法により,特定パターンが存在しても,必要に応じたカラーかモノクロかの判別処理ができるのである。
【0009】
あるいは本発明の画像処理方法は,画像データの処理をするに際し,画像データ中のカラー画素の個数から特定パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定してもよい。この方法により,特定パターンを無視したカラーかモノクロかの判別処理ができるのである。
【0010】
また,本発明においての特定パターンとしては,追跡パターンが考えられる。これにより,追跡パターンの存在する画像データについても,適切にカラーかモノクロかを判別することができる。
【0011】
【発明の実施の形態】
以下,本発明に係る画像処理装置を具体化した実施の形態について図面に基づいて説明する。図1は,実施の形態におけるデジタルフルカラー複写機(以下,本形態の複写機という。)の全体構成を示すブロック図である。本形態の複写機は,スキャナ100と,画像処理部200と,プリンタ300と,制御部400と,操作部500と,表示部600とを有してる。
【0012】
スキャナ100は,原稿を読み取りアナログデータであるR,G,Bの3色分解信号を取得する。さらに,これら3色分解信号をRGBのデジタル信号に変換して画像処理部200に出力する。画像処理部200は,スキャナ100から入力されたRGBのデジタル信号に対して,選択されている原稿モードに応じた色補正等を施す。この色補正等により,RGBのデジタル信号はC,M,Y,Kの各色成分に分解されプリンタ300に出力される。プリンタ300は,CMYKの4色で画像を形成するものであり,画像処理部200の出力データのプリントアウトを行う。
【0013】
なお,本形態の複写機は1ドラム方式であり,フルカラーコピーを行う場合は,スキャナ100の1回の読み取りにつきCMYKのいずれか1つの成分を順次プリンタ300に出力し,計4回の読み取りにより1回のプリントアウトを実施する。また,画像処理部200では,読み取った原稿のカラー/モノクロの判定を行う。
【0014】
制御部400は,マイクロコンピュータ等で構成され,ROM等にあらかじめ格納されたプログラムに従って,複写機の装置全体の動作の制御を行う。操作部500は,コピーモードの選択や複写枚数の設定等を操作者が行うための入力装置であり,各種キーおよび表示部600上のタッチパネル等で構成される。ここでいうコピーモードには,プレスキャン有無の設定等がある。表示部600は,各種設定状態の表示,操作者に対する設定指示等を行う表示装置である。
【0015】
図2は,操作部500および表示部600の構成を示す図である。操作部500は,各種キー502〜505により構成される。キー502は複写枚数や変倍率等の数値を入力するためのテンキー,キー503は装置の動作開始を指示するためのスタートキー,キー504は動作中止を指示するためのストップキー,キー505はモードを初期設定に戻すためのモードリセットキーである。また,表示部600は,タッチパネル付きカラー表示装置であり,表示部600上でモードの選択ができるようにタッチパネル501が重ねられている。
【0016】
図3は,表示部600(タッチパネル501)の表示画面を示す図である。表示部600は,画面左上に「コピーできます」等のメッセージを表示するメッセージエリア,画面右上にコピーする枚数を表示するコピー枚数表示エリア,画面右下にコピー倍率を表示するエリアを備えている。さらに,表示部600では各種の設定が可能であり,例えば,カラーモード(自動カラー選択,モノクロ,カラー)を選択するキー,原稿モード(自動文字・写真モード,文字モード,印刷写真モード,印画紙写真モード,複写原稿モード)を選択するキー,用紙サイズ(自動用紙選択,A4横,A4縦,A3)を選択するキー,倍率(等倍,用紙指定変倍)を選択するキー等を備えている。
【0017】
次に,本形態の複写機の全体動作を,図4のフローチャートを用いて説明する。なお,本形態の複写機は,画像処理部200における原稿のカラー/モノクロの判定を,プレスキャン時に行うモードと本スキャン字に行うモードとを備えている。まず,制御部400がプレスキャンモードが設定されているか否かの判断をする(S101)。プレスキャンモードが選択されていない場合には(S101:NO),スキャナ100で1回スキャンを行いK色の作像をする(S102)。そして,K色の作像が行われている間に,画像処理部200はスキャンで得られたデータに基づき原稿のカラー/モノクロの判定をし(S103),その結果を制御部400に出力する。制御部400は,画像処理部200から入力された判定結果に基づきカラー原稿であるか否かを判断する(S104)。カラーでない場合,すなわちモノクロと判定した場合には(S104:NO),残りのCMYの作像をせずに処理を終了し,プリンタ300がモノクロで出力する。他方,カラーと判定した場合には(S104:YES),スキャナ100で3回のスキャンをし,プリンタ300がCMYそれぞれの作像を行い(S105),フルカラーで出力する。
【0018】
一方,S101において,プレスキャンモードが選択されている場合には(S101:YES),プレスキャンをする(S106)。その後,画像処理部200はプレスキャンで得られたデータに基づきカラー/モノクロの判定をし(S107),その結果を制御部400に出力する。ついで,制御部400は,画像処理部200から入力された判定結果がカラーであるか否かを判断する(S108)。カラーと判定された場合には(S108:YES),スキャナ100で4回のスキャンをし,プリンタ300がCMYKそれぞれの作像を行い(S109),フルカラーで出力する。他方,モノクロと判定された場合には(S108:NO),スキャナ100で1回のスキャンをし,プリンタ300がKのみの作像を行い(S110),モノクロで出力する。
【0019】
次に,画像処理部200について詳細に説明する。図5は,画像処理部200の内部構成を示すブロック図である。画像処理部200は,濃度変換部201と,フィルタ202と,色補正/UCR(下地色除去処理)部203と,セレクタ204と,階調補正部205と,階調処理部206と,追跡パターン検出部207と,カラー画素検出部208と,総合判定部209との各処理部と,CPU210とを備えている。各処理部は,CPU210により制御される。
【0020】
次に,画像処理部200の動作について説明する。まず,スキャナ100は,R,G,Bのデジタル信号を濃度変換部201,追跡パターン部207,およびカラー画素検出部208にそれぞれ出力する。
【0021】
濃度変換部201は,入力されたR,G,Bのデジタル信号(反射光データ)を濃度データR1,G1,B1に変換する。変換した各濃度データは,フィルタ202に出力される。フィルタ202は,濃度データR1,G1,B1の注目画素とその周辺の画素とから,平滑化やエッジ強調といった画像の補正を行う。補正を行った後の信号R2,G2,B2は,色補正/UCR部203に出力される。
【0022】
色補正/UCR部203は,入力された信号R2,G2,B2に対して,スキャナ100の色分解フィルタの濁り成分やインクの濁り成分を除去するために色補正する。この色補正は,例えば次式により実行する。
C0=K11×R2+K12×G2+K13×B2
M0=K21×R2+K22×G2+K23×B2
Y0=K31×R2+K32×G2+K33×B2
K11〜K33は,補正を行うための係数である。次に,下地色除去処理(UCR処理)では,色補正後のC0,M0,Y0信号について,その黒成分の一部あるいは全部を除去したC1,M1,Y1信号と,除去相当量の黒インクの信号K1を発生させる。ここで,下地色除去率をα(0≦α≦1)とした場合に,C1,M1,Y1,K1は,例えば次式により実行される。
K1=α×min(C0,M0,Y0)
C1=C0−K1
M1=M0−K1
Y1=Y0−K1
min(C0,M0,Y0)は,C0,M0,Y0の最小値である。下地除去処理後の信号C1,M1,Y1,K1は,セレクタ204に出力される。
【0023】
セレクタ204は,CPU210の制御によりC1,M1,Y1,K1のいずれかの信号を選択して階調補正部205に出力する。階調補正部205は,C1,M1,Y1,K1に対して,プリンタ300の特性に合わせて濃度補正をする。補正後の信号C2,M2,Y2,K2は,階調処理部206に出力される。階調処理部206は,C2,M2,Y2,K2に対して階調処理を行いC,M,Y,K信号を生成する。C,M,Y,K信号は,画像処理部200の出力信号としてプリンタ300に出力される。プリンタ300では,C,M,Y,K信号に基づきカラー画像を形成する。
【0024】
追跡パターン検出部207は,入力されたRGBのデジタル信号から追跡パターンを検出する。追跡パターンを検出した場合には,その画素数をカウントし,その結果を追跡パターンカウント値として総合判定部209に出力する。なお,追跡パターンの検出は,特開平9−186901号公報に記載された方式等により実行する。
【0025】
カラー画素検出部208は,入力されたRGBのデジタル信号からヒストグラムの解析や小領域ごとの特徴量抽出等によるカラー画素の検出を行う。これらの検出結果から原稿中のカラー画素領域の画素数をカウントし,その結果をカラー画素カウント値として総合判定部209に出力する。なお,カラー画素の検出は,特開平8−256271号公報に記載された方式等により実行する。
【0026】
総合判定部209は,図6のブロック図に示すように,演算部2091と,判定部2092と,閾値発生部2093とから構成されている。閾値発生部2093では,カラー/モノクロの判定に用いる閾値を発生させる。演算部2091では,追跡パターン検出部207から入力される追跡パターンカウント値と,カラー画素検出部208から入力されるカラー画素カウント値とに基づき原稿のカラー/モノクロの判定を行う。詳細には,カラー画素カウント値から追跡パターンカウント値を減算し,その結果と閾値とを比較し判定する。例えば,閾値のほうが大きい場合はモノクロとし,閾値のほうが小さい場合はカラーと判定する。判定結果は,総合判定結果としてCPU210に出力する。
【0027】
次に,CPU210が行うカラー/モノクロ判定処理の動作を,図7のフローチャートを用いて説明する。まず,操作部500のカラーモード選択キーによるモード設定を確認する(S201)。自動カラーモードが選択されていた場合(S201:自動カラー選択)は,総合判定部209による総合判定結果を優先し,カラー/モノクロの判断をする(S202)。カラーモードが選択されていた場合(S201:カラー)は,総合判定結果によらずカラーと判断する(S204)。また,モノクロモードが選択されていた場合(S201:モノクロ)は,総合判定結果によらずモノクロと判断する(S203)。カラーと判断(S204)もしくはモノクロと判断(S203)するとカラー/モノクロ判定処理を終了する。すなわち,自動カラーモードが選択されている場合は,総合判定の結果によりカラー/モノクロの画像が出力され,それ以外の場合は,ユーザ任意の画像が出力される。
【0028】
以上詳細に説明したように本実施の形態の画像処理装置では,追跡パターン検出部207により画像データ中の追跡パターンを検出することとしている。また,カラー画素検出部208により画像データ中のカラー画素を認識することとしている。そして,検出した追跡パターンの画素数と認識したカラー画素数とを基に,総合判定部209によりカラー/モノクロの判別処理を行うこととしている。さらに,判定部2092では,演算部2091により画像データ中のカラー画素の個数から追跡パターンの画素数を減算した値を,閾値発生部2093から発生した閾値と比較することにより,画像データがカラーかモノクロかを判定することとしている。これにより,追跡パターンを無視したカラー/モノクロの判別処理が実現されている。
【0029】
なお,本実施の形態は単なる例示にすぎず,本発明を何ら限定するものではない。したがって本発明は当然に,その要旨を逸脱しない範囲内で種々の改良,変形が可能である。例えば,本形態ではデジタルカラー複写機を用いたが,カラープリンタやスキャナ等のカラー画像処理装置でもよい。なお,プリンタの場合の画像データとは,パソコン等から入力された画像データもしくは画像ファイルのことである。また,スキャナの場合は,追跡パターンが付されたモノクロ原稿でも,カラー/モノクロの判定結果によってはモノクロ画像としてデータを作成することとなる。
【0030】
また,本形態では画像データ中の全領域についての計数後に減算してカラー/モノクロの判別をしていたが,画素毎に追跡パターンか否かを判断し,追跡パターンであれば無視することとしてもよい。
【0031】
また,本形態では画像データ中の全領域についてカラー画素と追跡パターンの画素とを計数しているが,画像データを複数のブロックに分割し,ブロック単位でカラー/モノクロの判別をしてもよい。
【0032】
また,本形態では特定パターンを追跡パターンとしているが,これに限られるものではない。例えば,著作物の情報が特定パターンとして原稿中に含まれている場合に,それを検出すると,コピー料金に著作権料を上乗せすることとしてもよい。
【0033】
【発明の効果】
以上の説明から明らかなように本発明によれば,特定パターンの存在する画像データについても適切にカラー/モノクロ判別し,ユーザが所望する画像処理を行う画像処理装置およびその画像処理方法が提供されている。
【図面の簡単な説明】
【図1】実施の形態における複写機の全体構成を示すブロック図である。
【図2】実施の形態における複写機の操作部および表示部の構成を示す図である。
【図3】実施の形態における複写機の表示部の表示画面を示す図である。
【図4】実施の形態における複写機の動作を示すフローチャートである。
【図5】実施の形態における複写機の画像処理部の内部構成を示すブロック図である。
【図6】実施の形態における複写機の総合判定部の内部構成を示すブロック図である。
【図7】カラー/モノクロ判定の動作を示すフローチャートである。
【符号の説明】
100 スキャナ
200 画像処理部
207 追跡パターン検出部
208 カラー画素検出部
209 総合判定部
300 プリンタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that handles color images or monochrome images, and an image processing method thereof. More specifically, the present invention relates to an image processing apparatus having a function of determining whether it is color or monochrome, and an image processing method thereof.
[0002]
[Prior art]
Conventionally, in an image processing apparatus, color or monochrome is identified based on the presence of color pixels in the image data to be handled, and appropriate image processing is performed. By the way, recent color image forming apparatuses are provided with a function of adding a unique pattern (hereinafter referred to as a tracking pattern) to the output image when forming a color image. This is a function for leaving a clue for identifying the type and machine number of the used color image forming apparatus in the copied material when, for example, banknotes or securities are copied. Such tracking patterns are usually printed in inconspicuous colors such as yellow. Therefore, when the image data to be processed by the image processing apparatus includes a tracking pattern or a specific pattern similar thereto, what kind of color / monochrome determination is to be made becomes a problem. Japanese Unexamined Patent Publication No. 11-355589 is cited as a prior art that pays attention to such a case. In the technique of the publication, all image data including a tracking pattern is determined to be color image data, and image processing is performed as a color image.
[0003]
[Problems to be solved by the invention]
However, the conventional techniques described above have the following problems. That is, it is considered that image data that is monochrome other than the tracking pattern is normally recognized as monochrome by the user. However, it is processed as a color image due to the presence of the tracking pattern. For this reason, the image data that the user recognizes as a monochrome image is not processed as a monochrome image. That is, the process desired by the user is different from the actual process of the image processing apparatus.
[0004]
The present invention has been made to solve the above-described problems of the prior art. That is, an object of the present invention is to provide an image processing apparatus and an image processing method for appropriately determining color / monochrome for image data having a specific pattern and performing image processing desired by a user.
[0005]
[Means for Solving the Problems]
The image processing apparatus of the present invention, which has been made for the purpose of solving this problem, handles image data, and is a specific pattern detection that detects a tracking pattern that is unique to the apparatus that formed the image in the image data. Means for recognizing color pixels in the image data, and comparing the value obtained by subtracting the number of pixels of the tracking pattern from the number of color pixels in the image data with a predetermined threshold value, Determination means for determining whether the image is monochrome or monochrome.
[0006]
In this image processing apparatus, when the image data is handled, a specific pattern in the image data is detected by the specific pattern detecting means. In addition, color pixels in the image data are recognized by the color pixel recognition means. Then, based on the presence state of the color pixels in the image data that do not correspond to the specific pattern, the determination unit determines whether the image data is color or monochrome. As a result, for image data in which a specific pattern exists, the specific pattern is ignored, and whether it is color or monochrome is determined by a portion other than the specific pattern. Thereafter, appropriate processing is performed based on the determination result. Thus, image processing that matches the user's intention is performed.
[0007]
In the present invention, it is desirable that the determination means determine whether the image data is color or monochrome by comparing a value obtained by subtracting the number of pixels of the specific pattern from the number of color pixels in the image data with a predetermined threshold. In this way, when determining whether it is color or monochrome, the specific pattern is ignored. For this reason, automatic color selection processing irrespective of the presence or absence of a specific pattern can be performed.
[0008]
In the image processing method of the present invention, when processing image data , a tracking pattern , which is a pattern unique to the device that formed the image, is detected in the image data, color pixels in the image data are recognized, and the image data Whether the image data is color or monochrome is determined by comparing a value obtained by subtracting the number of pixels of the tracking pattern from the number of color pixels in the data with a predetermined threshold. By this method, even if a specific pattern exists, it is possible to determine whether it is color or monochrome according to need.
[0009]
Alternatively, the image processing method of the present invention, when processing image data, compares the value obtained by subtracting the number of pixels of a specific pattern from the number of color pixels in the image data with a predetermined threshold value to determine whether the image data is color. You may determine whether it is monochrome. By this method, it is possible to determine whether a specific pattern is ignored or not.
[0010]
In addition, a tracking pattern can be considered as the specific pattern in the present invention. Thereby, it is possible to appropriately determine whether the image data having the tracking pattern is color or monochrome.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of an image processing apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an overall configuration of a digital full-color copying machine (hereinafter referred to as a copying machine of the present embodiment) according to an embodiment. The copying machine of this embodiment has a scanner 100, an image processing unit 200, a printer 300, a control unit 400, an operation unit 500, and a display unit 600.
[0012]
The scanner 100 reads a document and acquires R, G, and B three-color separation signals that are analog data. Further, these three color separation signals are converted into RGB digital signals and output to the image processing unit 200. The image processing unit 200 performs color correction or the like on the RGB digital signals input from the scanner 100 according to the selected document mode. Through this color correction, the RGB digital signal is separated into C, M, Y, and K color components and output to the printer 300. The printer 300 forms an image with four colors of CMYK, and prints out output data of the image processing unit 200.
[0013]
Note that the copying machine of this embodiment is a one-drum system, and when performing full-color copying, any one component of CMYK is sequentially output to the printer 300 for each reading of the scanner 100, and is read four times in total. Perform one printout. Further, the image processing unit 200 determines color / monochrome of the read document.
[0014]
The control unit 400 is constituted by a microcomputer or the like, and controls the operation of the entire copying machine according to a program stored in advance in a ROM or the like. The operation unit 500 is an input device for an operator to select a copy mode, set the number of copies, and the like, and includes various keys and a touch panel on the display unit 600. In this case, the copy mode includes setting of presence / absence of pre-scan. The display unit 600 is a display device that performs display of various setting states, setting instructions for an operator, and the like.
[0015]
FIG. 2 is a diagram illustrating the configuration of the operation unit 500 and the display unit 600. The operation unit 500 includes various keys 502 to 505. A key 502 is a numeric keypad for inputting numerical values such as the number of copies and a zoom ratio, a key 503 is a start key for instructing start of operation of the apparatus, a key 504 is a stop key for instructing stop of operation, and a key 505 is a mode. This is a mode reset key for returning to the initial setting. The display unit 600 is a color display device with a touch panel, and a touch panel 501 is superimposed on the display unit 600 so that a mode can be selected.
[0016]
FIG. 3 is a diagram showing a display screen of the display unit 600 (touch panel 501). The display unit 600 includes a message area that displays a message such as “Can copy” at the upper left of the screen, a copy number display area that displays the number of copies to be displayed at the upper right of the screen, and an area that displays the copy magnification at the lower right of the screen. . Furthermore, various settings can be made on the display unit 600. For example, a key for selecting a color mode (automatic color selection, monochrome, color), a document mode (automatic character / photo mode, character mode, print photo mode, photographic paper) Key for selecting photo mode and copy original mode), key for selecting paper size (automatic paper selection, A4 horizontal, A4 vertical, A3), key for selecting magnification (same size, paper specified scaling), etc. Yes.
[0017]
Next, the overall operation of the copying machine of this embodiment will be described with reference to the flowchart of FIG. Note that the copying machine of the present embodiment includes a mode for performing color / monochrome determination of a document in the image processing unit 200 during pre-scanning and a mode for performing main scanning characters. First, the control unit 400 determines whether or not the pre-scan mode is set (S101). If the pre-scan mode is not selected (S101: NO), the scanner 100 scans once and forms a K color image (S102). While the K color image is being formed, the image processing unit 200 determines the color / monochrome of the document based on the data obtained by scanning (S103), and outputs the result to the control unit 400. . The control unit 400 determines whether the document is a color document based on the determination result input from the image processing unit 200 (S104). If it is not color, that is, if it is determined to be monochrome (S104: NO), the process is terminated without forming the remaining CMY images, and the printer 300 outputs in monochrome. On the other hand, if it is determined to be color (S104: YES), the scanner 100 scans three times, the printer 300 performs CMY image formation (S105), and outputs in full color.
[0018]
On the other hand, if the pre-scan mode is selected in S101 (S101: YES), pre-scan is performed (S106). Thereafter, the image processing unit 200 determines color / monochrome based on the data obtained by the pre-scan (S107), and outputs the result to the control unit 400. Next, the control unit 400 determines whether the determination result input from the image processing unit 200 is color (S108). If the color is determined (S108: YES), the scanner 100 performs four scans, the printer 300 performs CMYK image formation (S109), and outputs in full color. On the other hand, if it is determined to be monochrome (S108: NO), the scanner 100 performs one scan, the printer 300 performs image formation for K only (S110), and outputs in monochrome.
[0019]
Next, the image processing unit 200 will be described in detail. FIG. 5 is a block diagram illustrating an internal configuration of the image processing unit 200. The image processing unit 200 includes a density conversion unit 201, a filter 202, a color correction / UCR (background color removal processing) unit 203, a selector 204, a gradation correction unit 205, a gradation processing unit 206, and a tracking pattern. Each processing unit includes a detection unit 207, a color pixel detection unit 208, a comprehensive determination unit 209, and a CPU 210. Each processing unit is controlled by the CPU 210.
[0020]
Next, the operation of the image processing unit 200 will be described. First, the scanner 100 outputs R, G, and B digital signals to the density conversion unit 201, the tracking pattern unit 207, and the color pixel detection unit 208, respectively.
[0021]
The density converter 201 converts the input R, G, B digital signals (reflected light data) into density data R1, G1, B1. Each converted density data is output to the filter 202. The filter 202 performs image correction such as smoothing and edge enhancement from the target pixel of the density data R1, G1, and B1 and the surrounding pixels. The corrected signals R2, G2, and B2 are output to the color correction / UCR unit 203.
[0022]
The color correction / UCR unit 203 corrects the input signals R2, G2, and B2 in order to remove the turbidity component of the color separation filter and the turbidity component of ink of the scanner 100. This color correction is executed by the following equation, for example.
C0 = K11 × R2 + K12 × G2 + K13 × B2
M0 = K21 × R2 + K22 × G2 + K23 × B2
Y0 = K31 × R2 + K32 × G2 + K33 × B2
K11 to K33 are coefficients for performing correction. Next, in the background color removal process (UCR process), the C1, M1, and Y1 signals obtained by removing some or all of the black components of the color-corrected C0, M0, and Y0 signals and the black ink corresponding to the removal. The signal K1 is generated. Here, when the background color removal rate is α (0 ≦ α ≦ 1), C1, M1, Y1, and K1 are executed by, for example, the following equations.
K1 = α × min (C0, M0, Y0)
C1 = C0-K1
M1 = M0-K1
Y1 = Y0-K1
min (C0, M0, Y0) is the minimum value of C0, M0, Y0. The signals C1, M1, Y1, and K1 after the background removal processing are output to the selector 204.
[0023]
The selector 204 selects one of signals C 1, M 1, Y 1, and K 1 under the control of the CPU 210 and outputs the selected signal to the gradation correction unit 205. The tone correction unit 205 corrects the density of C1, M1, Y1, and K1 according to the characteristics of the printer 300. The corrected signals C2, M2, Y2, and K2 are output to the gradation processing unit 206. The gradation processing unit 206 performs gradation processing on C2, M2, Y2, and K2, and generates C, M, Y, and K signals. The C, M, Y, and K signals are output to the printer 300 as output signals of the image processing unit 200. The printer 300 forms a color image based on the C, M, Y, and K signals.
[0024]
The tracking pattern detection unit 207 detects a tracking pattern from the input RGB digital signal. When a tracking pattern is detected, the number of pixels is counted, and the result is output to the overall determination unit 209 as a tracking pattern count value. The tracking pattern is detected by the method described in JP-A-9-186901.
[0025]
The color pixel detection unit 208 detects a color pixel from the input RGB digital signal by analyzing a histogram, extracting a feature amount for each small region, or the like. From these detection results, the number of pixels in the color pixel area in the document is counted, and the result is output as a color pixel count value to the overall determination unit 209. The color pixel detection is performed by the method described in Japanese Patent Laid-Open No. 8-256271.
[0026]
As shown in the block diagram of FIG. 6, the overall determination unit 209 includes a calculation unit 2091, a determination unit 2092, and a threshold value generation unit 2093. The threshold generation unit 2093 generates a threshold used for color / monochrome determination. The calculation unit 2091 determines the color / monochrome of the document based on the tracking pattern count value input from the tracking pattern detection unit 207 and the color pixel count value input from the color pixel detection unit 208. More specifically, the tracking pattern count value is subtracted from the color pixel count value, and the result is compared with a threshold value for determination. For example, when the threshold is larger, it is determined as monochrome, and when the threshold is smaller, it is determined as color. The determination result is output to the CPU 210 as a comprehensive determination result.
[0027]
Next, the color / monochrome determination process performed by the CPU 210 will be described with reference to the flowchart of FIG. First, the mode setting by the color mode selection key of the operation unit 500 is confirmed (S201). When the automatic color mode has been selected (S201: automatic color selection), priority is given to the comprehensive determination result by the comprehensive determination unit 209 to determine color / monochrome (S202). If the color mode has been selected (S201: color), it is determined to be color regardless of the overall determination result (S204). If the monochrome mode is selected (S201: monochrome), it is determined as monochrome regardless of the comprehensive determination result (S203). When the color is determined (S204) or monochrome (S203), the color / monochrome determination process is terminated. In other words, when the automatic color mode is selected, a color / monochrome image is output according to the result of the comprehensive determination, and in any other case, an arbitrary image is output by the user.
[0028]
As described in detail above, in the image processing apparatus according to the present embodiment, the tracking pattern detection unit 207 detects the tracking pattern in the image data. The color pixel detection unit 208 recognizes color pixels in the image data. Then, based on the detected number of pixels of the tracking pattern and the recognized number of color pixels, the comprehensive determination unit 209 performs color / monochrome determination processing. Further, the determination unit 2092 compares the value obtained by subtracting the number of pixels of the tracking pattern from the number of color pixels in the image data by the calculation unit 2091 with the threshold generated from the threshold generation unit 2093, thereby determining whether the image data is color. Whether it is monochrome or not is determined. As a result, color / monochrome discrimination processing ignoring the tracking pattern is realized.
[0029]
Note that this embodiment is merely an example and does not limit the present invention. Therefore, the present invention can naturally be improved and modified in various ways without departing from the gist thereof. For example, although a digital color copying machine is used in this embodiment, a color image processing apparatus such as a color printer or a scanner may be used. Note that image data in the case of a printer is image data or an image file input from a personal computer or the like. In the case of a scanner, even a monochrome document with a tracking pattern is created as a monochrome image depending on the color / monochrome determination result.
[0030]
In this embodiment, color / monochrome discrimination is performed by subtracting after counting all areas in the image data. However, it is determined whether each pixel is a tracking pattern, and is ignored if it is a tracking pattern. Also good.
[0031]
In this embodiment, color pixels and tracking pattern pixels are counted for all areas in the image data. However, the image data may be divided into a plurality of blocks, and color / monochrome discrimination may be performed in units of blocks. .
[0032]
In the present embodiment, the specific pattern is a tracking pattern, but this is not a limitation. For example, when information on a copyrighted work is included in a document as a specific pattern, if it is detected, the copyright fee may be added to the copy fee.
[0033]
【The invention's effect】
As is apparent from the above description, according to the present invention, there is provided an image processing apparatus and an image processing method for appropriately determining color / monochrome for image data having a specific pattern and performing image processing desired by the user. ing.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a copying machine according to an embodiment.
FIG. 2 is a diagram illustrating a configuration of an operation unit and a display unit of the copier according to the embodiment.
FIG. 3 is a diagram showing a display screen of a display unit of the copying machine according to the embodiment.
FIG. 4 is a flowchart showing the operation of the copying machine according to the embodiment.
FIG. 5 is a block diagram showing an internal configuration of an image processing unit of the copying machine according to the embodiment.
FIG. 6 is a block diagram illustrating an internal configuration of a general determination unit of the copying machine according to the embodiment.
FIG. 7 is a flowchart showing an operation of color / monochrome determination.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100 Scanner 200 Image processing part 207 Tracking pattern detection part 208 Color pixel detection part 209 Comprehensive determination part 300 Printer

Claims (2)

画像データを取り扱う画像処理装置において,
画像データ中のその画像を形成した装置に固有のパターンである追跡パターンを検出する特定パターン検出手段と,
画像データ中のカラー画素を認識するカラー画素認識手段と,
画像データ中のカラー画素の個数から追跡パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定する判定手段とを有することを特徴とする画像処理装置。
In an image processing apparatus that handles image data,
A specific pattern detecting means for detecting a tracking pattern which is a pattern unique to the apparatus that formed the image in the image data;
Color pixel recognition means for recognizing color pixels in image data;
Image processing comprising: a determination unit that determines whether the image data is color or monochrome by comparing a value obtained by subtracting the number of pixels of the tracking pattern from the number of color pixels in the image data with a predetermined threshold value apparatus.
画像データの画像処理方法において,
画像データ中のその画像を形成した装置に固有のパターンである追跡パターンを検出し,
画像データ中のカラー画素を認識し,
画像データ中のカラー画素の個数から追跡パターンの画素数を減算した値を所定の閾値と比較することにより,画像データがカラーかモノクロかを判定することを特徴とする画像処理方法。
In the image processing method of image data,
The tracking pattern that is unique to the device that formed the image in the image data is detected,
Recognize color pixels in image data,
An image processing method comprising: determining whether image data is color or monochrome by comparing a value obtained by subtracting the number of pixels of the tracking pattern from the number of color pixels in the image data with a predetermined threshold value.
JP2001211727A 2001-07-12 2001-07-12 Image processing apparatus and image processing method Expired - Fee Related JP4470349B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001211727A JP4470349B2 (en) 2001-07-12 2001-07-12 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001211727A JP4470349B2 (en) 2001-07-12 2001-07-12 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2003032499A JP2003032499A (en) 2003-01-31
JP4470349B2 true JP4470349B2 (en) 2010-06-02

Family

ID=19046991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001211727A Expired - Fee Related JP4470349B2 (en) 2001-07-12 2001-07-12 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4470349B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5198510B2 (en) 2010-06-29 2013-05-15 京セラドキュメントソリューションズ株式会社 Image processing apparatus, image processing method, and image processing program
JP6150761B2 (en) * 2014-04-23 2017-06-21 京セラドキュメントソリューションズ株式会社 Image reading device

Also Published As

Publication number Publication date
JP2003032499A (en) 2003-01-31

Similar Documents

Publication Publication Date Title
US8237993B2 (en) Apparatus and method for image processing of ground pattern
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP4930423B2 (en) Image processing apparatus, image forming apparatus, image processing apparatus control method, and image processing apparatus control program
US20060256409A1 (en) Image processing apparatus capable of generating distributable image while maintaining readability and security
JP4470349B2 (en) Image processing apparatus and image processing method
JP2005101765A (en) Method and apparatus for processing image, and image forming apparatus
JP2008103917A (en) Image processor
JP4263156B2 (en) Image processing apparatus, method, and program
JP2008085713A (en) Image reader and reading method, and copying machine
JP4039911B2 (en) Image processing apparatus and image processing method
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2002010094A (en) Image forming equipment
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP3767210B2 (en) Document type determination device and image processing device
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4360412B2 (en) Image processing apparatus, method, and program
JPH11355589A (en) Color image forming device
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
JPH08340447A (en) Image processor with through prevention function
JP4582242B2 (en) Image processing apparatus, method, and program
JP5371687B2 (en) Image display apparatus, image forming apparatus, image display method, computer program, and recording medium
JP2001169101A (en) Image discrimination device
JP2004320160A (en) Device, method and program for image processing image reading apparatus provided with the processing device, image processing program, and recording medium

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060323

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081209

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090904

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100115

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

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

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

Free format text: PAYMENT UNTIL: 20130312

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

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees