JP2005072822A - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP2005072822A
JP2005072822A JP2003298299A JP2003298299A JP2005072822A JP 2005072822 A JP2005072822 A JP 2005072822A JP 2003298299 A JP2003298299 A JP 2003298299A JP 2003298299 A JP2003298299 A JP 2003298299A JP 2005072822 A JP2005072822 A JP 2005072822A
Authority
JP
Japan
Prior art keywords
background
color
image
image data
determination
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
JP2003298299A
Other languages
Japanese (ja)
Other versions
JP4111100B2 (en
Inventor
Hiroshi Niina
博 新名
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2003298299A priority Critical patent/JP4111100B2/en
Publication of JP2005072822A publication Critical patent/JP2005072822A/en
Application granted granted Critical
Publication of JP4111100B2 publication Critical patent/JP4111100B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus and its method for performing proper background removal processing even when the background removal processing is applied to a color-copied original. <P>SOLUTION: An image processing apparatus 1 is provided with: a background detection means 11 for detecting the background level of an image particularized by image data on the basis of information with respect to the lightness of the processing object image data; background color type discrimination means 14, 15 for discriminating the background color type of an image particularized by the image data on the basis of information with respect to the saturation in the image data; and a background removal means 16 for applying background removal processing to the image data, the background removal processing corresponding to the detection result by the background detection means 11 and the discrimination result by the background color type discrimination means 14, 15. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像データに対する地肌除去処理を行う機能を有した画像処理装置および画像処理プログラムに関するものである。   The present invention relates to an image processing apparatus and an image processing program having a function of performing background removal processing on image data.

一般に、複写機等にて用いられる画像処理装置では、白色紙による原稿の他に、新聞紙や色付き用紙等の如く用紙自体の色濃度の異なる原稿が読み取り対象となることがあることから、これらの原稿が読み取り対象となった場合でも最適な出力が得られるようにすべく、読み取り対象の原稿における文字や図形以外の地肌部分の明度の濃度レベル(以下「地肌レベル」という)を検出するとともに、その検出結果に応じた階調補正(以下、この補正を「地肌除去処理」という)を行う機能を有したものがある(例えば、特許文献1参照)。   In general, in an image processing apparatus used in a copying machine or the like, in addition to a white paper original, an original having a different color density of the paper itself such as newspaper or colored paper may be read. In order to obtain an optimal output even when a document is to be read, it detects the lightness density level (hereinafter referred to as “background level”) of the background portion other than characters and figures in the document to be read, Some have a function of performing gradation correction according to the detection result (hereinafter, this correction is referred to as “background removal processing”) (see, for example, Patent Document 1).

特開平7−322069号公報JP 7-322069 A

ところで、従来における地肌除去処理では、これをカラーコピーを行う場合に適用すると、例えば新聞紙や上質紙のように、地肌部分がグレーに近く色味(彩度成分)を持たない原稿に対しては、適切な地肌除去が可能である。しかしながら、地肌部分に色味(以下、地肌部分における色味を「地色」という)を持つ原稿については、必ずしも適切な地肌除去が可能であるとは限らない。   By the way, in the conventional background removal processing, when this is applied to color copying, for a document whose background portion is close to gray and has no color (saturation component), such as newspaper or high-quality paper, for example. Appropriate background removal is possible. However, it is not always possible to remove the background appropriately for a document having a background color (hereinafter referred to as “background color”).

具体的には、例えば古新聞紙や再生紙のような黄ばみの見られる原稿については、地肌除去処理を行っても、色成分である黄ばみを除去できず、却って強調されて目立ってしまうこともあり得る。つまり、カラーコピーを行う場合における地肌除去処理では、例えば古新聞紙や再生紙のようにわずかに色味を持つ原稿については、地色が白く再現されるように、地肌除去に加えて地色の補正を行うことが必要とされている。
また、例えばカラーペーパーのような原稿では、地肌除去処理を行うと、その地色が忠実に再現されない可能性があり、結果として原稿の色味が変化してしまうおそれがある。通常、原稿の地色は文字や図形と同様にその原稿の持つ情報として認識されるため、原稿が地色を持つ場合には、その地色の濃度に依らずに、地肌除去しないことが望ましい。つまり、明確な色味を持つカラーペーパー原稿について、カラーコピーを行う場合には、地色も原稿の情報として地肌除去せずにそのまま再現することが必要とされている。
Specifically, for example, for yellowish originals such as old newspapers and recycled paper, even if the background removal processing is performed, the yellowing that is a color component cannot be removed and may be emphasized and stand out. obtain. In other words, in the background removal processing in the case of performing color copying, in addition to the background removal, for a document having a slight color tone such as old newspaper or recycled paper, the background color is reproduced in addition to the background removal. There is a need to make corrections.
For example, when a background removal process is performed on a document such as color paper, the background color may not be faithfully reproduced, and as a result, the color of the document may change. Normally, the background color of a document is recognized as information held in the document in the same way as characters and graphics. Therefore, when the document has a background color, it is desirable not to remove the background regardless of the density of the background color. . In other words, when color copying is performed on a color paper document having a clear color, it is necessary to reproduce the background color as it is without removing the background as information on the document.

そこで、本発明は、例えばカラーコピーを行う場合に適用しても、適切な地肌除去処理を行うことが可能である画像処理装置および画像処理プログラムを提供することを目的とする。   Accordingly, an object of the present invention is to provide an image processing apparatus and an image processing program capable of performing appropriate background removal processing even when applied to, for example, color copying.

本発明は、上記目的を達成するために案出された画像処理装置で、処理対象となる画像データにおける明度に関する情報から当該画像データによって特定される画像の地肌レベルを検出するバックグラウンド検出手段と、前記画像データにおける彩度に関する情報から当該画像データによって特定される画像の地色種別を判定する地色種別判定手段と、前記バックグラウンド検出手段での検出結果および前記地色種別判定手段での判定結果に応じた地肌除去処理を前記画像データに対して行う地肌除去手段とを備えることを特徴とするものである。   The present invention is an image processing apparatus devised to achieve the above object, and a background detection means for detecting a background level of an image specified by the image data from information on lightness in the image data to be processed. The ground color type determining means for determining the ground color type of the image specified by the image data from the information relating to the saturation in the image data, the detection result in the background detecting means, and the ground color type determining means The image processing apparatus includes a background removal unit that performs background removal processing on the image data according to the determination result.

また、本発明は、上記目的を達成するために案出された画像処理プログラムで、コンピュータを、処理対象となる画像データにおける明度に関する情報から当該画像データによって特定される画像の地肌レベルを検出するバックグラウンド検出手段と、前記画像データにおける彩度に関する情報から当該画像データによって特定される画像の地色種別を判定する地色種別判定手段と、前記バックグラウンド検出手段での検出結果および前記地色種別判定手段での判定結果に応じた地肌除去処理を前記画像データに対して行う地肌除去手段として機能させることを特徴とするものである。   Further, the present invention is an image processing program devised to achieve the above object, wherein the computer detects a background level of an image specified by the image data from information on lightness in the image data to be processed. Background detection means, ground color type determination means for determining the background color type of the image specified by the image data from information relating to the saturation in the image data, detection results of the background detection means and the background color It is characterized by functioning as a background removal means for performing background removal processing on the image data in accordance with the determination result of the type determination means.

上記構成の画像処理装置および画像処理プログラムによれば、バックグラウンド検出手段での検出結果および前記地色種別判定手段での判定結果に応じた地肌除去処理を、地肌除去手段が画像データに対して行うようになっている。したがって、例えば、処理対象の画像の地色種別が明確な色味を持つカラー(色付き)のものであれば、その画像データに対する地肌除去処理を行わないといったことが可能となる。また、例えば、処理対象の画像の地色種別が、黄ばみのようなわずかに色味を持つものであれば、画像データに対してその色味を除去する彩度補正を行うとともに、バックグラウンド検出手段が検出した地肌レベルを除去する地肌除去処理を行う、といったことも可能となる。さらには、処理対象の画像の地色種別が全く色味を持たないものであれば、前述したような彩度補正を行わずに、地肌レベルを除去する地肌除去処理のみを行う、といったことも可能となる。つまり、地色に応じて地肌除去処理を切り換えることによって、処理対象の画像が地肌部分に色味を持つものであっても、それに応じた地肌除去が行われることになる。   According to the image processing apparatus and the image processing program configured as described above, the background removal unit performs the background removal processing on the image data according to the detection result of the background detection unit and the determination result of the background color type determination unit. To do. Therefore, for example, if the background color type of the image to be processed is a color having a clear color (colored), the background removal processing for the image data can be omitted. Also, for example, if the ground color type of the image to be processed has a slight tint such as yellowing, the image data is subjected to saturation correction to remove the tint and background detection It is also possible to perform background removal processing for removing the background level detected by the means. Furthermore, if the background color type of the image to be processed does not have any tint, only the background removal processing for removing the background level is performed without performing the saturation correction as described above. It becomes possible. In other words, by switching the background removal process according to the background color, even if the image to be processed has a tint in the background part, the background removal corresponding to that is performed.

本発明の画像処理装置および画像処理プログラムは、処理対象の画像が地肌部分に色味を持つものであっても、それに応じた地肌除去が行われるので、例えばカラーコピーを行う場合に適用しても、適切な地肌除去処理を行うことが可能となる。したがって、例えば古新聞紙や再生紙のような黄ばみの見られる原稿について、地肌除去処理を行った場合であっても、その黄ばみが強調されることがなく、適切に除去し得るようになる。また、例えばカラーペーパーのような原稿については、その地色を原稿の情報としてそのまま忠実に再現することが可能となり、その原稿の色味が変化してしまうことがない。   The image processing apparatus and the image processing program of the present invention are applied to, for example, color copying because the background removal is performed even if the image to be processed has a tint on the background portion. In addition, an appropriate background removal process can be performed. Therefore, even if a background removal process is performed on a document with yellowing, such as old newspaper or recycled paper, the yellowing is not emphasized and can be appropriately removed. For a document such as color paper, the background color can be faithfully reproduced as document information as it is, and the color of the document does not change.

以下、図面に基づき本発明に係る画像処理装置および画像処理プログラムを説明する。   Hereinafter, an image processing apparatus and an image processing program according to the present invention will be described with reference to the drawings.

図1は、本発明に係る画像処理装置の概略構成例であり、複写機に搭載されて用いられる画像処理装置に本発明を適用した場合の例を示すブロック図である。
図例のように、ここで説明する画像処理装置1は、画像入力部2と画像出力部3との間に配されているものである。
画像入力部2は、例えばスキャナ装置からなるもので、読み取り対象となる原稿上に描かれた画像を光学的に読み取って、B(青)、G(緑)、R(赤)の各色成分からなる画像データ(以下、単に「BGRデータ」という)を得るものである。この画像入力部2は、自動原稿搬送機構(Automatic Document Feeder)を備えたものであってもよい。つまり、画像入力部2は、固定された原稿から画像データを得るものであっても、移動している原稿から画像データを得るものであってもよい。
画像出力部3は、例えばプリンタ装置からなるもので、周知の電子写真技術を用いつつ、C(シアン)、M(マゼンタ)、Y(イエロー)、K(黒)の各色成分からなる画像データ(以下、単に「CMYKデータ」という)に基づいて、記録用紙上に可視画像を印刷出力するものである。
FIG. 1 is a schematic configuration example of an image processing apparatus according to the present invention, and is a block diagram showing an example in which the present invention is applied to an image processing apparatus mounted and used in a copying machine.
As shown in the figure, the image processing apparatus 1 described here is disposed between the image input unit 2 and the image output unit 3.
The image input unit 2 includes, for example, a scanner device. The image input unit 2 optically reads an image drawn on a document to be read from each color component of B (blue), G (green), and R (red). Image data (hereinafter simply referred to as “BGR data”). The image input unit 2 may include an automatic document feeder. That is, the image input unit 2 may obtain image data from a fixed original or may obtain image data from a moving original.
The image output unit 3 includes, for example, a printer device, and uses image data (C (cyan), M (magenta), Y (yellow), and K (black) color components) using a well-known electrophotographic technique. In the following, a visible image is printed out on a recording sheet on the basis of “CMYK data”).

これら画像入力部2と画像出力部3との間に配された画像処理装置1は、画像入力部2からBGRデータを受け取って、そのBGRデータに対して所定の画像処理を施しつつCMYKデータに変換し、そのCMYKデータを画像出力部3へ送出するものである。そのために、画像処理装置1は、色空間変換部11と、MTF(Modulation Transfer Function)補正部12と、バックグラウンド検出部13と、先端部カラー判定部14と、先端部黄ばみ判定部15と、地肌除去部16と、色空間変換部17と、出力階調補正部18と、を備えている。   The image processing apparatus 1 arranged between the image input unit 2 and the image output unit 3 receives BGR data from the image input unit 2 and performs predetermined image processing on the BGR data to convert it to CMYK data. The CMYK data is converted and sent to the image output unit 3. Therefore, the image processing apparatus 1 includes a color space conversion unit 11, an MTF (Modulation Transfer Function) correction unit 12, a background detection unit 13, a tip color determination unit 14, a tip yellowing determination unit 15, A background removal unit 16, a color space conversion unit 17, and an output tone correction unit 18 are provided.

色空間変換部11は、BGRデータをL***色空間における画像データ(以下、単に「L***データ」という)に変換するものである。
MTF補正部12は、色空間変換部11による変換後のL***データに対して、文字エッジの先鋭化や中間調画像の平滑化等といった空間周波数特性を補正する、いわゆるMTF補正を行うものである。
The color space conversion unit 11 converts BGR data into image data in an L * a * b * color space (hereinafter simply referred to as “L * a * b * data”).
The MTF correction unit 12 corrects spatial frequency characteristics such as sharpening of a character edge and smoothing of a halftone image with respect to L * a * b * data after conversion by the color space conversion unit 11, so-called MTF correction. Is to do.

バックグラウンド検出部13は、色空間変換部11による変換後のL***データにおける地肌レベルを検出するものである。すなわち、処理対象となる画像データにおける明度に関する情報(具体的には、L***データにおけるL*成分)から当該画像データによって特定される画像の地肌レベルを検出する、本発明におけるバックグラウンド検出手段として機能するものである。なお、バックグラウンド検出部13による地肌レベル検出の詳細については、従来と同様に行えばよいため(例えば、特許文献1参照)、ここではその説明を省略する。 The background detection unit 13 detects the background level in the L * a * b * data after the conversion by the color space conversion unit 11. That is, (specifically, L * a * b * L * component in data) information on the brightness in the image data to be processed to detect the background level of the image specified by the image data from the back of the present invention It functions as a ground detection means. Note that details of the background level detection by the background detection unit 13 may be performed in the same manner as in the past (see, for example, Patent Document 1), and thus description thereof is omitted here.

先端部カラー判定部14は、色空間変換部11による変換後のL***データにおけるa*成分およびb*成分を基に、そのL***データについてのカラー判定を行うものである。すなわち、そのL***データによって特定される画像(具体的には、画像入力部2が読み取った原稿上の画像)の地色が、明確な色味を持つカラーのものであるか否かを判定する、本発明におけるカラー判定手段として機能するものである。なお、ここでいう「カラー」とは、色付きのことを意味する。この先端部カラー判定部14では、後述するように、L***データの一部(具体的には、原稿先端部分)のみに基づいて、カラー判定を行うようになっている。
先端部黄ばみ判定部15は、色空間変換部11による変換後のL***データにおけるa*成分およびb*成分を基に、そのL***データについての黄ばみ判定を行うものである。すなわち、そのL***データによって特定される画像(具体的には、画像入力部2が読み取った原稿上の画像)の地色が、所定色味として定められた「黄ばみ」に該当するものであるか否かを判定する、本発明における所定色味判定手段として機能するものである。なお、この先端部黄ばみ判定部15でも、後述するように、L***データの一部(具体的には、原稿先端部分)のみに基づいて、黄ばみの判定を行うようになっている。
つまり、これら先端部カラー判定部14および先端部黄ばみ判定部15は、L***データにおけるa*成分およびb*成分、すなわち処理対象となる画像データにおける彩度に関する情報から、当該画像データによって特定される画像の地色種別を判定する、本発明における地色種別判定手段として機能するものである。この地色種別については、その詳細を後述する。
Tip color determining unit 14, based on the a * component and the b * component in L * a * b * data converted by the color space conversion unit 11 performs color determination of the L * a * b * data Is. That is, whether the ground color of the image (specifically, the image on the document read by the image input unit 2) specified by the L * a * b * data is a color having a clear color. It functions as a color determination means in the present invention for determining whether or not. Here, “color” means coloring. As will be described later, the leading edge color determination unit 14 performs color determination based only on a part of L * a * b * data (specifically, the leading edge portion of the document).
Tip yellowing determining unit 15, based on a * component and the b * component in L * a * b * data converted by the color space conversion unit 11 performs the yellowing determination of the L * a * b * data Is. That is, the background color of the image specified by the L * a * b * data (specifically, the image on the original read by the image input unit 2) corresponds to “yellowishness” defined as a predetermined color. It functions as a predetermined tint judging means in the present invention for judging whether or not to do so. As will be described later, the leading edge yellowing determination unit 15 also determines yellowing based only on part of the L * a * b * data (specifically, the leading edge of the document). Yes.
That is, the tip color determining unit 14 and the tip yellowing determining unit 15 determine the image from the information regarding the a * component and b * component in the L * a * b * data, that is, the saturation in the image data to be processed. It functions as ground color type determination means in the present invention for determining the ground color type of an image specified by data. Details of this ground color type will be described later.

地肌除去部16は、色空間変換部11による変換後のL***データに対して地肌除去処理を行うものである。ただし、地肌除去部16では、バックグラウンド検出部13での検出結果のみを基にするのではなく、その検出結果に加えて、先端部カラー判定部14および先端部黄ばみ判定部15での判定結果をも基にして、これらの検出結果および判定結果に応じた地肌除去処理を行うようになっている。すなわち、地肌除去部16は、バックグラウンド検出部13での検出結果並びに先端部カラー判定部14および先端部黄ばみ判定部15での判定結果に応じた地肌除去処理をL***データに対して行う、本発明における地肌除去手段として機能するものである。
なお、バックグラウンド検出部13での検出結果並びに先端部カラー判定部14および先端部黄ばみ判定部15での判定結果に応じた地肌除去処理としては、後述するように、L***データによって特定される画像(具体的には、画像入力部2が読み取った原稿上の画像)の地色がカラーであれば地肌除去処理を行わず、当該画像の地色が黄ばみに該当するものであればその黄ばみを除去する彩度補正を行うとともにバックグラウンド検出部13が検出した地肌レベルを除去する地肌除去処理を行い、当該画像が地色を持たなければ彩度補正を行わずに地肌レベルを除去する地肌除去処理のみを行う、といったものが挙げられる。
The background removal unit 16 performs background removal processing on the L * a * b * data converted by the color space conversion unit 11. However, the background removal unit 16 does not rely only on the detection result in the background detection unit 13, but in addition to the detection result, the determination result in the leading end color determination unit 14 and the leading end yellowing determination unit 15 Based on this, the background removal processing according to these detection results and determination results is performed. That is, the background removal unit 16 converts the background removal processing according to the detection result in the background detection unit 13 and the determination results in the tip color determination unit 14 and the tip yellowing determination unit 15 into L * a * b * data. It functions as a background removing means in the present invention.
In addition, as a background removal process according to the detection result in the background detection unit 13 and the determination results in the tip color determination unit 14 and the tip yellowing determination unit 15, as described later, L * a * b * data If the background color of the image specified by (specifically, the image on the document read by the image input unit 2) is color, the background removal processing is not performed, and the background color of the image corresponds to yellowing. If there is a saturation correction to remove the yellowish color, a background removal process to remove the background level detected by the background detection unit 13 is performed, and if the image does not have a background color, the background level is not subjected to the saturation correction. For example, only the background removal process for removing the surface is performed.

色空間変換部17は、地肌除去部16での処理を経た後のL***データをCMYKデータに変換するものである。
出力階調補正部18は、色空間変換部17による変換後のCMYKデータに対して、画像出力部3での印刷出力に適した出力階調補正処理を行うものである。
The color space conversion unit 17 converts the L * a * b * data after the processing in the background removal unit 16 into CMYK data.
The output tone correction unit 18 performs an output tone correction process suitable for print output in the image output unit 3 on the CMYK data converted by the color space conversion unit 17.

これらの各部11〜18を備えてなる画像処理装置1は、例えばASIC(Application Specified Integrated Circuit)のようなハードウエアによって実現することが考えられるが、ソフトウエアによって実現されたものであっても構わない。すなわち、複写機が具備するコンピュータとしての機能が、所定の画像処理プログラムを実行することによって実現されるものであってもよい。この場合、画像処理プログラムは、予め複写機等にインストールしておくことが考えられるが、コンピュータ読み取り可能な記憶媒体に格納されて提供されるものであっても、または有線若しくは無線による通信手段を介して配信されるものであってもよい。   The image processing apparatus 1 including these units 11 to 18 may be realized by hardware such as an ASIC (Application Specified Integrated Circuit), but may be realized by software. Absent. That is, the computer function of the copying machine may be realized by executing a predetermined image processing program. In this case, it is conceivable that the image processing program is installed in advance in a copying machine or the like. However, even if the image processing program is provided by being stored in a computer-readable storage medium, a wired or wireless communication means is provided. It may be distributed via the Internet.

次に、以上のように構成された画像処理装置1における処理動作例について説明する。
画像処理装置1では、画像入力部2からBGRデータを受け取ると、色空間変換部11がそのBGRデータをL***データに変換する。そして、バックグラウンド検出部13が、そのL***データにおける地肌レベルを検出する。このときの地肌レベル検出は、従来と同様に行われる(例えば、特許文献1参照)。さらには、先端部カラー判定部14がそのL***データについてのカラー判定を行うとともに、先端部黄ばみ判定部15がそのL***データについての黄ばみ判定を行う。
Next, a processing operation example in the image processing apparatus 1 configured as described above will be described.
In the image processing apparatus 1, when the BGR data is received from the image input unit 2, the color space conversion unit 11 converts the BGR data into L * a * b * data. Then, the background detection unit 13 detects the background level in the L * a * b * data. The background level detection at this time is performed in the same manner as before (see, for example, Patent Document 1). Furthermore, the tip color determination unit 14 performs color determination on the L * a * b * data, and the tip yellowing determination unit 15 performs yellowing determination on the L * a * b * data.

ここで、先端部カラー判定部14によるカラー判定および先端部黄ばみ判定部15による黄ばみ判定について、図2および図3を参照しながら詳しく説明する。図2はカラー判定ウィンドウと黄ばみ判定ウィンドウの一具体例を示す説明図であり、図3は原稿上における判定領域の一具体例を示す説明図である。   Here, color determination by the tip color determination unit 14 and yellowing determination by the tip yellowing determination unit 15 will be described in detail with reference to FIGS. 2 and 3. FIG. 2 is an explanatory diagram illustrating a specific example of a color determination window and a yellowing determination window, and FIG. 3 is an explanatory diagram illustrating a specific example of a determination region on a document.

先ず、先端部カラー判定部14によるカラー判定について説明する。
先端部カラー判定部14には、図2に示すようなカラー判定ウィンドウ21が予め設定されているものとする。カラー判定ウィンドウ21は、L***データにおけるa*成分およびb*成分からなる座標軸上、すなわちa*−b*座標軸上に形成されているものである。さらに詳しくは、そのa*−b*座標軸上におけるa*上限値C amaxおよびa*下限値C amin、並びにb*上限値C bmaxおよびb*下限値C bminに囲まれる領域からなるもので、明確な色味が付いたカラーに相当するL***データを特定するためのものである。なお、a*上限値C amax、a*下限値C amin、b*上限値C bmaxおよびb*下限値C bminの値は、例えば画像処理装置1を搭載する複写機のスペックに応じて、適宜設定されているものとする。
First, color determination by the tip color determination unit 14 will be described.
It is assumed that a color determination window 21 as shown in FIG. The color determination window 21 is formed on the coordinate axis composed of the a * component and the b * component in the L * a * b * data, that is, the a * -b * coordinate axis. More specifically, it is composed of a region surrounded by a * upper limit value C amax and a * lower limit value C amin and b * upper limit value C bmax and b * lower limit value C bmin on the a * −b * coordinate axis. This is for specifying L * a * b * data corresponding to a color having a clear color. Note that the values of a * upper limit value C amax, a * lower limit value C amin, b * upper limit value C bmax and b * lower limit value C bmin are appropriately determined according to, for example, the specifications of the copying machine in which image processing apparatus 1 is mounted. It is assumed that it is set.

先端部カラー判定部14では、上述したようなカラー判定ウィンドウ21を用いてL***データについてのカラー判定を行う。ただし、そのカラー判定は、画像入力部2にて読み取り対象となった原稿の先端部分(以下、単に「原稿先端部分」という)におけるL***データのみを基に行うようになっている。
具体的には、図3に示す原稿先端部分に対して、先端部カラー判定部14は、(1)主走査方向における走査開始座標位置fs startから走査終了座標位置fs endまでを複数のラインブロック(Line Block)に分割し、それぞれのラインブロック内においてカラー判定ウィンドウ21の領域内に存在する画素数をカウントし、その結果が所定の第1閾値C TH1以上であれば、当該ラインブロックをカラーブロックとする。そして、(2)一つのラインにおけるカラーブロック数が所定の第2閾値C TH2以上であれば、当該ラインをカラーラインとする。さらに、(3)カラーラインが副走査方向に所定の第3閾値C TH3以上だけ連続すると、これらのライン群をカラーラインブロックとする。そして、(4)カラーラインブロックが所定の第4閾値C TH4以上存在していれば、その原稿の地色がカラーであると判定し、「判定“ON”」のフラグをたてる。一方、(5)カラーでないと判定した場合には、その原稿の地色が白黒(色味なし)であると判定し、「判定“OFF”」のフラグをたてる。なお、一度カラーと判定された後は、その後カラーラインブロックが存在していなくても判定は変わらない。
The tip color determination unit 14 performs color determination on L * a * b * data using the color determination window 21 as described above. However, the color determination is performed based only on the L * a * b * data in the leading edge portion of the document that is read by the image input unit 2 (hereinafter simply referred to as the “document leading edge portion”). Yes.
Specifically, with respect to the leading edge portion of the document shown in FIG. 3, the leading edge color determination unit 14 (1) a plurality of line blocks from the scanning start coordinate position fs start to the scanning end coordinate position fs end in the main scanning direction (Line Block) is divided, and the number of pixels existing in the area of the color determination window 21 in each line block is counted. If the result is equal to or greater than a predetermined first threshold value CTH1, the line block is colored. Let it be a block. (2) If the number of color blocks in one line is equal to or greater than a predetermined second threshold value CTH2, the line is set as a color line. Further, (3) when the color lines continue in the sub-scanning direction by a predetermined third threshold value C TH3 or more, these line groups are set as color line blocks. Then, (4) if the color line block is greater than or equal to the predetermined fourth threshold value C TH4, it is determined that the background color of the document is color, and a flag “determination“ ON ”” is set. On the other hand, if it is determined that the color is not (5), it is determined that the background color of the document is black and white (no color), and a flag “determination“ OFF ”” is set. Note that once the color is determined, the determination does not change even if the color line block does not exist thereafter.

このような処理を、副走査方向における走査開始座標位置ss startから走査終了座標位置ss endまでの各ラインについて行って、その原稿についての判定結果を確定する。したがって、先端部カラー判定部14は、原稿先端部分から得られたL***データのみを基に、その原稿に対するカラー判定を行うことができるので、原稿全域についてのスキャン(プリスキャン)等を必要とすることがなく、そのカラー判定処理の迅速化が図れるようになり、また比較的簡単な構成で当該機能を実現することができる。さらには、原稿先端部分の複数ライン分から得られたL***データを基にするので、例えば線図の存在のみによって誤判定してしまうのを回避することができ、結果としてカラー判定の精度向上が実現可能となる。 Such processing is performed for each line from the scanning start coordinate position ss start to the scanning end coordinate position ss end in the sub-scanning direction, and the determination result for the document is determined. Therefore, the leading edge color determination unit 14 can perform color determination on the document based only on the L * a * b * data obtained from the leading edge portion of the document, so that the entire document is scanned (pre-scan). The color determination process can be speeded up, and the function can be realized with a relatively simple configuration. Furthermore, since it is based on L * a * b * data obtained from a plurality of lines at the leading edge of the document, it is possible to avoid erroneous determination due to, for example, the presence of a diagram, resulting in color determination. It is possible to improve the accuracy.

続いて、先端部黄ばみ判定部15による黄ばみ判定について説明する。
先端部黄ばみ判定部15には、図2に示すような黄ばみ判定ウィンドウ22が予め設定されているものとする。この黄ばみ判定ウィンドウ22も、上述したカラー判定ウィンドウ21と同様に、a*−b*座標軸上に形成されているものである。ただし、黄ばみ判定ウィンドウ22は、a*−b*座標軸上におけるa*上限値Y amaxおよびa*下限値Y amin、並びにb*上限値Y bmaxおよびb*下限値Y bminに囲まれる領域からなるもので、所定色味である黄ばみに相当するL***データを特定するためのものである点で、上述したカラー判定ウィンドウ21とは異なる。なお、a*上限値Y amax、a*下限値Y amin、b*上限値Y bmaxおよびb*下限値Y bminの値は、例えば黄ばみの限度見本に応じて、適宜設定されているものとする。
Next, the yellowing determination by the tip yellowing determination unit 15 will be described.
It is assumed that a yellowing determination window 22 as shown in FIG. 2 is preset in the tip yellowing determination unit 15. The yellowing determination window 22 is also formed on the a * -b * coordinate axis, similarly to the color determination window 21 described above. However, the yellowing determination window 22 is composed of a region surrounded by a * upper limit value Yamax and a * lower limit value Yamin, and b * upper limit values Ybmax and b * lower limit value Ybmin on the a * −b * coordinate axis. However, it is different from the color determination window 21 described above in that it is for specifying L * a * b * data corresponding to yellowishness having a predetermined color. It should be noted that the values of a * upper limit value Yamax, a * lower limit value Yamin, b * upper limit value Ybmax and b * lower limit value Ybmin are appropriately set according to, for example, the yellowish limit sample. .

先端部黄ばみ判定部15では、上述したような黄ばみ判定ウィンドウ22を用いてL***データについての黄ばみ判定を行う。ただし、その黄ばみ判定は、先端部カラー判定部14の場合と同様に、原稿先端部分におけるL***データのみを基に行うようになっている。
具体的には、図3に示す原稿先端部分に対して、先端部黄ばみ判定部15は、(1)主走査方向における走査開始座標位置fs startから走査終了座標位置fs endまでを複数のラインブロックに分割し、それぞれのラインブロック内において黄ばみ判定ウィンドウ22の領域内に存在する画素数をカウントし、その結果が所定の第1閾値Y TH1以上であれば、当該ラインブロックを黄ばみブロックとする。そして、(2)一つのラインにおける黄ばみブロック数が所定の第2閾値Y TH2以上であれば、当該ラインを黄ばみラインとする。さらに、(3)黄ばみラインが副走査方向に所定の第3閾値Y TH3以上だけ連続すると、その原稿の地色に黄ばみが生じていると判定し、「判定“ON”」のフラグをたてる。一方、(4)黄ばみがないと判定した場合には、「判定“OFF”」のフラグをたてる。なお、先端部黄ばみ判定部15では、黄ばみが生じていると判定した場合であっても、先端部カラー判定部14により「判定“ON”」とされていれば、これを優先して「判定“OFF”」のフラグをたてる。すなわち、地色がカラーの場合は、黄ばみが生じているとは判定しないようにする。
The tip yellowing determination unit 15 performs yellowing determination for L * a * b * data using the yellowing determination window 22 as described above. However, the yellowing determination is performed on the basis of only the L * a * b * data at the front end portion of the document, as in the case of the front end color determination portion 14.
Specifically, with respect to the document front end portion shown in FIG. 3, the front end yellowing determination unit 15 (1) a plurality of line blocks from the scanning start coordinate position fs start to the scanning end coordinate position fs end in the main scanning direction. And the number of pixels existing in the area of the yellowing determination window 22 in each line block is counted. If the result is equal to or greater than a predetermined first threshold value YTH1, the line block is determined as a yellowing block. (2) If the number of yellowing blocks in one line is equal to or greater than a predetermined second threshold YTH2, the line is set as a yellowing line. Further, (3) when the yellowing line continues in the sub-scanning direction for a predetermined third threshold Y TH3 or more, it is determined that the background color of the document is yellowed, and a flag “determination“ ON ”” is set. . On the other hand, if it is determined that (4) there is no yellowing, a flag “determination“ OFF ”” is set. Even if the tip yellowing determination unit 15 determines that yellowing has occurred, if it is determined as “determination“ ON ”by the tip color determination unit 14, this determination is given priority. Set the flag “OFF”. That is, when the ground color is a color, it is not determined that yellowing has occurred.

このような処理を、副走査方向における走査開始座標位置ss startから走査終了座標位置ss endまでの各ラインについて行って、その原稿についての判定結果を確定する。したがって、先端部黄ばみ判定部15は、原稿先端部分から得られたL***データのみを基に、その原稿に対する黄ばみ判定を行うことができるので、原稿全域についてのスキャン(プリスキャン)等を必要とすることがなく、その黄ばみ判定処理の迅速化が図れるようになり、また比較的簡単な構成で当該機能を実現することができる。さらには、原稿先端部分の複数ライン分から得られたL***データを基にするので、例えば線図の存在のみによって誤判定してしまうのを回避することができ、結果として黄ばみ判定の精度向上が実現可能となる。 Such processing is performed for each line from the scanning start coordinate position ss start to the scanning end coordinate position ss end in the sub-scanning direction, and the determination result for the document is determined. Accordingly, the front-end yellowing determination unit 15 can perform yellowing determination on the original document based only on the L * a * b * data obtained from the front-end portion of the original, so that the entire document is scanned (pre-scan). The yellowing determination process can be speeded up, and the function can be realized with a relatively simple configuration. Furthermore, since it is based on the L * a * b * data obtained from a plurality of lines at the leading edge of the document, it is possible to avoid erroneous determination only due to, for example, the presence of a diagram, resulting in yellowing determination. It is possible to improve the accuracy.

以上のようにして、バックグラウンド検出部13がL***データの地肌レベルを検出し、先端部カラー判定部14がそのL***データについてのカラー判定を行い、先端部黄ばみ判定部15がそのL***データについての黄ばみ判定を行うと、その後、画像処理装置1では、地肌除去部16がそのL***データに対して地肌除去処理を行う。ただし、地肌除去部16は、バックグラウンド検出部13での検出結果のみを基にするのではなく、その検出結果に加えて、先端部カラー判定部14および先端部黄ばみ判定部15での判定結果をも基にして、これらの検出結果および判定結果に応じた地肌除去処理を行う。すなわち、地肌除去部16は、先端部カラー判定部14および先端部黄ばみ判定部15で判定された原稿全体の地色種別、すなわち処理対象となるL***データによって特定される画像の地色種別に応じた地肌除去処理を行う。 As described above, the background detection unit 13 detects the background level of the L * a * b * data, the front end color determination unit 14 performs color determination on the L * a * b * data, and the front end part. When the yellowing determination unit 15 performs yellowing determination on the L * a * b * data, in the image processing apparatus 1, the background removal unit 16 then performs background removal processing on the L * a * b * data. . However, the background removal unit 16 is not based only on the detection result in the background detection unit 13, but in addition to the detection result, the determination result in the leading end color determination unit 14 and the leading end yellowing determination unit 15 Based on the above, the background removal processing according to these detection results and determination results is performed. In other words, the background removing unit 16 determines the background color type of the entire document determined by the leading edge color determining unit 14 and the leading edge yellowing determining unit 15, that is, the image specified by the L * a * b * data to be processed. A background removal process corresponding to the background color type is performed.

図4は、原稿地色種別の判定結果の具体例を示す説明図である。図例に示すように、原稿の地色種別としては、画像の地色がカラーであるもの(カラーペーパー原稿)と、所定色味として定められた黄ばみがあるもの(黄ばみ有り原稿)と、これらのいずれでもなく地色を持たないもの(黄ばみ無し原稿)と、がある。
そして、例えば、先端部カラー判定部14が「判定“OFF”」のフラグをたてており、かつ、先端部黄ばみ判定部15が「判定“OFF”」のフラグをたてている場合には、画像の地色がカラーでなく黄ばみも持たないことから、原稿の地色種別は、「黄ばみ無し原稿」となる(図中「ケース1」参照)。先端部カラー判定部14が「判定“OFF”」のフラグをたてており、かつ、先端部黄ばみ判定部15が「判定“ON”」のフラグをたてている場合には、画像の地色がカラーではないが黄ばみを持つものであることから、原稿の地色種別は、「黄ばみ有り原稿」となる(図中「ケース2」参照)。先端部カラー判定部14が「判定“ON”」のフラグをたてており、かつ、先端部黄ばみ判定部15が「判定“OFF”」のフラグをたてている場合には、画像の地色がカラーであり黄ばみも持たないことから、原稿の地色種別は、「カラーペーパー原稿」となる(図中「ケース3」参照)。また、先端部カラー判定部14と先端部黄ばみ判定部15とのいずれもが「判定“ON”」のフラグをたてている場合には、既に述べたように先端部カラー判定部14での判定結果が優先適用されて、原稿の地色種別は、「カラーペーパー原稿」となる(図中「ケース4」参照)。なお、例えば画像処理装置1を搭載した複写機におけるUI(ユーザインタフェース)指定またはプリスキャンの自動カラー判定により、複写機で「白黒コピー」を行うことまたは原稿が「白黒原稿」であることが明らかになっている場合には、従来の場合と同様に通常の地肌除去処理(例えば、特許文献1参照)の対象として取り扱うものとする(図中「ケース5」参照)。
FIG. 4 is an explanatory diagram showing a specific example of the determination result of the document background color type. As shown in the figure, as the background color type of the original, the background color of the image is color (color paper original), the one with yellowishness defined as a predetermined color (original with yellowing), and these None of them have a background color (a document without yellowing).
For example, when the tip color determination unit 14 has a flag “determination“ OFF ”” and the tip yellowing determination unit 15 has a flag “determination“ OFF ”” Since the background color of the image is neither color nor yellow, the background color type of the document is “original without yellowing” (see “Case 1” in the figure). If the leading edge color determination unit 14 has a flag “determination“ OFF ”” and the leading edge yellowing determination unit 15 has a flag “determination“ ON ””, the background of the image is displayed. Since the color is not color but has yellowishness, the background color type of the document is “original with yellowing” (see “Case 2” in the figure). If the leading edge color determination unit 14 sets a flag “determination“ ON ”” and the leading edge yellowing determination unit 15 sets a flag “determination“ OFF ””, the ground of the image is displayed. Since the color is color and has no yellowing, the background color type of the document is “color paper document” (see “Case 3” in the figure). In addition, when both the leading end color determining unit 14 and the leading end yellowing determining unit 15 have the flag “determination“ ON ””, as described above, the leading end color determining unit 14 The determination result is preferentially applied, and the background color type of the document is “color paper document” (see “Case 4” in the figure). It should be noted that, for example, by performing UI (user interface) designation or pre-scan automatic color determination in a copier equipped with the image processing apparatus 1, it is clear that “monochrome copy” is performed by the copier or the original is a “monochrome original”. In the same manner as in the conventional case, it is handled as an object of a normal background removal process (see, for example, Patent Document 1) (see “Case 5” in the figure).

このような先端部カラー判定部14および先端部黄ばみ判定部15での判定結果から一義的に導かれる原稿地色種別の判断は、例えば地肌除去部16内に設定されたLUT(ルックアップテーブル)のON/OFF選択によって行えばよい。ただし、例えば選択回路といったハードウエア構成を用いて、先端部カラー判定部14および先端部黄ばみ判定部15での判定結果であるフラグ信号に応じた選択の切り換えを行うことによって、上述したような原稿地色種別の判断を行うようにしても構わないことは勿論である。   The determination of the document background color type that is uniquely derived from the determination results of the leading edge color determining unit 14 and the leading edge yellowing determining unit 15 is, for example, an LUT (look-up table) set in the background removing unit 16. This can be done by selecting ON / OFF. However, for example, by using a hardware configuration such as a selection circuit, switching the selection according to the flag signal which is a determination result in the leading edge color determination unit 14 and the leading edge yellowing determination unit 15, the document as described above Of course, the background color type may be determined.

このようにして原稿全体の地色種別を特定すると、その後、地肌除去部16は、その地色種別の判定結果に応じて、以下に述べるような地肌除去処理を行う。
例えば、地色種別が「黄ばみ無し原稿」であれば、原稿全体が地色を持たないので、地肌除去部16は、彩度補正を行わずにバックグラウンド検出部13が検出した地肌レベルを除去する地肌除去処理のみを行う。すなわち、処理対象となるL***データのうちのL*成分についてのみ、地肌除去処理を行う。このときの地肌除去処理は、従来と同様に行えばよいため(例えば、特許文献1参照)、ここではその説明を省略する。
また、例えば、地色種別が「カラーペーパー原稿」であれば、原稿全体の地色がカラーなので、地肌除去部16は、バックグラウンド検出部13による地肌レベルの検出の有無に拘わらず、その地肌レベルを除去する地肌除去処理を行わないようにする。すなわち、処理対象となるL***データに対して、L*成分についての階調補正を行わない。
When the background color type of the entire document is specified in this way, the background removal unit 16 then performs the background removal process described below according to the determination result of the background color type.
For example, if the background color type is “yellowish original”, since the entire original does not have a background color, the background removal unit 16 removes the background level detected by the background detection unit 13 without performing saturation correction. Only the background removal process is performed. That is, the background removal process is performed only for the L * component of the L * a * b * data to be processed. Since the background removal processing at this time may be performed in the same manner as in the past (see, for example, Patent Document 1), description thereof is omitted here.
Further, for example, if the background color type is “color paper document”, the background color of the entire document is color, and therefore the background removal unit 16 determines whether the background level is detected by the background detection unit 13 or not. Do not perform background removal processing to remove levels. That is, tone correction for the L * component is not performed on the L * a * b * data to be processed.

また、例えば、地色種別が「黄ばみ有り原稿」であれば、原稿全体の地色が黄ばみを持つものなので、地肌除去部16は、その黄ばみに相当する所定色味を除去する彩度補正を行うとともに、バックグラウンド検出部13が検出した地肌レベルを除去する地肌除去処理を行う。すなわち、処理対象となるL***データのうちのL*成分について従来と同様の地肌除去処理(例えば、特許文献1参照)を行うのに加えて、当該L***データのうちのb*成分についても、その補正処理を行う。さらに詳しくは、L*成分の除去前に一定の明度を持つ部分が、彩度のうち黄ばみの再現に影響の大きいb*成分に対して、次に述べるような補正処理を行う。 Also, for example, if the background color type is “yellowish original”, the background color of the entire document has yellowishness, so the background removal unit 16 performs saturation correction to remove a predetermined color corresponding to the yellowishness. While performing, the background removal process which removes the background level which the background detection part 13 detected is performed. That is, in addition to performing the same background removal processing (for example, refer to Patent Document 1) on the L * component of the L * a * b * data to be processed, the L * a * b * data The correction process is also performed for the b * component. More specifically, the correction processing described below is performed on the b * component, which has a certain lightness before the removal of the L * component, and has a great influence on the reproduction of yellowishness in the saturation.

図5は彩度補正に用いるLUTの一具体例を示す説明図であり、図6は黄色系統の色のa*−b*座標軸上におけるマッピングの例を示す説明図である。
地肌除去部16では、図5に示すように、b*成分のうちの正の値の領域について、その入力値を、黄ばみが再現されない値まで下げるような補正処理を行う。
*成分の値に対する補正処理によって、黄ばみの再現を抑えることが理由は、以下の通りである。図6に示すように、L***色空間において、黄色系統の色の領域23は、b*軸上の正方向にマッピングされている。したがって、黄ばみとなって再現される色は、b*成分だけを補正すれば再現され難くなるからである。
FIG. 5 is an explanatory diagram showing a specific example of the LUT used for saturation correction, and FIG. 6 is an explanatory diagram showing an example of mapping of the yellow color on the a * -b * coordinate axes.
As shown in FIG. 5, the background removal unit 16 performs a correction process for reducing the input value of the positive value region of the b * component to a value at which yellowing is not reproduced.
The reason for suppressing the reproduction of yellowing by the correction process for the value of the b * component is as follows. As shown in FIG. 6, in the L * a * b * color space, the yellow color region 23 is mapped in the positive direction on the b * axis. Therefore, the color reproduced as yellowish is difficult to reproduce if only the b * component is corrected.

なお、上述した「黄ばみ有り原稿」についての地肌除去処理は、これを「黄ばみ無し原稿」に適用しても、画質の低下は見られない。このことから、例えば、先端部黄ばみ判定部15での判定結果を無効にし、あるいは先端部黄ばみ判定部15を備えずに、上述した「黄ばみ有り原稿」についての地肌除去処理を「カラーペーパー原稿」以外の原稿に適用しても構わない。   Note that the background removal processing for the above-mentioned “yellowish original” does not cause deterioration in image quality even when this is applied to the “yellowish original”. For this reason, for example, the background removal processing for the “original with yellowing” described above is made “color paper original” without invalidating the determination result at the leading end yellowing determination unit 15 or without the leading end yellowing determination unit 15. You may apply to other manuscripts.

このような原稿地色種別に応じた地肌除去処理を行った後は、画像処理装置1では、その処理後のL***データに対して、色空間変換部17がこれをCMYKデータに変換する。そして、出力階調補正部18での出力階調補正処理を経た後に、そのCMYKデータを画像出力部3に対して送出し、上述した一連の処理動作を終了する。 After performing the background removal processing according to the original background color type, in the image processing apparatus 1, the color space conversion unit 17 converts the processed L * a * b * data into CMYK data. Convert to Then, after the output tone correction processing in the output tone correction unit 18, the CMYK data is sent to the image output unit 3, and the above-described series of processing operations is completed.

以上のように、本実施形態で説明した画像処理装置1では、バックグラウンド検出部13での検出結果並びに先端部カラー判定部14および先端部黄ばみ判定部15での判定結果に応じた地肌除去処理を、地肌除去部16がL***データに対して行うようになっている。したがって、例えば、処理対象の画像の地色種別が明確な色味を持つカラー(色付き)のものであれば、そのL***データに対する地肌除去処理を行わないといったことが可能となる。また、例えば、処理対象の画像の地色種別が、黄ばみのようなわずかに色味を持つものであれば、L***データに対してその色味を除去する彩度補正を行うとともに、バックグラウンド検出部13が検出した地肌レベルを除去する地肌除去処理を行う、といったことも可能となる。さらには、処理対象の画像の地色種別が全く色味を持たないものであれば、前述したような彩度補正を行わずに、地肌レベルを除去する地肌除去処理のみを行う、といったことも可能となる。つまり、地色に応じて地肌除去処理を切り換えることによって、処理対象の画像が地肌部分に色味を持つものであっても、それに応じた地肌除去が行われることになる。
したがって、本実施形態で説明した画像処理装置1によれば、処理対象の画像が地肌部分に色味を持つものであっても、それに応じた地肌除去が行われるので、例えばカラーコピーを行う場合に適用しても、適切な地肌除去処理を行うことが可能となる。つまり、例えば古新聞紙や再生紙のような黄ばみの見られる原稿について、地肌除去処理を行った場合であっても、その黄ばみが強調されることがなく、適切に除去し得るようになる。また、例えばカラーペーパーのような原稿については、その地色を原稿の情報としてそのまま忠実に再現することが可能となり、その原稿の色味が変化してしまうことがない。
As described above, in the image processing apparatus 1 described in the present embodiment, the background removal processing according to the detection result in the background detection unit 13 and the determination results in the tip color determination unit 14 and the tip yellowing determination unit 15. Is applied to the L * a * b * data by the background removal unit 16. Therefore, for example, if the background color type of the image to be processed is a color having a clear color (colored), it is possible not to perform the background removal processing on the L * a * b * data. . Also, for example, if the ground color type of the image to be processed has a slight tint such as yellowish, saturation correction is performed on the L * a * b * data to remove the tint. At the same time, it is possible to perform background removal processing for removing the background level detected by the background detection unit 13. Furthermore, if the background color type of the image to be processed does not have any tint, only the background removal processing for removing the background level is performed without performing the saturation correction as described above. It becomes possible. In other words, by switching the background removal process according to the background color, even if the image to be processed has a tint in the background part, the background removal corresponding to that is performed.
Therefore, according to the image processing apparatus 1 described in the present embodiment, even if the image to be processed has a tint on the background portion, the background removal is performed accordingly. Even when applied to the above, it is possible to perform an appropriate background removal process. In other words, even if a background removal process is performed on a document with yellowing, such as old newspaper or recycled paper, the yellowing is not emphasized and can be appropriately removed. For a document such as color paper, the background color can be faithfully reproduced as document information as it is, and the color of the document does not change.

このことは、地色種別の判定を先端部カラー判定部14および先端部黄ばみ判定部15の両方を用いて行うことによって、その実現が確実なものとなる。さらには、地肌除去部16が先端部カラー判定部14および先端部黄ばみ判定部15での判定結果に応じて地肌除去処理の内容を選択的に切り換えることによって、その実現が確実なものとなる。つまり、先端部カラー判定部14および先端部黄ばみ判定部15により地色種別の判定し、その判定結果に応じて地肌除去部16が地肌除去処理の内容を切り換えることで、黄ばみの見られる原稿とカラーペーパー原稿とのそれぞれについて適切な地肌除去処理を選択して行うことが可能となる。   This is surely realized by performing the determination of the ground color type using both the front end color determination unit 14 and the front end yellowing determination unit 15. Further, the background removal unit 16 selectively switches the content of the background removal processing according to the determination results of the tip color determination unit 14 and the tip yellowing determination unit 15, thereby realizing the certainty. In other words, the background color type is determined by the leading edge color determination unit 14 and the leading edge yellowing determination unit 15, and the background removal unit 16 switches the content of the background removal processing in accordance with the determination result, so that the document with yellowing can be seen. An appropriate background removal process can be selected and performed for each color paper document.

また、本実施形態で説明した画像処理装置1では、先端部カラー判定部14および先端部黄ばみ判定部15が、いずれも、地色種別の判定を、L***データの一部のみに基づいて行うようになっている。したがって、原稿全域についてのスキャン(プリスキャン)等を必要とすることがなく、原稿地色種別の判定処理の迅速化が図れるようになる。さらには、領域判定を伴わないため判定処理の曖昧さが無く、また比較的簡単な構成で当該機能を実現することができる。 Further, in the image processing apparatus 1 described in the present embodiment, the tip color determining unit 14 and the tip yellowing determining unit 15 both determine the background color type only for part of the L * a * b * data. To do it. Therefore, scanning of the entire document (pre-scan) or the like is not required, and the document background color type determination process can be speeded up. Furthermore, since no region determination is involved, there is no ambiguity in determination processing, and the function can be realized with a relatively simple configuration.

なお、本実施形態では、先端部黄ばみ判定部15が所定色味として定められた「黄ばみ」の有無を判定する場合を例に挙げて説明したが、本発明は必ずしもこれに限定されるものではなく、所定色味として予め定められたものであれば、他の色味(例えば「青み」)に対応するものであっても構わない。   In the present embodiment, the case where the tip yellowing determination unit 15 determines the presence / absence of “yellowing” determined as a predetermined color has been described as an example, but the present invention is not necessarily limited to this. Alternatively, as long as it is predetermined as a predetermined color, it may correspond to another color (for example, “blue”).

また、本実施形態では、複写機に搭載されて用いられる画像処理装置に本発明を適用した場合を例に挙げて説明したが、本発明はこれに限定されるものではない。例えば、カラー画像をディスプレイ上に表示するコンピュータに搭載された画像処理装置、または当該コンピュータにて実行される画像処理プログラムであっても、全く同様に適用することが可能である。   In the present embodiment, the case where the present invention is applied to an image processing apparatus that is mounted on a copying machine is described as an example. However, the present invention is not limited to this. For example, an image processing apparatus mounted on a computer that displays a color image on a display or an image processing program executed by the computer can be applied in exactly the same manner.

本発明に係る画像処理装置の概略構成例であり、複写機に搭載されて用いられる画像処理装置に本発明を適用した場合の例を示すブロック図である。1 is a schematic configuration example of an image processing apparatus according to the present invention, and is a block diagram illustrating an example in which the present invention is applied to an image processing apparatus mounted and used in a copying machine. カラー判定ウィンドウと黄ばみ判定ウィンドウの一具体例を示す説明図である。It is explanatory drawing which shows a specific example of a color determination window and a yellowing determination window. 原稿上における判定領域の一具体例を示す説明図である。It is explanatory drawing which shows a specific example of the determination area | region on a document. 原稿地色種別の判定結果の具体例を示す説明図である。It is explanatory drawing which shows the specific example of the determination result of a document ground color classification. 彩度補正に用いるLUTの一具体例を示す説明図である。It is explanatory drawing which shows a specific example of LUT used for saturation correction. 黄色系統の色のa*−b*座標軸上におけるマッピングの例を示す説明図である。It is explanatory drawing which shows the example of the mapping on the a * -b * coordinate axis of the color of a yellow system | strain.

符号の説明Explanation of symbols

1…画像処理装置、2…画像入力部、3…画像出力部、11…色空間変換部、12…MTF補正部、13…バックグラウンド検出部、14…先端部カラー判定部、15…先端部黄ばみ判定部、16…地肌除去部、17…色空間変換部、18…出力階調補正部、21…カラー判定ウインドウ、22…黄ばみ判定ウインドウ   DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus, 2 ... Image input part, 3 ... Image output part, 11 ... Color space conversion part, 12 ... MTF correction part, 13 ... Background detection part, 14 ... Tip part color determination part, 15 ... Tip part Yellowing determination unit, 16 ... background removal unit, 17 ... color space conversion unit, 18 ... output tone correction unit, 21 ... color determination window, 22 ... yellowing determination window

Claims (8)

処理対象となる画像データにおける明度に関する情報から当該画像データによって特定される画像の地肌レベルを検出するバックグラウンド検出手段と、
前記画像データにおける彩度に関する情報から当該画像データによって特定される画像の地色種別を判定する地色種別判定手段と、
前記バックグラウンド検出手段での検出結果および前記地色種別判定手段での判定結果に応じた地肌除去処理を前記画像データに対して行う地肌除去手段と
を備えることを特徴とする画像処理装置。
A background detection means for detecting a background level of an image specified by the image data from information on brightness in the image data to be processed;
A ground color type determining means for determining a ground color type of an image specified by the image data from information relating to saturation in the image data;
An image processing apparatus comprising: a background removal unit that performs background removal processing on the image data according to a detection result of the background detection unit and a determination result of the background color type determination unit.
前記地色種別判定手段は、
前記画像データによって特定される画像の地色がカラーであるか否かを判定するカラー判定手段と、
前記画像データによって特定される画像の地色が所定色味のものであるか否かを判定する所定色味判定手段と
からなることを特徴とする請求項1記載の画像処理装置。
The ground color type determining means includes
Color determination means for determining whether or not the ground color of the image specified by the image data is a color;
The image processing apparatus according to claim 1, further comprising: a predetermined color determination unit that determines whether or not a ground color of an image specified by the image data has a predetermined color.
前記地肌除去手段は、前記画像データによって特定される画像の地色がカラーであれば当該画像データに対する地肌除去処理を行わず、前記画像データによって特定される画像の地色が所定色味であれば当該画像データに対して当該所定色味を除去する彩度補正を行うとともに前記バックグラウンド検出手段が検出した地肌レベルを除去する地肌除去処理を行い、前記画像データによって特定される画像が地色を持たなければ当該画像データに対して彩度補正を行わずに前記バックグラウンド検出手段が検出した地肌レベルを除去する地肌除去処理を行うものである
ことを特徴とする請求項2記載の画像処理装置。
If the background color of the image specified by the image data is a color, the background removal means does not perform a background removal process on the image data, and the background color of the image specified by the image data has a predetermined color. For example, the image data specified by the image data is subjected to saturation correction for removing the predetermined color tone and background removal processing for removing the background level detected by the background detection unit. 3. The image processing according to claim 2, wherein if there is not, a background removal process for removing the background level detected by the background detection means without performing saturation correction on the image data is performed. apparatus.
前記地色種別判定手段は、前記地色種別の判定を、前記画像データの一部のみに基づいて行うものである
ことを特徴とする請求項1,2または3記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the background color type determination unit determines the background color type based only on a part of the image data.
コンピュータを、
処理対象となる画像データにおける明度に関する情報から当該画像データによって特定される画像の地肌レベルを検出するバックグラウンド検出手段と、
前記画像データにおける彩度に関する情報から当該画像データによって特定される画像の地色種別を判定する地色種別判定手段と、
前記バックグラウンド検出手段での検出結果および前記地色種別判定手段での判定結果に応じた地肌除去処理を前記画像データに対して行う地肌除去手段
として機能させることを特徴とする画像処理プログラム。
Computer
A background detection means for detecting a background level of an image specified by the image data from information on brightness in the image data to be processed;
A ground color type determining means for determining a ground color type of an image specified by the image data from information relating to saturation in the image data;
An image processing program that causes a background removal process to be performed on the image data according to a detection result from the background detection unit and a determination result from the background color type determination unit.
前記地色種別判定手段は、
前記画像データによって特定される画像の地色がカラーであるか否かを判定するカラー判定手段と、
前記画像データによって特定される画像の地色が所定色味のものであるか否かを判定する所定色味判定手段と
からなることを特徴とする請求項5記載の画像処理プログラム。
The ground color type determining means includes
Color determination means for determining whether or not the ground color of the image specified by the image data is a color;
The image processing program according to claim 5, further comprising: a predetermined color determination unit that determines whether or not a ground color of an image specified by the image data has a predetermined color.
前記地肌除去手段は、前記画像データによって特定される画像の地色がカラーであれば当該画像データに対する地肌除去処理を行わず、前記画像データによって特定される画像の地色が所定色味であれば当該画像データに対して当該所定色味を除去する彩度補正を行うとともに前記バックグラウンド検出手段が検出した地肌レベルを除去する地肌除去処理を行い、前記画像データによって特定される画像が地色を持たなければ当該画像データに対して彩度補正を行わずに前記バックグラウンド検出手段が検出した地肌レベルを除去する地肌除去処理を行うものである
ことを特徴とする請求項6記載の画像処理プログラム。
If the background color of the image specified by the image data is a color, the background removal means does not perform a background removal process on the image data, and the background color of the image specified by the image data has a predetermined color. For example, the image data specified by the image data is subjected to saturation correction for removing the predetermined color tone and background removal processing for removing the background level detected by the background detection unit. 7. The image processing according to claim 6, wherein if there is not, a background removal process for removing the background level detected by the background detection means without performing saturation correction on the image data is performed. program.
前記地色種別判定手段は、前記地色種別の判定を、前記画像データの一部のみに基づいて行うものである
ことを特徴とする請求項5,6または7記載の画像処理プログラム。
The image processing program according to claim 5, 6 or 7, wherein the background color type determination means determines the background color type based only on a part of the image data.
JP2003298299A 2003-08-22 2003-08-22 Image processing apparatus and image processing program Expired - Fee Related JP4111100B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003298299A JP4111100B2 (en) 2003-08-22 2003-08-22 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003298299A JP4111100B2 (en) 2003-08-22 2003-08-22 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2005072822A true JP2005072822A (en) 2005-03-17
JP4111100B2 JP4111100B2 (en) 2008-07-02

Family

ID=34403832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003298299A Expired - Fee Related JP4111100B2 (en) 2003-08-22 2003-08-22 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP4111100B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007013846A (en) * 2005-07-04 2007-01-18 Fuji Xerox Co Ltd Image processing device and its method
JP2007019885A (en) * 2005-07-07 2007-01-25 Fuji Xerox Co Ltd Image processor, method and program
JP2007043569A (en) * 2005-08-04 2007-02-15 Ricoh Co Ltd Image processing apparatus, program, and image processing method
KR101556223B1 (en) 2011-05-27 2015-09-30 후지제롯쿠스 가부시끼가이샤 Image processing apparatus, image processing method, and computer readable medium
CN106982310A (en) * 2016-01-19 2017-07-25 株式会社理光 Image processing system and its establishing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007013846A (en) * 2005-07-04 2007-01-18 Fuji Xerox Co Ltd Image processing device and its method
JP4529820B2 (en) * 2005-07-04 2010-08-25 富士ゼロックス株式会社 Image processing apparatus and method
JP2007019885A (en) * 2005-07-07 2007-01-25 Fuji Xerox Co Ltd Image processor, method and program
JP4595721B2 (en) * 2005-07-07 2010-12-08 富士ゼロックス株式会社 Image processing apparatus and program
JP2007043569A (en) * 2005-08-04 2007-02-15 Ricoh Co Ltd Image processing apparatus, program, and image processing method
KR101556223B1 (en) 2011-05-27 2015-09-30 후지제롯쿠스 가부시끼가이샤 Image processing apparatus, image processing method, and computer readable medium
CN106982310A (en) * 2016-01-19 2017-07-25 株式会社理光 Image processing system and its establishing method
CN106982310B (en) * 2016-01-19 2019-05-03 株式会社理光 Image forming apparatus and its setting method

Also Published As

Publication number Publication date
JP4111100B2 (en) 2008-07-02

Similar Documents

Publication Publication Date Title
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP4700721B2 (en) Image processing device
JP4881902B2 (en) Image forming apparatus, image forming method, and image forming program
US10194050B2 (en) Image processing apparatus, image processing method, and storage medium in which background removal is performed to remove a background included in an input image based on pixel values
JP2010016628A (en) Image processing device and image processing method
JP2009044616A (en) Image processing apparatus and image processing method
EP2439922B1 (en) Image processing apparatus, method for processing image, and program therefor
JP4930423B2 (en) Image processing apparatus, image forming apparatus, image processing apparatus control method, and image processing apparatus control program
JP4111100B2 (en) Image processing apparatus and image processing program
JP2007088741A (en) Image processing apparatus and image processing method
JP4814162B2 (en) Image processing apparatus and image processing method
JP7391653B2 (en) Image processing device, image processing method, and program
JP5549836B2 (en) Image processing apparatus and image processing method
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP2006166327A (en) Image forming apparatus and method
JP4101188B2 (en) Image processing apparatus, image processing method, and computer program
JP7077925B2 (en) Image processing equipment, image processing methods, and programs
JP2017135609A (en) Image processing apparatus, image processing method, and program
JP6649836B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP6350877B2 (en) Image forming apparatus
JP4078268B2 (en) Image processing apparatus, image processing method, and computer program
JP2023020463A (en) Image forming apparatus, program, and image forming method
JP2005057702A (en) Image forming apparatus
JP2017098826A (en) Image processing apparatus, image forming apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080331

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140418

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees