JP2002016805A - Gamma correction device - Google Patents

Gamma correction device

Info

Publication number
JP2002016805A
JP2002016805A JP2000197049A JP2000197049A JP2002016805A JP 2002016805 A JP2002016805 A JP 2002016805A JP 2000197049 A JP2000197049 A JP 2000197049A JP 2000197049 A JP2000197049 A JP 2000197049A JP 2002016805 A JP2002016805 A JP 2002016805A
Authority
JP
Japan
Prior art keywords
gamma correction
value
correction value
gamma
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000197049A
Other languages
Japanese (ja)
Other versions
JP3552996B2 (en
Inventor
Fumio Fujimura
文男 藤村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000197049A priority Critical patent/JP3552996B2/en
Priority to PCT/JP2001/005562 priority patent/WO2002001850A1/en
Publication of JP2002016805A publication Critical patent/JP2002016805A/en
Application granted granted Critical
Publication of JP3552996B2 publication Critical patent/JP3552996B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/407Control or modification of tonal gradation or of extreme levels, e.g. background level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Picture Signal Circuits (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a gamma correction device by which the memory capacity of the gamma correction value can be made small regardless of the size of input data. SOLUTION: A gamma correction value with respect to discreting input data is stored in a gamma correction value storing circuit 105. An appropriate gamma correction value is calculated by interpolation in a gamma correction value interpolating circuit 404, by using a pattern value containing corresponding input data from a pattern value storing circuit 408 which stores the degree of discreteness of the input data, and the gamma correction value stored in the gamma correction value storing circuit 105. Consequently, gamma correction is performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はガンマ補正装置に関
し、特に撮像装置としてイメージスキャナを用いる場合
のガンマ補正に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gamma correction device, and more particularly to a gamma correction when an image scanner is used as an imaging device.

【0002】[0002]

【従来の技術】従来のイメージスキャナにおいて、取り
込んだ画像を表示するモニタ等の表示装置との間で、入
力信号に対する出力信号の線形性を保つためにガンマ補
正が行われる。一般的には表示装置であるモニタはガン
マ=2.2の特性を持つため、イメージスキャナ側で
は、ガンマ=0.45となるようにガンマ補正を行い、
入力信号に対する出力信号の特性がリニアになるように
ガンマ補正を行う。
2. Description of the Related Art In a conventional image scanner, gamma correction is performed between a display device such as a monitor for displaying a captured image to maintain the linearity of an output signal with respect to an input signal. Generally, a monitor which is a display device has a characteristic of gamma = 2.2, so that the image scanner performs gamma correction so that gamma = 0.45.
Gamma correction is performed so that the characteristics of the output signal with respect to the input signal are linear.

【0003】実際のガンマ補正は図27に示すように、
入力信号に対するガンマ補正値を予め算出してガンマ補
正テーブルをROMに格納しておき、入力信号によって
ROMのアドレスを参照し、そのアドレスに格納されて
いるガンマ補正データを出力信号として出力することに
より実現することができる。
The actual gamma correction is as shown in FIG.
By calculating a gamma correction value for the input signal in advance and storing the gamma correction table in the ROM, referring to the address of the ROM by the input signal, and outputting the gamma correction data stored at that address as an output signal. Can be realized.

【0004】このガンマ特性はイメージスキャナの素子
毎に異なるが、ほとんどのイメージスキャナでは1個の
ガンマ補正値でしかガンマ補正を行わないため、素子毎
のガンマ特性の差により読み取り画像に色むらが生じた
り、すじが入ったりするなどの画質劣化が生じていた。
Although the gamma characteristic differs for each element of the image scanner, most image scanners perform gamma correction with only one gamma correction value. The image quality has deteriorated due to the occurrence of streaks or streaks.

【0005】そして、従来、この素子特性のばらつきを
おさえるために、シェーディング補正が行われている。
このシェーディング補正では、素子毎の黒レベルと白レ
ベルとを補正することで素子の特性のばらつきを抑える
ことができる。しかしながら、中間階調では、やはり特
性のばらつきが生じるため画質劣化が生じていた。
Conventionally, shading correction has been performed in order to suppress the variation in the element characteristics.
In this shading correction, variations in element characteristics can be suppressed by correcting the black level and white level of each element. However, in the case of the intermediate gradation, the characteristics also vary, so that the image quality is deteriorated.

【0006】さらに、上記ガンマ補正を行うために必要
なガンマ補正テーブルの記憶容量を減らす方法として、
素子毎のガンマ補正テーブルの容量を減らす目的ではな
いが、数種類のガンマ補正テーブルを機器に持たせる場
合に補正テーブル容量を減らす方法として、例えば、特
開平8−195895号公報に示される、ディジタルガ
ンマ補正方法及びその装置がある。
Further, as a method of reducing the storage capacity of the gamma correction table required for performing the above gamma correction,
Although the purpose is not to reduce the capacity of the gamma correction table for each element, as a method of reducing the capacity of the correction table when a device has several types of gamma correction tables, for example, a digital gamma correction method disclosed in Japanese Patent Application Laid-Open No. 8-195895 is used. There are correction methods and devices.

【0007】以下に、この従来例について詳しく説明す
る。図28は、従来のガンマ補正を行う装置を示すブロ
ック図である。図28において、2801はデータが入
力される入力端、2802は入力端2801からの信号
と後述するマイクロプロセッサの出力とを切り替えて出
力する入力選択部、2803は入力選択部2802から
出力される信号を処理するガンマ特性補正部、2804
は特性選択部、2805は特性選択部2804の出力を
受けるマイクロプロセッサ、2806は上記マイクロプ
ロセッサ2805へデータを供給するデータ貯蔵部であ
る。また、2806(1)〜2806(M)は上記デー
タ貯蔵部2806を構成するメモリを示している。
Hereinafter, the conventional example will be described in detail. FIG. 28 is a block diagram showing a conventional device for performing gamma correction. In FIG. 28, reference numeral 2801 denotes an input terminal to which data is input, 2802 denotes an input selection unit for switching and outputting a signal from the input terminal 2801 and an output of a microprocessor described later, and 2803 denotes a signal output from the input selection unit 2802. Gamma characteristic correction unit for processing 2804
Is a characteristic selection unit, 2805 is a microprocessor that receives the output of the characteristic selection unit 2804, and 2806 is a data storage unit that supplies data to the microprocessor 2805. Reference numerals 2806 (1) to 2806 (M) denote memories constituting the data storage unit 2806.

【0008】上記データ貯蔵部2806には、M個のガ
ンマ補正テーブルのデータが保存されており、各ガンマ
補正テーブルは一つの基準データと複数個の差分値とを
保存している。特性選択部2804から供給されるガン
マ特性選択信号により、マイクロプロセッサ2805が
データ貯蔵部2806から選択されたガンマ特性に応じ
たメモリから貯蔵されている基準データ、及び複数個の
差分値を読み出す。マイクロプロセッサ2805は読み
出された基準データ及び、複数個の差分値を用いてガン
マ特性テーブルを復元し、ガンマ特性補正部2803に
ルックアップテーブル形態で保存する。そして、ガンマ
特性補正部2803では、入力された映像データをアド
レスデータとして、そのアドレスに対応するガンマ補正
値を出力することでガンマ補正が行われる。
The data storage unit 2806 stores data of M gamma correction tables, and each gamma correction table stores one reference data and a plurality of difference values. According to the gamma characteristic selection signal supplied from the characteristic selection unit 2804, the microprocessor 2805 reads the reference data stored from the memory corresponding to the gamma characteristic selected from the data storage unit 2806, and a plurality of difference values. The microprocessor 2805 restores the gamma characteristic table using the read reference data and the plurality of difference values, and stores the gamma characteristic table in the gamma characteristic correction unit 2803 in the form of a lookup table. Then, the gamma correction unit 2803 performs gamma correction by using the input video data as address data and outputting a gamma correction value corresponding to the address.

【0009】上記データ貯蔵部2806には、ガンマ補
正テーブルをそのまま記憶させるのではなく、基準デー
タと複数個の差分値とを記憶することで記憶容量の削減
を行っている。例えば、ガンマ特性が図29に示すよう
な場合、データ貯蔵部2806には、入力データX
(1)に対応するガンマ補正値G(1)を基準データに
記憶させ、残りのガンマ補正値は、 DG(k)=G(k)−G(k−1) の関係を有する差分値DG(k)の形態で記憶する。す
なわち隣接する入力値に対するガンマ補正値の差分値を
算出して記憶するようにする。
The data storage unit 2806 does not store the gamma correction table as it is, but reduces the storage capacity by storing reference data and a plurality of difference values. For example, when the gamma characteristic is as shown in FIG. 29, the data storage unit 2806 stores the input data X
The gamma correction value G (1) corresponding to (1) is stored in the reference data, and the remaining gamma correction values are difference values DG having a relationship of DG (k) = G (k) -G (k-1). It is stored in the form of (k). That is, a difference value between the gamma correction values for adjacent input values is calculated and stored.

【0010】基準データと差分値からガンマ補正データ
を復元するには、基準データからk番目までの差分値を
積算することにより復元することができる。このように
基準データ以外は差分値となるため記憶容量を小さくす
ることができる。
To restore the gamma correction data from the reference data and the difference value, the gamma correction data can be restored by integrating the k-th difference value from the reference data. As described above, since the values other than the reference data are difference values, the storage capacity can be reduced.

【0011】しかしながら、従来のガンマ補正装置で
は、低階調領域、すなわち入力データの値が小さい領域
では、ガンマ特性の変化量が大きくなるため、記憶容量
が小さくならないという問題があった。例えば、ある素
子のガンマ補正データが図30(a)に示すようなガン
マ補正特性であった場合、入力データに対するガンマ補
正値は図30(b)に示すようになる。ここで入力デー
タ1に対応するガンマ補正値5を基準データとした場
合、入力データ2に対応する差分値は、 22−5=17 となる。同様に入力データ3に対応する差分値は12、
入力データ4に対応する差分値は6となる。差分値を記
憶するための容量は差分値の最大値を記憶できるように
しなければならないので、この場合、17を記憶するた
めに5ビットの記憶容量が必要となる。このように入力
データが小さい領域では素子のガンマ特性によって差分
値が小さくならず、ガンマ補正値の記憶容量を小さくで
きない場合があった。
However, the conventional gamma correction apparatus has a problem that the storage capacity does not decrease in a low gradation area, that is, in an area where the value of input data is small, because the amount of change in gamma characteristics is large. For example, when the gamma correction data of a certain element has the gamma correction characteristic as shown in FIG. 30A, the gamma correction value for the input data is as shown in FIG. Here, when the gamma correction value 5 corresponding to the input data 1 is used as the reference data, the difference value corresponding to the input data 2 is 22-5 = 17. Similarly, the difference value corresponding to the input data 3 is 12,
The difference value corresponding to the input data 4 is 6. Since the capacity for storing the difference value must be able to store the maximum value of the difference value, in this case, a storage capacity of 5 bits is required to store 17. As described above, in the area where the input data is small, the difference value is not reduced due to the gamma characteristic of the element, and the storage capacity of the gamma correction value cannot be reduced in some cases.

【0012】また、従来のガンマ補正装置は、素子毎に
異なるガンマ補正値でガンマ補正を行うものでなく、素
子毎に同一のガンマ補正値でガンマ補正を行うものであ
るため、素子毎に同一のガンマ補正テーブルを複数用意
してガンマ補正を行うことはできるものの、素子毎に異
なるガンマ補正を行うことはできなかった。
Further, the conventional gamma correction apparatus does not perform gamma correction with a different gamma correction value for each element, but performs gamma correction with the same gamma correction value for each element. Gamma correction can be performed by preparing a plurality of gamma correction tables, but different gamma corrections cannot be performed for each element.

【0013】[0013]

【発明が解決しようとする課題】従来のガンマ補正装置
は以上のように構成されており、素子毎に同一のガンマ
補正テーブルを複数用意してガンマ補正を行うために十
分に画質劣化を防止できるものではなかった。また、入
力データが小さい領域では素子のガンマ特性によって差
分値が小さくならず、ガンマ補正値の記憶容量を効率的
に低減することができないという問題点があった。
The conventional gamma correction apparatus is configured as described above. Since the same gamma correction table is prepared for each element and gamma correction is performed, image quality deterioration can be sufficiently prevented. It was not something. Further, in a region where the input data is small, the difference value does not become small due to the gamma characteristic of the element, so that the storage capacity of the gamma correction value cannot be reduced efficiently.

【0014】この発明は以上のような問題点を解消する
ためになされたもので、高精度なガンマ補正を行うこと
ができるガンマ補正装置を提供することを目的とする。
また、入力データの大きさに関わらず、ガンマ補正値の
記憶容量を小さいものとすることができるガンマ補正装
置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a gamma correction device capable of performing gamma correction with high accuracy.
It is another object of the present invention to provide a gamma correction device capable of reducing the storage capacity of a gamma correction value regardless of the size of input data.

【0015】[0015]

【課題を解決するための手段】本発明の請求項1にかか
るガンマ補正装置は、複数の撮像素子のガンマ特性を補
正するガンマ補正装置において、すべての撮像素子のガ
ンマ補正値を記憶するガンマ補正値記憶手段と、上記ガ
ンマ補正値記憶手段から素子毎のガンマ補正値を選択す
るガンマ補正値選択手段と、上記ガンマ補正値選択手段
によって選択されたガンマ補正値を用いて素子毎に個別
のガンマ補正を行うガンマ補正手段とを備えたものであ
る。
A gamma correction device according to a first aspect of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices. The gamma correction device stores gamma correction values of all image pickup devices. Value storage means, gamma correction value selection means for selecting a gamma correction value for each element from the gamma correction value storage means, and individual gamma for each element using the gamma correction value selected by the gamma correction value selection means. Gamma correction means for performing correction.

【0016】また、本発明の請求項2にかかるガンマ補
正装置は、上記請求項1記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶してお
り、上記ガンマ補正値記憶手段に記憶してある所定の画
像の入力値とガンマ補正値とから補間処理を行い、素子
毎のガンマ補正値を算出するガンマ補正値補間手段を備
えたものである。
According to a second aspect of the present invention, there is provided the gamma correction apparatus according to the first aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating unit that stores a correction value, performs an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage unit, and calculates a gamma correction value for each element. It is provided with.

【0017】また、本発明の請求項3にかかるガンマ補
正装置は、上記請求項1記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶する際
に、低階調部のガンマ補正値をより多く記憶するもので
ある。
According to a third aspect of the present invention, there is provided a gamma correction apparatus according to the first aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. When the correction value is stored, the gamma correction value of the low gradation part is stored more.

【0018】また、本発明の請求項4にかかるガンマ補
正装置は、複数の撮像素子のガンマ特性を補正するガン
マ補正装置において、基準素子のガンマ補正値と、位置
的に隣接する素子どうしのガンマ補正値の差分値を予め
定めた記憶容量で記憶するガンマ補正値記憶手段と、上
記ガンマ補正値記憶手段に記憶したガンマ補正値から素
子毎のガンマ補正値を、基準素子は記憶してあるガンマ
補正値を用い、それ以外の素子では基準素子のガンマ補
正値に素子位置までの差分値を積算して算出するガンマ
補正値算出手段と、上記算出したガンマ補正値から素子
毎にガンマ補正を行うガンマ補正手段とを備えたもので
ある。
A gamma correction device according to a fourth aspect of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a gamma correction value of a reference device and a gamma correction value of a gamma correction value of a positionally adjacent device. A gamma correction value storage means for storing a difference value of the correction value with a predetermined storage capacity; a gamma correction value for each element from the gamma correction value stored in the gamma correction value storage means; A gamma correction value calculating unit that calculates a value obtained by integrating the difference value up to the element position with the gamma correction value of the reference element using the correction value, and performs gamma correction for each element from the calculated gamma correction value. Gamma correction means.

【0019】また、本発明の請求項5にかかるガンマ補
正装置は、上記請求項4記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶してお
り、上記ガンマ補正値記憶手段に記憶してある所定の画
像の入力値とガンマ補正値とから補間処理を行い、素子
毎のガンマ補正値を算出するガンマ補正値補間手段を備
えたものである。
According to a fifth aspect of the present invention, there is provided a gamma correction apparatus according to the fourth aspect, wherein the gamma correction value storage means stores the gamma for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating unit that stores a correction value, performs an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage unit, and calculates a gamma correction value for each element. It is provided with.

【0020】また、本発明の請求項6にかかるガンマ補
正装置は、上記請求項4記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶する際
に、低階調部のガンマ補正値をより多く記憶するもので
ある。
According to a sixth aspect of the present invention, there is provided a gamma correction apparatus according to the fourth aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. When the correction value is stored, the gamma correction value of the low gradation part is stored more.

【0021】また、本発明の請求項7にかかるガンマ補
正装置は、複数の撮像素子のガンマ特性を補正するガン
マ補正装置において、基準素子のガンマ補正値と、位置
的に隣接する素子どうしのガンマ補正値の差分値を予め
定めた記憶容量で記憶し、差分値が予め定めた記憶容量
を超過した場合、隣接する素子では差分値に超過した値
を加算して記憶するガンマ補正値記憶手段と、上記ガン
マ補正値記憶手段に記憶したガンマ補正値から素子毎の
ガンマ補正値を、基準素子は記憶してあるガンマ補正値
を用い、それ以外の素子では基準素子のガンマ補正値に
素子位置までの差分値を積算して算出するガンマ補正値
算出手段と、上記算出したガンマ補正値から素子毎にガ
ンマ補正を行うガンマ補正手段とを備えたものである。
A gamma correction device according to a seventh aspect of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a gamma correction value of a reference device and a gamma correction value of a device adjacent in position are used. Gamma correction value storage means for storing the difference value of the correction value with a predetermined storage capacity, and when the difference value exceeds the predetermined storage capacity, an adjacent element adds and stores the excess value to the difference value. The gamma correction value for each element is used from the gamma correction value stored in the gamma correction value storage means, the stored gamma correction value is used for the reference element, and the gamma correction value of the reference element is used for other elements to the element position. And a gamma correction unit for performing gamma correction for each element from the calculated gamma correction value.

【0022】また、本発明の請求項8にかかるガンマ補
正装置は、上記請求項7記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶してお
り、上記ガンマ補正値記憶手段に記憶してある所定の画
像の入力値とガンマ補正値とから補間処理を行い、素子
毎のガンマ補正値を算出するガンマ補正値補間手段を備
えたものである。
The gamma correction device according to claim 8 of the present invention is the gamma correction device according to claim 7, wherein the gamma correction value storage means stores a gamma for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating unit that stores a correction value, performs an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage unit, and calculates a gamma correction value for each element. It is provided with.

【0023】また、本発明の請求項9にかかるガンマ補
正装置は、上記請求項7記載のガンマ補正装置におい
て、上記ガンマ補正値記憶手段は、所定の画像を読み取
った離散的な入力値に対するガンマ補正値を記憶する際
に、低階調部のガンマ補正値をより多く記憶するもので
ある。
According to a ninth aspect of the present invention, there is provided the gamma correction apparatus according to the seventh aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. When the correction value is stored, the gamma correction value of the low gradation part is stored more.

【0024】また、本発明の請求項10にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、素子のガンマ補正値の平均値
と、その平均値と各素子毎のガンマ補正値の差分値を記
憶したガンマ補正値記憶手段と、上記ガンマ補正値記憶
手段に記憶したガンマ補正値から素子毎のガンマ補正値
を、ガンマ補正値の平均値に素子毎の差分値を加算した
値から算出するガンマ補正値算出手段と、上記算出した
ガンマ補正値から素子毎にガンマ補正を行うガンマ補正
手段とを備えたものである。
A gamma correction apparatus according to a tenth aspect of the present invention is a gamma correction apparatus for correcting gamma characteristics of a plurality of image pickup devices, wherein an average value of the gamma correction values of the elements, Gamma correction value storage means for storing a difference value of the gamma correction values of the elements, and a gamma correction value for each element from the gamma correction values stored in the gamma correction value storage means, and a difference value for each element to an average value of the gamma correction values. And gamma correction means for performing gamma correction for each element from the calculated gamma correction value.

【0025】また、本発明の請求項11にかかるガンマ
補正装置は、上記請求項10記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶して
おり、上記ガンマ補正値記憶手段に記憶してある所定の
画像の入力値とガンマ補正値とから補間処理を行い、素
子毎のガンマ補正値を算出するガンマ補正値補間手段を
備えたものである。
The gamma correction device according to claim 11 of the present invention is the gamma correction device according to claim 10, wherein the gamma correction value storage means stores gamma for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating unit that stores a correction value, performs an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage unit, and calculates a gamma correction value for each element. It is provided with.

【0026】また、本発明の請求項12にかかるガンマ
補正装置は、上記請求項10記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶する
際に、低階調部のガンマ補正値をより多く記憶するもの
である。
A gamma correction apparatus according to a twelfth aspect of the present invention is the gamma correction apparatus according to the tenth aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. When the correction value is stored, the gamma correction value of the low gradation part is stored more.

【0027】また、本発明の請求項13にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、基準素子のガンマ補正値と、位
置的に隣接する素子どうしのガンマ補正値の差分値とそ
のデータ長を記憶するガンマ補正値記憶手段と、上記ガ
ンマ補正値記憶手段に記憶したガンマ補正値から素子毎
のガンマ補正値を、基準素子は記憶してあるガンマ補正
値によりガンマ補正を行い、それ以外の素子では基準素
子のガンマ補正値に素子位置までの差分値を積算した値
から算出するガンマ補正値算出手段と、上記算出したガ
ンマ補正値から素子毎にガンマ補正を行うガンマ補正手
段とを備えたものである。
A gamma correction apparatus according to a thirteenth aspect of the present invention is a gamma correction apparatus for correcting gamma characteristics of a plurality of image pickup devices, wherein a gamma correction value of a reference device and a gamma correction value of a positionally adjacent device. A gamma correction value storing means for storing a difference value of the correction value and its data length; a gamma correction value for each element from the gamma correction value stored in the gamma correction value storing means; A gamma correction value calculating means for calculating a gamma correction value by integrating a difference value up to an element position with a gamma correction value of a reference element for other elements, and gamma correction for each element from the calculated gamma correction value. And gamma correction means for performing the following.

【0028】また、本発明の請求項14にかかるガンマ
補正装置は、上記請求項13記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶して
おり、上記ガンマ補正値記憶手段に記憶してある所定の
画像の入力値とガンマ補正値とから補間処理を行い、素
子毎のガンマ補正値を算出するガンマ補正値補間手段を
備えたものである。
The gamma correction device according to a fourteenth aspect of the present invention is the gamma correction device according to the thirteenth aspect, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating unit that stores a correction value, performs an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage unit, and calculates a gamma correction value for each element. It is provided with.

【0029】また、本発明の請求項15にかかるガンマ
補正装置は、上記請求項13記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶する
際に、低階調部のガンマ補正値をより多く記憶するもの
である。
The gamma correction device according to a fifteenth aspect of the present invention is the gamma correction device according to the thirteenth aspect, wherein the gamma correction value storage means stores the gamma for a discrete input value obtained by reading a predetermined image. When the correction value is stored, the gamma correction value of the low gradation part is stored more.

【0030】また、本発明の請求項16にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、複数のガンマ補正テーブルを記
憶するガンマ補正テーブル記憶手段と、素子毎にガンマ
補正テーブルを選択するための選択情報を記憶するガン
マ補正テーブル選択情報記憶手段と、上記ガンマ補正テ
ーブル記憶手段と上記ガンマ補正テーブル選択情報記憶
手段とから素子毎に対応したガンマ補正テーブルを選択
するガンマ補正テーブル選択手段と、選択したガンマ補
正テーブルによりガンマ補正を行うガンマ補正手段とを
備えたものである。
A gamma correction device according to claim 16 of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a gamma correction table storage means for storing a plurality of gamma correction tables, Gamma correction table selection information storage means for storing selection information for selecting a gamma correction table, and a gamma correction table corresponding to each element is selected from the gamma correction table storage means and the gamma correction table selection information storage means. Gamma correction table selecting means for performing gamma correction based on the selected gamma correction table.

【0031】また、本発明の請求項17にかかるガンマ
補正装置は、上記請求項16記載のガンマ補正装置にお
いて、上記ガンマ補正テーブル記憶手段は、ガンマ補正
量が最も小さいガンマ補正テーブル、あるいはガンマ補
正量が最も大きいガンマ補正テーブルを基準のガンマ補
正テーブルとして記憶し、その他のガンマ補正テーブル
は、基準のガンマ補正テーブルがガンマ補正量の最も小
さいガンマ補正テーブルを用いる場合は、ガンマ補正量
が小さい順番にガンマ補正テーブルを並べた場合に順番
が隣り合うガンマ補正値の差分値を記憶し、一方、基準
のガンマ補正テーブルとしてガンマ補正量の最も大きい
ガンマ補正テーブルを用いる場合は、ガンマ補正量が大
きい順番にガンマ補正テーブルを並べた場合に順番が隣
り合うガンマ補正値の差分値を記憶し、上記基準のガン
マ補正テーブルと差分値とからガンマ補正テーブルを算
出するガンマ補正テーブル算出手段を備えたものであ
る。
According to a seventeenth aspect of the present invention, in the gamma correction apparatus according to the sixteenth aspect, the gamma correction table storage means includes a gamma correction table or a gamma correction table having the smallest gamma correction amount. The gamma correction table with the largest amount is stored as the reference gamma correction table, and the other gamma correction tables are arranged in the order of the smallest gamma correction amount when the reference gamma correction table uses the gamma correction table with the smallest gamma correction amount. When the gamma correction tables are arranged, the difference value between the gamma correction values adjacent to each other is stored. On the other hand, when the gamma correction table having the largest gamma correction amount is used as the reference gamma correction table, the gamma correction amount is large. Gamma correction that is adjacent in order when gamma correction tables are arranged in order Storing the difference value, it is obtained with a gamma correction table calculating means for calculating the gamma correction table and a gamma correction table and the difference value of the reference.

【0032】また、本発明の請求項18にかかるガンマ
補正装置は、上記請求項16記載のガンマ補正装置にお
いて、上記ガンマ補正テーブル選択手段は、素子のガン
マ補正テーブルと、ガンマ補正テーブル記憶手段に記憶
してある複数のガンマ補正テーブルとで、ガンマ補正値
の最小二乗和が最も小さくなるガンマ補正テーブルを選
択するものである。
The gamma correction apparatus according to claim 18 of the present invention is the gamma correction apparatus according to claim 16, wherein the gamma correction table selecting means includes a gamma correction table for the element and a gamma correction table storage means. The gamma correction table that minimizes the least square sum of the gamma correction values among the plurality of stored gamma correction tables is selected.

【0033】また、本発明の請求項19にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、基準素子の素子特性補正値と、
位置的に隣接する素子どうしの素子特性補正値の差分値
を予め定めた記憶容量でガンマ補正前の特性補正値を記
憶する素子特性補正値記憶手段と、上記素子特性補正値
記憶手段に記憶した素子特性補正値から素子毎の素子特
性補正値を、基準素子は記憶してある素子特性補正値に
よりガンマ補正値を算出し、それ以外の素子では基準素
子の素子特性補正値に素子位置までの差分値を積算した
値から算出する素子特性補正値算出手段と、上記算出し
た素子毎の特性補正値から素子毎にガンマ補正値を算出
するガンマ補正値算出手段と、上記算出したガンマ補正
値から素子毎にガンマ補正を行うガンマ補正手段とを備
えたものである。
A gamma correction device according to a nineteenth aspect of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein the gamma correction device corrects the gamma characteristics of a plurality of image pickup devices,
An element characteristic correction value storage unit that stores a characteristic correction value before gamma correction with a predetermined storage capacity and a difference value between element characteristic correction values of elements adjacent in position are stored in the element characteristic correction value storage unit. The element characteristic correction value for each element is calculated from the element characteristic correction value, and the gamma correction value is calculated for the reference element based on the stored element characteristic correction value for the reference element. An element characteristic correction value calculation unit that calculates the difference value from the integrated value, a gamma correction value calculation unit that calculates a gamma correction value for each element from the calculated characteristic correction value for each element, and a gamma correction value calculated from the calculated gamma correction value. Gamma correction means for performing gamma correction for each element.

【0034】また、本発明の請求項20にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性記憶手段は、位置的に隣接する素子
どうしの素子特性補正値の差分値を予め定めた記憶容量
で記憶し、差分値が予め定めた記憶容量を超過した場
合、隣接する素子では差分値に超過した値を加算して記
憶するものである。
In the gamma correction apparatus according to a twentieth aspect of the present invention, in the gamma correction apparatus according to the nineteenth aspect, the element characteristic storage means stores a difference between element characteristic correction values of elements adjacent in position. The value is stored in a predetermined storage capacity, and when the difference value exceeds the predetermined storage capacity, an adjacent element adds and stores the excess value.

【0035】また、本発明の請求項21にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性補正値記憶手段は、素子の素子特性
補正値の平均値と、その平均値と各素子毎の素子特性補
正値の差分値を記憶し、上記素子特性補正値算出手段
は、各素子毎に素子特性補正値の平均値に素子毎の差分
値を加算した値から素子特性補正値を算出するものであ
る。
In the gamma correction apparatus according to a twenty-first aspect of the present invention, in the gamma correction apparatus according to the nineteenth aspect, the element characteristic correction value storage means stores the average value of the element characteristic correction values of the elements, The difference value between the average value and the element characteristic correction value for each element is stored, and the element characteristic correction value calculation means calculates the element value from the value obtained by adding the difference value for each element to the average value of the element characteristic correction value for each element. This is for calculating a characteristic correction value.

【0036】また、本発明の請求項22にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性記憶手段は、位置的に隣接する素子
どうしの素子特性補正値の差分値をそのデータ長と共に
記憶するものである。
In the gamma correction apparatus according to a twenty-second aspect of the present invention, in the gamma correction apparatus according to the nineteenth aspect, the element characteristic storage means stores a difference between element characteristic correction values of elements adjacent in position. The value is stored together with the data length.

【0037】また、本発明の請求項23にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性補正値記憶手段は、所定の画像を読
み取った離散的な入力値に対する素子特性補正値を記憶
し、上記素子特性補正値補間手段は、上記素子特性補正
値記憶手段に記憶してある所定の画像の入力値と素子特
性補正値とから補間処理を行って素子毎の素子特性補正
値を算出するものである。
The gamma correction device according to claim 23 of the present invention is the gamma correction device according to claim 19, wherein the element characteristic correction value storage means stores a discrete input value obtained by reading a predetermined image. The element characteristic correction value is stored, and the element characteristic correction value interpolating means performs an interpolation process from the input value of the predetermined image and the element characteristic correction value stored in the element characteristic correction value storing means, and performs an interpolation process for each element. An element characteristic correction value is calculated.

【0038】また、本発明の請求項24にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性補正値記憶手段は、所定の画像を読
み取った離散的な入力値に対する素子特性補正値を記憶
させる際に、低階調部の素子特性補正値をより多く記憶
させるものである。
In the gamma correction apparatus according to a twenty-fourth aspect of the present invention, in the gamma correction apparatus according to the nineteenth aspect, the element characteristic correction value storing means stores a discrete input value obtained by reading a predetermined image. When the element characteristic correction value is stored, the element characteristic correction value of the low gradation part is stored more.

【0039】[0039]

【発明の実施の形態】(実施の形態1.)以下に、本発
明の実施の形態1にかかるガンマ補正装置について、図
を参照しながら説明する。図1は本実施の形態1のガン
マ補正装置の構成を示すブロック図である。図1におい
て、101はCCD等の撮像素子、102はCCD10
1の出力をデジタルに変換するA/Dコンバータ、10
3はA/Dコンバータ102の出力を受けるガンマ補正
回路、104はガンマ補正値記憶回路105から必要な
ガンマ補正値を選択して取り出すガンマ補正テーブル選
択回路、106は素子選択回路である。
Embodiment 1 Hereinafter, a gamma correction device according to Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of the gamma correction device according to the first embodiment. In FIG. 1, reference numeral 101 denotes an image sensor such as a CCD, and 102 denotes a CCD 10
A / D converter for converting the output of 1 into digital, 10
Reference numeral 3 denotes a gamma correction circuit that receives the output of the A / D converter 102; 104, a gamma correction table selection circuit that selects and extracts a required gamma correction value from a gamma correction value storage circuit 105; and 106, an element selection circuit.

【0040】以下、動作について説明する。撮像素子1
01で入力画像を取り込み、A/Dコンバータ102で
入力信号をデジタル化した後、各素子毎に個別のガンマ
補正値を用いてガンマ補正回路103にてガンマ補正を
行う。ここで、素子毎のガンマ補正値は、ガンマ補正値
記憶回路105に記憶してあるガンマ補正テーブルか
ら、該当する素子のガンマ補正テーブルをガンマ補正テ
ーブル選択回路104にて選択し、選択したガンマ補正
テーブルのガンマ補正値をもとにガンマ補正回路103
にてガンマ補正を行う。
The operation will be described below. Image sensor 1
At 01, an input image is fetched, the input signal is digitized by the A / D converter 102, and then gamma correction is performed by the gamma correction circuit 103 using an individual gamma correction value for each element. Here, the gamma correction value for each element is selected from the gamma correction table stored in the gamma correction value storage circuit 105, the gamma correction table for the corresponding element is selected by the gamma correction table selection circuit 104, and the selected gamma correction value is selected. Gamma correction circuit 103 based on the gamma correction value in the table
Perform gamma correction in.

【0041】イメージスキャナは、図2に示すような構
成により画像を読み取っている。すなわち、図2におい
て、201は読み取り原稿、202は照明、203は読
み取り原稿201と撮像素子204との間に配置された
レンズである。読み取り原理は、上記読み取り原稿20
1を照明202にて照らして、その反射光をレンズ20
3にて結像し、光の信号を撮像素子204にて電気信号
に変換するものである。上記撮像素子204は、1番素
子からN番素子までの複数の素子で構成され、素子毎に
光の信号を電気信号に変換している。
The image scanner reads an image by a configuration as shown in FIG. That is, in FIG. 2, reference numeral 201 denotes a document to be read, 202 denotes illumination, and 203 denotes a lens arranged between the document to be read 201 and the image sensor 204. The reading principle is as follows.
1 is illuminated by illumination 202 and the reflected light is
An image is formed at 3 and a light signal is converted into an electric signal by the image sensor 204. The imaging element 204 is composed of a plurality of elements from a first element to an Nth element, and converts a light signal into an electric signal for each element.

【0042】本実施の形態のガンマ補正装置では、撮像
素子204を構成する1番素子からN番素子まで素子毎
に個別のガンマ補正テーブルを持たせてガンマ補正を行
う。その素子毎のガンマ補正テーブルを記憶するのがガ
ンマ補正値記憶回路105である。
In the gamma correction device according to the present embodiment, gamma correction is performed by providing an individual gamma correction table for each element from the first element to the Nth element constituting the imaging element 204. The gamma correction value storage circuit 105 stores the gamma correction table for each element.

【0043】例えば、各素子の入力値に対するガンマ補
正値が図3(a)に示すような特性の場合、ガンマ補正
値記憶回路105には、図3(b)に示した値が記憶さ
れることになる。この場合、ガンマ補正値を8ビット、
すなわち1バイトであらわしている。ガンマ補正値記憶
回路105には、まず1番素子の入力値0から255に
対するガンマ補正値が1バイトで256個格納されてお
り、次に2番素子のガンマ補正値が同じく1バイトで2
56個格納されている。このようにして撮像素子のN番
素子までのすべてのガンマ補正値が記憶されている。
For example, when the gamma correction value corresponding to the input value of each element has a characteristic as shown in FIG. 3A, the gamma correction value storage circuit 105 stores the value shown in FIG. Will be. In this case, the gamma correction value is 8 bits,
That is, it is represented by one byte. First, the gamma correction value storage circuit 105 stores 256 gamma correction values in one byte for the input values 0 to 255 of the first element, and then stores the gamma correction values of the second element in one byte in the same manner.
56 are stored. In this way, all gamma correction values up to the Nth element of the image sensor are stored.

【0044】N番目の素子のガンマ補正値を算出するに
は、ガンマ補正テーブル選択回路104にて、ガンマ補
正値記憶回路105に記憶してあるガンマ補正値からN
番素子のガンマ補正値を選択する必要があるが、これに
ついてはガンマ補正値記憶回路105上でN番素子のガ
ンマ補正値の先頭アドレスが、 (先頭アドレス)=1*256*(N−1) バイト で算出できるので、この先頭アドレスから256バイト
分のデータが素子のガンマ補正値となる。このガンマ補
正値をもとにガンマ補正を行うことにより、素子毎に個
別のガンマ補正を行うことができる。
To calculate the gamma correction value of the N-th element, the gamma correction table selecting circuit 104 calculates the gamma correction value from the gamma correction value stored in the gamma correction value storage circuit 105.
It is necessary to select the gamma correction value of the No. element. For this, the gamma correction value of the Nth element on the gamma correction value storage circuit 105 is represented by (start address) = 1 * 256 * (N−1). ) Since it can be calculated in bytes, the data of 256 bytes from this start address becomes the gamma correction value of the element. By performing gamma correction based on this gamma correction value, individual gamma correction can be performed for each element.

【0045】このように本実施の形態によれば、ガンマ
補正値記憶回路105に各素子毎にガンマ補正テーブル
を準備し、各画素毎に対応した補正テーブルをガンマ補
正テーブル選択手段104を用いて選択してガンマ補正
を行うようにしたので、高精度なガンマ補正を行うこと
ができ、画質の劣化を抑えることができる。
As described above, according to the present embodiment, a gamma correction table is prepared for each element in the gamma correction value storage circuit 105, and a correction table corresponding to each pixel is prepared using the gamma correction table selecting means 104. Since gamma correction is selectively performed, gamma correction with high accuracy can be performed, and deterioration in image quality can be suppressed.

【0046】(実施の形態2.)次に本発明の実施の形
態2におけるガンマ補正装置について説明する。本実施
の形態では、上記実施の形態1に示した構成において、
ガンマ補正テーブルを小さくするために、0から255
までの連続した入力データに対するガンマ補正値を記憶
するのではなく、何点かの離散的な入力データに対する
ガンマ補正値を記憶するようにしたものである。図4は
本実施の形態2によるガンマ補正装置の回路ブロック図
を示す。図4において、図1と同一符号は同一または相
当部分を示し、ガンマ補正値補間回路404とパターン
値記憶回路408が付加されている点が図1と異なる。
(Embodiment 2) Next, a gamma correction apparatus according to Embodiment 2 of the present invention will be described. In the present embodiment, in the configuration shown in the first embodiment,
0 to 255 to reduce the gamma correction table
Instead of storing the gamma correction values for continuous input data up to, the gamma correction values for some discrete input data are stored. FIG. 4 is a circuit block diagram of a gamma correction device according to the second embodiment. 4, the same reference numerals as those in FIG. 1 denote the same or corresponding parts, and differ from FIG. 1 in that a gamma correction value interpolation circuit 404 and a pattern value storage circuit 408 are added.

【0047】一般にガンマ補正値を算出するには、図5
に示すような予め値のわかっているグレーチャートをス
キャナより読み込んで、グレーチャートの値とその読み
取り値からガンマ補正値を算出し、グレーチャートにな
い入力値に対するガンマ補正値は、直線補間または曲線
補間により値を補間してガンマ補正値を算出している。
Generally, in order to calculate the gamma correction value, the gamma correction value shown in FIG.
The gamma correction value is calculated from the gray chart value and the read value by reading the gray chart of which the value is known in advance from the scanner as shown in. The gamma correction value is calculated by interpolating the values by interpolation.

【0048】そこで、上記ガンマ補正値記憶回路105
には、グレーチャートのパターンに対するガンマ補正値
を記憶しておき、補間処理によりガンマ補正値を補間す
るようにすれば、その記憶容量を小さくすることができ
る。例えば、図5に示すように、10パターンのグレー
チャートの場合、0から255までの連続した入力デー
タに対するガンマ補正値を記憶する場合と比較してその
記憶容量を10/256にすることができる。以下にガ
ンマ補正値の算出方法について述べる。
Therefore, the gamma correction value storage circuit 105
If the gamma correction value for the gray chart pattern is stored in advance and the gamma correction value is interpolated by interpolation processing, the storage capacity can be reduced. For example, as shown in FIG. 5, in the case of a gray chart having 10 patterns, the storage capacity can be reduced to 10/256 as compared with the case of storing gamma correction values for continuous input data from 0 to 255. . The method of calculating the gamma correction value will be described below.

【0049】ガンマ補正値記憶回路105には、パター
ン数分のガンマ補正値が素子毎に記憶されており、例え
ば、10パターンのグレーチャートに対するガンマ補正
値は図6に示すようになる。パターン値はグレーチャー
トの各階調毎のパターンを測定器で測定した値である。
ガンマ補正テーブル選択回路104では、各素子毎のガ
ンマ補正テーブルを選択し、そのガンマ補正値をガンマ
補正値補間回路404に送る。
The gamma correction value storage circuit 105 stores gamma correction values for the number of patterns for each element. For example, gamma correction values for a gray chart of 10 patterns are as shown in FIG. The pattern value is a value obtained by measuring a pattern for each gradation of the gray chart with a measuring instrument.
The gamma correction table selection circuit 104 selects a gamma correction table for each element, and sends the gamma correction value to the gamma correction value interpolation circuit 404.

【0050】そしてガンマ補正値補間回路404では、
ガンマ補正テーブル選択回路104で選択されたガンマ
補正値と、パターン値記憶回路408に記憶してあるパ
ターン値とからガンマ補正値の補間を行う。例えば、図
6の1番素子のガンマ補正値を補間した場合、図7に示
すように、データ間を直線補間することで補間処理を行
うことができる。例えば、パターン値25から50まで
の値Xに対するガンマ補正値Yは、 A=(123−90)/(50−25) Y=A*(X−25)+90 で算出することができる。このようにしてガンマ補正値
補間回路404にて補間されたガンマ補正値をもとに、
ガンマ補正回路103により各素子毎にガンマ補正を行
うことができる。
In the gamma correction value interpolation circuit 404,
The gamma correction value is interpolated from the gamma correction value selected by the gamma correction table selection circuit 104 and the pattern value stored in the pattern value storage circuit 408. For example, when the gamma correction value of the first element in FIG. 6 is interpolated, the interpolation processing can be performed by linearly interpolating between the data as shown in FIG. For example, the gamma correction value Y for the value X from the pattern values 25 to 50 can be calculated as follows: A = (123−90) / (50−25) Y = A * (X−25) +90 Based on the gamma correction value interpolated by the gamma correction value interpolation circuit 404 in this manner,
The gamma correction circuit 103 can perform gamma correction for each element.

【0051】なお、離散的な入力値に対するガンマ補正
値を記憶させる場合、低階調部のパターン、つまり暗い
領域のパターンに対するガンマ補正値をより多く記憶さ
せるようにしてもよい。これはガンマ補正曲線が低階調
部での変化が大きいことから、この領域でのデータをよ
り多くとることによりガンマ補正精度を向上させること
ができるためである。
When a gamma correction value for a discrete input value is stored, a larger number of gamma correction values for a pattern in a low gradation portion, that is, a pattern in a dark area may be stored. This is because the gamma correction curve has a large change in the low gradation portion, and therefore, the gamma correction accuracy can be improved by taking more data in this region.

【0052】例えば、図8に示すように、ガンマ補正曲
線がガンマ2.2の値をもつ理想ガンマ曲線を10個の
離散的なデータで直線近似する場合、階調を均等にX
(0)からX(9)で分割して近似した場合には、低階
調領域で補間したガンマと理想ガンマ曲線との誤差が大
きくなることがわかる。これはガンマ補正曲線が低階調
部で大きく変化するためである。そこで図9に示すよう
に、同じ10個のデータでも低階調領域のデータ数をよ
り多くとることにより理想ガンマ曲線との誤差を最小限
にすることができることがわかる。
For example, as shown in FIG. 8, when the ideal gamma curve whose gamma correction curve has a value of gamma 2.2 is linearly approximated by ten discrete data, the gradation is uniformly set to X.
It can be seen that, in the case of approximating by dividing by (0) to X (9), the error between the gamma interpolated in the low gradation region and the ideal gamma curve increases. This is because the gamma correction curve greatly changes in a low gradation portion. Therefore, as shown in FIG. 9, it can be seen that the error from the ideal gamma curve can be minimized by increasing the number of data in the low gradation area even for the same 10 data.

【0053】上記図4に示した構造においても、ガンマ
補正値を算出する際に用いるグレーチャートを、低階調
部がより多いパターン、すなわち黒に近いパターンをよ
り多く持つチャートにする、またはグレーチャートの中
でガンマ補正に使用するパターンを低階調部をより多く
選択することで、低階調部のガンマ補正値をより多くガ
ンマ補正値記憶回路105に記憶させることが可能であ
る。
Also in the structure shown in FIG. 4, the gray chart used for calculating the gamma correction value is changed to a pattern having more low gradation parts, that is, a chart having more patterns close to black, or a gray chart. By selecting more low-gradation portions as patterns to be used for gamma correction in the chart, it is possible to store more gamma correction values in the low-gradation portions in the gamma correction value storage circuit 105.

【0054】このように、本実施の形態2によれば、離
散的な入力データに対するガンマ補正値をガンマ補正値
記憶回路105に記憶し、入力データの離散度を記憶し
たパターン値記憶回路408から該当する入力データが
含まれるパターン値と、上記ガンマ補正値記憶回路10
5に記憶されたガンマ補正値とを用いて、ガンマ補正値
補間回路404にて補間処理により適切なガンマ補正値
を算出してガンマ補正を行うようにしたので、各画素毎
にガンマ補正を行うことができ、画質の劣化を抑えるこ
とができるとともに、ガンマ補正値を記憶するのに必要
な記憶容量を小さいものとすることができ、コストダウ
ンを図ることができる。なお、低階調領域のパターンに
対するガンマ補正値をより多く記憶させることにより、
補間処理による誤差を小さくすることができ、ガンマ補
正の精度をさらに向上させることができる。
As described above, according to the second embodiment, the gamma correction value for discrete input data is stored in the gamma correction value storage circuit 105, and the pattern value storage circuit 408 storing the degree of discreteness of the input data. The pattern value including the corresponding input data and the gamma correction value storage circuit 10
The gamma correction is performed by calculating an appropriate gamma correction value by interpolation processing in the gamma correction value interpolation circuit 404 using the gamma correction value stored in No. 5 and performing gamma correction for each pixel. As a result, it is possible to suppress the deterioration of the image quality, to reduce the storage capacity required for storing the gamma correction value, and to reduce the cost. By storing more gamma correction values for the pattern in the low gradation area,
The error due to the interpolation processing can be reduced, and the accuracy of gamma correction can be further improved.

【0055】また、基準となる素子について1番目の素
子を基準素子としたが、もちろんどの素子を基準素子と
してもよい。また、基準素子を1つだけとするのではな
く、何点も基準素子をもってもよい。また、上記離散的
な入力値に対するガンマ補正値を記憶する場合、グレー
チャートの10パターンを記憶する場合について説明し
たが、パターン数もこれに限定するものではない。さら
に、ガンマ補正値を補間する場合、直線近似で補間する
のでなく、2次曲線等の曲線により補間するようにして
もよい。
Although the first element is used as a reference element as a reference element, any element may be used as a reference element. Further, instead of using only one reference element, any number of reference elements may be provided. Further, the case where the gamma correction value for the discrete input value is stored and the case where 10 patterns of the gray chart are stored has been described, but the number of patterns is not limited to this. Furthermore, when interpolating gamma correction values, interpolation may be performed not by linear approximation but by a curve such as a quadratic curve.

【0056】(実施の形態3.)以下に本発明の実施の
形態3にかかるガンマ補正装置について、図を参照しな
がら説明する。図10は本実施の形態3のガンマ補正装
置の構成を示すブロック図である。図10において、図
1と同一符号は同一、または相当部分を示し、図1のガ
ンマ補正テーブル選択回路104の代わりにガンマ補正
値算出回路1004が設けられ、ガンマ補正値記憶回路
105の代わりに、基準素子のガンマ補正テーブルと、
他の各素子のガンマ補正テーブルを上記基準素子に対す
る差分値として記憶するガンマ補正値記憶回路1005
とが設けられている点が異なっている。
(Embodiment 3) Hereinafter, a gamma correction apparatus according to Embodiment 3 of the present invention will be described with reference to the drawings. FIG. 10 is a block diagram illustrating a configuration of the gamma correction device according to the third embodiment. 10, the same reference numerals as those in FIG. 1 denote the same or corresponding parts, and a gamma correction value calculation circuit 1004 is provided instead of the gamma correction table selection circuit 104 in FIG. 1, and instead of the gamma correction value storage circuit 105, A gamma correction table for the reference element,
A gamma correction value storage circuit 1005 that stores a gamma correction table of each of the other elements as a difference value with respect to the reference element.
Is provided.

【0057】以下、動作について説明する。撮像素子1
01で入力画像を取り込み、A/Dコンバータ102で
入力信号をデジタル化した後、各素子毎に個別のガンマ
補正値を用いてガンマ補正回路103にてガンマ補正を
行う。ガンマ補正値は、ガンマ補正値記憶手段1005
に記憶してあるガンマ補正値から、素子選択回路106
にて選択された素子のガンマ補正値をガンマ補正値算出
回路1004にて算出する。
The operation will be described below. Image sensor 1
At 01, an input image is fetched, the input signal is digitized by the A / D converter 102, and then gamma correction is performed by the gamma correction circuit 103 using an individual gamma correction value for each element. The gamma correction value is stored in the gamma correction value storage unit 1005
From the gamma correction value stored in the
The gamma correction value calculation circuit 1004 calculates the gamma correction value of the element selected in.

【0058】本実施の形態3のガンマ補正装置では、1
番素子からN番素子までの素子毎のガンマ補正テーブル
をそのまますべて記憶するのではなく、基準となる素子
のガンマ補正テーブルと、位置的に隣接する素子のガン
マ補正テーブルの差分値を記憶させることで、記憶容量
を小さくするようにしている。
In the gamma correction device according to the third embodiment, 1
Instead of storing the entire gamma correction table for each element from the #th element to the Nth element as it is, storing the difference value between the gamma correction table of the reference element and the gamma correction table of the positionally adjacent element Thus, the storage capacity is reduced.

【0059】ガンマ補正は一般的には、図27で示した
ように、入力データに対するガンマ補正値をテーブル形
式でROMに記憶したものを使用して行う。前述したよ
うに、このガンマ補正テーブルを素子毎に持たせようと
すると、例えば8ビットのR,G,B3色で640素子
分では、 28×3×640=491,520バイト の容量が必要となる。そこで基準となる素子のガンマ補
正テーブルは従来どおりにガンマ補正値をROMに記憶
させるが、それ以外の素子については位置的に隣接する
素子どうしのガンマ補正テーブルの差分値を記憶するこ
とで容量を小さくする。以下、この差分値の算出方法に
ついて図11を用いて詳しく説明する。
Generally, gamma correction is performed by using gamma correction values for input data stored in a ROM in a table format, as shown in FIG. As described above, the when the gamma correction table to try to have every element in the 640 element content, for example, 8-bit R, G, B3 colors, 2 8 × 3 × 640 = 491,520 bytes capacity needs of Becomes Therefore, the gamma correction table of the reference element stores the gamma correction value in the ROM as before, but for the other elements, the difference value of the gamma correction table between the positionally adjacent elements is stored to reduce the capacity. Make it smaller. Hereinafter, a method of calculating the difference value will be described in detail with reference to FIG.

【0060】図11においてテーブル1101が各素子
毎のガンマ補正値を示しており、1番素子から4番素子
までの入力値に対するガンマ補正値が格納されている。
この場合、1番素子が基準となる素子であり、1番素子
はそのまま8ビットでガンマ補正値が記憶される。2番
目以降の素子についてはテーブル1102に示すよう
に、入力値毎に、位置的に隣接する素子どうしのガンマ
補正値の差分値を記憶していく。すなわち、2番素子で
は、1番素子との入力値毎の差分値、3番素子では2番
素子との入力値毎の差分値というように差分値を記憶し
ていく。
In FIG. 11, a table 1101 shows gamma correction values for each element, and stores gamma correction values for input values of the first to fourth elements.
In this case, the first element is a reference element, and the first element stores the gamma correction value in 8 bits as it is. For the second and subsequent elements, as shown in a table 1102, a difference value of the gamma correction value between elements adjacent in position is stored for each input value. That is, in the case of the second element, the difference value is stored as a difference value for each input value with the first element, and in the case of the third element, a difference value is stored for each input value with the second element.

【0061】例えば、2番素子の入力値1の差分値は、
2番素子ガンマ補正値18と1番素子ガンマ補正値21
との差分値であるから差分値は−3(18−21)とな
る。このようにして差分値を算出すると図11のテーブ
ル1102に示すような値となる。
For example, the difference value of the input value 1 of the second element is
2nd element gamma correction value 18 and 1st element gamma correction value 21
And the difference value is -3 (18-21). When the difference value is calculated in this way, a value as shown in a table 1102 in FIG. 11 is obtained.

【0062】テーブル1102の差分値をみてみると、
隣接する画素どうしの差分であるため、素子の特性の差
が小さいことにより差分値は元のガンマ補正値よりかな
り小さい値となる。図11の例では、−3から2までの
値となる。これらの数値を格納するには3ビットの容量
ですむため、記憶容量を約3/8にすることができる。
このようにして算出した基準素子ガンマ補正値と差分値
とをガンマ補正値記憶回路1005に記憶する。この場
合、差分値は3ビットで順次記憶させていく。
Looking at the difference value in the table 1102,
Since this is a difference between adjacent pixels, the difference value becomes significantly smaller than the original gamma correction value due to a small difference in element characteristics. In the example of FIG. 11, the value is from -3 to 2. Since storing these numerical values requires only three bits, the storage capacity can be reduced to about 3/8.
The thus calculated reference element gamma correction value and difference value are stored in the gamma correction value storage circuit 1005. In this case, the difference value is sequentially stored in three bits.

【0063】このように1番素子を基準素子とした場合
には、ガンマ補正値記憶回路1005の基準素子ガンマ
補正テーブルには、1番素子のガンマ補正テーブル、差
分値Δ1には2番素子と1番素子の差分値、差分値Δ2
には3番素子と2番素子との差分値というようにガンマ
補正値が順次記憶される。
As described above, when the first element is used as the reference element, the gamma correction table of the first element is stored in the gamma correction table of the gamma correction value storage circuit 1005, and the second element is stored in the difference value Δ1. The difference value of the first element, the difference value Δ2
, Gamma correction values such as a difference value between the third element and the second element are sequentially stored.

【0064】次に、ガンマ補正記憶回路1005からガ
ンマ補正値を算出し、ガンマ補正を行う方法について述
べる。ガンマ補正値算出回路1004ではガンマ補正記
憶回路1005に記憶してある基準素子ガンマ補正値と
差分値とから素子毎のガンマ補正値を復元する。この復
元方法について図11を用いながら説明する。図11に
おいて、1番素子が基準素子ガンマ補正テーブルである
から、素子選択回路106で1番素子が選択された場合
には、そのまま記憶してあるガンマ補正値を使用してガ
ンマ補正を行う。例えば、入力画像データが3の場合に
は入力値3に対応する値34を出力データとして出力す
ることによりガンマ補正を行うことができる。
Next, a method of calculating a gamma correction value from the gamma correction storage circuit 1005 and performing gamma correction will be described. The gamma correction value calculation circuit 1004 restores a gamma correction value for each element from the reference element gamma correction value and the difference value stored in the gamma correction storage circuit 1005. This restoration method will be described with reference to FIG. In FIG. 11, since the first element is the reference element gamma correction table, when the first element is selected by the element selection circuit 106, the gamma correction is performed using the stored gamma correction value. For example, when the input image data is 3, gamma correction can be performed by outputting a value 34 corresponding to the input value 3 as output data.

【0065】そして、2番素子以降は基準素子のガンマ
補正値に、素子位置までの差分値を積算した値を加算し
てガンマ補正値を算出し、ガンマ補正を行う。例えば、
4番素子の入力値0に対応するガンマ補正値を算出する
場合は、基準となる1番素子の入力値0に対応するガン
マ補正値は0であり、2番素子の差分値は1、3番素子
の差分値は−1、4番素子の差分値は2であるからこれ
らの数値を積算した値がガンマ補正値となる。すなわ
ち、 (ガンマ補正値)=0+1+(−1)+2=2 というように、ガンマ補正値が算出される。図11のテ
ーブル1101をみてみると、元々の4番素子の入力値
0に対応するガンマ補正値は2であるから、ガンマ補正
値を忠実に復元できることがわかる。同様にして他の素
子においても基準素子のガンマ補正値に素子位置までの
差分値を積算した値を加算することにより、素子毎のガ
ンマ補正値を算出することができる。
For the second and subsequent elements, a gamma correction value is calculated by adding a value obtained by integrating the difference value up to the element position to the gamma correction value of the reference element, thereby performing gamma correction. For example,
When calculating the gamma correction value corresponding to the input value 0 of the fourth element, the gamma correction value corresponding to the input value 0 of the first element as the reference is 0, and the difference value of the second element is 1, 3 The difference value of the # 1 element is −1, and the difference value of the # 4 element is 2, so the value obtained by integrating these values is the gamma correction value. That is, the gamma correction value is calculated as (gamma correction value) = 0 + 1 + (− 1) + 2 = 2. Looking at the table 1101 in FIG. 11, it can be seen that the gamma correction value corresponding to the original input value 0 of the fourth element is 2, so that the gamma correction value can be faithfully restored. Similarly, for other elements, a gamma correction value for each element can be calculated by adding a value obtained by integrating the difference value up to the element position to the gamma correction value of the reference element.

【0066】このようにガンマ補正値算出回路1004
では、基準素子ガンマ補正テーブルと差分値とから、素
子選択回路106にて選択された素子毎にガンマ補正値
を算出し、算出した素子毎のガンマ補正値からガンマ補
正回路103にてガンマ補正を行うことができる。
As described above, the gamma correction value calculation circuit 1004
Then, a gamma correction value is calculated for each element selected by the element selection circuit 106 from the reference element gamma correction table and the difference value, and gamma correction is performed by the gamma correction circuit 103 from the calculated gamma correction value for each element. It can be carried out.

【0067】このように本実施の形態3によれば、ガン
マ補正記憶回路1005に、基準素子のガンマ補正値
と、位置的に隣接する素子どうしのガンマ補正値の差分
値を予め定めた記憶容量で記憶し、基準素子は記憶して
あるガンマ補正値によりガンマ補正を行い、それ以外の
素子では基準素子のガンマ補正値に、素子位置までの差
分値を積算した値からガンマ補正値を算出してガンマ補
正を行うようにしたので、各画素毎にガンマ補正を行う
ことができ、画質の劣化を抑えることができるととも
に、少ない記憶容量で素子毎のガンマ補正データを記憶
することができる。
As described above, according to the third embodiment, the gamma correction storage circuit 1005 stores the difference between the gamma correction value of the reference element and the gamma correction value of the element adjacent to each other in a predetermined storage capacity. The reference element performs gamma correction using the stored gamma correction value.Other elements calculate the gamma correction value from the value obtained by integrating the difference value up to the element position with the gamma correction value of the reference element. Since the gamma correction is performed by performing the gamma correction, the gamma correction can be performed for each pixel, the deterioration of the image quality can be suppressed, and the gamma correction data for each element can be stored with a small storage capacity.

【0068】なお、予め定めた記憶容量で差分値を記憶
させる際に、低階調側では4ビットで記憶させ、それ以
外の階調では2ビットで記憶させるというように、記憶
容量を変えるようにしてもよい。これは上述したよう
に、低階調側では素子のガンマ補正値がばらつきやすい
ため、差分値が大きくなり、この領域の差分値に合わせ
て差分値の記憶容量を決めた場合、それ以外の領域では
記憶容量が無駄になる場合があるためである。そこで上
述のように、効率よく記憶させるため、低階調側とそれ
以外で記憶容量を変えるようにしてもよい。
When the difference value is stored with a predetermined storage capacity, the storage capacity is changed such that the low-gradation side stores it with 4 bits and the other gradations stores with 2 bits. It may be. This is because, as described above, since the gamma correction value of the element tends to fluctuate on the low gradation side, the difference value increases, and when the storage capacity of the difference value is determined in accordance with the difference value of this region, This is because the storage capacity may be wasted. Therefore, as described above, the storage capacity may be changed between the low gradation side and the rest in order to store the data efficiently.

【0069】(実施の形態4.)次に本発明の実施の形
態4によるガンマ補正装置について説明する。本実施の
形態では、上述した実施の形態2と実施の形態3の構成
とを組み合わせた特徴を有する。すなわち、図12にお
いて、図4及び図10と同一符号は、同一または相当部
分を示し、1204は、ガンマ補正値記憶回路1005
から得られた値をもとに、ガンマ補正値算出回路100
4の出力と、パターン値記憶回路408とから出力され
たパターン値とを用いて補間処理により適切なガンマ補
正値を算出するガンマ補正値補間回路である。
(Embodiment 4) Next, a gamma correction device according to Embodiment 4 of the present invention will be described. This embodiment has a feature in which the configurations of the above-described second embodiment and the third embodiment are combined. That is, in FIG. 12, the same reference numerals as those in FIGS. 4 and 10 denote the same or corresponding parts, and 1204 denotes a gamma correction value storage circuit 1005.
Gamma correction value calculation circuit 100 based on the value obtained from
4 is a gamma correction value interpolation circuit that calculates an appropriate gamma correction value by an interpolation process using the output of the pattern No. 4 and the pattern value output from the pattern value storage circuit 408.

【0070】上記実施の形態2でも述べたように、ガン
マ補正値記憶回路1005にはグレーチャートのパター
ンに対するガンマ補正値を記憶しておき、補間処理によ
りガンマ補正値を補間するようにすれば、記憶容量を小
さくしてガンマ補正を行うことができる。すなわち、上
記ガンマ補正値記憶回路1005にはパターン数分の基
準素子ガンマ補正テーブル値と差分値とが記憶されてい
る。例えば、図13(a)のテーブルに示すようなデー
タが記憶されている。ガンマ補正値算出回路1005で
は前述した方法により、各素子のガンマ補正値を算出す
る。図13(a)のテーブルの場合には、1番素子が基
準素子であるから、2番素子からN番素子までは基準素
子である1番素子のガンマ補正値に素子位置までの差分
値を積算した値を加算することで図13(b)に示すテ
ーブルのようにガンマ補正値を算出することができる。
As described in the second embodiment, if the gamma correction value for the gray chart pattern is stored in the gamma correction value storage circuit 1005 and the gamma correction value is interpolated by interpolation processing, Gamma correction can be performed with a reduced storage capacity. That is, the gamma correction value storage circuit 1005 stores the reference element gamma correction table values and the difference values for the number of patterns. For example, data as shown in the table of FIG. The gamma correction value calculation circuit 1005 calculates the gamma correction value of each element by the method described above. In the case of the table of FIG. 13A, since the first element is the reference element, the difference value from the element position to the gamma correction value of the first element which is the reference element for the second to Nth elements is calculated. By adding the integrated values, a gamma correction value can be calculated as in the table shown in FIG.

【0071】ガンマ補正値補間回路1204では、ガン
マ補正値算出回路1005から算出されたガンマ補正値
と、パターン値記憶回路408に記憶してあるパターン
値とからガンマ補正値の補間を行う。この補間方法につ
いては実施の形態2で述べた方法に従って補間処理を行
う。このようにしてガンマ補正値補間回路1204にて
補間されたガンマ補正値をもとに、ガンマ補正回路10
3により各素子毎にガンマ補正を行うことができる。
The gamma correction value interpolation circuit 1204 interpolates the gamma correction value from the gamma correction value calculated from the gamma correction value calculation circuit 1005 and the pattern value stored in the pattern value storage circuit 408. As for this interpolation method, the interpolation processing is performed according to the method described in the second embodiment. On the basis of the gamma correction value interpolated by the gamma correction value interpolation circuit 1204 in this manner, the gamma correction circuit 10
3 allows gamma correction to be performed for each element.

【0072】このように本実施の形態によれば、ガンマ
補正記憶回路1005に、基準素子のガンマ補正値と、
離散的に記憶させた各素子どうしのガンマ補正値の差分
値とを記憶し、基準素子は記憶してあるガンマ補正値に
よりガンマ補正を行い、その他の素子については、ガン
マ補正値補間回路1204で補間処理により適切なガン
マ補正値を算出してガンマ補正を行うようにしたので、
各画素毎にガンマ補正を行うことができ、画質の劣化を
抑えることができるとともに、より少ない記憶容量で素
子毎のガンマ補正データを記憶することができる。
As described above, according to the present embodiment, the gamma correction value of the reference element is stored in the gamma correction storage circuit 1005.
The difference value of the gamma correction value of each element that is discretely stored is stored, the gamma correction is performed for the reference element by the stored gamma correction value, and the gamma correction value interpolation circuit 1204 for the other elements. Gamma correction is performed by calculating an appropriate gamma correction value by interpolation processing.
Gamma correction can be performed for each pixel, so that deterioration in image quality can be suppressed, and gamma correction data for each element can be stored with a smaller storage capacity.

【0073】なお、本実施の形態においても、ガンマ補
正曲線が低階調部での変化が大きいことから、この領域
でのデータをより多くとることによりガンマ補正精度を
向上させることを目的として、離散的な入力値に対する
ガンマ補正値を記憶させる場合、低階調部のパターン、
つまり暗い領域のパターンに対するガンマ補正値をより
多く記憶させるようにしてもよい。
In this embodiment, since the gamma correction curve has a large change in the low gradation part, the gamma correction accuracy is improved by obtaining more data in this area. When storing a gamma correction value for a discrete input value, a pattern of a low gradation part,
That is, more gamma correction values for the pattern in the dark area may be stored.

【0074】また、基準となる素子について1番目の素
子を基準素子としたが、もちろんどの素子を基準素子と
してもよい。
Although the first element is used as a reference element, any element may be used as a reference element.

【0075】また、基準素子を1つだけとするのではな
く、何点も基準素子をもってもよい。また、離散的な入
力値に対するガンマ補正値を記憶する場合、グレーチャ
ートの10パターンを記憶する場合について説明したが
パターン数もこれに限定するものではない。さらに、ガ
ンマ補正値を補間する場合、直線近似で補間するのでな
く、2次曲線等の曲線により補間するようにしてもよ
い。
Further, instead of using only one reference element, any number of reference elements may be provided. Further, the case where the gamma correction values for the discrete input values are stored and the case where 10 patterns of the gray chart are stored has been described, but the number of patterns is not limited to this. Furthermore, when interpolating gamma correction values, interpolation may be performed not by linear approximation but by a curve such as a quadratic curve.

【0076】(実施の形態5.)以下に、本発明の実施
の形態5にかかるガンマ補正装置について、図を参照し
ながら説明する。本実施の形態5にかかるガンマ補正装
置の構成、並びに基本的な動作は実施の形態3と示した
ものと同じであるが、ガンマ補正値記憶回路1005に
おいて、位置的に隣接する素子どうしのガンマ補正値の
差分値をそのまま記憶するのではなく、差分値が、差分
値を記憶する容量を超過した場合、隣接する次の素子で
は、差分値に超過した値を加算した値を差分値として記
憶する点が異なる。以下、その動作について詳しく説明
する。
Embodiment 5 Hereinafter, a gamma correction apparatus according to Embodiment 5 of the present invention will be described with reference to the drawings. The configuration and the basic operation of the gamma correction device according to the fifth embodiment are the same as those described in the third embodiment. However, in the gamma correction value storage circuit 1005, the gamma of the elements adjacent to each other in position is determined. Instead of storing the difference value of the correction value as it is, if the difference value exceeds the capacity for storing the difference value, the next adjacent element stores the value obtained by adding the excess value to the difference value as the difference value. Is different. Hereinafter, the operation will be described in detail.

【0077】差分値を記憶する際には、予め定めた記憶
容量に差分値を記憶すると元のガンマ補正値を復元する
処理が非常に簡単になる。しかし予め定めた記憶容量に
対して差分値が大きく、記憶容量を超過する事態が発生
する場合がある。その場合には、差分値をそのまま積算
してガンマ補正値を算出したのでは元のガンマ補正値を
復元することができなくなる。
When the difference value is stored, storing the difference value in a predetermined storage capacity greatly simplifies the process of restoring the original gamma correction value. However, there is a case where the difference value is larger than the predetermined storage capacity and the storage capacity is exceeded. In this case, if the difference value is integrated as it is to calculate the gamma correction value, the original gamma correction value cannot be restored.

【0078】例えば、図14(a)のテーブル1401に
示すように、ガンマ補正値がある場合、差分値を4ビッ
トで記憶する場合について考えると、素子毎の差分値は
図14のテーブル1402に示すようになる。4ビット
では−8から7までの値しか記憶できないため、例え
ば、入力値1に対応する1番素子のガンマ補正値は1
6、2番素子のガンマ補正値は26でその差分値は10
であるにも係らず、4ビットを超えるため差分値7とし
て記憶されてしまう。
For example, as shown in a table 1401 of FIG. 14A, when there is a gamma correction value and a case where a difference value is stored in 4 bits, the difference value of each element is stored in a table 1402 of FIG. As shown. Since 4 bits can store only values from -8 to 7, for example, the gamma correction value of the first element corresponding to the input value 1 is 1
6, the gamma correction value of the second element is 26 and the difference value is 10
Despite this, it exceeds 4 bits and is stored as the difference value 7.

【0079】従って、図14(b)のテーブル1403
に示すように、1番素子を基準として差分値からガンマ
補正値を算出した場合、2番素子の入力値1に対応する
ガンマ補正値は、 16+7=23 となる。3番素子の入力値1に対応するガンマ補正値は
基準となる1番素子のガンマ補正値に2番素子の差分
値、3番素子の差分値を加算した値となるため、 16+7+(−4)=19 となる。同様に4番素子の入力値1に対応するガンマ補
正値は17となる。
Accordingly, the table 1403 shown in FIG.
As shown in (2), when the gamma correction value is calculated from the difference value with reference to the first element, the gamma correction value corresponding to the input value 1 of the second element is 16 + 7 = 23. The gamma correction value corresponding to the input value 1 of the third element is a value obtained by adding the difference value of the second element to the reference gamma correction value of the first element, and the difference value of the third element is 16 + 7 + (− 4). ) = 19. Similarly, the gamma correction value corresponding to the input value 1 of the fourth element is 17.

【0080】このように差分値が記憶容量を越えた場
合、その超過した値が誤差となり、それ以降の素子に影
響を及ぼし、元のガンマ補正値を復元できなくなる場合
があった。そこで差分値が記憶容量を越えた場合には、
その誤差を次の差分値に加算することにより、誤差が次
の素子のガンマ補正値算出に影響しないようにする。
As described above, when the difference value exceeds the storage capacity, the excess value becomes an error, which may affect the elements thereafter, and may make it impossible to restore the original gamma correction value. So, if the difference value exceeds the storage capacity,
The error is added to the next difference value so that the error does not affect the gamma correction value calculation of the next element.

【0081】前述したように、2番素子の入力値1に対
応する差分値は10であるが7までしか記憶できないた
め、3の誤差が生じる。そこで図15(a)のテーブル
1502に示すように、その誤差3を3番素子の差分値
に加算して記憶させるようにする。従って、元々3番素
子の差分値は−4であるから、誤差3と差分値―4を加
算した−1が3番素子の入力値1に対応する差分値とな
る。
As described above, although the difference value corresponding to the input value 1 of the second element is 10 but can be stored only up to 7, an error of 3 occurs. Therefore, as shown in a table 1502 in FIG. 15A, the error 3 is added to the difference value of the third element and stored. Accordingly, since the difference value of the third element is originally -4, -1 obtained by adding the error 3 and the difference value -4 is the difference value corresponding to the input value 1 of the third element.

【0082】このようにして算出した差分値をもとにガ
ンマ補正値を復元すると、図15(b)のテーブル15
03に示すようになり、2番素子の入力値1に対応する
ガンマ補正値は、差分値の記憶容量を超過しているため
誤差を生じるが、3番素子の入力値1に対応するガンマ
補正値は22、4番素子では20となり、元のガンマ補
正値を忠実に復元できることがわかる。以上のようにし
て差分値の記憶容量を越えた場合は、超えた誤差データ
を次の素子の差分値に加算することにより、差分値が記
憶容量を越えた場合でも、最小限の誤差でガンマ補正を
行うことができる。
When the gamma correction value is restored based on the difference value calculated in this way, the table 15 in FIG.
03, the gamma correction value corresponding to the input value 1 of the second element causes an error because it exceeds the storage capacity of the difference value, but the gamma correction value corresponding to the input value 1 of the third element The value is 22, which is 20 for the fourth and fourth elements, indicating that the original gamma correction value can be faithfully restored. When the difference value exceeds the storage capacity as described above, the excess error data is added to the difference value of the next element, so that even when the difference value exceeds the storage capacity, the gamma can be minimized. Corrections can be made.

【0083】このように本実施の形態によれば、ガンマ
補正値記憶回路1005に、位置的に隣接する素子どう
しのガンマ補正値の差分値を記憶する際に、差分値が、
差分値を記憶する容量を超過した場合、隣接する次の素
子において、差分値に超過した値を加算した値を差分値
として記憶するようにしたから、少ない記憶容量で素子
毎にガンマ補正を行うことができると共に、差分値が差
分値を記憶する容量を超過した場合でもその誤差を最小
限に抑えることができる。
As described above, according to the present embodiment, when the gamma correction value storage circuit 1005 stores the difference value of the gamma correction value between the elements adjacent in position, the difference value becomes
When the capacity for storing the difference value is exceeded, a value obtained by adding the value exceeding the difference value is stored as a difference value in the next adjacent element, so that gamma correction is performed for each element with a small storage capacity. When the difference value exceeds the capacity for storing the difference value, the error can be minimized.

【0084】なお、本実施の形態においても、素子特性
補正値テーブルに上記実施の形態2でも述べたように、
連続した入力データに対するガンマ補正値を記憶させる
のではなく、離散的な入力データに対するガンマ補正値
を記憶するようにすることにより、記憶容量をさらに小
さくすることができる。
In the present embodiment, as described in the second embodiment, the element characteristic correction value table also includes
By storing the gamma correction values for discrete input data instead of storing the gamma correction values for continuous input data, the storage capacity can be further reduced.

【0085】また、上記離散的な入力値に対するガンマ
補正値を記憶させる場合、低階調部のパターン、つまり
暗い領域のパターンに対するガンマ補正値をより多く記
憶させることで、低階調部でのガンマ補正曲線の変化が
大きい領域でのガンマ補正精度を向上させることができ
る。また、基準となる素子について1番目の素子を基準
素子としたが、もちろんどの素子を基準素子としてもよ
い。さらに、また、基準素子を1つだけとするのではな
く、何点も基準素子をもってもよい。
When the gamma correction value for the discrete input value is stored, the gamma correction value for the pattern of the low gradation part, that is, the pattern of the dark area is stored more, so that the gamma correction value for the low gradation part is stored. It is possible to improve the gamma correction accuracy in an area where the change in the gamma correction curve is large. Although the first element is used as a reference element, any element may be used as the reference element. Further, instead of using only one reference element, any number of reference elements may be provided.

【0086】(実施の形態6.)以下に本発明の実施の
形態6にかかるガンマ補正装置について、図を参照しな
がら説明する。図16は本実施の形態6のガンマ補正装
置の構成を示すブロック図である。図16において、図
1と同一符号は同一、または相当部分を示し、1604
は、素子のガンマ補正値の平均値と、その平均値と各素
子毎のガンマ補正値の差分値を記憶したガンマ補正値記
憶回路1605から出力される値を基にガンマ補正値を
算出するガンマ補正値算出回路である。
(Embodiment 6) Hereinafter, a gamma correction apparatus according to Embodiment 6 of the present invention will be described with reference to the drawings. FIG. 16 is a block diagram showing the configuration of the gamma correction device according to the sixth embodiment. In FIG. 16, the same reference numerals as those in FIG.
Is a gamma for calculating a gamma correction value based on a value output from a gamma correction value storage circuit 1605 which stores an average value of gamma correction values of elements and a difference value between the average value and a gamma correction value of each element. This is a correction value calculation circuit.

【0087】本実施の形態では、上記実施の形態3〜5
で説明したように、基準素子との差分値を記憶するので
はなく、素子毎のガンマ補正値の平均値との差分値を記
憶し、ガンマ補正を行うことを特徴としている。
In this embodiment, the third to fifth embodiments are described.
As described above, instead of storing the difference value with respect to the reference element, the gamma correction is performed by storing the difference value with the average value of the gamma correction values for each element.

【0088】すなわち、ガンマ補正値記憶回路1605
には、入力値毎のガンマ補正値の平均値と、各素子毎の
ガンマ補正値と上記平均値との差分値を算出して記憶す
る。例えば、素子毎のガンマ補正値が図17(a)のテ
ーブル1701に示すような場合には、平均値とその平
均値に対する差分値は図17(b)のテーブル1702
に示すように算出される。例えば、入力値1に対する各
素子のガンマ補正値の平均値が21の場合には、1番素
子のガンマ補正値は16であるから、その差分値−5が
差分値として記憶される。同様に2番素子では5が差分
値として記憶され、3番素子では1、4番素子では−1
が差分値として記憶される。このように平均値と差分値
とを算出してガンマ補正値記憶回路1605に記憶す
る。
That is, the gamma correction value storage circuit 1605
Calculates and stores the average value of the gamma correction values for each input value and the difference value between the gamma correction value for each element and the above average value. For example, when the gamma correction value for each element is as shown in a table 1701 in FIG. 17A, the average value and the difference value with respect to the average value are calculated in a table 1702 in FIG.
Is calculated as shown in FIG. For example, when the average value of the gamma correction values of the respective elements with respect to the input value 1 is 21, the gamma correction value of the first element is 16, and the difference value −5 is stored as the difference value. Similarly, 5 is stored as the difference value for the second element, 1 for the third element, and -1 for the fourth element.
Is stored as the difference value. Thus, the average value and the difference value are calculated and stored in the gamma correction value storage circuit 1605.

【0089】従って、ガンマ補正値記憶回路1605の
平均値データには入力値毎の平均値が記憶され、差分値
Δ1には1番素子の差分値、差分値Δ2には2番素子の
差分値というように記憶される。このように平均値との
差分値をガンマ補正値として記憶させることで、記憶容
量を小さくすることができる。
Accordingly, the average value of each input value is stored in the average value data of the gamma correction value storage circuit 1605. The difference value Δ1 is the difference value of the first element, and the difference value Δ2 is the difference value of the second element. Is stored as follows. By storing the difference value from the average value as the gamma correction value, the storage capacity can be reduced.

【0090】そして、ガンマ補正値算出回路1604で
は、ガンマ補正値記憶回路1605に記憶してある平均
値データと差分値から素子選択回路1606にて選択さ
れた素子のガンマ補正値を算出する。例えば、1番素子
では平均値データに差分値Δ1を加算することによりガ
ンマ補正テーブルを作成し、2番素子では平均値データ
に差分値Δ2を加算してガンマ補正テーブルを作成する
ことができる。
The gamma correction value calculation circuit 1604 calculates the gamma correction value of the element selected by the element selection circuit 1606 from the average value data and the difference value stored in the gamma correction value storage circuit 1605. For example, the first element can create a gamma correction table by adding the difference value Δ1 to the average value data, and the second element can create the gamma correction table by adding the difference value Δ2 to the average value data.

【0091】このように平均値と、平均値との差分値を
記憶させる方法では平均値と素子毎のガンマ補正値の差
が大きい場合には記憶容量が多少大きくなるが、各素子
の差分値が独立して記憶されているため、差分値がその
記憶容量を超過する場合、その誤差が他の素子のガンマ
補正に影響を及ぼさないという利点がある。
In the method of storing the difference between the average value and the average value as described above, when the difference between the average value and the gamma correction value for each element is large, the storage capacity is slightly increased. Are stored independently, so that when the difference value exceeds the storage capacity, there is an advantage that the error does not affect the gamma correction of other elements.

【0092】このように本実施の形態によれば、ガンマ
補正値記憶回路1605に、素子のガンマ補正値の平均
値と、その平均値と各素子毎のガンマ補正値の差分値を
記憶し、ガンマ補正地算出回路1604において、上記
ガンマ補正値記憶回路1605より出力される、上記ガ
ンマ補正値の平均値と、該平均値と各素子毎のガンマ補
正値の差分値とを用いて、各素子毎にガンマ補正値の平
均値に素子毎の差分値を加算した値からガンマ補正値を
算出し、ガンマ補正回路106によってガンマ補正を行
うようにしたから、素子毎に独立して平均値に差分値を
加算してガンマ補正値を算出するため正確にガンマ補正
を行えるとともに、各素子の差分値が独立して記憶され
ているため、差分値がその記憶容量を超過する場合、そ
の誤差が他の素子のガンマ補正に影響を与えることがな
い。
As described above, according to the present embodiment, the gamma correction value storage circuit 1605 stores the average value of the gamma correction values of the elements and the difference between the average value and the gamma correction value of each element. The gamma correction ground calculation circuit 1604 uses the average value of the gamma correction values output from the gamma correction value storage circuit 1605 and the difference value between the average value and the gamma correction value of each element, for each element. The gamma correction value is calculated from the value obtained by adding the difference value for each element to the average value of the gamma correction values for each element, and the gamma correction is performed by the gamma correction circuit 106. The gamma correction value is calculated by adding the values, so that the gamma correction can be performed accurately.In addition, since the difference value of each element is stored independently, if the difference value exceeds the storage capacity, the error may increase. Element It does not affect the gamma correction.

【0093】なお、上記ガンマ補正値記憶回路1605
には、上記実施の形態2でも述べたように、連続した入
力データに対するガンマ補正値を記憶させるのではな
く、離散的な入力値に対するガンマ補正値を記憶するよ
うにすると記憶容量を小さくすることができる。また、
その場合、低階調領域すなわち暗い領域のデータをより
多く記憶させ、低階調部でのガンマ補正曲線の変化が大
きい領域でのガンマ補正値をより正確に復元するように
して、ガンマ補正の精度を向上させるようにしてもよ
い。
The gamma correction value storage circuit 1605
As described in the second embodiment, instead of storing the gamma correction value for continuous input data, the storage capacity can be reduced by storing the gamma correction value for discrete input values. Can be. Also,
In that case, more data is stored in the low gradation area, that is, in the dark area, and the gamma correction value in the area where the change in the gamma correction curve is large in the low gradation area is more accurately restored, so that the gamma correction is performed. The accuracy may be improved.

【0094】(実施の形態7.)以下に、本発明の実施
の形態7にかかるガンマ補正装置について、図を参照し
ながら説明する。図18は本実施の形態7のガンマ補正
装置の構成を示すブロック図である。図18において、
図10と同一符号は同一、または相当部分を示し、18
04は、差分値のデータ長を一緒に記憶させたガンマ補
正値記憶回路1805の出力を受けてガンマ補正値を算
出するガンマ補正値算出回路である。
Embodiment 7 Hereinafter, a gamma correction apparatus according to Embodiment 7 of the present invention will be described with reference to the drawings. FIG. 18 is a block diagram showing a configuration of the gamma correction device according to the seventh embodiment. In FIG.
The same reference numerals as those in FIG.
Reference numeral 04 denotes a gamma correction value calculation circuit that calculates the gamma correction value by receiving the output of the gamma correction value storage circuit 1805 that also stores the data length of the difference value.

【0095】基本的な動作は実施の形態3で述べたのと
同じであるが、差分値を予め定めた記憶容量に記憶させ
るのではなく、差分値の大きさに合わせてその記憶容量
を変化させる点が異なる。以下、その動作について詳し
く説明する。
The basic operation is the same as that described in the third embodiment. However, instead of storing the difference value in a predetermined storage capacity, the storage capacity is changed according to the magnitude of the difference value. The difference is. Hereinafter, the operation will be described in detail.

【0096】実施の形態5でも述べたように、位置的に
隣接する素子どうしのガンマ補正値の差分値を算出した
場合、その差分値は様々な値をとるため、ある一定の記
憶容量に差分値を記憶させることが不都合な場合があ
る。そこで差分値の大きさにより、記憶容量を変化させ
ることにより、柔軟に差分値を記憶させることができ
る。その際に差分値のデータ長を一緒に記憶させること
で、正確にガンマ補正値を復元することができる。
As described in the fifth embodiment, when the difference value between the gamma correction values of the elements adjacent in position is calculated, the difference value takes various values. It may be inconvenient to store the value. Therefore, by changing the storage capacity according to the magnitude of the difference value, the difference value can be flexibly stored. At that time, by storing the data length of the difference value together, the gamma correction value can be accurately restored.

【0097】例えば、図19(a)のテーブルに示すよ
うに、1番素子と2番素子のガンマ補正値がある場合、
2番素子の差分値が図19(b)のテーブルに示すよう
に算出される。その差分値をデータ長と差分値で、図2
0に示すように順次記憶していく。図20の場合には、
データ長を3ビットで記憶し、その次に差分値を記憶し
ている。
For example, as shown in the table of FIG. 19A, when there are gamma correction values for the first element and the second element,
The difference value of the second element is calculated as shown in the table of FIG. FIG. 2 shows the difference value as the data length and the difference value.
The data is sequentially stored as shown in FIG. In the case of FIG. 20,
The data length is stored in 3 bits, and then the difference value is stored.

【0098】データ長は差分値が1ビットの場合は0、
2ビットの場合は1、8ビットの場合は7というように
記憶することでデータ長を3ビットで記憶できる。たと
えば入力値0に対応する2番素子の差分値は0であり、
1ビットで表現できるためデータ長が0として記憶され
る。次に入力値1に対応する差分値は10であり、5ビ
ットで表現できるため、データ長が4として記憶され
る。このようにして算出したデータ長と差分値を図21
に示すように順次記憶していく。
The data length is 0 when the difference value is 1 bit,
The data length can be stored in 3 bits by storing 1 in the case of 2 bits and 7 in the case of 8 bits. For example, the difference value of the second element corresponding to the input value 0 is 0,
Since the data length can be represented by 1 bit, the data length is stored as 0. Next, the difference value corresponding to the input value 1 is 10 and can be represented by 5 bits, so that the data length is stored as 4. The data length and the difference value calculated in this way are shown in FIG.
Are sequentially stored as shown in FIG.

【0099】このようにデータ長と差分値を順次記憶さ
せることで、差分値が大きくなった場合でも、正確に差
分値を記憶することができるので、より柔軟に差分値を
記憶することができる。このように本実施の形態によれ
ば、データ長と差分値を順次記憶させることで、差分値
が大きくなった場合でも、正確に差分値を記憶すること
ができ、差分値の大きさに合わせて効率良く記憶させる
ことができる。
By sequentially storing the data length and the difference value in this way, even if the difference value becomes large, the difference value can be accurately stored, so that the difference value can be stored more flexibly. . As described above, according to the present embodiment, by sequentially storing the data length and the difference value, even if the difference value becomes large, the difference value can be stored accurately, and the difference value can be adjusted according to the size of the difference value. Can be stored efficiently.

【0100】なお、ガンマ補正値記憶回路1805に、
実施の形態2でも述べたように、連続した入力データに
対するガンマ補正値を記憶させるのではなく、離散的な
入力値に対するガンマ補正値を記憶するようにすると記
憶容量を小さくすることができる。また、その場合、低
階調領域すなわち暗い領域のデータをより多く記憶させ
るようにすると、ガンマ補正値をより正確に復元するこ
とができるので、ガンマ補正の精度を向上させることが
できる。
The gamma correction value storage circuit 1805 stores
As described in the second embodiment, the storage capacity can be reduced by storing gamma correction values for discrete input values instead of storing gamma correction values for continuous input data. Further, in this case, if more data is stored in the low gradation area, that is, in the dark area, the gamma correction value can be restored more accurately, so that the accuracy of the gamma correction can be improved.

【0101】(実施の形態8.)以下に、本発明の実施
の形態8にかかるガンマ補正装置について、図を参照し
ながら説明する。図22は本実施の形態8のガンマ補正
装置の構成を示すブロック図である。図22において、
2204はガンマ補正テーブル選択回路であり、複数の
ガンマ補正テーブルからなるガンマ補正テーブル記憶回
路2206の出力と、各素子に対応するガンマ補正テー
ブルの番号を記録したガンマ選択値記憶回路2205か
ら所定のデータを選択するものである。
Embodiment 8 Hereinafter, a gamma correction device according to Embodiment 8 of the present invention will be described with reference to the drawings. FIG. 22 is a block diagram illustrating a configuration of a gamma correction device according to the eighth embodiment. In FIG.
Reference numeral 2204 denotes a gamma correction table selection circuit. The gamma correction table storage circuit 2206 includes a plurality of gamma correction tables, and outputs a predetermined data from the gamma selection value storage circuit 2205 that stores the number of the gamma correction table corresponding to each element. Is to select.

【0102】本実施の形態では、予めガンマ補正テーブ
ルを複数用意しておき、素子毎にいずれかのガンマ補正
テーブルを選択することでガンマ補正値の記憶容量を小
さくするようにしたものである。例えば、ガンマ補正テ
ーブル記憶回路2206にN個のガンマ補正テーブルを
記憶しておく。各々のガンマ補正テーブルには番号を付
けておき、各素子毎にその番号でガンマ補正テーブルを
選択し、選択したガンマ補正テーブルからガンマ補正を
行うように構成する。
In this embodiment, a plurality of gamma correction tables are prepared in advance, and one of the gamma correction tables is selected for each element to reduce the storage capacity of the gamma correction values. For example, the gamma correction table storage circuit 2206 stores N gamma correction tables. Each gamma correction table is numbered, and the gamma correction table is selected by the number for each element, and gamma correction is performed from the selected gamma correction table.

【0103】上記ガンマ選択値記憶回路2205には、
ガンマ補正テーブルを選択するための選択番号を素子毎
に記憶しておく。例えば、1番素子がガンマ補正テーブ
ル3を選択する場合、選択番号3を1番素子テーブル選
択番頭としてガンマ選択値記憶回路2205に記憶する
ようにする。
In the gamma selection value storage circuit 2205,
A selection number for selecting a gamma correction table is stored for each element. For example, when the first element selects the gamma correction table 3, the selection number 3 is stored in the gamma selection value storage circuit 2205 as the first element table selection number.

【0104】ガンマ補正テーブル選択回路2204で
は、該当する素子のガンマ補正テーブルをガンマ選択値
記憶回路2205の選択番号を参照してガンマ補正テー
ブル記憶回路2206から選択する。そして、ガンマ補
正回路103では、選択したガンマ補正テーブルをもと
にでガンマ補正を行う。
The gamma correction table selection circuit 2204 selects a gamma correction table of the corresponding element from the gamma correction table storage circuit 2206 with reference to the selection number of the gamma selection value storage circuit 2205. Then, the gamma correction circuit 103 performs gamma correction based on the selected gamma correction table.

【0105】このように予めガンマ補正テーブルを複数
用意しておき、各素子毎に使用するガンマ補正テーブル
を設定しておくことで、全体としての記憶容量を小さく
することができる。例えば、640素子分のガンマ補正
テーブルを用意する場合、すべての素子のガンマ補正テ
ーブルを個別に用意すると640テーブル必要となる
が、640素子の中には、互いに類似したガンマ特性を
もつ素子もあるので、100個のガンマ補正テーブルで
よいとすると、100/640の容量でガンマ補正テー
ブルを記憶できることになる。なお、この場合、ガンマ
選択値記憶回路2205の容量は小さいので無視でき
る。
By preparing a plurality of gamma correction tables in advance and setting a gamma correction table to be used for each element, the overall storage capacity can be reduced. For example, when preparing a gamma correction table for 640 elements, if a gamma correction table for all elements is prepared individually, 640 tables are required. Some of the 640 elements have gamma characteristics similar to each other. Therefore, if 100 gamma correction tables are sufficient, the gamma correction table can be stored with a capacity of 100/640. In this case, since the capacity of the gamma selection value storage circuit 2205 is small, it can be ignored.

【0106】また、この場合、スキャナ本体のROMに
はガンマ選択テーブルのみ(ガンマ選択値記憶回路22
05)を記憶させるようにして、パソコン側にガンマ補
正テーブル(ガンマ補正テーブル記憶回路2206)を
持たせる構成にしてもよい。これはスキャナ本体のRO
Mには容量に制限があるが、パソコン側に記憶させる場
合には、スキャナ本体のROMと比較して遥かに大きい
記憶容量を用意することができるためである。このよう
にパソコン側に補正テーブルを持たせることにより、イ
メージスキャナのROM容量を小さくすると同時に、よ
りたくさんのガンマ補正テーブルを記憶することができ
る。
In this case, only the gamma selection table (gamma selection value storage circuit 22) is stored in the ROM of the scanner body.
05) may be stored so that the personal computer has a gamma correction table (gamma correction table storage circuit 2206). This is the RO of the scanner itself
This is because M has a limited capacity, but when it is stored on the personal computer side, a storage capacity much larger than the ROM of the scanner body can be prepared. By providing the personal computer with a correction table in this way, the ROM capacity of the image scanner can be reduced, and more gamma correction tables can be stored.

【0107】各素子毎のテーブル選択番号は、まず、素
子毎の正確なガンマ補正テーブルを算出し、そのガンマ
補正テーブルと、予めガンマ補正テーブル記憶回路22
06に用意してあるガンマ補正テーブルとの最小二乗和
差が最も小さくなるガンマ補正テーブルを選択し、その
選択番号をガンマ選択テーブルに記憶することで正確に
ガンマ補正テーブルを選択することができる。
The table selection number for each element is obtained by first calculating an accurate gamma correction table for each element, and calculating the gamma correction table and the gamma correction table storage circuit 22 in advance.
By selecting a gamma correction table that minimizes the least square sum difference from the gamma correction table prepared in 06 and storing the selection number in the gamma selection table, the gamma correction table can be accurately selected.

【0108】また、図23に示すように、ガンマ補正テ
ーブル記憶回路2307には、基準となる基準ガンマ補
正テーブルと、各ガンマ補正テーブルと基準ガンマ補正
テーブルとの差分値を記憶するようにしてもよい。差分
値を記憶することで、ガンマ補正テーブル2307の記
憶容量をさらに小さくすることができる。基準となるガ
ンマ補正テーブルには、ガンマ補正量の最も小さいガン
マ補正テーブルを選択するようにする。その場合、ガン
マ補正テーブルをガンマ補正量の小さい順番に並べ、ガ
ンマ補正テーブルの差分値を算出するようにする。従っ
て、ガンマ補正テーブル2307の差分値Δ1には、2
番目にガンマ補正量の小さいガンマ補正テーブルと、最
もガンマ補正量の小さいガンマ補正テーブルとの差分値
が記憶され、差分値Δ2には、3番目にガンマ補正量の
小さいガンマ補正テーブルと、2番目にガンマ補正量の
小さいガンマ補正テーブルとの差分値が記憶されるとい
うように記憶されていく。
Further, as shown in FIG. 23, the gamma correction table storage circuit 2307 may store a reference gamma correction table as a reference and a difference value between each gamma correction table and the reference gamma correction table. Good. By storing the difference value, the storage capacity of the gamma correction table 2307 can be further reduced. As a reference gamma correction table, a gamma correction table with the smallest gamma correction amount is selected. In this case, the gamma correction tables are arranged in ascending order of the gamma correction amount, and the difference value of the gamma correction table is calculated. Therefore, the difference value Δ1 of the gamma correction table 2307 is 2
The difference value between the gamma correction table with the smallest gamma correction amount and the gamma correction table with the smallest gamma correction amount is stored. The difference value Δ2 has the third gamma correction table with the smallest gamma correction amount, the second Is stored in such a manner that a difference value from a gamma correction table having a small gamma correction amount is stored.

【0109】また、反対に、基準となるガンマ補正テー
ブルには、ガンマ補正量の最も大きいガンマ補正テーブ
ルを選択するようにし、ガンマ補正量が大きい順番にガ
ンマ補正テーブルを並べた場合に順番が隣り合うガンマ
補正テーブルのガンマ補正値の差分値を記憶していくよ
うにしてもよい。
On the other hand, as the reference gamma correction table, the gamma correction table having the largest gamma correction amount is selected, and when the gamma correction tables are arranged in descending order of the gamma correction amount, the order is the next. The difference value of the gamma correction value of the matching gamma correction table may be stored.

【0110】ガンマ補正値算出回路2306では、基準
ガンマ補正テーブルに差分値を積算することによりガン
マ補正テーブルを算出することができる。これについて
は実施の形態3で述べた方法と同じである。例えば、ガ
ンマ補正量が小さい順番にガンマ補正テーブルが記憶さ
れている場合、4番目にガンマ補正量の小さいガンマ補
正テーブルは、基準ガンマ補正テーブルに差分値Δ1、
差分値Δ2、差分値Δ3を加算した値となる。このよう
にしてガンマ補正テーブルの差分値を記憶することで、
記憶容量を小さくすることができる。
The gamma correction value calculation circuit 2306 can calculate the gamma correction table by adding the difference value to the reference gamma correction table. This is the same as the method described in the third embodiment. For example, when the gamma correction tables are stored in ascending order of the gamma correction amount, the fourth gamma correction table having the smallest gamma correction amount is the difference value Δ1 in the reference gamma correction table.
It is a value obtained by adding the difference value Δ2 and the difference value Δ3. By storing the difference value of the gamma correction table in this way,
The storage capacity can be reduced.

【0111】このように本実施の形態によれば、予め複
数のガンマ補正テーブルをガンマ補正テーブル記憶回路
2206に記憶させておき、ガンマ選択値記憶回路22
05に、素子毎にそのガンマ補正テーブルの選択情報を
記憶させ、ガンマ補正テーブル選択回路2204を用い
て、該当するガンマ選択値記憶回路2205に記憶され
たテーブル番号に相当するガンマ補正テーブルを選択す
ることにより、小さい記憶容量で素子毎のガンマ補正を
行うことができる。
As described above, according to the present embodiment, a plurality of gamma correction tables are stored in advance in the gamma correction table storage circuit 2206, and the gamma selection value storage circuit 22
At 05, the gamma correction table selection information is stored for each element, and the gamma correction table selection circuit 2204 is used to select a gamma correction table corresponding to the table number stored in the corresponding gamma selection value storage circuit 2205. Thus, gamma correction for each element can be performed with a small storage capacity.

【0112】さらに、上記構成において、ガンマ補正テ
ーブル記憶回路2307には、基準となる基準ガンマ補
正テーブルと、各ガンマ補正テーブルと基準ガンマ補正
テーブルとの差分値を記憶することにより、ガンマ補正
テーブルを記憶する容量をさらに低減することができ
る。
Further, in the above configuration, the gamma correction table is stored in the gamma correction table storage circuit 2307 by storing a reference gamma correction table as a reference and a difference value between each gamma correction table and the reference gamma correction table. The storage capacity can be further reduced.

【0113】(実施の形態9.)以下に、本発明の実施
の形態9にかかるガンマ補正装置について、図を参照し
ながら説明する。
Embodiment 9 Hereinafter, a gamma correction device according to Embodiment 9 of the present invention will be described with reference to the drawings.

【0114】図24は本実施の形態9のガンマ補正装置
の構成を示すブロック図である。図24において、24
04は後述する素子特性補正値算出回路2405より出
力される特性補正値を基にガンマ補正値を算出するガン
マ補正値算出回路、2405は後述する素子特性補正値
記憶回路2406に記憶されている基準素子特性補正テ
ーブルに、当該素子位置までの差分値を積算した値を加
算することにより選択された素子の特性補正値を算出す
る素子特性補正値算出回路、2406はガンマ補正を行
う前の素子の入力値に対する出力特性補正値を記憶する
素子特性補正値記憶回路である。
FIG. 24 is a block diagram showing the structure of the gamma correction device according to the ninth embodiment. In FIG.
Reference numeral 04 denotes a gamma correction value calculation circuit that calculates a gamma correction value based on a characteristic correction value output from an element characteristic correction value calculation circuit 2405 described later. Reference numeral 2405 denotes a reference stored in an element characteristic correction value storage circuit 2406 described later. An element characteristic correction value calculation circuit 2406 calculates a characteristic correction value of the selected element by adding a value obtained by integrating the difference value up to the element position to the element characteristic correction table. An element characteristic correction value storage circuit stores an output characteristic correction value for an input value.

【0115】基本的な動作は上述した実施の形態3と同
じであるが、ガンマ補正テーブルを記憶するのではな
く、ガンマ補正を行う前の素子の入力値に対する出力特
性補正値である素子特性補正値を記憶させるようにした
点が異なる。理想的な素子のガンマ補正前の特性は、図
25に示すように、入力データに対してリニアな特性と
なる。実際の素子の特性は図25に示すようにリニアな
特性からずれている。そこで理想特性からのずれを補正
するための特性補正値を記憶して特性を補正し、補正さ
れた特性値に対して一律のガンマ補正処理を行う。
The basic operation is the same as that of the third embodiment. However, instead of storing a gamma correction table, an element characteristic correction value which is an output characteristic correction value for an element input value before gamma correction is performed. The difference is that values are stored. The characteristics of an ideal element before gamma correction are linear with respect to input data, as shown in FIG. Actual element characteristics deviate from linear characteristics as shown in FIG. Therefore, the characteristic correction value for correcting the deviation from the ideal characteristic is stored to correct the characteristic, and a uniform gamma correction process is performed on the corrected characteristic value.

【0116】このようにガンマ補正前の特性補正値を記
憶する場合、ガンマ補正値を記憶する場合と比較して、
素子毎の差分値を小さくすることができる。これはガン
マ補正を行った場合、低階調部で特性が大きく変化する
ため素子毎の特性のばらつきが大きくなるが、ガンマ補
正前の素子特性は入力値に対する出力値がほぼリニアな
特性になるため、大きく特性が変化することがなく、素
子毎の差分値を小さくすることができるからである。
As described above, when the characteristic correction value before the gamma correction is stored, compared with the case where the gamma correction value is stored,
The difference value for each element can be reduced. This is because, when gamma correction is performed, the characteristics vary greatly in each element because the characteristics change greatly in the low gradation area, but the element characteristics before gamma correction are such that the output value with respect to the input value is almost linear. Therefore, the characteristic value does not largely change, and the difference value for each element can be reduced.

【0117】例えば、素子毎の特性補正値は図26のテ
ーブル2601に示すようになり、入力値に対してほぼ
リニアな値となる。従って位置的に隣接する素子どうし
の差分値も図26のテーブル2602に示すようにな
り、ガンマ補正値の差分値をとる場合と比較して、差分
値をより小さくすることができる。図26の例では、差
分値が−2から1の間の値であり、2ビットで差分値が
表現できるようになるため、ガンマ補正値の記憶容量を
約2/8にすることができる。
For example, the characteristic correction value for each element is as shown in a table 2601 in FIG. 26, and is substantially linear with respect to the input value. Accordingly, the difference value between the elements adjacent in position is also as shown in the table 2602 in FIG. 26, and the difference value can be made smaller than when the difference value of the gamma correction value is obtained. In the example of FIG. 26, the difference value is a value between −2 and 1, and the difference value can be expressed by 2 bits, so that the storage capacity of the gamma correction value can be reduced to about /.

【0118】上記素子特性補正値記憶回路2406に
は、差分値から元の特性補正値を算出する際に基準とな
る基準素子特性補正テーブルと、位置的に隣接する素子
の特性補正値の差分値を順番に記憶しておく。図26に
示した例では、基準素子特性補正テーブルには1番素子
の素子特性補正テーブルを記憶し、差分値Δ1には2番
素子と1番素子の素子特性の差分値を記憶し、差分値Δ
2には3番素子と2番素子の素子特性の差分値、という
ように隣接する差分値を予め定めた記憶容量で記憶す
る。
The element characteristic correction value storage circuit 2406 stores a reference element characteristic correction table serving as a reference when calculating the original characteristic correction value from the difference value, and a difference value between the characteristic correction values of the positionally adjacent elements. Are stored in order. In the example shown in FIG. 26, the reference element characteristic correction table stores the element characteristic correction table of the first element, and the difference value Δ1 stores the difference value between the element characteristics of the second element and the first element. Value Δ
In 2, adjacent difference values such as a difference value of element characteristics between the third element and the second element are stored with a predetermined storage capacity.

【0119】素子特性補正値算出回路2405では上記
実施の形態3で説明したように、素子選択回路2407
にて選択された素子の特性補正値を、素子特性補正値記
憶回路2406に記憶されている基準素子特性補正テー
ブルに素子位置までの差分値を積算した値を加算するこ
とにより算出する。そして、ガンマ補正値算出回路24
04では、上記素子特性補正値算出回路2405にて算
出された素子毎の特性補正値に対して、出力モニタの特
性に合わせたガンマ補正値を算出する。
In the element characteristic correction value calculation circuit 2405, as described in the third embodiment, the element selection circuit 2407
Is calculated by adding a value obtained by integrating the difference value up to the element position to the reference element characteristic correction table stored in the element characteristic correction value storage circuit 2406. Then, the gamma correction value calculation circuit 24
In step 04, a gamma correction value corresponding to the characteristics of the output monitor is calculated for the characteristic correction value for each element calculated by the element characteristic correction value calculation circuit 2405.

【0120】例えば、ガンマ値2.2のモニタに表示す
る場合には、その逆数の0.45のガンマ特性となるよ
うにガンマ補正値を算出する。その場合の入力値に対す
るガンマ補正値は、 (ガンマ補正値)=(入力値)0.45 となる。このようにガンマ補正値算出回路2404では
素子毎のガンマ補正値を算出し、ガンマ補正値をガンマ
補正回路2403に出力する。ガンマ補正回路103で
はこれまで述べた実施の形態と同様に、素子毎のガンマ
補正値を元にガンマ補正を行う。
For example, when displaying on a monitor having a gamma value of 2.2, a gamma correction value is calculated so as to have a gamma characteristic of the reciprocal of 0.45. In this case, the gamma correction value for the input value is (gamma correction value) = (input value) 0.45 . Thus, the gamma correction value calculation circuit 2404 calculates the gamma correction value for each element, and outputs the gamma correction value to the gamma correction circuit 2403. The gamma correction circuit 103 performs gamma correction based on the gamma correction value for each element, as in the above-described embodiments.

【0121】このように本実施の形態によれば、ガンマ
補正前の素子特性補正値を記憶させることにより、少な
い記憶容量で素子毎のガンマ補正を行うことができる。
As described above, according to the present embodiment, the gamma correction for each element can be performed with a small storage capacity by storing the element characteristic correction value before the gamma correction.

【0122】なお、上記差分値を記憶する際に、実施の
形態5で述べたように、位置的に隣接する素子どうしの
特性補正値の差分値をそのまま記憶するのではなく、差
分値が差分値を記憶する容量を超過した場合、隣接する
次の素子では差分値に超過した値を加算した値を差分値
として記憶するようにしてもよい。このように超過した
値を次の素子の差分値に加算することにより誤差を最小
限にしてデータを復元することができる。
When the difference value is stored, as described in the fifth embodiment, the difference value of the characteristic correction value between the elements adjacent in position is not stored as it is, but the difference value is used as the difference value. If the capacity for storing the value is exceeded, the next adjacent element may store a value obtained by adding the exceeded value to the difference value as the difference value. By adding the excess value to the difference value of the next element, data can be restored with a minimum error.

【0123】また、上記差分値を記憶する際に、実施の
形態6で述べたように、位置的に隣接する素子どうしの
特性補正値の差分値を記憶するのではなく、入力値毎の
素子特性補正値の平均値と、素子毎の特性補正値と平均
値との差分値を記憶するようにしてもよい。このように
することにより、各素子の差分値が独立して記憶されて
いるため差分値が記憶容量を超過する場合、その誤差が
他の素子のガンマ補正に影響を及ぼさないようにするこ
とができる。
In storing the difference values, as described in the sixth embodiment, instead of storing the difference values of the characteristic correction values between the elements adjacent in position, the element values for each input value are stored. The average value of the characteristic correction values and the difference value between the characteristic correction value and the average value for each element may be stored. By doing so, when the difference value exceeds the storage capacity because the difference value of each element is stored independently, it is possible to prevent the error from affecting the gamma correction of other elements. it can.

【0124】また、差分値を記憶する際に、実施の形態
7で述べたように、位置的に隣接する素子どうしの特性
補正値の差分値をデータ長と差分値で記憶するようにし
てもよい。このようにすることにより、柔軟に差分値を
記憶させることができるとともに、差分値のデータ長を
一緒に記憶させることで、正確に素子特性補正値を復元
することができる。
When the difference value is stored, as described in the seventh embodiment, the difference value of the characteristic correction value between the elements adjacent in position may be stored as the data length and the difference value. Good. By doing so, the difference value can be stored flexibly, and the element characteristic correction value can be accurately restored by storing the data length of the difference value together.

【0125】また、素子特性補正値テーブルは、上記実
施の形態2でも述べたように、0から255までの連続
した入力データに対する特性補正値を記憶するのではな
く、何点かの離散的な入力データに対する特性補正値を
記憶するようにしてもよい。
As described in the second embodiment, the element characteristic correction value table does not store characteristic correction values for continuous input data from 0 to 255, but stores several discrete values. A characteristic correction value for input data may be stored.

【0126】また、離散的な入力値に対する素子特性値
を記憶させる場合、実施の形態2でも述べたように、低
階調部、すなわち暗い領域のデータをより多く記憶させ
ることで精度を向上させることができる。また、基準と
なる素子について1番目の素子を基準素子としたが、も
ちろんどの素子を基準素子としてもよい。さらに、基準
素子を1つだけとするのではなく、何点も基準素子をも
ってもよい。
When element characteristic values corresponding to discrete input values are stored, as described in the second embodiment, accuracy is improved by storing more data in a low gradation area, that is, in a dark area. be able to. Although the first element is used as a reference element, any element may be used as the reference element. Further, instead of using only one reference element, any number of reference elements may be provided.

【0127】[0127]

【発明の効果】以上のように、本発明の請求項1に係る
ガンマ補正装置によれば、複数の撮像素子のガンマ特性
を補正するガンマ補正装置において、すべての撮像素子
のガンマ補正値を記憶するガンマ補正値記憶手段と、上
記ガンマ補正値記憶手段から素子毎のガンマ補正値を選
択するガンマ補正値選択手段と、上記ガンマ補正値選択
手段によって選択されたガンマ補正値を用いて素子毎に
個別のガンマ補正を行うガンマ補正手段とを備えたもの
としたので、素子毎にガンマ補正を行うことにより素子
のガンマ特性を補正でき、より高精度なガンマ補正を行
うことができるという効果が得られる。
As described above, according to the gamma correction device according to the first aspect of the present invention, the gamma correction device for correcting the gamma characteristics of a plurality of imaging devices stores the gamma correction values of all the imaging devices. Gamma correction value storage means, a gamma correction value selection means for selecting a gamma correction value for each element from the gamma correction value storage means, and a gamma correction value selected by the gamma correction value selection means for each element. Gamma correction means for performing individual gamma correction is provided, so that gamma correction can be performed for each element to correct the gamma characteristics of the elements, and the effect that more accurate gamma correction can be performed is obtained. Can be

【0128】また、本発明の請求項2に係るガンマ補正
装置によれば、上記請求項1記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶して
おり、上記ガンマ補正値記憶手段に記憶してある所定の
画像の入力値とガンマ補正値とから補間処理を行い、素
子毎のガンマ補正値を算出するガンマ補正値補間手段を
備えたものとしたので、離散的な入力値に対するガンマ
補正値のみを記憶させることで、少ない記憶容量で素子
毎にガンマ補正を行うことができるという効果が得られ
る。
According to the gamma correction device of the second aspect of the present invention, in the gamma correction device of the first aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. A gamma correction value for calculating a gamma correction value for each element by performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage means. Since the interpolation means is provided, by storing only the gamma correction values for the discrete input values, an effect is obtained that gamma correction can be performed for each element with a small storage capacity.

【0129】また、本発明の請求項3に係るガンマ補正
装置によれば、上記請求項1記載のガンマ補正装置にお
いて、上記請求項1記載のガンマ補正装置において、上
記ガンマ補正値記憶手段は、所定の画像を読み取った離
散的な入力値に対するガンマ補正値を記憶する際に、低
階調部のガンマ補正値をより多く記憶するようにしたの
で、変化量の大きい低階調部のガンマ補正値をより多く
記憶させることで少ない記憶容量で、しかも精度よく素
子毎にガンマ補正を行うことができるという効果が得ら
れる。
According to the gamma correction device of the third aspect of the present invention, in the gamma correction device of the first aspect, in the gamma correction device of the first aspect, the gamma correction value storage means includes: When storing a gamma correction value for a discrete input value obtained by reading a predetermined image, the gamma correction value of the low gradation part is stored more, so that the gamma correction of the low gradation part having a large change amount is stored. By storing more values, it is possible to obtain an effect that gamma correction can be performed for each element with a small storage capacity and with high accuracy.

【0130】また、本発明の請求項4に係るガンマ補正
装置によれば、複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、基準素子のガンマ補正値と、
位置的に隣接する素子どうしのガンマ補正値の差分値を
予め定めた記憶容量で記憶するガンマ補正値記憶手段
と、上記ガンマ補正値記憶手段に記憶したガンマ補正値
から素子毎のガンマ補正値を、基準素子は記憶してある
ガンマ補正値を用い、それ以外の素子では基準素子のガ
ンマ補正値に素子位置までの差分値を積算して算出する
ガンマ補正値算出手段と、上記算出したガンマ補正値か
ら素子毎にガンマ補正を行うガンマ補正手段とを備えた
ものとしたので、位置的に隣り合う素子のガンマ補正値
の差分値を予め定めた記憶容量で記憶させることで、効
率良く、少ない記憶容量で素子毎にガンマ補正を行うこ
とができるという効果が得られる。
According to the gamma correction device of the fourth aspect of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and
Gamma correction value storage means for storing the difference value of the gamma correction value between elements adjacent in position with a predetermined storage capacity; and gamma correction value for each element from the gamma correction value stored in the gamma correction value storage means. A gamma correction value calculating means for calculating a reference element using a stored gamma correction value, and for other elements, integrating a gamma correction value of the reference element and a difference value up to the element position to calculate the gamma correction value. Gamma correction means for performing gamma correction for each element from the value, so that the difference value between the gamma correction values of the elements adjacent in position is stored in a predetermined storage capacity, so that the efficiency and the efficiency are reduced. An effect is obtained that gamma correction can be performed for each element with a storage capacity.

【0131】また、本発明の請求項5に係るガンマ補正
装置によれば、上記請求項4記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶して
おり、上記ガンマ補正値記憶手段に記憶してある所定の
画像の入力値とガンマ補正値とから補間処理を行い、素
子毎のガンマ補正値を算出するガンマ補正値補間手段を
備えたものとしたので、位置的に隣り合う素子のガンマ
補正値の差分値を予め定めた記憶容量で記憶させ、さら
に離散的な入力値に対するガンマ補正値のみを記憶させ
ることでより少ない記憶容量で素子毎にガンマ補正を行
うことができるという効果が得られる。
According to a fifth aspect of the present invention, in the gamma correction apparatus according to the fourth aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. A gamma correction value for calculating a gamma correction value for each element by performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage means. Since the interpolation means is provided, the difference value between the gamma correction values of the elements adjacent in position is stored in a predetermined storage capacity, and further, only the gamma correction value for a discrete input value is stored. The effect is obtained that gamma correction can be performed for each element with a small storage capacity.

【0132】また、本発明の請求項6に係るガンマ補正
装置によれば、上記請求項4記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶する
際に、低階調部のガンマ補正値をより多く記憶するよう
にしたので、変化量の大きい低階調部のガンマ補正値を
より多く記憶させることで、少ない記憶容量で精度よく
素子毎にガンマ補正を行うことができるという効果が得
られる。
According to the gamma correction device of the sixth aspect of the present invention, in the gamma correction device of the fourth aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. When storing the gamma correction value for, the gamma correction value of the low gradation portion is stored more, so that the gamma correction value of the low gradation portion having a large change amount is stored more, so that less storage is performed. The effect is obtained that the gamma correction can be accurately performed for each element by the capacity.

【0133】また、本発明の請求項7に係るガンマ補正
装置によれば、複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、基準素子のガンマ補正値と、
位置的に隣接する素子どうしのガンマ補正値の差分値を
予め定めた記憶容量で記憶し、差分値が予め定めた記憶
容量を超過した場合、隣接する素子では差分値に超過し
た値を加算して記憶するガンマ補正値記憶手段と、上記
ガンマ補正値記憶手段に記憶したガンマ補正値から素子
毎のガンマ補正値を、基準素子は記憶してあるガンマ補
正値を用い、それ以外の素子では基準素子のガンマ補正
値に素子位置までの差分値を積算して算出するガンマ補
正値算出手段と、上記算出したガンマ補正値から素子毎
にガンマ補正を行うガンマ補正手段とを備えたものとし
たので、位置的に隣り合う素子のガンマ補正値の差分値
を記憶させることで、少ない記憶容量で素子毎にガンマ
補正を行うことができると共に、差分値が差分値を記憶
する容量を超過した場合でもその誤差を最小限に抑える
ことができるという効果が得られる。
Further, according to the gamma correction device of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and
The difference value of the gamma correction value between adjacent elements is stored in a predetermined storage capacity, and when the difference value exceeds the predetermined storage capacity, the adjacent element adds the excess value to the difference value. A gamma correction value for each element from the gamma correction values stored in the gamma correction value storage means, a stored gamma correction value for a reference element, and a reference gamma correction value for other elements. Gamma correction value calculating means for integrating the gamma correction value of the element and the difference value up to the element position for calculation, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value are provided. By storing the difference value between the gamma correction values of the elements adjacent in position, gamma correction can be performed for each element with a small storage capacity, and the difference value exceeds the capacity for storing the difference value. Effect is obtained in that even if it is possible to suppress the error to a minimum.

【0134】また、本発明の請求項8に係るガンマ補正
装置によれば、上記請求項7記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶して
おり、上記ガンマ補正値記憶手段に記憶してある所定の
画像の入力値とガンマ補正値とから補間処理を行い、素
子毎のガンマ補正値を算出するガンマ補正値補間手段を
備えたものとしたので、差分値が差分値を記憶する容量
を超過した場合でも、その誤差を最小限に抑えることが
でき、また、離散的な入力値に対するガンマ補正値を記
憶することでガンマ補正値の記憶容量を小さくすことが
できるという効果が得られる。
According to an eighth aspect of the present invention, in the gamma correction apparatus according to the seventh aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. A gamma correction value for calculating a gamma correction value for each element by performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage means. Since the interpolation means is provided, even when the difference value exceeds the capacity for storing the difference value, the error can be minimized, and the gamma correction value for the discrete input value is stored. This has the effect of reducing the storage capacity of the gamma correction value.

【0135】また、本発明の請求項9に係るガンマ補正
装置によれば、上記請求項7記載のガンマ補正装置にお
いて、上記ガンマ補正値記憶手段は、所定の画像を読み
取った離散的な入力値に対するガンマ補正値を記憶する
際に、低階調部のガンマ補正値をより多く記憶するよう
にしたので、差分値が差分値を記憶する容量を超過した
場合でも、その誤差を最小限に抑えることができ、ま
た、変化量の大きい低階調部のガンマ補正値をより多く
記憶させることで少ない記憶容量で精度よく素子毎にガ
ンマ補正を行うことができるという効果が得られる。
Further, according to the gamma correction apparatus of the ninth aspect of the present invention, in the gamma correction apparatus of the seventh aspect, the gamma correction value storage means stores the discrete input value obtained by reading a predetermined image. When storing the gamma correction value for, the gamma correction value of the low gradation part is stored more, so even if the difference value exceeds the capacity for storing the difference value, the error is minimized. In addition, by storing more gamma correction values in the low gradation part where the amount of change is large, it is possible to obtain the effect that gamma correction can be performed for each element with small storage capacity and with high accuracy.

【0136】また、本発明の請求項10に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、素子のガンマ補正値の平均
値と、その平均値と各素子毎のガンマ補正値の差分値を
記憶したガンマ補正値記憶手段と、上記ガンマ補正値記
憶手段に記憶したガンマ補正値から素子毎のガンマ補正
値を、ガンマ補正値の平均値に素子毎の差分値を加算し
た値から算出するガンマ補正値算出手段と、上記算出し
たガンマ補正値から素子毎にガンマ補正を行うガンマ補
正手段とを備えたものとしたので、素子毎に独立して平
均値に差分値を加算してガンマ補正値を算出するため正
確にガンマ補正を行うことができるという効果が得られ
る。
According to the gamma correction device of the tenth aspect of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of imaging devices, the average value of the gamma correction values of the devices, the average value thereof, and A gamma correction value storage unit that stores a difference value of the gamma correction value for each element; and a gamma correction value for each element from the gamma correction value stored in the gamma correction value storage unit. Gamma correction value calculation means for calculating from the value obtained by adding the difference value, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value are provided. Since the gamma correction value is calculated by adding the difference value to the gamma correction value, the gamma correction can be performed accurately.

【0137】また、本発明の請求項11に係るガンマ補
正装置によれば、上記請求項10記載のガンマ補正装置
において、上記ガンマ補正値記憶手段は、所定の画像を
読み取った離散的な入力値に対するガンマ補正値を記憶
しており、上記ガンマ補正値記憶手段に記憶してある所
定の画像の入力値とガンマ補正値とから補間処理を行
い、素子毎のガンマ補正値を算出するガンマ補正値補間
手段を備えたものとしたので、素子毎に独立して平均値
に差分値を加算してガンマ補正値を算出して正確なガン
マ補正を行うことができ、また、離散的な入力値に対す
るガンマ補正値を記憶させることで、ガンマ補正値の記
憶容量を小さくすることができるという効果が得られ
る。
According to the gamma correction device of the present invention, in the gamma correction device of the tenth aspect, the gamma correction value storage means stores the discrete input value obtained by reading a predetermined image. A gamma correction value for calculating a gamma correction value for each element by performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage means. Interpolation means are provided, so that a gamma correction value can be calculated by adding a difference value to an average value independently for each element, and accurate gamma correction can be performed. Storing the gamma correction value has the effect of reducing the storage capacity of the gamma correction value.

【0138】また、本発明の請求項12に係るガンマ補
正装置によれば、上記請求項10記載のガンマ補正装置
において、上記ガンマ補正値記憶手段は、所定の画像を
読み取った離散的な入力値に対するガンマ補正値を記憶
する際に、低階調部のガンマ補正値をより多く記憶する
ようにしたので、素子毎に独立して平均値に差分値を加
算してガンマ補正値を算出して、正確にガンマ補正を行
え、また、離散的な入力値に対するガンマ補正値のなか
で、変化量の大きい低階調部をより多く記憶させること
で精度よく記憶容量を小さくすることができるという効
果が得られる。
Further, according to the gamma correction apparatus of the twelfth aspect of the present invention, in the gamma correction apparatus of the tenth aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. When storing the gamma correction value for, the gamma correction value for the low gradation part is stored more, so the difference value is added to the average value independently for each element to calculate the gamma correction value. Gamma correction can be performed accurately, and the storage capacity can be accurately reduced by storing more low-gradation portions having a large change amount among the gamma correction values for discrete input values. Is obtained.

【0139】また、本発明の請求項13に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、基準素子のガンマ補正値
と、位置的に隣接する素子どうしのガンマ補正値の差分
値とそのデータ長を記憶するガンマ補正値記憶手段と、
上記ガンマ補正値記憶手段に記憶したガンマ補正値から
素子毎のガンマ補正値を、基準素子は記憶してあるガン
マ補正値によりガンマ補正を行い、それ以外の素子では
基準素子のガンマ補正値に素子位置までの差分値を積算
した値から算出するガンマ補正値算出手段と、上記算出
したガンマ補正値から素子毎にガンマ補正を行うガンマ
補正手段とを備えたものとしたので、位置的に隣り合う
素子のガンマ補正値の差分値を、差分値の大きさに合わ
せて効率良く記憶させることで、少ない記憶容量で素子
毎にガンマ補正を行うことができるという効果が得られ
る。
According to the gamma correction device of the thirteenth aspect of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and the gamma correction value of the positionally adjacent device are compared. Gamma correction value storage means for storing the difference value of the gamma correction value and the data length thereof,
The gamma correction value for each element is calculated from the gamma correction value stored in the gamma correction value storage means, the reference element performs gamma correction using the stored gamma correction value, and the other elements perform gamma correction for the gamma correction value of the reference element. Gamma correction value calculation means for calculating from a value obtained by integrating the difference values up to the position, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value, so that they are adjacent to each other in position. By efficiently storing the difference value of the gamma correction value of the element according to the magnitude of the difference value, an effect is obtained that gamma correction can be performed for each element with a small storage capacity.

【0140】また、本発明の請求項14に係るガンマ補
正装置によれば、上記請求項13記載のガンマ補正装置
において、上記ガンマ補正値記憶手段は、所定の画像を
読み取った離散的な入力値に対するガンマ補正値を記憶
しており、上記ガンマ補正値記憶手段に記憶してある所
定の画像の入力値とガンマ補正値とから補間処理を行
い、素子毎のガンマ補正値を算出するガンマ補正値補間
手段を備えたものとしたので、位置的に隣り合う素子の
ガンマ補正値の差分値を、差分値の大きさに合わせて効
率良く記憶させ、さらに、離散的な入力値に対するガン
マ補正値のみを記憶させることで、より少ない記憶容量
で素子毎にガンマ補正を行うことができるという効果が
得られる。
According to a gamma correction device of the present invention, in the gamma correction device of the thirteenth aspect, the gamma correction value storage means stores a discrete input value obtained by reading a predetermined image. A gamma correction value for calculating a gamma correction value for each element by performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the gamma correction value storage means. Since the interpolation means is provided, the difference value of the gamma correction value of the element adjacent in position is efficiently stored in accordance with the magnitude of the difference value, and only the gamma correction value for the discrete input value is stored. Has the effect that gamma correction can be performed for each element with a smaller storage capacity.

【0141】また、本発明の請求項15に係るガンマ補
正装置によれば、上記請求項13記載のガンマ補正装置
において、上記ガンマ補正値記憶手段は、所定の画像を
読み取った離散的な入力値に対するガンマ補正値を記憶
する際に、低階調部のガンマ補正値をより多く記憶する
ようにしたので、変化量の大きい低階調部のガンマ補正
値をより多く記憶させることで少ない記憶容量で精度よ
く素子毎にガンマ補正を行うことができるという効果が
得られる。
According to the gamma correction device of the present invention, the gamma correction value storage means may store the discrete input value obtained by reading a predetermined image. When storing the gamma correction value for, the gamma correction value of the low gradation portion is stored more, so that the gamma correction value of the low gradation portion having a large change amount is stored to reduce the storage capacity. Thus, an effect that gamma correction can be performed for each element with high accuracy can be obtained.

【0142】また、本発明の請求項16に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、複数のガンマ補正テーブル
を記憶するガンマ補正テーブル記憶手段と、素子毎にガ
ンマ補正テーブルを選択するための選択情報を記憶する
ガンマ補正テーブル選択情報記憶手段と、上記ガンマ補
正テーブル記憶手段と上記ガンマ補正テーブル選択情報
記憶手段とから素子毎に対応したガンマ補正テーブルを
選択するガンマ補正テーブル選択手段と、選択したガン
マ補正テーブルによりガンマ補正を行うガンマ補正手段
とを備えたものとしたので、素子毎に該当するガンマ補
正テーブルの選択情報のみを記憶させることにより、記
憶容量を小さくすることができるという効果が得られ
る。
Further, according to the gamma correction device of the present invention, in a gamma correction device for correcting gamma characteristics of a plurality of imaging devices, a gamma correction table storage means for storing a plurality of gamma correction tables, A gamma correction table selection information storage means for storing selection information for selecting a gamma correction table for each element; a gamma correction table corresponding to each element from the gamma correction table storage means and the gamma correction table selection information storage means And a gamma correction unit for performing gamma correction based on the selected gamma correction table.By storing only the selection information of the gamma correction table corresponding to each element, The effect that the storage capacity can be reduced is obtained.

【0143】また、本発明の請求項17に係るガンマ補
正装置によれば、上記請求項16記載のガンマ補正装置
において、上記ガンマ補正テーブル記憶手段は、ガンマ
補正量が最も小さいガンマ補正テーブル、あるいはガン
マ補正量が最も大きいガンマ補正テーブルを基準のガン
マ補正テーブルとして記憶し、その他のガンマ補正テー
ブルは、基準のガンマ補正テーブルがガンマ補正量の最
も小さいガンマ補正テーブルを用いる場合は、ガンマ補
正量が小さい順番にガンマ補正テーブルを並べた場合に
順番が隣り合うガンマ補正値の差分値を記憶し、一方、
基準のガンマ補正テーブルとしてガンマ補正量の最も大
きいガンマ補正テーブルを用いる場合は、ガンマ補正量
が大きい順番にガンマ補正テーブルを並べた場合に順番
が隣り合うガンマ補正値の差分値を記憶し、上記基準の
ガンマ補正テーブルと差分値とからガンマ補正テーブル
を算出するガンマ補正テーブル算出手段を備えたものと
したので、複数のガンマ補正テーブルをガンマ補正テー
ブル記憶手段に記憶させる際に、ガンマ補正特性の近い
ガンマ補正テーブルどうしの差分値を記憶することによ
り、ガンマ補正テーブル記憶手段の記憶容量を小さくす
ることができるという効果が得られる。
According to a gamma correction device of the present invention, in the gamma correction device of the sixteenth aspect, the gamma correction table storage means includes a gamma correction table having the smallest gamma correction amount, or The gamma correction table having the largest amount of gamma correction is stored as the reference gamma correction table, and other gamma correction tables have the same gamma correction amount when the reference gamma correction table uses the gamma correction table having the smallest gamma correction amount. When the gamma correction tables are arranged in ascending order, the difference value between the gamma correction values adjacent to each other is stored.
When the gamma correction table having the largest gamma correction amount is used as the reference gamma correction table, when the gamma correction tables are arranged in the descending order of the gamma correction amount, the difference value of the gamma correction value adjacent to the order is stored. Since the gamma correction table calculating means for calculating the gamma correction table from the reference gamma correction table and the difference value is provided, when storing the plurality of gamma correction tables in the gamma correction table storage means, Storing the difference value between the close gamma correction tables has the effect of reducing the storage capacity of the gamma correction table storage means.

【0144】また、本発明の請求項18に係るガンマ補
正装置によれば、上記請求項16記載のガンマ補正装置
において、上記ガンマ補正テーブル選択手段は、素子の
ガンマ補正テーブルと、ガンマ補正テーブル記憶手段に
記憶してある複数のガンマ補正テーブルとで、ガンマ補
正値の最小二乗和が最も小さくなるガンマ補正テーブル
を選択するようにしたので、予め複数のガンマ補正テー
ブルを記憶させておき、素子毎にそのガンマ補正テーブ
ルの選択情報のみを記憶させることにより、記憶容量を
小さくすることができると共に、正確に最適なガンマ補
正テーブルを選択することができるという効果が得られ
る。
According to the gamma correction apparatus of the eighteenth aspect of the present invention, in the gamma correction apparatus of the sixteenth aspect, the gamma correction table selecting means stores the gamma correction table of the element and the gamma correction table. The gamma correction table that minimizes the least square sum of the gamma correction values is selected from among the plurality of gamma correction tables stored in the means. By storing only the selection information of the gamma correction table, the storage capacity can be reduced, and the optimal gamma correction table can be selected accurately.

【0145】また、本発明の請求項19に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、基準素子の素子特性補正値
と、位置的に隣接する素子どうしの素子特性補正値の差
分値を予め定めた記憶容量でガンマ補正前の特性補正値
を記憶する素子特性補正値記憶手段と、上記素子特性補
正値記憶手段に記憶した素子特性補正値から素子毎の素
子特性補正値を、基準素子は記憶してある素子特性補正
値によりガンマ補正値を算出し、それ以外の素子では基
準素子の素子特性補正値に素子位置までの差分値を積算
した値から算出する素子特性補正値算出手段と、上記算
出した素子毎の特性補正値から素子毎にガンマ補正値を
算出するガンマ補正値算出手段と、上記算出したガンマ
補正値から素子毎にガンマ補正を行うガンマ補正手段と
を備えたものとしたので、素子間の特性の差が小さいガ
ンマ補正前の特性補正値の差分値を記憶させることで、
より少ない記憶容量で素子毎にガンマ補正を行うことが
できるという効果が得られる。
According to the gamma correction device of the nineteenth aspect of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the device characteristic correction value of the reference device and the device characteristically adjacent to the reference device are corrected. Element characteristic correction value storage means for storing a characteristic correction value before gamma correction with a predetermined storage capacity for a difference value between element characteristic correction values, and an element based on the element characteristic correction value stored in the element characteristic correction value storage means. For each element characteristic correction value, the reference element calculates a gamma correction value based on the stored element characteristic correction value, and for other elements, a value obtained by integrating the difference value up to the element position with the element characteristic correction value of the reference element. A gamma correction value calculating means for calculating a gamma correction value for each element from the calculated characteristic correction value for each element, and a gamma correction value calculating means for calculating a gamma correction value for each element from the calculated gamma correction value. Having assumed that a gamma correction unit for performing gamma correction, by storing the difference value of the difference is smaller before gamma correction characteristic correction value in characteristics among elements,
The effect is obtained that gamma correction can be performed for each element with a smaller storage capacity.

【0146】また、本発明の請求項20に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性記憶手段は、位置的に隣接する
素子どうしの素子特性補正値の差分値を予め定めた記憶
容量で記憶し、差分値が予め定めた記憶容量を超過した
場合、隣接する素子では差分値に超過した値を加算して
記憶するようにしたので、素子間の特性の差が小さいガ
ンマ補正前の特性補正値の差分値を予め定めた記憶容量
で記憶させることで、より効率良く少ない記憶容量で素
子毎にガンマ補正を行うことができるという効果が得ら
れる。
According to a gamma correction device of the present invention, in the gamma correction device of the nineteenth aspect, the element characteristic storage means stores an element characteristic correction value of a positionally adjacent element. The difference value is stored in a predetermined storage capacity, and when the difference value exceeds the predetermined storage capacity, an adjacent element is added with the value exceeding the difference value and stored. By storing the difference value of the characteristic correction value before the gamma correction with a small characteristic difference with a predetermined storage capacity, it is possible to perform the gamma correction more efficiently for each element with a smaller storage capacity.

【0147】また、本発明の請求項21に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性補正値記憶手段は、素子の素子
特性補正値の平均値と、その平均値と各素子毎の素子特
性補正値の差分値を記憶し、上記素子特性補正値算出手
段は、各素子毎に素子特性補正値の平均値に素子毎の差
分値を加算した値から素子特性補正値を算出するように
したので、素子間の特性の差が小さいガンマ補正前の特
性補正値の差分値を記憶させることで、記憶容量を小さ
くすることができ、また、差分値が差分値を記憶する容
量を超過した場合でもその誤差を最小限に抑えることが
できるという効果が得られる。
According to the gamma correction apparatus of the twenty-first aspect of the present invention, in the gamma correction apparatus of the nineteenth aspect, the element characteristic correction value storage means stores the average value of the element characteristic correction values of the elements. A difference value between the average value and the element characteristic correction value for each element, and the element characteristic correction value calculation means calculates a value obtained by adding the difference value for each element to the average value of the element characteristic correction value for each element. Since the element characteristic correction value is calculated from, the storage capacity can be reduced by storing the difference value of the characteristic correction value before gamma correction where the characteristic difference between the elements is small, and the difference value can be reduced. Has an effect that even if the data exceeds the capacity for storing the difference value, the error can be minimized.

【0148】また、本発明の請求項22に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性記憶手段は、位置的に隣接する
素子どうしの素子特性補正値の差分値をそのデータ長と
共に記憶するようにしたので、素子間の特性の差が小さ
いガンマ補正前の特性補正値の差分値を記憶させること
により、記憶容量を小さくすることができ、また、素子
毎に独立して平均値に差分値を加算することにより特性
補正値を算出し、その特性補正値からガンマ補正値を算
出するため、正確にガンマ補正を行うことができるとい
う効果が得られる。
According to the gamma correction device of the present invention, in the gamma correction device of the nineteenth aspect, the element characteristic storage means stores an element characteristic correction value of a positionally adjacent element. Is stored together with the data length, so that the difference between the characteristic correction values before gamma correction, in which the characteristic difference between the elements is small, is stored, so that the storage capacity can be reduced. Since the characteristic correction value is calculated by independently adding the difference value to the average value for each element, and the gamma correction value is calculated from the characteristic correction value, an effect that gamma correction can be accurately performed can be obtained. .

【0149】また、本発明の請求項23に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性補正値記憶手段は、所定の画像
を読み取った離散的な入力値に対する素子特性補正値を
記憶し、上記素子特性補正値補間手段は、上記素子特性
補正値記憶手段に記憶してある所定の画像の入力値と素
子特性補正値とから補間処理を行って素子毎の素子特性
補正値を算出するようにしたので、素子間の特性の差が
小さいガンマ補正前の特性補正値の差分値を記憶させる
と共に、離散的な入力値に対する特性補正値を記憶する
ことにより、さらに記憶容量を減らすことができるとい
う効果が得られる。
According to the gamma correction device of the present invention, the element characteristic correction value storage means may be a discrete input device that reads a predetermined image. The element characteristic correction value interpolating means stores an element characteristic correction value for the value, and performs an interpolation process based on the input value of the predetermined image and the element characteristic correction value stored in the element characteristic correction value storage means. Since the element characteristic correction value is calculated for each element, it is necessary to store the difference value of the characteristic correction value before the gamma correction in which the characteristic difference between the elements is small, and to store the characteristic correction value for a discrete input value. Thereby, an effect that the storage capacity can be further reduced can be obtained.

【0150】また、本発明の請求項24に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性補正値記憶手段は、所定の画像
を読み取った離散的な入力値に対する素子特性補正値を
記憶させる際に、低階調部の素子特性補正値をより多く
記憶させるようにしたので、素子間の特性の差が小さい
ガンマ補正前の特性補正値の差分値を記憶させることで
記憶容量を減らすと共に、ガンマ補正後に変化量が大き
くなる低階調部の特性補正値をより多く記憶させること
で、少ない記憶容量で精度よく素子毎にガンマ補正を行
うことができるという効果がある。
According to a gamma correction apparatus according to claim 24 of the present invention, in the gamma correction apparatus according to claim 19, the element characteristic correction value storage means includes a discrete input device that reads a predetermined image. When the element characteristic correction value for the value is stored, the element characteristic correction value of the low gradation part is stored more, so that the difference value of the characteristic correction value before gamma correction where the characteristic difference between the elements is small is calculated. By storing the data, the storage capacity can be reduced, and by storing more characteristic correction values of the low gradation part where the amount of change becomes large after the gamma correction, gamma correction can be accurately performed for each element with a small storage capacity. This has the effect.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1におけるガンマ補正装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a gamma correction device according to a first embodiment of the present invention.

【図2】上記実施の形態1によるガンマ補正装置が適用
されるイメージスキャナの構成を示す図である。
FIG. 2 is a diagram showing a configuration of an image scanner to which the gamma correction device according to the first embodiment is applied.

【図3】上記実施の形態1におけるガンマ補正装置のガ
ンマ補正値の一例を示した図である。
FIG. 3 is a diagram illustrating an example of a gamma correction value of the gamma correction device according to the first embodiment.

【図4】本発明の実施の形態2におけるガンマ補正装置
の構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a gamma correction device according to a second embodiment of the present invention.

【図5】ガンマ補正値を算出するのに用いられるグレー
チャートの一例を示す図である。
FIG. 5 is a diagram illustrating an example of a gray chart used for calculating a gamma correction value.

【図6】10パターンのグレーチャートに対するガンマ
補正値の一例を示す図である。
FIG. 6 is a diagram showing an example of gamma correction values for ten patterns of a gray chart.

【図7】データ間を直線補間する補間処理を説明するた
めの図である。
FIG. 7 is a diagram for explaining an interpolation process for linearly interpolating between data.

【図8】ガンマ補正曲線がガンマ2.2の値をもつ理想
ガンマ曲線を10個の離散的なデータで直線近似する場
合の一例を示す図である。
FIG. 8 is a diagram showing an example of a case where an ideal gamma curve having a gamma of 2.2 in a gamma correction curve is linearly approximated by ten discrete data.

【図9】低階調領域のデータ数をより多くとって理想ガ
ンマ曲線との誤差を最小限にする補間処理の一例を示す
図である。
FIG. 9 is a diagram illustrating an example of an interpolation process that takes a larger number of data in a low gradation area and minimizes an error from an ideal gamma curve.

【図10】本発明の実施の形態3におけるガンマ補正装
置の構成を示すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a gamma correction device according to a third embodiment of the present invention.

【図11】上記実施の形態3におけるガンマ補正装置を
構成するガンマ補正値記憶手段に記憶する差分値を算出
する方法を説明するための図である。
FIG. 11 is a diagram for explaining a method of calculating a difference value stored in a gamma correction value storage unit included in the gamma correction device according to the third embodiment.

【図12】本発明の実施の形態4におけるガンマ補正装
置の構成を示すブロック図である。
FIG. 12 is a block diagram illustrating a configuration of a gamma correction device according to a fourth embodiment of the present invention.

【図13】上記実施の形態4におけるガンマ補正装置の
差分値からガンマ補正値を復元するための方法を説明す
るための図である。
FIG. 13 is a diagram for explaining a method for restoring a gamma correction value from a difference value of the gamma correction device according to the fourth embodiment.

【図14】本発明の実施の形態5におけるガンマ補正装
置による補間方法用いる前の問題点を説明するための図
である。
FIG. 14 is a diagram for explaining a problem before using an interpolation method by a gamma correction device according to a fifth embodiment of the present invention.

【図15】本発明の実施の形態5におけるガンマ補正装
置を用いた補間処理を説明するための図である。
FIG. 15 is a diagram illustrating an interpolation process using the gamma correction device according to the fifth embodiment of the present invention.

【図16】本発明の実施の形態6におけるガンマ補正装
置の構成を示すブロック図である。
FIG. 16 is a block diagram illustrating a configuration of a gamma correction device according to a sixth embodiment of the present invention.

【図17】上記実施の形態6におけるガンマ補正装置に
よる差分値算出方法を説明するための図である。
FIG. 17 is a diagram for explaining a difference value calculation method by the gamma correction device according to the sixth embodiment.

【図18】本発明の実施の形態7におけるガンマ補正装
置の構成を示すブロック図である。
FIG. 18 is a block diagram illustrating a configuration of a gamma correction device according to a seventh embodiment of the present invention.

【図19】上記実施の形態7におけるガンマ補正装置の
ガンマ補正値記憶回路への記録方法を説明するための図
である。
FIG. 19 is a diagram for explaining a recording method in the gamma correction value storage circuit of the gamma correction device according to the seventh embodiment.

【図20】上記実施の形態7によるガンマ補正装置のガ
ンマ補正値記憶回路へ、差分値のデータ長を一緒に記憶
させた状態を説明するためのイメージ図である。
FIG. 20 is an image diagram for explaining a state in which the data length of the difference value is stored together in the gamma correction value storage circuit of the gamma correction device according to the seventh embodiment.

【図21】上記実施の形態7によるガンマ補正値のデー
タ長とガンマ補正値とを順次記憶していく場合のイメー
ジ図である。
FIG. 21 is an image diagram when the data length and the gamma correction value of the gamma correction value according to the seventh embodiment are sequentially stored.

【図22】本発明の実施の形態8によるガンマ補正装置
の構成を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration of a gamma correction device according to an eighth embodiment of the present invention.

【図23】上記実施の形態8におけるガンマ補正装置の
変形例の構成を示すブロック図である。
FIG. 23 is a block diagram showing a configuration of a modified example of the gamma correction device according to the eighth embodiment.

【図24】本発明の実施の形態9におけるガンマ補正装
置の構成を示すブロック図である。
FIG. 24 is a block diagram illustrating a configuration of a gamma correction device according to Embodiment 9 of the present invention.

【図25】上記実施の形態9におけるガンマ補正装置に
おいて、素子特性と理想特性との関係を示す図である。
FIG. 25 is a diagram illustrating a relationship between element characteristics and ideal characteristics in the gamma correction device according to the ninth embodiment.

【図26】上記実施の形態7におけるガンマ補正装置の
差分値算出方法を説明するための図である。
FIG. 26 is a diagram for explaining a difference value calculation method of the gamma correction device according to the seventh embodiment.

【図27】ガンマ補正テーブルを格納したROMを用い
たガンマ補正の方法を概念的に説明するための図であ
る。
FIG. 27 is a diagram for conceptually explaining a gamma correction method using a ROM storing a gamma correction table.

【図28】従来のガンマ補正装置の構成を示すブロック
図である。
FIG. 28 is a block diagram illustrating a configuration of a conventional gamma correction device.

【図29】従来のガンマ補正装置によるガンマ補正の方
法を説明するための図である。
FIG. 29 is a diagram for explaining a method of gamma correction by a conventional gamma correction device.

【図30】従来のガンマ補正装置における差分値算出方
法を説明するための図である。
FIG. 30 is a diagram for explaining a difference value calculation method in a conventional gamma correction device.

【符号の説明】[Explanation of symbols]

101,204 撮像素子 102 A/Dコンバータ 103 ガンマ補正回路 104,2204,2304 ガンマ補正テーブル選択
回路 105,1005,1605,1805 ガンマ補正値
記憶回路 106 素子選択回路 201 読み取り原稿 202 照明 203 レンズ 404,1204 ガンマ補正値補間回路 408 パターン値記憶回路 1004,1604,1804,2404 ガンマ補正
値算出回路 2205,2305 ガンマ選択値記憶回路 2206,2307 ガンマ補正テーブル記憶回路 2405 素子特性補正値算出回路 2406 素子特性補正値記憶回路 2801 入力端 2802 入力選択部 2803 ガンマ特性補正部 2804 特性選択部 2805 マイクロプロセッサ 2806 データ貯蔵部
101, 204 Image sensor 102 A / D converter 103 Gamma correction circuit 104, 2204, 2304 Gamma correction table selection circuit 105, 1005, 1605, 1805 Gamma correction value storage circuit 106 Element selection circuit 201 Document to be read 202 Illumination 203 Lens 404, 1204 Gamma correction value interpolation circuit 408 Pattern value storage circuit 1004, 1604, 1804, 2404 Gamma correction value calculation circuit 2205, 2305 Gamma selection value storage circuit 2206, 2307 Gamma correction table storage circuit 2405 Element characteristic correction value calculation circuit 2406 Element characteristic correction value Storage circuit 2801 Input terminal 2802 Input selection unit 2803 Gamma characteristic correction unit 2804 Characteristic selection unit 2805 Microprocessor 2806 Data storage unit

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成13年6月29日(2001.6.2
9)
[Submission date] June 29, 2001 (2001.6.2
9)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項4[Correction target item name] Claim 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項7[Correction target item name] Claim 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項10[Correction target item name] Claim 10

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項13[Correction target item name] Claim 13

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項19[Correction target item name] Claim 19

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項21[Correction target item name] Claim 21

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0018[Correction target item name] 0018

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0018】また、本発明の請求項4にかかるガンマ補
正装置は、複数の撮像素子のガンマ特性を補正するガン
マ補正装置において、基準素子のガンマ補正値と、それ
ぞれ位置的に隣接する素子どうしのガンマ補正値の差分
予め定めた記憶容量で記憶するガンマ補正値記
憶手段と、基準素子は記憶してあるガンマ補正値を用
い、それ以外の素子では基準素子のガンマ補正値に
素子位置までに存在する素子の差分値をそれぞれ
することで、素子毎のガンマ補正値を算出するガンマ
補正値算出手段と、上記算出したガンマ補正値から素子
毎にガンマ補正を行うガンマ補正手段とを備えたもので
ある。
Further, the gamma correction apparatus according to claim 4 of the present invention, the gamma correction apparatus for correcting the gamma characteristics of a plurality of imaging elements, and a gamma correction value of the reference element, it
And the difference value of the gamma correction value of each other element adjacent to, respectively positionally, using the gamma correction value storage means for storing in a predetermined storage capacity, the gamma correction value criteria elements are stored, otherwise in the element, against the gamma correction value of the reference element
By each product <br/> calculate the difference value of the element up to the present position of the device, and the gamma correction value calculating means for calculating the gamma correction value for each element, for each element from the gamma correction value calculated above Gamma correction means for performing gamma correction.

【手続補正8】[Procedure amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0021[Correction target item name] 0021

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0021】また、本発明の請求項7にかかるガンマ補
正装置は、複数の撮像素子のガンマ特性を補正するガン
マ補正装置において、基準素子のガンマ補正値と、それ
ぞれ位置的に隣接する素子どうしのガンマ補正値の差分
予め定めた記憶容量で記憶し、上記差分値が予
め定めた記憶容量を超過した場合、隣接する素子では
差分値に上記予め定めた記憶容量を超過した値を加算し
て記憶するガンマ補正値記憶手段と、基準素子は記憶し
てあるガンマ補正値を用い、それ以外の素子では基準
素子のガンマ補正値に当該素子位置までに存在する素
子の差分値をそれぞれ積算することで、素子毎のガンマ
補正値を算出するガンマ補正値算出手段と、上記算出し
たガンマ補正値から素子毎にガンマ補正を行うガンマ補
正手段とを備えたものである。
Further, the gamma correction apparatus according to claim 7 of the present invention, the gamma correction apparatus for correcting the gamma characteristics of a plurality of imaging elements, and a gamma correction value of the reference element, it
And the difference value of the gamma correction value of each other element adjacent positionally, respectively, stored in a predetermined storage capacity, storage in excess of storage in which the difference value is predetermined, said in adjacent elements <br / > gamma correction value storage means for adding and storing the excess value of the storage capacity in the difference value determined above in advance, using the gamma correction value criteria elements are stored, and in the other element, the reference element containing up to the present position of the element in the gamma correction value
By integrating the difference value of the child respectively, gamma per element
The apparatus includes gamma correction value calculation means for calculating a correction value, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value.

【手続補正9】[Procedure amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Correction target item name] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0024】また、本発明の請求項10にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、入力毎の各素子のガンマ補正値
の平均値と、平均値と上記各素子毎のガンマ補正値
の差分値を記憶したガンマ補正値記憶手段と、素子毎の
ガンマ補正値を、上記ガンマ補正値の平均値に素子毎
の差分値を加算し算出するガンマ補正値算出手段と、
上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたものである。
According to a tenth aspect of the present invention, there is provided a gamma correction apparatus for correcting a gamma characteristic of a plurality of image pickup devices, wherein an average value of a gamma correction value of each element for each input , and a gamma correction value for each of the one element and the <br/> gamma correction value storage means for storing a difference value, a gamma correction value for each element child, the average value of the gamma correction value, the difference value of each element Gamma correction value calculating means for calculating by adding
Gamma correction means for performing gamma correction for each element from the calculated gamma correction value.

【手続補正10】[Procedure amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Correction target item name] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0027】また、本発明の請求項13にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、基準素子のガンマ補正値と、
れぞれ位置的に隣接する素子どうしのガンマ補正値
差分値と、該差分値のデータ長を記憶するガンマ補正値
記憶手段と、基準素子は記憶してあるガンマ補正値によ
りガンマ補正を行い、それ以外の素子では基準素子のガ
ンマ補正値に当該素子位置までに存在する素子の差分
値をそれぞれ積算することで、素子毎のガンマ補正値を
算出するガンマ補正値算出手段と、上記算出したガンマ
補正値から素子毎にガンマ補正を行うガンマ補正手段と
を備えたものである。
Further, the gamma correction apparatus according to claim 13 of the present invention, the gamma correction apparatus for correcting the gamma characteristics of a plurality of imaging elements, and a gamma correction value of the reference element, its
A difference value between the gamma correction value of each other element adjacent to respectively positionally, and the gamma correction value storage means for storing the data length of said difference values, the gamma correction by the gamma correction value criteria elements are stored was carried out, except in the element by integrating a difference value of the element up to the present position of the element in the gamma correction value of the reference element, respectively, the gamma correction value to <br/> calculating the gamma correction value for each element A gamma correction unit for performing gamma correction for each element from the calculated gamma correction value.

【手続補正11】[Procedure amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0033[Correction target item name] 0033

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0033】また、本発明の請求項19にかかるガンマ
補正装置は、複数の撮像素子のガンマ特性を補正するガ
ンマ補正装置において、ガンマ補正前の基準素子の入力
値に対する出力特性補正値である素子特性補正値と、
れぞれ位置的に隣接する素子どうしにおける、ガンマ補
正前の入力値に対する出力特性補正値である素子特性補
正値の差分値予め定めた記憶容量で記憶する素子
特性補正値記憶手段と、基準素子は記憶してある素子特
性補正値によりガンマ補正値を算出し、それ以外の素子
では基準素子の素子特性補正値に当該素子位置まで
に存在する素子の差分値をそれぞれ積算することで、素
子毎のガンマ補正値を算出する素子特性補正値算出手段
と、上記算出した素子毎の特性補正値から素子毎にガン
マ補正値を算出するガンマ補正値算出手段と、上記算出
したガンマ補正値から素子毎にガンマ補正を行うガンマ
補正手段とを備えたものである。
A gamma correction device according to a nineteenth aspect of the present invention is a gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein the input of the reference device before the gamma correction is performed.
And the element characteristic correction value which is an output characteristic correction value for a value, its
At respectively positionally adjacent elements to each other, gamma complement
And the difference value of the element characteristic correction value which is an output characteristic correction value for the positive previous input value, advance the device characteristic correcting value storing means for memorize a storage capacity determined, device characteristics criteria elements are stored corrected calculating a gamma correction value by a value, the other elements, the element characteristic correction value of the reference element to the position of the element
The difference value of the element present by integrating respectively, containing
Element characteristic correction value calculation means for calculating a gamma correction value for each child; gamma correction value calculation means for calculating a gamma correction value for each element from the calculated characteristic correction value for each element; and gamma correction value calculated from the calculated gamma correction value. Gamma correction means for performing gamma correction for each element.

【手続補正12】[Procedure amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0035[Correction target item name] 0035

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0035】また、本発明の請求項21にかかるガンマ
補正装置は、上記請求項19記載のガンマ補正装置にお
いて、上記素子特性補正値記憶手段は、素子の素子特性
補正値の平均値と、その平均値と各素子毎の素子特性補
正値の差分値を記憶し、上記素子特性補正値算出手段
は、各素子毎素子特性補正値の平均値に素子毎の差分
値を加算した値から素子特性補正値を算出するものであ
る。
In the gamma correction apparatus according to a twenty-first aspect of the present invention, in the gamma correction apparatus according to the nineteenth aspect, the element characteristic correction value storage means stores the average value of the element characteristic correction values of the elements, storing the average value and the difference value of the element characteristic correction value for each element, the element characteristic compensation value calculation means from a value obtained by adding the difference value of each element to the average value of the element characteristic correction value for each element An element characteristic correction value is calculated.

【手続補正13】[Procedure amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0052[Correction target item name] 0052

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0052】例えば、図8に示すように、ガンマ補正曲
線がガンマ2.2の値をもつ理想ガンマ曲線を10個の
離散的なデータで直線近似する場合、階調を均等にX
(0)からX(9)で分割して近似した場合には、低階
調領域で補間したガンマ補正値と理想ガンマ曲線との誤
差が大きくなることがわかる。これはガンマ補正曲線が
低階調部で大きく変化するためである。そこで図9に示
すように、同じ10個のデータでも低階調領域のデータ
数をより多くとることにより理想ガンマ曲線との誤差を
最小限にすることができることがわかる。
For example, as shown in FIG. 8, when the ideal gamma curve whose gamma correction curve has a value of gamma 2.2 is linearly approximated by ten discrete data, the gradation is uniformly set to X.
It can be seen that in the case of approximating by dividing by (0) to X (9), the error between the gamma correction value interpolated in the low gradation area and the ideal gamma curve increases. This is because the gamma correction curve greatly changes in a low gradation portion. Therefore, as shown in FIG. 9, it can be seen that the error from the ideal gamma curve can be minimized by increasing the number of data in the low gradation area even for the same 10 data.

【手続補正14】[Procedure amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0069[Correction target item name] 0069

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0069】(実施の形態4.)次に本発明の実施の形
態4によるガンマ補正装置について説明する。本実施の
形態では、上述した実施の形態2と実施の形態3の構成
とを組み合わせた特徴を有する。すなわち、図12にお
いて、図4及び図10と同一符号は、同一または相当部
分を示し、1204は、ガンマ補正値記憶回路1005
から得られた値をもとに、ガンマ補正値算出回路100
4の出力と、パターン値記憶回路408から出力された
パターン値とを用いて補間処理により適切なガンマ補正
値を算出するガンマ補正値補間回路である。
(Embodiment 4) Next, a gamma correction device according to Embodiment 4 of the present invention will be described. This embodiment has a feature in which the configurations of the above-described second embodiment and the third embodiment are combined. That is, in FIG. 12, the same reference numerals as those in FIGS. 4 and 10 denote the same or corresponding parts, and 1204 denotes a gamma correction value storage circuit 1005.
Gamma correction value calculation circuit 100 based on the value obtained from
4 and output a gamma correction value interpolation circuit for calculating an appropriate gamma correction values by interpolation processing using the pattern value storage circuit 40 eight et output pattern value.

【手続補正15】[Procedure amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0070[Correction target item name] 0070

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0070】上記実施の形態2でも述べたように、ガン
マ補正値記憶回路1005にはグレーチャートのパター
ンに対するガンマ補正値を記憶しておき、補間処理によ
りガンマ補正値を補間するようにすれば、記憶容量を小
さくしてガンマ補正を行うことができる。すなわち、上
記ガンマ補正値記憶回路1005にはパターン数分の基
準素子ガンマ補正テーブル値と差分値とが記憶されてい
る。例えば、図13(a)のテーブルに示すようなデー
タが記憶されている。ガンマ補正値算出回路1005で
は前述した方法により、各素子のガンマ補正値を算出す
る。図13(a)のテーブルの場合には、1番素子が基
準素子であるから、2番素子からN番素子までは基準素
子である1番素子のガンマ補正値に素子位置までの差分
値を積算した値を加算することで図13(b)に示す
テーブルのようにガンマ補正値を算出することができ
る。
As described in the second embodiment, if the gamma correction value for the gray chart pattern is stored in the gamma correction value storage circuit 1005 and the gamma correction value is interpolated by interpolation processing, Gamma correction can be performed with a reduced storage capacity. That is, the gamma correction value storage circuit 1005 stores the reference element gamma correction table values and the difference values for the number of patterns. For example, data as shown in the table of FIG. The gamma correction value calculation circuit 1005 calculates the gamma correction value of each element by the method described above. In the case of the table of FIG. 13A, since the first element is the reference element, the difference value from the element position to the gamma correction value of the first element which is the reference element for the second to Nth elements is calculated. by adding the integrated value, it can be calculated gamma correction values as a table shown in Figure 13 (b).

【手続補正16】[Procedure amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0085[Correction target item name] 0085

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0085】また、上記離散的な入力値に対するガンマ
補正値を記憶させる場合、低階調部のパターン、つまり
暗い領域のパターンに対するガンマ補正値をより多く記
憶させることで、低階調部でのガンマ補正曲線の変化が
大きい領域でのガンマ補正精度を向上させることができ
る。また、基準となる素子について1番目の素子を基準
素子としたが、もちろんどの素子を基準素子としてもよ
い。さらに、また、基準素子を1つだけとするのではな
く、何点も基準素子をもっていてもよい。
When the gamma correction value for the discrete input value is stored, the gamma correction value for the pattern of the low gradation part, that is, the pattern of the dark area is stored more, so that the gamma correction value for the low gradation part is stored. It is possible to improve the gamma correction accuracy in an area where the change in the gamma correction curve is large. Although the first element is used as a reference element, any element may be used as the reference element. Furthermore, also the reference element instead of only one, may have a reference element nothing points.

【手続補正17】[Procedure amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0092[Correction target item name] 0092

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0092】このように本実施の形態によれば、ガンマ
補正値記憶回路1605に、素子のガンマ補正値の平均
値と、その平均値と各素子毎のガンマ補正値の差分値を
記憶し、ガンマ補正算出回路1604において、上記
ガンマ補正値記憶回路1605より出力される、上記ガ
ンマ補正値の平均値と、該平均値と各素子毎のガンマ補
正値の差分値とを用いて、各素子毎にガンマ補正値の平
均値に素子毎の差分値を加算した値からガンマ補正値を
算出し、ガンマ補正回路106によってガンマ補正を行
うようにしたから、素子毎に独立して平均値に差分値を
加算してガンマ補正値を算出するため正確にガンマ補正
を行えるとともに、各素子の差分値が独立して記憶され
ているため、差分値がその記憶容量を超過する場合、そ
の誤差が他の素子のガンマ補正に影響を与えることがな
い。
As described above, according to the present embodiment, the gamma correction value storage circuit 1605 stores the average value of the gamma correction values of the elements and the difference between the average value and the gamma correction value of each element. In the gamma correction value calculation circuit 1604, each element is calculated using the average value of the gamma correction values output from the gamma correction value storage circuit 1605 and the difference between the average value and the gamma correction value of each element. The gamma correction value is calculated from the value obtained by adding the difference value for each element to the average value of the gamma correction values for each element, and the gamma correction is performed by the gamma correction circuit 106. The gamma correction value is calculated by adding the values, so that the gamma correction can be performed accurately.In addition, since the difference value of each element is stored independently, if the difference value exceeds the storage capacity, the error may increase. Element It does not affect the gamma correction.

【手続補正18】[Procedure amendment 18]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0098[Correction target item name] 0098

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0098】データ長は差分値が1ビットの場合は0、
2ビットの場合は1、8ビットの場合は7というよう
に記憶することでデータ長を3ビットで記憶できる。た
とえば入力値0に対応する2番素子の差分値は0であ
り、1ビットで表現できるためデータ長が0として記憶
される。次に入力値1に対応する差分値は10であり、
5ビットで表現できるため、データ長が4として記憶さ
れる。このようにして算出したデータ長と差分値を図2
1に示すように順次記憶していく。
The data length is 0 when the difference value is 1 bit,
The data length can be stored in 3 bits by storing 1 in the case of 2 bits, 7 in the case of 8 bits, and so on. For example, the difference value of the second element corresponding to the input value 0 is 0 and can be expressed by 1 bit, so that the data length is stored as 0. Next, the difference value corresponding to the input value 1 is 10,
Since the data length can be represented by 5 bits, the data length is stored as 4. The data length and the difference value calculated in this way are shown in FIG.
As shown in FIG.

【手続補正19】[Procedure amendment 19]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0101[Correction target item name] 0101

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0101】(実施の形態8.)以下に、本発明の実施
の形態8にかかるガンマ補正装置について、図を参照し
ながら説明する。図22は本実施の形態8のガンマ補正
装置の構成を示すブロック図である。図22において、
2204はガンマ補正テーブル選択回路であり、複数の
ガンマ補正テーブルからなるガンマ補正テーブル記憶回
路2206の出力と、各素子に対応するガンマ補正テー
ブルの番号を記録したガンマ選択値記憶回路2205
出力とから所定のデータを選択するものである。
Embodiment 8 Hereinafter, a gamma correction device according to Embodiment 8 of the present invention will be described with reference to the drawings. FIG. 22 is a block diagram illustrating a configuration of a gamma correction device according to the eighth embodiment. In FIG.
Reference numeral 2204 denotes a gamma correction table selection circuit, which outputs the gamma correction table storage circuit 2206 including a plurality of gamma correction tables and the gamma selection value storage circuit 2205 that stores the number of the gamma correction table corresponding to each element .
The predetermined data is selected from the output .

【手続補正20】[Procedure amendment 20]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0103[Correction target item name] 0103

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0103】上記ガンマ選択値記憶回路2205には、
ガンマ補正テーブルを選択するための選択番号を素子毎
に記憶しておく。例えば、1番素子がガンマ補正テーブ
ル3を選択する場合、選択番号3を1番素子テーブル選
択番としてガンマ選択値記憶回路2205に記憶する
ようにする。
In the gamma selection value storage circuit 2205,
A selection number for selecting a gamma correction table is stored for each element. For example, so that No. 1 element may select a gamma correction table 3, it is stored in the gamma selection value storage circuit 2205 to select No. 3 as No. 1 element table selection number.

【手続補正21】[Procedure amendment 21]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0104[Correction target item name] 0104

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0104】ガンマ補正テーブル選択回路2204で
は、該当する素子のガンマ補正テーブルをガンマ選択値
記憶回路2205の選択番号を参照してガンマ補正テー
ブル記憶回路2206から選択する。そして、ガンマ補
正回路103では、選択したガンマ補正テーブルをもと
にガンマ補正を行う。
The gamma correction table selection circuit 2204 selects a gamma correction table of the corresponding element from the gamma correction table storage circuit 2206 with reference to the selection number of the gamma selection value storage circuit 2205. Then, in the gamma correction circuit 103, based on the selected gamma correction table,
Perform gamma correction on.

【手続補正22】[Procedure amendment 22]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0105[Correction target item name] 0105

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0105】このように予めガンマ補正テーブルを複数
用意しておき、各素子毎に使用するガンマ補正テーブル
を設定しておくことで、全体としての記憶容量を小さく
することができる。例えば、640素子分のガンマ補正
テーブルを用意する場合、すべての素子のガンマ補正テ
ーブルを個別に用意すると640テーブル必要となる
が、640素子の中には、互いに類似したガンマ特性を
もつ素子もあるので、100個のガンマ補正テーブルで
よいとすると、100/640の容量でガンマ補正テー
ブルを記憶できることになる。なお、この場合、ガンマ
選択値記憶回路2205の容量について、これは小さ
いので無視できる。
By preparing a plurality of gamma correction tables in advance and setting a gamma correction table to be used for each element, the overall storage capacity can be reduced. For example, when preparing a gamma correction table for 640 elements, if a gamma correction table for all elements is prepared individually, 640 tables are required. Some of the 640 elements have gamma characteristics similar to each other. Therefore, if 100 gamma correction tables are sufficient, the gamma correction table can be stored with a capacity of 100/640. In this case, the capacity of the gamma selection value storage circuit 2205 can be ignored because it is small.

【手続補正23】[Procedure amendment 23]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0106[Correction target item name] 0106

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0106】また、この場合、スキャナ本体のROMに
はガンマ選択テーブルのみ(ガンマ選択値記憶回路22
05)を記憶させるようにして、パソコン側にガンマ補
正テーブル(ガンマ補正テーブル記憶回路2206)を
持たせる構成にしてもよい。これはスキャナ本体のRO
Mには容量に制限があるが、パソコン側に記憶させる場
合には、スキャナ本体のROMと比較して遥かに大きい
記憶容量を用意することができるためである。このよう
にパソコン側に補正テーブルを持たせることにより、イ
メージスキャナのROM容量を小さくすると同時に、よ
多くのガンマ補正テーブルを記憶することができる。
In this case, only the gamma selection table (gamma selection value storage circuit 22) is stored in the ROM of the scanner body.
05) may be stored so that the personal computer has a gamma correction table (gamma correction table storage circuit 2206). This is the RO of the scanner itself
This is because M has a limited capacity, but when it is stored on the personal computer side, a storage capacity much larger than the ROM of the scanner body can be prepared. Thus by providing a correction table on the PC side, and at the same time to reduce the ROM capacity of the image scanner, it is possible to store more gamma correction table.

【手続補正24】[Procedure amendment 24]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0108[Correction target item name] 0108

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0108】また、図23に示すように、ガンマ補正テ
ーブル記憶回路2307には、基準となる基準ガンマ補
正テーブルと、各ガンマ補正テーブルと基準ガンマ補正
テーブルとの差分値を記憶するようにしてもよい。差分
値を記憶することで、ガンマ補正テーブル2307の記
憶容量をさらに小さくすることができる。基準となるガ
ンマ補正テーブルには、ガンマ補正量の最も小さいガン
マ補正テーブルを選択するようにする。その場合、ガン
マ補正テーブルをガンマ補正量の小さい順番に並べ、ガ
ンマ補正テーブルの差分値を算出するようにする。従っ
て、ガンマ補正テーブル2307の差分値Δ1には、2
番目にガンマ補正量の小さいガンマ補正テーブルと、最
もガンマ補正量の小さいガンマ補正テーブルとの差分値
が記憶され、差分値Δ2には、3番目にガンマ補正量の
小さいガンマ補正テーブルと、2番目にガンマ補正量の
小さいガンマ補正テーブルとの差分値が記憶される
いうように記憶されていく。
Further, as shown in FIG. 23, the gamma correction table storage circuit 2307 may store a reference gamma correction table as a reference and a difference value between each gamma correction table and the reference gamma correction table. Good. By storing the difference value, the storage capacity of the gamma correction table 2307 can be further reduced. As a reference gamma correction table, a gamma correction table with the smallest gamma correction amount is selected. In this case, the gamma correction tables are arranged in ascending order of the gamma correction amount, and the difference value of the gamma correction table is calculated. Therefore, the difference value Δ1 of the gamma correction table 2307 is 2
The difference value between the gamma correction table with the smallest gamma correction amount and the gamma correction table with the smallest gamma correction amount is stored. The difference value Δ2 has the third gamma correction table with the smallest gamma correction amount, the second the difference value between the small gamma correction table having the gamma correction amount is stored, will be stored and so on.

【手続補正25】[Procedure amendment 25]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0126[Correction target item name] 0126

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0126】また、離散的な入力値に対する素子特性値
を記憶させる場合、実施の形態2でも述べたように、低
階調部、すなわち暗い領域のデータをより多く記憶させ
ることで精度を向上させることができる。また、基準と
なる素子について1番目の素子を基準素子としたが、も
ちろんどの素子を基準素子としてもよい。さらに、基準
素子を1つだけとするのではなく、何点も基準素子をも
っていてもよい。
When element characteristic values corresponding to discrete input values are stored, as described in the second embodiment, accuracy is improved by storing more data in a low gradation area, that is, in a dark area. be able to. Although the first element is used as a reference element, any element may be used as the reference element. Moreover, the reference element instead of only one, may have a reference element nothing points.

【手続補正26】[Procedure amendment 26]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0130[Correction target item name] 0130

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0130】また、本発明の請求項4に係るガンマ補正
装置によれば、複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、基準素子のガンマ補正値と、
それぞれ位置的に隣接する素子どうしのガンマ補正値の
差分値予め定めた記憶容量で記憶するガンマ補正
値記憶手段と、基準素子は記憶してあるガンマ補正値を
用い、それ以外の素子では基準素子のガンマ補正値に
当該素子位置までに存在する素子の差分値をそれぞれ
積算することで、素子毎のガンマ補正値を算出するガン
マ補正値算出手段と、上記算出したガンマ補正値から素
子毎にガンマ補正を行うガンマ補正手段とを備えたもの
としたので、位置的に隣り合う素子のガンマ補正値の差
分値を予め定めた記憶容量で記憶させることで、効率良
く、少ない記憶容量で素子毎にガンマ補正を行うことが
できるという効果が得られる。
According to the gamma correction device of the fourth aspect of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and
And the difference value of the gamma correction value of each other element positioned contiguous respectively, using the gamma correction value storage means for storing in a predetermined storage capacity, the gamma correction value criteria elements are stored, the other the device, the gamma correction value of the reference element
By respectively <br/> integrates the difference value of the element up to the present position of the device, and the gamma correction value calculating means for calculating the gamma correction value for each element, gamma for each element from the gamma correction value calculated above Gamma correction means for performing the correction, so that the difference value of the gamma correction value of the element adjacent in position is stored in a predetermined storage capacity, so that each element can be efficiently and individually stored with a small storage capacity. The effect that gamma correction can be performed is obtained.

【手続補正27】[Procedure amendment 27]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0133[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0133】また、本発明の請求項7に係るガンマ補正
装置によれば、複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、基準素子のガンマ補正値と、
それぞれ位置的に隣接する素子どうしのガンマ補正値の
差分値予め定めた記憶容量で記憶し、上記差分値
が予め定めた記憶容量を超過した場合、隣接する素子で
差分値に上記予め定めた記憶容量を超過した値を加
算して記憶するガンマ補正値記憶手段と、基準素子は記
憶してあるガンマ補正値を用い、それ以外の素子では
基準素子のガンマ補正値に当該素子位置までに存在す
る素子の差分値をそれぞれ積算することで、素子毎のガ
ンマ補正値を算出するガンマ補正値算出手段と、上記算
出したガンマ補正値から素子毎にガンマ補正を行うガン
マ補正手段とを備えたものとしたので、位置的に隣り合
う素子のガンマ補正値の差分値を記憶させることで、少
ない記憶容量で素子毎にガンマ補正を行うことができる
と共に、差分値が差分値を記憶する容量を超過した場合
でもその誤差を最小限に抑えることができるという効果
が得られる。
Further, according to the gamma correction device of the present invention, in the gamma correction device for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and
And the difference value of the gamma correction value of each other element positioned contiguous respectively, and stored in a predetermined storage capacity, storage in excess of storage in which the difference value is determined in advance, above the difference in the adjacent elements using a gamma correction value storage means for adding and storing a predetermined excess value of the storage capacity, the gamma correction value criteria elements are stored, and in the other element,
Be present to the position of the element in the gamma correction value of the reference element
That difference value of the element to that accumulating each, moths per element
Gamma correction value calculating means for calculating the gamma correction value, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value. By storing the difference value, gamma correction can be performed for each element with a small storage capacity, and even if the difference value exceeds the capacity for storing the difference value, the error can be minimized. Is obtained.

【手続補正28】[Procedure amendment 28]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0136[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0136】また、本発明の請求項10に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、入力毎の各素子のガンマ補
正値の平均値と、平均値と上記各素子毎のガンマ補正
の差分値を記憶したガンマ補正値記憶手段と、素
毎のガンマ補正値を、上記ガンマ補正値の平均値に
子毎の差分値を加算し算出するガンマ補正値算出手段
と、上記算出したガンマ補正値から素子毎にガンマ補正
を行うガンマ補正手段とを備えたものとしたので、素子
毎に独立して平均値に差分値を加算してガンマ補正値を
算出するため正確にガンマ補正を行うことができるとい
う効果が得られる。
According to the gamma correction apparatus of the tenth aspect of the present invention, in the gamma correction apparatus for correcting the gamma characteristics of a plurality of image pickup devices, the average value of the gamma correction value of each element for each input , and and storing the difference value between the average value and the gamma correction value for each of the one element the gamma correction value storage means, a gamma correction value for each element child, the average value of the gamma correction value, adding the difference value of each element Gamma correction value calculation means for calculating the gamma correction value and gamma correction means for performing gamma correction for each element from the calculated gamma correction value, so that the difference value is added to the average value independently for each element. Thus, the gamma correction value is calculated, and thus the gamma correction can be performed accurately.

【手続補正29】[Procedure amendment 29]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0139[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0139】また、本発明の請求項13に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、基準素子のガンマ補正値
と、それぞれ位置的に隣接する素子どうしのガンマ補正
の差分値と、該差分値のデータ長を記憶するガンマ
補正値記憶手段と、基準素子は記憶してあるガンマ補正
値によりガンマ補正を行い、それ以外の素子では基準素
子のガンマ補正値に当該素子位置までに存在する素子
の差分値をそれぞれ積算することで、素子毎のガンマ補
正値を算出するガンマ補正値算出手段と、上記算出した
ガンマ補正値から素子毎にガンマ補正を行うガンマ補正
手段とを備えたものとしたので、位置的に隣り合う素子
のガンマ補正値の差分値を、差分値の大きさに合わせて
効率良く記憶させることで、少ない記憶容量で素子毎に
ガンマ補正を行うことができるという効果が得られる。
According to the gamma correction apparatus of the thirteenth aspect of the present invention, in the gamma correction apparatus for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction value of the reference device and the gamma correction values of the devices which are positioned adjacent to each other. and How to difference value between the gamma correction values, and the gamma correction value storage means for storing the data length of said difference values, performs gamma correction by the gamma correction value criteria elements are stored, the reference in the other element difference value of the element <br/> up to the present position of the element in the gamma correction value of the element by integrating each gamma complement of each element
A gamma correction value calculating unit that calculates a positive value and a gamma correction unit that performs gamma correction for each element from the calculated gamma correction value are provided, so that the difference between the gamma correction values of the elements adjacent in position is determined. By efficiently storing the value according to the magnitude of the difference value, an effect is obtained that gamma correction can be performed for each element with a small storage capacity.

【手続補正30】[Procedure amendment 30]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0145[Correction target item name] 0145

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0145】また、本発明の請求項19に係るガンマ補
正装置によれば、複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、ガンマ補正前の基準素子の
入力値に対する出力特性補正値である素子特性補正値
と、それぞれ位置的に隣接する素子どうしにおける、ガ
ンマ補正前の入力値に対する出力特性補正値である素子
特性補正値の差分値予め定めた記憶容量で記憶す
る素子特性補正値記憶手段と、基準素子は記憶してある
素子特性補正値によりガンマ補正値を算出し、それ以外
の素子では基準素子の素子特性補正値に当該素子
置までに存在する素子の差分値をそれぞれ積算すること
で、素子毎のガンマ補正値を算出する素子特性補正値算
出手段と、上記算出した素子毎の特性補正値から素子毎
にガンマ補正値を算出するガンマ補正値算出手段と、上
記算出したガンマ補正値から素子毎にガンマ補正を行う
ガンマ補正手段とを備えたものとしたので、素子間の特
性の差が小さいガンマ補正前の特性補正値の差分値を記
憶させることで、より少ない記憶容量で素子毎にガンマ
補正を行うことができるという効果が得られる。
Further, according to the gamma correction apparatus according to the nineteenth aspect of the present invention, in the gamma correction apparatus for correcting the gamma characteristics of a plurality of image pickup devices, the gamma correction of the reference element before the gamma correction is performed.
And the element characteristic correction value which is an output characteristic correction value for the input value, at each position to adjacent elements each other, moth
And the difference value of the element characteristic correction value which is an output characteristic correction value for the input value before comma correction, and the element characteristic correction value storing means for memorize in a predetermined storage capacity, device characteristics criteria elements are stored calculating a gamma correction value by the correction value, and in the other element, the difference value of the element up to the present position <br/> location of the element in the element characteristic correction value of the reference element to be integrated respectively
In the element characteristic correction value calculating means for calculating the gamma correction value for each element, and a gamma correction value calculating means for calculating the gamma correction value for each element from the characteristic correction value of each element calculated above, the gamma correction calculated above Gamma correction means for performing gamma correction for each element from the value, so that the difference between the characteristic correction values before gamma correction, in which the characteristic difference between the elements is small, is stored. An effect is obtained that gamma correction can be performed for each element.

【手続補正31】[Procedure amendment 31]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0147[Correction target item name] 0147

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0147】また、本発明の請求項21に係るガンマ補
正装置によれば、上記請求項19記載のガンマ補正装置
において、上記素子特性補正値記憶手段は、素子の素子
特性補正値の平均値と、その平均値と各素子毎の素子特
性補正値の差分値を記憶し、上記素子特性補正値算出
手段は、各素子毎素子特性補正値の平均値に素子毎の
差分値を加算した値から素子特性補正値を算出するよう
にしたので、素子間の特性の差が小さいガンマ補正前の
特性補正値の差分値を記憶させることで、記憶容量を小
さくすることができ、また、差分値が差分値を記憶する
容量を超過した場合でもその誤差を最小限に抑えること
ができるという効果が得られる。
According to the gamma correction apparatus of the twenty-first aspect of the present invention, in the gamma correction apparatus of the nineteenth aspect, the element characteristic correction value storage means stores the average value of the element characteristic correction values of the elements. stores the difference value between the average value and the element characteristic correction value for each element, the element characteristic correction value calculation unit, by adding the difference value of each element to the average value of the element characteristic correction value for each element Since the element characteristic correction value is calculated from the value, the storage capacity can be reduced by storing the difference value of the characteristic correction value before gamma correction, in which the characteristic difference between the elements is small. Even when the value exceeds the capacity for storing the difference value, the effect of minimizing the error can be obtained.

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】 複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、 すべての撮像素子のガンマ補正値を記憶するガンマ補正
値記憶手段と、 上記ガンマ補正値記憶手段から素子毎のガンマ補正値を
選択するガンマ補正値選択手段と、 上記ガンマ補正値選択手段によって選択されたガンマ補
正値を用いて素子毎に個別のガンマ補正を行うガンマ補
正手段とを備えたことを特徴とするガンマ補正装置。
1. A gamma correction device for correcting gamma characteristics of a plurality of image sensors, a gamma correction value storage means for storing gamma correction values of all image sensors, and a gamma correction for each element from the gamma correction value storage means. Gamma correction means comprising: a gamma correction value selection means for selecting a value; and gamma correction means for performing individual gamma correction for each element using the gamma correction value selected by the gamma correction value selection means. apparatus.
【請求項2】 請求項1記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶しており、 上記ガンマ補正値記憶手段に記憶してある所定の画像の
入力値とガンマ補正値とから補間処理を行い、素子毎の
ガンマ補正値を算出するガンマ補正値補間手段を備えた
ことを特徴とするガンマ補正装置。
2. The gamma correction device according to claim 1, wherein said gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating means for performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the device and calculating a gamma correction value for each element.
【請求項3】 請求項1記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶する際に、
低階調部のガンマ補正値をより多く記憶することを特徴
とするガンマ補正装置。
3. The gamma correction device according to claim 1, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image.
A gamma correction device storing more gamma correction values for a low gradation part.
【請求項4】 複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、 基準素子のガンマ補正値と、位置的に隣接する素子どう
しのガンマ補正値の差分値を予め定めた記憶容量で記憶
するガンマ補正値記憶手段と、 上記ガンマ補正値記憶手段に記憶したガンマ補正値から
素子毎のガンマ補正値を、基準素子は記憶してあるガン
マ補正値を用い、それ以外の素子では上記基準素子のガ
ンマ補正値に素子位置までの差分値を積算して算出する
ガンマ補正値算出手段と、 上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたことを特徴とするガンマ補
正装置。
4. A gamma correction device for correcting gamma characteristics of a plurality of imaging devices, wherein a difference value between a gamma correction value of a reference device and a gamma correction value of a device adjacent in position is stored with a predetermined storage capacity. A gamma correction value storage unit that performs gamma correction values for each element from the gamma correction values stored in the gamma correction value storage unit, a reference element uses a stored gamma correction value, and a reference element uses the stored gamma correction value for other elements. Gamma correction value calculating means for calculating a gamma correction value by integrating the difference value up to the element position, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value. Gamma correction device.
【請求項5】 請求項4記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶しており、 上記ガンマ補正値記憶手段に記憶してある所定の画像の
入力値とガンマ補正値とから補間処理を行い、素子毎の
ガンマ補正値を算出するガンマ補正値補間手段を備えた
ことを特徴とするガンマ補正装置。
5. The gamma correction device according to claim 4, wherein said gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image, and said gamma correction value storage means. A gamma correction value interpolating means for performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the device and calculating a gamma correction value for each element.
【請求項6】 請求項4記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶する際に、
低階調部のガンマ補正値をより多く記憶することを特徴
とするガンマ補正装置。
6. The gamma correction device according to claim 4, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image.
A gamma correction device storing more gamma correction values for a low gradation part.
【請求項7】 複数の撮像素子のガンマ特性を補正する
ガンマ補正装置において、 基準素子のガンマ補正値と、位置的に隣接する素子どう
しのガンマ補正値の差分値を予め定めた記憶容量で記憶
し、差分値が予め定めた記憶容量を超過した場合、隣接
する素子では差分値に超過した値を加算して記憶するガ
ンマ補正値記憶手段と、 上記ガンマ補正値記憶手段に記憶したガンマ補正値から
素子毎のガンマ補正値を、基準素子は記憶してあるガン
マ補正値を用い、それ以外の素子では上記基準素子のガ
ンマ補正値に素子位置までの差分値を積算して算出する
ガンマ補正値算出手段と、 上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたことを特徴とするガンマ補
正装置。
7. A gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a difference value between a gamma correction value of a reference device and a gamma correction value of a device adjacent in position is stored in a predetermined storage capacity. When the difference value exceeds a predetermined storage capacity, a gamma correction value storage means for adding and storing the value exceeding the difference value in an adjacent element; and a gamma correction value stored in the gamma correction value storage means. The gamma correction value is calculated by integrating the gamma correction value of each element from the reference element, using the stored gamma correction value for the reference element, and adding the difference value up to the element position to the gamma correction value of the reference element for other elements. A gamma correction device comprising: a calculation unit; and a gamma correction unit that performs gamma correction for each element from the calculated gamma correction value.
【請求項8】 請求項7記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶しており、 上記ガンマ補正値記憶手段に記憶してある所定の画像の
入力値とガンマ補正値とから補間処理を行い、素子毎の
ガンマ補正値を算出するガンマ補正値補間手段を備えた
ことを特徴とするガンマ補正装置。
8. The gamma correction device according to claim 7, wherein said gamma correction value storage means stores a gamma correction value corresponding to a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating means for performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the device and calculating a gamma correction value for each element.
【請求項9】 請求項7記載のガンマ補正装置におい
て、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶する際に、
低階調部のガンマ補正値をより多く記憶することを特徴
とするガンマ補正装置。
9. The gamma correction device according to claim 7, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image.
A gamma correction device storing more gamma correction values for a low gradation part.
【請求項10】 複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、 素子のガンマ補正値の平均値と、その平均値と各素子毎
のガンマ補正値の差分値を記憶したガンマ補正値記憶手
段と、 上記ガンマ補正値記憶手段に記憶したガンマ補正値から
素子毎のガンマ補正値を、ガンマ補正値の平均値に素子
毎の差分値を加算した値から算出するガンマ補正値算出
手段と、 上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたことを特徴とするガンマ補
正装置。
10. A gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a gamma correction value storing an average value of gamma correction values of the devices and a difference value between the average value and a gamma correction value of each device. Storage means; gamma correction value calculation means for calculating a gamma correction value for each element from the gamma correction value stored in the gamma correction value storage means, and a value obtained by adding a difference value for each element to an average value of the gamma correction values. A gamma correction device for performing gamma correction for each element from the calculated gamma correction value.
【請求項11】 請求項10記載のガンマ補正装置にお
いて、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶しており、 上記ガンマ補正値記憶手段に記憶してある所定の画像の
入力値とガンマ補正値とから補間処理を行い、素子毎の
ガンマ補正値を算出するガンマ補正値補間手段を備えた
ことを特徴とするガンマ補正装置。
11. The gamma correction device according to claim 10, wherein said gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating means for performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the device and calculating a gamma correction value for each element.
【請求項12】 請求項10記載のガンマ補正装置にお
いて、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶する際に、
低階調部のガンマ補正値をより多く記憶することを特徴
とするガンマ補正装置。
12. The gamma correction device according to claim 10, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image.
A gamma correction device storing more gamma correction values for a low gradation part.
【請求項13】 複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、 基準素子のガンマ補正値と、位置的に隣接する素子どう
しのガンマ補正値の差分値とそのデータ長を記憶するガ
ンマ補正値記憶手段と、 上記ガンマ補正値記憶手段に記憶したガンマ補正値から
素子毎のガンマ補正値を、基準素子は記憶してあるガン
マ補正値によりガンマ補正を行い、それ以外の素子では
上記基準素子のガンマ補正値に素子位置までの差分値を
積算した値から算出するガンマ補正値算出手段と、 上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたことを特徴とするガンマ補
正装置。
13. A gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, comprising: a gamma storing a difference value between a gamma correction value of a reference device, a gamma correction value of a positionally adjacent device, and a data length thereof. A gamma correction value for each element from the gamma correction value stored in the gamma correction value storage means, a gamma correction for the reference element using the stored gamma correction value, and a reference value for the other elements. Gamma correction value calculating means for calculating from a value obtained by integrating the difference value up to the element position with the gamma correction value of the element; and gamma correction means for performing gamma correction for each element from the calculated gamma correction value. Gamma correction device.
【請求項14】 請求項13記載のガンマ補正装置にお
いて、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶しており、 上記ガンマ補正値記憶手段に記憶してある所定の画像の
入力値とガンマ補正値とから補間処理を行い、素子毎の
ガンマ補正値を算出するガンマ補正値補間手段を備えた
ことを特徴とするガンマ補正装置。
14. The gamma correction device according to claim 13, wherein the gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image. A gamma correction value interpolating means for performing an interpolation process from an input value of a predetermined image and a gamma correction value stored in the device and calculating a gamma correction value for each element.
【請求項15】 請求項13記載のガンマ補正装置にお
いて、 上記ガンマ補正値記憶手段は、所定の画像を読み取った
離散的な入力値に対するガンマ補正値を記憶する際に、
低階調部のガンマ補正値をより多く記憶することを特徴
とするガンマ補正装置。
15. The gamma correction device according to claim 13, wherein said gamma correction value storage means stores a gamma correction value for a discrete input value obtained by reading a predetermined image.
A gamma correction device storing more gamma correction values for a low gradation part.
【請求項16】 複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、 複数のガンマ補正テーブルを記憶するガンマ補正テーブ
ル記憶手段と、 素子毎にガンマ補正テーブルを選択するための選択情報
を記憶するガンマ補正テーブル選択情報記憶手段と、 上記ガンマ補正テーブル記憶手段と上記ガンマ補正テー
ブル選択情報記憶手段とから素子毎に対応したガンマ補
正テーブルを選択するガンマ補正テーブル選択手段と、 選択したガンマ補正テーブルによりガンマ補正を行うガ
ンマ補正手段とを備えたことを特徴とするガンマ補正装
置。
16. A gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, a gamma correction table storage means for storing a plurality of gamma correction tables, and selection information for selecting a gamma correction table for each device. Gamma correction table selection information storage means, gamma correction table selection means for selecting a gamma correction table corresponding to each element from the gamma correction table storage means and the gamma correction table selection information storage means, and a selected gamma correction table Gamma correction means for performing gamma correction by using a gamma correction device.
【請求項17】 請求項16記載のガンマ補正装置にお
いて、 上記ガンマ補正テーブル記憶手段は、ガンマ補正量が最
も小さいガンマ補正テーブル、あるいはガンマ補正量が
最も大きいガンマ補正テーブルを基準のガンマ補正テー
ブルとして記憶し、その他のガンマ補正テーブルは、基
準のガンマ補正テーブルがガンマ補正量の最も小さいガ
ンマ補正テーブルを用いる場合は、ガンマ補正量が小さ
い順番にガンマ補正テーブルを並べた場合に順番が隣り
合うガンマ補正値の差分値を記憶し、一方、基準のガン
マ補正テーブルとしてガンマ補正量の最も大きいガンマ
補正テーブルを用いる場合は、ガンマ補正量が大きい順
番にガンマ補正テーブルを並べた場合に順番が隣り合う
ガンマ補正値の差分値を記憶し、 上記基準のガンマ補正テーブルと差分値とからガンマ補
正テーブルを算出するガンマ補正テーブル算出手段を備
えたことを特徴とするガンマ補正装置。
17. The gamma correction apparatus according to claim 16, wherein said gamma correction table storage means uses a gamma correction table with the smallest gamma correction amount or a gamma correction table with the largest gamma correction amount as a reference gamma correction table. When the reference gamma correction table uses the gamma correction table with the smallest gamma correction amount, the other gamma correction tables include gamma correction tables arranged in the order of the smallest gamma correction amount and the adjacent gamma correction tables. The difference value between the correction values is stored. On the other hand, when the gamma correction table having the largest gamma correction amount is used as the reference gamma correction table, the order is adjacent when the gamma correction tables are arranged in descending order of the gamma correction amount. The difference value of the gamma correction value is stored, and the reference gamma correction table Gamma correction apparatus characterized by and a partial value with a gamma correction table calculating means for calculating the gamma correction table.
【請求項18】 請求項16記載のガンマ補正装置にお
いて、 上記ガンマ補正テーブル選択手段は、素子のガンマ補正
テーブルと、ガンマ補正テーブル記憶手段に記憶してあ
る複数のガンマ補正テーブルとで、ガンマ補正値の最小
二乗和が最も小さくなるガンマ補正テーブルを選択する
ことを特徴とするガンマ補正装置。
18. A gamma correction apparatus according to claim 16, wherein said gamma correction table selecting means performs gamma correction using a gamma correction table of the element and a plurality of gamma correction tables stored in the gamma correction table storage means. A gamma correction device, wherein a gamma correction table that minimizes the least square sum of values is selected.
【請求項19】 複数の撮像素子のガンマ特性を補正す
るガンマ補正装置において、 基準素子の素子特性補正値と、位置的に隣接する素子ど
うしの素子特性補正値の差分値を予め定めた記憶容量で
ガンマ補正前の特性補正値を記憶する素子特性補正値記
憶手段と、 上記素子特性補正値記憶手段に記憶した素子特性補正値
から素子毎の素子特性補正値を、基準素子は記憶してあ
る素子特性補正値によりガンマ補正値を算出し、それ以
外の素子では上記基準素子の素子特性補正値に素子位置
までの差分値を積算した値から算出する素子特性補正値
算出手段と、 上記算出した素子毎の特性補正値から素子毎にガンマ補
正値を算出するガンマ補正値算出手段と、 上記算出したガンマ補正値から素子毎にガンマ補正を行
うガンマ補正手段とを備えたことを特徴とするガンマ補
正装置。
19. A gamma correction device for correcting gamma characteristics of a plurality of image pickup devices, wherein a storage value having a predetermined difference value between an element characteristic correction value of a reference element and an element characteristic correction value of a positionally adjacent element. And an element characteristic correction value storage unit for storing a characteristic correction value before gamma correction, and an element characteristic correction value for each element from the element characteristic correction value stored in the element characteristic correction value storage unit. An element characteristic correction value calculating means for calculating a gamma correction value based on the element characteristic correction value, and for other elements, calculating from a value obtained by integrating a difference value up to an element position with the element characteristic correction value of the reference element. Gamma correction value calculating means for calculating a gamma correction value for each element from characteristic correction values for each element, and gamma correction means for performing gamma correction for each element from the calculated gamma correction value. Gamma correction device according to claim.
【請求項20】 請求項19記載のガンマ補正装置にお
いて、 上記素子特性記憶手段は、位置的に隣接する素子どうし
の素子特性補正値の差分値を予め定めた記憶容量で記憶
し、差分値が予め定めた記憶容量を超過した場合、隣接
する素子では差分値に超過した値を加算して記憶するこ
とを特徴とするガンマ補正装置。
20. The gamma correction device according to claim 19, wherein said element characteristic storage means stores a difference value between element characteristic correction values of elements adjacent in position with a predetermined storage capacity, and stores the difference value. A gamma correction device characterized in that when a predetermined storage capacity is exceeded, an adjacent element adds and stores the excess value to a difference value.
【請求項21】 請求項19記載のガンマ補正装置にお
いて、 上記素子特性補正値記憶手段は、素子の素子特性補正値
の平均値と、その平均値と各素子毎の素子特性補正値の
差分値を記憶し、 上記素子特性補正値算出手段は、各素子毎に素子特性補
正値の平均値に素子毎の差分値を加算した値から素子特
性補正値を算出することを特徴とするガンマ補正装置。
21. The gamma correction device according to claim 19, wherein said element characteristic correction value storage means stores an average value of the element characteristic correction values of the elements, and a difference value between the average value and the element characteristic correction value of each element. Wherein the element characteristic correction value calculation means calculates an element characteristic correction value from a value obtained by adding a difference value for each element to an average value of the element characteristic correction values for each element. .
【請求項22】 請求項19記載のガンマ補正装置にお
いて、 上記素子特性記憶手段は、位置的に隣接する素子どうし
の素子特性補正値の差分値をそのデータ長と共に記憶す
ることを特徴とするガンマ補正装置。
22. A gamma correction apparatus according to claim 19, wherein said element characteristic storage means stores a difference value between element characteristic correction values of elements adjacent in position together with a data length thereof. Correction device.
【請求項23】 請求項19記載のガンマ補正装置にお
いて、 上記素子特性補正値記憶手段は、所定の画像を読み取っ
た離散的な入力値に対する素子特性補正値を記憶し、 上記素子特性補正値補間手段は、上記素子特性補正値記
憶手段に記憶してある所定の画像の入力値と素子特性補
正値とから補間処理を行って素子毎の素子特性補正値を
算出することを特徴とするガンマ補正装置。
23. The gamma correction apparatus according to claim 19, wherein said element characteristic correction value storage means stores an element characteristic correction value corresponding to a discrete input value obtained by reading a predetermined image, and wherein said element characteristic correction value interpolation is performed. The gamma correction unit calculates an element characteristic correction value for each element by performing an interpolation process from the input value of the predetermined image and the element characteristic correction value stored in the element characteristic correction value storage unit. apparatus.
【請求項24】 請求項19記載のガンマ補正装置にお
いて、 上記素子特性補正値記憶手段は、所定の画像を読み取っ
た離散的な入力値に対する素子特性補正値を記憶させる
際に、低階調部の素子特性補正値をより多く記憶させる
ことを特徴とするガンマ補正装置。
24. The gamma correction device according to claim 19, wherein said element characteristic correction value storage means stores the element characteristic correction value for a discrete input value obtained by reading a predetermined image. A gamma correction device for storing more element characteristic correction values.
JP2000197049A 2000-06-29 2000-06-29 Gamma correction device Expired - Fee Related JP3552996B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000197049A JP3552996B2 (en) 2000-06-29 2000-06-29 Gamma correction device
PCT/JP2001/005562 WO2002001850A1 (en) 2000-06-29 2001-06-28 Gamma correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000197049A JP3552996B2 (en) 2000-06-29 2000-06-29 Gamma correction device

Publications (2)

Publication Number Publication Date
JP2002016805A true JP2002016805A (en) 2002-01-18
JP3552996B2 JP3552996B2 (en) 2004-08-11

Family

ID=18695437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000197049A Expired - Fee Related JP3552996B2 (en) 2000-06-29 2000-06-29 Gamma correction device

Country Status (2)

Country Link
JP (1) JP3552996B2 (en)
WO (1) WO2002001850A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006057314A1 (en) * 2004-11-25 2006-06-01 Inforward, Inc. Image processing device, and image processing method
JP2007104498A (en) * 2005-10-06 2007-04-19 Fuji Xerox Co Ltd Image processing apparatus and program
WO2007119718A1 (en) * 2006-04-11 2007-10-25 Panasonic Corporation Video signal processing device and video signal processing method
JP2008216755A (en) * 2007-03-06 2008-09-18 Furukawa Electric Co Ltd:The Optical output controller and control method thereof
US7499199B2 (en) 2003-10-30 2009-03-03 Seiko Epson Corporation Image processing circuit, image display apparatus, and image processing method
JP2010130331A (en) * 2008-11-27 2010-06-10 Mitsubishi Electric Corp Image reading apparatus and color correction coefficient generating method
KR100966776B1 (en) 2007-08-21 2010-06-29 르네사스 일렉트로닉스 가부시키가이샤 Video signal processing device, video signal processing method and display device
US7940334B2 (en) 2006-05-15 2011-05-10 Princeton Technology Corporation Adaptive gamma transform unit and related method
US10097739B2 (en) 2016-09-16 2018-10-09 Kabushiki Kaisha Toshiba Processing device for performing gamma correction

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01160177A (en) * 1987-12-16 1989-06-23 Canon Inc Picture reader
JPH03136466A (en) * 1989-10-20 1991-06-11 Fuji Photo Film Co Ltd Shading correcting method
JP2973596B2 (en) * 1991-06-20 1999-11-08 三菱電機株式会社 Image reading device
JPH07264406A (en) * 1994-03-18 1995-10-13 Oki Electric Ind Co Ltd Gamma correction method for image reader
JPH08321948A (en) * 1995-05-25 1996-12-03 Sony Corp Image correction device
JP2000244739A (en) * 1999-02-22 2000-09-08 Ricoh Co Ltd Image reader

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7499199B2 (en) 2003-10-30 2009-03-03 Seiko Epson Corporation Image processing circuit, image display apparatus, and image processing method
WO2006057314A1 (en) * 2004-11-25 2006-06-01 Inforward, Inc. Image processing device, and image processing method
JP2007104498A (en) * 2005-10-06 2007-04-19 Fuji Xerox Co Ltd Image processing apparatus and program
JP4534943B2 (en) * 2005-10-06 2010-09-01 富士ゼロックス株式会社 Conversion table creation method, image processing apparatus, and program
WO2007119718A1 (en) * 2006-04-11 2007-10-25 Panasonic Corporation Video signal processing device and video signal processing method
JPWO2007119718A1 (en) * 2006-04-11 2009-08-27 パナソニック株式会社 Video signal processing apparatus and video signal processing method
CN101422032B (en) * 2006-04-11 2012-01-25 松下电器产业株式会社 Video signal processing device and video signal processing method
US8094238B2 (en) 2006-04-11 2012-01-10 Panasonic Corporation Video signal processing device and video signal processing method
JP4675418B2 (en) * 2006-04-11 2011-04-20 パナソニック株式会社 Video signal processing apparatus and video signal processing method
US7940334B2 (en) 2006-05-15 2011-05-10 Princeton Technology Corporation Adaptive gamma transform unit and related method
JP2008216755A (en) * 2007-03-06 2008-09-18 Furukawa Electric Co Ltd:The Optical output controller and control method thereof
KR100966776B1 (en) 2007-08-21 2010-06-29 르네사스 일렉트로닉스 가부시키가이샤 Video signal processing device, video signal processing method and display device
JP2010130331A (en) * 2008-11-27 2010-06-10 Mitsubishi Electric Corp Image reading apparatus and color correction coefficient generating method
US10097739B2 (en) 2016-09-16 2018-10-09 Kabushiki Kaisha Toshiba Processing device for performing gamma correction

Also Published As

Publication number Publication date
JP3552996B2 (en) 2004-08-11
WO2002001850A1 (en) 2002-01-03

Similar Documents

Publication Publication Date Title
EP1067507B1 (en) Image display
KR0142263B1 (en) Digital gamma correction method and apparatus thereof
KR100622180B1 (en) Image processing circuit, image display apparatus, and image processing method
JP4062031B2 (en) Gamma correction method, gamma correction apparatus and image reading system
JP4565260B2 (en) Signal processing device
US5307425A (en) Bi-level halftone processing circuit and image processing apparatus using the same
KR970049856A (en) Sensor distance correction method and circuit in an image reading device having a plurality of licensors
JP2002016805A (en) Gamma correction device
US5661570A (en) Image-data processing apparatus
US9024937B2 (en) Calibration method for image processing device, calibration device, image processing device, and display module
JP2017223823A (en) Image processor, image processing program, and image processing method
JP2008172644A (en) Gray level correction device and image reader
KR100727837B1 (en) An image signal processing device of the camera system
US7443397B2 (en) Method and apparatus for nonlinear coding with 1st order power functions in digital imaging system
JP3427535B2 (en) Characteristic variation correction method
JP2001357394A (en) System for generating color non-uniformity correction data and picture display device
KR100487308B1 (en) Image compensation apparatus
JP4245140B2 (en) Shading correction circuit
JP2516902B2 (en) Solid-state imaging device
JP2004072262A (en) Gamma correction method and apparatus for imaging means
KR100458446B1 (en) Method for calibrating gamma of a display
JPH0686096A (en) Production of gamma correction table
JP2006287702A (en) Image generator
JPH07222197A (en) Color signal processing method
CN117201950A (en) Hue adjustment method, hue adjustment device, and readable storage medium

Legal Events

Date Code Title Description
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: 20040406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040427

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

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100514

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110514

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110514

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120514

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees