JP5266721B2 - Offset correction processing device - Google Patents

Offset correction processing device Download PDF

Info

Publication number
JP5266721B2
JP5266721B2 JP2007284544A JP2007284544A JP5266721B2 JP 5266721 B2 JP5266721 B2 JP 5266721B2 JP 2007284544 A JP2007284544 A JP 2007284544A JP 2007284544 A JP2007284544 A JP 2007284544A JP 5266721 B2 JP5266721 B2 JP 5266721B2
Authority
JP
Japan
Prior art keywords
elements
output
imaging
image
offset correction
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.)
Active
Application number
JP2007284544A
Other languages
Japanese (ja)
Other versions
JP2009109441A (en
Inventor
英治 山▲崎▼
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007284544A priority Critical patent/JP5266721B2/en
Publication of JP2009109441A publication Critical patent/JP2009109441A/en
Application granted granted Critical
Publication of JP5266721B2 publication Critical patent/JP5266721B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Radiation Pyrometers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform offset correction of an output of an element of an imaging device while imaging a target when a usual scene is imaged. <P>SOLUTION: An offset corrective table is changed so as to eliminate the difference in output after the correction between different elements occurring when the same part of the target is imaged with the elements, thereby correcting the offset without stopping the imaging. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、赤外線撮像装置において取得された画像のばらつきを補正する処理の技術に関する。   The present invention relates to a technique for correcting a variation in images acquired in an infrared imaging device.

赤外線撮像装置に含まれる各素子には、ゲインばらつき、オフセットばらつきがあるため、補正を行わずに撮像すると一様温度面を撮像しても出力が一定にはならない。従って、一様温度面を撮像したときの各素子の出力が一定になるように、ゲインおよびオフセットのばらつきを補正する必要がある。このとき、低温基準熱源と高温基準熱源の二種類の熱源を撮像したときのデータを用いて補正が行われる。   Since each element included in the infrared imaging device has gain variation and offset variation, if the image is taken without correction, the output is not constant even if the uniform temperature surface is imaged. Therefore, it is necessary to correct variations in gain and offset so that the output of each element when imaging a uniform temperature surface is constant. At this time, correction is performed using data obtained by imaging two types of heat sources, a low temperature reference heat source and a high temperature reference heat source.

具体的には、各素子のゲイン補正テーブル(Gi)、および、各素子のオフセット補正テーブル(Oi)は以下のように算出される。
Gi=(Have−Lave)/(Hi−Li)
Oi=Lave−Li×Gi
ここで、
Hi:高温基準熱源撮像時の各素子の出力
Li:低温基準熱源撮像時の各素子の出力
Have:高温基準熱源撮像時の全素子の出力平均
Lave:低温基準熱源撮像時の全素子の出力平均。
Specifically, the gain correction table (Gi) of each element and the offset correction table (Oi) of each element are calculated as follows.
Gi = (Have−Lave) / (Hi−Li)
Oi = Lave−Li × Gi
here,
Hi: Output of each element during high temperature reference heat source imaging
Li: Output of each element during low-temperature reference heat source imaging
Have: Average output of all elements during high temperature reference heat source imaging
Lave: Output average of all elements during low-temperature reference heat source imaging.

さらに出力補正は以下のように行われる。
Ci=Ii×Gi+Oi
ここで
Ii:シーン撮像時の各素子の出力
Ci:シーン撮像時の各素子の補正出力。
Further, output correction is performed as follows.
Ci = Ii x Gi + Oi
here
Ii: Output of each element during scene imaging
Ci: Correction output of each element during scene imaging.

しかし、ゲインおよびオフセットのばらつきを補正するためのデータを作成した後で、さらにゲインばらつき、および、オフセットばらつきが変化してしまった場合には、再度、二種類の基準熱源を用いて補正用データを作成しなおす必要が生じる。ここで、ゲインばらつきの経時変化は小さいため、ゲインの補正に用いるゲイン補正テーブルを電源投入直後に一度作成して、その後の補正に使用することができる。あるいは、あらかじめ生成したゲイン補正テーブルをROMなどに格納しておき、それを読み出して使用することも可能である。つまり、オフセットばらつきについてのみ、経時変化を考慮して補正用データを更新することもできる。この場合には、既存のゲイン補正テーブルを利用し、一種類の基準熱源のみを撮像してオフセット補正テーブルの更新を行うことが可能である。温度がほぼ均一な背景を撮像することによっても同様に、オフセットのみの補正が可能であるため、光学系の焦点をぼかして、背景などをほぼ一様の温度面として撮像することによるオフセット補正も行われてきた。   However, after the data for correcting the gain and offset variation is created, if the gain variation and offset variation change further, the correction data is again used using two types of reference heat sources. Need to be recreated. Here, since the change in gain variation with time is small, a gain correction table used for gain correction can be created once immediately after power-on and used for subsequent correction. Alternatively, it is also possible to store a gain correction table generated in advance in a ROM or the like and read and use it. That is, it is possible to update the correction data only with respect to the offset variation in consideration of the change over time. In this case, it is possible to update the offset correction table by imaging only one type of reference heat source using an existing gain correction table. Similarly, it is possible to correct only the offset by imaging a background with a substantially uniform temperature, so offset correction can also be performed by blurring the focal point of the optical system and imaging the background etc. as a substantially uniform temperature surface. Has been done.

しかし、上記の従来方法では、オフセット補正テーブルの更新のためにターゲットの撮像を中断せざるを得ない。
特許文献1では、上記の問題を考慮した赤外線撮像装置の感度補正装置が記載されている。すなわち、赤外線検知器を視野に対して一周するように走査して得られる複数のフレームデータを間引き、および積分することによりオフセット補正データを取得する装置が開示されている。
However, in the above-described conventional method, the target imaging must be interrupted to update the offset correction table.
Patent Document 1 describes a sensitivity correction device for an infrared imaging device in consideration of the above problems. That is, an apparatus is disclosed that acquires offset correction data by thinning out and integrating a plurality of frame data obtained by scanning an infrared detector so as to make a round with respect to the visual field.

しかし、特許文献1に記載された装置においては、指向手段により視軸を大きく動かしているため、共通に撮像される領域が非常に小さく、ターゲットを大きく撮像し続けることができない。つまり、空などの単純背景における微小物体の撮像などの、極めて限定された対象の撮像しか行うことができない。
特開平5−264357号公報
However, in the apparatus described in Patent Document 1, since the visual axis is largely moved by the directing means, the area that is imaged in common is very small, and the target cannot be continuously imaged greatly. That is, only a very limited target can be captured, such as capturing a minute object in a simple background such as the sky.
Japanese Patent Laid-Open No. 5-264357

前述のとおり、従来技術にかかる素子の出力のオフセットを補正する方式のうち、基準熱源を用いる方式や光学系の焦点ぼかしを行う方式では、補正テーブルを更新するためにターゲットの撮像を一時中断する必要が生じる。また、特許文献1に記載されている、指向手段により視軸を大きく動かす方式においてはターゲットを大きく撮像することができない。さらに、特許文献1で開示された方式では擬似的にシーンを一様にして撮像するため、背景が空などの単純背景である場合にしか用いることができない。つまり、背景が複雑なシーンの撮像やターゲットが背景部分の大きさに対して微小とはいえない場合においては、実質上、オフセット補正値を更新するためにシーンの撮像を中止する必要がある。   As described above, among the methods for correcting the output offset of the element according to the prior art, in the method using the reference heat source and the method of performing the defocusing of the optical system, the imaging of the target is temporarily suspended to update the correction table. Need arises. Further, in the method described in Patent Document 1 in which the visual axis is moved greatly by the directing means, the target cannot be imaged greatly. Furthermore, since the method disclosed in Patent Document 1 images a scene in a pseudo-uniform manner, it can be used only when the background is a simple background such as the sky. That is, in the case where an image of a scene with a complicated background is captured or the target is not very small relative to the size of the background portion, it is necessary to substantially stop the image capturing of the scene in order to update the offset correction value.

本発明の課題はこの問題を解決することである。すなわち、本発明の課題は、任意のターゲットについて、ターゲットの撮像を行いながらオフセット補正テーブルの更新を行うことを可能にすることである。   The object of the present invention is to solve this problem. That is, an object of the present invention is to make it possible to update an offset correction table while capturing an image of an arbitrary target.

本発明のオフセット補正処理装置は、画像取得手段と、前記画像取得手段の視軸を移動する指向手段と、前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正する補正手段と、前記画像取得手段が画像を取得した後、次の画像を取得する前に前記指向手段が前記画像取得手段の視軸を移動させることを繰り返して複数の画像を取得することにより、異なる複数の素子で同一撮像対象に対する前記補正手段による補正後の前記複数の素子の素子間出力差を用いて更新量を求め、該更新量により前記複数の素子のうち少なくとも一つの素子についての前記補正手段で用いるオフセット補正用データを更新するデータ更新手段と、を有する。   The offset correction processing apparatus of the present invention is an image acquisition means, a directing means for moving the visual axis of the image acquisition means, a correction means for correcting the gain and offset of the output of each element included in the image acquisition means, After the image acquisition means acquires an image, before the next image is acquired, the directing means repeatedly moves the visual axis of the image acquisition means to acquire a plurality of images, thereby obtaining a plurality of different elements. Then, an update amount is obtained by using the output difference between the elements of the plurality of elements after correction by the correction means for the same imaging target, and is used in the correction means for at least one of the plurality of elements based on the update amount. Data updating means for updating offset correction data.

上記オフセット補正処理装置においては、画像取得手段に含まれる複数の素子によって、同一の撮像対象の同一部分が撮像されたときのデータを用いてオフセット補正用データを更新する。同一の撮像対象の同一部分が撮像された場合は、素子のオフセットおよびゲインの補正が十分に行われていれば、いずれの素子からの出力も同一になるはずである。同一の撮像対象の同一部分を撮像したときの出力に素子間で差があれば、その差を小さくするように補正をすれば素子間の出力のばらつきを小さくすることができる。そこで、素子間での出力の差を用いてオフセット補正用データの更新量を求め、求めた更新量によって、更新を行う。また、指向手段によって画像取得手段の視軸を移動させることにより、異なる素子で同一の撮像対象の同一部分を撮像することができる。   In the offset correction processing apparatus, the offset correction data is updated using data when the same part of the same imaging target is imaged by a plurality of elements included in the image acquisition means. When the same part of the same imaging target is imaged, the output from any element should be the same if the offset and gain of the element are sufficiently corrected. If there is a difference between elements in the output when the same part of the same imaging target is imaged, variation in the output between the elements can be reduced if correction is made to reduce the difference. Therefore, the update amount of the offset correction data is obtained using the output difference between the elements, and the update is performed based on the obtained update amount. Further, by moving the visual axis of the image acquisition means by the directing means, the same part of the same imaging object can be imaged with different elements.

かかる処理は撮像対象を撮像しながら行うことが可能である。従って、本発明によれば撮像対象の撮像を中止することなく、素子間のオフセットばらつきを小さくすることが可能になる。   Such processing can be performed while imaging an imaging target. Therefore, according to the present invention, it is possible to reduce the offset variation between elements without stopping the imaging of the imaging target.

従来の技術では、素子の出力のオフセット補正用データを更新するためには、複雑な背景を持つターゲットシーンの撮像を中止する必要があった。また、特許文献1に記載された方式はターゲット(撮像対象)が小さく、背景が単純な場合しか用いることができず、実質上、オフセット補正用データを更新するためにはターゲットシーンの撮像を中止する
必要があった。本発明によれば、撮像中のデータを用いてオフセット補正テーブルを更新することができる。このため、ターゲットシーンの撮像を中止することなく、十分に補正された画像を取得することが可能である。
In the conventional technique, in order to update the offset correction data of the element output, it is necessary to stop the imaging of the target scene having a complicated background. The method described in Patent Document 1 can be used only when the target (imaging target) is small and the background is simple. In effect, the imaging of the target scene is stopped to update the offset correction data. There was a need to do. According to the present invention, the offset correction table can be updated using the data being imaged. For this reason, it is possible to obtain a sufficiently corrected image without stopping the imaging of the target scene.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。
<オフセット補正処理装置の概要>
図1はオフセット補正処理装置の概要を表す図である。本発明に係るオフセット補正処理装置の例には、画像取得部1、指向部2、補正部3、補正テーブル更新可能領域算出部4、および、補正テーブル更新部5を備えるものがある。これらの部分によって、初期補正処理テーブルの算出、画像取得と指向部2による視軸移動、補正テーブル更新可能領域の判断、補正テーブルの更新を行うことによって、撮像を続けながらオフセット補正値を更新する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<Outline of offset correction processing apparatus>
FIG. 1 is a diagram showing an outline of an offset correction processing apparatus. An example of the offset correction processing apparatus according to the present invention includes an image acquisition unit 1, a directing unit 2, a correction unit 3, a correction table updateable area calculation unit 4, and a correction table update unit 5. With these parts, the offset correction value is updated while imaging is continued by calculating the initial correction processing table, acquiring the image, moving the visual axis by the directing unit 2, determining the correction table updatable area, and updating the correction table. .

(1)初期補正処理テーブルの算出
オフセット補正処理装置に電源が投入されると、まず、従来法どおりに低温基準熱源と高温基準熱源の二種類の熱源を用いて初期補正処理テーブルが作成される。作成された初期補正処理テーブルはメモリに記憶される。
(1) Calculation of initial correction processing table When power is supplied to the offset correction processing device, an initial correction processing table is first created using two types of heat sources, a low-temperature reference heat source and a high-temperature reference heat source, as in the conventional method. . The created initial correction processing table is stored in the memory.

作成された初期補正テーブルに含まれるデータが有効な値である期間中は、一様温度面を撮像した場合に補正後の各素子の出力は同一の値を示すことになる。撮像するものがターゲットシーンであった場合でも、補正テーブルに含まれるデータが有効な間は、ターゲットシーンの同一の部分を撮像している素子間では、補正後の出力は、同一であるはずである。すなわち、素子間に出力の差があった場合には、前述の通りゲインばらつきは経時変化をほとんどしないため、出力の差がオフセット補正値のずれであるとみなすことができる。従って、ターゲットの同一の部分を異なる素子で撮像したときに生じた素子間での補正後の出力の違いを解消するようにオフセット補正テーブルを変更すると、撮像を停止することなくオフセットの補正が可能となる。   During a period when the data included in the created initial correction table is an effective value, the output of each element after correction shows the same value when a uniform temperature surface is imaged. Even if the target scene is the target scene, while the data included in the correction table is valid, the corrected output should be the same between the elements capturing the same part of the target scene. is there. That is, when there is a difference in output between elements, the gain variation hardly changes with time as described above, and therefore, the difference in output can be regarded as a shift in the offset correction value. Therefore, if the offset correction table is changed so as to eliminate the difference in the output after correction that occurs when the same part of the target is imaged with different elements, the offset can be corrected without stopping the imaging. It becomes.

(2)画像取得と指向部による視軸移動
ターゲットの同一の部分を異なる素子で撮像したデータを得るために、画像取得部1と指向部2を用いる。
(2) Image acquisition and movement of visual axis by directing unit In order to obtain data obtained by imaging the same part of the target with different elements, the image acquiring unit 1 and the directing unit 2 are used.

まず、画像取得部1でターゲットの撮像が行われると、得られたターゲットの画像データは補正部3に送られる。補正部3において、あらかじめメモリに記憶されている初期補正処理テーブルのデータを用いて、各素子の出力のゲインおよびオフセットを補正した出力を求める。補正後のデータは、補正画像として出力されると同時に、補正テーブル更新可能領域算出部4および補正テーブル更新部5に送られる。   First, when a target is imaged by the image acquisition unit 1, the obtained target image data is sent to the correction unit 3. The correction unit 3 obtains an output in which the gain and offset of the output of each element are corrected using the data of the initial correction processing table stored in advance in the memory. The corrected data is output as a corrected image and simultaneously sent to the correction table updateable area calculation unit 4 and the correction table update unit 5.

次に指向部2が画像取得部1の視軸を移動させる。視軸が移動した後に画像取得部1でターゲットの撮像が行われ、同様に補正部3で処理が行われて補正画像が得られる。視軸移動後に取得された補正画像も、補正テーブル更新可能領域算出部4および補正テーブル更新部5に送られる。なお、本明細書中で「視軸」および「光軸」は同義である。   Next, the directing unit 2 moves the visual axis of the image acquisition unit 1. After the visual axis is moved, the target is imaged by the image acquisition unit 1, and similarly, the correction unit 3 performs processing to obtain a corrected image. The corrected image acquired after the visual axis movement is also sent to the correction table updateable area calculation unit 4 and the correction table update unit 5. In this specification, “visual axis” and “optical axis” are synonymous.

(3)補正テーブル更新可能領域の判断
複数の補正画像が補正テーブル更新可能領域算出部4に送られると、得られた複数の補正画像について「ターゲットシーンの同一の部分を異なる素子で撮像したデータ」の関係にあるかを判断する。
(3) Determination of Correction Table Updatable Area When a plurality of correction images are sent to the correction table updatable area calculation unit 4, “data obtained by imaging the same portion of the target scene with different elements” is obtained for the plurality of correction images obtained. "Is determined.

この判断は補正テーブル更新可能領域算出部4によって行われる。補正テーブル更新可
能領域算出部4において、各々の補正画像の一部分が比較領域として切り出される。ここで、画像取得部分の視軸の移動以外に撮像装置とターゲットとに一切、移動が無ければ、得られた各フレームは視軸の移動分だけずらすとターゲットシーンの同一部分を撮像することになる。そこで、ある画像を取得したときの視軸を基準として、各画像を取得したときに指向部2によって行われた視軸の移動に基づいて、各フレームについて比較領域の切り出し位置が決定される。すなわち、視軸の移動に合わせてフレームからの切り出し位置を変化させることによって、同一部分を撮像していると考えられる部分同士の画像を比較する。切り出された比較領域同士の相関値を求め、相関値が閾値以上であれば、同一部分を撮像している可能性があると判断され、その比較領域は補正テーブル更新可能領域とされる。なお、本明細書では「補正テーブル更新可能領域」を「更新可能領域」と記載することがある。
This determination is made by the correction table updateable area calculation unit 4. In the correction table updatable area calculation unit 4, a part of each corrected image is cut out as a comparison area. Here, if there is no movement between the imaging device and the target in addition to the movement of the visual axis of the image acquisition part, the obtained frame is shifted by the movement of the visual axis to capture the same part of the target scene. Become. Therefore, the cut-out position of the comparison region is determined for each frame based on the movement of the visual axis performed by the directing unit 2 when each image is acquired with reference to the visual axis when the image is acquired. That is, by changing the cut-out position from the frame in accordance with the movement of the visual axis, the images of the parts considered to be capturing the same part are compared. A correlation value between the cut out comparison areas is obtained, and if the correlation value is equal to or greater than a threshold value, it is determined that there is a possibility that the same portion has been imaged, and the comparison area is set as a correction table updateable area. In this specification, the “correction table updatable area” may be described as an “updatable area”.

(4)補正テーブルの更新
補正テーブル更新可能領域算出部4で得られた判定結果は補正テーブル更新部5に送られる。補正テーブル更新部5は補正テーブル更新可能領域算出部4の判定結果によって更新可能とされた部分について、同一部分を撮像した複数の素子からの出力を比較する。ここで、前述のとおり、素子の出力のゲインばらつきは経時変化が小さいので、素子間の出力の差はオフセット値のずれであると考えることができる。補正テーブル更新部5により、各素子の出力の差が小さくなるように、同一部分を撮像した複数の素子からの出力差に基づいて補正テーブルが更新される。なお、補正テーブルの更新後の値と更新前の値との差を、「オフセット補正テーブル更新量」「補正テーブル更新量」「更新量」と記載することがあるが、いずれも同義である。
(4) Correction Table Update The determination result obtained by the correction table updateable area calculation unit 4 is sent to the correction table update unit 5. The correction table update unit 5 compares the outputs from a plurality of elements that have captured the same portion with respect to the portion that can be updated based on the determination result of the correction table updateable region calculation unit 4. Here, as described above, since the variation in gain of the output of the element has a small change with time, it can be considered that the difference in output between the elements is a deviation of the offset value. The correction table update unit 5 updates the correction table based on the output differences from a plurality of elements that image the same portion so that the difference in the output of each element becomes small. Note that the difference between the value after the update of the correction table and the value before the update may be described as “offset correction table update amount”, “correction table update amount”, and “update amount”, which are synonymous.

以上の動作を繰り返すことにより、ターゲットシーンの撮像を続けながらオフセット補正をすることが可能となる。本発明は主に、赤外線撮像装置として実現されるが、赤外線撮像装置に限定されるものではない。定期的、もしくは不定期に素子の出力のオフセット補正値を更新する必要がある任意の装置に用いることができる。特に外気にさらされた状態で撮像を行う必要があるなどの理由で素子のオフセットばらつきが激変する環境下でターゲットシーンを撮像する場合に有効である。また、動画の撮像などのように一定期間、ターゲットシーンの撮像を続ける必要がある場合にも有効である。   By repeating the above operations, it is possible to perform offset correction while continuing to capture the target scene. The present invention is mainly realized as an infrared imaging device, but is not limited to an infrared imaging device. It can be used for any device that needs to update the offset correction value of the output of the element regularly or irregularly. This is particularly effective when the target scene is imaged in an environment where the offset variation of the element changes drastically because it is necessary to perform imaging in a state exposed to the outside air. It is also effective when it is necessary to continue capturing the target scene for a certain period, such as when capturing moving images.

本発明に係るオフセット補正処理装置の構成の具体的な実施形態の一例を図2に示す。
画像取得部1にはレンズ部10、光電変換部15、増幅部16、A/D変換部17が含まれる。図2に挙げた実施形態では指向部2はマイクロスキャナ部11を有し、補正処理部23が補正部3に該当する。補正テーブル更新可能領域算出部4は、比較領域抽出部24と位相相関処理部29を含む。オフセット補正テーブル更新部30が補正テーブル更新部5に相当する。
An example of a specific embodiment of the configuration of the offset correction processing apparatus according to the present invention is shown in FIG.
The image acquisition unit 1 includes a lens unit 10, a photoelectric conversion unit 15, an amplification unit 16, and an A / D conversion unit 17. In the embodiment illustrated in FIG. 2, the directing unit 2 includes the micro scanner unit 11, and the correction processing unit 23 corresponds to the correction unit 3. The correction table updatable area calculation unit 4 includes a comparison area extraction unit 24 and a phase correlation processing unit 29. The offset correction table update unit 30 corresponds to the correction table update unit 5.

図2を参照しながらオフセット補正処理装置全体の動作を説明する。ここでは、4つのフレームに基づいてオフセット補正テーブルの更新を行う場合について説明する。
(1)電源投入直後に低温基準熱板部13と高温基準熱板部14を用いて、初期補正テーブルを作成するために基準熱板の撮像を行う。光路切替部12は光路を低温基準熱板部13へ切り替え、低温基準熱板からの赤外線光を光電変換部15で電気信号に変換する。変換された信号を増幅部16が増幅した後、A/D変換部17がデジタル画像に変換し、初期補正テーブル算出部18が得られた画像を低温画像格納メモリ19へ格納する。光路切替部12が光路を高温基準熱板部14へ切り替えた後、同様に、画像取得部1が高温基準熱板の画像を取得し、高温画像格納メモリ20へ格納する。
The overall operation of the offset correction processing apparatus will be described with reference to FIG. Here, a case where the offset correction table is updated based on four frames will be described.
(1) Immediately after turning on the power, the low temperature reference hot plate portion 13 and the high temperature reference hot plate portion 14 are used to image the reference hot plate in order to create an initial correction table. The optical path switching unit 12 switches the optical path to the low temperature reference hot plate 13 and converts the infrared light from the low temperature reference hot plate into an electrical signal by the photoelectric conversion unit 15. After the converted signal is amplified by the amplification unit 16, the A / D conversion unit 17 converts it into a digital image, and the initial correction table calculation unit 18 stores the obtained image in the low-temperature image storage memory 19. After the optical path switching unit 12 switches the optical path to the high temperature reference hot plate unit 14, similarly, the image acquisition unit 1 acquires an image of the high temperature reference hot plate and stores it in the high temperature image storage memory 20.

(2)初期補正テーブル算出部18は、低温画像格納メモリ19と高温画像格納メモリ20とに格納された画像を用いてゲインおよびオフセットの補正テーブルを算出する。得
られたゲイン補正テーブル、オフセット補正テーブルは、初期補正テーブル算出部18により、それぞれゲイン格納メモリ21、オフセット格納メモリ22に格納される。
(2) The initial correction table calculation unit 18 calculates gain and offset correction tables using the images stored in the low-temperature image storage memory 19 and the high-temperature image storage memory 20. The obtained gain correction table and offset correction table are stored in the gain storage memory 21 and the offset storage memory 22 by the initial correction table calculation unit 18, respectively.

(3)次にターゲットシーンを撮像する。まず、光路切替部12はマイクロスキャナ部11へと光路を切り替える。撮像時にはレンズ部10を通って入射するシーンの赤外線光を光電変換部15が電気信号へと変換する。増幅部16が変換された信号を増幅した後、A/D変換部17がデジタル画像とし、補正処理部23が、ゲイン格納メモリ21、オフセット格納メモリ22に格納された補正テーブルを用いて、ゲインばらつき、オフセットばらつきを補正し、補正画像が出力される。   (3) Next, the target scene is imaged. First, the optical path switching unit 12 switches the optical path to the micro scanner unit 11. At the time of imaging, the photoelectric conversion unit 15 converts the infrared light of the scene incident through the lens unit 10 into an electrical signal. After the amplification unit 16 amplifies the converted signal, the A / D conversion unit 17 converts the signal into a digital image, and the correction processing unit 23 uses the correction table stored in the gain storage memory 21 and the offset storage memory 22 to gain. Variations and offset variations are corrected, and a corrected image is output.

(4)ターゲットシーンの撮像をしながら、画像取得部1はオフセット補正テーブルを更新するためのフレームを取得する。補正画像は比較領域抽出部24へも送られ、撮像時のマイクロスキャナ部11によって調節された光軸の向きに従ってフレーム(1)格納メモリ25からフレーム(4)格納メモリ28のいずれかに格納される。マイクロスキャナ部11は、4フレームを用いてオフセット補正テーブル更新をするために、4画素相当の範囲で光軸を走査する。光軸の走査はフレームを撮像する間の非撮像時間にステップ的に行われるため、1フレーム撮像期間中の光軸は一定である。   (4) While capturing the target scene, the image acquisition unit 1 acquires a frame for updating the offset correction table. The corrected image is also sent to the comparison area extraction unit 24 and stored in one of the frame (1) storage memory 25 to the frame (4) storage memory 28 according to the direction of the optical axis adjusted by the micro scanner unit 11 at the time of imaging. The The micro scanner unit 11 scans the optical axis in a range corresponding to four pixels in order to update the offset correction table using four frames. Since the scanning of the optical axis is performed in a stepwise manner during a non-imaging time during imaging of the frame, the optical axis during one frame imaging period is constant.

(5)フレーム(1)〜フレーム(4)までがメモリに格納された後、オフセット補正テーブル更新可能領域が算出される。比較領域抽出部24は各フレームに相関処理用注目点を設定し、相関処理用注目点を中心とした15画素×15画素などの微小領域を位相相関処理部29へ送る。位相相関処理部29では位相相関により相関値が閾値以上で、ピークが中心にあることを確認する。比較領域の抽出は相関処理用注目点を順次変更し、全画素に対して行う。相関値が閾値以上で、ピークが中心にある領域をオフセット補正テーブル更新可能領域とする。   (5) After the frames (1) to (4) are stored in the memory, the offset correction table updatable area is calculated. The comparison area extracting unit 24 sets a correlation processing target point for each frame, and sends a small region such as 15 pixels × 15 pixels around the correlation processing target point to the phase correlation processing unit 29. The phase correlation processing unit 29 confirms by the phase correlation that the correlation value is equal to or greater than the threshold and that the peak is at the center. The comparison area is extracted by sequentially changing the attention point for correlation processing for all pixels. An area where the correlation value is equal to or greater than the threshold and the peak is in the center is set as the offset correction table updateable area.

(6)オフセット補正テーブル更新可能領域に対してオフセット補正テーブルの更新が行われる。オフセット補正テーブル更新部30は、位相相関処理部29でオフセット補正テーブル更新可能領域とされた画素に対して、フレーム(1)格納メモリ25からフレーム(4)格納メモリ28の画素値により、オフセット補正テーブルの更新量を算出する。オフセット補正テーブル更新部30は、算出されたオフセット補正テーブルの更新量を平均値算出メモリ31に加算する。4つのフレームを用いて更新可能領域の全ての画素について更新量の加算が終了したら、その更新量をオフセット格納メモリ22に格納されている当該画素の補正量にオフセット補正テーブル更新部30が加算することによってオフセット補正テーブルが更新される。   (6) The offset correction table is updated in the offset correction table updatable area. The offset correction table updating unit 30 performs offset correction on the pixels that have been made the offset correction table updatable area by the phase correlation processing unit 29 based on the pixel values in the frame (4) storage memory 28 from the frame (1) storage memory 25. The update amount of the table is calculated. The offset correction table update unit 30 adds the calculated update amount of the offset correction table to the average value calculation memory 31. When the addition of the update amount is completed for all the pixels in the updatable area using the four frames, the offset correction table update unit 30 adds the update amount to the correction amount of the pixel stored in the offset storage memory 22. As a result, the offset correction table is updated.

(7)このオフセット補正テーブルの更新は撮像期間を通して継続的に行われる。
<初期補正テーブル算出>
以下、オフセット補正処理装置の動作について詳細に説明する。
(7) The offset correction table is updated continuously throughout the imaging period.
<Initial correction table calculation>
Hereinafter, the operation of the offset correction processing apparatus will be described in detail.

図3に、素子の出力のゲインばらつきとオフセットばらつきとを補正するための初期テーブル算出のフローチャートを示す。オフセット補正処理装置では前述したとおり、初期補正テーブル算出部18が電源投入後などに、従来法によって初期補正テーブルを算出する。   FIG. 3 shows a flowchart of initial table calculation for correcting the gain variation and offset variation of the element output. In the offset correction processing apparatus, as described above, the initial correction table calculation unit 18 calculates the initial correction table by a conventional method after the power is turned on.

まず、ステップS1で低温基準熱板を撮像したときの各素子からの出力を取得するために、光路切替部12が光路を低温基準熱板部13に切り替える。次にステップS2で、画像取得部1が低温基準熱板を撮像し、画像を取得する。取得された画像は、初期補正テーブル算出部18により、低温基準熱板の画像データ(低温画像)を格納するための低温画像格納メモリ19に格納される。低温基準熱板の撮像が終わったら、光路切替部12が光
路を高温基準熱板部14に切り替え、同様に高温基準熱板を撮像する(ステップS3、S4)。撮像後、高温基準熱源の画像データ(高温画像)も同様に高温画像格納メモリ20に格納される。
First, the optical path switching unit 12 switches the optical path to the low temperature reference hot plate part 13 in order to obtain outputs from each element when the low temperature reference hot plate is imaged in step S1. Next, in step S2, the image acquisition unit 1 images the low temperature reference hot plate and acquires an image. The acquired image is stored in the low-temperature image storage memory 19 for storing the image data (low-temperature image) of the low-temperature reference hot plate by the initial correction table calculation unit 18. When the imaging of the low temperature reference hot plate is completed, the optical path switching unit 12 switches the optical path to the high temperature reference hot plate unit 14 and similarly images the high temperature reference hot plate (steps S3 and S4). After imaging, the image data (high temperature image) of the high temperature reference heat source is also stored in the high temperature image storage memory 20.

二種類の基準熱板を撮像することによって得られた、高温基準熱板撮像時の各素子の出力(Hi)と低温基準熱板撮像時の各素子の出力(Li)から高温基準熱板撮像時の全素子の出力平均(Have)と低温基準熱板撮像時の全素子の出力平均(Lave)とを求める(ステップS5、S6)。次に、初期補正テーブル算出部18は、各素子のゲイン補正テーブル(Gi)、および、各素子のオフセット補正テーブル(Oi)を以下のように算出する。   High-temperature reference hot plate imaging from the output (Hi) of each element during high-temperature reference hot plate imaging and the output (Li) of each element during low-temperature reference hot plate imaging obtained by imaging two types of reference hot plates The average output (Have) of all elements at the time and the average output (Lave) of all elements at the time of low-temperature reference hot plate imaging are obtained (steps S5 and S6). Next, the initial correction table calculation unit 18 calculates the gain correction table (Gi) of each element and the offset correction table (Oi) of each element as follows.

Gi = (Have−Lave)/(Hi−Li)
Oi = Lave−Li×Gi
全ての素子についてGiとOiが算出されると初期補正テーブルの算出が終了する(ステップS9)。
Gi = (Have−Lave) / (Hi−Li)
Oi = Lave−Li × Gi
When Gi and Oi are calculated for all elements, the calculation of the initial correction table ends (step S9).

初期補正テーブル算出部18は、算出されたゲイン補正テーブルをゲイン格納メモリ21に格納し、各素子のオフセット補正テーブルをオフセット格納メモリ22に格納する。算出された高温基準熱板撮像時の全素子の出力平均、低温基準熱板撮像時の全素子の出力平均、などもメモリに格納される。画像取得部1が画像を取得したときに、これらの値が読み込まれ、補正部3が補正画像を生成する。   The initial correction table calculation unit 18 stores the calculated gain correction table in the gain storage memory 21 and stores the offset correction table of each element in the offset storage memory 22. The calculated output average of all elements during high-temperature reference hot plate imaging, output average of all elements during low-temperature reference hot plate imaging, and the like are also stored in the memory. When the image acquisition unit 1 acquires an image, these values are read, and the correction unit 3 generates a corrected image.

ここで、低温基準熱板の撮像を行ってから高温基準熱板の撮像を行っているが、撮像の順序は変更しても良い。つまり、ステップS1、S2と、ステップS3、S4の順序は入れ替えても良い。また、各基準熱板撮像時の素子の出力平均の算出をしているステップS5、S6の順番も任意である。また、高温基準熱板撮像時の全素子の出力平均、低温基準熱源撮像時の全素子の出力平均、ゲイン補正テーブルおよび、各素子のオフセット補正テーブルを、メモリに格納する際には、全て同じメモリ領域に格納しても良いし、データの種類ごとに異なるメモリ領域に格納しても良い。つまり、メモリ領域への格納方法は任意である。   Here, the imaging of the high-temperature reference hot plate is performed after the imaging of the low-temperature reference hot plate, but the order of imaging may be changed. That is, the order of steps S1 and S2 and steps S3 and S4 may be switched. The order of steps S5 and S6 for calculating the output average of the elements at the time of imaging each reference hot plate is also arbitrary. Also, when storing the output average of all elements during high-temperature reference hot plate imaging, the output average of all elements during low-temperature reference heat source imaging, the gain correction table, and the offset correction table of each element are all the same. It may be stored in a memory area, or may be stored in a different memory area for each type of data. That is, the storage method in the memory area is arbitrary.

<補正画像取得>
次に、ターゲットシーンの画像を撮像するときの、オフセット補正処理装置の動作について説明する。図4に初期補正テーブル算出後に撮像を行った時の動作のフローチャートを示す。
<Acquire corrected image>
Next, the operation of the offset correction processing apparatus when capturing an image of the target scene will be described. FIG. 4 shows a flowchart of the operation when imaging is performed after the initial correction table is calculated.

まず、装置のレンズ部10を通して画像取得部1に入った赤外線光を光電変換部15の各素子が電気信号に変換し、増幅部16が増幅する(ステップS11、S12)。増幅された信号はAD変換されてデジタル信号となり、補正部3に送られる(ステップS13)。   First, each element of the photoelectric conversion unit 15 converts the infrared light that has entered the image acquisition unit 1 through the lens unit 10 of the apparatus into an electrical signal, and the amplification unit 16 amplifies (steps S11 and S12). The amplified signal is AD converted to a digital signal and sent to the correction unit 3 (step S13).

得られたシーン撮像時の各素子の出力(Ii)についてゲインのばらつき、および、オフセットのばらつきを次式に従って補正すると、シーン撮像時の各素子の補正出力(Ci)が得られる(ステップS14、S15)。   When the gain variation and offset variation of the output (Ii) of each element at the time of scene imaging obtained are corrected according to the following equations, the corrected output (Ci) of each element at the time of scene imaging is obtained (step S14, S15).

Ci = Ii×Gi+Oi
ステップS16で取得された画像は、補正画像として出力される。また、補正テーブル更新可能領域算出部4、補正テーブル更新部5にも出力される。また、補正画像は、必要に応じて、オフセット補正テーブルの更新に用いるためにフレーム(1)格納メモリ25〜フレーム(4)格納メモリ28のいずれかに格納される。
Ci = Ii x Gi + Oi
The image acquired in step S16 is output as a corrected image. Also output to the correction table updateable area calculation unit 4 and the correction table update unit 5. Further, the corrected image is stored in any of the frame (1) storage memory 25 to the frame (4) storage memory 28 for use in updating the offset correction table as necessary.

<指向部による視軸移動と視軸移動後の撮像>
画像取得部1がターゲットシーンの撮像をした後に、指向部2が画像取得部1の視軸を上下左右の任意の方向に移動させる。互いに隣接した4画素を用いてオフセット補正を行う場合に指向部2が行う視軸移動の例を図5に示す。また、視軸移動とその後の撮像についてのフローチャートを図6に示す。
<Visual axis movement by directional unit and imaging after visual axis movement>
After the image acquisition unit 1 images the target scene, the directing unit 2 moves the visual axis of the image acquisition unit 1 in any direction, up, down, left, and right. FIG. 5 shows an example of visual axis movement performed by the directing unit 2 when offset correction is performed using four pixels adjacent to each other. FIG. 6 shows a flowchart of the visual axis movement and subsequent imaging.

図6のステップS21で画像取得部1の視軸が図5の(1)の部分に合わせられる。次に、画像取得部1がターゲットシーンの画像を取得し、画像取得部1の視軸が(1)にあるときの画像取得、補正部3による補正画像の出力、フレーム(1)格納メモリ25への補正画像の格納等が行われる(ステップS22)。   In FIG.6 S21, the visual axis of the image acquisition part 1 is match | combined with the part of (1) of FIG. Next, the image acquisition unit 1 acquires an image of the target scene, acquires an image when the visual axis of the image acquisition unit 1 is at (1), outputs a corrected image by the correction unit 3, and a frame (1) storage memory 25. The corrected image is stored in (Step S22).

ターゲットシーンの画像の取得が終了すると、指向部2は画像取得部1の視軸を移動させる。図5の例では一画素相当の距離だけ右に視軸を移動させて(2)に視軸を合わせたときの、視軸移動後のターゲットシーン撮像が行われている(図6のステップS23、S24)。   When the acquisition of the image of the target scene is completed, the directing unit 2 moves the visual axis of the image acquisition unit 1. In the example of FIG. 5, target scene imaging after moving the visual axis is performed when the visual axis is moved to the right by a distance corresponding to one pixel and the visual axis is aligned with (2) (step S23 in FIG. 6). , S24).

その後、同様に指向部2が視軸を一画素分だけ下(図5(3))に視軸を合わせたとき(図6のステップS25、S26)、一画素分だけ左(図5(4))に視軸を合わせたとき(図6のステップS27、S28)についても同様の処理が行われる。   After that, similarly, when the directing unit 2 aligns the visual axis by one pixel below the visual axis (FIG. 5 (3)) (steps S25 and S26 in FIG. 6), the left by one pixel (FIG. 5 (4)). The same processing is performed when the visual axis is aligned with ()) (steps S27 and S28 in FIG. 6).

なお、指向部2は、あるフレームの画像を撮像した後、次のフレームの画像を撮像するまでの間の非撮像時間中に視軸を移動する。従って、1フレームの画像を撮像している期間中の視軸は一定に保たれる。   Note that the directing unit 2 moves the visual axis during a non-imaging time period after capturing an image of a certain frame and before capturing an image of the next frame. Therefore, the visual axis during the period of capturing one frame image is kept constant.

前述のとおりに指向部2が視軸移動をし、画像取得部1が視軸移動後に撮像を行った場合には、画像取得部1における本来の画素数よりも縦横に一画素分少ない領域では、ターゲットシーンについて他の画像と共通した部分を撮像していることになる。撮像されたターゲットを基準として、各フレームが撮像するターゲットシーンの範囲を図9に示す。ここで、図9は、同一のターゲットの同一部分を撮像している素子がどこに存在するかを説明している図ではないことに留意すべきである。   As described above, when the directional unit 2 moves the visual axis and the image acquisition unit 1 captures an image after moving the visual axis, the area in the image acquisition unit 1 is smaller by one pixel vertically and horizontally than the original number of pixels. In other words, the target scene is imaged in common with other images. FIG. 9 shows the range of the target scene that each frame captures with reference to the captured target. Here, it should be noted that FIG. 9 is not a diagram illustrating where an element that captures the same portion of the same target exists.

例えば、フレーム(1)のある画素41においてターゲットの一部分40が撮像されたとする。次に、画像取得部1がフレーム(2)を撮像する前に指向部2によって、図5に示したように、視軸が一画素分だけ右に移動される。このときフレーム(2)において40は一画素分だけ左の画素42に撮像されていることになる。すなわち、フレーム(2)の撮像時には、フレーム(1)で40を撮像した素子の左隣に存在する素子によって40が撮像されたことになる。同様に、画像取得部1がフレーム(3)を撮像するときは、一画素下に視軸が移動されており、フレーム(1)の撮像時から考えると視軸は右下に移動したことになる。従って、40はフレーム(3)においてフレーム(1)よりも左上にずれた位置にある画素43で撮像されている。つまり、フレーム(3)の撮像時には、フレーム(1)で40を撮像した素子の左上に存在する素子が40を撮像することになる。フレーム(4)の撮像時にはフレーム(1)の撮像時より一画素下に視軸がずれているので、フレーム(4)において40はフレーム(1)よりも一画素上に存在する画素44で撮像されている。つまり、フレーム(1)で40を撮像した素子の上に存在する素子によって40が撮像されている。まとめると、図5のように視軸を一画素ずつ右、下、左、に移動させると、フレーム(1)を基準に考えれば、
フレーム(2)は視軸が右に移動し、同一部分を撮像した素子は左に移動、
フレーム(3)は視軸が右下に移動、同一部分を撮像した素子は左上に移動、
フレーム(4)は視軸が下に移動し、同一部分を撮像した素子は上に移動となる。
For example, it is assumed that a portion 40 of the target is imaged at a pixel 41 having a frame (1). Next, before the image acquisition unit 1 captures the frame (2), the directing unit 2 moves the visual axis to the right by one pixel as shown in FIG. At this time, in frame (2), 40 is imaged on the left pixel 42 by one pixel. That is, when the frame (2) is imaged, the image of 40 is captured by the element existing on the left side of the element that captured 40 in the frame (1). Similarly, when the image acquisition unit 1 captures the frame (3), the visual axis is moved down by one pixel, and the visual axis has moved to the lower right when considered from the time of imaging of the frame (1). Become. Therefore, 40 is imaged by the pixel 43 located at a position shifted to the upper left of the frame (1) in the frame (3). That is, at the time of imaging the frame (3), the element existing at the upper left of the element that images 40 in the frame (1) captures 40. When the frame (4) is imaged, the visual axis is shifted by one pixel below that when the frame (1) is imaged. Therefore, in the frame (4), 40 is imaged by the pixel 44 that exists one pixel above the frame (1). Has been. That is, 40 is imaged by an element that exists on the element that imaged 40 in frame (1). In summary, if the visual axis is moved to the right, bottom, and left one pixel at a time as shown in FIG.
In the frame (2), the visual axis moves to the right, and the element that images the same part moves to the left.
In the frame (3), the visual axis moves to the lower right, the element that images the same part moves to the upper left,
In the frame (4), the visual axis moves down, and the element that images the same part moves up.

<補正テーブル更新可能領域の算出>
図9に示した、各フレーム間で共通した領域は、補正テーブルを更新することができる可能性がある「有効領域」50として扱うことができる。つまり、この有効領域50はフレーム(1)〜(4)の共通領域に相当する。
<Calculation of correction table updatable area>
The area common to the frames shown in FIG. 9 can be treated as an “effective area” 50 that may update the correction table. That is, the effective area 50 corresponds to a common area of the frames (1) to (4).

補正テーブル更新可能領域算出部4は、有効領域50のうち、異なるフレーム間で「ターゲットの同一の部分を異なる素子で撮像したデータ」が得られている領域である、補正テーブル更新可能領域を算出する。撮像装置、ターゲットが共に静止している場合には、有効領域50の全域が、ターゲットの同一部分を異なる素子で撮像したデータを有する領域として扱うことができる。   The correction table updateable area calculation unit 4 calculates a correction table updateable area that is an area in which “data obtained by imaging the same part of the target with different elements” is obtained between different frames in the effective area 50. To do. When the imaging device and the target are both stationary, the entire effective area 50 can be handled as an area having data obtained by imaging the same portion of the target with different elements.

一方、撮像装置とターゲットのいずれか一つであっても移動した場合には有効領域50であっても「ターゲットの同一の部分を異なる素子で撮像したデータ」として扱えない部分が生じる。撮像と撮像の間には時間差があるため、フレーム間で撮像時刻が異なることになる。従って、ターゲットが移動している場合には、ターゲットの移動軌跡上の画素では、有効領域内の画素であっても異なるデータを撮像してしまうことになる。また、ターゲットが移動しなかったとしても、撮像装置が大きく移動すると有効領域内全てが一様に移動することになるため、全ての画素で異なる部分を撮像してしまうことになる。このような画素については原則として補正テーブルを更新することができないため、複数のフレーム間で静止している部分を抽出する必要がある。   On the other hand, if any one of the imaging device and the target moves, a portion that cannot be handled as “data obtained by imaging the same portion of the target with different elements” occurs even in the effective area 50. Since there is a time difference between imaging, imaging time differs between frames. Therefore, when the target is moving, different data is imaged at the pixels on the movement locus of the target even if the pixels are in the effective area. Even if the target does not move, if the image pickup device moves greatly, the entire effective area moves uniformly, so that different parts are imaged in all pixels. In principle, the correction table cannot be updated for such a pixel, and it is necessary to extract a portion that is stationary between a plurality of frames.

撮像装置とターゲットとが静止した状態で撮像された部分を求めるために、補正テーブル更新可能領域算出部4は各フレームの有効領域50の一部分を「比較領域」51として切り出す。まず、比較領域51を切り出すために「相関処理用注目点」52が設定される。相関処理用注目点52の周辺の領域が比較領域51として切り出される。比較領域51の大きさは任意の大きさであるが、比較領域同士の相関を判断するのに適切な大きさである必要がある。例えば、縦3画素×横3画素の大きさであっても良いし、位相相関を用いて相関を判断する場合においては縦8画素×横8画素の大きさから、縦16画素×横16画素程度の大きさに切り出されることもある。また、縦と横の画素数が異なっても良い。   The correction table updateable area calculation unit 4 cuts out a part of the effective area 50 of each frame as a “comparison area” 51 in order to obtain a part imaged in a state where the imaging apparatus and the target are stationary. First, in order to cut out the comparison region 51, “correlation processing attention point” 52 is set. A region around the correlation processing attention point 52 is cut out as a comparison region 51. The size of the comparison area 51 is an arbitrary size, but it needs to be an appropriate size for judging the correlation between the comparison areas. For example, the size may be 3 vertical pixels × 3 horizontal pixels, and in the case of determining the correlation using the phase correlation, from the size of 8 vertical pixels × 8 horizontal pixels, 16 vertical pixels × 16 horizontal pixels. It may be cut out to a certain size. The number of pixels in the vertical and horizontal directions may be different.

画像(フレーム)の座標と、切り出される比較領域51の座標とは図10および図11に示すとおりである。横にM画素、縦にN画素が含まれている場合、画像の座標は画像の左上を原点とすると図10のように示される。図11には、横に2a+1画素、縦に2b+1画素を含む比較領域51が切り出される場合が示されている。各フレームは指向部2によって視軸がずらされた後に撮像されているので上下左右にずれた部分を撮像していることになる。従って、比較領域51の切り出し座標は撮像装置とターゲットとが静止している場合に同じ場所を切り出すことができるようにずれた座標となる。前述のフレーム(1)〜(4)を例とする。図12に示すようにフレーム(1)の相関処理用注目点52aを(x,y)に設定すると、指向部2がフレーム(1)の撮像後フレーム(2)の撮像までの間に視軸を右に1画素分だけ移動させているので、フレーム(2)についての相関処理用注目点52bは(x−1,y)となる。同様に、フレーム(3)では(x−1,y−1)、フレーム(4)では(x,y−1)に設定される。   The coordinates of the image (frame) and the coordinates of the comparison area 51 to be cut out are as shown in FIGS. When M pixels are included in the horizontal direction and N pixels are included in the vertical direction, the coordinates of the image are as shown in FIG. FIG. 11 shows a case where the comparison area 51 including 2a + 1 pixels horizontally and 2b + 1 pixels vertically is cut out. Since each frame is imaged after the visual axis is shifted by the directing unit 2, a portion shifted vertically and horizontally is imaged. Therefore, the cut-out coordinates of the comparison area 51 are shifted so that the same place can be cut out when the imaging device and the target are stationary. The above-described frames (1) to (4) are taken as an example. As shown in FIG. 12, when the correlation processing target point 52a of the frame (1) is set to (x, y), the sighting unit 2 performs the visual axis until the imaging of the frame (2) after the imaging of the frame (1). Is moved to the right by one pixel, the correlation processing attention point 52b for the frame (2) is (x-1, y). Similarly, the frame (3) is set to (x-1, y-1), and the frame (4) is set to (x, y-1).

補正テーブル更新可能領域算出部4は、比較領域51が切り出された後、比較領域間での相関値を算出する。相関値が閾値以上であった場合にそれらの比較領域51(51a〜51d)で撮像された対象はターゲットシーンのほぼ同一部分であると判断される。補正テーブル更新可能領域算出部4は比較領域間での画像の相関関係から、撮像装置とターゲットとが静止していたかについても判断し、その判断に基づいて補正テーブルの更新が可能か判断する。相関値の算出方法としては例えば、正規化相関、輝度相関、位相相関など様々な方法があり、どれを用いても良い。   After the comparison area 51 is cut out, the correction table updatable area calculation unit 4 calculates a correlation value between the comparison areas. When the correlation value is equal to or greater than the threshold value, it is determined that the target imaged in the comparison area 51 (51a to 51d) is substantially the same part of the target scene. The correction table updatable area calculation unit 4 also determines whether the imaging apparatus and the target are stationary from the correlation between the images in the comparison areas, and determines whether the correction table can be updated based on the determination. As a correlation value calculation method, for example, there are various methods such as normalized correlation, luminance correlation, and phase correlation, and any of them may be used.

位相相関を用いて相関値の算出を行うと、ある比較領域51を含む画像を撮像したときと、比較対象とする比較領域51を含む画像を撮像したときとで、撮像装置とターゲットとが静止しているかが判断しやすいという利点が有る。位相相関を用いたときの演算結果としては、例えば、図13に示すような相関画像が得られる。撮像装置およびターゲットが静止しているときには、図13のように中央の画素((x’,y’)=(0,0))がピーク値となり、このピーク値が相関値となる。ここで、相関値の閾値は撮像が行われる前、典型的には、オフセット処理装置の出荷前などに、あらかじめ決められている数値を用いる。閾値の決定に当たっては、オフセット処理装置によって一様温度面ではない任意のターゲットシーンについて複数の画像を撮像しておく。このときの撮像で得られた画像について比較領域51の相関値を実際に計算してみて、ノイズによるピークの大きさの変動に基づいて閾値が決定される。   When the correlation value is calculated using phase correlation, the imaging device and the target are stationary when an image including a certain comparison region 51 is captured and when an image including the comparison region 51 to be compared is captured. There is an advantage that it is easy to judge whether or not. As a calculation result when the phase correlation is used, for example, a correlation image as shown in FIG. 13 is obtained. When the imaging device and the target are stationary, the central pixel ((x ′, y ′) = (0, 0)) as shown in FIG. 13 has a peak value, and this peak value becomes a correlation value. Here, as the threshold value of the correlation value, a numerical value determined in advance is used before imaging is performed, typically before the offset processing apparatus is shipped. In determining the threshold value, a plurality of images are captured for an arbitrary target scene that is not a uniform temperature surface by an offset processing device. The correlation value of the comparison area 51 is actually calculated for the image obtained by imaging at this time, and the threshold value is determined based on the fluctuation of the peak size due to noise.

図7に補正テーブル更新可能領域算出部4が比較領域51について補正テーブル更新可能領域かを、前述のフレーム(1)〜(4)について判断するフローチャートの一例を示す。まず、相関処理用注目点52(52a〜52d)が設定され(ステップS31)、各フレームから比較領域51a〜51dが切り出される(ステップS32)。ここで「相関処理用注目点」52とは、比較領域51を切り出すときに、切り出す範囲を設定するための基準となる画素のことを指す。次に、フレーム(1)と他のフレームの比較領域51との間の相関値を算出し、フレーム(1)と他の全てのフレームとの間で相関値が閾値以上であれば、その比較領域51では補正テーブルの更新が可能であると判断される(ステップS33〜39)。一方、いずれか一つでもフレーム(1)との相関値が閾値以下のフレームが存在した場合には、その比較領域51は補正テーブルの更新が不可能な領域であると判断される(ステップS40)。   FIG. 7 shows an example of a flowchart in which the correction table updateable area calculation unit 4 determines whether the comparison area 51 is a correction table updateable area for the above-described frames (1) to (4). First, correlation processing attention points 52 (52a to 52d) are set (step S31), and comparison areas 51a to 51d are cut out from each frame (step S32). Here, the “correlation processing attention point” 52 refers to a pixel serving as a reference for setting a range to be cut out when the comparison area 51 is cut out. Next, a correlation value between the frame (1) and the comparison area 51 of another frame is calculated, and if the correlation value between the frame (1) and all other frames is equal to or greater than a threshold value, the comparison is performed. In area 51, it is determined that the correction table can be updated (steps S33 to S39). On the other hand, if any one of the frames having a correlation value with the frame (1) is equal to or less than the threshold value, it is determined that the comparison area 51 is an area where the correction table cannot be updated (step S40). ).

補正テーブル更新可能領域算出部4は、あらかじめ、比較領域51について補正テーブルの更新の可否を記録しておく、注目点更新可否テーブルを備えている。補正テーブル更新可能領域算出部4は、補正テーブルの更新が可能であると判断された比較領域51については、その比較領域51の相関処理用注目点に対して、注目点更新可否テーブルに「更新可」の設定をする(ステップS39)。一方、補正テーブルの更新が不可能であると判断された領域については、注目点更新可否テーブルに「更新不可」の設定がされる(ステップS40)。注目点更新可否テーブルは、注目点の座標および更新の可否を記録することができる任意の形式を取りうる。一例としては、「更新可」であれば1、「更新不可」であれば0の値を、注目点の座標と対応付けて記録することが考えられる。   The correction table updateable area calculation unit 4 includes an attention point update availability table that records whether or not the correction table can be updated for the comparison area 51 in advance. The correction table updatable area calculation unit 4 “updates” the attention area update availability table for the correlation processing attention point of the comparison area 51 for the comparison area 51 determined to be able to update the correction table. "Yes" is set (step S39). On the other hand, for the region where it is determined that the correction table cannot be updated, “not updateable” is set in the attention point update availability table (step S40). The attention point update availability table can take any format that can record the coordinates of the attention point and the availability of the update. As an example, it is conceivable to record a value of 1 for “updatable” and 0 for “not updatable” in association with the coordinates of the point of interest.

以上の処理を、有効領域50の全ての画素について行うまで、相関処理用注目点52の座標を変更して続ける(ステップS41)。
<補正テーブル更新>
補正テーブル更新部5は補正テーブル更新可能領域算出部4の判定結果によって更新可能とされた部分について、ターゲットシーンの同一部分を撮像した複数の素子からの出力を比較する。以下、フレーム(1)〜(4)を用いて、隣り合った4画素を用いてオフセット補正テーブルを更新する場合について、補正テーブル更新部5の動作のフローチャート(図8)を参照しながら具体的に述べる。なお、フレーム(1)〜(4)の4枚のフレームの一組を1セットだけ用いても、複数セット用いても良い。
Until the above processing is performed for all the pixels in the effective region 50, the coordinates of the correlation processing target point 52 are changed (step S41).
<Update correction table>
The correction table update unit 5 compares outputs from a plurality of elements that have captured the same part of the target scene with respect to the part that can be updated by the determination result of the correction table updateable area calculation unit 4. Hereinafter, the case where the offset correction table is updated using four adjacent pixels using the frames (1) to (4) will be described in detail with reference to the flowchart (FIG. 8) of the operation of the correction table update unit 5. In the following. One set of four frames (1) to (4) may be used, or a plurality of sets may be used.

{4画素相対関係の算出}
まず4画素相対関係算出用注目点が設定され、その位置が補正テーブル更新可能領域に設定されているかが調べられる。ここで、「4画素相対関係」とは、ターゲットシーンの同一部分を撮像した4画素での値の相対的なずれ量を指す。具体的には、ある画素での値を基準としたときの、他の画素の値と基準とした画素の値との差である。つまり「4画素
相対関係」は画像取得部1に含まれる素子を用いて定義すれば、ターゲットシーン(撮像対象)の同一部分を撮像している関係にある素子群において生じた各素子間での出力の差(素子間出力差)であるといえる。また、「4画素相対関係算出用注目点」は、フレーム(1)〜(4)の画素の相対関係を算出するための点であり、補正テーブル更新可能領域上に設定されるべき点である。4画素相対関係算出用注目点は補正テーブル更新可能領域の任意の位置に設定できる。なお、以下の説明において、4画素相対関係算出用注目点や注目点などの点を補正テーブル更新可能領域中に設定した場合に、設定された点である画素に相当する各フレームの画素を「注目画素」と記載することがある。
{Calculation of 4 pixel relative relationship}
First, a 4-pixel relative relationship calculation target point is set, and it is checked whether the position is set in the correction table updatable area. Here, the “4-pixel relative relationship” refers to a relative shift amount of values at four pixels obtained by imaging the same portion of the target scene. Specifically, it is the difference between the value of another pixel and the value of the reference pixel when the value at a certain pixel is the reference. In other words, if the “4-pixel relative relationship” is defined using the elements included in the image acquisition unit 1, the relationship between the elements generated in the element group that has the relationship of capturing the same part of the target scene (imaging target). It can be said that this is a difference in output (output difference between elements). Further, the “four-pixel relative relationship calculation attention point” is a point for calculating the relative relationship between the pixels in the frames (1) to (4), and is a point to be set on the correction table updatable area. . The attention point for calculating the 4-pixel relative relationship can be set at an arbitrary position in the correction table updatable area. In the following description, when a point such as a four-pixel relative relationship calculation attention point or attention point is set in the correction table updateable area, the pixel of each frame corresponding to the pixel that is the set point is expressed as “ May be described as “a pixel of interest”.

4画素相対関係算出用注目点が設定された画素が補正テーブル更新可能領域に存在しない場合は、補正テーブル更新可能領域になるまで4画素相対関係算出用注目点を設定しなおす(ステップS51、52)。補正テーブル更新可能領域に存在する画素の座標が見つかったら、設定された4画素相対関係算出用注目点に相当する各々のフレームの画素の値の差を算出する(ステップS53)。   When the pixel for which the attention point for calculating the four-pixel relative relationship is set does not exist in the correction table updateable area, the attention point for calculating the four-pixel relative relationship is reset until the correction table updateable area is reached (steps S51 and S52). ). When the coordinates of the pixels existing in the correction table updateable area are found, the difference between the pixel values of each frame corresponding to the set four-pixel relative relationship calculation target point is calculated (step S53).

例えば、4画素の左上の画素を基準として4画素相対関係を算出する場合を示す。補正テーブル更新可能領域内の(x,y)=(A,B)に「4画素相対関係算出用注目点」が設定された場合について考える。ここでは、一例として、4画素のうち、一番左上にある画素を基準として相対関係を算出する場合について示す。すなわち、比較する4つのフレームのうち、一番左上にある素子で同一のターゲットの同一部分を撮像したフレームを基準とするので、フレーム(3)の(A,B)に対応した画素を基準として演算を行う例を示す。4画素相対関係算出用注目点が設定されると、オフセット補正テーブル更新部30は、基準としたフレーム(3)の4画素相対関係算出用注目点の座標の素子の出力を補正画像データから認識する。次に、他のフレームにおいて「4画素相対関係算出用注目点」の画素のデータを出力した素子の位置を、フレーム(3)撮像時とほかのフレーム撮像時の指向部2による視軸の移動量から求める。   For example, a case where the four-pixel relative relationship is calculated with reference to the upper left pixel of the four pixels is shown. Consider the case where “attention point for calculating relative relationship of four pixels” is set at (x, y) = (A, B) in the correction table updatable area. Here, as an example, a case where the relative relationship is calculated with reference to the pixel at the upper left among the four pixels is shown. That is, among the four frames to be compared, a frame obtained by imaging the same portion of the same target with the element at the upper left is used as a reference, so that the pixel corresponding to (A, B) of frame (3) is used as a reference. An example of performing an operation is shown. When the attention point for calculating the four-pixel relative relationship is set, the offset correction table updating unit 30 recognizes the output of the element at the coordinate of the attention point for calculating the four-pixel relative relationship in the reference frame (3) from the corrected image data. To do. Next, the movement of the visual axis by the directional unit 2 at the time of frame (3) image capturing and other frame image capturing is performed at the position of the element that outputs the pixel data of the “four-pixel relative relationship calculation target point” in another frame. Get from quantity.

ここで、(A,B)の周辺にある素子の出力値が以下のようであったとする。
フレーム(3)の注目画素に該当する素子(A,B)の出力値 :A1
フレーム(4)の注目画素に該当する素子(A+1,B)の出力値 :A2
フレーム(1)の注目画素に該当する素子(A+1,B+1)の出力値:A3
フレーム(2)の注目画素に該当する素子(A,B+1)の出力値 :A4
これらの値は、同じターゲットシーンの中の同一の部分について異なる4つの素子で出力した結果であるので、本来は同一の出力値になるべきものである。値がA1やA4のように変化しているのは、オフセットばらつきの経時変化によるものであるとみなすことができる。以上の値から、(A,B)の素子を基準にして4画素相対関係を算出すると次のようになる。
Here, it is assumed that the output values of the elements around (A, B) are as follows.
Output value of element (A, B) corresponding to target pixel of frame (3): A1
Output value of element (A + 1, B) corresponding to the target pixel of frame (4): A2
Output value of element (A + 1, B + 1) corresponding to the target pixel of frame (1): A3
Output value of element (A, B + 1) corresponding to the target pixel of frame (2): A4
Since these values are the result of outputting the same part in the same target scene with four different elements, they should originally be the same output value. It can be considered that the value is changed like A1 or A4 due to the change with time of offset variation. From the above values, the 4-pixel relative relationship is calculated based on the element (A, B) as follows.

(A,B)の出力値と(A+1,B)の出力値の差 :A1−A2
(A,B)の出力値と(A+1,B+1)の出力値の差:A1−A3
(A,B)の出力値と(A,B+1)の出力値の差 :A1−A4
4画素間での相対関係を算出したら、更新可能領域の全画素について4画素相対関係が算出されているかのチェックが行われる(ステップS54)。全画素が終了していなければ、4画素相対関係算出用注目点を移動させて同様の計算が行われる。例えば、4画素相対関係算出用注目点が右側の隣接点に移動され、フレーム(3)の(x,y)=(A+1,B)にある素子が撮像した、更新可能領域上の画素に「4画素相対関係算出用注目点」が設定された場合を考える。この場合は前述のとおり、注目画素はフレーム(4)で(A+2,B)、フレーム(1)で(A+2,B+1)、フレーム(2)で(A+1,B+1)となる。ここで、フレーム(1)〜(4)のそれぞれの注目画素について素子の出力値が次の値であったとする。
Difference between output value of (A, B) and output value of (A + 1, B): A1-A2
Difference between output value of (A, B) and output value of (A + 1, B + 1): A1-A3
Difference between output value of (A, B) and output value of (A, B + 1): A1-A4
After calculating the relative relationship between the four pixels, it is checked whether the four-pixel relative relationship has been calculated for all the pixels in the updatable area (step S54). If all the pixels have not ended, the same calculation is performed by moving the attention point for calculating the relative relationship of the four pixels. For example, the attention point for calculating the four-pixel relative relationship is moved to the adjacent point on the right side, and the pixel in the updatable area captured by the element at (x, y) = (A + 1, B) in the frame (3) is “ Consider the case where “attention point for calculating relative relationship of four pixels” is set. In this case, as described above, the target pixel is (A + 2, B) in frame (4), (A + 2, B + 1) in frame (1), and (A + 1, B + 1) in frame (2). Here, it is assumed that the output value of the element is the following value for each pixel of interest in the frames (1) to (4).

フレーム(3)の注目画素に該当する素子(A+1,B)の出力値 :A5
フレーム(4)の注目画素に該当する素子(A+2,B)の出力値 :A6
フレーム(1)の注目画素に該当する素子(A+2,B+1)の出力値:A7
フレーム(2)の注目画素に該当する素子(A+1,B+1)の出力値:A8
A5〜A8の値も、同じターゲットシーンの中の同一の部分について異なる4つの素子で出力した結果であるので、本来は同一の出力値になるべきものである。以上の値から、(A+1,B)の素子を基準にして4画素相対関係を算出すると次のようになる。
Output value of element (A + 1, B) corresponding to target pixel of frame (3): A5
Output value of element (A + 2, B) corresponding to target pixel of frame (4): A6
Output value of element (A + 2, B + 1) corresponding to the target pixel of frame (1): A7
Output value of element (A + 1, B + 1) corresponding to the target pixel of frame (2): A8
Since the values of A5 to A8 are also the results of outputting the same part in the same target scene with four different elements, they should be the same output value. From the above values, the 4-pixel relative relationship is calculated based on the element (A + 1, B) as follows.

(A+1,B)の出力値と(A+2,B)の出力値の差 :A5−A6
(A+1,B)の出力値と(A+2,B+1)の出力値の差:A5−A7
(A+1,B)の出力値と(A+1,B+1)の出力値の差:A5−A8
上記の例から明らかなように、(A+1,B)の素子と(A+1,B+1)の素子から出力された画素の値は、最初の4画素相対関係算出用注目点での相対関係算出と、移動後の4画素相対関係算出用注目点での相対関係算出とで用いられることになる。しかし、(A+1,B)からの出力は、最初の4画素相対関係算出点を設定したときには、フレーム(4)での画素の値を使っていたのに対し、4画素相対関係算出点移動後ではフレーム(3)での画素の値を用いている。従って、同じ画素が撮像したとはいえ、フレーム(4)で(A+1,B)が撮像した部分と、フレーム(3)で(A+1,B)が撮像した部分とは、ターゲットシーンの異なる一部分であることに留意すべきである。説明のために、(A,B)がフレーム(3)において出力した画素に撮像された撮像対象の一部分を「第一の部分」とする。最初の4画素相対関係算出時には、第一の部分を撮像した素子群について、第一の部分を撮像したときの素子間出力差を求めている。一方、4画素相対関係算出用注目点を前述の例のように移動させたときには、(A+1,B)がフレーム(3)において出力した画素に撮像された撮像対象の「第二の部分」を撮像した素子群について、第二の部分を撮像したときの素子間出力差を求めていることになる。従って、4画素相対関係の算出とは、撮像対象の各部分ごとに、当該部分を撮像した素子群を認識し、素子群に含まれる各素子での素子間出力差を算出していることに相当する。
Difference between the output value of (A + 1, B) and the output value of (A + 2, B): A5-A6
Difference between the output value of (A + 1, B) and the output value of (A + 2, B + 1): A5-A7
Difference between the output value of (A + 1, B) and the output value of (A + 1, B + 1): A5-A8
As is clear from the above example, the values of the pixels output from the (A + 1, B) element and the (A + 1, B + 1) element are calculated by calculating the relative relationship at the first attention point for calculating the 4-pixel relative relationship. This is used for calculating the relative relationship at the attention point for calculating the 4-pixel relative relationship after the movement. However, the output from (A + 1, B) uses the value of the pixel in frame (4) when the first four-pixel relative relationship calculation point is set, but after the movement of the four-pixel relative relationship calculation point Uses the pixel values in frame (3). Therefore, even if the same pixel is imaged, the part (A + 1, B) imaged in frame (4) and the part (A + 1, B) imaged in frame (3) are different parts of the target scene. It should be noted that there are. For the sake of explanation, a part of the imaging target captured by the pixel output by (A, B) in the frame (3) is referred to as a “first part”. At the time of calculating the first four-pixel relative relationship, the output difference between elements when the first part is imaged is obtained for the element group that images the first part. On the other hand, when the attention point for calculating the 4-pixel relative relationship is moved as in the above example, the “second portion” of the imaging target captured by the pixel (A + 1, B) output in the frame (3) is displayed. For the imaged element group, the output difference between elements when the second portion is imaged is obtained. Therefore, the calculation of the four-pixel relative relationship means that, for each part to be imaged, the element group that images the part is recognized, and the output difference between elements in each element included in the element group is calculated. Equivalent to.

上記の4画素相対関係の算出例では、説明のために左上を基準(基準画素)としたときの計算について示したが、どこに基準画素を置いても良い。つまり、基準画素の位置は同一ターゲットの同一部分を撮像した素子群のうちの任意の素子に設定することができる。本明細書中では、基準画素を撮像した素子を基準素子と記載することがある。   In the above-described calculation example of the four-pixel relative relationship, for the sake of explanation, the calculation using the upper left as the reference (reference pixel) is shown, but the reference pixel may be placed anywhere. That is, the position of the reference pixel can be set to any element in the element group that images the same part of the same target. In this specification, an element that images a reference pixel may be referred to as a reference element.

さらに、ここで、4画素として計算しているのは説明のために過ぎず、相対関係を求めるときに用いる画素数も任意であり、用いるフレーム数によって変化する数である。すなわち、「相対関係」はターゲットシーンの同一部分を撮像した任意の数の素子からなる素子群の各素子間での出力差である。   Furthermore, the calculation as 4 pixels is merely for the purpose of explanation, and the number of pixels used when obtaining the relative relationship is arbitrary, and the number varies depending on the number of frames used. That is, the “relative relationship” is an output difference between each element of an element group composed of an arbitrary number of elements obtained by imaging the same portion of the target scene.

{原点の設定と更新量の計算}
4画素相対関係を算出しただけでは、第一の部分を撮像した第一の素子群についての素子間出力差が求められ、第二の部分を撮像した第二の素子群についての素子間出力差も求められるというように、同一部分を撮像した素子同士の出力差が求まるに過ぎない。しかし、オフセット補正テーブルの補正では、第一の素子群、第二の素子群などの複数の素子群の全てについて4画素相対関係として求めた素子間出力差を解消しつつ、同一対象を撮像したときに素子群の間で出力差を生じないようにする必要がある。そこで、更新可能領域の全画素について4画素相対関係が算出された場合には、オフセット補正テーブル更新部30が原点の設定を行う(ステップS55)。「原点」とは、更新量を算出するための基準となる点である。この「更新量」とは、オフセット補正テーブルの更新量である。つまり、「4画素相対関係」が4つの素子のみの間での出力値の差であるのに対し、「更新
量」は更新可能領域内に存在する全ての素子の出力値と原点に位置する素子の出力値の差である。従って、原点は全ての素子の更新量の基準となるため、原点の素子の更新量は常にゼロである。
{Origin setting and update amount calculation}
By simply calculating the 4-pixel relative relationship, an inter-element output difference for the first element group that images the first part is obtained, and an inter-element output difference for the second element group that images the second part. In other words, the output difference between the elements that image the same portion can only be obtained. However, in the correction of the offset correction table, the same object was imaged while eliminating the output difference between the elements obtained as a 4-pixel relative relationship for all of the plurality of element groups such as the first element group and the second element group. Sometimes it is necessary to prevent an output difference between element groups. Therefore, when the four-pixel relative relationship is calculated for all the pixels in the updatable area, the offset correction table update unit 30 sets the origin (step S55). The “origin” is a reference point for calculating the update amount. This “update amount” is the update amount of the offset correction table. That is, the “4-pixel relative relationship” is the difference in output value between only four elements, whereas the “update amount” is located at the origin and the output value of all elements existing in the updatable area. It is the difference in the output value of the element. Accordingly, since the origin serves as a reference for the update amount of all elements, the update amount of the element at the origin is always zero.

原点が設定されたら、原点を基準としたときの相対関係を用いて、原点を基準として相対関係を求めた素子の更新量を算出する。先の例では、左上を基準として4画素相対関係を算出したので、更新量の算出は原点の右、右下、下に位置する素子の4つの素子について行われる(ステップS56)。   When the origin is set, the renewal amount of the element for which the relative relationship is obtained with respect to the origin is calculated using the relative relationship with the origin as a reference. In the previous example, since the four-pixel relative relationship is calculated with reference to the upper left, the update amount is calculated for the four elements located at the right, lower right, and lower of the origin (step S56).

前述のとおりに、同一のターゲットシーンの同一部分を撮像したときの(A,B)の素子の出力としてA1の値が算出され、(A+1,B)の素子の出力としてA2が得られたとする。本来同じ値であるべき値が(A,B)の素子からの出力ではA1、(A+1,B)の素子からの出力ではA2となったのであるから、(A,B)の素子のオフセット値を基準とすると(A+1,B)の素子のオフセット値が先に算出した相対関係の値である、A1−A2だけずれてしまったことになる。そこで、ずれを解消できるように(A+1,B)の素子のオフセット値を変更すべきである。他の素子についても同様に考えられるので、以下のような更新量が求められる。   As described above, it is assumed that the value of A1 is calculated as the output of the element (A, B) when the same part of the same target scene is imaged, and A2 is obtained as the output of the element (A + 1, B). . Since the output from the (A, B) element is A1 and the output from the (A + 1, B) element is A2, the offset value of the (A, B) element is essentially the same value. Is used as a reference, the offset value of the element (A + 1, B) is shifted by A1-A2, which is the value of the relative relationship calculated earlier. Therefore, the offset value of the element (A + 1, B) should be changed so that the deviation can be eliminated. Since other elements can be considered in the same manner, the following update amount is required.

(A+1,B)のオフセット補正テーブル更新量 :A1−A2
(A+1,B+1)のオフセット補正テーブル更新量:A1−A3
(A,B+1)のオフセット補正テーブル更新量 :A1−A4
この例で明確なように、相対関係を求めたときの基準点が原点と一致した場合、その相対関係の算出がされた各素子についての更新量は相対関係の値と常に一致する。
(A + 1, B) offset correction table update amount: A1-A2
(A + 1, B + 1) offset correction table update amount: A1-A3
(A, B + 1) offset correction table update amount: A1-A4
As is clear in this example, when the reference point when the relative relationship is obtained matches the origin, the update amount for each element for which the relative relationship has been calculated always matches the value of the relative relationship.

原点周辺の4つの素子のオフセット補正テーブル更新量が求められたら、その他の部分の素子について処理を行うために、注目点を設定する。注目点は、更新量既算出点であって、更新量を算出していない更新可能領域内の画素に隣接した点に設定される(ステップS57)。次に、既算出点の更新量、および、注目点を基準画素として求めた相対関係を用い、注目点オフセット補正テーブル更新量が算出される(ステップS58)。具体的には、注目点周辺の素子についての更新量は
更新量=注目点の更新量+注目点と更新量を算出したい画素との相対関係
として求められる。
When the offset correction table update amounts of the four elements around the origin are obtained, attention points are set in order to perform processing on the other elements. The attention point is an update amount already calculated point, and is set to a point adjacent to a pixel in the updatable area where the update amount is not calculated (step S57). Next, the update amount of the target point offset correction table is calculated using the update amount of the already calculated point and the relative relationship obtained using the target point as the reference pixel (step S58). Specifically, the update amount for the elements around the attention point is obtained as the update amount = the update amount of the attention point + the relative relationship between the attention point and the pixel for which the update amount is to be calculated.

この式から明確なように、更新量の算出には注目点の更新量が必要である。つまり、更新量がすでに算出された点にしか注目点を設定することができない。例えば(A,B)から注目点を移動させるときには、(A,B)を注目点として更新量を算出した点に、新たな注目点を設定しなければならない。従って、(A,B)の右、右下、下の隣接している点が注目点を移動させることができる位置となる。   As is clear from this equation, the update amount of the point of interest is required to calculate the update amount. That is, attention points can be set only at points where the update amount has already been calculated. For example, when the point of interest is moved from (A, B), a new point of interest must be set at the point where the update amount is calculated with (A, B) as the point of interest. Accordingly, the adjacent points on the right, lower right, and lower of (A, B) are positions where the attention point can be moved.

一例として、原点の(A,B)の隣接点である(A+1,B)に注目点を設定したときについて述べる。この場合、注目点は原点を基準として右に一画素動いた位置に存在する。前述のとおり、(A+1,B)を基準として、(A+2,B)、(A+2,B+1)、(A+1,B+1)について相対関係が各々、A5−A6、A5−A7、A5−A8であると算出されている。また、注目点である(A+1,B)の更新量はA1−A2である。   As an example, a case where a point of interest is set at (A + 1, B), which is an adjacent point of the origin (A, B) will be described. In this case, the point of interest exists at a position moved one pixel to the right with respect to the origin. As described above, relative to (A + 2, B), (A + 2, B + 1), (A + 1, B + 1) with (A + 1, B) as a reference, the relative relationships are A5-A6, A5-A7, A5-A8, respectively. It has been calculated. Further, the update amount of (A + 1, B) which is the attention point is A1-A2.

このとき、原点に注目点を置いて更新量を求めた際とは異なり、すでに(A,B)の素子を基準として(A+1,B)、(A+1,B+1)、(A,B+1)の4画素間での更新量が求められている。従って、今回の更新量の算出を行う対象となる(A+1,B)、(A+2,B)、(A+2,B+1)、および(A+1,B+1)のうち、(A+1,B)と(A+1,B+1)の素子についてはすでに更新量が求められている。従って、(A
+2,B)と(A+2,B+1)の二つの素子について更新量を計算すればよい。未算出点である(A+2,B)、(A+2,B+1)についての更新量は以下のとおりである。
At this time, unlike the case where the update amount is obtained by placing the attention point at the origin, 4 (A + 1, B), (A + 1, B + 1), (A, B + 1) are already set with the (A, B) element as a reference. The amount of update between pixels is required. Therefore, (A + 1, B) and (A + 1, B + 1) out of (A + 1, B), (A + 2, B), (A + 2, B + 1), and (A + 1, B + 1), which are targets of calculation of the update amount this time. The amount of renewal has already been calculated for the element (). Therefore, (A
The update amount may be calculated for the two elements +2, B) and (A + 2, B + 1). The update amounts for the uncalculated points (A + 2, B) and (A + 2, B + 1) are as follows.

(A+2,B)の更新量 :(A1−A2)+(A5−A6)
(A+2,B+1)の更新量:(A1−A2)+(A5−A7)
上記の処理によって第一の素子群、第二の素子群などの複数の素子群の全てについて4画素相対関係として求めた素子間出力差を解消しつつ、同一対象を撮像したときに素子群の間で出力差を生じないようにすることができる。例えば、(A+1,B)を基準素子として素子間出力差を求めた素子と(A+1,B)とを第一の素子群とする。また、(A+1,B)の素子を第一の基準素子とする。つまり、第一の素子群は、(A+1,B)の素子が撮像した画素を基準画素とした4画素相対関係算出に用いた画素の撮像を行った素子である。第一の素子群が撮像している撮像対象の第一の部分と異なる、第二の部分を撮像した素子群を第二の素子群、第三の部分を撮像した素子群を第三の素子群とする。ここでは、例として、(A+2,B)を第二の基準素子、(A+2,B+1)を第三の基準素子とする。また、第二の基準素子(A+2,B)を用いて素子間出力差を求めた素子と第二の基準素子を第二の素子群とする。同様に第三の素子群は(A+2,B+1)を用いて素子間出力差を求めた素子と第三の基準素子からなる。4画素相対関係を算出しただけでは、
第一の素子群:第一の基準素子(A+1,B)を基準とした素子間出力差
第二の素子群:第二の基準素子(A+2,B)を基準とした素子間出力差
第三の素子群:第三の基準素子(A+2,B+1)を基準とした素子間出力差
しか分かっていない状態である。
Update amount of (A + 2, B): (A1-A2) + (A5-A6)
Update amount of (A + 2, B + 1): (A1-A2) + (A5-A7)
While eliminating the output difference between the elements obtained as a four-pixel relative relationship for all of the plurality of element groups such as the first element group and the second element group by the above processing, It is possible to prevent an output difference between them. For example, let (A + 1, B) be the first element group, and (A + 1, B) be the elements for which the output difference between the elements is obtained with reference to (A + 1, B). The element (A + 1, B) is used as the first reference element. That is, the first element group is an element that has imaged the pixels used for calculating the four-pixel relative relationship using the pixel captured by the element (A + 1, B) as the reference pixel. Different from the first part of the imaging target being imaged by the first element group, the element group imaging the second part is the second element group, and the element group imaging the third part is the third element A group. Here, as an example, (A + 2, B) is a second reference element, and (A + 2, B + 1) is a third reference element. Further, the element obtained by calculating the output difference between the elements using the second reference element (A + 2, B) and the second reference element are set as the second element group. Similarly, the third element group includes an element for which an output difference between elements is obtained using (A + 2, B + 1) and a third reference element. Just calculating the 4-pixel relative relationship,
First element group: output difference between elements based on the first reference element (A + 1, B) Second element group: output difference between elements based on the second reference element (A + 2, B) Element group: a state in which only the output between elements based on the third reference element (A + 2, B + 1) is known.

そこで、ステップS55で原点を設定して、原点の値を基準として前述のとおり、第一の基準素子に対する更新量を求め(ステップS56に相当)、第一の基準素子の更新量を用いて、第一の素子群に含まれる(A+2,B)、(A+2,B+1)について更新量を求めた(ステップS57、S58)。(A+2,B)、(A+2,B+1)は前述のとおり、それぞれ第二の基準素子、第三の基準素子に該当する。つまり、第一の素子群の各素子について更新量を求めることによって、第二の基準素子、第三の基準素子の更新量を求めたことになる。第二の基準素子の更新量が分かったので第二の基準素子の更新量と第二の素子群での素子間出力差を用いて、第二の素子群に存在する素子の更新量が求められる。また、この処理で求められた第二の素子群に対する更新量は、第一の素子群の更新量と同様に、原点を基準としている。そのため、オフセット補正テーブルを更新量にしたがって更新した後に、第一の素子群と第二の素子群とで、撮像対象の同一部分を撮像しても、更にオフセットがずれない限りは、同一の出力値が得られる。第三の素子群についても同様である。   Therefore, the origin is set in step S55, and the update amount for the first reference element is obtained as described above with reference to the value of the origin (corresponding to step S56), and the update amount of the first reference element is used, The update amount was calculated for (A + 2, B) and (A + 2, B + 1) included in the first element group (steps S57 and S58). As described above, (A + 2, B) and (A + 2, B + 1) correspond to the second reference element and the third reference element, respectively. That is, the update amounts of the second reference element and the third reference element are obtained by obtaining the update amount for each element of the first element group. Since the update amount of the second reference element is known, the update amount of the element existing in the second element group is obtained by using the update amount of the second reference element and the output difference between the elements in the second element group. It is done. Further, the update amount for the second element group obtained by this processing is based on the origin, as is the update amount for the first element group. Therefore, after updating the offset correction table according to the update amount, even if the same part of the imaging target is imaged with the first element group and the second element group, the same output is provided as long as the offset does not deviate further. A value is obtained. The same applies to the third element group.

また、別の視点から見ると、ステップS55〜S59までの処理は、原点の素子(A,B)、第一の基準素子(A+1,B)、第二の基準素子(A+2,B)、および、第三の基準素子(A+2,B+1)が、仮に撮像対象の同一部分を撮像したときに原点の素子の出力を基準として各基準素子間の出力差がどれだけであるかを求めているともいえる。   From another viewpoint, the processes from step S55 to step S59 include the origin element (A, B), the first reference element (A + 1, B), the second reference element (A + 2, B), and The third reference element (A + 2, B + 1) calculates the output difference between the reference elements with reference to the output of the element at the origin when the same part to be imaged is imaged. I can say that.

このように、既算出点のオフセット補正テーブル更新量を基にして未算出点のオフセット補正テーブル更新量を算出することによって、画面全体の相対的なばらつきを補正することができる。   Thus, by calculating the offset correction table update amount of the uncalculated points based on the offset correction table update amount of the already calculated points, the relative variation of the entire screen can be corrected.

{オフセット補正テーブルの更新}
同様の処理を、更新可能領域中の未算出点であって、既算出点と隣接している点がなくなるまで、注目点を変更して行う(ステップS59)。更新量を算出済みの点に隣接する未算出更新可能点がなくなったとき、オフセット補正テーブル更新部30は、各素子につ
いて算出された更新量を、更新量平均値算出メモリ31に格納する(ステップS60)。ステップS61の規定回数は、用いるフレームのセットの数に相当する。従って、用いるセット数と同じ回数分、各素子についての更新量算出が行われ、得られた更新量が更新量平均値算出メモリ31に格納される(ステップS60)。全てのセットについて更新量算出が終了したところで、更新量の平均値が求められ、オフセット補正テーブルに加算されてオフセット補正テーブルの更新が終了する(ステップS62〜64)。
{Update offset correction table}
The same processing is performed by changing the attention point until there are no uncalculated points in the updatable area that are adjacent to the already calculated points (step S59). When there is no uncalculated updatable point adjacent to the point for which the update amount has been calculated, the offset correction table update unit 30 stores the update amount calculated for each element in the update amount average value calculation memory 31 (Step S1). S60). The specified number of times in step S61 corresponds to the number of sets of frames to be used. Therefore, the update amount is calculated for each element as many times as the number of sets to be used, and the obtained update amount is stored in the update amount average value calculation memory 31 (step S60). When the update amount calculation is completed for all sets, the average value of the update amounts is obtained and added to the offset correction table, and the update of the offset correction table is completed (steps S62 to S64).

例えば、フレーム撮像時の各素子についてのオフセット補正テーブルの値が以下のようであったとする。
オフセット補正テーブル(A,B) :O1
オフセット補正テーブル(A+1,B) :O2
オフセット補正テーブル(A+1,B+1):O3
オフセット補正テーブル(A,B+1) :O4
オフセット補正テーブル(A+2,B) :O5
オフセット補正テーブル(A+2,B+1):O6
このオフセット補正テーブルの値に、算出された各素子に対しての更新量の平均値を足しこむ。用いられるフレームが上記の具体例で示した1セットのみであった場合は、更新量の平均値は算出された更新量自体となる。この場合には更新後のオフセット補正テーブルとして以下のような値が得られる。
For example, it is assumed that the offset correction table values for each element during frame imaging are as follows.
Offset correction table (A, B): O1
Offset correction table (A + 1, B): O2
Offset correction table (A + 1, B + 1): O3
Offset correction table (A, B + 1): O4
Offset correction table (A + 2, B): O5
Offset correction table (A + 2, B + 1): O6
The average value of the update amount for each calculated element is added to the value of the offset correction table. When the number of frames used is only one set shown in the specific example above, the average value of the update amounts is the calculated update amount itself. In this case, the following values are obtained as the updated offset correction table.

(A,B) :O1
(A+1,B) :O2+A1−A2
(A+1,B+1):O3+A1−A3
(A,B+1) :O4+A1−A4
(A+2,B) :O5+(A1−A2)+(A5−A6)
(A+2,B+1):O6+(A1−A2)+(A5−A7)
更新後のオフセット補正テーブルを用いれば、素子間でのオフセットのずれが解消されているので、ターゲットシーンの同一部分を撮像したときの出力は同一になるはずである。
(A, B): O1
(A + 1, B): O2 + A1-A2
(A + 1, B + 1): O3 + A1-A3
(A, B + 1): O4 + A1-A4
(A + 2, B): O5 + (A1-A2) + (A5-A6)
(A + 2, B + 1): O6 + (A1-A2) + (A5-A7)
If the offset correction table after update is used, the offset shift between elements has been eliminated, so that the output when the same part of the target scene is imaged should be the same.

複数のセットを用いると、個々のフレームに生じてしまったノイズの影響が小さくなるという利点がある。ただし、オフセット補正テーブル更新に使用できるフレーム数が少ない場合や、演算処理に使用できるメモリ領域に制限がある場合などにおいては、1セットのみで処理をすることも可能である。   Use of a plurality of sets has an advantage that the influence of noise generated in each frame is reduced. However, when the number of frames that can be used for offset correction table update is small, or when there is a limit to the memory area that can be used for arithmetic processing, it is possible to perform processing with only one set.

{原点の設定位置とオフセット補正される領域との関係}
以上に説明した方法においては、4画素相対関係算出において左上を基準とし、原点から注目点を右側に移動して更新量を算出した。しかし、4画素相対関係算出において左上を基準としたときには、基準とした素子の右だけでなく、下および右下の素子についても更新量が算出されている。従って、注目点は右だけでなく、原点の右下や下に設定することが可能である。
{Relationship between origin setting position and offset correction area}
In the method described above, the update amount is calculated by moving the attention point to the right side from the origin with the upper left as the reference in the calculation of the 4-pixel relative relationship. However, when the upper left is used as a reference in the calculation of the four-pixel relative relationship, the update amount is calculated not only for the right of the reference element but also for the lower and lower right elements. Accordingly, the attention point can be set not only on the right side but also on the lower right side or the lower side of the origin.

ここまでの説明で明らかなように、原則的には、4画素相対関係算出において、左上を基準とした場合においては、注目点の右、右下、下にしか既算出点が存在しない。つまり、原則として、原点より左側や上側の画素について更新量を算出することができない。従って、4画素相対関係算出において左上を基準とした場合においては、原点は更新可能領域のうちのできるだけ左上を選択したほうが、より広い範囲についてオフセット補正テーブルの更新を行うことができることになる。   As is apparent from the above description, in principle, in the calculation of the four-pixel relative relationship, when the upper left is used as a reference, there are already calculated points only at the right, lower right, and lower of the target point. That is, in principle, the update amount cannot be calculated for pixels on the left side or above the origin. Therefore, when the upper left is used as a reference in the calculation of the four-pixel relative relationship, the offset correction table can be updated for a wider range by selecting the upper left of the updatable area as much as possible.

ただし、4画素相対関係を別の画素を基準とした相対関係に読み替えるだけの計算をし
ても他の処理に支障をきたさない程度の性能を有するコンピュータを用いることができれば、原点はどこに設定しても良いことになる。具体的に前述の例を用いて述べる。(A,B)の出力値を基準としたときの相対関係は
(A+1,B) :A1−A2
(A+1,B+1):A1−A3
(A,B+1) :A1−A4
であった。ここで、各々の画素の相対関係の値から(A+1,B+1)の相対関係の値であるA1−A3を差し引くと、(A+1,B+1)の出力値を基準とした相対関係を算出することができる。
However, if you can use a computer that does not hinder other processing even if you simply calculate the relative relationship of four pixels as a relative relationship based on another pixel, you can set where the origin is. It will be good. This will be specifically described using the above example. The relative relationship when the output value of (A, B) is used as a reference is (A + 1, B): A1-A2
(A + 1, B + 1): A1-A3
(A, B + 1): A1-A4
Met. Here, by subtracting A1-A3 which is the value of the relative relationship of (A + 1, B + 1) from the value of the relative relationship of each pixel, the relative relationship based on the output value of (A + 1, B + 1) can be calculated. it can.

(A,B) :A3−A1
(A+1,B):A3−A2
(A,B+1):A3−A4
かかる場合は、(A+1,B+1)に原点が設定されたとしても、(A,B)を基準として算出した相対関係の値を(A+1,B+1)を基準とした値に変換できるため、原点よりも上、左上、左の素子について更新量を算出することができる。同様に4画素相対関係の値をいずれかの更新量既算出点を基準とした値に変換して更新量を算出することができる。
(A, B): A3-A1
(A + 1, B): A3-A2
(A, B + 1): A3-A4
In such a case, even if the origin is set at (A + 1, B + 1), the relative value calculated based on (A, B) can be converted to a value based on (A + 1, B + 1). Also, the update amount can be calculated for the upper, upper left, and left elements. Similarly, the update amount can be calculated by converting the value of the 4-pixel relative relationship into a value based on any update amount already calculated point.

いずれの方法においても、一つの原点を基準として相対的なオフセット補正値のずれを更新量として算出している関係上、一つの連続した更新可能領域に存在する各画素について更新量が算出される。従って、更新可能領域であっても周囲が更新不可能な領域に囲まれている領域に原点を設定しないことが望ましい。   In any method, the update amount is calculated for each pixel existing in one continuous updatable region because the relative offset correction value shift is calculated as the update amount with reference to one origin. . Therefore, it is desirable not to set the origin in an area that is surrounded by a non-updatable area even if it is an updatable area.

<他の実施形態>
なお、本発明は上記の実施形態に限られるものではなく、様々に変形可能である。以下にその例をいくつか述べる。
<Other embodiments>
The present invention is not limited to the above-described embodiment, and can be variously modified. Some examples are described below.

{撮像装置、ターゲットが移動したときの処理}
これまで述べてきた説明においては、撮像装置とターゲットとが静止している領域のみをオフセット補正テーブル更新可能領域であるとした。しかし、撮像装置もしくはターゲットが移動した場合であっても、オフセット補正テーブルの更新をすることができる場合がある。補正テーブル更新可能領域算出部4において比較領域51が設定され、異なるフレーム間で比較領域51の相関が調べられるが、比較領域内が全て平行移動している場合には、オフセット補正テーブル更新可能領域とできる場合がある。かかる場合は、補正テーブル更新部5で比較する画素の位置を移動分だけシフトすればターゲットシーンの同一部分の撮像をした素子として扱えるためである。
{Processing when imaging device and target move}
In the description so far described, it is assumed that only the area where the imaging device and the target are stationary is the offset correction table updateable area. However, there are cases where the offset correction table can be updated even when the imaging apparatus or the target moves. The correction table updatable area calculation unit 4 sets the comparison area 51 and checks the correlation of the comparison area 51 between different frames. If all the comparison areas are translated, the offset correction table updatable area There are cases where you can. In such a case, if the position of the pixel to be compared by the correction table update unit 5 is shifted by the amount of movement, it can be handled as an element that images the same portion of the target scene.

移動分を求めるために、例えば位相相関法を用いることができる。比較領域内の全てが平行移動している場合に位相相関法によって比較領域51の相関を取ると、図14に示すように、相関値が閾値を超えているがピーク位置が中央ではない相関画像が得られる。位相相関法で相関値を求めた場合は、中央からのピーク位置のシフト分が平行移動したときの移動量である。移動量が求まると、補正テーブル更新部5が4画素相対関係を算出するときにその移動量を用いてシフト分だけ移動した位置にある画素との間で相対関係を算出する(図8のステップS53での処理に相当)。   In order to obtain the amount of movement, for example, a phase correlation method can be used. If the correlation of the comparison area 51 is obtained by the phase correlation method when all of the comparison areas are translated, a correlation image in which the correlation value exceeds the threshold value but the peak position is not at the center as shown in FIG. Is obtained. When the correlation value is obtained by the phase correlation method, it is the movement amount when the shift of the peak position from the center is moved in parallel. When the movement amount is obtained, when the correction table update unit 5 calculates the four-pixel relative relationship, the movement amount is used to calculate the relative relationship with the pixel at the position moved by the shift amount (step in FIG. 8). Equivalent to the processing in S53).

{視軸移動距離の変形例}
上述の実施例等で指向部2による視軸移動と視軸移動後の撮像の部分で、互いに隣接した4画素で視軸を移動させる場合の説明を行ったのは理解しやすくするために過ぎない。すなわち、オフセット補正用のデータを取得するために視軸の移動と撮像とを行うときに
、視軸を移動させる範囲は互いに隣り合った4画素である必要はない。さらに多くの画素にわたって視軸の移動と撮像とを繰り返しても良いし、2画素か、3画素での視軸移動に基づいて補正を行うことも考えられる。また、指向部2によって視軸が移動される前の視軸が存在していた位置と、移動後の視軸との距離が1画素分である必要はなく、数画素以上離れた位置に視軸を移動させても同様の処理によってオフセットの補正をすることが可能である。このような運用が可能であることによって、例えば、1画素分ずつ移動させて10フレーム程度の撮像をしたときに、そのフレームを間引きして一部を用いることも可能になり、運用の自由度が大きくなるという利点がある。
{Modification of visual axis movement distance}
In the above-described embodiment, the case where the visual axis is moved by the four pixels adjacent to each other in the portion of the visual axis movement by the directing unit 2 and the imaging after the visual axis movement is described only for easy understanding. Absent. That is, when the visual axis is moved and imaged in order to acquire offset correction data, the range in which the visual axis is moved does not have to be four pixels adjacent to each other. Further, the movement and imaging of the visual axis may be repeated over many pixels, and it is conceivable to perform correction based on the visual axis movement of two or three pixels. Further, the distance between the visual axis before the visual axis is moved by the directing unit 2 and the visual axis after the movement does not have to be one pixel, and the visual axis is viewed at a position several pixels or more away. Even if the axis is moved, the offset can be corrected by the same processing. With such an operation, for example, when about 10 frames are taken by moving one pixel at a time, it is possible to use a part of the frames by thinning out the frames. There is an advantage that becomes larger.

{その他}
オフセットの変動が急峻でない場合には、一定時間に一度、断続的にオフセット補正テーブル更新を行っても良い。このように断続的に行う場合においては、補正テーブルの更新を行っていない間は指向部2をサブピクセルステップで駆動して、スーパーレゾリューションに流用することが可能である。
{Others}
If the offset fluctuation is not steep, the offset correction table may be updated intermittently once every fixed time. In the case of intermittently performing in this way, the directional unit 2 can be driven in a sub-pixel step and used for super resolution while the correction table is not updated.

また、オフセット補正テーブルを更新するために、取得された全フレームを用いて行うことも可能である。この場合においてもオフセット補正に用いるフレーム数が多くなればノイズの影響が小さくなるという利点がある。   It is also possible to use all acquired frames in order to update the offset correction table. Even in this case, if the number of frames used for offset correction increases, there is an advantage that the influence of noise is reduced.

先に述べた実施例においては、素子の補正後の出力値を比較して得られる相対値を基にオフセット補正テーブルを更新している。従って、実施例に示したとおりにオフセット補正とゲイン補正の両方を行った後のデータを用いた場合に限らず、ゲイン補正のみを行った後の出力値の相対値に基づいてオフセット補正テーブル更新値を算出することも可能である。   In the embodiment described above, the offset correction table is updated based on the relative value obtained by comparing the output values after correction of the elements. Therefore, the offset correction table is updated based on the relative value of the output value after performing only the gain correction, not only when using the data after performing both the offset correction and the gain correction as shown in the embodiment. It is also possible to calculate a value.

指向部2は画像取得部全体を指向しても良いし、画像取得部1の一部分であるレンズやミラーを動かすことで指向しても良い。指向部2はマイクロスキャナで構成しても良いし、ジンバルなどで構成しても良い。   The directing unit 2 may direct the entire image acquisition unit or may move the lens by moving a lens or a mirror that is a part of the image acquisition unit 1. The directing unit 2 may be configured by a micro scanner or a gimbal.

(付記1) 画像取得手段と、
前記画像取得手段の視軸を移動する指向手段と、
前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正する補正手段と、
前記画像取得手段が画像を取得した後、次の画像を取得する前に前記指向手段が前記画像取得手段の視軸を移動させることを繰り返して複数の画像を取得することにより、異なる複数の素子で同一撮像対象に対する前記補正手段による補正後の前記複数の素子の素子間出力差を用いて更新量を求め、該更新量により前記複数の素子のうち少なくとも一つの素子についての前記補正手段で用いるオフセット補正用データを更新するデータ更新手段と、
を有することを特徴とするオフセット補正処理装置。
(Appendix 1) Image acquisition means;
Directing means for moving the visual axis of the image acquisition means;
Correction means for correcting the gain and offset of the output of each element included in the image acquisition means;
After the image acquisition means acquires an image, before the next image is acquired, the directing means repeatedly moves the visual axis of the image acquisition means to acquire a plurality of images, thereby obtaining a plurality of different elements. Then, an update amount is obtained by using the output difference between the elements of the plurality of elements after correction by the correction means for the same imaging target, and is used in the correction means for at least one of the plurality of elements based on the update amount. Data updating means for updating offset correction data;
An offset correction processing apparatus characterized by comprising:

(付記2) 前記データ更新手段は、前記撮像対象の第一の部分を第一の素子群が撮像したときの第一の素子間出力差を算出し、
前記複数の画像のうちで、前記複数の素子のうちの一つの素子が前記第一の部分を撮像した画像とは異なる画像で撮像した、前記撮像対象の第二の部分について、前記一つの素子とは異なる素子も前記第二の部分を撮像している場合に、前記第二の部分を撮像した第二の素子群について第二の部分を撮像したときに生ずる第二の素子間出力差を前記一つの素子を基準として算出し、
第一の素子間出力差、および、第二の素子間出力差を用いて更新量を求め、前記更新量により、前記第一の素子群もしくは前記第二の素子群に含まれる素子のうち少なくとも一
つの素子についての前記補正手段で用いるオフセット補正用データを更新する
ことを特徴とする、付記1に記載のオフセット補正処理装置。
(Supplementary Note 2) The data update means calculates a first inter-element output difference when the first element group images the first part of the imaging target,
Among the plurality of images, one element of the plurality of elements is imaged with an image different from an image obtained by imaging the first part, and the one element is the second element to be imaged. When the second part is also picking up an image of the second part, the second element output difference that occurs when the second part is picked up with respect to the second element group picking up the second part is also obtained. Calculate based on the one element,
An update amount is obtained using the first output difference between the elements and the second output difference between the elements, and at least of the elements included in the first element group or the second element group based on the update amount. The offset correction processing apparatus according to appendix 1, wherein the offset correction data used by the correction unit for one element is updated.

(付記3) 前記データ更新手段は、前記第一の素子群のうちの一つを第一の基準素子として、前記第一の基準素子の補正後の出力から前記第一の素子群の他の素子の補正後の出力を差し引いて第一の基準素子に対する素子間出力差を算出し、
前記第二の素子群のうちの一つを第二の基準素子として、前記第二の基準素子の補正後の出力から前記第二の素子群の他の素子の補正後の出力を差し引いて第二の基準素子に対する素子間出力差を算出し、
前記第一の基準素子と前記第二の基準素子との間で、撮像対象の同一部分を撮像するときに生じる基準素子間での出力差をさらに算出し、
算出された前記基準素子間での出力差と前記第一の基準素子の更新量とから、前記第二の基準素子の更新量を求め、
前記データ更新手段によって算出された前記第二の基準素子に対する素子間出力差、および、前記基準素子間での出力差を、前記第二の素子群の各素子の更新量に加算することにより、第二の素子群の少なくとも一つの素子のオフセット補正用データを更新して、前記第一の部分を撮像したときの素子の間の出力差、ならびに、第二の部分を撮像したときの素子の間の出力差を小さくする
ことを特徴とする、付記2に記載のオフセット補正処理装置。
(Supplementary Note 3) The data updating means may use one of the first element groups as a first reference element, and the other output of the first element group from the corrected output of the first reference element. Subtracting the corrected output of the element to calculate the output difference between the elements relative to the first reference element,
Using one of the second element groups as a second reference element, subtracting the corrected output of the other elements of the second element group from the corrected output of the second reference element Calculate the output difference between the elements for the two reference elements,
Further calculating an output difference between the first reference element and the second reference element between the reference elements that occurs when imaging the same portion of the imaging target,
From the calculated output difference between the reference elements and the update amount of the first reference element, obtain the update amount of the second reference element,
By adding the output difference between the elements with respect to the second reference element calculated by the data updating means, and the output difference between the reference elements, to the update amount of each element of the second element group, Update the offset correction data of at least one element of the second element group, the output difference between the elements when imaging the first part, and the element difference when imaging the second part The offset correction processing device according to appendix 2, wherein the output difference between the two is reduced.

(付記4) 前記複数の画像に、画像間の相関値を算出するための比較領域をそれぞれ設定し、前記複数の画像のうちの一つの画像の比較領域と他の画像の比較領域との相関を算出して、一定以上の相関が得られたときに、各画像の比較領域を補正テーブル更新が可能な領域であると判定する補正テーブル更新可能領域算出手段をさらに有し、
前記データ更新手段は、前記補正テーブル更新可能領域算出手段により、補正テーブル更新が可能であると判定された領域の撮像を行った、複数の素子を選択し、
前記選択された複数の素子のうちの一つの素子の前記補正手段による補正後の出力を基準として、前記選択された複数の素子のうちの他の素子からの出力の差を用いて更新量を求め、前記更新量により前記オフセット補正用データを更新する
ことを特徴とする、付記1乃至3のいずれか一項に記載のオフセット補正処理装置。
(Supplementary Note 4) A comparison region for calculating a correlation value between images is set in each of the plurality of images, and the correlation between the comparison region of one image of the plurality of images and the comparison region of another image is set. And a correction table updatable area calculating means for determining that the comparison area of each image is an area where the correction table can be updated when a certain correlation or more is obtained,
The data updating means selects a plurality of elements that have imaged the area determined to be amendable by the correction table updateable area calculating means,
Based on the output after correction by the correction means of one of the selected elements, the update amount is determined using the difference in output from the other elements of the selected elements. The offset correction processing apparatus according to any one of appendices 1 to 3, wherein the offset correction data is updated according to the update amount.

(付記5) 画像取得手段の画像取得後に、指向手段が前記画像取得手段の視軸を移動させ、前記視軸の移動後に前記画像取得手段が画像を取得する処理を繰り返して複数の画像を取得することによって異なる複数の素子で同一撮像対象を撮像し、
前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正手段で補正したときの前記複数の素子からの出力の差を用いて更新量を求め、
前記更新量により前記複数の素子のうち少なくとも一つの素子についての前記補正手段で用いるオフセット補正用データを更新する
ことを特徴とするオフセット補正処理方法。
(Supplementary Note 5) After the image is acquired by the image acquisition unit, the directing unit moves the visual axis of the image acquisition unit, and the image acquisition unit acquires the plurality of images by repeating the process of acquiring the image after the movement of the visual axis. To image the same imaging target with a plurality of different elements,
Using the difference in output from the plurality of elements when the gain and offset of the output of each element included in the image acquisition unit are corrected by a correction unit, an update amount is obtained,
An offset correction processing method, comprising: updating offset correction data used in the correction unit for at least one of the plurality of elements according to the update amount.

(付記6) 前記画像取得手段による撮像と前記指向手段による前記視軸の移動を繰り返すことによって、複数の画像を取得し、
前記複数の画像において、異なる複数の素子で前記撮像対象の同一の部分を撮像した関係にある領域を特定し、
特定された領域を撮像した前記複数の素子に対して、撮像した前記撮像対象の部分ごとに、前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正手段で補正したときにおける、前記複数の素子間での出力差を用いて更新量を求め、
前記更新量により前記補正手段で用いるオフセット補正用データを更新することを特徴とする、付記5に記載のオフセット補正処理方法。
(Supplementary Note 6) By repeating the imaging by the image acquisition unit and the movement of the visual axis by the directing unit, a plurality of images are acquired,
In the plurality of images, specify a region in a relationship in which the same portion of the imaging target is imaged with different elements,
For the plurality of elements that have imaged the specified region, for each portion of the imaging target that has been imaged, when the gain and offset of the output of each element included in the image acquisition means are corrected by the correction means, Using the output difference between multiple elements, find the update amount,
6. The offset correction processing method according to appendix 5, wherein offset correction data used by the correction unit is updated according to the update amount.

(付記7) 前記複数の画像から基準の画像を選択し、
前記選択した画像から第一の比較領域を切り取り、
他の各画像を、各画像を取得したときの前記画像取得手段の視軸の位置と前記基準の画像を前記画像取得手段が取得したときとの視軸の移動量を打ち消すように切り取り位置を移動させて第二の比較領域を切り取り、
前記基準の画像から切り取られた第一の比較領域と、他の画像から切り取られた第二の比較領域とを比較して、
比較された画像同士において、前記撮像対象の同一部分を前記一定の領域内における同一の位置に撮像している場合には、異なる複数の素子で撮像対象の同一の部分を撮像していると判定することを特徴とする、付記6に記載のオフセット補正処理方法。
(Appendix 7) A reference image is selected from the plurality of images,
Cutting out a first comparison region from the selected image;
The other image is clipped so that the position of the visual axis of the image acquisition means when each image is acquired and the amount of movement of the visual axis when the image acquisition means acquires the reference image are cancelled. Move to cut out the second comparison area,
Comparing the first comparison region cut from the reference image with the second comparison region cut from the other image;
In the compared images, when the same part of the imaging target is imaged at the same position in the certain area, it is determined that the same part of the imaging target is captured by different elements. The offset correction processing method according to appendix 6, wherein:

(付記8) 異なる複数の素子で撮像対象の同一の部分を撮像した結果、前記同一の部分として撮像された部分が複数存在する場合に、
前記複数の素子の一つをオフセット補正用データの更新の基準の素子とし、
前記同一の部分として撮像された部分ごとに、同一の部分を撮像した素子間での出力差を求め、
前記複数の素子の各素子と、前記更新の基準の素子とが、前記撮像対象の同一部分の一つを撮像したときに生じる、各素子の出力と前記更新の基準とした素子との出力差を算出し、
算出した出力差により求めた更新量により、前記補正手段で用いるオフセット補正用データを更新することを特徴とする、付記6乃至8のいずれか一項に記載のオフセット補正処理方法。
(Supplementary Note 8) As a result of imaging the same part of the imaging target with a plurality of different elements, when there are a plurality of parts imaged as the same part,
One of the plurality of elements is used as a reference element for updating offset correction data,
For each part imaged as the same part, determine the output difference between the elements that imaged the same part,
The output difference between the output of each element and the element used as the reference for updating, which occurs when each element of the plurality of elements and the reference element for updating image one of the same parts of the imaging target To calculate
The offset correction processing method according to any one of appendices 6 to 8, wherein the offset correction data used in the correction unit is updated with an update amount obtained from the calculated output difference.

図1は、オフセット補正処理装置の一態様の概要を示す図である。FIG. 1 is a diagram illustrating an outline of an aspect of an offset correction processing apparatus. 図2は、オフセット補正処理装置の構成の具体例を示す図である。FIG. 2 is a diagram illustrating a specific example of the configuration of the offset correction processing apparatus. 図3は、初期補正テーブルの算出についてのフローチャートである。FIG. 3 is a flowchart for calculating the initial correction table. 図4は、補正画像の取得についてのフローチャートである。FIG. 4 is a flowchart for obtaining a corrected image. 図5は、指向部による走査を示す図である。FIG. 5 is a diagram illustrating scanning by the directing unit. 図6は、指向部による視軸の移動と視軸移動後の撮像についてのフローチャートである。FIG. 6 is a flowchart of the movement of the visual axis by the directional unit and the imaging after the movement of the visual axis. 図7は、補正テーブル更新可能領域が算出される際のフローチャートである。FIG. 7 is a flowchart when the correction table updateable area is calculated. 図8は、オフセット補正テーブルの更新についてのフローチャートである。FIG. 8 is a flowchart for updating the offset correction table. 図9は、各フレームで撮像されたターゲットシーンの範囲について説明する図である。FIG. 9 is a diagram for explaining the range of the target scene imaged in each frame. 図10は、画像の座標系を示す図である。FIG. 10 is a diagram showing an image coordinate system. 図11は、比較領域の切り出しと比較領域の座標系を説明する図である。FIG. 11 is a diagram for explaining the cutting of the comparison area and the coordinate system of the comparison area. 図12は、比較領域の切り出し座標を説明する図である。FIG. 12 is a diagram for explaining the cut-out coordinates of the comparison area. 図13は、位相相関を用いて相関値算出を行った場合の相関画像の例を示す図である。FIG. 13 is a diagram illustrating an example of a correlation image when the correlation value is calculated using the phase correlation. 図14は、位相相関を用いた相関値算出により撮像装置等の移動を検出する場合の相関画像の例を示す図である。FIG. 14 is a diagram illustrating an example of a correlation image in the case where the movement of the imaging device or the like is detected by calculating a correlation value using phase correlation.

符号の説明Explanation of symbols

1 画像取得部
2 指向部
3 補正部
4 補正テーブル更新可能領域算出部
5 補正テーブル更新部
10 レンズ部
11 マイクロスキャナ部
12 光路切替部
13 低温基準熱板部
14 高温基準熱板部
15 光電変換部
16 増幅部
17 A/D変換部
18 初期補正テーブル算出部
19 低温画像格納メモリ
20 高温画像格納メモリ
21 ゲイン格納メモリ
22 オフセット格納メモリ
23 補正処理部
24 比較領域抽出部
25 フレーム(1)格納メモリ
26 フレーム(2)格納メモリ
27 フレーム(3)格納メモリ
28 フレーム(4)格納メモリ
29 位相相関処理部
30 オフセット補正テーブル更新部
31 平均値算出メモリ
40 撮像対象の一部分
41 撮像対象の一部分40をフレーム(1)撮像時に撮像した画素
42 撮像対象の一部分40をフレーム(2)撮像時に撮像した画素
43 撮像対象の一部分40をフレーム(3)撮像時に撮像した画素
44 撮像対象の一部分40をフレーム(4)撮像時に撮像した画素
50 有効領域
51、51a、51b、51c、51d 比較領域
52、52a、52b、52c、52d 相関処理用注目点
DESCRIPTION OF SYMBOLS 1 Image acquisition part 2 Direction part 3 Correction | amendment part 4 Correction table updateable area calculation part 5 Correction table update part 10 Lens part 11 Micro scanner part 12 Optical path switching part 13 Low temperature reference | standard hot plate part 14 High temperature reference | standard hot plate part 15 Photoelectric conversion part DESCRIPTION OF SYMBOLS 16 Amplification part 17 A / D conversion part 18 Initial correction table calculation part 19 Low temperature image storage memory 20 High temperature image storage memory 21 Gain storage memory 22 Offset storage memory 23 Correction processing part 24 Comparison area extraction part 25 Frame (1) storage memory 26 Frame (2) storage memory 27 Frame (3) storage memory 28 Frame (4) storage memory 29 Phase correlation processing unit 30 Offset correction table update unit 31 Average value calculation memory 40 Part of imaging target 41 Frame of part (40) of imaging target 1) Pixel imaged at the time of imaging 42 Frame 40 ) Pixel imaged at the time of imaging 43 Frame of part 40 of the imaging target (3) Pixel imaged at the time of imaging 44 Frame (4) Pixel imaged of the part 40 of the imaging target at the time of imaging 50 Effective area 51, 51 a, 51 b, 51 c, 51 d Comparison area 52, 52a, 52b, 52c, 52d Points of interest for correlation processing

Claims (3)

画像取得手段と、
前記画像取得手段の視軸を移動する指向手段と、
前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正する補正手段と、
前記画像取得手段が画像を取得した後、次の画像を取得する前に前記指向手段が前記画像取得手段の視軸を移動させることを繰り返して複数の画像を取得することにより、異なる複数の素子で同一撮像対象に対する前記補正手段による補正後の前記複数の素子の素子間出力差を用いて更新量を求め、該更新量により前記複数の素子のうち少なくとも一つの素子についての前記補正手段で用いるオフセット補正用データを更新するデータ更新手段と、
を有し、
前記データ更新手段は、前記撮像対象の第一の部分を第一の素子群が撮像したときの前記第一の素子群のうちの一つを第一の基準素子として、前記第一の基準素子の補正後の出力から前記第一の素子群の他の素子の補正後の出力を差し引いて第一の基準素子に対する素子間出力差を算出し、
前記複数の画像のうちで、前記複数の素子のうちの一つの素子が前記第一の部分を撮像した画像とは異なる画像で撮像した、前記撮像対象の第二の部分について、前記一つの素子とは異なる素子も前記第二の部分を撮像している場合に、前記第二の部分を撮像した第二の素子群について、前記第二の素子群のうちの一つを第二の基準素子として、前記第二の基準素子の補正後の出力から前記第二の素子群の他の素子の補正後の出力を差し引いて第二の基準素子に対する素子間出力差を算出し、
前記第一の基準素子と前記第二の基準素子との間で、撮像対象の同一部分を撮像するときに生じる基準素子間での出力差をさらに算出し、
算出された前記基準素子間での出力差と前記第一の基準素子の更新量とから、前記第二の基準素子の更新量を求め、
前記データ更新手段によって算出された前記第二の基準素子に対する素子間出力差、および、前記基準素子間での出力差を、前記第二の素子群の各素子の更新量に加算することにより、第二の素子群の少なくとも一つの素子のオフセット補正用データを更新して、前記第一の部分を撮像したときの素子の間の出力差、ならびに、第二の部分を撮像したときの素子の間の出力差を小さくする、
ことを特徴とするオフセット補正処理装置。
Image acquisition means;
Directing means for moving the visual axis of the image acquisition means;
Correction means for correcting the gain and offset of the output of each element included in the image acquisition means;
After the image acquisition means acquires an image, before the next image is acquired, the directing means repeatedly moves the visual axis of the image acquisition means to acquire a plurality of images, thereby obtaining a plurality of different elements. Then, an update amount is obtained by using the output difference between the elements of the plurality of elements after correction by the correction means for the same imaging target, and is used in the correction means for at least one of the plurality of elements based on the update amount. Data updating means for updating offset correction data;
I have a,
The data updating means uses the first reference element as one of the first element groups when the first element group images the first part to be imaged. Subtracting the corrected output of the other elements of the first element group from the corrected output of the first element to calculate the output difference between the elements relative to the first reference element,
Among the plurality of images, one element of the plurality of elements is imaged with an image different from an image obtained by imaging the first part, and the one element is the second element to be imaged. In the case where the second part is also picked up by the element different from the second part, one of the second element groups is designated as the second reference element. And subtracting the corrected output of the other elements of the second element group from the corrected output of the second reference element to calculate the inter-element output difference with respect to the second reference element,
Further calculating an output difference between the first reference element and the second reference element between the reference elements that occurs when imaging the same portion of the imaging target,
From the calculated output difference between the reference elements and the update amount of the first reference element, obtain the update amount of the second reference element,
By adding the output difference between the elements with respect to the second reference element calculated by the data updating means, and the output difference between the reference elements, to the update amount of each element of the second element group, Update the offset correction data of at least one element of the second element group, the output difference between the elements when imaging the first part, and the element difference when imaging the second part To reduce the output difference between
An offset correction processing apparatus.
前記複数の画像に、画像間の相関値を算出するための比較領域をそれぞれ設定し、前記複数の画像のうちの一つの画像の比較領域と他の画像の比較領域との相関を算出して、一定以上の相関が得られたときに、各画像の比較領域を補正テーブル更新が可能な領域であると判定する補正テーブル更新可能領域算出手段をさらに有し、
前記データ更新手段は、前記補正テーブル更新可能領域算出手段により、補正テーブル更新が可能であると判定された領域の撮像を行った、複数の素子を選択し、
前記選択された複数の素子のうちの一つの素子の前記補正手段による補正後の出力を基準として、前記選択された複数の素子のうちの他の素子からの出力の差を用いて更新量を求め、前記更新量により前記オフセット補正用データを更新する
ことを特徴とする、請求項1に記載のオフセット補正処理装置。
A comparison region for calculating a correlation value between images is set for each of the plurality of images, and a correlation between a comparison region of one image of the plurality of images and a comparison region of another image is calculated. And a correction table updatable area calculating means for determining that the comparison area of each image is an area where the correction table can be updated when a certain correlation or more is obtained,
The data updating means selects a plurality of elements that have imaged the area determined to be amendable by the correction table updateable area calculating means,
Based on the output after correction by the correction means of one of the selected elements, the update amount is determined using the difference in output from the other elements of the selected elements. The offset correction processing apparatus according to claim 1 , wherein the offset correction data is determined and updated according to the update amount.
オフセット補正処理方法において、
画像取得手段の画像取得後に、指向手段が前記画像取得手段の視軸を移動させ、前記視軸の移動後に前記画像取得手段が画像を取得する処理を繰り返して複数の画像を取得することによって異なる複数の素子で同一撮像対象を撮像する撮像ステップと
前記画像取得手段に含まれる各素子の出力のゲインおよびオフセットを補正手段で補正したときの前記複数の素子からの出力の差を用いて更新量を求める更新量取得ステップと
前記更新量により前記複数の素子のうち少なくとも一つの素子についての前記補正手段で用いるオフセット補正用データを更新するオフセット補正用データ更新ステップと、
を備え、
前記オフセット補正用データ更新ステップは、前記撮像対象の第一の部分を第一の素子群が撮像したときの前記第一の素子群のうちの一つを第一の基準素子として、前記第一の基準素子の補正後の出力から前記第一の素子群の他の素子の補正後の出力を差し引いて第一の基準素子に対する素子間出力差を算出し、
前記複数の画像のうちで、前記複数の素子のうちの一つの素子が前記第一の部分を撮像した画像とは異なる画像で撮像した、前記撮像対象の第二の部分について、前記一つの素子とは異なる素子も前記第二の部分を撮像している場合に、前記第二の部分を撮像した第二の素子群について、前記第二の素子群のうちの一つを第二の基準素子として、前記第二の基準素子の補正後の出力から前記第二の素子群の他の素子の補正後の出力を差し引いて第二の基準素子に対する素子間出力差を算出し、
前記第一の基準素子と前記第二の基準素子との間で、撮像対象の同一部分を撮像するときに生じる基準素子間での出力差をさらに算出し、
算出された前記基準素子間での出力差と前記第一の基準素子の更新量とから、前記第二の基準素子の更新量を求め、
前記データ更新手段によって算出された前記第二の基準素子に対する素子間出力差、および、前記基準素子間での出力差を、前記第二の素子群の各素子の更新量に加算することにより、第二の素子群の少なくとも一つの素子のオフセット補正用データを更新して、前記第一の部分を撮像したときの素子の間の出力差、ならびに、第二の部分を撮像したときの素子の間の出力差を小さくする、
ことを特徴とするオフセット補正処理方法。
In the offset correction processing method,
After the image acquisition by the image acquisition means, the directing means moves the visual axis of the image acquisition means, and after the movement of the visual axis, the image acquisition means repeats the process of acquiring images to acquire a plurality of images. An imaging step of imaging the same imaging target with a plurality of elements;
The difference update amount obtaining step asking you to update amount using the output from the plurality of elements when the gain and offset of the output of each element was corrected by the correction means included in the image acquisition unit,
An offset correction data update step for updating offset correction data used in the correction means for at least one of the plurality of elements according to the update amount ;
With
In the offset correction data update step, one of the first element groups when the first element group images the first part to be imaged is defined as the first reference element. Subtracting the corrected output of the other elements of the first element group from the corrected output of the reference element to calculate the inter-element output difference for the first reference element,
Among the plurality of images, one element of the plurality of elements is imaged with an image different from an image obtained by imaging the first part, and the one element is the second element to be imaged. In the case where the second part is also picked up by the element different from the second part, one of the second element groups is designated as the second reference element. And subtracting the corrected output of the other elements of the second element group from the corrected output of the second reference element to calculate the inter-element output difference with respect to the second reference element,
Further calculating an output difference between the first reference element and the second reference element between the reference elements that occurs when imaging the same portion of the imaging target,
From the calculated output difference between the reference elements and the update amount of the first reference element, obtain the update amount of the second reference element,
By adding the output difference between the elements with respect to the second reference element calculated by the data updating means, and the output difference between the reference elements, to the update amount of each element of the second element group, Update the offset correction data of at least one element of the second element group, the output difference between the elements when imaging the first part, and the element difference when imaging the second part To reduce the output difference between
An offset correction processing method characterized by the above.
JP2007284544A 2007-10-31 2007-10-31 Offset correction processing device Active JP5266721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007284544A JP5266721B2 (en) 2007-10-31 2007-10-31 Offset correction processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007284544A JP5266721B2 (en) 2007-10-31 2007-10-31 Offset correction processing device

Publications (2)

Publication Number Publication Date
JP2009109441A JP2009109441A (en) 2009-05-21
JP5266721B2 true JP5266721B2 (en) 2013-08-21

Family

ID=40778060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007284544A Active JP5266721B2 (en) 2007-10-31 2007-10-31 Offset correction processing device

Country Status (1)

Country Link
JP (1) JP5266721B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02222274A (en) * 1989-02-22 1990-09-05 Fujitsu Ltd Sensing element offset correction device for infrared ray image pickup device
US5514865A (en) * 1994-06-10 1996-05-07 Westinghouse Electric Corp. Dither image scanner with compensation for individual detector response and gain correction
US6011584A (en) * 1996-12-09 2000-01-04 Raytheon Company Method and apparatus for correcting offsets of two detectors using respective functions of a difference

Also Published As

Publication number Publication date
JP2009109441A (en) 2009-05-21

Similar Documents

Publication Publication Date Title
US8717414B2 (en) Method and apparatus for matching color image and depth image
US8878946B2 (en) Image processing apparatus and control method therefor
JP2007134903A (en) Device and method for correcting quantity of peripheral light, electronic information equipment, control program, and readable recording medium
KR20150074641A (en) Auto focus adjusting method and auto focus adjusting apparatus
JP2015018205A (en) Focus detection unit, method therefor, and image capturing device
JP2018107526A (en) Image processing device, imaging apparatus, image processing method and computer program
JP5398612B2 (en) Moving object detection apparatus and method
US20060197853A1 (en) Solid-state image pickup apparatus for correcting a seam between divided images and a method therefor
US7831091B2 (en) Pattern matching system
JP3958638B2 (en) Stereo image processing apparatus and stereo image processing method
JPWO2014041845A1 (en) Imaging apparatus and signal processing method
JP6557499B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, IMAGING DEVICE, PROGRAM, AND STORAGE MEDIUM
KR20080061629A (en) Photographing apparatus and the same control method
JP2019168479A (en) Controller, imaging device, method for control, program, and, and storage medium
JP5266721B2 (en) Offset correction processing device
JP2007049266A (en) Picture imaging apparatus
US7990417B2 (en) Targeted object pursuit system
JP2007122328A (en) Distortion aberration correction device and distortion aberration correction method
JP6176073B2 (en) Imaging system and program
US20160269715A1 (en) Parallax correction of imaging system
JP2019071522A (en) Imaging apparatus and control method
JP2015118338A (en) Image capturing device, control method therefor, program, and storage medium
JP6566800B2 (en) Imaging apparatus and imaging method
JP2014154977A (en) Image processing apparatus, image processing method, and imaging device
US11044396B2 (en) Image processing apparatus for calculating a composite ratio of each area based on a contrast value of images, control method of image processing apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130304

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130422

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5266721

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150