JP4155290B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP4155290B2 JP4155290B2 JP2005242270A JP2005242270A JP4155290B2 JP 4155290 B2 JP4155290 B2 JP 4155290B2 JP 2005242270 A JP2005242270 A JP 2005242270A JP 2005242270 A JP2005242270 A JP 2005242270A JP 4155290 B2 JP4155290 B2 JP 4155290B2
- Authority
- JP
- Japan
- Prior art keywords
- correction data
- predetermined number
- unit
- image
- 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.)
- Expired - Fee Related
Links
- 238000012937 correction Methods 0.000 claims description 275
- 238000012545 processing Methods 0.000 claims description 66
- 230000006870 function Effects 0.000 claims description 41
- 238000006243 chemical reaction Methods 0.000 description 20
- 238000012360 testing method Methods 0.000 description 20
- 230000000875 corresponding effect Effects 0.000 description 15
- 238000000034 method Methods 0.000 description 9
- 238000012935 Averaging Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000001174 ascending effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、複数の画素から構成される画像データの各画素値を補正する画像処理装置、及び前記画像処理装置を備える画像形成装置に関する。 The present invention relates to an image processing apparatus that corrects each pixel value of image data composed of a plurality of pixels, and an image forming apparatus including the image processing apparatus.
スキャナを備え、複数の画素から構成される画像データの各画素値に対して補正を行う(例えばガンマ補正を行う)画像処理装置は、補正前の画素値毎に補正後の画素値が設定された補正データに従って画像データの各画素値を補正する。ここでは、補正がガンマ補正である場合について説明する。ガンマ補正を行う従来の画像処理装置においては、予め装置の特性に基づいて生成されたガンマ補正データが同一機種の全ての装置に格納されていたが、同一機種においても、スキャナを構成する光源やレンズ等の取付誤差があるため、ガンマ補正の精度が充分ではない場合があった。そのため、特許文献1には、装置に適したガンマ補正データを生成し、生成したガンマ補正データに従って画像データの各画素値をガンマ補正する画像処理装置が開示されている。なお、ガンマ補正データは、自装置の電源が切断されても消去されないように、例えばEEPROM(Electrically Erasable and Programmable ROM)等の不揮発性記憶装置に格納されており、不揮発性記憶装置から読み出されてガンマ補正に用いられる。このように、画像処理装置毎に生成したガンマ補正データを用いてガンマ補正を行うことにより、ガンマ補正の精度を向上することができる。
しかしながら、ガンマ補正データ等、補正前の画素値毎に補正後の画素値が設定された補正データを、自装置の電源が切断されても消去されないよう、EEPROM等の不揮発性記憶装置に格納すると、不揮発性記憶装置の記憶容量が大きくなるという問題点があった。 However, if correction data in which pixel values after correction are set for each pixel value before correction, such as gamma correction data, is stored in a non-volatile storage device such as an EEPROM so that it is not erased even when the power of the device is turned off. However, there is a problem that the storage capacity of the nonvolatile storage device becomes large.
また、スキャナが読み取ったRGB表色系のカラー画像データは、ガンマ補正等の補正が行われた後、例えば用紙への印刷等、カラー画像データの使用目的に応じて、Lab表色系、YCrCb表色系等に色空間変換される。そのため、色空間変換後のカラー画像データの色再現性を考慮すると、各表色系に適した補正データを用いて補正を行うことが好ましいが、RGB表色系、Lab表色系、YCrCb表色系等、各表色系に適した補正データを不揮発性記憶装置に格納すると、更に不揮発性記憶装置の記憶容量が大きくなるという問題点があった。 The RGB color system color image data read by the scanner is subjected to corrections such as gamma correction, and then, for example, printing on paper or the like, depending on the intended use of the color image data, Lab color system, YCrCb The color space is converted to a color system or the like. Therefore, in consideration of color reproducibility of color image data after color space conversion, it is preferable to perform correction using correction data suitable for each color system, but the RGB color system, Lab color system, and YCrCb table. When correction data suitable for each color system such as a color system is stored in the nonvolatile storage device, there is a problem that the storage capacity of the nonvolatile storage device further increases.
本発明は、上記問題点に鑑みてなされたものであり、複数の画素から構成される画像データの各画素値を補正データに従って補正する画像処理装置、及び画像形成装置において、不揮発性記憶装置の記憶容量を削減可能な画像処理装置、及び画像形成装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an image processing apparatus and an image forming apparatus that correct each pixel value of image data composed of a plurality of pixels according to correction data. An object of the present invention is to provide an image processing apparatus and an image forming apparatus capable of reducing the storage capacity.
請求項1記載の画像形成装置は、不揮発性記憶装置、及び揮発性記憶装置を有し、複数の画素から構成される画像データの各画素値を、補正前の画素値毎に補正後の画素値が設定された補正データに従って補正する画像処理装置であって、前記画素値の第1の所定数の基準値と前記第1の所定数の基準値の補正後の値をそれぞれ規定する第1の所定数の目標値とを対応付けて前記不揮発性記憶装置に格納する第1の格納手段と、前記第1の格納手段に格納されている第1の所定数の基準値及び第1の所定数の目標値に基づいて、画像データを構成する画素がとり得る前記第1の所定数より大きい第2の所定数の画素値毎の補正後の値を規定する補正データを生成する生成手段と、前記生成手段により生成された補正データを格納する第2の格納手段と、前記第2の格納手段に格納されている補正データに従って画像データの各画素値を補正する補正手段と、を備える画像処理装置を具備し、スキャナ、プリンタ、コピー、及びファクシミリの少なくとも2以上の機能を有する画像形成装置であって、前記複数の機能の内、いずれか1の選択を外部から受け付ける受付手段と、前記受付手段により選択を受け付けた機能に基づいて画像データの表色系を選択する選択手段と、を備え、前記生成手段は、複数の表色系に適した補正データを表色系毎に生成して前記第2の格納手段にそれぞれ格納し、前記補正手段は、前記第2の格納手段に格納されている各補正データの内、前記選択手段により選択された表色系に適した補正データに従って画像データの各画素値を補正することを特徴としている。
The image forming apparatus according to
上記構成によれば、生成手段によって、複数の表色系に適した補正データが表色系毎に生成されて第2の格納手段にそれぞれ格納される。そして、補正手段によって、第2の格納手段に格納されている各補正データの内、選択を受け付けた機能に基づいて選択手段によって選択された表色系に適した補正データに従って画像データの各画素値が補正される。 According to the above configuration, correction data suitable for a plurality of color systems is generated for each color system by the generation unit and stored in the second storage unit. Then, each pixel of the image data according to the correction data suitable for the color system selected by the selection unit based on the function of the selection received from the correction data stored in the second storage unit by the correction unit The value is corrected.
従って、画像データは、機能に基づいて種々の表色系に色空間変換されるが、選択を受け付けた機能に基づいて選択された表色系に適した補正データに従って補正されるので、色空間変換後の色再現性が良好である。また、複数の表色系に適した補正データが表色系毎に生成されるため、データ量が多くなるが、複数の表色系に適した補正データは、第2の格納手段に格納されるので、不揮発性記憶装置の記憶容量を増加させる必要がない。 Therefore, the image data is color space converted into various color systems based on the function, but is corrected according to the correction data suitable for the color system selected based on the function for which the selection is accepted. Good color reproducibility after conversion. Further, since correction data suitable for a plurality of color systems is generated for each color system, the amount of data increases, but correction data suitable for a plurality of color systems is stored in the second storage means. Therefore, there is no need to increase the storage capacity of the nonvolatile storage device.
請求項2記載の画像形成装置は、請求項1記載の画像形成装置において、自装置の電源が投入された際に、前記生成手段に対して補正データの生成を指示する旨の情報を出力する指示手段を備え、前記生成手段は、前記指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、前記補正データを生成し、前記第2の格納手段は、前記生成手段により生成された補正データを前記揮発性記憶装置に格納することを特徴としている。
The image forming apparatus according to
上記構成によれば、画像処理装置の電源が投入された際に、指示手段によって、生成手段に対して補正データの生成を指示する旨の情報が出力される。そして、指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、生成手段によって、補正データが生成され、生成された補正データが第2の格納手段に格納される。 According to the above configuration, when the image processing apparatus is turned on, the instruction unit outputs information indicating that the generation unit is instructed to generate correction data. Then, when information indicating the generation of correction data is received from the instruction unit, the generation unit generates correction data, and the generated correction data is stored in the second storage unit.
従って、画像処理装置の電源が切断された際に、補正データが消去されるが、画像処理装置の電源が投入された際に、補正データが生成されるので、画像処理装置の電源が投入されている間は、補正データを保持することができる。 Accordingly, the correction data is deleted when the image processing apparatus is turned off. However, since the correction data is generated when the image processing apparatus is turned on, the image processing apparatus is turned on. The correction data can be held while the image is being displayed.
請求項3記載の画像形成装置は、請求項1又は2記載の画像形成装置において、原稿の画像を読み取り、画像データを生成する読取手段を備え、前記第1の所定数の基準値は、前記読取手段により、原稿に形成された階調が異なる第1の所定数の基準画像を読み取って得られたものであり、前記補正手段は、前記読取手段により生成された画像データの各画素値を補正することを特徴としている。 According to a third aspect of the present invention, there is provided the image forming apparatus according to the first or second aspect, further comprising reading means for reading an image of a document and generating image data, wherein the first predetermined number of reference values is The reading means is obtained by reading a first predetermined number of reference images having different gradations formed on the original, and the correction means calculates each pixel value of the image data generated by the reading means. It is characterized by correction.
上記構成によれば、第1の格納手段に、読取手段により第1の所定数の基準画像を読み取って得られた第1の所定数の基準値と、これら第1の所定数の基準値の補正後の値をそれぞれ規定する第1の所定数の目標値と、が対応付けて格納されており、生成手段によって、第1の格納手段に格納されている第1の所定数の基準値、及び第1の所定数の目標値に基づいて、補正データが生成される。そして、生成された補正データが第2の格納手段に格納されており、補正手段によって、第2の格納手段に格納されている補正データに従って読取手段により生成された画像データの各画素値が補正される。 According to the above configuration, the first storage unit stores the first predetermined number of reference values obtained by reading the first predetermined number of reference images by the reading unit, and the first predetermined number of reference values. A first predetermined number of target values each defining a corrected value are stored in association with each other, and a first predetermined number of reference values stored in the first storage means by the generating means; The correction data is generated based on the first predetermined number of target values. The generated correction data is stored in the second storage means, and each pixel value of the image data generated by the reading means is corrected by the correction means according to the correction data stored in the second storage means. Is done.
従って、読取手段により第1の所定数(例えば、13)の基準画像を読み取って得られた第1の所定数の基準値、及びこれらに対応する第1の所定数の目標値に基づいて生成された補正データに従って、読取手段により生成された画像データの各画素値が補正されるので、読取手段の特性に応じた補正を行うことができる。すなわち、機差に関係なく、精度の良い補正を行うことができる。 Therefore, it is generated based on the first predetermined number of reference values obtained by reading the first predetermined number (for example, 13) of reference images by the reading means, and the first predetermined number of target values corresponding thereto. According to the corrected data, each pixel value of the image data generated by the reading unit is corrected, so that correction according to the characteristics of the reading unit can be performed. That is, accurate correction can be performed regardless of machine differences.
請求項4記載の画像形成装置は、スキャナ、プリンタ、コピー、及びファクシミリの少なくとも2以上の機能を有する画像形成装置であって、不揮発性記憶装置、及び揮発性記憶装置を有し、複数の画素から構成される画像データの各画素値を、補正前の画素値毎に補正後の画素値が設定された補正データに従って補正する画像処理装置であって、前記画素値の第1の所定数の基準値と前記第1の所定数の基準値の補正後の値をそれぞれ規定する第1の所定数の目標値とを対応付けて前記不揮発性記憶装置に格納する第1の格納手段と、前記第1の格納手段に格納されている第1の所定数の基準値及び第1の所定数の目標値に基づいて、画像データを構成する画素がとり得る前記第1の所定数より大きい第2の所定数の画素値毎の補正後の値を規定する補正データを生成する生成手段と、前記生成手段により生成された補正データを格納する第2の格納手段と、前記第2の格納手段に格納されている補正データに従って画像データの各画素値を補正する補正手段と、を備える画像処理装置と、原稿の画像を読み取り、画像データを生成する読取手段と、前記複数の機能の内、いずれか1の選択を外部から受け付ける受付手段と、前記受付手段により選択を受け付けた機能に基づいて画像データの表色系を選択する選択手段と、前記選択手段により選択された表色系が前回選択された表色系と異なる場合、前記読取手段により原稿の画像が読み取られる際に、前記生成手段に対して補正データの生成を指示する旨の情報を出力する指示手段と、を備え、前記第1の所定数の基準値は、前記読取手段により、原稿に形成された階調が異なる第1の所定数の基準画像を読み取って得られたものであり、前記生成手段は、前記指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、前記選択手段により選択された表色系に適した補正データを生成し、生成した補正データを前記第2の格納手段に格納されている補正データに上書きし、前記補正手段は、前記読取手段により生成された画像データの各画素値を補正することを特徴としている。 5. The image forming apparatus according to claim 4, wherein the image forming apparatus has at least two functions of a scanner, a printer, a copy, and a facsimile, and includes a non-volatile storage device and a volatile storage device, and a plurality of pixels. An image processing apparatus that corrects each pixel value of image data configured according to correction data in which a pixel value after correction is set for each pixel value before correction, and a first predetermined number of the pixel values A first storage means for associating a reference value with a first predetermined number of target values each defining a corrected value of the first predetermined number of reference values, and storing them in the nonvolatile storage device; Based on the first predetermined number of reference values and the first predetermined number of target values stored in the first storage means, the second larger than the first predetermined number that can be taken by the pixels constituting the image data. Value after correction for every predetermined number of pixel values A generation unit that generates correction data to be defined, a second storage unit that stores the correction data generated by the generation unit, and each pixel value of the image data according to the correction data stored in the second storage unit A correction unit that corrects the image, a reading unit that reads an image of a document and generates image data, a reception unit that receives an external selection of any one of the plurality of functions, and A selection unit that selects a color system of image data based on a function that has been selected by the reception unit, and when the color system selected by the selection unit is different from the previously selected color system, the reading unit And an instruction unit that outputs information indicating that the generation unit generates correction data when an image of a document is read, and the first predetermined number of reference values is: The reading means obtains a first predetermined number of reference images having different gradations formed on the original, and the generation means instructs the generation of correction data from the instruction means. When the information is received, the correction data suitable for the color system selected by the selection unit is generated, the generated correction data is overwritten on the correction data stored in the second storage unit, The correcting means corrects each pixel value of the image data generated by the reading means.
上記構成によれば、第1の格納手段に、読取手段により第1の所定数の基準画像を読み取って得られた第1の所定数の基準値と、これら第1の所定数の基準値の補正後の値をそれぞれ規定する第1の所定数の目標値と、が対応付けて格納されており、選択手段により選択された表色系が前回選択された表色系と異なる場合、読取手段により原稿の画像が読み取られる際に、指示手段によって、生成手段に対して補正データの生成を指示する旨の情報が出力される。そして、指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、生成手段によって、選択手段により選択された表色系に適した補正データが生成され、生成された補正データが第2の格納手段に格納されている補正データに上書きされる。そして、補正手段によって、第2の格納手段に格納されている補正データに従って読取手段により生成された画像データの各画素値が補正される。 According to the above configuration, in the first storage means, the reading means first and a predetermined number of reference values obtained by reading a first predetermined number of the reference image, these first predetermined number of reference value The first predetermined number of target values that define the corrected values are stored in association with each other, and when the color system selected by the selection unit is different from the color system selected last time, the reading unit When the image of the original is read by this, the instruction means outputs information for instructing the generation means to generate correction data. Then, when the information for instructing the generation of correction data is received from the instruction unit, the generation unit generates correction data suitable for the color system selected by the selection unit, and the generated correction data is The correction data stored in the second storage means is overwritten. Then, each pixel value of the image data generated by the reading unit is corrected by the correction unit according to the correction data stored in the second storage unit.
従って、第2の格納手段に、画像データが色空間変換される表色系毎に適した補正データを格納する必要がないため、第2の格納手段の記憶容量を削減することができる。また、読取手段により第1の所定数(例えば、13)の基準画像を読み取って得られた第1の所定数の基準値、及びこれらに対応する第1の所定数の目標値に基づいて生成された補正データに従って、読取手段により生成された画像データの各画素値が補正されるので、読取手段の特性に応じた補正を行うことができる。すなわち、機差に関係なく、精度の良い補正を行うことができる。 Therefore, it is not necessary to store correction data suitable for each color system in which image data is subjected to color space conversion in the second storage means, so that the storage capacity of the second storage means can be reduced. Further, the first predetermined number of reference values obtained by reading a first predetermined number (for example, 13) of reference images by the reading unit, and a first predetermined number of target values corresponding thereto are generated. According to the corrected data, each pixel value of the image data generated by the reading unit is corrected, so that correction according to the characteristics of the reading unit can be performed. That is, accurate correction can be performed regardless of machine differences.
請求項1記載の画像形成装置によれば、読取手段の特性に応じた補正を行うことができる。すなわち、機差に関係なく、精度の良い補正を行うことができる。 According to the image forming apparatus of the first aspect, it is possible to perform correction according to the characteristics of the reading unit. That is, accurate correction can be performed regardless of machine differences.
請求項2記載の画像形成装置によれば、例えば、第2の格納手段が揮発性記憶装置である場合、画像処理装置の電源が切断された際に、補正データが消去されるが、画像処理装置の電源が投入された際に、補正データが生成されるので、画像処理装置の電源が投入されている間は、補正データを保持することができる。 According to the image forming apparatus of the second aspect, for example, when the second storage unit is a volatile storage device, the correction data is erased when the power of the image processing apparatus is turned off. Since correction data is generated when the apparatus is turned on, the correction data can be held while the image processing apparatus is turned on.
請求項3記載の画像形成装置によれば、選択を受け付けた機能に基づいて選択された表色系に適した補正データに従って画像データが補正されるので、色空間変換後の画像データの色再現性が良好である。また、複数の表色系に適した補正データが表色系毎に生成されるため、データ量が多くなるが、複数の表色系に適した補正データは、第2の格納手段に格納されるので、不揮発性記憶装置の記憶容量を増加させる必要がない。
According to the image forming apparatus of
請求項4記載の画像形成装置によれば、第2の格納手段に、画像データが色空間変換される表色系毎に適した補正データを格納する必要がないため、第2の格納手段の記憶容量を削減することができる。また、読取手段の特性に応じた補正を行うことができる。すなわち、機差に関係なく、精度の良い補正を行うことができる。 According to the image forming apparatus of the fourth aspect, it is not necessary to store correction data suitable for each color system in which the image data is color space converted in the second storage unit. The storage capacity can be reduced. Further, correction according to the characteristics of the reading means can be performed. That is, accurate correction can be performed regardless of machine differences.
以下、本発明に係る実施形態を図面に基づいて説明する。本実施形態においては、本発明の画像処理装置をスキャナ機能、プリンタ機能、コピー機能、及びファクシミリ機能を有する画像形成装置に適用した場合について説明する。図1は、本実施形態に係る画像形成装置1の一例を示すブロック図である。図示するように、画像形成装置1は、制御部(MPU:Microprocessing Unit)2、ROM(Read Only Memory)3、RAM(Random Access Memory)4、CCD(Charge Coupled Device)5、AFE(Analog Front End)6、A/Dコンバータ7、スキャナ画像処理回路8、ページメモリ9、スキャナコーデック10、プリンタコーデック11、プリンタ画像処理回路12、プリンタ13、通信コーデック14、モデム15、NCU(Network Control Unit)16、I/F(Interface)部17、操作パネル18、及びEEPROM19を備えたものである。この画像形成装置1が備える本発明の画像処理装置は、制御部2、ROM3、RAM4、AFE6、A/Dコンバータ7、スキャナ画像処理回路8、ページメモリ9、スキャナコーデック10、プリンタコーデック11、プリンタ画像処理回路12、通信コーデック14、EEPROM19で構成されている。なお、本実施形態においては、ガンマ補正前の画素値毎にガンマ補正後の画素値が設定されたガンマ補正データに従って、複数の画素から構成される画像データの各画素値をガンマ補正する場合について説明する。
Embodiments according to the present invention will be described below with reference to the drawings. In this embodiment, a case where the image processing apparatus of the present invention is applied to an image forming apparatus having a scanner function, a printer function, a copy function, and a facsimile function will be described. FIG. 1 is a block diagram illustrating an example of an
制御部2は、ROM3に格納された制御プログラムに従って、この画像形成装置1を構成する各部を制御し、後述する平均化処理部24(図4参照)等として機能するものである。RAM4は、電力供給が停止した場合、すなわち、画像形成装置1の電源が切断された場合に、格納している内容が消去される揮発性記憶装置である。このRAM4は、制御部2のワークエリアとして機能するワークメモリ領域20(第2の格納手段に相当する)と、符号化されている画像データを格納する符号メモリ領域21と、を備える。また、ワークメモリ領域20には、ガンマ補正データが格納されている。
The
CCD5(読取手段に相当する)は、原稿の画像を読み取り、画像データを生成するものである。ここでは、原稿のカラー画像を読み取ってRGB表色系のアナログカラー画像データを生成し、AFE6に出力する。なお、CCD5において、原稿のモノクロ画像を読取ることも当然可能であるが、本実施形態においては、カラー画像を読取った場合について説明する。AFE6は、CCD5から出力されたアナログカラー画像データを増幅し、A/Dコンバータ7に出力するものである。A/Dコンバータ7は、AFE6から出力されたアナログカラー画像データをA/D変換するものである。ここでは、A/D変換されたデジタルのカラー画像データは、スキャナ画像処理回路8に出力される。なお、A/D変換されたデジタルのカラー画像データの各画素値は、8ビット、すなわち、0〜255の整数で表現される。
The CCD 5 (corresponding to a reading unit) reads an image of a document and generates image data. Here, the color image of the original is read to generate RGB color system analog color image data and output to the
スキャナ画像処理回路8(補正手段に相当する)は、A/Dコンバータ7から出力されたRGB表色系のカラー画像データに対し、ガンマ補正、色空間変換等を行うものである。具体的には、A/Dコンバータ7から出力された複数の画素から構成されるカラー画像データの各画素値をガンマ補正し、ガンマ補正したRGB表色系のカラー画像データをカラー画像データの用途に応じて色空間変換し、所定の出力先に出力する。例えば、CCD5により生成されたカラー画像データを用紙に印刷する場合(コピー機能)、スキャナ画像処理回路8は、RGB表色系のカラー画像データをLab表色系に色空間変換する。この場合、ガンマ補正は、ワークメモリ領域20に格納されているLab表色系用の(Lab表色系に適した)ガンマ補正データに従って行われる。また、例えば、CCD5により生成されたカラー画像データをファクシミリ送信する場合(ファクシミリ機能)、スキャナ画像処理回路8は、RGB表色系のカラー画像データをYCrCb表色系に色空間変換する。この場合、ガンマ補正は、YCrCb表色系用の(YCrCb表色系に適した)ガンマ補正データに従って行われる。また、例えば、CCD5により生成されたカラー画像データをパーソナルコンピュータ(以下、「PC」という。)22に送信する場合(スキャナ機能)、スキャナ画像処理回路8は、RGB表色系のカラー画像データを色空間変換せずにそのまま出力する。この場合、ガンマ補正は、RGB表色系用の(RGB表色系に適した)ガンマ補正データに従って行われる。スキャナ画像処理回路8から出力されたカラー画像データは、ページメモリ9に一時的に格納される。
A scanner image processing circuit 8 (corresponding to a correction unit) performs gamma correction, color space conversion, and the like on RGB color system color image data output from the A /
スキャナコーデック10は、カラー画像データを用紙に印刷する場合、又はファクシミリ送信する場合、ページメモリ9に格納されているカラー画像データを読み出して符号化し、符号化したカラー画像データをRAM4の符号メモリ領域21に書き込むものである。ここでは、スキャナコーデック10は、JPEG(Joint Photographic Experts Group)方式でカラー画像データを符号化する。
The
プリンタコーデック11は、カラー画像データを用紙に印刷する場合、符号メモリ領域21に格納されている符号化されたカラー画像データを読み出して復号し、プリンタ画像処理回路12に出力するものである。プリンタ画像処理回路12は、Lab表色系のカラー画像データに対して、色空間変換、2値化処理等を行う。ここでは、Lab表色系のカラー画像データに対して、例えば各成分1ビットのC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4成分によって表される出力表色系のカラー画像データに色空間変換した後に、誤差拡散処理等を行って2値化し、プリンタ13に出力する。プリンタ13は、プリンタ画像処理回路12から出力されたカラー画像データを用紙に印刷するものである。このプリンタ13における印刷方式としては、例えば、電子写真方式を用いることができる。
The
通信コーデック14は、カラー画像データをファクシミリ送信する場合、符号メモリ領域21から符号化されたカラー画像データを読み出して復号するとともに、ファクシミリ送信に適した符号化方式でカラー画像データを符号化するものである。ファクシミリ送信に適した符号化方式としては、例えば、MH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)等がある。なお、JPEG方式で符号化したカラー画像データをファクシミリ送信する場合があるが、この場合には、上記のような復号及び符号化の処理を行う必要がない。
When the color code data is transmitted by facsimile, the
モデム15は、例えばITU−T(国際電気通信連合電気通信標準化部門)の勧告V.30規格又はこれと同様のものに従った送受信データの変調及び復調を行うものである。NCU16は、電話回線を制御して電話をかけたり、切ったりする回線網制御装置であり、PSTN23に接続されている。制御部2は、このモデム15及びNCU16を制御してカラー画像データのファクシミリ送受信を行うことができる。
The
I/F部17は、PC22と画像形成装置1とを通信可能に接続するインターフェースである。このI/F部17を介して画像形成装置1からPC22にカラー画像データが送信されるようになっている。
The I /
操作パネル18(受付手段の一部に相当する)は、原稿の読取開始を指示するためのスタートキー、ファクシミリ番号やコピー部数等を入力するためのテンキー等を備える操作部、及び各種の設定状態や画像形成装置1の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプ等を備える表示部からなるものである。なお、液晶表示装置は、いわゆるタッチパネル式のものであり、操作部に代えて液晶表示装置の画面をユーザが指等で触れることにより各種の操作を行うこともできる。ユーザは、この操作パネル18から、CCD5により生成されるカラー画像データの用途、すなわち、CCD5により生成されたカラー画像データを用紙に印刷するコピー機能、ファクシミリ送信するファクシミリ機能、PC22に送信するスキャナ機能の内、いずれか1を選択することができる。制御部2のガンマ補正データ設定部30(図4参照)は、操作パネル18からユーザにより選択された機能を受け付けるようになっている。
An operation panel 18 (corresponding to a part of the accepting unit) includes an operation unit including a start key for instructing start of reading of a document, a numeric keypad for inputting a facsimile number, the number of copies, and the like, and various setting states. And a liquid crystal display device (LCD: Liquid Crystal Display) that displays the operation state of the
EEPROM(第1の格納手段に相当する)19は、電力供給がない場合、すなわち、画像形成装置1の電源が切断された場合でも、格納している内容が消えない不揮発性記憶装置である。このEEPROM19には、階調が異なる第1の所定数の基準画像をCCD5により読み取って得た第1の所定数の基準値と、これら第1の所定数の基準値のガンマ補正後の値をそれぞれ規定する第1の所定数の目標値と、が対応付けて格納されている。
The EEPROM (corresponding to the first storage means) 19 is a non-volatile storage device in which stored contents are not lost even when there is no power supply, that is, when the power of the
図2は、階調が異なる第1の所定数の基準画像A1乃至A13が形成(印刷)された原稿(以下、「テストチャート」という。)Tの一例を示した図である。基準画像A1が最も濃い階調の画像(黒画像)となっており、基準画像A2、基準画像A3、・・・の順に階調が淡くなっていき、基準画像A13が最も淡い階調の画像(白画像)となっている。第1の所定数の基準値は、この基準画像A1乃至A13をCCD5により読み取って得られるものである。本実施形態においては、13個の基準画像をCCD5により読み取って13個の基準値を得る場合、すなわち、第1の所定数が「13」である場合について説明する。なお、基準画像A1乃至A13は、無彩色のグレースケール画像である。
FIG. 2 is a diagram showing an example of a document T (hereinafter referred to as “test chart”) T on which a first predetermined number of reference images A1 to A13 having different gradations are formed (printed). The reference image A1 is an image (black image) with the darkest gradation, the gradation becomes lighter in the order of the reference image A2, the reference image A3,..., And the reference image A13 is an image with the lightest gradation. (White image). The first predetermined number of reference values are obtained by reading the reference images A1 to A13 with the
図3は、EEPROM19に格納されている第1の所定数の基準値、及び第1の所定数の目標値を示した図である。第1の所定数の基準値、及び第1の所定数の目標値は、R成分、G成分、B成分毎にEEPROM19に格納されている。ここで、R成分の基準値「19」は、基準画像A1をCCD5により読み取り、基準画像A1の画像データを構成する画素値を平均した値である。また、R成分の目標値「0」は、テストチャートTの基準画像A1に基づいて生成された値である。この基準画像A1を読み取って得たR成分の基準値「19」と、基準画像A1に基づいて生成されたR成分の目標値「0」とが対応付けられており、例えば、CCD5により生成されたカラー画像データを構成するR成分の画素値に「19」が含まれている場合は、スキャナ画像処理回路8によりその画素値が「0」に補正される。
FIG. 3 is a diagram showing a first predetermined number of reference values and a first predetermined number of target values stored in the
ところで、EEPROM19に格納されている基準値及び目標値は、それぞれ13個であるが、CCD5により生成されたカラー画像データを構成する画素は、0〜255の256個の画素値をとり得る。そのため、後述する制御部2のガンマ補正データ生成部28(図4参照)によって、EEPROM19に格納されている第1の所定数の基準値、及び第1の所定数の目標値に基づき、カラー画像データを構成する画素がとり得る、第1の所定数より大きい第2の所定数の画素値毎のガンマ補正後の値を規定するガンマ補正データが生成される。本実施形態では、カラー画像データを構成する画素が256個の画素値(0〜255の整数)をとり得る場合、すなわち、第2の所定数が第1の所定数「13」より大きい「256」である場合について説明する。
Incidentally, the reference value and the target value stored in the
なお、図3においては、RGB表色系用のガンマ補正データを生成する場合に使用される目標値を例示している。また、目標値は、予めテストチャートTの基準画像A1乃至A13に基づいて生成され、EEPROM19に格納されているが、基準値は、テストチャートTの基準画像A1乃至13を読み取るテストチャート読取モードが操作パネル18から指示された場合に、CCD5により基準画像A1乃至A13が読み取られてEEPROM19に格納される。
Note that FIG. 3 illustrates target values used when generating gamma correction data for the RGB color system. Further, the target value is generated in advance based on the reference images A1 to A13 of the test chart T and stored in the
次に、ガンマ補正データの生成等を行う制御部2の機能構成について説明する。制御部2は、平均化処理部24、判定処理部25、EEPROM管理部26、ガンマ補正データ生成指示出力部27、ガンマ補正データ生成部28、ワークメモリ領域管理部29、及びガンマ補正データ設定部30を備えるものである。
Next, a functional configuration of the
平均化処理部24は、操作パネル18から、ユーザ等によりテストチャート読取モードが指示され、CCD5によりテストチャートTの基準画像A1乃至A13が読み取られた場合に、各基準画像の画像データを構成する画素値を平均し、第1の所定数の基準値を算出するものである。上記のように、操作パネル18からテストチャート読取モードが指示された場合、CCD5により読み取られた基準画像A1乃至A13の画像データは、AFE6によるアナログ増幅、A/Dコンバータ7によるA/D変換が行われた後、平均化処理部24に出力される。
The averaging
判定処理部25は、CCD5によりテストチャートTの基準画像A1乃至A13が正常に読み取られたか否かを判定するものである。具体的には、第1の所定数の基準値が昇順、又は降順になっているか否かを判断し、昇順、又は降順になっていると判断した場合には、CCD5によりテストチャートTの基準画像A1乃至A13が正常に読み取られたと判定する。また、昇順、又は降順になっていないと判断した場合には、テストチャートTの基準画像A1乃至A13が正常に読み取られていないと判定する。
The
EEPROM管理部26は、EEPROM19へのデータの書き込み、EEPROM19からのデータの読み出しを行うものである。ここでは、EEPROM管理部26は、EEPROM19に平均化処理部24により算出された第1の所定数の基準値を書き込む。このとき、EEPROM管理部26は、図3に示したように、例えば基準画像A1を読み取って得た基準値と、基準画像A1に基づいて生成された目標値とが対応するよう、第1の所定数の基準値をEEPROM19に書き込み、EEPROM19は、第1の所定数の基準値と、第1の所定数の目標値と、を対応付けて格納する。ガンマ補正データ生成指示出力部27(指示手段に相当する)は、画像形成装置1の電源が投入された際に、ガンマ補正データ生成部28に対してガンマ補正データの生成を指示する旨の情報(以下、「生成指示」という。)を出力するものである。
The
ガンマ補正データ生成部28(生成手段の一部に相当する)は、ガンマ補正データ生成指示出力部27からガンマ補正データの生成指示が受け付けられた場合に、EEPROM19に格納されている第1の所定数の基準値、及び第1の所定数の目標値に基づいて、ガンマ補正データを生成する。すなわち、ガンマ補正データ生成部28は、ガンマ補正データ生成指示出力部27からガンマ補正データの生成指示が受け付けられた場合に、EEPROM管理部26に、第1の所定数の基準値及び第1の所定数の目標値の読み出しを指示する旨の情報(以下、「読み出し指示」という。)を出力し、EEPROM管理部26により読み出された第1の所定数の基準値及び第1の所定数の目標値に基づいて、ガンマ補正データを生成する。
The gamma correction data generation unit 28 (corresponding to a part of the generation unit) receives a first gamma correction data generation instruction output from the gamma correction data generation
図5(a)は、図3に示したR成分の第1の所定数の基準値、及び第1の所定数の目標値をグラフ上にプロットした図である。なお、グラフのX軸は基準値を示し、グラフのY軸は目標値を示している。また、点R0は、原点((X,Y)=(0,0))を示し、点R1乃至R13は、基準画像A1乃至A13を読み取って得た基準値、及び基準画像A1乃至A13に基づいて生成された目標値を示している。例えば、点R1=(X,Y)=(19,0)は、基準画像A1を読み取って得た基準値、及び基準画像A1に基づいて生成された目標値を示しており、点R2=(X,Y)=(26,40)は、基準画像A2を読み取って得た基準値、及び基準画像A2に基づいて生成された目標値を示している。ガンマ補正データ生成部28は、図5(a)に示した点R0乃至R13の隣接する2点間を補間する基準値及び目標値を取得し、ガンマ補正データを生成する。例えば、点R1、R2間を補間する基準値及び目標値を取得する場合、点R1、R2を結ぶ直線(図5(b)参照)は、Y=(40−0)/(26−19)*(X−19)=(40/7)*(X−19)となるが、ガンマ補正データ生成部28は、上式のXに20から26の整数を順次代入して得られるYを目標値として取得するとともに、Xに代入した値を基準値として取得する。すなわち、上式にX=20を代入した場合、Y=5.71・・・となり、「20」を基準値、「6」を基準値「20」に対応する目標値として取得する。また、上式にX=21を代入した場合、Y=11.42・・・となり、「21」を基準値、「11」を基準値「21」に対応する目標値として取得する。そして、取得した基準値と目標値とを対応付けたガンマ補正データを生成する。
FIG. 5A is a diagram in which the first predetermined number of reference values and the first predetermined number of target values of the R component shown in FIG. 3 are plotted on a graph. The X axis of the graph indicates a reference value, and the Y axis of the graph indicates a target value. Point R0 indicates the origin ((X, Y) = (0, 0)), and points R1 to R13 are based on the reference values obtained by reading the reference images A1 to A13 and the reference images A1 to A13. The target value generated is shown. For example, a point R1 = (X, Y) = (19, 0) indicates a reference value obtained by reading the reference image A1, and a target value generated based on the reference image A1, and the point R2 = ( X, Y) = (26, 40) indicates a reference value obtained by reading the reference image A2, and a target value generated based on the reference image A2. The gamma correction
このように、ガンマ補正データ生成部28は、点R0からR13の隣接する2点間を補間する基準値及び目標値を取得し、取得した基準値と目標値とを対応付けたガンマ補正データを生成する。図5(c)は、図3に示したR成分の基準値及び目標値に基づいて、ガンマ補正データ生成部28によって生成されたガンマ補正データの一部(基準値「19」から基準値「26」)を示した図である。スキャナ画像処理回路8は、このようなガンマ補正データに従ってカラー画像データの各画素値を補正する。例えば、カラー画像データを構成するR成分の画素に、画素値が「21」である画素が含まれている場合、当該画素の画素値を「11」に補正する。また、例えば、カラー画像データを構成するR成分の画素に画素値「25」の画素が含まれている場合、当該画素の画素値を「34」に補正する。なお、ここでは、RGB表色系用のガンマ補正データ(R成分)を生成する場合について説明したが、YCrCb表色系用、Lab表色系用のガンマ補正データを生成する場合も同様であり、ガンマ補正データ生成部28は、RGB表色系用、YCrCb表色系用、Lab表色系用のガンマ補正データを生成する。
As described above, the gamma correction
ワークメモリ領域管理部29(生成手段の一部に相当する)は、ワークメモリ領域20へのデータの書き込み、ワークメモリ領域20からのデータの読み出しを行うものである。ここでは、ワークメモリ領域管理部29は、ワークメモリ領域20にガンマ補正データ生成部28によって生成されたRGB表色系用、YCrCb表色系用、Lab表色系用のガンマ補正データを書き込む。ワークメモリ領域20は、RGB表色系用、YCrCb表色系用、Lab表色系用のガンマ補正データをそれぞれ格納する。
The work memory area management unit 29 (corresponding to a part of the generation unit) writes data into the
ガンマ補正データ設定部30(受付手段の一部に相当する、選択手段に相当する)は、スキャナ画像処理回路8のレジスタ31にガンマ補正データを設定するものである。具体的には、ユーザにより操作パネル18から選択された機能を受け付け、選択を受け付けた機能に基づいて、カラー画像データの表色系を選択する。例えば、スキャナ機能の選択を受け付けた場合は、カラー画像データを色空間変換する表色系として、RGB表色系を選択し(この場合は、色空間変換されない)、ファクシミリ機能の選択を受け付けた場合は、カラー画像データを色空間変換する表色系として、YCrCb表色系を選択し、コピー機能の選択を受け付けた場合は、カラー画像データを色空間変換する表色系として、Lab表色系を選択する。次に、選択した表色系に適したガンマ補正データの読み出し指示をワークメモリ領域管理部29に出力する。すなわち、RGB表色系を選択した場合は、RGB表色系用のガンマ補正データの読み出し指示を出力し、YCrCb表色系を選択した場合は、YCrCb表色系用のガンマ補正データの読み出し指示を出力し、Lab表色系を選択した場合は、Lab表色系用のガンマ補正データの読み出し指示を出力する。そして、ワークメモリ領域管理部29により読み出されたガンマ補正データをスキャナ画像処理回路8のレジスタ31に設定する。スキャナ画像処理回路8は、レジスタ31に設定されたガンマ補正データに従って、カラー画像データの各画素値をガンマ補正する。
A gamma correction data setting unit 30 (corresponding to a part of the accepting unit and corresponding to the selecting unit) sets gamma correction data in the
次に、操作パネル18からテストチャート読取モードが指定された場合の制御部2の処理動作について図6に示すフローチャートに基づいて説明する。まず、制御部2は、CCD5に対してテストチャートTの読み取りを指示する旨の情報(読み取り指示)を出力する(S1)。続いて、平均化処理部24は、CCD5により読み取られたテストチャートTの各基準画像A1乃至A13の画像データを構成する画素値を平均し、第1の所定数の基準値を算出する(S2)。
Next, the processing operation of the
次に、判定処理部25は、CCD5によりテストチャートTの基準画像A1乃至A13が正常に読み取られたか否かを判定する(S3)。判定処理部25によって、テストチャートTが正常に読み取られていないと判定された場合(S3:NO)、処理がS1に戻され、テストチャートTが正常に読み取られたと判定されるまで、S1乃至S3の処理が繰り返し実行される。判定処理部25によって、テストチャートTが正常に読み取られたと判定された場合(S3:YES)、EEPROM管理部26は、平均化処理部24によって算出された第1の所定数の基準値をEEPROM19に書き込む(S4)。
Next, the
次に、画像形成装置1の電源が投入された際の制御部2の処理動作について図7に示すフローチャートに基づいて説明する。まず、ガンマ補正データ生成指示出力部27は、ガンマ補正データ生成部28に対してガンマ補正データの生成指示を出力する(S11)。ガンマ補正データ生成部28は、ガンマ補正データ生成指示出力部27からのガンマ補正データの生成指示を受け付け、EEPROM管理部26に対して、第1の所定数の基準値、及び第1の所定数の目標値の読み出し指示を出力する(S12)。EEPROM管理部26は、第1の所定数の基準値、及び第1の所定数の目標値の読み出し指示を受け付け、EEPROM19から第1の所定数の基準値、及び第1の所定数の目標値を読み出す(S13)。ガンマ補正データ生成部28は、EEPROM管理部26によって読み出された第1の所定数の基準値、及び第1の所定数の目標値に基づいて、ガンマ補正データを生成する(S14)。このとき、ガンマ補正データ生成部28は、RGB表色系用、YCrCb表色系用、Lab表色系用のガンマ補正データを順に生成する。ワークメモリ領域管理部29は、ガンマ補正データ生成部28によって順次生成される各表色系用のガンマ補正データをワークメモリ領域20にそれぞれ書き込む(S15)。
Next, the processing operation of the
このように、EEPROM19に格納されている第1の所定数(本実施形態では、13個)の基準値、及び第1の所定数の目標値に基づいて、カラー画像データを構成する画素がとり得る、第1の所定数より大きい第2の所定数(本実施形態では、0〜255の256個)の画素値毎のガンマ補正後の値を規定するガンマ補正データが生成され、生成されたガンマ補正データがワークメモリ領域20に格納されているので、EEPROM19の記憶容量を削減することができる。
As described above, the pixels constituting the color image data are determined based on the first predetermined number (13 in the present embodiment) of reference values stored in the
また、画像形成装置1の電源が切断された際に、ワークメモリ領域20に格納されているガンマ補正データが消去されるが、画像形成装置1の電源が投入された際に、ガンマ補正データが生成されるので、画像形成装置1の電源が投入されている間は、ガンマ補正データを保持することができる。
Also, when the power of the
また、カラー画像データは、ユーザによって選択された機能に基づいて色空間変換されるが、選択を受け付けた機能に基づいて選択された表色系に適したガンマ補正データに従ってガンマ補正されるので、色空間変換後の色再現性が良好である。また、複数の表色系に適したガンマ補正データが表色系毎に生成されるため、データ量が多くなるが、複数の表色系に適したガンマ補正データは、ワークメモリ領域20に格納されるので、EEPROM19の記憶容量を増加させる必要がない。
Also, the color image data is color space converted based on the function selected by the user, but is gamma corrected according to the gamma correction data suitable for the color system selected based on the function that received the selection. Good color reproducibility after color space conversion. Further, since gamma correction data suitable for a plurality of color systems is generated for each color system, the amount of data increases, but gamma correction data suitable for a plurality of color systems is stored in the
また、CCD5により第1の所定数の基準画像A1乃至A13を読み取って得た第1の所定数の基準値、及びこれらに対応する第1の所定数の目標値に基づいて生成されたガンマ補正データに従って、CCD5により生成されたカラー画像データの各画素値がガンマ補正されるので、CCD5の特性に応じたガンマ補正を行うことができる。すなわち、機差に関係なく、精度の良いガンマ補正を行うことができる。
Further, the gamma correction generated based on the first predetermined number of reference values obtained by reading the first predetermined number of reference images A1 to A13 by the
なお、本発明は以下の態様をとることができる。
(A)本実施形態においては、画像形成装置1の電源が投入された際に、ガンマ補正データを生成するようになっていたが、原稿の読取開始命令があった際に、ガンマ補正データを生成するようにしてもよい。
In addition, this invention can take the following aspects.
(A) In this embodiment, the gamma correction data is generated when the power of the
具体的には、図8のフローチャートに示すように、ガンマ補正データ生成指示出力部27は、操作パネル18のスタートキーが操作されること等による、原稿の読取開始命令があったか否かを繰り返し判断する(S21)。ガンマ補正データ生成指示出力部27によって、原稿の読取開始命令があったと判断された場合(S21:YES)、ガンマ補正データ設定部30は、ユーザにより操作パネル18から選択された機能に基づいて、カラー画像データを色空間変換する表色系を選択する(S22)。続いて、ガンマ補正データ生成指示出力部27は、ガンマ補正データ設定部30により選択された表色系が、前回選択された表色系と異なるか否かを判断する(S23)。例えば、S22において選択された表色系がRGB表色系であり、前回選択された表色系がLab表色系である場合は、前回選択された表色系と異なると判断する。ガンマ補正データ生成指示出力部27は、前回選択された表色系と異なると判断した場合(S23:YES)、ガンマ補正データ生成部28に対して、ガンマ補正データの生成指示を出力する(S24)。ガンマ補正データ生成部28は、ガンマ補正データの生成指示を受け付け、EEPROM管理部26に対して、第1の所定数の基準値、及び第1の所定数の目標値の読み出し指示を出力する(S25)。EEPROM管理部26は、第1の所定数の基準値、及び第1の所定数の目標値の読み出し指示を受け付け、EEPROM19から第1の所定数の基準値、及び第1の所定数の目標値を読み出す(S26)。ガンマ補正データ生成部28は、EEPROM管理部26によって読み出された第1の所定数の基準値、及び第1の所定数の目標値に基づいて、ガンマ補正データを生成する(S27)。このとき、ガンマ補正データ生成部28は、ガンマ補正データ設定部30によって選択された表色系に適したガンマ補正データを生成する。ワークメモリ領域管理部29は、ガンマ補正データ生成部28によって生成されたガンマ補正データをワークメモリ領域20に書き込む(S28)。このとき、ワークメモリ領域管理部29は、ワークメモリ領域20にガンマ補正データが格納されている場合は、格納されているガンマ補正データに、S27においてガンマ補正データ生成部28によって生成されたガンマ補正データを上書きする。
Specifically, as shown in the flowchart of FIG. 8, the gamma correction data generation
一方、ガンマ補正データ生成指示出力部27によって、ガンマ補正データ設定部30により選択された表色系が、前回選択された表色系と同一であると判断された場合(S23:NO)、S25乃至S28の処理を行わずに、待機する。この後、スキャナ画像処理回路8によって、ワークメモリ領域20に格納されているガンマ補正データに従って、CCD5によって読み取られた原稿のカラー画像データの各画素値が補正される。
On the other hand, when the gamma correction data generation
このように、ガンマ補正データ生成指示出力部27は、ガンマ補正データ設定部30により選択された表色系が、前回選択された表色系と異なると判断した場合、ガンマ補正データ生成部28に対して、ガンマ補正データの生成指示を出力する。ガンマ補正データ生成部28は、ガンマ補正データの生成指示が受け付けられた場合に、ガンマ補正データ設定部30により選択された表色系に適したガンマ補正データを生成する。ワークメモリ領域管理部29は、ガンマ補正データ生成部28によって生成されたガンマ補正データをワークメモリ領域20に格納されているガンマ補正データに上書きする。そして、スキャナ画像処理回路8は、ワークメモリ領域20に格納されているガンマ補正データに従ってCCD5により生成されたカラー画像データの各画素値をガンマ補正する。従って、ワークメモリ領域20に、カラー画像データが色空間変換される表色系毎に適したガンマ補正データを格納する必要がないため、ワークメモリ領域20の記憶容量を削減することができる。
As described above, when the gamma correction data generation
(B)本実施形態においては、不揮発性記憶装置として、EEPROM19を使用した場合について説明したが、これに限定されるものではなく、例えば、ハードディスクであってもよい。
(B) In the present embodiment, the case where the
(C)本実施形態においては、画像形成装置1の電源が投入された際に、ガンマ補正データを生成するようになっていたが、RAM4が実装されたメイン基板(図1参照)が新たなメイン基板に交換された際に、ガンマ補正データを生成するようにしてもよい。
(C) In this embodiment, when the
(D)本実施形態においては、図5(a)及び図5(b)に示したように、点R0乃至R13の隣接する2点間を線形補間する基準値及び目標値を取得し、ガンマ補正データを生成するようになっていたが、これに限らず、例えば、点R0乃至R13の間を多項式補間、スプライン補間する基準値及び目標値を取得し、ガンマ補正データを生成するようにしてもよい。 (D) In this embodiment, as shown in FIGS. 5A and 5B, a reference value and a target value for linear interpolation between two adjacent points R0 to R13 are acquired, and gamma is obtained. The correction data is generated. However, the present invention is not limited to this. For example, reference values and target values for polynomial interpolation and spline interpolation between points R0 to R13 are acquired, and gamma correction data is generated. Also good.
(E)本実施形態においては、第1の所定数が「13」である場合(13個の基準画像を読み取って得られた13個の基準値と、13個の基準画像に基づいて生成された13個の目標値と、に基づいてガンマ補正データを生成する場合)について説明したが、これに限らず、第1の所定数は、「2」以上の数であればよく、例えば、15個の基準画像を読み取って得た15個の基準値と、15個の基準画像に基づいて生成された15個の基準画像と、に基づいてガンマ補正データを生成するようにしてもよい。 (E) In the present embodiment, when the first predetermined number is “13” (generated based on 13 reference values obtained by reading 13 reference images and 13 reference images). However, the present invention is not limited to this, and the first predetermined number may be a number equal to or greater than “2”. For example, 15 gamma correction data is generated based on 13 target values. The gamma correction data may be generated based on the 15 reference values obtained by reading the reference images and the 15 reference images generated based on the 15 reference images.
(F)本実施形態においては、CCD5により生成されるカラー画像データの画素値が0〜255の256個をとり得る場合、すなわち、読取手段として、0〜255の画素値を出力するCCDを使用する場合について説明したが、これに限らず、例えば、0〜512の画素値を出力する高性能のCCDを使用してもよい。この場合、第2の所定数は、本実施形態の「256」と異なり、「512」となる。
(F) In this embodiment, when the color image data generated by the
(G)本実施形態においては、CCD5により生成されたカラー画像データの各画素値をガンマ補正する場合について説明したが、CCD5によりモノクロ画像を読み取り、生成されたモノクロ画像データの各画素値をガンマ補正することも可能である。この場合、グレースケール用のガンマ補正データを生成し、グレースケール用のガンマ補正データに従ってモノクロ画像データの各画素値をガンマ補正する。
(G) In the present embodiment, the case where each pixel value of the color image data generated by the
(H)本実施形態においては、本発明の画像処理装置を、コピー機能、ファクシミリ機能、及びスキャナ機能を有する画像形成装置に適用した場合について説明したが、ガンマ補正を行う画像処理装置を具備した装置であれば、これに限定されるものではない。 (H) In the present embodiment, the case where the image processing apparatus of the present invention is applied to an image forming apparatus having a copy function, a facsimile function, and a scanner function has been described. However, an image processing apparatus that performs gamma correction is provided. The device is not limited to this as long as it is a device.
(I)本実施形態においては、複数の画素から構成される画像データの各画素値をガンマ補正データに従ってガンマ補正する場合について説明したが、補正前の画素値毎に補正後の画素値が設定された補正データに従って行われる補正(補正前の画素値と補正後の画素値とが1対1に対応付けられたテーブルによる補正)であれば、ガンマ補正に限定されるものではない。例えば、RGB表色系のカラー画像データのホワイトバランスを補正するホワイトバランス補正であってもよい。この場合、ホワイトバランス補正前の画素値毎にホワイトバランス補正後の画素値が設定されたホワイトバランス補正データに従って、RGB表色系のカラー画像データの各画素値を補正するようにすればよい。 (I) In this embodiment, a case has been described in which each pixel value of image data composed of a plurality of pixels is gamma-corrected according to gamma correction data. However, a pixel value after correction is set for each pixel value before correction. The correction is not limited to the gamma correction as long as the correction is performed according to the correction data (correction using a table in which the pixel values before correction and the pixel values after correction are correlated one-to-one). For example, white balance correction for correcting white balance of color image data of the RGB color system may be used. In this case, each pixel value of RGB color system color image data may be corrected in accordance with white balance correction data in which a pixel value after white balance correction is set for each pixel value before white balance correction.
(J)本実施形態においては、RGB表色系のカラー画像データの各画素値をガンマ補正する場合について説明したが、RGB表色系のカラー画像データに対する補正に限定されるものではなく、他の表色系の画像データに対する補正であってもよい。例えば、RGB表色系のカラー画像データがYCrCb(又はLab)表色系に変換された後の明度(輝度)成分であるY(又はL)のコントラストを補正するコントラスト補正であってもよい。 (J) In this embodiment, the case where each pixel value of RGB color system color image data is gamma-corrected has been described. However, the present invention is not limited to correction for RGB color system color image data. It is also possible to correct image data of the color system. For example, contrast correction for correcting the contrast of Y (or L) that is a lightness (luminance) component after the RGB color system color image data is converted to the YCrCb (or Lab) color system may be used.
1 画像形成装置(画像処理装置)
2 制御部
3 ROM
4 RAM
5 CCD(読取手段)
8 スキャナ画像処理回路(補正手段)
18 操作パネル(受付手段の一部)
19 EEPROM(第1の格納手段)
20 ワークメモリ領域(第2の格納手段)
27 ガンマ補正データ生成指示出力部(指示手段)
28 ガンマ補正データ生成部(生成手段の一部)
29 ワークメモリ領域管理部(生成手段の一部)
30 ガンマ補正データ設定部(選択手段、受付手段の一部)
1 Image forming device (image processing device)
2
4 RAM
5 CCD (reading means)
8 Scanner image processing circuit (correction means)
18 Operation panel (part of acceptance means)
19 EEPROM (first storage means)
20 Work memory area (second storage means)
27 Gamma correction data generation instruction output unit (instruction means)
28 Gamma correction data generation unit (part of generation means)
29 Work memory area management part (part of generation means)
30 Gamma correction data setting section (selection means, part of reception means)
Claims (4)
スキャナ、プリンタ、コピー、及びファクシミリの少なくとも2以上の機能を有する画像形成装置であって、前記複数の機能の内、いずれか1の選択を外部から受け付ける受付手段と、前記受付手段により選択を受け付けた機能に基づいて画像データの表色系を選択する選択手段と、を備え、
前記生成手段は、複数の表色系に適した補正データを表色系毎に生成して前記第2の格納手段にそれぞれ格納し、
前記補正手段は、前記第2の格納手段に格納されている各補正データの内、前記選択手段により選択された表色系に適した補正データに従って画像データの各画素値を補正することを特徴とする画像形成装置。 A non-volatile storage device and a volatile storage device are provided, and each pixel value of image data composed of a plurality of pixels is corrected according to correction data in which a corrected pixel value is set for each pixel value before correction. An image processing apparatus, wherein a first predetermined number of reference values of the pixel values are associated with a first predetermined number of target values that respectively define corrected values of the first predetermined number of reference values Image data based on a first storage means stored in the non-volatile storage device, a first predetermined number of reference values and a first predetermined number of target values stored in the first storage means Generating means for generating correction data defining a corrected value for each of a second predetermined number of pixel values larger than the first predetermined number that can be taken by the pixels constituting the correction data, and correction data generated by the generating means The second storage means for storing the data and the second storage means Comprising a correction means for correcting each pixel value of the image data, the image processing apparatus comprising according to the correction data being paid,
An image forming apparatus having at least two functions of a scanner, a printer, a copy, and a facsimile, wherein a receiving unit that accepts one of the plurality of functions is received from outside, and the selection is received by the receiving unit Selecting means for selecting the color system of the image data based on the function,
The generating means generates correction data suitable for a plurality of color systems for each color system and stores them in the second storage means,
The correction means corrects each pixel value of the image data according to correction data suitable for the color system selected by the selection means among the correction data stored in the second storage means. An image forming apparatus.
前記生成手段は、前記指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、前記補正データを生成し、
前記第2の格納手段は、前記生成手段により生成された補正データを前記揮発性記憶装置に格納することを特徴とする請求項1記載の画像形成装置。 An instruction unit that outputs information to instruct the generation unit to generate correction data when the power of the device is turned on;
The generation unit generates the correction data when information indicating the generation of correction data is received from the instruction unit;
It said second storage means, the image forming apparatus according to claim 1, wherein the storing the correction data generated by said generating means to said volatile storage.
前記第1の所定数の基準値は、前記読取手段により、原稿に形成された階調が異なる第1の所定数の基準画像を読み取って得られたものであり、The first predetermined number of reference values are obtained by reading the first predetermined number of reference images having different gradations formed on the original by the reading unit;
前記補正手段は、前記読取手段により生成された画像データの各画素値を補正することを特徴とする請求項1又は2記載の画像形成装置。The image forming apparatus according to claim 1, wherein the correction unit corrects each pixel value of the image data generated by the reading unit.
不揮発性記憶装置、及び揮発性記憶装置を有し、複数の画素から構成される画像データの各画素値を、補正前の画素値毎に補正後の画素値が設定された補正データに従って補正する画像処理装置であって、前記画素値の第1の所定数の基準値と前記第1の所定数の基準値の補正後の値をそれぞれ規定する第1の所定数の目標値とを対応付けて前記不揮発性記憶装置に格納する第1の格納手段と、前記第1の格納手段に格納されている第1の所定数の基準値及び第1の所定数の目標値に基づいて、画像データを構成する画素がとり得る前記第1の所定数より大きい第2の所定数の画素値毎の補正後の値を規定する補正データを生成する生成手段と、前記生成手段により生成された補正データを格納する第2の格納手段と、前記第2の格納手段に格納されている補正データに従って画像データの各画素値を補正する補正手段と、を備える画像処理装置と、A non-volatile storage device and a volatile storage device are provided, and each pixel value of image data composed of a plurality of pixels is corrected according to correction data in which a corrected pixel value is set for each pixel value before correction. An image processing apparatus, wherein a first predetermined number of reference values of the pixel values are associated with a first predetermined number of target values that respectively define corrected values of the first predetermined number of reference values Image data based on a first storage means stored in the non-volatile storage device, a first predetermined number of reference values and a first predetermined number of target values stored in the first storage means Generating means for generating correction data defining a corrected value for each of a second predetermined number of pixel values larger than the first predetermined number that can be taken by the pixels constituting the correction data, and correction data generated by the generating means The second storage means for storing the data and the second storage means And correction means for correcting each pixel value of the image data according to the correction data being paid, and the image processing apparatus comprising,
原稿の画像を読み取り、画像データを生成する読取手段と、前記複数の機能の内、いずれか1の選択を外部から受け付ける受付手段と、前記受付手段により選択を受け付けた機能に基づいて画像データの表色系を選択する選択手段と、前記選択手段により選択された表色系が前回選択された表色系と異なる場合、前記読取手段により原稿の画像が読み取られる際に、前記生成手段に対して補正データの生成を指示する旨の情報を出力する指示手段と、を備え、A reading unit that reads an image of a document and generates image data, a receiving unit that accepts a selection of any one of the plurality of functions, and a function that receives the selection by the receiving unit. When the color image system selected by the selection unit and the color system selected by the selection unit are different from the color system selected last time, when the image of the original is read by the reading unit, Output means for instructing the generation of correction data, and
前記第1の所定数の基準値は、前記読取手段により、原稿に形成された階調が異なる第1の所定数の基準画像を読み取って得られたものであり、The first predetermined number of reference values are obtained by reading the first predetermined number of reference images having different gradations formed on the original by the reading unit;
前記生成手段は、前記指示手段から補正データの生成を指示する旨の情報が受け付けられた場合に、前記選択手段により選択された表色系に適した補正データを生成し、生成した補正データを前記第2の格納手段に格納されている補正データに上書きし、The generation unit generates correction data suitable for the color system selected by the selection unit when information indicating that generation of correction data is instructed from the instruction unit, and generates the generated correction data. Overwriting the correction data stored in the second storage means,
前記補正手段は、前記読取手段により生成された画像データの各画素値を補正することを特徴とする画像形成装置。 The image forming apparatus, wherein the correction unit corrects each pixel value of the image data generated by the reading unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005242270A JP4155290B2 (en) | 2005-08-24 | 2005-08-24 | Image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005242270A JP4155290B2 (en) | 2005-08-24 | 2005-08-24 | Image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007060216A JP2007060216A (en) | 2007-03-08 |
JP4155290B2 true JP4155290B2 (en) | 2008-09-24 |
Family
ID=37923311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005242270A Expired - Fee Related JP4155290B2 (en) | 2005-08-24 | 2005-08-24 | Image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4155290B2 (en) |
-
2005
- 2005-08-24 JP JP2005242270A patent/JP4155290B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007060216A (en) | 2007-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4708460B2 (en) | Display control apparatus, image forming apparatus, display device control method, control program, and recording medium | |
JP4763027B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium | |
JP4865771B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium | |
US8659773B2 (en) | Image sending apparatus and preview display method | |
US20100007915A1 (en) | Image sending apparatus | |
US20090073516A1 (en) | Image forming apparatus | |
JP2007097171A (en) | Image forming apparatus and subtractive color printing method | |
JP4764938B2 (en) | Image processing apparatus, image forming apparatus, image processing apparatus control method, program, and recording medium | |
JP4909964B2 (en) | Image forming apparatus | |
US9019566B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and computer-readable storage medium containing image processing program | |
US20080043291A1 (en) | Image forming apparatus | |
US8553299B2 (en) | Color material usage estimating image processing apparatus, image forming apparatus, image processing method, and computer-readable recording medium on which image processing program is recorded | |
JP2008053905A (en) | Image forming apparatus, system, method and system, and recording medium | |
US7554556B2 (en) | Color image processing device and color image processing method | |
JP4795406B2 (en) | Image processing apparatus, image forming apparatus, image processing apparatus control method, control program, and recording medium | |
JP4155290B2 (en) | Image forming apparatus | |
JP4814162B2 (en) | Image processing apparatus and image processing method | |
JP4990340B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
JP4360328B2 (en) | Color image processing device | |
JP2006011754A (en) | Image processing device and image processing method | |
JP2005057598A (en) | Color image forming device and color image processor | |
JP5675867B2 (en) | Image forming apparatus | |
JP2005192152A (en) | Image processing apparatus and image color conversion processing method | |
JP2010093573A (en) | Image forming apparatus, and method and program for generating color conversion lookup table | |
JP2006345086A (en) | Image communication apparatus, control method of image communication apparatus, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080207 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080226 |
|
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: 20080617 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080630 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110718 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120718 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130718 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |