JP2004096199A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2004096199A
JP2004096199A JP2002251417A JP2002251417A JP2004096199A JP 2004096199 A JP2004096199 A JP 2004096199A JP 2002251417 A JP2002251417 A JP 2002251417A JP 2002251417 A JP2002251417 A JP 2002251417A JP 2004096199 A JP2004096199 A JP 2004096199A
Authority
JP
Japan
Prior art keywords
image data
correction parameter
color system
processing apparatus
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002251417A
Other languages
Japanese (ja)
Inventor
Katsumi Minamino
南野 勝巳
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2002251417A priority Critical patent/JP2004096199A/en
Publication of JP2004096199A publication Critical patent/JP2004096199A/en
Pending 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 for performing lightness correction processing for obtained image data, according to the feature of a document to be obtained. <P>SOLUTION: A first color system converting section 22 converts the obtained image data of an RGB color system into image data of a Lab color system. Next, a correction parameter calculating section 18 calculates a correction parameter on the basis of an L component being lightness information in the converted image data in a Lab color system, and a lightness correcting section 30 performs lightness correction processing for an L component in the image data of a Lab color system obtained from an image memory 17. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、取得する原稿の特徴に応じて、取得した画像データに明度補正処理を行う画像処理装置に関するものである。
【0002】
【従来の技術】
カラー表示の原稿画像を読み取り、取得したカラー画像データを記録シートに記録するデジタルカラー複写機が普及しており、このような装置においては、読み取る原稿の特徴、例えば、原稿用紙自体の色の有無、又は写真等の場合、露光がアンダー若しくはオーバーである等に応じて、記録すべき画像データの明度成分を調整する必要がある。
フラットベッドスキャナを用いたデジタルカラー複写機においては、原稿画像を2回(プリスキャン及び本スキャン)読み取る構成を備える装置があり、このような装置は、プリスキャンにより読み取った画像データから、原稿の特徴を抽出する。また、デジタルカラー複写機は、本スキャンにより読み取った画像データに対して、前記原稿の特徴に基づく補正処理を行い、記録シートに記録する。これにより、記録シートに記録される画像の明るさのバランスを図ることができる。
【0003】
【発明が解決しようとする課題】
しかし、上述した原稿の特徴を抽出するためのプリスキャンは、原稿画像を忠実に再現するというデジタルカラー複写機における複写処理自体には必要がなく、このような処理に無駄な時間がかかり、処理の効率が悪い。
一方、ADF(Auto Document Feeder:原稿移動走査方式)を用いたデジタルカラー複写機においては、ユーザにより原稿トレイ上に載置された原稿が、自動的に搬送されて排出トレイに排出されるため、プリスキャン及び本スキャンの2回のスキャンを行うことは困難である。
【0004】
また、読み取られる画像データは、通常RGB(R:赤,G:緑,B:青)表色系の画像データであり、該画像データに対して明度補正を行う場合、夫々R成分,G成分,B成分夫々を補正しなければならず、適切に各成分を補正することは非常に困難であるという問題もあった。
【0005】
本発明は斯かる事情に鑑みてなされたものであり、明度情報を含む表色系の画像データにおいて、該明度情報に基づき、前記画像データを補正すべき補正パラメータを算出し、算出された補正パラメータに基づき前記画像データを補正する構成を備えることにより、明度情報のみに基づく補正パラメータを容易に算出することができ、この補正パラメータに基づき、容易に明度情報に関する補正処理を行う画像処理装置を提供することを目的とする。
【0006】
本発明の他の目的は、明度情報を含む表色系の画像データにおける明度情報が示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データにおける明度レベルのバランスを適切に調整する補正パラメータを容易に算出する画像処理装置を提供することにある。
【0007】
本発明の更に他の目的は、画像データは、複数画素を夫々特定すべく、各画素に対応した明度情報を有しており、この各画素に対応した明度情報が夫々示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データの各画素における明度レベルのバランスを適切に調整する補正パラメータを容易に算出し、また、画像データを取得すべく、各画素における明度情報を含む画像データを取得して記憶部に保管する保管処理と、前記補正パラメータの算出処理とを並列に実行することが可能な画像処理装置を提供することができる。
【0008】
【課題を解決するための手段】
第1発明に係る画像処理装置は、取得した画像データを、所定の補正パラメータに基づき補正する画像処理装置において、前記画像データは、明度情報を含む表色系の画像データであり、該画像データにおける明度情報に基づき前記補正パラメータを算出する算出手段と、該算出手段が算出した補正パラメータに基づき、前記画像データを補正する補正手段とを備えることを特徴とする。
【0009】
第1発明による場合は、明度情報を含む表色系の画像データにおいて、該明度情報に基づき、前記画像データを補正すべき補正パラメータを算出し、算出された補正パラメータに基づき前記画像データを補正する構成を備えることにより、明度情報のみに基づく補正パラメータを容易に算出することができ、この補正パラメータに基づき、容易に明度情報に関する補正処理を行う画像処理装置を実現することができる。
【0010】
第2発明に係る画像処理装置は、第1発明に係る画像処理装置において、前記算出手段は、前記画像データにおける明度情報が示す明度レベルに基づき前記補正パラメータを算出すべくなしてあることを特徴とする。
【0011】
第2発明による場合は、明度情報を含む表色系の画像データにおける明度情報が示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データにおける明度レベルのバランスを適切に調整する補正パラメータを容易に算出する画像処理装置を実現することができる。
【0012】
第3発明に係る画像処理装置は、第1又は第2発明に係る画像処理装置において、前記画像データは、複数画素を特定すべく、各画素に対応した明度情報を有しており、前記算出手段は、前記画像データが有する各画素に対応した明度情報夫々が示す明度レベルに基づき、前記補正パラメータを算出すべくなしてあることを特徴とする。
【0013】
第3発明による場合は、画像データは、複数画素を夫々特定すべく、各画素に対応した明度情報を有しており、この各画素に対応した明度情報が夫々示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データの各画素における明度レベルのバランスを適切に調整する補正パラメータを容易に算出し、また画像データを取得すべく、各画素における明度情報を含む画像データを取得して記憶部に保管する保管処理と、前記補正パラメータの算出処理とを並列に実行することが可能な画像処理装置を実現することができる。
【0014】
【発明の実施の形態】
以下に、本発明に係る画像処理装置を、該画像処理装置を備えるデジタルカラー複写機における実施の形態に基づいて詳述する。図1は本発明に係る画像処理装置を備えるデジタルカラー複写機の構成を示すブロック図であり、図中1はデジタルカラー複写機を示している。
このデジタルカラー複写機1は、制御部10,ROM11,RAM12,読取機構制御部13,CCD14,表示部15,操作部16,画像メモリ17,補正パラメータ算出部(算出手段)18,記録部19,第1画像処理装置2,及び第2画像処理装置3等を備えている。
制御部10は、具体的にはCPU(Central Processing Unit) 等で構成され、バスを介してデジタルカラー複写機1の上述したようなハードウェア各部と接続されており、それらを制御すると共に、ROM11に格納されたコンピュータプログラムに従って、種々のソフトウェア的機能を実行する。
【0015】
ROM11は、デジタルカラー複写機1の動作に必要な種々のコンピュータプログラム,第1画像処理装置2において行う表色系変換処理に用いられる変換処理プログラム11a,第2画像処理装置3において行う表色系変換処理に用いられる変換テーブル11b,及び補正パラメータ算出部18において行う補正パラメータの算出処理に用いられる明度テーブル11cを記憶している。
RAM12は、SRAM又はフラッシュメモリ等で構成され、制御部10による各プログラムの実行時に発生するデータを一時的に記憶する。尚、RAM12にフラッシュメモリを使用した場合には、停電,デジタルカラー複写機1の移動等のために電源が遮断された場合であっても、記憶内容が失われることはない。
【0016】
表示部15は、液晶ディスプレイ(LCD)等の表示装置であり、デジタルカラー複写機1の動作状況、出力すべき画像データの表示等を行う。
操作部16は、デジタルカラー複写機1を操作するために必要な各種のファンクションキー,ユーザの押下により複写処理の実行を指示するスタートキー16aを備えている。尚、表示部15をタッチパネル方式のものとすることにより、操作部16の各種のキーのうちの一部又は全部を代用することも可能である。
記録部19は、電子写真方式のプリンタ装置であって、出力すべき画像データを、ハードコピーとしてA3縦,B4縦,A4縦,B5横及びA5横等の各サイズの記録紙又はOHP(Over Head Projector) シートから最適なサイズのものを選択して記録する。
【0017】
CCD(Charge Coupled Device) 14は、画像取得手段として動作し、原稿からの反射光像を、RGBにより表現される表色系のアナログ信号として読み取り、読み取ったアナログ信号による画像データを第1画像処理装置2に入力する。読取機構制御部13は、CCD14により読み取られる原稿を搬送する搬送機構の動作等を制御する。
【0018】
図2は第1画像処理装置2及び第2画像処理装置3の構成を示すブロック図であり、第1画像処理装置2は、AFE(Analog Front End:アナログ・フロント・エンド)20,シェーディング補正部21,第1表色系変換部22等を備えている。
AFE20は、増幅回路(図示せず),サンプルホールド回路(図示せず),A/D(アナログ/デジタル)変換器(図示せず)等を備え、CCD14により読み取られたRGB表色系におけるR成分,G成分及びB成分夫々を示すアナログ信号を、増幅回路により所定の大きさに増幅し、この増幅されたアナログ信号を、サンプルホールド回路により一定のタイミング毎にサンプルホールドし、この各値をA/D変換器によりデジタル信号に変換する。尚、本実施の形態においては、A/D変換器は、8ビットのデジタル信号を出力しており、AFE20から出力される画像データは、各画素のR成分,G成分及びB成分夫々を、8ビットのデータで表した多値の画像データである。
【0019】
上述のようにAFE20から出力されたRGB表色系のデジタル信号である画像データは、シェーディング補正部21に入力される。
シェーディング補正部21は、入力されたRGB表色系の画像データに対して、CCD14の照明系,結像系及び撮像系で生じた各種の歪みを取り除く補正処理を行い、補正されたRGB表色系の画像データを第1表色系変換部22に入力する。
【0020】
第1表色系変換部22は、制御部10が、ROM11からRAM12に読み出した変換処理プログラム11aを実行することにより、演算のためのパラメータが設定され、取得したRGB表色系の画像データを、明度成分の補正処理において扱い易い、例えばL*a*b*(L*:明度情報,a*:赤〜緑の色情報,b*:黄〜青の色情報)表色系(以下、Lab表色系という)の画像データに変換する。
尚、第1表色系変換部22では、RGB表色系の画像データを行列演算によりxyz表色系の画像データに変換し、さらにxyz表色系の画像データを立方根演算によりLab表色系の画像データに変換する。また、このLab表色系の画像データにおいても、各画素のL成分,a成分及びb成分夫々は、8ビットのデータで表されている。
【0021】
上述のように第1表色系変換部22により変換されたLab表色系の画像データは、順次画像メモリ17に記憶されるとともに、この画像データにおける明度情報であるL成分は補正パラメータ算出部18に入力される。
画像メモリ17は、DRAM等により構成されており、第1画像処理装置2から取得した画像データを記憶しており、第1表色系変換部22により全ての画像データが変換され、補正パラメータ算出部18により補正パラメータが算出された場合、制御部10からの制御に基づき、前記画像データを第2画像処理装置3に入力する。
【0022】
補正パラメータ算出部18は、第1表色系変換部22から入力されたLab表色系の画像データにおけるL成分に基づき、明度補正部30が行う補正処理に用いる補正パラメータを算出し、第2画像処理装置3に入力する。
図3及び図4は補正パラメータの算出処理を説明するための図であり、補正パラメータ算出部18は、制御部10からの制御に基づき、第1表色系変換部22から取得したLab表色系の画像データにおけるL成分について、各画素に夫々対応したL成分が示す明度レベルを順次検出する。
【0023】
本実施の形態においては、L成分を8ビットのデータで特定しており、各L成分は、0から255までの値を取りうる。尚、このL成分が示す明度レベルの検出処理は、画像データが有する全ての画素に対して行ってもよく、所定の基準により抽出した画素に対して行ってもよい。
また、夫々検出したL成分が示す明度レベルを、0から63までの第1区分,64から127までの第2区分,128から191までの第3区分,及び192以上の第4区分に分割し、補正パラメータ算出部18は、夫々検出した明度レベルを4区分のいずれかに区分する。
【0024】
補正パラメータ算出部18は、各区分において、夫々区分された画素数を計数し、図3(a)に示すようなヒストグラムを生成する。更に、補正パラメータ算出部18は、各区分において計数された画素数について、多い順番に順位を付け、例えば図3(a)においては、第4区分,第3区分,第2区分,第1区分の順に1,2,3,4番を割り当てる。
このように各区分に順位が割り当てられた場合、補正パラメータ算出部18は、ROM11に記憶してあり、制御部10の制御によりRAM12に読み出された明度テーブル11cに基づき、対応する明度レベルLb ,Lt を抽出する。図3(b)は明度テーブル11cを示しており、上述の各区分における順位に、明度レベルLb 及びLt を対応させたものであり、各第1,第2,第3,第4区分が夫々4,3,2,1番である場合には、明度レベルLb として128が、明度レベルLt として255が抽出される。
【0025】
次に補正パラメータ算出部18は、上述のように抽出した明度レベルLb ,Lt を、以下の(1)式に代入することにより、図4に示すような関数を算出し、制御部10の制御により、算出した関数を第2画像処理装置3に入力する。
尚、以下の(2)式を用いることも可能であり、この場合、定数k,lを任意に変更させることにより、色調の分布を調整することもできる。
【0026】
【数1】

Figure 2004096199
【0027】
第2画像処理装置3は、明度補正部(補正手段)30,第2表色系変換部31等を備えており、画像メモリ17から取得したLab表色系の画像データにおけるL成分を明度補正部30に、a成分及びb成分を第2表色系変換部31に入力し、また、補正パラメータ算出部18により算出された関数を明度補正部30に入力している。
明度補正部30は、画像メモリ17から取得した画像データにおける明度情報であるL成分に対して、補正パラメータ算出部18から取得した関数に基づく補正処理を行い、補正されたL成分を順次第2表色系変換部31に入力する。
【0028】
第2表色系変換部31は、デジタルカラー複写機1において、ROM11に記憶してあり、制御部10の制御によりRAM12に読み出された変換テーブル11bに基づき、画像メモリ17から取得したa成分及びb成分と、明度補正部30から取得したL成分とによるLab表色系の画像データを、例えばCMYK(C:シアン,M:マゼンタ,Y:イエロー,K:ブラック)表色系の画像データに変換する。
また第2表色系変換部31は、制御部10からの制御により、上述のように生成したCMYK表色系の画像データを、記録部19に与え、記録部19は、取得したCMYK表色系の画像データに基づき、記録シートに画像を形成する。
【0029】
上述したように、取得したRGB表色系の画像データを、例えばCMYK表色系の画像データに変換して記録シートに記録する場合に、RGB表色系の画像データを、一旦、明度情報を有するLab表色系の画像データに変換し、このLab表色系の画像データにおいて、明度情報に基づく補正処理を行うことにより、CCD14が読み取った原稿の特徴により発生する、取得した画像データにおける明度成分のバランスを適切に調整する補正処理を容易に行うことができる。また、画像データを画像メモリ17に記憶させる保管処理と、補正パラメータの算出処理とを並列に実行することができ、無駄な時間がなく、効率よく各処理を実行することができる。
【0030】
上述した実施の形態では、補正パラメータ算出部18において、各画素に対応するL成分が夫々示す明度レベルを、第1区分,第2区分,第3区分,及び第4区分の4区分に分割しており、夫々8ビットのデータであるL成分において、上位2ビットのみを検出することにより各区分に区分する構成を備え、処理の効率化を図っているが、各区分が取りうる明度レベルの範囲を狭くし、多くの区分数に分割し、各画素に対応する明度情報が示す明度レベルを、各区分に区分する構成としてもよく、この場合、より精度の良い補正パラメータを算出することができる。
【0031】
【発明の効果】
第1発明による場合は、明度情報を含む表色系の画像データにおいて、該明度情報に基づき、前記画像データを補正すべき補正パラメータを算出し、算出された補正パラメータに基づき前記画像データを補正する構成を備えることにより、明度情報のみに基づく補正パラメータを容易に算出することができ、この補正パラメータに基づき、容易に明度情報に関する補正処理を行うことができる。
【0032】
第2発明による場合は、明度情報を含む表色系の画像データにおける明度情報が示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データにおける明度レベルのバランスを適切に調整する補正パラメータを容易に算出することができる。
【0033】
第3発明による場合は、画像データは、複数画素を夫々特定すべく、各画素に対応した明度情報を有しており、この各画素に対応した明度情報が夫々示す明度レベルに基づき補正パラメータを算出する構成を備えることにより、取得した画像データの各画素における明度レベルのバランスを適切に調整する補正パラメータを容易に算出し、また、画像データを取得すべく、各画素における明度情報を含む画像データを取得して記憶部に保管する保管処理と、前記補正パラメータの算出処理とを並列に実行することができる。
【図面の簡単な説明】
【図1】本発明に係る画像処理装置を備えるデジタルカラー複写機の構成を示すブロック図である。
【図2】第1画像処理装置及び第2画像処理装置の構成を示すブロック図である。
【図3】補正パラメータの算出処理を説明するための図である。
【図4】補正パラメータの算出処理を説明するための図である。
【符号の説明】
1 デジタルカラー複写機
2 第1画像処理装置
18 補正パラメータ算出部(算出手段)
3 第2画像処理装置
30 明度補正部(補正手段)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus that performs brightness correction processing on acquired image data according to the characteristics of a document to be acquired.
[0002]
[Prior art]
2. Description of the Related Art Digital color copiers that read a document image of a color display and record the obtained color image data on a recording sheet have become widespread. In the case of a photograph or the like, it is necessary to adjust the brightness component of the image data to be recorded according to whether the exposure is under or over.
2. Description of the Related Art In a digital color copying machine using a flatbed scanner, there is a device having a configuration in which a document image is read twice (pre-scan and main scan). Extract features. Further, the digital color copying machine performs a correction process on the image data read by the main scan based on the characteristics of the original, and records the image data on a recording sheet. This makes it possible to balance the brightness of the image recorded on the recording sheet.
[0003]
[Problems to be solved by the invention]
However, the above-described pre-scan for extracting the characteristics of the original is not necessary for the copying process itself in a digital color copying machine for faithfully reproducing the original image, and such processing takes time and is wasteful. Is inefficient.
On the other hand, in a digital color copying machine using an ADF (Auto Document Feeder: document moving scanning method), a document placed on a document tray by a user is automatically conveyed and discharged to a discharge tray. It is difficult to perform two scans, a pre-scan and a main scan.
[0004]
The image data to be read is usually RGB (R: red, G: green, B: blue) color system image data. When brightness correction is performed on the image data, the R component and the G component are respectively used. , B components must be corrected, and it is very difficult to properly correct each component.
[0005]
The present invention has been made in view of such circumstances, and in colorimetric image data including brightness information, based on the brightness information, calculates a correction parameter for correcting the image data, and calculates the calculated correction parameter. By providing a configuration for correcting the image data based on the parameters, a correction parameter based on only the brightness information can be easily calculated, and an image processing apparatus that easily performs a correction process on the brightness information based on the correction parameter is provided. The purpose is to provide.
[0006]
Another object of the present invention is to provide a configuration in which a correction parameter is calculated based on a lightness level indicated by lightness information in colorimetric image data including lightness information, so that the balance of lightness levels in acquired image data can be appropriately adjusted. An object of the present invention is to provide an image processing apparatus that easily calculates a correction parameter to be adjusted.
[0007]
Still another object of the present invention is that the image data has brightness information corresponding to each pixel in order to specify a plurality of pixels, and the image data is corrected based on the brightness level indicated by the brightness information corresponding to each pixel. By providing a configuration for calculating the parameters, it is easy to calculate a correction parameter for appropriately adjusting the balance of the brightness level in each pixel of the acquired image data, and to obtain the image data, the brightness information in each pixel is obtained. It is possible to provide an image processing apparatus capable of executing, in parallel, a storage process of acquiring image data including the image data and storing the image data in a storage unit, and a calculation process of the correction parameter.
[0008]
[Means for Solving the Problems]
An image processing apparatus according to a first aspect of the present invention is an image processing apparatus that corrects acquired image data based on a predetermined correction parameter, wherein the image data is color system image data including brightness information. And a correction unit for correcting the image data based on the correction parameter calculated by the calculation unit.
[0009]
According to the first aspect, in the color system image data including the brightness information, a correction parameter for correcting the image data is calculated based on the brightness information, and the image data is corrected based on the calculated correction parameter. With this configuration, it is possible to easily calculate a correction parameter based on only the brightness information, and to realize an image processing apparatus that easily performs a correction process on the brightness information based on the correction parameter.
[0010]
An image processing apparatus according to a second aspect of the present invention is the image processing apparatus according to the first aspect, wherein the calculating unit is configured to calculate the correction parameter based on a brightness level indicated by brightness information in the image data. And
[0011]
In the case of the second aspect, by providing a configuration in which the correction parameter is calculated based on the brightness level indicated by the brightness information in the color system image data including the brightness information, the balance of the brightness level in the acquired image data is appropriately adjusted. It is possible to realize an image processing apparatus that easily calculates a correction parameter to be performed.
[0012]
An image processing apparatus according to a third aspect of the present invention is the image processing apparatus according to the first or second aspect, wherein the image data has brightness information corresponding to each pixel in order to specify a plurality of pixels. The means is adapted to calculate the correction parameter based on a brightness level indicated by brightness information corresponding to each pixel included in the image data.
[0013]
According to the third aspect, the image data has brightness information corresponding to each pixel in order to specify each of the plurality of pixels, and the correction parameter is set based on the brightness level indicated by the brightness information corresponding to each pixel. By providing a configuration for calculating, it is easy to calculate a correction parameter for appropriately adjusting the balance of the brightness level in each pixel of the acquired image data, and to obtain image data, the image data including the brightness information in each pixel. And an image processing apparatus capable of executing in parallel a storage process of acquiring and storing in a storage unit and a process of calculating the correction parameter.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image processing apparatus according to the present invention will be described in detail based on an embodiment of a digital color copying machine including the image processing apparatus. FIG. 1 is a block diagram showing a configuration of a digital color copying machine having an image processing apparatus according to the present invention, wherein 1 shows a digital color copying machine.
The digital color copying machine 1 includes a control unit 10, a ROM 11, a RAM 12, a reading mechanism control unit 13, a CCD 14, a display unit 15, an operation unit 16, an image memory 17, a correction parameter calculation unit (calculation unit) 18, a recording unit 19, A first image processing device 2 and a second image processing device 3 are provided.
The control unit 10 is specifically composed of a CPU (Central Processing Unit) and the like, is connected to the above-described hardware units of the digital color copying machine 1 via a bus, controls them, and controls the ROM 11 Executes various software functions according to the computer program stored in the.
[0015]
The ROM 11 stores various computer programs necessary for the operation of the digital color copying machine 1, a conversion processing program 11 a used for color system conversion processing performed in the first image processing apparatus 2, and a color system performed in the second image processing apparatus 3. It stores a conversion table 11b used for conversion processing and a brightness table 11c used for correction parameter calculation processing performed by the correction parameter calculation unit 18.
The RAM 12 is configured by an SRAM, a flash memory, or the like, and temporarily stores data generated when the control unit 10 executes each program. If a flash memory is used as the RAM 12, the stored contents will not be lost even if the power is cut off due to a power failure, movement of the digital color copier 1, or the like.
[0016]
The display unit 15 is a display device such as a liquid crystal display (LCD), and displays an operation state of the digital color copying machine 1, image data to be output, and the like.
The operation unit 16 includes various function keys necessary for operating the digital color copying machine 1 and a start key 16a for instructing execution of a copying process when pressed by a user. By using the touch panel type display unit 15, it is possible to substitute some or all of the various keys of the operation unit 16.
The recording unit 19 is an electrophotographic printer device, and records image data to be output as a hard copy on recording paper of each size such as A3 portrait, B4 portrait, A4 portrait, B5 landscape, A5 landscape, or OHP (Over). Head Projector) A sheet having an optimum size is selected from the sheets and recorded.
[0017]
A CCD (Charge Coupled Device) 14 operates as an image acquisition unit, reads a reflected light image from a document as an analog signal of a color system represented by RGB, and performs first image processing on the image data based on the read analog signal. Input to the device 2. The reading mechanism control unit 13 controls an operation of a transport mechanism that transports a document read by the CCD 14 and the like.
[0018]
FIG. 2 is a block diagram illustrating a configuration of the first image processing device 2 and the second image processing device 3. The first image processing device 2 includes an AFE (Analog Front End) 20 and a shading correction unit. 21 and a first color system conversion unit 22.
The AFE 20 includes an amplifying circuit (not shown), a sample and hold circuit (not shown), an A / D (analog / digital) converter (not shown), and the like. The analog signal representing each of the component, the G component, and the B component is amplified to a predetermined magnitude by an amplifier circuit, and the amplified analog signal is sampled and held at a certain timing by a sample and hold circuit. The signal is converted into a digital signal by an A / D converter. Note that, in the present embodiment, the A / D converter outputs an 8-bit digital signal, and the image data output from the AFE 20 includes the R component, the G component, and the B component of each pixel. This is multi-valued image data represented by 8-bit data.
[0019]
Image data, which is a digital signal of the RGB color system output from the AFE 20 as described above, is input to the shading correction unit 21.
The shading correction unit 21 performs a correction process for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the CCD 14 on the input RGB color system image data, and the corrected RGB color system System image data is input to the first color system conversion unit 22.
[0020]
When the control unit 10 executes the conversion processing program 11 a read from the ROM 11 to the RAM 12, the first color system conversion unit 22 sets parameters for calculation and converts the acquired RGB color system image data. For example, L * a * b * (L *: lightness information, a *: red-green color information, b *: yellow-blue color information) that is easy to handle in the lightness component correction processing (Referred to as Lab color system).
The first color system conversion unit 22 converts the image data of the RGB color system into image data of the xyz color system by a matrix operation, and further converts the image data of the xyz color system by a cubic root operation. To image data. Also in the Lab color system image data, each of the L component, the a component, and the b component of each pixel is represented by 8-bit data.
[0021]
The Lab color system image data converted by the first color system conversion unit 22 as described above is sequentially stored in the image memory 17, and the L component, which is the brightness information in the image data, is corrected by the correction parameter calculation unit. 18 is input.
The image memory 17 is composed of a DRAM or the like, stores image data obtained from the first image processing apparatus 2, converts all image data by the first color system conversion unit 22, and calculates correction parameters. When the correction parameter is calculated by the unit 18, the image data is input to the second image processing device 3 under the control of the control unit 10.
[0022]
The correction parameter calculation unit 18 calculates a correction parameter used for the correction processing performed by the brightness correction unit 30 based on the L component in the Lab color system image data input from the first color system conversion unit 22, Input to the image processing device 3.
FIGS. 3 and 4 are diagrams for explaining the correction parameter calculation process. The correction parameter calculation unit 18 obtains the Lab color information acquired from the first color system conversion unit 22 based on the control from the control unit 10. With respect to the L component in the system image data, the brightness level indicated by the L component corresponding to each pixel is sequentially detected.
[0023]
In the present embodiment, the L component is specified by 8-bit data, and each L component can take a value from 0 to 255. The process of detecting the lightness level indicated by the L component may be performed on all the pixels included in the image data, or may be performed on the pixels extracted based on a predetermined reference.
Further, the brightness level indicated by the detected L component is divided into a first section from 0 to 63, a second section from 64 to 127, a third section from 128 to 191 and a fourth section from 192 or more. The correction parameter calculation unit 18 classifies each of the detected lightness levels into one of four categories.
[0024]
The correction parameter calculator 18 counts the number of pixels in each section and generates a histogram as shown in FIG. Further, the correction parameter calculating unit 18 ranks the number of pixels counted in each section in descending order. For example, in FIG. 3A, the fourth section, the third section, the second section, and the first section Are assigned in the order of 1, 2, 3, and 4.
When the rank is assigned to each section as described above, the correction parameter calculating unit 18 stores the corresponding brightness level L based on the brightness table 11c stored in the ROM 11 and read into the RAM 12 under the control of the control unit 10. b and Lt are extracted. FIG. 3 (b) shows the brightness table 11c, the rank of each segment described above, are made to correspond to the brightness level L b and L t, each first, second, third, fourth segment There when a number each 4,3,2,1, the brightness level L b as 128, 255 is extracted as the brightness level L t.
[0025]
Next, the correction parameter calculation unit 18 calculates a function as shown in FIG. 4 by substituting the lightness levels L b and L t extracted as described above into the following equation (1), and The calculated function is input to the second image processing apparatus 3 under the control of.
It is also possible to use the following equation (2). In this case, the color tone distribution can be adjusted by arbitrarily changing the constants k and l.
[0026]
(Equation 1)
Figure 2004096199
[0027]
The second image processing device 3 includes a brightness correction unit (correction unit) 30, a second color system conversion unit 31, and the like, and corrects the L component in the Lab color system image data acquired from the image memory 17 by brightness. The component a and the component b are input to the second color system conversion unit 31, and the function calculated by the correction parameter calculation unit 18 is input to the brightness correction unit 30.
The brightness correction unit 30 performs a correction process based on the function obtained from the correction parameter calculation unit 18 on the L component that is the brightness information in the image data obtained from the image memory 17, and sequentially corrects the corrected L component to the second component. It is input to the color system conversion unit 31.
[0028]
In the digital color copying machine 1, the second color system conversion unit 31 stores the a component, which is stored in the ROM 11 and obtained from the image memory 17 based on the conversion table 11b read into the RAM 12 under the control of the control unit 10. For example, the image data of the Lab color system based on the B component and the L component acquired from the lightness correction unit 30 is converted into image data of the CMYK (C: cyan, M: magenta, Y: yellow, K: black) color system. Convert to
The second color system conversion unit 31 supplies the image data of the CMYK color system generated as described above to the recording unit 19 under the control of the control unit 10, and the recording unit 19 transmits the acquired CMYK color system An image is formed on a recording sheet based on system image data.
[0029]
As described above, when the acquired RGB color system image data is converted into, for example, CMYK color system image data and is recorded on a recording sheet, the RGB color system image data is once converted into brightness information. Is converted into image data of a Lab color system, and a correction process based on the brightness information is performed on the image data of the Lab color system. Correction processing for appropriately adjusting the balance of components can be easily performed. Further, the storage processing for storing the image data in the image memory 17 and the correction parameter calculation processing can be executed in parallel, and each processing can be executed efficiently without wasted time.
[0030]
In the above-described embodiment, the correction parameter calculation unit 18 divides the brightness level indicated by the L component corresponding to each pixel into four sections of a first section, a second section, a third section, and a fourth section. The L component, which is 8-bit data, is configured to be divided into each section by detecting only the upper two bits, thereby improving the processing efficiency. The range may be narrowed, divided into a number of sections, and the brightness level indicated by the brightness information corresponding to each pixel may be divided into sections.In this case, a more accurate correction parameter may be calculated. it can.
[0031]
【The invention's effect】
According to the first aspect, in the colorimetric image data including the brightness information, a correction parameter for correcting the image data is calculated based on the brightness information, and the image data is corrected based on the calculated correction parameter. With this configuration, it is possible to easily calculate a correction parameter based on only the brightness information, and to easily perform a correction process on the brightness information based on the correction parameter.
[0032]
In the case of the second aspect, by providing a configuration in which the correction parameter is calculated based on the brightness level indicated by the brightness information in the color system image data including the brightness information, the balance of the brightness level in the acquired image data is appropriately adjusted. Correction parameters to be calculated can be easily calculated.
[0033]
According to the third aspect, the image data has brightness information corresponding to each pixel in order to specify each of the plurality of pixels, and the correction parameter is set based on the brightness level indicated by the brightness information corresponding to each pixel. By providing a configuration for calculating, it is possible to easily calculate a correction parameter for appropriately adjusting the balance of the brightness level in each pixel of the acquired image data, and to obtain image data, an image including brightness information in each pixel. The storage process of acquiring data and storing it in the storage unit and the calculation process of the correction parameter can be executed in parallel.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a digital color copier including an image processing apparatus according to the present invention.
FIG. 2 is a block diagram illustrating a configuration of a first image processing device and a second image processing device.
FIG. 3 is a diagram for explaining a calculation process of a correction parameter.
FIG. 4 is a diagram for explaining a calculation process of a correction parameter.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Digital color copier 2 1st image processing apparatus 18 Correction parameter calculation part (calculation means)
3 Second image processing device 30 Lightness correction unit (correction unit)

Claims (3)

取得した画像データを、所定の補正パラメータに基づき補正する画像処理装置において、前記画像データは、明度情報を含む表色系の画像データであり、該画像データにおける明度情報に基づき前記補正パラメータを算出する算出手段と、該算出手段が算出した補正パラメータに基づき、前記画像データを補正する補正手段とを備えることを特徴とする画像処理装置。In an image processing apparatus for correcting acquired image data based on a predetermined correction parameter, the image data is colorimetric image data including brightness information, and the correction parameter is calculated based on brightness information in the image data. An image processing apparatus comprising: a calculating unit that calculates the image data based on a correction parameter calculated by the calculating unit. 前記算出手段は、前記画像データにおける明度情報が示す明度レベルに基づき前記補正パラメータを算出すべくなしてあることを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the calculation unit is configured to calculate the correction parameter based on a brightness level indicated by brightness information in the image data. 前記画像データは、複数画素を特定すべく、各画素に対応した明度情報を有しており、前記算出手段は、前記画像データが有する各画素に対応した明度情報夫々が示す明度レベルに基づき、前記補正パラメータを算出すべくなしてあることを特徴とする請求項1又は2に記載の画像処理装置。The image data has lightness information corresponding to each pixel in order to specify a plurality of pixels, and the calculation unit is based on the lightness level indicated by each of the lightness information corresponding to each pixel included in the image data, The image processing apparatus according to claim 1, wherein the correction parameter is calculated.
JP2002251417A 2002-08-29 2002-08-29 Image processing apparatus Pending JP2004096199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002251417A JP2004096199A (en) 2002-08-29 2002-08-29 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002251417A JP2004096199A (en) 2002-08-29 2002-08-29 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2004096199A true JP2004096199A (en) 2004-03-25

Family

ID=32058003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002251417A Pending JP2004096199A (en) 2002-08-29 2002-08-29 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2004096199A (en)

Similar Documents

Publication Publication Date Title
JP2004048114A (en) Image processing apparatus and method thereof
EP2439922B1 (en) Image processing apparatus, method for processing image, and program therefor
JP2010135970A (en) Image scanning device and calibration method thereof
JP2011097478A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2009159123A (en) Image processing device and image reading device
JP3923293B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2011150026A (en) Image processor, image processing method, and program
JP4814162B2 (en) Image processing apparatus and image processing method
JP3884890B2 (en) Image processing apparatus and method
JP2004096199A (en) Image processing apparatus
JP5533280B2 (en) Image reading device
JP5216799B2 (en) Image processing apparatus and image forming apparatus
JP2006011754A (en) Image processing device and image processing method
JP2002059626A (en) Imaging apparatus
JP2004112140A (en) Image processing apparatus
JP2004128882A (en) Image input/output apparatus, and method therefor
JP2004088494A (en) Image forming apparatus
JP2008236045A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JP5245883B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP4990340B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP3810619B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP4039176B2 (en) Color image processing device
JP2006067233A (en) Device and method for processing picture, picture processing program, copier, copying method and copying program
JP3810620B2 (en) Image processing method, image processing system, and image forming apparatus including the same
JP3976494B2 (en) Image reading apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070529