JP2006229401A - Electronic camera, noise reduction device, and noise reduction control program - Google Patents

Electronic camera, noise reduction device, and noise reduction control program Download PDF

Info

Publication number
JP2006229401A
JP2006229401A JP2005038757A JP2005038757A JP2006229401A JP 2006229401 A JP2006229401 A JP 2006229401A JP 2005038757 A JP2005038757 A JP 2005038757A JP 2005038757 A JP2005038757 A JP 2005038757A JP 2006229401 A JP2006229401 A JP 2006229401A
Authority
JP
Japan
Prior art keywords
noise
data
unit
electronic camera
noise data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005038757A
Other languages
Japanese (ja)
Other versions
JP4910293B2 (en
Inventor
Kazunori Kita
一記 喜多
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 JP2005038757A priority Critical patent/JP4910293B2/en
Publication of JP2006229401A publication Critical patent/JP2006229401A/en
Application granted granted Critical
Publication of JP4910293B2 publication Critical patent/JP4910293B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To store noise data without requiring a quiet environmental space. <P>SOLUTION: Factory workers set a setting mode of a noise eliminator/suppressor with an operation input, connect external equipment such as a data writer to an input/output connector, and set a writing mode from the external equipment with the operation input before shipment of digital cameras after completion. Then, the judgement of a step S101 becomes YES, an input/output interface circuit is started and connected with the external equipment such as the data writer (a step S103). A previously stored filter coefficient or a noise parameter such as a noise spectrum is received from the external equipment such as the data writer (a step S104). The received noise suppression parameter is set and stored in a memory of a noise elimination/suppression circuit, namely, a noise suppression parameter memory (a step S104). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、搭載されているモーター等の動作に伴って発生するノイズを低減する電子カメラ、ノイズを低減するためのノイズ低減装置及びノイズ低減制御プログラムに関する。   The present invention relates to an electronic camera that reduces noise generated with the operation of a mounted motor, a noise reduction device for reducing noise, and a noise reduction control program.

従来、例えばマイクロホンにより検出した周囲音を撮影画像とともに記録するカメラにおいては、ズームモーター等の動作に伴って発生するカメラ動作ノイズを低減することにより、記録音へのノイズの混入を防止するためのノイズ低減装置を搭載したものが提案されている。このノイズ低減装置は、工場での調整工程において、予めカメラ動作ノイズを検出して記憶手段に記憶しておく。そして、ユーザによる撮影時において、マイクロホンにより検出された周囲音から前記予め記憶されているカメラ動作ノイズを除去することにより、カメラ動作ノイズが録音されることを防止する(例えば、特許文献1参照)。
特開平11−327063号公報
Conventionally, for example, in a camera that records ambient sound detected by a microphone together with a photographed image, it is possible to prevent noise from being mixed into the recorded sound by reducing camera operation noise that occurs with the operation of a zoom motor or the like. A device equipped with a noise reduction device has been proposed. This noise reduction device detects camera operation noise in advance and stores it in the storage means in the adjustment process at the factory. Then, at the time of shooting by the user, the camera operation noise stored in advance is removed from the ambient sound detected by the microphone, thereby preventing the camera operation noise from being recorded (see, for example, Patent Document 1). .
Japanese Patent Laid-Open No. 11-327063

このような予めカメラ動作ノイズを記憶して、ノイズ低減処理を行うノイズ低減装置の場合、精度よくノイズ除去を行うためには、工場での調整工程において他のノイズが混入しない環境下でカメラ動作ノイズを検出して記憶手段に記憶させることが不可欠である。しかしながら、工場は、各種製造機器の動作等に伴う雑多なノイズが常時発生していることが一般的である。したがって、他のノイズが混入しない環境下でカメラ動作ノイズを検出して記憶手段に記憶させるためには、工場内に静寂な作業空間を設けなければならず、雑多なノイズが常時発生している工場内に静寂な作業空間を設けることに多大な設備コストを要してしまう。   In the case of a noise reduction device that stores camera operation noise in advance and performs noise reduction processing, in order to remove noise with high accuracy, camera operation is performed in an environment where no other noise is mixed in the adjustment process at the factory. It is essential to detect noise and store it in the storage means. However, in general, miscellaneous noise associated with the operation of various manufacturing equipment is always generated in factories. Therefore, in order to detect camera operation noise and store it in the storage means in an environment where no other noise is mixed, a quiet work space must be provided in the factory, and various noises are constantly generated. Establishing a quiet work space in the factory requires a lot of equipment costs.

また、ノイズ発生源となる駆動機構等から発生する動作ノイズは、当該駆動機構を構成するモーターやギヤなどの摩耗頻度、利用時間あるいは経年変化により経時的に変化することから、マイクロホンにより検出された周囲音に含まれている動作ノイズも経時的に変化する。これに対し、記憶されている動作ノイズは一定である。したがって、この経時的に変化する動作ノイズが含まれる周囲音から、記憶されている一定の動作ノイズを除去しても、周囲音に含まれている動作ノイズを適正に除去することはできず、よって、経時的にノイズ除去性能が低下してしまう。   In addition, the operation noise generated from the drive mechanism that is a noise generation source is detected by the microphone because it changes over time due to wear frequency, usage time, or secular change of the motor or gear constituting the drive mechanism. The operating noise included in the ambient sound also changes over time. On the other hand, the stored operating noise is constant. Therefore, even if the stored constant operation noise is removed from the ambient sound including the operation noise that changes with time, the operation noise included in the ambient sound cannot be properly removed. Therefore, the noise removal performance decreases with time.

本発明は、かかる従来の課題に鑑みてなされたものであり、静寂な環境空間を必要とすることなく、ノイズデータを記憶することができ、あるいは、経時的に適正なノイズ除去性能を維持することのできる電子カメラ、ノイズ低減装置及びノイズ低減制御プログラムを提供することを目的とするものである。   The present invention has been made in view of such conventional problems, and can store noise data without requiring a quiet environment space, or can maintain proper noise removal performance over time. An object of the present invention is to provide an electronic camera, a noise reduction device, and a noise reduction control program.

前記課題を解決するため請求項1記載発明に係る電子カメラにあっては、動画を撮像する撮像手段と、この撮像手段による撮像時に周囲音を検出する検出手段と、前記撮像手段により撮像される動画と前記検出手段により検出される周囲音とを記録する記録手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、外部機器と接続する接続手段と、この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段とを備える。   In order to solve the above-mentioned problem, in the electronic camera according to the first aspect of the present invention, an image pickup means for picking up a moving image, a detection means for detecting an ambient sound at the time of image pickup by the image pickup means, and an image pickup by the image pickup means Recording means for recording a moving image and ambient sound detected by the detecting means, operating means for generating noise in accordance with the operation, and storage means for storing data of noise generated in accordance with the operation of the operating means The noise reduction processing means for performing noise reduction processing on the ambient sound detected by the detection means during the operation of the operation means based on the noise data stored in the storage means, and an external device are connected. A connection means; an acquisition means for acquiring noise data transferred from the external device connected to the connection means; and a noise data acquired by the acquisition means. The and a writing means for writing in said storage means.

つまり、雑多なノイズが常時発生している工場内において、動作手段の動作毎に、検出手段により検出された周囲音を記憶手段に記憶させると、記憶手段には動作手段の動作に伴って発生する動作ノイズとともに雑多なノイズも混入して記憶されることとなる。しかし、外部機器と接続し、この外部機器から転送されるノイズデータを取得して、記憶手段に書き込めば、静寂な環境空間を必要とすることなく、ノイズデータを記憶手段に記憶させることができる。   In other words, in a factory where miscellaneous noise is constantly generated, when the ambient sound detected by the detection means is stored in the storage means for each operation of the operation means, the storage means is generated along with the operation of the operation means. In addition to the operation noise, miscellaneous noise is also mixed and stored. However, by connecting to an external device, acquiring noise data transferred from the external device, and writing it in the storage means, the noise data can be stored in the storage means without requiring a quiet environment space. .

また、請求項2記載の発明に係る電子カメラにあっては、動画を撮像する撮像手段と、この撮像手段による撮像時に周囲音を検出する検出手段と、前記撮像手段により撮像される動画と前記検出手段により検出される周囲音とを記録する記録手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、前記記憶手段に記憶されているノイズデータを更新する更新手段とを備える。   In the electronic camera according to the second aspect of the present invention, an imaging unit that captures a moving image, a detection unit that detects ambient sound during imaging by the imaging unit, the moving image captured by the imaging unit, and the Recording means for recording the ambient sound detected by the detecting means, operating means for generating noise in accordance with the operation, storage means for storing data of noise generated in accordance with the operation of the operating means, and the storage Based on the noise data stored in the means, noise reduction processing means for performing noise reduction processing on ambient sounds detected by the detection means during operation of the operation means, and stored in the storage means Updating means for updating noise data.

したがって、動作手段の動作に伴って生ずるノイズが経時的に変化しても、ノイズデータが更新されることにより、この経時的に変化するノイズに応じたノイズデータを用いて、ノイズ低減処理を実行することができる。よって、経時的に適正なノイズ除去性能を維持することが可能となる。   Therefore, even if the noise caused by the operation of the operating means changes over time, the noise data is updated, and noise reduction processing is executed using the noise data corresponding to the time-varying noise. can do. Therefore, it is possible to maintain proper noise removal performance over time.

また、請求項3記載の発明に係る電子カメラにあっては、請求項1記載の発明において、前記書込手段により前記記憶手段に書き込まれたノイズデータを更新する更新手段を更に有する。したがって、前述のように、静寂な環境空間を必要とすることなく、ノイズデータを記憶手段に記憶させることができのみならず、経時的に適正なノイズ除去性能を維持することが可能となる。   According to a third aspect of the present invention, in the electronic camera according to the first aspect, the electronic camera further includes an updating unit that updates the noise data written in the storage unit by the writing unit. Therefore, as described above, noise data can be stored in the storage means without requiring a quiet environment space, and appropriate noise removal performance can be maintained over time.

また、請求項4記載の発明に係る電子カメラにあっては、請求項1記載の発明において、前記書込手段は、この取得手段により取得されたノイズデータを前記記憶手段に書き込むことにより前記記憶手段に記憶されているノイズデータを更新する更新手段を含む。したがって、前述のように、静寂な環境空間を必要とすることなく、ノイズデータを記憶手段に記憶させることができのみならず、外部機器を利用して経時的に適正なノイズ除去性能を維持することが可能となる。   According to a fourth aspect of the present invention, in the electronic camera according to the first aspect, the writing means writes the noise data acquired by the acquiring means into the storage means to store the memory. Updating means for updating the noise data stored in the means; Therefore, as described above, noise data can be stored in the storage means without requiring a quiet environment space, and proper noise removal performance can be maintained over time using an external device. It becomes possible.

また、請求項5記載の発明に係る電子カメラにあっては、請求項2記載の発明において、前記更新手段は、外部機器と接続する接続手段と、この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段とを有する。したがって、外部機器から取得した多様なノイズデータにより、発生するノイズが多様に変化しても、経時的に適正なノイズ除去性能を維持することができる。   According to a fifth aspect of the present invention, in the electronic camera according to the second aspect, the update means includes a connection means for connecting to an external device and the external device connected to the connection means. An acquisition unit that acquires the transferred noise data, and a writing unit that writes the noise data acquired by the acquisition unit into the storage unit. Therefore, even if the generated noise changes variously due to various noise data acquired from the external device, appropriate noise removal performance can be maintained over time.

また、請求項6記載の発明に係る電子カメラにあっては、前記更新手段により更新されるノイズデータは、前記ノイズ低減処理手段のノイズ低減方式に応じて異なる。したがって、ノイズ低減処理手段のノイズ低減方式に応じた適正なノイズデータの更新が可能となる。   In the electronic camera according to the sixth aspect of the present invention, the noise data updated by the updating unit differs depending on a noise reduction method of the noise reduction processing unit. Therefore, appropriate noise data can be updated according to the noise reduction method of the noise reduction processing means.

また、請求項7記載の発明に係る電子カメラにあっては、前記更新手段により更新されるノイズデータは、前記ノイズ低減処理手段が適応フィルタ方式である場合、フィルタ係数と適応更新アルゴリズムの少なくとも一方を含み、マイクロホンアレー方式である場合、ノイズ源方向の角度または遅延時間の少なくとも一方を含み、線形予測器である場合、前記発生するノイズに応じた適応係数を含み、スペクトル減算方式である場合、ノイズ源のスペクトルデータ、その推定データ、減算利得の少なくとも一つを含む。   In the electronic camera according to claim 7, the noise data updated by the update means is at least one of a filter coefficient and an adaptive update algorithm when the noise reduction processing means is an adaptive filter system. In the case of a microphone array system, including at least one of an angle or a delay time in the direction of a noise source, in the case of a linear predictor, including an adaptive coefficient corresponding to the generated noise, and in the case of a spectral subtraction system, It includes at least one of spectral data of noise sources, estimated data thereof, and subtraction gain.

また、請求項8記載の発明に係る電子カメラにあっては、前記更新手段は、電源オン時及び又は動作モード切替時において前記ノイズデータを更新する手段を含む。したがって、電源オン時やモードを切り替えする毎に自動的なノイズデータの更新がなされる。   In the electronic camera according to the eighth aspect of the invention, the updating means includes means for updating the noise data when the power is turned on and / or when the operation mode is switched. Therefore, the noise data is automatically updated when the power is turned on or every time the mode is switched.

また、請求項9記載の発明に係る電子カメラにあっては、前記更新手段は、電源オン時及び又は動作モード切替時点において、前記検出手段により検出された周囲音に基づき、前記ノイズデータを更新する手段を含む。   In the electronic camera according to the ninth aspect of the present invention, the updating means updates the noise data based on ambient sounds detected by the detecting means at power-on and / or operation mode switching time. Means to do.

また、請求項10記載の発明に係る電子カメラにあっては、前記更新手段は、前記動作手段の動作履歴を記憶する動作履歴記憶手段を有し、この動作履歴記憶手段に記憶された動作履歴に基づき、前記ノイズデータを更新する。したがって、動作手段の動作履歴に応じて変化するノイズに応じた適正なノイズデータの更新が可能となる。   Further, in the electronic camera according to the invention of claim 10, the updating means includes an operation history storage means for storing an operation history of the operation means, and an operation history stored in the operation history storage means. The noise data is updated based on the above. Therefore, it is possible to update the appropriate noise data according to the noise that changes according to the operation history of the operation means.

また、請求項11記載の発明に係る電子カメラにあっては、前記更新手段は、前記動作履歴記憶手段に記憶された動作履歴に基づき、ノイズデータを推定する推定手段を有し、この推定手段により推定されたノイズデータに更新する。   Further, in the electronic camera according to the invention of claim 11, the update means has an estimation means for estimating noise data based on the operation history stored in the operation history storage means. To update the noise data estimated by.

また、請求項12記載の発明に係る電子カメラにあっては、前記更新手段は、前記動作手段の経時的な動作量が増大するに伴って、前記ノイズデータの振幅が増大する方向に更新を行う。つまり、動作手段の動作に伴って発生するノイズは経時的に増大する傾向にあることから、この経時的な動作ノイズの変化に対応したノイズデータの更新が可能となる。   In the electronic camera according to the twelfth aspect of the present invention, the updating unit updates the noise data so that the amplitude of the noise data increases as the operation amount of the operation unit increases with time. Do. That is, the noise generated with the operation of the operating means tends to increase with time, so that it is possible to update the noise data corresponding to the change of the operating noise with time.

また、請求項13記載の発明に係る電子カメラにあっては、前記更新手段は、前記動作手段の経時的な動作量が増大するに伴って、前記ノイズデータの周波数成分をシフトして更新を行う。したがって、周波数成分をシフトさせる簡単な処理により、ノイズデータの更新が可能となる。   Further, in the electronic camera according to the invention of claim 13, the updating means shifts and updates the frequency component of the noise data as the operation amount of the operating means with time increases. Do. Therefore, the noise data can be updated by a simple process for shifting the frequency component.

また、請求項14記載の発明に係る電子カメラにあっては、前記周波数成分を高周波側にシフトする。つまり、動作手段の動作に伴って発生するノイズは経時的にその周波数が増大する傾向にあることから、この経時的な動作ノイズの周波数変化に対応したノイズデータの更新が可能となる。   In the electronic camera according to the fourteenth aspect, the frequency component is shifted to the high frequency side. That is, since the frequency of the noise generated with the operation of the operating means tends to increase with time, it is possible to update the noise data corresponding to the frequency change of the operating noise with time.

また、請求項15記載の発明に係る電子カメラにあっては、前記更新手段は、前記検出手段により検出された周囲音から特定低周波数帯域の音を抽出する抽出手段と、この抽出手段により抽出された前記特定低周波数帯域の音に基づき、前記動作手段の経年変化を検出する経年変化検出手段とを有し、この経年変化検出手段により検出された前記経年変化に応じたノイズデータに更新する。したがって、動作手段の経年変化に伴う実際のノイズ変化に対応したノイズデータの更新が可能となる。   Further, in the electronic camera according to the invention of claim 15, the updating means extracts an extracting means for extracting a sound in a specific low frequency band from the ambient sound detected by the detecting means, and the extracting means extracts the sound. Based on the sound of the specified low frequency band, the aging change detecting means for detecting the aging change of the operating means, and updated to the noise data corresponding to the aging change detected by the aging change detecting means. . Therefore, it is possible to update the noise data corresponding to the actual noise change accompanying the secular change of the operation means.

また、請求項16記載の発明に係る電子カメラにあっては、前記ノイズデータの更新を指示する指示手段を更に備え、前記更新手段は、前記指示手段の指示に応答して、前記ノイズデータを更新する。したがって、ユーザは任意の時点でノイズデータの更新を行うことができる。   The electronic camera according to a sixteenth aspect of the present invention further includes instruction means for instructing update of the noise data, and the update means is configured to send the noise data in response to an instruction from the instruction means. Update. Therefore, the user can update the noise data at an arbitrary time.

また、請求項17記載の発明に係る電子カメラにあっては、前記更新手段は、前記指示手段により更新が指示された時点において、前記検出手段により検出された周囲音に基づき、前記ノイズデータを更新する。したがって、前記任意の時点において、実際に変化している動作手段の動作に伴うノイズに応じたノイズデータを更新することができる。   Further, in the electronic camera according to the invention of claim 17, the update means obtains the noise data based on the ambient sound detected by the detection means when the update is instructed by the instruction means. Update. Therefore, it is possible to update the noise data corresponding to the noise accompanying the operation of the operating means that is actually changing at the arbitrary time point.

また、請求項18記載の発明に係る電子カメラにあっては、前記更新手段は、当該電子カメラにおいて設定可能な撮影シーンまたは撮影モードに応じて、異なるノイズデータを設定する。したがって、例えば会話シーンの動画撮影では、人間の音声帯域の音声をより強調し、動作手段の動作に伴って発生するノイズの高周波成分を抑圧することが可能となる。   In the electronic camera according to claim 18, the update means sets different noise data according to a photographing scene or photographing mode that can be set in the electronic camera. Therefore, for example, in moving image shooting of a conversation scene, it is possible to further emphasize the voice in the human voice band and suppress the high-frequency component of noise that occurs with the operation of the operating means.

また、請求項19記載の発明に係る電子カメラにあっては、前記検出手段により検出された前記動作手段の動作に伴って発生するノイズを前記外部機器に出力する出力手段を更に備え、前記取得手段は、前記出力手段から出力された前記ノイズに基づき前記外部機器が生成したノイズデータを取得する。   The electronic camera according to claim 19 further comprises output means for outputting noise generated by the operation of the operation means detected by the detection means to the external device, wherein the acquisition is performed. The means acquires noise data generated by the external device based on the noise output from the output means.

また、請求項20記載の発明に係る電子カメラにあっては、外部から画像データを受信するための端子と、この端子を介して受信された前記画像データを記憶する画像データ記憶手段とを更に備え、前記接続手段は、前記端子と兼用される。したがって、別途接続手段を設ける必要がない。   The electronic camera according to the invention of claim 20 further comprises a terminal for receiving image data from outside and an image data storage means for storing the image data received via the terminal. The connecting means is also used as the terminal. Therefore, it is not necessary to provide a separate connection means.

また、請求項21記載の発明にあっては、周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段とを備えた機器に配置されノイズ低減装置において、前記動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、外部機器と接続する接続手段と、この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段とを備える。   Further, in the invention described in claim 21, in the noise reduction apparatus disposed in a device comprising a detecting means for detecting ambient sound and an operating means for generating noise in accordance with the operation, the operation of the operating means And a noise reduction process for ambient sounds detected by the detection means during operation of the operation means based on the noise data stored in the storage means. The noise reduction processing means for executing, the connection means for connecting to the external device, the acquisition means for acquiring the noise data transferred from the external device connected to the connection means, and the noise data acquired by the acquisition means Writing means for writing to the storage means.

つまり、前述のように、雑多なノイズが常時発生している工場内において、動作手段の動作毎に、検出手段により検出された周囲音を記憶手段に記憶させると、記憶手段には動作手段の動作に伴って発生する動作ノイズとともに雑多なノイズも混入して記憶されることとなる。しかし、外部機器と接続し、この外部機器から転送されるノイズデータを取得して、記憶手段に書き込めば、静寂な環境空間を必要とすることなく、ノイズデータを記憶手段に記憶させることができる。   That is, as described above, in a factory where miscellaneous noise is constantly generated, when the ambient sound detected by the detection means is stored in the storage means for each operation of the operation means, the storage means The miscellaneous noise is mixed and stored together with the operation noise generated along with the operation. However, by connecting to an external device, acquiring noise data transferred from the external device, and writing it in the storage means, the noise data can be stored in the storage means without requiring a quiet environment space. .

また、請求項22記載の発明にあっては、周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段とを備えた機器に配置されたノイズ低減装置において、前記動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において 前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、前記記憶手段に記憶されているノイズデータを更新する更新手段とを備える。   According to a twenty-second aspect of the present invention, there is provided a noise reduction apparatus disposed in a device including detection means for detecting ambient sounds and operation means for generating noise in accordance with the operation. Storage means for storing data of noise generated by the operation, and noise reduction for ambient sounds detected by the detection means during operation of the operation means based on the noise data stored in the storage means Noise reduction processing means for executing processing, and update means for updating noise data stored in the storage means.

したがって、動作手段の動作に伴って生ずるノイズが経時的に変化しても、ノイズデータが更新されることにより、この経時的に変化するノイズに応じたノイズデータを用いて、ノイズ低減処理を実行することができる。よって、経時的に適正なノイズ除去性能を維持することが可能となる。   Therefore, even if the noise caused by the operation of the operating means changes over time, the noise data is updated, and noise reduction processing is executed using the noise data corresponding to the time-varying noise. can do. Therefore, it is possible to maintain proper noise removal performance over time.

また、請求項23記載の発明に係るノイズ低減制御プログラムにあっては、周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において発生するノイズを低減処理する機器が有するコンピュータを、外部機器と接続する接続手段と、この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段として機能させる。したがって、前記コンピュータがこのプログラムに従って処理を実行することにより、請求項21記載の発明と同様の作用効果を奏する。   In the noise reduction control program according to the twenty-third aspect of the present invention, the detecting means for detecting the ambient sound, the operating means for generating noise accompanying the operation, and generated by the operation of the operating means. Storage means for storing noise data, and connection means for connecting a computer included in a device for reducing noise generated during operation of the operation means based on the noise data stored in the storage means to an external device And acquisition means for acquiring noise data transferred from the external device connected to the connection means, and writing means for writing the noise data acquired by the acquisition means to the storage means. Therefore, when the computer executes processing according to this program, the same effect as that attained by the 21st aspect can be attained.

また、請求項24記載の発明に係るノイズ低減制御プログラムにあっては、周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において発生するノイズを低減処理する機器が有するコンピュータを、前記記憶手段に記憶されているノイズデータを更新する更新手段として機能させる。したがって、前記コンピュータがこのプログラムに従って処理を実行することにより、請求項22記載の発明と同様の作用効果を奏する。   In the noise reduction control program according to the twenty-fourth aspect of the present invention, detection means for detecting ambient sound, operation means for generating noise in accordance with the operation, and the operation of the operation means are generated. Storage means for storing noise data, and a computer included in a device for reducing noise generated during operation of the operation means based on the noise data stored in the storage means are stored in the storage means. It functions as an updating means for updating the noise data. Therefore, when the computer executes processing according to this program, the same effect as that attained by the 22nd aspect can be attained.

以上のように請求項1、21、23に係る発明によれば、外部機器と接続し、この外部機器から転送されるノイズデータを取得して、記憶手段に書き込むことから、静寂な環境空間を必要とすることなく、ノイズデータを記憶手段に記憶させることができる。したがって、工場内に静寂な作業空間を設ける必要がなく、これによる多大な設備コストを要せずに、低コストでノイズデータの記憶を行うことができる。   As described above, according to the inventions according to claims 1, 2, and 23, since the noise data transferred from the external device is connected to the external device and written in the storage means, a quiet environment space can be obtained. Noise data can be stored in the storage means without need. Therefore, it is not necessary to provide a quiet work space in the factory, and noise data can be stored at a low cost without requiring a large equipment cost.

また、請求項2、22、24に係る発明によれば、動作手段の動作に伴って生ずるノイズが経時的に変化しても、ノイズデータが更新されることにより、この経時的に変化するノイズに応じたノイズデータを用いて、ノイズ低減処理を実行することができる。よって、経時的に適正なノイズ除去性能を維持することが可能となる。   Further, according to the inventions according to claims 2, 22, and 24, even if the noise caused by the operation of the operating means changes with time, the noise data is updated, so that the noise changing with time Noise reduction processing can be executed using noise data according to the above. Therefore, it is possible to maintain proper noise removal performance over time.

(第1の実施の形態)   (First embodiment)

以下、本発明の一実施の形態を図に従って説明する。図1は、本発明の一実施の形態を適用したデジタルカメラ100の回路構成を示すブロック図である。このデジタルカメラ100は、AE、AWB、AF等の一般的な機能を有するものであり、ズームレンズ、フォーカスレンズで構成される撮像レンズ101を有している。この撮像レンズ101の光軸上には絞り102及びCCD等で構成される撮像部103が配置されており、前記撮像レンズ101及び絞り102はモーター等を有する駆動部104によって駆動される。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a circuit configuration of a digital camera 100 to which an embodiment of the present invention is applied. The digital camera 100 has a general function such as AE, AWB, AF, and the like, and has an imaging lens 101 including a zoom lens and a focus lens. On the optical axis of the imaging lens 101, an imaging unit 103 including a diaphragm 102 and a CCD is disposed. The imaging lens 101 and the diaphragm 102 are driven by a driving unit 104 having a motor and the like.

このデジタルカメラ100全体を制御する制御回路105は、CPU及びワーク用のRAM等で構成されている。この制御回路105には、前記駆動部104とともにドライバ106が接続されており、ドライバ106は、制御回路105が発生するタイミング信号に基づき、撮像部103を駆動する。なお、図示は省略するが、実際には、メカシャッター及びそれらを駆動するためのモーターを有する駆動機構等が設けられている。   A control circuit 105 that controls the entire digital camera 100 is composed of a CPU, a work RAM, and the like. A driver 106 is connected to the control circuit 105 together with the driving unit 104, and the driver 106 drives the imaging unit 103 based on a timing signal generated by the control circuit 105. In addition, although illustration is abbreviate | omitted, the drive mechanism etc. which have a mechanical shutter and a motor for driving them are actually provided.

また、前記撮像部103の受光面には、撮像レンズ101によって被写体が結像される。撮像部103は、ドライバ103によって駆動され、被写体の光学像に応じたアナログの撮像信号をユニット回路107に出力する。ユニット回路107は、撮像部103の出力信号に含まれるノイズを相関二重サンプリングによって除去するCDS回路や、ノイズが除去された撮像信号をデジタル信号に変換するA/D変換器等から構成され、デジタルに変換した撮像信号を映像信号処理部108へ出力する。   An object is imaged by the imaging lens 101 on the light receiving surface of the imaging unit 103. The imaging unit 103 is driven by the driver 103 and outputs an analog imaging signal corresponding to the optical image of the subject to the unit circuit 107. The unit circuit 107 includes a CDS circuit that removes noise included in the output signal of the imaging unit 103 by correlated double sampling, an A / D converter that converts the imaging signal from which noise has been removed, to a digital signal, and the like. The imaging signal converted into digital is output to the video signal processing unit 108.

映像信号処理部108は、入力した撮像信号に対しペデスタルクランプ等の処理を施し、それを輝度(Y)信号及び色差(UV)信号に変換するとともに、オートホワイトバランス、輪郭強調、画素補間などの画品質向上のためのデジタル信号処理を行う。映像信号処理部108で変換されたYUVデータは順次画像メモリ109に格納されるとともに、RECスルー・モードでは1フレーム分のデータ(画像データ)が蓄積される毎にビデオ信号に変換され、表示制御部110の表示メモリ111を介して表示部112へ送られてスルー画像として画面表示される。   The video signal processing unit 108 performs processing such as pedestal clamping on the input imaging signal, converts it into a luminance (Y) signal and a color difference (UV) signal, and performs auto white balance, contour enhancement, pixel interpolation, and the like. Performs digital signal processing to improve image quality. The YUV data converted by the video signal processing unit 108 is sequentially stored in the image memory 109, and in the REC through mode, every time one frame of data (image data) is accumulated, it is converted into a video signal for display control. The image is sent to the display unit 112 via the display memory 111 of the unit 110 and displayed on the screen as a through image.

そして、静止画撮影モードにおいては、後述する操作入力部121に設けられているシャッターキー操作をトリガとして、制御回路105は、撮像部103、ドライバ106、ユニット回路107、及び映像信号処理部108に対してスルー画撮影モードから静止画撮影モードへの切り替えを指示し、この静止画撮影モードによる撮影処理により得られ画像メモリ109に一時記憶された画像データは、画像圧縮/符号化ブロック116で圧縮及び符号化され、圧縮/符号化画像データメモリ117に一時記憶された後、最終的には所定のフォーマットの静止画ファイルとして、メモリIF113を介して外部メモリ114に記録される。また、動画撮影モードにおいては、1回目のシャッターキーと2回目のシャッターキー操作との間に、画像メモリ109に順次記憶される複数の画像データが画像圧縮/符号化ブロック116で順次圧縮され、圧縮/符号化画像データメモリ117に順次記憶された後、動画ファイルとして外部メモリ114に記録される。この外部メモリ114に記録された静止画ファイル及び動画ファイルは、PLAY・モードにおいてユーザーの選択操作に応じて画像伸張/復号化部118に読み出されるとともに伸張及び復号化され、YUVデータとして表示メモリ111に展開された後、表示部112に表示される。   In the still image shooting mode, the control circuit 105 causes the imaging unit 103, the driver 106, the unit circuit 107, and the video signal processing unit 108 to be triggered by a shutter key operation provided in the operation input unit 121 described later. On the other hand, switching from the through image shooting mode to the still image shooting mode is instructed, and the image data obtained by the shooting processing in the still image shooting mode and temporarily stored in the image memory 109 is compressed by the image compression / encoding block 116. After being encoded and temporarily stored in the compressed / encoded image data memory 117, it is finally recorded in the external memory 114 via the memory IF 113 as a still image file of a predetermined format. In the moving image shooting mode, a plurality of image data sequentially stored in the image memory 109 is sequentially compressed by the image compression / encoding block 116 between the first shutter key operation and the second shutter key operation. After being sequentially stored in the compressed / encoded image data memory 117, it is recorded in the external memory 114 as a moving image file. The still image file and the moving image file recorded in the external memory 114 are read out to the image decompression / decoding unit 118 and decompressed and decoded in accordance with the user's selection operation in the PLAY mode, and are displayed as YUV data. Is displayed on the display unit 112.

プログラムメモリ115には、制御回路105に前記各部を制御させるための各種のプログラム、例えばAE、AF、AWB制御用のプログラムや、データ通信用プログラム、さらには、制御回路105を本発明のノイズ低減処理手段、更新手段及び取得手段等として機能させるためのプログラム等の各種のプログラムが格納されている。データメモリ119は、利用者履歴データ、雑音抑制パラメータ及び更新履歴データを格納する   In the program memory 115, various programs for causing the control circuit 105 to control the respective units, for example, a program for controlling AE, AF, and AWB, a program for data communication, and further, the control circuit 105 includes the noise reduction of the present invention. Various programs such as a program for functioning as processing means, update means, acquisition means, and the like are stored. The data memory 119 stores user history data, noise suppression parameters, and update history data.

また、制御回路105には、電源スイッチ120及び操作入力部121が入力回路122を介して接続されているとともに、ニッケル水素電池等の充電可能な電池123が電源制御回路124を介して接続されている。操作入力部121には、モード選択キー、シャッターキー、ズームキー等の複数の操作キー及びスイッチが設けられている。   A power switch 120 and an operation input unit 121 are connected to the control circuit 105 via an input circuit 122, and a rechargeable battery 123 such as a nickel metal hydride battery is connected via a power control circuit 124. Yes. The operation input unit 121 is provided with a plurality of operation keys and switches such as a mode selection key, a shutter key, and a zoom key.

また、このデジタルカメラ100は、前記動画撮影モード、音声のみを記録する録音モード、音声付き(静止画)撮影モードにおいて、周囲音を記録する録音機能を備えており、このため周囲音を検出するマイクロホン125が設けられている。このマイクロホン125からの音声信号は、動画撮影モードにおいては、1回目のシャッターキーと2回目のシャッターキー操作との間においてアンプ126で増幅され、S&H、ADC回路127でサンプルホールド及びデジタル変換され、雑音除去/抑圧回路128で雑音抑圧処理され入力音声メモリ129に格納される。この入力音声メモリ129に格納された音声データは、音声圧縮/符号化ブロック130で順次圧縮され、圧縮/符号化音声データメモリ131に順次記憶される。制御回路105は、この圧縮音声データと前記圧縮動画データとを含む音声付き動画ファイルを生成して外部メモリ114に記録する。この外部メモリ114に記録された動画ファイルの音声データは、PLAY・モードにおいてユーザーの選択操作に応じて音声伸張/復号化部132に読み出されるとともに伸張及び復号化される。この伸張及び及び復号化された音声データは、出力音声メモリ133に一時記憶された後、D/A変換器134でアナログ信号に変換され、LPF135及びアンプ136を介してスピーカー137に供給されて音声として再生される。なお、音声記録を行うタイミングは、動画撮影時に限定されず、音声付き静止画撮影モードにおける録音動作時でもよく、また、録音モードやアフレコモードにおける録音動作時でもよい。   The digital camera 100 also has a recording function for recording ambient sounds in the moving image shooting mode, the recording mode for recording only sound, and the recording mode with sound (still image). A microphone 125 is provided. The audio signal from the microphone 125 is amplified by the amplifier 126 between the first shutter key operation and the second shutter key operation in the moving image shooting mode, sample-held and digitally converted by the S & H and ADC circuit 127, Noise suppression processing is performed by the noise removal / suppression circuit 128 and stored in the input voice memory 129. The audio data stored in the input audio memory 129 is sequentially compressed by the audio compression / encoding block 130 and sequentially stored in the compressed / encoded audio data memory 131. The control circuit 105 generates an audio-added moving image file including the compressed audio data and the compressed moving image data, and records it in the external memory 114. The audio data of the moving image file recorded in the external memory 114 is read out to the audio expansion / decoding unit 132 and expanded and decoded according to the user's selection operation in the PLAY mode. The decompressed and decoded audio data is temporarily stored in the output audio memory 133, converted to an analog signal by the D / A converter 134, and supplied to the speaker 137 via the LPF 135 and the amplifier 136. As played. Note that the timing of performing the audio recording is not limited to the time of moving image shooting, and may be during the recording operation in the still image shooting mode with audio, or during the recording operation in the recording mode or the after-recording mode.

また、このデジタルカメラ100は、入出力インターフェース回路138を介して制御回路105に接続された入出力コネクタ139を備えている。この入出力コネクタ139には、データ書込機等の外部機器150を接続することが可能である。制御回路105は、このデータ書込機等の外部機器150から入力された雑音抑圧パラメータ等を取得し、雑音抑制パラメータ制御ブロック140は、この取得された雑音抑圧パラメータ等を雑音抑圧パラメータメモリ141に書き込む。前記雑音除去/抑圧回路128は、雑音成分算出部142と減算回路143とを備えている。雑音成分算出部142は、後述するフローチャートに示すようにこのデジタルカメラ100における雑音成分を算出して、雑音抑圧パラメータメモリ141に記憶させるものである。減算回路143は、アンプ136及びS&H、ADC回路127を介してマイクロホン125から入力された音声データから、雑音抑圧パラメータメモリ141に記憶されたデータを減算して入力音声メモリ129に出力するものである。   The digital camera 100 also includes an input / output connector 139 connected to the control circuit 105 via the input / output interface circuit 138. An external device 150 such as a data writer can be connected to the input / output connector 139. The control circuit 105 acquires a noise suppression parameter or the like input from the external device 150 such as the data writer, and the noise suppression parameter control block 140 stores the acquired noise suppression parameter or the like in the noise suppression parameter memory 141. Write. The noise removal / suppression circuit 128 includes a noise component calculation unit 142 and a subtraction circuit 143. The noise component calculation unit 142 calculates a noise component in the digital camera 100 and stores it in the noise suppression parameter memory 141 as shown in a flowchart described later. The subtraction circuit 143 subtracts the data stored in the noise suppression parameter memory 141 from the audio data input from the microphone 125 via the amplifier 136, S & H, and ADC circuit 127 and outputs the result to the input audio memory 129. .

以上の構成に係る本実施の形態において、制御回路105は前記プログラムに基づき、図2のフローチャートに示すように処理を実行する。すなわち、工場作業者はデジタルカメラ100の完成後出荷前にて、操作入力部121にて雑音除去/抑圧部の設定モードを設定して、入出力コネクタ139にデータ書込機等の外部機器150を接続し、さらに操作入力部121にて外部機器からの書込モードを設定する。すると、ステップS101の判断がYESとなり、入出力インターフェース回路138を起動させて、データ書込機等の外部機器150と接続する(ステップS103)。さらに、このデータ書込機等の外部機器150から予め記憶されているフィルタ係数、または雑音スペクトル等の雑音パラメータを受信し(ステップS104)、この受信した雑音抑圧パラメータを雑音除去/抑圧回路128のメモリー、つまり雑音抑圧パラメータメモリ141に設定して記憶させる(ステップS104)。   In the present embodiment having the above configuration, the control circuit 105 executes processing as shown in the flowchart of FIG. 2 based on the program. That is, the factory worker sets the setting mode of the noise removal / suppression unit by the operation input unit 121 before completion of the digital camera 100 and before shipping, and sets the input / output connector 139 to the external device 150 such as a data writer. Further, the operation input unit 121 sets the writing mode from the external device. Then, the determination in step S101 is YES, and the input / output interface circuit 138 is activated to connect to the external device 150 such as a data writer (step S103). Further, a noise coefficient such as a filter coefficient or a noise spectrum stored in advance from the external device 150 such as the data writer is received (step S104), and the received noise suppression parameter is received by the noise removal / suppression circuit 128. It is set and stored in the memory, that is, the noise suppression parameter memory 141 (step S104).

なお、この雑音抑圧パラメータの雑音抑圧パラメータメモリ141への設定は、工場作業者が行うことなく、デジタルカメラ100を購入したユーザが行ってもよい。   The setting of the noise suppression parameter in the noise suppression parameter memory 141 may be performed by the user who purchased the digital camera 100 without being performed by a factory worker.

そして、このデジタルカメラ100が出荷された後ユーザが購入した場合、当該ユーザは雑音抑制パラメータの自動更新を希望する場合には、操作入力部121にて雑音除去/抑圧部の設定モードを設定しておく。このユーザにより外部機器からの書込モード以外の他のモードを設定されると、ステップS101の判断がNOとなる。したがって、ステップS101からステップS105に進み、電源ON起動時またはモード切替時であるか否かを判断する(ステップS105)。電源ON起動時またはモード切替時であるならば、駆動部104を停止させて非駆動時(静穏時)の周囲音声をマイクロホン125から入力させ(ステップS106)、この非駆動時(静穏時)の周囲音声を、制御回路105が有するRAMに一時記憶させる(ステップS107)。次に、駆動部104が有するレンズ駆動モーター等の雑音源を駆動し(ステップS108)、駆動時の動作音をマイクロホン125から入力させる(ステップS109)。そして、この駆動時の音声データから静穏時の音声データを差し引き、雑音データとして前記RAMに一時記憶させる(ステップS110)。さらに、この雑音データに応じて、フィルタ係数または雑音スペクトル等の雑音抑制パラメータを算出し(ステップS111)、この算出した雑音抑圧パラメータを雑音除去/抑圧回路128に更新設定、つまり雑音抑圧パラメータメモリ141に更新設定する(ステップS112)。   When the user purchases after the digital camera 100 is shipped, if the user desires automatic update of the noise suppression parameter, the operation input unit 121 sets the noise removal / suppression unit setting mode. Keep it. When a mode other than the writing mode from the external device is set by the user, the determination in step S101 is NO. Accordingly, the process proceeds from step S101 to step S105, and it is determined whether or not the power is turned on or the mode is switched (step S105). If the power is turned on or the mode is switched, the drive unit 104 is stopped and ambient sound at the time of non-driving (quiet) is input from the microphone 125 (step S106). Ambient audio is temporarily stored in the RAM included in the control circuit 105 (step S107). Next, a noise source such as a lens driving motor included in the driving unit 104 is driven (step S108), and an operation sound during driving is input from the microphone 125 (step S109). Then, the quiet voice data is subtracted from the driving voice data and temporarily stored in the RAM as noise data (step S110). Further, a noise suppression parameter such as a filter coefficient or a noise spectrum is calculated according to the noise data (step S111), and the calculated noise suppression parameter is updated and set in the noise removal / suppression circuit 128, that is, the noise suppression parameter memory 141. (Step S112).

したがって、本実施の形態においては、雑音除去/抑圧部の設定モードが設定されていると、電源ON起動時またはモード切替時にステップS106〜S112の処理が実行されることから、雑音除去/抑圧部の設定モードが設定されている場合には、周囲からの雑音がマイクロホン125に入力されない静寂な環境下で、電源ON起動またはモード変更を行う必要がある。   Therefore, in the present embodiment, when the setting mode of the noise removal / suppression unit is set, the processing of steps S106 to S112 is executed when the power is turned on or when the mode is switched. Therefore, the noise removal / suppression unit When the setting mode is set, it is necessary to start the power supply or change the mode in a quiet environment where noise from the surroundings is not input to the microphone 125.

他方、ステップS105での判断の結果、電源ON起動時またはモード切替時でない場合には、動画撮影/録音モードなどでマイクロホン125から音声入力中であるか否かを判断する(ステップS113)。音声入力中である場合には、音声をマイクロホン125ら入力させ(ステップS114)、雑音抑圧パラメータメモリ141に設定されたパラメータを用いて雑音除去/抑圧回路128により、入力音声から雑音を除去または抑圧する(ステップS115)。さらに、この雑音除去または抑圧された入力音声データを音声データメモリまたは音声符号器、つまり本実施の形態においては入力音声メモリ129に、音声圧縮/符号化ブロック130を介して圧縮/符号化音声データメモリ131に出力する(ステップS116)。   On the other hand, if the result of determination in step S105 is not when the power is turned on or when the mode is not switched, it is determined whether or not voice is being input from the microphone 125 in the moving image recording / recording mode or the like (step S113). If the voice is being input, the voice is input from the microphone 125 (step S114), and the noise is removed or suppressed by the noise removal / suppression circuit 128 using the parameters set in the noise suppression parameter memory 141. (Step S115). Further, the input voice data whose noise is removed or suppressed is compressed / coded voice data into a voice data memory or a voice encoder, that is, the input voice memory 129 in this embodiment via a voice compression / coding block 130. The data is output to the memory 131 (step S116).

なお、本実施の形態ではステップS105で、電源ON起動時またはモード切替時であるか否かを判断するようにしたが、いずれか一方のみを判断するようにしてもよい。また、操作入力部121ノイズデータ更新指示スイッチを設け、ステップS105でこの更新指示スイッチが操作されたか否かを判断するようにしてもよい。   In this embodiment, in step S105, it is determined whether the power is turned on or the mode is switched. However, only one of them may be determined. Further, an operation input unit 121 noise data update instruction switch may be provided, and it may be determined whether or not the update instruction switch has been operated in step S105.

(第2の実施の形態)   (Second Embodiment)

図3は、本発明の第2の実施の形態における処理手順を示すフローチャートである。このフローチャートにおいて、ステップS201〜S204の処理は、前記図2おけるステップS101〜104の処理と同一である。そして、前記ユーザにより外部機器からの書込モード以外の他のモードを設定されると、ステップS201の判断がNOとなる。したがって、ステップS201からステップS205に進み、電源ON起動時またはモード切替時であるか否かを判断する(ステップS205)。電源ON起動時またはモード切替時であるならば、駆動部104の利用履歴データが所定値A以上であるか否かを判断する(ステップS206)。   FIG. 3 is a flowchart showing a processing procedure in the second embodiment of the present invention. In this flowchart, the processing in steps S201 to S204 is the same as the processing in steps S101 to S104 in FIG. When the user sets a mode other than the writing mode from the external device, the determination in step S201 is NO. Therefore, the process proceeds from step S201 to step S205, and it is determined whether or not the power is turned on or the mode is switched (step S205). If the power is turned on or the mode is switched, it is determined whether or not the usage history data of the drive unit 104 is equal to or greater than a predetermined value A (step S206).

すなわち、制御回路105は駆動部104が駆動される毎に、図1に示したようにその駆動回数をデータメモリ119に「利用履歴データ」として記憶している。したがって、ステップS206ではこのデータメモリ119に記憶されている利用履歴データが示す駆動回数が所定値A以上であるか否かを判断する。このステップS206での判断の結果、利用履歴データが所定値A未満であった場合には、設定済みの雑音除去パラメータを継続利用する(ステップS207)。つまり、雑音抑圧パラメータメモリ141に記憶されているパラメータの更新は行わない。   That is, every time the driving unit 104 is driven, the control circuit 105 stores the number of times of driving as “usage history data” in the data memory 119 as shown in FIG. Therefore, in step S206, it is determined whether or not the number of driving times indicated by the usage history data stored in the data memory 119 is equal to or greater than a predetermined value A. If the use history data is less than the predetermined value A as a result of the determination in step S206, the set noise removal parameter is continuously used (step S207). That is, the parameter stored in the noise suppression parameter memory 141 is not updated.

しかし、利用履歴データが示す駆動回数が所定値A以上であるならば、さらに利用履歴データが示す駆動回数が所定値B以上(但し、A<B)であるか否かを判断する(ステップS208)。この判断の結果、駆動回数が所定値B未満、つまりA以上B未満であれば、利用履歴データに応じて、雑音減算利得または雑音除去/抑圧利得を大きくするように、雑音抑圧パラメータメモリ141に記憶されているデータを補正設定する(ステップS209)。また、ステップS208での判断の結果、利用履歴データが示す駆動回数が所定値B以上であるならば、利用履歴データに応じて、雑音除去/抑圧回路128で除去/抑圧する周波数帯域を高周波側がシフトするように、雑音抑圧パラメータメモリ141に記憶されているデータを補正設定する(ステップS210)。   However, if the drive count indicated by the usage history data is equal to or greater than the predetermined value A, it is further determined whether or not the drive count indicated by the usage history data is equal to or greater than the predetermined value B (where A <B) (step S208). ). As a result of this determination, if the number of times of driving is less than the predetermined value B, that is, greater than or equal to A and less than B, the noise suppression parameter memory 141 is set so as to increase the noise subtraction gain or the noise removal / suppression gain according to the usage history data. The stored data is corrected and set (step S209). As a result of the determination in step S208, if the number of driving times indicated by the usage history data is equal to or greater than the predetermined value B, the high frequency side determines the frequency band to be removed / suppressed by the noise removal / suppression circuit 128 according to the usage history data. The data stored in the noise suppression parameter memory 141 is corrected and set so as to shift (step S210).

