JP2013197680A - Image correction device, image correction method, and computer program for image correction - Google Patents
Image correction device, image correction method, and computer program for image correction Download PDFInfo
- Publication number
- JP2013197680A JP2013197680A JP2012060295A JP2012060295A JP2013197680A JP 2013197680 A JP2013197680 A JP 2013197680A JP 2012060295 A JP2012060295 A JP 2012060295A JP 2012060295 A JP2012060295 A JP 2012060295A JP 2013197680 A JP2013197680 A JP 2013197680A
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- value
- image
- target
- image 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.)
- Granted
Links
- 238000003702 image correction Methods 0.000 title claims abstract description 102
- 238000000034 method Methods 0.000 title claims description 23
- 238000004590 computer program Methods 0.000 title claims description 14
- 238000012937 correction Methods 0.000 claims abstract description 15
- 230000015572 biosynthetic process Effects 0.000 abstract description 7
- 238000003786 synthesis reaction Methods 0.000 abstract description 7
- 230000002194 synthesizing effect Effects 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 238000003384 imaging method Methods 0.000 description 16
- 230000004048 modification Effects 0.000 description 15
- 238000012986 modification Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 206010047571 Visual impairment Diseases 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、例えば、処理対象となる画像よりも前または後に生成された画像を用いてその処理対象画像上の画素の値に含まれるノイズ成分を低減させる画像補正装置、画像補正方法及び画像補正用コンピュータプログラムに関する。 The present invention provides, for example, an image correction apparatus, an image correction method, and an image correction that reduce noise components included in pixel values on an image to be processed using an image generated before or after the image to be processed. It relates to a computer program.
従来より、動画像または連写された複数の静止画像といった時間的に連続する複数の画像を用いて、その複数の画像のうちの何れかの画像の各画素の画素値に含まれるノイズ成分を低減させる技術が研究されている。このような技術は、3次元ノイズリダクション(3-dimensional noise reduction, 3DNR)と呼ばれる。 Conventionally, using a plurality of temporally continuous images such as a moving image or a plurality of continuously shot still images, a noise component included in a pixel value of each pixel of any one of the plurality of images is obtained. Technology to reduce it is being studied. Such a technique is called 3-dimensional noise reduction (3-DNR).
3DNRを用いた画像補正装置の一例では、時間軸方向における画像上の各画素の値の揺らぎ成分が除去すべきノイズ成分となる。そこで画像補正装置は、時間的に連続する複数の画像の同じ位置にある画素の値を時間的に平均することで、ノイズ成分を低減する。しかし、それら複数の画像において、移動物体が写っている動き領域の位置は画像ごとに異なる。そのため、複数画像間で同一位置の画素の値を時間的に平均すると、特に動き領域の境界周辺では、移動物体が写った画素の値と移動物体が写っていない画素の値とが平均化されるので、その境界周辺に移動物体の残像が生じ、その結果として画像がボケてしまう。 In an example of an image correction apparatus using 3DNR, a fluctuation component of the value of each pixel on the image in the time axis direction is a noise component to be removed. Therefore, the image correction apparatus reduces the noise component by temporally averaging the values of the pixels at the same position in a plurality of temporally continuous images. However, in the plurality of images, the position of the moving area in which the moving object is reflected differs for each image. Therefore, if the values of the pixels at the same position among multiple images are temporally averaged, the values of the pixels that show the moving object and the values of the pixels that do not show the moving object are averaged, especially around the boundary of the moving region. Therefore, an afterimage of the moving object is generated around the boundary, and as a result, the image is blurred.
そこで、動き領域に対して画像空間フィルタを適用し、動き領域以外の静止領域に対して時空間フィルタを適用する技術が提案されている(例えば、特許文献1を参照)。 Thus, a technique has been proposed in which an image space filter is applied to a motion region and a spatio-temporal filter is applied to a stationary region other than the motion region (see, for example, Patent Document 1).
しかしながら、上記の技術でも、動き領域内に写っている被写体が微細な構造を持っていると、画像空間フィルタが適用されることによってその微細な構造がボケてしまうおそれがある。また、動き領域内に写っている被写体の境界も、画像空間フィルタが適用されることによってボケてしまう。 However, even with the above-described technique, if the subject shown in the motion region has a fine structure, the fine structure may be blurred by applying the image space filter. In addition, the boundary of the subject in the motion region is also blurred by applying the image space filter.
そこで本明細書は、移動物体が写っている領域及びその周辺領域についても、残像によるボケを抑制しつつ、画素値に含まれるノイズ成分を低減可能な画像補正装置を提供することを目的とする。 Therefore, it is an object of the present specification to provide an image correction apparatus capable of reducing a noise component included in a pixel value while suppressing blurring due to an afterimage of an area where a moving object is captured and its peripheral area. .
一つの実施形態によれば、画像補正装置が提供される。この画像補正装置は、第1の画像上の注目画素の周囲に第1のフィルタ領域を設定し、第1のフィルタ領域の中から、注目画素の値に基づいて設定される所定の基準値を含む第1の許容範囲内の画素値を持つ第1の画素を選択する第1の画素選択部と、第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、第2のフィルタ領域の中から、所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択する第2の画素選択部と、第1の画素の値及び第2の画素の値を合成することにより得られた値を注目画素の補正値とする合成部とを有する。 According to one embodiment, an image correction apparatus is provided. The image correction apparatus sets a first filter region around a target pixel on the first image, and sets a predetermined reference value set based on the value of the target pixel from the first filter region. A first pixel selecting unit that selects a first pixel having a pixel value within a first allowable range, and a target pixel on at least one second image generated before or after the first image A second filter region is set around the reference pixel at the same position as the second pixel, and a second pixel having a pixel value within a second allowable range including a predetermined reference value is selected from the second filter region. A second pixel selection unit to select; and a synthesis unit that uses a value obtained by synthesizing the value of the first pixel and the value of the second pixel as a correction value of the target pixel.
本発明の目的及び利点は、請求項において特に指摘されたエレメント及び組み合わせにより実現され、かつ達成される。
上記の一般的な記述及び下記の詳細な記述の何れも、例示的かつ説明的なものであり、請求項のように、本発明を限定するものではないことを理解されたい。
The objects and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
It should be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.
本明細書に開示された画像補正装置は、移動物体が写っている領域及びその周辺領域についても、残像によるボケを抑制しつつ、画素値に含まれるノイズ成分を低減できる。 The image correction apparatus disclosed in this specification can reduce noise components included in pixel values while suppressing blurring due to afterimages in a region where a moving object is captured and its peripheral region.
以下、図を参照しつつ、一つの実施形態による、画像補正装置について説明する。
この画像補正装置は、注目画像の各画素の値を、その注目画像の前または後に生成された1枚以上の参照画像を用いて補正することにより、注目画像の各画素の値に含まれるノイズ成分を低減する。そのために、この画像補正装置は、注目画像上に設定される任意の注目画素の周囲に設定されたフィルタ領域から、注目画素の値を基準値として定められる画素値の第1の許容範囲内の値を持つ画素を選択する。同様に、この画像補正装置は、各参照画像上の注目画素と同じ位置にある基準画素の周囲に設定されたフィルタ領域からも、注目画素の値を基準値として定められる画素値の第2の許容範囲内の値を持つ画素を選択する。そしてこの画像補正装置は、選択された画素の値を合成することで得られる値を注目画素の補正値とすることで、移動物体が写っている領域及びその周辺領域についても、移動物体の残像によるボケことを抑制しつつ、3DNRの効果を得られるようにする。
Hereinafter, an image correction apparatus according to an embodiment will be described with reference to the drawings.
The image correction apparatus corrects the value of each pixel of the target image using one or more reference images generated before or after the target image, thereby including noise included in the value of each pixel of the target image. Reduce ingredients. For this purpose, this image correction apparatus has a pixel value within a first allowable range of a pixel value determined using a value of the target pixel as a reference value from a filter region set around any target pixel set on the target image. Select a pixel with a value. Similarly, the image correction apparatus also uses a second pixel value determined from the filter region set around the reference pixel at the same position as the target pixel on each reference image. Select a pixel with a value within the allowable range. This image correction apparatus uses the value obtained by combining the values of the selected pixels as the correction value of the target pixel, so that the afterimage of the moving object is also obtained in the region where the moving object is shown and its surrounding region. It is possible to obtain the 3DNR effect while suppressing blur caused by.
また、本実施形態では、処理対象となる画像は、RGB表色系で表され、各色ごとに8ビットの階調を持つカラーデジタル画像である。また以下の説明における画素値は、特定の色の成分を表す。そして色成分ごとに、下記に説明する処理が実行される。
なお、各色成分の階調を表すビット数は8ビットに限られず、例えば、4ビットあるいは10ビットでもよい。また処理対象となる画像は、YUV表色系あるいはHSV表色系といった他の表色系で表されるカラーデジタル画像であってもよい。この場合には、以下の説明における画素値は、色相、彩度、輝度などの成分を表す。そして成分ごとに、下記の処理が実行される。あるいは、処理対象となる画像は、各画素が輝度値のみを持つグレー画像であってもよい。
さらに、処理対象となる画像が動画像データに含まれる画像である場合、その画像は、プログレッシブ方式により生成されるフレームであってもよく、あるいは、インターレース方式によって生成されるフィールドであってもよい。
In the present embodiment, the image to be processed is a color digital image that is expressed in the RGB color system and has a gradation of 8 bits for each color. The pixel value in the following description represents a specific color component. Then, the processing described below is executed for each color component.
The number of bits representing the gradation of each color component is not limited to 8 bits, and may be 4 bits or 10 bits, for example. Further, the image to be processed may be a color digital image represented by another color system such as a YUV color system or HSV color system. In this case, the pixel values in the following description represent components such as hue, saturation, and luminance. Then, the following processing is executed for each component. Alternatively, the image to be processed may be a gray image in which each pixel has only a luminance value.
Further, when the image to be processed is an image included in the moving image data, the image may be a frame generated by the progressive method or a field generated by the interlace method. .
図1は、一つの実施形態による画像補正装置が組み込まれた撮像装置の概略構成図である。撮像装置1は、時間的に連続する複数の画像を生成可能な撮像装置であり、例えば、ビデオカメラ、動画撮影機能を有する携帯電話機、あるいは動画撮影機能または連写機能を有するデジタルカメラである。図1に示すように、撮像装置1は、カメラモジュール2と、操作部3と、表示部4と、記憶部5と、画像補正装置6と、制御部7とを有する。さらに撮像装置1は、撮像装置1をコンピュータ、またはテレビといった他の機器と接続するために、ユニバーサルシリアルバスなどのシリアルバス規格に従ったインターフェース回路(図示せず)を有していてもよい。また制御部7と、撮像装置1のその他の各部とは、例えば、バスにより接続されている。
FIG. 1 is a schematic configuration diagram of an imaging apparatus in which an image correction apparatus according to one embodiment is incorporated. The
カメラモジュール2は、2次元状に配置された固体撮像素子のアレイを有するイメージセンサと、そのイメージセンサ上に被写体の像を結像する撮像光学系とを有する。そしてカメラモジュール2は、一定の周期で被写体の像が写った画像を生成する。なお、上記のように、この画像は、RGB表色系で表され、各色ごとに8ビットの階調を持つカラーデジタル画像である。そしてカメラモジュール2は、画像を生成する度に、その生成した画像を記憶部5に記憶させる。
The
操作部3は、例えば、撮像装置1をユーザが操作するための各種の操作ボタンまたはダイヤルスイッチを有する。そして操作部3は、ユーザの操作に応じて、撮影または合焦の開始などの制御信号またはシャッター速度、絞り径などを設定するための設定信号を制御部7へ送信する。
The
表示部4は、例えば、液晶ディスプレイ装置といった表示装置を有し、制御部7から受け取った各種の情報、またはカメラモジュール2により生成された画像を表示する。なお、操作部3と表示部4とは、例えば、タッチパネルディスプレイを用いて一体的に形成されてもよい。
The
記憶部5は、例えば、読み書き可能な揮発性または不揮発性の半導体メモリ回路を有する。そして記憶部5は、カメラモジュール2から受け取った画像を記憶する。また記憶部5は、画像補正装置6からの読み出し要求によって画像を画像補正装置6へ渡し、また、記憶部5は、画像補正装置6から受け取った、各画素の画素値に含まれるノイズ成分が低減された補正画像を記憶する。さらに、画像補正装置6が有する各機能が、制御部7が有するプロセッサ上で実行されるコンピュータプログラムにより実現される場合、そのコンピュータプログラムを記憶してもよい。
The storage unit 5 includes, for example, a readable / writable volatile or nonvolatile semiconductor memory circuit. The storage unit 5 stores the image received from the
画像補正装置6は、処理対象となる注目画像の各画素の値を、その注目画像の前または後に生成された参照画像を用いて補正することにより、注目画像の各画素の値に含まれるノイズ成分を低減させた補正画像を生成する。なお、画像補正装置6の詳細については後述する。 The image correction device 6 corrects the value of each pixel of the target image to be processed using a reference image generated before or after the target image, thereby including noise included in the value of each pixel of the target image. A corrected image with reduced components is generated. Details of the image correction device 6 will be described later.
制御部7は、少なくとも一つのプロセッサ及びその周辺回路を有し、撮像装置1全体を制御する。例えば、制御部7は、操作部3から受け取った設定信号及び被写体の露光量に応じて、シャッタースピードまたは絞り径を設定する。また制御部7は、画像補正装置6により補正された画像に対してカラーバランスを調整したり、エッジ強調またはコントラスト強調といった処理を実行してもよい。
The
以下、画像補正装置6により実行される処理の概要について説明する。
図2は、画像補正装置6により実行される画像補正処理の概要を示す模式図である。図2には、注目画像200と、注目画像200の後に生成され、かつ時間的に連続する2枚の参照画像210、220が示されている。画像補正装置6は、注目画像200上の注目画素201の値を、注目画素201の周囲の画素の値と2枚の参照画像210及び220における、注目画素と同一の位置にある基準画素211、221の周囲の画素の値とを用いて補正する。そのために、画像補正装置6は、各画像において、注目画素201及び基準画素211、221の周囲に、それぞれ、フィルタ領域202、212及び222を設定する。そして画像補正装置6は、各フィルタ領域から、基準値である注目画素の値を含む所定の許容範囲内にある画素値を持つ画素を選択する。ここで、各画像の右側に示したグラフは、それぞれ、注目画素あるいは基準画素を通る水平方向の線Xに沿った、フィルタ領域内の画素値のプロファイルを表している。各グラフにおいて横軸は水平方向の画素の位置を表している。そして注目画素及び基準画素の位置は、'P'で表されている。また縦軸は画素値を表す。そして、画素値の許容範囲204は点線で示されている。プロファイル205は、注目画像200における線X上のフィルタ領域202内の画素値のプロファイルである。またプロファイル215及び225は、それぞれ、参照画像210及び220における、線X上のフィルタ領域212または222内の画素値のプロファイルである。
Hereinafter, an outline of processing executed by the image correction apparatus 6 will be described.
FIG. 2 is a schematic diagram showing an outline of image correction processing executed by the image correction device 6. FIG. 2 shows a target image 200 and two
この例では、注目画像200において、注目画素201には移動物体203の一部が写っている。そのため、注目画像200からは、注目画素201を含む、点線で囲まれた画素群206が選択される。
一方、参照画像210、220では、移動物体203が右方へ向けて移動したために、基準画素211、221には移動物体203は写っていない。しかし、画像補正装置6では、注目画素201と同位置にある基準画素211、221だけでなく、その周囲に設定されたフィルタ領域212、222に含まれ、かつ、注目画素201の画素値を基準値として設定された許容範囲内の画素が選択される。そのため、参照画像210、220からも、移動物体203が写っている画素に相当する、点線で囲まれた画素群216及び226が選択される。そして画像補正装置6は、これら時間的に連続する3枚の画像から選択された画素の値に基づいて注目画素201の補正値を求めるので、移動物体203の残像が生じることを防止しつつ、3DNRの効果を得ることができる。
In this example, in the target image 200, a part of the moving
On the other hand, in the
以下、画像補正装置6の各構成要素について説明する。図3に、画像補正装置6の構成図を示す。画像補正装置6は、空間類似画素選択部11と、時間類似画素選択部12と、合成部13とを有する。
画像補正装置6が有するこれらの各部は、その各部に対応する回路が集積された一つの集積回路として形成される。また、画像補正装置6が有するこれらの各部は、それぞれ、別個の回路として形成されてもよい。
Hereinafter, each component of the image correction apparatus 6 will be described. FIG. 3 shows a configuration diagram of the image correction apparatus 6. The image correction apparatus 6 includes a space-similar pixel selection unit 11, a time-similar
These units included in the image correction apparatus 6 are formed as one integrated circuit in which circuits corresponding to the units are integrated. Each of these units included in the image correction device 6 may be formed as a separate circuit.
空間類似画素選択部11は、処理対象となる注目画像上の各画素を順次注目画素とし、その注目画素の周囲に所定のフィルタ領域を設定する。そして空間類似画素選択部11は、そのフィルタ領域から、注目画素の値を基準値として設定される第1の許容範囲内の画素値を持つ画素を選択する。なお、フィルタ領域は、例えば、注目画素を中心とする、縦3画素×横3画素の大きさを持つ矩形領域である。また第1の許容範囲は、撮像装置1の電子回路で生じるノイズ、及び、個々の画素に相当する撮像素子に入射する光子数の揺らぎによるノイズから想定される画素値の揺らぎに相当する範囲、例えば、画素値が0〜255で表される場合、基準値±25に設定される。
空間類似画素選択部11は、注目画像上で選択した画素の位置を表す情報を合成部13へ通知する。
The spatially similar pixel selection unit 11 sequentially sets each pixel on the target image to be processed as the target pixel, and sets a predetermined filter area around the target pixel. Then, the space-similar pixel selection unit 11 selects, from the filter area, a pixel having a pixel value within a first allowable range set with the value of the target pixel as a reference value. The filter area is, for example, a rectangular area having a size of 3 vertical pixels × 3 horizontal pixels centered on the target pixel. Further, the first allowable range is a range corresponding to fluctuations in pixel values assumed from noise generated in the electronic circuit of the
The spatially similar pixel selection unit 11 notifies the
時間類似画素選択部12は、注目画像の前または後に生成された少なくとも1枚の参照画像に対して、注目画像上の注目画素と同位置にある基準画素の周囲に所定のフィルタ領域を設定する。そして時間類似画素選択部12は、そのフィルタ領域から、注目画素の値を基準値として設定される第2の許容範囲内の画素値を持つ画素を選択する。
The time-similar
参照画像は、第2のフィルタ領域内に注目画素に写っている被写体と同じ被写体が写っている画素が含まれるように、注目画像に対して時間軸方向に連続する画像であることが好ましい。しかし、参照画像は、注目画像に対して時間軸方向に連続する画像に限定されない。例えば、注目画像がインターレース方式で取得されたフィールドのうち、奇数行のデータのみを含むトップフィールドであるとする。この場合、参照画像も、注目画像直前または直後に生成されるボトムフィールドではなく、注目画像よりも前あるいは後に生成されたトップフィールドとすることができる。また時間類似画素選択部12は、注目画像よりも前に取得された画像のみを参照画像としてもよく、あるいは、注目画像よりも後に取得された画像のみを参照画像としてもよい。
The reference image is preferably an image that is continuous in the time axis direction with respect to the target image so that the second filter region includes pixels in which the same subject as the subject that is captured in the target pixel is included. However, the reference image is not limited to an image continuous in the time axis direction with respect to the target image. For example, it is assumed that the attention image is a top field including only odd-numbered rows of data among fields obtained by the interlace method. In this case, the reference image can also be a top field generated before or after the target image, not the bottom field generated immediately before or after the target image. The time-similar
なお、参照画像に対して設定されるフィルタ領域は、注目画像に対して設定されるフィルタ領域よりも大きい方が好ましい。これにより、注目画素に写っている被写体が移動物体でも、参照画像上に設定されたフィルタ領域内に、注目画素に写っていたその被写体上の点と同一の点が含まれる可能性が高まる。例えば、参照画像に対して設定されるフィルタ領域は、注目画素を中心とする、縦5画素×横5画素の大きさを持つ矩形領域である。 The filter area set for the reference image is preferably larger than the filter area set for the target image. As a result, even if the subject shown in the pixel of interest is a moving object, there is a high possibility that the same point as the point on the subject shown in the pixel of interest is included in the filter region set on the reference image. For example, the filter area set for the reference image is a rectangular area having a size of 5 vertical pixels × 5 horizontal pixels centered on the target pixel.
また参照画像に対して設定される第2の許容範囲は、注目画像に対して設定される第1の許容範囲よりも狭いことが好ましい。上記のように、参照画像に設定されるフィルタ領域は、注目画像に対するフィルタ領域よりも広いので、参照画像に設定されるフィルタ領域には、注目画素に写っている被写体と異なる被写体が写っている画素の数も多い。しかし、画素値の許容範囲を狭く設定することで、注目画素に写っている被写体と異なる被写体が写っている画素が選択される可能性が低減される。例えば、画素値が0〜255で表される場合、第2の許容範囲は、基準値±15に設定される。 The second allowable range set for the reference image is preferably narrower than the first allowable range set for the target image. As described above, since the filter area set for the reference image is wider than the filter area for the target image, the filter area set for the reference image includes a subject different from the subject shown in the target pixel. There are also many pixels. However, by setting the allowable range of pixel values to be narrow, the possibility of selecting a pixel in which a subject different from the subject in the target pixel is selected is reduced. For example, when the pixel value is represented by 0 to 255, the second allowable range is set to the reference value ± 15.
図4(a)は、注目画像の注目画素に対して設定されるフィルタ範囲及び選択される画素の一例を示す図である。図4(a)において、注目画像400の各画素内に示された数値は、その画素の値を示す。この例では、注目画素401を中心とする縦3×横3画素のフィルタ領域410が設定されている。第1の許容範囲が注目画素401の画素値192に対して±25の範囲であるとすると、注目画素401の他、注目画素401の左隣の画素402(画素値185)、左下方の画素403(画素値203)及び右下方の画素404(画素値190)が選択される。
FIG. 4A is a diagram illustrating an example of the filter range set for the target pixel of the target image and the selected pixel. In FIG. 4A, the numerical value shown in each pixel of the
図4(b)は、図4(a)に示された注目画像についての参照画像420に対して設定されるフィルタ範囲及び選択される画素の一例を示す図である。図4(b)において、各画素内に示された数値は、その画素の値を示す。この例では、注目画素と同位置にある基準画素421を中心とする縦5×横5画素のフィルタ領域430が設定されている。第2の許容範囲が図4(a)に示された注目画素401の画素値192に対して±15の範囲であるとすると、ハッチングで示された7個の画素422が選択される。
FIG. 4B is a diagram illustrating an example of a filter range and a selected pixel that are set with respect to the
なお、参照画像が複数設定される場合、時間類似画素選択部12は、注目画像から時間的に離れた参照画像に対して設定されるフィルタ領域ほど、そのフィルタ領域のサイズを大きくしてもよい。また時間類似画素選択部12は、注目画像から時間的に離れた参照画像に対して設定される第2の許容範囲ほど狭くしてもよい。
When a plurality of reference images are set, the temporally similar
時間類似画素選択部12は、各参照画像について、その参照画像を表す識別情報とともに、選択した画素の位置を表す情報を合成部13へ通知する。
For each reference image, the time-similar
合成部13は、空間類似画素選択部11によって選択された注目画像上の画素の画素値と、時間類似画素選択部12によって選択された画素の画素値とを合成することにより得られた値を、注目画像上の注目画素の補正値として算出する。本実施形態では、合成部13は、選択された画素の平均値を、注目画像上の注目画素の値とする。例えば、図4(a)及び図4(b)に示された選択画素の例では、選択画素の値の平均値は、(192+185+203+190+190+185+188+187+195+204+199)/11=192.5となるので、その平均値の整数部分である192が注目画素の値となる。
なお、合成部13は、空間類似画素選択部11によって選択された注目画像上の画素の画素値と、時間類似画素選択部12によって選択された画素の画素値の中央値を、注目画像上の注目画素の補正値としてもよい。この場合には、図4(a)及び図4(b)に示された選択画素の例では、選択画素の値の中央値は190であるので、注目画素の補正値は190となる。
The synthesizing
The synthesizing
図5は、画像補正装置6により実行される画像補正処理の動作フローチャートである。
画像補正装置6は、記憶部5に記憶されている画像の中から、処理対象となる画像を注目画像として読み込み、かつ、注目画像よりも前または後に生成された少なくとも1枚の参照画像を読み込む(ステップS101)。
画像補正装置6は、注目画像上の画素のうち、注目画素に設定されていない画素を注目画素に設定する(ステップS102)。例えば、画像補正装置6は、左上端の画素から順に、ラスタスキャン順に従って各画素を順次注目画素に設定する。
FIG. 5 is an operation flowchart of image correction processing executed by the image correction device 6.
The image correction device 6 reads an image to be processed as a noticed image from images stored in the storage unit 5 and reads at least one reference image generated before or after the noticed image. (Step S101).
The image correction device 6 sets a pixel that is not set as the target pixel among the pixels on the target image as the target pixel (step S102). For example, the image correction apparatus 6 sequentially sets each pixel as a target pixel according to the raster scan order in order from the upper left pixel.
空間類似画素選択部11は、注目画像上の注目画素の周囲にフィルタ領域を設定する(ステップS103)。そして空間類似画素選択部11は、フィルタ領域内で注目画素の値を基準値として設定される第1の許容範囲内に含まれる画素値を持つ画素を選択する(ステップS104)。空間類似画素選択部11は、注目画像上で選択した画素の位置を表す情報を合成部13へ通知する。
The space-similar pixel selection unit 11 sets a filter area around the target pixel on the target image (step S103). Then, the space-similar pixel selection unit 11 selects a pixel having a pixel value included in the first allowable range set with the value of the target pixel as a reference value in the filter region (step S104). The spatially similar pixel selection unit 11 notifies the
また時間類似画素選択部12は、各参照画像に対して、その参照画像上で注目画素と同位置にある基準画素の周囲にフィルタ領域を設定する(ステップS105)。そして時間類似画素選択部12は、フィルタ領域内で注目画素の値を基準値として設定される第2の許容範囲内に含まれる画素値を持つ画素を選択する(ステップS106)。時間類似画素選択部12は、各参照画像について、その参照画像を表す識別情報とともに、選択した画素の位置を表す情報を合成部13へ通知する。
In addition, the time-similar
合成部13は、選択された画素の値を合成することにより得られた値を注目画素の補正値として算出する(ステップS107)。上記のように、選択された画素の値を合成することにより得られた値は、例えば、選択された画素の値の平均値または中央値とすることができる。
その後、画像補正装置6は、注目画像上で注目画像に設定されていない画素が残っているか否か判定する(ステップS108)。注目画像上で注目画像に設定されていない画素が残っている場合(ステップS108−Yes)、画像補正装置6は、ステップS102以降の処理を繰り返す。
The synthesizing
Thereafter, the image correction device 6 determines whether or not there remains a pixel that is not set as the target image on the target image (step S108). When the pixel which is not set to the attention image remains on the attention image (Step S108-Yes), the image correction device 6 repeats the processing after Step S102.
一方、注目画像上で注目画像に設定されていない画素が残っていない場合(ステップS108−No)、画像補正装置6は、各画素がこの画像補正処理によって補正された画素値を持つ補正された注目画像を制御部7へ出力する(ステップS109)。なお、画像補正装置6は、補正された注目画像を記憶部5に記憶させてもよい。そして画像補正装置6は、この画像補正処理を終了する。
なお、画像補正装置6は、ステップS103及びS104の処理と、ステップS105及びS106の処理とを並列に実行してもよい。あるいは、画像補正装置6は、ステップS103及びS104の処理と、ステップS105及びS106の処理の順序を入れ替えてもよい。
On the other hand, when there are no remaining pixels that are not set in the target image on the target image (step S108-No), the image correction device 6 has corrected each pixel to have a pixel value corrected by the image correction process. The attention image is output to the control unit 7 (step S109). The image correction device 6 may store the corrected attention image in the storage unit 5. Then, the image correction device 6 ends this image correction process.
Note that the image correction apparatus 6 may execute the processes in steps S103 and S104 and the processes in steps S105 and S106 in parallel. Alternatively, the image correction apparatus 6 may change the order of the processes in steps S103 and S104 and the processes in steps S105 and S106.
なお、画像補正装置6から出力された補正された注目画像は、他の画像に対する参照画像として利用されてもよい。 Note that the corrected attention image output from the image correction device 6 may be used as a reference image for another image.
以上に説明してきたように、この画像補正装置は、参照画像に対しても、ある程度の大きさを持つフィルタ領域を設定して、そのフィルタ領域内から、注目画素の値に近い値を持つ画素を、注目画素の値を補正するために選択する。このようにして選択された画素には、注目画素に写っている被写体と同じ被写体が写っている可能性が高い。そのため、この画像補正装置は、注目画素に写っている被写体が移動物体であっても、残像によるボケを防止しつつ、3DNR効果を得ることができる。またこの画像補正装置は、トラッキング処理を行わなくても、注目画素に写っている被写体と同じ被写体が写っている可能性が高い画素を選択できる。そのため、この画像補正装置は、演算量の増加を抑制しつつ、異なる時間に生成された複数の画像を、画素値のノイズ成分の抑制に利用できる。 As described above, this image correction apparatus sets a filter area having a certain size for the reference image, and a pixel having a value close to the value of the target pixel from within the filter area. Are selected to correct the value of the pixel of interest. The pixel selected in this way is highly likely to contain the same subject as that of the subject shown in the target pixel. Therefore, this image correction apparatus can obtain a 3DNR effect while preventing blurring due to an afterimage even if the subject shown in the target pixel is a moving object. In addition, this image correction apparatus can select a pixel that has a high possibility that the same subject as the subject that appears in the pixel of interest appears without performing tracking processing. Therefore, this image correction apparatus can use a plurality of images generated at different times for suppressing noise components of pixel values while suppressing an increase in the amount of calculation.
なお、本発明は上記の実施形態に限定されるものではない。変形例によれば、時間類似画素選択部12は、設定されたフィルタ領域内で、基準画素に近い画素から順に、その画素の値が第2の許容範囲内に含まれているか否かを調べることにより、第1の所定数の画素が選択された時点で画素の選択を終了してもよい。
例えば、注目画素に写っている被写体が静止物体であれば、参照画像上では、注目画素と同位置にある基準画素に近い画素ほど注目画素に写っている被写体と同じ被写体が写っている可能性が高い。そこで、時間類似画素選択部12は、基準画素に近い画素から順に画素の選択を行っていくことで、フィルタ領域内の全ての画素についてその画素値が許容範囲内に含まれているか否かを調べなくて済むことがある。その結果、時間類似画素選択部12は、演算量を削減できる。
なお、第1の所定数は、例えば、参照画像上に設定されるフィルタ領域に含まれる画素の総数の1/2未満、例えば、12に設定される。
In addition, this invention is not limited to said embodiment. According to the modification, the time-similar
For example, if the subject shown in the target pixel is a static object, there is a possibility that on the reference image, the closer to the reference pixel located at the same position as the target pixel, the same subject as the subject shown in the target pixel may appear. Is expensive. Therefore, the time-similar
The first predetermined number is set to, for example, less than ½ of the total number of pixels included in the filter region set on the reference image, for example, 12.
図6は、この変形例における、参照画像に対する画素選択の順序の一例を示す図である。この例では、矢印600がフィルタ領域610内の各画素についての画素選択の順序を表している。矢印600に示されるように、基準画素601が最初に選択処理の対象となり、次に、基準画素601の左隣の画素602が選択処理の対象となる。その後、時計回りに順次選択処理の対象となる画素が設定される。なお、選択処理の対象となる画素は、基準画素601を中心として反時計回りに順次設定されてもよい。
FIG. 6 is a diagram illustrating an example of the order of pixel selection with respect to the reference image in this modification. In this example, the
同様に、空間類似画素選択部11も、注目画素に近い画素から順に、その画素の値が第1の許容範囲内に含まれているか否かを調べることにより、第2の所定数の画素が選択された時点で画素の選択を終了してもよい。これにより、空間類似画素選択部11は、演算量を削減できる。
なお、第2の所定数は、例えば、注目画像上に設定されるフィルタ領域に含まれる画素の総数の1/2、例えば、5に設定される。
Similarly, the spatially similar pixel selection unit 11 also checks whether or not the value of the pixel is included in the first allowable range in order from the pixel closest to the target pixel, so that the second predetermined number of pixels are determined. The pixel selection may be terminated when selected. Thereby, the space similar pixel selection part 11 can reduce the amount of calculations.
The second predetermined number is set to, for example, 1/2 of the total number of pixels included in the filter region set on the target image, for example, 5.
図7は、この変形例における、注目画像に対する画素選択の順序の一例を示す図である。この例では、矢印700が、フィルタ領域710内の各画素についての画素選択の順序を表している。矢印700に示されるように、注目画素701が最初に選択処理の対象となり、次に注目画素701の左隣の画素702が選択処理の対象となる。その後、時計回りに順次選択処理の対象となる画素が設定される。なお、注目画素701自身は常に選択される。また、選択処理の対象となる画素は、注目画素701を中心として反時計回りに順次設定されてもよい。
FIG. 7 is a diagram illustrating an example of the order of pixel selection with respect to the target image in this modification. In this example, an
また、参照画像から十分な数の画素が選択されれば、3DNRの効果が得られるので、注目画像そのものから選択される画素数は少なくてもよい。そこで、空間類似画素選択部11は、参照画像から選択された画素の数(以下、選択画素数と呼ぶ)が第1の所定数に達しなかった場合に限り、注目画素の周囲で第1の許容範囲内に含まれている画素値を持つ画素を選択してもよい。この場合、空間類似画素選択部11は、最大で、第1の所定数から選択画素数を減じた数の画素を注目画素の周囲に設定されたフィルタ領域から選択する。その際、空間類似画素選択部11は、上記のように、注目画素から近い順に画素の選択を行ってもよい。なお、この変形例においても、空間類似画素選択部11は、選択画素数が第1の所定数に達しているか否かにかかわらず、注目画素自身については選択する。
また参照画像が複数ある場合、空間類似画素選択部11は、全ての参照画像からの選択画素の合計が第1の所定数に達しなかった場合に限り、注目画素の周囲で第1の許容範囲内に含まれている画素値を持つ画素を選択してもよい。
Further, if a sufficient number of pixels are selected from the reference image, the 3DNR effect can be obtained, and therefore the number of pixels selected from the target image itself may be small. Therefore, the spatially similar pixel selection unit 11 does not change the first pixel around the target pixel only when the number of pixels selected from the reference image (hereinafter referred to as the selected pixel number) does not reach the first predetermined number. You may select the pixel with the pixel value contained in the tolerance | permissible_range. In this case, the spatially similar pixel selection unit 11 selects, from the filter region set around the pixel of interest, the maximum number of pixels obtained by subtracting the number of selected pixels from the first predetermined number. At that time, the space-similar pixel selection unit 11 may select pixels in the order from the target pixel as described above. In this modification as well, the spatially similar pixel selection unit 11 selects the target pixel itself regardless of whether or not the number of selected pixels has reached the first predetermined number.
In addition, when there are a plurality of reference images, the spatial similarity pixel selection unit 11 determines the first allowable range around the pixel of interest only when the sum of the selection pixels from all the reference images does not reach the first predetermined number. A pixel having a pixel value included therein may be selected.
さらに他の変形例によれば、画像補正装置は、画素値の許容範囲を設定するための基準値を決定するために、注目画像の注目画素の周囲に設定されたフィルタ領域内で、注目画素の値を中心とする範囲内の画素値を持つ画素を選択してもよい。そして画像補正装置は、選択された画素の値及び注目画素の値の平均値または中央値を基準値として第1及び第2の許容範囲を設定してもよい。この場合、基準値を設定するための画素を選択するための画素値の範囲は、第1の許容範囲よりも狭く設定されることが好ましい。これにより、画像補正装置は、注目画素の値そのものを基準値とするよりも、ノイズ成分を平滑化できるので、より適切な許容範囲を設定できる。
また画像補正装置は、第1及び第2の許容範囲のうちの少なくとも何れか一方について、基準値から上限までの幅と基準値から下限までの幅とを異ならせてもよい。
According to still another modification, the image correction apparatus uses the target pixel within a filter region set around the target pixel of the target image in order to determine a reference value for setting an allowable range of the pixel value. A pixel having a pixel value within a range centered on the value of may be selected. Then, the image correction apparatus may set the first and second allowable ranges using the average value or median value of the selected pixel value and the target pixel value as a reference value. In this case, it is preferable that the pixel value range for selecting a pixel for setting the reference value is set narrower than the first allowable range. As a result, the image correction apparatus can smooth the noise component rather than using the value of the target pixel itself as a reference value, so that a more appropriate allowable range can be set.
In addition, the image correction apparatus may vary the width from the reference value to the upper limit and the width from the reference value to the lower limit for at least one of the first and second allowable ranges.
さらに他の変形例によれば、画像補正装置は、注目画像上の一部の画素についてのみ、上記の実施形態または変形例による画像補正処理を実行してもよい。例えば、画素値が輝度値を表している場合、カメラモジュール2に対して設定されたゲインが小さく、かつ、画素値が大きいほど、ノイズ成分の影響は低下する。そこで画像補正装置は、例えば、ゲインが、所定値以下で、かつ、画素値が所定の閾値以上の画素に対しては、画像補正処理を行わないようにしてもよい。これにより、画像補正装置は、注目画像全体に対する演算量をより削減できる。なお、ゲインの所定値は、例えば、感度がISO100〜ISO200相当となる値に設定され、画素値の閾値は、例えば、画素値が8ビットで表される場合、127〜200に設定される。
According to still another modification, the image correction apparatus may execute the image correction process according to the above-described embodiment or modification only for some pixels on the target image. For example, when the pixel value represents a luminance value, the influence of the noise component decreases as the gain set for the
さらに他の変形例によれば、画像補正装置が、制御部7の代わりに、補正された画像に対してカラーバランスを調整したり、エッジ強調またはコントラスト強調といった処理を実行してもよい。
According to still another modified example, the image correction apparatus may adjust the color balance on the corrected image, or execute processing such as edge enhancement or contrast enhancement instead of the
上記の実施形態またはその変形例による画像補正装置の各部の機能は、プロセッサ上で実行されるコンピュータプログラムにより実現されてもよい。そのようなコンピュータプログラムは、磁気記録媒体、光記録媒体といったコンピュータ読み取り可能な記録媒体に記録された形で提供されてもよい。 The function of each unit of the image correction apparatus according to the above-described embodiment or its modification may be realized by a computer program executed on a processor. Such a computer program may be provided in a form recorded on a computer-readable recording medium such as a magnetic recording medium or an optical recording medium.
図8は、上記の実施形態またはその変形例による画像補正装置の各部の機能を実現するコンピュータプログラムが動作することにより、画像補正装置として動作するコンピュータの構成図である。
コンピュータ100は、ユーザインターフェース部101と、通信インターフェース部102と、記憶部103と、記憶媒体アクセス装置104と、プロセッサ105とを有する。プロセッサ105は、ユーザインターフェース部101、通信インターフェース部102、記憶部103及び記憶媒体アクセス装置104と、例えば、バスを介して接続される。
FIG. 8 is a configuration diagram of a computer that operates as an image correction apparatus by operating a computer program that realizes the functions of the respective units of the image correction apparatus according to the above-described embodiment or its modification.
The
ユーザインターフェース部101は、例えば、キーボードとマウスなどの入力装置と、液晶ディスプレイといった表示装置とを有する。または、ユーザインターフェース部101は、タッチパネルディスプレイといった、入力装置と表示装置とが一体化された装置を有してもよい。そしてユーザインターフェース部101は、例えば、ユーザの操作に応じて、画像補正処理を開始させる操作信号をプロセッサ105へ出力する。
The
通信インターフェース部102は、コンピュータ100を時間的に連続する複数の画像を生成可能な撮像装置(図示せず)と接続するための通信インターフェース及びその制御回路を有してもよい。そのような通信インターフェースは、例えば、Universal Serial Bus(ユニバーサル・シリアル・バス、USB)とすることができる。
さらに、通信インターフェース部102は、イーサネット(登録商標)などの通信規格に従った通信ネットワークに接続するための通信インターフェース及びその制御回路を有してもよい。
この場合には、通信インターフェース部102は、通信ネットワークに接続された他の機器から、時間的に連続する複数の画像を取得し、その複数の画像を記憶部103に記憶させる。また通信インターフェース部102は、プロセッサ105から受け取った補正画像を通信ネットワークを介して他の機器へ出力してもよい。
The
Furthermore, the
In this case, the
記憶部103は、例えば、読み書き可能な半導体メモリと読み出し専用の半導体メモリとを有する。そして記憶部103は、プロセッサ105上で実行される画像補正処理を実行するためのコンピュータプログラム、及びその画像補正処理の途中で得られる中間計算結果などを記憶する。また記憶部103は、通信インターフェース部102から受け取った画像、またはプロセッサ105により生成された補正画像などを記憶する。
The
記憶媒体アクセス装置104は、例えば、磁気ディスク、半導体メモリカード及び光記憶媒体といった記憶媒体106にアクセスする装置である。記憶媒体アクセス装置104は、例えば、記憶媒体106に記憶されたプロセッサ105上で実行される、画像補正処理用のコンピュータプログラムを読み込み、プロセッサ105に渡す。また記憶媒体アクセス装置104は、プロセッサ105により生成された補正画像を記憶媒体106に書き込んでもよい。
The storage
プロセッサ105は、上記の実施形態または変形例による画像補正処理用コンピュータプログラムを実行することにより、処理対象となる画像の各画素の値に含まれるノイズ成分を低減した補正画像を生成する。そしてプロセッサ105は、生成された補正画像を記憶部103に保存し、または通信インターフェース部102を介して他の機器へ出力する。
The
ここに挙げられた全ての例及び特定の用語は、読者が、本発明及び当該技術の促進に対する本発明者により寄与された概念を理解することを助ける、教示的な目的において意図されたものであり、本発明の優位性及び劣等性を示すことに関する、本明細書の如何なる例の構成、そのような特定の挙げられた例及び条件に限定しないように解釈されるべきものである。本発明の実施形態は詳細に説明されているが、本発明の精神及び範囲から外れることなく、様々な変更、置換及び修正をこれに加えることが可能であることを理解されたい。 All examples and specific terms listed herein are intended for instructional purposes to help the reader understand the concepts contributed by the inventor to the present invention and the promotion of the technology. It should be construed that it is not limited to the construction of any example herein, such specific examples and conditions, with respect to showing the superiority and inferiority of the present invention. Although embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and modifications can be made thereto without departing from the spirit and scope of the present invention.
以上説明した実施形態及びその変形例に関し、更に以下の付記を開示する。
(付記1)
第1の画像上の注目画素の周囲に第1のフィルタ領域を設定し、該第1のフィルタ領域の中から、前記注目画素の値に基づいて設定される所定の基準値を含む第1の許容範囲内の画素値を持つ第1の画素を選択する第1の画素選択部と、
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択する第2の画素選択部と、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする合成部と、
を有する画像補正装置。
(付記2)
前記第2の画素選択部は、前記第2のフィルタ領域内に含まれる画素のうち、前記基準画素に近い画素から順に、前記第2の許容範囲内に含まれる値を持つ画素を前記第2の画素として選択し、該選択された前記第2の画素の数が第1の所定数に達すると前記第2の画素の選択を停止する、付記1に記載の画像補正装置。
(付記3)
前記第1の画素選択部は、選択された前記第2の画素の数が前記第1の所定数未満である場合、前記注目画素に近い画素から順に、前記第1の許容範囲内に含まれる値を持つ画素を前記第1の画素として選択し、該選択された前記第1の画素の数と前記第2の画素の数の合計が前記第1の所定数に達すると前記第1の画素の選択を停止し、一方、選択された前記第2の画素の数が前記第1の所定数に達していると、前記注目画素だけを前記第1の画素として選択する、付記2に記載の画像補正装置。
(付記4)
前記第1の画素選択部は、前記第1のフィルタ領域内に含まれる画素のうち、前記注目画素に近い画素から順に、前記第1の許容範囲内に含まれる値を持つ画素を前記第1の画素として選択し、該選択された前記第1の画素の数が第2の所定数に達すると、前記第1の画素の選択を停止する、付記1または2に記載の画像補正装置。
(付記5)
前記第2の許容範囲は前記第1の許容範囲よりも狭い、付記1〜4の何れか一項に記載の画像補正装置。
(付記6)
前記基準値は、前記注目画素の値である、付記1〜5の何れか一項に記載の画像補正装置。
(付記7)
前記基準値は、前記第1のフィルタ領域内に含まれる画素のうち、所定の画素値の範囲内に含まれる値を持つ画素の値の平均値または中央値であり、該所定の画素値の範囲は、前記注目画素の値を含み、かつ前記第1の許容範囲よりも狭い、付記1〜6の何れか一項に記載の画像補正装置。
(付記8)
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値は、前記第1の画素の値及び前記第2の画素の値の平均値または中央値である、付記1〜7の何れか一項に記載の画像補正装置。
(付記9)
第1の画像上の注目画素の周囲に第1のフィルタ領域を設定し、該第1のフィルタ領域の中から、前記注目画素の値に基づいて設定される所定の基準値を含む第1の許容範囲内の画素値を持つ第1の画素を選択し、
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択し、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする、
ことを含む画像補正方法。
(付記10)
第1の画像上の注目画素の周囲に第1のフィルタ領域を設定し、該第1のフィルタ領域の中から、前記注目画素の値に基づいて設定される所定の基準値を含む第1の許容範囲内の画素値を持つ第1の画素を選択し、
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択し、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする、
ことをコンピュータに実行させるための画像補正用コンピュータプログラム。
The following supplementary notes are further disclosed regarding the embodiment described above and its modifications.
(Appendix 1)
A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. A first pixel selection unit that selects a first pixel having a pixel value within an allowable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel selection unit that selects a second pixel having a pixel value within a second allowable range including the predetermined reference value,
A combining unit that sets a value obtained by combining the value of the first pixel and the value of the second pixel as a correction value of the target pixel;
An image correction apparatus.
(Appendix 2)
The second pixel selection unit selects pixels having a value included in the second allowable range in order from a pixel close to the reference pixel among pixels included in the second filter region. The image correction apparatus according to
(Appendix 3)
When the number of the selected second pixels is less than the first predetermined number, the first pixel selection unit is included in the first allowable range in order from the pixel closest to the target pixel. A pixel having a value is selected as the first pixel, and when the sum of the number of the selected first pixels and the number of the second pixels reaches the first predetermined number, the first pixels The selection according to
(Appendix 4)
The first pixel selection unit selects pixels having values included in the first allowable range in order from a pixel close to the target pixel among pixels included in the first filter region. The image correction apparatus according to
(Appendix 5)
The image correction apparatus according to
(Appendix 6)
The image correction apparatus according to
(Appendix 7)
The reference value is an average value or a median value of pixels having values included in a predetermined pixel value range among pixels included in the first filter region. The image correction apparatus according to any one of
(Appendix 8)
The value obtained by combining the value of the first pixel and the value of the second pixel is an average value or a median value of the value of the first pixel and the value of the second pixel. The image correction apparatus according to any one of
(Appendix 9)
A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. Selecting a first pixel having a pixel value within an acceptable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel having a pixel value within a second allowable range including the predetermined reference value is selected from
A value obtained by combining the value of the first pixel and the value of the second pixel is set as a correction value of the target pixel.
An image correction method.
(Appendix 10)
A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. Selecting a first pixel having a pixel value within an acceptable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel having a pixel value within a second allowable range including the predetermined reference value is selected from
A value obtained by combining the value of the first pixel and the value of the second pixel is set as a correction value of the target pixel.
An image correction computer program for causing a computer to execute the above.
1 撮像装置
2 カメラモジュール
3 操作部
4 表示部
5 記憶部
6 画像補正装置
7 制御部
11 空間類似画素選択部(第1の画素選択部)
12 時間類似画素選択部(第2の画素選択部)
13 合成部
100 コンピュータ
101 ユーザインターフェース部
102 通信インターフェース部
103 記憶部
104 記憶媒体アクセス装置
105 プロセッサ
106 記憶媒体
DESCRIPTION OF
12-hour similar pixel selector (second pixel selector)
DESCRIPTION OF
Claims (6)
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択する第2の画素選択部と、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする合成部と、
を有する画像補正装置。 A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. A first pixel selection unit that selects a first pixel having a pixel value within an allowable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel selection unit that selects a second pixel having a pixel value within a second allowable range including the predetermined reference value,
A combining unit that sets a value obtained by combining the value of the first pixel and the value of the second pixel as a correction value of the target pixel;
An image correction apparatus.
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択し、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする、
ことを含む画像補正方法。 A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. Selecting a first pixel having a pixel value within an acceptable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel having a pixel value within a second allowable range including the predetermined reference value is selected from
A value obtained by combining the value of the first pixel and the value of the second pixel is set as a correction value of the target pixel.
An image correction method.
前記第1の画像よりも前または後に生成された少なくとも一つの第2の画像上の前記注目画素と同位置にある基準画素の周囲に第2のフィルタ領域を設定し、該第2のフィルタ領域の中から、前記所定の基準値を含む第2の許容範囲内の画素値を持つ第2の画素を選択し、
前記第1の画素の値及び前記第2の画素の値を合成することにより得られた値を前記注目画素の補正値とする、
ことをコンピュータに実行させるための画像補正用コンピュータプログラム。 A first filter region is set around a pixel of interest on the first image, and a first reference region including a predetermined reference value set based on the value of the pixel of interest is selected from the first filter region. Selecting a first pixel having a pixel value within an acceptable range;
A second filter region is set around a reference pixel located at the same position as the target pixel on at least one second image generated before or after the first image, and the second filter region; A second pixel having a pixel value within a second allowable range including the predetermined reference value is selected from
A value obtained by combining the value of the first pixel and the value of the second pixel is set as a correction value of the target pixel.
An image correction computer program for causing a computer to execute the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012060295A JP5906848B2 (en) | 2012-03-16 | 2012-03-16 | Image correction apparatus, image correction method, and computer program for image correction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012060295A JP5906848B2 (en) | 2012-03-16 | 2012-03-16 | Image correction apparatus, image correction method, and computer program for image correction |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013197680A true JP2013197680A (en) | 2013-09-30 |
JP5906848B2 JP5906848B2 (en) | 2016-04-20 |
Family
ID=49396163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012060295A Expired - Fee Related JP5906848B2 (en) | 2012-03-16 | 2012-03-16 | Image correction apparatus, image correction method, and computer program for image correction |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5906848B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015138399A (en) * | 2014-01-22 | 2015-07-30 | キヤノン株式会社 | image processing apparatus, image processing method, and computer program |
WO2019156140A1 (en) * | 2018-02-08 | 2019-08-15 | 興和株式会社 | Image processing device, image processing method, and image processing program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006229749A (en) * | 2005-02-18 | 2006-08-31 | Sharp Corp | Image processor and image processing method |
JP2009071419A (en) * | 2007-09-11 | 2009-04-02 | Mitsubishi Electric Corp | Noise reducing device |
JP2010505336A (en) * | 2006-09-29 | 2010-02-18 | トムソン ライセンシング | Automatic parameter estimation for adaptive pixel-based filtering |
JP2010171753A (en) * | 2009-01-23 | 2010-08-05 | Sony Corp | Image processing device, image processing method and imaging apparatus |
-
2012
- 2012-03-16 JP JP2012060295A patent/JP5906848B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006229749A (en) * | 2005-02-18 | 2006-08-31 | Sharp Corp | Image processor and image processing method |
JP2010505336A (en) * | 2006-09-29 | 2010-02-18 | トムソン ライセンシング | Automatic parameter estimation for adaptive pixel-based filtering |
JP2009071419A (en) * | 2007-09-11 | 2009-04-02 | Mitsubishi Electric Corp | Noise reducing device |
JP2010171753A (en) * | 2009-01-23 | 2010-08-05 | Sony Corp | Image processing device, image processing method and imaging apparatus |
Non-Patent Citations (1)
Title |
---|
JPN6015034714; 増井俊之,外3名: 'epsilon-非線形フィルタによる動画像信号の雑音低減' 1982年テレビジョン学会全国大会講演予稿集 第18号, 19820625, p.149-150 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015138399A (en) * | 2014-01-22 | 2015-07-30 | キヤノン株式会社 | image processing apparatus, image processing method, and computer program |
WO2019156140A1 (en) * | 2018-02-08 | 2019-08-15 | 興和株式会社 | Image processing device, image processing method, and image processing program |
Also Published As
Publication number | Publication date |
---|---|
JP5906848B2 (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6160292B2 (en) | Image correction apparatus, imaging apparatus, and computer program for image correction | |
US20120008005A1 (en) | Image processing apparatus, image processing method, and computer-readable recording medium having image processing program recorded thereon | |
US10002436B2 (en) | Image processing device, image processing method, and solid-state imaging device | |
US20160006931A1 (en) | Imaging apparatus and method for controlling the imaging apparatus | |
US10389952B2 (en) | Image-processing device which generates a high-resolution image by combining images, imaging device, image-processing method, and storage-medium | |
US10306210B2 (en) | Image processing apparatus and image capturing apparatus | |
JP5978949B2 (en) | Image composition apparatus and computer program for image composition | |
CN109328454B (en) | Image processing apparatus | |
US11282176B2 (en) | Image refocusing | |
US20200120271A1 (en) | Image processing device, image capturing device, image processing method, and storage medium | |
US20200304697A1 (en) | Device, control method, and storage medium | |
US9538074B2 (en) | Image processing apparatus, imaging apparatus, and image processing method | |
US9883096B2 (en) | Focus detection apparatus and control method thereof | |
JP5906848B2 (en) | Image correction apparatus, image correction method, and computer program for image correction | |
US10182186B2 (en) | Image capturing apparatus and control method thereof | |
JP2017038165A (en) | Image processing device, imaging device and image processing method | |
US10205922B2 (en) | Display control apparatus, method of controlling the same, and non-transitory computer-readable storage medium | |
US10205870B2 (en) | Image capturing apparatus and control method thereof | |
JP2015095890A (en) | Image processing apparatus and control method for the same | |
JP2016086351A (en) | Image processing system and program | |
US11328494B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2018067868A (en) | Imaging apparatus | |
JP2017126885A (en) | Image correction device, image correction method and computer program for image correction | |
KR20160069452A (en) | Image processing device, image processing method and program | |
CN105100587A (en) | Image capturing apparatus and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150811 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150901 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151026 |
|
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: 20160223 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160307 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5906848 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |