JP2019050591A - Electronic equipment, program - Google Patents
Electronic equipment, program Download PDFInfo
- Publication number
- JP2019050591A JP2019050591A JP2018204938A JP2018204938A JP2019050591A JP 2019050591 A JP2019050591 A JP 2019050591A JP 2018204938 A JP2018204938 A JP 2018204938A JP 2018204938 A JP2018204938 A JP 2018204938A JP 2019050591 A JP2019050591 A JP 2019050591A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- electronic device
- unit
- control device
- 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
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、電子機器、プログラムに関する。 The present invention relates to an electronic device and a program.
次のような画像処理装置が知られている。この画像処理装置は、連続撮影画像の中からベストショット画像を選択して記録する(例えば、特許文献1)。 The following image processing apparatus is known. This image processing apparatus selects and records the best shot image from among the continuously captured images (for example, Patent Document 1).
しかしながら、従来の画像処理装置では、ベストショット画像を取得して記録することはできるが、取得したベストショット画像に演出効果を付すことはできなかった。 However, in the conventional image processing apparatus, although the best shot image can be acquired and recorded, a rendering effect can not be added to the acquired best shot image.
第1の態様によると、電子機器は、被写体を撮像し、複数の画像データを生成する撮像部と、前記撮像部で生成された複数の画像データの一部を用いて、第1画像データに、被写体の位置に基づく枚数の第2画像データを合成する合成部と、を備える。
第2の態様によると、電子機器は、被写体を撮像し、複数の画像データを生成する撮像部と、前記撮像部で生成された複数の画像データのうちの第1画像データに合成する第2画像データのゲインを補正する補正部と、前記補正部でゲインが補正された前記第2画像データを前記第1画像データに合成する合成部と、を備え、前記補正部は、前記第1画像データの撮影時間と、前記第2画像データの撮影時間とに基づいて、前記第2画像データのゲインの強さを決定する。
第3の態様によると、プログラムは、コンピュータに、被写体を撮像して生成された複数の画像データの一部を用いて、第1画像データに、被写体の位置に基づく枚数の第2画像データを合成する手順、を実行させる。
第4の態様によると、コンピュータに、被写体を撮像して生成された複数の画像データのうちの第1画像データに合成する第2画像データのゲインを補正する補正手順と、前記補正手順によってゲインが補正された前記第2画像データを前記第1画像データに合成する合成手順と、を実行させるプログラムは、前記補正手順は、前記第1画像データの撮影時間と、前記第2画像データの撮影時間とに基づいて、前記第2画像データのゲインの強さを決定する。
According to the first aspect, the electronic device captures an object and generates a plurality of image data, and using a part of the plurality of image data generated by the imaging unit as the first image data And a combining unit configured to combine the second image data of the number based on the position of the subject.
According to the second aspect, the electronic device captures an object and generates an image data of a plurality of image data, and combines the first image data of the plurality of image data generated by the image pickup device. A correction unit that corrects the gain of the image data; and a combining unit that combines the second image data whose gain is corrected by the correction unit with the first image data, the correction unit including the first image The strength of the gain of the second image data is determined based on the data imaging time and the imaging time of the second image data.
According to the third aspect, the program causes the computer to use a part of the plurality of image data generated by capturing an image of the subject, the first image data including the second image data of the number of images based on the position of the subject. Execute the procedure to synthesize.
According to the fourth aspect, the computer performs a correction procedure for correcting the gain of the second image data to be combined with the first image data of the plurality of image data generated by imaging the subject, and the gain according to the correction procedure The program for executing the combining procedure of combining the second image data, the second image data of which has been corrected, with the first image data, the correction procedure includes a shooting time of the first image data The strength of the gain of the second image data is determined based on time.
本発明によれば、ベストショット画像を含んだ合成画像を生成して、ベストショット画像に演出効果を付すことができる。 According to the present invention, it is possible to generate a composite image including the best shot image and to add an effect to the best shot image.
図1は、本実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、操作部材101と、レンズ102と、撮像素子103と、制御装置104と、メモリカードスロット105と、モニタ106とを備えている。操作部材101は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズボタン、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。
FIG. 1 is a block diagram showing a configuration of an embodiment of a camera according to the present embodiment. The
レンズ102は、不図示のマウント部を介してカメラ100に着脱可能な構成となっていてもよいし、カメラ100と一体となっていてもよい。なお、レンズ102は、複数の光学レンズから構成されるが、図1では代表して1枚のレンズで表している。撮像素子103は、例えばCMOSなどのイメージセンサにより構成され、レンズ102を通過した光束による被写体像を光電変換してアナログ画像信号を生成し、生成したアナログ画像信号を制御装置104へ出力する。
The
制御装置104は、CPU、メモリ、およびその他の周辺回路により構成され、カメラ100を制御する。なお、制御装置104を構成するメモリには、SDRAMやフラッシュメモリが含まれる。SDRAMは、揮発性のメモリであって、CPUがプログラム実行時にプログラムを展開するためのワークメモリとして使用されたり、データを一時的に記録するためのバッファメモリとして使用される。また、フラッシュメモリは、不揮発性のメモリであって、制御装置104が実行するプログラムのデータや、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。
The
制御装置104は、撮像素子103から入力されたアナログ画像信号をデジタル画像信号に変換し、種々の画像処理を施した後に所定の画像形式、例えばJPEG形式の本画像データを生成する。また、制御装置104は、生成した本画像データに基づいて、表示用画像データ、例えばサムネイル画像データを生成する。制御装置104は、本画像データとサムネイル画像データとを含み、さらにヘッダ情報を付加した画像ファイルを生成してメモリカードスロット105へ出力する。
The
メモリカードスロット105は、記憶媒体としてのメモリカードを挿入するためのスロットであり、制御装置104から出力された画像ファイルをメモリカードに書き込んで記録する。また、メモリカードスロット105は、制御装置104からの指示に基づいて、メモリカード内に記憶されている画像ファイルを読み込む。
A
モニタ106は、カメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、当該モニタ106には、メモリカードに記憶されている画像やカメラ100を設定するための設定メニューなどが表示される。また、制御装置104は、使用者によってカメラ100のモードがライブビューモードに設定されると、撮像素子103から時系列で取得した画像の表示用画像データをモニタ106に出力する。これによってモニタ106にはスルー画が表示される。
The monitor 106 is a liquid crystal monitor (rear monitor) mounted on the back of the
本実施の形態におけるカメラ100は、使用者によって撮影のための予備操作が行われたときに、高速(例えば、30fpsや60fps等の速度)で連写を行ってプリキャプチャー撮影を行い、その後、使用者によって撮影指示のための操作が行われたときに、上記プリキャプチャー撮影によって取得された複数の画像を、あらかじめ決められた評価値を用いて評価することにより、特定の1枚の画像をベストショット画像として選択し、選択したベストショット画像をメモリカードに記録するベストショット撮影機能を備えている。
The
例えば、制御装置104は、使用者による操作部材101に含まれるレリーズボタンの半押し操作を上記予備操作として検出し、オートフォーカス処理等の撮影準備処理を開始するとともに、上述したプリキャプチャー撮影を行う。制御装置104は、その後、使用者によってレリーズボタンが全押しされたときに、撮影指示のための操作がなされたと判断して、ベストショット画像の選択を行う。
For example, the
なお、ベストショット画像の選択方法は、公知の処理であるため詳細な説明は省略するが、プリキャプチャー画像のそれぞれを解析して、一般的に良いと評価される画像が自動的に選択されるように評価値が算出される。例えば、手ブレ量が大きい画像の評価値や、人物が目を閉じている画像は、評価値が低く算出され、ベストショット画像として選択されにくくなっている。制御装置104は、プリキャプチャー撮影によって取得された複数の画像の中から、ベストショット画像選択のために算出された評価値が最も高い画像をベストショット画像として選択する。
In addition, since the selection method of the best shot image is a well-known process, the detailed description is omitted, but each of the pre-captured images is analyzed, and an image generally evaluated as good is automatically selected. The evaluation value is calculated as follows. For example, an evaluation value of an image having a large amount of camera shake or an image in which the person has closed eyes is calculated to have a low evaluation value, and is not easily selected as the best shot image. The
また、本実施の形態では、制御装置104は、上述したプリキャプチャー撮影機能により取得された複数の画像の中から、所定の選択条件に基づいて少なくともベストショット画像を含んだ2枚以上の画像を選択し、それらの画像を合成することにより、ベストショット画像に演出効果を付与した合成画像を生成する。なお、合成に用いる画像の選択条件については後述する。制御装置104は、使用者による一連の予備操作と撮影指示のための操作により取得したベストショット画像と合成画像とを関連付けてメモリカードに記録する。これによって、本実施の形態におけるカメラ100では、ベストショット画像を自動的に選択するとともに、ベストショット画像に演出効果を付与した合成画像を生成して、それぞれを関連付けて記録することができる。
Further, in the present embodiment, the
図2は、本実施の形態における撮影処理の流れを示すフローチャートである。図2に示す処理は、使用者によってカメラ100のモードが上述したベストショット画像と合成画像とを関連付けて記録するモードに設定されたときに起動するプログラムとして、制御装置104によって実行される。
FIG. 2 is a flowchart showing the flow of imaging processing in the present embodiment. The processing illustrated in FIG. 2 is executed by the
ステップS1において、制御装置104は、使用者によって操作部材101に含まれるレリーズボタンが半押しされることにより、上述した撮影のための予備操作が行われたか否かを判断する。ステップS1で肯定判断した場合には、ステップS2へ進む。
In step S <b> 1, the
ステップS2では、制御装置104は、図3に示すように、プリキャプチャー撮影における画像の取得タイミングを制御するための時間A、B、Cを設定する。時間A、B、Cの設定例を図3に示す。図3では、横軸が時刻を表しており、時刻t0でレリーズボタンが半押しされ、時刻t1でレリーズボタンが全押しされている。本実施の形態では、制御装置104は、時刻t0でレリーズボタンの半押しを検出した後、時間Cの間、プリキャプチャー撮影による高速連写を行って複数枚の画像を取得する。
In step S2, as shown in FIG. 3, the
例えば、時間Cとしては、連写速度と連写によって取得すべき画像の枚数に応じて設定され、ここでは、60fpsの速度で高速連写を行って20枚の画像を取得するために必要な時間が設定される。時間Aは、時刻t1でレリーズボタンが全押しされる前に何枚の画像を取得するかに応じて設定され、時間Bは、時刻t1でレリーズボタンが全押しされた後に何枚の画像を取得するかに応じて設定される。例えば、20枚の画像のうち、レリーズボタンが全押しされる前に12枚、レリーズボタンが全押しされた後に8枚取得する場合には、時間C=時間A+時間B、かつ時間A:時間Bが6:4となるように、時間AとBとを設定する。その後、ステップS3へ進む。 For example, time C is set according to the continuous shooting speed and the number of images to be acquired by the continuous shooting, and here, it is necessary to perform high-speed continuous shooting at a speed of 60 fps to obtain 20 images The time is set. The time A is set according to how many images are acquired before the release button is fully pressed at time t1, and the time B is how many images after the release button is fully pressed at time t1. It is set according to what is acquired. For example, when acquiring 20 images before the release button is full-pressed and 8 images after the release button is full-pressed among the 20 images, time C = time A + time B, and time A: time The times A and B are set so that B is 6: 4. Thereafter, the process proceeds to step S3.
ステップS3では、制御装置104は、レリーズ待機処理を実行する。本実施の形態では、上述したように、高速連写を行ってプリキャプチャー撮影を行いながら、レリーズボタンからの入力信号の検出を継続して、使用者によるレリーズボタンの全押し操作を待ち受ける。なお、本実施の形態では、図3に示したように、レリーズボタンが全押しされる前は、時間Aの間だけ連写撮影を行えばよいが、レリーズボタンが全押しされるタイミング(時刻t1)は、使用者の操作タイミングに依存するため、制御装置104は、このタイミングを予測することができない。よって、制御装置104は、使用者によってレリーズボタンが半押しされた後にプリキャプチャー撮影を開始して画像を取得しておき、後の処理において、ここで取得しておいた画像の中から時間Aの間に撮影した画像のみを抽出する。
In step S3, the
その後、ステップS4へ進み、制御装置104は、レリーズボタンの半押しを検出してから所定時間以内に使用者によるレリーズボタンの全押し操作を検出したか否かを判断する。ステップS4で否定判断した場合には、ステップS1へ戻る。これにより、レリーズボタンの半押し操作から所定時間以内に全押し操作が行われない場合には、処理をタイムアウトさせることができる。これに対して、ステップS4で肯定判断した場合には、ステップS5へ進む。
Thereafter, the process proceeds to step S4, and the
ステップS5では、制御装置104は、レリーズ処理を開始する。具体的には、制御装置104は、図3に示したように、時刻t1でレリーズボタンが全押しされてから時間Bの間連写を継続する。その後、ステップS6へ進み、制御装置104は、図3に示したように、時刻t1から時間Bの経過した後に連写を終了して、プリキャプチャー撮影による画像の取得を終了する。このとき、制御装置104は、上述したように時刻t1よりも前にプリキャプチャー撮影により取得した画像のうち、時刻t1の前の時間Aの間に取得した画像を抽出する。そして、抽出した時刻t1の前の時間Aの間に取得した画像と、時刻t1の後に取得した画像とをプリキャプチャー撮影により取得した画像(以下、「プリキャプチャー画像」と呼ぶ)としてバッファメモリに記録する。これによって、図3に示した時間Cの間に取得したプリキャプチャー画像(予備画像)をバッファメモリに記録することができる。その後、ステップS7へ進む。
In step S5, the
ステップS7では、制御装置104は、ステップS6でバッファメモリに記録したプリキャプチャー画像を対象として、公知のベストショット画像選択処理を実行し、算出された評価値が最も高い画像をベストショット画像として選択する。これによって、例えば、時間Cの間に撮影された20枚のプリキャプチャー画像の中から1枚のベストショット画像が選択される。
In step S7, the
その後、ステップS8へ進み、制御装置104は、プリキャプチャー画像の中から複数の合成用画像を選択する。本実施の形態では、合成する画像の枚数はあらかじめ設定されているものとする。この設定枚数は、使用者が任意に変更できるようにしてもよい。あるいは、制御装置104が撮影条件や被写体に基づいて枚数を設定するようにしてもよい。例えば、被写体の動きが早い場合や移動量が大きい場合には、制御装置104は、設定枚数を多くして、合成画像が被写体の動きを的確に表すようにする。また、4枚の画像を合成するように設定されている場合には、制御装置104は、ステップS7で選択したベストショット画像を含む4枚の画像を合成するために、プリキャプチャー画像の中からベストショット画像を除いて選択した3枚の画像を合成用画像として選択する。
Thereafter, the process proceeds to step S8, where the
ここで、本実施の形態における合成用画像の選択条件の一例を示す。本実施の形態では、制御装置104は、例えば、撮影条件や被写体に基づいて合成用画像を選択するものとする。具体的には、制御装置104は、使用者がプリキャプチャー画像の撮影時にカメラを振って撮影方向を変更した場合のそれぞれのプリキャプチャー画像におけるカメラの移動方向やカメラの移動量、主要被写体の種類、撮影シーンの種類、主要被写体の移動量、主要被写体のポーズや配置等の1つまたはこれらの組み合わせに応じて合成用画像を選択する。なお、カメラの移動方向や移動量は、カメラ100にジャイロセンサ等を備えることに検出可能であり、撮影時にこれらを検出して画像に関連付けておくことで判定が可能になる。主要被写体の種類や撮影シーンの種類については、撮影時のシーン判定結果を画像に関連付けておくことで判定が可能になる。主要被写体の移動量や主要被写体のポーズや配置については、撮影時に被写体認識を行って、認識結果を画像に関連付けておくことで判定が可能になる。
Here, an example of the selection condition of the image for composition in the present embodiment is shown. In the present embodiment, for example, the
図4〜図6に生成される合成用画像の一例を示す。図4はバスケットボールの試合中にシュートする人物の合成用画像、図5はジャンプするバレリーナの合成用画像、図6は揺らめいている旗Fの合成用画像である。
例えば、プリキャプチャー撮影によって取得された画像がバスケットボールの試合中にシュートをするゴルフのスイングをする人物を撮影した画像であるとする。この場合には、被写体の移動量(人物ゴルフクラブの移動量)に応じた枚数(図4の例では3枚)の合成用画像が選択される。その結果、図4に示すように、演出効果としてバスケットゴールに向けてシュートする人物の移動軌跡を表した合成用画像を作成することが可能となる。
4 to 6 show an example of the composition image to be generated. FIG. 4 is a composition image of a person who shoots during a basketball game, FIG. 5 is a composition image of a jumping ballerina, and FIG. 6 is a composition image of a waving flag F. FIG.
For example, it is assumed that an image obtained by pre-capture shooting is an image obtained by shooting a person who swings a golf that shoots during a basketball game. In this case, the number of composition images (three in the example of FIG. 4) according to the movement amount of the subject (the movement amount of the person golf club) is selected. As a result, as shown in FIG. 4, it is possible to create a composition image representing the movement trajectory of the person shooting toward the basket goal as a rendering effect.
あるいは、プリキャプチャー撮影によって取得された画像がジャンプをするバレリーナを撮影した画像であるとする。この場合には、カメラのスイング方向、スイング量、被写体の移動量に応じた枚数(図5の例では3枚)の合成用画像が選択される。その結果、図5に示すように、演出効果としてバレリーナのジャンプの軌跡を表した合成用画像を作成することが可能となる。あるいは、プリキャプチャー撮影によって取得された画像が静止している物体をカメラをスイングさせて撮影した画像である場合には、カメラのスイング方向、スイング量に応じた枚数の合成用画像を選択することにより、幻想的な演出効果を付した合成用画像を作成することが可能となる。 Alternatively, it is assumed that the image acquired by the pre-capture imaging is an image obtained by imaging a ballerina jumping. In this case, a combination image (three in the example of FIG. 5) according to the swing direction of the camera, the swing amount, and the movement amount of the subject is selected. As a result, as shown in FIG. 5, it is possible to create a composition image representing the trajectory of the ballerina's jump as a rendering effect. Alternatively, if the image acquired by the pre-capture imaging is an image captured by swinging the camera with an object that is stationary, select the number of images for synthesis according to the swing direction and swing amount of the camera. Thus, it becomes possible to create a composite image with a fantastic rendering effect.
あるいは、プリキャプチャー撮影によって取得された画像が揺らめいている旗を撮影した画像であるとする。この場合には、旗Fの形の変化量が一定間隔になるように複数の合成用画像が選択される。その結果、図6に示すように、演出効果として旗F1〜F3の揺らめきを表した合成用画像を作成することが可能となる。 Alternatively, it is assumed that the image acquired by the precapture imaging is an image obtained by imaging a waving flag. In this case, the plurality of composition images are selected such that the amount of change in the shape of the flag F is constant. As a result, as shown in FIG. 6, it is possible to create a composition image representing the waving of the flags F1 to F3 as a rendering effect.
その後、ステップS9へ進み、制御装置104は、ステップS7で選択したベストショット画像と、ステップS8で選択した合成用画像とに対して現像処理を施す。例えば、制御装置104は、ステップS7で選択したベストショット画像と、ステップS8で選択した合成用画像がRAWデータである場合には、公知の現像処理を施して、画像データを生成する。その後、ステップS10へ進み、制御装置104は、ステップS9で現像処理を行った後のベストショット画像(以下、「現像後ベストショット画像」と呼ぶ)をメモリカードに記録する。その後、ステップS11へ進む。
Thereafter, the process proceeds to step S9, where the
ステップS11では、制御装置104は、ステップS9で現像処理を行った後の合成用画像(以下、「現像後合成用画像」と呼ぶ)に対してゲイン補正を行う。このとき、制御装置104は、現像後合成用画像の枚数に応じて各現像後合成用画像にかけるゲイン補正量を決定してゲイン補正を行う。例えば、現像後合成用画像の枚数が4枚の場合には、各現像後合成用画像にかけるゲイン補正量を0.25として、ゲイン量の合計が1となるようにする。あるいは、合成画像の演出効果を高めるために、ベストショット画像の撮影タイミング(撮影時間)に近い合成用画像には、他に比べて高いゲインをかけて、少し明るめにゲイン補正を行うようにし、ベストショット画像から撮影時間が遠くなるほど、掛けるゲインを低くするようにしてもよい。その後、ステップS12へ進む。
In step S11, the
ステップS12では、制御装置104は、プリキャプチャー画像を撮影したときのカメラ100のスイング量が所定のスイング量以下であるか否か(スイング量が僅かであるか否か)を判断する。例えば、制御装置104は、プリキャプチャー撮影時の手触れを検出し、手触れ量が所定値以下のときに、ステップS12で肯定判断する。ステップS12で肯定判断した場合には、ステップS13へ進む。
In step S12, the
ステップS13では、制御装置104は、現像後ベストショット画像と複数の現像後合成用画像とを対象として、画像内の一部の領域でフレーム間の位置合わせを行う。例えば、制御装置104は、各画像の一部の領域の特徴点を重ね合わせるようにして位置合わせ量を決定し、それぞれの画像毎に位置合わせ処理(座標シフト)を行う。位置合わせに用いる特徴点としては、例えば、画像内で位置が変化しない背景から抽出した任意の点を用いればよい。具体的には、図6に示すような旗Fの揺らめきを表した合成用画像を作成する場合であれば、旗Fを支える支柱上の任意の点(たとえば図6では支柱P)等を用いることが考えられる。また、被写体が人物である場合には、顔認識処理によって検出した被写体の顔上の任意の点を用いるようにしてもよい。
In step S13, the
このように座標シフトをして複数の画像の位置合わせを行うと、画像の周辺画素では合成する全画像分データが揃わないので、制御装置104は、全画像分のデータが揃う最大の大きさとなるように各画像をクロップする。その後、ステップS14へ進む。これに対して、ステップS12で否定判断した場合には、そのままステップS14へ進む。
As described above, when coordinate alignment is performed and alignment of a plurality of images is performed, data for all images to be synthesized is not uniform at peripheral pixels of the images, so the
ステップS14では、制御装置104は、現像後ベストショット画像とゲイン補正された現像後合成用画像とを合成する。このとき、制御装置104は、ステップS13で画像の位置合わせとクロップを行った場合には、クロップ後の画像を合成する。これによって演出効果を付した合成画像を作成することができる。
In step S14, the
その後、ステップS15へ進み、制御装置104は、ステップS14で作成した合成画像を、ステップS10で記録した現像後ベストショット画像に関連付けてメモリカードに記録して、処理を終了する。これによって、複数のプリキャプチャー画像の中から選択したベストショット画像と、ベストショット画像に演出効果を付した合成画像とを関連付けてメモリカードに記録することができる。
Thereafter, the process proceeds to step S15, the
以上説明した本実施の形態によれば、以下のような作用効果を得ることができる。
(1)制御装置104は、プリキャプチャー撮影によって取得したプリキャプチャー画像の中からベストショット画像を選択し、プリキャプチャー画像の中から複数の合成用画像を抽出し、複数の合成用画像とベストショット画像とを合成するようにした。そして、ベストショット画像と合成画像とを関連付けて記録するようにした。これによって、ベストショット画像と、ベストショット画像に演出効果を付した合成画像とを関連付けて記録することができる。
According to the present embodiment described above, the following effects can be obtained.
(1) The
(2)制御装置104は、プリキャプチャー画像の中からベストショット画像選択処理における評価値が最も高い画像をベストショット画像として選択するようにした。これによって、プリキャプチャー画像の中か一般的に最も良いと評価される画像をベストショット画像として選択することができる。
(2) The
(3)制御装置104は、プリキャプチャー画像の中から撮影条件や被写体に基づいて複数の合成用画像を抽出するようにした。これによって、撮影条件や被写体に応じた最適な合成用画像を抽出することができる。
(3) The
(4)制御装置104は、撮影条件や被写体に基づいて、プリキャプチャー画像の中から抽出する合成用画像の数を決定するようにした。これによって、撮影条件や被写体に応じた最適な枚数の合成用画像を抽出することができる。
(4) The
(5)制御装置104は、現像後合成用画像に対してゲイン補正を行い、ゲイン補正を行った後の合成用画像を合成するようにした。これによって、演出効果を付与した合成画像を生成することができる。
(5) The
(6)制御装置104は、合成用画像の数に基づいて、各合成用画像かけるゲイン量を決定するようにした。これによって、合成用画像の数に応じた最適なゲイン量を決定することができる。
(6) The
(7)制御装置104は、ベストショット画像の撮影タイミング(撮影時間)に近い合成用画像には、他に比べて高いゲインをかけて、少し明るめにゲイン補正を行うようにし、ベストショット画像から撮影時間が遠くなるほど、掛けるゲインを低くするようにした。これによって、合成画像の演出効果をさらに高めることができる。
(7) The
(8)制御装置104は、プリキャプチャー撮影時の手振れ量が所定値以下のときは、ベストショット画像と合成用画像の画像内の一部の領域を用いて位置合わせを行うようにした。これによって、手ブレ量が微少であるときには、位置合わせを行った合成画像を作成することができる。
(8) When the camera shake amount at the time of pre-capture shooting is equal to or less than a predetermined value, the
(9)制御装置104は、位置合わせをした後に、各画像をクロップするようにした。これによって、位置合わせによって画像の周辺画素において合成する全画像分データが揃わなくなる場合でも、全ての合成用画像の大きさが揃えて合成することができる。
(9) The
―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した実施の形態では、制御装置104は、公知のベストショット画像選択処理によって算出された評価値が最も高い画像をベストショット画像として選択する例について説明した。しかしながら、制御装置104が自動選択したベストショット画像を使用者が他の画像に変更できるようにしてもよい。例えば、制御装置104は、自動選択したベストショット画像と他のプリキャプチャー画像とをモニタ106に表示して使用者に提示し、使用者からのベストショット画像との変更を受け付けるようにしてもよい。そして、制御装置104は、使用者によってプリキャプチャー画像の中から制御装置104が自動選択した画像とは異なる画像がベストショット画像として選択された場合には、ベストショット画像を使用者によって選択された画像に選択し直す。これによって、使用者は、ベストショット画像を好みの画像に変更することができる。
-Modified example-
In addition, the camera of embodiment mentioned above can also be deform | transformed as follows.
(1) In the embodiment described above, an example has been described in which the
(2)上述した実施の形態では、制御装置104は、現像処理を行った後の合成用画像に対してゲイン補正を行ってから合成を行う例について説明した。しかしながら、制御装置104は、現像処理を行う前のRAWデータに対してゲイン補正を行ってから合成を行い、合成後のRAWデータを現像処理するようにしてもよい。また、現像処理を行ってからゲイン補正を行うか、現像処理前にゲイン補正を行うかを、主要被写体の種類、撮影シーンの種類、ISO感度、画質モード、現像処理にかかる演算時間の少なくとも1つに基づいて、切り替えるようにしてもよい。
(2) In the above-described embodiment, an example has been described in which the
(3)制御装置104は、合成用画像を現像する際には、カメラのスイング方向、カメラのスイング量、主要被写体の種類、撮影シーンの種類、主要被写体の移動量、主要被写体のポーズや配置に基づいて、各合成用画像に適用する現像用パラメータを変更するようにしてもよい。ただし、ベストショット画像が基調となるよう、ベストショット画像の撮影タイミング付近の合成用画像は、デフォルトの現像用パラメータを施すのが好ましい。
(3) When developing the composition image, the
(4)上述した実施の形態では、制御装置104は、1枚のベストショット画像に対して1枚の合成用画像を作成し、それらを関連付けて記録する例について説明した。しかしながら、制御装置104は、1枚のベストショット画像に対して、演出効果が異なる複数枚の合成用画像を作成するようにしてもよい。この場合、合成画像の枚数は使用者が任意に設定できるようにしてもよいし、カメラ100があらかじめ準備されたアルゴリズムにより、自動的に設定するようにしてもよい。
(4) In the embodiment described above, an example has been described in which the
(5)上述した実施の形態では、制御装置104は、現像後合成用画像の枚数に応じて各現像後合成用画像にかけるゲイン補正量を決定してゲイン補正を行う例について説明した。しかしながら、制御装置104は、撮影条件や被写体に基づいて各現像後合成用画像にかけるゲイン補正量を決定するようにしてもよい。
(5) In the embodiment described above, an example has been described in which the
(6)制御装置104は、合成画像の演出効果をさらに高めるために、以下のような処理を行ってもよい。例えば、合成画像に特徴ある演出効果を出すために、プリキャプチャー撮影時にショット毎にピントを合わせる距離を変えておいてもよい。その際、プリキャプチャー撮影の前に主要被写体の種類や撮影シーンの種類を判断し、この判断結果に応じてデフォーカス量を可変としても良い。また、レリーズボタン全押しのタイミングではデフォーカス量を最小としてもよい。あるいは、制御装置104は、合成画像を解析し、解析結果に応じた画像処理を施すようにしてもよい。例えば、制御装置104は、合成画像の階調を解析し、適応的に階調補正処理を行ってもよい。また、合成画像の雰囲気を解析し、適応的にデジタルフィルターをかけてぼかし処理を行うようにしてもよい。また、制御装置104は、合成画像の彩度を解析し、彩度強調処理を行うようにしてもよい。
(6) The
なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。また、上述の実施の形態と複数の変形例を組み合わせた構成としてもよい。 The present invention is not limited to the configuration in the above-described embodiment as long as the characteristic functions of the present invention are not impaired. Further, the above-described embodiment and a plurality of modifications may be combined.
100 カメラ、101 操作部材、102 レンズ、103 撮像素子、104 制御装置、105 メモリカードスロット、106 モニタ
Claims (13)
前記撮像部で生成された複数の画像データの一部を用いて、第1画像データに、被写体の位置に基づく枚数の第2画像データを合成する合成部と、
を備える電子機器。 An imaging unit that images a subject and generates a plurality of image data;
A combining unit configured to combine the second image data of the number based on the position of the subject with the first image data using a part of the plurality of image data generated by the imaging unit;
An electronic device comprising the
前記合成部は、前記複数の画像データのそれぞれの被写体の位置に基づいて、合成する前記第2画像データの枚数を決定する電子機器。 In the electronic device according to claim 1,
The combining unit is an electronic device that determines the number of pieces of second image data to be combined based on positions of subjects of the plurality of pieces of image data.
前記合成部は、被写体の移動量に基づいて、合成する前記第2画像データの枚数を決定する電子機器。 In the electronic device according to claim 2,
The combining unit is an electronic device that determines the number of pieces of the second image data to be combined based on a movement amount of a subject.
前記撮像部で生成された複数の画像データのうちの第1画像データに合成する第2画像データのゲインを補正する補正部と、
前記補正部でゲインが補正された前記第2画像データを前記第1画像データに合成する合成部と、を備え、
前記補正部は、前記第1画像データの撮影時間と、前記第2画像データの撮影時間とに基づいて、前記第2画像データのゲインの強さを決定する電子機器。 An imaging unit that images a subject and generates a plurality of image data;
A correction unit that corrects a gain of second image data to be combined with first image data among the plurality of image data generated by the imaging unit;
And a combining unit that combines the second image data whose gain is corrected by the correction unit with the first image data,
The correction unit is an electronic device that determines the strength of the gain of the second image data based on a photographing time of the first image data and a photographing time of the second image data.
前記補正部は、前記第2画像データのうち、前記第1画像データに撮影時間が近いものには高いゲインを掛け、前記第1画像データから撮影時間が遠くなるほど掛けるゲインを低くする電子機器。 In the electronic device according to claim 4,
The correction unit is an electronic device that applies a high gain to a portion of the second image data that is close in imaging time to the first image data, and lowers the gain as the imaging time is farther from the first image data.
前記合成部は、前記画像データのそれぞれを解析して評価値を算出し、前記評価値が最も高い前記第1画像データとして選択する電子機器。 The electronic device according to any one of claims 1 to 5.
The combining unit analyzes each of the image data to calculate an evaluation value, and selects the first image data having the highest evaluation value as the first image data.
前記第1画像データを、使用者からの指示に基づいて、前記画像データの中から選択し直す電子機器。 The electronic device according to any one of claims 1 to 6.
Electronic equipment which reselects said 1st image data from said image data based on directions from a user.
前記合成部によって生成された合成画像データに対して画像処理を施すことにより、演出効果をさらに高める画像処理部を更に備える電子機器。 The electronic device according to any one of claims 1 to 7.
An electronic device further comprising an image processing unit that further enhances the rendering effect by performing image processing on the composite image data generated by the combining unit.
前記画像処理部は、前記合成画像データに対して、階調補正処理、ぼかし処理、彩度強調処理のうち少なくとも1つを施す電子機器。 In the electronic device according to claim 8,
The image processing unit is an electronic device that performs at least one of gradation correction processing, blurring processing, and saturation enhancement processing on the combined image data.
撮影時の手振れを検出する手振れ検出部を更に備え、
前記合成部は、前記手振れ検出部によって検出された手振れ量が所定値以下のときは、前記第1画像データと前記第2画像データの画像内の一部の領域を用いて前記第2画像データの位置合わせを行って合成を行う電子機器。 The electronic device according to any one of claims 1 to 9.
The camera is further equipped with a camera shake detection unit that detects camera shake during shooting.
When the amount of camera shake detected by the camera shake detection unit is equal to or less than a predetermined value, the combining unit uses the first image data and a partial region in the image of the second image data to perform the second image data. An electronic device that performs alignment by performing alignment.
前記第1画像データと前記合成部によって生成された合成画像データとを関連付けて記録する記録部を更に備える電子機器。 The electronic device according to any one of claims 1 to 10.
An electronic apparatus further comprising: a recording unit that associates and records the first image data and the composite image data generated by the combining unit.
被写体を撮像して生成された複数の画像データの一部を用いて、第1画像データに、被写体の位置に基づく枚数の第2画像データを合成する手順、を実行させるプログラム。 On the computer
A program for executing a procedure of combining the first image data with the second image data of the number based on the position of the subject using a part of a plurality of image data generated by imaging the subject.
被写体を撮像して生成された複数の画像データのうちの第1画像データに合成する第2画像データのゲインを補正する補正手順と、
前記補正手順によってゲインが補正された前記第2画像データを前記第1画像データに合成する合成手順と、を実行させるプログラムであって、
前記補正手順は、前記第1画像データの撮影時間と、前記第2画像データの撮影時間とに基づいて、前記第2画像データのゲインの強さを決定するプログラム。
On the computer
A correction procedure for correcting the gain of the second image data to be combined with the first image data of the plurality of image data generated by imaging the subject;
A program for executing a combining procedure of combining the second image data whose gain has been corrected by the correction procedure with the first image data,
The correction procedure is a program for determining the strength of the gain of the second image data based on the photographing time of the first image data and the photographing time of the second image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018204938A JP2019050591A (en) | 2018-10-31 | 2018-10-31 | Electronic equipment, program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018204938A JP2019050591A (en) | 2018-10-31 | 2018-10-31 | Electronic equipment, program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017181229A Division JP2018026838A (en) | 2017-09-21 | 2017-09-21 | Camera and image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019050591A true JP2019050591A (en) | 2019-03-28 |
Family
ID=65905894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018204938A Pending JP2019050591A (en) | 2018-10-31 | 2018-10-31 | Electronic equipment, program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019050591A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010016678A (en) * | 2008-07-04 | 2010-01-21 | Casio Comput Co Ltd | Image synthesizer, image synthesis program, and image synthesis method |
JP2010056796A (en) * | 2008-08-27 | 2010-03-11 | Casio Comput Co Ltd | Image processing apparatus, and program |
JP2010187250A (en) * | 2009-02-13 | 2010-08-26 | Fujitsu Ltd | Image correction device, image correction program, and image capturing apparatus |
JP2010233188A (en) * | 2009-03-30 | 2010-10-14 | Canon Inc | Imaging apparatus, control method thereof and program |
-
2018
- 2018-10-31 JP JP2018204938A patent/JP2019050591A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010016678A (en) * | 2008-07-04 | 2010-01-21 | Casio Comput Co Ltd | Image synthesizer, image synthesis program, and image synthesis method |
JP2010056796A (en) * | 2008-08-27 | 2010-03-11 | Casio Comput Co Ltd | Image processing apparatus, and program |
JP2010187250A (en) * | 2009-02-13 | 2010-08-26 | Fujitsu Ltd | Image correction device, image correction program, and image capturing apparatus |
JP2010233188A (en) * | 2009-03-30 | 2010-10-14 | Canon Inc | Imaging apparatus, control method thereof and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8106995B2 (en) | Image-taking method and apparatus | |
JP3873994B2 (en) | Imaging apparatus and image acquisition method | |
JP2017220892A (en) | Image processing device and image processing method | |
JP4798236B2 (en) | Imaging apparatus, image processing method, and program | |
TW201043014A (en) | Image capturing apparatus, image processing method and storage medium | |
JP6325841B2 (en) | Imaging apparatus, imaging method, and program | |
US9253406B2 (en) | Image capture apparatus that can display review image, image capture method, and storage medium | |
JP5400486B2 (en) | Imaging apparatus and imaging method | |
JP6330862B2 (en) | Imaging apparatus, imaging method, and program | |
JP2007133810A (en) | Image processor | |
JP2006332900A (en) | Electronic camera and image processing program | |
JP6242428B2 (en) | Imaging apparatus and imaging method | |
JP5948960B2 (en) | Camera, image processing apparatus and program | |
JP6213619B2 (en) | Camera and program | |
JP2019050591A (en) | Electronic equipment, program | |
JP5493839B2 (en) | Imaging apparatus, image composition method, and program | |
JP5332668B2 (en) | Imaging apparatus and subject detection program | |
JP5636660B2 (en) | Image processing apparatus, image processing method, and program | |
JP5029765B2 (en) | Image data generation apparatus and image data generation method | |
WO2013065642A1 (en) | Image processing device | |
JP2018026838A (en) | Camera and image processing apparatus | |
JP2008048152A (en) | Moving picture processing apparatus, moving picture photographing apparatus and moving picture photographing program | |
JP2013211719A (en) | Digital camera | |
JP6013574B2 (en) | Imaging apparatus and imaging method | |
JP5816732B2 (en) | Imaging apparatus and imaging method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181101 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190620 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190702 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20190902 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20191224 |