JP2003116048A - Shading correction method - Google Patents
Shading correction methodInfo
- Publication number
- JP2003116048A JP2003116048A JP2001309811A JP2001309811A JP2003116048A JP 2003116048 A JP2003116048 A JP 2003116048A JP 2001309811 A JP2001309811 A JP 2001309811A JP 2001309811 A JP2001309811 A JP 2001309811A JP 2003116048 A JP2003116048 A JP 2003116048A
- Authority
- JP
- Japan
- Prior art keywords
- filter
- tap
- dimensional
- vertical
- vertical direction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000003705 background correction Methods 0.000 title claims abstract description 23
- 230000015654 memory Effects 0.000 claims abstract description 79
- 230000004075 alteration Effects 0.000 claims description 6
- 238000009499 grossing Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 238000001914 filtration Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 17
- 238000005070 sampling Methods 0.000 description 15
- 238000013500 data storage Methods 0.000 description 11
- 238000004364 calculation method Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000003139 buffering effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Studio Devices (AREA)
- Image Input (AREA)
- Picture Signal Circuits (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はテレビジョンカメラ
を用いて撮像した場合の、レンズの光学系や、撮像素子
の感度むら、および、光源の方向性など撮像条件による
むらを補正するシェーディング補正方法に関するもので
ある。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shading correction method for correcting unevenness due to image pickup conditions such as an optical system of a lens and an image pickup element, and a light source directionality when an image is picked up by a television camera. It is about.
【0002】[0002]
【従来の技術】テレビジョンカメラを用いて撮像した映
像には様々な理由で、収差が発生する。本発明で対象と
する収差は、シェーディングと称される収差であり、ブ
ラックシェーディングと変調シェーディングがある。発
生の理由は、レンズの光学系や、撮像素子の感度むら
や、テレビジョンカメラ内のアナログ処理回路における
方向性不均一性による偏りや、光源の方向性など撮像条
件によるむらなど様々である。2. Description of the Related Art Aberration occurs in an image picked up by a television camera for various reasons. The aberration targeted by the present invention is an aberration called shading, and includes black shading and modulation shading. There are various reasons for the occurrence, such as unevenness in sensitivity of the optical system of the lens and the image pickup device, bias due to directional nonuniformity in the analog processing circuit in the television camera, and unevenness due to image pickup conditions such as the directionality of the light source.
【0003】光源の方向性によるむらを例に取ると、画
像計測などでカメラを用いて撮像する場合、計測対象と
カメラは接近しており、光源は被写体に対し、斜めから
照らす状態となり、画面上の光量に不均一性が発生す
る。これは変調シェーディングとして映像に悪影響をお
よぼす。光源の方向性によるむらがある場合、画面全体
に均一な白い画像を映した際、その映像に光量の不均一
性による偏りが、変調シェーディングとして含まれる。Taking the unevenness due to the directionality of the light source as an example, when a camera is used for image measurement or the like, the object to be measured and the camera are close to each other, and the light source illuminates the subject obliquely. Non-uniformity occurs in the amount of light above. This adversely affects the image as modulation shading. When there is unevenness due to the directionality of the light source, when a uniform white image is displayed on the entire screen, the deviation due to the nonuniformity of the light amount is included in the image as the modulation shading.
【0004】図12にシェーディング信号の例を示す。
図12は垂直方向にのみ偏りがある場合を示している。
この変調シェーディングを補正する方法として、従来は
垂直方向に1次元の補正信号を発生させ、収差の補正を
行っていた。FIG. 12 shows an example of a shading signal.
FIG. 12 shows a case where there is a bias only in the vertical direction.
As a method of correcting the modulation shading, conventionally, a one-dimensional correction signal is generated in the vertical direction to correct the aberration.
【0005】図13に従来の構成と波形を示す。レンズ
などの光学系1より取りこまれた映像は、CCDなどの
撮像素子2、映像信号処理回路3を経て、電気的な映像
信号となる。この段階での波形を7に示す。波形7では
偏りが中心位置を100%レベルとした場合、画面端の
レベルが50%であったと仮定する。この情報をブロッ
ク単位に測定する。但し、偏りは垂直方向のみで、水平
方は一定とし、水平方向の特定の領域を代表として測定
する。関係を図12にも示す。FIG. 13 shows a conventional configuration and waveform. An image captured by an optical system 1 such as a lens passes through an image pickup element 2 such as a CCD and an image signal processing circuit 3 and becomes an electrical image signal. The waveform at this stage is shown in FIG. In the waveform 7, it is assumed that the level at the screen edge is 50% when the center position of the bias is 100%. This information is measured in blocks. However, the deviation is only in the vertical direction, the horizontal direction is constant, and a specific region in the horizontal direction is representatively measured. The relationship is also shown in FIG.
【0006】次に、この偏りを補正すべく、ブロック単
位に補正信号を求める。補正信号は利得に相当する。こ
の例では、画面中心に全体のレベルを合わせるとし、画
面中心に相当するブロックの補正信号、つまり利得を1
倍とすると、画面端に相当するブロックの利得Gは50
%×G=100%で、G=2倍となる。ブロック単位に
求められた補正データは、メモリ6に備えておく。メモ
リ6から、映像の垂直同期信号に同期してブロックデー
タを読み出す。波形を9に示す。Next, in order to correct this bias, a correction signal is obtained in block units. The correction signal corresponds to gain. In this example, assuming that the entire level is adjusted to the center of the screen, the correction signal of the block corresponding to the center of the screen, that is, the gain is set to 1
If it is doubled, the gain G of the block corresponding to the screen edge is 50.
% × G = 100%, and G = 2 times. The correction data obtained for each block is stored in the memory 6. The block data is read from the memory 6 in synchronization with the vertical synchronizing signal of the video. The waveform is shown in 9.
【0007】次にアナログフィルタ回路5でスムージン
グを行い、補正信号を得る。この補正信号の波形を8に
示す。この補正信号を乗算回路4’で映像信号に乗ずる
と、信号は一律100%となり、均一となる。このよう
な方法でシェーディング補正を行っていた。Next, smoothing is performed in the analog filter circuit 5 to obtain a correction signal. The waveform of this correction signal is shown in FIG. When this correction signal is multiplied by the video signal in the multiplication circuit 4 ', the signal is uniformly 100% and uniform. Shading correction was performed by such a method.
【0008】ここで、スムージングするフィルタの特性
を説明する。図13のフィルタ回路5のスムージング用
フィルタ特性を図14に示す。図14において、丸印を
つないだ曲線がフィルタ出力であり、階段状波形がフィ
ルタ入力である。1ブロックがNクロックであり、ブロ
ック単位のサンプリング周期をFoとする。Now, the characteristics of the smoothing filter will be described. FIG. 14 shows the smoothing filter characteristic of the filter circuit 5 of FIG. In FIG. 14, a curve connecting circles is a filter output, and a staircase waveform is a filter input. One block has N clocks, and the sampling period in block units is Fo.
【0009】ブロック信号の周波数成分は図15とな
る。つまり、ブロック信号のサンプリング周波数をFs
とすると、Fo=Fs/Nとなり、Foの間隔でFoの
整数倍周波数に高調波成分を持つことになる。スムージ
ングして、ブロックの段差を取り除くことは、この高調
波成分を取り除くことに他ならない。The frequency components of the block signal are shown in FIG. That is, the sampling frequency of the block signal is set to Fs
Then, Fo = Fs / N, and there is a harmonic component at an integral multiple frequency of Fo at intervals of Fo. Smoothing to remove the block step is nothing but to remove this harmonic component.
【0010】[0010]
【発明が解決しようとする課題】このように、従来のシ
ェーディング補正は、1次元処理であるが、これに対し
て実際の偏りは、2次元の偏差を持っている。特に、光
源の方向性による“むら”などは、複雑な偏差を含むこ
とになり、従来の1次元補正方式偏差が残り、不充分で
あった。As described above, the conventional shading correction is one-dimensional processing, whereas the actual bias has a two-dimensional deviation. In particular, "unevenness" due to the directionality of the light source includes a complicated deviation, and the conventional one-dimensional correction method deviation remains, which is insufficient.
【0011】本発明の目的は、2次元の偏差を取り除く
シェーディング補正方法を提供することにある。An object of the present invention is to provide a shading correction method for removing a two-dimensional deviation.
【0012】[0012]
【課題を解決するための手段】本発明は、撮像された画
像の収差をリアルタイムで補正するシェーディング補正
方法において、水平方向および垂直方向の2次元の補正
用ブロックデータを備え、該2次元の補正用ブロックデ
ータを2次元フィルタでスムージング処理し、処理後の
信号を用いて、映像信号のシェーディング補正を行うこ
とを特徴とするシェーディング補正方法である。The present invention provides a shading correction method for correcting aberration of a captured image in real time, comprising two-dimensional correction block data in the horizontal and vertical directions, and the two-dimensional correction. The shading correction method is characterized in that the block data for use is smoothed by a two-dimensional filter, and the shading correction of the video signal is performed using the processed signal.
【0013】本発明は、前記2次元フィルタを、垂直方
向フィルタおよび水平方向フィルタで構成し、且つ前記
垂直方向フィルタのフィルタ状態を格納するバッファメ
モリを備えたことを特徴とするシェーディング補正方法
である。The present invention is the shading correction method, wherein the two-dimensional filter is composed of a vertical filter and a horizontal filter, and a buffer memory for storing the filter state of the vertical filter is provided. .
【0014】本発明は、前記2次元フィルタを、垂直方
向フィルタおよび水平方向フィルタで構成し、且つ前記
垂直方向フィルタをラインごとに前記垂直方向フィルタ
のタップ数分、前記垂直方向フィルタが更新された結果
の状態を各タップに書きこむことを特徴とするシェーデ
ィング補正方法である。According to the present invention, the two-dimensional filter is composed of a vertical direction filter and a horizontal direction filter, and the vertical direction filter is updated line by line by the number of taps of the vertical direction filter. The shading correction method is characterized in that the resulting state is written in each tap.
【0015】[0015]
【発明の実施の形態】図1に本発明の実施の形態による
シェーディング補正方法を有する構成を示す。レンズな
どの光学系1より取りこまれた映像は、CCDなどの撮
像素子2、映像信号処理回路3を経て、電気的な映像信
号となる。ブロック単位に求められた補正用ブロックデ
ータを、メモリ6に備えておく。メモリ6から、映像の
水平・垂直同期信号に同期して補正用ブロックデータを
読み出し、2次元デジタルフィルタ回路5Dでスムージ
ングを行い補正信号を得、この補正信号を減算回路4で
入力される映像信号から減じてシェーディング補正を行
なう。FIG. 1 shows a configuration having a shading correction method according to an embodiment of the present invention. An image captured by an optical system 1 such as a lens passes through an image pickup element 2 such as a CCD and an image signal processing circuit 3 and becomes an electrical image signal. The correction block data obtained in block units is stored in the memory 6. The correction block data is read from the memory 6 in synchronism with the horizontal / vertical synchronization signals of the video, smoothed by the two-dimensional digital filter circuit 5D to obtain the correction signal, and the correction signal is input to the subtraction circuit 4 as the video signal. Shading correction is performed by subtracting from.
【0016】本発明は、2次元の偏差を取り除くため
に、ブロックデータも2次元で備えるようにすることに
ある。2次元のブロックデータをスムージングするに
は、2次元フィルタが必要となる。これは原理的にはデ
ジタルで2次元フィルタを構成すれば実現可能である。The present invention is to provide block data in two dimensions in order to remove a two-dimensional deviation. A two-dimensional filter is required to smooth two-dimensional block data. This can be realized in principle by digitally configuring a two-dimensional filter.
【0017】図2は図1の2次元デジタルフィルタ回路
5Dの第1の実施の形態の構成図である。図2におい
て、2次元デジタルフィルタ回路は、ラインメモリ51
から580からなる80個のラインメモリとフィルタ係
数演算回路581とで構成された垂直方向フィルタ59
0と、レジスタ71から7134からなる134個のレ
ジスタとフィルタ係数演算回路7135とで構成された
水平方向フィルタ7140とで構成される。FIG. 2 is a block diagram of the first embodiment of the two-dimensional digital filter circuit 5D shown in FIG. In FIG. 2, the two-dimensional digital filter circuit includes a line memory 51.
To 580, a vertical direction filter 59 composed of 80 line memories and a filter coefficient calculation circuit 581.
0, and a horizontal filter 7140 including 134 registers consisting of registers 71 to 7134 and a filter coefficient calculation circuit 7135.
【0018】この構成は、画像計測にカメラを用いる場
合の、画面サイズがXGAと称されるサイズに対応した
構成であるが、画面サイズがXGAと称されるサイズで
あると、水平方向のサンプリング数は1344、垂直方
向のライン数は806ラインになる。ブロックの間隔を
全体の5%程度にすると、水平方向では1344×5%
=67、垂直方向では806×5%=40ラインとな
る。ブロックの数は20×20=400ブロックとな
る。2次元フィルタを構成する上で、垂直方向のサンプ
リングピッチは40ラインであり、垂直方向のフィルタ
のタップ数は40×2=80タップ必要となる。This configuration corresponds to a screen size called XGA when a camera is used for image measurement. If the screen size is called XGA, horizontal sampling is performed. The number is 1344, and the number of lines in the vertical direction is 806. If the block interval is about 5% of the whole, 1344 x 5% in the horizontal direction
= 67, 806 × 5% = 40 lines in the vertical direction. The number of blocks is 20 × 20 = 400 blocks. In constructing the two-dimensional filter, the sampling pitch in the vertical direction is 40 lines, and the number of taps of the filter in the vertical direction is 40 × 2 = 80.
【0019】すなわち、80個のラインメモリを必要と
する。ラインメモリの総容量は、80×1344=10
7520ワードとなり、膨大になる。問題は容量だけで
なく、フィルタを構成する上で夫々のタップの出力を取
り出す必要がある点にある。つまり、フィールドメモリ
のように、一つのメモリとしてまとめることはできない
ため、80個のメモリが必要となる。That is, 80 line memories are required. The total capacity of the line memory is 80 × 1344 = 10
It becomes 7520 words and becomes huge. The problem is that not only the capacitance, but also the output of each tap needs to be taken out when constructing the filter. In other words, unlike the field memory, it cannot be integrated into one memory, so 80 memories are required.
【0020】そこで、改良として、サンプリングの間隔
を狭めれば、フィルタのタップ数も減り、メモリも減る
が、ブロックの数が増大する。例えば、サンプリングの
間隔を2ラインとすると、垂直方向のフィルタのタップ
数は2×2=4タップとなり、実現可能な容量となる
が、ブロックの数は、806÷2ライン=403ブロッ
ク、2次元では水平×垂直=20×403=8060ブ
ロック分必要となる。これによってブロックデータを格
納するメモリの容量が増大すると共に、ブロックごとの
補正値を求める際、CPUの演算時間も増大する。また
フィルタ特性として、サンプリングピッチが高過ぎるた
め、低域成分の偏差が取れなくなる。Therefore, as an improvement, if the sampling interval is narrowed, the number of taps of the filter is reduced and the memory is also reduced, but the number of blocks is increased. For example, if the sampling interval is 2 lines, the number of taps of the filter in the vertical direction is 2 × 2 = 4 taps, which is a feasible capacity, but the number of blocks is 806/2 lines = 403 blocks, two-dimensional. Then, horizontal × vertical = 20 × 403 = 8060 blocks are required. This increases the capacity of the memory that stores the block data, and also increases the calculation time of the CPU when obtaining the correction value for each block. Further, as the filter characteristic, the sampling pitch is too high, so that the deviation of the low frequency component cannot be taken.
【0021】このようなことから、サンプリング間隔を
狭める手段も有効でない。サンプリング間隔を狭めず、
所望のフィルタ特性を実現する手段として、ラインメモ
リの代わりに、バッファメモリを用いる方法を考える。For this reason, the means for narrowing the sampling interval is not effective either. Without narrowing the sampling interval,
A method of using a buffer memory instead of the line memory will be considered as a means for realizing a desired filter characteristic.
【0022】このバッファメモリを用いる方法はフィル
タの状態をバッファメモリに格納するバッファ処理をす
ることで2次元フィルタを実現するものであり、ライン
メモリを不要とする。The method using this buffer memory realizes a two-dimensional filter by performing buffer processing for storing the state of the filter in the buffer memory, and does not require a line memory.
【0023】バッファメモリの容量としては、フィルタ
のタップ数×垂直ブロック数であり、上記例では80タ
ップ×20ブロック=1600ワードとなり、これは1
ラインメモリ程度であり、実現可能な容量である。The capacity of the buffer memory is the number of filter taps × the number of vertical blocks. In the above example, 80 taps × 20 blocks = 1600 words, which is 1
It is about a line memory and has a realizable capacity.
【0024】画素単位で変化する一般的な信号に対して
は適用できないが、対象がブロック単位であること、つ
まりブロック幅分は信号が一定である点を利用したもの
である。Although it cannot be applied to a general signal that changes in a pixel unit, the object is in a block unit, that is, the signal width is constant for the block width.
【0025】図3はバッファ処理を用いた2次元フィル
タを示す構成と波形を示す図であり、補正データ保管メ
モリ6と、バッファメモリ5D―1と垂直方向フィルタ
5D−2と水平方向フィルタ5D−3から構成される。
ここで、図1との対応は、図1のメモリ6が補正データ
保管メモリ6に該当し、図1のデジタルフィルタ5Dが
バッファメモリ5D―1と垂直方向フィルタ5D−2と
水平方向フィルタ5D−3から構成され、水平方向フィ
ルタ5D−3の出力が図1の減算回路4に供給され、入
力される映像信号から減ずるシェーディング補正を行
う。FIG. 3 is a diagram showing a configuration and waveforms of a two-dimensional filter using buffer processing. The correction data storage memory 6, the buffer memory 5D-1, the vertical direction filter 5D-2, and the horizontal direction filter 5D-. It consists of 3.
1 corresponds to the correction data storage memory 6, and the digital filter 5D of FIG. 1 corresponds to the buffer memory 5D-1, the vertical direction filter 5D-2, and the horizontal direction filter 5D-. 3, the output of the horizontal direction filter 5D-3 is supplied to the subtraction circuit 4 of FIG. 1, and shading correction is performed by subtracting the output from the input video signal.
【0026】この構成にすれば、ラインメモリを用いず
2次元フィルタを構成できるため、実装、価格、電力面
で有利なシステムを構築できる。画面サイズXGA(水
平方向:1344、垂直方向:806)の例では、ライ
ンメモリ80個が1個相当に軽減される。With this configuration, a two-dimensional filter can be constructed without using a line memory, so that a system advantageous in terms of mounting, price and power can be constructed. In the example of the screen size XGA (horizontal direction: 1344, vertical direction: 806), 80 line memories are reduced to one.
【0027】図3に、垂直方向フィルタ5D−2の出力
の波形例を示した。この波形例から分かるように、水平
1ブロック幅に対する、垂直方向のブロックデータフィ
ルタリング()は、メモリを用いることなく、
レジスタを用いて1次元のフィルタとして実現可能であ
る。これは、仮に偏差が垂直方向のみにあり、水平方向
の偏りが全くない場合を想定すれば理解し易い。FIG. 3 shows a waveform example of the output of the vertical direction filter 5D-2. As can be seen from this waveform example, the vertical block data filtering () for one horizontal block width does not require memory,
It can be realized as a one-dimensional filter using a register. This is easy to understand if the deviation is only in the vertical direction and there is no deviation in the horizontal direction.
【0028】ここで、垂直方向と水平方向の位置を
(V,H)と表現する。説明を簡単にするため、水平方
向の全画素数を1024画素、垂直方向の全ライン数を
256、ブロックの大きさを水平方向32画素、垂直方
向4ラインとすると、画面での画素位置は図7に示す通
りである。すなわち、1ライン目の画素位置は順に
(0,0)(0,1)(0,2)(0,3)(0,4)
・・・・・・(0,1023)、2ライン目の画素位置
は順に(1,0)(1,1)(1,2)(1,3)
(1,4)・・・・・・(1,1023)となる。Here, the vertical and horizontal positions are expressed as (V, H). To simplify the explanation, if the total number of pixels in the horizontal direction is 1024 pixels, the total number of lines in the vertical direction is 256, and the size of the block is 32 pixels in the horizontal direction and 4 lines in the vertical direction, the pixel position on the screen is It is as shown in 7. That is, the pixel positions on the first line are (0,0) (0,1) (0,2) (0,3) (0,4) in order.
... (0,1023) The pixel positions of the second line are (1,0) (1,1) (1,2) (1,3) in order.
(1,4) ... (1,1023).
【0029】仮に5ライン目の、9画素目の垂直フィル
タ出力を考える。垂直方向のブロックの大きさは4ライ
ンとしたため、タップ数は4+1+4=9タップと考え
る。この時、垂直フィルタ出力を得るには、(0,8)
(1,8)(2,8)(3,8)(4,8)(5,8)
(6,8)(7,8)(8,8)の情報が必要である。
一般的な画素単位で変化する信号の場合、画素ごとに、
つまり水平サンプリング動作に合わせて、入力信号が変
化するため、例えば次の5ライン目の、10画素目の垂
直フィルタ出力を得るためには、(0,9)(1,9)
(2,9)(3,9)(4,9)(5,9)(6,9)
(7,9)(8,9)の情報が必要である。結局全画素
分の情報が必要となるため、9タップ分のラインメモリ
が必要となる。Let us consider the vertical filter output of the 9th pixel on the 5th line. Since the block size in the vertical direction is 4 lines, the number of taps is considered to be 4 + 1 + 4 = 9 taps. At this time, to obtain the vertical filter output, (0, 8)
(1,8) (2,8) (3,8) (4,8) (5,8)
Information of (6, 8) (7, 8) (8, 8) is required.
In the case of a signal that changes in general pixel units, for each pixel,
That is, since the input signal changes in accordance with the horizontal sampling operation, for example, in order to obtain the vertical filter output of the 10th pixel of the next 5th line, (0, 9) (1, 9)
(2,9) (3,9) (4,9) (5,9) (6,9)
Information of (7, 9) (8, 9) is required. After all, since information for all pixels is required, a line memory for 9 taps is required.
【0030】これに対し、ブロック信号の場合、例えば
上記例では、水平32画素単位で水平方向に変化がない
ため、5ライン目の9画素目の垂直フィルタ出力と、5
ライン目の10画素目の垂直フィルタ出力とは同一であ
る。すなわち、図8に示すように、水平32画素目まで
は、(0,0)(1,0)(2,0)(3,0)(4,
0)(5,0)(6,0)(7,0)(8,0)の情報
を共通に利用できる。この点を利用して、ラインメモリ
を用いることなく、レジスタで1次元垂直フィルタを組
むことができる。On the other hand, in the case of a block signal, for example, in the above example, since there is no change in the horizontal direction in units of 32 pixels in the horizontal direction, the vertical filter output of the 9th pixel of the 5th line and
It is the same as the vertical filter output of the 10th pixel of the line. That is, as shown in FIG. 8, up to the 32nd horizontal pixel, (0,0) (1,0) (2,0) (3,0) (4
The information of 0) (5,0) (6,0) (7,0) (8,0) can be commonly used. By utilizing this point, a one-dimensional vertical filter can be assembled with a register without using a line memory.
【0031】ここで図2のラインメモリを用いた2次元
フィルタで、構成を再度説明する。図2では80個のラ
インメモリがあり、その出力を係数演算し、垂直方向フ
ィルタ590を形成していた。垂直方向フィルタ590
通過後の信号を134個のレジスタで構成した水平方向
フィルタ7140に入力し、これを通過させることで、
垂直・水平2次元のフィルタを実現している。The structure of the two-dimensional filter using the line memory shown in FIG. 2 will be described again. In FIG. 2, there are 80 line memories, the output of which is subjected to coefficient calculation to form the vertical direction filter 590. Vertical filter 590
The signal after passing is input to the horizontal direction filter 7140 composed of 134 registers, and this is passed,
Realizes a vertical and horizontal two-dimensional filter.
【0032】図3の実施の形態で実現しようとする構成
は、この垂直フィルタを水平フィルタと同様、レジスタ
で構成するものである。前述の垂直方向9タップのフィ
ルタの例では、フィルタ演算を32画素単位で共通化で
きるが、それだけでは、メモリをレジスタに置き換える
ことはできない。仮に9個のメモリを9個のレジスタに
置き換えたとする。レジスタの最初のタップに先ずデー
タが入る。画面の最初から考えると、最初に(0,0)
が設定される。映像入力は水平操作を繰り返すため、次
に入力される信号は(0,1)であるが、これは(0,
0)と内容は同じである。次にデータが変化するのは、
(0,32)のポイントになる。ところがこれは水平方
向フィルタの動作そのものである。The configuration to be realized in the embodiment of FIG. 3 is such that this vertical filter is composed of a register, like the horizontal filter. In the above example of the filter with 9 taps in the vertical direction, the filter operation can be made common in the unit of 32 pixels, but the memory cannot be replaced with the register only by that. It is assumed that 9 memories are replaced with 9 registers. The first tap in the register is populated with data. Considering from the beginning of the screen, first (0,0)
Is set. Since the video input repeats the horizontal operation, the next input signal is (0, 1), which is (0,
0) has the same contents. The next change in data is
It becomes the point of (0, 32). However, this is the operation itself of the horizontal filter.
【0033】垂直フィルタはライン単位でサンプリング
する必要がある。ライン単位でサンプリングすると、こ
のサンプリング点を水平の端につまり0画素目に置くと
入力されるデータは(0,0)(1,0)(2,0)
(3,0)(4,0)(5,0)(6,0)(7,0)
(8,0)となるが、この端の一列のみ取りこまれるこ
とになる。図3ののみが取りこまれ、・・・が
取りこまれない。これでは2次元フィルタにならない。
そこで、フィルタの状態を一旦バッファメモリへ格納す
ることを考える。The vertical filter must be sampled line by line. When sampling in line units, if this sampling point is placed at the horizontal edge, that is, at the 0th pixel, the input data is (0,0) (1,0) (2,0)
(3,0) (4,0) (5,0) (6,0) (7,0)
It becomes (8, 0), but only one line at this end is taken in. Only the ones in Fig. 3 are taken in, and ... are not taken in. This is not a two-dimensional filter.
Therefore, consider once storing the state of the filter in the buffer memory.
【0034】図4に図3のバッファインタフェースを備
えた垂直方向フィルタの構成を示す。フィルタはセレク
タ81,82,83,84,85,86,87,88と
タップレジスタ91,92,93,94,95,96,
97,98と、フィルタ係数演算回路100から構成さ
れる。ここで、セレクタ81とタップレジスタ91でタ
ップ0を構成し、セレクタ82とタップレジスタ92で
タップ1を構成し、セレクタ83とタップレジスタ93
でタップ2を構成し、セレクタ84とタップレジスタ9
4でタップ3を構成し、セレクタ85とタップレジスタ
95でタップ4を構成し、セレクタ86とタップレジス
タ96でタップ5を構成し、セレクタ87とタップレジ
スタ97でタップ6を構成し、セレクタ88とタップレ
ジスタ98でタップ7を構成する。FIG. 4 shows the configuration of a vertical direction filter having the buffer interface shown in FIG. The filters are selectors 81, 82, 83, 84, 85, 86, 87, 88 and tap registers 91, 92, 93, 94, 95, 96,
97 and 98, and a filter coefficient calculation circuit 100. Here, the selector 81 and the tap register 91 configure the tap 0, the selector 82 and the tap register 92 configure the tap 1, and the selector 83 and the tap register 93.
The tap 2 is composed of the selector 84 and the tap register 9
4 configures tap 3; selector 85 and tap register 95 configure tap 4; selector 86 and tap register 96 configure tap 5; selector 87 and tap register 97 configure tap 6; The tap 7 is configured by the tap register 98.
【0035】セレクタ81,82,83,84,85,
86,87,88により、フィルタの各タップデータを
シフトする通常のフィルタ処理を行うか、図3のバッフ
ァメモリ5D―1のデータを取りこむかを切り替える。Selectors 81, 82, 83, 84, 85,
86, 87 and 88 are used to switch between normal filter processing for shifting each tap data of the filter and fetching of the data of the buffer memory 5D-1 of FIG.
【0036】図5に図3のバッファメモリ5D―1のア
ドレス空間の概念を示す。バッファメモリ5D−1は垂
直方向フィルタ5D−2の全レジスタの情報をブロック
単位で格納できる構成とする。FIG. 5 shows the concept of the address space of the buffer memory 5D-1 shown in FIG. The buffer memory 5D-1 has a configuration capable of storing information of all the registers of the vertical direction filter 5D-2 in block units.
【0037】次に、図4の動作を説明する。図4におい
て、先ずセレクタ81,82,83,84,85,8
6,87,88を図3のバッファメモリ5D−1側に切
り替え、タップ数分のデータをロードする。これは前ラ
インの情報を示す。ロード終了後、セレクタ81は補正
データ保管メモリ6側に切替、セレクタ82,83,8
4,85,86,87,88は各タップデータをシフト
する通常のフィルタ処理側に切替る。その後、垂直フィ
ルタに図示していないが1発フィルタサンプリングクロ
ックを入れ、フィルタの更新を行う。フィルタ更新後、
フィルタ内全てのレジスタの値を図3のバッファメモリ
5D−1へ再度格納する。この操作を32画素以内の期
間に行う。Next, the operation of FIG. 4 will be described. In FIG. 4, first, selectors 81, 82, 83, 84, 85, 8
6, 87, 88 are switched to the buffer memory 5D-1 side in FIG. 3, and data corresponding to the number of taps is loaded. This shows the information of the previous line. After loading, the selector 81 switches to the correction data storage memory 6 side, and the selectors 82, 83, 8
4, 85, 86, 87 and 88 are switched to the normal filter processing side for shifting each tap data. Then, although not shown, a one-shot filter sampling clock is input to the vertical filter to update the filter. After updating the filter,
The values of all the registers in the filter are stored again in the buffer memory 5D-1 of FIG. This operation is performed within a period of 32 pixels or less.
【0038】以上の処理は、水平32画素目までは、情
報を共通に利用できるという性質を利用している。つま
りタップ数8個分のロード処理では、少なくとも8サイ
クル=8画素の期間が必要である。また、垂直フィルタ
に1発フィルタサンプリングクロックを入れ更新する処
理では、1サイクル=1画素の期間が必要である。ま
た、フィルタ更新後、フィルタ内全てのレジスタの値を
バッファメモリ5D−1へ再度格納する処理では8サイ
クル=8画素の期間が必要である。The above processing utilizes the property that information can be commonly used up to the horizontal 32nd pixel. That is, the load process for eight taps requires at least 8 cycles = 8 pixels. Further, in the process of inserting and updating the one-shot filter sampling clock in the vertical filter, one cycle = 1 pixel period is required. Further, after the filter is updated, the process of storing the values of all the registers in the filter into the buffer memory 5D-1 again requires a period of 8 cycles = 8 pixels.
【0039】よって合計17画素(=8+1+8)の期
間が必要であるが、これは32画素以内であるため十分
可能である。ブロックの大きさを、垂直フィルタタップ
数×2+1<水平ブロック画素数とすれば、処理は可能
となる。またバッファリングメモリのデータ幅を広く取
れば、例えば1タップのデータが10ビットとすると、
バッファリングメモリのデータ幅を40ビット取れば、
上記処理は8÷4+1+8÷4=5となり、必ずしも、
垂直フィルタタップ数×2+1<水平ブロック画素数の
条件が絶対でないことが容易に分かる。Therefore, a total period of 17 pixels (= 8 + 1 + 8) is necessary, but this is sufficiently possible because it is within 32 pixels. If the block size is set to the number of vertical filter taps × 2 + 1 <the number of horizontal block pixels, the processing can be performed. If the data width of the buffering memory is wide, for example, if 1 tap data is 10 bits,
If the data width of the buffering memory is 40 bits,
The above process is 8/4 + 1 + 8/4 = 5, and
It can be easily understood that the condition of vertical filter tap number × 2 + 1 <horizontal block pixel number is not absolute.
【0040】一つの水平ブロックの処理が終了すると、
次の32画素のポイントでは、同様に、対応するバッフ
ァメモリアドレスより、前ラインの状態をロードする。
つまり、前ラインの状態に戻す。その後、垂直フィルタ
に1発フィルタサンプリングクロックを入れ、フィルタ
の更新を行う。フィルタ更新後、フィルタ内全てのレジ
スタの値をバッファメモリ5D−1へ再度格納する。When the processing of one horizontal block is completed,
At the next 32 pixel point, similarly, the state of the previous line is loaded from the corresponding buffer memory address.
That is, the state of the previous line is restored. After that, a one-shot filter sampling clock is input to the vertical filter to update the filter. After updating the filter, the values of all the registers in the filter are stored again in the buffer memory 5D-1.
【0041】この操作をブロック単位で繰り返すと、図
3に示す垂直方向フィルタ5D−2の出力が得
られる。このような方法を用いればラインメモリを用い
ることなく、レジスタで垂直1次元フィルタを構成する
ことが可能となる。By repeating this operation block by block, the output of the vertical filter 5D-2 shown in FIG. 3 is obtained. By using such a method, it becomes possible to configure a vertical one-dimensional filter with a register without using a line memory.
【0042】図3におけるとのブロック列に着目
し、図3,図4の垂直方向フィルタ5D−2を再度説明
する。また図6に図4の垂直方向フィルタ5D−2の動
作タイムチャートを示す。先ず、最初にバッファメモリ
5D−1からロード処理を行うため、フィルタ内にはご
みのデータが入る(X,X)。次にセレクタ81,8
2,83,84,85,86,87,88の状態を通常
のフィルタ処理動作に切り替え、補正データ保管メモリ
6からのデータを取りこみ、フィルタの動作を更新す
る。タップ2に(0,0)のデータが入る。これを一旦
バッファメモリ5D−1のアドレス0〜7に格納する。The vertical filter 5D-2 shown in FIGS. 3 and 4 will be described again with attention paid to the block rows in FIG. FIG. 6 shows an operation time chart of the vertical filter 5D-2 shown in FIG. First, since load processing is first performed from the buffer memory 5D-1, dust data enters the filter (X, X). Next, selectors 81 and 8
The state of 2, 83, 84, 85, 86, 87, 88 is switched to the normal filter processing operation, the data from the correction data storage memory 6 is taken in, and the filter operation is updated. The data of (0,0) is input to tap 2. This is once stored in addresses 0 to 7 of the buffer memory 5D-1.
【0043】格納後、処理は隣のブロックに移動する。
つまりのブロック列に移る。移動後はバッファメモリ
5D−1のアドレス8〜15から、そのブロックのデー
タを垂直方向フィルタ5D−2にロードする。同様に最
初のラインでは(X,X)ロード後、セレクタ81,8
2,83,84,85,86,87,88の状態を切り
替え、1回分のフィルタの更新を実行する。タップ2に
(0,32)のデータが入る。そしてその状態を同様、
一旦バッファメモリ5D−1のアドレス8〜15に格納
する。格納後、次のブロックの処理に移動する。After storing, the process moves to the adjacent block.
In other words, move to the block sequence. After the movement, the data of the block is loaded into the vertical direction filter 5D-2 from the addresses 8 to 15 of the buffer memory 5D-1. Similarly, in the first line, after (X, X) loading, the selectors 81,8
The states of 2, 83, 84, 85, 86, 87, 88 are switched, and the filter is updated once. The data of (0, 32) enters the tap 2. And that state as well
It is temporarily stored in addresses 8 to 15 of the buffer memory 5D-1. After storing, move to the processing of the next block.
【0044】このような操作を繰り返し、再度水平方向
の先頭に戻る。つまり、のブロック列の操作に戻る。
先ず、バッファメモリ5D−1のアドレス0〜7のデー
タをロードする。この内容はタップ2が(0,0)であ
る。次に補正データ保管メモリ6からのデータを取りこ
み、フィルタの動作を更新する。The above operation is repeated to return to the head in the horizontal direction again. That is, the operation returns to the block sequence of.
First, data at addresses 0 to 7 in the buffer memory 5D-1 is loaded. In this content, tap 2 is (0, 0). Next, the data from the correction data storage memory 6 is fetched and the operation of the filter is updated.
【0045】垂直方向のブロック幅は4ラインであるた
め、4ラインまでは同一のデータであり、タップ2には
同様に(0,0)のデータが入る。またタップ4にはタ
ップ2のデータ(0,0)が送られる。この後この内容
を再びバッファメモリ5D−1のアドレス0〜7に格納
する。アドレス0には(0,0)アドレス1には(0,
0)のデータが入る。Since the block width in the vertical direction is 4 lines, the same data is stored up to 4 lines, and (0, 0) data is similarly input to the tap 2. Further, the data (0, 0) of tap 2 is sent to tap 4. After that, this content is stored again in the addresses 0 to 7 of the buffer memory 5D-1. Address 0 is (0, 0) Address 1 is (0, 0
Data of 0) is entered.
【0046】このような操作を8ライン繰り返すと、ブ
ロック列において、タップ2には(4,0)、タップ
4には(4,0)、タップ6には(4,0)、タップ8
には(4,0)、タップ10には(0,0)、タップ1
2には(0,0)、タップ14には(0,0)、タップ
16には(0,0)のデータが入る。When such an operation is repeated for 8 lines, tap 2 is (4, 0), tap 4 is (4, 0), tap 6 is (4, 0), tap 8 in the block row.
Is (4,0), tap 10 is (0,0), tap 1
The data of (0,0) is input to 2, the data of (0,0) is input to the tap 14, and the data of (0,0) is input to the tap 16.
【0047】またブロック列においては、タップ2に
は(4,32)、タップ4には(4,32)、タップ6
には(4,32)、タップ8には(4,32)、タップ
10には(0,32)、タップ12には(0,32)、
タップ14には(0,32)、タップ16には(0,3
2)のデータが入る。これは正にラインメモリを用いた
場合と同じ動作である。In the block row, tap 2 is (4, 32), tap 4 is (4, 32), tap 6
Is (4, 32), tap 8 is (4, 32), tap 10 is (0, 32), tap 12 is (0, 32),
(0, 32) for tap 14 and (0, 3) for tap 16.
The data of 2) is entered. This is exactly the same operation as when the line memory is used.
【0048】以上は、バッファメモリを用いて垂直フィ
ルタを実現する方法について説明した。次の実施の形態
では、バッファメモリを用いず、補正データ保管メモリ
の読み出し制御と、垂直フィルタの各タップへの書きこ
み制御によって、フィルタの動作を実現する方法につい
て説明する。The method of realizing the vertical filter using the buffer memory has been described above. In the next embodiment, a method for realizing the operation of the filter by reading the correction data storage memory and controlling writing to each tap of the vertical filter without using the buffer memory will be described.
【0049】図9に本発明の実施の形態の補正データ取
りこみ制御による2次元フィルタを含む構成と波形を示
す。6は補正データ保管メモリ、5D−2は垂直方向フ
ィルタ、5D−3は垂直方向フィルタ、10はメモリリ
ードアドレス制御回路であり、メモリリードアドレス制
御回路10の出力は補正データ保管メモリ6に接続され
る。図10に図9における垂直方向フィルタ5D−2を
含む構成を示す。図11に図10の垂直フィルタの動作
タイムチャートを示す。FIG. 9 shows the configuration and the waveform including the two-dimensional filter by the correction data import control according to the embodiment of the present invention. 6 is a correction data storage memory, 5D-2 is a vertical filter, 5D-3 is a vertical filter, 10 is a memory read address control circuit, and the output of the memory read address control circuit 10 is connected to the correction data storage memory 6. It FIG. 10 shows a configuration including the vertical filter 5D-2 in FIG. FIG. 11 shows an operation time chart of the vertical filter of FIG.
【0050】以下、図9,10,11を用いて、2次元
シェーディングの補正を説明する。前述の実施の形態で
も示したように、垂直フィルタはラインごとに更新され
る。また水平ブロックごとに切り替える必要がある。ラ
インメモリを用いることなく、フィルタを更新するため
に、前述の実施の形態では、フィルタの状態をバッファ
メモリへ一旦格納する方法を示した。本実施の形態で
は、バッファメモリへ格納する代わりに、補正データ保
管メモリの読み出し制御と、垂直フィルタの各タップへ
の書きこみ制御によってこれを実現する。The correction of the two-dimensional shading will be described below with reference to FIGS. As shown in the above embodiment, the vertical filter is updated line by line. It is also necessary to switch for each horizontal block. In order to update the filter without using the line memory, in the above-described embodiments, the method of temporarily storing the state of the filter in the buffer memory has been described. In the present embodiment, this is realized by reading control of the correction data storage memory and writing control to each tap of the vertical filter, instead of storing in the buffer memory.
【0051】図10に図9の垂直方向フィルタ5D−2
を含む構成を示すが、図2と異なる点は各タップが繋が
っていないところにある。本来フィルタのタップはシフ
トレジスタとして、更新クロックが入るたびに、1つず
つシフト動作をする構成を取る。本実施の形態では、シ
フト動作をフィルタでなくメモリの読み出しと、各タッ
プへの書きこみ制御を工夫することで行う。あらためて
図10を説明する。FIG. 10 shows the vertical filter 5D-2 of FIG.
2 is shown, but the difference from FIG. 2 is that the taps are not connected. Originally, the tap of the filter is configured as a shift register, and the shift operation is performed one by one each time the update clock is input. In the present embodiment, the shift operation is performed by devising the reading of the memory instead of the filter and the writing control to each tap. FIG. 10 will be described again.
【0052】図10は、タップ0のレジスタ111、タ
ップ1のレジスタ112、タップ2のレジスタ113、
タップ3のレジスタ114、タップ4のレジスタ11
5、タップ5のレジスタ116、タップ6のレジスタ1
17、タップ7のレジスタ118、フィルタ係数演算回
路120、ホールドレジスタ121、各タップライト制
御回路122から構成される。また補正データ保管メモ
リ6の出力は、各タップに平行に接続される。FIG. 10 shows tap 0 register 111, tap 1 register 112, tap 2 register 113,
Register 114 for tap 3 and register 11 for tap 4
5, tap 5 register 116, tap 6 register 1
17, a tap 7 register 118, a filter coefficient calculation circuit 120, a hold register 121, and each tap write control circuit 122. The output of the correction data storage memory 6 is connected to each tap in parallel.
【0053】ここで、前述の実施の形態の図3で示した
ブロック列のデータをあらためて表現すると、図8に
示すように、ライン1〜4=(0,0)、ライン5〜8
=(4,0)、ライン9〜12=(8,0)・・・・・
となる。Here, if the data of the block sequence shown in FIG. 3 of the above-mentioned embodiment is expressed again, as shown in FIG. 8, lines 1 to 4 = (0,0), lines 5 to 8
= (4,0), lines 9-12 = (8,0)
Becomes
【0054】例えば、ライン8におけるフィルタの各タ
ップの状態は、タップ0=(4,0),タップ1=
(4,0),タップ2=(4,0),タップ3=(4,
0),タップ4=(0,0),タップ5=(0,0),
タップ6=(0,0),タップ7=(0,0)である。For example, the state of each tap of the filter in line 8 is tap 0 = (4,0), tap 1 =
(4,0), tap 2 = (4,0), tap 3 = (4
0), tap 4 = (0,0), tap 5 = (0,0),
Tap 6 = (0,0) and tap 7 = (0,0).
【0055】次に、ライン9におけるフィルタの各タッ
プの状態は、タップ0=(8,0),タップ1=(4,
0),タップ2=(4,0),タップ3=(4,0),
タップ4=(4,0),タップ5=(0,0),タップ
6=(0,0),タップ7=(0,0)である。Next, the state of each tap of the filter in the line 9 is as follows: tap 0 = (8,0), tap 1 = (4
0), tap 2 = (4,0), tap 3 = (4,0),
Tap 4 = (4,0), tap 5 = (0,0), tap 6 = (0,0), tap 7 = (0,0).
【0056】さらに、ライン10におけるフィルタの各
タップの状態は、タップ0=(8,0),タップ1=
(8,0),タップ2=(4,0),タップ3=(4,
0),タップ4=(4,0),タップ5=(4,0),
タップ6=(0,0),タップ7=(0,0)である。
このシフト動作を、メモリ制御によって行う。Furthermore, the state of each tap of the filter in line 10 is tap 0 = (8,0), tap 1 =
(8,0), tap 2 = (4,0), tap 3 = (4
0), tap 4 = (4,0), tap 5 = (4,0),
Tap 6 = (0,0) and tap 7 = (0,0).
This shift operation is performed by memory control.
【0057】動作を図11のタイムチャートに示す。ブ
ロック0の期間中に8個のタップ0〜7に、それぞれ、
対象ラインにおける位相のデータを補正データ保管メモ
リ6から読み出し、順番に書きこむ。1ブロック分の書
きこみ終了後、フィルタ出力をホールドする。こうすれ
ば、フィルタの出力には、図9に示すような、垂直フィ
ルタ5D−2の出力結果が得られる。つまりラインメモ
リを用いた場合と同じ特性が得られる。The operation is shown in the time chart of FIG. Eight taps 0 to 7 during the block 0 period,
The phase data on the target line is read from the correction data storage memory 6 and written in order. After the writing for one block is completed, the filter output is held. By doing this, the output result of the vertical filter 5D-2 as shown in FIG. 9 is obtained at the output of the filter. That is, the same characteristics as when using the line memory can be obtained.
【0058】[0058]
【発明の効果】本発明によれば、2次元の偏差を取り除
くシェーディング補正方法を得ることができる。According to the present invention, it is possible to obtain a shading correction method for removing a two-dimensional deviation.
【図1】本発明の実施の形態によるシェーディング補正
方法を有する構成を示す図である。FIG. 1 is a diagram showing a configuration having a shading correction method according to an embodiment of the present invention.
【図2】図1の2次元デジタルフィルタ回路の第1の実
施の形態の構成図である。FIG. 2 is a configuration diagram of a first embodiment of the two-dimensional digital filter circuit of FIG.
【図3】図1の2次元デジタルフィルタ回路を含む第2
の実施の形態の構成と波形を示す図である。FIG. 3 is a second diagram including the two-dimensional digital filter circuit of FIG.
It is a figure which shows the structure and waveform of embodiment of FIG.
【図4】図3の垂直方向フィルタの構成を示す図であ
る。FIG. 4 is a diagram showing a configuration of a vertical filter of FIG.
【図5】図3のバッファメモリのアドレス空間の概念を
示す図である。5 is a diagram showing a concept of an address space of the buffer memory of FIG.
【図6】図4の垂直方向フィルタの動作タイムチャート
を示す図である。FIG. 6 is a diagram showing an operation time chart of the vertical direction filter of FIG.
【図7】画面での画素位置を示す図である。FIG. 7 is a diagram showing pixel positions on a screen.
【図8】画面の画素位置のブロックデータの変化を示す
図である。FIG. 8 is a diagram showing changes in block data at pixel positions on the screen.
【図9】図1の2次元デジタルフィルタ回路を含む第3
の実施の形態の構成と波形を示す図である。9 is a third diagram including the two-dimensional digital filter circuit of FIG.
It is a figure which shows the structure and waveform of embodiment of FIG.
【図10】図9における垂直方向フィルタを含む構成を
示す図である。10 is a diagram showing a configuration including a vertical direction filter in FIG.
【図11】図10の垂直フィルタの動作タイムチャート
を示す図である。11 is a diagram showing an operation time chart of the vertical filter of FIG.
【図12】シェーディング信号の例を示す図である。FIG. 12 is a diagram showing an example of a shading signal.
【図13】従来の構成と波形を示す図である。FIG. 13 is a diagram showing a conventional configuration and waveform.
【図14】図13のフィルタ回路のスムージング用フィ
ルタ特性を示す図である。14 is a diagram showing a smoothing filter characteristic of the filter circuit of FIG.
【図15】ブロック信号の周波数成分を示す図である。FIG. 15 is a diagram showing frequency components of a block signal.
1…光学系、2…撮像素子、3…映像信号処理回路、4
…減算回路、5D…2次元デジタルフィルタ回路、6…
メモリ、51から580…ラインメモリ、581…フィ
ルタ係数演算回路、590…垂直方向フィルタ、71か
ら7134…レジスタ、7135…フィルタ係数演算回
路、7140…水平方向フィルタ、5D−1…バッファ
メモリ、5D−2…垂直方向フィルタ、5D3…水平方
向フィルタ、81から88…セレクタ、91から98…
レジスタ、100…フィルタ係数演算回路、10…メモ
リリードアドレス制御回路、111から118…タップ
レジスタ、120…フィルタ係数演算回路、121…ホ
ールドレジスタ、122…各タップライト制御回路。1 ... Optical system, 2 ... Image sensor, 3 ... Video signal processing circuit, 4
... Subtraction circuit, 5D ... Two-dimensional digital filter circuit, 6 ...
Memory, 51 to 580 ... Line memory, 581 ... Filter coefficient operation circuit, 590 ... Vertical filter, 71 to 7134 ... Register, 7135 ... Filter coefficient operation circuit, 7140 ... Horizontal filter, 5D-1 ... Buffer memory, 5D- 2 ... Vertical filter, 5D3 ... Horizontal filter, 81 to 88 ... Selector, 91 to 98 ...
Register, 100 ... Filter coefficient operation circuit, 10 ... Memory read address control circuit, 111 to 118 ... Tap register, 120 ... Filter coefficient operation circuit, 121 ... Hold register, 122 ... Each tap write control circuit.
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B047 AB02 BB06 DA04 DA06 5C021 PA34 PA36 PA39 PA40 PA78 PA80 PA82 PA87 RB00 XA67 5C022 AB51 AC69 5C072 AA01 BA08 EA05 FB12 UA11 VA10 5C077 MM03 PP02 PP06 PQ21 PQ22 TT09 ─────────────────────────────────────────────────── ─── Continued front page F-term (reference) 5B047 AB02 BB06 DA04 DA06 5C021 PA34 PA36 PA39 PA40 PA78 PA80 PA82 PA87 RB00 XA67 5C022 AB51 AC69 5C072 AA01 BA08 EA05 FB12 UA11 VA10 5C077 MM03 PP02 PP06 PQ21 PQ22 TT09
Claims (3)
正するシェーディング補正方法において、水平方向およ
び垂直方向の2次元の補正用ブロックデータを備え、該
2次元の補正用ブロックデータを2次元フィルタでスム
ージング処理し、処理後の信号を用いて、映像信号のシ
ェーディング補正を行うことを特徴とするシェーディン
グ補正方法。1. A shading correction method for correcting aberration of a picked-up image in real time, comprising two-dimensional correction block data in horizontal and vertical directions, and the two-dimensional correction block data is processed by a two-dimensional filter. A shading correction method characterized by performing a smoothing process and performing a shading correction of a video signal using the processed signal.
おいて、前記2次元フィルタを、垂直方向フィルタおよ
び水平方向フィルタで構成し、且つ前記垂直方向フィル
タのフィルタ状態を格納するバッファメモリを備えたこ
とを特徴とするシェーディング補正方法。2. The shading correction method according to claim 1, wherein the two-dimensional filter comprises a vertical direction filter and a horizontal direction filter, and a buffer memory for storing a filter state of the vertical direction filter is provided. A characteristic shading correction method.
おいて、前記2次元フィルタを、垂直方向フィルタおよ
び水平方向フィルタで構成し、且つ前記垂直方向フィル
タをラインごとに前記垂直方向フィルタのタップ数分、
前記垂直方向フィルタが更新された結果の状態を各タッ
プに書きこむことを特徴とするシェーディング補正方
法。3. The shading correction method according to claim 1, wherein the two-dimensional filter is composed of a vertical direction filter and a horizontal direction filter, and the vertical direction filter is provided for each line by the number of taps of the vertical direction filter,
A shading correction method, wherein a state of a result obtained by updating the vertical direction filter is written in each tap.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001309811A JP2003116048A (en) | 2001-10-05 | 2001-10-05 | Shading correction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001309811A JP2003116048A (en) | 2001-10-05 | 2001-10-05 | Shading correction method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006315421A Division JP4327193B2 (en) | 2006-11-22 | 2006-11-22 | Shading correction method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2003116048A true JP2003116048A (en) | 2003-04-18 |
Family
ID=19128893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001309811A Pending JP2003116048A (en) | 2001-10-05 | 2001-10-05 | Shading correction method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2003116048A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005223920A (en) * | 2004-02-09 | 2005-08-18 | Samsung Electronics Co Ltd | Solid-state imaging device and driving method thereof |
WO2006054607A1 (en) * | 2004-11-16 | 2006-05-26 | Matsushita Electric Industrial Co., Ltd. | Video processing device |
JP2014131099A (en) * | 2012-12-28 | 2014-07-10 | Hitachi Ltd | Image pick-up device |
JP2015144435A (en) * | 2006-04-11 | 2015-08-06 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Techniques to facilitate use of small line buffers for processing of small or large images |
-
2001
- 2001-10-05 JP JP2001309811A patent/JP2003116048A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005223920A (en) * | 2004-02-09 | 2005-08-18 | Samsung Electronics Co Ltd | Solid-state imaging device and driving method thereof |
WO2006054607A1 (en) * | 2004-11-16 | 2006-05-26 | Matsushita Electric Industrial Co., Ltd. | Video processing device |
JP2015144435A (en) * | 2006-04-11 | 2015-08-06 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Techniques to facilitate use of small line buffers for processing of small or large images |
JP2014131099A (en) * | 2012-12-28 | 2014-07-10 | Hitachi Ltd | Image pick-up device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7813585B2 (en) | Image processing apparatus, image processing method, and distortion correcting method | |
US7783129B2 (en) | Image processing apparatus, image processing system and image processing method | |
US20080063292A1 (en) | Image processing method, image processing apparatus and image pickup apparatus and display apparatus suitable for the application of image processing method | |
JP4255345B2 (en) | Imaging device | |
JP2011151792A (en) | Image processing apparatus and method | |
JPH11341347A (en) | Signal conversion processor | |
KR100500069B1 (en) | Display device and control circuit thereof | |
JP2003116048A (en) | Shading correction method | |
JPH06261238A (en) | Imaging device | |
JP3035992B2 (en) | Video signal processing device | |
JP3405302B2 (en) | Image distortion correction device | |
JP2001145012A (en) | Image distorting correction device | |
JP4327193B2 (en) | Shading correction method | |
JP4503106B2 (en) | Information processing apparatus and method, information processing system, and recording medium | |
JPS63221491A (en) | Image data output device | |
JP2004159160A (en) | Image sensor | |
JP3540341B2 (en) | Signal readout processing method for solid-state imaging device and solid-state imaging device used therefor | |
JPWO2006043483A1 (en) | Video signal processing device | |
JP2697679B2 (en) | Dither image display device | |
JPH10215405A (en) | Electronic still camera | |
JPH09247588A (en) | Horizontal pixel number conversion circuit | |
JP3380706B2 (en) | Signal processing device | |
JP2009110555A (en) | Image processing apparatus and method | |
JP2003116052A (en) | Shading correction method | |
JPH03188576A (en) | Histogram calculating device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060502 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060630 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060630 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060926 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061122 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20061211 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20070202 |