JP2011250439A - Imaging apparatus, recording method, and program - Google Patents
Imaging apparatus, recording method, and program Download PDFInfo
- Publication number
- JP2011250439A JP2011250439A JP2011147894A JP2011147894A JP2011250439A JP 2011250439 A JP2011250439 A JP 2011250439A JP 2011147894 A JP2011147894 A JP 2011147894A JP 2011147894 A JP2011147894 A JP 2011147894A JP 2011250439 A JP2011250439 A JP 2011250439A
- Authority
- JP
- Japan
- Prior art keywords
- sound
- sound data
- recording
- microphone
- recorded
- 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
- 238000003384 imaging method Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 title claims description 113
- 230000002093 peripheral effect Effects 0.000 claims description 16
- 230000015654 memory Effects 0.000 abstract description 58
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 9
- 238000000605 extraction Methods 0.000 description 7
- 230000008929 regeneration Effects 0.000 description 3
- 238000011069 regeneration method Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 230000002596 correlated effect Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000001454 recorded image Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
【課題】 音が再生されながら録音された音の再生の精度を向上する撮像装置及びそのプログラムを実現する。
【解決手段】 CPU10は、減算処理部31を備え、音を再生しながら音付動画撮影を行なう場合は、再生する音データを内蔵スピーカ26から放音するとともに、内蔵マイク21によって集音された音データから、該再生している音データを減算し、該減算後の音データをフラッシュメモリ13に記録する。これにより、撮影録音時に音を再生した場合であっても、録音される音は、再生された音によって被写体の音声がかき消されることがなく、音が再生されながら録音された音の再生の精度を向上することができる。
【選択図】 図2PROBLEM TO BE SOLVED: To realize an imaging apparatus and a program for improving the accuracy of reproduction of sound recorded while sound is reproduced.
When a CPU 10 includes a subtraction processing unit 31 and performs moving image shooting with sound while reproducing sound, the sound data to be reproduced is emitted from the built-in speaker 26 and collected by the built-in microphone 21. The sound data being reproduced is subtracted from the sound data, and the sound data after the subtraction is recorded in the flash memory 13. As a result, even if the sound is played back during shooting and recording, the recorded sound will not erase the sound of the subject by the played back sound, and the playback accuracy of the sound that was recorded while the sound was played back Can be improved.
[Selection] Figure 2
Description
本発明は、撮像装置及びそのプログラムに係り、詳しくは、録音機能を有した撮像装置及びそのプログラムに関する。 The present invention relates to an imaging apparatus and a program thereof, and more particularly to an imaging apparatus having a recording function and a program thereof.
近年、電子カメラ等の撮像装置において、録音して被写体を撮影(音付撮影)する機能や(特許文献1)、音楽等の音データを再生する機能を有した技術が登場してきている(特許文献2)。 In recent years, in an imaging apparatus such as an electronic camera, a technology having a function of recording and photographing a subject (photographing with sound) (Patent Document 1) and a function of reproducing sound data such as music has appeared (patents). Reference 2).
しかしながら、従来の技術では、音楽等の音を再生しながら、被写体を音付撮影する場合、録音される被写体の声(音声)が再生されている音によってかき消されてしまい、被写体の声をよく録音することができず、該録音された音を再生した場合には聞きづらい音となってしまう。 However, in the conventional technology, when shooting a subject with sound while reproducing music or the like, the recorded subject's voice (sound) is drowned out by the reproduced sound, and the subject's voice is often improved. It cannot be recorded, and when the recorded sound is reproduced, it becomes difficult to hear.
そこで本発明は、かかる従来の問題点に鑑みてなされたものであり、音が再生されながら録音された音の再生の精度を向上する撮像装置及びそのプログラムを提供することを目的とする。 Therefore, the present invention has been made in view of such a conventional problem, and an object of the present invention is to provide an imaging apparatus that improves the accuracy of reproduction of sound recorded while the sound is reproduced, and a program therefor.
上記目的達成のため、請求項1記載の発明による撮像装置は、音を放音するスピーカと、
前記スピーカから音データを放音させる放音制御手段と、
音を集音するマイクロフォンと、
前記マイクロフォンにより集音された音データを記録手段に記録する記録制御手段と、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、前記放音制御手段により放音された音データを、前記マイクロフォンにより集音された音データから減算する減算手段と、
を備えたことを特徴とする。
In order to achieve the above object, an image pickup apparatus according to the first aspect of the present invention includes a speaker that emits sound,
Sound emission control means for emitting sound data from the speaker;
A microphone that collects the sound,
Recording control means for recording sound data collected by the microphone in a recording means;
While the sound data collected by the microphone is being recorded on the recording means by the recording control means, the sound data emitted by the sound emission control means is the sound data collected by the microphone. Subtracting means for subtracting from,
It is provided with.
また、例えば、請求項2に記載されているように、前記減算手段は、
前記マイクロフォンにより集音された音データが前記記録手段に記録される前に減算を実行し、
前記記録制御手段は、
前記減算手段により減算された音データを前記記録手段に記録するようにしてもよい。
For example, as described in
Performing subtraction before sound data collected by the microphone is recorded in the recording means;
The recording control means includes
The sound data subtracted by the subtracting means may be recorded on the recording means.
また、例えば、請求項3に記載されているように、前記減算手段は、
前記記録手段による前記マイクロフォンにより集音された音データの記録後に、減算を実行するようにしてもよい。
For example, as described in
Subtraction may be performed after recording the sound data collected by the microphone by the recording means.
また、例えば、請求項4に記載されているように、前記記録制御手段により記録された音データを再生する再生手段を備え、
前記減算手段は、
前記記録手段に記録された音データを再生する際に、減算を実行し、
前記再生手段は、
前記減算手段により減算された音データを再生するようにしてもよい。
Further, for example, as described in claim 4, a playback unit that plays back the sound data recorded by the recording control unit is provided,
The subtracting means is
When reproducing the sound data recorded in the recording means, subtraction is performed,
The reproducing means includes
The sound data subtracted by the subtracting means may be reproduced.
また、例えば、請求項5に記載されているように、前記スピーカから放音させる音データと逆位相の音データを生成する生成手段を備え、
前記スピーカは、
被写体側に向けられた第1のスピーカと、撮影者側に向けられた第2のスピーカとを有し、
前記放音制御手段は、
前記第1のスピーカから前記放音させる音データを放音させ、前記第2のスピーカから前記生成手段により生成された逆位相の音データを放音させるようにしてもよい。
Further, for example, as described in
The speaker is
A first speaker directed to the subject side and a second speaker directed to the photographer side;
The sound emission control means includes
The sound data to be emitted from the first speaker may be emitted, and the opposite phase sound data generated by the generating unit may be emitted from the second speaker.
また、例えば、請求項6に記載されているように、前記マイクロフォンにより集音された音データに対して音声認識を行なう音声認識手段を備え、
前記減算手段は、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、音声認識手段による認識結果に基づいて、音声以外の周辺音を前記マイクロフォンにより集音された音データから減算するようにしてもよい。
In addition, for example, as described in claim 6, voice recognition means for performing voice recognition on the sound data collected by the microphone,
The subtracting means is
While the sound data collected by the microphone is being recorded on the recording means by the recording control means, ambient sounds other than the voice are collected by the microphone based on the recognition result by the voice recognition means. You may make it subtract from sound data.
また、例えば、請求項7に記載されているように、前記減算手段は、
音声以外の周辺音のうち、前記放音制御手段により放音された音データ以外の音データを前記マイクロフォンにより集音された音データから減算するととともに、前記放音制御手段により放音された音データも前記マイクロフォンにより集音された音データから減算するようにしてもよい。
For example, as described in
Out of peripheral sounds other than sound, sound data other than sound data emitted by the sound emission control means is subtracted from sound data collected by the microphone, and sound emitted by the sound emission control means Data may also be subtracted from sound data collected by the microphone.
また、例えば、請求項8に記載されているように、前記マイクロフォンにより集音された音データに対して音声認識を行なう音声認識手段を備え、
前記減算手段は、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、音声認識手段による認識結果に基づいて、音レベルの高い音声データを、前記マイクロフォンにより集音された音データから減算するようにしてもよい。
Further, for example, as described in
The subtracting means is
While the sound data collected by the microphone is recorded on the recording means by the recording control means, voice data having a high sound level is collected by the microphone based on the recognition result by the voice recognition means. Subtraction may be made from the recorded sound data.
上記目的達成のため、請求項9記載の発明によるプログラムは、被写体を撮像する撮像手段と、音を放音するスピーカと、音を集音するマイクロフォンと、を備えた撮像装置を実行させるためのプログラムであって、
前記スピーカから音データを放音させる放音制御処理と、
前記撮像手段により撮像された画像データと前記マイクロフォンにより集音された音データとを関連付けて記録媒体に記録する記録制御処理と、
前記マイクロフォンにより集音された音データが前記記録制御処理により前記記録媒体に記録されている最中に、前記放音制御処理により放音された音データを、前記マイクロフォンにより集音された音データから減算する減算処理と、
を含むことを特徴とする。
In order to achieve the above object, a program according to a ninth aspect of the invention is a program for executing an imaging apparatus including an imaging unit that images a subject, a speaker that emits sound, and a microphone that collects sound. A program,
A sound emission control process for emitting sound data from the speaker;
A recording control process in which image data captured by the imaging unit and sound data collected by the microphone are associated and recorded on a recording medium;
While the sound data collected by the microphone is recorded on the recording medium by the recording control process, the sound data emitted by the sound emission control process is the sound data collected by the microphone. Subtraction processing to subtract from
It is characterized by including.
本願発明によれば、音が再生されながら録音された音の再生精度を向上することができる。 According to the present invention, it is possible to improve the reproduction accuracy of the sound recorded while the sound is reproduced.
以下、本実施の形態について、本発明の撮像装置をデジタルカメラに適用した一例として図面を参照して詳細に説明する。
[第1の実施の形態]
A.デジタルカメラの構成
図1は、本発明の撮像装置を実現するデジタルカメラ1の電気的な概略構成を示すブロック図である。
デジタルカメラ1は、撮影レンズ2、レンズ駆動ブロック3、絞り4、CCD5、ドライバ6、TG(timing generator)7、ユニット回路8、メモリ9、CPU10、DRAM11、画像表示部12、フラッシュメモリ13、キー入力部14、音声処理部15、バス16を備えている。
Hereinafter, the present embodiment will be described in detail with reference to the drawings as an example in which the imaging apparatus of the present invention is applied to a digital camera.
[First embodiment]
A. Configuration of Digital Camera FIG. 1 is a block diagram showing a schematic electrical configuration of a digital camera 1 that implements the imaging apparatus of the present invention.
The digital camera 1 includes a photographing
撮影レンズ2は、図示しない複数のレンズ群から構成されるフォーカスレンズ、ズームレンズ等を含む。そして、撮影レンズ2にはレンズ駆動ブロック3が接続されている。レンズ駆動ブロック3は、フォーカスレンズ、ズームレンズをそれぞれ光軸方向に沿って駆動させるフォーカスモータ、ズームモータと、CPU10から送られてくる制御信号にしたがって、フォーカスモータ、ズームモータを駆動させるフォーカスモータドライバ、ズームモータドライバから構成されている(図示略)。
The photographing
絞り4は、図示しない駆動回路を含み、駆動回路はCPU10から送られてくる制御信号にしたがって絞り4を動作させる。
絞り4とは、撮影レンズ2から入ってくる光の量を制御する機構のことをいう。
The diaphragm 4 includes a drive circuit (not shown), and the drive circuit operates the diaphragm 4 in accordance with a control signal sent from the
The diaphragm 4 is a mechanism that controls the amount of light that enters from the photographing
CCD5は、ドライバ6によって駆動され、一定周期毎に被写体像のRGB値の各色の光の強さを光電変換して撮像信号としてユニット回路8に出力する。このドライバ6、ユニット回路8の動作タイミングはTG7を介してCPU10により制御される。なお、CCD5はベイヤー配列の色フィルターを有しており、電子シャッタとしての機能も有する。この電子シャッタのシャッタ速度は、ドライバ6、TG7を介してCPU10によって制御される。
The
ユニット回路8には、TG7が接続されており、CCD5から出力される撮像信号を相関二重サンプリングして保持するCDS(Correlated Double Sampling)回路、そのサンプリング後の撮像信号の自動利得調整を行なうAGC(Automatic Gain Control)回路、その自動利得調整後のアナログの撮像信号をデジタル信号に変換するA/D変換器から構成されており、CCD5から出力された撮像信号はユニット回路8を経てデジタル信号としてCPU10に送られる。
A
CPU10は、ユニット回路8から送られてきた画像データや音声処理部15の内蔵マイクによって集音された音データをバッファメモリ(DRAM11)に記憶させるとともに、該記憶させた画像データに対してガンマ補正、補間処理、ホワイトバランス処理、輝度色差信号(YUVデータ)の生成処理などの画像処理、フラッシュメモリ13への画像データや音データの記録処理を行う機能を有するとともに、デジタルカメラ1の各部を制御するワンチップマイコンである。
特に、CPU10は、録音された音声データから録音時に再生された音データを減算する減算部を有する。
The
In particular, the
メモリ9には、CPU10が各部を制御するのに必要な制御プログラム、及び必要なデータが記録されており、CPU10は、該プログラムに従い動作する。
DRAM11は、CCD5によって撮像された後、CPU10に送られてきた画像データ、音声処理部15の内蔵マイクによって集音された音データを一時記憶するバッファメモリとして使用されるとともに、CPU10のワーキングメモリとして使用される。
フラッシュメモリ13は、画像データや音データを保存する記録媒体である。
The
The
The
画像表示部12は、カラーLCDとその駆動回路を含み、撮影待機状態にあるときには、CCD5によって撮像された被写体をスルー画像として表示し、記録画像の再生時には、フラッシュメモリ13から読み出され、伸張された記録画像を表示させる。
キー入力部14は、シャッタボタン、モード切替キー、音再生キー、十字キー、SETキー等の複数の操作キーを含み、ユーザのキー操作に応じた操作信号をCPU10に出力する。
The
The
音声処理部15は、内蔵マイク(マイクロフォン)、アンプ/ローパスフィルタ、A/D変換器、D/A変換器、ローパスフィルタ/アンプ、内蔵スピーカ等を含み、音付動画撮影時には、内蔵マイクにより集音された音声をデジタル信号に変換してCPU10に送る。CPU10は、送られてきた音声データを、バッファメモリ(DRAM12)に順次記憶し、該記憶した音声データを撮影された動画データと関連付けてフラッシュメモリ13に記録する。つまり、音付動画データを記録する。
The
また、音声処理部15は、CPU10から送られてきた音データを内蔵スピーカから放音することにより、該音データを再生する。
この内蔵マイク、内蔵スピーカは共に、デジタルカメラ1の撮影レンズ2が設けられている面に備えられている。これにより、再生される音がよく被写体に聞こえるようになり、被写体の音声等も良く録音することが可能となる。なお、画像表示部12は、撮影レンズ2が設けられている面と反対側(撮影者側)の面に備えられている。
The
Both the built-in microphone and built-in speaker are provided on the surface of the digital camera 1 on which the photographing
B.デジタルカメラ1の機能
次に、本発明のデジタルカメラ1の構成の機能を説明する。
図2、3は、本発明の音声処理部及びCPU10の機能を説明するためのブロック図である。
図2は、フラッシュメモリ13やメモリ9に記録されている音データを再生させながら、音付動画撮影(録音処理)を行なう場合についての、CPU10の機能を説明するための図である。
図2を見ると分かるように、音声処理部15は、内蔵マイク21、アンプ/ローパスフィルタ22、A/D変換器23、D/A変換器24、ローパスフィルタ/アンプ25、内蔵スピーカ26を備えており、CPU10は、減算処理部31を備えている。
B. Next, functions of the configuration of the digital camera 1 of the present invention will be described.
2 and 3 are block diagrams for explaining the functions of the audio processing unit and the
FIG. 2 is a diagram for explaining the function of the
As can be seen from FIG. 2, the
まず、内蔵マイク21は、集音された被写体の音声等を電気信号に変換してアンプ/ローパスフィルタ22に音データを出力する。アンプ/ローパスフィルタ22は、音データを増幅してから(AMP)、不要な周波数帯域をカットして(LPF)、A/D変換器23に出力する。そして、A/D変換器23は、入力された音データをデジタル信号に変換してCPU10に出力する。
First, the built-in
このとき、CPU10は、フラッシュメモリ13やメモリ9に予め記録されているデジタル信号の音データ(音楽や、遊び音等の音のデータ)をバッファメモリ(DRAM11)に記憶させ、該記憶させた音データをD/A変換器24に出力する。そして、D/A変換器24は、送られてきた音データをアナログ信号に変換して、ローパスフィルタ/アンプ25に出力し、ローパスフィルタ/アンプ25は、入力された音データの不要な周波数帯域をカットして、増幅してから内蔵スピーカ26に出力し、内蔵スピーカ26は該入力された音データを音に変換して放音する。
At this time, the
この場合、録音を行なっているときに、内蔵スピーカ26から音を放音させると、被写体の音声より大きな音レベルで内蔵スピーカ26から再生されている音(再生音)が内蔵マイク21によって集音されてしまい、被写体の音声がかき消されてしまうという不具合がある。これは、内蔵マイク21が被写体と比べ、内蔵スピーカ26と至近距離にあるためであり、また、被写体に聞こえるような音レベルで内蔵スピーカ26から音を放音するためである。
In this case, if sound is emitted from the built-in
したがって、CPU10の減算処理部31は、内蔵マイク21によって集音される被写体の音声と、内蔵マイク21によって集音される再生音との音レベル(ボリューム)が同じになるように、内蔵マイク21によって集音された音声データから、内蔵スピーカ26によって再生される音データを減算する。この減算処理は、内蔵マイク21によって集音される音声と、再生音とのボリュームが同じになるように減算するためであり、必ずしも再生される音を無くすために減算するためのものではない。また、この減算は、録音されている再生音と同期させて再生音の音データを減算する。
Therefore, the
なお、減算の度合いをユーザが選択することができ、該選択された度合いの減算を行なうようにしてもよい。例えば、減算度合いを大にした場合は再生音のボリューム(音レベル)が小さくなるように記録することができ、減算度合いを小にした場合は再生音のボリュームが大きくなるように記録することができる。 The degree of subtraction can be selected by the user, and the selected degree may be subtracted. For example, when the degree of subtraction is increased, recording can be performed so that the volume (sound level) of the reproduced sound is reduced, and when the degree of subtraction is decreased, recording can be performed so that the volume of the reproduced sound is increased. it can.
そして、この減算処理部31によって減算された後の音データがバッファメモリに記憶され、フラッシュメモリ13に記録されることになる。
これにより、内蔵マイク21によって集音された内蔵スピーカ26からの再生音のボリュームを調整して記録することができる。
Then, the sound data subtracted by the
Thereby, the volume of the reproduction sound from the built-in
図3は、音データを再生させながら減算処理を行うことなく単に音付動画撮影(録音処理)により録音された音データを再生する場合についての、CPU10の機能を説明するための図である。
音付動画撮影時(録音処理時)に再生された音データを、内蔵マイク21から集音された音声データから減算処理を行うことなく録音された音は、被写体の音声より再生された音のボリュームの方が遥かに大きく、被写体の音声がかき消されてしまっている状況である。
FIG. 3 is a diagram for explaining the function of the
Sound recorded without sound subtraction from the sound data collected from the built-in
したがって、このような音を再生する場合には、CPU10の減算処理部31は、録音処理時に録音された被写体の音声と、録音処理時に再生された音とが同じ音レベルになるように、録音された音データから、該録音時に再生された音データを減算する。この減算処理は、内蔵マイク21によって集音された音声と、内蔵マイク21によって集音された再生音とのボリュームが同じになるように減算するためであり、必ずしも録音時に再生された音を無くすために減算するためのものではない。
なお、減算の度合いをユーザが選択することができ、該選択された度合いの減算を行なうようにしてもよい。例えば、減算度合いを大にした場合は録音時に再生された音のボリューム(音レベル)を小さくして再生することができ、減算度合いを小にした場合は録音時に再生された音のボリュームを大きくして再生することができる。
Therefore, when reproducing such a sound, the
The degree of subtraction can be selected by the user, and the selected degree may be subtracted. For example, if the degree of subtraction is increased, the volume (sound level) of the sound played during recording can be reduced, and if the degree of subtraction is reduced, the volume of the sound played back during recording can be increased. Can be played.
そして、減算処理部31によって減算された後の音データが、D/A変換器24に入力され、D/A変換器24は、該入力された音をアナログ信号に変換してローパスフィルタ/アンプ25に出力し、ローパスフィルタ/アンプ25は、入力された音データの不要な周波数帯域をカットして、増幅してから内蔵スピーカ26に出力し、内蔵スピーカ26は該入力された音データを音に変換して放音する。これにより、録音時に再生された音のボリュームを調整して再生することができる。
The sound data after being subtracted by the
C.デジタルカメラ1の動作
実施の形態におけるデジタルカメラ1の動作を、録音時に減算する場合と、再生時減算する場合に分けて説明する。
C−1.まず、録音時に減算する場合の動作を説明する。
録音時に再生された音データを減算する場合の動作を図4のフローチャートに従って説明する。
C. Operation of Digital Camera 1 The operation of the digital camera 1 in the embodiment will be described separately for the case of subtraction during recording and the case of subtraction during playback.
C-1. First, the operation when subtracting during recording will be described.
The operation when subtracting sound data reproduced during recording will be described with reference to the flowchart of FIG.
ユーザのキー入力部14のモード切替キーの操作により音付撮影モードに設定されると、ステップS1で、CPU10は、CCD5に所定のフレームレートで被写体を撮像させる処理を開始させ(動画撮像処理を開始させ)、該撮像により順次得られたフレーム画像データから輝度色差信号のフレーム画像データ(YUVデータ)を生成していき、該順次生成された輝度色差信号のフレーム画像データをバッファメモリ(DRAM11)に記憶させ、該記憶された被写体のフレーム画像データを順次画像表示部12に表示させるというスルー画像表示を開始させる。
When the shooting mode with sound is set by operating the mode switching key of the user's
次いで、ステップS2で、CPU10は、音を再生させるか否かを判断する。
このとき、ユーザは、音再生キーの操作を行なうと、CPU10は、フラッシュメモリ13やメモリ9に記録されている音データ(音楽や、お遊びの音等の音データ)がスルー画像表示に重ねて一覧表示させ、ユーザが十字キー、SETキーの操作を行なうことにより、任意の音データを選択することができ、CPU10は、該一連の操作が行なわれると、音を再生させると判断する。
Next, in step S2, the
At this time, when the user operates the sound reproduction key, the
ステップS2で、音を再生させると判断すると、ステップS3に進み、CPU10は、ユーザによって選択された音データの再生処理を開始させて、ステップS4に進む。つまり、該選択された音データを読み出してバッファメモリに記憶し、該記憶した音データを順次音声処理部15に入力し、音声処理部15は、該入力された音データをアナログ変換などをして内蔵スピーカ26から放音する処理を開始する。この音データの再生処理は、最後まで再生させると自動的に終了するが、ユーザによって再生終了の指示操作が行なわれた場合も終了する。
一方、ステップS2で、音を再生しないと判断すると、そのままステップS4に進む。
If it is determined in step S2 that the sound is to be reproduced, the process proceeds to step S3, where the
On the other hand, if it is determined in step S2 that the sound is not reproduced, the process proceeds to step S4.
ステップS4に進むと、CPU10は、録画を開始するか否かを判断する。この判断は、シャッタボタンの押下に対応する操作信号がキー入力部14から送られてきたか否かにより判断する。
ステップS4で、録画を開始しないと判断すると、ステップS5に進み、CPU10は、現在、音の再生処理中であるか否かを判断する。つまり、現在、内蔵スピーカ26から音が放音されているか否かを判断する。
ステップS5で、音の再生処理が行なわれていないと判断するとステップS2に戻り、音の再生処理が行なわれていると判断するとステップS4に戻る。
In step S4, the
If it is determined in step S4 that recording is not started, the process proceeds to step S5, and the
If it is determined in step S5 that sound reproduction processing is not being performed, the process returns to step S2, and if it is determined that sound reproduction processing is being performed, the process returns to step S4.
一方、ステップS4で、録画を開始すると判断すると、ステップS6に進み、CPU10は、動画記録処理を開始する。つまり、CCD5により順次撮像されバッファメモリに記憶されたフレーム画像データをフラッシュメモリ13に記録させていく処理を開始する。
次いで、ステップS7に進み、CPU10は、録音処理を開始する。つまり、内蔵マイク26により集音された音が電気信号に変換され、デジタル信号に変換された音データを順次バッファメモリに記憶し、該記憶した音データをフラッシュメモリ13に記録させていく処理を開始する。
On the other hand, if it is determined in step S4 that recording is started, the process proceeds to step S6, and the
Next, in step S7, the
次いで、ステップS8で、CPU10は、現在、音の再生処理中であるか否かを判断する。
ステップS8で、音の再生処理中であると判断するとステップS12に進み、ステップS8で、音の再生処理中でないと判断すると、ステップS9に進み、音を再生するか否かを判断する。つまり、ステップS2と同様の判断を行う。
Next, in step S8, the
If it is determined in step S8 that sound is being reproduced, the process proceeds to step S12. If it is determined in step S8 that sound is not being reproduced, the process proceeds to step S9 to determine whether or not to reproduce the sound. That is, the same determination as in step S2 is performed.
ステップS9で、音を再生しないと判断すると、ステップS10に進み、CPU10は、録画を終了するか否かを判断する。この判断は、シャッタボタンの押下に対応する操作信号がキー入力14から送られてきたか否かにより判断する。
なお、ここでは、シャッタボタンの押下と共に録画を開始し、再びシャッタボタンが押下されると録画を終了すると判断するようにしたが、シャッタボタンの押下中は録画を行い、シャッタボタンの押下が解除されると録画を終了すると判断するようにしてもよい。
ステップS10で、録画を終了しないと判断するとステップS9に戻る。
If it is determined in step S9 that no sound is reproduced, the process proceeds to step S10, and the
Here, recording is started when the shutter button is pressed, and it is determined that the recording is ended when the shutter button is pressed again. However, recording is performed while the shutter button is pressed, and the shutter button is released. Then, it may be determined that the recording is finished.
If it is determined in step S10 that the recording is not finished, the process returns to step S9.
一方、ステップS9で、音を再生すると判断すると、ステップS11に進み、CPU10は、ユーザによって選択された音データの再生処理を開始させて、ステップS12に進む。
ステップS12に進むと、CPU10の減算処理部31は、内蔵マイク21から集音された音データから、現在内蔵スピーカ26から放音している(再生している)音データを減算する処理を開始させる。この減算処理により減算された音データが、音声録音処理によってバッファメモリに記憶され、フラッシュメモリ13に記録されていることになる。
On the other hand, if it is determined in step S9 that the sound is to be reproduced, the process proceeds to step S11, and the
In step S12, the
次いで、ステップS13に進み、CPU10は、録画を終了するか否かを判断する。この判断は、ステップS10と同様の判断を行う。
ステップS10で、録画を終了しないと判断すると、ステップS14に進み、CPU10は、音の再生処理が終了したか否かを判断する。この音の再生処理が終了したと判断する場合としては、再生している音が最後まで再生された場合や、ユーザによって再生終了の指示操作が行なわれた場合等がある。このユーザによって再生終了の指示操作が行なわれると、CPU10は、音の再生処理を中止させる。
Next, the process proceeds to step S13, and the
If it is determined in step S10 that the recording is not to be ended, the process proceeds to step S14, and the
ステップS14で、音の再生処理が終了していないと判断すると、ステップS13に戻り、ステップS14で音の再生処理が終了したと判断すると、ステップS15に進み、CPU10は、減算処理を終了させて、ステップS9に戻る。減算処理が終了されると、内蔵マイク21によって取得された音データがそのままバッファメモリに記憶され、フラッシュメモリ13に記録されることになる。つまり、図2の減算処理部31は、A/D変換器23から送られてきた音データを減算させることなくそのままスルーさせてバッファメモリ等に記憶、記録させることになる。
If it is determined in step S14 that the sound reproduction process has not ended, the process returns to step S13. If it is determined in step S14 that the sound reproduction process has ended, the process proceeds to step S15, and the
一方、ステップS10で録画を終了すると判断した場合、ステップS13で録画を終了したと判断した場合は、ステップS16に進み、CPU10は、動画記録処理によりフラッシュメモリ13に記録されたフレーム画像データと、録音処理によりフラッシュメモリ13に記録された音データとから音付動画ファイルを生成する。なお、音付動画ファイルを生成するようにしたが、要は音データと動画データとが関連付けられて記録されるようにすればよい。
これにより、音を再生しながら録音した場合であっても、再生された音によって被写体の音声がかき消されることがなく、録音中に音を再生する場合の被写体音声の録音精度を向上することができる。
On the other hand, if it is determined in step S10 that the recording is to be ended, or if it is determined in step S13 that the recording is ended, the process proceeds to step S16, and the
As a result, even if the sound is recorded while being reproduced, the sound of the subject is not erased by the reproduced sound, and the recording accuracy of the subject sound when the sound is reproduced during recording can be improved. it can.
C−2.次に、再生時に減算する場合の動作を説明する。
この再生時に減算する場合の動作は、更に、音付動画撮影と音付動画再生に分けて説明する。
まず、再生時に減算する場合の音付動作撮影の動作を図5のフローチャートに従って説明する。
C-2. Next, the operation when subtracting during reproduction will be described.
The operation in the case of subtraction at the time of reproduction will be further described separately for sounded moving image shooting and sounded moving image reproduction.
First, the operation of sounding operation shooting when subtracting during reproduction will be described with reference to the flowchart of FIG.
ユーザのキー入力部14のモード切替キーの音付動画撮影モードに設定されると、ステップS31で、CPU10は、動画撮像処理を開始して、被写体のスルー画像表示を開始させる。
次いで、ステップS32で、CPU10は、音を再生させるか否かを判断する。この判断は、図4のステップS2と同様の判断を行う。
ステップS32で、音を再生させると判断すると、ステップS33に進み、CPU10は、ユーザによって選択された音データの再生処理を開始させて、ステップS34に進む。
一方、ステップS32で、音を再生させないと判断するとそのままステップS34に進む。
When the sound moving image shooting mode of the mode switching key of the user
Next, in step S32, the
If it is determined in step S32 that the sound is to be reproduced, the process proceeds to step S33, and the
On the other hand, if it is determined in step S32 that the sound is not reproduced, the process proceeds to step S34 as it is.
ステップS34に進むと、CPU10は、録画を開始させるか否かを判断する。この判断は、図4のステップS4と同様の判断を行う。
ステップS34で、録画を開始しないと判断すると、ステップS35に進み、CPU10は、現在、音の再生処理中であるか否かを判断する。つまり、現在、内蔵スピーカから音が放音されているか否かを判断する。
ステップS35で、音の再生処理が行なわれていないと判断するとステップS32に戻り、音の再生処理が行なわれていると判断するとステップS34に戻る。
In step S34, the
If it is determined in step S34 that the recording is not started, the process proceeds to step S35, and the
If it is determined in step S35 that sound reproduction processing is not being performed, the process returns to step S32. If it is determined that sound reproduction processing is being performed, the process returns to step S34.
一方、ステップS34で、録画を開始すると判断すると、ステップS36に進み、CPU10は、動画記録処理を開始する。つまり、CCD5により順次撮像されバッファメモリに記憶されたフレーム画像データをフラッシュメモリ13に記録させていく処理を開始する。
次いで、CPU10は、ステップS37に進み、CPU10は、録音処理を開始する。つまり、内蔵マイク26により集音された音が電気信号に変換され、デジタル信号に変換された音データを順次バッファメモリに記憶し、該記憶した音データをフラッシュメモリ13に記録させていく処理を開始する。
On the other hand, if it is determined in step S34 that recording is started, the process proceeds to step S36, and the
Next, the
次いで、ステップS38に進み、CPU10は、現在、音の再生処理中であるか否かを判断する。つまり、現在、内蔵スピーカから音が放音されているか否かを判断する。
ステップS38で、音の再生処理が行なわれていないと判断すると、ステップS39に進み、CPU10は、音を再生させるか否かを判断する。この判断は、図4のステップS2と同様の判断を行う。
Next, the process proceeds to step S38, and the
If it is determined in step S38 that sound reproduction processing has not been performed, the process proceeds to step S39, and the
ステップS39で、音を再生させると判断すると、ステップS40に進み、CPU10は、ユーザによって選択された音データの再生処理を開始させて、ステップS41に進む。この再生処理は、最後まで再生させると自動的に終了するが、ユーザによって再生終了の指示操作が行なわれた場合も終了する。
一方、ステップS38で現在、音の再生処理が行なわれていないと判断した場合、ステップS39で音を再生させないと判断した場合は、そのままステップS41に進む。
If it is determined in step S39 that the sound is to be reproduced, the process proceeds to step S40, where the
On the other hand, if it is determined in step S38 that no sound reproduction process is currently being performed, or if it is determined in step S39 that no sound is to be reproduced, the process proceeds directly to step S41.
ステップS41に進むと、CPU10は、録画を終了するか否かを判断する。この判断は、図4のステップS10と同様の判断を行う。
ステップS41で録画を終了しないと判断するとステップS38に戻り、ステップS41で録画を終了すると判断すると、ステップS42に進み、CPU10は、動画記録処理によりフラッシュメモリ13に記録されたフレーム画像データと、録音処理によりフラッシュメモリ13に記録された音データとから音付動画ファイルを生成すると共に、再生された音データの情報(音情報)も関連付けて記録させる。この音情報とは、再生された音データの所在情報、どのタイミングで音データが再生されたか、どのタイミングで音データの再生が終了したか、再生された音データのうち、どの部分から録音されたか等の情報である。例えば、録音処理開始時に既に音データが再生されていた場合は、該再生されていた音データのうち、どのタイミングから該音データが録音されたかの情報や、録音処理開始されてから音データが再生された場合は、録画、録音のどのタイミングで音データが再生されたかの情報である。
In step S41, the
If it is determined in step S41 that the recording is not to be ended, the process returns to step S38. If it is determined in step S41 that the recording is to be ended, the process proceeds to step S42, and the
次に、再生時に減算する場合の音付動作再生に動作を図6のフローチャートに従って説明する。
ユーザのキー入力部14のモード切替キーの音付動画撮影モードに設定されると、ステップS51に進み、CPU10は、ユーザの操作にしたがって、再生対象となる音付動画ファイルを選択する。
Next, the operation for sounding operation reproduction when subtracting during reproduction will be described with reference to the flowchart of FIG.
When the sound-added moving image shooting mode of the mode switching key of the user
次いで、ステップS52で、CPU10は、該選択した音付動画ファイルの再生処理を開始する。つまり、音付動画ファイルを読み出してバッファメモリに記憶させ、フレーム画像データを順次画像表示部12に表示させていくと共に、音データを順次内蔵スピーカ26から放音させる処理を開始させる。
このとき、該選択した音付動画ファイルに音情報が関連付けて記録されている場合は、該音情報に基づいて録音時に再生された音データを特定し、フラッシュメモリ13やメモリ9から読み出してバッファメモリに音データを記憶させておく。
Next, in step S52, the
At this time, if sound information is recorded in association with the selected moving image file with sound, sound data reproduced at the time of recording is specified based on the sound information, read from the
次いで、ステップS53で、CPU10は、撮影時に再生された音の録音が開始されたタイミングが到来したか否かを判断する。この判断は、ステップS51で選択した音付動画ファイルに関連付けられて記録されている音情報に基づいて判断する。この撮影時に再生された音の録音が開始されたタイミングとは、例えば、動画記録、録音開始時に既に音データが再生されている場合は、動画記録、録音が開始されたタイミングのことであり、動画記録、録音が開始され、その後、音データの再生が開始された場合は、該音データの再生開始が開始されたタイミングのことである。
Next, in step S53, the
ステップS53で、再生された音の録音が開始されたタイミングが到来していないと判断すると、ステップS54に進み、CPU10は、音付動画ファイルの再生処理が終了したか否かを判断する。
ステップS54で、音付動画ファイルの再生処理が終了していないと判断するとステップS53に戻る。
If it is determined in step S53 that the recording timing of the reproduced sound has not started, the process proceeds to step S54, and the
If it is determined in step S54 that the reproduction process of the moving image file with sound has not been completed, the process returns to step S53.
一方、ステップS53で、再生された音の録音が開始されたタイミングが到来したと判断すると、ステップS55に進み、CPU10の減算処理部31は、現在再生している音付動画ファイルの音データから、バッファメモリに記憶されている録音時に再生された音データを減算する処理を開始させる。このときは、録音時に再生された音と同期させて、音付動画ファイルの音データから、再生させた音データを減算させる。この減算された音データが内蔵スピーカ26から放音されることになる。
On the other hand, if it is determined in step S53 that the recording timing of the reproduced sound has started, the process proceeds to step S55, and the
次いで、ステップS56で、CPU10は、音付動画ファイルの再生が終了したか否かを判断する。この判断は、音付動画ファイルを最後まで再生させた場合や、ユーザのキー入力部14の操作により再生を終了する旨の操作信号が送られてくると、音付動画ファイルの再生が終了したと判断する。
ステップS56で、音付動画ファイルの再生が終了していないと判断すると、ステップS57に進み、CPU10は、撮影時(録音時)に再生された音の録音が終了したタイミングが到来したか否かを判断する。この判断も、ステップS51で選択した音付動画ファイルに関連付けられて記録されている音情報に基づいて行なう。この撮影時に再生された音の録音が終了したタイミングとして、撮影時に再生された音が最後まで再生され、自動的に音の再生が終了したタイミング、若しくは撮影時にユーザによって再生している音の再生終了操作が行なわれたタイミングなどがある。
Next, in step S56, the
If it is determined in step S56 that the reproduction of the moving image file with sound has not ended, the process proceeds to step S57, and the
ステップS57で、撮影時に再生された音の録音が終了したタイミングが到来していないと判断するとステップS56に戻り、ステップS57で、撮影時に再生された音の録音が終了したタイミングが到来したと判断すると、ステップS58に進み、CPU10は、現在再生している音付動画ファイルの音データから録音時に再生された音データの減算処理を終了して、ステップS53に戻る。
一方、ステップS54、ステップS56で、音付動画ファイルの再生を終了すると判断すると、ステップS59に進み、CPU10は、音付動画ファイルの再生処理を終了させる。
これにより、音が再生されながら録音された音を再生する場合であっても、該録音時に再生された音によって被写体の音声がかき消されることなく、録音された音の再生精度を向上することができる。
If it is determined in step S57 that the recording of the sound reproduced at the time of shooting has not ended, the process returns to step S56, and in step S57, it is determined that the timing of the recording of the sound reproduced at the time of shooting has come. Then, the process proceeds to step S58, and the
On the other hand, if it is determined in steps S54 and S56 that the reproduction of the sound-added moving image file is finished, the process proceeds to step S59, and the
As a result, even when the recorded sound is reproduced while the sound is reproduced, the sound of the subject is not drowned out by the sound reproduced at the time of recording, and the reproduction accuracy of the recorded sound can be improved. it can.
以上のように、第1の実施の形態においては、音付動画撮影中に、音データが再生された場合であっても、内蔵マイク21により集音された音データから該再生する音データを減算するので、撮影録音時に音を再生した場合であっても、再生された音によって被写体の音声がかき消されることがなく、音が再生されながら録音された音の再生の精度を向上することができる。
例えば、ダンス等の曲を再生ながら音付動画撮影を行なった場合であっても、動画再生の際にダンスの曲のみが極端に大きな音で再生されることがない。
As described above, in the first embodiment, even when sound data is played back during shooting of sound-added moving images, the sound data to be played back is extracted from the sound data collected by the built-in
For example, even when a moving image with sound is taken while playing a song such as a dance, only the dance song is not played with an extremely loud sound when the movie is played.
なお、上記第1の実施の形態において、被写体の音声と、録音時に再生された音とが同じ音レベルとなるように、内蔵マイク21から集音された音データから該再生された音データを減算するようにしたが、録音時に再生された音が無くなるように(音レベルがゼロ若しくは略ゼロ)となるように、内蔵マイク21から集音された音データから該再生された音データを減算し、該減算後の音データと録音時に再生された音データとを合成するようにしてもよい。この場合は、録音時に再生された音データの音レベルと被写体の音声の音レベルとが同じになるように合成するようにしてもよいし、ユーザによって選択された音レベルとなるように該録音時に再生された音データを合成させるようにしてもよい。これにより、再生された音を綺麗な音で録音することができる。
また、内蔵マイク21により集音された音データをそのまま記録し、記録後に、記録した音データから、録音時に再生された音データを減算した音データを生成して記録するようにしてもよい。これにより、撮影時、再生時の処理負担を軽減することができる。
In the first embodiment, the reproduced sound data is obtained from the sound data collected from the built-in
Alternatively, sound data collected by the built-in
[第2の実施の形態]
次に第2の実施の形態について説明する。
第2の実施の形態では、音付動画撮影を行なうときや行なっている最中に、音データを再生した場合であっても、被写体の音声が再生した音にかき消されないよう十分に被写体の声が撮影者に聞こえるようにするというものである。
[Second Embodiment]
Next, a second embodiment will be described.
In the second embodiment, even when sound data is reproduced during or during the recording of a moving image with sound, the sound of the subject is sufficiently not to be erased by the reproduced sound. The voice is made audible to the photographer.
D.デジタルカメラ1の機能
第2の実施の形態も、図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の撮像装置を実現する。
但し、第2の実施の形態においては、音声処理部15は、内蔵スピーカ、ローパスフィルタ/アンプ、A/D変換器を2つずつ備え、一方の内蔵スピーカ(第1の実施の形態で説明した内蔵スピーカ21)は撮影レンズ2が設けられている面(被写体側)に備えられ、他方の内蔵スピーカは画像表示部12が設けられている反対側の面(撮影者側)に備えられている。また、CPU10は、音データと逆位相の音データを生成する逆位相生成部を備えている。
D. Function of Digital Camera 1 The second embodiment also implements the imaging apparatus of the present invention by using the digital camera 1 having the same configuration as that shown in FIG.
However, in the second embodiment, the
図7は、第2の実施の形態における音声処理部15及びCPU10の機能を説明するための図である。
図7を見るとわかるように、音声処理部15は、D/A変換器24、ローパスフィルタ/アンプ25、内蔵スピーカ26(第1のスピーカ26)に加え、更に、D/A変換器27、ローパスフィルタ/アンプ28、内蔵スピーカ29(第2のスピーカ29)を備えている。なお、内蔵マイク21、アンプ/ローパスフィルタ22、A/D変換器23は、図示を省略している。
FIG. 7 is a diagram for explaining the functions of the
As can be seen from FIG. 7, the
まず、CPU10は、フラッシュメモリ13に記録されているデジタル信号の音データ(音楽等の音データ)をバッファメモリに記憶させ、CPU10の逆位相生成部32は、該記憶させた音データから、該音データと逆位相の音声データを順次生成さていく。この逆位相の音声データの生成は既に周知技術なので説明を割愛する。
First, the
そして、CPU10は、該記憶させた音データを順次D/A変換器24に出力すると共に、該生成された逆位相の音データをD/A変換器27に順次出力させていく。このとき、音データと生成された逆位相の音データとを同期させて、D/A変換器24、27にそれぞれ出力させる。
A/D変換器24、27は、該入力されたデジタル信号の音データからアナログ信号の音データに変換して、ローパスフィルタ/アンプ25、28にそれぞれ出力し、ローパスフィルタ/アンプ25、28は、入力された音データの不要な周波数帯域をカットして、増幅してから内蔵スピーカ26、29にそれぞれ出力し、内蔵スピーカ26、29は該入力された音データを音に変換して放音する。
The
The A /
このように、被写体側の内蔵スピーカ26には、音データがそのまま放音され、撮影者側の内蔵スピーカ29には音データと逆位相の音データが放音されるので、被写体には内蔵スピーカ26から放音された音がそのまま伝わり、撮影者には、内蔵スピーカ26から放音された音が、内蔵スピーカ29から放音された逆位相の音によって減殺されるので、内蔵スピーカ26から放音される音が小さくなり、被写体の声がかき消されることなく撮影者に十分に伝わる。
In this way, sound data is emitted as it is to the built-in
E.デジタルカメラ1の動作
以下、第2の実施の形態のデジタルカメラ1の動作を図8のフローチャートにしたがって説明する。
まず、ステップS71で、CPU10は、音を再生させるか否かを判断する。この判断は、図4のステップS2や、ステップS9と同様の判断であり、ユーザによって音再生キーの操作を行なわれ、スルー画像表示に重ねて表示されたフラッシュメモリ13等に記録されている音データ(音楽や、お遊びの音等の音データ)がユーザの十字キー、SETキーの操作によって選択された場合は、音を再生させると判断する。
E. Operation of Digital Camera 1 The operation of the digital camera 1 according to the second embodiment will be described below with reference to the flowchart of FIG.
First, in step S71, the
ステップS71で、音を再生させると判断すると、ステップS72に進み、CPU10の逆位相生成部32は、ユーザによって選択された音データと逆位相の音データを生成する処理を開始する。
次いで、ステップS73で、ユーザによって選択された音データを、第1のスピーカから放音させることにより該音データの再生処理を開始させる。
次いで、ステップS74で、該生成された逆位相の音データを、第2のスピーカから放音させることにより該音データの再生処理を開始させる。このとき、逆位相の音データを、ステップS73で再生される音データと同期させて放音させる。
If it is determined in step S71 that the sound is to be reproduced, the process proceeds to step S72, and the
Next, in step S73, the sound data selected by the user is emitted from the first speaker, thereby starting the reproduction processing of the sound data.
Next, in step S74, the sound data reproduction process is started by emitting the generated sound data of opposite phase from the second speaker. At this time, the sound data in the opposite phase is emitted in synchronization with the sound data reproduced in step S73.
次いで、ステップS75で、音の再生処理を終了したか否かを判断する。この判断は、図4のステップS14と同様の判断であり、再生している音が最後まで再生された場合や、ユーザによって再生を中止する操作が行なわれた場合等は、再生処理が終了したと判断する。
ステップS75で、音の再生処理が終了していないと判断すると、終了するまでステップS75に戻り、音の再生処理が終了したと判断すると、ステップS76に進み、CPU10は、逆位相の生成処理、ステップS73、74の再生処理を終了してステップS71に戻る。
Next, in step S75, it is determined whether or not the sound reproduction processing has ended. This determination is the same as step S14 in FIG. 4. When the sound being played has been played to the end, or when the user has performed an operation to stop the playback, the playback process has ended. Judge.
If it is determined in step S75 that the sound reproduction process has not been completed, the process returns to step S75 until the process is completed. If it is determined that the sound reproduction process has been completed, the process proceeds to step S76, where the
以上のように、第2の実施の形態においては、再生している音データと逆位相の音データを生成し、再生している音データを被写体側に向けられた第1のスピーカから放音し、該生成した逆位相の音データを撮影者側に向けられた第2のスピーカから放音するようにしたので、再生している音によって被写体の音声がかき消されること無く撮影者にも聞こえる。 As described above, in the second embodiment, sound data having an opposite phase to the sound data being reproduced is generated, and the sound data being reproduced is emitted from the first speaker directed toward the subject side. Since the generated sound data having the opposite phase is emitted from the second speaker directed to the photographer, the photographer can hear the sound of the subject without being erased by the sound being reproduced. .
[第3の実施の形態]
次に第3の実施の形態について説明する。
第3の実施の形態では、録音される音のうち、被写体の音声以外の周辺音を抑えることによって、被写体の音声が周辺音によってかき消されないようにするというものである。
[Third Embodiment]
Next, a third embodiment will be described.
In the third embodiment, by suppressing peripheral sounds other than the sound of the subject among the recorded sounds, the sound of the subject is prevented from being erased by the peripheral sound.
F.デジタルカメラ1の機能
第3の実施の形態も図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の撮像装置を実現する。
但し、第3の実施の形態においては、CPU10は、音声認識処理部、音抽出部、減算処理部を有している。
F. Functions of Digital Camera 1 In the third embodiment, the imaging apparatus of the present invention is realized by using the digital camera 1 having the same configuration as that shown in FIG.
However, in the third embodiment, the
図9は、第3の実施の形態における音声処理部15及びCPU10の機能を説明するための図である。
図9を見るとわかるように、音声処理部15の内蔵マイク21によって変換され、アンプ/ローパスフィルタ22を介してA/D変換器23から出力されるデジタル信号の音データ(音声と周辺音を含む音データ)は、CPU10の音声認識処理部33に送られる。なお、音声処理部15のD/A変換器24、ローパスフィルタ/アンプ25、内蔵スピーカ26は、図示を省略している。
FIG. 9 is a diagram for explaining the functions of the
As can be seen from FIG. 9, the sound data of the digital signal (sound and ambient sound is converted by the built-in
そして、音声認識処理部33は、該送られてきた音データ(音声と周辺音を含む音データ)に対して音声認識処理を行うことにより音データの音声部分を認識して、音抽出部34に出力する。この音声認識により、音声(人の声)と、それ以外の周辺音(動物の鳴き声や、車の音、海の波の音、風によって木がなびく音)とを区別することが可能となる。この音声認識処理は既に周知技術なので説明を割愛する。
音抽出部34は、音声認識処理部の認識結果に基づいて、該送られてきた音データ(音声と周辺音を含む音データ)から周辺音の音データを抽出する。この音抽出部34は、送られてきた音データ(音声と周辺音を含む音データ)を減算処理部31にそのまま出力すると共に、抽出した周辺音の音データも減算処理部31に出力する。
Then, the voice
The
減算処理部31は、送られてきた音データ(音声と周辺音を含む音データ)から該送られてきた周辺音の音データを減算する。この減算は、周辺音の音が全く無くなるように減算してもよいし、周辺音の音が少し聞こえるように減算するようにしてもよい。また、ユーザが減算の度合いを任意に選択することができるようにしてもよい。
そして、減算処理部31から出力される減算後の音データがバッファメモリに記憶され、フラッシュメモリ13に記録される。
これにより、周辺音のボリュームを抑えて録音することができ、被写体の音声が周辺音にかき消されずにすむ。
The
The subtracted sound data output from the
As a result, it is possible to record while suppressing the volume of the ambient sound, and the sound of the subject is not erased by the ambient sound.
G.デジタルカメラ1の動作
以下、第3の実施の形態のデジタルカメラ1の動作を図10のフローチャートにしたがって説明する。
ユーザのキー入力部14のモード切替キーの音付動画撮影モードに設定されると、ステップS91に進み、CPU10は、動画撮像処理を開始して、被写体のスルー画像表示を開始させる。
G. Operation of Digital Camera 1 The operation of the digital camera 1 according to the third embodiment will be described below with reference to the flowchart of FIG.
When the sound switching moving image shooting mode of the mode switching key of the user
次いで、ステップS92で、CPU10は、録画を開始するか否かを判断する。この判断は、図4のステップS4と同様の判断を行う。
ステップS92で、録画を開始しないと判断すると、録画を開始すると判断するまでステップS92に留まり、録画を開始すると判断すると、ステップS93に進み、CPU10は、動画記録処理を開始する。つまり、CCD5により順次撮像されバッファメモリに記憶されたフレーム画像データをフラッシュメモリ13に記録させていく処理を開始する。
Next, in step S92, the
If it is determined in step S92 that the recording is not started, the process stays in step S92 until it is determined that the recording is started. If it is determined that the recording is started, the process proceeds to step S93, and the
次いで、ステップS94で、CPU10は、録音処理を開始する。つまり、内蔵マイク21により電気信号に変換され、デジタル信号に変換された音データを順次バッファメモリに記憶し、該記憶した音データをフラッシュメモリ13に記録させていく処理を開始する。
次いで、ステップS95で、CPU10の音声認識処理部33は、該内蔵マイク21により取得され、A/D変換器23により順次変換されたデジタル信号の音データに対して音声認識処理を行うことにより、音声部分を認識して、送られてきた音データをそのまま音抽出部34に出力する。
Next, in step S94, the
Next, in step S95, the voice
次いで、ステップS96で、CPU10は、該音声認識処理による認識結果に基づいて被写体の音声が含まれているか否かを判断する。
ステップS96で、被写体の音声が含まれていると判断すると、ステップS97に進み、CPU10の音抽出部34は、音声認識結果に基づいて、音声認識処理部33から送られてきた音データのうち、周辺音の音データを抽出し、減算処理部31は、該送られてきた音データから該抽出した周辺音の音データを減算する処理を行って、ステップS98に進む。この減算後の音データがバッファメモリに記憶され、フラッシュメモリ13に記録されることになる。
Next, in step S96, the
If it is determined in step S96 that the sound of the subject is included, the process proceeds to step S97, and the
一方、ステップS96で、被写体の音声が含まれていないと判断すると、そのままステップS98に進む。このときは、音抽出部34、減算処理部31は送られてきた音データをスルーさせて出力することになり、音声認識処理部33に送られてきた音データは減算されずにそのままバッファメモリに記憶され、フラッシュメモリ13に記録されることになる。
ステップS98に進むと、CPU10は、録画を終了するか否かを判断する。この判断は、図4のステップS10と同様の判断を行う。
ステップS98で、録画を終了しないと判断するとステップS96に戻り、ステップS98で、録画を終了すると判断すると、ステップS99に進み、CPU10は、該撮像され記録されたフレーム画像データと記録された音データとに基づいて音付動画ファイルを生成する。
On the other hand, if it is determined in step S96 that the subject's voice is not included, the process directly proceeds to step S98. At this time, the
In step S98, the
If it is determined in step S98 that the recording is not to be ended, the process returns to step S96. If it is determined in step S98 that the recording is to be ended, the process proceeds to step S99, where the
以上のように、第3の実施の形態においては、内蔵マイク21により集音された音データを音声認識し、該音声認識結果に基づいて内蔵マイク21により集音された音データから、音声以外の周辺音の音データを減算するようにしたので、周辺音が騒々しい場合でも、被写体の音声が周辺音によってかき消されることは無く、被写体の音声が最も大きくなるように録音することができ、録音、再生の精度を向上させることができる。
As described above, in the third embodiment, the sound data collected by the built-in
なお、第3の実施の形態においては、内蔵マイク21から集音された音データから周辺音の音データを減算して、記録するようにしたが(録音するようにしたが)、録音時は、減算することなくそのまま記録し、再生時に、音声認識処理を行うことにより、再生する音データから周辺音の音データを減算して、音を再生するようにしてもよい。
また、内蔵マイク21から集音された音データをそのまま記録し、記録後に、音声認識処理を行うことにより、周辺音を減算した音データを生成して記録するようにしてもよい。これにより、撮影時、再生時の処理負担を軽減することができる。
In the third embodiment, the sound data of the surrounding sound is subtracted from the sound data collected from the built-in
Alternatively, sound data collected from the built-in
また、例えば、撮影者と被写体が会話をした場合、内蔵マイク21に近い撮影者の声の方が大きくなるので、内蔵マイク21により集音された音データを音声認識することにより、音レベルの大きい音声(音が大きい音声)と、音レベルの小さい音声(音が小さい音声)とを区別し、該音レベルが大きい音声と、音レベルが小さい音声とが同じ音レベルとなるように、内蔵マイク21により集音された音データから、音レベルの大きい音声データを減算するようにしてもよいし、音レベルの小さい音声を増幅して音レベルを大きくするようにしてもよい。これにより、撮影者と被写体の音の大きさを同じにして録音、再生することができ、録音精度、再生精度を向上させることができる。
また、この場合もユーザが減算の度合い、増幅の度合いを指定することができるようにしてもよい。
Further, for example, when the photographer and the subject have a conversation, the photographer's voice near the built-in
Also in this case, the user may be able to specify the degree of subtraction and the degree of amplification.
また、第1及び第3の実施の形態において、内蔵マイク21によって集音された音データに対して音声認識を行い、内蔵マイク21によって集音された音データに対して減算を行なわず、または減算を行なうと共に、音声の音レベルを大きくして記録、再生するようにしてもよい。
In the first and third embodiments, voice recognition is performed on sound data collected by the built-in
また、上記各実施の形態を任意に組み合わせた態様であってもよい。
この第1の実施の形態と、第3の実施の形態とを組み合わせる場合は、周辺音の音データのうち、録音時に再生された音データ以外の音データを内蔵マイク21によって集音された音データから減算すると共に、該録音時に再生させる音データも減算するようにしてもよい。
例えば、録音時にヴォーカル付きの音楽を再生している場合は、該再生している音が周辺音として認識されない部分と、周辺音として認識される部分とに分かれてしまう場合があり、適切に再生している音楽を減算することはできないので、再生している音楽と、周辺音のうち該音楽以外の音データとを分けてそれぞれ内蔵マイク21から集音された音データから減算する。これにより、再生精度を向上させることができる。
Moreover, the aspect which combined each said embodiment arbitrarily may be sufficient.
When the first embodiment and the third embodiment are combined, the sound collected by the built-in
For example, when playing music with vocals during recording, the sound being played may be divided into a part that is not recognized as a peripheral sound and a part that is recognized as a peripheral sound. Since the music being played cannot be subtracted, the music being played and the sound data other than the music of the surrounding sounds are divided and subtracted from the sound data collected from the built-in
また、上記各実施の形態においては、音付動画撮影の場合について説明したが、音付静止画撮影、撮影を伴わない単なる録音の場合のおいても適用可能である。 In each of the above-described embodiments, the case of moving image shooting with sound has been described. However, the present invention can also be applied to still image shooting with sound and simple recording without shooting.
また、本発明の上記実施形態は、何れも最良の実施形態としての単なる例に過ぎず、本発明の原理や構造等をより良く理解することができるようにするために述べられたものであって、添付の特許請求の範囲を限定する趣旨のものでない。
したがって、本発明の上記実施形態に対してなされ得る多種多様な変形ないし修正はすべて本発明の範囲内に含まれるものであり、添付の特許請求の範囲によって保護されるものと解さなければならない。
The above embodiments of the present invention are merely examples as the best embodiments, and are described in order to better understand the principle and structure of the present invention. It is not intended to limit the scope of the appended claims.
Therefore, it should be understood that all the various variations and modifications that can be made to the above-described embodiments of the present invention are included in the scope of the present invention and protected by the appended claims.
最後に、上記各実施の形態においては、本発明の撮像装置をデジタルカメラ1に適用した場合について説明したが、上記の実施の形態に限定されるものではなく、要は、被写体を撮影し、音を録音することができる機器であれば適用可能である。 Finally, in each of the above embodiments, the case where the imaging apparatus of the present invention is applied to the digital camera 1 has been described. However, the present invention is not limited to the above embodiment, and in short, the subject is photographed, Any device that can record sound is applicable.
1 デジタルカメラ
2 撮影レンズ
3 レンズ駆動ブロック
4 絞り
5 CCD
6 ドライバ
7 TG
8 ユニット回路
9 メモリ
10 CPU
11 DRAM
12 画像表示部
13 フラッシュメモリ
14 キー入力部
15 音声処理部
16 バス
1
6
8
11 DRAM
12
上記目的達成のため、本発明の撮像装置は、
撮像手段と、
マイクロフォンにより集音された音データを取得する取得手段と、
前記取得された音データに対して人の声を認識する音声認識を行なう認識手段と、
前記音声認識の結果に基づいて、人の声以外の音を前記取得された音データから減算する減算手段と、
前記撮像手段により撮像された画像データと前記人の声以外の音を減算した音データとを関連付けて記録装置に記録する記録制御手段と
を備えたことを特徴とする。
In order to achieve the above object, the imaging apparatus of the present invention provides:
Imaging means;
Obtaining means for obtaining sound data collected by a microphone;
Recognition means for performing speech recognition for recognizing a human voice for the acquired sound data;
Subtracting means for subtracting sound other than human voice from the acquired sound data based on the result of the speech recognition;
Recording control means for associating the image data picked up by the image pickup means with sound data obtained by subtracting sounds other than the human voice and recording them in a recording device;
It is provided with.
本願発明によれば、録音された音の再生精度を向上することができる。 According to the present invention, it is possible to improve the reproduction accuracy of the recorded sound sounds.
Claims (9)
音を放音するスピーカと、
前記スピーカから音データを放音させる放音制御手段と、
音を集音するマイクロフォンと、
前記撮像手段により撮像された画像データと前記マイクロフォンにより集音された音データとを関連付けて記録手段に記録する記録制御手段と、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、前記放音制御手段により放音された音データを、前記マイクロフォンにより集音された音データから減算する減算手段と、
を備えたことを特徴とする撮像装置。 Imaging means for imaging a subject;
A speaker that emits sound;
Sound emission control means for emitting sound data from the speaker;
A microphone that collects the sound,
Recording control means for associating the image data picked up by the image pickup means with the sound data collected by the microphone to record in the recording means;
While the sound data collected by the microphone is being recorded on the recording means by the recording control means, the sound data emitted by the sound emission control means is the sound data collected by the microphone. Subtracting means for subtracting from,
An imaging apparatus comprising:
前記マイクロフォンにより集音された音データが前記記録手段に記録される前に減算を実行し、
前記記録制御手段は、
前記減算手段により減算された音データを前記記録手段に記録することを特徴とする請求項1記載の撮像装置。 The subtracting means is
Performing subtraction before sound data collected by the microphone is recorded in the recording means;
The recording control means includes
2. The imaging apparatus according to claim 1, wherein the sound data subtracted by the subtracting means is recorded in the recording means.
前記記録手段による前記マイクロフォンにより集音された音データの記録後に、減算を実行することを特徴とする請求項1記載の撮像装置。 The subtracting means is
The imaging apparatus according to claim 1, wherein subtraction is performed after recording of sound data collected by the microphone by the recording unit.
前記減算手段は、
前記記録手段に記録された音データを再生する際に、減算を実行し、
前記再生手段は、
前記減算手段により減算された音データを再生すること特徴とする請求項3記載の撮像装置。 Reproducing means for reproducing the sound data recorded by the recording control means,
The subtracting means is
When reproducing the sound data recorded in the recording means, subtraction is performed,
The reproducing means includes
4. The imaging apparatus according to claim 3, wherein the sound data subtracted by the subtracting means is reproduced.
前記スピーカは、
被写体側に向けられた第1のスピーカと、撮影者側に向けられた第2のスピーカとを有し、
前記放音制御手段は、
前記第1のスピーカから前記放音させる音データを放音させ、前記第2のスピーカから前記生成手段により生成された逆位相の音データを放音させることを特徴とする請求項1乃至4の何れかに記載の撮像装置。 Generating means for generating sound data having an opposite phase to the sound data emitted from the speaker;
The speaker is
A first speaker directed to the subject side and a second speaker directed to the photographer side;
The sound emission control means includes
5. The sound data to be emitted from the first speaker is emitted, and the sound data of the opposite phase generated by the generating means is emitted from the second speaker. The imaging device according to any one of the above.
前記減算手段は、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、音声認識手段による認識結果に基づいて、音声以外の周辺音を前記マイクロフォンにより集音された音データから減算することを特徴とする請求項1乃至5の何れかに記載の撮像装置。 Voice recognition means for performing voice recognition on sound data collected by the microphone;
The subtracting means is
While the sound data collected by the microphone is being recorded on the recording means by the recording control means, ambient sounds other than the voice are collected by the microphone based on the recognition result by the voice recognition means. 6. The imaging apparatus according to claim 1, wherein the imaging apparatus subtracts from the sound data.
音声以外の周辺音のうち、前記放音制御手段により放音された音データ以外の音データを前記マイクロフォンにより集音された音データから減算するととともに、前記放音制御手段により放音された音データも前記マイクロフォンにより集音された音データから減算することを特徴とする請求項6記載の撮像装置。 The subtracting means is
Out of peripheral sounds other than sound, sound data other than sound data emitted by the sound emission control means is subtracted from sound data collected by the microphone, and sound emitted by the sound emission control means The image pickup apparatus according to claim 6, wherein data is also subtracted from sound data collected by the microphone.
前記減算手段は、
前記マイクロフォンにより集音された音データが前記記録制御手段により前記記録手段に記録されている最中に、音声認識手段による認識結果に基づいて、複数の音声のうち、音レベルの高い音声を、前記マイクロフォンにより集音された音データから減算することを特徴とする請求項1乃至5の何れかに記載の撮像装置。 Voice recognition means for performing voice recognition on the sound data collected by the microphone;
The subtracting means is
While the sound data collected by the microphone is being recorded in the recording means by the recording control means, a voice having a high sound level among a plurality of sounds is based on the recognition result by the voice recognition means. 6. The imaging apparatus according to claim 1, wherein subtraction is performed from sound data collected by the microphone.
前記スピーカから音データを放音させる放音制御処理と、
前記撮像手段により撮像された画像データと前記マイクロフォンにより集音された音データとを関連付けて記録媒体に記録する記録制御処理と、
前記マイクロフォンにより集音された音データが前記記録制御処理により前記記録媒体に記録されている最中に、前記放音制御処理により放音された音データを、前記マイクロフォンにより集音された音データから減算する減算処理と、
を含むことを特徴とするプログラム。 A program for executing an imaging apparatus including an imaging unit that images a subject, a speaker that emits sound, and a microphone that collects sound,
A sound emission control process for emitting sound data from the speaker;
A recording control process in which image data captured by the imaging unit and sound data collected by the microphone are associated and recorded on a recording medium;
While the sound data collected by the microphone is recorded on the recording medium by the recording control process, the sound data emitted by the sound emission control process is the sound data collected by the microphone. Subtraction processing to subtract from
The program characterized by including.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011147894A JP2011250439A (en) | 2011-07-04 | 2011-07-04 | Imaging apparatus, recording method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011147894A JP2011250439A (en) | 2011-07-04 | 2011-07-04 | Imaging apparatus, recording method, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007120974A Division JP2008278315A (en) | 2007-05-01 | 2007-05-01 | Imaging apparatus and program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011250439A true JP2011250439A (en) | 2011-12-08 |
Family
ID=45415040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011147894A Pending JP2011250439A (en) | 2011-07-04 | 2011-07-04 | Imaging apparatus, recording method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011250439A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04175073A (en) * | 1990-07-26 | 1992-06-23 | Mitsubishi Electric Corp | Integrated type video camera |
JPH0591385A (en) * | 1991-09-30 | 1993-04-09 | Mitsubishi Electric Corp | Camcorder |
JPH06175686A (en) * | 1992-12-07 | 1994-06-24 | Fuji Photo Film Co Ltd | Voice recording device |
-
2011
- 2011-07-04 JP JP2011147894A patent/JP2011250439A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04175073A (en) * | 1990-07-26 | 1992-06-23 | Mitsubishi Electric Corp | Integrated type video camera |
JPH0591385A (en) * | 1991-09-30 | 1993-04-09 | Mitsubishi Electric Corp | Camcorder |
JPH06175686A (en) * | 1992-12-07 | 1994-06-24 | Fuji Photo Film Co Ltd | Voice recording device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5155092B2 (en) | Camera, playback device, and playback method | |
JP4639907B2 (en) | Imaging apparatus, audio recording method, and program | |
JP2012100216A (en) | Camera and moving image capturing program | |
EP1589754A2 (en) | Information processing apparatus, imaging apparatus, information processing method, and program | |
JP5299034B2 (en) | Imaging device | |
JP6603897B2 (en) | Imaging device | |
JP4654947B2 (en) | Movie processing apparatus and program thereof | |
JP2008278315A (en) | Imaging apparatus and program thereof | |
JP2004032717A (en) | Data-processing apparatus | |
JP4348614B2 (en) | Movie reproducing apparatus, imaging apparatus and program thereof | |
JP2011250439A (en) | Imaging apparatus, recording method, and program | |
JP2006203860A (en) | Imaging apparatus, imaging method, reproducing apparatus, reproducing method and program | |
JP2004056699A (en) | Camera with video shooting function | |
JP2006101310A (en) | Imaging apparatus and program thereof | |
JP4213840B2 (en) | Portable image reproducing apparatus and operation control method thereof, and portable imaging apparatus and operation control method thereof | |
JP4687908B2 (en) | Movie playback apparatus and program thereof | |
JP5855346B2 (en) | Audio processing apparatus, audio processing method, and program | |
JP4487314B2 (en) | Movie imaging apparatus and program thereof | |
KR20060057748A (en) | Apparatus and method in which video and audio are linked | |
JP2009239930A (en) | Animation imaging apparatus and program | |
JP2006217111A (en) | Movie shooting apparatus and movie shooting method | |
JP2006203867A (en) | Imaging apparatus, imaging method, and program | |
JP4835663B2 (en) | Imaging recording apparatus and imaging recording control program | |
JP2005278059A (en) | Image pickup device | |
JP2011151522A (en) | Imaging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120731 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120906 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121211 |