他方、ステップS205での判断の結果、電源ON起動時またはモード切替時でない場合には、ステップS211〜S214において前記図2のステップS113〜116と同様の処理を実行する。   On the other hand, if the result of determination in step S205 is not when the power is turned on or mode is switched, processing similar to that in steps S113 to 116 in FIG. 2 is executed in steps S211 to S214.

(第3の実施の形態)   (Third embodiment)

図4は、本発明の第3の実施の形態における処理手順を示すフローチャートである。このフローチャートにおいて、ステップS301〜S304の処理は、前記図2おけるステップS101〜104の処理と同一である。そして、前記ユーザにより外部機器からの書込モード以外の他のモードを設定されると、ステップS301の判断がNOとなる。したがって、ステップS301からステップS305に進み、電源ON起動時または録音・撮影モード切替時であるか否かを判断する(ステップS305)。これらの切替時であるならば、駆動部104が有するレンズ駆動モーター等の雑音源を駆動し(ステップS306)、駆動時の動作音をマイクロホン125から入力させる(ステップS307)。そして、制御回路105が有しているBPF(帯域通過フィルタ)により、この駆動時の入力音声信号から所定の周波数帯域の音声信号を抽出する(ステップS308)。さらに、この抽出した帯域の音声信号に基づいて、モーターやギヤなどの駆動部104の利用時間または摩耗頻度、経年変化等の度合いを推測する(ステップS309)。また、推測された利用時間または摩耗頻度、経年変化等の度合いに応じて、フィルタ係数または雑音スペクトル等の雑音抑制パラメータを算出し(ステップS310)、この算出した雑音抑圧パラメータを雑音除去/抑圧回路128に更新設定、つまり雑音抑圧パラメータメモリ141に更新設定する(ステップS311)。   FIG. 4 is a flowchart showing a processing procedure in the third embodiment of the present invention. In this flowchart, the processing in steps S301 to S304 is the same as the processing in steps S101 to S104 in FIG. If the user sets a mode other than the writing mode from the external device, the determination in step S301 is NO. Therefore, the process proceeds from step S301 to step S305, and it is determined whether the power is turned on or the recording / shooting mode is switched (step S305). If it is during these switching times, a noise source such as a lens driving motor included in the driving unit 104 is driven (step S306), and an operation sound at the time of driving is input from the microphone 125 (step S307). Then, an audio signal in a predetermined frequency band is extracted from the input audio signal at the time of driving by a BPF (band pass filter) included in the control circuit 105 (step S308). Further, based on the extracted audio signal in the band, the usage time or wear frequency of the drive unit 104 such as a motor or gear, the degree of secular change, etc. are estimated (step S309). Further, a noise suppression parameter such as a filter coefficient or a noise spectrum is calculated according to the estimated usage time or wear frequency, aging, etc. (step S310), and the calculated noise suppression parameter is used as a noise removal / suppression circuit. Update setting to 128, that is, update setting to the noise suppression parameter memory 141 (step S311).

他方、ステップS305での判断の結果がNOである場合には、ステップS312〜S315において前記図2のステップS113〜116と同様の処理を実行する。   On the other hand, if the result of determination in step S305 is NO, the same processing as in steps S113 to 116 in FIG. 2 is executed in steps S312 to S315.

(第4の実施の形態)   (Fourth embodiment)

図5(A)は、本発明の第4の実施の形態におけるデータ書込機等の外部機器150の処理手順を示すフローチャートである。すなわち、デジタルカメラ100へのデータが書込が指示されたか否かを判断し(ステップA401)、指示されていない場合にはその他の処理を実行する(ステップA402)。書込指示があった場合には、デジタルカメラ100と接続し(ステップA403)、接続がOKであるか否かを判断する(ステップA404)。OKであるならば、後述するようにデジタルカメラ100側から送信されてくる音声信号、雑音信号を測定、または、データ入力し(ステップA405)、雑音スペクトル、あるいは、フィルタ係数など雑音抑圧パラメータを算出する(ステップA406)。そして、この算出した雑音スペクトル、雑音パラメータ等をデジタルカメラ100に送信し(ステップA407)、その他の書込処理を行った後(ステップA408)、接続を終了する(ステップA409)。   FIG. 5A is a flowchart showing a processing procedure of the external device 150 such as a data writer in the fourth embodiment of the present invention. That is, it is determined whether or not data writing to the digital camera 100 has been instructed (step A401). If not instructed, other processing is executed (step A402). If there is a writing instruction, the digital camera 100 is connected (step A403), and it is determined whether or not the connection is OK (step A404). If it is OK, as will be described later, an audio signal and a noise signal transmitted from the digital camera 100 side are measured or data is input (step A405), and a noise suppression parameter such as a noise spectrum or a filter coefficient is calculated. (Step A406). Then, the calculated noise spectrum, noise parameter, and the like are transmitted to the digital camera 100 (step A407), and after performing other writing processes (step A408), the connection is terminated (step A409).

同図(B)は、同実施の形態におけるデジタルカメラ100側の処理手順を示すフローチャートである。すなわち、外部機器からの書込モードが設定されたか否かを判断し(ステップB401)、設定されていない場合後述する制御(2)に移行する。また、書込モードが設定された場合には、データ書込機等の外部機器150と接続し(ステップB402)、接続がOKであるか否かを判断する(ステップB403)。OKであるならば、駆動部104が有するレンズ駆動モーター等の雑音源を駆動し(ステップB404)、この内蔵騒音源の動作音をマイクロホン125から入力させる(ステップB405)。   FIG. 5B is a flowchart showing a processing procedure on the digital camera 100 side in the embodiment. That is, it is determined whether or not the writing mode from the external device is set (step B401), and if it is not set, the process proceeds to control (2) described later. When the write mode is set, the external device 150 such as a data writer is connected (step B402), and it is determined whether or not the connection is OK (step B403). If OK, a noise source such as a lens driving motor included in the driving unit 104 is driven (step B404), and the operation sound of the built-in noise source is input from the microphone 125 (step B405).

さらに、この入力音声、または、参照雑音信号、雑音抑圧後の音声信号、設定済パラメータ等のデータをデータ書込機等の外部機器150に送信する(ステップB406)。また、前記ステップA407でデータ書込機等の外部機器150から送信されてきた雑音スペクトル、雑音抑圧パラメータ等を受信し、この受信した雑音スペクトル、雑音抑圧パラメータを雑音減算部のメモリーに設定、つまり雑音抑圧パラメータメモリ141に設定して記憶させる(ステップB408)。さらに、データメモリ119に記憶されている駆動回数(図1の「利用履歴データ」)、更新日時(図1の「雑音抑圧パラメータ更新履歴」)を更新し(ステップB409)、その他の書込みデータの設定処理を行った後(ステップB410)、接続を終了する。   Further, the input voice or reference noise signal, the voice signal after noise suppression, and data such as the set parameters are transmitted to the external device 150 such as a data writer (step B406). In addition, the noise spectrum and noise suppression parameters transmitted from the external device 150 such as a data writer in step A407 are received, and the received noise spectrum and noise suppression parameters are set in the memory of the noise subtraction unit, that is, It is set and stored in the noise suppression parameter memory 141 (step B408). Further, the number of driving times stored in the data memory 119 (“use history data” in FIG. 1) and the update date and time (“noise suppression parameter update history” in FIG. 1) are updated (step B409), and other write data After performing the setting process (step B410), the connection is terminated.

図6は、デジタルカメラ100側の前記制御(2)の処理手順を示すフローチャートである。電源ON起動時、または、モード切替時であるか否かを判断する(ステップB421)。電源ON起動時、または、モード切替時であるならば、各部の起動処理及び初期設定処理を実行して(ステップB422)、マイクロホン125から音声を入力させ(ステップB423)、周囲音声レベルが所定未満になるまで待機する(ステップB424)。周囲音声レベルが所定未満になったならば、駆動部104が有するレンズ駆動モーター等の雑音源を駆動し(ステップB425)、駆動時の音声をマイクロホン125から入力させる(ステップB426)。そして、この入力音声を解析して、雑音スペクトル、雑音抑制パラメータを算出し(ステップB427)、この算出したフィルタ係数、雑音スペクトル等の雑音抑圧パラメータを雑音除去/抑圧回路128に更新設定、つまり雑音抑圧パラメータメモリ141に更新設定する(ステップB428)。   FIG. 6 is a flowchart showing a processing procedure of the control (2) on the digital camera 100 side. It is determined whether the power is turned on or the mode is switched (step B421). If the power is turned on or the mode is switched, the activation process and initial setting process of each unit are executed (step B422), and sound is input from the microphone 125 (step B423), and the ambient sound level is less than a predetermined level. (Step B424). When the ambient sound level becomes less than a predetermined level, a noise source such as a lens driving motor included in the drive unit 104 is driven (step B425), and the sound during driving is input from the microphone 125 (step B426). Then, the input speech is analyzed to calculate a noise spectrum and a noise suppression parameter (step B427), and the noise suppression parameters such as the calculated filter coefficient and noise spectrum are updated and set in the noise removal / suppression circuit 128, that is, noise. Update setting is made in the suppression parameter memory 141 (step B428).

次に、データメモリ119に記憶されている前回更新日時からの駆動回数(図1の「利用履歴データ」)または時間が所定以上であるか否かを判断する(ステップB430)。所定以上である場合には、駆動/撮影回数、時間等の利用履歴情報に応じて、雑音抑圧パラメータメモリ141に記憶されている雑音スペクトルなど雑音抑圧パラメータを補正設定する(ステップB430)。また、データメモリ119に駆動回数など利用履歴と、更新日時などの更新履歴を記録する(ステップB431)。   Next, it is determined whether or not the number of times of driving ("usage history data" in FIG. 1) or time from the previous update date and time stored in the data memory 119 is greater than or equal to a predetermined value (step B430). If it is greater than or equal to the predetermined value, a noise suppression parameter such as a noise spectrum stored in the noise suppression parameter memory 141 is corrected and set in accordance with usage history information such as the number of driving / shooting times and time (step B430). Further, a usage history such as the number of driving times and an update history such as the update date and time are recorded in the data memory 119 (step B431).

また、ステップB421での判断がNOであった場合には、操作入力部121にて、雑音抑圧パラメータの手動更新が設定されたか否かを判断し(ステップB432)、設定された場合には前述したステップB426〜B431の処理を実行する。設定されない場合には、音声をマイクロホン125ら入力させ(ステップB434)、雑音抑圧パラメータメモリ141に設定されたパラメータを用いて、雑音除去/抑圧回路128により、入力音声から雑音を除去または抑圧する(ステップB435)。さらに、この雑音除去または抑圧された入力音声データを音声データメモリまたは音声符号器、つまり本実施の形態においては入力音声メモリ129に、音声圧縮/符号化ブロック130を介して圧縮/符号化音声データメモリ131に出力する(ステップB436)。   If the determination in step B421 is NO, the operation input unit 121 determines whether manual updating of the noise suppression parameter is set (step B432). Steps B426 to B431 thus performed are executed. If not set, the voice is input from the microphone 125 (step B434), and noise is removed or suppressed from the input voice by the noise removal / suppression circuit 128 using the parameters set in the noise suppression parameter memory 141 (step B434). Step B435). Further, the input voice data whose noise is removed or suppressed is compressed / coded voice data into a voice data memory or a voice encoder, that is, the input voice memory 129 in this embodiment via a voice compression / coding block 130. The data is output to the memory 131 (step B436).

さらに、撮影、再生、設定モード等のその他の処理を実行した後(ステップB437)、駆動、撮影の回数、時間などを計数し(ステップB438)、データメモリ119の駆動、撮影の回数、時間などの利用履歴情報を更新する(ステップB439)。   Further, after performing other processing such as shooting, playback, and setting mode (step B437), the number of times of driving, shooting, and time are counted (step B438), and the data memory 119 is driven, the number of times of shooting, the time, etc. Usage history information is updated (step B439).

(第5の実施の形態)   (Fifth embodiment)

図7は、駆動部104のズーム動作における動作音の波形図である。すなわち、駆動部104がズーム駆動した場合、駆動開始時近くの時間帯における動作音(A1群)、駆動開始時から時間経過した駆動終了近くまでの動作音(A2群)、駆動終了近くでの動作音(A3群)とでは、(a)〜(c)の波形図に示すように、動作音が異なる。よって、この第5の実施の形態においては、駆動部104のズーム動作における時間帯に応じて、雑音抑圧パラメータメモリ141に設定する雑音スペクトルや雑音抑圧パラメータを変更するようにしたものである。   FIG. 7 is a waveform diagram of operation sounds in the zoom operation of the drive unit 104. That is, when the drive unit 104 performs zoom driving, the operation sound in the time zone near the start of driving (A1 group), the operation sound from the start of driving until the end of driving (A2 group), and near the end of driving. As shown in the waveform diagrams (a) to (c), the operation sound is different from the operation sound (A3 group). Therefore, in the fifth embodiment, the noise spectrum and the noise suppression parameter set in the noise suppression parameter memory 141 are changed according to the time zone in the zoom operation of the drive unit 104.

図8は、本実施の形態における処理手順を示すフローチャートである。なお、このフローチャートにおいて用いられているA1群〜A3群は、前記図7に示したがB群及びC群については、図示を省略した。すなわち、動画撮影、録音モードなどの音声入力モードが設定されたか否かを判断し(ステップS501)、設定されていない場合にはその他モードの処理を実行する(ステップS502)。また、前記音声入力モードが設定されたならば、駆動部104にてレンズ駆動モーターが動作中か否かを判断し(ステップS503)、非動作中であるならば、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを、非動作時に対応するパラメータ(C群)に設定する(ステップS504)。   FIG. 8 is a flowchart showing a processing procedure in the present embodiment. In addition, although A1 group-A3 group used in this flowchart was shown in the said FIG. 7, illustration was abbreviate | omitted about B group and C group. That is, it is determined whether or not a voice input mode such as moving image shooting or recording mode has been set (step S501). If it has not been set, other mode processing is executed (step S502). If the voice input mode is set, the driving unit 104 determines whether or not the lens driving motor is operating (step S503). If it is not operating, the filter of the noise suppression parameter memory 141 is determined. A noise suppression parameter such as a coefficient or a noise spectrum is set to a parameter (group C) corresponding to the non-operation time (step S504).

また、ステップS503での判断の結果、動作中であるならば、それが動作モードAであるズーム動作中であるか否かを判断する(ステップS505)。ズーム動作中でないならば、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを、ズーム動作時以外の動作時に対応するパラメータ(B群)に設定する(ステップS506)。   If the result of determination in step S503 is that the camera is operating, it is determined whether or not the zoom operation is in operation mode A (step S505). If the zoom operation is not being performed, the noise suppression parameter such as the filter coefficient or noise spectrum of the noise suppression parameter memory 141 is set to a parameter (group B) corresponding to an operation other than the zoom operation (step S506).

また、ステップS505での判断の結果、ズーム動作中であるならば、スタート直後であるか否か、つまり駆動開始後所定時間内であるか否かを判断する(ステップS507)。駆動開始後所定時間内でない場合には、ストップ処理中であるか否かつまり駆動停止前の所定時間内であるか否かを判断する(ステップS508)。これらステップS507及びS508の判断がともにNOであるならば、駆動開始所定時間後であって駆動停止の所定時間前である。この場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを対応するパラメータ(A2群)に設定する(ステップS509)。   If the result of determination in step S505 is that zooming is in progress, it is determined whether or not it is immediately after starting, that is, whether or not it is within a predetermined time after the start of driving (step S507). If it is not within the predetermined time after the start of driving, it is determined whether or not the stop process is being performed, that is, whether or not it is within the predetermined time before the driving is stopped (step S508). If the determinations in these steps S507 and S508 are both NO, it is a predetermined time after the start of driving and a predetermined time before the stop of driving. In this case, the noise suppression parameter such as the filter coefficient of the noise suppression parameter memory 141 or the noise spectrum is set to the corresponding parameter (group A2) (step S509).

また、ステップS508の判断がYESであり、ストップ処理中であって駆動停止前の所定時間内である場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを対応するパラメータ(A3群)に設定する(ステップS510)。また、ステップS507の判断がYESであり、スタート直後であって駆動開始後所定時間内である場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを対応するパラメータ(A1群)に設定する(ステップS511)。   If the determination in step S508 is YES and the stop process is in progress and within a predetermined time before the drive is stopped, the noise suppression parameter such as the filter coefficient of the noise suppression parameter memory 141 or the noise spectrum is supported. Is set to the parameter (group A3) to be executed (step S510). Further, when the determination in step S507 is YES, and immediately after the start and within a predetermined time after the start of driving, the parameter corresponding to the noise suppression parameter such as the filter coefficient of the noise suppression parameter memory 141 or the noise spectrum. Set to (A1 group) (step S511).

しかる後に、音声をマイクロホン125から入力させ(ステップS512)、雑音抑圧パラメータメモリ141に設定されたパラメータを用いて、雑音除去/抑圧回路128により、入力音声から雑音を除去または抑圧する(ステップS513)。さらに、この雑音除去または抑圧された入力音声データを音声データメモリまたは音声符号器、つまり本実施の形態においては入力音声メモリ129に、音声圧縮/符号化ブロック130を介して圧縮/符号化音声データメモリ131に出力する(ステップS514)。さらに、各モードでのその他の処理に移行する(ステップS515)。   Thereafter, the voice is input from the microphone 125 (step S512), and noise is removed or suppressed from the input voice by the noise removal / suppression circuit 128 using the parameters set in the noise suppression parameter memory 141 (step S513). . Further, the input voice data whose noise is removed or suppressed is compressed / coded voice data into a voice data memory or a voice encoder, that is, the input voice memory 129 in this embodiment via a voice compression / coding block 130. The data is output to the memory 131 (step S514). Furthermore, the process proceeds to other processing in each mode (step S515).

(第6の実施の形態)   (Sixth embodiment)

図9は、本発明の第6の実施の形態における処理手順を示すフローチャートである。すなわち、動画撮影、録音モードなどの音声入力モードが設定されたか否かを判断し(ステップS601)、設定されていない場合にはその他モードの処理を実行する(ステップS602)。また、前記音声入力モードが設定されたならば、駆動部104にてレンズ駆動モーターが動作中か否かを判断し(ステップS603)、非動作中であるならば、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータを、非動作時に対応するパラメータ(C群)に設定する(ステップS604)。   FIG. 9 is a flowchart showing a processing procedure in the sixth embodiment of the present invention. That is, it is determined whether or not a voice input mode such as moving image shooting or recording mode has been set (step S601), and if not, other mode processing is executed (step S602). If the voice input mode is set, the driving unit 104 determines whether or not the lens driving motor is operating (step S603). If it is not operating, the filter of the noise suppression parameter memory 141 is determined. A noise suppression parameter such as a coefficient or a noise spectrum is set to a parameter (group C) corresponding to non-operation (step S604).

また、ステップS603での判断の結果、動作中であるならば、駆動モード1であるか否か、つまり駆動開始後所定時間内であるか否かを判断する(ステップS605)。駆動開始後所定時間内でない場合には、駆動モード3であるか否かつまり駆動停止前の所定時間内であるか否かを判断する(ステップS606)。これらステップS605及びS606の判断がともにNOであるならば、駆動開始所定時間後であって駆動停止の所定時間前である。この場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータとして、所定のパラメータ(A群)に設定する(ステップS607)。   If the result of determination in step S603 is that it is operating, it is determined whether or not it is in drive mode 1, that is, whether or not it is within a predetermined time after the start of driving (step S605). If it is not within the predetermined time after the start of driving, it is determined whether or not the driving mode 3 is set, that is, whether or not within the predetermined time before the driving is stopped (step S606). If both the determinations in steps S605 and S606 are NO, it is a predetermined time after the start of driving and a predetermined time before the stop of driving. In this case, a predetermined parameter (group A) is set as a noise suppression parameter such as a filter coefficient of the noise suppression parameter memory 141 or a noise spectrum (step S607).

また、ステップS606の判断がYESであり、ストップ処理中であって駆動停止前の所定時間内である場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータとして、前記設定のパラメータ(A群)の除去/抑圧帯域を高周波側にシフトして設定する(ステップS608)。また、ステップS607の判断がYESであり、スタート直後であって駆動開始後所定時間内である場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータとして、前記設定のパラメータ(A群)の除去/抑圧帯域を低周波側にシフトして設定する(ステップS609)。   If the determination in step S606 is YES and the stop process is being performed and within a predetermined time before the drive is stopped, the noise suppression parameter such as the filter coefficient of the noise suppression parameter memory 141 or the noise spectrum is The removal / suppression band of the setting parameter (group A) is set by shifting to the high frequency side (step S608). If the determination in step S607 is YES and it is immediately after the start and within a predetermined time after the start of driving, the setting is made as a noise suppression parameter such as a filter coefficient of the noise suppression parameter memory 141 or a noise spectrum. The parameter (group A) removal / suppression band is shifted to the low frequency side and set (step S609).

しかる後に、音声をマイクロホン125ら入力させ(ステップS610)、雑音抑圧パラメータメモリ141に設定されたパラメータを用いて、雑音除去/抑圧回路128により、入力音声から雑音を除去または抑圧する(ステップS611)。さらに、この雑音除去または抑圧された入力音声データを音声データメモリまたは音声符号器、つまり本実施の形態においては入力音声メモリ129に、音声圧縮/符号化ブロック130を介して圧縮/符号化音声データメモリ131に出力する(ステップS612)。さらに、各モードでのその他の処理に移行する(ステップS613)。   Thereafter, the voice is input from the microphone 125 (step S610), and noise is removed or suppressed from the input voice by the noise removal / suppression circuit 128 using the parameters set in the noise suppression parameter memory 141 (step S611). . Further, the input voice data whose noise is removed or suppressed is compressed / coded voice data into a voice data memory or a voice encoder, that is, the input voice memory 129 in this embodiment via a voice compression / coding block 130. The data is output to the memory 131 (step S612). Further, the process proceeds to other processing in each mode (step S613).

(第7の実施の形態)   (Seventh embodiment)

図10は、本発明の第7の実施の形態における処理手順を示すフローチャートであり、撮影シーン別プログラムや撮影モードの選択操作に応じて、撮影シーンに相当する撮影条件などを設定して撮影するように制御するとともに、撮影シーンに応じて、雑音抑圧特性や雑音スペクトル、フィルタ特性等を変化させるようにしたものである。すなわち、録音モードが設定されているか否かを判断し(ステップS701)、設定されていない場合にはさらに音声付き撮影モードが設定されているか否かを判断し(ステップS702)、音声付き撮影モードも設定されていない場合には、その他モードの処理を実行する(ステップS703)。   FIG. 10 is a flowchart showing a processing procedure according to the seventh embodiment of the present invention, in which shooting is performed by setting shooting conditions corresponding to shooting scenes according to shooting scene-specific programs and shooting mode selection operations. In addition, the noise suppression characteristics, the noise spectrum, the filter characteristics, and the like are changed according to the shooting scene. That is, it is determined whether or not the recording mode is set (step S701), and if not set, it is further determined whether or not the shooting mode with sound is set (step S702), and the shooting mode with sound is set. Is not set, the process in the other mode is executed (step S703).

また、音声付き撮影モードが設定されている場合には、人物撮影シーン、または会話撮影シーンが選択されているか否かを判断する(ステップS704)。これら、人物撮影シーン、または会話撮影シーンが選択されていない場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータとして、動作音を抑圧する通常のパラメータ群を設定する(ステップS705)。   If the shooting mode with sound is set, it is determined whether a person shooting scene or a conversation shooting scene is selected (step S704). When a person photographing scene or a conversation photographing scene is not selected, a normal parameter group for suppressing operation sound is set as a noise suppression parameter such as a filter coefficient of the noise suppression parameter memory 141 or a noise spectrum. (Step S705).

また、ステップS701での判断の結果録音モードが設定されている場合、及びステップS704での判断の結果人物撮影シーン、または会話撮影シーンが選択されている場合には、雑音抑圧パラメータメモリ141のフィルタ係数、または、雑音スペクトル等、雑音抑圧パラメータとして、人間の音声帯域を通常より強調し、動作音の高周波の帯域を通常より抑圧するように設定する(ステップS706)。   If the recording mode is set as a result of the determination in step S701, and if the person shooting scene or the conversation shooting scene is selected as a result of the determination in step S704, the filter of the noise suppression parameter memory 141 is used. As a noise suppression parameter such as a coefficient or a noise spectrum, the human voice band is set to be emphasized more than usual, and the high frequency band of the operation sound is set to be suppressed more than usual (step S706).

しかる後に、音声をマイクロホン125ら入力させ(ステップS707)、雑音抑圧パラメータメモリ141に設定されたパラメータを用いて、雑音除去/抑圧回路128により、入力音声から雑音を除去または抑圧する(ステップS708)。さらに、この雑音除去または抑圧された入力音声データを音声データメモリまたは音声符号器、つまり本実施の形態においては入力音声メモリ129に、音声圧縮/符号化ブロック130を介して圧縮/符号化音声データメモリ131に出力する(ステップS709)。さらに、各モードでのその他の処理に移行する(ステップS710)。   Thereafter, the voice is input from the microphone 125 (step S707), and noise is removed or suppressed from the input voice by the noise removal / suppression circuit 128 using the parameters set in the noise suppression parameter memory 141 (step S708). . Further, the input voice data whose noise is removed or suppressed is compressed / coded voice data into a voice data memory or a voice encoder, that is, the input voice memory 129 in this embodiment via a voice compression / coding block 130. The data is output to the memory 131 (step S709). Furthermore, the process proceeds to other processing in each mode (step S710).

(第8の実施の形態)   (Eighth embodiment)

図11〜図19は、雑音除去/抑圧手段の具体的構成を示す実施の形態を示すものである。すなわち、図11に示す第8の実施の形態において、デジタルカメラ200には各部を制御するカメラ制御部201が設けられている。このカメラ制御部201は、CPU、プログラムを記憶したROM、ワーク用のRAM等で構成され、電源スイッチ202及びその他の操作部203に設けられているキーの利用履歴データや前述した更新履歴データを記憶する機能を備えている。   FIGS. 11 to 19 show an embodiment showing a specific configuration of the noise removal / suppression means. That is, in the eighth embodiment shown in FIG. 11, the digital camera 200 is provided with a camera control unit 201 that controls each unit. The camera control unit 201 includes a CPU, a ROM storing a program, a work RAM, and the like. The camera control unit 201 stores key usage history data and the above-described update history data provided in the power switch 202 and other operation unit 203. It has a function to memorize.

また、このデジタルカメラ200は、主マイクロホン204と参照用マイクロホン205とを備えている。主マイクロホン204は、動画撮影モード等において記録すべき音声s(n)を検出するものであって、この音声s(n)はアンプ206及びS&H、ADC回路207を介して、雑音除去/抑圧回路222に入力される。一方、参照用マイクロホン205は、カメラ制御部201により制御されてレンズ部を駆動する駆動回路208の動作により雑音を発生する雑音源209からの雑音Ws(n)を検出するものであって、この雑音Ws(n)はアンプ210及びS&H、ADC回路211を介して、雑音除去/抑圧回路222に入力される。 The digital camera 200 also includes a main microphone 204 and a reference microphone 205. The main microphone 204 detects a sound s (n) to be recorded in a moving image shooting mode or the like. The sound s (n) is passed through an amplifier 206, an S & H, and an ADC circuit 207, and is a noise removal / suppression circuit. 222 is input. On the other hand, the reference microphone 205 detects noise W s (n) from the noise source 209 that generates noise by the operation of the drive circuit 208 that drives the lens unit under the control of the camera control unit 201. The noise W s (n) is input to the noise removal / suppression circuit 222 via the amplifier 210, the S & H, and the ADC circuit 211.

また、このデジタルカメラ200は、USBまたは外部入出力端子223を備えている。このUSBまたは外部入出力端子223は、入出力インターフェース回路224に接続され、入出力インターフェース回路224は、カメラ制御部201と雑音除去/抑圧回路の制御部225とに接続されている。雑音除去/抑圧回路の制御部225は、音声/雑音データ送信部226、雑音除去/抑圧パラメータの設定制御部227を備えており、この雑音除去/抑圧パラメータの設定制御部227から、雑音推定パラメータ228、フィルタ係数の更新信号229、及び利得制御信号230が雑音除去/抑圧回路222に出力されるようになっている。   The digital camera 200 also includes a USB or external input / output terminal 223. The USB or external input / output terminal 223 is connected to the input / output interface circuit 224, and the input / output interface circuit 224 is connected to the camera control unit 201 and the control unit 225 of the noise removal / suppression circuit. The control unit 225 of the noise removal / suppression circuit includes a voice / noise data transmission unit 226 and a noise removal / suppression parameter setting control unit 227. From the noise removal / suppression parameter setting control unit 227, the noise estimation parameter 228, the filter coefficient update signal 229, and the gain control signal 230 are output to the noise removal / suppression circuit 222.

また、この雑音除去/抑圧回路222には、雑音解析/雑音推定部231、デジタルフィルタ232、減算利得部233、乗算器234、減算回路235が設けられ、この減算回路235からの出力が音声メモリまたは音声符号器236に出力されるように構成されている。雑音解析/雑音推定部231は、雑音推定パラメータ228とS&H、ADC回路207から入力される観測音声X(n)=s(n)+W(n)とに基づき、雑音を解析及び推定して、デジタルフィルタ232に出力するものである。デジタルフィルタ232は、この雑音解析/雑音推定部231からの出力と、観測音声X(n)=s(n)+W(n)及びフィルタ係数の更新信号229に基づき、雑音信号成分を抽出する。乗算器234は、デジタルフィルタ232により抽出された雑音信号成分に利得制御信号230に基づく利得を乗算してノイズ信号y(n)を、減算回路235に出力する。減算回路235は、観測音声X(n)=s(n)+W(n)からy(n)から減算して、音声メモリまたは音声符号器236に出力する。   Further, the noise removal / suppression circuit 222 is provided with a noise analysis / noise estimation unit 231, a digital filter 232, a subtraction gain unit 233, a multiplier 234, and a subtraction circuit 235, and the output from the subtraction circuit 235 is an audio memory. Alternatively, it is configured to be output to the speech encoder 236. The noise analysis / noise estimation unit 231 analyzes and estimates noise based on the noise estimation parameter 228, S & H, and the observed speech X (n) = s (n) + W (n) input from the ADC circuit 207, This is output to the digital filter 232. The digital filter 232 extracts a noise signal component based on the output from the noise analysis / noise estimation unit 231, the observed speech X (n) = s (n) + W (n), and the filter coefficient update signal 229. The multiplier 234 multiplies the noise signal component extracted by the digital filter 232 by a gain based on the gain control signal 230 and outputs the noise signal y (n) to the subtraction circuit 235. The subtraction circuit 235 subtracts y (n) from the observed speech X (n) = s (n) + W (n) and outputs the result to the speech memory or speech encoder 236.

一方、前記外部入出力端子223に接続されるデータ書込機等の外部機器250には、入出力インターフェース回路251が設けられているとともに、通信接続制御部252、音声/雑音データ受信部253、音声/雑音データ解析部254が設けられている。通信接続制御部252は、入出力インターフェース回路251と音声/雑音データ受信部253とを制御するものであり、音声/雑音データ受信部253はデジタルカメラ200の音声/雑音データ送信部226から送信される、音声/雑音データを受信するものである。音声/雑音データ解析部254は、この受信した、音声/雑音データを解析して、雑音推定パラメータ255、フィルタ係数の設定データ256、減算利得の設定データ257を生成し、これらパラメータ及びデータが入出力インターフェース回路251及びUSBまたは外部入出力端子223介して、デジタルカメラ200の雑音除去/抑圧パラメータの設定制御部227に送信されるように構成されている。   On the other hand, an external device 250 such as a data writer connected to the external input / output terminal 223 is provided with an input / output interface circuit 251, a communication connection control unit 252, an audio / noise data receiving unit 253, A voice / noise data analysis unit 254 is provided. The communication connection control unit 252 controls the input / output interface circuit 251 and the voice / noise data reception unit 253, and the voice / noise data reception unit 253 is transmitted from the voice / noise data transmission unit 226 of the digital camera 200. Receiving voice / noise data. The voice / noise data analysis unit 254 analyzes the received voice / noise data to generate a noise estimation parameter 255, filter coefficient setting data 256, and subtraction gain setting data 257, and these parameters and data are input. It is configured to be transmitted to the noise removal / suppression parameter setting control unit 227 of the digital camera 200 via the output interface circuit 251 and the USB or external input / output terminal 223.

係る実施の形態において、デジタルカメラ200の製造最終工程では、デジタルカメラ200とデータ書込機等の外部機器250とを接続し、デジタルカメラ200の音声/雑音データ送信部226から音声/雑音データを外部機器250を入力する。そして、外部機器250の音声/雑音データ解析部254の解析により、雑音推定パラメータ255、フィルタ係数の設定データ256、減算利得の設定データ257を得て、これをデジタルカメラ200の雑音除去/抑圧パラメータの設定制御部227に初期設定して出荷する。出荷後購入したユーザ使用中のデジタルカメラ200内にて、前述した各フローチャートに示した処理を実行することにより、雑音除去/抑圧パラメータの設定制御部227内のデータが自動更新されることとなる。   In such an embodiment, in the final manufacturing process of the digital camera 200, the digital camera 200 is connected to an external device 250 such as a data writer, and voice / noise data is transmitted from the voice / noise data transmission unit 226 of the digital camera 200. The external device 250 is input. Then, noise estimation parameter 255, filter coefficient setting data 256, and subtraction gain setting data 257 are obtained by analysis of voice / noise data analysis unit 254 of external device 250, and these are obtained as noise removal / suppression parameters of digital camera 200. The setting control unit 227 is initially set and shipped. Data in the noise removal / suppression parameter setting control unit 227 is automatically updated by executing the processing shown in each flowchart described above in the digital camera 200 that is being used by the user purchased after shipment. .

なお、製造工程では、処理能力の高い検査装置や調整装置を外部機器250として使用することができるので、多数のデジタルカメラ200の初期設定を高速、高精度で行うことができる。また、個々のデジタルカメラ200と五の動作音や振動、音響特性等を高精度で計測し雑音特性を詳細に解析して、最適な雑音抑圧パラメータを算出して自動的に設定できるので、個々のデジタルカメラ200のバラツキや、同じモジュールを異なる形状や音響特性の筺体や実装方法に変更した場合でも、容易に対応することができる。   In the manufacturing process, since an inspection device or an adjustment device having a high processing capacity can be used as the external device 250, initial settings of a large number of digital cameras 200 can be performed at high speed and with high accuracy. In addition, since the operation sound, vibration, acoustic characteristics, etc. of each digital camera 200 and five can be measured with high accuracy, the noise characteristics can be analyzed in detail, and the optimum noise suppression parameters can be calculated and set automatically. It is possible to easily cope with variations in the digital camera 200 and even when the same module is changed to a housing or mounting method having a different shape or acoustic characteristic.

一方、出荷後のデジタルカメラ200での更新では、前記フローチャートに従った処理より、ユーザの手元で、電源ON起動してデジタルカメラ200を利用する際に、あるいはモードを切り替えて、音声入力を伴う動画撮影や録音、音声付静止画撮影などを利用する際毎に、雑音抑制パラメータを更新設定するので、駆動部の摩耗や経年変化などで動作音の特性が変化した場合でも対応できる。また、外部機器250としてパソコンを用いることにより、雑音抑圧回路の調整設定用のアプリケーションソフトなどを利用して、ユーザが調整や更新設定を行うこともできる。   On the other hand, the update in the digital camera 200 after shipment involves voice input when the user turns on the power and starts using the digital camera 200 or by switching the mode from the process according to the flowchart. Since the noise suppression parameter is updated and set every time video recording, recording, still image shooting with sound, or the like is used, it is possible to cope with changes in the characteristics of the operating sound due to wear of the drive unit or aging. Further, by using a personal computer as the external device 250, the user can make adjustments and update settings using application software for adjustment setting of the noise suppression circuit.

(第9の実施の形態)   (Ninth embodiment)

図12は、雑音除去/抑圧手段の具体的構成である本発明の第9の実施の形態を示すものであり、適応フィルタ方式のノイズキャンセラーを用いたものである。すなわち、デジタルカメラ300には各部を制御するカメラ制御部301が設けられている。このカメラ制御部301は、CPU、プログラムを記憶したROM、ワーク用のRAM等で構成され、電源スイッチ302及びその他の操作部303に設けられているキーの利用履歴データや前述した更新履歴データを記憶する機能を備えている。   FIG. 12 shows a ninth embodiment of the present invention, which is a specific configuration of the noise removal / suppression means, and uses an adaptive filter type noise canceller. That is, the digital camera 300 is provided with a camera control unit 301 that controls each unit. The camera control unit 301 includes a CPU, a ROM storing a program, a work RAM, and the like. The usage history data of the keys provided in the power switch 302 and the other operation unit 303 and the update history data described above are stored. It has a function to memorize.

また、このデジタルカメラ300は、主マイクロホン304と参照用マイクロホン305とを備えている。主マイクロホン304は、動画撮影モード等において記録すべき音声s(n)を検出するものであって、この音声s(n)はアンプ306及びS&H、ADC回路307を介して、雑音除去回路部322に入力される。一方、参照用マイクロホン305は、カメラ制御部301により制御されてレンズ部を駆動する駆動回路308の動作により雑音を発生する雑音源309からの雑音Ws(n)を検出するものであって、この雑音Ws(n)はアンプ310及びS&H、ADC回路311を介して、雑音除去回路部322に参照信号として入力される。 The digital camera 300 also includes a main microphone 304 and a reference microphone 305. The main microphone 304 detects the sound s (n) to be recorded in the moving image shooting mode or the like. The sound s (n) is passed through the amplifier 306, the S & H, and the ADC circuit 307, and the noise removal circuit unit 322. Is input. On the other hand, the reference microphone 305 detects noise W s (n) from the noise source 309 that generates noise by the operation of the drive circuit 308 that is controlled by the camera control unit 301 and drives the lens unit. The noise W s (n) is input as a reference signal to the noise removal circuit unit 322 via the amplifier 310, the S & H, and the ADC circuit 311.

また、このデジタルカメラ300は、USBまたは外部入出力端子323を備えている。このUSBまたは外部入出力端子323は、入出力インターフェース回路324に接続され、入出力インターフェース回路324は、カメラ制御部301と適応フィルタの制御部335とに接続されている。適応フィルタの制御部335は、雑音データ解析部326、フィルタ係数の更新部327を備えており、このフィルタ係数の更新部327からフィルタ係数が雑音除去回路部322のに出力されるようになっている。   The digital camera 300 also includes a USB or external input / output terminal 323. The USB or external input / output terminal 323 is connected to the input / output interface circuit 324, and the input / output interface circuit 324 is connected to the camera control unit 301 and the adaptive filter control unit 335. The adaptive filter control unit 335 includes a noise data analysis unit 326 and a filter coefficient update unit 327, and the filter coefficient is output from the filter coefficient update unit 327 to the noise removal circuit unit 322. Yes.

また、この雑音除去回路部322には、遅延器331、適応フィルタ332、減算回路335が設けられ、この減算回路335からの強調音声が音声メモリまたは音声符号器336に出力されるように構成されている。適応フィルタ332は、前記フィルタ係数に基づき前記参照信号をフィルタリングし、減算回路335は、遅延器331からの出力より適応フィルタ332を減算して、音声メモリまたは音声符号器336に出力する。   The noise removal circuit unit 322 is provided with a delay unit 331, an adaptive filter 332, and a subtraction circuit 335, and is configured such that the emphasized speech from the subtraction circuit 335 is output to a speech memory or speech encoder 336. ing. The adaptive filter 332 filters the reference signal based on the filter coefficient, and the subtraction circuit 335 subtracts the adaptive filter 332 from the output from the delay unit 331 and outputs the result to the speech memory or speech encoder 336.

一方、前記外部入出力端子323に接続されるデータ書込機等の外部機器350には、入出力インターフェース回路351が設けられているとともに、通信接続制御部352、と音声/雑音データ解析部354が設けられている。通信接続制御部352は、入出力インターフェース回路351とを制御するものである。音声/雑音データ解析部354は、この受信した、音声/雑音データを解析して、フィルタ係数の設定データ356を生成し、このフィルタ係数の設定データ356が入出力インターフェース回路351及びUSBまたは外部入出力端子323介して、デジタルカメラ300のフィルタ係数の更新部327に送信されるように構成されている。   On the other hand, an external device 350 such as a data writer connected to the external input / output terminal 323 is provided with an input / output interface circuit 351, a communication connection control unit 352, and an audio / noise data analysis unit 354. Is provided. The communication connection control unit 352 controls the input / output interface circuit 351. The voice / noise data analysis unit 354 analyzes the received voice / noise data to generate filter coefficient setting data 356, and the filter coefficient setting data 356 is input to the input / output interface circuit 351 and the USB or external input. The filter coefficient update unit 327 of the digital camera 300 is transmitted to the digital camera 300 via the output terminal 323.

係る実施の形態において、主マイクロホン304には、希望音声信号s(n)と経路h(m)を経由して雑音源309から雑音w(n)の和であるs(n)+w(n)が入力される。雑音信号W(n)は、雑音経路のインパルス応答{h(m)}(m=1,2・・・P−1)を用いて次式で表される。
w(n)=Σ(m)w(n−m),
In this embodiment, the main microphone 304 receives the desired audio signal s (n) and the path h k (m) from the noise source 309, and is s (n) + w (n ) Is entered. The noise signal W (n) is expressed by the following equation using the impulse response {h k (m)} (m = 1, 2,..., P−1) of the noise path.
w (n) = Σ m h k (m) w s (n-m),

また、適応フィルタ332の出力y(n)は、適応フィルタ332のインパルス応答を{h(m)}(m=1,2・・・P−1)とすると次式で表される。
y(n)=Σ(m)w(n−m),
このときノイズキャンセラーの出力s^(n)は、
s^(n)=s(n)+w(n)−y(n)=s(n)+Σ{h(m)−h(m)}w(n−m)(m=1,2・・・P−1)
したがって、h(m)=h(m)とできれば、s^(n)=s(n)となり、雑音信号を除去して、音声信号のみを取り出せることとなる。
通常、未知の雑音経路h(m)を求めるためには、適応フィルタ係数h(m)は、推定誤差s^(n)の2乗値を統計的に最小にするように更新される。統計量E[s−2(n)]=E[{s(n)+w(n)−Σ{h(m)}w(n−m)}]と二次式となるため、これを最小とする点はE[s−2(n)]の傾きが0となる点となる。しかし、δE[s−2(n)]/δh(k)=0となるh(k)の最適量を得るには、P元の連立方程式を解く必要があり、信号の統計量が必要となり、通常これを実時間で得ることは難しい。このため適応フィルタ332では、統計学を学習し、逐次最適解を探すためにLSM(最小二乗平均)法やNLMS(正規化最小二乗平均)法などの適応アルゴリズムが必要となる。
Further, the output y (n) of the adaptive filter 332 is expressed by the following equation when the impulse response of the adaptive filter 332 is {h f (m)} (m = 1, 2,..., P−1).
y (n) = Σ m h f (m) w s (n-m),
At this time, the output s ^ (n) of the noise canceller is
s ^ (n) = s ( n) + w (n) -y (n) = s (n) + Σ m {h k (m) -h f (m)} w s (n-m) (m = 1 , 2 ... P-1)
Therefore, if h f (m) = h k (m) can be obtained, s (n) = s (n), and the noise signal can be removed to extract only the audio signal.
Normally, to determine the unknown noise path h k (m), the adaptive filter coefficient h f (m) is updated to statistically minimize the square value of the estimation error s ^ (n). . Since statistic E [s −2 (n)] = E [{s (n) + w (n) −Σ m {h f (m)} w s (n−m)} 2 ] The point that minimizes this is the point at which the slope of E [s −2 (n)] becomes zero. However, in order to obtain the optimal amount of h f (k) where δE [s −2 (n)] / δh f (k) = 0, it is necessary to solve the P-element simultaneous equations, and the statistic of the signal is It is necessary and usually difficult to get in real time. For this reason, the adaptive filter 332 needs an adaptive algorithm such as the LSM (least mean square) method or the NLMS (normalized least mean square) method in order to learn statistics and search for an optimal solution sequentially.

しかし、レンズ駆動モーターによる動作音などでは、予め動作音の統計量を計測して、h(k)の最適値の初期値を求めておき、設定することができる。このようなノイズキャンセラーでは、雑音源から主マイクロホン304への経路が未知であっても、雑音経路のインパルス応答が適応フィルタ332により良好に推定できれば雑音除去を行うことができ、雑音特性が変動しても追従できる利点がある。但し、参照用マイクロホン305に入力音声が流れ込むクロストークが発生すると雑音除去が困難になる。小型カメラなどの小さい機器では、参照用マイクロホン305には雑音信号のみが入力され、音声入力がないように、参照用マイクロホン305の実装方法を工夫するか、クロストークが大きい場合は遅延器または出力の後に歪補正用のフィルタなどを付加する必要がある。 However, in the case of the operation sound generated by the lens drive motor, the initial value of the optimum value of h f (k) can be determined by measuring the statistic of the operation sound in advance. In such a noise canceller, even if the path from the noise source to the main microphone 304 is unknown, if the impulse response of the noise path can be satisfactorily estimated by the adaptive filter 332, noise removal can be performed and the noise characteristics fluctuate. There is an advantage that can follow. However, noise removal becomes difficult if crosstalk occurs in which the input sound flows into the reference microphone 305. In a small device such as a small camera, only a noise signal is input to the reference microphone 305, and the mounting method of the reference microphone 305 is devised so that there is no audio input, or when the crosstalk is large, a delay device or output After that, it is necessary to add a distortion correction filter or the like.

図13は、前記雑音除去回路部322に用いる適応フィルタの例を示すものであり、適応型IIR(無限長インパルス応答)フィルタと適応アルゴリズム(適応更新式){α(k+1)=α(k)−μy(k)ψ(k)}の例を示す。このようなフィルタ係数のα0、α(k+1)などの初期値及び更新値を求めて、雑音抑制パラメータとして更新設定すればよい。 FIG. 13 shows an example of an adaptive filter used in the noise removal circuit unit 322. An adaptive IIR (infinite length impulse response) filter and an adaptive algorithm (adaptive update equation) {α 1 (k + 1) = α 1 ( An example of k) −μy (k) ψ (k)} is shown. What is necessary is just to obtain | require an initial value and update values, such as (alpha) 0 of this filter coefficient, (alpha) 1 (k + 1), and update and set it as a noise suppression parameter.

また、モーター雑音のように、比較的狭い周波数帯域の成分をもつ狭帯域雑音を除去する回路として、適応ノッチフィルタがある。図14(a)に、図13の適応型IIRフィルタを伝達関数がH(z)となる適応型のノッチフィルタとで構成する例を示し、同図(b)に伝達関数がG(z)となる適応型のノッチフィルタとで構成する例を示す。勿論、FIRフィルタやラティス型フィルタ等のその他の構成の適応フィルタで構成してもよい。   Further, there is an adaptive notch filter as a circuit that removes narrow band noise having a relatively narrow frequency band component such as motor noise. FIG. 14A shows an example in which the adaptive IIR filter of FIG. 13 is configured with an adaptive notch filter having a transfer function of H (z), and FIG. 14B shows the transfer function of G (z). An example of an adaptive notch filter is shown. Of course, you may comprise by the adaptive filter of other structures, such as a FIR filter and a lattice type filter.

(第10の実施の形態)   (Tenth embodiment)

図15は、雑音除去/抑圧手段の具体的構成である本発明の第10の実施の形態を示すものであり、複数のマイクロホンを用いる雑音抑圧回路の例として、マイクロホンアレーを用いた例である。すなわち、デジタルカメラ400には各部を制御するカメラ制御部401が設けられている。このカメラ制御部401は、CPU、プログラムを記憶したROM、ワーク用のRAM等で構成され、電源スイッチ402及びその他の操作部403に設けられているキーの利用履歴データや前述した更新履歴データを記憶する機能を備えている。   FIG. 15 shows a tenth embodiment of the present invention, which is a specific configuration of noise removal / suppression means, and is an example using a microphone array as an example of a noise suppression circuit using a plurality of microphones. . That is, the digital camera 400 is provided with a camera control unit 401 that controls each unit. The camera control unit 401 includes a CPU, a ROM storing programs, a work RAM, and the like. The camera control unit 401 stores the key usage history data provided in the power switch 402 and other operation units 403 and the above-described update history data. It has a function to memorize.

また、このデジタルカメラ400は、間隔dをおいて配置された主マイクロホン404と参照用マイクロホン405とを備えている。主マイクロホン404は、動画撮影モード等において記録すべき音声s(n)を検出するものであって、この音声s(n)はアンプ406及びS&H、ADC回路407を介して、遅延器421に入力される。一方、参照用マイクロホン405からの出力は、アンプ410及びS&H、ADC回路411を介して、乗算器422に入力される。この乗算器422の出力と前記遅延器431の出力とが、減算器440に入力され、この減算器440の出力が   In addition, the digital camera 400 includes a main microphone 404 and a reference microphone 405 that are arranged at an interval d. The main microphone 404 detects the sound s (n) to be recorded in the moving image shooting mode or the like, and this sound s (n) is input to the delay device 421 via the amplifier 406, the S & H, and the ADC circuit 407. Is done. On the other hand, the output from the reference microphone 405 is input to the multiplier 422 via the amplifier 410, the S & H, and the ADC circuit 411. The output of the multiplier 422 and the output of the delay unit 431 are input to the subtracter 440, and the output of the subtracter 440 is

また、このデジタルカメラ400は、USBまたは外部入出力端子423を備えている。このUSBまたは外部入出力端子423は、入出力インターフェース回路424に接続され、入出力インターフェース回路424は、カメラ制御部401と遅延量制御部437及び減算利得制御部430とに接続されている。また、遅延量制御部437と減算利得制御部430とは、雑音データ解析部426に接続されている。また、前記乗算器422の後段には減算器435が設けられ、この減算器435からの出力が音声メモリまたは音声符号器436に与えられるように構成されている。   The digital camera 400 also includes a USB or external input / output terminal 423. The USB or external input / output terminal 423 is connected to the input / output interface circuit 424, and the input / output interface circuit 424 is connected to the camera control unit 401, the delay amount control unit 437, and the subtraction gain control unit 430. The delay amount control unit 437 and the subtraction gain control unit 430 are connected to the noise data analysis unit 426. Further, a subtracter 435 is provided at the subsequent stage of the multiplier 422, and an output from the subtracter 435 is provided to a speech memory or speech encoder 436.

一方、前記外部入出力端子423に接続されるデータ書込機等の外部機器450には、入出力インターフェース回路451が設けられているとともに、通信接続制御部452、雑音解析部454、厚音源方向θ推定部455、遅延量設定部456及び減算利得設定部457が設けられている。   On the other hand, an external device 450 such as a data writer connected to the external input / output terminal 423 is provided with an input / output interface circuit 451, a communication connection control unit 452, a noise analysis unit 454, a thickness sound source direction. A θ estimation unit 455, a delay amount setting unit 456, and a subtraction gain setting unit 457 are provided.

係る構成において、本実施の形態に係るマイクロホンアレーでは、前述した実施の形態とは異なり、各マイクロホン404、405に希望音声と雑音の両方が入ることを想定しており、二つのマイクロホン404、405への信号の到達の時間差を利用して、雑音の到来方向への死角を形成して雑音を除去する。遅延器431の遅延量を決定するためには、雑音源の方向θが既知であることが必要である。レンズ駆動モータなど、デジタルカメラ400内で雑音源が固定の場合には、この雑音源方向θ、若しくは遅延量D(=dsinθ/c、d;マイク間隔、C;音速)を、雑音パラメータとして設定すればよい。また、モーター駆動部や雑音源の方向が変化する構成の場合や筺体の形状デザインや、マイクロホン404やモーターの位置を変更する機種の場合には、これらの雑音源方向若しくは遅延量を適宜更新して設定すればよい。また、各マイクロホン404、405の出力にそれぞれ適応フィルタを設けて、その出力を全て加算処理して、雑音源方向を適応的に設定する適応型マクロホンアレーで構成してもよい。   In such a configuration, in the microphone array according to the present embodiment, unlike the above-described embodiment, it is assumed that both the desired voice and the noise enter each microphone 404, 405, and the two microphones 404, 405 are used. By using the time difference of arrival of the signal to the noise, a blind spot in the arrival direction of the noise is formed to remove the noise. In order to determine the delay amount of the delay unit 431, it is necessary that the direction θ of the noise source is known. When the noise source is fixed in the digital camera 400 such as a lens driving motor, the noise source direction θ or the delay amount D (= dsin θ / c, d: microphone interval, C: sound velocity) is set as a noise parameter. do it. In addition, in the case of a configuration in which the direction of the motor drive unit or noise source changes, the shape design of the housing, or the model that changes the position of the microphone 404 or the motor, these noise source directions or delay amounts are updated as appropriate. Can be set. Alternatively, an adaptive filter may be provided for the outputs of the microphones 404 and 405, and all the outputs may be added to form an adaptive microphone array that adaptively sets the noise source direction.

(第11の実施の形態)   (Eleventh embodiment)

図16は、雑音除去/抑圧手段の具体的構成である本発明の第11の実施の形態を示すものであり、線形予測器(LPC)を用いる雑音抑圧回路で構成した例である。すなわち、デジタルカメラ500には各部を制御するカメラ制御部501が設けられている。このカメラ制御部501は、CPU、プログラムを記憶したROM、ワーク用のRAM等で構成され、電源スイッチ502及びその他の操作部503に設けられているキーの利用履歴データや前述した更新履歴データを記憶する機能を備えている。このカメラ制御部501に騒音源509となる駆動部508が接続されている。   FIG. 16 shows an eleventh embodiment of the present invention, which is a specific configuration of the noise removal / suppression means, and is an example configured with a noise suppression circuit using a linear predictor (LPC). That is, the digital camera 500 is provided with a camera control unit 501 that controls each unit. The camera control unit 501 includes a CPU, a ROM storing a program, a work RAM, and the like. The usage history data of the keys provided in the power switch 502 and other operation unit 503 and the above-described update history data are stored in the camera control unit 501. It has a function to memorize. A driving unit 508 serving as a noise source 509 is connected to the camera control unit 501.

また、このデジタルカメラ500は、マイクロホン504を備えている。マイクロホン504は、動画撮影モード等において記録すべき音声s(n)を検出するものであって、この音声s(n)はアンプ506及びS&H、ADC回路507を介して、加算器521に入力されるとともに線形予測器(LPC)522に入力される。この線形予測器522空の予測信号y(n)は、加算器527に入力され、また、前記加算器521からの予測誤差信号e(n)=x(n)−y(n)も乗算器528を介して加算器527され、この加算器527からの出力が音声メモリまたは音声符号器536に与えられるように構成されている。   The digital camera 500 includes a microphone 504. The microphone 504 detects sound s (n) to be recorded in the moving image shooting mode or the like, and this sound s (n) is input to the adder 521 via the amplifier 506, the S & H, and the ADC circuit 507. And input to a linear predictor (LPC) 522. The linear predictor 522 empty prediction signal y (n) is input to the adder 527, and the prediction error signal e (n) = x (n) −y (n) from the adder 521 is also a multiplier. An adder 527 is provided via 528, and an output from the adder 527 is provided to a speech memory or speech encoder 536.

また、このデジタルカメラ500は、USBまたは外部入出力端子523を備えている。このUSBまたは外部入出力端子523は、入出力インターフェース回路524に接続され、入出力インターフェース回路524は、カメラ制御部501と適応計数の設定部530とに接続され、適応計数の設定部530には予測誤差信号解析部526が接続されている。   The digital camera 500 also includes a USB or external input / output terminal 523. The USB or external input / output terminal 523 is connected to an input / output interface circuit 524, and the input / output interface circuit 524 is connected to a camera control unit 501 and an adaptive count setting unit 530. A prediction error signal analysis unit 526 is connected.

一方、前記外部入出力端子523に接続されるデータ書込機等の外部機器550には、入出力インターフェース回路551が設けられているとともに、通信接続制御部552、音声/雑音データ解析部554、及び適応計数の初期設定データ部557が設けられている。   On the other hand, an external device 550 such as a data writer connected to the external input / output terminal 523 is provided with an input / output interface circuit 551, a communication connection control unit 552, an audio / noise data analysis unit 554, In addition, an initial setting data section 557 for adaptive counting is provided.

係る構成において、線形予測器(LPC)522は、過去の信号と現在の信号との関連性を調べ、入力信号の特性を表現する回路である。したがって、雑音の特性は比較的ゆっくり変動することを利用し、線形予測器(LPC)522もゆっくり動作させると、特性変動の激しい音声には反応せず、雑音の特性のみを表現する線形予測器(LPC)522とすることができ、これを利用して雑音除去や雑音抑圧を行うことができる。   In such a configuration, the linear predictor (LPC) 522 is a circuit that examines the relationship between the past signal and the current signal and expresses the characteristics of the input signal. Therefore, if the characteristic of noise varies relatively slowly and the linear predictor (LPC) 522 is also operated slowly, the linear predictor that does not react to speech with a large characteristic variation and expresses only the characteristic of noise. (LPC) 522, which can be used for noise removal and noise suppression.

図17(a)は、線形予測器(LPC)522の構成例を示すものであり、この線形予測器(LPC)522は、各々複数の遅延器537、乗算器538、加算器539で構成されている。そして、図示したh(n)、h(n)・・・h(n)、のような線形予測器522の適応係数や初期値などを、雑音抑制パラメータとして設定や更新設定する。これにより、図18に例示した雑音を含む音声信号x(n)を同図(b)に示した雑音を抑圧した音声信号y(x)として出力することができる。なお、図17(b)に示すように、線形予測器522を従属接続するようにしてもよい。 FIG. 17A shows an example of the configuration of a linear predictor (LPC) 522, and this linear predictor (LPC) 522 includes a plurality of delay units 537, multipliers 538, and adders 539, respectively. ing. Then, the adaptive coefficients and initial values of the linear predictor 522 such as h 1 (n), h 2 (n)... H M (n) shown in the figure are set or updated as noise suppression parameters. Thereby, the audio signal x (n) including noise illustrated in FIG. 18 can be output as the audio signal y (x) in which the noise illustrated in FIG. 18B is suppressed. As shown in FIG. 17B, linear predictors 522 may be cascade-connected.

(第12の実施の形態)   (Twelfth embodiment)

図19は、雑音除去/抑圧手段の具体的構成である本発明の第12の実施の形態を示すものであり、スペクトルサブトラクション法(スペクトル減算法)(以下、SS法という。)を用いた例である。すなわち、デジタルカメラ600には各部を制御するカメラ制御部601が設けられている。このカメラ制御部601は、CPU、プログラムを記憶したROM、ワーク用のRAM等で構成され、電源スイッチ602及びその他の操作部603に設けられているキーの利用履歴データや前述した更新履歴データを記憶する機能を備えている。このカメラ制御部601に機器内騒音源609となる駆動部508が接続されている。   FIG. 19 shows a twelfth embodiment of the present invention, which is a specific configuration of the noise removal / suppression means, and an example using a spectral subtraction method (spectral subtraction method) (hereinafter referred to as SS method). It is. That is, the digital camera 600 is provided with a camera control unit 601 that controls each unit. The camera control unit 601 includes a CPU, a ROM storing a program, a work RAM, and the like. The usage history data of the keys provided in the power switch 602 and other operation units 603 and the update history data described above are stored. It has a function to memorize. The camera control unit 601 is connected to a drive unit 508 serving as an in-device noise source 609.

また、このデジタルカメラ600は、マイクロホン604を備えている。マイクロホン604は、動画撮影モード等において記録すべき音声s(n)を検出するものであって、この音声s(n)はアンプ606及びS&H、ADC回路607を介して、スペクトル減算部622に入力される。   The digital camera 600 also includes a microphone 604. The microphone 604 detects the sound s (n) to be recorded in the moving image shooting mode or the like. The sound s (n) is input to the spectrum subtraction unit 622 via the amplifier 606, the S & H, and the ADC circuit 607. Is done.

また、このデジタルカメラ600は、USBまたは外部入出力端子623を備えている。このUSBまたは外部入出力端子623は、入出力インターフェース回路624に接続され、入出力インターフェース回路624は、前記スペクトル減算部622に接続されている。スペクトル減算部622、パラメータ設定制御部626、減算利得設定部627、雑音スペクトルの推定部628及び乗算器629と減算器630とを備えている。スペクトル減算部622は、窓関数部631、フーリエ変換部632、位相部633、逆フーリエ変換部634及び重畳加算部635を有し、この重畳加算部635からの出力が音声メモリまたは音声符号器636に出力されるように構成されている。   The digital camera 600 also includes a USB or external input / output terminal 623. The USB or external input / output terminal 623 is connected to the input / output interface circuit 624, and the input / output interface circuit 624 is connected to the spectrum subtraction unit 622. A spectrum subtraction unit 622, a parameter setting control unit 626, a subtraction gain setting unit 627, a noise spectrum estimation unit 628, a multiplier 629, and a subtractor 630 are provided. The spectrum subtraction unit 622 includes a window function unit 631, a Fourier transform unit 632, a phase unit 633, an inverse Fourier transform unit 634, and a superposition addition unit 635, and an output from the superposition addition unit 635 is a speech memory or a speech encoder 636. It is configured to be output to.

一方、前記外部入出力端子623に接続されるデータ書込機等の外部機器650には、入出力インターフェース回路651が設けられているとともに、通信接続制御部652、音声/雑音データ解析部654が設けられている。通信接続制御部652は、入出力インターフェース回路651と音声/雑音データ解析部654とを制御するものである。音声/雑音データ解析部654は、受信した、音声/雑音データを解析して、雑音パワースペクトル推定データ655、減算利得設定データ657を生成し、これらパラメータ及びデータが入出力インターフェース回路651及びUSBまたは外部入出力端子623介して、デジタルカメラ600の減算利得設定部627に送信されるように構成されている。   On the other hand, an external device 650 such as a data writer connected to the external input / output terminal 623 is provided with an input / output interface circuit 651, a communication connection control unit 652, and an audio / noise data analysis unit 654. Is provided. The communication connection control unit 652 controls the input / output interface circuit 651 and the voice / noise data analysis unit 654. The voice / noise data analysis unit 654 analyzes the received voice / noise data to generate noise power spectrum estimation data 655 and subtraction gain setting data 657, and these parameters and data are input / output interface circuit 651 and USB or It is configured to be transmitted to the subtraction gain setting unit 627 of the digital camera 600 via the external input / output terminal 623.

係る実施の形態において、SS法では、音声信号s(n)と雑音信号w(n)とを含む入力音声信号の信号x(n)=s(n)+w(n)を、所定サンプリング毎にフレーム分割し、ハニング窓や台形窓などの窓関数で窓掛け(Windowing)処理した後、フーリエ変換(FFT)により時間領域から周波数領域に変換する。一入力信号の振幅パワースペクトル│X(ω)│から推定雑音のパワースペクトル│X^(ω)│を減算して(│S^(ω)│=│X(ω)│−│X^(ω)│)、それに入力信号のωを加え、得られたS^(ω)=│S^(ω)│exp(jω)を逆フーリエ変換(inverse EET)により時間領域に変換すれば、動作音などの雑音が除去された強調音声信号s^(n)が得られる。 In such an embodiment, in the SS method, the signal x (n) = s (n) + w (n) of the input audio signal including the audio signal s (n) and the noise signal w (n) is obtained every predetermined sampling. The frame is divided and subjected to windowing with a window function such as a Hanning window or a trapezoidal window, and then converted from the time domain to the frequency domain by Fourier transform (FFT). The power spectrum of estimated noise | X ^ (ω) | is subtracted from the amplitude power spectrum | X (ω) | of one input signal (| S ^ (ω) | = | X (ω) |-| X ^ ( ω) |) and ω x of the input signal are added thereto, and the obtained S ^ (ω) = | S ^ (ω) | exp (jω x ) is converted into the time domain by inverse Fourier transform (inverse EET). Thus, an enhanced speech signal s ^ (n) from which noise such as operation sound is removed is obtained.

SS法による雑音除去を伝達関数H(ω)のフィルタと考えると、伝達関数H(ω)は、
H(ω)=S^(ω)/X(ω){│X^(ω)│−│X^(ω)│}exp(jω)X(ω)、
H(ω)=1−{│X^(ω)│/│X(ω)│}、となる。
Considering noise removal by the SS method as a filter of the transfer function H (ω), the transfer function H (ω) is
H (ω) = S ^ (ω) / X (ω) {| X ^ (ω) | − | X ^ (ω) |} exp (jω x ) X (ω),
H (ω) = 1− {| X ^ (ω) | / | X (ω) |}.

SS法では、人間の聴覚にあまり重要でない位相情報には処理を加えず、振幅情報主体での処理を行うので処理が簡単である。また、1つのマイクロホンのみで雑音抑制でき、雑音原数などは事前に知る必要はないが、最低でも1フレーム分の処理遅延が生ずる。また、雑音パワーベクトルの事前情報が必要である。携帯電話などでは、周波数領域に変換した信号のサブバンド帯域別のSN比(SNR)を算出して、非適応な雑音推定を行い、またスペクトル減算(差分)とスペクトル利得による抑圧(乗算)とを組み合わせる方法や、入力信号のパワーベクトルに、SNR推定値に逆比例するように重み付けを行って、適応的に雑音推定を行い、雑音の抑圧をスペクトル利得の調整(乗算)のみで行う方法など、複雑な雑音推定方法が検討されているが、機器内モーター動作音の除去には、事前に動作音の雑音スペクトルデータ│W^(ω)│等を解析して設定できるので、構成も簡便になり利用し易い利点がある。   In the SS method, processing is not performed on phase information that is not very important for human hearing, and processing is simple because processing is performed mainly with amplitude information. Moreover, noise can be suppressed with only one microphone, and it is not necessary to know the number of noises in advance, but at least a processing delay of one frame occurs. In addition, prior information on the noise power vector is required. In cellular phones and the like, the SNR (SNR) for each subband of the signal converted to the frequency domain is calculated, non-adaptive noise estimation is performed, and spectral subtraction (difference) and suppression (multiplication) by spectral gain are performed. Or a method of performing noise estimation adaptively by weighting the power vector of the input signal so that it is inversely proportional to the SNR estimate, and performing noise suppression only by adjusting (multiplying) the spectrum gain, etc. However, complicated noise estimation methods are being studied, but in order to remove the motor operating noise in the equipment, the noise spectrum data | W ^ (ω) | There is an advantage that it becomes easy to use.

なお、実施の形態においては、本発明をデジタルカメラに適用するようにしたが、カメラに限らず駆動源によりで駆動されるハードディスクを有する各種装置や、各種録音装置等に本発明を適用することもできる。   In the embodiment, the present invention is applied to a digital camera. However, the present invention is not limited to the camera, but is applied to various devices having a hard disk driven by a drive source, various recording devices, and the like. You can also.

本発明の一実施の形態を適用したデジタルカメラの電気的構成を示すブロック図である。1 is a block diagram illustrating an electrical configuration of a digital camera to which an embodiment of the present invention is applied. 本発明の第1の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 1st Embodiment of this invention. 本発明の第2の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 2nd Embodiment of this invention. 本発明の第3の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 3rd Embodiment of this invention. 本発明の第4の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 4th Embodiment of this invention. 同実施の形態における制御(2)の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of control (2) in the embodiment. 駆動部のズーム動作における動作音の波形図である。It is a wave form diagram of the operation sound in the zoom operation of a drive part. 本発明の第5の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 5th Embodiment of this invention. 本発明の第6の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 6th Embodiment of this invention. 本発明の第7の実施の形態における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the 7th Embodiment of this invention. 本発明の第8の実施の形態を示す要部ブロック図である。It is a principal part block diagram which shows the 8th Embodiment of this invention. 本発明の第9の実施の形態を示す要部ブロック図である。It is a principal part block diagram which shows the 9th Embodiment of this invention. 同実施の形態における適応フィルタの例を示す回路図である。It is a circuit diagram which shows the example of the adaptive filter in the same embodiment. 適応ノッチフィルタの一例を示す図である。It is a figure which shows an example of an adaptive notch filter. 本発明の第10の実施の形態を示す要部ブロック図である。It is a principal part block diagram which shows the 10th Embodiment of this invention. 本発明の第11の実施の形態を示す要部ブロック図である。It is a principal part block diagram which shows the 11th Embodiment of this invention. 線形予測器の構成例を示す回路図である。It is a circuit diagram which shows the structural example of a linear predictor. 雑音を含む音声信号と雑音を抑圧した音声信号とを示す波形図である。It is a wave form diagram which shows the audio | voice signal containing noise and the audio | voice signal which suppressed noise. 本発明の第12の実施の形態を示す要部ブロック図である。It is a principal part block diagram which shows the 12th Embodiment of this invention.

符号の説明Explanation of symbols

100 デジタルカメラ
101 撮像レンズ
103 ドライバ
103 撮像部
104 駆動部
105 制御回路
106 ドライバ
107 ユニット回路
108 映像信号処理部
109 画像メモリ
109 順次画像メモリ
110 表示制御部
111 表示メモリ
112 表示部
113 メモリIF
114 外部メモリ
115 プログラムメモリ
116 画像圧縮/符号化ブロック
117 圧縮/符号化画像データメモリ
118 画像伸張/復号化部
119 データメモリ
120 電源スイッチ
121 操作入力部
122 入力回路
125 マイクロホン
126 アンプ
127 ADC回路
128 雑音除去/抑圧回路
129 入力音声メモリ
130 音声圧縮/符号化ブロック
131 圧縮/符号化音声データメモリ
132 音声伸張/復号化部
133 出力音声メモリ
134 D/A変換器
135 LPF
136 アンプ
137 スピーカー
138 入出力インターフェース回路
139 入出力コネクタ
140 雑音抑制パラメータ制御ブロック
141 雑音抑圧パラメータメモリ
142 雑音成分算出部
143 減算回路
150 外部機器
DESCRIPTION OF SYMBOLS 100 Digital camera 101 Imaging lens 103 Driver 103 Imaging part 104 Drive part 105 Control circuit 106 Driver 107 Unit circuit 108 Video signal processing part 109 Image memory 109 Sequential image memory 110 Display control part 111 Display memory 112 Display part 113 Memory IF
114 External memory 115 Program memory 116 Image compression / coding block 117 Compression / encoding image data memory 118 Image expansion / decoding unit 119 Data memory 120 Power switch 121 Operation input unit 122 Input circuit 125 Microphone 126 Amplifier 127 ADC circuit 128 Noise Removal / suppression circuit 129 Input audio memory 130 Audio compression / encoding block 131 Compression / encoding audio data memory 132 Audio expansion / decoding unit 133 Output audio memory 134 D / A converter 135 LPF
136 Amplifier 137 Speaker 138 Input / Output Interface Circuit 139 Input / Output Connector 140 Noise Suppression Parameter Control Block 141 Noise Suppression Parameter Memory 142 Noise Component Calculation Unit 143 Subtraction Circuit 150 External Device

Claims (24)

動画を撮像する撮像手段と、
この撮像手段による撮像時に周囲音を検出する検出手段と、
前記撮像手段により撮像される動画と前記検出手段により検出される周囲音とを記録する記録手段と、
動作に伴ってノイズを発生する動作手段と、
この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、
この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、
外部機器と接続する接続手段と、
この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、
この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段と
を備えたことを特徴とする電子カメラ。
An imaging means for capturing a video;
Detecting means for detecting ambient sound during imaging by the imaging means;
Recording means for recording the moving image picked up by the image pickup means and the ambient sound detected by the detection means;
An operation means for generating noise along with the operation;
Storage means for storing data of noise generated along with the operation of the operation means;
Noise reduction processing means for performing noise reduction processing on ambient sound detected by the detection means during operation of the operation means based on the noise data stored in the storage means;
A connection means for connecting to an external device;
Acquisition means for acquiring noise data transferred from the external device connected to the connection means;
An electronic camera comprising: writing means for writing noise data acquired by the acquisition means into the storage means.
動画を撮像する撮像手段と、
この撮像手段による撮像時に周囲音を検出する検出手段と、
前記撮像手段により撮像される動画と前記検出手段により検出される周囲音とを記録する記録手段と、
動作に伴ってノイズを発生する動作手段と、
この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、
この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、
前記記憶手段に記憶されているノイズデータを更新する更新手段と
を備えたことを特徴とする電子カメラ。
An imaging means for capturing a video;
Detecting means for detecting ambient sound during imaging by the imaging means;
Recording means for recording the moving image picked up by the image pickup means and the ambient sound detected by the detection means;
An operation means for generating noise along with the operation;
Storage means for storing data of noise generated along with the operation of the operation means;
Noise reduction processing means for performing noise reduction processing on ambient sound detected by the detection means during operation of the operation means based on the noise data stored in the storage means;
An electronic camera comprising: update means for updating noise data stored in the storage means.
前記書込手段により前記記憶手段に書き込まれたノイズデータを更新する更新手段を更に有することを特徴とする請求項1記載の電子カメラ。   2. The electronic camera according to claim 1, further comprising update means for updating noise data written to the storage means by the writing means. 前記書込手段は、
この取得手段により取得されたノイズデータを前記記憶手段に書き込むことにより前記記憶手段に記憶されているノイズデータを更新する更新手段を含むことを特徴とする請求項1記載の電子カメラ。
The writing means includes
The electronic camera according to claim 1, further comprising an update unit that updates the noise data stored in the storage unit by writing the noise data acquired by the acquisition unit into the storage unit.
前記更新手段は、外部機器と接続する接続手段と、
この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、
この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段とを含むことを特徴とする請求項2記載の電子カメラ。
The update means includes connection means for connecting to an external device;
Acquisition means for acquiring noise data transferred from the external device connected to the connection means;
3. The electronic camera according to claim 2, further comprising a writing unit that writes the noise data acquired by the acquiring unit into the storage unit.
前記更新手段により更新されるノイズデータは、前記ノイズ低減処理手段のノイズ低減方式に応じて異なることを特徴とする請求項2から5いずれかに記載の電子カメラ。   6. The electronic camera according to claim 2, wherein the noise data updated by the updating unit varies depending on a noise reduction method of the noise reduction processing unit. 前記更新手段により更新されるノイズデータは、
前記ノイズ低減処理手段が適応フィルタ方式である場合、フィルタ係数と適応更新アルゴリズムの少なくとも一方を含み、
マイクロホンアレー方式である場合、ノイズ源方向の角度または遅延時間の少なくとも一方を含み、
線形予測器である場合、前記発生するノイズに応じた適応係数を含み、
スペクトル減算方式である場合、ノイズ源のスペクトルデータ、その推定データ、減算利得の少なくとも一つを含む
ことを特徴とする請求項6記載の電子カメラ。
The noise data updated by the updating means is
When the noise reduction processing means is an adaptive filter method, it includes at least one of a filter coefficient and an adaptive update algorithm,
In the case of a microphone array system, it includes at least one of the angle of the noise source direction or the delay time,
If it is a linear predictor, it includes an adaptive coefficient according to the generated noise,
The electronic camera according to claim 6, wherein in the case of the spectrum subtraction method, at least one of noise source spectrum data, estimated data thereof, and subtraction gain is included.
前記更新手段は、電源オン時及び又は動作モード切替時において前記ノイズデータを更新する手段を含むことを特徴とする請求項2から7にいずれか記載の電子カメラ。   The electronic camera according to claim 2, wherein the updating unit includes a unit that updates the noise data when the power is turned on and / or when the operation mode is switched. 前記更新手段は、電源オン時及び又は動作モード切替時点において、前記検出手段により検出された周囲音に基づき、前記ノイズデータを更新する手段を含むことを特徴とする請求項8記載の電子カメラ。   9. The electronic camera according to claim 8, wherein the updating means includes means for updating the noise data based on the ambient sound detected by the detecting means when the power is turned on and / or when the operation mode is switched. 前記更新手段は、前記動作手段の動作履歴を記憶する動作履歴記憶手段と、
この動作履歴記憶手段に記憶された動作履歴に基づき、前記ノイズデータを更新する手段とを含むことを特徴とする請求項2から9にいずれか記載の電子カメラ。
The update unit includes an operation history storage unit that stores an operation history of the operation unit;
10. The electronic camera according to claim 2, further comprising a unit that updates the noise data based on the operation history stored in the operation history storage unit.
前記更新手段は、前記動作履歴記憶手段に記憶された動作履歴に基づき、ノイズデータを推定する推定手段と、この推定手段により推定されたノイズデータに更新する手段とを含むことを特徴とする請求項10記載の電子カメラ。   The update means includes estimation means for estimating noise data based on an operation history stored in the operation history storage means, and means for updating to noise data estimated by the estimation means. Item 11. The electronic camera according to Item 10. 前記更新手段は、前記動作手段の経時的な動作量が増大するに伴って、前記ノイズデータの振幅が増大する方向に更新する手段を含むことを特徴とする請求項2から11にいずれか記載の電子カメラ。 The update means includes means for updating in a direction in which the amplitude of the noise data increases as the operation amount of the operation means with time increases. Electronic camera. 前記更新手段は、前記動作手段の経時的な動作量が増大するに伴って、前記ノイズデータの周波数成分をシフトして更新する手段を含むことを特徴とする請求項2から12にいずれか記載の電子カメラ。   The update means includes means for shifting and updating the frequency component of the noise data as the operation amount of the operation means with time increases. Electronic camera. 前記周波数成分を高周波側にシフトすることを特徴とする請求項13記載の電子カメラ。   14. The electronic camera according to claim 13, wherein the frequency component is shifted to a high frequency side. 前記更新手段は、前記検出手段により検出された周囲音から特定低周波数帯域の音を抽出する抽出手段と、
この抽出手段により抽出された前記特定低周波数帯域の音に基づき、前記動作手段の経年変化を検出する経年変化検出手段と、
この経年変化検出手段により検出された前記経年変化に応じたノイズデータに更新する手段とを含むことを特徴とする請求項2から14にいずれか記載の電子カメラ。
The updating means is an extracting means for extracting a sound of a specific low frequency band from the ambient sound detected by the detecting means;
Based on the sound of the specific low frequency band extracted by the extracting means, the secular change detecting means for detecting the secular change of the operating means,
15. The electronic camera according to claim 2, further comprising means for updating to noise data corresponding to the secular change detected by the secular change detecting means.
前記ノイズデータの更新を指示する指示手段を更に備え、
前記更新手段は、前記指示手段の指示に応答して、前記ノイズデータを更新することを特徴とする請求項2から15にいずれか記載の電子カメラ。
Further comprising instruction means for instructing update of the noise data;
The electronic camera according to claim 2, wherein the update unit updates the noise data in response to an instruction from the instruction unit.
前記更新手段は、前記指示手段により更新が指示された時点において、前記検出手段により検出された周囲音に基づき、前記ノイズデータを更新する手段を含むことを特徴とする請求項16記載の電子カメラ。   17. The electronic camera according to claim 16, wherein the updating means includes means for updating the noise data based on the ambient sound detected by the detecting means when the updating is instructed by the instructing means. . 前記更新手段は、当該電子カメラにおいて設定可能な撮影シーンまたは撮影モードに応じて、異なるノイズデータを設定する手段を含むことを特徴とする請求項2から17にいずれか記載の電子カメラ。   The electronic camera according to any one of claims 2 to 17, wherein the updating means includes means for setting different noise data in accordance with a photographing scene or photographing mode that can be set in the electronic camera. 前記検出手段により検出された前記動作手段の動作に伴って発生するノイズを前記外部機器に出力する出力手段を更に備え、
前記取得手段は、前記出力手段から出力された前記ノイズに基づき前記外部機器が生成したノイズデータを取得することを特徴とする請求項1、4または5記載の電子カメラ。
Further comprising output means for outputting to the external device noise generated with the operation of the operation means detected by the detection means;
The electronic camera according to claim 1, wherein the acquisition unit acquires noise data generated by the external device based on the noise output from the output unit.
外部から画像データを受信するための端子と、
この端子を介して受信された前記画像データを記憶する画像データ記憶手段とを更に備え、
前記接続手段は、前記端子と兼用されることを特徴とする請求項1又は5記載の電子カメラ。
A terminal for receiving image data from the outside;
Image data storage means for storing the image data received via this terminal,
6. The electronic camera according to claim 1, wherein the connecting means is also used as the terminal.
周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段とを備えた機器に配置されノイズ低減装置において、
前記動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、
この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、
外部機器と接続する接続手段と、
この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、
この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段と
を備えたことを特徴とするノイズ低減装置。
In a noise reduction device arranged in a device comprising detection means for detecting ambient sound and operation means for generating noise in accordance with the operation,
Storage means for storing data of noise generated along with the operation of the operation means;
Noise reduction processing means for performing noise reduction processing on ambient sound detected by the detection means during operation of the operation means based on the noise data stored in the storage means;
A connection means for connecting to an external device;
Acquisition means for acquiring noise data transferred from the external device connected to the connection means;
A noise reduction apparatus comprising: writing means for writing noise data acquired by the acquisition means into the storage means.
周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段とを備えた機器に配置されたノイズ低減装置において、
前記動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、
この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において 前記検出手段により検出される周囲音に対し、ノイズ低減処理を実行するノイズ低減処理手段と、
前記記憶手段に記憶されているノイズデータを更新する更新手段と
を備えたことを特徴とするノイズ低減装置。
In a noise reduction device arranged in a device comprising detection means for detecting ambient sound and operation means for generating noise in accordance with operation,
Storage means for storing data of noise generated along with the operation of the operation means;
Noise reduction processing means for performing noise reduction processing on ambient sounds detected by the detection means during operation of the operation means based on the noise data stored in the storage means;
A noise reduction apparatus comprising: update means for updating noise data stored in the storage means.
周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において発生するノイズを低減処理する機器が有するコンピュータを、
外部機器と接続する接続手段と、
この接続手段に接続された前記外部機器から転送されるノイズデータを取得する取得手段と、
この取得手段により取得されたノイズデータを前記記憶手段に書き込む書込手段として機能させることを特徴とするノイズ低減制御プログラム。
Detection means for detecting ambient sound, operation means for generating noise in accordance with the operation, storage means for storing noise data generated in accordance with the operation of the operation means, and noise stored in the storage means Based on the data, a computer included in the device for reducing the noise generated during the operation of the operating means,
A connection means for connecting to an external device;
Acquisition means for acquiring noise data transferred from the external device connected to the connection means;
A noise reduction control program that functions as a writing unit that writes noise data acquired by the acquiring unit to the storage unit.
周囲音を検出する検出手段と、動作に伴ってノイズを発生する動作手段と、この動作手段の動作に伴って発生するノイズのデータを記憶する記憶手段と、この記憶手段に記憶されているノイズデータに基づき、前記動作手段の動作中において発生するノイズを低減処理する機器が有するコンピュータを、
前記記憶手段に記憶されているノイズデータを更新する更新手段として機能させることを特徴とするノイズ低減制御プログラム。
Detection means for detecting ambient sound, operation means for generating noise in accordance with the operation, storage means for storing noise data generated in accordance with the operation of the operation means, and noise stored in the storage means Based on the data, a computer included in the device for reducing the noise generated during the operation of the operating means,
A noise reduction control program that functions as update means for updating noise data stored in the storage means.
JP2005038757A 2005-02-16 2005-02-16 Electronic camera, noise reduction device, and noise reduction control program Expired - Fee Related JP4910293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005038757A JP4910293B2 (en) 2005-02-16 2005-02-16 Electronic camera, noise reduction device, and noise reduction control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005038757A JP4910293B2 (en) 2005-02-16 2005-02-16 Electronic camera, noise reduction device, and noise reduction control program

Publications (2)

Publication Number Publication Date
JP2006229401A true JP2006229401A (en) 2006-08-31
JP4910293B2 JP4910293B2 (en) 2012-04-04

Family

ID=36990387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005038757A Expired - Fee Related JP4910293B2 (en) 2005-02-16 2005-02-16 Electronic camera, noise reduction device, and noise reduction control program

Country Status (1)

Country Link
JP (1) JP4910293B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010135876A (en) * 2008-12-02 2010-06-17 Canon Inc Imaging device, audio processing method of the same, audio processing device and method
JP2011097260A (en) * 2009-10-28 2011-05-12 Nikon Corp Imaging apparatus
JP2011151481A (en) * 2010-01-19 2011-08-04 Canon Inc Audio signal processing apparatus and audio signal processing system
JP2012119996A (en) * 2010-12-01 2012-06-21 Canon Inc Imaging apparatus and information processing system
JP2012142745A (en) * 2010-12-28 2012-07-26 Sony Corp Audio signal processing device, audio signal processing method and program
WO2012102130A1 (en) * 2011-01-27 2012-08-02 株式会社ニコン Imaging device, program, recording media, and noise reduction method
JP2012155184A (en) * 2011-01-27 2012-08-16 Nikon Corp Camera, program, recording medium, and noise removal method
JP2012173371A (en) * 2011-02-18 2012-09-10 Nikon Corp Imaging apparatus and noise reduction method for imaging apparatus
JP2012178785A (en) * 2011-02-28 2012-09-13 Nikon Corp Signal processing device, imaging device, and program
JP2013020252A (en) * 2011-07-06 2013-01-31 Honda Motor Co Ltd Acoustic processing device, acoustic processing method and acoustic processing program
KR101377470B1 (en) 2010-06-10 2014-04-01 캐논 가부시끼가이샤 Audio signal processing apparatus and method of controlling the same
WO2017175712A1 (en) * 2016-04-05 2017-10-12 三菱電機ビルテクノサービス株式会社 Control data rewrite system
WO2020230539A1 (en) * 2019-05-16 2020-11-19 ソニー株式会社 Signal processing device, signal processing method, program, and imaging device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133692A (en) * 1996-10-28 1998-05-22 Hitachi Ltd Recording device and camera-integrated image/voice recording device
JP2000293965A (en) * 1999-04-07 2000-10-20 Sony Corp Intermittent mechanical noise reducing device
JP2002250970A (en) * 2001-02-27 2002-09-06 Ricoh Co Ltd Image display device
JP2004193683A (en) * 2002-12-06 2004-07-08 Olympus Corp Electronic camera system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133692A (en) * 1996-10-28 1998-05-22 Hitachi Ltd Recording device and camera-integrated image/voice recording device
JP2000293965A (en) * 1999-04-07 2000-10-20 Sony Corp Intermittent mechanical noise reducing device
JP2002250970A (en) * 2001-02-27 2002-09-06 Ricoh Co Ltd Image display device
JP2004193683A (en) * 2002-12-06 2004-07-08 Olympus Corp Electronic camera system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010135876A (en) * 2008-12-02 2010-06-17 Canon Inc Imaging device, audio processing method of the same, audio processing device and method
JP2011097260A (en) * 2009-10-28 2011-05-12 Nikon Corp Imaging apparatus
JP2011151481A (en) * 2010-01-19 2011-08-04 Canon Inc Audio signal processing apparatus and audio signal processing system
KR101377470B1 (en) 2010-06-10 2014-04-01 캐논 가부시끼가이샤 Audio signal processing apparatus and method of controlling the same
EP2395774A3 (en) * 2010-06-10 2016-08-10 Canon Kabushiki Kaisha Audio signal processing apparatus and method of controlling the same
JP2012119996A (en) * 2010-12-01 2012-06-21 Canon Inc Imaging apparatus and information processing system
US9013599B2 (en) 2010-12-01 2015-04-21 Canon Kabushiki Kaisha Image pick-up and audio signal processing apparatus and method for controlling an image pick-up and audio signal processing apparatus
JP2012142745A (en) * 2010-12-28 2012-07-26 Sony Corp Audio signal processing device, audio signal processing method and program
US9153243B2 (en) 2011-01-27 2015-10-06 Nikon Corporation Imaging device, program, memory medium, and noise reduction method
JP2012155184A (en) * 2011-01-27 2012-08-16 Nikon Corp Camera, program, recording medium, and noise removal method
WO2012102130A1 (en) * 2011-01-27 2012-08-02 株式会社ニコン Imaging device, program, recording media, and noise reduction method
JP2012173371A (en) * 2011-02-18 2012-09-10 Nikon Corp Imaging apparatus and noise reduction method for imaging apparatus
JP2012178785A (en) * 2011-02-28 2012-09-13 Nikon Corp Signal processing device, imaging device, and program
JP2013020252A (en) * 2011-07-06 2013-01-31 Honda Motor Co Ltd Acoustic processing device, acoustic processing method and acoustic processing program
WO2017175712A1 (en) * 2016-04-05 2017-10-12 三菱電機ビルテクノサービス株式会社 Control data rewrite system
JP2017186126A (en) * 2016-04-05 2017-10-12 三菱電機ビルテクノサービス株式会社 Control data rewriting system
WO2020230539A1 (en) * 2019-05-16 2020-11-19 ソニー株式会社 Signal processing device, signal processing method, program, and imaging device

Also Published As

Publication number Publication date
JP4910293B2 (en) 2012-04-04

Similar Documents

Publication Publication Date Title
JP4910293B2 (en) Electronic camera, noise reduction device, and noise reduction control program
JP5594133B2 (en) Audio signal processing apparatus, audio signal processing method, and program
JP4934968B2 (en) Camera device, camera control program, and recorded voice control method
JP5741281B2 (en) Audio signal processing apparatus, imaging apparatus, audio signal processing method, program, and recording medium
JP2006279185A (en) Imaging apparatus, and sound recording method and program
JP2006287387A (en) Imaging apparatus, sound recording method, and program
JP2006270591A (en) Electronic camera, data reproducing device and program
JP2008263498A (en) Wind noise reducing device, sound signal recorder and imaging apparatus
KR20120056106A (en) Method for removing audio noise and Image photographing apparatus thereof
JP6637926B2 (en) Voice processing device and control method thereof
US20150271439A1 (en) Signal processing device, imaging device, and program
JP2008263483A (en) Wind noise reducing device, sound signal recorder, and imaging apparatus
JP4639902B2 (en) Imaging apparatus, audio recording method, and program
JP2011077604A (en) Noise elimination device, lens device, imaging apparatus, noise elimination method
JP5998483B2 (en) Audio signal processing apparatus, audio signal processing method, program, and recording medium
JP4542396B2 (en) Recording device
JP2019192963A (en) Noise reduction device, noise reduction method and program
JP6985821B2 (en) Speech processing device and its control method
JP2013110629A (en) Imaging apparatus and sound collection method
JP6902961B2 (en) Speech processing device and its control method
JP2022038611A (en) Sound processor, control method, and program
JP2018207313A (en) Audio processing device and method of controlling the same
JP6877246B2 (en) Speech processing device and its control method
JP6912969B2 (en) Speech processing device and its control method
JP6931296B2 (en) Speech processing device and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110217

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111104

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20111114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111220

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: 20120102

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4910293

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150127

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees