JP4148586B2 - Image synthesizer - Google Patents

Image synthesizer Download PDF

Info

Publication number
JP4148586B2
JP4148586B2 JP05983899A JP5983899A JP4148586B2 JP 4148586 B2 JP4148586 B2 JP 4148586B2 JP 05983899 A JP05983899 A JP 05983899A JP 5983899 A JP5983899 A JP 5983899A JP 4148586 B2 JP4148586 B2 JP 4148586B2
Authority
JP
Japan
Prior art keywords
image
pixel
image data
level
luminance level
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.)
Expired - Fee Related
Application number
JP05983899A
Other languages
Japanese (ja)
Other versions
JP2000261715A (en
Inventor
達也 飯島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP05983899A priority Critical patent/JP4148586B2/en
Publication of JP2000261715A publication Critical patent/JP2000261715A/en
Application granted granted Critical
Publication of JP4148586B2 publication Critical patent/JP4148586B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Television Signal Processing For Recording (AREA)
  • Color Television Image Signal Generators (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、銀塩カメラの撮影方法である多重露光撮影の効果を電子撮像装置において一定露光周期で撮り続けた画像を合成することによって同様の効果を得る画像合成装置に関するものである。
【0002】
【従来の技術】
従来銀塩カメラの撮影方法に、同一フィルム上に複数回露光を行い、複数の重なった像を得る多重露光という方法がある。多重露光を行うには、通常レンズの前を黒幕などで覆った状態でバルブ(シャッターが開放状態なので長時間露光状態。)に設定し、その後レンズの前の黒幕を取り去った間だけ露光を行い露光終了後に再びレンズ前を黒幕で覆う。この動作を複数回繰り返すことにより、多重露光の画像を得ることができる。
【0003】
また、電子撮像装置として、デジタルカメラが知られている。このデジタルカメラは、記録モードと再生モードとを設定可能であり、記録モードの状態においては、レンズ後方に配置されたCCD等の撮像素子は一定周期毎に光電変換出力を1画面分出力する。この光電変換出力はサンプルホールド回路でサンプルホールドされ、A/D変換器でデジタルデータに変換され、カラープロセス回路でカラープロセス処理され、デジタルの輝度、色差マルチプレクス信号(YUVデータ)とがDMA(Direct Memory Access)コントローラに出力される。DMAコントローラはカラープロセス回路のYUVデータ出力を、同じくカラープロセス回路の同期信号、メモリ書き込みイネーブル、クロック出力を用いて一度DMAコントローラ内部のバッファに書き込みDRAMI/Fを介してDRAMにDMA転送される。
【0004】
CPUは、前記YUVデータのDRAMへのDMA転送終了後に、このYUVデータをDRAMI/Fを介してDRAMより読み出して、VRAMコントローラを介してVRAMに書き込む。デジタルビデオエンコーダー(以下、単にビデオエンコーダという。)は、前記YUVデータをVRAMコントローラを介してVRAMより周期的に読み出し、これらのデータを元にビデオ信号を発生して表示装置に出力する。これにより表示装置には、現在のCCDから取り込んでいる画像情報に基づく画像が表示される。
【0005】
このように表示装置に現在画像が表示されている状態で、記録保存を行いたいタイミングでシャッターキーを操作すると、信号を発生する。するとCPUは、この信号に応じて現在のCCDから取り込んでいる1画面分のYUVデータのDRAMへのDMA転送後、直ちにCCDからのDRAMへの経路を停止し、記録保存状態に遷移する。この記録保存状態では、CPUがDRAMに書き込まれている1フレーム分のYUVデータをDRAMI/Fを介して、Y,Cb,Crの各コンポーネント毎に縦8画素×横8画素の基本ブロックと呼ばれる単位で読み出してJPEG回路に書き込み、JPEG回路で圧縮した符号データを該JPEG回路より読み出して、不揮発性メモリであるフラッシュメモリに書き込む。そして、1フレーム分のYUVデータの圧縮処理及びフラッシュメモリへの全圧縮データの書き込み終了に伴って、CPUは再度CCDからDRAMへの経路を起動する。
【0006】
再生モードでは、CPUはCCDからDRAMへの経路を停止し、画像選択キー等の押下に応じてCPUがフラッシュメモリから特定の1フレーム分の符号データを読み出してJPEG回路に書き込み、JPEG回路で伸長処理を行って得られた8×8の基本ブロック単位に、VRAMコントローラを介して、VRAMへ1フレーム分のYUVデータを展開する。すると、ビデオエンコーダは、VRAMに展開されている1フレーム分のYUVデータを元にビデオ信号を発生し、表示装置で表示を行う。
【0007】
そして上記に示すようなデジタルカメラは撮影した画像を画像データとして扱えるので複数回の撮影によって得られた複数のすべての画像を合成することで多重露光のような効果を実現していた。
【0008】
【発明が解決しようとする課題】
しかしながら、このような従来の銀塩カメラにおいて多重露光を行うには、レンズの前を黒幕などで覆った状態でバルブ(シャッターが開放状態なので長時間露光状態。)に設定し、レンズの前の黒幕を取り去ったり覆ったりする動作を複数回繰り返すことで、多重露光の画像を得るといった非常に手間のかかる作業であり、デジタルカメラでは銀塩カメラのようにシャッターをバルブ(シャッターが開放状態なので長時間露光状態。)に設定し撮影することはCCD上に像を重ねていくことになり電荷の放電などの関係で難しかった。また、複数回撮影した後に、撮影したすべての画像を合成する作業は非常に煩雑で手間のかかるものであった。
【0009】
本発明は、このような従来の課題に鑑てなされたものであり、撮像装置を一定露光周期で画像を撮り続ける連写状態にしておき、取り込み画像中に一定レベル以上の画素が存在する画像のみを合成する画像としたので非常に簡単な操作で銀塩カメラの多重露光と同等の画像を得ることができる画像合成装置を提供することを目的とするものである。
【0010】
【課題を解決するための手段】
以上の課題を解決すべく請求項1記載の発明は、被写体を撮像する撮像手段と、該撮像手段より発生した被写体像を記録する記録手段と、一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、前記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、上記判別手段により、判別された画像データの画素毎の輝度レベルを比較し、大きい方を選択し合成後の輝度レベルとする合成手段と、を設けたことを特徴としている。
【0011】
以上のような、請求項1記載の発明によれば、非常に簡単な操作で銀塩カメラの多重露光と同等の画像を得ることが可能となる。
【0012】
そして、請求項2記載の発明は、被写体を撮像する撮像手段と、該撮像手段より発生した被写体像を記録する記録手段と、一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、上記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、上記判別手段により、判別された画像データの画素毎の輝度レベルが、共に基準レベル以下の場合は互いの画素の平均値を合成後の輝度レベルとし、どちらか一方が基準レベル以上の場合は画素毎の輝度レベルを加算して画像を合成する合成手段と、を設けたことを特徴としている。
【0013】
このような、請求項2記載の発明によれば、度重なる画像合成により、画像の暗い部分が明るくなってしまうことを防ぐことができ、コントラストの高い合成画像を得ることが可能となる。
【0014】
また、請求項3記載の発明は、被写体を撮像する撮像手段と、該撮像手段より発生した被写体像を記録する記録手段と、一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、上記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、上記判別手段により、判別された画像データの画素毎の輝度レベルが、共に基準レベル以下の場合は小さい方を選択し合成後の輝度レベルとし、どちらか一方が基準レベル以上の場合は画素毎の輝度レベルを加算して画像を合成する合成手段と、を設けたことを特徴としている。
【0015】
このような、請求項3記載の発明によれば、度重なる画像合成により、画像の暗い部分が明るくなってしまうことを防ぐことができ、コントラストの高い合成画像を得ることが可能となる。
【0017】
そして、請求項4記載の発明は、前記判別手段は、所定の輝度レベル以上の画素が所定の個数以上検出されたとき、検出された画像データを画像合成の対象と判別することを特徴としている。
【0018】
このように、請求項4記載の発明によれば、検出手段により検出された画素が所定レベル以上で所定の個数以上の時にその画像は合成する画像と判別することが可能となる。
【0019】
また、請求項5記載の発明は、前記生成手段において、生成される画像データはRGB各成分から構成され、前記検出手段において、検出する各画素の輝度レベルはRGB各値を加算した値であり、前記合成手段における輝度レベルの加算は、前記判別された画像データの画素毎の輝度レベルのRGBを成分毎に加算することを特徴としている。
【0020】
このような、請求項5記載の発明によれば、画素毎のRGBを成分毎に加算することができ、銀塩カメラの多重露光の撮影と同等の画像を得ることが可能となる。
【0025】
【発明の実施の形態】
本発明の実施の形態を図に従って説明する。図1は本装置のブロック図である。記録モードではCCD1によって取り込まれた画像はCCDを制御しているCCD制御部2によってYUVプロセッサ3に送られる。YUVプロセッサ3でカラープロセス処理された画像データはメモリコントローラ5を介して画像メモリ4へと送られる。同時にスルー画像表示を行うために取り込まれた画像データはビデオエンコーダ6にも送られ、ビデオエンコーダ6はメモリコントローラ5から送られた画像データを元にビデオ信号を発生しビデオ出力部7へ出力する。また、キー処理部10はキーの入力を処理する。
【0026】
ここで自動多重露光モードになっているとCPU8は取り込んだ画像の中に判定レベル以上の画素が存在するか否かを判定して、そのような画素が1つでも存在するならば取り込んだ画像を画像合成の対象にする。このように判定レベル以上の画素が存在することにより合成の対象となった画像は画像メモリ4上で順次合成されていく。自動多重露光モードが終了すると、合成された画像データは記録媒体9に書き込まれ保存される。このように取り込んだ画像の中から一定レベル以上の画素を判別し画像合成を行うので簡単に合成画像を得ることができる。
【0027】
図2に本装置のCCD1の露光及び取り込み画像の転送、合成対象画像の判別のタイミングを示す。フレーム周期毎に出力されるフレームパルスFを基準として、CCD1の露光及び画像メモリ4への画像転送が行われる。本実施の形態では4フレーム分の露光時間で1枚の画像を得るように設定されている。4フレーム時間分の露光が終了すると、CCD1から画像メモリ4に対して直ちに画像転送が行われる。4フレーム毎に転送される画像のうち、画像合成判定レベル以上の画素を含む画像が合成の対象になる。すべての画像を合成するのではなく、必要な画像だけ選んで合成するので煩雑にならず効率のよい画像合成が行える。また、露光時間を4フレーム周期に固定したが露光時間は4フレームに限定されない。
【0028】
図3にCCD1から取り込んだ画像の中に一定レベル以上の画素が存在するか否かの合成対象の画像の判定方法を示す。わかりやすくするため、各画素はモノクロで各0〜255(8ビット)のレベルを持つものとする。各画素のレベルとは画素の輝度または濃淡に相当するものである。取り込んだ画像11は、4〜13のレベルの画素から構成されている。判定レベルは100に設定してあり、画像11にはレベル100以上の画素が存在していないので画像11は画像合成の対象にならない画像ということになる。取り込んだ画像12は2〜156のレベルの画素から構成されている。画像12にはレベル100以上の画素は5つ存在する。よってレベル100以上の画素が1つ以上存在するので、画像12は画像合成の対象となる。
【0029】
他の判別方法として画像中のすべての画素のレベルの平均値によって判別してもいいし、画像中に一定レベル以上の画素がいくつ存在するかといったように画素の個数で判別してもよい。また、上記に示すように図3ではモノクロ画像(各画素のレベルが1種類の場合。)を例に説明したが各画素がRGBの3種類から構成されるカラー画像に対しても同様の画像の合成方法を用いることができる。この場合、合成する画像を判別するための各画素レベルは各画素毎にRGBの3値を加算した値を使用し、画像の合成では対応する2つの画素に対して、そのRGBそれぞれの値を別々に加算して合成後のRGB値を求めればよい。
【0030】
図4は画像の合成方法である。レベルの単純加算によって合成画像を得る方法を示す。画像13は画像合成の対象になった画像で予め画像メモリ4に記憶されている画像であり、画像14は新たに画像合成の対象になった画像である。画像13と画像14の対応する画素を順番に加算して合成画像を得る。例えば、左上の画素では画像13はレベル11を持っており、対応する画像14の左上の画素はレベル8を持っている。これらを加算すると画像15の左上の画素のようにレベル19になる。同様にその右隣の画素について見てみると画像13ではレベル9であり画像14ではレベル7なので画像15で示すようにレベル16となる。以下同様に各の画素ごとに繰り返すと、画像13と画像14から合成された画像15が得られる。
【0031】
なお、図4では存在しないが加算した結果、画素レベルが255以上になった場合、画像13の画素がレベル181で画像14の画素レベルが177であり、加算した結果258になる。この場合は加算した結果の255以上である部分の3は削って255にする。以上のように合成の対象となる画像を判別することにより単純な画素レベルの加算による画像合成が可能となる。また、画像の合成方法として2つの合成対象の画像において各の対応する画素のレベルを比較し、大きい方の画素のレベルを選択するようにしてもよい。
【0032】
図5ではCPUの処理動作をフローチャートで示す。CPUはまずフレームカウンタを計数して、露光時間の4フレームが経過したか否かを判別する(S1)。4フレームが経過していればCCD1からの画像データを画像メモリ4に転送する(S2)。画像メモリ4に取り込んだ画像データはスルー画像表示を行うためにビデオエンコーダ6に送出される(S3)。次に図3でも説明したように取り込み画像の画素に判定レベル以上の画素が存在するか否かを判別する(S4)。その結果判定レベル以上の画素が1画素でも存在するならば、その画像を合成対象の画像とし、図4で説明したように画素毎に加算され画像の合成が行われ記録用の画像が作成される(S5)。以上のように一定露光周期で画像を撮り続け、取り込み画像中に判別レベル以上の画素が存在する画像のみを合成対象としたので、非常に簡単な操作でデジタルカメラでも銀塩写真の多重露光と同等の画像を得ることができる。特に花火や天体(流星)の撮影に効果を発揮する。
【0033】
図6ではコントラストの高い合成画像を得るための方法を示す。図4で示した合成方法であるレベルの単純加算はレベルの低い画素のレベルについても単純加算が行われるため、何度も画像の合成を繰り返すと画像の暗い部分(画素レベルの低い値の部分。)がだんだん明るくなってしまう。画素のレベルの低い値についても一定の基準レベル設定し、合成対象である2つの画像において対応する画素のレベルが共に一定のレベル以下ならば単純加算するのではなく、両画素のレベルの平均値を取る方法を行う。
【0034】
一定の基準レベル16とする。画像16の左上の画素のレベルは11であり、対応する画像17の左上の画素のレベルは8である。ここで両画素とも基準レベル16以下なので、(11+8)/2=9.5になり小数点以下は切り捨てで、両画素の平均値は9となり、合成された画像18の画素のレベルは9になる。その右隣の画素も同様に両画素とも基準レベル16以下なので、(9+7)/2=8になり両画素の平均値は8となり、合成された画像18の画素のレベルは8になる。また、二つの画素のうち少なくとも一方が基準レベル16以上であれば図4で示したように単純加算を行う。画像16の上から2行目、左から3列目の画素では、画素のレベルが167で対応する画像17の画素のレベルは5である。ここで一方の画素が基準レベル16以上なので単純加算を行い、167+5=172で合成された画像18の画素のレベルは172になる。
【0035】
このように低い画素のレベルにも一定の基準レベルを設けて合成方法を変えることにより、度重なる画像の合成によって画像の暗い部分が明るくなってしまうのを防ぐことができ、コントラストの高い画像を得ることが可能となる。なお、上記実施の形態では合成対象である2つの画像において対応する画素のレベルが共に一定のレベル以下ならば両画素のレベルの平均値を用いたが、対応する画素のレベルが共に一定のレベル以下の場合にはレベルの小さい方の画素のレベルを選択する方法にしてもよい。
【0036】
【発明の効果】
以上のように、請求項1記載の発明によれば、容易に銀塩カメラの多重露光撮影と同等の画像を得ることができ、花火や天体(流星)等の撮影ができる。
【0037】
そして、請求項2記載の発明によれば、度重なる画像合成により、画像の暗い部分が明るくなってしまうことを防ぐことができ、コントラストの高い合成画像を得ることが可能となる。
【0038】
また、請求項3記載の発明によれば、度重なる画像合成により、画像の暗い部分が明るくなってしまうことを防ぐことができ、コントラストの高い合成画像を得ることが可能となる。
【0040】
また、請求項4記載の発明によれば、検出手段により検出された画像データの画素のレベルが所定レベル以上で所定の個数以上の時にその画像は合成対象の画像として判別することできる。
【0041】
また、請求項5記載の発明によれば、画素毎のRGBを成分毎に加算することができ、銀塩カメラの多重露光の撮影と同等の画像を得ることが可能となる。
【図面の簡単な説明】
【図1】本発明装置のブロック図である。
【図2】自動多重露光処理のタイミングを示す図である。
【図3】合成対象の画像の判別方法を示す図である。
【図4】画像の合成方法を示す図である。
【図5】CPUの処理を示したフローである。
【図6】コントラストの高い画像を得る合成方法を示す図である。
【符号の説明】
1 CCD
2 CCD制御部
3 YUVプロセッサ
4 画像メモリ
5 メモリコントローラ
6 ビデオエンコーダ
7 ビデオ出力部
8 CPU
9 記録媒体
10 キー処理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image synthesizing apparatus that obtains a similar effect by synthesizing an image obtained by continuously taking an effect of multiple exposure photographing, which is a photographing method of a silver salt camera, at a constant exposure period in an electronic imaging apparatus.
[0002]
[Prior art]
As a conventional silver halide camera photographing method, there is a method called multiple exposure in which a plurality of images are obtained by exposing a plurality of times on the same film. To perform multiple exposure, set the valve (long exposure because the shutter is open) with the front of the lens covered with a black curtain, and then perform exposure only while removing the front curtain in front of the lens. After exposure, cover the front of the lens again with a black screen. Multiple exposure images can be obtained by repeating this operation a plurality of times.
[0003]
A digital camera is known as an electronic imaging device. This digital camera can set a recording mode and a reproduction mode, and in the recording mode state, an image pickup device such as a CCD arranged behind the lens outputs a photoelectric conversion output for one screen every fixed period. The photoelectric conversion output is sampled and held by a sample and hold circuit, converted to digital data by an A / D converter, color processed by a color process circuit, and digital luminance and color difference multiplexed signal (YUV data) are converted into DMA ( Direct Memory Access) is output to the controller. The DMA controller once writes the YUV data output of the color process circuit into the buffer inside the DMA controller using the synchronization signal, memory write enable, and clock output of the color process circuit, and DMA-transfers it to the DRAM via the DRAM I / F.
[0004]
After completing the DMA transfer of the YUV data to the DRAM, the CPU reads this YUV data from the DRAM via the DRAM I / F and writes it to the VRAM via the VRAM controller. A digital video encoder (hereinafter simply referred to as a video encoder) periodically reads the YUV data from the VRAM via the VRAM controller, generates a video signal based on the data, and outputs the video signal to the display device. As a result, an image based on the image information captured from the current CCD is displayed on the display device.
[0005]
In this way, when the shutter key is operated at the timing at which recording and storage are desired while the image is currently displayed on the display device, a signal is generated. Then, the CPU immediately stops the path from the CCD to the DRAM after the DMA transfer of the YUV data for one screen captured from the current CCD to the DRAM in response to this signal, and shifts to the record storage state. In this recording and storage state, the YUV data for one frame written in the DRAM by the CPU is called a basic block of 8 pixels vertically by 8 pixels horizontally for each component of Y, Cb, and Cr via the DRAM I / F. The data is read in units and written to the JPEG circuit, and the code data compressed by the JPEG circuit is read from the JPEG circuit and written to the flash memory, which is a nonvolatile memory. Then, along with the compression processing of one frame of YUV data and the completion of writing all the compressed data to the flash memory, the CPU activates the path from the CCD to the DRAM again.
[0006]
In the playback mode, the CPU stops the path from the CCD to the DRAM, and when the image selection key or the like is pressed, the CPU reads a specific frame of code data from the flash memory, writes it to the JPEG circuit, and decompresses it with the JPEG circuit. One frame of YUV data is developed into VRAM via the VRAM controller in units of 8 × 8 basic blocks obtained by processing. Then, the video encoder generates a video signal based on the YUV data for one frame developed in the VRAM and displays it on the display device.
[0007]
Since the digital camera as described above can handle captured images as image data, an effect like multiple exposure has been realized by combining all of a plurality of images obtained by a plurality of shootings.
[0008]
[Problems to be solved by the invention]
However, in order to perform multiple exposure in such a conventional silver salt camera, the front of the lens is covered with a black curtain or the like (the shutter is in an open state because the shutter is open), and the front of the lens is set. Repeating the operation to remove or cover the black curtain multiple times is an extremely time-consuming task, such as obtaining multiple exposure images. In digital cameras, the shutter is a valve (like the silver salt camera, because the shutter is open). It was difficult to set the time exposure state) to shoot and to superimpose an image on the CCD because of the discharge of electric charges. In addition, the operation of combining all the captured images after shooting a plurality of times is very complicated and troublesome.
[0009]
The present invention has been made in view of such a conventional problem, and is an image in which the imaging device is in a continuous shooting state in which an image is continuously taken at a constant exposure cycle, and a pixel having a certain level or more is present in the captured image. Therefore, it is an object of the present invention to provide an image composition apparatus capable of obtaining an image equivalent to the multiple exposure of a silver salt camera by a very simple operation.
[0010]
[Means for Solving the Problems]
In order to solve the above-described problems, the invention described in claim 1 is directed to an imaging unit that images a subject, a recording unit that records a subject image generated by the imaging unit, and an exposure that is performed at regular intervals and is generated by the imaging unit. Generating means for generating image data of the subject image based on the detected signal, and detection for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means. And means for discriminating the image data as an object of image composition when there is a pixel having a predetermined luminance level or more by the detecting means, and the discriminating means for each pixel of the image data discriminated by the discriminating means . And a synthesizing unit that compares the luminance levels and selects the larger one to obtain the synthesized luminance level .
[0011]
As described above, according to the first aspect of the present invention, it is possible to obtain an image equivalent to the multiple exposure of the silver salt camera by a very simple operation.
[0012]
According to the second aspect of the present invention, the imaging means for imaging the subject, the recording means for recording the subject image generated by the imaging means, the exposure at regular intervals, and based on the signal generated by the imaging means Generating means for generating image data of a subject image; detecting means for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means; and the detection When there is a pixel having a predetermined luminance level or higher by the means, the determination means for determining the image data as an image synthesis target and the luminance level for each pixel of the image data determined by the determination means are both When the average level is below the reference level, the average value of each pixel is used as the post-synthesis luminance level, and when either one is above the reference level, the luminance level for each pixel is added to synthesize the image It is characterized by comprising a stage, a.
[0013]
According to the second aspect of the invention, it is possible to prevent the dark portion of the image from becoming bright due to repeated image composition, and it is possible to obtain a composite image with high contrast.
[0014]
According to a third aspect of the present invention, there is provided an imaging means for imaging a subject, a recording means for recording a subject image generated by the imaging means, an exposure at regular intervals, and based on a signal generated by the imaging means. Generating means for generating image data of a subject image; detecting means for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means; and the detection When there is a pixel having a predetermined luminance level or higher by the means, the determination means for determining the image data as an image synthesis target and the luminance level for each pixel of the image data determined by the determination means are both A synthesis unit that selects a smaller one when the level is lower than the reference level and sets it as a luminance level after synthesis; if either one is higher than the reference level, the luminance level for each pixel is added to synthesize the image; It is characterized in that the provided.
[0015]
According to the third aspect of the present invention, it is possible to prevent the dark portion of the image from becoming bright due to repeated image composition, and it is possible to obtain a composite image with high contrast.
[0017]
The invention according to claim 4 is characterized in that the discriminating unit discriminates the detected image data as an object of image synthesis when a predetermined number or more of pixels having a predetermined luminance level or more are detected. .
[0018]
Thus, according to the fourth aspect of the present invention, when the number of pixels detected by the detecting means is equal to or higher than a predetermined level and equal to or higher than a predetermined number, the image can be determined as an image to be synthesized.
[0019]
In the invention according to claim 5, the image data generated in the generating means is composed of RGB components, and the luminance level of each pixel detected in the detecting means is a value obtained by adding RGB values. , addition of the luminance levels definitive said combining means is characterized by adding the luminance levels of the RGB for each pixel of the determination image data for each component.
[0020]
According to the fifth aspect of the present invention, RGB for each pixel can be added for each component, and it is possible to obtain an image equivalent to the multiple exposure shooting of the silver salt camera.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of the apparatus. In the recording mode, an image captured by the CCD 1 is sent to the YUV processor 3 by the CCD controller 2 that controls the CCD. Image data that has undergone color process processing by the YUV processor 3 is sent to the image memory 4 via the memory controller 5. At the same time, the captured image data for displaying the through image is also sent to the video encoder 6, which generates a video signal based on the image data sent from the memory controller 5 and outputs it to the video output unit 7. . The key processing unit 10 processes key input.
[0026]
Here, when the automatic multiple exposure mode is set, the CPU 8 determines whether or not there is a pixel of a determination level or higher in the captured image, and if there is even one such pixel, the captured image. Is the target of image composition. As described above, since the pixels having the determination level or higher exist, the images to be combined are sequentially combined on the image memory 4. When the automatic multiple exposure mode ends, the combined image data is written and stored in the recording medium 9. In this way, since the image synthesis is performed by discriminating pixels above a certain level from the captured image, a synthesized image can be easily obtained.
[0027]
FIG. 2 shows the timing of exposure of the CCD 1 of this apparatus, transfer of the captured image, and discrimination of the synthesis target image. The exposure of the CCD 1 and the image transfer to the image memory 4 are performed with the frame pulse F output every frame period as a reference. In this embodiment, it is set to obtain one image with an exposure time of 4 frames. When the exposure for four frame times is completed, the image is immediately transferred from the CCD 1 to the image memory 4. Of the images transferred every four frames, an image including a pixel having an image combination determination level or higher is an object to be combined. Instead of synthesizing all images, only the necessary images are selected and synthesized, so that efficient image synthesis can be performed without complications. Further, although the exposure time is fixed to a 4-frame cycle, the exposure time is not limited to 4 frames.
[0028]
FIG. 3 shows a method for determining an image to be synthesized as to whether or not there is a pixel of a certain level or higher in the image captured from the CCD 1. For the sake of clarity, each pixel is assumed to have monochrome levels of 0 to 255 (8 bits). The level of each pixel corresponds to the luminance or shading of the pixel. The captured image 11 is composed of 4 to 13 level pixels. The determination level is set to 100, and the image 11 is an image that is not an object of image synthesis because there are no pixels of level 100 or higher. The captured image 12 is composed of pixels of levels 2 to 156. The image 12 has five pixels of level 100 or higher. Accordingly, since there is one or more pixels of level 100 or higher, the image 12 is a target for image synthesis.
[0029]
As another determination method, the determination may be made based on the average value of the levels of all the pixels in the image, or may be determined by the number of pixels such as how many pixels of a certain level or more exist in the image. In addition, as described above, FIG. 3 illustrates an example of a monochrome image (when each pixel has one level). However, a similar image is applied to a color image in which each pixel is composed of three types of RGB. The synthesis method can be used. In this case, each pixel level for discriminating the image to be synthesized uses a value obtained by adding three values of RGB for each pixel, and in composition of the image, each RGB value is set for two corresponding pixels. What is necessary is just to add separately and to obtain | require the RGB value after a synthesis | combination.
[0030]
FIG. 4 shows an image composition method. A method of obtaining a composite image by simple addition of levels will be described. The image 13 is an image that is an image synthesis target and is stored in the image memory 4 in advance, and the image 14 is a new image synthesis target image. Pixels corresponding to images 13 and 14 are added in order to obtain a composite image. For example, in the upper left pixel, image 13 has level 11 and the corresponding upper left pixel of image 14 has level 8. When these are added, it becomes level 19 as in the upper left pixel of the image 15. Similarly, looking at the pixel on the right side, the level is 9 in the image 13 and the level 7 in the image 14, so the level is 16 as shown in the image 15. Similarly, when the process is repeated for each pixel, an image 15 synthesized from the image 13 and the image 14 is obtained.
[0031]
Although the pixel level does not exist in FIG. 4 and the pixel level becomes 255 or more as a result of the addition, the pixel of the image 13 is level 181 and the pixel level of the image 14 is 177, and the addition result is 258. In this case, the portion 3 which is 255 or more of the added result is trimmed to 255. As described above, by determining the image to be combined, it is possible to perform image combining by simple pixel level addition. Further, as a method of combining images, the levels of the corresponding pixels in the two images to be combined may be compared and the level of the larger pixel may be selected.
[0032]
FIG. 5 is a flowchart showing the processing operation of the CPU. First, the CPU counts the frame counter to determine whether or not four frames of exposure time have elapsed (S1). If four frames have passed, the image data from the CCD 1 is transferred to the image memory 4 (S2). The image data fetched into the image memory 4 is sent to the video encoder 6 for through image display (S3). Next, as described with reference to FIG. 3, it is determined whether or not there is a pixel of a determination level or higher in the captured image (S4). As a result, if even one pixel above the judgment level exists, that image is set as an image to be combined, and is added for each pixel as described in FIG. (S5). As described above, images are taken continuously at a constant exposure cycle, and only images with pixels that are above the discrimination level in the captured image are targeted for synthesis. Equivalent images can be obtained. Especially effective for shooting fireworks and celestial bodies (meteors).
[0033]
FIG. 6 shows a method for obtaining a composite image with high contrast. Since the simple addition of levels, which is the synthesis method shown in FIG. 4, is performed even for the level of a low-level pixel, if the image synthesis is repeated many times, the dark part of the image (the part with the low value of the pixel level) ) Will gradually become brighter. Even if the pixel level is low, a constant reference level is set, and if the levels of the corresponding pixels in the two images to be combined are both below a certain level, simple addition is not performed, but the average value of the levels of both pixels How to take.
[0034]
A constant reference level 16 is assumed. The level of the upper left pixel of the image 16 is 11, and the level of the upper left pixel of the corresponding image 17 is 8. Here, since both pixels are below the reference level 16, (11 + 8) /2=9.5, and the fractional part is rounded down, the average value of both pixels is 9, and the level of the pixel of the synthesized image 18 is 9. . Similarly, since both pixels on the right side are also below the reference level 16, (9 + 7) / 2 = 8, the average value of both pixels is 8, and the level of the pixel of the synthesized image 18 is 8. If at least one of the two pixels is at the reference level 16 or higher, simple addition is performed as shown in FIG. In the pixel in the second row from the top of the image 16 and in the third column from the left, the pixel level is 167 and the corresponding pixel level of the image 17 is 5. Here, since one pixel is above the reference level 16, simple addition is performed, and the level of the pixel of the image 18 synthesized by 167 + 5 = 172 becomes 172.
[0035]
By changing the compositing method by providing a constant reference level for the low pixel level in this way, it is possible to prevent the dark part of the image from becoming bright due to repeated image compositing. Can be obtained. In the above embodiment, the average value of the levels of both pixels is used if the levels of the corresponding pixels in the two images to be combined are both below a certain level. However, the levels of the corresponding pixels are both constant. In the following cases, a method of selecting a level of a pixel having a smaller level may be used.
[0036]
【The invention's effect】
As described above, according to the first aspect of the present invention, it is possible to easily obtain an image equivalent to the multiple exposure shooting of the silver salt camera, and shooting of fireworks, celestial bodies (meteors), and the like.
[0037]
According to the second aspect of the present invention, it is possible to prevent the dark portion of the image from becoming bright due to repeated image composition, and it is possible to obtain a composite image with high contrast.
[0038]
According to the third aspect of the present invention, it is possible to prevent the dark portion of the image from becoming bright due to repeated image composition, and it is possible to obtain a composite image with high contrast.
[0040]
According to the fourth aspect of the present invention, when the level of the pixel of the image data detected by the detecting means is a predetermined level or more and a predetermined number or more, the image can be determined as an image to be synthesized.
[0041]
According to the fifth aspect of the present invention, RGB for each pixel can be added for each component, and it is possible to obtain an image equivalent to the multiple exposure shooting of the silver salt camera.
[Brief description of the drawings]
FIG. 1 is a block diagram of an apparatus according to the present invention.
FIG. 2 is a diagram illustrating the timing of automatic multiple exposure processing.
FIG. 3 is a diagram illustrating a method for determining an image to be combined.
FIG. 4 is a diagram illustrating an image composition method.
FIG. 5 is a flowchart showing processing of a CPU.
FIG. 6 is a diagram illustrating a synthesis method for obtaining an image with high contrast.
[Explanation of symbols]
1 CCD
2 CCD control unit 3 YUV processor 4 Image memory 5 Memory controller 6 Video encoder 7 Video output unit 8 CPU
9 Recording medium 10 Key processing part

Claims (5)

被写体を撮像する撮像手段と、
該撮像手段より発生した被写体像を記録する記録手段と、
一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、
上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、
前記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、
上記判別手段により、判別された画像データの画素毎の輝度レベルを比較し、大きい方を選択し合成後の輝度レベルとする合成手段と、を設けたことを特徴とする画像合成装置。
Imaging means for imaging a subject;
Recording means for recording a subject image generated by the imaging means;
Generating means for exposing at regular intervals and generating image data of the subject image based on a signal generated by the imaging means;
Detecting means for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means;
A discriminating unit for discriminating the image data as a target of image synthesis when there is a pixel having a predetermined luminance level or more by the detecting unit;
An image synthesizing apparatus comprising: a synthesizing unit that compares the luminance level of each pixel of the image data discriminated by the discriminating unit, and selects a larger one to obtain a luminance level after synthesis.
被写体を撮像する撮像手段と、
該撮像手段より発生した被写体像を記録する記録手段と、
一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、
上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、
上記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、
上記判別手段により、判別された画像データの画素毎の輝度レベルが、共に基準レベル以下の場合は互いの画素の平均値を合成後の輝度レベルとし、どちらか一方が基準レベル以上の場合は画素毎の輝度レベルを加算して画像を合成する合成手段と、を設けたことを特徴とする画像合成装置。
Imaging means for imaging a subject;
Recording means for recording a subject image generated by the imaging means;
Generating means for exposing at regular intervals and generating image data of the subject image based on a signal generated by the imaging means;
Detecting means for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means;
A discriminating unit for discriminating the image data as a target of image composition when a pixel having a predetermined luminance level or more exists by the detecting unit;
When the luminance level for each pixel of the image data determined by the determination means is both equal to or lower than the reference level, the average value of the pixels is used as the combined luminance level, and when either one is equal to or higher than the reference level, the pixel An image synthesizing apparatus comprising: synthesizing means for synthesizing an image by adding luminance levels for each.
被写体を撮像する撮像手段と、
該撮像手段より発生した被写体像を記録する記録手段と、
一定周期毎に露光し、該撮像手段により発生した信号に基づき前記被写体像の画像データを生成する生成手段と、
上記生成手段により生成された画像データの各画素の中に、所定の輝度レベル以上の画素が存在するか否かを検出する検出手段と、
上記検出手段により、所定の輝度レベル以上の画素が存在した場合に、その画像データを画像合成の対象として判別する判別手段と、
上記判別手段により、判別された画像データの画素毎の輝度レベルが、共に基準レベル以下の場合は小さい方を選択し合成後の輝度レベルとし、どちらか一方が基準レベル以上の場合は画素毎の輝度レベルを加算して画像を合成する合成手段と、を設けたことを特徴とする画像合成装置。
Imaging means for imaging a subject;
Recording means for recording a subject image generated by the imaging means;
Generating means for exposing at regular intervals and generating image data of the subject image based on a signal generated by the imaging means;
Detecting means for detecting whether or not a pixel having a predetermined luminance level or more exists in each pixel of the image data generated by the generating means;
A discriminating unit for discriminating the image data as a target of image composition when a pixel having a predetermined luminance level or more exists by the detecting unit;
When the brightness level for each pixel of the discriminated image data is less than or equal to the reference level, the smaller one is selected as the synthesized brightness level, and when either one is greater than or equal to the reference level, An image synthesizing apparatus comprising: a synthesizing unit that synthesizes an image by adding luminance levels.
前記判別手段は、所定の輝度レベル以上の画素が所定の個数以上検出されたとき、検出された画像データを画像合成の対象と判別することを特徴とする請求項1〜3記載の画像合成装置。  4. The image synthesizing apparatus according to claim 1, wherein the discriminating unit discriminates the detected image data as an image compositing target when a predetermined number or more of pixels having a predetermined luminance level or more are detected. . 前記生成手段において、生成される画像データはRGB各成分から構成され、前記検出手段において、検出する各画素の輝度レベルはRGB各値を加算した値であり、前記合成手段における輝度レベルの加算は、前記判別された画像データの画素毎の輝度レベルのRGBを成分毎に加算することを特徴とする請求項1〜4記載の画像合成装置。In the generation unit, the image data generated consists RGB components, the the detection means, the luminance level of each pixel to be detected is a value obtained by adding the RGB values, the addition of the luminance levels definitive said synthesizing means 5. The image composition apparatus according to claim 1 , wherein RGB of the luminance level for each pixel of the determined image data is added for each component.
JP05983899A 1999-03-08 1999-03-08 Image synthesizer Expired - Fee Related JP4148586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05983899A JP4148586B2 (en) 1999-03-08 1999-03-08 Image synthesizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05983899A JP4148586B2 (en) 1999-03-08 1999-03-08 Image synthesizer

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005229446A Division JP4565504B2 (en) 2005-08-08 2005-08-08 Image synthesizer

Publications (2)

Publication Number Publication Date
JP2000261715A JP2000261715A (en) 2000-09-22
JP4148586B2 true JP4148586B2 (en) 2008-09-10

Family

ID=13124775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05983899A Expired - Fee Related JP4148586B2 (en) 1999-03-08 1999-03-08 Image synthesizer

Country Status (1)

Country Link
JP (1) JP4148586B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721741A (en) * 2014-12-17 2016-06-29 奥林巴斯株式会社 Imaging device, image processing device, and imaging method

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4662194B2 (en) * 2001-06-22 2011-03-30 株式会社ニコン Inspection device
US6898331B2 (en) * 2002-08-28 2005-05-24 Bae Systems Aircraft Controls, Inc. Image fusion system and method
JP5765945B2 (en) * 2011-01-14 2015-08-19 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5806542B2 (en) * 2011-07-28 2015-11-10 オリンパス株式会社 Imaging apparatus and imaging method
JP6003081B2 (en) * 2012-02-22 2016-10-05 株式会社リコー Imaging apparatus and imaging method
JP5954623B2 (en) * 2012-04-20 2016-07-20 株式会社リコー Imaging apparatus and image processing method
JP6034740B2 (en) 2013-04-18 2016-11-30 オリンパス株式会社 Imaging apparatus and imaging method
JP5952975B2 (en) 2013-10-02 2016-07-13 オリンパス株式会社 Imaging apparatus and imaging method
JP6351271B2 (en) 2014-01-17 2018-07-04 オリンパス株式会社 Image composition apparatus, image composition method, and program
CN103888683B (en) * 2014-03-24 2015-05-27 深圳市中兴移动通信有限公司 Mobile terminal and shooting method thereof
JP2016076869A (en) 2014-10-08 2016-05-12 オリンパス株式会社 Imaging apparatus, imaging method and program
JP2017108309A (en) * 2015-12-10 2017-06-15 オリンパス株式会社 Imaging apparatus and imaging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721741A (en) * 2014-12-17 2016-06-29 奥林巴斯株式会社 Imaging device, image processing device, and imaging method
CN105721741B (en) * 2014-12-17 2019-07-09 奥林巴斯株式会社 Photographic device, image processing apparatus and image capture method

Also Published As

Publication number Publication date
JP2000261715A (en) 2000-09-22

Similar Documents

Publication Publication Date Title
JP4565504B2 (en) Image synthesizer
US8513588B2 (en) Electronic camera having multiple sensors for capturing high dynamic range images and related methods
US7889273B2 (en) Multiple exposure methods and apparatus for electronic cameras
JP4742359B2 (en) Movie imaging apparatus and program thereof
US5164833A (en) Electronic viewfinder
US6542192B2 (en) Image display method and digital still camera providing rapid image display by displaying low resolution image followed by high resolution image
JP4148586B2 (en) Image synthesizer
JP5656561B2 (en) Image processing apparatus, control method thereof, and control program
US5943094A (en) Image pickup device with noise data generation
US7256832B2 (en) CCD camera forming a still image by adding offset values to the odd and even fields and method for controlling the same
EP1718065A1 (en) Method and apparatus for processing image data
JP3143245B2 (en) Imaging device, photometric method therefor, focusing control method therefor, and imaging method
JP2000270255A (en) Electronic still camera and its control method
JP2929956B2 (en) Creation method of still image data in video camera
JP2007166539A (en) Imaging apparatus, imaging method, program and storage medium
JPH0795841B2 (en) Image recorder
JP3253538B2 (en) Image processing apparatus and image processing method thereof
JPH11220638A (en) Image pickup device and image pickup method
JPH11308560A (en) Electronic camera
JP4687619B2 (en) Image processing apparatus, image processing method, and program
JP2005142707A (en) Imaging apparatus
JP4211572B2 (en) Imaging device
JPS58197978A (en) Registering and reproducing device of still picture signal
JP3899706B2 (en) Electronic still camera control method and electronic still camera
JP2005150898A (en) Imaging device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050808

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080516

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080624

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees