JP2012054642A - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP2012054642A
JP2012054642A JP2010193477A JP2010193477A JP2012054642A JP 2012054642 A JP2012054642 A JP 2012054642A JP 2010193477 A JP2010193477 A JP 2010193477A JP 2010193477 A JP2010193477 A JP 2010193477A JP 2012054642 A JP2012054642 A JP 2012054642A
Authority
JP
Japan
Prior art keywords
color
show
image
image data
component data
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
JP2010193477A
Other languages
Japanese (ja)
Other versions
JP5422520B2 (en
Inventor
Takahiro Minami
貴博 南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2010193477A priority Critical patent/JP5422520B2/en
Publication of JP2012054642A publication Critical patent/JP2012054642A/en
Application granted granted Critical
Publication of JP5422520B2 publication Critical patent/JP5422520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device that can achieve a proper show-through removing effect for image data of both a color document and an achromatic color document, and also shorten a reading time of image data of an achromatic color document.SOLUTION: In case of a color document, a color histogram representing a frequency of each of plural colors represented by plural color component data is calculated, and a base color satisfying a predetermined high frequency condition is specified on the basis of the color histogram. In addition, density conversion information used to convert each of the color component data so that colors in the neighborhood of the base color are made substantially uniform to the base color is generated, and each of the color component data of image data as the colors in the neighborhood of the base color out of the image data is converted on the basis of the density conversion information to remove show-through. In case of an achromatic color document, image data are subjected to predetermined gamma correction processing by using preset gamma correction information to remove show-through.

Description

本発明は,原稿から読み取られる画像データに対して各種の画像処理を施す画像処理装置に関し,特に,原稿の裏写りを除去する裏写り除去処理に関するものである。   The present invention relates to an image processing apparatus that performs various types of image processing on image data read from a document, and more particularly to a show-through removal process for removing show-through of a document.

従来から,スキャナ装置や複写機,ファクシミリ装置,複合機などに搭載される画像処理装置によって,表裏面に画像が形成された原稿の表面の画像のみを読み取る場合,その読み取られた画像に原稿の裏面の画像が写り込む所謂「裏写り」が生じることが問題となっている。そのため,例えばガンマ補正処理によって原稿の画像全体の濃度を下げることで裏写りの除去を図ることがある。
また,例えば特許文献1では,濃度及び頻度の関係を二次元で示す濃度ヒストグラムを算出して,その頻度が高いものを下地色の濃度と認識し,その下地色の濃度付近の濃度を下地色と同レベルに一律に変換することにより,裏写りを除去することが提案されている。これにより,全体の濃度変化を防止しつつ裏写りを除去することができる。
Conventionally, when only an image on the front side of an original having images formed on the front and back sides is read by an image processing apparatus mounted on a scanner device, copying machine, facsimile machine, multifunction machine, etc., There is a problem that so-called “show-through” occurs in which the image on the back surface is reflected. For this reason, for example, the show-through may be removed by reducing the density of the entire image of the document by gamma correction processing.
Also, for example, in Patent Document 1, a density histogram that shows the relationship between density and frequency in two dimensions is calculated, a frequency histogram having a high frequency is recognized as the density of the background color, and a density near the density of the background color is set as the background color. It has been proposed to remove the show-through by uniformly converting to the same level. Thereby, the show-through can be removed while preventing the entire density change.

さらに,原稿の画像をカラーで読み取る場合にも,同じく複数の色成分データごとに濃度ヒストグラムを算出し,その濃度ヒストグラムごとにおいて最も頻度の高い濃度をその下地色における濃度として特定し,裏写りを防止するように色成分データの変換を行うことも考えられる。但し,この場合には,例えばR色成分の濃度のうち下地色のR色成分の濃度付近の濃度をその下地色の濃度に合わせるように変換すると,裏写り部分ではなく原稿表面に形成された本来の画像に含まれるR色成分の濃度についても下地色に合わせて変換が行われる。そのため,原稿の本来の画像におけるR色成分が強調され或いは抑制されることとなって画像全体の色合いが変化することとなる。
そこで,複数の色成分データで表現される複数の色と頻度との関係を三次元で示す色ヒストグラム(図3参照)を用いて裏写り除去処理を実行することが考えられる。
具体的には,画像データから色ヒストグラムを算出してその色ヒストグラムに基づいて原稿の下地色を特定する下地色特定処理や,その下地色に対応して下地色の近傍の色を該下地色に略均一化させるべく色成分データ各々を変換するために用いられる濃度変換テーブルを生成する濃度変換テーブル生成処理,画像データのうち下地色の近傍の色を表現する画像データの色成分データ各々をその濃度変換テーブルに基づいて変換する濃度変換処理などを順に実行することが考えられる。これにより,下地色の近傍の色を除く色を表現する画像データについては色成分データ各々の変換が行われないため,画像全体の色再現性は損なわれない。また,前記色ヒストグラムの算出前に画像データを低解像度に変換する縮小処理を実行して色ヒストグラムの算出処理の負荷を軽減することも考えられる。
In addition, when reading an image of a document in color, a density histogram is calculated for each of the plurality of color component data, and the most frequently used density is specified as the density of the background color for each density histogram. It is also conceivable to convert the color component data so as to prevent it. However, in this case, for example, when the density of the R color component near the density of the R color component of the background color is converted to match the density of the background color, it is formed on the document surface instead of the show-through portion. The density of the R color component included in the original image is also converted in accordance with the background color. Therefore, the R color component in the original image of the original is emphasized or suppressed, and the color of the entire image changes.
In view of this, it is conceivable to perform the show-through removal process using a color histogram (see FIG. 3) showing the relationship between a plurality of colors represented by a plurality of color component data and the frequency in three dimensions.
Specifically, a background color specifying process for calculating a color histogram from image data and specifying the background color of the document based on the color histogram, or a color near the background color corresponding to the background color is selected. Density conversion table generation processing for generating a density conversion table used to convert each of the color component data so as to make the color component data substantially uniform, color component data of image data representing colors in the vicinity of the background color in the image data It is conceivable to sequentially execute density conversion processing for converting based on the density conversion table. As a result, the color data of the entire image is not impaired since the color component data is not converted for the image data representing colors excluding the colors in the vicinity of the background color. It is also conceivable to reduce the load of the color histogram calculation process by executing a reduction process for converting the image data to a low resolution before calculating the color histogram.

特開平11−187266号公報Japanese Patent Laid-Open No. 11-187266 特開2004−120022号公報Japanese Patent Laid-Open No. 2004-120022

ところで,上述の裏写り除去処理を実行する際には,画像処理装置において,前記下地色特定処理や前記濃度変換テーブル生成処理,前記濃度変換処理,前記縮小処理などの各種の画像処理を実行する必要があるが,画像処理装置の簡素化,低コスト化のためには,該画像処理装置に設けられるハードウェア(電気回路など)をできるだけ小規模にすることが望ましい。
そのため,前記下地色特定処理及び前記濃度変換テーブル生成処理をソフトウェアによって実行し,前記濃度変換処理及び前記縮小処理は,例えばガンマ補正処理やスケーリング(拡大・縮小)処理,シェーディング補正処理,平滑・強調処理,CMYK変換処理など(以下,「通常の画像処理」という)を施すために一般的な画像処理装置に設けられている画像処理回路(ASIC)を利用して実行することが考えられる。
しかしながら,この場合には,画像データの読み取り時に,前記画像処理回路により前記縮小処理,前記濃度変換処理,前記通常の画像処理を直列的に使用することになるため,画像データの読み取りに要する時間が長くなるという問題が生じる。
一方,原稿がモノクロ原稿やグレースケール原稿などの無彩色原稿である場合は,上述の裏写り除去処理を施してもその効果がカラー原稿である場合に比べて著しく低く,該無彩色原稿については,従来のようにガンマ補正処理のみによって裏写り除去を図ることでほぼ同等の効果が得られることが実験により明らかとなった。なお,例えば特許文献2に開示されているように,原稿がカラー原稿であるかモノクロ原稿であるかを判定するACS判定処理が周知である。この特許文献2では,そのACS判定処理の結果に応じて,読み取られた画像データの変換フォーマットを変更することも提案されている。
従って,本発明は上記事情に鑑みてなされたものであり,その目的とするところは,カラー原稿及び無彩色原稿の両方の画像データについて適度な裏写り除去効果を得ることができると共に,無彩色原稿の画像データの読み取り時間を短縮することのできる画像処理装置を提供することにある。
By the way, when performing the above-described show-through removal process, various image processes such as the background color specifying process, the density conversion table generation process, the density conversion process, and the reduction process are performed in the image processing apparatus. Although it is necessary, in order to simplify and reduce the cost of the image processing apparatus, it is desirable to make the hardware (electric circuit, etc.) provided in the image processing apparatus as small as possible.
Therefore, the background color specifying process and the density conversion table generation process are executed by software. The density conversion process and the reduction process include, for example, a gamma correction process, a scaling (enlargement / reduction) process, a shading correction process, a smoothing / enhancement process, and the like. In order to perform processing, CMYK conversion processing, and the like (hereinafter referred to as “normal image processing”), it is conceivable to execute the processing using an image processing circuit (ASIC) provided in a general image processing apparatus.
However, in this case, when the image data is read, the image processing circuit uses the reduction processing, the density conversion processing, and the normal image processing in series. The problem that becomes longer.
On the other hand, when the original is an achromatic original such as a monochrome original or a gray scale original, the effect of the show-through removal processing is significantly lower than that of a color original, and the achromatic original As a result of experiments, it has been clarified that almost the same effect can be obtained by removing the show-through by using only the gamma correction processing as in the prior art. For example, as disclosed in Patent Document 2, an ACS determination process for determining whether a document is a color document or a monochrome document is well known. In this patent document 2, it is also proposed to change the conversion format of the read image data in accordance with the result of the ACS determination process.
Accordingly, the present invention has been made in view of the above circumstances, and an object of the present invention is to obtain a moderate show-through removal effect for image data of both color originals and achromatic originals, and achromatic colors. An object of the present invention is to provide an image processing apparatus capable of shortening the reading time of image data of a document.

上記目的を達成するために本発明は,原稿の画像を複数の色成分データを含む画像データとして読み取る画像読取手段と,前記画像読取手段によって読み取られた画像データに基づいて前記原稿がカラー原稿であるか無彩色原稿であるかを判定する自動原稿色判定手段とを備えてなる画像処理装置であって,前記画像読取手段により読み取られた画像データについて前記複数の色成分データで表現される複数の色ごとの頻度を示す色ヒストグラムを算出し,該色ヒストグラムに基づいて所定の高頻度条件を満たす下地色を特定すると共に,該下地色の近傍の色を該下地色に略均一化させるべく前記色成分データ各々を変換するために用いられる濃度変換情報を生成し,前記画像データのうち前記下地色の近傍の色である画像データの色成分データ各々を前記濃度変換情報に基づいて変換することにより裏写りを除去する第1の裏写り除去手段と,前記画像読取手段により読み取られた画像データに対して予め設定されたガンマ補正情報を用いて所定のガンマ補正処理を施すことにより裏写りを除去する第2の裏写り除去手段と,前記自動原稿色判定手段による判定結果がカラー原稿である場合は前記第1の裏写り除去手段により裏写りを除去し,無彩色原稿である場合は前記第2の裏写り除去手段により裏写りを除去する裏写り除去切替手段とを備えてなることを特徴とする画像処理装置として構成される。
これにより,カラー原稿については,前記第1の裏写り除去処理により十分な裏写り除去効果を得ることができ,無彩色原稿については,画像データの読み取り時間をカラー原稿に比べて短縮しつつ前記第2の裏写り除去処理による適度な裏写り除去効果を得ることができる。
ここで,前記第1の裏写り除去手段が,前記画像読取手段により読み取られた画像データの色成分データ各々を所定単位ごとに平均化しつつ前記色成分データ各々の解像度を予め設定された低解像度に変換し,該変換後の色成分データ各々で表現される複数の色から前記下地色を特定するものであることが考えられる。これにより,前記第1の裏写り除去手段による前記色ヒストグラムの生成処理などの負荷が軽減される。
さらに,前記第1の裏写り除去手段が,前記画像読取手段により読み取られた画像データを平滑化し,該平滑化後の画像データのうち前記下地色の近傍の色である画像データの色成分データ各々を前記濃度変換情報に基づいて変換することにより裏写りを除去するものであることが考えられる。これにより,原稿の網点部分に裏写りが生じている場合に,その網点上の裏写りを除去することが可能となる。
また,前記第2の裏写り除去手段が,前記画像読取手段により読み取られた画像データについて前記複数の色成分データで表現される複数の色ごとの頻度を示す色ヒストグラムを算出し,該色ヒストグラムに基づいて所定の高頻度条件を満たす下地色を特定し,該下地色に応じて前記ガンマ補正情報を設定することも考えられる。これにより,前記色ヒストグラムの算出処理や前記下地色の特定処理が必要となるが,前記無彩色原稿の画像データにおける裏写りの除去効果を高めて画像品質の向上を図ることができる。
ところで,前記第1の裏写り除去手段が,前記下地色が複数特定された場合は,該下地色ごとに対応して前記濃度変換情報を生成し,前記下地色の近傍の色である前記画像データの前記色成分データ各々を該下地色に対応する前記濃度変換情報に基づいて変換するものであることが望ましい。これにより,原稿の画像に下地色が複数存在する場合でも,その複数箇所における裏写りを防止することが可能である。
In order to achieve the above object, the present invention provides an image reading means for reading an image of an original as image data including a plurality of color component data, and the original is a color original based on the image data read by the image reading means. An image processing apparatus comprising an automatic document color determination unit that determines whether a document is an achromatic document or not, and a plurality of image data read by the image reading unit is expressed by the plurality of color component data In order to calculate a color histogram indicating the frequency of each color, identify a background color satisfying a predetermined high frequency condition based on the color histogram, and substantially uniformize the colors in the vicinity of the background color to the background color Density conversion information used to convert each of the color component data is generated, and color component data of image data that is a color in the vicinity of the background color in the image data is generated. A first show-through removing means for removing show-through by converting each of the data based on the density conversion information, and gamma correction information set in advance for the image data read by the image reading means. A second show-through removing unit that removes show-through by performing a predetermined gamma correction process; and if the determination result by the automatic document color determining unit is a color document, the first show-through removing unit removes the show-through. In the case of an achromatic original, the image processing apparatus is configured to include a show-through removal switching means for removing show-through by the second show-through removing means.
As a result, for a color document, a sufficient show-through removal effect can be obtained by the first show-through removal process. For an achromatic document, the reading time of image data is shortened as compared with a color document. A moderate show-through removal effect can be obtained by the second show-through removal process.
Here, the first show-through removing unit averages the color component data of the image data read by the image reading unit for each predetermined unit, and sets the resolution of each of the color component data to a preset low resolution. It is conceivable that the base color is specified from a plurality of colors expressed by each of the converted color component data. As a result, the load such as the color histogram generation processing by the first show-through removal unit is reduced.
Further, the first show-through removing unit smoothes the image data read by the image reading unit, and color component data of image data that is a color near the background color among the smoothed image data It is conceivable that show-through is removed by converting each based on the density conversion information. This makes it possible to remove the show-through on the halftone dots when the show-through occurs in the halftone portion of the document.
Further, the second show-through removing unit calculates a color histogram indicating the frequency for each of a plurality of colors expressed by the plurality of color component data for the image data read by the image reading unit, and the color histogram It is also conceivable that a background color satisfying a predetermined high-frequency condition is specified based on the above and the gamma correction information is set according to the background color. Accordingly, although the calculation process of the color histogram and the specifying process of the background color are required, the effect of removing the show-through in the image data of the achromatic original can be enhanced and the image quality can be improved.
By the way, when the first show-through removal unit specifies a plurality of the background colors, the density conversion information is generated for each of the background colors, and the image is a color in the vicinity of the background color. It is desirable to convert each of the color component data of the data based on the density conversion information corresponding to the background color. Thereby, even when a plurality of background colors exist in the image of the document, it is possible to prevent show-through at the plurality of locations.

本発明によれば,カラー原稿については,前記第1の裏写り除去処理により十分な裏写り除去効果を得ることができ,無彩色原稿については,画像データの読み取り時間をカラー原稿に比べて短縮しつつ前記第2の裏写り除去処理による適度な裏写り除去効果を得ることができる。   According to the present invention, it is possible to obtain a sufficient show-through removal effect for color originals by the first show-through removal processing, and for achromatic originals, the image data reading time is shortened compared to color originals. However, it is possible to obtain a moderate show-through removal effect by the second show-through removal process.

本発明の実施の形態に係る複合機Xの概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of a multifunction machine X according to an embodiment of the present invention. 本発明の実施の形態に係る複合機Xで実行される画像読取処理の手順の一例を説明するためのフローチャート。6 is a flowchart for explaining an example of a procedure of image reading processing executed by the multifunction machine X according to the embodiment of the present invention. 色ヒストグラムの一例を説明するための図。The figure for demonstrating an example of a color histogram. 本発明の実施の形態に係る複合機Xで実行される画像読取処理で生成される濃度変換テーブルの一例を説明するための図。FIG. 6 is a diagram for explaining an example of a density conversion table generated by an image reading process executed by the multifunction machine X according to the embodiment of the present invention. 本発明の実施の形態に係る複合機Xで実行される画像読取処理で生成される濃度変換テーブルの一例を説明するための図。FIG. 6 is a diagram for explaining an example of a density conversion table generated by an image reading process executed by the multifunction machine X according to the embodiment of the present invention. 本発明の実施の形態に係る複合機Xで実行される画像読取処理における画像データの流れ(カラー原稿)を説明するための図。FIG. 6 is a view for explaining the flow of image data (color document) in the image reading process executed by the multifunction machine X according to the embodiment of the present invention. 本発明の実施の形態に係る複合機Xで実行される画像読取処理における画像データの流れ(無彩色原稿)を説明するための図。FIG. 6 is a diagram for explaining a flow of image data (achromatic original) in an image reading process executed by the multifunction machine X according to the embodiment of the present invention.

以下添付図面を参照しながら,本発明の実施の形態について説明し,本発明の理解に供する。尚,以下の実施の形態は,本発明を具体化した一例であって,本発明の技術的範囲を限定する性格のものではない。
まず,図1を用いて,本発明の実施の形態に係る複合機Xの概略構成について説明する。
図1に示すように,前記複合機Xは,制御部1,操作表示部2,画像読取部3,画像処理部4,DRAM5,画像形成部6などを備えて概略構成されている。なお,複写機,スキャナ装置,ファクシミリ装置なども本発明に係る画像処理装置に該当する。
前記制御部1は,CPU及びROM,RAM等の周辺装置を有しており,前記CPUで前記ROMに格納された所定の制御プログラムに従った処理を実行することにより,当該複合機Xを統括的に制御するメイン制御部である。なお,前記制御部1は,前記DRAM5の作業領域の割り当て制御(メモリハンドリング)や前記DRAM5のデータの入出力処理なども実行する。例えば,前記制御部1は,不図示のDMAコントローラに制御指示を与えることによって,前記DRAM5にデータを記憶させ,或いは該DRAM5からデータを読み出す。
前記操作表示部2は,当該複合機Xにおける各種の情報の表示や,ユーザによる入力操作を行うための液晶ディスプレイ,タッチパネル,各種操作キーなどを有している。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings so that the present invention can be understood. The following embodiment is an example embodying the present invention, and does not limit the technical scope of the present invention.
First, a schematic configuration of the multifunction machine X according to the embodiment of the present invention will be described with reference to FIG.
As shown in FIG. 1, the multi-function machine X is roughly configured to include a control unit 1, an operation display unit 2, an image reading unit 3, an image processing unit 4, a DRAM 5, an image forming unit 6, and the like. Note that a copying machine, a scanner device, a facsimile device, and the like also correspond to the image processing device according to the present invention.
The control unit 1 has peripheral devices such as a CPU and ROM, RAM, etc., and the CPU controls the MFP X by executing processing according to a predetermined control program stored in the ROM. It is a main control part which controls automatically. The control unit 1 also executes work area allocation control (memory handling) of the DRAM 5 and data input / output processing of the DRAM 5. For example, the control unit 1 stores data in the DRAM 5 or reads data from the DRAM 5 by giving a control instruction to a DMA controller (not shown).
The operation display unit 2 has a liquid crystal display, a touch panel, various operation keys, and the like for displaying various types of information on the multifunction machine X and performing input operations by the user.

前記画像読取部3は,原稿台(不図示)に載置された原稿或いは自動原稿送り装置(ADF,不図示)により搬送された原稿の画像を読み取るCCD等を有する画像読取手段である。ここに,前記画像読取部3は,前記原稿の画像をR(赤),G(緑),B(青)の3色の色成分データ(以下,R色成分データ,G色成分データ,B色成分データという)を含む画像データとして読み取るものである。特に,前記画像読取部3は,原稿がカラー,無彩色(モノクロやグレースケールなど)のいずれである場合でも,その画像をR,G,B色成分データを含む画像データとして読み取る。
前記画像読取部3は,原稿から読み取った画像データを前記DRAM5に一時記憶する。前記DRAM5は,前記画像処理部4による各種の画像処理過程における作業領域として用いられる半導体メモリである。
また,前記画像読取部3は,原稿から読み取られた画像データに基づいて,該原稿がカラー原稿であるか無彩色原稿(グレースケール原稿やモノクロ原稿など)であるかを判定するACS(Auto Color Selection)判定機能を有している。ここに,係るACS判定機能を具現するときの前記画像読取部3が自動原稿色判定手段に相当する。なお,前記ACS判定機能については従来周知であるため,詳細な説明は省略するが,例えば画像データに含まれたカラー画素の数を計数し,カラー画素が所定数(所定割合)以上に達した場合に,原稿がカラー原稿であると判定することが考えられる。
The image reading unit 3 is an image reading unit having a CCD or the like for reading an image of a document placed on a document table (not shown) or a document conveyed by an automatic document feeder (ADF, not shown). Here, the image reading unit 3 converts the original image into R (red), G (green), and B (blue) color component data (hereinafter referred to as R color component data, G color component data, B). It is read as image data including color component data). In particular, the image reading unit 3 reads the image as image data including R, G, and B color component data regardless of whether the original is a color or an achromatic color (monochrome or gray scale).
The image reading unit 3 temporarily stores image data read from a document in the DRAM 5. The DRAM 5 is a semiconductor memory used as a work area in various image processing processes by the image processing unit 4.
The image reading unit 3 determines whether the original is a color original or an achromatic original (such as a gray scale original or a monochrome original) based on image data read from the original. Selection) judgment function. Here, the image reading unit 3 when realizing the ACS determination function corresponds to an automatic document color determination unit. The ACS determination function is well known in the art and will not be described in detail. For example, the number of color pixels included in the image data is counted, and the number of color pixels reaches a predetermined number (predetermined ratio) or more. In this case, it may be determined that the document is a color document.

前記画像処理部4は,前記画像読取部3によって読み取られた画像データに対して,後述の裏写り除去処理やガンマ補正処理,スケーリング処理,シェーディング補正処理,平滑・強調処理,CMYK変換処理などの各種の画像処理を施すものである。具体的に,前記画像処理部4は,前記各種の画像処理機能を具現するために構成された一つの集積回路(ASIC)である。このように,前記複合機Xでは,一つの前記画像処理部4を用いて各種の画像処理が実行されるため構成が簡素化されており,低コストが実現される。但し,前記画像処理部4で同時に実行可能な処理は制限されるため,一連の画像読取処理において前記画像処理部4を直列的に用いる回数が多いほど,該画像読取処理に要する時間が長くなる。
なお,前記複合機Xにおいてスキャン処理が実行される場合,前記画像処理部4は,前記画像処理後の画像データをハードディスク等の記憶手段に記憶し,或いはLAN等のネットワークを介して所定の情報処理装置などに送信する。
また,前記複合機Xにおいて複写処理が実行される場合,前記画像処理部4は,前記画像処理後の画像データを前記画像形成部6に入力する。前記画像形成部6は,CMYKの各色に対応する感光体ドラムや現像装置などの周知の電子写真方式の画像形成部の構成要素を備えており,給紙カセットから供給された用紙に対し,前記画像処理部4による画像処理後の画像データ(色成分データ各々)に基づいてカラー画像や無彩色画像(モノクロ画像,グレースケール画像など)を形成する。
The image processing unit 4 performs, for example, a show-through removal process, a gamma correction process, a scaling process, a shading correction process, a smoothing / enhancement process, and a CMYK conversion process, which will be described later, on the image data read by the image reading unit 3. Various image processing is performed. Specifically, the image processing unit 4 is a single integrated circuit (ASIC) configured to implement the various image processing functions. As described above, in the multi-function machine X, various image processes are executed using the single image processing unit 4, so that the configuration is simplified and a low cost is realized. However, since the processes that can be simultaneously executed by the image processing unit 4 are limited, the more times the image processing unit 4 is used in series in a series of image reading processes, the longer the time required for the image reading process is. .
When the scanning process is executed in the multifunction device X, the image processing unit 4 stores the image data after the image processing in a storage unit such as a hard disk or predetermined information via a network such as a LAN. Send to the processing device.
Further, when a copying process is executed in the multifunction device X, the image processing unit 4 inputs the image data after the image processing to the image forming unit 6. The image forming unit 6 includes constituent elements of a well-known electrophotographic image forming unit such as a photosensitive drum and a developing device corresponding to each color of CMYK, and for the paper supplied from a paper feeding cassette, A color image or an achromatic image (monochrome image, grayscale image, etc.) is formed based on image data (each of color component data) after image processing by the image processing unit 4.

そして,前記複合機Xは,前記制御部1が後述の画像読取処理(図2参照)を実行することにより,前記画像読取部3で原稿から読み取られる画像データに対してその原稿の色種別に応じて適切な裏写り除去処理が施される点に特徴を有している。このように,原稿の色種別に応じて裏写り除去処理の内容を切り替えるときの前記制御部1が裏写り除去切替手段に相当する。
以下,図2のフローチャートに従って,前記複合機Xで実行される画像読取処理の手順の一例について説明する。なお,図中のS1,S2,…は処理手順(ステップ)の番号を表している。ここに,当該画像読処理は,前記操作表示部2に対するユーザ操作などによって画像読取開始の要求がなされた後,1ページの原稿から画像データが読み取られる毎に実行される。
In the multi-function device X, the control unit 1 executes an image reading process (see FIG. 2), which will be described later, so that the image data read from the document by the image reading unit 3 is changed to the color type of the document. Accordingly, it is characterized in that an appropriate show-through removal process is performed. As described above, the control unit 1 when switching the contents of the show-through removal process according to the color type of the document corresponds to the show-through removal switching means.
Hereinafter, an example of the procedure of the image reading process executed by the multifunction machine X will be described with reference to the flowchart of FIG. In the figure, S1, S2,... Represent processing procedure (step) numbers. Here, the image reading process is executed each time image data is read from a one-page document after a request to start image reading is made by a user operation or the like on the operation display unit 2.

(ステップS1,S9,S10)
まず,ステップS1において,前記制御部1は,予め前記操作表示部2のユーザ操作などによって,無彩色原稿として画像を読み取る無彩色モードに設定されているか否かを判断する。
ここで,前記無彩色モードに設定されていると判断された場合(S1のYes側),処理はステップS9に移行する。そして,前記ステップS9において,前記制御部1は,裏写りを除去するために予め設定された裏写り除去用のガンマ補正情報(ガンマテーブルやガンマ曲線など)を用いる旨の制御指示を前記画像処理部4に与える。
これにより,前記画像処理部4では,前記制御部1からの制御指示に応じて前記裏写り除去用のガンマ補正情報が選択される。ここに,前記裏写り除去用のガンマ補正情報は,例えば原稿の画像全体の濃度を下げることにより裏写りを除去するように,或いは原稿における所定の濃度レベルの部分のみについて該濃度レベルを下げることにより裏写りを除去するように予め設定されたものである。
具体的には,前記画像処理部4の内部メモリに通常時に用いるガンマ補正情報と前記裏写り除去用のガンマ補正情報とが予め記憶されており,該画像処理部4が前記制御部1からの制御指示に応じていずれか一方のガンマ補正情報を選択する構成が考えられる。もちろん,前記制御部1から前記画像処理部4に対していずれか一方のガンマ補正情報を入力してもよい。
そして,続くステップS10では,前記制御部1が前記画像処理部4を制御することにより,該画像処理部4によってガンマ補正処理,シェーディング補正処理,平滑・強調処理,CMYK変換処理などの通常の画像処理を実行させる。このとき,前記ガンマ補正処理では,前記ステップS9で選択された前記裏写り除去用のガンマ補正情報が用いられるため,前記画像読取部3で読み取られた無彩色原稿の画像データにおける裏写りが除去される。ここに,係る手法(ステップS9〜S10)により裏写りを除去するための処理を実行する前記制御部1が第2の裏写り除去手段に相当する。
(Steps S1, S9, S10)
First, in step S1, the control unit 1 determines in advance whether or not an achromatic color mode for reading an image as an achromatic color original is set by a user operation of the operation display unit 2 or the like.
If it is determined that the achromatic mode is set (Yes side of S1), the process proceeds to step S9. In step S9, the control unit 1 gives a control instruction to use gamma correction information (such as a gamma table or a gamma curve) for show-through removal set in advance to remove show-through. Part 4 is given.
As a result, the image processing unit 4 selects the gamma correction information for show-through removal according to the control instruction from the control unit 1. Here, the gamma correction information for show-through removal is, for example, so as to remove show-through by lowering the density of the entire image of the original, or lowering the density level only for a predetermined density level portion of the original. Is set in advance so as to remove show-through.
Specifically, gamma correction information that is normally used and gamma correction information for show-through removal are stored in advance in the internal memory of the image processing unit 4, and the image processing unit 4 receives from the control unit 1. A configuration in which one of the gamma correction information is selected in accordance with a control instruction is conceivable. Of course, either one of the gamma correction information may be input from the control unit 1 to the image processing unit 4.
In subsequent step S10, the control unit 1 controls the image processing unit 4 so that the image processing unit 4 performs normal image processing such as gamma correction processing, shading correction processing, smoothing / enhancement processing, and CMYK conversion processing. Execute the process. At this time, since the gamma correction information for removing the show-through selected in step S9 is used in the gamma correction process, the show-through in the image data of the achromatic original read by the image reading unit 3 is removed. Is done. Here, the control unit 1 that executes processing for removing the show-through by the technique (steps S9 to S10) corresponds to a second show-through removing unit.

ここに,図6は,無彩色原稿である場合の当該画像読取処理における画像データの流れを示している。
図6に示すように,無彩色原稿である場合には,前記画像読取部3で読み取られた1ページ分の画像データが前記DRAM5に記憶された後,該画像データは,前記画像処理部4に入力されて通常の画像処理(S10)が施され,前記画像形成部6に出力される。
従って,前記複合機Xでは,読み取り原稿が無彩色原稿である場合,前記画像処理部4により前記通常の画像処理のみを実行しているため,無彩色原稿についてもカラー原稿である場合と同様に後述の縮小処理(S4)や濃度変換処理(S5〜S8),通常の画像処理(S10)を前記画像処理部4で直列的に実行する場合に比べて画像データの読み取りに要する時間が短縮される。しかも,前述したように原稿が無彩色原稿である場合には,ガンマ補正処理を利用した裏写り除去処理により適度に裏写り除去効果を得ることができる。
このように,前記複合機Xでは,無彩色原稿である場合にはカラー原稿と同様の裏写り除去処理を実行してもその効果が低いことに鑑みて,無彩色原稿である場合には,適度に効果が得られる裏写り除去処理を採用することで処理時間短縮を優先させている。
FIG. 6 shows the flow of image data in the image reading process in the case of an achromatic original.
As shown in FIG. 6, in the case of an achromatic original, after one page of image data read by the image reading unit 3 is stored in the DRAM 5, the image data is stored in the image processing unit 4. Is subjected to normal image processing (S 10) and output to the image forming unit 6.
Therefore, in the multi-function machine X, when the original to be read is an achromatic original, only the normal image processing is executed by the image processing unit 4, so that the achromatic original is also a color original. Compared with the case where the image processing unit 4 executes serial processing (S4), density conversion processing (S5 to S8), and normal image processing (S10), which will be described later, the time required for reading the image data is shortened. The In addition, as described above, when the original is an achromatic original, the show-through removal effect can be appropriately obtained by the show-through removal processing using the gamma correction processing.
In this way, in the case of an achromatic original, in the case of an achromatic original, in the case of an achromatic original, in the case of an achromatic original, By adopting a show-through removal process that provides a reasonable effect, priority is given to shortening the processing time.

(ステップS2)
一方,前記無彩色モードに設定されておらず,カラー原稿として画像を読み取るカラーモードや,原稿がカラー原稿であるか無彩色原稿であるかを自動的に判定するACS判定モードなどに設定されている場合(S1のNo側),処理はステップS2に移行し,前記制御部1は前記画像読取部3にACS判定処理を実行させる。
このように,前記複合機Xでは,前記ACS判定モードに設定されている場合だけでなく,前記カラーモードに設定されている場合にも前記画像読取部3によるACS判定処理が実行される。もちろん,前記ACS判定モードに設定されている場合にのみ,前記画像読取部3によるACS判定処理が実行されることも他の実施例として考えられる。
(Step S2)
On the other hand, it is not set to the achromatic mode, but is set to a color mode for reading an image as a color document or an ACS determination mode for automatically determining whether the document is a color document or an achromatic document. If it is present (No side of S1), the process proceeds to step S2, and the control unit 1 causes the image reading unit 3 to execute an ACS determination process.
As described above, the MFP X executes the ACS determination process by the image reading unit 3 not only when the ACS determination mode is set but also when the color mode is set. Of course, it is also conceivable as another embodiment that the ACS determination processing by the image reading unit 3 is executed only when the ACS determination mode is set.

(ステップS3)
そして,ステップS3において,前記制御部1は,前記画像読取部3によるACS判定結果がカラー原稿であるか否かを判断する。ここで,ACS判定結果がカラー原稿であると判断された場合(S3のYes側),処理はステップS4に移行し,カラー原稿でないと判断された場合(S3のNo側),処理は前記ステップS9に移行する。即ち,例えばユーザが意図的にカラーモードを選択している場合であっても,前記ACS判定処理によって無彩色原稿であると判定された場合には,前記ステップS9に移行して前記ガンマ補正処理による原稿の裏写り除去が行われることとなる。
(Step S3)
In step S3, the control unit 1 determines whether the ACS determination result by the image reading unit 3 is a color document. If it is determined that the ACS determination result is a color document (Yes side of S3), the process proceeds to step S4. If it is determined that the document is not a color document (No side of S3), the process is performed according to the above step. The process proceeds to S9. That is, for example, even when the user has intentionally selected the color mode, if the ACS determination process determines that the document is an achromatic document, the process proceeds to step S9 and the gamma correction process is performed. The show-through removal of the original is performed.

(ステップS4)
他方,前記画像読取部3によるACS判定結果がカラー原稿である場合(S3のYes側),前記制御部1は,続くステップS4〜S8を順に実行することにより,前記画像読取部3で読み取られた画像データにおける原稿の裏写りを除去する。ここに,係る手法(ステップS4〜S8)により裏写りを除去するための処理を実行する前記制御部1が第1の裏写り除去手段に相当する。以下,ステップS4〜S8の処理について詳説する。
まず,ステップS4において,前記制御部1は,前記画像処理部4により前記画像読取部3で読み取られた画像データのR,G,B色成分データ各々の解像度を予め設定された低解像度に変換させて画像データを縮小する縮小処理を実行させる。これにより,前記画像データが縮小されるため,例えば前記制御部1によって実行される後述の下地色特定処理(S5)の処理負担を軽減することができる。
例えば,前記画像処理部4は,解像度600dpiのR,G,B色成分データを,8×8の64ドット(所定単位の一例)ごとに平均化しつつ解像度75dpi程度の低解像度のR,G,B色成分データに変換する。そして,このように低解像度に変換された後の画像データは前記DRAM5に一時記憶される。なお,当該ステップS4を省略することも他の実施例として考えられる。
(Step S4)
On the other hand, when the ACS determination result by the image reading unit 3 is a color original (Yes side of S3), the control unit 1 reads the image reading unit 3 by sequentially executing the following steps S4 to S8. Remove the show-through of the original in the image data. Here, the control unit 1 that executes processing for removing show-through by such a technique (steps S4 to S8) corresponds to a first show-through removal unit. Hereinafter, the processing of steps S4 to S8 will be described in detail.
First, in step S4, the control unit 1 converts the resolution of each of the R, G, and B color component data of the image data read by the image reading unit 3 by the image processing unit 4 into a preset low resolution. The reduction process for reducing the image data is executed. Thereby, since the image data is reduced, for example, the processing load of a background color specifying process (S5) described later executed by the control unit 1 can be reduced.
For example, the image processing unit 4 averages R, G, B color component data having a resolution of 600 dpi for every 64 dots of 8 × 8 (an example of a predetermined unit), and has a low resolution of R, G, about 75 dpi. Conversion to B color component data. The image data converted into the low resolution is temporarily stored in the DRAM 5. Note that omitting the step S4 is also considered as another embodiment.

(ステップS5)
そして,ステップS5において,前記制御部1は,前記ステップS4による変換後のR,G,B色成分データに基づいて所定の高頻度条件を満たす下地色を特定する下地色特定処理を実行する。
具体的に,前記制御部1は,まずR,G,B色成分データで表現される複数の色を予め定められた所定範囲の色ごとの色群に分類したときに,該R,G,B色成分データ各々で表現される全画像データに含まれる前記色群ごとの画素の頻度(数)を示す第一の色ヒストグラム(三次元ヒストグラム)を算出する。
ここに,図3は,前記第一の色ヒストグラムの一例を示している。図3に示すように,前記第一の色ヒストグラムは,画像データを構成するR,G,B色成分データ各々の濃度値を三次元に配置したとき,その三次元の濃度値(R,G,B)で示される所定範囲の色を含む色群ごとの頻度を算出したものである。具体的に,図3に示す例は,R,G,B色成分データ各々の値の組み合わせによって表現される256×256×256の16,777,216色を,16×16×16の4096個の色群に分類し,原稿の画像に含まれるその色群ごとの画素の頻度を算出したものである。この場合,前記色群各々に含まれる所定範囲の色は,(R,G,B)=(0〜15,0〜15,0〜15),(16〜31,0〜15,0〜15),(32〜47,0〜15,0〜15),…(239〜255,239〜255,239〜255)となる。
次に,前記制御部1は,前記第一の色ヒストグラムに基づいて,予め設定された所定頻度以上である下地色群を抽出する。前記所定頻度は,例えばその色が原稿の画像において裏写りが顕著となる程の面積を占めていることを判断するために予め設定されたものである。このように,前記制御部1は,最も頻度の高い色群のみを特定するものではなく,前記所定頻度以上である下地色群を抽出するものであるため,該下地色群が複数抽出される場合もある。
そして,前記制御部1は,前記下地色群ごとに,該下地色群に含まれた色ごとの頻度を示す第二の色ヒストグラムを算出する。例えば,図3に示したように,前記第一の色ヒストグラムが,R,G,B色成分データ各々の値により表現される256×256×256の16,777,216色を16×16×16の4096個の色群に分類し,その色群ごとの頻度を算出したものである場合,前記第二の色ヒストグラムは,その色群に含まれた16×16×16の4096の色ごとの頻度を個別に算出したものとなる。
その後,前記変換ポイント算出部42は,前記第二の色ヒストグラムに基づいて,前記下地色群ごとにおいて最も頻度の高い色を前記高頻度条件を満たす下地色として特定する。このとき,前述したように前記下地色群が複数抽出される場合には,ここでも複数の下地色が特定されることになる。即ち,本実施の形態における前記所定の高頻度条件を満たす下地色とは,前記所定頻度以上の色群に属し,且つその色群の中で最も頻度が高い色である。
このように,前記制御部1は,まず粗レベルの前記第一の色ヒストグラムを算出した後,その中で所定頻度以上である一又は複数の色群を抽出し,その一又は複数の色群についてのみ,より詳細な前記第二の色ヒストグラムを算出する。そのため,初めから全ての色(上記例では16,777,216色)の頻度を示すヒストグラムを算出する場合に比べて処理負担は著しく軽減される。
(Step S5)
In step S5, the control unit 1 executes a background color specifying process for specifying a background color that satisfies a predetermined high-frequency condition based on the R, G, and B color component data converted in step S4.
Specifically, when the control unit 1 first classifies a plurality of colors expressed by R, G, B color component data into color groups for each color in a predetermined range, the R, G, A first color histogram (three-dimensional histogram) indicating the frequency (number) of pixels for each color group included in all image data represented by each of the B color component data is calculated.
FIG. 3 shows an example of the first color histogram. As shown in FIG. 3, the first color histogram has three-dimensional density values (R, G, when the density values of the R, G, B color component data constituting the image data are arranged in three dimensions. , B), the frequency for each color group including a predetermined range of colors is calculated. Specifically, in the example shown in FIG. 3, 4096 colors of 16 × 16 × 16 are represented by 256 × 256 × 256 16,777,216 colors expressed by combinations of values of R, G, and B color component data. And the frequency of pixels for each color group included in the original image is calculated. In this case, the predetermined range of colors included in each of the color groups is (R, G, B) = (0-15, 0-15, 0-15), (16-31, 0-15, 0-15). ), (32 to 47, 0 to 15, 0 to 15), ... (239 to 255, 239 to 255, 239 to 255).
Next, the control unit 1 extracts a background color group having a predetermined frequency or higher based on the first color histogram. The predetermined frequency is set in advance, for example, in order to determine that the color occupies an area where the show-through is significant in the document image. As described above, the control unit 1 does not specify only the most frequent color group, but extracts the background color group having the predetermined frequency or more, so that a plurality of the background color groups are extracted. In some cases.
Then, the control unit 1 calculates a second color histogram indicating the frequency of each color included in the background color group for each background color group. For example, as shown in FIG. 3, the first color histogram represents 256 × 256 × 256 16,777,216 colors represented by the values of the R, G, B color component data, and 16 × 16 ×. When the frequency is classified into 16 4096 color groups and the frequency for each color group is calculated, the second color histogram is obtained for each of 16 × 16 × 16 4096 colors included in the color group. The frequency is calculated individually.
Thereafter, the conversion point calculation unit 42 specifies the most frequently used color for each background color group as the background color satisfying the high-frequency condition based on the second color histogram. At this time, as described above, when a plurality of the background color groups are extracted, a plurality of background colors are also specified here. That is, the background color satisfying the predetermined high-frequency condition in the present embodiment is a color that belongs to the color group having the predetermined frequency or more and has the highest frequency in the color group.
As described above, the control unit 1 first calculates the first color histogram of the coarse level, and then extracts one or a plurality of color groups having a predetermined frequency or more therein, and the one or more color groups. Only for, the more detailed second color histogram is calculated. For this reason, the processing load is significantly reduced as compared with the case of calculating a histogram indicating the frequencies of all colors (16,777,216 colors in the above example) from the beginning.

(ステップS6)
次に,ステップS6において,前記制御部1は,前記ステップS5で特定された下地色ごとに対応して,前記下地色の近傍の色を該下地色に略均一化させるべく前記R,G,B色成分データ各々を変換するために用いられる濃度変換テーブル(濃度変換情報の一例)を生成する。なお,前記制御部1は,前記ステップS5で特定された下地色が複数である場合には,前記RGB色成分データごとに対応する複数の濃度変換テーブルを生成する。ここに,図4,5は,前記ステップS5で特定された下地色が2つである場合に前記制御部1で生成される濃度変換テーブルの一例を示す図である。
図4は,一つ目の下地色が,R,G,B各々の色成分データが変換ポイントPr1,Pg1,Pb1で表現される色である場合に,該下地色に対応して生成される濃度変換テーブルの一例を示すものであって,(a),(b),(c)は,R,G,B色成分データ各々に対応する濃度変換テーブルTr1,Tg1,Tb1を示している。また,図5は,二つ目の下地色が,R,G,B各々の色成分データが変換ポイントPr2,Pg2,Pb2で表現される色である場合に,該下地色に対応して生成される濃度変換テーブルの一例を示すものであって,(a),(b),(c)は,R,G,B色成分データ各々に対応する濃度変換テーブルTr2,Tg2,Tb2を示している。
具体的に,図4(a)に示すように,前記濃度変換テーブルTr1は,前記変換ポイントPr1を中心とする所定範囲の濃度をその変換ポイントPr1に略均一化させるように変換する際に用いられるものである。同じく,図4(b),(c)に示すように,前記濃度変換テーブルTg1,Tb1は,前記変換ポイントPg1,Pb1を中心とする所定範囲の濃度をその変換ポイントPg1,Pb1に略均一化させるように変換する際に用いられるものである。なお,図5に示す前記濃度変換テーブルTr2,Tg2,Tb2も同様である。もちろん,前記濃度変換テーブルは,前記下地色の近傍の色を該下地色に近似させて略均一化させることにより裏写りを除去し得るものであれば,図4,図5に示す形態に限らない。
(Step S6)
Next, in step S6, the control unit 1 corresponds to each background color specified in step S5, so that the colors in the vicinity of the background color are substantially uniformed to the background color. A density conversion table (an example of density conversion information) used to convert each of the B color component data is generated. Note that the control unit 1 generates a plurality of density conversion tables corresponding to each of the RGB color component data when there are a plurality of background colors specified in step S5. 4 and 5 are diagrams showing an example of the density conversion table generated by the control unit 1 when there are two background colors specified in step S5.
FIG. 4 shows the density generated corresponding to the base color when the first base color is a color represented by the conversion points Pr1, Pg1, and Pb1, respectively. An example of the conversion table is shown. (A), (b), and (c) show density conversion tables Tr1, Tg1, and Tb1 corresponding to the R, G, and B color component data, respectively. Further, FIG. 5 shows that the second background color is generated corresponding to the background color when the color component data of R, G, and B are colors represented by the conversion points Pr2, Pg2, and Pb2. (A), (b), and (c) show density conversion tables Tr2, Tg2, and Tb2 corresponding to the R, G, and B color component data, respectively. .
Specifically, as shown in FIG. 4A, the density conversion table Tr1 is used when converting a predetermined range of density centered on the conversion point Pr1 so that the density is substantially uniform at the conversion point Pr1. It is what Similarly, as shown in FIGS. 4B and 4C, the density conversion tables Tg1 and Tb1 make the density within a predetermined range centered on the conversion points Pg1 and Pb1 substantially uniform at the conversion points Pg1 and Pb1. It is used when converting to The same applies to the density conversion tables Tr2, Tg2, and Tb2 shown in FIG. Of course, the density conversion table is not limited to the form shown in FIGS. 4 and 5 as long as the show-through can be removed by approximating the color in the vicinity of the background color and making it substantially uniform. Absent.

(ステップS7〜S8)
その後,ステップS7〜S8において,前記制御部1は,前記画像読取部3で読み取られた画像データを前記DRAM5から1バンド毎に前記画像処理部4に入力し,前記下地色の近傍の色を表現する画像データの色成分データ各々を前記濃度変換テーブルに基づいて変換することにより裏写りを除去する濃度変換処理を前記画像処理部4に実行させる。
具体的に,前記ステップS7において,前記画像処理部4は,まずR,G,B色成分データ各々に対して平滑化処理を施して網点成分を除去する。これにより,前記原稿が網点成分を含むものである場合に,その網点上に存在する裏写り部分についても前記下地色の近傍の色を表現するものであると判断し,その裏写りを除去することが可能となる。なお,前記R,G,B色成分データ各々の平滑化には,例えば周知のメディアンフィルタや平均化フィルタ等を用いればよい。
そして,前記画像処理部4は,前記画像読取部3で読み取られて平滑化処理が施された後の画像データのうちR,G,B色成分データ各々で表現される色が前記下地色の近傍の色である前記画像データについて,前記R,G,B色成分データ各々を該下地色に対応して生成された前記濃度変換テーブルに基づいて変換する濃度変換処理を実行することにより,該下地色近傍の色を下地色に均一化して裏写りを除去する。即ち,前記下地色の近傍の色を除く他の色の画像データについては濃度変換が行われない。
例えば,前記R,G,B色成分データで表現される色が,図4に示した変換ポイントPr1,Pg1,Pb1で表現される下地色の近傍の色である画素の画像データが入力された場合には,その下地色に対応して前記ステップS6で生成された前記濃度変換テーブルTr1,Tg1,Tb1に基づいて,前記R,G,B色成分データが変換される。同じく,図5に示した変換ポイントPr2,Pg2,Pb2で表現される下地色の近傍の色である画素の画像データが入力された場合には,その下地色に対応して前記ステップS6で生成された前記濃度変換テーブルTr2,Tg2,Tb2に基づいて,前記R,G,B色成分データが変換される。
(Steps S7 to S8)
Thereafter, in steps S7 to S8, the control unit 1 inputs the image data read by the image reading unit 3 from the DRAM 5 to the image processing unit 4 for each band, and selects a color in the vicinity of the background color. The image processing unit 4 is caused to execute density conversion processing for removing show-through by converting each color component data of the image data to be expressed based on the density conversion table.
Specifically, in step S7, the image processing unit 4 first performs smoothing processing on each of the R, G, and B color component data to remove halftone components. As a result, when the document includes a halftone component, it is determined that the show-through portion existing on the halftone dot represents a color in the vicinity of the background color, and the show-through is removed. It becomes possible. For smoothing each of the R, G, and B color component data, for example, a well-known median filter or an averaging filter may be used.
Then, the image processing unit 4 is configured such that colors expressed by R, G, and B color component data of the image data after being read and smoothed by the image reading unit 3 are the background colors. By executing density conversion processing for converting each of the R, G, and B color component data based on the density conversion table generated corresponding to the background color with respect to the image data that is a nearby color, The colors near the base color are made uniform to the base color to remove show-through. That is, density conversion is not performed on image data of other colors excluding the colors in the vicinity of the background color.
For example, image data of a pixel whose color expressed by the R, G, B color component data is a color near the background color expressed by the conversion points Pr1, Pg1, Pb1 shown in FIG. 4 is input. In this case, the R, G, B color component data is converted based on the density conversion tables Tr1, Tg1, Tb1 generated in the step S6 corresponding to the background color. Similarly, when image data of a pixel that is a color in the vicinity of the background color represented by the conversion points Pr2, Pg2, and Pb2 shown in FIG. 5 is input, it is generated in step S6 corresponding to the background color. The R, G, B color component data are converted based on the density conversion tables Tr2, Tg2, Tb2.

ここで,前記制御部1は,前記DRAM5から1バンドごとに出力した画像データを,前記画像処理部4による濃度変換後,前記DRAM5に再度記憶させる。このとき,前記濃度変換後の画像データは,元の画像データに施される前記平滑化処理や前記濃度変換処理により均されてエッジ部などが減少するため,該画像データが圧縮される際の圧縮率が高くなる。
そこで,前記制御部1は,前記DRAM5に記憶されていた元の画像データの記憶領域に,前記画像処理部4による濃度変換後の画像データを順に上書き保存させる。これにより,前記DRAM5内に,前記元の画像データと前記濃度変換後の画像データとの両方を記憶させるための記憶領域を確保する必要が無く,該画像読取処理で使用する前記DRAM5の記憶領域を省減することができる。
特に,前記DRAM5の前記記憶領域には,前記元の画像データと前記濃度変換後の画像データとのデータ量の差に相当する空き領域ができるため,前記制御部1は,その空き領域を順に開放することが望ましい。これにより,前記空き領域を当該複合機Xにおける他の処理の作業領域として用いることができ,該複合機Xにおける処理効率を向上させることができる。例えば,前記制御部1は,前記空き領域を次ページの画像読取処理やFAX受信処理などに利用する。
Here, the control unit 1 stores the image data output for each band from the DRAM 5 in the DRAM 5 again after density conversion by the image processing unit 4. At this time, the image data after the density conversion is averaged by the smoothing process or the density conversion process applied to the original image data to reduce edge portions and the like. The compression rate becomes high.
Therefore, the control unit 1 sequentially overwrites and saves the image data after the density conversion by the image processing unit 4 in the storage area of the original image data stored in the DRAM 5. Thereby, it is not necessary to secure a storage area for storing both the original image data and the density-converted image data in the DRAM 5, and a storage area of the DRAM 5 used in the image reading process. Can be saved.
In particular, since the storage area of the DRAM 5 has an empty area corresponding to the difference in data amount between the original image data and the image data after the density conversion, the control unit 1 sequentially sets the empty area. It is desirable to open it. As a result, the empty area can be used as a work area for other processes in the multifunction device X, and the processing efficiency in the multifunction device X can be improved. For example, the control unit 1 uses the empty area for image reading processing of the next page, FAX reception processing, and the like.

(ステップS10)
そして,1ページ分の画像データについての濃度変換が終了すると(S8のYes側),処理は前記ステップS10に移行し,前記画像処理部4による通常の画像処理(ガンマ補正処理やスケーリング処理,シェーディング補正処理,平滑・強調処理,CMYK変換処理など)が実行される。
このときは,前記ガンマ補正処理において,前記ステップS9で選択される前記裏写り除去用のガンマ補正情報ではなく通常のガンマ補正情報を用いたガンマ補正が実行される。
(Step S10)
When the density conversion for one page of image data is completed (Yes in S8), the process proceeds to step S10, and normal image processing (gamma correction processing, scaling processing, shading) by the image processing unit 4 is performed. Correction processing, smoothing / enhancement processing, CMYK conversion processing, etc.) are executed.
At this time, in the gamma correction processing, gamma correction using normal gamma correction information is executed instead of the show-through removal gamma correction information selected in step S9.

ここに,図7は,カラー原稿である場合の当該画像読取処理における画像データの流れを示している。
図7に示すように,カラー原稿である場合には,前記画像読取部3で読み取られた画像データが前記DRAM5に記憶された後,該画像データは,前記画像処理部4に入力されて縮小され(S4),再度前記DRAM5に記憶される。なお,縮小後の画像データは,前記画像読取部3で読み取られた元の画像データの記憶領域とは別の記憶領域に記憶される。そして,前記制御部1では,前記DRAM5に記憶された縮小後の画像データに基づいて前記濃度変換テーブルが生成される(S5〜S6)。
次に,前記画像読取部3で読み取られて前記DRAM5に記憶されていた元の画像データが前記画像処理部4に入力され,前記制御部1で生成された前記濃度変換テーブルに基づいて濃度変換された後(S7〜S8),再度前記DRAM5に記憶される。このとき,前記濃度変換後の画像データは,前述したように前記元の画像データが記憶されている記憶領域に上書き保存される。
その後,前記DRAM5に記憶された濃度変換後の画像データは,1バンド毎に前記画像処理部4に入力されて該画像処理部4において通常の画像処理(ガンマ補正処理,スケーリング処理,シェーディング補正処理,平滑・強調処理,CMYK変換処理など)が施された後,前記画像形成部6に順に出力される
このように,前記複合機Xでは,カラー原稿である場合は高い裏写り除去効果を得ることができる裏写り除去処理を採用することで画像品質を優先させている。
FIG. 7 shows a flow of image data in the image reading process in the case of a color original.
As shown in FIG. 7, in the case of a color document, after the image data read by the image reading unit 3 is stored in the DRAM 5, the image data is input to the image processing unit 4 and reduced. (S4) and stored in the DRAM 5 again. The reduced image data is stored in a storage area different from the storage area of the original image data read by the image reading unit 3. Then, the control unit 1 generates the density conversion table based on the reduced image data stored in the DRAM 5 (S5 to S6).
Next, the original image data read by the image reading unit 3 and stored in the DRAM 5 is input to the image processing unit 4, and density conversion is performed based on the density conversion table generated by the control unit 1. After being performed (S7 to S8), it is stored in the DRAM 5 again. At this time, the image data after the density conversion is overwritten and saved in the storage area in which the original image data is stored as described above.
Thereafter, the density-converted image data stored in the DRAM 5 is input to the image processing unit 4 for each band, and the image processing unit 4 performs normal image processing (gamma correction processing, scaling processing, shading correction processing). , Smoothing / enhancement processing, CMYK conversion processing, etc.), and then sequentially output to the image forming unit 6. In this way, the multi-function machine X obtains a high show-through removal effect when it is a color document. The image quality is prioritized by adopting a show-through removal process.

以上説明したように,前記複合機Xでは,原稿がカラー原稿であるか無彩色原稿であるかによって,前記画像読取部3で読み取られた画像データに対して施す裏写り除去処理の内容が変更されることにより,カラー原稿については高い裏写り除去効果を得ることができ,無彩色原稿については,画像データの読み取り時間をカラー原稿に比べて短縮しつつ適度な裏写り除去効果を得ることができる。
なお,本実施の形態では,R,G,B色成分データに対して裏写り除去処理を施す場合を例に挙げて説明するが,例えばRGBデータをCMYデータに変換した後,そのC(シアン),M(マゼンタ),Y(イエロー)各々の画像データに対して裏写り除去処理を施してもよい。
As described above, in the multifunction machine X, the contents of the show-through removal process performed on the image data read by the image reading unit 3 are changed depending on whether the original is a color original or an achromatic original. As a result, it is possible to obtain a high show-through removal effect for color originals, and an appropriate show-through removal effect for achromatic originals while shortening the image data reading time compared to color originals. it can.
In this embodiment, a case where the show-through removal process is performed on the R, G, B color component data will be described as an example. For example, after converting RGB data into CMY data, the C (cyan ), M (magenta), and Y (yellow) image data may be subjected to show-through removal processing.

ところで,前記実施の形態で説明した画像読取処理(図2)では,原稿が無彩色原稿である場合,予め定められたガンマ補正情報に基づいてガンマ補正を行うことにより裏写りを除去することを例に挙げて説明した。
一方,前記制御部1が,無彩色原稿である場合にも,前記ステップS9において,前記制御部1が,前記ステップS4や前記ステップS5と同様の処理を実行して無彩色原稿における下地色を特定し,その下地色近傍の色がその下地色に均一化されるようにガンマ補正情報を設定することが他の実施例として考えられる。ここに,係る設定処理を実行するときの前記制御部1がガンマ補正情報設定手段に相当する。
これにより,無彩色原稿の場合の裏写り除去効果を高めて出力画像の品質を向上させることができる。もちろん,この場合でも前記ステップS6〜S8における濃度変換テーブル生成処理や濃度変換処理は省略されるため,カラー原稿に比べれば,画像データの読み取りに要する時間を短縮することができる。
By the way, in the image reading process (FIG. 2) described in the above embodiment, when the original is an achromatic original, the show-through is removed by performing gamma correction based on predetermined gamma correction information. Explained with an example.
On the other hand, even when the control unit 1 is an achromatic document, in step S9, the control unit 1 executes the same processing as in steps S4 and S5 to set the background color in the achromatic document. As another embodiment, it is possible to specify the gamma correction information so that the color near the background color is specified and the background color is made uniform. Here, the control unit 1 when executing such setting processing corresponds to gamma correction information setting means.
As a result, the effect of removing the show-through in the case of an achromatic color original can be enhanced and the quality of the output image can be improved. Of course, even in this case, the density conversion table generation process and the density conversion process in steps S6 to S8 are omitted, so that the time required for reading the image data can be shortened as compared with a color original.

1:制御部
2:操作表示部
3:画像読取部
4:画像処理部
5:DRAM
6:画像形成部
S1,S2,…:処理手順(ステップ)番号
Tr1,Tr2,Tg1,Tg2,Tb1,Tb2:濃度変換テーブル
Pr1,Pr2,Pg1,Pg2,Pb1,Pb2:変換ポイント
X:複合機(画像処理装置の一例)
1: Control unit 2: Operation display unit 3: Image reading unit 4: Image processing unit 5: DRAM
6: Image forming units S1, S2,...: Processing procedure (step) numbers Tr1, Tr2, Tg1, Tg2, Tb1, Tb2: Density conversion tables Pr1, Pr2, Pg1, Pg2, Pb1, Pb2: Conversion point X: Multifunction machine (Example of image processing device)

Claims (5)

原稿の画像を複数の色成分データを含む画像データとして読み取る画像読取手段と,前記画像読取手段によって読み取られた画像データに基づいて前記原稿がカラー原稿であるか無彩色原稿であるかを判定する自動原稿色判定手段とを備えてなる画像処理装置であって,
前記画像読取手段により読み取られた画像データについて前記複数の色成分データで表現される複数の色ごとの頻度を示す色ヒストグラムを算出し,該色ヒストグラムに基づいて所定の高頻度条件を満たす下地色を特定すると共に,該下地色の近傍の色を該下地色に略均一化させるべく前記色成分データ各々を変換するために用いられる濃度変換情報を生成し,前記画像データのうち前記下地色の近傍の色である画像データの色成分データ各々を前記濃度変換情報に基づいて変換することにより裏写りを除去する第1の裏写り除去手段と,
前記画像読取手段により読み取られた画像データに対して予め設定されたガンマ補正情報を用いて所定のガンマ補正処理を施すことにより裏写りを除去する第2の裏写り除去手段と,
前記自動原稿色判定手段による判定結果がカラー原稿である場合は前記第1の裏写り除去手段により裏写りを除去し,無彩色原稿である場合は前記第2の裏写り除去手段により裏写りを除去する裏写り除去切替手段と,
を備えてなることを特徴とする画像処理装置。
Image reading means for reading an image of an original as image data including a plurality of color component data, and determining whether the original is a color original or an achromatic original based on the image data read by the image reading means An image processing apparatus comprising automatic document color determination means,
A color histogram indicating a frequency for each of a plurality of colors represented by the plurality of color component data is calculated for the image data read by the image reading unit, and a background color satisfying a predetermined high-frequency condition based on the color histogram Density conversion information used to convert each of the color component data so as to make the color in the vicinity of the background color substantially uniform to the background color, and generating the background color of the image data First show-through removing means for removing show-through by converting each color component data of image data that is a neighboring color based on the density conversion information;
Second show-through removing means for removing show-through by performing predetermined gamma correction processing on image data read by the image reading means using preset gamma correction information;
If the determination result by the automatic document color determination means is a color document, the show-through is removed by the first show-through removal means, and if it is an achromatic document, the show-through is removed by the second show-through removal means. Show-through removal switching means to be removed;
An image processing apparatus comprising:
前記第1の裏写り除去手段が,前記画像読取手段により読み取られた画像データの色成分データ各々を所定単位ごとに平均化しつつ前記色成分データ各々の解像度を予め設定された低解像度に変換し,該変換後の色成分データ各々で表現される複数の色から前記下地色を特定するものである請求項1に記載の画像処理装置。   The first show-through removing means converts the color component data of the image data read by the image reading means to a predetermined low resolution while averaging the color component data for each predetermined unit. The image processing apparatus according to claim 1, wherein the base color is specified from a plurality of colors expressed by each of the converted color component data. 前記第1の裏写り除去手段が,前記画像読取手段により読み取られた画像データを平滑化し,該平滑化後の画像データのうち前記下地色の近傍の色である画像データの色成分データ各々を前記濃度変換情報に基づいて変換することにより裏写りを除去するものである請求項1又は2のいずれかに記載の画像処理装置。   The first show-through removal unit smoothes the image data read by the image reading unit, and each of the color component data of the image data that is a color near the background color among the smoothed image data. The image processing apparatus according to claim 1, wherein the show-through is removed by conversion based on the density conversion information. 前記第2の裏写り除去手段が,前記画像読取手段により読み取られた画像データについて前記複数の色成分データで表現される複数の色ごとの頻度を示す色ヒストグラムを算出し,該色ヒストグラムに基づいて所定の高頻度条件を満たす下地色を特定し,該下地色に応じて前記ガンマ補正情報を設定するガンマ補正情報設定手段を含んでなる請求項1〜3のいずれかに記載の画像処理装置。   The second show-through removing unit calculates a color histogram indicating the frequency for each of a plurality of colors expressed by the plurality of color component data for the image data read by the image reading unit, and based on the color histogram 4. The image processing apparatus according to claim 1, further comprising a gamma correction information setting unit that specifies a background color satisfying a predetermined high-frequency condition and sets the gamma correction information according to the background color. . 前記第1の裏写り除去手段が,前記下地色が複数特定された場合は,該下地色ごとに対応して前記濃度変換情報を生成し,前記下地色の近傍の色である前記画像データの前記色成分データ各々を該下地色に対応する前記濃度変換情報に基づいて変換するものである請求項1〜4のいずれかに記載の画像処理装置。   When a plurality of the background colors are specified, the first show-through removal unit generates the density conversion information corresponding to each background color, and the image data that is a color in the vicinity of the background color. The image processing apparatus according to claim 1, wherein each of the color component data is converted based on the density conversion information corresponding to the background color.
JP2010193477A 2010-08-31 2010-08-31 Image processing device Active JP5422520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010193477A JP5422520B2 (en) 2010-08-31 2010-08-31 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010193477A JP5422520B2 (en) 2010-08-31 2010-08-31 Image processing device

Publications (2)

Publication Number Publication Date
JP2012054642A true JP2012054642A (en) 2012-03-15
JP5422520B2 JP5422520B2 (en) 2014-02-19

Family

ID=45907548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010193477A Active JP5422520B2 (en) 2010-08-31 2010-08-31 Image processing device

Country Status (1)

Country Link
JP (1) JP5422520B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014007104A1 (en) * 2012-07-06 2014-01-09 Eizo株式会社 Image display device and gradation change method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010119006A (en) * 2008-11-14 2010-05-27 Seiko Epson Corp Image processing apparatus,and image processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010119006A (en) * 2008-11-14 2010-05-27 Seiko Epson Corp Image processing apparatus,and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014007104A1 (en) * 2012-07-06 2014-01-09 Eizo株式会社 Image display device and gradation change method
JP2014017585A (en) * 2012-07-06 2014-01-30 Eizo Corp Image display apparatus and gradation conversion method

Also Published As

Publication number Publication date
JP5422520B2 (en) 2014-02-19

Similar Documents

Publication Publication Date Title
JP4476203B2 (en) Image processing apparatus, program, and image processing method
JP5060502B2 (en) Image processing apparatus and image processing apparatus control method
JP4700721B2 (en) Image processing device
JP5021578B2 (en) Image processing apparatus and image processing method
JP5648409B2 (en) Image processing apparatus, image processing method, and program
US8294954B2 (en) Image forming apparatus and method for reducing the difference of image qualities between the image data read by a plurality of reading units
JP5422520B2 (en) Image processing device
JP5216799B2 (en) Image processing apparatus and image forming apparatus
JP5361830B2 (en) Image processing device
US11240401B2 (en) Image processing apparatus and image processing method
JP2011176463A (en) Image processor and image forming apparatus
JP5478428B2 (en) Image processing device
JP2008182633A (en) Image processing apparatus
JP2011155620A (en) Image processing apparatus and image forming apparatus
JP5322980B2 (en) Image processing apparatus and image forming apparatus
JP5619216B2 (en) Image processing apparatus and image forming apparatus
JP3658895B2 (en) Image processing apparatus, image processing method, and storage medium
JP2011160273A (en) Image processing apparatus and image forming apparatus
JP4974072B2 (en) Image processing device
JP6224419B2 (en) Image processing device
JP2005027016A (en) Image processing apparatus
JP2012034003A (en) Image processing apparatus, image forming apparatus
JP2012034012A (en) Image processing apparatus, image forming apparatus
JP2009118161A (en) Image processing device, image processing method, program thereof
JP2006295733A (en) Image processing apparatus, image forming apparatus, image processing method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131004

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131125

R150 Certificate of patent or registration of utility model

Ref document number: 5422520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150