JP2005130207A - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- JP2005130207A JP2005130207A JP2003363721A JP2003363721A JP2005130207A JP 2005130207 A JP2005130207 A JP 2005130207A JP 2003363721 A JP2003363721 A JP 2003363721A JP 2003363721 A JP2003363721 A JP 2003363721A JP 2005130207 A JP2005130207 A JP 2005130207A
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- value
- reflected light
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、基準部材からの反射光に基づく基準データが有する色成分の夫々のデータ値を調整する調整処理を行なう画像処理装置に関するものである。 The present invention relates to an image processing apparatus that performs an adjustment process for adjusting each data value of color components included in reference data based on reflected light from a reference member.
近年、ファクシミリ装置にプリンタ機能を搭載した複合機が普及しており、このような装置において、プリンタ機能の拡張に伴い、カラー複写機能及びカラーファクシミリ通信機能等も搭載されつつある。このような装置は、モノクロ及びカラーの原稿画像を読み取り、画像データを取得する画像読取装置を備えている。画像読取装置は、載置ガラス等の原稿載置台上に載置された原稿に光を照射する光源、原稿からの反射光の光路を変更するミラー、前記光源及びミラーを移動させる移動機構、光電変換素子を主走査方向に多数並べ、結像レンズを通してミラーからの光が入射されるCCD(Charge Coupled Device )ラインセンサ等を備えている。このような構成の画像読取装置は、光源等を搭載したキャリッジを前記原稿載置台に沿って、副走査方向に移動させながら、主走査方向を長手方向とするCCDラインセンサ(主走査方向と平行に配置されたCCDラインセンサ)により1ラインずつ原稿画像の読み取りを行なっている。 In recent years, multifunction peripherals equipped with a printer function in a facsimile apparatus have become widespread. In such an apparatus, a color copying function, a color facsimile communication function, and the like are being installed along with the expansion of the printer function. Such an apparatus includes an image reading apparatus that reads monochrome and color document images and acquires image data. An image reading apparatus includes: a light source that irradiates light on a document placed on a document placing table such as a placement glass; a mirror that changes an optical path of reflected light from the document; a moving mechanism that moves the light source and the mirror; A number of conversion elements are arranged in the main scanning direction, and a CCD (Charge Coupled Device) line sensor or the like on which light from a mirror is incident through an imaging lens is provided. The image reading apparatus having such a configuration is a CCD line sensor (parallel to the main scanning direction) having the main scanning direction as the longitudinal direction while moving the carriage on which the light source and the like are mounted in the sub scanning direction along the document table. The original image is read line by line by a CCD line sensor).
尚、カラー画像読取装置は、上述したCCDラインセンサを3つ備えており、R(赤)成分用のCCDラインセンサ、G(緑)成分用のCCDラインセンサ及びB(青)成分用のCCDラインセンサの夫々にて読み取ったR成分、G成分及びB成分の画像データに基づいてカラー画像データを生成する。このようなカラー画像読取装置は、3つのCCDラインセンサの夫々から出力される出力値にばらつきが生じた場合、生成したカラー画像データのホワイトバランスが崩れてしまうため、3つのCCDラインセンサの夫々から出力される出力値の大きさを調整するホワイトバランス調整処理を実行するように構成されている(例えば、特許文献1参照)。 The color image reading apparatus includes the above-described three CCD line sensors. The CCD line sensor for the R (red) component, the CCD line sensor for the G (green) component, and the CCD for the B (blue) component. Color image data is generated based on image data of the R component, G component, and B component read by each of the line sensors. In such a color image reading apparatus, when the output value output from each of the three CCD line sensors varies, the white balance of the generated color image data is lost. Is configured to execute a white balance adjustment process for adjusting the magnitude of the output value output from (see, for example, Patent Document 1).
上述したカラー画像読取装置では、ホワイトバランス調整処理として、例えば、CCDラインセンサから夫々出力される各色成分のアナログ信号のオフセット電圧を調整する処理を行なっている。しかし、アナログ信号のオフセット電圧は、周囲の温度変化、及びCCDラインセンサ自体の温度変化等によって変動する。従って、これらの温度変化の影響を最小限に止めるために、カラー画像読取装置は、原稿の読取処理を開始する直前にホワイトバランス調整処理を実行することが望ましい。
しかし、ホワイトバランス調整処理においては、夫々のCCDラインセンサから出力されるアナログ信号のオフセット電圧を、適切なオフセット電圧となるまで、夫々適宜の大きさを1単位として増減させるため、適切に調整するまでにある程度の時間が必要である。従って、原稿の読取処理を開始する直前にホワイトバランス調整処理を実行した場合には、読取処理を開始するまでに時間がかかり、読取処理の開始時間が遅くなるという問題がある。 However, in the white balance adjustment processing, the offset voltage of the analog signal output from each CCD line sensor is increased or decreased by an appropriate amount as one unit until the offset voltage becomes an appropriate offset voltage. A certain amount of time is required until. Therefore, when the white balance adjustment process is executed immediately before starting the document reading process, it takes time to start the reading process, and there is a problem that the start time of the reading process is delayed.
本発明は斯かる事情に鑑みてなされたものであり、基準部材からの反射光に基づく基準データが有する夫々の色成分のデータ値を調整する調整処理を実行する必要がある時点で適宜実行することで、原稿の読取処理を開始する直前に前記調整処理を実行する必要がなく、常に調整処理にて調整された状態で、原稿の読取処理を開始することが可能な画像処理装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and is appropriately executed when adjustment processing for adjusting the data values of the respective color components included in the reference data based on the reflected light from the reference member needs to be executed. Thus, there is provided an image processing apparatus that does not need to execute the adjustment process immediately before starting the document reading process and can start the document reading process in a state of being always adjusted by the adjustment process. For the purpose.
本発明の他の目的は、光源にて照射された光による基準部材からの反射光に基づいて取得した比較データのデータ値に基づいて、基準データが有する夫々の色成分のデータ値を調整する調整処理を行なうか否かの判断を行なうことにより、調整処理を実行すべきか否かをより正確に判断することが可能な画像処理装置を提供することにある。 Another object of the present invention is to adjust the data value of each color component included in the reference data based on the data value of the comparison data acquired based on the reflected light from the reference member by the light emitted from the light source. An object of the present invention is to provide an image processing apparatus capable of more accurately determining whether or not adjustment processing should be executed by determining whether or not to perform adjustment processing.
本発明の更に他の目的は、上述したような調整処理を行なった場合に、補正処理に用いる情報を取得することで、調整処理にて基準データが有する夫々の色成分のデータ値が調整された状態で取得した情報に基づいて精度の良い補正処理を実行することが可能な画像処理装置を提供することにある。 Still another object of the present invention is to obtain information used for the correction process when the adjustment process as described above is performed, thereby adjusting the data value of each color component included in the reference data in the adjustment process. It is an object of the present invention to provide an image processing apparatus capable of executing a highly accurate correction process based on information acquired in a state.
本発明に係る画像処理装置は、基準部材と、該基準部材からの反射光に基づいて、複数の色成分を有する基準データを取得する取得手段と、該取得手段が取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を行なう調整手段とを備える画像処理装置において、前記取得手段は、前記基準部材からの反射光に基づいて比較データを取得するように構成されており、前記取得手段が取得した比較データのデータ値を所定の範囲と比較する比較手段を備え、前記調整手段は、前記比較データのデータ値が所定の範囲内にない場合に、前記調整処理を行なうように構成されていることを特徴とする。 The image processing apparatus according to the present invention includes a reference member, acquisition means for acquiring reference data having a plurality of color components based on reflected light from the reference member, and reference data acquired by the acquisition means. And an adjustment unit that performs an adjustment process for adjusting the data value of the color component of the image processing apparatus, wherein the acquisition unit is configured to acquire comparison data based on reflected light from the reference member, Comparing means for comparing the data value of the comparison data acquired by the acquiring means with a predetermined range is provided, and the adjusting means performs the adjustment processing when the data value of the comparative data is not within the predetermined range. It is comprised by these.
本発明による場合は、基準部材からの反射光に基づいて取得した比較データのデータ値が予め設定された所定の範囲内にない場合に、基準部材からの反射光に基づいて取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を行なうことにより、例えば、原稿画像の読取処理を行なっていない待機中に取得した比較データのデータ値と所定の範囲との比較処理を行ない、必要に応じて前記調整処理を実行する。 In the case of the present invention, when the data value of the comparison data acquired based on the reflected light from the reference member is not within a predetermined range set in advance, the reference data acquired based on the reflected light from the reference member is By performing an adjustment process for adjusting the data values of the respective color components, for example, a comparison process is performed between the data value of the comparison data acquired during the standby period during which the document image reading process is not performed and a predetermined range, The adjustment process is executed as necessary.
本発明に係る画像処理装置は、所定の時間間隔を隔てて前記基準部材の所定の領域に光を照射する光源を備え、前記比較手段は、前記光源が照射した光による前記基準部材からの反射光に基づいて前記取得手段が取得した比較データのデータ値を所定の範囲と比較するように構成されていることを特徴とする。 The image processing apparatus according to the present invention includes a light source that irradiates a predetermined region of the reference member with a predetermined time interval, and the comparison unit reflects the light emitted from the light source from the reference member. The data value of the comparison data acquired by the acquisition unit based on light is configured to be compared with a predetermined range.
本発明による場合は、基準部材の所定の領域に所定の時間間隔を隔てて光源にて光を照射させ、この光による基準部材からの反射光に基づいて取得した比較データのデータ値が予め設定された所定の範囲内にない場合に、基準部材からの反射光に基づいて取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を行なうことにより、調整処理を実行すべきか否かの判断をより正確に行なうことができ、必要に応じて前記調整処理を実行する。 In the case of the present invention, light is irradiated by a light source at a predetermined time interval to a predetermined region of the reference member, and a data value of comparison data acquired based on reflected light from the reference member by this light is set in advance. Whether or not the adjustment process should be executed by adjusting the data value of each color component of the reference data acquired based on the reflected light from the reference member when it is not within the predetermined range. Can be determined more accurately, and the adjustment process is executed as necessary.
本発明に係る画像処理装置は、前記取得手段は、原稿からの反射光に基づいて画像データを取得するように構成されており、前記取得手段が取得した画像データに補正処理を行なう補正手段を備え、前記調整手段は、前記調整処理を行なった場合に、前記補正手段が行なう補正処理に係る情報を取得する手段を備えることを特徴とする。 In the image processing apparatus according to the present invention, the acquisition unit is configured to acquire image data based on reflected light from a document, and includes a correction unit that performs correction processing on the image data acquired by the acquisition unit. And the adjusting means includes means for acquiring information relating to the correction processing performed by the correction means when the adjustment processing is performed.
本発明による場合は、原稿からの反射光に基づいて取得した画像データに補正処理を行なう構成において、上述した調整処理を行なった場合に、前記画像データに行なうべき補正処理に係る情報を取得する。 In the case of the present invention, in the configuration in which the correction process is performed on the image data acquired based on the reflected light from the document, the information related to the correction process to be performed on the image data is acquired when the adjustment process described above is performed. .
本発明によれば、複数の色成分を有する比較データのデータ値が予め設定された所定の範囲内にない場合、例えば、比較データが有する色成分の夫々のデータ値にばらつきが生じてホワイトバランスが崩れた場合に、基準部材からの反射光に基づいて取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を実行することができ、原稿の読取処理を開始する直前に前記調整処理を行なう必要がなく、適切なタイミングで調整処理を実行することができる。 According to the present invention, when the data value of the comparison data having a plurality of color components is not within the predetermined range set in advance, for example, the data values of the color components of the comparison data vary to cause white balance. In the case where the image data collapses, adjustment processing for adjusting the data value of each color component included in the reference data acquired based on the reflected light from the reference member can be executed. There is no need to perform the adjustment process, and the adjustment process can be executed at an appropriate timing.
本発明によれば、基準部材の所定の領域に所定の時間間隔を隔てて光源にて照射された光による基準部材からの反射光に基づいて取得した比較データのデータ値が予め設定された所定の範囲内にない場合に、基準部材からの反射光に基づいて取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を行なうことにより、調整処理を実行すべきか否かの判断をより正確に行なうことができる。 According to the present invention, the data value of the comparison data acquired based on the reflected light from the reference member by the light irradiated by the light source at a predetermined time interval in a predetermined region of the reference member is set in advance. When the adjustment processing is not performed, the adjustment processing for adjusting the data values of the respective color components included in the reference data acquired based on the reflected light from the reference member is performed, thereby determining whether the adjustment processing should be executed. Can be performed more accurately.
本発明によれば、原稿からの反射光に基づいて取得した画像データに補正処理を行なう構成において、上述したような調整処理を行なった場合に、補正処理に係る情報を取得することにより、例えば、カラー画像データについてホワイトバランスが調整された状態で取得した情報に基づいて補正処理を実行することができ、画質の劣化を防止することができる。 According to the present invention, in the configuration in which the correction processing is performed on the image data acquired based on the reflected light from the document, when the adjustment processing as described above is performed, by acquiring the information related to the correction processing, for example, The correction processing can be executed based on the information acquired with the white balance adjusted for the color image data, and the deterioration of the image quality can be prevented.
以下に、本発明に係る画像処理装置を、複合機における実施の形態を示す図面に基づいて詳述する。図1は本発明に係る複合機の構成例を示すブロック図であり、図中1は複合機を示している。複合機1は、制御部10、ROM11、RAM12、NCU(Network Control Unit)13、モデム14、読取部15、入力画像処理部16、画像メモリ17、出力画像処理部18、操作部19、表示部20、記録部21、通信インタフェース22、JPEG−CODEC23、CODEC24等を備えており、夫々はバス25を介して相互に接続されている。
Hereinafter, an image processing apparatus according to the present invention will be described in detail with reference to the drawings illustrating an embodiment of a multifunction machine. FIG. 1 is a block diagram showing an example of the configuration of a multifunction machine according to the present invention. In FIG. The
制御部10は、具体的にはCPU(Central Processing Unit) 等で構成されており、バス25を介して接続される上述したようなハードウェア各部を制御すると共に、ROM11に格納された制御プログラムに従って、種々のソフトウェア的機能を実現する。ROM11は、本実施の形態に係る複合機1としての動作に必要な種々の制御プログラム、及び読取部15におけるホワイトバランスを調整するためのホワイトバランス調整処理プログラムを予め記憶している。RAM12は、SRAM又はフラッシュメモリ等で構成され、制御部10による制御プログラムの実行時に発生するデータを一時的に記憶する。
Specifically, the control unit 10 is configured by a CPU (Central Processing Unit) or the like, and controls each of the above-described hardware units connected via the
モデム14は、ファクシミリ通信が可能なファックスモデムで構成されており、NCU13と直接的にも接続されている。NCU13は、公衆電話回線網Lと接続されており、必要に応じてモデム14を公衆電話回線網Lと接続し、公衆電話回線網Lを介して外部の装置との間でのファクシミリ通信を可能としている。 The modem 14 is a fax modem capable of facsimile communication, and is directly connected to the NCU 13. The NCU 13 is connected to the public telephone line network L. If necessary, the NCU 13 can connect the modem 14 to the public telephone line network L to enable facsimile communication with an external device via the public telephone line network L. It is said.
読取部15は、CCD(Charge Coupled Device)等を利用したスキャナで原稿を読み取ることにより、例えばRGB表色系等の複数の色成分を有するカラー画像データを取得する取得手段として動作し、取得した画像データを入力画像処理部16に入力する。入力画像処理部16は、読取部15から入力されたRGB表色系の画像データを、必要に応じて例えばLab(L:明度情報,a:赤〜緑の色情報,b:黄〜青の色情報)表色系の画像データ又はYCrCb(Y:輝度成分、CrCb:色差成分)表色系の画像データに変換する。
The
JPEG−CODEC23は、カラー多値データにJPEG方式に基づく符号化処理を行なうものであり、入力画像処理部16により生成されたYCrCb表色系の画像データにJPEG方式に基づく符号化処理を行ない、JPEG圧縮した画像データを画像メモリ17に記憶させる。画像メモリ17は、DRAMにより構成されており、JPEG−CODEC23にて圧縮された画像データ及び入力画像処理部16から取得したLab表色系の画像データを記憶する。
The JPEG-
また、画像メモリ17に記憶してある画像データは、必要に応じて出力画像処理部18又はJPEG−CODEC23に読み出される。JPEG−CODEC23は、画像メモリ17から読み出されたJPEG圧縮された画像データに復号処理を行ない、伸張した画像データを出力画像処理部18へ出力する。出力画像処理部18は、画像メモリ17から読み出されたLab表色系の画像データ又はJPEG−CODEC23により復号されたYCrCb表色系の画像データを、例えばCMYK(C:シアン、M:マゼンタ、Y:イエロー、K:ブラック)表色系の画像出力用の画像データに変換する。
Further, the image data stored in the
出力画像処理部18が生成する画像出力用のCMYK表色系の画像データは、順次CODEC24に入力される。CODEC24は、モノクロ2値データに例えばMH,MR,MMR,JBIG等の方式に基づく符号化処理を行なうものであり、出力画像処理部18から取得した画像データに所定の符号化処理を行ない、得られた画像データを画像メモリ17に一旦記憶させる。また、制御部10は、CODEC24にて符号化された画像データを画像メモリ17から読み出し、CODEC24にて復号処理を行なった後、記録部21に入力する。記録部21は、電子写真方式のプリンタ装置であって、出力画像処理部18にて変換された画像出力用の画像データに基づく画像を、ハードコピーとしてA3縦,B4縦,A4縦,B5横及びA5横等の各サイズの記録紙又はOHPシートから最適なサイズのものを選択して記録する。
The CMYK color system image data for image output generated by the output
一方、出力画像処理部18は、画像データを通信インタフェース22を介して外部の装置へ送信する場合、画像メモリ17から読み出された画像データを所定のフォーマットに変換して通信インタフェース22に入力する。通信インタフェース22は、図示しないネットワークを介して接続される外部のコンピュータ等の装置へ、出力画像処理部18から入力された画像データを送信し、また、ネットワークを介して外部の装置から画像データを受信する。
On the other hand, when transmitting the image data to an external device via the
表示部20は、液晶ディスプレイ(LCD)で構成されており、複合機1の動作状況、複合機1として表示すべき表示画面、操作部19から入力された文字等を表示する。操作部19は、複合機1を操作するために必要な各種のキーを備えている。尚、表示部20をタッチパネル方式のものとすることにより、操作部19の各種のキーのうちの一部又は全部を代用することも可能である。
The display unit 20 is configured by a liquid crystal display (LCD), and displays an operation status of the
図2は読取部15の構成例を示す図であり、図2(a)の概観斜視図に示すように、読取部15は、直方体型の筺体30と、筺体30上面の一辺に開閉自在に取り付けられたプラテンカバー31と、筺体30上面に設けられた長方形型のプラテンガラス(原稿載置台)32とを備えている。この読取部15は、FBS(Flat Bed Scanner)方式の読み取りが可能であるが、ADF(Automatic Document Feeder) 方式のスキャナを備えて、原稿を自動的に搬送して読み取ることも可能である。
FIG. 2 is a diagram illustrating a configuration example of the
図2(b)は読取部15の内部構成例を示すブロック図であり、図2(b)は図2(a)において矢符Aで示す方向から見た図を示している。読取部15の筺体30は、プラテンガラス32を備える上面板の内側に、矢符yで示す方向(副走査方向)でのプラテンガラス32の一端辺(図2においては左側端辺)に沿って、白い板からなる白基準板(基準部材)33が、長手方向を図2(a)の矢符xで示す方向(主走査方向)に平行に配置してある。
FIG. 2B is a block diagram illustrating an example of the internal configuration of the
また、筺体30の内部には、白色蛍光灯又は冷陰極管等からなり、白基準板33及びプラテンガラス32上に載置された原稿に光を照射する光源ランプ(光源)34、白基準板33及び原稿からの反射光の光路lを変更する板状の第1ミラー35、第2ミラー37及び第3ミラー38を、夫々所定の位置で、長手方向を主走査方向(図2(a)中のxで示す方向)に平行に配置してある。光源ランプ34及び第1ミラー35は、副走査方向yに、プラテンガラス32の一端部をホームポジションとして、このホームポジションから他端部までの移動が可能な第1キャリッジ36に搭載されている。また、第2ミラー37及び第3ミラー38は、第1キャリッジ36の移動に対応して、副走査方向yに、プラテンガラス32の中央部から前記他端部までの移動を行なう第2キャリッジ39に搭載されている。
The
更に、筺体30の内部には、第1ミラー35、第2ミラー37及び第3ミラー38により光路lが変更された白基準板33及び原稿からの反射光を集光する結像レンズ40を備え、結像レンズ40を通して前記反射光が入射されるCCDラインセンサ41も、長手方向を主走査方向xに平行に配置してある。このような構成により、読取部15は、第1キャリッジ36及び第2キャリッジ39を副走査方向yに移動させながら、主走査方向xを長手方向としたCCDラインセンサ41により副走査方向yに1ラインずつ原稿画像の読取を行なう。
Further, the
上述した構成により、第1キャリッジ36は、プラテンガラス32上に載置された原稿の下面に沿って副走査方向yに移動しながら原稿により反射された反射光を第1ミラー35により反射させる。また、この反射光を第2ミラー37及び第3ミラー38により反射させて所定の光路lに変更し、この所定の光路lで入射された光を結像レンズ40を介してCCDラインセンサ41が取得する。尚、本実施の形態における読取部15は、図3に示すように、RGB表色系において、夫々R成分,G成分及びB成分に対応した反射光を取得すべく、3つのCCDラインセンサ41r,41g,41bを備えており、夫々取得した光の大きさに基づきアナログ信号を生成し、生成したアナログ信号を夫々対応するAFE(Analog Front End:アナログ・フロント・エンド)42r,42g,42bに入力する。
With the above-described configuration, the
CCDラインセンサ41r,41g,41bは、第1キャリッジ36及び第2キャリッジ39が移動を開始する所定時間前から、光源ランプ34から照射された光を取得しており、筺体30の上面内側に設けられた白基準板33からの反射光も取得している。従って、CCDラインセンサ41r,41g,41bにより取得した反射光に基づいて、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成されるデータには、原稿からの反射光に基づく原稿画像データ、及び白基準板33からの反射光に基づく基準データが含まれ、読取部15は基準データを取得する取得手段としても動作する。
The
図3は読取部15の構成例を示すブロック図であり、読取部15は、CCDラインセンサ41r,41g,41bが夫々出力するR成分、G成分、B成分のアナログ信号に対応して、AFE42r,42g,42bと、A/D(アナログ/デジタル)変換器43r,43g,43bとを有しており、更にシェーディング補正部(補正手段)44を備えている。CCDラインセンサ41r,41g,41bは、第1ミラー35,第2ミラー37及び第3ミラー38により反射された反射光を、R成分,G成分及びB成分夫々のアナログ信号に変換し、変換したアナログ信号を夫々AFE42r,42g,42bへ出力する。
FIG. 3 is a block diagram illustrating a configuration example of the
AFE42r,42g,42bは夫々、増幅器(図示せず)、サンプルホールド回路(図示せず)等を備え、CCDラインセンサ41r,41g,41bから出力されたアナログ信号を夫々、増幅器により所定の大きさに増幅し、増幅されたアナログ信号を、サンプルホールド回路により一定のタイミング毎にサンプルホールドし、この各値をA/D変換器43r,43g,43bへ出力する。A/D変換器43r,43g,43bは、AFE42r,42g,42bから取得したアナログ信号をデジタル信号に変換し、シェーディング補正部44へ出力する。尚、本実施の形態においては、A/D変換器43r,43g,43bは、8ビットのデジタル信号を出力している。
Each of the
シェーディング補正部44にはRAM44bが接続されており、シェーディング補正部44は、A/D変換器43r,43g,43bの夫々から入力される基準データに基づき生成するシェーディングデータをRAM44bに記憶する。また、シェーディング補正部44は、A/D変換器43r,43g,43bの夫々から入力される原稿画像データに対して、RAM44bに記憶してあるシェーディングデータに基づいて、読取部15に含まれる照明系、結像系及び撮像系で生じた各種の歪みを取り除くシェーディング補正処理を行ない、処理した画像データを入力画像処理部16へ出力する。
A
ここで、読取部15は、例えば原稿画像の読取処理を行なっていない待機中に、所定のタイミングで、第1キャリッジ36及び第2キャリッジ39を移動させずに白基準板33の所定の領域からの光を、CCDラインセンサ41r,41g,41bにて取得し、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される比較データを取得する取得手段としても動作している。尚、比較データは、白基準板33からの反射光に基づいて生成される基準データにおいて、主走査方xの1ライン分全ての画素データに基づいて生成する必要はなく、1ライン中の一部の画素データのみに基づいて生成すればよい。例えば、主走査方向xに隣合う4画素が夫々副走査方向yに隣合う4画素による16画素の平均値を比較データとしてもよい。
Here, the
また、シェーディング補正部44は、このように取得した比較データのデータ値を、予めROM11に設定してありRAM44bに読み出した所定の範囲と比較する比較回路(比較手段)44aを備えており、A/D変換器43r,43g,43bの夫々から入力される比較データのデータ値が所定の範囲内の値でない場合に、その旨を制御部10に通知する。
Further, the
制御部10は、読取部15が取得した比較データのデータ値が所定の範囲内の値でないことを通知された場合、ROM11に記憶してあるホワイトバランス調整処理プログラムをRAM12に読み出して実行し、ホワイトバランス調整処理を行なう調整手段として動作する。ホワイトバランス調整処理は、具体的には、制御部10が、CCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成された白基準板33からの反射光に基づく基準データにおける夫々の色成分のデータ値が同程度になるように、AFE42r,42g,42bにおける増幅器のバイアス及びゲインを調整する処理である。より具体的には、基準データにおいて、各色成分毎に主走査方向xに隣合う4画素が夫々副走査方向yに隣合う4画素による16画素の平均値を算出し、算出したデータ値を予めROM11に記憶してある目標値となるようにAFE42r,42g,42bが備える各増幅器のバイアス及びゲインを調整する。
When notified that the data value of the comparison data acquired by the
尚、ホワイトバランス調整処理において、CCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される基準データにおける夫々の色成分のデータ値の目標値は、増幅器のバイアスを調整する際に用いる黒データ用の目標値と、増幅器のゲインを調整する際に用いる白データ用の目標値として予めROM11に記憶してあり、夫々の色成分において共通で用いられる。また、本実施の形態の複合機1において、制御部10は、上述したようなホワイトバランス調整処理を実行した場合、シェーディング補正部44にて、A/D変換器43r,43g,43bから出力される基準データに基づくシェーディングデータ(補正処理に係る情報)を取得し、取得したシェーディングデータをRAM44bに記憶させる。
In the white balance adjustment processing, the target of the data value of each color component in the reference data generated by the
ここで、シェーディング補正部44が行なうシェーディング補正処理に用いるシェーディングデータには、黒データB及び白データWがある。黒データBは、光源ランプ34の消灯時に、白基準板33からの光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b、A/D変換器43r,43g,43bを経て出力された基準データにおける複数の主走査方向のラインの平均値であり、白データWは、光源ランプ34の点灯時に、白基準板33からの反射光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b、A/D変換器43r,43g,43bを経て出力された基準データにおける複数の主走査方向のラインの平均値である。
Here, the shading data used in the shading correction processing performed by the
シェーディング補正部44は、上述したように、制御部10によるホワイトバランス調整処理の実行後に取得してRAM44bに記憶されたシェーディングデータ(黒データB及び白データW)に基づいて、A/D変換器43r,43g,43b夫々から出力される原稿画像データに対してシェーディング補正処理を行なう。尚、シェーディング補正部44は、例えば以下のような(1)式に基づいた補正処理を行なう。
As described above, the
Vout=(Vin−B)×{2の(ビット数)乗}/(W−B) …(1)
Vin:補正前の原稿画像データ,Vout:補正後の原稿画像データ,
ビット数:A/D変換器の有効出力ビット数
Vout = (Vin−B) × {2 to the power of (number of bits)} / (W−B) (1)
Vin: original image data before correction, Vout: original image data after correction,
Number of bits: Number of effective output bits of the A / D converter
本実施の形態の読取部15では、CCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bは、夫々並列に処理を行なっており、シェーディング補正部44は、A/D変換器43r,43g,43bから夫々出力されるR成分、G成分、B成分の画像データについて、例えば、R成分、G成分、B成分の順にシェーディング補正処理を実行する。尚、R成分、G成分、B成分の画像データに対応してシェーディング補正部44を3つ設けることにより、シェーディング補正処理もR成分、G成分、B成分毎に並列に実行する構成とすることもできる。
In the
以下に、上述した構成の複合機1において、待機中の読取部15によるホワイトバランス調整処理について説明する。図4は本発明に係る複合機1におけるホワイトバランス調整処理を実行するか否かの判断処理手順を示すフローチャートである。複合機1において、制御部10は、プラテンガラス32上に原稿が載置されて各種のボタンがオンされる等により、原稿画像の読取処理が指示されたか否かを判断する(S1)。ここで、原稿画像の読取処理が指示されたと判断した場合(S1:YES)、制御部10は、読取部15により原稿画像の読取処理を実行させる(S2)。具体的には、読取部15の光源ランプ34、CCDラインセンサ41r,41g,41b等を駆動させ、プラテンガラス32上に載置された原稿からの反射光に基づいて、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて原稿画像データを生成し、得られた原稿画像データを入力画像処理部16へ入力する。
In the following, the white balance adjustment process by the
一方、制御部10は、原稿画像の読取処理が指示されていないと判断した場合(S1:NO)、即ち、読取部15が待機状態である場合、所定のタイミングで第1キャリッジ36及び第2キャリッジ39を駆動させずに、CCDラインセンサ41r,41g,41bを駆動させる(S3)。従って、シェーディング補正部44は、CCDラインセンサ41r,41g,41bが取得した白基準板33の所定領域からの光に基づいて、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成された比較データを取得する(S4)。また、シェーディング補正部44は、取得した比較データの夫々の色成分におけるデータ値を算出し(S5)、夫々のデータ値とRAM44bに記憶してある所定の範囲とを比較することで、夫々のデータ値が所定の範囲内の値であるか否かを判断する(S6)。尚、夫々の色成分におけるデータ値として、例えば、比較データの夫々の色成分における複数の画素データの平均値を算出する。
On the other hand, when the control unit 10 determines that the document image reading process is not instructed (S1: NO), that is, when the
シェーディング補正部44は、取得した比較データの夫々の色成分におけるデータ値が所定の範囲内の値であると判断した場合(S6:YES)、ステップS1の処理に戻り、所定の範囲内の値でないと判断した場合(S6:NO)、AFE42r,42g,42bに備える増幅器のバイアス及びゲインを調整するホワイトバランス調整処理を実行する(S7)。尚、ホワイトバランス調整処理については後に詳述する。
When the
上述したように、複合機1において、読取部15が待機状態である場合に、所定のタイミングでCCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される比較データのデータ値に基づいて、ホワイトバランスが崩れたことを検知し、ホワイトバランスが崩れたことを検知した場合に、ホワイトバランス調整処理を行なうことにより、常にホワイトバランスが調整された状態で原稿画像の読取処理を行なうことができる。
As described above, in the
以下に、上述した構成の複合機1におけるホワイトバランス調整処理について説明する。図5及び図6は本発明に係る複合機1におけるホワイトバランス調整処理手順を示すフローチャートである。複合機1において、シェーディング補正部44が、上述したように、A/D変換器43r,43g,43bの夫々から入力される比較データの夫々の色成分におけるデータ値が所定の範囲内の値ではなく、ホワイトバランスが崩れていると検知した場合、その旨を制御部10へ通知した場合、制御部10は、ROM11に記憶してあるホワイトバランス調整処理プログラムをRAM12に読み出して順次実行する。
Hereinafter, the white balance adjustment process in the
制御部10は、まず、読取部15のAFE42r,42g,42bが備える増幅器の増幅率を予めROM11等に記憶してある初期値に設定することにより初期設定を行ない(S11)、光源ランプ34を点灯させずにCCDラインセンサ41r,41g,41bを駆動させる(S12)。読取部15においては、第1キャリッジ36、第2キャリッジ等の駆動を行なわず、白基準板33からの光をCCDラインセンサ41r,41g,41bにて取得し、取得した光に基づいてAFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される基準データを取得する(S13)。また、制御部10は、取得した基準データから1つの色成分を選択し、選択した色成分における平均値を算出する(S14)。具体的には、例えば、選択した色成分の基準データにおける複数の画素データにおける平均値を算出する。
First, the control unit 10 performs initial setting by setting the amplification factor of the amplifier included in the
制御部10は、算出した平均値が予めROM11に設定してある黒データ用の目標値よりも大きいか否かを判断し(S15)、目標値よりも小さいと判断した場合(S15:NO)、ステップS14で選択した色成分のデータを処理するAFE42r(又は42g,42b)における増幅器のバイアスを所定値増加させて(S16)ステップS13の処理に戻る。また制御部10は、バイアスの値が増加されたAFE42rを用いて、CCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて基準データを取得し(S13)、同様に、取得した基準データのうちの1つの色成分における平均値を算出する(S14)。
The control unit 10 determines whether or not the calculated average value is larger than the target value for black data set in advance in the ROM 11 (S15), and determines that the calculated average value is smaller than the target value (S15: NO). The amplifier bias in the AFE 42r (or 42g, 42b) that processes the color component data selected in step S14 is increased by a predetermined value (S16), and the process returns to step S13. Further, the control unit 10 uses the AFE 42r with the increased bias value to acquire reference data by the
制御部10は、算出した平均値が予め設定してある黒データ用の目標値よりも大きくなるまで、ステップS13からS16までの処理を繰り返し、算出した平均値が目標値よりも大きいと判断した場合(S15:YES)、ステップS16で順次増加させたバイアスの値を、1つ前の値に設定する(S17)。 The control unit 10 repeats the processes from step S13 to S16 until the calculated average value becomes larger than the preset target value for black data, and determines that the calculated average value is larger than the target value. In the case (S15: YES), the bias value sequentially increased in step S16 is set to the previous value (S17).
次に制御部10は、光源ランプ34を点灯させ(S18)、白基準板33からの反射光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される基準データを取得する(S19)。また、制御部10は、ステップS14と同様に、取得した基準データのうちの1つの色成分における平均値を算出し(S20)、算出した平均値が予めROM11に設定してある白データ用の目標値よりも大きいか否かを判断する(S21)。制御部10は、算出した平均値が目標値よりも小さいと判断した場合(S21:NO)、ステップS20で選択した色成分のデータを処理するAFE42r(又は42g,42b)における増幅器のゲインを所定値増加させて(S22)ステップS19の処理に戻る。
Next, the control unit 10 turns on the light source lamp 34 (S18), and based on the reflected light from the
制御部10は、ゲインの値が増加されたAFE42rを用いて、白基準板33からの反射光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成された基準データを取得し(S19)、同様に、取得した基準データのうちの1つの色成分における平均値を算出する(S20)。制御部10は、算出した平均値が予め設定してある白データ用の目標値よりも大きくなるまで、ステップS19からS22までの処理を繰り返し、算出した平均値が目標値よりも大きいと判断した場合(S21:YES)、ステップS22で順次増加させたゲインの値を、1つ前の値に設定する(S23)。
Based on the reflected light from the
制御部10は、光源ランプ34を消灯させ(S24)、R成分、G成分、B成分の全ての色成分について、対応するAFE42r,42g,42bの増幅器のバイアス及びゲインを調整する処理が終了したか否かを判断しており(S25)、全ての色成分についての処理が終了していないと判断した場合(S25:NO)、ステップS13の処理に戻り、夫々の色成分について、ステップS13からS24までの処理を繰り返す。また、夫々のAFE42r,42g,42bの増幅器のバイアス及びゲインを調整する処理が終了したと判断した場合(S25:YES)、即ちホワイトバランスが調整された場合、シェーディング補正部44は、光源ランプ34を点灯させずに白基準板33からの反射光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される基準データを取得し、取得した基準データにおける平均値を算出して黒データBとして取得し(S26)RAM44bに記憶させる。
The control unit 10 turns off the light source lamp 34 (S24), and the process of adjusting the bias and gain of the corresponding
次にシェーディング補正部44は、制御部10からの指示に従って光源ランプ34を点灯させ(S27)、白基準板33からの反射光に基づいてCCDラインセンサ41r,41g,41b、AFE42r,42g,42b及びA/D変換器43r,43g,43bにて生成される基準データを取得し、取得した基準データにおける平均値を算出して白データWとして取得し(S28)RAM44bに記憶させて処理を終了する。
Next, the
上述したように、シェーディング補正部44が、A/D変換器43r,43g,43bから出力される比較データのデータ値に基づいて、ホワイトバランスが崩れたと判断した場合に、ホワイトバランス調整処理を実行し、ホワイトバランス調整処理を実行した後に、シェーディング補正処理に用いるシェーディングデータを取得しておくことで、読取部15が、常にホワイトバランスが調整された状態で原稿画像の読取処理を開始することができるとともに、ホワイトバランスが調整された状態で取得したシェーディングデータに基づく補正処理を実行することができる。
As described above, when the
上述した実施の形態では、シェーディング補正部44は待機状態である場合に、所定のタイミングで、光源ランプ34を点灯させずに取得する比較データの夫々の色成分におけるデータ値に基づいて、ホワイトバランスが崩れたことを検知するように構成されているが、待機中に所定のタイミングで光源ランプ34を点灯させ、このときに取得する比較データのデータ値に基づいてホワイトバランスが崩れたことを検知するように構成することも可能であり、この場合には、より正確にホワイトバランスが崩れたことを検知することができる。尚、白基準板33において、比較データとして必要な所定領域に光を照射できる光源ランプを別途に備えることにより、白基準板33の全体を照射する光源ランプ34を点灯させた場合と比較して効率よく、より効果的な比較データを取得することができる。
In the above-described embodiment, when the
1 複合機(画像処理装置)
10 制御部(調整手段)
15 読取部(取得手段)
32 プラテンガラス
33 白基準板(基準部材)
34 光源ランプ(光源)
44 シェーディング補正部(補正手段)
44a 比較回路(比較手段)
44b RAM
1 MFP (image processing device)
10 Control unit (adjustment means)
15 Reading unit (acquisition means)
32
34 Light source lamp (light source)
44 Shading correction unit (correction means)
44a Comparison circuit (comparison means)
44b RAM
Claims (3)
該基準部材からの反射光に基づいて、複数の色成分を有する基準データを取得する取得手段と、
該取得手段が取得した基準データが有する夫々の色成分のデータ値を調整する調整処理を行なう調整手段と
を備える画像処理装置において、
前記取得手段は、前記基準部材からの反射光に基づいて比較データを取得するように構成されており、
前記取得手段が取得した比較データのデータ値を所定の範囲と比較する比較手段を備え、
前記調整手段は、前記比較データのデータ値が所定の範囲内にない場合に、前記調整処理を行なうように構成されていることを特徴とする画像処理装置。 A reference member;
Obtaining means for obtaining reference data having a plurality of color components based on the reflected light from the reference member;
In an image processing apparatus comprising: adjustment means for performing adjustment processing for adjusting data values of respective color components included in reference data acquired by the acquisition means;
The acquisition means is configured to acquire comparison data based on reflected light from the reference member,
Comparing means for comparing the data value of the comparison data acquired by the acquiring means with a predetermined range,
The image processing apparatus, wherein the adjustment unit is configured to perform the adjustment process when a data value of the comparison data is not within a predetermined range.
前記比較手段は、前記光源が照射した光による前記基準部材からの反射光に基づいて前記取得手段が取得した比較データのデータ値を所定の範囲と比較するように構成されていることを特徴とする請求項1に記載の画像処理装置。 A light source for irradiating a predetermined area of the reference member with a predetermined time interval;
The comparison means is configured to compare a data value of comparison data acquired by the acquisition means based on light reflected from the reference member by light emitted from the light source with a predetermined range. The image processing apparatus according to claim 1.
前記取得手段が取得した画像データに補正処理を行なう補正手段を備え、
前記調整手段は、前記調整処理を行なった場合に、前記補正手段が行なう補正処理に係る情報を取得する手段を備えることを特徴とする請求項1又は2に記載の画像処理装置。 The acquisition means is configured to acquire image data based on reflected light from a document,
Correction means for performing correction processing on the image data acquired by the acquisition means,
The image processing apparatus according to claim 1, wherein the adjustment unit includes a unit that acquires information related to a correction process performed by the correction unit when the adjustment process is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003363721A JP2005130207A (en) | 2003-10-23 | 2003-10-23 | Image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003363721A JP2005130207A (en) | 2003-10-23 | 2003-10-23 | Image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005130207A true JP2005130207A (en) | 2005-05-19 |
Family
ID=34642958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003363721A Pending JP2005130207A (en) | 2003-10-23 | 2003-10-23 | Image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005130207A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009010924A (en) * | 2007-05-31 | 2009-01-15 | Ricoh Co Ltd | Image reading apparatus, image forming apparatus, and method of incorporating same |
JP2013085132A (en) * | 2011-10-11 | 2013-05-09 | Kyocera Document Solutions Inc | Image reader and image forming apparatus equipped with the same |
-
2003
- 2003-10-23 JP JP2003363721A patent/JP2005130207A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009010924A (en) * | 2007-05-31 | 2009-01-15 | Ricoh Co Ltd | Image reading apparatus, image forming apparatus, and method of incorporating same |
JP2013085132A (en) * | 2011-10-11 | 2013-05-09 | Kyocera Document Solutions Inc | Image reader and image forming apparatus equipped with the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7123390B2 (en) | Image scanner | |
JP3101304B2 (en) | Image processing device | |
JP4596425B2 (en) | Image reading apparatus, image forming apparatus, and image reading control method | |
KR101309369B1 (en) | Image processing apparatus and control method | |
US20090219558A1 (en) | Image processing apparatus and image processing method | |
JP4111118B2 (en) | Image processing device | |
JP3923293B2 (en) | Image processing method, image processing apparatus, and image forming apparatus | |
US8330999B2 (en) | Image reading apparatus and method to correct images | |
JP2005130207A (en) | Image processing apparatus | |
JP2007215076A (en) | Image reading apparatus and calibration method thereof | |
JP3912376B2 (en) | Image reading device | |
JP2005191886A (en) | Image reading apparatus | |
US11863717B2 (en) | Image reading apparatus and image reading method | |
JP2010041595A (en) | Image reader, image forming apparatus, image reading method, and computer program | |
JP4917952B2 (en) | Image reading device | |
JP2007019602A (en) | Image input output apparatus | |
JP2007258997A (en) | Image processing apparatus | |
EP2141904A2 (en) | Image reading device, image forming apparatus, and image reading method | |
JP4186950B2 (en) | Image processing device | |
JP3288696B2 (en) | Image processing apparatus and image processing method | |
JP2004159003A (en) | Image reading apparatus | |
JP2007166072A (en) | Image processor and control method thereof | |
JP2011097477A (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
JP2005269154A (en) | Image processing apparatus | |
JP2004262074A (en) | Image forming apparatus, image forming method, and image recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060818 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070626 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070820 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070925 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071218 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080206 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080311 |