JP2006148794A - Imaging apparatus, correction processing method, correction processing program and storage medium - Google Patents

Imaging apparatus, correction processing method, correction processing program and storage medium Download PDF

Info

Publication number
JP2006148794A
JP2006148794A JP2004339227A JP2004339227A JP2006148794A JP 2006148794 A JP2006148794 A JP 2006148794A JP 2004339227 A JP2004339227 A JP 2004339227A JP 2004339227 A JP2004339227 A JP 2004339227A JP 2006148794 A JP2006148794 A JP 2006148794A
Authority
JP
Japan
Prior art keywords
correction
level
spectral characteristics
correction data
different spectral
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.)
Withdrawn
Application number
JP2004339227A
Other languages
Japanese (ja)
Inventor
Keiji Nagata
桂次 永田
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 JP2004339227A priority Critical patent/JP2006148794A/en
Publication of JP2006148794A publication Critical patent/JP2006148794A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus, correction processing method, and correction processing computer program in which a look of a defective pixel of a specific color in an image after color reproduction processing is improved and image quality reduction with too much or too little defective pixel correction can be avoided. <P>SOLUTION: A system control circuit 50 of an image processing apparatus 100 performs defective pixel correction processing, for an output of a photographing element 14, on level and address information of a defective pixel of an imaging element 14 stored in a nonvolatile memory 56 using predetermined thresholds different for each of R, G and B in accordance with white balance mode setting for correcting photographing conditions or a color temperature of a light source in photographing. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、例えば、静止画像や動画像を撮像・記録・再生する撮像装置、撮像方法、プログラムおよび記憶媒体に関する。   The present invention relates to an imaging apparatus, an imaging method, a program, and a storage medium that capture, record, and reproduce a still image and a moving image, for example.

従来、この種の撮像装置として、固体メモリ素子を有するメモリカードを記録媒体とし、CCD、CMOS等の固体撮像素子で撮像した静止画像や動画像を記録・再生する電子カメラ等の撮像装置が既に市販されている。   Conventionally, as this type of imaging device, there has already been an imaging device 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 or CMOS, using a memory card having a solid-state memory element as a recording medium. It is commercially available.

CCD、CMOS等の固体撮像素子を用いて撮像する場合、撮像素子で発生する暗電流ノイズや撮像素子固有の微小なキズによる画質劣化に対し、画素欠損を補正し、撮影した画像データを補正して高品位な画像を得ることができる。   When imaging using a solid-state imaging device such as a CCD or CMOS, the pixel deficiency is corrected and the captured image data is corrected for image quality degradation caused by dark current noise generated by the imaging device or microscopic scratches inherent to the imaging device. And high-quality images can be obtained.

特に、暗電流ノイズは、電荷蓄積時間および撮像素子の温度上昇に従って増大するので、長時間の露光や高温下での露光を行う場合、大きな画質改善効果を得ることができ、電子カメラの使用者にとって画素欠陥補正は有益な機能となっている。   In particular, dark current noise increases with the charge accumulation time and the temperature rise of the image sensor. Therefore, when performing long-time exposure or exposure at high temperatures, a large image quality improvement effect can be obtained. Therefore, pixel defect correction is a useful function.

この画素欠陥補正は、通常は以下のように行われる。まず、予め撮像素子の欠陥画素を検出し、その欠陥画素に関する種々のデータをROM(リード・オンリー・メモリ)等に記憶しておく。   This pixel defect correction is usually performed as follows. First, a defective pixel of an image sensor is detected in advance, and various data relating to the defective pixel are stored in a ROM (Read Only Memory) or the like.

このように予め欠陥画素の位置等をROMに記憶した状態で、撮像装置の使用の際には上記撮像素子からA/Dコンバータ等を介して供給された各画像データの内、上記ROMに記憶された欠陥画素の位置データに対応した位置の画素(すなわち欠陥画素)の近傍の画素データを用いて上記欠陥画素データを補正する。   With the position of the defective pixel stored in the ROM in advance as described above, the image data stored in the ROM among the image data supplied from the image sensor via the A / D converter or the like is used when the imaging apparatus is used. The defective pixel data is corrected using pixel data in the vicinity of the pixel at the position corresponding to the position data of the defective pixel (that is, the defective pixel).

これにより撮像素子によって得られた映像信号の内、特異なレベルの信号を出力する画素(すなわち欠陥画素)による出力(欠陥画素データ)は補正され、良好な再生画像を得ることができるようになる。   As a result, out of the video signal obtained by the image sensor, the output (defective pixel data) by the pixel (that is, defective pixel) that outputs a signal of a specific level is corrected, and a good reproduced image can be obtained. .

上記従来の電子カメラ等の撮像装置では、欠陥画素補正を行う出力レベルを低く設定すると膨大な個数を欠陥画素として補正を行い、かえって画質劣化を招いてしまうため、所定のしきい値を設定し欠陥画素補正を行う方法がある。   In the conventional imaging device such as an electronic camera, if the output level for performing defective pixel correction is set low, a huge number of pixels are corrected as defective pixels, which leads to image quality deterioration. Therefore, a predetermined threshold value is set. There is a method for correcting defective pixels.

出力レベルに対して所定のしきい値を設定する方法や、出力レベルの大きなものから所定の個数に対して欠陥画素補正を行う方法がある(例えば文献1)。
特開平06−350926号公報
There are a method of setting a predetermined threshold value for the output level and a method of correcting defective pixels for a predetermined number from a large output level (for example, Document 1).
Japanese Patent Laid-Open No. 06-350926

しかしながら、色再現処理の際、ホワイトバランス処理を行うために、Red(R),Green(G),Blue(B)それぞれの画素に対し異なったゲインをかけるため、色再現処理後の画像では色ごとに欠陥画素補正を行う出力レベルが異なってしまい、ゲインの高い色の欠陥画素が目立ってしまうあるいは、欠陥画素補正を必要以上に行う結果となっていた。   However, in order to perform white balance processing during color reproduction processing, different gains are applied to each pixel of Red (R), Green (G), and Blue (B). The output level at which defective pixel correction is performed differs from one to the other, and defective pixels with high gain are conspicuous, or defective pixel correction is performed more than necessary.

そこで、本発明は、必要以上の欠陥画素補正を行うことなく、また色再現処理後の画像で特定の色の欠陥画素が目立ってしまうことを改善することができる撮像装置、補正処理方法、補正処理プログラムおよび記憶媒体を提供することを目的とする。   Accordingly, the present invention provides an imaging apparatus, a correction processing method, and a correction that can improve that a defective pixel of a specific color is conspicuous in an image after color reproduction processing without performing unnecessary defective pixel correction. It is an object to provide a processing program and a storage medium.

上記目的を達成するために、本発明の撮像装置は、以下(1)、(2)の構成を備える。   In order to achieve the above object, an imaging apparatus of the present invention comprises the following configurations (1) and (2).

(1)異なる分光特性を持つ複数の画素を有する撮像素子と、撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データ記憶手段と、前記異なる分光特性を持つ複数の画素出力ごとに異なったレベルを設定する補正レベル設定手段と、前記補正用データ記憶手段に記憶された補正用データから、前記補正レベル設定手段で設定した前記異なる分光特性ごとの設定されたレベルに従って補正データを読み出す補正データ読み出し手段と、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正を行う欠陥画素補正手段とを有することを特徴とする撮像装置。   (1) An image pickup device having a plurality of pixels having different spectral characteristics, a correction data storage means having information related to an address and a level for correcting an output of a defective pixel of the image pickup device, and a plurality of the different spectral characteristics A level set for each of the different spectral characteristics set by the correction level setting means from the correction level setting means for setting a different level for each pixel output and the correction data stored in the correction data storage means An imaging apparatus comprising: correction data reading means for reading correction data in accordance with the correction data; and defective pixel correction means for correcting defective pixels with respect to the output of the imaging device using the read correction data.

(2)異なる分光特性を持つ複数の画素を有する撮像素子と、撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データ記憶手段と、前記異なる分光特性を持つ複数の画素出力ごとに異なった個数の補正個数を設定する補正個数設定手段と、前記補正用データ記憶手段に記憶された補正用データから、前記補正個数設定手段で設定した前記異なる分光特性ごとの設定された個数に従って補正データを読み出す補正データ読み出し手段と、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正を行う欠陥画素補正手段とを有することを特徴とする撮像装置。   (2) An image pickup device having a plurality of pixels having different spectral characteristics, a correction data storage means having information related to an address and a level for correcting an output of a defective pixel of the image pickup device, and a plurality of the different spectral characteristics Correction number setting means for setting a different number of corrections for each pixel output, and setting for each of the different spectral characteristics set by the correction number setting means from correction data stored in the correction data storage means An imaging device comprising: correction data reading means for reading correction data in accordance with the number of corrections; and defective pixel correction means for correcting defective pixels with respect to the output of the imaging device using the read correction data. apparatus.

即ち、撮影した画像を記録媒体に記録する撮像装置であって、欠陥画素の位置とレベルとを記憶する手段と、前記記憶手段に記憶された位置とレベルに従って欠陥画素の補正を行う欠陥画素補正手段とを持つ撮像装置において、R,G,B毎に異なった所定のしきい値以上のレベルあるいは、ホワイトバランスのR,G,Bのゲインに応じてR,G,B毎に異なったしきい値以上のレベルの欠陥画素に対してのみ欠陥補正を行う欠陥画素補正手段とを備えたことを特徴とする。   That is, an image pickup apparatus for recording a photographed image on a recording medium, a means for storing the position and level of a defective pixel, and a defective pixel correction for correcting a defective pixel according to the position and level stored in the storage means In the image pickup apparatus having the means, it differs for each of R, G, and B depending on the level of a predetermined threshold value that is different for each of R, G, and B or the gain of R, G, and B of white balance. And defective pixel correction means for performing defect correction only for defective pixels having a level equal to or higher than a threshold value.

以上説明したように本発明によれば、次のような効果がある。   As described above, the present invention has the following effects.

(1)R,G,Bそれぞれのキズ補正レベルを設定することで、色再現処理後の最終画像で特定の色の欠陥画素が目立つことによる画質低下を防ぎ、かつ最小限のキズ補正個数で補正することができるためメモリ容量を削減させ、処理スピードを速めるという効果がある。   (1) By setting the respective defect correction levels for R, G, and B, it is possible to prevent deterioration in image quality due to conspicuous defective pixels of a specific color in the final image after color reproduction processing, and with a minimum number of defect corrections. Since the correction can be made, the memory capacity is reduced and the processing speed is increased.

(2)R,G,Bのそれぞれのキズ補正レベルは、撮影時の光源の色温度を補正するホワイトバランスの補正モードに応じ、R,G,Bそれぞれのキズ補正レベルを連動させて設定するため、光源の異なる多様な撮影条件に適応したキズ補正を可能とする効果がある。   (2) The scratch correction levels for R, G, and B are set in conjunction with the scratch correction levels for R, G, and B according to the white balance correction mode that corrects the color temperature of the light source during shooting. Therefore, there is an effect that it is possible to perform defect correction adapted to various shooting conditions with different light sources.

本発明の撮像装置、撮像方法、プログラムおよび記憶媒体の実施の形態について、図面を参照しながら説明する。本実施形態の撮像装置は電子カメラに適用される。   Embodiments of an imaging apparatus, an imaging method, a program, and a storage medium of the present invention will be described with reference to the drawings. The imaging apparatus of this embodiment is applied to an electronic camera.

(第1の実施形態)
図1は実施の形態における電子カメラの構成を示すブロック図である。図において、100は画像処理装置である。12は撮像素子14の露光量を制御する絞り機能を有したシャッタである。14は光学像を電気信号に変換する撮像素子である。
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration of an electronic camera according to an embodiment. In the figure, reference numeral 100 denotes an image processing apparatus. Reference numeral 12 denotes a shutter having a diaphragm function for controlling the exposure amount of the image sensor 14. An image sensor 14 converts an optical image into an electric signal.

レンズユニット300内の撮影レンズ310に入射した光線は、絞り312、レンズマウント306、106、ミラー130およびシャッタ12を通じて一眼レフ方式により導かれた撮像素子14上に光学像として結像する。   The light beam incident on the photographing lens 310 in the lens unit 300 forms an optical image on the image sensor 14 guided by the single-lens reflex system through the diaphragm 312, the lens mounts 306 and 106, the mirror 130, and the shutter 12.

16は撮像素子14から出力されるアナログ信号をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16およびD/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22およびシステム制御回路50によって制御される。   Reference numeral 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal. A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 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(フラッシュ調光)処理を行う。また、画像処理回路20は、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理を行う。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. The image processing circuit 20 performs predetermined calculation processing using image data taken as necessary, and the system control circuit 50 controls the exposure (shutter) control unit 40 and the distance measurement control unit 42 based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing for control are performed. The image processing circuit 20 performs predetermined arithmetic processing using the captured image data, and performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

尚、本実施形態では、測距制御部42および測光制御部46を専用に備えているので、システム制御回路50は、測距制御部42および測光制御部46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、画像処理回路20を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行わない構成としてもよい。   In the present embodiment, since the distance measurement control unit 42 and the photometry control unit 46 are provided exclusively, the system control circuit 50 uses the distance measurement control unit 42 and the photometry control unit 46 to perform AF (autofocus) processing. , AE (automatic exposure) processing and EF (flash dimming) processing are performed, and the image processing circuit 20 is used for AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing. It is good also as a structure which does not perform each process.

また、測距制御部42および測光制御部46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、さらに、画像処理回路20を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行う構成としてもよい。   Further, the AF (auto focus) process, the AE (automatic exposure) process, and the EF (flash dimming) process are performed using the distance measurement control unit 42 and the photometry control unit 46, and the image processing circuit 20 is used. The AF (autofocus) process, the AE (automatic exposure) process, and the EF (flash dimming) process may be performed.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30および圧縮・伸長回路32を制御する。   A memory control circuit 22 controls the A / D converter 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を介して、あるいは直接、メモリ制御回路22を介して画像表示メモリ24あるいはメモリ30に書き込まれる。   Data from 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 directly via the memory control circuit 22.

24は画像表示メモリ、26はD/A変換器である。28はTFT方式のLCDからなる画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28に表示される。撮像された画像データを画像表示部28で逐次表示する場合、電子ファインダ機能を実現することが可能である。また、画像表示部28はシステム制御回路50の指示にしたがって表示のON/OFFを任意に行うことが可能であり、表示をOFFにした場合、画像処理装置100の電力消費を大幅に低減することができる。   Reference numeral 24 is an image display memory, and 26 is a D / A converter. Reference numeral 28 denotes an image display unit comprising a TFT type LCD. The display image data written in the image display memory 24 is displayed on the image display unit 28 via the D / A converter 26. When the captured image data is sequentially displayed on the image display unit 28, an electronic viewfinder function can be realized. Further, the image display unit 28 can arbitrarily turn on / off the display in accordance with 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. Can do.

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. Therefore, even in 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に書き込む。   A compression / decompression circuit 32 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を制御するシャッタ制御部である。42
はAF(オートフォーカス)処理を行うための測距制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を絞り312、レンズマウント306、106、ミラー130および測距用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の合焦状態を測定する。
Reference numeral 40 denotes a shutter control unit that controls the shutter 12 in cooperation with an aperture control unit 340 that controls the aperture 312 based on photometry information from the photometry control unit 46. 42
Is a distance measurement control unit for performing AF (autofocus) processing. Light beams incident on the photographing lens 310 in the lens unit 300 are used to stop the aperture 312, lens mounts 306 and 106, the mirror 130, and a distance measurement sub-mirror (not shown). 1), the in-focus state of the image formed as an optical image is measured.

44は温度計であり、撮影環境における周囲温度を検出する。温度計44が撮像素子(センサ)14内にある場合、センサの暗電流をより正確に予想することが可能である。   A thermometer 44 detects the ambient temperature in the photographing environment. When the thermometer 44 is in the image sensor (sensor) 14, it is possible to predict the dark current of the sensor more accurately.

46はAE(自動露出)処理を行うための測光制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130および測光用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の露出状態を測定する。測光制御部46はフラッシュ部48と連携することにより、EF(フラッシュ調光)処理機能も有する。48はフラッシュ部であり、AF補助光の投光機能およびフラッシュ調光機能を有する。   Reference numeral 46 denotes a photometric control unit for performing AE (automatic exposure) processing. The light beam incident on the photographing lens 310 in the lens unit 300 is converted into an aperture 312, lens mounts 306 and 106, a mirror 130, and a photometric sub-mirror (not shown). The exposure state of the image formed as an optical image is measured. The photometry control unit 46 also has an EF (flash dimming) processing function in cooperation with the flash unit 48. A flash unit 48 has an AF auxiliary light projecting function and a flash light control function.

尚、前述したように、撮像素子14によって撮像された画像データを用いて画像処理回路20により演算された演算結果に基づき、システム制御回路50が露光(シャッタ)制御部40、絞り制御部340、測距制御部342に対し、ビデオTTL方式を用いた露出制御およびAF(オートフォーカス)制御を行うことが可能である。   As described above, based on the calculation result calculated by the image processing circuit 20 using the image data picked up by the image pickup device 14, the system control circuit 50 includes the exposure (shutter) control unit 40, the aperture control unit 340, It is possible to perform exposure control and AF (autofocus) control using the video TTL system for the distance measurement control unit 342.

また、測距制御部42による測定結果と、撮像素子14によって撮像された画像データを画像処理回路20によって演算した演算結果とを用いて、AF(オートフォーカス)制御を行うようにしてもよい。さらに、測光制御部46による測定結果と、撮像素子14によって撮像された画像データを画像処理回路20によって演算した演算結果とを用いて露出制御を行うようにしてもよい。   Further, AF (autofocus) control may be performed using a measurement result obtained by the distance measurement control unit 42 and a calculation result obtained by calculating the image data captured by the image sensor 14 by the image processing circuit 20. Further, exposure control may be performed using the measurement result obtained by the photometry control unit 46 and the calculation result obtained by calculating the image data captured by the image sensor 14 by the image processing circuit 20.

50は画像処理装置100全体を制御するシステム制御回路であり、周知のCPUなどを内蔵する。52はシステム制御回路50の動作用の定数、変数、プログラムなどを記憶するメモリである。54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声などで動作状態やメッセージなどを表示する液晶表示装置、スピーカなどを有する表示部であり、画像処理装置100の操作部近辺の視認し易い単数あるいは複数箇所に設置されている。表示部54は、LCD、LED、発音素子などの組合わせにより構成されている。また、表示部54の一部の機能は光学ファインダ104内に設けられている。   Reference numeral 50 denotes a system control circuit that controls the entire image processing apparatus 100 and incorporates a known CPU and the like. Reference numeral 52 denotes a memory for storing constants, variables, programs, and the like for operating the system control circuit 50. Reference numeral 54 denotes a display unit having a liquid crystal display device, a speaker, and the like for displaying an operation state and a message with characters, images, voices, and the like in accordance with execution of a program in the system control circuit 50. An operation unit of the image processing device 100 It is installed at one or a plurality of places that are easily visible in the vicinity. The display unit 54 is configured by a combination of an LCD, an LED, a sound generating element, and the like. Some functions of the display unit 54 are provided in the optical viewfinder 104.

表示部54の表示内容のうち、LCDなどに表示するものとしては、シングルショット/連写撮影表示、セルフタイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタスピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200、210の着脱状態表示、レンズユニット300の着脱状態表示、通信I/F動作表示、日付・時刻表示、外部コンピュータとの接続状態を示す表示などがある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded pixels, 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 and recording There are an attachment / detachment state display of the media 200 and 210, an attachment / detachment state display of the lens unit 300, a communication I / F operation display, a date / time display, and a display showing a connection state with an external computer.

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

さらに、表示部54の表示内容のうち、LED等に表示するものとしては、例えば、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、記録媒体書き込み動作表示、マクロ撮影設定通知表示、二次電池充電表示などがある。   Furthermore, 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, flash charge display, flash charge completion display, recording medium writing operation display, Macro shooting setting notification display, secondary battery charge display, etc.

また、表示部54の表示内容のうち、ランプ等に表示するものとしては、例えば、セルフタイマ通知ランプ等がある。このセルフタイマ通知ランプはAF補助光と共用してもよい。   Among the display contents of the display unit 54, what is displayed on a lamp or the like includes, for example, a self-timer notification lamp. This self-timer notification lamp may be shared with AF auxiliary light.

56は後述するプログラムなどが格納された電気的に消去・記録可能な不揮発性メモリであり、不揮発性メモリ56としてEEPROMなどが用いられる。この不揮発性メモリ56には、各種パラメータやISO感度などの設定値、設定モード、および欠陥画素の位置とレベルのデータが格納される。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory in which programs and the like to be described later are stored, and an EEPROM or the like is used as the nonvolatile memory 56. The nonvolatile memory 56 stores various parameters, setting values such as ISO sensitivity, setting modes, and data on the position and level of defective pixels.

この欠陥画素の位置とレベルのデータは、生産工程において、調整時あるいは検査時に作成されて書き込まれる。この欠陥画素の位置とレベルのデータの作成方法としては、例えばダーク撮影を行って得られた画像の所定レベル以上の出力を持つ画素を抽出することによりデータとする方法等が考えられる。   The position and level data of the defective pixel is created and written at the time of adjustment or inspection in the production process. As a method for creating the data of the position and level of the defective pixel, for example, a method of generating data by extracting a pixel having an output of a predetermined level or higher of an image obtained by performing dark photographing can be considered.

60、62、64、66、68および70はシステム制御回路50の各種動作指示を入力するための操作部であり、スイッチ、ダイヤル、タッチパネル、視線検知によるポインティング、音声認識装置などの単数あるいは複数の組み合わせで構成される。これら操作部の詳細を以下に示す。   Reference numerals 60, 62, 64, 66, 68 and 70 are operation units for inputting various operation instructions of the system control circuit 50, and include one or a plurality of switches, dials, touch panels, pointing by line-of-sight detection, voice recognition devices, and the like. Composed of a combination. Details of these operation units are shown below.

60はモードダイアルスイッチであり、自動撮影モード、プログラム撮影モード、シャッタ速度優先撮影モード、絞り優先撮影モード、マニュアル撮影モード、焦点深度優先(デプス)撮影モード、ポートレート撮影モード、風景撮影モード、接写撮影モード、スポーツ撮影モード、夜景撮影モード、パノラマ撮影モードなどの各機能撮影モードを切り替えて設定可能である。   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 shooting mode, a sports shooting mode, a night view shooting mode, and a panoramic shooting mode can be switched and set.

62はシャッタスイッチ(SW1)であり、シャッタボタン(図示せず)の操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュ調光)処理などの動作開始を指示する。   A shutter switch (SW1) 62 is turned on during the operation of a shutter button (not shown), and AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF (flash adjustment). Instructs the start of operation such as light processing.

64はシャッタスイッチ(SW2)であり、シャッタボタン(図示せず)の操作完了でONとなる。このシャッタスイッチ(SW2)64は、撮像素子14から読み出した信号を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. The shutter switch (SW2) 64 is an exposure process for writing image data into the memory 30 via the A / D converter 16 and the memory control circuit 22 through the signal read from the image sensor 14, the image processing circuit 20 and the memory control circuit 22. The development processing using the calculation in the above, the image data is read from the memory 30, compressed by the compression / decompression circuit 32, and the start of a series of processing operations such as recording processing for writing the image data to the recording media 200 and 210 is instructed.

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

68は単写/連写スイッチであり、シャッタスイッチSW2 64を押した場合、1コマの撮影を行って待機状態とする単写モードと、シャッタスイッチSW2 64を押している間、連続して撮影を行い続ける連写モードとを設定可能である。   Reference numeral 68 denotes a single / continuous shooting switch. When the shutter switch SW2 64 is pressed, a single shooting mode in which one frame is shot to enter a standby state, and shooting is continuously performed while the shutter switch SW2 64 is pressed. It is possible to set the continuous shooting mode to continue.

69はISO感度設定スイッチであり、撮像素子14あるいは画像処理回路20におけるゲインの設定を変更することによりISO感度を設定できる。   Reference numeral 69 denotes an ISO sensitivity setting switch, which can set the ISO sensitivity by changing the gain setting in the image sensor 14 or the image processing circuit 20.

70は各種ボタンやタッチパネルなどからなる操作部であり、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマ切替ボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影および再生を実行する際に各種機能の選択および切り替えを設定する選択/切り替えボタン、パノラマモード等の撮影および再生を実行する際に各種機能の決定および実行を設定する決定/実行ボタン、画像表示部28のON/OFFを設定する画像表示ON/OFFスイッチ、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ、JPEG圧縮の圧縮率を選択するため、あるいは撮像素子の信号をそのままディジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチ、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを設定可能な再生スイッチ、シャッタスイッチSW1を押した際にオートフォーカス動作を開始し、一旦合焦した場合、その合焦状態を保ち続けるワンショットAFモードとシャッタスイッチSW1を押している間、連続してオートフォーカス動作を続けるサーボAFモードとを設定可能なAFモード設定スイッチなどがある。   Reference numeral 70 denotes 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 shift-(minus) button, playback image shift + (plus) button, playback image-(minus) button, shooting image quality selection button, exposure compensation button, date / time setting button, panorama mode shooting and playback A selection / switch button for setting selection and switching of various functions at the time of execution, a determination / execution button for setting determination and execution of various functions at the time of shooting and playback in panoramic mode, etc. Image display ON / OFF switch to set ON / OFF, image taken immediately after shooting Quick review ON / OFF switch for setting the quick review function for automatically reproducing data, for selecting the compression rate of JPEG compression, or for selecting the CCD RAW mode for digitizing the image sensor signal and recording it on a recording medium Auto-focus operation starts when pressing the shutter switch SW1, a playback switch that can set each function mode, such as a compression mode switch, playback mode, multi-screen playback / erase mode, and PC connection mode. In this case, there is an AF mode setting switch that can set a one-shot AF mode that keeps the in-focus state and a servo AF mode that keeps the autofocus operation continuously while pressing the shutter switch SW1.

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

72は電源スイッチであり、画像処理装置100の電源オン、電源オフの各モードを切り替え設定可能である。また、画像処理装置100に接続されたレンズユニット300、外部ストロボ、記録媒体200、210等の各種付属装置の電源オン、電源オフの設定も合わせて切り替え設定可能である。   Reference numeral 72 denotes a power switch, which can be set to switch between power-on and power-off modes of the image processing apparatus 100. In addition, 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.

80は電源制御部であり、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路などから構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、その検出結果およびシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部に供給する。   Reference numeral 80 denotes a power control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, detects whether or not a battery is installed, the type of battery, and the remaining battery level. The DC-DC converter is controlled based on the detection result and the instruction of 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 numerals 82 and 84 denote connectors, 86 denotes a primary battery such as an alkaline battery or lithium battery, a secondary battery such as a NiCd battery, NiMH battery, or Li battery, an AC adapter, or the like.

90および94はメモリカードやハードディスク等の記録媒体200、210とのインターフェース、92および96はメモリカードやハードディスクなどの記録媒体との接続を行うコネクタ、98はコネクタ92、96に記録媒体200、210が装着されているか否かを検知する記録媒体着脱検知部である。   Reference numerals 90 and 94 denote interfaces with recording media 200 and 210 such as memory cards and hard disks, reference numerals 92 and 96 denote connectors for connecting to recording media such as memory cards and hard disks, and reference numeral 98 denotes connectors 92 and 96 that are connected to the recording media 200 and 210. Is a recording medium attachment / detachment detection unit that detects whether or not the is attached.

尚、本実施形態では、記録媒体を取り付けるインターフェースおよびコネクタが2系統装備されているが、記録媒体を取り付けるインターフェースおよびコネクタは単数あるいは任意の数の系統数装備されていてもよい。また、異なる規格のインターフェースおよびコネクタとして、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カードなどの規格に準拠したものを用いてもよい。   In this embodiment, two interfaces and connectors for attaching the recording medium are provided. However, a single or an arbitrary number of interfaces and connectors for attaching the recording medium may be provided. Further, as interfaces and connectors of different standards, those conforming to standards such as PCMCIA cards and CF (Compact Flash (registered trademark)) cards may be used.

さらに、インターフェース90、94、コネクタ92、96をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カードなどの規格に準拠したものを用いて構成した場合、LANカード、モデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHSなどの通信カードなどの各種通信カードを接続することより、他のコンピュータやプリンタなどの周辺機器との間で画像データや画像データに付属した管理情報を相互に転送することが可能である。   Further, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a standard conforming to a PCMCIA card or a CF (Compact Flash (registered trademark)) card, a LAN card, a modem card, a USB card, and an IEEE 1394 card are used. By connecting various communication cards such as communication cards such as P1284 card, SCSI card, PHS, etc., image data and management information attached to the image data are mutually transferred between peripheral devices such as other computers and printers. Is possible.

104は光学ファインダであり、撮影レンズ310に入射した光線を、一眼レフ方式によって、絞り312、レンズマウント306、106、ミラー130、132を介して導き、光学像として結像させて表示することが可能である。これにより、画像表示部28による電子ファインダ機能を使用することなく、光学ファインダ104だけを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタスピード表示、絞り値表示、露出補正表示などが設けられている。   Reference numeral 104 denotes an optical viewfinder, which guides a light beam incident on the photographing lens 310 through an aperture 312, lens mounts 306 and 106, and mirrors 130 and 132 by a single-lens reflex system, and forms an optical image for display. Is possible. 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. Further, 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 provided.

110は通信部であり、RS232C、USB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信などの各種通信機能を有する。112は通信部110により画像処理装置100を他の機器と接続するコネクタ、もしくは無線通信を行う場合のアンテナである。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. Reference numeral 112 denotes a connector for connecting the image processing apparatus 100 to another device by the communication unit 110 or an antenna for performing wireless communication.

120はレンズマウント106内で画像処理装置100をレンズユニット300と接続するためのインターフェースである。122は画像処理装置100をレンズユニット300と電気的に接続するコネクタである。また、不図示であるが、レンズマウント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. A connector 122 electrically connects the image processing apparatus 100 to the lens unit 300. Although not shown, a lens attachment / detachment detection unit for detecting whether or not the lens unit 300 is attached to the lens mount 106 and / or the connector 122 is provided.

コネクタ122は画像処理装置100とレンズユニット300との間で制御信号、状態信号、データ信号などを伝え合うと共に、各種電圧の電流を供給する機能も備えている。また、コネクタ122は電気通信だけでなく、光通信、音声通信などを伝達する構成としてもよい。   The connector 122 transmits 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. Further, 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 guide light rays incident on the photographing 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を有している。210は、記録媒体200と同様、メモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、画像処理装置100とのインターフェース214、および画像処理装置100との接続を行うコネクタ216を有している。   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, and the like, an interface 204 with the image processing apparatus 100, and a connector 206 for connecting with the image processing apparatus 100. Reference numeral 210 denotes a recording medium such as a memory card or a hard disk, similar to the recording medium 200. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, or the like, an interface 214 with the image processing apparatus 100, and a connector 216 for connecting with the image processing apparatus 100.

300は交換レンズタイプのレンズユニットである。306はレンズユニット300を画像処理装置100と機械的に結合するレンズマウントである。レンズマウント306内には、レンズユニット300を画像処理装置100と電気的に接続する各種機能が含まれている。   Reference numeral 300 denotes an interchangeable lens type lens unit. A lens mount 306 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. A connector 322 electrically connects the lens unit 300 to the image processing apparatus 100.

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

340は測光制御部46からの測光情報に基づいて、シャッタ12を制御するシャッタ制御部40と連携しながら、絞り312を制御する絞り制御部である。342は撮影レンズ310のフォーカシングを制御する測距制御部である。344は撮影レンズ310のズーミングを制御するズーム制御部である。350はレンズユニット300全体を制御するレンズシステム制御回路である。レンズシステム制御回路350は、動作用の定数、変数、プログラムなどを記憶するメモリやレンズユニット300固有の番号などの識別情報、管理情報、開放絞り値や最小絞り値、焦点距離等の機能情報、現在や過去の各設定値などを保持する不揮発メモリの機能も備えている。   Reference numeral 340 denotes an aperture control unit that controls the aperture 312 in cooperation with the shutter control unit 40 that controls the shutter 12 based on photometric information from the photometry control unit 46. A distance measurement control unit 342 controls focusing of the photographing lens 310. A zoom control unit 344 controls zooming of the photographing lens 310. A lens system control circuit 350 controls the entire lens unit 300. The lens system control circuit 350 includes identification information such as a memory and an identification number unique to the lens unit 300, management information, function information such as an open aperture value, a minimum aperture value, and a focal length. It also has a non-volatile memory function for holding current and past set values.

上記構成を有する電子カメラの動作について説明する。図2、図3および図4は画像処理装置100の撮影動作処理手順を示すフローチャートである。この処理プログラムは不揮発性メモリ56などの記憶媒体に格納されており、メモリ52にロードされてシステム制御回路50内のCPUによって実行される。   The operation of the electronic camera having the above configuration will be described. 2, 3, and 4 are flowcharts showing the photographing operation processing procedure of the image processing apparatus 100. This processing program is stored in a storage medium such as the nonvolatile memory 56, loaded into the memory 52, and executed by the CPU in the system control circuit 50.

電池交換などの電源投入により、システム制御回路50はフラグや制御変数等を初期化し、画像処理装置100の各部に対して必要な所定の初期設定を行う(ステップS101)。システム制御回路50は、電源スイッチ72の設定位置を判別し、電源スイッチ72が電源OFFに設定されているか否かを判別する(ステップS102)。   Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like, and performs necessary initial settings for each part of the image processing apparatus 100 (step S101). The system control circuit 50 determines the set position of the power switch 72, and determines whether or not the power switch 72 is set to power OFF (step S102).

電源スイッチ72が電源OFFに設定されている場合、各表示部の表示を終了状態に変更し、フラグや制御変数などを含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御部80により画像表示部28を含む画像処理装置100各部の不要な電源を遮断する等の所定の終了処理を行った後(ステップS103)、ステップS102の処理に戻る。   When the power switch 72 is set to power OFF, the display of each display unit is changed to the end state, and necessary parameters, setting values, and setting modes including flags and control variables are recorded in the nonvolatile memory 56. After the power control unit 80 performs a predetermined end process such as cutting off unnecessary power of each part of the image processing apparatus 100 including the image display unit 28 (step S103), the process returns to the process of step S102.

一方、電源スイッチ72が電源ONに設定されていた場合、システム制御回路50は電源制御部80により電池などの電源86の残容量や動作状況が画像処理装置100の動作に問題があるか否かを判別する(ステップS104)。問題があると判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS105)、ステップS102の処理に戻る。   On the other hand, when the power switch 72 is set to ON, the system control circuit 50 determines whether the remaining capacity of the power source 86 such as a battery and the operation status have a problem in the operation of the image processing apparatus 100 by the power control unit 80. Is determined (step S104). If it is determined that there is a problem, a predetermined warning is given by displaying an image or outputting sound on the display unit 54 (step S105), and then the process returns to step S102.

一方、電源86に問題がないと判別された場合、システム制御回路50はモードダイアルスイッチ60の設定位置を判断し、モードダイアルスイッチ60が撮影モードに設定されているか否かを判別する(ステップS106)。モードダイアルスイッチ60がその他のモードに設定されている場合、システム制御回路50は選択されたモードに応じた処理を実行し(ステップS107)、実行後にステップS102の処理に戻る。   On the other hand, if it is determined that there is no problem with the power supply 86, the system control circuit 50 determines the setting position of the mode dial switch 60 and determines whether or not the mode dial switch 60 is set to the shooting mode (step S106). ). When the mode dial switch 60 is set to another mode, the system control circuit 50 executes processing according to the selected mode (step S107), and returns to the processing of step S102 after execution.

一方、モードダイアルスイッチ60が撮影モードに設定されている場合、記録媒体200、210が装着されているか否かの判断、記録媒体200、210に記録された画像データの管理情報の取得、および記録媒体200、210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判別する(ステップS108)。問題があると判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS105)、ステップS102の処理に戻る。   On the other hand, when the mode dial switch 60 is set to the shooting mode, it is determined whether or not the recording media 200 and 210 are attached, acquisition of management information of the image data recorded on the recording media 200 and 210, and recording. It is determined whether or not the operation state of the media 200 and 210 has a problem in the operation of the image processing apparatus 100, in particular, the recording / reproducing operation of the image data on the recording medium (step S108). If it is determined that there is a problem, a predetermined warning is given by displaying an image or outputting sound on the display unit 54 (step S105), and then the process returns to step S102.

一方、ステップS108で問題がないと判別された場合、システム制御回路50は表示部54を用いて画像や音声により画像処理装置100の各種設定状態の表示を行う(ステップS109)。ここで、画像表示部28の画像表示スイッチがONである場合、画像表示部28を用いて画像や音声により画像処理装置100の各種設定状態を表示するようにしてもよい。   On the other hand, if it is determined in step S108 that there is no problem, the system control circuit 50 displays various setting states of the image processing apparatus 100 using images and sounds using the display unit 54 (step S109). Here, when the image display switch of the image display unit 28 is ON, various setting states of the image processing apparatus 100 may be displayed by an image or sound using the image display unit 28.

シャッタスイッチSW1 62が押されているか否かを判別し(ステップS113)、シャッタスイッチSW1 62が押されていない場合、ステップS102の処理に戻る。一方、シャッタスイッチSW1 62が押されている場合、システム制御回路50は、測距処理を行って撮影レンズ310の焦点を被写体に合わせ、測光処理を行って絞り値およびシャッタ速度を決定する測距・測光処理を行う(ステップS114)。測光処理では、必要であればフラッシュの設定を行う。   It is determined whether or not the shutter switch SW1 62 has been pressed (step S113). If the shutter switch SW1 62 has not been pressed, the process returns to step S102. On the other hand, when the shutter switch SW1 62 is pressed, the system control circuit 50 performs a distance measurement process to focus the photographing lens 310 on the subject, and performs a light measurement process to determine an aperture value and a shutter speed. A photometric process is performed (step S114). In the photometric process, the flash is set if necessary.

そして、シャッタスイッチSW2 64が押されているか否かを判別し(ステップS115)、シャッタスイッチSW2 64が押されていない場合、シャッタスイッチSW1 62が離されたか否かを判別し(ステップS116)、シャッタスイッチSW1 62が離されるかシャッタスイッチSW2 64が押されるまでステップS115およびステップS116の処理を繰り返す。ステップS116でシャッタスイッチSW1 62が離された場合、ステップS102の処理に移行する。   Then, it is determined whether or not the shutter switch SW2 64 is pressed (step S115). If the shutter switch SW2 64 is not pressed, it is determined whether or not the shutter switch SW1 62 is released (step S116). Steps S115 and S116 are repeated until the shutter switch SW1 62 is released or the shutter switch SW2 64 is pressed. If the shutter switch SW1 62 is released in step S116, the process proceeds to step S102.

一方、ステップS115でシャッタスイッチSW2 64が押された場合、システム制御回路50は、撮影した画像データの記憶可能な画像記憶バッファ領域がメモリ30にあるか否かを判別する(ステップS126)。メモリ30の画像記憶バッファ領域内に新たな画像データの記憶可能な領域がないと判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS127)、ステップS102の処理に戻る。   On the other hand, when the shutter switch SW264 is pressed in step S115, the system control circuit 50 determines whether or not the memory 30 has an image storage buffer area in which captured image data can be stored (step S126). If it is determined that there is no area where new image data can be stored in the image storage buffer area of the memory 30, a predetermined warning is given to the display unit 54 by displaying an image or outputting sound (step S127). The process returns to step S102.

例えば、メモリ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 media 200, 210 is still the storage media 200, 210. This is a case where a single blank area cannot be secured in the image storage buffer area of the memory 30.

尚、撮影した画像データを圧縮処理してからメモリ30の画像記憶バッファ領域に記憶する場合、圧縮した後の画像データ量が圧縮モードの設定に応じて異なることを考慮して、記憶可能な領域がメモリ30の画像記憶バッファ領域上にあるか否かをステップS126の処理で判断することになる。   Note that when the captured image data is compressed and stored in the image storage buffer area of the memory 30, the area that can be stored in consideration of the fact that the amount of compressed image data varies depending on the compression mode setting. Is in the image storage buffer area of the memory 30, it is determined in the process of step S126.

一方、ステップS126でメモリ30に撮影した画像データの記憶可能な画像記憶バッファ領域があると判別された場合、システム制御回路50は、撮像して所定時間蓄積した撮像信号を撮像素子14から読み出し、A/D変換器16、画像処理回路20およびメモリ制御回路22を介して、あるいはA/D変換器16から直接、メモリ制御回路22を介して、メモリ30の所定領域に撮影した画像データを書き込む撮影処理を実行する(ステップS128)。この撮影処理の詳細については、後述する。   On the other hand, if it is determined in step S126 that there is an image storage buffer area capable of storing the image data captured in the memory 30, the system control circuit 50 reads out the imaging signal that has been captured and accumulated for a predetermined time from the imaging element 14, and The photographed image data is written in a predetermined area of the memory 30 via the A / D converter 16, the image processing circuit 20 and the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22. An imaging process is executed (step S128). Details of this photographing process will be described later.

ステップS128の撮影処理を終えると、システム制御回路50は、その内部メモリあるいはメモリ52に記憶されているキズ補正テーブルのデータを使って欠陥画素補正を行う(ステップS129)。欠陥画素補正処理の詳細については後述する。   When the photographing process in step S128 is completed, the system control circuit 50 performs defective pixel correction using the data of the scratch correction table stored in the internal memory or the memory 52 (step S129). Details of the defective pixel correction processing will be described later.

次に現像処理(ステップS130)の処理に移行する。システム制御回路50は、メモリ30の所定領域に書き込まれた画像データの一部をメモリ制御回路22を介して読み出して現像処理を行うために必要なWB(ホワイトバランス)積分演算処理、OB(オプティカルブラック)積分演算処理を行い、演算結果をシステム制御回路50の内部メモリあるいはメモリ52に記憶する。   Next, the process proceeds to the development process (step S130). The system control circuit 50 reads a part of image data written in a predetermined area of the memory 30 via the memory control circuit 22 and performs WB (white balance) integration calculation processing, OB (optical) necessary for development processing. Black) Integral calculation processing is 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(オートホワイトバランス)処理、ガンマ変換処理、色変換処理を含む各種現像処理を行う(ステップS130)。   Then, the system control circuit 50 uses the memory control circuit 22 and, if necessary, the image processing circuit 20 to read the captured image data written in a predetermined area of the memory 30 and reads the internal memory or the memory 52 of the system control circuit 50. Are used to perform various development processes including an AWB (auto white balance) process, a gamma conversion process, and a color conversion process (step S130).

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

そして、システム制御回路50は、メモリ30の画像記憶バッファ領域に記憶された画像データを読み出し、インターフェース90、94、コネクタ92、96を介して、メモリカードやコンパクトフラッシュ(登録商標)カード等の記録媒体200、210に読み出した画像データを書き込む記録処理を開始する(ステップS132)。この記録開始処理は、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みが新たに行われる度に、その画像データに対して実行される。   Then, the system control circuit 50 reads the image data stored in the image storage buffer area of the memory 30 and records it on a memory card, a compact flash (registered trademark) card or the like via the interfaces 90 and 94 and the connectors 92 and 96. Recording processing for writing the read image data on the media 200 and 210 is started (step S132). This recording start process is performed on the image data every time new image data is shot and 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 media 200 and 210, in order to indicate that the writing operation is being performed, a recording medium writing operation display such as blinking an LED is performed on the display unit 54, for example.

さらに、システム制御回路50は、シャッタスイッチSW1 62が押されているか否かを判別する(ステップS133)。シャッタスイッチSW1 62が離された状態である場合、ステップS102の処理に戻る。一方、シャッタスイッチSW1 62が押された状態である場合、単写が設定されていた場合、ステップS115の処理に戻り、シャッタスイッチSW1 62が離されるまで現在の処理を繰り返す。これにより、撮影に関する一連の処理が終了する。   Furthermore, the system control circuit 50 determines whether or not the shutter switch SW1 62 has been pressed (step S133). If the shutter switch SW1 62 is released, the process returns to step S102. On the other hand, if the shutter switch SW1 62 has been pressed and if single shooting has been set, the process returns to step S115, and the current process is repeated until the shutter switch SW1 62 is released. As a result, a series of processing relating to photographing is completed.

図5はステップS114における測距・測光処理手順を示すフローチャートである。測距・測光処理では、システム制御回路50と、絞り制御部340あるいは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320およびレンズシステム制御回路350を介して行われる。   FIG. 5 is a flowchart showing the distance measurement / photometry processing procedure in step S114. In the distance measurement / photometry processing, the exchange of various signals between the system control circuit 50 and the aperture control unit 340 or the distance measurement control unit 342 includes an interface 120, a connector 122, a connector 322, an interface 320, and a lens system control circuit 350. Is done through.

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

システム制御回路50は、撮影レンズ310に入射した光線を、絞り312、
レンズマウント306、106、ミラー130、測距用サブミラー(図示せず)を介して、測距制御部42に入射させることにより、光学像として結像された画像の合焦状態を判断し、測距(AF)が合焦と判断されるまで、測距制御部342を用いて撮影レンズ310を駆動しながら、測距制御部42を用いて合焦状態を検出するAF制御を実行する(ステップS202、S203)。
The system control circuit 50 converts the light incident on the taking lens 310 into a stop 312,
By making it enter the distance measurement control unit 42 through the lens mounts 306 and 106, the mirror 130, and the distance measurement sub-mirror (not shown), the in-focus state of the image formed as an optical image is determined, and the measurement is performed. Until the distance (AF) is determined to be in focus, the distance measurement control unit 342 is used to drive the photographing lens 310 while the distance measurement control unit 42 is used to detect the in-focus state (step AF). S202, S203).

ステップS203で測距(AF)が合焦と判断された場合、システム制御回路50は、撮影画面内の複数の測距点の中から合焦した測距点を決定し、決定した測距点データと共に測距データおよび/または設定パラメータをシステム制御回路50の内部メモリあるいはメモリ52に記憶する(ステップS204)。   When ranging (AF) is determined to be in focus in step 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 (step S204).

続いて、システム制御回路50は、測光制御部46を用いてAE(自動露出)処理を開始する(ステップS205)。システム制御回路50は、撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130、132および測光用レンズ(図示せず)を介して、測光制御部46に入射させることにより、光学像として結像された画像の露出状態を測定し、露出(AE)が適正と判断されるまで露光(シャッタ)制御部40を用いて測光処理を行う(ステップS206、S207)。   Subsequently, the system control circuit 50 starts an AE (automatic exposure) process using the photometry control unit 46 (step S205). The system control circuit 50 causes the light beam incident on the photographing lens 310 to enter the photometry control unit 46 via the aperture 312, the lens mounts 306 and 106, the mirrors 130 and 132, and the photometry lens (not shown). Then, the exposure state of the image formed as an optical image is measured, and photometric processing is performed using the exposure (shutter) control unit 40 until it is determined that the exposure (AE) is appropriate (steps S206 and S207).

ステップ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 by the photometric processing in step S206 and the photographing mode set by the mode dial switch 60. Is done.

ここで、決定されたシャッタ速度(Tv値)に応じて、システム制御回路50は、撮像素子14の電荷蓄積時間を決定する。   Here, the system control circuit 50 determines the charge accumulation time of the image sensor 14 according to the determined shutter speed (Tv value).

ステップS207で露出(AE)が適正であると判断された場合、ステップS206の測光処理で得られた測定データにより、システム制御回路50はフラッシュが必要であるか否かを判別し(ステップS208)、フラッシュが必要である場合、フラッシュフラグをセットし、充電が完了するまでフラッシュ部48を充電する(ステップS209、S210)。そして、フラッシュ部48の充電が完了すると、本処理を終了してメインの処理に復帰する。   If it is determined in step S207 that the exposure (AE) is appropriate, the system control circuit 50 determines whether or not flashing is necessary based on the measurement data obtained by the photometric process in step S206 (step S208). If the flash is necessary, the flash flag is set and the flash unit 48 is charged until the charging is completed (steps S209 and S210). Then, when the charging of the flash unit 48 is completed, this process is terminated and the process returns to the main process.

図6はステップS128における撮影処理手順を示すフローチャートである。この撮影処理では、システム制御回路50と、絞り制御部340あるいは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320およびレンズシステム制御回路350を介して行われる。   FIG. 6 is a flowchart showing the photographing processing procedure in step S128. In this 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 system control circuit 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) (step S301), and according to the photometric data stored in the internal memory of the system control circuit 50 or the memory 52, the aperture control unit The diaphragm 312 is driven to a predetermined diaphragm value by 340 (step S302).

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

そして、フラッシュフラグによりフラッシュ部48が必要であるか否かを判別し(ステップS307)、必要である場合、フラッシュ部48を発光させる(ステップS308)。   Then, it is determined whether or not the flash unit 48 is necessary based on the flash flag (step S307), and if necessary, the flash unit 48 is caused to emit light (step S308).

システム制御回路50は、測光データにしたがって撮像素子14の露光終了を待ち(ステップS309)、露光が終了すると、シャッタ制御部40によってシャッタ12を閉じ(ステップS310)、撮像素子14の露光を終了する。   The system control circuit 50 waits for the exposure of the image sensor 14 according to the photometric data (step S309), and when the exposure ends, the shutter control unit 40 closes the shutter 12 (step S310) and ends the exposure of the image sensor 14. .

システム制御回路50は、絞り制御部340によって絞り312を開放の絞り値まで駆動し(ステップS311)、ミラー130をミラー駆動部(図示せず)によってミラーダウン位置に移動させる(ステップS312)。   The system control circuit 50 drives the aperture 312 to the open aperture value by the aperture controller 340 (step S311), and moves the mirror 130 to the mirror down position by the mirror driver (not shown) (step S312).

設定した電荷蓄積時間が経過したか否かを判別し(ステップS313)、設定した電荷蓄積時間が経過した場合、システム制御回路50は撮像素子14の電荷蓄積を終了した後(ステップS314)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、あるいはA/D変換器16から直接、メモリ制御回路22を介してメモリ30の所定領域に撮影画像データを書き込む(ステップS315)。一連の処理を終了すると、本処理を終了してメインの処理に復帰する。   It is determined whether or not the set charge accumulation time has elapsed (step S313). If the set charge accumulation time has elapsed, the system control circuit 50 finishes the charge accumulation of the image sensor 14 (step S314), and then performs imaging. A charge signal is read out from the element 14, and a predetermined area of the memory 30 through the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter 16 through the memory control circuit 22. The photographed image data is written in (Step S315). When the series of processes is completed, the present process is terminated and the process returns to the main process.

図7はキズ補正処理は上記図4のステップS129におけるキズ補正処理の詳細なフローチャートである。まず画像処理装置100のシステム制御回路50は、キズ補正処理を行う際に使用するためのキズ補正データの読み出しを行う(ステップS401)。この場合、キズ補正データは不揮発性メモリ56もしくはシステム制御回路50の内蔵メモリに保存されており、撮影後のキズ補正処理において実際に使用するキズ補正データを読み出す。   FIG. 7 is a detailed flowchart of the scratch correction process in step S129 of FIG. First, the system control circuit 50 of the image processing apparatus 100 reads out defect correction data to be used when performing defect correction processing (step S401). In this case, the defect correction data is stored in the nonvolatile memory 56 or the built-in memory of the system control circuit 50, and the defect correction data that is actually used in the defect correction processing after photographing is read out.

ここで、キズ補正データは事前に検出された欠陥画素を出力レベル順にソートした情報の中から、ホワイトバランスモードの設定で選択的に変化するR,G,B各色ごとのゲイン、あるいは撮影画像から演算され変化する各色ごとのゲインに応じた出力レベルに応じて選択された欠陥画素のアドレスに関する情報を保持するデータである。   Here, the defect correction data is obtained from the information obtained by sorting the defective pixels detected in advance in the order of the output level, from the gain for each color of R, G, and B that is selectively changed by the setting of the white balance mode, or from the captured image. This data holds information related to the address of the defective pixel selected according to the output level corresponding to the gain for each color that is calculated and changed.

図8,9を用いて、このキズ補正データ読み出しシーケンスについて詳細に説明する。図8,9は図7のステップS401におけるキズ補正のための補正データ読み出しの詳細なフローチャートおよび表である。撮像素子14は、その出荷時に、所定の環境温度、所定の電荷蓄積時間に得られた画像データにより、各種のキズ画素(欠陥画素)を抽出される。これらのキズ画素はR,G、Bごとに分離し出力レベルごとのソートが掛けられ、アドレス、キズレベルが記載された出荷時データをもとに、本画像処理装置100内のメモリに格納するデータを成形する。この処理は画像処理装置100で外部で行われる。   The defect correction data reading sequence will be described in detail with reference to FIGS. 8 and 9 are detailed flowcharts and tables for reading correction data for flaw correction in step S401 in FIG. When the image sensor 14 is shipped, various scratch pixels (defective pixels) are extracted from image data obtained at a predetermined environmental temperature and a predetermined charge accumulation time. These scratched pixels are separated for each of R, G, and B and sorted for each output level. Based on the shipping data in which the address and scratch level are described, the data stored in the memory in the image processing apparatus 100 Is molded. This process is performed externally by the image processing apparatus 100.

図8のキズ補正データ読み出しシーケンスを、上述した説明に対応させてステップ順に説明すると、まず、システム制御回路50、ISO感度の設定値(例えば100、200、400、800)を確認し(ステップS501)、シャッタ速度を確認し(ステップS502)、ホワイトバランスモード設定を確認(ステップS503)した後、ISO設定値>400を判断する(ステップS504)、ISO設定値が400以下である場合は、LEVELに1を入れる(ステップ505)。ISO設定が400を超える場合はLEVELに2を入れる(ステップS507)。次にシャッタ速度が1秒以下であるかを判断し(ステップ506)、シャッタ速度が1秒を超える場合はLEVELに1を追加する(ステップS508)。シャッタ速度が1秒以下である場合は、キズ補正レベルの設定を行う(ステップS509)。   8 will be described in the order of steps corresponding to the above description. First, the system control circuit 50 and ISO sensitivity setting values (for example, 100, 200, 400, 800) are confirmed (step S501). ), The shutter speed is confirmed (step S502), the white balance mode setting is confirmed (step S503), and ISO setting value> 400 is determined (step S504). If the ISO setting value is 400 or less, LEVEL 1 is put into (step 505). If the ISO setting exceeds 400, LEVEL is set to 2 (step S507). Next, it is determined whether the shutter speed is 1 second or less (step 506). If the shutter speed exceeds 1 second, 1 is added to LEVEL (step S508). If the shutter speed is 1 second or less, a scratch correction level is set (step S509).

ここでステップS509で行うISO設定とシャッタ速度に応じたキズ補正レベルの設定について説明する。   Here, the ISO setting performed in step S509 and the setting of the scratch correction level according to the shutter speed will be described.

白キズの多くは撮像素子14の露光時間(電荷蓄積時間)に応じてレベルが大きくなる傾向があり、同じレベルの白キズであっても、設定されたISO感度(撮像素子14のゲインおよび画像処理回路20のゲイン)によっても、画像となった場合のキズのレベルが変わってしまう。   Many white scratches tend to increase in level according to the exposure time (charge accumulation time) of the image sensor 14, and even if the white scratches are at the same level, the set ISO sensitivity (gain of the image sensor 14 and image) Depending on the gain of the processing circuit 20, the level of scratches in the case of an image changes.

例えば、ISOが高くなるほど画像でのキズレベルは高くなり、補正が必要な画素アドレスを抽出するための出荷時データにおけるキズ補正レベルの値は下げていく必要がある。また、測光処理(上記図5におけるS206)で決定されたシャッタ速度(Tv値)に応じて、システム制御回路50は、撮像素子14の電荷蓄積時間を決定する。電荷蓄積時間が長くなると、白キズレベルは上昇し、短秒時では問題にならないレベルの画素の出力が長秒時では大きなキズレベルになることもある。したがって、シャッタ速度が長くなるにしたがって、出荷時データにおけるキズ補正レベルの値は下げていく必要がある。   For example, the higher the ISO is, the higher the scratch level in the image is, and it is necessary to lower the value of the scratch correction level in the shipping data for extracting the pixel address that needs to be corrected. Further, the system control circuit 50 determines the charge accumulation time of the image sensor 14 according to the shutter speed (Tv value) determined in the photometric process (S206 in FIG. 5). As the charge accumulation time becomes longer, the white scratch level rises, and the output of a pixel that does not cause a problem in a short time may become a large scratch level in a long time. Therefore, it is necessary to decrease the value of the scratch correction level in the shipping data as the shutter speed increases.

例えば図9(a)(b)を用い説明すると、ISO感度とシャッタ速度Tvに応じたキズ補正レベルをLEVEL1、LEVEL2、LEVEL3の3段階設定し、出荷時データにおけるキズ補正レベルをそれぞれ、10mV以上、5mV以上、2mV以上とする。   For example, referring to FIGS. 9 (a) and 9 (b), the defect correction level corresponding to the ISO sensitivity and the shutter speed Tv is set in three levels LEVEL1, LEVEL2, and LEVEL3, and the defect correction level in the shipping data is 10 mV or more, respectively. 5 mV or more and 2 mV or more.

ISOが400以下でシャッタ速度が1秒以下である場合は、キズ補正レベルは10mVが設定される。またISOが400を超え、シャッタ速度も1秒を超えるとキズ補正レベルは2mVが設定される。   When ISO is 400 or less and the shutter speed is 1 second or less, the scratch correction level is set to 10 mV. If the ISO exceeds 400 and the shutter speed exceeds 1 second, the scratch correction level is set to 2 mV.

次にホワイトバランスゲイン補正を行う(ステップS510)。   Next, white balance gain correction is performed (step S510).

ここでホワイトバランスゲイン補正について説明すると、撮影時の光源の色温度の違いを補正するホワイトバランス補正を行うと、R,G,Bの各色ごとに異なったゲインをかけるため、最終的な撮影画像としては色ごとにキズのレベルが変わってしまう。   Here, the white balance gain correction will be described. When the white balance correction for correcting the difference in color temperature of the light source at the time of shooting is performed, a different gain is applied to each color of R, G, and B. As a result, the level of scratches will change for each color.

図9(c)に示すように、撮影時に設定されたホワイトバランスモード、例えば太陽光モード、蛍光灯モード、電球モードそれぞれに設定されたRゲイン,Gゲイン,Bゲインを使って、(c)に示す演算式に従って、R,G,Bそれぞれに対し、キズ補正レベル(R,G,B)を設定する。   As shown in FIG. 9C, using the white balance mode set at the time of shooting, for example, the R gain, G gain, and B gain set for each of the sunlight mode, fluorescent lamp mode, and bulb mode, (c) The scratch correction level (R, G, B) is set for each of R, G, B according to the arithmetic expression shown in FIG.

次にR,G,Bそれぞれに設定したキズデータ読み出しを行う(ステップS510)。ステップS510では、不揮発性メモリ56もしくはシステム制御回路50の内蔵メモリに保存されている、出荷時のR,G,Bそれぞれのデータ(DataR、DataG、DataB)からR,G,Bそれぞれに設定されたキズ補正レベル以上のキズに関するアドレス情報を読み出すしリターンする。   Next, the scratch data set for each of R, G, and B is read (step S510). In step S510, R, G, B data (DataR, DataG, DataB) stored in the nonvolatile memory 56 or the built-in memory of the system control circuit 50 are set to R, G, B respectively. Reads address information related to scratches above the scratch correction level and returns.

図7に戻り、システム制御回路50は、上記ステップS402にて使用するキズ補正データを指定した後、撮像素子14の白キズを補償するために、上記ステップS402で指定したキズ補正データに記載された白キズ画素のアドレスを示す情報を参照しながら、メモリ30の所定領域に書き込まれた撮影画像の対応する画素に対し、隣接する同色画素の撮影画像データを用いて点キズ補正処理を行う。まず、システム制御回路50は、選択したキズ補正データの先頭から1画素分のキズアドレス情報を読み込み(S403).このアドレス情報を参照し、メモリ30に書き込まれた撮影画像における該当画素のアドレスを特定することが可能である。   Returning to FIG. 7, the system control circuit 50 specifies the flaw correction data to be used in step S <b> 402, and then describes the flaw correction data specified in step S <b> 402 in order to compensate for white flaws in the image sensor 14. While referring to the information indicating the address of the white defect pixel, the point defect correction process is performed on the corresponding pixel of the photographed image written in the predetermined area of the memory 30 using the photographed image data of the adjacent same color pixel. First, the system control circuit 50 reads flaw address information for one pixel from the head of the selected flaw correction data (S403). By referring to this address information, it is possible to specify the address of the corresponding pixel in the captured image written in the memory 30.

次に、システム制御回路50は、上記ステップS403でアドレスを特定した該当画素に隣接する同色画素の撮影画像データを読み込む(ステップS404)。次に、システム制御回路50は上記ステップS404で得られた隣接画素の値から、該当画素の補正量を算出する(ステップS405)。続いて、システム制御回路50は、上記ステップS405で算出した該当画素の補正量を、メモリ30における該当アドレスに書き込む(ステップS406)。これにより、該当画素の補正処理は完了する。   Next, the system control circuit 50 reads captured image data of the same color pixel adjacent to the corresponding pixel whose address is specified in step S403 (step S404). Next, the system control circuit 50 calculates the correction amount of the corresponding pixel from the value of the adjacent pixel obtained in step S404 (step S405). Subsequently, the system control circuit 50 writes the correction amount of the corresponding pixel calculated in step S405 to the corresponding address in the memory 30 (step S406). Thereby, the correction process of the corresponding pixel is completed.

次に、システム制御回路50は、指定したき図補正データに記載されたキズ画素のキズ補正処理が全て完了したか否かを判断する(ステップS407)。   Next, the system control circuit 50 determines whether or not all the defect correction processes for the defect pixels described in the designated drawing correction data have been completed (step S407).

キズ画素の補正処理がまだ完了していないと判断した場合は、上記ステップS403に戻り、キズ補正データに記載された次のキズアドレス情報を読み出し、上記と同様の処理を繰り返す。他方、システム制御回路50は、指定したキズ補正データに記載された全てのキズ補正処理が完了したと判断した場合、次の補正すべきデータをあるか否かを判断する(ステップS408)。   If it is determined that the defect pixel correction process has not been completed, the process returns to step S403, the next defect address information described in the defect correction data is read, and the same process as described above is repeated. On the other hand, if the system control circuit 50 determines that all the scratch correction processes described in the specified scratch correction data have been completed, the system control circuit 50 determines whether there is data to be corrected next (step S408).

S401で読み出された全てのキズ画素に対するキズ補正処理が全て終了すると、キズ補正処理シーケンスを全て完了する。   When all the defect correction processes for all the defect pixels read out in S401 are completed, the entire defect correction processing sequence is completed.

以上説明したように本実施の形態によれば、次のような効果がある。   As described above, the present embodiment has the following effects.

(1)R,G,Bそれぞれのキズ補正レベルを設定することで、色再現処理後の最終画像で特定の色の欠陥画素が目立つことによる画質低下を防ぎ、かつ最小限のキズ補正個数で補正することができるためメモリ容量を削減させ、処理スピードを速めるという効果がある。   (1) By setting the respective defect correction levels for R, G, and B, it is possible to prevent deterioration in image quality due to conspicuous defective pixels of a specific color in the final image after color reproduction processing, and with a minimum number of defect corrections. Since the correction can be made, the memory capacity is reduced and the processing speed is increased.

(2)R,G,Bのそれぞれのキズ補正レベルは、撮影時の光源の色温度を補正するホワイトバランスの補正モードに応じ、R,G,Bそれぞれのキズ補正レベルを連動させて設定するため 光源の異なる多様な撮影条件に適応したキズ補正を可能とする効果がある。   (2) The scratch correction levels for R, G, and B are set in conjunction with the scratch correction levels for R, G, and B according to the white balance correction mode that corrects the color temperature of the light source during shooting. Therefore, there is an effect of enabling defect correction adapted to various shooting conditions with different light sources.

(第2の実施形態)
上記第1の実施形態では、キズ補正レベルをR,G,Bで異なる設定としたが、キズ補正個数に対しR,G,Bで異なる設定としても勿論問題無い。
(Second Embodiment)
In the first embodiment, the scratch correction level is set differently for R, G, and B. However, there is of course no problem even if the scratch correction level is set differently for R, G, and B.

例えば図10(b)に示すように、ISO感度とシャッタ速度Tvに応じたキズ補正レベルをLEVEL1、LEVEL2、LEVEL3の3段階設定し、出荷時データにおけるキズ補正個数をそれぞれ、500個、1000個、5000個とする。   For example, as shown in FIG. 10B, the scratch correction level corresponding to the ISO sensitivity and the shutter speed Tv is set in three levels of LEVEL1, LEVEL2, and LEVEL3, and the number of scratch corrections in the shipping data is 500 and 1000, respectively. 5000 pieces.

ISOが400以下でシャッタ速度が1秒以下である場合は、キズ補正個数は500個が設定される。またISOが400を超え、シャッタ速度も1秒を超えるとキズ補正個数は1000個が設定される。   When the ISO is 400 or less and the shutter speed is 1 second or less, 500 is set as the number of flaw corrections. When the ISO exceeds 400 and the shutter speed also exceeds 1 second, 1000 is set as the number of defect corrections.

次にホワイトバランスゲイン補正を行う(ステップS510)。   Next, white balance gain correction is performed (step S510).

ここでホワイトバランスゲイン補正について説明すると、撮影時の光源の色温度の違いを補正するホワイトバランス補正を行うと、R,G,Bの各色ごとに異なったゲインをかけるため、最終的な撮影画像としては色ごとにキズのレベルが変わってしまう。   Here, the white balance gain correction will be described. When the white balance correction for correcting the difference in color temperature of the light source at the time of shooting is performed, a different gain is applied to each color of R, G, and B. As a result, the level of scratches will change for each color.

図9(c)に示すように、撮影時に設定されたホワイトバランスモード、例えば太陽光モード、蛍光灯モード、電球モードそれぞれに設定されたRゲイン,Gゲイン,Bゲインを使って、図10(d)に示す演算式に従って、R,G,Bそれぞれに対し、キズ補正個数(R,G,B)を設定する。   As shown in FIG. 9C, the white balance mode set at the time of shooting, for example, the R gain, G gain, and B gain set for each of the sunlight mode, the fluorescent lamp mode, and the bulb mode are used. According to the arithmetic expression shown in d), the number of scratch corrections (R, G, B) is set for each of R, G, B.

次にR,G,Bそれぞれに設定したキズデータ読み出しを行う(ステップS511)。ステップS511では、不揮発性メモリ56もしくはシステム制御回路50の内蔵メモリに保存されている、出荷時のR,G,Bそれぞれのデータ(DataR、DataG、DataB)からR,G,Bそれぞれにキズレベルの大きいものから設定されたキズ補正個数のアドレス情報を読み出しリターンする。   Next, the flaw data set for each of R, G, and B is read (step S511). In step S511, the R, G, and B data (DataR, DataG, and DataB) stored in the nonvolatile memory 56 or the built-in memory of the system control circuit 50 are scratched to R, G, and B respectively. Read the address information of the number of scratch corrections set from the largest, and return.

(他の実施の形態)
尚、本実施の形態では、3種類のホワイトバランスモードに対応した固定のR,G、Bのゲインを選択しているが、撮影された画像から演算しホワイトバランス補正を行うオートホワイトバランス(AWB)モードや、ある任意に特定した撮影画像からホワイトバランス補正のR,G,Bゲインを演算するマニュアルホワイトバランスモード、また任意の色温度を設定してR,G,Bゲインを設定し、ホワイトバランス補正を行う色温度指定ホワイトバランスモード、でもそれぞれのモードで設定されたR.G、Bの各ゲインを使用しても勿論問題無い。
(Other embodiments)
In the present embodiment, fixed R, G, and B gains corresponding to three types of white balance modes are selected. However, auto white balance (AWB) that performs white balance correction by calculating from a captured image. ) Mode, manual white balance mode for calculating R, G, B gain for white balance correction from a specified image, or setting an arbitrary color temperature to set R, G, B gain, white The color temperature specified white balance mode for performing balance correction, but the R.D. Of course, there is no problem even if each gain of G and B is used.

また、本実施の形態では、R,G,Bの各色ごとにキズ補正レベルを設定し、不揮発性メモリ56もしくはシステム制御回路50の内蔵メモリに保存されている、出荷時のR,G,Bそれぞれのデータ(DataR、DataG、DataB)から キズレベルをR,G,Bそれぞれに設定されたキズ補正レベル以上のキズに関するアドレス情報を読み出すとなっているが、予めキズレベルごとにテーブル分割したデータ(DataR1、DataR2、DataR3)、(DataG1、DataG2、DataG3)、(DataB1、DataB2、DataB3)として不揮発性メモリ56もしくはシステム制御回路50の内蔵メモリに保存し、R、G、Bそれぞれに対しホワイトバランスのR,G,Bのゲインに応じたテーブルを指定しても勿論問題無い。   In the present embodiment, a defect correction level is set for each color of R, G, and B, and stored in the nonvolatile memory 56 or the built-in memory of the system control circuit 50. The address information related to the scratches with the scratch level equal to or higher than the scratch correction level set to each of R, G, and B is read from each data (DataR, DataG, DataB), but the data (DataR1) divided in advance for each scratch level. , DataR2, DataR3), (DataG1, DataG2, DataG3), (DataB1, DataB2, DataB3) are stored in the nonvolatile memory 56 or the built-in memory of the system control circuit 50, and each of R, G, and B has a white balance R , G, B table according to the gain Even if the constant no of course a problem.

また、本実施例では色の分割をR,G,Bの3種類となっているが、撮像素子14に塗布されている色フィルタの数に応じた処理を行うことも勿論可能である。   In this embodiment, there are three types of color division, R, G, and B, but it is of course possible to perform processing according to the number of color filters applied to the image sensor 14.

また、本実施例では撮像素子14に塗布されている色フィルタ色の分割をR,G,Bとなっているが、Magenta(M)、Yellow(Y)、Cyan(C)の分光特性を有する撮像素子を用いても勿論可能である。   In this embodiment, the color filter color applied to the image sensor 14 is divided into R, G, and B, but has spectral characteristics of Magenta (M), Yellow (Y), and Cyan (C). Of course, it is possible to use an image sensor.

また、本実施例では、キズ補正LEVELが3段階となっているが、これに限るものでは無く、シャッタ速度やISOの分割を変えキズ補正レベルの段階を増減しても勿論問題ない。   In this embodiment, the scratch correction LEVEL has three stages. However, the present invention is not limited to this, and there is of course no problem if the shutter speed or ISO division is changed to increase or decrease the scratch correction level.

また、本実施形態では、ミラー130をミラーアップ位置、ミラーダウン位置を移動して撮影動作を行う場合を示したが、ミラー130をハーフミラーの構成として、移動せずに撮影動作を行うようにしても勿論問題無い。   Further, in the present embodiment, the case where the photographing operation is performed by moving the mirror 130 between the mirror up position and the mirror down position has been described. However, the mirror 130 is configured as a half mirror so that the photographing operation is performed without moving. Of course there is no problem.

また、本実施形態では、記録媒体200、210は、PCMCIAカードやコンパクトフラッシュ(登録商標)等のメモリカード、ハードディスク等だけでなく、マイクロDAT、光磁気ディスク、CD−R、CD−RW等の光ディスク、DVD等の相変化型光ディスク等で構成されていても勿論問題無い。さらには、記録媒体200、210がメモリカードとハードディスク等が一体となった複合媒体であっても勿論問題無い。この場合、複合媒体から一部が着脱自在な構成であっても勿論問題無い。   In this embodiment, the recording media 200 and 210 are not only memory cards such as PCMCIA cards and compact flash (registered trademark), hard disks, but also micro DAT, magneto-optical disks, CD-Rs, CD-RWs, and the like. Of course, there is no problem even if it is constituted by a phase change optical disk such as an optical disk or DVD. Further, there is no problem even if the recording media 200 and 210 are composite media in which a memory card and a hard disk are integrated. In this case, of course, there is no problem even if a part of the composite medium is detachable.

また、本実施例では、記録媒体200、210は画像処理装置100と分離しており、任意に接続可能なものであるとしたが、いずれかあるいは全ての記録媒体が画像処理装置100に固定されたままであってもよい。また、画像処理装置100に、記録媒体200、210が単数あるいは複数の任意の個数接続可能な構成であっても勿論問題無い。
また、本実施例では、画像処理装置100に記録媒体200および210を装着する構成として説明したが、記録媒体は単数あるいは複数のいずれかの組み合わせの構成であっても勿論問題ない。
In this embodiment, the recording media 200 and 210 are separated from the image processing apparatus 100 and can be arbitrarily connected. However, any or all of the recording media are fixed to the image processing apparatus 100. It may be left alone. Of course, there is no problem even if the recording medium 200 or 210 can be connected to the image processing apparatus 100 by an arbitrary number or a plurality of recording media.
In this embodiment, the recording mediums 200 and 210 are described as being mounted on the image processing apparatus 100. However, there is of course no problem if the recording medium has a single or a plurality of combinations.

また、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードをシステムあるいは装置に供給することによって達成される場合にも適用できることはいうまでもない。この場合、プログラムコード自体が本発明の新規な機能を実現することになり、そのプログラム自体およびそのプログラムを記憶した記憶媒体は本発明を構成することになる。   It goes without saying that the present invention can also be applied to a case where the present invention is achieved by supplying software program codes for realizing the functions of the above-described embodiments to a system or apparatus. In this case, the program code itself realizes the novel function of the present invention, and the program itself and the storage medium storing the program constitute the present invention.

上記実施形態では、図2〜図8のフローチャートに示すプログラムコードは記憶媒体であるROMに格納されている。プログラムコードを供給する記憶媒体としては、ROMに限らず、例えばフレキシブルディスク、ハードディスク、不揮発性のメモリカードなどを用いることができる。   In the above embodiment, the program codes shown in the flowcharts of FIGS. 2 to 8 are stored in the ROM that is a storage medium. The storage medium for supplying the program code is not limited to the ROM, and for example, a flexible disk, a hard disk, a nonvolatile memory card, or the like can be used.

本発明の実施の形態における電子カメラの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic camera in embodiment of this invention. 本発明の実施の形態における電子カメラにおける主ルーチンのフローチャートを示す図である。It is a figure which shows the flowchart of the main routine in the electronic camera in embodiment of this invention. 本発明の実施の形態における電子カメラにおける主ルーチンのフローチャートを示す図である。It is a figure which shows the flowchart of the main routine in the electronic camera in embodiment of this invention. 本発明の実施の形態における電子カメラにおける主ルーチンのフローチャートを示す図である。It is a figure which shows the flowchart of the main routine in the electronic camera in embodiment of this invention. ステップS114における測距・測光処理手順を示すフローチャートである。It is a flowchart which shows the ranging / photometry processing procedure in step S114. ステップS128における撮影処理手順を示すフローチャートである。It is a flowchart which shows the imaging | photography process sequence in step S128. ステップS129におけるキズ補正処理手順を示すフローチャートである。It is a flowchart which shows the defect correction process procedure in step S129. ステップS401におけるキズ補正データ読み出し処理手順を示すフローチャートである。It is a flowchart which shows the defect correction data read-out process procedure in step S401. ステップS509、510におけるキズ補正データ読み出し処理の詳細を示す図である。It is a figure which shows the detail of the crack correction data read-out process in step S509,510. ステップS509、510における第2の実施形態のキズ補正データ読み出し処理の詳細を示す図である。It is a figure which shows the detail of the defect correction data read-out process of 2nd Embodiment in step S509,510.

符号の説明Explanation of symbols

14 撮像素子
44 温度計
50 システム制御回路
56 不揮発性メモリ
60 モードダイアル
62 シャッタスイッチSW1
64 シャッタスイッチSW2
69 ISO感度設定スイッチ
100 画像処理装置
14 Image sensor 44 Thermometer 50 System control circuit 56 Non-volatile memory 60 Mode dial 62 Shutter switch SW1
64 Shutter switch SW2
69 ISO sensitivity setting switch 100 Image processing apparatus

Claims (19)

異なる分光特性を持つ複数の画素を有する撮像素子と、撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データ記憶手段と、前記異なる分光特性を持つ複数の画素出力ごとに異なったレベルを設定する補正レベル設定手段と、前記補正用データ記憶手段に記憶された補正用データから、前記補正レベル設定手段で設定した前記異なる分光特性ごとの設定されたレベルに従って補正データを読み出す補正データ読み出し手段と、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正を行う欠陥画素補正手段とを有することを特徴とする撮像装置。   An image sensor having a plurality of pixels having different spectral characteristics, a correction data storage means having information on an address and a level for correcting an output of a defective pixel of the image sensor, and a plurality of pixel outputs having the different spectral characteristics Correction level setting means for setting a different level for each, and correction data according to the set level for each of the different spectral characteristics set by the correction level setting means from the correction data stored in the correction data storage means An image pickup apparatus comprising: correction data reading means for reading out image data; and defective pixel correction means for correcting defective pixels with respect to the output of the image pickup device using the read correction data. 前記異なる分光特性を持つ複数の画素は、少なくともRed(R)、Green(G)、Blue(B)またはMagenta(M)、Yellow(Y)、Cyan(C)の分光特性を有することを特徴とする撮像装置。   The plurality of pixels having different spectral characteristics have spectral characteristics of at least Red (R), Green (G), Blue (B), Magenta (M), Yellow (Y), and Cyan (C). An imaging device. 前記補正用データ記憶手段は、異なる分光特性を持つ複数の画素に対応したアドレス情報と、暗時の出力レベルに関する情報を有することを特徴とする撮像装置。   The correction data storage means has address information corresponding to a plurality of pixels having different spectral characteristics, and information related to an output level in darkness. 前記補正レベル設定手段は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力比に応じて、補正レベルを設定することを特徴とする撮像装置である。   The correction level setting means is an image pickup apparatus that sets a correction level according to an output ratio of pixels having different spectral characteristics generated due to a difference in color temperature of a light source. 請求項4に記載の撮像装置において、補正レベル設定手段は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力が低いほど、補正レベルを下げることを特徴とする撮像装置。   5. The imaging apparatus according to claim 4, wherein the correction level setting means lowers the correction level as the output of a pixel having different spectral characteristics generated due to a difference in color temperature of the light source is lower. 前記補正データ読み出し手段は、前記補正用データ記憶手段で記憶された補正用データに対し、前記補正レベル設定手段で設定された補正レベル以上のレベルの画素に対応するアドレスを読み出すことを特徴とする撮像装置である。   The correction data reading unit reads an address corresponding to a pixel having a level equal to or higher than the correction level set by the correction level setting unit with respect to the correction data stored in the correction data storage unit. An imaging device. 異なる分光特性を持つ複数の画素を有する撮像素子と、撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データ記憶手段と、前記異なる分光特性を持つ複数の画素出力ごとに異なった個数の補正個数を設定する補正個数設定手段と、前記補正用データ記憶手段に記憶された補正用データから、前記補正個数設定手段で設定した前記異なる分光特性ごとの設定された個数に従って補正データを読み出す補正データ読み出し手段と、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正を行う欠陥画素補正手段とを有することを特徴とする撮像装置。   An image sensor having a plurality of pixels having different spectral characteristics, a correction data storage means having information on an address and a level for correcting an output of a defective pixel of the image sensor, and a plurality of pixel outputs having the different spectral characteristics Correction number setting means for setting a different number of corrections for each, and the set number for each of the different spectral characteristics set by the correction number setting means from the correction data stored in the correction data storage means An imaging apparatus comprising: correction data reading means for reading correction data in accordance with the correction data; and defective pixel correction means for correcting defective pixels with respect to the output of the imaging device using the read correction data. 請求項7記載の撮像装置において、異なる分光特性を持つ複数の画素は、少なくともRed(R)、Green(G)、Blue(B)またはMagenta(M)、Yellow(Y)、Cyan(C)の分光特性を有することを特徴とする撮像装置。   8. The imaging device according to claim 7, wherein the plurality of pixels having different spectral characteristics are at least Red (R), Green (G), Blue (B), or Magenta (M), Yellow (Y), and Cyan (C). An imaging device having spectral characteristics. 請求項7記載の撮像装置において、補正用データ記憶手段は、異なる分光特性を持つ複数の画素に対応したアドレス情報と、暗時の出力レベルに関する情報を有することを特徴とする撮像装置。   8. The imaging apparatus according to claim 7, wherein the correction data storage means includes address information corresponding to a plurality of pixels having different spectral characteristics and information relating to an output level in the dark. 請求項7記載の撮像装置において、補正個数設定手段は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力比に応じて、補正個数を設定することを特徴とする撮像装置。   8. The imaging apparatus according to claim 7, wherein the correction number setting means sets the correction number in accordance with an output ratio of pixels having different spectral characteristics generated due to a difference in color temperature of the light source. 請求項10記載の撮像装置において、補正個数設定手段は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力が低いほど、補正個数を多くすることを特徴とする撮像装置。   11. The imaging apparatus according to claim 10, wherein the correction number setting means increases the correction number as the output of the pixel having different spectral characteristics generated due to the difference in color temperature of the light source is lower. 請求項7記載の撮像装置において、補正データ読み出し手段は、前記補正用データ記憶手段で記憶された補正用データを用い、キズレベルの高いものから、前記補正個数設定手段で設定された補正個数だけの画素に対応するアドレスを読み出すことを特徴とする補正データ読み出し手段を有する撮像装置。   8. The image pickup apparatus according to claim 7, wherein the correction data reading means uses the correction data stored in the correction data storage means, and the correction data read from the one having a high scratch level to the correction number set by the correction number setting means. An image pickup apparatus having correction data reading means for reading an address corresponding to a pixel. 異なる分光特性を持つ複数の画素を有する撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データから、前記異なる分光特性を持つ複数の画素出力ごとに異なったレベルを設定する補正レベル設定方法により設定し、設定した前記異なる分光特性ごとの設定されたレベルに従って補正データを読み出す補正データ読み出し方法により、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正を行うことを特徴とする補正処理方法。   Different levels are output for each of the plurality of pixel outputs having different spectral characteristics from the correction data having information on the address and level for correcting the output of the defective pixel of the imaging device having the plurality of pixels having different spectral characteristics. With the correction data read method set by the correction level setting method to be set and read out the correction data in accordance with the set level for each of the set different spectral characteristics, the output of the image sensor is read using the correction data read out. A correction processing method comprising correcting a defective pixel. 請求項13記載の補正処理方法において、異なる分光特性を持つ複数の画素は、少なくともRed(R),Green(G),Blue(B)またはMagenta(M)、Yellow(Y)、Cyan(C)の分光特性を有することを特徴とする補正処理方法。   14. The correction processing method according to claim 13, wherein the plurality of pixels having different spectral characteristics are at least Red (R), Green (G), Blue (B), Magenta (M), Yellow (Y), and Cyan (C). A correction processing method characterized by having the following spectral characteristics: 請求項13記載の補正処理方法において、補正レベル設定方法は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力比に応じて、補正レベルを設定することを特徴とする補正処理方法。   14. The correction processing method according to claim 13, wherein the correction level setting method sets a correction level according to an output ratio of pixels having different spectral characteristics generated due to a difference in color temperature of a light source. Method. 異なる分光特性を持つ複数の画素を有する撮像素子の欠陥画素の出力を補正するためのアドレスとレベルに関する情報を有する補正用データから、前記異なる分光特性の画素出力ごとに異なったレベルを設定する補正レベル設定方法により設定するステップと、設定した前記異なる分光特性ごとの設定されたレベルに従って補正データを読み出す補正データ読み出し方法により読み出すステップとを有し、補正データ読み出し方法により、読み出された補正用データを用いて、前記撮像素子の出力に関し欠陥画素の補正処理を行うステップを有することを特徴とする補正処理コンピュータプログラム。   Correction for setting a different level for each pixel output of the different spectral characteristics from correction data having information on the address and level for correcting the output of the defective pixel of the image sensor having a plurality of pixels having different spectral characteristics A step of setting by a level setting method, and a step of reading by a correction data reading method of reading correction data in accordance with the set level for each of the set different spectral characteristics. A correction processing computer program comprising a step of correcting a defective pixel with respect to an output of the image sensor using data. 請求項16記載の補正処理コンピュータプログラムにおいて、異なる分光特性を持つ複数の画素は、少なくともRed(R),Green(G),Blue(B)またはMagenta(M)、Yellow(Y)、Cyan(C)の分光特性を有することを特徴とする補正処理コンピュータプログラム。   17. The correction processing computer program according to claim 16, wherein the plurality of pixels having different spectral characteristics are at least Red (R), Green (G), Blue (B), Magenta (M), Yellow (Y), and Cyan (C The computer program for correction processing having the spectral characteristics of 請求項16記載の補正処理コンピュータプログラムにおいて、補正レベル設定方法は、光源の色温度の違いによって発生する異なる分光特性を持つ画素の出力比に応じて、補正レベルを設定することを特徴とする補正処理コンピュータプログラム。   17. The correction processing computer program according to claim 16, wherein the correction level setting method sets a correction level in accordance with an output ratio of pixels having different spectral characteristics generated due to a difference in color temperature of a light source. Processing computer program. 前記請求項16に記載の補正処理コンピュータプログラムを記憶したことを特徴とする記憶媒体。   17. A storage medium storing the correction processing computer program according to claim 16.
JP2004339227A 2004-11-24 2004-11-24 Imaging apparatus, correction processing method, correction processing program and storage medium Withdrawn JP2006148794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004339227A JP2006148794A (en) 2004-11-24 2004-11-24 Imaging apparatus, correction processing method, correction processing program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004339227A JP2006148794A (en) 2004-11-24 2004-11-24 Imaging apparatus, correction processing method, correction processing program and storage medium

Publications (1)

Publication Number Publication Date
JP2006148794A true JP2006148794A (en) 2006-06-08

Family

ID=36627933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004339227A Withdrawn JP2006148794A (en) 2004-11-24 2004-11-24 Imaging apparatus, correction processing method, correction processing program and storage medium

Country Status (1)

Country Link
JP (1) JP2006148794A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238060A (en) * 2005-02-25 2006-09-07 Matsushita Electric Ind Co Ltd Image processor and digital camera provided with the same
JP2008017037A (en) * 2006-07-04 2008-01-24 Canon Inc Solid imaging apparatus, and defective pixel correcting method
JP2009232200A (en) * 2008-03-24 2009-10-08 Hitachi Kokusai Electric Inc Method for correcting pixel defect of image pickup device
JP2010057148A (en) * 2008-08-30 2010-03-11 Sanyo Electric Co Ltd Electronic camera
US8284272B2 (en) 2008-02-28 2012-10-09 Sanyo Electric Co., Ltd. Electronic camera
CN114965506A (en) * 2022-07-29 2022-08-30 深圳市中钞科信金融科技有限公司 Device and method for detecting defect of anti-counterfeiting card

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238060A (en) * 2005-02-25 2006-09-07 Matsushita Electric Ind Co Ltd Image processor and digital camera provided with the same
JP4679174B2 (en) * 2005-02-25 2011-04-27 パナソニック株式会社 Image processing apparatus and digital camera equipped with the image processing apparatus
JP2008017037A (en) * 2006-07-04 2008-01-24 Canon Inc Solid imaging apparatus, and defective pixel correcting method
US8284272B2 (en) 2008-02-28 2012-10-09 Sanyo Electric Co., Ltd. Electronic camera
JP2009232200A (en) * 2008-03-24 2009-10-08 Hitachi Kokusai Electric Inc Method for correcting pixel defect of image pickup device
JP2010057148A (en) * 2008-08-30 2010-03-11 Sanyo Electric Co Ltd Electronic camera
CN114965506A (en) * 2022-07-29 2022-08-30 深圳市中钞科信金融科技有限公司 Device and method for detecting defect of anti-counterfeiting card
CN114965506B (en) * 2022-07-29 2022-11-15 深圳市中钞科信金融科技有限公司 Device and method for detecting defect of anti-counterfeiting card

Similar Documents

Publication Publication Date Title
US7796169B2 (en) Image processing apparatus for correcting captured image
JP4794978B2 (en) Image processing apparatus, control method, and program
JP4532819B2 (en) Imaging device
JP2005045552A (en) Imaging device and its method
US9467635B2 (en) Image processing apparatus and image processing method
US20040032490A1 (en) Image sensing apparatus, image sensing method, program, and storage medium
JP4819479B2 (en) Imaging apparatus and image data correction method
US7609314B2 (en) Image pickup apparatus, method of controlling the image pickup apparatus, and control program for implementing the method
JP2006148794A (en) Imaging apparatus, correction processing method, correction processing program and storage medium
JP3605084B2 (en) Image data correction device, image processing device, image data correction method, program, and storage medium
JP2003333434A (en) Device and method for picking-up image, program, and recording medium
JP4750616B2 (en) Imaging apparatus and control method thereof
JP2006270426A (en) Imaging apparatus, its control method, and computer program
JP4411053B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM
JP4393177B2 (en) Imaging apparatus and imaging method
JP2005333620A (en) Image processing apparatus and image processing method
JP2006222529A (en) Imaging apparatus
JP2006109162A (en) Imaging apparatus, imaging method, program, and storage medium
JP5967897B2 (en) Imaging apparatus, control method therefor, and program
JP2005051697A (en) Imaging apparatus
JP2005057691A (en) Imaging apparatus and method
JP2006217313A (en) Image processing apparatus, its control method and storage medium
JP5178438B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2006203665A (en) Imaging device and method therefor, and recording medium and program
JP2006108878A (en) Imaging apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080205