JP2015159396A - Imaging apparatus, image generation method, and program - Google Patents

Imaging apparatus, image generation method, and program Download PDF

Info

Publication number
JP2015159396A
JP2015159396A JP2014032635A JP2014032635A JP2015159396A JP 2015159396 A JP2015159396 A JP 2015159396A JP 2014032635 A JP2014032635 A JP 2014032635A JP 2014032635 A JP2014032635 A JP 2014032635A JP 2015159396 A JP2015159396 A JP 2015159396A
Authority
JP
Japan
Prior art keywords
image
moire
image data
unit
preview image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014032635A
Other languages
Japanese (ja)
Inventor
忠秀 柴尾
Tadahide Shibao
忠秀 柴尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2014032635A priority Critical patent/JP2015159396A/en
Publication of JP2015159396A publication Critical patent/JP2015159396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate moire caused by the difference between the display update frequency of a display apparatus and the image reception update frequency of an imaging device.SOLUTION: An imaging apparatus 1 acquires preview images obtained from an imaging device 11, successively with a predetermined rate. Next, the imaging apparatus 1 detects moire included in each of the acquired preview images. Next, the imaging apparatus 1 extracts each of portions equivalent to a predetermined phase of the moire from each of the acquired preview images. Next, the imaging apparatus 1 combines the extracted portions to a captured image and generates one piece of image data.

Description

本発明は、撮像装置、画像生成方法及びプログラムに関する。   The present invention relates to an imaging apparatus, an image generation method, and a program.

ブラウン管やLCD(Liquid Crytstal Display)などのディスプレイやプロジェクターなどの表示装置に表示されるコンテンツを、デジタルカメラやスマートフォンなどのカメラ機能を利用して、撮像した場合に、一方向に動くモアレ(干渉縞)が発生する場合がある。これは表示装置の表示更新周波数と、撮像素子の受像更新周波数との違いにより生じるものである。また表示装置のバックライトにフリッカーが生じている場合に、ローリングシャッターを使用するCMOSセンサを用いて当該表示装置を撮像した場合にも、フリッカーの周波数とローリングシャッターの走査速度とのずれにより同様のモアレが発生する。   Moire (interference fringe) that moves in one direction when content displayed on a display device such as a cathode ray tube or LCD (Liquid Crystal Display) or a display device such as a projector is captured using a camera function such as a digital camera or a smartphone. ) May occur. This is caused by the difference between the display update frequency of the display device and the image reception update frequency of the image sensor. In addition, when flicker is generated in the backlight of the display device, when the display device is imaged using a CMOS sensor that uses a rolling shutter, the same phenomenon occurs due to a difference between the flicker frequency and the scanning speed of the rolling shutter. Moire occurs.

なお、特許文献1には、表示装置の画素の間隔と撮像素子の画素の間隔とが一致しないことにより生じるモアレの解消方法が開示されている。   Note that Patent Document 1 discloses a method for eliminating moiré caused when the pixel interval of the display device does not match the pixel interval of the image sensor.

特開2013−239917号公報JP 2013-239917 A

ディスプレイの画素の間隔と撮像素子の画素の間隔とが一致しないことにより生じるモアレは、高い空間周波数で現れるため、特許文献1に記載の方法のように画像を暈すことで解消することができる。他方、ディスプレイ装置の表示更新周波数と撮像素子の受像更新周波数との違いにより生じるモアレは、空間周波数が低く、画像を暈すことでは解消することができない。
本発明の目的は、上述した課題を解決する撮像装置、画像生成方法及びプログラムを提供することにある。
Moire generated when the pixel interval of the display and the pixel interval of the image sensor do not coincide with each other appears at a high spatial frequency, and can be eliminated by fraudulently like the method described in Patent Document 1. . On the other hand, the moire caused by the difference between the display update frequency of the display device and the image receiving update frequency of the image sensor has a low spatial frequency and cannot be eliminated by frowning the image.
The objective of this invention is providing the imaging device, the image generation method, and program which solve the subject mentioned above.

本発明の一態様は、撮像素子から得られる画像データを、所定のレートで逐次取得する画像取得部と、前記画像取得部が取得した各画像データに含まれるモアレを検出するモアレ検出部と、前記画像取得部が取得した各画像データそれぞれから、前記モアレ検出部が検出したモアレの所定の位相に相当する部分をそれぞれ抽出する抽出部と、前記抽出部が抽出した部分を組み合わせて1つの画像データを生成する画像生成部とを備える撮像装置である。   One aspect of the present invention is an image acquisition unit that sequentially acquires image data obtained from an image sensor at a predetermined rate, a moire detection unit that detects moire included in each image data acquired by the image acquisition unit, An extraction unit that extracts a portion corresponding to a predetermined phase of the moire detected by the moire detection unit from each of the image data acquired by the image acquisition unit and a portion extracted by the extraction unit are combined into one image. And an image generation unit that generates data.

上記態様によれば、ディスプレイ装置の表示更新周波数と撮像素子の受像更新周波数との違いにより生じるモアレを解消することができる。   According to the above aspect, it is possible to eliminate moire caused by the difference between the display update frequency of the display device and the image reception update frequency of the image sensor.

いくつかの実施形態に係る撮像装置のハードウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the hardware constitutions of the imaging device which concerns on some embodiment. いくつかの実施形態に係る撮像装置のソフトウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the software structure of the imaging device which concerns on some embodiment. いくつかの実施形態に係る撮像装置による画像生成方法の概略を示す図である。It is a figure which shows the outline of the image generation method by the imaging device which concerns on some embodiment. いくつかの実施形態に係る撮像装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the imaging device which concerns on some embodiment.

以下、図面を参照しながら実施形態について詳しく説明する。
《第1の実施形態》
図1は、いくつかの実施形態に係る撮像装置1のハードウェア構成を示す概略ブロック図である。
撮像装置1は、光学系から受光した光を電子情報である画像データに変換する装置である。撮像装置1は、撮像素子11、量子化器12、シャッターボタン13、CPU14(Central Processing Unit)、主記憶装置15、補助記憶装置16、LCD17、LCDC18(LCD Controller)を備える。
Hereinafter, embodiments will be described in detail with reference to the drawings.
<< First Embodiment >>
FIG. 1 is a schematic block diagram illustrating a hardware configuration of an imaging apparatus 1 according to some embodiments.
The imaging device 1 is a device that converts light received from an optical system into image data that is electronic information. The imaging device 1 includes an imaging device 11, a quantizer 12, a shutter button 13, a CPU 14 (Central Processing Unit), a main storage device 15, an auxiliary storage device 16, an LCD 17, and an LCDC 18 (LCD Controller).

撮像素子11は、光学系を介して光を受光し、光の量に応じた電荷を蓄積する素子である。撮像素子11は、所定のリフレッシュレート(受像更新周波数)で蓄積した電荷を量子化器12に出力する。
量子化器12は、撮像素子11から出力された電荷を量子化し、画像データを逐次生成する。
シャッターボタン13は、押下により撮像のタイミングを決定するためのボタンである。
LCD17は、量子化器12から得られる画像を逐次プレビュー画像として表示する。
LCDC18は、LCD17の表示を制御する制御装置である。
The imaging element 11 is an element that receives light via an optical system and accumulates electric charges according to the amount of light. The image sensor 11 outputs the charges accumulated at a predetermined refresh rate (image receiving update frequency) to the quantizer 12.
The quantizer 12 quantizes the charge output from the image sensor 11 and sequentially generates image data.
The shutter button 13 is a button for determining an imaging timing when pressed.
The LCD 17 sequentially displays images obtained from the quantizer 12 as preview images.
The LCDC 18 is a control device that controls display on the LCD 17.

本実施形態に係る撮像装置1は、CPU14が、プログラムを補助記憶装置16から読み出して主記憶装置15に展開し、当該プログラムに従って処理を実行することで、画像データに含まれるモアレを除去する。   In the imaging apparatus 1 according to the present embodiment, the CPU 14 reads out a program from the auxiliary storage device 16, develops it in the main storage device 15, and executes processing according to the program, thereby removing moire included in the image data.

図2は、いくつかの実施形態に係る撮像装置1のソフトウェア構成を示す概略ブロック図である。
CPU14は、プログラムを実行することで、プレビュー画像取得部101、フォーカス処理部102、シャッター判定部103、撮像画像取得部104、モアレ検出部105、抽出部106、画像生成部107を備える。また、CPU14は、プログラムに従って、プレビュー画像保持部108及び撮像画像保持部109の記憶領域を主記憶装置15に確保する。なお、プレビュー画像取得部101及び撮像画像取得部104は、画像取得部の一例である。
FIG. 2 is a schematic block diagram illustrating a software configuration of the imaging apparatus 1 according to some embodiments.
The CPU 14 includes a preview image acquisition unit 101, a focus processing unit 102, a shutter determination unit 103, a captured image acquisition unit 104, a moire detection unit 105, an extraction unit 106, and an image generation unit 107 by executing a program. Further, the CPU 14 secures storage areas of the preview image holding unit 108 and the captured image holding unit 109 in the main storage device 15 according to the program. Note that the preview image acquisition unit 101 and the captured image acquisition unit 104 are examples of an image acquisition unit.

プレビュー画像取得部101は、LCD17に表示させたプレビュー画像をリフレッシュレートに従ってLCDC18から取得し、当該プレビュー画像をプレビュー画像保持部108に記録する。
フォーカス処理部102は、光学系のオートフォーカス処理を実行する。
シャッター判定部103は、シャッターボタン13が押下されたか否かを判定する。
撮像画像取得部104は、シャッターボタン13が押下されたときに撮像素子11が撮像した撮像画像を量子化器12から取得し、当該撮像画像を撮像画像保持部109に記録する。
The preview image acquisition unit 101 acquires the preview image displayed on the LCD 17 from the LCDC 18 according to the refresh rate, and records the preview image in the preview image holding unit 108.
The focus processing unit 102 executes an autofocus process for the optical system.
The shutter determination unit 103 determines whether or not the shutter button 13 has been pressed.
The captured image acquisition unit 104 acquires the captured image captured by the image sensor 11 when the shutter button 13 is pressed from the quantizer 12 and records the captured image in the captured image holding unit 109.

モアレ検出部105は、プレビュー画像取得部101が取得したプレビュー画像に含まれるモアレを検出する。
抽出部106は、プレビュー画像保持部108が保持する各プレビュー画像から、モアレの輝度ピーク部分を抽出する。
画像生成部107は、抽出部106が複数のプレビュー画像から抽出した輝度ピーク部分を、撮像画像保持部109が保持する撮像画像に合成することで、モアレのない画像データを生成する。
The moiré detection unit 105 detects moiré included in the preview image acquired by the preview image acquisition unit 101.
The extraction unit 106 extracts a luminance peak portion of moire from each preview image held by the preview image holding unit 108.
The image generation unit 107 generates image data without moire by combining the luminance peak portions extracted from the plurality of preview images by the extraction unit 106 with the captured image held by the captured image holding unit 109.

ここで、本実施形態に係る画像生成方法の概略について説明する。
図3は、いくつかの実施形態に係る撮像装置1による画像生成方法の概略を示す図である。
図3に示すように、撮像装置1がディスプレイ装置を撮像すると、撮像画像及びプレビュー画像には、平行波状のモアレが発生することがある。当該モアレは、ディスプレイ装置のリフレッシュレートと撮像素子11のリフレッシュレートとのずれによって生じるものである。このとき、時系列のプレビュー画像に含まれるモアレは、その位相が一定量ずつ変位している。これは、モアレの原因であるリフレッシュレートが一定の速度であるためである。
撮像装置1は、各プレビュー画像からモアレの輝度ピーク部分を抽出して、撮像画像に合成することで、図3に示すようにモアレのない画像データを生成する。
Here, an outline of the image generation method according to the present embodiment will be described.
FIG. 3 is a diagram illustrating an outline of an image generation method by the imaging apparatus 1 according to some embodiments.
As illustrated in FIG. 3, when the imaging apparatus 1 captures an image of a display apparatus, parallel-wave moire may occur in the captured image and the preview image. The moire is caused by a difference between the refresh rate of the display device and the refresh rate of the image sensor 11. At this time, the phase of the moire included in the time-series preview image is displaced by a certain amount. This is because the refresh rate that causes moire is a constant speed.
The imaging device 1 extracts the moiré luminance peak portion from each preview image and combines it with the captured image to generate image data without moiré as shown in FIG.

次に、本実施形態の撮像装置1の動作の詳細について説明する。
図4は、いくつかの実施形態に係る撮像装置1の動作を示すフローチャートである。
撮像装置1を起動し、光学系を被写体に向けると、フォーカス処理部102は、光学系のオートフォーカス処理を行い、光学系の焦点を被写体に合わせる(ステップS1)。このとき、LCDC18は、量子化器12が生成した画像データをプレビュー画像としてLCD17に表示させる。
Next, details of the operation of the imaging apparatus 1 of the present embodiment will be described.
FIG. 4 is a flowchart illustrating the operation of the imaging apparatus 1 according to some embodiments.
When the image pickup apparatus 1 is activated and the optical system is directed toward the subject, the focus processing unit 102 performs auto-focus processing of the optical system and focuses the optical system on the subject (step S1). At this time, the LCDC 18 displays the image data generated by the quantizer 12 on the LCD 17 as a preview image.

次に、モアレ検出部105は、プレビュー画像取得部101からLCD17に表示されているプレビュー画像を取得し、当該プレビュー画像にモアレが生じているか否かを判定する(ステップS2)。具体的には、モアレ検出部105は、プレビュー画像取得部101が取得した時系列のプレビュー画像をフーリエ変換することでプレビュー画像の空間周波数を特定し、時系列のプレビュー画像間で一定の変化量で位相が変化する空間周波数がある場合に、当該部分にモアレが発生していると判定する。   Next, the moire detection unit 105 acquires the preview image displayed on the LCD 17 from the preview image acquisition unit 101, and determines whether or not moire has occurred in the preview image (step S2). Specifically, the moiré detection unit 105 specifies the spatial frequency of the preview image by performing Fourier transform on the time-series preview image acquired by the preview image acquisition unit 101, and a certain amount of change between the time-series preview images. If there is a spatial frequency at which the phase changes, it is determined that moire has occurred in that portion.

モアレ検出部105が、プレビュー画像にモアレが生じていると判定した場合(ステップS2:YES)、プレビュー画像取得部101は、取得したプレビュー画像をプレビュー画像保持部108に記録する(ステップS3)。プレビュー画像を記録した場合、またはモアレ検出部105がプレビュー画像にモアレが生じていないと判定した場合(ステップS2:NO)、シャッター判定部103は、シャッターボタン13が押下されたか否かを判定する(ステップS4)。シャッター判定部103がシャッターボタン13が押下されていないと判定した場合(ステップS4:NO)、ステップS2に戻り、プレビュー画像にモアレが生じているか否かを判定する。なお、プレビュー画像にモアレが発生している場合、プレビュー画像保持部108には逐次プレビュー画像が追加記録されていく。他方、主記憶装置15においてプレビュー画像保持部108として確保される記憶領域には限りがある。そのため、プレビュー画像取得部101は、プレビュー画像保持部108として確保した記憶領域に新たなプレビュー画像を記録できない場合、最も古いプレビュー画像を破棄して、新たなプレビュー画像を記録する。   When the moiré detection unit 105 determines that moire has occurred in the preview image (step S2: YES), the preview image acquisition unit 101 records the acquired preview image in the preview image holding unit 108 (step S3). When the preview image is recorded, or when the moire detection unit 105 determines that no moire has occurred in the preview image (step S2: NO), the shutter determination unit 103 determines whether the shutter button 13 has been pressed. (Step S4). If the shutter determination unit 103 determines that the shutter button 13 has not been pressed (step S4: NO), the process returns to step S2 to determine whether or not moire has occurred in the preview image. When moire occurs in the preview image, the preview image is additionally recorded in the preview image holding unit 108 sequentially. On the other hand, the storage area secured as the preview image holding unit 108 in the main storage device 15 is limited. Therefore, when a new preview image cannot be recorded in the storage area secured as the preview image holding unit 108, the preview image acquisition unit 101 discards the oldest preview image and records a new preview image.

他方、シャッター判定部103が、シャッターボタン13が押下されたと判定した場合(ステップS4:YES)、撮像画像取得部104は、量子化器12から当該タイミングで撮像された画像データを取得し、当該画像データを撮像画像として撮像画像保持部109に記録する(ステップS5)。つまり、撮像した画像にモアレが含まれる場合、プレビュー画像保持部108には、撮像画像の直前に撮像されたプレビュー画像が保持される。次に、抽出部106は、プレビュー画像保持部108に、撮像画像の直前に撮像されたプレビュー画像が保持されているか否かを判定する(ステップS6)。   On the other hand, when the shutter determination unit 103 determines that the shutter button 13 has been pressed (step S4: YES), the captured image acquisition unit 104 acquires the image data captured at the timing from the quantizer 12, and Image data is recorded as a captured image in the captured image holding unit 109 (step S5). That is, when the captured image includes moire, the preview image storage unit 108 stores the preview image captured immediately before the captured image. Next, the extraction unit 106 determines whether or not the preview image captured immediately before the captured image is stored in the preview image storage unit 108 (step S6).

抽出部106が、プレビュー画像保持部108に撮像画像の直前に撮像されたプレビュー画像が保持されていると判定した場合(ステップS6:YES)、モアレ検出部105は、当該プレビュー画像と撮像画像とを解析し、プレビュー画像の中から、撮像画像と同じモアレが発生している部分を検出する(ステップS7)。具体的には、モアレ検出部105は、撮像画像と時系列のプレビュー画像との間で、一定の変化量で位相が変化する空間周波数がある部分を、モアレが発生している部分として検出する。このとき、モアレ検出部105は、モアレの空間周波数及び各プレビュー画像におけるモアレの位相を特定する。   When the extraction unit 106 determines that the preview image captured immediately before the captured image is stored in the preview image storage unit 108 (step S6: YES), the moire detection unit 105 determines the preview image, the captured image, and the like. And a portion where the same moire as the captured image is generated is detected from the preview image (step S7). Specifically, the moire detection unit 105 detects a portion having a spatial frequency in which the phase changes with a constant change amount between the captured image and the time-series preview image as a portion where moire is generated. . At this time, the moire detection unit 105 specifies the moire spatial frequency and the moire phase in each preview image.

次に、抽出部106は、プレビュー画像保持部108が保持するプレビュー画像それぞれから、モアレ検出部105が検出したモアレの輝度のピークに相当する部分をそれぞれ抽出する(ステップS8)。具体的には、抽出部106は、モアレ検出部105がステップS7で特定したモアレの空間周波数及び各プレビュー画像におけるモアレの位相に基づいて、プレビュー画像の中から輝度ピーク部分を特定する。   Next, the extraction unit 106 extracts, from each of the preview images held by the preview image holding unit 108, portions corresponding to the luminance peak of the moire detected by the moire detection unit 105 (step S8). Specifically, the extraction unit 106 specifies a luminance peak portion from the preview image based on the moire spatial frequency specified by the moire detection unit 105 in step S7 and the moire phase in each preview image.

次に、画像生成部107は、撮像画像保持部109が保持する撮像画像のうち、モアレ検出部105が検出した部分に、抽出部106がプレビュー画像から抽出したモアレの輝度のピークに相当する部分を合成することで、モアレのない画像データを生成する(ステップS9)。そして、画像生成部107は、生成した画像データを補助記憶装置16に記録し(ステップS10)、処理を終了する。   Next, the image generation unit 107 corresponds to a portion of the captured image held by the captured image holding unit 109 that corresponds to the luminance peak of the moire extracted from the preview image by the extraction unit 106 in the portion detected by the moire detection unit 105. Are combined to generate image data without moire (step S9). Then, the image generation unit 107 records the generated image data in the auxiliary storage device 16 (step S10), and ends the process.

他方、抽出部106が、プレビュー画像保持部108にプレビュー画像が保持されていないと判定した場合(ステップS6:NO)、撮像画像保持部109が保持する撮像画像にはモアレが発生していないため、合成処理を行わず、当該撮像画像を補助記憶装置16に記録し(ステップS10)、処理を終了する。   On the other hand, if the extraction unit 106 determines that the preview image is not held in the preview image holding unit 108 (step S6: NO), moire does not occur in the captured image held by the captured image holding unit 109. The captured image is recorded in the auxiliary storage device 16 without performing the synthesis process (step S10), and the process ends.

上記処理により、撮像装置1は、ディスプレイ装置の表示更新周波数と撮像素子11の受像更新周波数との違いにより生じるモアレを解消した画像データを得ることができる。   By the above processing, the imaging apparatus 1 can obtain image data in which moire caused by the difference between the display update frequency of the display apparatus and the image reception update frequency of the imaging element 11 is eliminated.

《第2の実施形態》
第1の実施形態では、画像生成部107は、抽出部106が抽出した輝度ピーク部分を合成することでモアレのない画像データを生成する場合について説明したが、これに限られない。
第2の実施形態に係る撮像装置1では、抽出部106は、プレビュー画像保持部108が保持するプレビュー画像それぞれから、モアレ検出部105が検出したモアレの所定の位相(例えば、60度や120度など)に相当する部分をそれぞれ抽出する。この場合、第1の実施形態と比較して輝度が落ちるが、第1の実施形態と同様に、モアレのない画像を得ることができる。
<< Second Embodiment >>
In the first embodiment, the case where the image generation unit 107 generates image data without moire by combining the luminance peak portions extracted by the extraction unit 106 has been described, but the present invention is not limited to this.
In the imaging apparatus 1 according to the second embodiment, the extraction unit 106 has a predetermined phase (for example, 60 degrees or 120 degrees) of the moire detected by the moire detection unit 105 from each preview image held by the preview image holding unit 108. Etc.) are extracted. In this case, although the luminance is lower than that in the first embodiment, an image without moire can be obtained as in the first embodiment.

《第3の実施形態》
第1、第2の実施形態では、抽出部106は、プレビュー画像保持部108が保持するプレビュー画像それぞれから、モアレ検出部105が検出したモアレの1つの位相に相当する部分をそれぞれ抽出する場合について説明したが、これに限られない。
第3の実施形態に係る撮像装置1では、抽出部106は、モアレ検出部105が検出したモアレのうち、輝度が同じくなる2つの位相(例えば、60度と120度、0度と180度など)に相当する部分をそれぞれ抽出する。これにより、抽出部106は、1枚のプレビュー画像から第1の実施形態及び第2の実施形態の2倍の合成用画像を抽出することができる。
<< Third Embodiment >>
In the first and second embodiments, the extraction unit 106 extracts a portion corresponding to one phase of the moire detected by the moire detection unit 105 from each preview image held by the preview image holding unit 108. Although explained, it is not limited to this.
In the imaging apparatus 1 according to the third embodiment, the extraction unit 106 includes two phases (for example, 60 degrees and 120 degrees, 0 degrees and 180 degrees, etc.) having the same luminance among the moire detected by the moire detection unit 105. ) Are extracted. As a result, the extraction unit 106 can extract an image for synthesis twice that of the first embodiment and the second embodiment from one preview image.

《第4の実施形態》
第1の実施形態では、抽出部106が、複数のプレビュー画像におけるモアレの輝度ピークに相当する部分を抽出する場合について説明したが、これに限られない。
第4の実施形態に係る撮像装置1では、抽出部106は、複数のプレビュー画像におけるモアレの輝度ピークを含む所定の位相幅(例えば、輝度ピークが90度である場合、30度から60度まで)の部分を抽出する。具体的には、抽出部106は、連続する2つのプレビュー画像におけるモアレの位相のずれ量に相当する位相幅の部分を抽出する。そして、画像生成部107は、抽出部106が抽出した複数の部分のうち、モアレの位相の時間変位の最後の1周期に相当するものを合成することで、モアレのない画像を生成する。
これにより、撮像装置1は、プレビュー画像保持部108に少なくともモアレの位相の時間変位の1周期に相当する枚数のプレビュー画像が保持されていれば、モアレのない画像を得ることができる。つまり、第4の実施形態に係る撮像装置1は、第1〜第3の実施形態と比較して少ないプレビュー画像からモアレのない画像データを得ることができる。
<< Fourth Embodiment >>
In the first embodiment, a case has been described in which the extracting unit 106 extracts a portion corresponding to a luminance peak of moire in a plurality of preview images. However, the present invention is not limited to this.
In the imaging apparatus 1 according to the fourth embodiment, the extraction unit 106 has a predetermined phase width including a luminance peak of moire in a plurality of preview images (for example, from 30 degrees to 60 degrees when the luminance peak is 90 degrees). ) Part is extracted. Specifically, the extraction unit 106 extracts a portion having a phase width corresponding to the amount of moiré phase shift between two consecutive preview images. Then, the image generation unit 107 generates an image without moire by combining the portions corresponding to the last one cycle of the temporal displacement of the moire phase among the plurality of portions extracted by the extraction unit 106.
Thus, the imaging apparatus 1 can obtain an image without moire if the preview image holding unit 108 holds at least the number of preview images corresponding to one cycle of the temporal displacement of the moire phase. That is, the imaging apparatus 1 according to the fourth embodiment can obtain image data without moiré from fewer preview images than in the first to third embodiments.

《第5の実施形態》
第4の実施形態では、抽出部106が、連続する2つのプレビュー画像におけるモアレの位相のずれ量に相当する位相幅の部分を抽出する場合について説明したが、これに限られない。
第5の実施形態に係る撮像装置1では、抽出部106は、連続する2つのプレビュー画像におけるモアレの位相のずれ量の2倍に相当する位相幅の部分を抽出する。この場合、抽出部106が抽出された部分を合成する際に、当該部分間に重複が生じる。画像生成部107は、重複が生じた部分の画素値を、重複した2つの画素の平均値として、画像データを生成する。これにより、撮像装置1は、より自然な画像データを得ることができる。
<< Fifth Embodiment >>
In the fourth embodiment, a case has been described in which the extraction unit 106 extracts a portion having a phase width corresponding to the amount of moiré phase shift between two consecutive preview images. However, the present invention is not limited to this.
In the imaging apparatus 1 according to the fifth embodiment, the extraction unit 106 extracts a portion having a phase width corresponding to twice the amount of moiré phase shift in two consecutive preview images. In this case, when the extraction unit 106 combines the extracted parts, an overlap occurs between the parts. The image generation unit 107 generates image data using the pixel value of the overlapping portion as the average value of the two overlapping pixels. Thereby, the imaging device 1 can obtain more natural image data.

《第6の実施形態》
第1の実施形態では、撮像蔵置が静止画像の画像データからモアレを除去する場合について説明したが、これに限られない。
第6の実施形態に係る撮像装置1では、撮像画像取得部104は、量子化器12から取得する画像データに基づいて動画像を取得する。そのため、撮像画像保持部109には、複数のフレーム画像からなる動画像が保持される。そして、抽出部106は、プレビュー画像保持部108が保持するプレビュー画像からモアレの所定の位相を含む部分を抽出し、画像生成部107は、抽出部106が抽出した部分を撮像画像保持部109が保持する動画像の各フレーム画像に合成することで、動画像を生成する。これにより、撮像装置1は、モアレのない動画像を得ることが出来る。
<< Sixth Embodiment >>
In the first embodiment, the case has been described in which the imaging storage removes moire from image data of a still image, but the present invention is not limited to this.
In the imaging device 1 according to the sixth embodiment, the captured image acquisition unit 104 acquires a moving image based on the image data acquired from the quantizer 12. Therefore, the captured image holding unit 109 holds a moving image including a plurality of frame images. Then, the extraction unit 106 extracts a portion including a predetermined phase of moire from the preview image held by the preview image holding unit 108, and the image generation unit 107 uses the captured image holding unit 109 to extract the portion extracted by the extraction unit 106. A moving image is generated by combining each frame image of the moving image to be held. Thereby, the imaging device 1 can obtain a moving image without moire.

《第7の実施形態》
第6の実施形態では、抽出部106が、プレビュー画像保持部108が保持するプレビュー画像からモアレの所定の位相を含む部分を抽出する場合について説明したが、これに限られない。
第7の実施形態では、抽出部106は、撮像画像保持部109が保持する動画像の複数のフレーム画像からモアレの所定の位相を含む部分を抽出する。これにより、撮像装置1は、プレビュー画像保持部108を有する必要がなくなる。
<< Seventh Embodiment >>
In the sixth embodiment, the case where the extraction unit 106 extracts a portion including a predetermined phase of moire from the preview image held by the preview image holding unit 108 has been described. However, the present invention is not limited to this.
In the seventh embodiment, the extraction unit 106 extracts a portion including a predetermined phase of moire from a plurality of frame images of a moving image held by the captured image holding unit 109. Thereby, the imaging apparatus 1 does not need to have the preview image holding unit 108.

《第8の実施形態》
第1の実施形態では、抽出部106が、撮像画像の直前に撮像されたプレビュー画像からモアレの輝度ピークの部分を抽出する場合について説明したが、これに限られない。
第8の実施形態では、プレビュー画像取得部101は、撮像画像の撮像後も継続してプレビュー画像をプレビュー画像保持部108に記録する。そして、抽出部106は、撮像画像の直後に撮像されたプレビュー画像から、モアレの輝度ピークの部分を抽出する。この場合も、撮像装置1は、第1の実施形態と同様に、モアレのない画像を得ることが出来る。
<< Eighth Embodiment >>
In the first embodiment, the case where the extraction unit 106 extracts a moire luminance peak portion from a preview image captured immediately before the captured image has been described, but the present invention is not limited thereto.
In the eighth embodiment, the preview image acquisition unit 101 continues to record a preview image in the preview image holding unit 108 after the captured image is captured. Then, the extraction unit 106 extracts a moire luminance peak portion from the preview image captured immediately after the captured image. Also in this case, the imaging apparatus 1 can obtain an image without moire as in the first embodiment.

《第9の実施形態》
第1の実施形態では、撮像画像の直前に撮像されたプレビュー画像から、第8の実施形態では撮像画像の直後に撮像されたプレビュー画像から、モアレの輝度ピークの部分を抽出する場合について説明したが、これに限られない。
第9の実施形態では、プレビュー画像取得部101は、撮像画像の撮像後も継続してプレビュー画像をプレビュー画像保持部108に記録する。そして、抽出部106は、撮像画像の直前に撮像されたプレビュー画像と直後に撮像されたプレビュー画像との両方から、モアレの輝度ピークの部分を抽出する。これにより、撮像装置1は、第1の実施形態や第8の実施形態と比較してより精度よくモアレのない画像を得ることが出来る。
<< Ninth embodiment >>
In the first embodiment, the case of extracting the moire brightness peak portion from the preview image captured immediately before the captured image and the preview image captured immediately after the captured image in the eighth embodiment has been described. However, it is not limited to this.
In the ninth embodiment, the preview image acquisition unit 101 continues to record a preview image in the preview image holding unit 108 after the captured image is captured. Then, the extracting unit 106 extracts a moire luminance peak portion from both the preview image captured immediately before the captured image and the preview image captured immediately after the captured image. Thereby, the imaging device 1 can obtain an image without moiré more accurately than in the first embodiment or the eighth embodiment.

《第10の実施形態》
第1の実施形態では、CPU14がモアレの除去処理を行う場合について説明したが、これに限られない。第10の実施形態に係る撮像装置1は、GPU(Graphic Processing Unit)を備え、当該GPUがモアレの除去処理を行う。この場合も、撮像装置1は、第1の実施形態と同様にモアレのない画像を得ることが出来る。
<< Tenth Embodiment >>
In the first embodiment, the case where the CPU 14 performs the moire removal process has been described. However, the present invention is not limited to this. The imaging apparatus 1 according to the tenth embodiment includes a GPU (Graphic Processing Unit), and the GPU performs a moire removal process. Also in this case, the imaging apparatus 1 can obtain an image without moire as in the first embodiment.

なお、上述した少なくとも1つの実施形態において、補助記憶装置16は、一時的でない有形の媒体の一例である。一時的でない有形の媒体の他の例としては、インタフェースを介して接続される磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等が挙げられる。また、このプログラムが通信回線によってコンピュータに配信される場合、配信を受けたコンピュータが当該プログラムを主記憶装置15に展開し、上記処理を実行しても良い。   In at least one embodiment described above, the auxiliary storage device 16 is an example of a tangible medium that is not temporary. Other examples of the tangible medium that is not temporary include a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, and a semiconductor memory connected via an interface. When this program is distributed to a computer via a communication line, the computer that has received the distribution may develop the program in the main storage device 15 and execute the above processing.

また、当該プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、当該プログラムは、前述した機能を補助記憶装置16に既に記憶されている他のプログラムとの組み合わせで実現するもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Further, the program may be a so-called difference file (difference program) that realizes the above-described function in combination with another program already stored in the auxiliary storage device 16.

1…撮像装置 11…撮像素子 12…量子化器 13…シャッターボタン 14…CPU 15…主記憶装置 16…補助記憶装置 17…LCD 18…LCDC 101…プレビュー画像取得部 102…フォーカス処理部 103…シャッター判定部 104…撮像画像取得部 105…モアレ検出部 106…抽出部 107…画像生成部 108…プレビュー画像保持部 109…撮像画像保持部   DESCRIPTION OF SYMBOLS 1 ... Imaging device 11 ... Imaging element 12 ... Quantizer 13 ... Shutter button 14 ... CPU 15 ... Main memory device 16 ... Auxiliary memory device 17 ... LCD 18 ... LCDC 101 ... Preview image acquisition part 102 ... Focus processing part 103 ... Shutter Determination unit 104 ... Captured image acquisition unit 105 ... Moire detection unit 106 ... Extraction unit 107 ... Image generation unit 108 ... Preview image storage unit 109 ... Captured image storage unit

Claims (5)

撮像素子から得られる画像データを、所定のレートで逐次取得する画像取得部と、
前記画像取得部が取得した各画像データに含まれるモアレを検出するモアレ検出部と、
前記画像取得部が取得した各画像データそれぞれから、前記モアレ検出部が検出したモアレの所定の位相に相当する部分をそれぞれ抽出する抽出部と、
前記抽出部が抽出した部分を組み合わせて1つの画像データを生成する画像生成部と
を備える撮像装置。
An image acquisition unit that sequentially acquires image data obtained from the image sensor at a predetermined rate;
A moire detection unit that detects moire included in each image data acquired by the image acquisition unit;
An extraction unit for extracting each portion corresponding to a predetermined phase of the moire detected by the moire detection unit from each of the image data acquired by the image acquisition unit;
An image generation apparatus comprising: an image generation unit that generates a piece of image data by combining portions extracted by the extraction unit.
前記モアレ検出部は、前記画像取得部が取得した各画像データ間において、一定の変化量で位相が変化する空間周波数がある部分を、モアレが生じている部分として検出する
請求項1に記載の撮像装置。
The said moiré detection part detects the part with the spatial frequency from which the phase changes with a fixed variation | change_quantity between each image data which the said image acquisition part acquired as a part which the moiré has produced. Imaging device.
前記抽出部は、前記画像取得部が取得した各画像データそれぞれから、前記モアレ検出部が検出したモアレの輝度のピークに相当する部分をそれぞれ抽出する
請求項1または請求項2に記載の撮像装置。
The imaging device according to claim 1, wherein the extraction unit extracts a portion corresponding to a luminance peak of the moire detected by the moire detection unit from each of the image data acquired by the image acquisition unit. .
撮像素子から得られる画像データを、所定のレートで逐次取得するステップと、
前記取得した各画像データからモアレが生じている部分を検出するステップと、
前記取得した各画像データそれぞれから、前記検出したモアレの所定の位相に相当する部分をそれぞれ抽出するステップと、
前記抽出した部分を組み合わせて1つの画像データを生成するステップと
を含む画像生成方法。
Sequentially acquiring image data obtained from the image sensor at a predetermined rate;
Detecting a portion where moire occurs from each of the acquired image data;
Extracting each portion corresponding to a predetermined phase of the detected moire from each of the acquired image data;
Generating a piece of image data by combining the extracted portions.
コンピュータを、
撮像素子から得られる画像データを、所定のレートで逐次取得する画像取得部、
前記画像取得部が取得した各画像データに含まれるモアレを検出するモアレ検出部、
前記画像取得部が取得した各画像データそれぞれから、前記モアレ検出部が検出したモアレの所定の位相に相当する部分をそれぞれ抽出する抽出部、
前記抽出部が抽出した部分を組み合わせて1つの画像データを生成する画像生成部
として機能させるためのプログラム。
Computer
An image acquisition unit that sequentially acquires image data obtained from the image sensor at a predetermined rate;
A moiré detection unit that detects moiré included in each image data acquired by the image acquisition unit;
An extraction unit that extracts a portion corresponding to a predetermined phase of the moire detected by the moire detection unit from each of the image data acquired by the image acquisition unit,
The program for functioning as an image generation part which combines the part which the said extraction part extracted, and produces | generates one image data.
JP2014032635A 2014-02-24 2014-02-24 Imaging apparatus, image generation method, and program Pending JP2015159396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014032635A JP2015159396A (en) 2014-02-24 2014-02-24 Imaging apparatus, image generation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014032635A JP2015159396A (en) 2014-02-24 2014-02-24 Imaging apparatus, image generation method, and program

Publications (1)

Publication Number Publication Date
JP2015159396A true JP2015159396A (en) 2015-09-03

Family

ID=54183106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014032635A Pending JP2015159396A (en) 2014-02-24 2014-02-24 Imaging apparatus, image generation method, and program

Country Status (1)

Country Link
JP (1) JP2015159396A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840090A (en) * 2021-09-27 2021-12-24 维沃移动通信有限公司 Shutter adjusting method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840090A (en) * 2021-09-27 2021-12-24 维沃移动通信有限公司 Shutter adjusting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
KR101396743B1 (en) An image processing device, an image processing method, and a recording medium
JP6220225B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
US20160227092A1 (en) Image capturing apparatus and method of controlling the same
JP5979961B2 (en) FOCUS DETECTION DEVICE, FOCUS DETECTION METHOD, AND IMAGING DEVICE
US20120300115A1 (en) Image sensing device
AU2015331251B2 (en) Imaging apparatus and imaging method
CN111385471B (en) Information processing apparatus and method, image pickup apparatus and control method thereof, and storage medium
JP2013055565A5 (en)
JP6700813B2 (en) Image processing device, imaging device, image processing method, and program
US9661237B2 (en) Image capturing apparatus, control method thereof, and storage medium
US10694127B2 (en) Image capturing apparatus, control method, and storage medium for reducing the sense of incongruity felt by a laser
JP2015159396A (en) Imaging apparatus, image generation method, and program
JP2012235198A (en) Imaging apparatus
US9906752B2 (en) Imaging apparatus and control method thereof
JP2014171110A (en) Image reproduction device, control method thereof, and control program
CN106033622B (en) Data acquisition and target object reconstruction method and device
CN104933677A (en) Methods for determining frames and photo composition within multiple frames
CN116132805A (en) Imaging element, imaging device, method of operating imaging element, and storage medium
JP2014153517A (en) Image processing device, image processing method, program, and storage medium
JP2014138378A (en) Image pickup device, control method thereof, and control program thereof
JP7271749B2 (en) Imaging device with line-of-sight detection function
JP5864983B2 (en) Image processing device
JP5683898B2 (en) TRACKING DEVICE AND TRACKING METHOD
US10397449B2 (en) Image capturing apparatus for storing, as image data, signal from pixel sensible to light, image processing apparatus for processing such image data, and control method therefor
KR101864318B1 (en) Apparatus and method for processing monitoring image