JP5147789B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP5147789B2
JP5147789B2 JP2009164776A JP2009164776A JP5147789B2 JP 5147789 B2 JP5147789 B2 JP 5147789B2 JP 2009164776 A JP2009164776 A JP 2009164776A JP 2009164776 A JP2009164776 A JP 2009164776A JP 5147789 B2 JP5147789 B2 JP 5147789B2
Authority
JP
Japan
Prior art keywords
image
pixel
signal
unit
scratch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009164776A
Other languages
Japanese (ja)
Other versions
JP2009278639A (en
Inventor
誠 伊勢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009164776A priority Critical patent/JP5147789B2/en
Publication of JP2009278639A publication Critical patent/JP2009278639A/en
Application granted granted Critical
Publication of JP5147789B2 publication Critical patent/JP5147789B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、画像信号を処理する撮像装置及びその制御方法に関する。   The present invention relates to an imaging apparatus that processes an image signal and a control method thereof.

従来、固体メモリ素子を有するメモリカードを記録媒体として、CCD等の固体撮像素子で撮像した静止画像や動画像を記録及び再生する電子カメラ等の画像処理装置が既に市販されている。   2. Description of the Related Art Conventionally, an image processing apparatus such as an electronic camera that records and reproduces still images and moving images captured by a solid-state imaging device such as a CCD using a memory card having a solid-state memory device as a recording medium is already on the market.

これらの電子カメラの中には、絞りやシャッタースピードなどの撮影条件を選択することにより、自動的に、あるいは、手動により回路ゲインを切り換えて、ちょうど銀塩カメラにおけるフィルムのISO感度に相当する感度条件を切り換えることのできるものがある。   Among these electronic cameras, by selecting the shooting conditions such as the aperture and shutter speed, the circuit gain is switched automatically or manually, and the sensitivity equivalent to the ISO sensitivity of the film in a silver halide camera. Some can switch conditions.

ところで、CCD等の固体撮像素子を用いて撮像する場合、撮像素子を露光しない状態で本撮影と同様に電荷蓄積を行った後に読み出したダーク画像データと、撮像素子を露光した状態で電荷蓄積を行った後に読み出した本撮影画像データとを用いて演算処理することによりダークノイズ補正処理を行うことが可能である。   By the way, when imaging using a solid-state image sensor such as a CCD, dark image data read after charge accumulation is performed in the same manner as in the main photographing without exposing the image sensor, and charge accumulation is performed with the image sensor exposed. It is possible to perform dark noise correction processing by performing arithmetic processing using the actual captured image data read after being performed.

これにより、撮像素子に発生する暗電流ノイズや撮像素子固有の微少なキズによる画素欠損等の画質劣化に関して、撮影した画像データを補正して高品位な画像を撮影することが出来る。   As a result, it is possible to correct the captured image data and capture a high-quality image with respect to image quality deterioration such as pixel current loss due to dark current noise generated in the image sensor and minute scratches inherent to the image sensor.

特に、暗電流ノイズは、電荷蓄積時間及び、時間の経過とともに撮像素子の温度上昇に応じて増大するため、長秒時の露光や高温時の露光を行う場合に大きな画質改善効果を得ることが可能となり、電子カメラの使用者にとってダークノイズ補正処理は有益な機能となっている。   In particular, dark current noise increases according to the charge accumulation time and the temperature rise of the image sensor with the passage of time, so that a large image quality improvement effect can be obtained when performing exposure at long seconds or exposure at high temperatures. Thus, dark noise correction processing is a useful function for users of electronic cameras.

そのほかに、撮像素子固有のキズによる画素欠損等の補正方法には、上記のようなダークノイズ補正処理以外にも、キズのない近接画素を用いた補間による補正処理方法もあるが、あまりキズの数が多い場合には、CPUなどによる画像処理の負担も大きく、補間による画質劣化も無視できなくなる。   In addition to the dark noise correction processing as described above, there is a correction processing method by interpolation using adjacent pixels having no scratch, but the correction method for pixel defects due to scratches specific to the image sensor is not so flawed. When the number is large, the burden of image processing by the CPU or the like is large, and image quality deterioration due to interpolation cannot be ignored.

図14は、従来の電子カメラ等の画像処理装置の一例を表わすブロック図である。撮像素子600と、増幅器601と、AD(アナログ−デジタル)変換器602と、システム制御部603と、画像処理部604と、メモリ制御部605と、メモリ606とから構成されている。   FIG. 14 is a block diagram illustrating an example of a conventional image processing apparatus such as an electronic camera. The image sensor 600, an amplifier 601, an AD (analog-digital) converter 602, a system control unit 603, an image processing unit 604, a memory control unit 605, and a memory 606 are configured.

撮像素子600と、増幅器601と、AD変換器602と画像処理部604とは、システム制御部603からの各種駆動信号により駆動されており、撮像素子600から読み出された撮像信号は、増幅器601を介して、所定の信号振幅に増幅されて、AD変換器602へ入力される。AD変換器602のデジタル出力は、画像処理部604に入力されて、メモリ制御部605を介して、メモリ606に記録される。   The image sensor 600, the amplifier 601, the AD converter 602, and the image processing unit 604 are driven by various drive signals from the system control unit 603, and the image signal read from the image sensor 600 is the amplifier 601. , The signal is amplified to a predetermined signal amplitude and input to the AD converter 602. The digital output of the AD converter 602 is input to the image processing unit 604 and recorded in the memory 606 via the memory control unit 605.

上記のダークノイズ補正処理の動作としては、まず、撮像素子を露光しない状態において、撮像素子600 → 増幅器601 → AD変換器602 → 画像処理部604 → メモリ制御部605 → メモリ606 の流れで、ダーク画像データがメモリ606に記録される。   As the operation of the dark noise correction processing, first, in a state where the imaging device is not exposed, the darkness is the flow of the imaging device 600 → the amplifier 601 → the AD converter 602 → the image processing unit 604 → the memory control unit 605 → the memory 606. Image data is recorded in the memory 606.

次に、撮像素子を露光した状態において、撮像素子600 → 増幅器601 → AD変換器602 の流れで読み出された本撮影画像データと、メモリ606に記録されたダーク画像データとがメモリ制御部604を介して読み出され、画像処理部604によって、本撮影画像データからダーク画像データが減算されることにより、ダーク画像と同様に本撮影画像に含まれる暗電流ノイズや撮像素子固有の微少なキズによる画素欠損が相殺されて補正されるしくみになっている。   Next, in a state where the image sensor is exposed, the memory control unit 604 includes the main captured image data read in the flow of the image sensor 600 → the amplifier 601 → the AD converter 602 and the dark image data recorded in the memory 606. As the dark image data is subtracted from the actual captured image data by the image processing unit 604, dark current noise included in the actual captured image and slight scratches specific to the image sensor are obtained. The pixel deficiency due to is offset and corrected.

このような従来の電子カメラ等の画像処理装置においては、補正に用いるダーク画像データの中に、暗電流ノイズや撮像素子固有の微少なキズによる画素欠損ノイズを収めるための適切な信号ダイナミックレンジが必要である。   In such a conventional image processing device such as an electronic camera, there is an appropriate signal dynamic range for storing pixel current noise due to dark current noise or minute flaws inherent to the image sensor in dark image data used for correction. is necessary.

ところが、前述のISO感度に応じた回路ゲインの切り換えによって、必要となるダーク画像データの信号ダイナミックレンジも変動する。本撮影画像データの信号ダイナミックレンジも、同様に変動する。   However, the required signal dynamic range of the dark image data also varies depending on the switching of the circuit gain according to the ISO sensitivity. Similarly, the signal dynamic range of the captured image data varies.

そして、ダーク画像データの信号ダイナミックレンジをオーバーした上記画素欠損ノイズは、適切に補正されずに残り、しかも、その数や程度もISO感度ごとに異なるという問題があった。   The pixel defect noise that exceeds the signal dynamic range of the dark image data remains uncorrected, and the number and degree thereof vary depending on the ISO sensitivity.

また、絞りやシャッタースピードを含めたトータルでの露出条件をたとえ同じにしても、ISO感度ごとに信号ダイナミックレンジが変動するために、ダークノイズ補正処理後の画像において、ダーク部分に浮き沈みを生じたり、ハイライト部分の飽和レベルがまちまちになるという問題があった。   Also, even if the total exposure conditions including the aperture and shutter speed are the same, the signal dynamic range fluctuates for each ISO sensitivity, which may cause ups and downs in the dark part of the image after dark noise correction processing. There is a problem that the saturation level of the highlight portion varies.

図15は、上記の問題をよく説明する信号のレベルダイヤグラムの一例である。AD変換器602のボトム電圧(デジタル下限0に対応する入力電圧)に対して、たとえば、撮像素子600の出力のダーク信号レベル(平均値)をb、ISO100時の使用信号振幅の上限をsとし、前記ダーク信号レベルbを基準に増幅器601の増幅度をaとして増幅すれば、増幅器601の出力は、ダーク信号レベルb、撮像信号振幅の上限は(a×s)となる。このとき、同時にダーク信号に含まれるキズによる画素欠損ノイズの振幅も増幅器601によりa倍されるために、ダーク画像期間中のAD変換器602のボトム電圧を下回るノイズ成分や、本撮影画像期間中のAD変換器602のトップ電圧(デジタルフルコードに対応する入力電圧)を上回るノイズ成分は、前述のダークノイズ補正処理により相殺されずに残ってしまう結果となる。   FIG. 15 is an example of a signal level diagram that well explains the above problem. For the bottom voltage of the AD converter 602 (input voltage corresponding to the digital lower limit 0), for example, b is the dark signal level (average value) of the output of the image sensor 600, and s is the upper limit of the used signal amplitude at ISO 100. If the amplification of the amplifier 601 is amplified with the dark signal level b as a reference, the output of the amplifier 601 is the dark signal level b and the upper limit of the imaging signal amplitude is (a × s). At this time, since the amplitude of pixel defect noise due to scratches included in the dark signal is also multiplied by a by the amplifier 601, a noise component lower than the bottom voltage of the AD converter 602 during the dark image period, or during the actual captured image period As a result, the noise component exceeding the top voltage of the AD converter 602 (the input voltage corresponding to the digital full code) remains without being canceled by the dark noise correction processing described above.

このとき、ISO200時のセンサの使用信号振幅の上限は(s / 2)となり、増幅器601による増幅度は、さらにISO100時の2倍の2a倍となり、増幅器601の出力は、ダーク信号レベルb、撮像信号振幅の上限はaと変わらないものの、ダーク信号に含まれるキズによる画素欠損ノイズの振幅が増幅器601により2a倍されるために、ダーク画像や、本撮影画像に含まれるノイズ成分の振幅はより一層増大し、ダーク画像期間中のAD変換器602のボトム電圧を下回るノイズ成分や、本撮影画像期間中のAD変換器602のトップ電圧を上回るノイズ成分がより一層増加する結果となる。   At this time, the upper limit of the use signal amplitude of the sensor at ISO 200 is (s / 2), the amplification degree by the amplifier 601 is further 2a times twice that at ISO 100, and the output of the amplifier 601 is dark signal level b, Although the upper limit of the imaging signal amplitude is the same as a, the amplitude of the pixel defect noise due to the scratch included in the dark signal is multiplied by 2a by the amplifier 601, so the amplitude of the noise component included in the dark image or the actual captured image is This further increases, resulting in a further increase in noise components below the bottom voltage of the AD converter 602 during the dark image period and noise components above the top voltage of the AD converter 602 during the actual captured image period.

この傾向は、高ISO感度になるほど回路ゲインの増大とともに顕著となり、極端な場合には、ダーク画像や、本撮影画像の、AD変換器602に対するオーバーレンジによって、ダーク補正後の画像の黒つぶれや白飛びといった画像階調性の劣化を招く結果にもなる。   This tendency becomes more prominent with an increase in circuit gain as the ISO sensitivity becomes higher. In an extreme case, the dark image or the dark-corrected image after dark correction is darkened due to the overrange of the captured image with respect to the AD converter 602. This also results in deterioration of image gradation such as whiteout.

また、増幅回路のスーリューレート特性の制約から、キズノイズなどによる過大振幅信号の飽和により、あるいは前述のISO感度に応じた回路ゲインの切り換えによってゲインアップした際に、本撮影画像データの信号ダイナミックレンジの増大にともない、露出過多による過大振幅信号の飽和により画像信号の遅延が発生して、後続する隣接画素信号に対して妨害が発生するという問題があった。   In addition, due to restrictions on the slew rate characteristics of the amplifier circuit, the signal dynamic range of the actual captured image data when gain is increased by saturation of an over-amplitude signal due to scratch noise or by switching the circuit gain according to the ISO sensitivity described above. As the number of pixels increases, the image signal delays due to the saturation of the over-amplitude signal due to overexposure, and the adjacent pixel signal is disturbed.

図16は、上記の問題をよく説明する信号のレベルダイヤグラムの一例である。たとえば、撮像素子600の出力のISO100時の使用信号振幅の上限を1(撮像素子600の飽和レベルの近傍)とし、増幅器601の増幅度をaとして増幅すれば、増幅器601の出力において、撮像信号振幅の上限はa、増幅器601の出力を1画素周期で見れば、増幅器601のスリューレート特性により、その立ち上がり、立下りにおいて通常[ns/V]等の単位で表わされる所定の時間を必要とし、この時間は撮像素子600の信号変動レベルに依存し、正比例する。   FIG. 16 is an example of a signal level diagram that well explains the above problem. For example, if the upper limit of the used signal amplitude of the output of the image sensor 600 at ISO 100 is set to 1 (near the saturation level of the image sensor 600) and the amplification factor of the amplifier 601 is a, the image signal is output at the output of the amplifier 601. The upper limit of the amplitude is a. If the output of the amplifier 601 is viewed in one pixel period, a predetermined time usually expressed in units of [ns / V] is required at the rise and fall due to the slew rate characteristics of the amplifier 601. This time depends on the signal fluctuation level of the image sensor 600 and is directly proportional.

この特性により、撮像素子600の出力に対して増幅器601の出力が遅延する結果となる。このとき、ISO200時のセンサの使用信号振幅の上限は0.5(撮像素子150の飽和レベルの半分の近傍)、増幅器601による増幅度は、ISO100時の2倍の2a倍となる。ところが、増幅器601の出力において撮像信号振幅の上限はaとはならず、実際には撮像素子600の出力が露光条件により飽和レベルとなり、最大2a超に達し、その分、前記スリューレートによる遅延時間が増大する結果となる。この傾向は、高ISO感度になるほど回路ゲインの増大とともに顕著となり、他の色フィルタにより構成される後続隣接画素の出力に妨害を与え、キズノイズの後続隣接画素への波及や飽和領域における色再現性の劣化を招く結果にもなる。   This characteristic results in the output of the amplifier 601 being delayed with respect to the output of the image sensor 600. At this time, the upper limit of the use signal amplitude of the sensor at ISO 200 is 0.5 (near half of the saturation level of the image sensor 150), and the amplification degree by the amplifier 601 is 2a, which is twice that at ISO 100. However, the upper limit of the imaging signal amplitude in the output of the amplifier 601 does not become a, and in reality, the output of the imaging device 600 reaches a saturation level depending on the exposure condition and reaches a maximum exceeding 2a, and the delay due to the slew rate is correspondingly increased. The result is an increase in time. This tendency becomes more prominent as the circuit gain increases as the ISO sensitivity increases, disturbing the output of the succeeding adjacent pixels configured by other color filters, and spreading the scratch noise to the succeeding adjacent pixels and the color reproducibility in the saturation region. It will also result in deterioration of.

本発明の目的は、ISO感度が異なることによるダーク部分やハイライト部分の階調性の変動を防止することである。
本発明の他の目的は、ISO感度に応じて画素のキズを適正に補正することである。
本発明のさらに他の目的は、ISO感度が異なったときの過大信号による隣接画素に対する妨害を防止することである。
An object of the present invention is to prevent fluctuations in gradation in dark portions and highlight portions due to different ISO sensitivities.
Another object of the present invention is to appropriately correct pixel scratches in accordance with ISO sensitivity.
It is still another object of the present invention to prevent adjacent pixels from being disturbed by an excessive signal when the ISO sensitivity is different.

本発明の一観点によれば、被写体の光学像を画像信号に変換する撮像手段と、前記画像信号を増幅する増幅手段と、感度に応じたゲインを前記増幅手段に設定するゲイン設定手段と、前記画像信号に含まれる画素キズを補正するキズ補正手段と、前記画素キズを異なる複数のグループに分けて各画素キズの位置情報とともに属するグループの情報を記憶する記憶手段と、前記感度に応じて前記キズ補正手段による補正対象とするグループを選択し、選択したグループに属する画素キズの位置情報を前記記憶手段から読み出して、読み出した位置情報に基づいて前記キズ補正手段が前記画像信号に含まれる画素キズを補正するように制御する制御手段と、を有し、前記記憶手段に記憶される前記画素キズの位置情報は、各グループにおける画素キズの数が所定数になるように、前記画素キズの大きさに応じて前記画素キズを前記異なる複数のグループに分けて前記記憶手段に記憶されることを特徴とする撮像装置が提供される。 According to one aspect of the present invention, an imaging unit that converts an optical image of a subject into an image signal, an amplification unit that amplifies the image signal, a gain setting unit that sets a gain according to sensitivity in the amplification unit, Scratch correcting means for correcting pixel scratches included in the image signal, storage means for dividing the pixel scratches into different groups and storing information of groups belonging to the pixel scratches together with position information, and according to the sensitivity A group to be corrected by the scratch correction unit is selected, position information of pixel scratches belonging to the selected group is read from the storage unit, and the scratch correction unit is included in the image signal based on the read position information. Control means for correcting so as to correct pixel scratches, and the position information of the pixel scratches stored in the storage means is the pixels in each group According to the size of the pixel scratch, the pixel scratch is divided into a plurality of different groups and stored in the storage unit so that the number of scratches becomes a predetermined number. .

本発明によれば、感度条件によらず、高品質な画像を得ることが出来る。   According to the present invention, a high-quality image can be obtained regardless of sensitivity conditions.

本発明の実施例の全体の構成ブロック図である。1 is an overall configuration block diagram of an embodiment of the present invention. 本実施例の主ルーチンの一部のフローチャートである。It is a flowchart of a part of main routine of a present Example. 本実施例の主ルーチンの一部のフローチャートである。It is a flowchart of a part of main routine of a present Example. 本実施例の主ルーチンの一部のフローチャートである。It is a flowchart of a part of main routine of a present Example. 本実施例の測距・測光処理ルーチンのフローチャートである。3 is a flowchart of a distance measurement / photometry processing routine of the present embodiment. 本実施例の撮影処理ルーチンのフローチャートである。It is a flowchart of the imaging | photography process routine of a present Example. 本実施例のダーク取り込み処理ルーチンのフローチャートである。It is a flowchart of the dark taking-in processing routine of a present Example. 第1の実施例の主要な構成ブロック図である。It is a main block diagram of the first embodiment. 第1の実施例における信号のレベルダイヤグラム図である。It is a level diagram figure of the signal in the 1st example. 第2の実施例における信号のレベルダイヤグラム図である。It is a level diagram figure of the signal in the 2nd example. 第2の実施例における一部のフローチャートである。It is a one part flowchart in a 2nd Example. 第3の実施例の主要な構成ブロック図である。It is a main block diagram of the third embodiment. 第3の実施例における信号のレベルダイヤグラム図である。It is a level diagram figure of the signal in the 3rd example. 従来例の構成ブロック図である。It is a block diagram of a conventional example. 信号のレベルダイヤグラム図である。It is a level diagram of a signal. 信号のレベルダイヤグラム図である。It is a level diagram of a signal.

以下、本発明の実施形態を、実施例に沿って図面を参照しながら説明する。
図1乃至図13は、本発明の実施例の構成および動作フローおよび信号レベルダイヤグラムを示す図である。
図1において、100は画像処理装置の全体図である。12は撮像部14への露光量を制御するためのシャッター、14は光学像を電気信号に変換する撮像部である。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, embodiments of the invention will be described with reference to the accompanying drawings.
1 to 13 are diagrams showing a configuration, an operation flow, and a signal level diagram of an embodiment of the present invention.
In FIG. 1, 100 is an overall view of the image processing apparatus. Reference numeral 12 denotes a shutter for controlling the exposure amount to the imaging unit 14, and reference numeral 14 denotes an imaging unit that converts an optical image into an electrical signal.

レンズ310に入射した光線は、一眼レフ方式によって、絞り312、レンズマウント306及び106、ミラー130、シャッター12を介して導き、光学像として撮像部14上に結像することが出来る。   The light beam incident on the lens 310 can be guided through the diaphragm 312, the lens mounts 306 and 106, the mirror 130, and the shutter 12 by the single lens reflex method, and can be formed on the imaging unit 14 as an optical image.

16は撮像部14のアナログ信号出力をディジタル信号に変換するA/D変換部である。
18は撮像部14、A/D変換部16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。
Reference numeral 16 denotes an A / D conversion unit that converts an analog signal output from the imaging unit 14 into a digital signal.
Reference numeral 18 denotes a timing generation circuit that supplies a clock signal and a control signal to the imaging unit 14, the A / D conversion unit 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.

20は画像処理回路であり、 A/D変換部16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20においては、必要に応じて、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理を行うことが出来る。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D conversion unit 16 or the data from the memory control circuit 22. In the image processing circuit 20, a predetermined calculation process is performed using the captured image data as necessary, and the system control circuit 50 performs exposure control means 40 and distance measurement control means based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash light control) processing can be performed.

さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   Further, the image processing circuit 20 performs predetermined arithmetic processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

なお、本実施例においては、測距手段42及び測光手段46を専用に備える構成としたため、測距手段42及び測光手段46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、上記画像処理回路20を用いたAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行わない構成としても良い。   In the present embodiment, since the distance measuring means 42 and the photometry means 46 are exclusively provided, AF (autofocus) processing, AE (automatic exposure) processing, EF using the distance measuring means 42 and photometry means 46 are used. (Flash dimming) processing may be performed, and AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing using the image processing circuit 20 may not be performed. good.

或いは、測距手段42及び測光手段46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、さらに、上記画像処理回路20を用いたAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行う構成としても良い。   Alternatively, AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing are performed using the distance measuring means 42 and the photometry means 46, and the image processing circuit 20 is used. An AF (autofocus) process, an AE (automatic exposure) process, and an EF (flash dimming) process may be performed.

22はメモリ制御回路であり、A/D変換部16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。   Reference numeral 22 denotes a memory control circuit that controls the A / D conversion unit 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32.

A/D変換部16のデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換部16のデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   The data of the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or the data of the A / D converter 16 is directly passed through the memory control circuit 22. It is.

24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。   Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, and 28 denotes an image display unit composed of a TFT LCD or the like. Display image data written in the image display memory 24 passes through the D / A converter 26. Displayed by the image display unit 28.

画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダー機能を実現することが可能である。また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には画像処理装置100の電力消費を大幅に低減することが出来る。   If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized. Further, the image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the image processing apparatus 100 can be greatly reduced. I can do it.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed. The memory 30 can also be used as a work area for the system control circuit 50.

32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   Reference numeral 32 denotes a compression / decompression circuit that compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.

40は測光手段46からの測光情報に基づいて、絞り312を制御する絞り制御手段340と連携しながら、シャッター12を制御するシャッター制御手段である。   Reference numeral 40 denotes shutter control means for controlling the shutter 12 in cooperation with the aperture control means 340 for controlling the aperture 312 based on photometric information from the photometry means 46.

42はAF(オートフォーカス)処理を行うための測距手段であり、レンズ310に入射した光線を、一眼レフ方式によって、絞り312、レンズマウント306及び106、ミラー130そして不図示の測距用サブミラーを介して、測距手段42に入射させることにより、光学像として結像された画像の合焦状態を測定することが出来る。   Reference numeral 42 denotes distance measuring means for performing AF (autofocus) processing. Light beams incident on the lens 310 are converted into an aperture 312, lens mounts 306 and 106, a mirror 130, and a distance measuring sub mirror (not shown) by a single-lens reflex system. , The in-focus state of the image formed as an optical image can be measured.

46はAE(自動露出)処理を行うための測光手段であり、レンズ310に入射した光線を、一眼レフ方式によって、絞り312、レンズマウント306及び106、ミラー130及び132そして不図示の測光用レンズを介して、測光手段46に入射させることにより、光学像として結像された画像の露出状態を測定することが出来る。   Reference numeral 46 denotes photometric means for performing AE (automatic exposure) processing. Light rays that have entered the lens 310 are converted into an aperture 312, lens mounts 306 and 106, mirrors 130 and 132, and a photometric lens (not shown) by a single-lens reflex system. Then, the exposure state of the image formed as an optical image can be measured.

また、測光手段46は、フラッシュ48と連携することによりEF(フラッシュ調光)処理機能も有するものである。
48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。
The photometry means 46 also has an EF (flash dimming) processing function in cooperation with the flash 48.
A flash 48 has an AF auxiliary light projecting function and a flash light control function.

なお、撮像部14によって撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50がシャッター制御手段40、絞り制御手段340、測距制御手段342に対して制御を行う、ビデオTTL方式を用いて露出制御及びAF(オートフォーカス)制御をすることも可能である。   The system control circuit 50 controls the shutter control unit 40, the aperture control unit 340, and the distance measurement control unit 342 based on the calculation result obtained by calculating the image data captured by the imaging unit 14 by the image processing circuit 20. It is also possible to perform exposure control and AF (autofocus) control using the video TTL method.

さらに、測距手段42による測定結果と、撮像部14によって撮像した画像データを画像処理回路20によって演算した演算結果とを共に用いてAF(オートフォーカス)制御を行っても構わない。   Further, AF (autofocus) control may be performed using both the measurement result by the distance measuring means 42 and the calculation result obtained by calculating the image data captured by the imaging unit 14 by the image processing circuit 20.

そして、測光手段46による測定結果と、撮像部14によって撮像した画像データを画像処理回路20によって演算した演算結果とを共に用いて露出制御を行っても構わない。   The exposure control may be performed using both the measurement result obtained by the photometry unit 46 and the calculation result obtained by calculating the image data captured by the imaging unit 14 by the image processing circuit 20.

50は画像処理装置100全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部であり、画像処理装置100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。   Reference numeral 50 denotes a system control circuit that controls the entire image processing apparatus 100, and reference numeral 52 denotes a memory that stores constants, variables, programs, and the like for operation of the system control circuit 50. Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state or a message using characters, images, sounds, or the like in accordance with execution of a program in the system control circuit 50. One or a plurality of places are provided near the portion where they can be easily seen, and for example, a combination of an LCD, an LED, a sound generation element, and the like is used.

また、表示部54は、その一部の機能が光学ファインダー104内に設置されている。表示部54の表示内容のうち、LCD等に表示するものとしては、例えば、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、レンズユニット300の着脱状態表示、通信I/F動作表示、日付け・時刻表示、外部コンピュータとの接続状態を示す表示、等がある。   In addition, the display unit 54 is partially installed in the optical viewfinder 104. Among the display contents of the display unit 54, what is displayed on the LCD etc. is, for example, single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded images, number of remaining images that can be captured , Shutter speed display, Aperture value display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Clock battery level display, Battery level display, Error display, Multi-digit number information display , Attachment / detachment state display of the recording media 200 and 210, attachment / detachment state display of the lens unit 300, communication I / F operation display, date / time display, display showing a connection state with an external computer, and the like.

また、表示部54の表示内容のうち、光学ファインダー104内に表示するものとしては、例えば、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、シャッタースピード表示、絞り値表示、露出補正表示、記録媒体書き込み動作表示、等がある。   In addition, among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 is, for example, in-focus display, shooting preparation completion display, camera shake warning display, flash charge display, flash charge completion display, shutter speed display, There are an aperture value display, an exposure correction display, a recording medium writing operation display, and the like.

さらに、表示部54の表示内容のうち、LED等に表示するものとしては、例えば、合焦表示、撮影準備完了表示、手振れ警告表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、記録媒体書き込み動作表示、マクロ撮影設定通知表示、二次電池充電状態表示、等がある。   Further, among the display contents of the display unit 54, what is displayed on the LED or the like includes, for example, in-focus display, shooting preparation completion display, camera shake warning display, camera shake warning display, flash charge display, flash charge completion display, recording medium There are a writing operation display, a macro shooting setting notification display, a secondary battery charge state display, and the like.

そして、表示部54の表示内容のうち、ランプ等に表示するものとしては、例えば、セルフタイマー通知ランプ、等がある。このセルフタイマー通知ランプは、AF補助光と共用して用いても良い。   And what is displayed on a lamp etc. among the display contents of the display part 54 includes a self-timer notification lamp, for example. This self-timer notification lamp may be used in common with AF auxiliary light.

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。
60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory, such as an EEPROM.
Reference numerals 60, 62, 64, 66, 68, and 70 are operation means for inputting various operation instructions of the system control circuit 50. Consists of multiple combinations.

ここで、これらの操作手段の具体的な説明を行う。60はモードダイアルスイッチで、自動撮影モード、プログラム撮影モード、シャッター速度優先撮影モード、絞り優先撮影モード、マニュアル撮影モード、焦点深度優先(デプス)撮影モード、ポートレート撮影モード、風景撮影モード、接写撮影モード、スポーツ撮影モード、夜景撮影モード、パノラマ撮影モード等の各機能撮影モードを切り替え設定することが出来る。62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュ調光)処理等の動作開始を指示する。   Here, a specific description of these operating means will be given. Reference numeral 60 denotes a mode dial switch, which is an automatic shooting mode, program shooting mode, shutter speed priority shooting mode, aperture priority shooting mode, manual shooting mode, depth of focus priority (depth) shooting mode, portrait shooting mode, landscape shooting mode, and close-up shooting. Each function shooting mode such as a mode, a sports shooting mode, a night view shooting mode, and a panorama shooting mode can be switched and set. Reference numeral 62 denotes a shutter switch SW1, which is turned ON during operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF (flash light control) processing, and the like. Instruct to start operation.

64はシャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、撮像部12から読み出した信号をA/D変換部16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。   Reference numeral 64 denotes a shutter switch SW2, which is turned on when the operation of a shutter button (not shown) is completed, and an exposure process for writing a signal read from the imaging unit 12 to the memory 30 via the A / D conversion unit 16 and the memory control circuit 22. Development processing using operations in the image processing circuit 20 and the memory control circuit 22, recording processing for reading image data from the memory 30, compression in the compression / decompression circuit 32, and writing the image data to the recording medium 200 or 210. Instructs the start of a series of processing operations.

66は再生スイッチで、撮影モード状態において、撮影した画像をメモリ30或いは記録媒体200或いは210から読み出して画像表示部28によって表示する再生動作の開始を指示する。   Reference numeral 66 denotes a playback switch, which instructs the start of a playback operation in which a shot image is read from the memory 30 or the recording medium 200 or 210 and displayed by the image display unit 28 in the shooting mode state.

68は単写/連写スイッチで、シャッタースイッチSW2を押した場合に1駒の撮影を行って待機状態とする単写モードと、シャッタースイッチSW2を押している間は連続して撮影を行い続ける連写モードとを設定することが出来る。   68 is a single-shot / continuous-shot switch. When the shutter switch SW2 is pressed, the single-shot mode is set to take one frame for standby, and continuous shooting is performed while the shutter switch SW2 is pressed. You can set the mode.

70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の選択及び切り替えを設定する選択/切り替えボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の決定及び実行を設定する決定/実行ボタン、画像表示部28のON/OFFを設定する画像表示ON/OFFスイッチ、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ、JPEG圧縮の圧縮率を選択するため或いは撮像部の信号をそのままディジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチ、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを設定することが出来る再生スイッチ、シャッタースイッチSW1を押したならばオートフォーカス動作を開始し一旦合焦したならばその合焦状態を保ち続けるワンショットAFモードとシャッタースイッチSW1を押している間は連続してオートフォーカス動作を続けるサーボAFモードとを設定することが出来るAFモード設定スイッチ等がある。   70 is an operation unit composed of various buttons, a touch panel, etc., a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus) Button, menu navigation-(minus) button, playback image + (plus) button, playback image-(minus) button, shooting quality selection button, exposure compensation button, date / time setting button, panorama mode shooting and playback Selection / switch button for setting selection and switching of various functions when performing, determination / execution button for setting determination and execution of various functions when performing shooting and playback in panorama mode, etc., ON / OFF of image display unit 28 Image display ON / OFF switch for setting OFF, Quick review for automatically playing back image data taken immediately after shooting -Quick review ON / OFF switch to set the function, compression mode switch to select the CCDRAW mode to select the compression rate of JPEG compression or digitize the image signal as it is and record it on the recording medium, Playback switch that can set each function mode such as playback mode, multi-screen playback / erase mode, PC connection mode, etc.Auto focus operation starts when the shutter switch SW1 is pressed, and once it is in focus There is an AF mode setting switch that can set the one-shot AF mode that keeps the state and the servo AF mode that keeps autofocusing continuously while pressing the shutter switch SW1.

また、上記プラスボタン及びマイナスボタンの各機能は、回転ダイアルスイッチを備えることによって、より軽快に数値や機能を選択することが可能となる。   In addition, the functions of the plus button and the minus button can be selected more easily by providing a rotary dial switch.

72は電源スイッチで、画像処理装置100の電源オン、電源オフの各モードを切り替え設定することが出来る。また、画像処理装置100に接続されたレンズユニット300、外部ストロボ、記録媒体200、210等の各種付属装置の電源オン、電源オフの設定も合わせて切り替え設定することが出来る。   Reference numeral 72 denotes a power switch, which can switch and set the power-on and power-off modes of the image processing apparatus 100. Also, the power on and power off settings of various accessory devices such as the lens unit 300, the external strobe, and the recording media 200 and 210 connected to the image processing apparatus 100 can be switched.

74はリアルタイムクロック回路で、これによりシステム制御回路50は経過時間を計測し、各種のタイマー機能を実現している。   Reference numeral 74 denotes a real time clock circuit, whereby the system control circuit 50 measures the elapsed time and realizes various timer functions.

80は電源制御手段で、電池検出回路、DC-DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   80 is a power control means, which is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, etc., and detects the presence / absence of a battery, the type of battery, the remaining battery level, and the detection result In addition, the DC-DC converter is controlled based on an instruction from the system control circuit 50, and a necessary voltage is supplied to each part including the recording medium for a necessary period.

82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源手段である。   Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a power source means including a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, or an AC adapter.

90及び94はメモリカードやハードディスク等の記録媒体とのインタフェース、92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタ、98はコネクタ92及び/或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知手段である。   90 and 94 are interfaces with a recording medium such as a memory card or a hard disk, 92 and 96 are connectors for connecting to a recording medium such as a memory card or a hard disk, and 98 is a recording medium 200 or 210 attached to the connector 92 and / or 96. It is a recording medium attachment / detachment detecting means for detecting whether or not the recording medium is being used.

なお、本実施例では記録媒体を取り付けるインターフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインターフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインターフェース及びコネクタを組み合わせて備える構成としても構わない。   In this embodiment, it is assumed that there are two interfaces and connectors for attaching the recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems and any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard.

インターフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。   The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like that conforms to a standard.

さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ)カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことが出来る。   In addition, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using PCMCIA cards, CF (compact flash) cards, or other standards, LAN cards, modem cards, USB cards, IEEE1394 cards, P1284 cards By connecting various communication cards such as SCSI cards, communication cards such as PHS, etc., image data and management information attached to the image data can be transferred to and from other computers and peripheral devices such as printers. I can do it.

104は光学ファインダであり、レンズ310に入射した光線を、一眼レフ方式によって、絞り312、レンズマウント306及び106、ミラー130及び132を介して導き、光学像として結像表示することが出来る。これにより、画像表示部28による電子ファインダー機能を使用すること無しに、光学ファインダ104のみを用いて撮影を行うことが可能である。また、光学ファインダー104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などが設置されている。   Reference numeral 104 denotes an optical viewfinder, which can guide and display a light beam incident on the lens 310 through an aperture 312, lens mounts 306 and 106, and mirrors 130 and 132 as an optical image by a single lens reflex system. Accordingly, it is possible to perform shooting using only the optical viewfinder 104 without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.

110は通信手段で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication.

112は通信手段110により画像処理装置100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。   Reference numeral 112 denotes a connector for connecting the image processing apparatus 100 to another device by the communication unit 110 or an antenna in the case of wireless communication.

120は、レンズマウント106内において、画像処理装置100をレンズユニット300と接続するためのインタフェース、122は画像処理装置100をレンズユニット300と電気的に接続するコネクタ、124はレンズマウント106及び或いはコネクタ122にレンズユニット300が装着されているか否かを検知するレンズ着脱検知手段である。   Reference numeral 120 denotes an interface for connecting the image processing apparatus 100 to the lens unit 300 in the lens mount 106, 122 denotes a connector for electrically connecting the image processing apparatus 100 to the lens unit 300, and 124 denotes the lens mount 106 and / or the connector. Reference numeral 122 denotes lens attachment / detachment detection means for detecting whether or not the lens unit 300 is attached.

コネクタ122は、画像処理装置100とレンズユニット300との間で制御信号、状態信号、データ信号等を伝え合うと共に、各種電圧の電流を供給する機能も備えている。また、コネクタ122は電気通信のみならず、光通信、音声通信等を伝達する構成としても良い。   The connector 122 communicates control signals, status signals, data signals, and the like between the image processing apparatus 100 and the lens unit 300, and also has a function of supplying currents of various voltages. The connector 122 may be configured to transmit not only electrical communication but also optical communication, voice communication, and the like.

130、132はミラーで、レンズ310に入射した光線を、一眼レフ方式によって光学ファインダ104に導くことが出来る。なお、ミラー132は、クイックリターンミラーの構成としても、ハーフミラーの構成としても、どちらでも構わない。   Reference numerals 130 and 132 denote mirrors that can guide the light beam incident on the lens 310 to the optical viewfinder 104 by a single-lens reflex system. The mirror 132 may be either a quick return mirror or a half mirror.

200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、画像処理装置100とのインタフェース204、画像処理装置100と接続を行うコネクタ206を備えている。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the image processing apparatus 100, and a connector 206 for connecting to the image processing apparatus 100.

210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、画像処理装置100とのインタフェース214、画像処理装置100と接続を行うコネクタ216を備えている。   Reference numeral 210 denotes a recording medium such as a memory card or a hard disk. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, and the like, an interface 214 with the image processing apparatus 100, and a connector 216 that connects to the image processing apparatus 100.

300は交換レンズタイプのレンズユニットである。306は、レンズユニット300を画像処理装置100と機械的に結合するレンズマウントである。レンズマウント306内には、レンズユニット300を画像処理装置100と電気的に接続する各種機能が含まれている。   Reference numeral 300 denotes an interchangeable lens type lens unit. Reference numeral 306 denotes a lens mount that mechanically couples the lens unit 300 to the image processing apparatus 100. The lens mount 306 includes various functions for electrically connecting the lens unit 300 to the image processing apparatus 100.

310は撮影レンズ、312は絞りである。320は、レンズマウント306内において、レンズユニット300を画像処理装置100と接続するためのインタフェース、322はレンズユニット300を画像処理装置100と電気的に接続するコネクタである。   Reference numeral 310 denotes a photographing lens, and 312 denotes an aperture. Reference numeral 320 denotes an interface for connecting the lens unit 300 to the image processing apparatus 100 in the lens mount 306, and reference numeral 322 denotes a connector for electrically connecting the lens unit 300 to the image processing apparatus 100.

コネクタ322は、画像処理装置100とレンズユニット300との間で制御信号、状態信号、データ信号等を伝え合うと共に、各種電圧の電流を供給される或いは供給する機能も備えている。また、コネクタ322は電気通信のみならず、光通信、音声通信等を伝達する構成としても良い。   The connector 322 transmits a control signal, a status signal, a data signal, and the like between the image processing apparatus 100 and the lens unit 300, and also has a function of supplying or supplying currents of various voltages. The connector 322 may be configured to transmit not only electrical communication but also optical communication, voice communication, and the like.

340は測光手段46からの測光情報に基づいて、シャッター12を制御するシャッター制御手段40と連携しながら、絞り312を制御する絞り制御手段である。   Reference numeral 340 denotes aperture control means for controlling the aperture 312 in cooperation with the shutter control means 40 for controlling the shutter 12 based on photometric information from the photometry means 46.

342は撮影レンズ310のフォーカシングを制御する測距制御手段、344は撮影レンズ310のズーミングを制御するズーム制御手段である。   Reference numeral 342 denotes distance measurement control means for controlling the focusing of the photographing lens 310, and reference numeral 344 denotes zoom control means for controlling zooming of the photographing lens 310.

350はレンズユニット300全体を制御するレンズシステム制御回路である。レンズシステム制御回路350は、動作用の定数、変数、プログラム等を記憶するメモリやレンズユニット300固有の番号等の識別情報、管理情報、開放絞り値や最小絞り値、焦点距離等の機能情報、現在や過去の各設定値などを保持する不揮発メモリの機能も備えている。   A lens system control circuit 350 controls the entire lens unit 300. The lens system control circuit 350 includes a memory for storing operation constants, variables, programs and the like, identification information such as a number unique to the lens unit 300, management information, function information such as an open aperture value, a minimum aperture value, a focal length, It also has a non-volatile memory function for holding current and past set values.

図2及至図4は本発明の実施例の画像処理装置100の主ルーチンのフローチャートを示す。
図2及至図4を用いて、画像処理装置100の動作を説明する。電池交換等の電源投入により、システム制御回路50はフラグや制御変数等を初期化し、画像処理装置100の各部において必要な所定の初期設定を行う(S101)。
2 to 4 show flowcharts of the main routine of the image processing apparatus 100 according to the embodiment of the present invention.
The operation of the image processing apparatus 100 will be described with reference to FIGS. Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like, and performs predetermined initial settings necessary for each unit of the image processing apparatus 100 (S101).

システム制御回路50は、電源スイッチ66の設定位置を判断し、電源スイッチ66が電源OFFに設定されていたならば(S102)、各表示部の表示を終了状態に変更し、フラグや制御変数等を含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御手段80により画像表示部28を含む画像処理装置100各部の不要な電源を遮断する等の所定の終了処理を行った後(S103)、S102に戻る。   The system control circuit 50 determines the setting position of the power switch 66, and if the power switch 66 is set to power OFF (S102), the display of each display unit is changed to the end state, and a flag, a control variable, etc. Required parameters, setting values, and setting modes including the image display unit 28 are recorded in the non-volatile memory 56, and a predetermined end process such as shutting off unnecessary power sources of the respective units of the image processing apparatus 100 including the image display unit 28 by the power control unit 80 is performed. After that (S103), the process returns to S102.

電源スイッチ66が電源ONに設定されていたならば(S102)、システム制御回路50は、電源制御手段80により電池等により構成される電源86の残容量や動作情況が画像処理装置100の動作に問題があるか否かを判断し(S104)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S105)、S102に戻る。   If the power switch 66 is set to ON (S102), the system control circuit 50 determines that the remaining capacity and the operation status of the power supply 86 constituted by a battery or the like by the power control means 80 are the operations of the image processing apparatus 100. It is determined whether or not there is a problem (S104). If there is a problem, a predetermined warning is displayed by an image or sound using the display unit 54 (S105), and the process returns to S102.

電源86に問題が無いならば(S104)、システム制御回路50はモードダイアル60の設定位置を判断し、モードダイアル60が撮影モードに設定されていたならば(S106)、S108に進む。   If there is no problem with the power supply 86 (S104), the system control circuit 50 determines the setting position of the mode dial 60. If the mode dial 60 is set to the photographing mode (S106), the process proceeds to S108.

モードダイアル60がその他のモードに設定されていたならば(S106)、システム制御回路50は選択されたモードに応じた処理を実行し(S107)、処理を終えたならばS102に戻る。   If the mode dial 60 has been set to another mode (S106), the system control circuit 50 executes processing corresponding to the selected mode (S107), and returns to S102 when the processing is completed.

システム制御回路50は、記録媒体200或いは210が装着されているかどうかの判断、記録媒体200或いは210に記録された画像データの管理情報の取得、そして、記録媒体200或いは210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かの判断を行い(S108)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S105)、S102に戻る。   The system control circuit 50 determines whether or not the recording medium 200 or 210 is mounted, acquires management information of image data recorded on the recording medium 200 or 210, and determines whether the operation state of the recording medium 200 or 210 is image processing. It is determined whether or not there is a problem in the operation of the apparatus 100, particularly the recording / reproducing operation of the image data with respect to the recording medium (S108), and if there is a problem, a predetermined warning is displayed by an image or sound using the display unit 54. After performing (S105), it returns to S102.

記録媒体200或いは210が装着されているかどうかの判断、記録媒体200或いは210に記録された画像データの管理情報の取得、そして、記録媒体200或いは210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かの判断を行った結果(S108)、問題が無いならば、S109に進む。   Determination of whether or not the recording medium 200 or 210 is mounted, acquisition of management information of image data recorded on the recording medium 200 or 210, and the operation state of the recording medium 200 or 210 are the operations of the image processing apparatus 100, particularly As a result of determining whether there is a problem in the recording / reproducing operation of the image data with respect to the recording medium (S108), if there is no problem, the process proceeds to S109.

システム制御回路50は、単写撮影/連写撮影を設定する単写/連写スイッチ68の設定状態を調べ(S109)、単写撮影が選択されていたならば単写/連写フラグを単写に設定し(S110)、連写撮影が選択されていたならば単写/連写フラグを連写に設定し(S111)、フラグの設定を終えたならばS113に進む。   The system control circuit 50 checks the setting state of the single / continuous shooting switch 68 for setting single shooting / continuous shooting (S109). If single shooting is selected, the single / continuous shooting flag is set. If the continuous shooting is selected, the single / continuous shooting flag is set to continuous shooting (S111). If the flag setting is completed, the process proceeds to S113.

単写/連写スイッチ68によれば、シャッタースイッチSW2を押した場合に1駒の撮影を行って待機状態とする単写モードと、シャッタースイッチSW2を押している間は連続して撮影を行い続ける連写モードとを任意に切り替えて設定切り替えすることが出来る。   According to the single-shot / continuous-shot switch 68, when the shutter switch SW2 is pressed, the single-shot mode in which one frame is shot to enter a standby state, and continuous shooting is performed while the shutter switch SW2 is pressed. It is possible to change the setting by arbitrarily switching the copy mode.

なお、単写/連写フラグの状態は、システム制御回路50の内部メモリ或いはメモリ52に記憶しS113に進む。   The state of the single / continuous shooting flag is stored in the internal memory of the system control circuit 50 or the memory 52, and the process proceeds to S113.

システム制御回路50は表示部54を用いて画像や音声により画像処理装置100の各種設定状態の表示を行う(S113)。なお、画像表示部28の画像表示がONであったならば、画像表示部28も用いて画像や音声により画像処理装置100の各種設定状態の表示を行う。   The system control circuit 50 displays various setting states of the image processing apparatus 100 using images and sounds using the display unit 54 (S113). If the image display of the image display unit 28 is ON, the image display unit 28 is also used to display various setting states of the image processing apparatus 100 using images and sounds.

そして、 シャッタースイッチSW1が押されていないならば(S121)、S102に戻る。   If the shutter switch SW1 is not pressed (S121), the process returns to S102.

シャッタースイッチSW1が押されたならば(S121)、システム制御回路50は、測距処理を行って撮影レンズ10の焦点を被写体に合わせ、測光処理を行って絞り値及びシャッター時間を決定する、測距・測光処理を行い(S122)、S124に進む。測光処理に於いて、必要であればフラッシュの設定も行う。この測距・測光処理S122の詳細は図5を用いて後述する。   If the shutter switch SW1 is pressed (S121), the system control circuit 50 performs a distance measurement process to focus the photographing lens 10 on the subject, performs a photometry process, and determines an aperture value and a shutter time. Distance / photometry processing is performed (S122), and the process proceeds to S124. In the photometric process, the flash is set if necessary. Details of the distance measurement / photometry processing S122 will be described later with reference to FIG.

その後に、システム制御回路50は、シャッター12を閉じた状態で撮像素子14の暗電流等のノイズ成分を予め設定された時間蓄積し、蓄積を終えたノイズ画像信号を読み出すダーク取り込み処理を行い(S124)、S125に進む。   Thereafter, the system control circuit 50 performs a dark capturing process of accumulating noise components such as dark current of the image sensor 14 for a preset time with the shutter 12 closed, and reading out the noise image signal after the accumulation ( S124), the process proceeds to S125.

このダーク取り込み処理で取り込んだダーク画像データを用いて補正演算処理を行うことにより、撮像素子14の発生する暗電流ノイズや撮像素子14固有のキズによる画素欠損等の画質劣化に関して、撮影した画像データを補正することが出来る。このダーク取り込み処理S124の詳細は図7を用いて後述する。   By performing the correction calculation process using the dark image data captured in the dark capturing process, the captured image data is related to image quality degradation such as dark current noise generated by the image sensor 14 and pixel defects due to scratches unique to the image sensor 14. Can be corrected. Details of the dark capturing process S124 will be described later with reference to FIG.

そして、シャッタースイッチSW2が押されていないならば(S125)、シャッタースイッチSW1が放されるまで(S126)、現在の処理を繰り返す。シャッタースイッチSW1が放されたならば(S126)、S502に進む。   If the shutter switch SW2 is not pressed (S125), the current process is repeated until the shutter switch SW1 is released (S126). If the shutter switch SW1 is released (S126), the process proceeds to S502.

シャッタースイッチSW2が押されたならば(S125)、システム制御回路50は、撮影した画像データを記憶可能な画像記憶バッファ領域がメモリ30にあるかどうかを判断し(S127)、メモリ30の画像記憶バッファ領域内に新たな画像データを記憶可能な領域が無いならば、表示部54を用いて画像や音声により所定の警告表示を行った後に(S128)、S502に進む。   If the shutter switch SW2 is pressed (S125), the system control circuit 50 determines whether there is an image storage buffer area in the memory 30 that can store the captured image data (S127), and stores the image in the memory 30. If there is no area where new image data can be stored in the buffer area, a predetermined warning is displayed with an image or sound using the display unit 54 (S128), and the process proceeds to S502.

例えば、メモリ30の画像記憶バッファ領域内に記憶可能な最大枚数の連写撮影を行った直後で、メモリ30から読み出して記憶媒体200或いは210に書き込むべき最初の画像がまだ記録媒体200或いは210に未記録な状態であり、まだ1枚の空き領域もメモリ30の画像記憶バッファ領域上に確保出来ない状態である場合等が、この状態の一例である。   For example, immediately after performing the maximum number of continuous shots that can be stored in the image storage buffer area of the memory 30, the first image to be read from the memory 30 and written to the storage medium 200 or 210 is still in the recording medium 200 or 210. An example of this state is an unrecorded state where one empty area cannot be secured in the image storage buffer area of the memory 30 yet.

なお、撮影した画像データを圧縮処理してからメモリ30の画像記憶バッファ領域に記憶する場合は、圧縮した後の画像データ量が圧縮モードの設定に応じて異なることを考慮して、記憶可能な領域がメモリ30の画像記憶バッファ領域上にあるかどうかをS127において判断することになる。   When the captured image data is compressed and stored in the image storage buffer area of the memory 30, it can be stored in consideration of the fact that the amount of compressed image data varies depending on the compression mode setting. Whether or not the area is on the image storage buffer area of the memory 30 is determined in S127.

メモリ30に撮影した画像データを記憶可能な画像記憶バッファ領域があるならば(S127)、システム制御回路50は、撮像して所定時間蓄積した撮像信号を撮像部12から読み出して、A/D変換部16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換部から直接メモリ制御回路22を介して、メモリ30の所定領域に撮影した画像データを書き込む撮影処理を実行する(S129)。この撮影処理S129の詳細は図6を用いて後述する。   If there is an image storage buffer area capable of storing the image data captured in the memory 30 (S127), the system control circuit 50 reads out the imaged signal that has been imaged and accumulated for a predetermined time from the imaging unit 12, and performs A / D conversion. The photographing process of writing the image data photographed in a predetermined area of the memory 30 through the unit 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter through the memory control circuit 22 is executed ( S129). Details of the photographing process S129 will be described later with reference to FIG.

撮影処理S129を終えたならば、システム制御回路50は、メモリ30の所定領域へ書き込まれた画像データの一部をメモリ制御回路22を介して読み出して、現像処理を行うために必要なWB(ホワイトバランス)積分演算処理、OB(オプティカルブラック)積分演算処理を行い、演算結果をシステム制御回路50の内部メモリ或いはメモリ52に記憶する。   When the photographing process S129 is completed, the system control circuit 50 reads a part of the image data written in the predetermined area of the memory 30 through the memory control circuit 22 and performs WB (necessary for performing the development process. White balance) integration calculation processing and OB (optical black) integration calculation processing are performed, and the calculation result is stored in the internal memory or the memory 52 of the system control circuit 50.

そして、システム制御回路50は、メモリ制御回路22そして必要に応じて画像処理回路20を用いて、メモリ30の所定領域に書き込まれた撮影画像データを読み出して、システム制御回路50の内部メモリ或いはメモリ52に記憶した演算結果を用いて、AWB(オートホワイトバランス)処理、ガンマ変換処理、色変換処理を含む各種現像処理を行う(S132)。   The system control circuit 50 reads the captured image data written in a predetermined area of the memory 30 using the memory control circuit 22 and, if necessary, the image processing circuit 20, and stores the internal memory or memory of the system control circuit 50. Various development processes including an AWB (auto white balance) process, a gamma conversion process, and a color conversion process are performed using the calculation result stored in 52 (S132).

さらに、現像処理においては、ダーク取り込み処理において取り込んだダーク画像データを用いて減算処理を行うことにより、撮像部14の暗電流ノイズ等を打ち消すダーク補正演算処理も併せて行う。   Further, in the development processing, dark correction calculation processing for canceling dark current noise and the like of the imaging unit 14 is also performed by performing subtraction processing using the dark image data captured in the dark capturing processing.

そして、システム制御回路50は、メモリ30の所定領域に書き込まれた画像データを読み出して、設定したモードに応じた画像圧縮処理を圧縮・伸長回路32により行い(S133)、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みを行う。   Then, the system control circuit 50 reads the image data written in the predetermined area of the memory 30 and performs the image compression processing according to the set mode by the compression / decompression circuit 32 (S133), and the image storage buffer of the memory 30 Image data that has been photographed and completed a series of processing is written in the empty image portion of the area.

一連の撮影の実行に伴い、システム制御回路50は、メモリ30の画像記憶バッファ領域に記憶した画像データを読み出して、インタフェース90或いは94、コネクタ92或いは96を介して、メモリカードやコンパクトフラッシュカード等の記録媒体200或いは210へ書き込みを行う記録処理を開始する(S134)。   Along with execution of a series of photographing, the system control circuit 50 reads out the image data stored in the image storage buffer area of the memory 30 and uses a memory card, a compact flash card, or the like via the interface 90 or 94 and the connector 92 or 96. The recording process for writing to the recording medium 200 or 210 is started (S134).

この記録開始処理は、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みが新たに行われる度に、その画像データに対して実行される。   This recording start process is performed on the image data every time new image data that has been shot and finished a series of processes is newly written in the empty image portion of the image storage buffer area of the memory 30.

なお、記録媒体200或いは210へ画像データの書き込みを行っている間、書き込み動作中であることを明示するために、表示部54において例えばLEDを点滅させる等の記録媒体書き込み動作表示を行う。   Note that while writing image data to the recording medium 200 or 210, in order to clearly indicate that the writing operation is being performed, the display unit 54 performs a recording medium writing operation display such as blinking an LED.

システム制御回路50は、シャッタースイッチSW1が押されているかどうかを判断する(S135)。   The system control circuit 50 determines whether or not the shutter switch SW1 is pressed (S135).

シャッタースイッチSW1が放された状態であったならば(S135)、S102に戻る。シャッタースイッチSW1が押された状態であったならば(S135)、システム制御回路50の内部メモリ或いはメモリ52に記憶される単写/連写フラグの状態を判断し(S136)、単写が設定されていたならば、S135に戻り、SW1が放されるまで現在の処理を繰り返す。   If the shutter switch SW1 has been released (S135), the process returns to S102. If the shutter switch SW1 has been pressed (S135), the state of the single / continuous shooting flag stored in the internal memory of the system control circuit 50 or the memory 52 is determined (S136), and single shooting is set. If so, the process returns to S135 and the current process is repeated until SW1 is released.

連写が設定されていたならば(S136)、連続して撮影を行うためにS125に戻り、次の撮影を行う。   If continuous shooting has been set (S136), the flow returns to S125 to perform continuous shooting, and the next shooting is performed.

図5は、図3のS122における測距・測光処理の詳細なフローチャートを示す。なお、測距・測光処理においては、システム制御回路50と絞り制御手段340或いは測距制御手段342との間の各種信号のやり取りは、インタフェース120、コネクタ122、コネクタ322、インタフェース320、レンズ制御手段350を介して行われる。   FIG. 5 shows a detailed flowchart of the distance measurement / photometry process in S122 of FIG. In the distance measurement / photometry processing, the exchange of various signals between the system control circuit 50 and the aperture control means 340 or the distance measurement control means 342 is performed by the interface 120, the connector 122, the connector 322, the interface 320, and the lens control means. 350.

システム制御回路50は、撮像部14、測距手段42及び測距制御手段342を用いて、AF(オートフォーカス)処理を開始する(S201)。   The system control circuit 50 starts an AF (autofocus) process using the imaging unit 14, the distance measurement means 42, and the distance measurement control means 342 (S201).

システム制御回路50は、レンズ310に入射した光線を、絞り312、レンズマウント306及び106、ミラー130、不図示の測距用サブミラーを介して、測距手段42に入射させることにより、光学像として結像された画像の合焦状態を判断し、測距(AF)が合焦と判断されるまで(S203)、測距制御手段342を用いてレンズ310を駆動しながら、測距手段42を用いて合焦状態を検出するAF制御を実行する(S202)。   The system control circuit 50 causes the light beam incident on the lens 310 to enter the distance measuring means 42 through the stop 312, the lens mounts 306 and 106, the mirror 130, and the distance measuring sub mirror (not shown), thereby forming an optical image. The focus state of the formed image is determined, and the distance measuring means 42 is operated while driving the lens 310 using the distance control means 342 until the distance measurement (AF) is determined to be in focus (S203). The AF control for detecting the in-focus state is executed (S202).

測距(AF)が合焦と判断したならば(S203)、システム制御回路50は、撮影画面内の複数の測距点の中から合焦した測距点を決定し、決定した測距点データと共に測距データ及び/或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶しS205に進む。   If distance measurement (AF) is determined to be in focus (S203), the system control circuit 50 determines a focused distance point from a plurality of distance measurement points on the shooting screen, and the determined distance measurement point. Ranging data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52 together with the data, and the process proceeds to S205.

続いて、システム制御回路50は、測光手段46を用いて、AE(自動露出)処理を開始する(S205)。   Subsequently, the system control circuit 50 starts an AE (automatic exposure) process using the photometry means 46 (S205).

システム制御回路50は、レンズ310に入射した光線を、絞り312、レンズマウント306及び106、ミラー130及び132そして不図示の測光用レンズを介して、測光手段46に入射させることにより、光学像として結像された画像の露出状態を測定し、露出(AE)が適正と判断されるまで(S206)、露光制御手段40を用いて測光処理を行う(S206)。   The system control circuit 50 causes the light beam incident on the lens 310 to enter the photometric means 46 through the stop 312, the lens mounts 306 and 106, the mirrors 130 and 132, and a photometric lens (not shown), thereby forming an optical image. The exposure state of the formed image is measured, and photometric processing is performed using the exposure control means 40 (S206) until the exposure (AE) is determined to be appropriate (S206).

露出(AE)が適正と判断したならば(S207)、システム制御回路50は、測光データ及び或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶し、S208に進む。   If it is determined that the exposure (AE) is appropriate (S207), the system control circuit 50 stores the photometric data and / or the setting parameters in the internal memory or the memory 52 of the system control circuit 50, and proceeds to S208.

なお、測光処理S206で検出した露出(AE)結果と、モードダイアル60によって設定された撮影モードに応じて、システム制御回路50は、絞り値(Av値)、シャッター速度(Tv値)を決定する。   The system control circuit 50 determines the aperture value (Av value) and the shutter speed (Tv value) according to the exposure (AE) result detected in the photometric process S206 and the shooting mode set by the mode dial 60. .

そして、ここで決定したシャッター速度(Tv値)に応じて、システム制御回路50は、撮像部14の電荷蓄積時間を決定し、等しい電荷蓄積時間で撮影処理及びダーク取り込み処理をそれぞれ行う。   Then, in accordance with the shutter speed (Tv value) determined here, the system control circuit 50 determines the charge accumulation time of the imaging unit 14, and performs the photographing process and the dark capturing process with the same charge accumulation time.

測光処理S206で得られた測定データにより、システム制御回路50はフラッシュが必要か否かを判断し(S208)、フラッシュが必要ならばフラッシュフラグをセットし、フラッシュ48の充電が完了するまで(S210)、フラッシュ48を充電する(S209)。   Based on the measurement data obtained in the photometric process S206, the system control circuit 50 determines whether or not a flash is necessary (S208), sets a flash flag if the flash is necessary, and until the flash 48 is completely charged (S210). ) And charge the flash 48 (S209).

フラッシュ48の充電が完了したならば(S210)、測距・測光処理ルーチンS122を終了する。   When the charging of the flash 48 is completed (S210), the distance measurement / photometry processing routine S122 is terminated.

図6は、図3のS129における撮影処理の詳細なフローチャートを示す。なお、撮影処理においては、システム制御回路50と絞り制御手段340或いは測距制御手段342との間の各種信号のやり取りは、インタフェース120、コネクタ122、コネクタ322、インタフェース320、レンズ制御手段350を介して行われる。   FIG. 6 shows a detailed flowchart of the photographing process in S129 of FIG. In the photographing process, various signals are exchanged between the system control circuit 50 and the aperture control unit 340 or the distance measurement control unit 342 via the interface 120, the connector 122, the connector 322, the interface 320, and the lens control unit 350. Done.

システム制御回路50は、ミラー130を不図示のミラー駆動手段によってミラーアップ位置に移動すると共に(S301)、システム制御回路50の内部メモリ或いはメモリ52に記憶される測光データに従い、絞り制御手段340によって絞り312を所定の絞り値まで駆動する(S302)。   The system control circuit 50 moves the mirror 130 to the mirror-up position by a mirror driving unit (not shown) (S301), and the aperture control unit 340 performs the photometry data stored in the internal memory or the memory 52 of the system control circuit 50. The diaphragm 312 is driven to a predetermined diaphragm value (S302).

システム制御回路50は、撮像部14の電荷クリア動作を行った後に(S303)、撮像部14の電荷蓄積を開始した後(S304)、シャッター制御手段40によって、シャッター12を開き(S305)、撮像部14の露光を開始する(S306)。   The system control circuit 50 performs the charge clear operation of the imaging unit 14 (S303), starts the charge accumulation of the imaging unit 14 (S304), opens the shutter 12 by the shutter control unit 40 (S305), and performs imaging. The exposure of the unit 14 is started (S306).

ここで、フラッシュ・フラグによりフラッシュ48が必要か否かを判断し(S307)、必要な場合はフラッシュを発光させる(S308)。   Here, it is determined whether or not the flash 48 is necessary based on the flash flag (S307), and if necessary, the flash is emitted (S308).

システム制御回路50は、測光データに従って撮像部14の露光終了を待ち(S309)、シャッター制御手段40によって、シャッター12を閉じ(S310)、撮像部14の露光を終了する。   The system control circuit 50 waits for the exposure of the imaging unit 14 to end according to the photometric data (S309), closes the shutter 12 by the shutter control means 40 (S310), and ends the exposure of the imaging unit 14.

システム制御回路50は、絞り制御手段340によって絞り312を開放の絞り値まで駆動すると共に(S311)、ミラー130を不図示のミラー駆動手段によってミラーダウン位置に移動する(S312)。   The system control circuit 50 drives the diaphragm 312 to the open diaphragm value by the diaphragm control means 340 (S311), and moves the mirror 130 to the mirror down position by the mirror driving means (not shown) (S312).

設定した電荷蓄積時間が経過したならば(S313)、システム制御回路50は、撮像部14の電荷蓄積を終了した後(S314)、撮像部14から電荷信号を読み出し、A/D変換部16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換部16から直接メモリ制御回路22を介して、メモリ30の所定領域への撮影画像データを書き込む(S315)。
一連の処理を終えたならば、撮影処理ルーチンS129を終了する。
If the set charge accumulation time has elapsed (S313), the system control circuit 50 reads out the charge signal from the imaging unit 14 after completing the charge accumulation in the imaging unit 14 (S314), and the A / D conversion unit 16, The photographed image data is written to a predetermined area of the memory 30 via the image processing circuit 20, the memory control circuit 22, or directly from the A / D conversion unit 16 via the memory control circuit 22 (S315).
When the series of processing is finished, the photographing processing routine S129 is finished.

図7は、図2のS112及び図3のS124におけるダーク取り込み処理の詳細なフローチャートを示す。システム制御回路50は、撮像部14の電荷クリア動作を行った後に(S401)、シャッター12が閉じた状態で、撮像部14の電荷蓄積を開始する(S402)。   FIG. 7 shows a detailed flowchart of the dark capturing process in S112 of FIG. 2 and S124 of FIG. After performing the charge clear operation of the imaging unit 14 (S401), the system control circuit 50 starts charge accumulation in the imaging unit 14 with the shutter 12 closed (S402).

設定した所定の電荷蓄積時間が経過したならば(S403)、システム制御回路50は、撮像部14の電荷蓄積を終了した後(S404)、撮像部14から電荷信号を読み出し、A/D変換部16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換部16から直接メモリ制御回路22を介して、メモリ30の所定領域への画像データ(ダーク画像データ)を書き込む(S405)。   When the set predetermined charge accumulation time has elapsed (S403), the system control circuit 50 ends the charge accumulation of the image pickup unit 14 (S404), and then reads out the charge signal from the image pickup unit 14, and the A / D conversion unit. 16, the image data (dark image data) is written to a predetermined area of the memory 30 via the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22 (S405). ).

このダーク取り込みデータを用いて現像処理を行うことにより、撮像部14の発生する暗電流ノイズや撮像部14固有のキズによる画素欠損等の画質劣化に関して、撮影した画像データを補正することが出来る。   By performing development processing using this dark capture data, it is possible to correct the captured image data with respect to image quality degradation such as dark current noise generated by the imaging unit 14 and pixel defects due to scratches specific to the imaging unit 14.

なお、このダーク画像データは、新たに測距・測光処理が行われるか、画像処理装置100の電源がOFFされるまで、メモリ30の所定領域に保持される。   The dark image data is held in a predetermined area of the memory 30 until a new distance measurement / photometry process is performed or the image processing apparatus 100 is turned off.

そして、このダーク画像データは、この後、撮影処理が実行されて、そこで、撮影した画像データを撮像部14より読み出して、現像処理を行う際に用いられる。   The dark image data is then subjected to a photographing process. The dark image data is used when the photographed image data is read from the imaging unit 14 and the development process is performed.

或いは、先に撮影処理が実行されて、撮影した画像データを撮像部14より読み出してメモリ30に書き込んである状態で、このダーク画像データを用いて現像処理を行う際に用いられる。
そして、ダーク取り込み処理ルーチンS124を終了する。
Alternatively, the image capturing process is executed first, and the captured image data is read from the image capturing unit 14 and written in the memory 30, and is used when the developing process is performed using the dark image data.
Then, the dark capturing process routine S124 is terminated.

(第1の実施例)
図8は、画像処理装置100における撮像部14およびA/D変換部16を含む撮像装置ユニット15の内部について、より詳細な構成を示したブロック図であり、本実施例の主要な働きをなす部分である。
(First embodiment)
FIG. 8 is a block diagram showing a more detailed configuration of the inside of the image pickup apparatus unit 15 including the image pickup section 14 and the A / D conversion section 16 in the image processing apparatus 100, and plays a main role in this embodiment. Part.

図8において、400は撮像素子でありCCDなどの光電変換デバイスである。401は撮像素子400の出力信号の振幅を増幅する増幅器であり、402は増幅器401の増幅出力に所定の直流電圧を付加するオフセット加算器、405はオフセット加算器402のアナログ撮像出力をデジタル信号に変換するA/D変換器である。408は、オフセット加算器402およびA/D変換405に対して複数の直流電圧を供給する多チャンネルのD/A変換器であり、各直流電圧値は、図1で示すシステム制御部50よりタイミング発生部18を介して供給される制御バス406によって制御される。   In FIG. 8, reference numeral 400 denotes an image sensor, which is a photoelectric conversion device such as a CCD. 401 is an amplifier that amplifies the amplitude of the output signal of the image sensor 400, 402 is an offset adder that adds a predetermined DC voltage to the amplified output of the amplifier 401, and 405 is an analog image output of the offset adder 402 that is converted into a digital signal. It is an A / D converter for conversion. Reference numeral 408 denotes a multi-channel D / A converter that supplies a plurality of DC voltages to the offset adder 402 and the A / D converter 405. Each DC voltage value is timed from the system controller 50 shown in FIG. It is controlled by a control bus 406 supplied via the generator 18.

D/A変換器408の出力の一つのチャンネル出力407は、オフセット加算器402に供給されており、これによりA/D変換405に供給される撮像信号の直流電圧が切り換えられる。D/A変換器408の出力のその他のチャンネルからは、A/D変換405のアナログ入力レンジを決定するボトム電圧409とトップ電圧410が出力されている。   One channel output 407 of the output of the D / A converter 408 is supplied to the offset adder 402, whereby the DC voltage of the imaging signal supplied to the A / D converter 405 is switched. From the other channels of the output of the D / A converter 408, a bottom voltage 409 and a top voltage 410 that determine the analog input range of the A / D conversion 405 are output.

そして、図1に示されたタイミング発生部18より撮像素子400、撮像装置ユニット15の増幅器401およびD/A変換器408対して供給された制御バス406には、撮像素子400において露光・読み出しなどを制御するための各種駆動パルスや、増幅器401のゲインを複数の所定の値に切り換えるための状態制御信号や、D/A変換器408の複数のチャンネルのD/A出力電圧を制御するための制御信号が含まれており、これらの制御値はISO感度などの撮影条件に応じて切り換えられる。   The control bus 406 supplied from the timing generator 18 shown in FIG. 1 to the imaging device 400, the amplifier 401 of the imaging device unit 15 and the D / A converter 408 is exposed and read out by the imaging device 400. For controlling various drive pulses, a state control signal for switching the gain of the amplifier 401 to a plurality of predetermined values, and D / A output voltages for a plurality of channels of the D / A converter 408 A control signal is included, and these control values are switched according to photographing conditions such as ISO sensitivity.

そして、撮像素子400から読み出された撮像信号は、増幅器401を介して、所定の信号振幅に増幅されて、オフセット加算器402によって所定の直流電圧を付加された後に、AD変換器405へ入力される。AD変換器405のデジタル出力は、図1の画像処理部20に入力されて、メモリ制御部22を介して、メモリ30に記録される。   The image pickup signal read from the image pickup device 400 is amplified to a predetermined signal amplitude via the amplifier 401, added with a predetermined DC voltage by the offset adder 402, and then input to the AD converter 405. Is done. The digital output of the AD converter 405 is input to the image processing unit 20 of FIG. 1 and recorded in the memory 30 via the memory control unit 22.

図2及至図4のフローチャートにおいて説明したように、まず、ダークノイズ補正処理の動作として、撮像素子を露光しない状態において、撮像素子400 → 増幅器401 →オフセット加算器402 →AD変換器405 → 画像処理部20 → メモリ制御部22 → メモリ30 の流れで、ダーク画像データがメモリ30に記録される。   As described in the flowcharts of FIGS. 2 to 4, first, as an operation of the dark noise correction process, in a state where the image sensor is not exposed, the image sensor 400 → the amplifier 401 → the offset adder 402 → the AD converter 405 → image processing. The dark image data is recorded in the memory 30 in the flow of section 20 → memory control section 22 → memory 30.

次に、撮像素子を露光した状態において、撮像素子400 → 増幅器401 →オフセット加算器402 → AD変換器405 の流れで読み出された本撮影画像データと、メモリ30に記録されたダーク画像データとがメモリ制御部22を介して読み出され、画像処理部20によって、本撮影画像データからダーク画像データが減算されることにより、ダーク画像と同様に本撮影画像に含まれる暗電流ノイズや撮像素子固有の微少なキズによる画素欠損が相殺されて補正される。   Next, in a state where the image sensor is exposed, the actual captured image data read in the flow of the image sensor 400 → the amplifier 401 → the offset adder 402 → the AD converter 405, the dark image data recorded in the memory 30, and Is read out via the memory control unit 22, and dark image data is subtracted from the actual captured image data by the image processing unit 20, so that the dark current noise and the image sensor included in the actual captured image are the same as the dark image. Pixel defects due to inherent minute flaws are offset and corrected.

図9は、図8の撮像素子400の出力信号およびオフセット加算器402の出力信号のレベルダイヤグラムである。次に、図9の信号のレベルダイヤグラムを用いて図8における信号処理の具体的な説明を行う。   FIG. 9 is a level diagram of the output signal of the image sensor 400 of FIG. 8 and the output signal of the offset adder 402. Next, the signal processing in FIG. 8 will be specifically described using the signal level diagram of FIG.

撮像素子400を露光しない状態で読み出されたダーク画像信号は、最初に、AD変換器405のボトム電圧に対してオフセット電圧bをもって撮像素子400より出力される。ダーク信号画像信号に含まれるキズや画素欠陥などのノイズ信号の最大振幅をnとすれば、ダーク画像信号に続いて、次に撮像素子400を露光しない状態で読み出された本撮影画像信号にもダーク画像信号のノイズ信号に相関する最大振幅nのノイズ信号が含まれる。このときのダーク画像信号を基準とした本撮影画像信号の信号振幅をs、装置の感度をISO100設定とした場合の増幅器401によるゲイン設定をa倍とすれば、増幅器401による増幅出力は信号振幅は(a×s)となり、ノイズ振幅は(a×n)となる。   The dark image signal read without exposing the image sensor 400 is first output from the image sensor 400 with an offset voltage b with respect to the bottom voltage of the AD converter 405. If the maximum amplitude of a noise signal such as a flaw or a pixel defect included in the dark signal image signal is n, then the main image signal read out without exposing the image sensor 400 next to the dark image signal. Also, a noise signal having a maximum amplitude n correlated with the noise signal of the dark image signal is included. At this time, if the signal amplitude of the main image signal based on the dark image signal is s, and the gain setting by the amplifier 401 is a times when the sensitivity of the apparatus is ISO 100 setting, the amplified output by the amplifier 401 is the signal amplitude. Becomes (a × s), and the noise amplitude becomes (a × n).

また、装置の感度をISO200設定とした場合には、撮像素子400から出力されるダーク画像信号およびこれに含まれるノイズ信号については、ISO100設定の場合と全く同様であるが、ダーク画像信号を基準とした本撮影画像信号の信号振幅については、ISO100設定時の2分の1の露光量により(s/2)となり、ISO200設定とした場合の増幅器401によるゲイン設定はISO100設定時の2倍である(2×a)倍となる。このときの増幅器401による増幅出力は信号振幅は(a×s)となり、ノイズ振幅は(2a×n)となる。したがって、ISO200設定時には、ISO100設定時と比較して、信号振幅は同じでノイズ振幅だけが2倍という結果になる。   When the sensitivity of the apparatus is set to ISO 200, the dark image signal output from the image sensor 400 and the noise signal included therein are exactly the same as in the ISO 100 setting, but the dark image signal is used as a reference. The signal amplitude of the actual captured image signal becomes (s / 2) by the exposure amount of 1/2 when ISO 100 is set, and the gain setting by the amplifier 401 when ISO 200 is set is twice that when ISO 100 is set. It becomes a certain (2 × a) times. The amplified output by the amplifier 401 at this time has a signal amplitude of (a × s) and a noise amplitude of (2a × n). Therefore, when ISO 200 is set, the signal amplitude is the same and only the noise amplitude is doubled compared to when ISO 100 is set.

そこで、本実施例においては、装置の感度をISO100設定とした場合には、ダーク画像信号中のノイズ信号および、本撮影画像信号中の信号振幅と、これに含まれるノイズ信号とが適切にAD変換器405の入力レンジの中に収まるように、まず、システム制御部50 → タイミング発生部18 → 制御バス406 → 増幅器401 の制御の流れで、ISO100設定用の増幅器401のゲイン設定を行う。   Therefore, in this embodiment, when the sensitivity of the apparatus is set to ISO 100, the noise signal in the dark image signal, the signal amplitude in the actual captured image signal, and the noise signal included therein are appropriately AD. First, the gain of the amplifier 401 for setting ISO 100 is set in the flow of control of the system controller 50 → the timing generator 18 → the control bus 406 → the amplifier 401 so as to be within the input range of the converter 405.

次に、システム制御部50 → タイミング発生部18 → 制御バス406 → D/A変換器408の制御の流れで、増幅器401の出力信号について、AD変換器405のボトム電圧に対するオフセット電圧cおよび、AD変換器405のボトム電圧およびトップ電圧が設定される。   Next, in the control flow of the system controller 50 → the timing generator 18 → the control bus 406 → the D / A converter 408, the offset voltage c with respect to the bottom voltage of the AD converter 405 and AD The bottom voltage and top voltage of the converter 405 are set.

すなわち、ダーク画像期間中のノイズ信号成分の下限を下回るボトム電圧が設定され、本撮影期間中の画像信号に含まれる画像信号およびノイズ信号成分の上限を上回るトップ電圧が設定される。AD変換器405の入力振幅レンジdは、このとき設定されたトップ電圧とボトム電圧との差で与えられる。   That is, a bottom voltage lower than the lower limit of the noise signal component during the dark image period is set, and a top voltage higher than the upper limit of the image signal and the noise signal component included in the image signal during the main photographing period is set. The input amplitude range d of the AD converter 405 is given by the difference between the top voltage and the bottom voltage set at this time.

また、ISO200設定とした場合にも、ISO設定時と同様の手順により、ダーク画像信号中のノイズ信号および、本撮影画像信号中の信号振幅と、これに含まれるノイズ信号とが適切にAD変換器405の入力レンジの中に収まるように、増幅器401の出力信号について、AD変換器405のボトム電圧に対するオフセット電圧eおよび、AD変換器405のボトム電圧およびトップ電圧(入力振幅レンジf)が設定される。すなわち、この場合にもダーク画像期間中のノイズ信号成分の下限を下回るボトム電圧が設定され、本撮影期間中の画像信号に含まれる画像信号およびノイズ信号成分の上限を上回るトップ電圧が設定される。   Even when ISO 200 is set, the noise signal in the dark image signal, the signal amplitude in the actual captured image signal, and the noise signal included therein are appropriately AD-converted by the same procedure as in ISO setting. The offset voltage e with respect to the bottom voltage of the AD converter 405 and the bottom voltage and top voltage (input amplitude range f) of the AD converter 405 are set for the output signal of the amplifier 401 so as to be within the input range of the converter 405. Is done. That is, also in this case, a bottom voltage lower than the lower limit of the noise signal component during the dark image period is set, and a top voltage higher than the upper limit of the image signal and the noise signal component included in the image signal during the main photographing period is set. .

ところで、ISO200設定時には、ISO100設定時と比較して信号振幅が同じでノイズ振幅だけが2倍になることから、このノイズ信号をAD変換器405の入力レンジの中に収めるためには、その分だけ、ISO200時の入力レンジfは、ISO100時の入力レンジdよりも大きくなる。そのために、AD変換器405への入力時の信号振幅が同じであれば、A/D変換後のデジタル出力は、ISO100時に比較して(d/f)倍となり、この分のゲイン補正は、図1の画像処理部20でデジタル演算により行われる。   By the way, when the ISO 200 is set, the signal amplitude is the same and only the noise amplitude is doubled compared to the ISO 100 setting. Therefore, in order to fit this noise signal in the input range of the AD converter 405, the corresponding amount is required. Therefore, the input range f at ISO 200 is larger than the input range d at ISO 100. Therefore, if the signal amplitude at the time of input to the AD converter 405 is the same, the digital output after A / D conversion is (d / f) times that of ISO 100, and this amount of gain correction is The image processing unit 20 in FIG. 1 performs the digital calculation.

ここで設定されるISO100、ISO200の各場合におけるオフセット電圧c,eおよびAD変換器405のボトム電圧およびトップ電圧(入力振幅レンジdおよびf)は、システム内の制御パラメータとして、あらかじめ図1の不揮発性メモリなどで保持されており、システム制御部50より、必要に応じて読み出されて設定される。   The offset voltages c and e and the bottom voltage and top voltage (input amplitude ranges d and f) of the AD converter 405 in each case of ISO 100 and ISO 200 set here are preliminarily stored in the non-volatile state shown in FIG. 1 as control parameters in the system. The data is stored in the memory, and is read and set by the system control unit 50 as necessary.

なお、前記設定においては、ISO100とISO200とでAD変換器405の入力レンジをdからf(f>d)のように可変とした。しかし、ダーク画像信号中のノイズ信号および、本撮影画像信号中の信号振幅と、これに含まれるノイズ信号とが適切にAD変換器405の入力レンジの中に収まるようにオフセット電圧やAD変換器405の入力レンジを設定することが本実施例の主旨であり、本主旨に沿いながら入力レンジを固定(f=d)として、実施することも、もちろん可能である。この場合には、実質的に、ISO100時の入力レンジを本来、必要なレンジdからfに引き上げて利用する結果になるため、その分、A/D変換時の量子化ノイズが増大するという欠点を生ずるが、入力レンジに変動がないためISOごとのデジタル演算によるゲイン補正が不要となる利点が得られる。   In the setting, the input range of the AD converter 405 is variable between d and f (f> d) between ISO 100 and ISO 200. However, the offset voltage and the AD converter are set so that the noise signal in the dark image signal, the signal amplitude in the actual captured image signal, and the noise signal included therein are appropriately within the input range of the AD converter 405. Setting the input range of 405 is the main point of the present embodiment, and of course, the input range can be fixed (f = d) along the main point. In this case, since the input range at the time of ISO 100 is essentially raised from the necessary range d to f, the quantization noise at the time of A / D conversion increases accordingly. However, since there is no fluctuation in the input range, there is an advantage that gain correction by digital calculation for each ISO is unnecessary.

また、本実施例においては、ISO感度の設定をISO100、ISO2002つの場合に限って説明しているが、さらなる高ISO感度設定に対しても適用可能であり、同様の効果が期待できる。   In this embodiment, the ISO sensitivity is set only for ISO 100 and ISO 2002. However, the present embodiment can be applied to a higher ISO sensitivity setting, and the same effect can be expected.

(第2の実施例)
ところで、前記実施例のようなダーク画像を利用したダークノイズ補正処理だけでは、本撮影画像信号に含まれるノイズ信号の振幅が大きくなるにつれて、このノイズ信号のために必要とされる入力レンジが増大し、これによる量子化ノイズの増大が本撮影画像信号の劣化を招くため、特に、高ISO感度条件下の場合や、頻度は少ないが極端なレベル飛びのキズノイズなど、全てのキズに対処することは難しい。
(Second embodiment)
By the way, only the dark noise correction processing using the dark image as in the above-described embodiment increases the input range required for the noise signal as the amplitude of the noise signal included in the actual captured image signal increases. However, since the increase in quantization noise caused by this causes deterioration of the actual captured image signal, it is particularly necessary to deal with all the scratches such as a high ISO sensitivity condition and a scratch noise with a small frequency but extremely high level skip. Is difficult.

そこで、キズのない近接画素を用いた補間による補正処理方法を、前記実施例に組み合わせ、うまく適合させた方式が、第2の実施例である。   Therefore, the second embodiment is a method in which a correction processing method based on interpolation using adjacent pixels having no flaws is combined with the above-described embodiment and adapted well.

ハードウエアの基本構成および主ルーチンのフローは、図1乃至図8を用いて第1の実施例で説明したのと全く同様であるので、ここでは省略し、第1の実施例と異なる部分のみを説明する。   The basic configuration of hardware and the flow of the main routine are exactly the same as those described in the first embodiment with reference to FIGS. 1 to 8, and are omitted here, and only the parts different from the first embodiment are described. Will be explained.

図10は、図8の撮像素子400の出力信号およびオフセット加算器402の出力信号のレベルダイヤグラムである。   FIG. 10 is a level diagram of the output signal of the image sensor 400 of FIG. 8 and the output signal of the offset adder 402.

図10において、第1の実施例と異なるのは、ISO100、ISO200設定時の場合の、AD入力信号に対する、それぞれのAD入力レンジの与え方である。すなわち、第1の実施例においては、ダーク画像信号中のノイズ信号および、本撮影画像信号中の信号振幅と、これに含まれるノイズ信号とが全てAD変換器405の入力レンジの中に収まるように設定されているが、本実施例においては、一部、入力レンジ外のノイズが設定される。そして、これら入力レンジ外のノイズは、前記実施例と同様にして、ダーク画像を利用したダークノイズ補正処理が終了した後に、図1のシステム制御部50により、画像処理部20にて、ソフトウエア手法でキズのない近接画素を用いて補間により補正される。補間による補正は、該当するキズ画素のデータを上下や左右の近接画素の演算結果で置換することにより行われ、そのアルゴリズムは種種多様であるが、ここではその内容には言及しない。もちろん、ごれらの演算処理をハードウエア手法により実現しても良い。   In FIG. 10, the difference from the first embodiment is how to give each AD input range to the AD input signal when ISO 100 and ISO 200 are set. That is, in the first embodiment, the noise signal in the dark image signal, the signal amplitude in the actual captured image signal, and the noise signal included therein are all within the input range of the AD converter 405. However, in this embodiment, noise outside the input range is partially set. In the same manner as in the above embodiment, the noise outside the input range is processed by the system control unit 50 in FIG. 1 by the image processing unit 20 after the dark noise correction processing using the dark image is completed. Correction is performed by interpolation using adjacent pixels that are free from scratches. Correction by interpolation is performed by replacing the data of the corresponding flaw pixel with the calculation results of the upper and lower and left and right adjacent pixels, and the algorithm is various, but the content is not mentioned here. Of course, these arithmetic processes may be realized by a hardware method.

あらかじめ、撮像素子400に固有のキズによる欠損画素の位置とキズの大きさとを検出しておき、そのキズの大きさにより、複数のグループにグループ分けしておく。そして、ISO感度設定ごとのAD変換器405の入力レンジの設定の仕方は、ノイズの大きさと、それによる上記入力レンジ外に発生するノイズの数をもとに決定される。   The positions of defective pixels and the size of the flaw due to a flaw unique to the image sensor 400 are detected in advance, and are grouped into a plurality of groups according to the size of the flaw. The method of setting the input range of the AD converter 405 for each ISO sensitivity setting is determined based on the magnitude of noise and the number of noise generated outside the input range.

図11に、ISO100、ISO200、ISO400の3つの感度条件に応じた、ISO感度ごとの補間によるキズ補正のフローの一例を示す。   FIG. 11 shows an example of a defect correction flow by interpolation for each ISO sensitivity in accordance with the three sensitivity conditions of ISO100, ISO200, and ISO400.

ここでは、あらかじめ、キズの大きいものから順番に、そのキズの大きさに応じて、キズグループ1、キズグループ2、キズグループ3と、各グループにおけるキズの数が所定数になるように、3つのグループにグループ分けされる。そして、グループごとにキズの位置情報とともに、図1の不揮発性メモリなどで保持されている。そして、キズ補正時には、これらのデータが随時読み出されて当該キズ画素の補正が行われる。   Here, in order from the largest scratch, according to the size of the scratch, the scratch group 1, the scratch group 2, the scratch group 3, and the number of scratches in each group are set to a predetermined number. Grouped into two groups. Each group is held in the nonvolatile memory of FIG. 1 together with scratch position information. At the time of defect correction, these data are read out as needed to correct the defect pixel.

まず、ISO感度の設定条件に応じて分岐処理される(S401)。ISO100の場合には、キズグループ3による補正のみ行われて(S404)、終了する。ISO200の場合には、キズグループ2による補正が行われ(S403)、その後にキズグループ3による補正のみ行われて(S404)、終了する。ISO400の場合には、キズグループ1による補正が行われ(S402)、その後にキズグループ2による補正が行われて(S403)、その後にキズグループ3による補正が行われ(S404)、終了する。   First, branch processing is performed according to the ISO sensitivity setting condition (S401). In the case of ISO 100, only correction by the scratch group 3 is performed (S404), and the process is terminated. In the case of ISO 200, correction by the scratch group 2 is performed (S403), and then only correction by the scratch group 3 is performed (S404), and the process ends. In the case of ISO400, the correction by the scratch group 1 is performed (S402), the correction by the scratch group 2 is subsequently performed (S403), the correction by the scratch group 3 is subsequently performed (S404), and the process ends.

これにより、高ISO感度ほど、補正するキズグループを増やして、より大きなキズ、より多くのキズの補正が行われるように処理の場合分けが行われる。   As a result, the higher ISO sensitivity increases the number of defect groups to be corrected, and the processing is divided so that larger defects and more defects are corrected.

そして、この補間により補正されるキズの個数は、ダークノイズ補正処理におけるノイズレンジの増大による画質劣化と、補間によるキズ補正処理における画質劣化と処理の負荷(処理時間)とのバランスを考慮しながら、各ISO感度条件ごとに最適に配分される。   The number of scratches corrected by this interpolation takes into account the balance between image quality degradation due to an increase in the noise range in dark noise correction processing and image quality degradation and processing load (processing time) in scratch correction processing due to interpolation. Are optimally distributed for each ISO sensitivity condition.

なお、本実施例においては、ISO感度の設定をISO100、ISO200、ISO400の3つの場合に限って説明しているが、さらなる高ISO感度設定に対しても適用可能であり、同様の効果が期待できる。   In this embodiment, the ISO sensitivity setting is described only for three cases of ISO100, ISO200, and ISO400. However, the present invention can be applied to a further high ISO sensitivity setting, and the same effect is expected. it can.

(第3の実施例)
ところで、ISO感度に応じた回路ゲインの切り換えによってゲインアップした際に、本撮影画像データの信号ダイナミックレンジの増大にともない、回路のスーリューレートの制約から、露出過多やキズノイズなどによる過大振幅信号の飽和により画像信号の遅延が発生して、後続する隣接画素信号に対して妨害が発生するという問題があることは、前記従来例において説明したとおりである。
(Third embodiment)
By the way, when the gain is increased by switching the circuit gain in accordance with the ISO sensitivity, the signal dynamic range of the actual captured image data increases, and due to restrictions on the slew rate of the circuit, the over-amplitude signal due to overexposure, scratch noise, etc. As described in the above-described conventional example, there is a problem that a delay of an image signal occurs due to saturation and interference occurs with respect to subsequent adjacent pixel signals.

この場合には、キズノイズの後続隣接画素への波及により、当該キズ画素を隣接画素で補間するキズ補正方式が、あまり有効に働かない。   In this case, the scratch correction method in which the scratch pixel is interpolated by the adjacent pixel due to the spread of the scratch noise to the subsequent adjacent pixel does not work very effectively.

そこで、露出過多やキズノイズなどによる過大振幅信号に対して、ISO感度ごとに、増幅回路の出力の過飽和を抑え、補間によるキズ補正がより有効に働くように工夫した、あるいは、飽和領域における色再現性の劣化を防止する方法が、第3の実施例である。   Therefore, for over-amplitude signals due to overexposure, scratch noise, etc., we have devised to suppress oversaturation of the output of the amplifier circuit for each ISO sensitivity so that scratch correction by interpolation works more effectively, or color reproduction in the saturation region The third embodiment is a method for preventing the deterioration of the property.

ハードウエアの基本構成および主ルーチンのフローは、図1乃至図7を用いて第1の実施例で説明したのと全く同様であるので、ここでは省略し、第1の実施例と異なる部分のみを説明する。   The basic configuration of hardware and the flow of the main routine are exactly the same as those described in the first embodiment with reference to FIGS. 1 to 7, and are omitted here, and only the parts different from the first embodiment are described. Will be explained.

図12は、画像処理装置100における撮像部14およびA/D変換部16を含む撮像装置ユニット15の内部について、より詳細な構成を示したブロック図であり、本実施例の主要な働きをなす部分である。   FIG. 12 is a block diagram showing a more detailed configuration of the inside of the image pickup apparatus unit 15 including the image pickup section 14 and the A / D conversion section 16 in the image processing apparatus 100, and plays a main role in this embodiment. Part.

図12において、500は撮像素子でありCCDなどの光電変換デバイスである。511は撮像素子500の出力振幅を制限するクリップ回路であり、501はクリップ回路511の出力信号を増幅する増幅器であり、502は増幅器501の増幅出力に所定の直流電圧を付加するオフセット加算器、505はオフセット加算器502のアナログ撮像出力をデジタル信号に変換するA/D変換器である。508は、クリップ回路511、オフセット加算器502およびA/D変換505に対して複数の直流電圧を供給する多チャンネルのD/A変換器であり、各直流電圧値は、図1で示すシステム制御部50よりタイミング発生部18を介して供給される制御バス506によって制御される。   In FIG. 12, reference numeral 500 denotes an image sensor, which is a photoelectric conversion device such as a CCD. Reference numeral 511 denotes a clip circuit that limits the output amplitude of the image sensor 500, reference numeral 501 denotes an amplifier that amplifies the output signal of the clip circuit 511, reference numeral 502 denotes an offset adder that adds a predetermined DC voltage to the amplified output of the amplifier 501, Reference numeral 505 denotes an A / D converter that converts the analog imaging output of the offset adder 502 into a digital signal. Reference numeral 508 denotes a multi-channel D / A converter that supplies a plurality of DC voltages to the clip circuit 511, the offset adder 502, and the A / D converter 505. Each DC voltage value is controlled by the system control shown in FIG. Control is performed by a control bus 506 supplied from the unit 50 via the timing generator 18.

D/A変換器508の出力の一つのチャンネル出力512は、クリップ回路511に供給されており、D/A変換器508の出力の他の一つのチャンネル出力507は、オフセット加算器502に供給されており、これによりA/D変換505に供給される撮像信号の直流電圧が切り換えられる。D/A変換器508の出力のその他のチャンネルからは、A/D変換505のアナログ入力レンジを決定するボトム電圧509とトップ電圧510が出力されている。   One channel output 512 of the output of the D / A converter 508 is supplied to the clip circuit 511, and the other one channel output 507 of the output of the D / A converter 508 is supplied to the offset adder 502. As a result, the DC voltage of the imaging signal supplied to the A / D conversion 505 is switched. From other channels of the output of the D / A converter 508, a bottom voltage 509 and a top voltage 510 that determine an analog input range of the A / D conversion 505 are output.

そして、図1に示されたタイミング発生部18より撮像素子500、撮像装置ユニット15の増幅器501およびD/A変換器508に対して供給された制御バス506には、撮像素子500において露光、読み出しなどを制御するための各種駆動パルスや、増幅器501のゲインを複数の所定の値に切り換えるための状態制御信号や、D/A変換器508の複数のチャンネルのD/A出力電圧を制御するための制御信号が含まれており、これらの制御値はISO感度などの撮影条件に応じて切り換えられる。   Then, the image sensor 500, the amplifier 501 of the image pickup apparatus unit 15, and the D / A converter 508 supplied from the timing generator 18 shown in FIG. For controlling various drive pulses for controlling, etc., a state control signal for switching the gain of the amplifier 501 to a plurality of predetermined values, and D / A output voltages of a plurality of channels of the D / A converter 508. These control values are switched according to photographing conditions such as ISO sensitivity.

そして、撮像素子500から読み出された撮像信号は、クリップ回路511、増幅器501を介して、所定の信号振幅に増幅されて、オフセット加算器502によって所定の直流電圧を付加された後に、AD変換器505へ入力される。AD変換器505のデジタル出力は、図1の画像処理部20に入力されて、メモリ制御部22を介して、メモリ30に記録される。   The image pickup signal read out from the image pickup device 500 is amplified to a predetermined signal amplitude via the clip circuit 511 and the amplifier 501, and after a predetermined DC voltage is added by the offset adder 502, AD conversion is performed. Is input to the device 505. The digital output of the AD converter 505 is input to the image processing unit 20 of FIG. 1 and recorded in the memory 30 via the memory control unit 22.

図2及至図5のフローチャートにおいて説明したように、まず、ダークノイズ補正処理の動作として、撮像素子を露光しない状態において、撮像素子500 →クリップ回路511 →増幅器501 →オフセット加算器502 →AD変換器505 → 画像処理部20 → メモリ制御部22 → メモリ30 の流れで、ダーク画像データがメモリ30に記録される。   As described in the flowcharts of FIGS. 2 to 5, first, as an operation of dark noise correction processing, in a state where the image sensor is not exposed, the image sensor 500 → the clip circuit 511 → the amplifier 501 → the offset adder 502 → the AD converter. Dark image data is recorded in the memory 30 in the flow of 505 → image processing unit 20 → memory control unit 22 → memory 30.

次に、撮像素子を露光した状態において、撮像素子500 →クリップ回路511 → 増幅器501 →オフセット加算器502 → AD変換器505 の流れで読み出された本撮影画像データと、メモリ30に記録されたダーク画像データとがメモリ制御部22を介して読み出され、画像処理部20によって、本撮影画像データからダーク画像データが減算されることにより、ダーク画像と同様に本撮影画像に含まれる暗電流ノイズや撮像素子固有の微少なキズによる画素欠損が相殺されて補正される。   Next, in a state where the image sensor is exposed, the actual image data read in the flow of the image sensor 500 → the clip circuit 511 → the amplifier 501 → the offset adder 502 → the AD converter 505 and the recorded image data are recorded in the memory 30. The dark image data is read out via the memory control unit 22, and the dark current data included in the actual captured image as in the dark image is obtained by subtracting the dark image data from the actual captured image data by the image processing unit 20. Pixel deficiencies due to noise and minute flaws inherent to the image sensor are offset and corrected.

このあたりのダークノイズ補正処理の動作については、撮像素子500と増幅器501との間に、クリップ回路511が新たに追加された以外は、上記と全く同様である。   The operation of the dark noise correction processing around this is the same as the above except that a clip circuit 511 is newly added between the image sensor 500 and the amplifier 501.

図13は、図12の撮像素子500の出力信号および増幅器501の出力信号の1画素期間のレベルダイヤグラムである。次に、図13の信号のレベルダイヤグラムを用いて図12における信号処理の具体的な説明を行う。   FIG. 13 is a level diagram for one pixel period of the output signal of the image sensor 500 of FIG. 12 and the output signal of the amplifier 501. Next, the signal processing in FIG. 12 will be described in detail using the signal level diagram of FIG.

撮影信号の最大レンジが、撮像素子500の出力でダーク信号レベルを基準にして、そこから実際に撮像信号として使用される上限レベルまでの振幅として規定できる。   The maximum range of the photographic signal can be defined as the amplitude from the dark signal level at the output of the imaging device 500 to the upper limit level that is actually used as the imaging signal.

装置の感度をISO100設定とした場合に、このときの撮影信号の最大レンジを基準値1とする。ISO100設定時のクリップ回路511におけるクリップレベル電圧は、撮像信号の最大レンジに等しいか、または、これよりわずかに大きい電圧に、システム制御部50により設定される。ISO100設定時の増幅器501のゲイン設定をa倍とすれば、このときの増幅器501の増幅信号出力は、値aとなる。この場合、たとえば、撮像素子500の出力に、キズノイズなどの影響により本来の撮像信号のレベルとは無関係に、撮影信号の最大レンジを大きく超える過大な信号レベルが発生しても、クリップ回路511で設定されたクリップ電圧以上の出力レベルが増幅器501に与えられることがないので、増幅器501の出力は、この場合にも増幅出力振幅の上限値aと同じか、それよりも僅かに大きな値に留まり、過飽和による画像信号の遅延が後続隣接画素に対して妨害を与えることはない。   When the sensitivity of the apparatus is set to ISO 100, the maximum range of the photographing signal at this time is set as a reference value 1. The clip level voltage in the clip circuit 511 when ISO 100 is set is set by the system control unit 50 to a voltage that is equal to or slightly larger than the maximum range of the imaging signal. If the gain setting of the amplifier 501 when ISO 100 is set is a times, the amplified signal output of the amplifier 501 at this time becomes the value a. In this case, for example, even if an excessive signal level greatly exceeding the maximum range of the photographic signal is generated in the output of the imaging device 500 regardless of the original imaging signal level due to the influence of scratch noise or the like, the clip circuit 511 Since an output level higher than the set clip voltage is not applied to the amplifier 501, the output of the amplifier 501 is the same as or slightly larger than the upper limit value a of the amplified output amplitude in this case as well. The delay of the image signal due to oversaturation does not disturb the subsequent adjacent pixels.

さらに、装置の感度をISO200設定とした場合には、このときの撮影信号の最大レンジは、ISO100設定時の2分の1の値0.5となるので、ISO200設定時のクリップ回路511におけるクリップレベル電圧は、この最大レンジに等しいか、または、これよりわずかに大きい電圧に、システム制御部50により設定される。ISO200設定時の増幅器501のゲイン設定は、ISO100設定時の2倍である2a倍となり、このときの増幅器501の増幅信号出力は、値aとなる。この場合には、キズノイズなどの影響だけでなく、露光条件によっては、容易に撮影信号の最大レンジ0.5を超える過大な信号レベルが発生しうるが、クリップ回路511で設定されたクリップ電圧以上の出力レベルが増幅器501に与えられることがないので、増幅器501の出力は、やはり、この場合にも増幅出力振幅の上限値aと同じか、それよりも僅かに大きな値に留まり、過飽和による画像信号の遅延が後続隣接画素に対して妨害を与えることがない。   Further, when the sensitivity of the apparatus is set to ISO 200, the maximum range of the photographing signal at this time is 0.5, which is a half of that when ISO 100 is set, so that the clip in the clip circuit 511 when ISO 200 is set The level voltage is set by the system control unit 50 to a voltage equal to or slightly larger than the maximum range. The gain setting of the amplifier 501 when ISO 200 is set is 2a times that is twice that when ISO 100 is set, and the amplified signal output of the amplifier 501 at this time is the value a. In this case, an excessive signal level exceeding the maximum range 0.5 of the photographic signal can easily be generated depending on exposure conditions as well as the influence of scratch noise or the like, but it exceeds the clip voltage set by the clip circuit 511. Since the output level of the amplifier 501 is not given to the amplifier 501, the output of the amplifier 501 again remains the same as or slightly larger than the upper limit value a of the amplified output amplitude. The signal delay does not interfere with subsequent adjacent pixels.

なお、本実施例においては、ISO感度の設定をISO100とISO200の2つの場合に限って説明しているが、さらなる高ISO感度設定に対しても、撮影信号の使用最大レンジを規定し、クリップ回路511におけるクリップレベル電圧をこの撮像信号の最大レンジに等しいか、または、これよりわずかに大きい電圧に設定することで適用可能であり、同様の効果が期待できる。   In this embodiment, the ISO sensitivity setting is described only in two cases of ISO 100 and ISO 200. However, the maximum use range of the shooting signal is defined for the higher ISO sensitivity setting, and the clip is set. This can be applied by setting the clip level voltage in the circuit 511 to a voltage that is equal to or slightly larger than the maximum range of the imaging signal, and a similar effect can be expected.

上記の第1乃至第3の実施例において、処理手段は、オフセット加算器402、AD変換器405、画像処理回路20及びクリップ回路511の少なくとも一つに相当し、制御手段は、システム制御回路50に相当する。   In the first to third embodiments, the processing means corresponds to at least one of the offset adder 402, the AD converter 405, the image processing circuit 20, and the clip circuit 511, and the control means is the system control circuit 50. It corresponds to.

第1の実施例によれば、ISO感度に応じた回路ゲインの切り換えによって、たとえダーク画像の信号ダイナミックレンジが変動しても、オフセット加算手段により、あるいは、AD変換手段の入力レンジ変換手段により、撮像画像のダークレベルやハイライト部分の飽和レベルを適切に設定できるので、同一の露出条件なのに、ISO感度が異なるとダーク部分に浮き沈みを生じたり、ハイライト部分の飽和レベルがまちまちになるという問題を解消できるので、ISO感度の違いに依らず、まとまりのある絵作りの撮像画像を得ることができる。   According to the first embodiment, even if the signal dynamic range of the dark image fluctuates by switching the circuit gain according to the ISO sensitivity, the offset addition means or the input range conversion means of the AD conversion means The dark level of the captured image and the saturation level of the highlight part can be set appropriately, so even if the exposure conditions are the same, if the ISO sensitivity is different, the dark part will rise and fall, or the saturation level of the highlight part will vary Therefore, it is possible to obtain a coherent captured image without depending on the difference in ISO sensitivity.

また、第2の実施例によれば、ISO感度に応じた回路ゲインの切り換えによって、画素欠損ノイズが、たとえダーク画像の信号ダイナミックレンジをオーバーしたとしても、キズ補正手段によりキズ補正の数を切り換えることができるので、ISO感度ごとに、キズ補正しきれずにキズが残ってしまうという問題を解消できるので、ISO感度の違いに寄らず、欠損のない高品位な撮像画像を得ることができる。   Further, according to the second embodiment, by switching the circuit gain according to the ISO sensitivity, even if the pixel defect noise exceeds the signal dynamic range of the dark image, the number of defect correction is switched by the defect correction means. Therefore, it is possible to solve the problem that scratches remain without being corrected for each ISO sensitivity. Therefore, it is possible to obtain a high-quality captured image having no defect regardless of differences in ISO sensitivity.

また、第3の実施例によれば、キズノイズなどにより本撮影画像データが過大振幅になった場合や、ISO感度に応じた回路ゲインの切り換えによってゲインアップしたことで本撮影画像データが過大振幅になった場合にも、クリップレベル切り換え手段により、本撮影画像の信号レベルを回路飽和させない適切な信号レベルに設定できるので、キズノイズや高ISO感度時における回路飽和時のスーリューレート特性による信号遅延と、それによる後続する隣接画素信号に対する妨害を生ずることがないので、これにより、キズ補正しきれずにキズが残ってしまうという問題を解消でき、さらに高輝度部分における色相曲がりや、高彩度部分における色飛びのない安定した撮像画像を得ることができる。   Further, according to the third embodiment, when the actual captured image data has an excessive amplitude due to scratch noise or the like, or when the gain is increased by switching the circuit gain according to the ISO sensitivity, the actual captured image data has an excessive amplitude. Even in such a case, the signal level of the actual captured image can be set to an appropriate signal level that does not saturate the circuit by the clip level switching means, so that the signal delay due to scratch noise and the slew rate characteristic at the time of circuit saturation at high ISO sensitivity As a result, the subsequent adjacent pixel signal is not disturbed, so that it is possible to solve the problem that the flaws remain without being corrected, and further, hue distortion in the high luminance part and color jump in the high chroma part. It is possible to obtain a stable captured image without any problem.

なお、上記実施例は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

12:シャッター
14:撮像部
16:A/D変換部
18:タイミング発生回路
20:画像処理回路
22:メモリ制御回路
24:画像表示メモリ
26:D/A変換器
28:画像表示部
30:メモリ
32:画像圧縮・伸長回路
40:シャッター制御手段
42:測距手段
46:測光手段
48:フラッシュ
50:システム制御回路
52:メモリ
54:表示部
56:不揮発性メモリ
60:モードダイアルスイッチ
62:シャッタースイッチSW1
64:シャッタースイッチSW2
66:再生スイッチ
68:単写/連写スイッチ
70:操作部
72:電源スイッチ
74:リアルタイムクロック
80:電源制御手段
82:コネクタ
84:コネクタ
86:電源手段
90:インタフェース
92:コネクタ
94:インタフェース
96:コネクタ
98:記録媒体着脱検知手段
100:画像処理装置
104:光学ファインダ
106:レンズマウント
110:通信手段
112:コネクタ(またはアンテナ)
120:インタフェース
122:コネクタ
130:ミラー
132:ミラー
200:記録媒体
202:記録部
204:インタフェース
206:コネクタ
210:記録媒体
212:記録部
214:インタフェース
216:コネクタ
300:レンズユニット
306:レンズマウント
310:撮影レンズ
312:絞り
320:インタフェース
322:コネクタ
340:露光制御手段
342:測距制御手段
344:ズーム制御手段
350:レンズシステム制御回路
400:撮像素子
401:増幅器
402:オフセット加算器
405:AD変換器
408:D/A変換器
500:撮像素子
501:増幅器
502:オフセット加算器
505:AD変換器
508:D/A変換器
12: Shutter 14: Imaging unit 16: A / D conversion unit 18: Timing generation circuit 20: Image processing circuit 22: Memory control circuit 24: Image display memory 26: D / A converter 28: Image display unit 30: Memory 32 : Image compression / decompression circuit 40: Shutter control means 42: Distance measurement means 46: Photometry means 48: Flash 50: System control circuit 52: Memory 54: Display unit 56: Non-volatile memory 60: Mode dial switch 62: Shutter switch SW1
64: Shutter switch SW2
66: Playback switch 68: Single / continuous shooting switch 70: Operation unit 72: Power switch 74: Real time clock 80: Power control means 82: Connector 84: Connector 86: Power supply means 90: Interface 92: Connector 94: Interface 96: Connector 98: Recording medium attachment / detachment detection means 100: Image processing apparatus 104: Optical finder 106: Lens mount 110: Communication means 112: Connector (or antenna)
120: interface 122: connector 130: mirror 132: mirror 200: recording medium 202: recording unit 204: interface 206: connector 210: recording medium 212: recording unit 214: interface 216: connector 300: lens unit 306: lens mount 310: Shooting lens 312: Diaphragm 320: Interface 322: Connector 340: Exposure control means 342: Distance measurement means 344: Zoom control means 350: Lens system control circuit 400: Image sensor 401: Amplifier 402: Offset adder 405: AD converter 408: D / A converter 500: Image sensor 501: Amplifier 502: Offset adder 505: AD converter 508: D / A converter

Claims (6)

被写体の光学像を画像信号に変換する撮像手段と、
前記画像信号を増幅する増幅手段と、
感度に応じたゲインを前記増幅手段に設定するゲイン設定手段と、
前記画像信号に含まれる画素キズを補正するキズ補正手段と、
前記画素キズを異なる複数のグループに分けて各画素キズの位置情報とともに属するグループの情報を記憶する記憶手段と、
前記感度に応じて前記キズ補正手段による補正対象とするグループを選択し、選択したグループに属する画素キズの位置情報を前記記憶手段から読み出して、読み出した位置情報に基づいて前記キズ補正手段が前記画像信号に含まれる画素キズを補正するように制御する制御手段と、を有し、
前記記憶手段に記憶される前記画素キズの位置情報は、各グループにおける画素キズの数が所定数になるように、前記画素キズの大きさに応じて前記画素キズを前記異なる複数のグループに分けて前記記憶手段に記憶されることを特徴とする撮像装置。
Imaging means for converting an optical image of a subject into an image signal;
Amplifying means for amplifying the image signal;
Gain setting means for setting the gain according to the sensitivity in the amplification means;
Flaw correcting means for correcting pixel flaws included in the image signal;
Storage means for dividing the pixel scratches into different groups and storing information on groups belonging to the pixel scratches along with position information ;
According to the sensitivity, a group to be corrected by the scratch correction unit is selected, position information of pixel scratches belonging to the selected group is read from the storage unit, and the scratch correction unit is based on the read position information. Control means for controlling so as to correct pixel scratches included in the image signal,
The pixel scratch position information stored in the storage means is divided into the plurality of different groups according to the size of the pixel scratch so that the number of pixel scratches in each group becomes a predetermined number. An image pickup apparatus stored in the storage means.
前記制御手段は、前記感度が高くなるほど前記キズ補正手段による補正対象とするグループの数が多くなるようにグループを選択することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the control unit selects groups so that the number of groups to be corrected by the defect correction unit increases as the sensitivity increases. 前記感度はISO感度を含むことを特徴とする請求項1または2に記載の撮像装置。   The imaging device according to claim 1, wherein the sensitivity includes an ISO sensitivity. 被写体の光学像を画像信号に変換する撮像手段と、前記画像信号を増幅する増幅手段と、
感度に応じたゲインを前記増幅手段に設定するゲイン設定手段と、前記画像信号に含まれる画素キズを補正するキズ補正手段と、前記画素キズを異なる複数のグループに分けて各画素キズの位置情報とともに属するグループの情報を記憶する記憶手段とを有する撮像装置の制御方法であって、
前記感度に応じて前記キズ補正手段による補正対象とするグループを選択し、選択したグループに属する画素キズの位置情報を前記記憶手段から読み出して、読み出した位置情報に基づいて前記キズ補正手段が前記画像信号に含まれる画素キズを補正するように制御し、
前記記憶手段に記憶される前記画素キズの位置情報は、各グループにおける画素キズの数が所定数になるように、前記画素キズの大きさに応じて前記画素キズを前記異なる複数のグループに分けて前記記憶手段に記憶されることを特徴とする制御方法。
Imaging means for converting an optical image of a subject into an image signal; amplification means for amplifying the image signal;
Gain setting means for setting gain corresponding to sensitivity in the amplification means, scratch correction means for correcting pixel scratches included in the image signal, and position information of each pixel scratch by dividing the pixel scratches into different groups An image pickup apparatus control method comprising: storage means for storing information of groups belonging to
A group to be corrected by the scratch correction unit is selected according to the sensitivity, position information of pixel scratches belonging to the selected group is read from the storage unit, and the scratch correction unit is configured to read the position information based on the read position information. Control to correct pixel scratches included in the image signal,
The pixel scratch position information stored in the storage means is divided into the plurality of different groups according to the size of the pixel scratch so that the number of pixel scratches in each group becomes a predetermined number. And storing in the storage means.
前記感度が高くなるほど前記キズ補正手段による補正対象とするグループの数が多くなるようにグループを選択することを特徴とする請求項4に記載の制御方法。   The control method according to claim 4, wherein groups are selected such that the higher the sensitivity is, the greater the number of groups to be corrected by the defect correcting unit. 前記感度はISO感度を含むことを特徴とする請求項4または5に記載の制御方法。   The control method according to claim 4, wherein the sensitivity includes an ISO sensitivity.
JP2009164776A 2009-07-13 2009-07-13 Imaging apparatus and control method thereof Expired - Fee Related JP5147789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009164776A JP5147789B2 (en) 2009-07-13 2009-07-13 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009164776A JP5147789B2 (en) 2009-07-13 2009-07-13 Imaging apparatus and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000318325A Division JP4845256B2 (en) 2000-10-18 2000-10-18 Image processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012193934A Division JP5247922B2 (en) 2012-09-04 2012-09-04 Imaging apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2009278639A JP2009278639A (en) 2009-11-26
JP5147789B2 true JP5147789B2 (en) 2013-02-20

Family

ID=41443575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009164776A Expired - Fee Related JP5147789B2 (en) 2009-07-13 2009-07-13 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5147789B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06319086A (en) * 1993-05-06 1994-11-15 Sony Corp Defect detecting device for solid-state image pickup element and defect correcting circuit using the detecting device
JP3014895B2 (en) * 1993-06-02 2000-02-28 株式会社日立製作所 Video camera
JPH11239298A (en) * 1998-02-19 1999-08-31 Konica Corp Electronic camera, pixel signal correction method and recording medium
JP2000115644A (en) * 1998-10-05 2000-04-21 Sony Corp Solid-state image pickup device
JP2001245200A (en) * 2000-02-29 2001-09-07 Sanyo Electric Co Ltd Digital camera
JP4394254B2 (en) * 2000-05-25 2010-01-06 株式会社日立国際電気 Defective pixel correction device for solid-state imaging device in video camera
JP4497759B2 (en) * 2000-06-30 2010-07-07 キヤノン株式会社 Image processing apparatus and processing method thereof

Also Published As

Publication number Publication date
JP2009278639A (en) 2009-11-26

Similar Documents

Publication Publication Date Title
US7317481B2 (en) Image data correction processing based on sensitivity
JP4615458B2 (en) Exposure control method and imaging apparatus
US20040165101A1 (en) Image sensing apparatus, control method therefor, storage medium, and program
JP4794978B2 (en) Image processing apparatus, control method, and program
US7551790B2 (en) Image capture apparatus capable of correcting captured image
JP2007174124A (en) Imaging apparatus and correction method
JP4532819B2 (en) Imaging device
JP4845256B2 (en) Image processing device
JP2005045552A (en) Imaging device and its method
US7760999B2 (en) Image capturing apparatus, control method thereof, program, and storage medium
JP3605084B2 (en) Image data correction device, image processing device, image data correction method, program, and storage medium
JP5028467B2 (en) Image processing device
JP4393177B2 (en) Imaging apparatus and imaging method
JP2007228055A (en) Electronic camera
JP2003333434A (en) Device and method for picking-up image, program, and recording medium
JP4411053B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM
JP5147789B2 (en) Imaging apparatus and control method thereof
JP5247922B2 (en) Imaging apparatus and control method thereof
JP2006157677A (en) Imaging unit, image processing apparatus, and signal processing method
JP2005333620A (en) Image processing apparatus and image processing method
JP2006222529A (en) Imaging apparatus
JP2006109162A (en) Imaging apparatus, imaging method, program, and storage medium
JP2000184269A (en) Image pickup device, control method for the image pickup device and recoding medium
JP2005051697A (en) Imaging apparatus
JP3359314B2 (en) Imaging device, image processing device, image processing method, and storage medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120514

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120904

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120914

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121127

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

Free format text: PAYMENT UNTIL: 20151207

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees