JP2003158642A - Camera signal processing apparatus - Google Patents

Camera signal processing apparatus

Info

Publication number
JP2003158642A
JP2003158642A JP2001356847A JP2001356847A JP2003158642A JP 2003158642 A JP2003158642 A JP 2003158642A JP 2001356847 A JP2001356847 A JP 2001356847A JP 2001356847 A JP2001356847 A JP 2001356847A JP 2003158642 A JP2003158642 A JP 2003158642A
Authority
JP
Japan
Prior art keywords
mapping
signal processing
camera signal
image
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001356847A
Other languages
Japanese (ja)
Inventor
Manabu Yada
学 矢田
Kazunori Sumitani
一徳 隅谷
Taro Hizume
太郎 樋爪
Toshiyuki Sano
俊幸 佐野
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 JP2001356847A priority Critical patent/JP2003158642A/en
Publication of JP2003158642A publication Critical patent/JP2003158642A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a camera signal processing apparatus that can reduce the number of circuits and the arithmetic quantity by applying map composite processing of a plurality of arithmetic operation processes of image data to a gamma nonlinear curve. SOLUTION: A first storage means 1 stores representative points of a nonlinear map curve for gamma correction, a map composition means 2 applies map composition to the representative points, a second storage means 3 stores representative points subjected to map composition, and a pixel correction means 4 uses the representative points subjected to map composition stored in the second storage means 3 to correct pixel data. Since the arithmetic for camera signal processing is map-composed to the representative points of a nonlinear map curve for gamma correction, the number of circuits and the arithmetic quantity for the camera signal processing can be reduced by the arithmetic process for map composition.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、カメラ信号処理装
置に関し、詳しくは、可変ガンマ補正装置を応用したカ
メラ信号処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera signal processing device, and more particularly to a camera signal processing device to which a variable gamma correction device is applied.

【0002】[0002]

【従来の技術】まず、本発明の基本的な構成要件である
可変ガンマ方式について説明する。ガンマ補正とは、表
示装置のブラウン管特性に合わせて、画像に対して逆特
性をかける非線形変換のことである。日本国のカラーテ
レビ方式であるNTSC方式では送像機側でガンマ係数
2.2のガンマ補正を行うと定められている。また、N
TSC方式は撮像装置の有線アナログ出力方式としても
利用されており、その場合でも、撮像装置側でガンマ補
正をかけるようにしている。
2. Description of the Related Art First, a variable gamma system, which is a basic constituent feature of the present invention, will be described. Gamma correction is a non-linear conversion that applies an inverse characteristic to an image in accordance with the cathode ray tube characteristic of a display device. In the NTSC system, which is a color television system in Japan, it is stipulated that a gamma correction with a gamma coefficient of 2.2 is performed on the transmitter side. Also, N
The TSC method is also used as a wired analog output method of an image pickup apparatus, and even in that case, gamma correction is applied on the image pickup apparatus side.

【0003】撮像装置におけるガンマ補正は、単にガン
マ係数2.2の補正をかけるだけではなく、絵作りのた
めの調整に活用される。その調整を容易にするための方
式が可変ガンマ方式である。その代表的なものとして、
非線形カーブを折れ線により近似する方式がある。すな
わち、代表点を指定し、点間を直線補間する方式であ
る。この折れ線近似方式の場合、代表点の数は、PC向
けのカメラで16点程度、業務用カメラでも32点程度
で十分な性能が得られる。さらに高度なものとして、代
表点間をスプライン曲線などの曲線で補間する方式など
が挙げられるが、演算量が多く、撮像装置に採用される
ケースは少ない。
The gamma correction in the image pickup apparatus is utilized not only for the correction of the gamma coefficient 2.2 but also for the adjustment for making a picture. The variable gamma method is a method for facilitating the adjustment. As a typical example,
There is a method of approximating a non-linear curve by a polygonal line. That is, this is a method of designating representative points and performing linear interpolation between the points. In the case of this polygonal line approximation method, the number of representative points is about 16 for a PC camera and about 32 for a commercial camera, which is sufficient performance. As a more advanced method, there is a method of interpolating between representative points with a curve such as a spline curve, but the amount of calculation is large and it is rarely used in an imaging device.

【0004】次に、可変ガンマ方式を応用した従来技術
の例を説明する。従来の可変ガンマ方式を応用した信号
処理装置としては、例えば特開平09−172562号
公報に開示されたものがある。この発明の骨子は、代表
点から予め黒レベルを引いた値をメモリに格納し、演算
量を抑えるというものである。同公報で開示されたガン
マ補正回路のブロック図を図7に示す。図7において、
撮像信号のディジタル論理レベルを示すディジタルコー
ドを基準にしたガンマ補正値がメモリ94に記憶され
る。ディジタル化された入力撮像信号Xm+1がエンコ
ーダ93に入力され、参照データXm+1が生成され
る。メモリ94から参照データXm+1により選択され
たガンマ補正値Xm、amおよびbmが合成手段95、
96および97に供給される。合成手段95、96およ
び97により入力撮像信号Xm+1にガンマ補正値X
m、amおよびbmを加えて、ガンマ特性が付与された
出力撮像信号が得られる。
Next, an example of a conventional technique to which the variable gamma method is applied will be described. As a conventional signal processing device to which the variable gamma method is applied, there is one disclosed in, for example, Japanese Patent Laid-Open No. 09-172562. The gist of the present invention is to store the value obtained by subtracting the black level from the representative point in advance in the memory to suppress the calculation amount. FIG. 7 shows a block diagram of the gamma correction circuit disclosed in the publication. In FIG.
A gamma correction value based on a digital code indicating the digital logic level of the image pickup signal is stored in the memory 94. The digitized input image pickup signal Xm + 1 is input to the encoder 93, and the reference data Xm + 1 is generated. The gamma correction values Xm, am and bm selected by the reference data Xm + 1 from the memory 94 are combined by the synthesizing means 95,
96 and 97. The gamma correction value X is added to the input image pickup signal Xm + 1 by the synthesizing means 95, 96 and 97.
By adding m, am and bm, an output image pickup signal having a gamma characteristic is obtained.

【0005】[0005]

【発明が解決しようとする課題】また、カメラ信号処理
を大別すると以下の3つに分類される。 1)隣接画素の情報を使うフィルタ系処理・・・ローパ
スフィルタ等の積分演算、エッジ強調等の微分演算、キ
ズ補正、ズーム処理など。 2)画素に対する四則演算処理・・・黒レベルの減算、
輝度調整のための輝度ゲイン処理、ホワイトバランスの
ための色信号ゲイン処理、セットアップ処理など。さら
に、これらの演算の後処理として、飽和クリップ、0ク
リップなどのクリップ処理など。 3)非線形写像処理・・・輝度ガンマ、色ガンマ、アパ
ーチャガンマなど。また、ガンマニー処理も含まれる。
The camera signal processing is roughly classified into the following three types. 1) Filter system processing using information of adjacent pixels: integral calculation such as low-pass filter, differential calculation such as edge enhancement, flaw correction, zoom processing, etc. 2) Four arithmetic operations for pixels ... Black level subtraction,
Brightness gain processing for brightness adjustment, color signal gain processing for white balance, setup processing, etc. Further, as post-processing of these calculations, clip processing such as saturated clip and 0 clip is performed. 3) Non-linear mapping processing: luminance gamma, color gamma, aperture gamma, etc. It also includes gamma knee processing.

【0006】上記3つの処理のうち、2)と3)の各処
理は、写像合成を行い、1つの非線形カーブを生成する
ことにより処理を統合して、回路量および演算量を削減
することが可能である。しかしながら、特開平09−1
72562号公報記載のガンマ補正では、黒レベルの減
算処理をガンマカーブに加味するものであり、複数の演
算処理を写像合成によって統合するものではない。ま
た、黒レベルを加味したガンマカーブを固定的にメモリ
に書き込む方式であり、黒レベルに変化があった場合に
は対応できず、誤った黒レベルで信号処理してしまう恐
れがあるという問題があった。
Of the above-mentioned three processes, each process of 2) and 3) can be combined by generating mapping and performing one non-linear curve to reduce the circuit amount and the calculation amount. It is possible. However, Japanese Patent Laid-Open No. 09-1
In the gamma correction described in Japanese Patent No. 72562, a black level subtraction process is added to the gamma curve, and a plurality of arithmetic processes are not integrated by mapping synthesis. In addition, it is a method of fixedly writing the gamma curve in consideration of the black level to the memory, and it is not possible to cope with a change in the black level, and there is a problem that signal processing may be performed with an incorrect black level. there were.

【0007】さらに、近年では、撮像装置がディジタル
出力化され、また、出力装置も液晶モニタ、プラズマデ
ィスプレイ、プリンタなどと多様化されてきた。しか
し、これらの出力装置は単純なべき乗関数で補正できる
ような階調特性をもっていない。従って、従来の方式で
は、出力装置の多様化に対応することができないという
問題があった。
Further, in recent years, image pickup devices have been digitally output, and output devices have been diversified into liquid crystal monitors, plasma displays, printers and the like. However, these output devices do not have gradation characteristics that can be corrected by a simple power function. Therefore, the conventional method has a problem that it cannot cope with diversification of output devices.

【0008】本発明は、上記従来の問題を解決するため
になされたもので、画像データに対する複数の四則演算
系処理をガンマ非線形カーブに写像合成することにより
回路および演算量の削減を図り、撮像装置の変化に対応
するよう画像データ出力を制御するとともに、出力装置
の多様化に対応したカメラ信号処理装置を提供するもの
である。
The present invention has been made in order to solve the above-mentioned conventional problems, and a plurality of arithmetic operation system processes for image data are image-synthesized on a gamma nonlinear curve to reduce a circuit and an operation amount, and an image is picked up. The present invention provides a camera signal processing device that controls the output of image data so as to respond to changes in the device, and that also supports the diversification of output devices.

【0009】[0009]

【課題を解決するための手段】本発明におけるカメラ信
号処理装置は、ガンマ補正の非線形写像カーブの代表点
を記憶する第1の記憶手段と、前記代表点に対して写像
合成を行う写像合成手段と、写像合成した代表点を記憶
する第2の記憶手段と、写像合成した代表点を使用して
画素データを補正する画素補正手段とを有するという構
成を有している。この構成により、予めガンマ補正用の
非線形写像カーブにカメラ信号処理の演算を写像合成す
ることができるため、写像合成する演算処理だけカメラ
信号処理の回路を削減することができる。
A camera signal processing apparatus according to the present invention comprises a first storage means for storing a representative point of a non-linear mapping curve for gamma correction, and a map synthesizing means for performing map synthesizing on the representative point. And a second storage means for storing the mapped and synthesized representative points, and a pixel correction means for correcting the pixel data using the mapped and synthesized representative points. With this configuration, the calculation of camera signal processing can be mapped and synthesized on the non-linear mapping curve for gamma correction in advance, so that the circuit for camera signal processing can be reduced by the calculation processing for mapping and synthesis.

【0010】本発明におけるカメラ信号処理装置は、前
記画素補正手段から出力された画像データの1フレーム
から統計情報を導き出す画像統計手段と、前記画像統計
手段により導き出された統計情報に従い前記写像合成手
段で行われる演算の係数を変更する画像制御手段とを有
するという構成を有している。この構成により、補正し
た画像データ出力に従い係数を制御することにより画像
データ出力を自動制御することが可能となる。
In the camera signal processing apparatus according to the present invention, the image statistic means for deriving statistical information from one frame of the image data output from the pixel correcting means, and the mapping synthesizing means according to the statistical information derived by the image statistic means. And an image control means for changing the coefficient of the calculation carried out in. With this configuration, the image data output can be automatically controlled by controlling the coefficient according to the corrected image data output.

【0011】本発明におけるカメラ信号処理装置は、前
記画像制御手段において、輝度調整を行うという構成を
有している。この構成により、ガンマ補正用の非線形写
像カーブにカメラ信号処理の演算を写像合成することに
よりカメラ信号処理の回路を削減することができるとと
もに、輝度調整を行うことができる。
The camera signal processing apparatus according to the present invention has a structure in which brightness adjustment is performed in the image control means. With this configuration, the camera signal processing circuit can be reduced and the brightness can be adjusted by mapping and synthesizing the camera signal processing calculation on the non-linear mapping curve for gamma correction.

【0012】本発明におけるカメラ信号処理装置は、前
記画像制御手段において、ホワイトバランス制御を行う
という構成を有している。この構成により、ガンマ補正
用の非線形写像カーブにカメラ信号処理の演算を写像合
成することによりカメラ信号処理の回路を削減すること
ができるとともに、ホワイトバランス制御を行うことが
できる。
The camera signal processing device according to the present invention has a structure in which white balance control is performed in the image control means. With this configuration, the camera signal processing circuit can be reduced and the white balance can be controlled by image-synthesizing the camera signal processing operation on the non-linear mapping curve for gamma correction.

【0013】本発明におけるカメラ信号処理装置は、前
記第1の記憶手段は複数の非線形写像カーブを記憶する
記憶手段であり、出力装置に応じ前記第1の記憶手段に
記憶されている非線形写像カーブを切替えて出力させる
カーブ切替え手段を有するという構成を有している。こ
の構成により、出力装置に応じて非線形写像カーブを切
替えることにより、異なる出力装置に対しても適正なガ
ンマ補正を行うことが可能となる。
In the camera signal processing device according to the present invention, the first storage means is a storage means for storing a plurality of non-linear mapping curves, and the non-linear mapping curves stored in the first storage means according to an output device. It has a configuration in which there is a curve switching means for switching and outputting. With this configuration, by switching the non-linear mapping curve according to the output device, it is possible to perform proper gamma correction for different output devices.

【0014】本発明におけるカメラ信号処理装置は、前
記第2の記憶手段は、更新用と参照用の2つの非線形写
像カーブを記憶する記憶手段であり、前記写像合成手段
による写像合成完了のタイミングで、更新用と参照用の
非線形写像カーブを切替える切替え手段を有するという
構成を有している。この構成により、画素補正手段と写
像合成手段の独立性が保たれ、更新タイミングの同期を
とる必要がなくなるため、画像制御処理の開発が容易と
なる。
In the camera signal processing device according to the present invention, the second storage means is a storage means for storing two non-linear mapping curves for update and reference, and at the timing of completion of mapping synthesis by the mapping synthesis means. , And a switching means for switching between the updating and the reference non-linear mapping curves. With this configuration, the independence of the pixel correcting unit and the image synthesizing unit is maintained, and it is not necessary to synchronize the update timings, which facilitates the development of the image control process.

【0015】本発明におけるカメラ信号処理方法は、ガ
ンマ補正の非線形写像カーブの代表点を記憶するステッ
プと、前記代表点に対して写像合成を行うステップと、
写像合成した代表点を記憶するステップと、写像合成し
た代表点を使用して画素データを補正する画素補正を行
うステップと、画像の1画面の統計情報を導き出すステ
ップと、導き出された統計情報から前記写像合成の演算
係数を制御するステップとからなるという構成を有して
いる。この構成により、ハードウェアにより実施した場
合は回路量の削減し、ソフトウェアにより実施した場合
は速度性能の向上を図ることができる。
A camera signal processing method according to the present invention comprises a step of storing a representative point of a non-linear mapping curve for gamma correction, and a step of performing map synthesis on the representative point.
From the statistical information derived from the step of memorizing the representative point that has been image-synthesized, the step of performing pixel correction that corrects pixel data using the representative point that has been image-synthesized, the step of deriving statistical information for one screen of the image And a step of controlling the arithmetic coefficient of the mapping synthesis. With this configuration, the amount of circuits can be reduced when implemented by hardware, and the speed performance can be improved when implemented by software.

【0016】本発明におけるプログラムは、コンピュー
タに請求項7に記載のカメラ信号処理方法における各ス
テップを実行させるという構成を有している。この構成
により、非線形写像カーブの代表点に対して写像合成す
ることにより、画素に対する演算量が削減され、速度性
能が向上される。
The program according to the present invention has a configuration for causing a computer to execute each step in the camera signal processing method according to the seventh aspect. With this configuration, the amount of calculation for pixels is reduced by performing map synthesis on the representative point of the nonlinear mapping curve, and the speed performance is improved.

【0017】本発明におけるコンピュータ読み取り可能
な記録媒体は、請求項8に記載のプログラムを記録する
という構成を有している。この構成により、この記録媒
体を、プログラムに従って動作する他のコンピュータに
搭載することにより、そのコンピュータで容易に実施す
ることができ、そのコンピュータのカメラ信号処理速度
の性能を向上させることができる。
A computer-readable recording medium according to the present invention has a structure for recording the program according to claim 8. With this configuration, by mounting this recording medium on another computer that operates according to a program, the computer can be easily implemented and the performance of the camera signal processing speed of the computer can be improved.

【0018】[0018]

【発明の実施の形態】以下、添付図面に基づき、本発明
の第1ないし第7の実施の形態を詳細に説明する。 (第1の実施の形態)まず、図1および図2のブロック
図を参照して、本発明の第1の実施の形態におけるカメ
ラ信号処理装置について説明する。図1において、第1
の記憶手段1は、基本となる非線形写像カーブ(非線形
カーブ、写像カーブともいう)を格納するメモリ領域で
あり、EEPROMなどの不揮発性メモリによって構成
される。データの内容は、例えば、代表点の写像後のレ
ベルを示す数値列が格納される。折れ線近似において
は、16〜32点の代表点を持つことが一般的である。
なお、写像前の値を等間隔にすると、写像前のレベルを
格納する必要がなく、かつ、回路量を削減できる。ま
た、予め切片と傾きを求めて格納する方法をとる場合も
あり、この方法は、特に、ソフトウェア信号処理で演算
量の削減に有効である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The first to seventh embodiments of the present invention will be described in detail below with reference to the accompanying drawings. (First Embodiment) First, a camera signal processing apparatus according to a first embodiment of the present invention will be described with reference to the block diagrams of FIGS. 1 and 2. In FIG. 1, the first
The storage means 1 is a memory area for storing a basic non-linear mapping curve (also called non-linear curve or mapping curve), and is composed of a non-volatile memory such as an EEPROM. As the content of the data, for example, a numerical value sequence indicating the level of the representative point after mapping is stored. In the polygonal line approximation, it is common to have 16 to 32 representative points.
If the values before mapping are set at equal intervals, it is not necessary to store the level before mapping, and the amount of circuits can be reduced. There is also a case where a method of previously obtaining and storing the intercept and the slope is adopted, and this method is particularly effective for reducing the amount of calculation in software signal processing.

【0019】写像合成手段2においては、代表点に対し
てオフセット処理、ゲイン処理などを行うことにより写
像合成を行う(詳しくは、図2とともに後述する)。こ
れらの処理はリアルタイムな演算を要求されないため、
マイコンなどのプログラムで実現することが可能であ
り、これにより処理の変更容易性が増加する。第2の記
憶手段3においては、写像合成手段2で算出した代表点
を格納する領域であり、信号処理をハード的に実現する
場合には、LSIのレジスタにより具現化される。デー
タの形式は、第1の記憶手段1と同じである。画素補正
手段4において、入力画像データを第2の記憶手段3に
格納された非線形カーブを使って補正することにより、
出力画像データを求める。補正方法として折れ線近似方
式を使う場合は、予め、切片と傾きを求める方式を用い
れば、入力データに傾きを乗算し、切片を加算すること
で、出力データを求めることが可能である。つまりは、
乗算器1個、加算器1個で具現化することができる。
In the mapping synthesizing means 2, mapping synthesizing is performed by performing offset processing, gain processing and the like on the representative points (details will be described later with reference to FIG. 2). Since these processes do not require real-time calculation,
It can be realized by a program such as a microcomputer, which increases the easiness of changing the processing. The second storage means 3 is an area for storing the representative points calculated by the mapping synthesis means 2 and is realized by a register of an LSI when the signal processing is realized by hardware. The data format is the same as that of the first storage means 1. In the pixel correction means 4, by correcting the input image data using the non-linear curve stored in the second storage means 3,
Obtain output image data. When the polygonal line approximation method is used as the correction method, if the method of obtaining the intercept and the slope is used in advance, the output data can be obtained by multiplying the input data by the slope and adding the intercept. In short,
It can be realized by one multiplier and one adder.

【0020】なお、写像合成手段2におけるオフセット
処理、ゲイン処理(図2)などで私用する係数を固定値
で使用する場合は、パソコンなどで、別途、写像合成手
段2と同等の演算を行った結果を第2の記憶手段3のデ
フォルト値とすれば、第1の記憶手段1と写像合成手段
2は省略可能である。
When a fixed value is used for a coefficient used for offset processing, gain processing (FIG. 2), etc. in the image synthesizing means 2, a personal computer or the like separately performs an operation equivalent to that of the image synthesizing means 2. If the result obtained is used as the default value of the second storage means 3, the first storage means 1 and the mapping synthesis means 2 can be omitted.

【0021】次に、図2のブロック図を参照して、本発
明の第1の実施の形態における写像合成手段の例につい
て説明する。以下説明する処理は、輝度信号処理などで
一般的に用いられるものの例である。図2に示すオフセ
ット処理11において、X=X−Aという減算処理を行
い、ゲイン1処理12において、X=(X+A)*Bと
いう乗算処理を行い、ガンマ処理13において、X→Y
という写像(関数)を実行し、ゲイン2処理14におい
て、Y=Y*Cというゲイン処理を行い、セットアップ
処理において、Y=(Y*C)+Dという加算処理を行
う。ここで、Xは代表点(値)、Yは写像値、A〜Dは
係数である。この例により、どのように写像合成を行う
かについて説明する。このガンマ処理は、上記のよう
に、折れ線近似方式の場合には16〜32点からなる代
表点Xと、それに対応する写像値Yの数値列を使って、
代表点間を補間することにより求める可変ガンマ方式を
取る。代表点Xに対して写像値Yが一意に決定される。
Next, with reference to the block diagram of FIG. 2, an example of the image synthesizing means in the first embodiment of the present invention will be described. The processing described below is an example of processing generally used in luminance signal processing and the like. In the offset process 11 shown in FIG. 2, a subtraction process of X = X−A is performed, in a gain 1 process 12, a multiplication process of X = (X + A) * B is performed, and in a gamma process 13, X → Y.
The gain 2 processing 14 performs gain processing Y = Y * C, and the setup processing performs addition processing Y = (Y * C) + D. Here, X is a representative point (value), Y is a mapping value, and A to D are coefficients. This example will explain how to perform mapping synthesis. As described above, this gamma processing uses the representative point X consisting of 16 to 32 points and the corresponding numerical value sequence of the mapping value Y in the case of the polygonal line approximation method,
A variable gamma method is used that is obtained by interpolating between representative points. The mapping value Y is uniquely determined for the representative point X.

【0022】ガンマ処理の前に存在する処理、すなわ
ち、オフセット処理11、ゲイン1処理12は、代表点
Xに対して、ガンマ処理に近い順に、逆関数をかけるこ
とにより求める。すなわち、X÷B+Aが写像合成後の
代表点Xとなる。ガンマ補正の後の処理、すなわち、ゲ
イン2処理14では、ガンマ処理に近い順に演算するこ
とにより求められる。すなわち、Y*C+Dが写像値Y
となる。各代表点Xに対して、上記のように演算するこ
とにより、写像合成した非線形カーブが求められる。な
お、代表点Xを等間隔にとりたい場合には、等間隔にと
った代表点間の各点を写像合成した非線形カーブから補
間により求めることが可能である。
The processing existing before the gamma processing, that is, the offset processing 11 and the gain 1 processing 12 are obtained by applying an inverse function to the representative point X in the order of the gamma processing. That is, X ÷ B + A becomes the representative point X after the image synthesis. In the process after the gamma correction, that is, in the gain 2 process 14, the gain 2 process 14 is calculated by performing an operation in the order close to the gamma process. That is, Y * C + D is the mapping value Y
Becomes By performing the above-described calculation for each representative point X, a mapping-synthesized nonlinear curve is obtained. When the representative points X are desired to be evenly spaced, it is possible to obtain them by interpolation from a non-linear curve obtained by mapping and synthesizing the respective points between the representative points at equal intervals.

【0023】なお、写像合成により、飽和を起こした場
合には、飽和した代表点Xに対してクリップ処理やニー
処理などの部分的な補正が可能である。低レベル部でも
同様で、負値となった部分はクリップ処理などで部分的
な補正を行えば良い。図2を回路として設計した場合に
は、それぞれの演算でクリップ処理が必要となり、本発
明では、これらクリップ処理回路を削減することが可能
になる。以上のことを予め行うことで、画素補正手段4
で通常の可変ガンマ処理、すなわち、非線形カーブの補
間処理を行うことだけで、オフセット処理、ゲイン処理
などの複数の演算処理を画像データに対して行うことが
可能となる。
When saturation occurs due to mapping synthesis, partial correction such as clipping or knee processing can be performed on the saturated representative point X. The same applies to the low-level portion, and the negative value portion may be partially corrected by clipping processing or the like. When FIG. 2 is designed as a circuit, clip processing is required for each calculation, and in the present invention, it is possible to reduce the number of these clip processing circuits. By performing the above in advance, the pixel correction unit 4
Thus, it is possible to perform a plurality of arithmetic processes such as offset process and gain process on the image data only by performing a normal variable gamma process, that is, a non-linear curve interpolation process.

【0024】以上のように、本発明の第1の実施の形態
におけるカメラ信号処理装置によれば、ガンマ補正の写
像カーブ(非線形カーブ)に処理を写像合成して合成写
像カーブを生成することにより、ガンマ補正の写像カー
ブに処理を写像合成した分、回路削減することができ
る。
As described above, according to the camera signal processing apparatus of the first embodiment of the present invention, the processing is map-synthesized with the mapping curve (non-linear curve) of the gamma correction to generate the composite mapping curve. The circuit can be reduced by the amount of mapping synthesis of the mapping curve for gamma correction.

【0025】(第2の実施の形態)次に、図3のブロッ
ク図を参照して、本発明の第2の実施の形態におけるカ
メラ信号処理装置について説明する。図3は、図1から
派生したものであり、図1に示す構成要素に対し画像統
計手段5および画像制御手段6を追加構成したもので、
その他の構成要素は図1に示すものと同様であり、以下
図1から変更したもの、および追加した部分についての
み説明する。
(Second Embodiment) Next, a camera signal processing device according to a second embodiment of the present invention will be described with reference to the block diagram of FIG. FIG. 3 is derived from FIG. 1 and additionally includes an image statistic means 5 and an image control means 6 in addition to the components shown in FIG.
The other components are the same as those shown in FIG. 1, and only the changed and added parts from FIG. 1 will be described below.

【0026】まず、画像統計手段5においては、画素補
正手段4の出力値の平均値など、画像1フレームの統計
情報を生成して画像制御手段6に出力する。しかし、全
画素あるいは数画素おきに演算する必要があり、カメラ
信号処理をハード、ソフトの両方を用いて具現化する場
合には、ハード側で処理するのが適当である。画像制御
手段6は、例えば出力値の平均値とあらかじめ定めてあ
る出力値の目標値とを比較して、目標値>平均値の場合
にはゲインを下げ、目標値<平均値の場合にはゲインを
上げるなどして、写像合成手段2のゲイン量などの係数
(ゲイン係数)を更新して制御する。そして、画素補正
手段4により、そのゲイン係数を使用して再び入力画像
データを補正することができる。しかし、この処理は1
フレームに1度しか行わないので、マイコンソフトで具
現化することが可能である。また、写像合成手段2は、
毎フレーム、あるいは、数フレームに1度、新しいゲイ
ン量等の係数を用いて、写像合成を行うことになるが、
たかだか32点の代表点の更新であり、マイコンソフト
での処理が可能である。
First, the image statistical means 5 generates statistical information of one frame of an image such as the average value of the output values of the pixel correction means 4 and outputs it to the image control means 6. However, it is necessary to calculate every pixel or every few pixels, and when the camera signal processing is embodied using both hardware and software, it is appropriate to perform processing on the hardware side. The image control means 6 compares, for example, the average value of the output values with a predetermined target value of the output value, lowers the gain when the target value> the average value, and lowers the gain when the target value <the average value. By increasing the gain or the like, the coefficient (gain coefficient) such as the gain amount of the image synthesizing means 2 is updated and controlled. Then, the pixel correction means 4 can use the gain coefficient to correct the input image data again. However, this process is 1
Since it is performed only once in a frame, it can be realized by microcomputer software. Further, the mapping synthesizing means 2 is
Mapping synthesis is performed every frame or once every several frames by using a coefficient such as a new gain amount.
At most 32 representative points are updated, and processing by microcomputer software is possible.

【0027】以上のように、本発明の第2の実施の形態
によれば、ガンマ補正の写像カーブに写像合成する処理
の係数を制御することにより、ガンマ補正の写像カーブ
に処理を写像合成した分の回路削減を図るとともに、補
正した画像データ出力に従いゲイン係数を制御すること
により、画像データ出力を自動制御することができ、さ
らにマイコンなどのプログラム処理によるカメラ信号制
御を行うことができる。
As described above, according to the second embodiment of the present invention, the process is image-synthesized on the gamma-correction mapping curve by controlling the coefficient of the process for image-synthesizing on the gamma-correction mapping curve. By reducing the number of circuits and controlling the gain coefficient according to the corrected image data output, the image data output can be automatically controlled, and the camera signal can be controlled by a program process such as a microcomputer.

【0028】(第3の実施の形態)次に、図3のブロッ
ク図を参照して、本発明の第3の実施の形態におけるカ
メラ信号処理装置について説明する。本実施の形態にお
けるカメラ信号処理装置の特徴は、第2の実施の形態に
おけるカメラ信号処理装置を用いて輝度調整を行うこと
である。以下、第2の実施の形態で使用した図3を再び
用いて、輝度調整に対する補足説明を行う。
(Third Embodiment) Next, a camera signal processing apparatus according to a third embodiment of the present invention will be described with reference to the block diagram of FIG. The characteristic of the camera signal processing device in the present embodiment is that the camera signal processing device in the second embodiment is used to perform brightness adjustment. Hereinafter, with reference to FIG. 3 used in the second embodiment again, a supplementary explanation for the brightness adjustment will be given.

【0029】第1の記憶手段1には、輝度ガンマ補正の
ためのガンマカーブである非線形カーブが格納される。
写像合成手段2においては、図2の合成写像例で示した
処理を用いる。ただし、図2では、説明のためにゲイン
を2つ設けているが、輝度調整の場合には、ゲインはゲ
イン1処理、ゲイン2処理のいずれか1つだけを使用す
る。画素補正手段4の入力信号も出力信号も輝度信号で
ある。画像統計手段5では、輝度の平均値を求める。画
像制御手段6で輝度調整を行う。
The first storage means 1 stores a non-linear curve which is a gamma curve for luminance gamma correction.
The mapping synthesizing means 2 uses the processing shown in the synthetic mapping example of FIG. However, although two gains are provided in FIG. 2 for the sake of explanation, in the case of brightness adjustment, only one of the gain 1 process and the gain 2 process is used as the gain. Both the input signal and the output signal of the pixel correction means 4 are luminance signals. The image statistical means 5 calculates the average value of the brightness. The image control means 6 adjusts the brightness.

【0030】輝度調整とは、目標輝度レベルと輝度平均
値とを大小比較を行い、その輝度レベルを変化させるパ
ラメータを調整することで輝度レベルを制御することで
ある。本発明の信号処理においては、写像合成手段2の
ゲイン係数を変更することで制御が可能である。なお、
輝度調整方法として、レンズアイリス制御、電子シャッ
ター、および、アナログゲインを制御するのが一般的で
あるが、電子シャッターの分解能が低い領域や、アナロ
グゲインの反応スピードが遅い場合には、本発明のよう
なディジタルゲインによる制御が有効となる。
The brightness adjustment is to control the brightness level by comparing the target brightness level with the brightness average value and adjusting the parameter for changing the brightness level. The signal processing of the present invention can be controlled by changing the gain coefficient of the mapping synthesizing means 2. In addition,
As a brightness adjusting method, it is general to control a lens iris control, an electronic shutter, and an analog gain. However, when the resolution of the electronic shutter is low or the reaction speed of the analog gain is slow, Control by such digital gain is effective.

【0031】以上のように、本発明の第3の実施の形態
における輝度調整に対するカメラ信号処理は、ガンマ補
正の写像カーブに写像合成する処理の係数を制御するこ
とにより、ガンマ補正の写像カーブに処理を写像合成し
た分の回路削減をしつつ、マイコンなどのプログラム処
理により、輝度調整を行うことができる。
As described above, in the camera signal processing for the luminance adjustment in the third embodiment of the present invention, the gamma correction mapping curve is controlled by controlling the coefficient of the processing for mapping and combining with the gamma correction mapping curve. It is possible to perform brightness adjustment by program processing of a microcomputer or the like, while reducing the circuits by the amount of mapping synthesis of processing.

【0032】(第4の実施の形態)次に、図3のブロッ
ク図を参照して、本発明の第4の実施の形態におけるカ
メラ信号処理装置について説明する。本実施の形態にお
けるカメラ信号処理装置の特徴は、第2の実施の形態に
おけるカメラ信号処理装置を用いてホワイトバランス制
御を行うことである。以下、第2の実施の形態で使用し
た図3を再び用いて、ホワイトバランス制御に対する補
足説明を行う。
(Fourth Embodiment) Next, a camera signal processing apparatus according to a fourth embodiment of the present invention will be described with reference to the block diagram of FIG. A feature of the camera signal processing device in the present embodiment is that white balance control is performed using the camera signal processing device in the second embodiment. The white balance control will be supplementarily described below with reference to FIG. 3 used in the second embodiment again.

【0033】第1の記憶手段1に格納される非線形カー
ブは、色ガンマ補正のためのガンマカーブであり、RG
B3色の同じガンマカーブを用いる。写像合成手段2に
おいては、図2の合成写像例で示した処理を用いる。た
だし、図2では、説明のためにゲインを2つ設けている
が、ホワイトバランス調整の場合には、ゲインはゲイン
1、ゲイン2のいずれか1つだけを使用する。ゲイン等
の係数は、RGB3色それぞれに持っているため、写像
合成は、RGB3色それぞれに対して行う。
The non-linear curve stored in the first storage means 1 is a gamma curve for color gamma correction, and RG
The same gamma curve for B3 color is used. The mapping synthesizing means 2 uses the processing shown in the synthetic mapping example of FIG. However, in FIG. 2, two gains are provided for the sake of explanation, but in the case of white balance adjustment, only one of the gains 1 and 2 is used. Since the coefficients such as gain are provided for each of the three colors of RGB, the mapping synthesis is performed for each of the three colors of RGB.

【0034】第2の記憶手段3においてもRGB3色そ
れぞれの非線形カーブの格納領域が必要となる。画素補
正手段4の入力信号も出力信号もRGB3種類あり、そ
れぞれに対して画素補正を行う。画像統計手段5では、
まず、白検出を行い、白画素と判定された画素の色差C
rCbそれぞれの平均値を求める。画像制御手段6でホ
ワイトバランス制御を行う。色差Crが正値の場合に
は、Rゲインを下げ、負値の場合にはRゲインを上げ
る。Bゲインに対しても同様に色差Cbの値により制御
する。Gゲインに関しては、RゲインあるいはBゲイン
が飽和した場合など特別なケースでのみ制御を行う。な
お、本実施例では、RGB3色の信号に対する制御につ
いて説明したが、CrCb2つの信号に対して制御する
ことも可能である。
The second storage means 3 also requires storage areas for the non-linear curves for each of the three RGB colors. There are three types of RGB input and output signals of the pixel correction means 4, and pixel correction is performed for each of them. In the image statistical means 5,
First, white detection is performed, and the color difference C of a pixel determined as a white pixel
The average value of each rCb is calculated. The image control means 6 performs white balance control. When the color difference Cr has a positive value, the R gain is decreased, and when the color difference Cr has a negative value, the R gain is increased. The B gain is similarly controlled by the value of the color difference Cb. The G gain is controlled only in a special case such as when the R gain or the B gain is saturated. In this embodiment, the control for the RGB three color signals has been described, but the control for two CrCb signals is also possible.

【0035】以上のように、本発明の第3の実施の形態
におけるカメラ信号処理は、ガンマ補正の写像カーブに
写像合成する処理の係数を制御することにより、ガンマ
補正の写像カーブに処理を写像合成した分の回路削減を
しつつ、マイコンソフトでのホワイトバランス制御を行
うことができるという点で優れた効果を有する。
As described above, in the camera signal processing according to the third embodiment of the present invention, the processing is mapped onto the gamma-corrected mapping curve by controlling the coefficient of the processing for mapping and combining with the gamma-corrected mapping curve. It has an excellent effect in that the white balance control can be performed by the microcomputer software while reducing the circuits for the combined amount.

【0036】(第5の実施の形態)次に、図4のブロッ
ク図を参照して、本発明の第5の実施の形態におけるカ
メラ信号処理装置について説明する。図4は、図3から
派生したものであり、図3に示す構成要素に対しカーブ
切替え手段7を追加構成したもので、その他の構成要素
は図3に示すものと同様であり、以下図3から変更した
もの、および追加した部分についてのみ説明する。
(Fifth Embodiment) Next, a camera signal processing apparatus according to a fifth embodiment of the present invention will be described with reference to the block diagram of FIG. FIG. 4 is derived from FIG. 3, in which the curve switching means 7 is added to the components shown in FIG. 3, and the other components are the same as those shown in FIG. Only the changes and added parts will be explained.

【0037】第1の記憶手段1においては、異なる種類
の出力装置に対応した複数の非線形写像カーブの情報を
格納する。出力装置としては、ブラウン管モニタのほ
か、液晶モニタ、プラズマディスプレイ、プリンタ等が
考えられる。カーブ切替え手段7において第1の記憶手
段で格納された非線形カーブの切替えを行うが、撮像装
置に、スイッチなどのユーザーインタフェースを設けて
ユーザーにより切替えることで実現可能である。また、
カメラの出力が、USBやイーサーネットなど双方向通
信の可能なインタフェースの場合は、出力装置とのネゴ
シエーションにより、自動切替えも可能となる。
The first storage means 1 stores information on a plurality of nonlinear mapping curves corresponding to different types of output devices. As the output device, in addition to a cathode ray tube monitor, a liquid crystal monitor, a plasma display, a printer, etc. can be considered. The non-linear curve stored in the first storage means is switched in the curve switching means 7. This can be realized by providing a user interface such as a switch in the image pickup device and switching by the user. Also,
When the output of the camera is an interface such as USB or Ethernet capable of bidirectional communication, automatic switching is possible by negotiation with the output device.

【0038】このような本発明の第5の実施の形態にお
けるカメラ信号処理は、従来のカメラ信号処理に比べ
て、ガンマ補正の写像カーブに処理を写像合成した分、
回路削減を可能にしつつ、出力装置の特性に応じたガン
マカーブを複数格納し、出力装置に応じてガンマカーブ
を切替えて使用することにより、出力装置に応じたガン
マ補正を行うことが可能であるという点で優れた効果を
有する。
In the camera signal processing according to the fifth embodiment of the present invention as described above, as compared with the conventional camera signal processing, the processing is performed by mapping the processing to the mapping curve for gamma correction.
Gamma correction according to the output device can be performed by storing a plurality of gamma curves according to the characteristics of the output device and switching and using the gamma curves according to the output device while enabling circuit reduction. In that respect, it has an excellent effect.

【0039】以上のように、本発明の第5の実施の形態
によれば、ガンマ補正の写像カーブを出力装置に応じて
切替えて使用し、その写像カーブに処理を写像合成する
ことにより、ガンマ補正の写像カーブに処理を写像合成
した分の回路削減をしつつ、出力装置に応じたガンマ補
正を行うことができる。
As described above, according to the fifth embodiment of the present invention, the gamma correction mapping curve is switched according to the output device and used, and the processing is mapped to the mapping curve to obtain the gamma correction. It is possible to perform gamma correction according to the output device, while reducing the circuits by the amount of the mapping mapping of the processing to the correction mapping curve.

【0040】(第6の実施の形態)次に、図5のブロッ
ク図を参照して、本発明の第6の実施の形態におけるカ
メラ信号処理装置について説明する。図5は、図3から
派生したものであり、図3に示す第2の記憶手段3を第
2の記憶手段31に変更したもので、その他の構成要素
は図3に示すものと同様であり、以下図3から変更した
ものについてのみ説明する。
(Sixth Embodiment) Next, a camera signal processing apparatus according to a sixth embodiment of the present invention will be described with reference to the block diagram of FIG. FIG. 5 is derived from FIG. 3, in which the second storage means 3 shown in FIG. 3 is changed to the second storage means 31, and the other components are the same as those shown in FIG. Only the changes from FIG. 3 will be described below.

【0041】第2の記憶手段31は、更新用と参照用の
2つの非線形カーブの格納領域を持つ。更新用領域は、
写像合成手段2が写像合成結果を格納する領域として使
用し、参照用領域は、画素補正手段4が画素補正で参照
するために使用する。また、第2の記憶手段31は、更
新用と参照用の非線形写像カーブを切替える切替え手段
を有し、更新用/参照用の切替えは、写像合成手段2で
決定し、全代表点の情報を更新用領域に書き込み完了の
タイミングで、参照用領域指定情報により、更新用と参
照用の切替えを行う。参照用領域指定情報は、LSIの
レジスタとして設けるのが適当である。画素補正手段4
においては、フレーム先頭の処理をする前に、この参照
用領域指定情報を参照して、どちらの非線形カーブを使
用するかを決定する。
The second storage means 31 has storage areas for two non-linear curves for updating and for reference. The update area is
The mapping synthesizing means 2 is used as an area for storing the mapping synthesizing result, and the reference area is used by the pixel correcting means 4 for reference in pixel correction. Further, the second storage means 31 has a switching means for switching the updating and reference non-linear mapping curves, and the switching for updating / reference is determined by the mapping synthesizing means 2 and the information of all the representative points is stored. At the timing of completion of writing in the update area, switching between update and reference is performed according to the reference area designation information. It is appropriate to provide the reference area designation information as a register of the LSI. Pixel correction means 4
In (1), before performing the processing of the head of the frame, the non-linear curve to be used is determined by referring to the reference area designation information.

【0042】以上のように、本発明の第6の実施の形態
におけるカメラ信号処理は、ガンマ補正の写像カーブに
処理を写像合成した分、回路削減を可能にしつつ、カメ
ラ信号処理制御を行う際に、写像合成する手段と画素補
正する手段との独立性を高め、互いに同期を取らずに、
処理することができるという優れた効果を有する。
As described above, in the camera signal processing according to the sixth embodiment of the present invention, when the camera signal processing control is performed while the circuit is reduced by the amount of the processing of mapping the processing to the mapping curve of gamma correction. In addition, by increasing the independence of the means for mapping and synthesizing and the means for correcting pixels, without synchronizing with each other,
It has an excellent effect that it can be processed.

【0043】(第7の実施の形態)次に、図6のフロー
チャートを参照して、本発明の第7の実施の形態におけ
るカメラ信号処理装置の動作を説明する。図6におい
て、まず、カメラ信号処理(ステップST11、以下ス
テップの文字は省略する)は、カメラ信号処理シーケン
スの開始点であり、このカメラ信号処理はカメラの電源
がONされてから電源OFFまで動作を継続する。写像
合成処理(ST12)において、第1の記憶手段に格納
された代表点1点の変換処理を行い、変換結果を第2の
記憶手段に格納する。(具体的な演算方法は、図2の説
明を参照のこと)判定ステップ(ST13)は、全代表
点の写像合成が終了するまでループすることを示す。全
代表点の写像合成処理が終了すると、画像補正手段(S
T14)において、1つの画素に対し第2の記憶手段に
格納されている非線形カーブを用いて補間処理を行う。
(Seventh Embodiment) Next, the operation of the camera signal processing apparatus according to the seventh embodiment of the present invention will be described with reference to the flowchart of FIG. In FIG. 6, first, the camera signal processing (step ST11, the letters of the following steps are omitted) is the starting point of the camera signal processing sequence, and this camera signal processing operates from the power-on of the camera to the power-off. To continue. In the mapping synthesis process (ST12), the conversion process of one representative point stored in the first storage unit is performed, and the conversion result is stored in the second storage unit. (Refer to the description of FIG. 2 for the specific calculation method.) The determination step (ST13) indicates that a loop is executed until the mapping synthesis of all the representative points is completed. When the mapping synthesis processing of all the representative points is completed, the image correction means (S
At T14), interpolation processing is performed on one pixel using the non-linear curve stored in the second storage unit.

【0044】画像統計処理(ST15)においては、画
素補正処理(ST14)で算出した画像データの加算処
理を行い、1画面の画像データの総和を求める。判定ス
テップ(ST16)は、1画面内の全画素に対して画素
補正処理するまでループすることを示す。画像制御処理
(ST17)においては、画像統計処理(ST15)で
加算された1画面の画像データの総和と画素数から平均
値を求め、求めた平均値と目標値とを比較することによ
り、写像合成処理(ST12)で使用するゲイン係数な
どを更新する。判定ステップ(ST18)においては、
画像制御処理(ST17)で係数を更新した場合には、
新しい係数で写像合成しなおす必要があるため、写像合
成手段(ST12)へ分岐し、係数が更新されなかった
場合には、既存の非線形カーブを用いて、次フレームの
画像処理を行う。
In the image statistical processing (ST15), the addition processing of the image data calculated in the pixel correction processing (ST14) is performed to obtain the total sum of the image data of one screen. The determination step (ST16) indicates that a loop is performed until pixel correction processing is performed on all pixels in one screen. In the image control process (ST17), an average value is obtained from the total sum of the image data of one screen and the number of pixels added in the image statistical process (ST15), and the obtained average value and the target value are compared to obtain a mapping image. The gain coefficient and the like used in the combining process (ST12) are updated. In the determination step (ST18),
When the coefficient is updated in the image control processing (ST17),
Since it is necessary to re-synthesize the map with a new coefficient, the process branches to the map synthesizing means (ST12), and if the coefficient is not updated, the image processing of the next frame is performed using the existing non-linear curve.

【0045】このような本発明の第7の実施の形態にお
けるカメラ信号処理プログラムは、画素に対して行う処
理をガンマ補正の写像カーブの代表点に対して行うよう
にしたことにより、従来のカメラ信号処理プログラムに
比べ、演算量を削減し、速度性能を向上させるという優
れた効果を有する。1つの演算について考えてみても、
例えば、VGAサイズ(30万画素)に対して行うべき
処理を、たかだか32点の代表点に処理を行うことで同
等の処理を行うことが可能であり、その演算量は、約1
万分の1になる。なお、画素数に比例して演算量削減の
効果が大きくなるので、近年、高画素化が進む撮像装置
においては、非常に有効である。
In the camera signal processing program according to the seventh embodiment of the present invention as described above, the processing performed on the pixel is performed on the representative point of the mapping curve for gamma correction. Compared with the signal processing program, it has an excellent effect of reducing the calculation amount and improving the speed performance. Thinking about one operation,
For example, the same processing can be performed by performing the processing that should be performed on the VGA size (300,000 pixels) on at most 32 representative points, and the calculation amount is about 1
It becomes 1 / 10,000. It should be noted that the effect of reducing the amount of calculation increases in proportion to the number of pixels, so that it is very effective in image pickup devices in which the number of pixels has increased in recent years.

【0046】以上説明したように、本発明の実施の形態
におけるガンマ補正装置を応用したカメラ信号処理装置
によると、画素に対して行うべき演算処理をガンマ補正
用の非線形カーブに対して写像合成することにより、画
素に対する処理量を削減し、ハードとして具現化した場
合には回路量の削減し、ソフトとして具現化した場合に
はソフトウェアの速度性能を向上させることができるカ
メラ信号処理装置を提供することができる。
As described above, according to the camera signal processing device to which the gamma correction device according to the embodiment of the present invention is applied, the arithmetic processing to be performed on the pixel is mapped and combined with the non-linear curve for gamma correction. As a result, a camera signal processing device capable of reducing the processing amount for pixels, reducing the circuit amount when embodied as hardware, and improving the speed performance of software when embodied as software is provided. be able to.

【0047】[0047]

【発明の効果】以上説明したように、本発明カメラ信号
処理は、予め、画像データに対して行うべき演算処理を
ガンマ補正の非線形カーブの代表点に対して写像合成す
ることにより、写像合成された演算処理分の回路を削減
するとともに、出力画像データに基づき写像合成する際
のゲイン係数を変更して再び写像合成を行い、出力画像
データを調整することにより、撮像環境の変化に対応し
たカメラ信号制御を行うことができ、さらに出力装置の
多様化に対応したガンマ補正を行うことができる。
As described above, the camera signal processing of the present invention is image-synthesized by previously performing image-synthesis on the representative point of the non-linear curve for gamma correction in the arithmetic processing to be performed on the image data. A camera that adapts to changes in the imaging environment by reducing the number of circuits for the above calculation processing, changing the gain coefficient when performing image synthesis based on output image data, performing image synthesis again, and adjusting the output image data. Signal control can be performed, and gamma correction corresponding to diversification of output devices can be performed.

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

【図1】本発明の第1の実施の形態におけるカメラ信号
処理装置の構成を示すブロック図、
FIG. 1 is a block diagram showing a configuration of a camera signal processing device according to a first embodiment of the present invention,

【図2】本発明の第1の実施の形態におけるカメラ信号
処理装置に適用される写像合成手段の例を示すブロック
図、
FIG. 2 is a block diagram showing an example of a mapping synthesizing unit applied to the camera signal processing apparatus according to the first embodiment of the present invention,

【図3】本発明の第2ないし第4の実施の形態における
カメラ信号処理装置の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a camera signal processing device according to second to fourth embodiments of the present invention.

【図4】本発明の第5の実施の形態におけるカメラ信号
処理装置の構成を示すブロック図、
FIG. 4 is a block diagram showing a configuration of a camera signal processing device according to a fifth embodiment of the present invention,

【図5】本発明の第6の実施の形態におけるカメラ信号
処理装置の構成を示すブロック図、
FIG. 5 is a block diagram showing a configuration of a camera signal processing device according to a sixth embodiment of the present invention,

【図6】本発明の第7の実施の形態におけるカメラ信号
処理装置の動作を示すフローチャート、
FIG. 6 is a flowchart showing the operation of the camera signal processing device according to the seventh embodiment of the present invention,

【図7】従来の可変ガンマ方式を応用した信号処理装置
の構成を示すブロック図。
FIG. 7 is a block diagram showing a configuration of a signal processing device to which a conventional variable gamma system is applied.

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

1 第1の記憶手段 2 写像合成手段 3、31 第2の記憶手段 4 画素補正手段 5 画像統計手段 6 画像制御手段 7 カーブ切替え手段 11 オフセット処理 12 ゲイン1処理 13 ガンマ処理 14 ゲイン2処理 15 セットアップ処理 1 First storage means 2 Mapping synthesis means 3, 31 Second storage means 4 pixel correction means 5 Image statistical means 6 Image control means 7 Curve switching means 11 Offset processing 12 Gain 1 processing 13 Gamma processing 14 Gain 2 processing 15 Setup process

───────────────────────────────────────────────────── フロントページの続き (72)発明者 樋爪 太郎 石川県金沢市西念一丁目1番3号 株式会 社松下通信金沢研究所内 (72)発明者 佐野 俊幸 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 Fターム(参考) 5B057 AA20 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE11 CE17 5C021 PA01 PA66 XA34 5C066 AA01 BA01 CA05 EA14 EC05 GA01 GA05 GB01 KC01 KC02 KE02 KE03 KM01 KM05 KP01 5C077 MP08 PP12 PP15 PP32 PQ03 PQ08 PQ12 PQ22    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Taro Himez             1-3 1-3 Nishinen, Kanazawa, Ishikawa Prefecture Stock Association             Company Matsushita Communication Kanazawa Research Center (72) Inventor Toshiyuki Sano             3-1, Tsunashima-Higashi 4-chome, Kohoku-ku, Yokohama-shi, Kanagawa             Matsushita Communication Industry Co., Ltd. F term (reference) 5B057 AA20 BA02 CA01 CA08 CA12                       CA16 CB01 CB08 CB12 CB16                       CC01 CE11 CE17                 5C021 PA01 PA66 XA34                 5C066 AA01 BA01 CA05 EA14 EC05                       GA01 GA05 GB01 KC01 KC02                       KE02 KE03 KM01 KM05 KP01                 5C077 MP08 PP12 PP15 PP32 PQ03                       PQ08 PQ12 PQ22

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】ガンマ補正の非線形写像カーブの代表点を
記憶する第1の記憶手段と、前記代表点に対して写像合
成を行う写像合成手段と、写像合成した代表点を記憶す
る第2の記憶手段と、写像合成した代表点を使用して画
素データを補正する画素補正手段とを有することを特徴
とするカメラ信号処理装置。
1. A first storage means for storing a representative point of a non-linear mapping curve for gamma correction, a mapping synthesizing means for subjecting the representative point to mapping synthesis, and a second storage means for storing the representative point subjected to mapping synthesis. A camera signal processing device comprising: a storage unit and a pixel correction unit that corrects pixel data using a representative point that is image-synthesized.
【請求項2】前記画素補正手段から出力された画像デー
タの1フレームから統計情報を導き出す画像統計手段
と、前記画像統計手段により導き出された統計情報に従
い前記写像合成手段で行われる演算の係数を変更する画
像制御手段とを有すること特徴とする請求項1記載のカ
メラ信号処理装置。
2. An image statistic means for deriving statistical information from one frame of the image data output from the pixel correcting means, and a coefficient for calculation performed by the mapping synthesizing means according to the statistical information derived by the image statistic means. The camera signal processing apparatus according to claim 1, further comprising an image control unit for changing the image control unit.
【請求項3】前記画像制御手段において、輝度調整を行
うことを特徴とする請求項2記載のカメラ信号処理装
置。
3. The camera signal processing apparatus according to claim 2, wherein the image control means adjusts the brightness.
【請求項4】前記画像制御手段において、ホワイトバラ
ンス制御を行うことを特徴とする請求項2記載のカメラ
信号処理装置。
4. The camera signal processing apparatus according to claim 2, wherein the image control means performs white balance control.
【請求項5】前記第1の記憶手段は複数の非線形写像カ
ーブを記憶する記憶手段であり、出力装置に応じ前記第
1の記憶手段に記憶されている非線形写像カーブを切替
えて出力させるカーブ切替え手段を有することを特徴と
する請求項1ないし4のいずれかに記載のカメラ信号処
理装置。
5. The first storage means is a storage means for storing a plurality of non-linear mapping curves, and a curve switching for switching and outputting the non-linear mapping curves stored in the first storage means according to an output device. 5. The camera signal processing device according to claim 1, further comprising means.
【請求項6】前記第2の記憶手段は、更新用と参照用の
2つの非線形写像カーブを記憶する記憶手段であり、前
記写像合成手段による写像合成完了のタイミングで、更
新用と参照用の非線形写像カーブを切替える切替え手段
を有することを特徴とする請求項1ないし5のいずれか
に記載のカメラ信号処理装置。
6. The second storage means is a storage means for storing two non-linear mapping curves for updating and for reference, and for updating and for reference at the timing of completion of mapping synthesis by the mapping synthesizing means. 6. The camera signal processing device according to claim 1, further comprising switching means for switching a non-linear mapping curve.
【請求項7】ガンマ補正の非線形写像カーブの代表点を
記憶するステップと、前記代表点に対して写像合成を行
うステップと、写像合成した代表点を記憶するステップ
と、写像合成した代表点を使用して画素データを補正す
る画素補正を行うステップと、画像の1画面の統計情報
を導き出すステップと、導き出された統計情報から前記
写像合成の演算係数を制御するステップとからなること
を特徴とするカメラ信号処理方法。
7. A step of storing a representative point of a non-linear mapping curve for gamma correction, a step of performing map synthesis on the representative point, a step of storing a representative point after the map synthesis, and a representative point after the map synthesis. A step of performing pixel correction for correcting pixel data using the image data, a step of deriving statistical information of one screen of an image, and a step of controlling an arithmetic coefficient for mapping synthesis from the derived statistical information. Camera signal processing method.
【請求項8】コンピュータに請求項7に記載のカメラ信
号処理方法における各ステップを実行させるためのプロ
グラム。
8. A program for causing a computer to execute each step in the camera signal processing method according to claim 7.
【請求項9】請求項8に記載のプログラムを記録したコ
ンピュータ読み取り可能な記録媒体。
9. A computer-readable recording medium in which the program according to claim 8 is recorded.
JP2001356847A 2001-11-22 2001-11-22 Camera signal processing apparatus Pending JP2003158642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001356847A JP2003158642A (en) 2001-11-22 2001-11-22 Camera signal processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001356847A JP2003158642A (en) 2001-11-22 2001-11-22 Camera signal processing apparatus

Publications (1)

Publication Number Publication Date
JP2003158642A true JP2003158642A (en) 2003-05-30

Family

ID=19168292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001356847A Pending JP2003158642A (en) 2001-11-22 2001-11-22 Camera signal processing apparatus

Country Status (1)

Country Link
JP (1) JP2003158642A (en)

Similar Documents

Publication Publication Date Title
US8131108B2 (en) Method and system for dynamic contrast stretch
EP0613294B1 (en) Gradation correction device and image sensing device therewith
KR100513342B1 (en) An apparatus for automatical digital white balance
CN101951457B (en) Image processing apparatus and computer-readable medium
EP1746539A1 (en) Gradation correcting apparatus, mobile terminal device, image pickup apparatus, mobile telephone, gradation correcting method, and program
JP5392560B2 (en) Image processing apparatus and image processing method
EP1571592B1 (en) Image signal processor and image signal processing method
JP2001054013A (en) Image pickup signal processor and its processing method
JPWO2009101802A1 (en) Color management module, color management device, integrated circuit, display device, and color management method
JPH11331596A (en) Image processing method and its device
US7864223B2 (en) Imaging apparatus, video signal processing circuit, video signal processing method and computer program product for converting a color image
CN112288661B (en) Image color correction method
CA2036100C (en) Gradation correcting apparatus
JP2003527802A (en) Video apparatus having histogram changing means
KR20010075557A (en) Video signal enhancement
JP4758999B2 (en) Image processing program, image processing method, and image processing apparatus
JP3800873B2 (en) Image processing apparatus and method
JP2002359754A (en) Grey level correction device and method
JPH10210323A (en) Gradation correction device and video signal processor using the same
JP2002281312A (en) Device, method and program for processing image
JPH06339017A (en) Saturation emphasizing method and device for color picture
JP5365881B2 (en) Image processing apparatus and image processing method
JP4305917B2 (en) Video signal processing apparatus and television apparatus
JP2015211320A (en) Image processing apparatus, control method thereof and program
JP2005204229A (en) Image processing apparatus, image processing method, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041117

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061110

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20061130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070320

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070710