JP2008109503A - Imaging apparatus, control method thereof, program and storage medium - Google Patents

Imaging apparatus, control method thereof, program and storage medium Download PDF

Info

Publication number
JP2008109503A
JP2008109503A JP2006291717A JP2006291717A JP2008109503A JP 2008109503 A JP2008109503 A JP 2008109503A JP 2006291717 A JP2006291717 A JP 2006291717A JP 2006291717 A JP2006291717 A JP 2006291717A JP 2008109503 A JP2008109503 A JP 2008109503A
Authority
JP
Japan
Prior art keywords
image
display
red
eye
still image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006291717A
Other languages
Japanese (ja)
Other versions
JP2008109503A5 (en
Inventor
Yasutaka Naka
康孝 仲
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 JP2006291717A priority Critical patent/JP2008109503A/en
Publication of JP2008109503A publication Critical patent/JP2008109503A/en
Publication of JP2008109503A5 publication Critical patent/JP2008109503A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a time lag from performing photographing until performing quick review display even in the case of performing red-eye correction processing of a photographed image. <P>SOLUTION: The imaging apparatus comprises: an imaging part for imaging an object image; a display part for displaying an image; a red-eye correcting part for performing red-eye correction processing for correcting a part where a red-eye phenomenon occurs with respect to the imaged still image by the imaging part; and a control part for controlling the imaging part and the display part so as to make the display part display a first image for display generated from a first still image before performing red-eye correction processing of the first still image after making the imaging part image the first still image, and make the display part display a second image for display generated from the second still image obtained by hereafter performing red-eye correction processing of the first still image. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ストロボを使用して撮影した画像の赤目を補正する技術に関するものである。   The present invention relates to a technique for correcting red eyes of an image photographed using a strobe.

従来、固体メモリ素子を有するメモリカードを記録媒体として、静止画像や動画像を記録再生する電子カメラ等の撮像装置は既に市販されている。   Conventionally, an imaging device such as an electronic camera that records and reproduces still images and moving images using a memory card having a solid-state memory element as a recording medium is already on the market.

従来の銀塩フィルムを使用するカメラにおいて、人物をストロボを使用して撮影した場合、目の色が赤く撮影されてしまう赤目現象が発生することがあり問題となっていた。この赤目現象は、暗所で開いている瞳孔に対して入射したストロボ光が網膜の血管を写し出してしまう現象である。これに対して従来の銀塩カメラにおいても、ランプやLED、またはストロボのプリ発光等を用いて撮影前に光を被写体に照射し、撮影時に瞳孔を収縮させて赤目現象を緩和しようとしている。しかし、被写体が撮影者側を注視していない場合は赤目緩和効果が少ないなど完全に赤目現象を無くすのは困難であった。   In a conventional camera using a silver salt film, when a person is photographed using a strobe, a red-eye phenomenon may occur in which the eye color is photographed in red. This red-eye phenomenon is a phenomenon in which strobe light incident on a pupil opened in a dark place projects the blood vessels of the retina. On the other hand, conventional silver salt cameras also use a lamp, LED, or strobe pre-light emission to irradiate the subject with light before photographing, and contract the pupil during photographing to reduce the red-eye phenomenon. However, when the subject is not gazing at the photographer side, it is difficult to completely eliminate the red-eye phenomenon because the red-eye reduction effect is small.

一方、電子カメラにおいてもストロボ撮影時の赤目現象は同様に発生する。これに対して、人物の顔や目の位置を自動的に検出し、その情報を元に赤目現象が発生した場合に自動で赤目を修正するといった提案が行われている(特許文献1参照)。   On the other hand, the red-eye phenomenon at the time of flash photography similarly occurs in an electronic camera. On the other hand, a proposal has been made that automatically detects the position of a person's face and eyes and automatically corrects red eyes when a red-eye phenomenon occurs based on the information (see Patent Document 1). .

さらには、ユーザの利便性を向上させるために、補正前画像情報と補正済み画像情報を記録することにより、自動補正結果にユーザが満足できない場合に、画質劣化を伴わずに再度赤目補正を行うことを可能とする提案が行われている(特許文献2参照)。   Furthermore, in order to improve the convenience for the user, by recording the pre-correction image information and the corrected image information, if the user is not satisfied with the automatic correction result, red-eye correction is performed again without image quality degradation. Proposals that enable this have been made (see Patent Document 2).

また、撮像装置の高解像度化による赤目自動補正の処理速度の低下に対する対策としては、次のような提案がなされている。すなわち、撮影の際に作成した低解像度の画像データから赤目の検出を行い、この検出情報を元に記録用画像データの赤目補正を行うことにより、処理速度を向上させる(特許文献3参照)。
特開平10−0233929号公報 特開2003−427704号公報 特開2005−167697号公報
Further, the following proposals have been made as countermeasures against a reduction in processing speed of red-eye automatic correction due to higher resolution of the imaging device. That is, the processing speed is improved by detecting red eyes from low-resolution image data created at the time of shooting and correcting red-eye of the recording image data based on this detection information (see Patent Document 3).
Japanese Patent Laid-Open No. 10-0233929 JP 2003-427704 A Japanese Patent Laying-Open No. 2005-167697

ところで、上記のような電子カメラにおいては、ユーザが撮影操作後、赤目補正処理を行った後に、赤目補正済みの画像のクイックレビュー表示が行われていた。すなわち、ユーザは赤目補正処理が終了してからでなければ、クイックレビュー表示を見ることができなかった。なお、クイックレビュー表示とは、ユーザが撮影画像を確認できるように、撮影後に自動的にTFT,LCD等の画像表示部に表示される撮影画像のことである。   By the way, in the electronic camera as described above, a quick review display of a red-eye corrected image is performed after a user performs a red-eye correction process after a photographing operation. That is, the user cannot see the quick review display until the red-eye correction process is completed. The quick review display is a photographed image that is automatically displayed on an image display unit such as a TFT or LCD after photographing so that the user can confirm the photographed image.

しかし、上述した通り、撮影の際に作成した低解像度の画像データから赤目検出を行うことによって処理が高速化されるものの、特に赤目検出処理や赤目補正処理をソフトウェアで実現する場合など、赤目検出、及び補正処理時間が長くかかってしまう。そのため、赤目補正処理を行わない撮影時と比較すると、撮影してからクイックレビュー表示が行われるまでのブラックアウト期間が長くなるため、操作感が悪く、また、赤目補正処理を行っているかどうかがユーザに分かり難いという問題があった。   However, as described above, although red-eye detection is performed from low-resolution image data created at the time of shooting, the processing speed is increased. In particular, when red-eye detection processing or red-eye correction processing is realized by software, red-eye detection is performed. And the correction processing time is long. Therefore, compared to shooting without red-eye correction processing, the blackout period from shooting to quick review display is longer, so the operation feeling is poor and whether red-eye correction processing is being performed or not. There was a problem that it was difficult for the user to understand.

従って、本発明は上述した課題に鑑みてなされたものであり、その目的は、撮影画像に対して赤目補正処理を行う場合であっても、撮影を行ってからクイックレビュー表示が行われるまでのタイムラグを短くすることである。   Therefore, the present invention has been made in view of the above-described problems, and the purpose thereof is from when shooting is performed until quick review display is performed even when red-eye correction processing is performed on a captured image. It is to shorten the time lag.

上述した課題を解決し、目的を達成するために、本発明に係わる撮像装置は、被写体像を撮像する撮像手段と、画像を表示する表示手段と、前記撮像手段により撮像された静止画像に対して、赤目現象が発生している部分を補正する赤目補正処理を行う赤目補正手段と、前記撮像手段により第1の静止画像を撮像させた後、前記第1の静止画像に対して前記赤目補正処理を施す前に前記第1の静止画像から生成した第1の表示用画像を前記表示手段に表示させ、その後に前記第1の静止画像に対して前記赤目補正処理を施した第2の静止画像から生成した第2の表示用画像を前記表示手段に表示させるように、前記撮像手段と前記表示手段を制御する制御手段と、を具備することを特徴とする。   In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention provides an imaging unit that captures a subject image, a display unit that displays an image, and a still image captured by the imaging unit. A red-eye correction unit that performs a red-eye correction process for correcting a portion in which a red-eye phenomenon occurs, and after the first still image is captured by the imaging unit, the red-eye correction is performed on the first still image. A second still image obtained by causing the display means to display a first display image generated from the first still image before performing the processing, and then performing the red-eye correction processing on the first still image. The image pickup means and a control means for controlling the display means so as to display a second display image generated from the image on the display means.

また、本発明に係わる撮像装置の制御方法は、被写体像を撮像する撮像手段と、画像を表示する表示手段と、前記撮像手段により撮像された静止画像に対して、赤目現象が発生している部分を補正する赤目補正処理を行う赤目補正手段と、を備える撮像装置を制御する方法であって、前記撮像手段により第1の静止画像を撮像させる撮像工程と、前記第1の静止画像に対して前記赤目補正処理を施す前に前記第1の静止画像から生成した第1の表示用画像を前記表示手段に表示させる第1の表示工程と、前記第1の静止画像に対して前記赤目補正処理を施した第2の静止画像から生成した第2の表示用画像を前記表示手段に表示させる第2の表示工程と、を具備することを特徴とする。   In the control method of the image pickup apparatus according to the present invention, the red-eye phenomenon occurs with respect to the image pickup means for picking up the subject image, the display means for displaying the image, and the still image picked up by the image pickup means. A red-eye correction unit that performs a red-eye correction process for correcting a portion, and an imaging step of capturing a first still image by the imaging unit, and the first still image A first display step for causing the display means to display a first display image generated from the first still image before performing the red-eye correction process, and the red-eye correction for the first still image. And a second display step of displaying on the display means a second display image generated from the processed second still image.

また、本発明に係わるプログラムは、上記の制御方法をコンピュータに実行させることを特徴とする。   A program according to the present invention causes a computer to execute the above control method.

また、本発明に係わる記憶媒体は、上記のプログラムを記憶したことを特徴とする。   A storage medium according to the present invention stores the above program.

本発明によれば、撮影を行ってから撮影画像に対して赤目補正処理を行う場合であっても、撮影を行ってから撮影画像の表示が行われるまでのタイムラグを短くすることが可能となる。   According to the present invention, even when the red-eye correction process is performed on a photographed image after photographing, it is possible to shorten the time lag from when photographing is performed until the photographed image is displayed. .

以下、本発明の好適な一実施形態について、添付図面を参照して詳細に説明する。   Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の一実施形態に係わるデジタルカメラの構成を示す図である。   FIG. 1 is a diagram showing a configuration of a digital camera according to an embodiment of the present invention.

図1において、100はデジタルカメラである。   In FIG. 1, reference numeral 100 denotes a digital camera.

10は撮影レンズ、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をデジタル信号に変換するA/D変換器である。   Reference numeral 10 denotes a photographing lens, 12 denotes a shutter having a diaphragm function, 14 denotes an image sensor that converts an optical image into an electrical signal, and 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal.

18は撮像素子14、 A/D変換器16、 D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。   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からのデータに対して所定の画素補間処理や色変換処理を行う。   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.

また、画像処理回路20においては、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。これらの処理は、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御部40、測距制御部42に対して制御を行う処理である。   The image processing circuit 20 performs TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing. These processes are processes in which predetermined calculation processing is performed using captured image data, and the system control circuit 50 controls the exposure control unit 40 and the distance measurement control unit 42 based on the obtained calculation result. is there.

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

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮伸長回路32、リサイズ回路34、赤目検出回路36、赤目補正回路38を制御する。   A memory control circuit 22 is an A / D converter 16, a timing generation circuit 18, an image processing circuit 20, an image display memory 24, a D / A converter 26, a memory 30, a compression / decompression circuit 32, a resizing circuit 34, a red eye. The detection circuit 36 and the red-eye correction circuit 38 are controlled.

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

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

画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。この画像表示部28はデジタルカメラ本体とヒンジ部を介して接続されており、その表示部をデジタルカメラ100に向けて格納した状態と、格納しない状態とに自由に設定することができる。   If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized. The image display unit 28 is connected to the digital camera body via a hinge unit, and can be freely set to a state where the display unit is stored toward the digital camera 100 and a state where the display unit is not stored.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を備えている。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a storage capacity sufficient to store a predetermined number of still images and a moving image for a predetermined time.

これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。   Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed.

また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。   The memory 30 can also be used as a work area for the system control circuit 50.

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

34は撮影した静止画像(原画像)から低解像度画像を生成するリサイズ回路である。   A resize circuit 34 generates a low-resolution image from a captured still image (original image).

撮像素子14の画素数と異なる画素数(サイズ)で記録媒体に画像データを記録したい場合や、画像データ記録時に添付されるインデックス用のサムネイル画像の生成等に利用される。また、画像表示部28は、撮影素子14よりも画素数はかなり少ないので、画像表示部28に表示を行う場合の表示用画像を生成するためにも用いられる。リサイズ画像の解像度は用途により所定の複数の解像度から選択されるように構成される。リサイズ回路34はメモリ30に格納された画像を読み込んでリサイズ処理を行い、処理を終えたデータをメモリ30に書き込む。   This is used to record image data on a recording medium with a pixel number (size) different from the number of pixels of the image sensor 14, or to generate an index thumbnail image attached when recording image data. Further, since the image display unit 28 has a considerably smaller number of pixels than the imaging element 14, the image display unit 28 is also used to generate a display image when displaying on the image display unit 28. The resolution of the resized image is configured to be selected from a plurality of predetermined resolutions depending on the application. The resizing circuit 34 reads an image stored in the memory 30 and performs resizing processing, and writes the processed data in the memory 30.

36は画像データから赤目現象が発生している赤目の座標位置を検出する赤目検出回路であり、メモリ30に格納された画像を読み込んで、公知の色相、彩度、明度などにより顔検知を行う。そして、顔領域内で、局所的パターンマッチングなどの手法により、画像データ内の人間の目の位置を検出し、さらに検出した目部分の色相、彩度、明度などから目部分に赤目現象が発生しているか否かを検出する。このようにして、赤目現象の発生している箇所の座標位置が検出される。   Reference numeral 36 denotes a red-eye detection circuit that detects the coordinate position of the red-eye where the red-eye phenomenon has occurred from the image data, reads an image stored in the memory 30, and performs face detection based on known hue, saturation, brightness, and the like. . In the face area, the position of the human eye in the image data is detected by a method such as local pattern matching, and the red eye phenomenon occurs in the eye from the hue, saturation, brightness, etc. of the detected eye. It is detected whether it is doing. In this way, the coordinate position of the place where the red-eye phenomenon occurs is detected.

38は赤目補正回路で、赤目検出回路36で検出された赤目座標位置を元にメモリ30に格納されている原画像データの赤目部分に対して、自然な目の表現となるよう赤目部分の色を周囲の虹彩部分の色と置換する。または、特定の色で塗りつぶすなどの公知の補正方法により補正する。   Reference numeral 38 denotes a red-eye correction circuit, and the color of the red-eye portion so that the red-eye portion of the original image data stored in the memory 30 based on the red-eye coordinate position detected by the red-eye detection circuit 36 becomes a natural eye expression. Is replaced with the color of the surrounding iris part. Alternatively, correction is performed by a known correction method such as painting with a specific color.

40は絞り機能を備えるシャッター12を制御する露光制御部であり、フラッシュ装置400と連携することによりフラッシュ調光機能も有するものである。   Reference numeral 40 denotes an exposure control unit that controls the shutter 12 having a diaphragm function, and has a flash light control function in cooperation with the flash device 400.

42は撮影レンズ10のフォーカシングを制御する測距制御部である。   A distance measuring control unit 42 controls focusing of the photographing lens 10.

露光制御部40、測距制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御部40、測距制御部42に対して制御を行う。   The exposure control unit 40 and the distance measurement control unit 42 are controlled using the TTL method. Based on the calculation result obtained by calculating the captured image data by the image processing circuit 20, the system control circuit 50 performs the exposure control unit 40 and the distance measurement. The controller 42 is controlled.

44は撮影レンズ10のズーミングを制御するズーム制御部、46はバリアである保護部102の動作を制御するバリア制御部である。   Reference numeral 44 denotes a zoom control unit that controls zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control unit that controls the operation of the protection unit 102 that is a barrier.

48はコネクタであり、アクセサリーシューとも呼ばれ、フラッシュ装置400との電気接点や機械的な固定部も合わせて備えている。   Reference numeral 48 denotes a connector, which is also called an accessory shoe, and includes an electrical contact with the flash device 400 and a mechanical fixing portion.

50はデジタルカメラ100全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。   A system control circuit 50 controls the entire digital camera 100, and a memory 52 stores constants, variables, programs, and the like for operation of the system control circuit 50.

54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部である。この表示部54は、デジタルカメラ100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。   Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state, a message, and the like using characters, images, sounds, and the like in accordance with execution of a program in the system control circuit 50. The display unit 54 is installed in a single or a plurality of positions near the operation unit of the digital camera 100 so as to be easily visible, and is configured by a combination of, for example, an LCD, an LED, and a sounding element.

また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。   The display unit 54 has a part of its function installed in the optical viewfinder 104.

表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。また、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信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 There are speed display, aperture value display, exposure compensation display, and so on. In addition, flash display, red-eye reduction display, macro shooting display, buzzer setting display, watch battery remaining amount display, battery remaining amount display, error display, information display with multiple digits, display / removal state display of recording media 200 and 210, There are also communication I / F operation display, date / time display, and the like.

また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。   Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM.

60,62,64,66,68,70は、システム制御回路50の各種の動作指示を入力するための操作部であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。   Reference numerals 60, 62, 64, 66, 68, and 70 denote operation units for inputting various operation instructions of the system control circuit 50. A single unit such as a switch, a dial, a touch panel, pointing by eye-gaze detection, a voice recognition device, or the like Consists of multiple combinations.

ここで、これらの操作部の具体的な説明を行う。   Here, a specific description of these operation units will be given.

60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することができる。   Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode.

62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中(半押し)でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned on when a shutter button (not shown) is being operated (half-pressed), and performs AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-flash). ) Instruct the start of operations such as processing.

64はシャッタースイッチSW2で、シャッターボタンの操作完了(全押し)でONとなり、一連の撮影処理の動作開始を指示する。撮影処理では、撮像素子14から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データとして書き込む露光処理が行われる。また、画像処理回路20やメモリ制御回路22での演算を用いた現像処理も行われる。さらに、メモリ30から画像データを読み出し、圧縮伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理も行われる。   A shutter switch SW2 64 is turned on when the operation of the shutter button is completed (fully pressed), and instructs the start of a series of photographing processing operations. In the photographing process, an exposure process is performed in which a signal read from the image sensor 14 is written as image data in the memory 30 via the A / D converter 16 and the memory control circuit 22. Further, development processing using calculation in the image processing circuit 20 and the memory control circuit 22 is also performed. Further, a recording process is performed in which the image data is read from the memory 30, compressed by the compression / decompression circuit 32, and the image data is written to the recording medium 200 or 210.

66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することができる。   Reference numeral 66 denotes an image display ON / OFF switch which can set ON / OFF of the image display unit 28.

この機能により、光学ファインダ104を用いて撮影を行う際に、TFT,LCD等から成る画像表示部28への電流供給を遮断することにより、省電力を図ることが可能となる。   With this function, when photographing using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit 28 composed of TFT, LCD, and the like.

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

70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン等を備える。また、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像移動−(マイナス)ボタン等も備える。撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の選択及び切り替えを設定する選択/切り替えボタンも備える。また、パノラマモード等の撮影及び再生を実行する際に各種機能の決定及び実行を設定する決定/実行ボタン、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチも備える。また、JPEG圧縮の圧縮率を選択するため或いは撮像素子の信号をそのままデジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチも備える。また、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを設定することができる再生モードスイッチも備える。さらに、撮影モード状態において、撮影した画像をメモリ30或いは記録媒体200或いは210から読み出して画像表示部28によって表示する再生動作の開始を指示する再生スイッチ等も備える。   An operation unit 70 includes various buttons, a touch panel, and the like, and includes 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, and the like. In addition, a menu movement + (plus) button, a menu movement-(minus) button, a reproduction image movement + (plus) button, a reproduction image movement-(minus) button, and the like are also provided. A shooting / image quality selection button, an exposure correction button, a date / time setting button, and a selection / switching button for setting selection and switching of various functions when shooting and playback such as panorama mode are also provided. Also, when executing shooting and playback in panorama mode, etc., a decision / execution button for setting and determining various functions and a quick review function for automatically reproducing image data taken immediately after shooting are set ON / OFF. It also has a switch. In addition, a compression mode switch that is a switch for selecting a compression rate for JPEG compression or for selecting a CCD RAW mode in which a signal from an image sensor is directly digitized and recorded on a recording medium is also provided. Also provided is a playback mode switch that can set each function mode such as a playback mode, a multi-screen playback / erase mode, and a PC connection mode. Furthermore, a playback switch for instructing the start of a playback operation for reading a captured image from the memory 30 or the recording medium 200 or 210 and displaying it on the image display unit 28 in the shooting mode state is provided.

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

82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池、NiCd電池やNiHM電池やLiイオン電池等の二次電池、ACアダプター等からなる電源部である。   82 is a connector, 84 is a connector, 86 is a primary battery such as an alkaline battery or lithium battery, a secondary battery such as a NiCd battery, NiHM battery or Li ion battery, an AC adapter, or the like.

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

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

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

さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成した場合、次のような動作を行うことができる。すなわち、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続する。これにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。   Further, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like, the following operation can be performed. . That is, various communication cards such as a LAN card, a modem card, a USB card, an IEEE 1394 card, a P1284 card, a SCSI card, and a communication card such as a PHS are connected. As a result, image data and management information attached to the image data can be transferred to and from peripheral devices such as other computers and printers.

102は、デジタルカメラ100の撮影レンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止するバリアである保護部である。   A protection unit 102 is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the photographing lens 10 of the digital camera 100.

104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などが設置されている。   Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.

106は画像表示部開閉検知部であり、画像表示部28が、画像表示部28の表示部分をデジタルカメラ100に向けて格納した格納状態にあるかどうかを検知することができる。   Reference numeral 106 denotes an image display unit open / close detection unit, which can detect whether or not the image display unit 28 is in a stored state in which the display portion of the image display unit 28 is stored facing the digital camera 100.

ここで、格納状態にあると検知したならば画像表示部28の表示動作を停止して不要な電力消費を禁止することが可能である。   Here, if the storage state is detected, the display operation of the image display unit 28 can be stopped and unnecessary power consumption can be prohibited.

200はメモリカードやハードディスク等の記録媒体である。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk.

記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、デジタルカメラ100とのインタフェース204、デジタルカメラ100と接続を行うコネクタ206を備えている。   The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the digital camera 100, and a connector 206 for connecting with the digital camera 100.

210はメモリカードやハードディスク等の記録媒体である。   Reference numeral 210 denotes a recording medium such as a memory card or a hard disk.

記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、デジタルカメラ100とのインタフェース214、デジタルカメラ100と接続を行うコネクタ216を備えている。   The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, and the like, an interface 214 with the digital camera 100, and a connector 216 for connecting with the digital camera 100.

400はフラッシュ装置である。   Reference numeral 400 denotes a flash device.

402はデジタルカメラ100のアクセサリーシューと接続するためのコネクタである。404はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。   Reference numeral 402 denotes a connector for connecting to the accessory shoe of the digital camera 100. A flash 404 has an AF auxiliary light projecting function and a flash light control function.

次に、図2乃至図8を参照して、本実施形態のデジタルカメラの動作について説明する。   Next, the operation of the digital camera of this embodiment will be described with reference to FIGS.

図2乃至図4は本実施形態のデジタルカメラ100の主ルーチンのフローチャートである。   2 to 4 are flowcharts of the main routine of the digital camera 100 of this embodiment.

図2乃至図4を用いて、デジタルカメラ100の動作を説明する。   The operation of the digital camera 100 will be described with reference to FIGS.

電池交換等の電源投入により、システム制御回路50はフラグや制御変数等を初期化し(ステップS101)、画像表示部28の画像表示をOFF状態に初期設定する(ステップS102)。   Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like (step S101), and initializes the image display of the image display unit 28 to an OFF state (step S102).

システム制御回路50は、モードダイアルスイッチ60の設定位置を判断する(ステップS103)。もし、モードダイアルスイッチ60が電源OFFに設定されていたならば、各表示部の表示を終了状態に変更し、保護部102のバリアを閉じて撮像部を保護する。また、フラグや制御変数等を含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録する。さらに、電源制御部80により画像表示部28を含むデジタルカメラ100各部の不要な電源を遮断する(ステップS105)。これらの終了処理を行った後、ステップS103に戻る。   The system control circuit 50 determines the setting position of the mode dial switch 60 (step S103). If the mode dial switch 60 is set to power OFF, the display on each display unit is changed to the end state, the barrier of the protection unit 102 is closed, and the imaging unit is protected. In addition, necessary parameters, setting values, and setting modes including flags and control variables are recorded in the nonvolatile memory 56. Further, the power controller 80 shuts off unnecessary power sources for the respective parts of the digital camera 100 including the image display unit 28 (step S105). After performing these end processes, the process returns to step S103.

モードダイアルスイッチ60が撮影モードに設定されていたならば(ステップS103)、ステップS106に進む。   If the mode dial switch 60 is set to the photographing mode (step S103), the process proceeds to step S106.

モードダイアルスイッチ60がその他のモードに設定されていたならば(ステップS103)、システム制御回路50は選択されたモードに応じた処理を実行し(ステップS104)、処理を終えたならばステップS103に戻る。   If the mode dial switch 60 is set to another mode (step S103), the system control circuit 50 executes a process according to the selected mode (step S104). Return.

システム制御回路50は、電源制御部80により電池等により構成される電源86の残容量や動作情況がデジタルカメラ100の動作に問題があるか否かを判断する(ステップS106)。そして、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(ステップS108)、ステップS103に戻る。   The system control circuit 50 determines whether or not there is a problem with the operation of the digital camera 100 in terms of the remaining capacity and operation status of the power supply 86 configured by a battery or the like by the power supply control unit 80 (step S106). If there is a problem, a predetermined warning is displayed by image or sound using the display unit 54 (step S108), and the process returns to step S103.

電源86に問題が無いならば(ステップS106)、システム制御回路50は記録媒体200或いは210の動作状態がデジタルカメラ100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断する(ステップS107)。そして、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(ステップS108)、ステップS103に戻る。   If there is no problem with the power supply 86 (step S106), the system control circuit 50 determines whether the operation state of the recording medium 200 or 210 is a problem with the operation of the digital camera 100, particularly with respect to the recording / reproducing operation of image data on the recording medium. Is determined (step S107). If there is a problem, a predetermined warning is displayed by image or sound using the display unit 54 (step S108), and the process returns to step S103.

記録媒体200或いは210の動作状態に問題が無いならば(ステップS107)、ステップS109に進む。   If there is no problem in the operation state of the recording medium 200 or 210 (step S107), the process proceeds to step S109.

システム制御回路50は、表示部54を用いて画像や音声によりデジタルカメラ100の各種設定状態の表示を行う(ステップS109)。なお、画像表示部28の画像表示がONであったならば、画像表示部28も用いて画像や音声によりデジタルカメラ100の各種設定状態の表示を行う。   The system control circuit 50 displays various setting states of the digital camera 100 using images and sounds using the display unit 54 (step S109). If the image display of the image display unit 28 is ON, the image display unit 28 is also used to display various setting states of the digital camera 100 using images and sounds.

続いて、システム制御回路50は、画像表示ON/OFFスイッチ66の設定状態を調べ(ステップS114)、画像表示ONに設定されていたならばステップS115に進む。   Subsequently, the system control circuit 50 checks the setting state of the image display ON / OFF switch 66 (step S114). If the image display is set to ON, the system control circuit 50 proceeds to step S115.

システム制御回路50は、画像表示フラグを設定すると共に(ステップS115)、画像表示部28の画像表示をON状態に設定する(ステップS116)。さらに、撮像した画像データを逐次表示するスルー表示状態に設定して(ステップS117)、図3のステップS131に進む。   The system control circuit 50 sets the image display flag (step S115) and sets the image display of the image display unit 28 to the ON state (step S116). Furthermore, the captured image data is set to a through display state for sequentially displaying (step S117), and the process proceeds to step S131 in FIG.

スルー表示状態に於いては、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、画像表示メモリ24に逐次書き込まれたデータを、メモリ制御回路22、D/A変換器26を介して画像表示部28により逐次表示する。これにより、電子ファインダ機能を実現している。   In the through display state, the data sequentially written in the image display memory 24 via the image sensor 14, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22 are transferred to the memory control circuit 22, D The images are sequentially displayed by the image display unit 28 via the / A converter 26. Thereby, the electronic finder function is realized.

画像表示ON/OFFスイッチ66が画像表示OFFに設定されていたならば(ステップS114)、画像表示フラグを解除すると共に(ステップS118)、画像表示部28の画像表示をOFF状態に設定して(ステップS119)、ステップS131に進む。   If the image display ON / OFF switch 66 is set to image display OFF (step S114), the image display flag is canceled (step S118), and the image display on the image display unit 28 is set to the OFF state (step S118). The process proceeds to step S119) and step S131.

画像表示OFFの場合は、画像表示部28による電子ファインダ機能を使用せず、光学ファインダ104を用いて撮影を行う。この場合、電力消費量の大きい画像表示部28やD/A変換器26等の消費電力を削減することが可能となる。   When the image display is OFF, shooting is performed using the optical viewfinder 104 without using the electronic viewfinder function of the image display unit 28. In this case, it is possible to reduce power consumption of the image display unit 28, the D / A converter 26, and the like that consume a large amount of power.

なお、画像表示フラグの状態は、システム制御回路50の内部メモリ或いはメモリ52に記憶する。   The state of the image display flag is stored in the internal memory of the system control circuit 50 or the memory 52.

図3のステップS131において、シャッタースイッチSW1が押されていないならば、ステップS103に戻る。   If it is determined in step S131 in FIG. 3 that the shutter switch SW1 has not been pressed, the process returns to step S103.

シャッタースイッチSW1が押されたならば(ステップS131)、システム制御回路50はシステム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断する(ステップS132)。そして、画像表示フラグが設定されていたならば画像表示部28の表示状態をフリーズ表示状態に設定して(ステップS133)、ステップS134に進む。   If the shutter switch SW1 is pressed (step S131), the system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S132). If the image display flag has been set, the display state of the image display unit 28 is set to the freeze display state (step S133), and the process proceeds to step S134.

フリーズ表示状態に於いては、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介した画像表示メモリ24の画像データ書き換えを禁止する。そして、最後に書き込まれた画像データを、メモリ制御回路22、D/A変換器26を介して画像表示部28により表示することにより、フリーズした映像を電子ファインダに表示している。   In the freeze display state, rewriting of image data in the image display memory 24 via the image sensor 14, A / D converter 16, image processing circuit 20, and memory control circuit 22 is prohibited. The image data written last is displayed by the image display unit 28 via the memory control circuit 22 and the D / A converter 26, whereby the frozen video is displayed on the electronic viewfinder.

画像表示フラグが解除されていたならば(ステップS132)、ステップS134に進む。   If the image display flag has been canceled (step S132), the process proceeds to step S134.

システム制御回路50は、測距処理を行って撮影レンズ10の焦点を被写体に合わせ、測光処理を行って絞り値及びシャッター時間を決定する(ステップS134)。測光処理に於いて、必要であればフラッシュの設定も行う。   The system control circuit 50 performs a distance measurement process to focus the photographing lens 10 on the subject, performs a photometry process, and determines an aperture value and a shutter time (step S134). In the photometric process, the flash is set if necessary.

このステップS134で行われる測距・測光処理ルーチンの詳細は図5を用いて後述する。   Details of the distance measurement / photometry processing routine performed in step S134 will be described later with reference to FIG.

ステップS134にて測距・測光処理ルーチンを終えたならば、ステップS135に進む。システム制御回路50は、設定された撮影動作モードと測距・測光処理ルーチンにおいて決定した露出結果から、設定すべきシャッター速度が機械シャッターの最高速側のシャッター秒時を超えているか否かを判断する(ステップS135)。そして、超えていないならば機械シャッターでのシャッター秒時の設定を行い(ステップS136)、ステップS138に進む。   If the distance measurement / photometry processing routine is completed in step S134, the process proceeds to step S135. The system control circuit 50 determines whether or not the shutter speed to be set exceeds the shutter speed on the fastest side of the mechanical shutter from the set photographing operation mode and the exposure result determined in the distance measurement / photometry processing routine. (Step S135). If not exceeded, the mechanical shutter speed is set (step S136), and the process proceeds to step S138.

ステップS135で、超えているならば機械シャッターと電子シャッターを併用するシャッター秒時の設定を行い(ステップS137)、ステップS138に進む。   If it is exceeded in step S135, the shutter time is set using both the mechanical shutter and the electronic shutter (step S137), and the process proceeds to step S138.

システム制御回路50はシステム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断する(ステップS138)。そして、画像表示フラグが設定されていたならば画像表示部28の表示状態をスルー表示状態に設定して(ステップS139)、ステップS140に進む。   The system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S138). If the image display flag has been set, the display state of the image display unit 28 is set to the through display state (step S139), and the process proceeds to step S140.

このように、設定すべきシャッター速度が機械シャッターの最高速側のシャッター秒時を超えている場合には、電子シャッターを併用する。これにより、機械シャッターによってスミアの発生を防ぐと共に電子シャッターによって高速なシャッター秒時を可能とすることができる。   Thus, when the shutter speed to be set exceeds the shutter speed on the fastest side of the mechanical shutter, the electronic shutter is used in combination. Accordingly, it is possible to prevent smear from being generated by the mechanical shutter and to enable a high shutter speed by the electronic shutter.

シャッタースイッチSW2が押されずに(ステップS140)、さらにシャッタースイッチSW1も解除されたならば(ステップS141)、ステップS103に戻る。   If the shutter switch SW2 is not pressed (step S140) and the shutter switch SW1 is also released (step S141), the process returns to step S103.

シャッタースイッチSW2が押されたならば(ステップS140)、システム制御回路50はシステム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断する(ステップS142)。そして、画像表示フラグが設定されていたならば画像表示部28の表示状態を固定色表示状態に設定して(ステップS143)、図4のステップS161に進む。   If the shutter switch SW2 is pressed (step S140), the system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S142). If the image display flag is set, the display state of the image display unit 28 is set to the fixed color display state (step S143), and the process proceeds to step S161 in FIG.

固定色表示状態に於いては、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して画像表示メモリ24に書き込まれた撮影画像データの代わりに、差し替えた固定色の画像データを表示する。固定色の画像データは、メモリ制御回路22、D/A変換器26を介して画像表示部28により表示され、これにより、固定色の映像を電子ファインダに表示している。   In the fixed color display state, instead of the photographic image data written in the image display memory 24 via the image sensor 14, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22, the fixed image is replaced. Display color image data. The fixed color image data is displayed by the image display unit 28 via the memory control circuit 22 and the D / A converter 26, thereby displaying a fixed color image on the electronic viewfinder.

画像表示フラグが解除されていたならば(ステップS142)、図4のステップS161に進む。   If the image display flag has been canceled (step S142), the process proceeds to step S161 in FIG.

システム制御回路50は、次のような撮影処理を実行する(ステップS161)。すなわち、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器から直接メモリ制御回路22を介して、メモリ30に撮影した画像データを書き込む露光処理を行う。また、メモリ制御回路22そして必要に応じて画像処理回路20を用いて、メモリ30に書き込まれた画像データを読み出して各種処理を行う現像処理を行う。   The system control circuit 50 executes the following shooting process (step S161). That is, the image data captured in the memory 30 is acquired via the image sensor 14, the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter via the memory control circuit 22. Write exposure processing. Further, using the memory control circuit 22 and, if necessary, the image processing circuit 20, the image data written in the memory 30 is read and various development processes are performed.

このステップS161にて行われる撮影処理ルーチンの詳細は図6を用いて後述する。   Details of the photographing processing routine performed in step S161 will be described later with reference to FIG.

システム制御回路50は、メモリ30の所定領域へ書き込まれた画像データの一部をメモリ制御回路22を介して読み出して、現像処理を行うために必要なWB(ホワイトバランス)積分演算処理、OB(オプティカルブラック)積分演算処理を行う。そして、演算結果をシステム制御回路50の内部メモリ或いはメモリ52に記憶する。   The system control circuit 50 reads out part of the 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 black) Performs integral calculation processing. Then, the calculation result is stored in the internal memory of the system control circuit 50 or the memory 52.

そして、システム制御回路50は、メモリ制御回路22そして必要に応じて画像処理回路20を用いて、メモリ30の所定領域に書き込まれた撮影画像データを読み出す。そして、システム制御回路50の内部メモリ或いはメモリ52に記憶した演算結果を用いて、AWB(オートホワイトバランス)処理、ガンマ変換処理、色変換処理を含む各種現像処理を行う(ステップS163)。このステップS163で実行される現像処理ルーチンの詳細は図7を用いて後述する。   Then, the system control circuit 50 reads out the captured image data written in a predetermined area of the memory 30 using the memory control circuit 22 and, if necessary, the image processing circuit 20. Then, various development processes including an AWB (auto white balance) process, a gamma conversion process, and a color conversion process are performed using the calculation result stored in the internal memory of the system control circuit 50 or the memory 52 (step S163). Details of the development processing routine executed in step S163 will be described later with reference to FIG.

現像処理(ステップS163)を終えたなら、システム制御回路50は、メモリ30に書き込まれた画像データに対し、リサイズ回路34を用いて、サムネイル画像やクイックレビュー表示用の低解像度の画像データを生成する(ステップS164)。この低解像度の画像データをリサイズ回路34を用いて表示用画像サイズにリサイズし、画像表示メモリ24に記録するとともに、画像表示部28に表示する、第1のクイックレビュー表示を行う(ステップS165)。第1のクイックレビュー表示の例を図8Aに示す。   When the development processing (step S163) is completed, the system control circuit 50 generates thumbnail images and low-resolution image data for quick review display using the resizing circuit 34 for the image data written in the memory 30. (Step S164). The low-resolution image data is resized to a display image size using the resizing circuit 34, recorded in the image display memory 24, and displayed on the image display unit 28, and a first quick review display is performed (step S165). . An example of the first quick review display is shown in FIG. 8A.

ここで表示されるクイックレビューでは、赤目現象は補正されていないが、画角の確認等の赤目以外の撮影結果確認として使用可能である。   In the quick review displayed here, the red-eye phenomenon is not corrected, but it can be used for confirming the photographing result other than the red-eye, such as confirmation of the angle of view.

次に、システム制御回路50は、撮影がフラッシュを使用した撮影であったか否かを判断し(ステップS166)、フラッシュが使用されていれば次のステップS167に進む。フラッシュ撮影でない場合は、赤目検出、補正処理は行わず、ステップS171に進む。   Next, the system control circuit 50 determines whether or not the shooting is shooting using a flash (step S166). If the flash is used, the process proceeds to the next step S167. If it is not flash photography, red-eye detection and correction processing is not performed, and the process proceeds to step S171.

ステップS167では、システム制御回路50は、ステップS164で生成したメモリ30に記録されている低解像度画像データに対して、赤目検出回路36によって、撮影された画像データに赤目現象が発生しているか否かの検知を行う。   In step S167, the system control circuit 50 determines whether the red-eye phenomenon has occurred in the image data captured by the red-eye detection circuit 36 for the low-resolution image data recorded in the memory 30 generated in step S164. Detecting that.

赤目現象が発生していれば(ステップS168)、システム制御回路50は、クイックレビューに「処理中」をいう文字を重畳表示させる(ステップS180)。そして、ステップS167で得られた、低解像度画像データに対する赤目が発生している座標を、演算により撮影画像に対する座標に変換する(ステップS169)。たとえば、撮影画像が2048×1536(300万画素)、低解像度画像が640x480(VGA30万画素)であれば、表示用画像で求められた赤目座標を縦方向、横方向それぞれ3.2倍することで、撮影画像上での赤目座標が求められる。   If the red-eye phenomenon has occurred (step S168), the system control circuit 50 superimposes and displays the character “processing” in the quick review (step S180). Then, the coordinates where the red-eye is generated for the low-resolution image data obtained in step S167 are converted into coordinates for the captured image by calculation (step S169). For example, if the captured image is 2048 × 1536 (3 million pixels) and the low-resolution image is 640 × 480 (VGA 300,000 pixels), the red-eye coordinates obtained from the display image are multiplied by 3.2 in both the vertical and horizontal directions. Thus, the red-eye coordinates on the photographed image are obtained.

図8Bに、処理中表示の例を示す。   FIG. 8B shows an example of a display during processing.

赤目現象が検出されなければ(ステップS168)、ステップS171に進む。   If the red-eye phenomenon is not detected (step S168), the process proceeds to step S171.

撮影画像上の赤目座標が求められると、システム制御回路50は、赤目補正回路38を用いて、原画像データの赤目座標周辺の赤目現象を補正し、メモリ30に記録する(ステップS170)。   When the red-eye coordinates on the captured image are obtained, the system control circuit 50 corrects the red-eye phenomenon around the red-eye coordinates of the original image data using the red-eye correction circuit 38 and records it in the memory 30 (step S170).

システム制御回路50は、画像表示部28への「処理中」表示を終了する(ステップS181)。そして、メモリ30に書き込まれた撮影画像データを読み出して、メモリ制御回路22そして必要に応じて画像処理回路20を用いて各種画像処理を、また、圧縮伸長回路32を用いて設定したモードに応じた画像圧縮処理を行う(ステップS171)。   The system control circuit 50 ends the “processing in progress” display on the image display unit 28 (step S181). Then, the captured image data written in the memory 30 is read out, various image processing is performed using the memory control circuit 22 and the image processing circuit 20 as necessary, and the mode set using the compression / decompression circuit 32 is determined. The image compression process is performed (step S171).

ここでは、赤目検出により赤目が検出された場合のみ赤目補正中に処理中表示を行っているが、赤目検出回路をソフトウェアで構成した場合には、赤目検出処理にも時間がかかるため、赤目検出中も処理中表示を行うようにしてもよい。   Here, only when red-eye is detected by red-eye detection, the in-process display is displayed during red-eye correction. However, if the red-eye detection circuit is configured with software, the red-eye detection process also takes time, so red-eye detection is performed. You may be made to perform a display during processing.

また、本実施形態では、赤目現象が未補正のクイックレビューを赤目座標検出前に表示するものとしたが、赤目座標検出後(赤目補正前)にクイックレビューを表示するようにしても問題ない。   In this embodiment, the quick review whose red-eye phenomenon is not corrected is displayed before the red-eye coordinate detection. However, there is no problem even if the quick review is displayed after the red-eye coordinate detection (before the red-eye correction).

次に、システム制御回路50は、メモリ30に書き込まれた赤目補正処理後の画像データに対し、リサイズ回路34を用いて、サムネイル画像やクイックレビュー表示用の低解像度の画像データを再度生成する(ステップS172)。この低解像度の画像データをリサイズ回路34を用いて表示用画像サイズにリサイズし、画像表示メモリ24に記録するとともに、画像表示部28に表示する、第2のクイックレビュー表示を行う(ステップS173)。第2のクイックレビュー表示の例を図8Cに示す。   Next, the system control circuit 50 uses the resize circuit 34 to re-generate thumbnail image and low-resolution image data for quick review display on the image data after the red-eye correction process written in the memory 30 ( Step S172). The low-resolution image data is resized to a display image size using the resizing circuit 34, recorded in the image display memory 24, and displayed on the image display unit 28, and a second quick review display is performed (step S173). . An example of the second quick review display is shown in FIG. 8C.

ここで、ステップS165で赤目現象が未補正のクイックレビューを表示し、ステップS173で赤目現象が補正済みのクイックレビューを表示することにより、ユーザが表示画像の変化により赤目補正の効果を確認しやすくなる。   Here, the quick review in which the red-eye phenomenon is not corrected is displayed in step S165, and the quick review in which the red-eye phenomenon is corrected is displayed in step S173, so that the user can easily confirm the effect of the red-eye correction due to the change in the display image. Become.

さらに、赤目補正中に、赤目補正前のクイックレビュー表示と共に、「処理中」等を表示し、その後、赤目補正済みのクイックレビューを表示することにより、赤目補正処理が自動で行われたことがよりユーザに分かり易くなる。なお、赤目補正処理が行なわれなかった場合は、ステップS172の処理を実行せず、ステップS173にてステップS164で生成した低解像度の画像データを用いてクイックレビュー表示を行っても構わない。このとき、ステップS165における第1のクイックレビュー表示と第2のクイックレビュー表示は同じ表示となる。   In addition, during red-eye correction, red-eye correction processing was automatically performed by displaying “In-process” etc. along with the quick review display before red-eye correction, and then displaying the quick review after red-eye correction. It becomes easier for the user to understand. If the red-eye correction process is not performed, the process of step S172 may not be executed, and the quick review display may be performed using the low-resolution image data generated in step S164 in step S173. At this time, the first quick review display and the second quick review display in step S165 are the same display.

システム制御回路50は、ステップS172で生成した低解像度画像データから圧縮伸長回路32を用いてサムネイル画像を生成し、画像データに付与して記録する(ステップS174)。   The system control circuit 50 generates a thumbnail image from the low-resolution image data generated in step S172 using the compression / decompression circuit 32, adds the thumbnail image to the image data, and records it (step S174).

システム制御回路50は、メモリ30の画像記憶バッファ領域に記憶した画像データを読み出す。そして、インタフェース90或いは94、コネクタ92或いは96を介して、メモリカードやコンパクトフラッシュ(登録商標)カード等の記録媒体200或いは210へ書き込みを行う記録処理を行う(ステップS174)。   The system control circuit 50 reads the image data stored in the image storage buffer area of the memory 30. Then, a recording process for writing to the recording medium 200 or 210 such as a memory card or a compact flash (registered trademark) card is performed via the interface 90 or 94 and the connector 92 or 96 (step S174).

シャッタースイッチSW1が放されるまで(ステップS175)、システム制御回路50は、現在の処理を繰り返す。   Until the shutter switch SW1 is released (step S175), the system control circuit 50 repeats the current processing.

シャッタースイッチSW1が放されたならば(ステップS175)、ステップS176に進む。   If the shutter switch SW1 is released (step S175), the process proceeds to step S176.

システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断する(ステップS176)。そして、画像表示フラグが設定されていたならば(ステップS176)、画像表示部28の表示状態をスルー表示状態に設定して(ステップS177)、一連の撮影動作を終えてステップS103に戻る。   The system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S176). If the image display flag has been set (step S176), the display state of the image display unit 28 is set to the through display state (step S177), and a series of photographing operations are finished, and the process returns to step S103.

画像表示フラグが解除されていたならば(ステップS176)、画像表示部28の画像表示をOFF状態に設定して一連の撮影動作を終えてステップS103に戻る。   If the image display flag has been canceled (step S176), the image display of the image display unit 28 is set to the OFF state, a series of photographing operations are finished, and the process returns to step S103.

図5は、図3のステップS134における測距・測光処理の詳細なフローチャートである。   FIG. 5 is a detailed flowchart of the distance measurement / photometry process in step S134 of FIG.

システム制御回路50は、撮像素子14から電荷信号を読み出し、A/D変換器16を介して画像処理回路20に撮影画像データを逐次読み込む(ステップS201)。この逐次読み込まれた画像データを用いて、画像処理回路20はTTL(スルー・ザ・レンズ)方式のAE(自動露出)処理、EF(フラッシュプリ発光)処理、AF(オートフォーカス)処理に用いる所定の演算を行っている。   The system control circuit 50 reads the charge signal from the image sensor 14 and sequentially reads the captured image data into the image processing circuit 20 via the A / D converter 16 (step S201). Using the sequentially read image data, the image processing circuit 20 is a predetermined used for TTL (through-the-lens) AE (automatic exposure) processing, EF (flash pre-flash) processing, and AF (autofocus) processing. The operation is performed.

なお、ここでの各処理は、撮影した全画素数のうちの必要に応じた特定の部分を必要個所分切り取って抽出し、演算に用いている。これにより、 TTL方式のAE、EF、AWB、AFの各処理において、中央重点モード、平均モード、評価モードの各モード等の異なるモード毎に最適な演算を行うことが可能となる。   In each processing here, a specific portion of the total number of photographed pixels is extracted by extracting a necessary portion according to necessity and used for calculation. As a result, in the TTL method AE, EF, AWB, and AF processes, it is possible to perform an optimal calculation for each different mode such as the center-weighted mode, the average mode, and the evaluation mode.

画像処理回路20での演算結果を用いて、システム制御回路50は露出(AE)が適正と判断されるまで(ステップS202)、露光制御部40を用いてAE制御を行う(ステップS203)。   Using the calculation result in the image processing circuit 20, the system control circuit 50 performs AE control using the exposure control unit 40 (step S203) until it is determined that the exposure (AE) is appropriate (step S202).

AE制御で得られた測定データを用いて、システム制御回路50はフラッシュが必要か否かを判断し(ステップS204)、フラッシュが必要ならばフラッシュフラグをセットし、フラッシュ404を充電する(ステップS205)。   Using the measurement data obtained by the AE control, the system control circuit 50 determines whether or not the flash is necessary (step S204). If the flash is necessary, the flash flag is set and the flash 404 is charged (step S205). ).

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

画像処理回路20での演算結果及びAE制御で得られた測定データを用いて、システム制御回路50はホワイトバランス(AWB)が適正と判断されるまで(ステップS206)、画像処理回路20を用いてAWB制御を行う(ステップS207)。AWB制御では色処理のパラメータを調節する。   Using the calculation result in the image processing circuit 20 and the measurement data obtained by the AE control, the system control circuit 50 uses the image processing circuit 20 until the white balance (AWB) is determined to be appropriate (step S206). AWB control is performed (step S207). In AWB control, color processing parameters are adjusted.

ホワイトバランス(AWB)が適正と判断したならば(ステップS206)、測定データ及び/或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する。   If it is determined that the white balance (AWB) is appropriate (step S206), the measurement data and / or setting parameters are stored in the internal memory or the memory 52 of the system control circuit 50.

AE制御及びAWB制御で得られた測定データを用いて、システム制御回路50は測距(AF)が合焦と判断されるまで(ステップS208)、測距制御部42を用いてAF制御を行う(ステップS209)。   Using the measurement data obtained by the AE control and the AWB control, the system control circuit 50 performs the AF control using the distance measurement control unit 42 until the distance measurement (AF) is determined to be in focus (step S208). (Step S209).

測距(AF)が合焦と判断したならば(ステップS208)、測定データ及び/或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶し、測距・測光処理ルーチンS134を終了する。   If distance measurement (AF) is determined to be in focus (step S208), the measurement data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52, and the distance measurement / photometry processing routine S134 is terminated. .

図6は、図4のステップS161における撮影処理の詳細なフローチャートである。   FIG. 6 is a detailed flowchart of the photographing process in step S161 of FIG.

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

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

なお、フラッシュ404が不要又は使用不可能な場合はステップS307に進む。   If the flash 404 is unnecessary or unusable, the process proceeds to step S307.

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

設定した電荷蓄積時間が経過したならば(ステップS309)、システム制御回路50は、撮像素子14の電荷蓄積を終了する(ステップS310)。その後、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16から直接メモリ制御回路22を介して、メモリ30の所定領域へ撮影画像データを書き込む(ステップS311)。   If the set charge accumulation time has elapsed (step S309), the system control circuit 50 ends the charge accumulation of the image sensor 14 (step S310). Thereafter, a charge signal is read out from the image sensor 14, and the memory 30 is connected via the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22. The photographed image data is written in the predetermined area (step S311).

一連の処理を終えたならば、撮影処理ルーチンS161を終了する。   When the series of processing is finished, the photographing processing routine S161 is finished.

図7は、図4のステップS163における現像処理の詳細なフローチャートである。   FIG. 7 is a detailed flowchart of the development processing in step S163 of FIG.

システム制御回路50は、メモリ30に書き込まれた撮影画像データ及びダーク画像データを読み出して、輝度信号処理や(ステップS501)、色処理(ステップS502)を順次行った後、メモリ30に処理を終えた画像データを書き込む。   The system control circuit 50 reads the captured image data and dark image data written in the memory 30 and sequentially performs luminance signal processing (step S501) and color processing (step S502), and then finishes processing in the memory 30. Write the image data.

一連の処理を終えたならば、現像処理ルーチンS163を終了する。   When the series of processing is finished, the development processing routine S163 is finished.

以上、本発明の実施形態の説明を行った。   The embodiment of the present invention has been described above.

なお、上記の実施形態においては、本発明をレンズシャッタータイプのデジタルカメラに適用した場合について説明したが、レンズ交換式の一眼レフタイプのデジタルカメラに対しても、本発明は同様に適用可能である。   In the above embodiment, the case where the present invention is applied to a lens shutter type digital camera has been described. However, the present invention is also applicable to a single-lens reflex digital camera with interchangeable lenses. is there.

また、赤目検出回路36や赤目補正回路38はハードウェアで構成されていても良いし、システム制御回路50に内蔵されたソフトウェアによって構成されても良いことはいうまでもない。   Needless to say, the red-eye detection circuit 36 and the red-eye correction circuit 38 may be configured by hardware, or may be configured by software built in the system control circuit 50.

また、記録媒体200及び210がメモリカードとハードディスク等が一体となった複合媒体であっても勿論問題無い。さらに、その複合媒体から一部が着脱可能な構成としても勿論問題無い。   Of course, 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. Further, there is no problem even if a part of the composite medium is detachable.

また、上記の実施形態では、記録媒体200及び210はデジタルカメラ100と分離していて任意に接続可能なものとして説明したが、いずれか或いは全ての記録媒体がデジタルカメラ100に固定したままとなっていても勿論問題無い。   In the above embodiment, the recording media 200 and 210 are described as being separated from the digital camera 100 and can be arbitrarily connected. However, any or all of the recording media remain fixed to the digital camera 100. Of course, there is no problem.

また、デジタルカメラ100に記録媒体200或いは210が、単数或いは複数の任意の個数接続可能な構成であっても構わない。   Further, the digital camera 100 may be configured such that any one or a plurality of recording media 200 or 210 can be connected.

また、デジタルカメラ100に記録媒体200及び210が装着される構成として説明したが、記録媒体は単数或いは複数の何れの組み合わせの構成であっても、勿論問題無い。   Further, although the description has been given of the configuration in which the recording mediums 200 and 210 are mounted on the digital camera 100, there is of course no problem even if the recording medium has a single or a plurality of combinations.

また、フラッシュ装置400はデジタルカメラ100と分離していて任意に接続可能なものとして説明したが、フラッシュ装置400がデジタルカメラ100に固定されたままとなっていても勿論問題ない。   Further, although the flash device 400 is described as being separated from the digital camera 100 and can be arbitrarily connected, it is of course no problem if the flash device 400 remains fixed to the digital camera 100.

また、複数のフラッシュ装置400が、個々にデジタルカメラ100と接続可能及び/或いは固定したままの状態となる構成であっても問題ない。   In addition, there is no problem even if the plurality of flash devices 400 are individually connectable to the digital camera 100 and / or remain fixed.

(他の実施形態)
また、各実施形態の目的は、次のような方法によっても達成される。すなわち、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、本発明には次のような場合も含まれる。すなわち、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。
(Other embodiments)
The object of each embodiment is also achieved by the following method. That is, a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but the present invention includes the following cases. That is, based on the instruction of the program code, an operating system (OS) or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

さらに、次のような場合も本発明に含まれる。すなわち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。   Furthermore, the following cases are also included in the present invention. That is, the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, a CPU or the like provided in the function expansion card or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above storage medium, the storage medium stores program codes corresponding to the procedure described above.

本発明の一実施形態に係わるデジタルカメラの構成を示す図である。It is a figure which shows the structure of the digital camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるデジタルカメラの主ルーチンのフローチャートである。It is a flowchart of the main routine of the digital camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるデジタルカメラの主ルーチンのフローチャートである。It is a flowchart of the main routine of the digital camera concerning one Embodiment of this invention. 本発明の一実施形態に係わるデジタルカメラの主ルーチンのフローチャートである。It is a flowchart of the main routine of the digital camera concerning one Embodiment of this invention. 一実施形態のデジタルカメラにおける測距・測光ルーチンのフローチャートである。It is a flowchart of a distance measurement and photometry routine in the digital camera of one embodiment. 一実施形態のデジタルカメラにおける撮影ルーチンのフローチャートである。It is a flowchart of the imaging | photography routine in the digital camera of one Embodiment. 一実施形態のデジタルカメラにおける現像ルーチンのフローチャートである。6 is a flowchart of a development routine in the digital camera of the embodiment. 赤目補正前のクイックレビュー表示を示す図である。It is a figure which shows the quick review display before red-eye correction | amendment. 赤目補正中のクイックレビュー表示を示す図である。It is a figure which shows the quick review display during red-eye correction | amendment. 赤目補正後のクイックレビュー表示を示す図である。It is a figure which shows the quick review display after red-eye correction | amendment.

符号の説明Explanation of symbols

10 撮影レンズ
12 シャッター
14 撮像素子
16 A/D変換器
18 タイミング発生回路
20 画像処理回路
22 メモリ制御回路
24 画像表示メモリ
26 D/A変換器
28 画像表示部
30 メモリ
32 画像圧縮・伸長回路
34 リサイズ回路
36 赤目検出回路
38 赤目補正回路
40 露光制御部
42 測距制御部
44 ズーム制御部
46 バリア制御部
48 コネクタ(アクセサリーシュー)
50 システム制御回路
52 メモリ
54 表示部
56 不揮発性メモリ
60 モードダイアルスイッチ
62 シャッタースイッチSW1
64 シャッタースイッチSW2
66 画像表示ON/OFFスイッチ
68 単写/連写スイッチ
70 操作部
80 電源制御部
82 コネクタ
84 コネクタ
86 電源部
90 インタフェース
92 コネクタ
94 インタフェース
96 コネクタ
98 記録媒体着脱検知部
100 デジタルカメラ
102 保護部
104 光学ファインダ
106 画像表示部開閉検知部
200 記録媒体
202 記録部
204 インタフェース
206 コネクタ
210 記録媒体
212 記録部
214 インタフェース
216 コネクタ
400 フラッシュ装置
402 コネクタ
404 フラッシュ
DESCRIPTION OF SYMBOLS 10 Shooting lens 12 Shutter 14 Image pick-up element 16 A / D converter 18 Timing generation circuit 20 Image processing circuit 22 Memory control circuit 24 Image display memory 26 D / A converter 28 Image display part 30 Memory 32 Image compression / decompression circuit 34 Resize Circuit 36 Red-eye detection circuit 38 Red-eye correction circuit 40 Exposure control unit 42 Distance control unit 44 Zoom control unit 46 Barrier control unit 48 Connector (accessory shoe)
50 System control circuit 52 Memory 54 Display unit 56 Non-volatile memory 60 Mode dial switch 62 Shutter switch SW1
64 Shutter switch SW2
66 Image display ON / OFF switch 68 Single shooting / Continuous shooting switch 70 Operation unit 80 Power supply control unit 82 Connector 84 Connector 86 Power supply unit 90 Interface 92 Connector 94 Interface 96 Connector 98 Recording medium attachment / detachment detection unit 100 Digital camera 102 Protection unit 104 Optical Finder 106 Image display unit open / close detection unit 200 Recording medium 202 Recording unit 204 Interface 206 Connector 210 Recording medium 212 Recording unit 214 Interface 216 Connector 400 Flash device 402 Connector 404 Flash

Claims (7)

被写体像を撮像する撮像手段と、
画像を表示する表示手段と、
前記撮像手段により撮像された静止画像に対して、赤目現象が発生している部分を補正する赤目補正処理を行う赤目補正手段と、
前記撮像手段により第1の静止画像を撮像させた後、前記第1の静止画像に対して前記赤目補正処理を施す前に前記第1の静止画像から生成した第1の表示用画像を前記表示手段に表示させ、その後に前記第1の静止画像に対して前記赤目補正処理を施した第2の静止画像から生成した第2の表示用画像を前記表示手段に表示させるように、前記撮像手段と前記表示手段を制御する制御手段と、
を具備することを特徴とする撮像装置。
Imaging means for capturing a subject image;
Display means for displaying an image;
A red-eye correction unit that performs a red-eye correction process for correcting a portion in which a red-eye phenomenon occurs with respect to the still image captured by the imaging unit;
The first display image generated from the first still image after the first still image is captured by the imaging unit and before the red-eye correction process is performed on the first still image is displayed. The imaging means is configured to display on the display means a second display image generated from a second still image that has been displayed on the means and then subjected to the red-eye correction process on the first still image. And control means for controlling the display means;
An imaging apparatus comprising:
前記第1の静止画像から、前記第1の表示用画像としての、第1の低解像度画像を生成する第1の低解像度画像生成手段と、前記第2の静止画像から、前記第2の表示用画像としての、第2の低解像度の画像を生成する第2の低解像度画像生成手段と、をさらに具備することを特徴とする請求項1に記載の撮像装置。   First low-resolution image generation means for generating a first low-resolution image as the first display image from the first still image, and the second display from the second still image The imaging apparatus according to claim 1, further comprising: a second low-resolution image generation unit configured to generate a second low-resolution image as a work image. 前記赤目補正手段は、前記第1の低解像度画像から検出した赤目現象が発生している部分の位置に関する情報を用いて、前記第1の静止画像に対する赤目補正処理を行うことを特徴とする請求項2に記載の撮像装置。   The red-eye correction means performs a red-eye correction process on the first still image using information regarding a position of a portion where a red-eye phenomenon detected from the first low-resolution image has occurred. Item 3. The imaging device according to Item 2. 前記制御手段は、前記表示手段が前記第1の表示用画像を表示中に、前記第1の表示用画像に重ねて、前記赤目補正処理を実行中であることを示す表示を前記表示手段に表示させることを特徴とする請求項1に記載の撮像装置。   While the display means is displaying the first display image, the control means superimposes the first display image on the display means to indicate that the red-eye correction processing is being performed. The imaging apparatus according to claim 1, wherein the imaging apparatus is displayed. 被写体像を撮像する撮像手段と、画像を表示する表示手段と、前記撮像手段により撮像された静止画像に対して、赤目現象が発生している部分を補正する赤目補正処理を行う赤目補正手段と、を備える撮像装置を制御する方法であって、
前記撮像手段により第1の静止画像を撮像させる撮像工程と、
前記第1の静止画像に対して前記赤目補正処理を施す前に前記第1の静止画像から生成した第1の表示用画像を前記表示手段に表示させる第1の表示工程と、
前記第1の静止画像に対して前記赤目補正処理を施した第2の静止画像から生成した第2の表示用画像を前記表示手段に表示させる第2の表示工程と、
を具備することを特徴とする撮像装置の制御方法。
An imaging unit that captures a subject image, a display unit that displays an image, and a red-eye correction unit that performs a red-eye correction process for correcting a portion in which a red-eye phenomenon occurs with respect to a still image captured by the imaging unit. A method for controlling an imaging device comprising:
An imaging step of capturing a first still image by the imaging means;
A first display step of causing the display means to display a first display image generated from the first still image before performing the red-eye correction process on the first still image;
A second display step of causing the display means to display a second display image generated from the second still image obtained by performing the red-eye correction process on the first still image;
An image pickup apparatus control method comprising:
請求項5に記載の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program for causing a computer to execute the control method according to claim 5. 請求項6に記載のプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 6.
JP2006291717A 2006-10-26 2006-10-26 Imaging apparatus, control method thereof, program and storage medium Pending JP2008109503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006291717A JP2008109503A (en) 2006-10-26 2006-10-26 Imaging apparatus, control method thereof, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006291717A JP2008109503A (en) 2006-10-26 2006-10-26 Imaging apparatus, control method thereof, program and storage medium

Publications (2)

Publication Number Publication Date
JP2008109503A true JP2008109503A (en) 2008-05-08
JP2008109503A5 JP2008109503A5 (en) 2009-12-03

Family

ID=39442475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006291717A Pending JP2008109503A (en) 2006-10-26 2006-10-26 Imaging apparatus, control method thereof, program and storage medium

Country Status (1)

Country Link
JP (1) JP2008109503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010136215A (en) * 2008-12-05 2010-06-17 Olympus Imaging Corp Camera, control method, and control program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005167697A (en) * 2003-12-03 2005-06-23 Canon Inc Electronic camera having red-eye correction function
JP2006115139A (en) * 2004-10-14 2006-04-27 Fuji Photo Film Co Ltd Image correction apparatus and method of controlling it
JP2006127191A (en) * 2004-10-29 2006-05-18 Fuji Photo Film Co Ltd Image data correction device, image display device and control method therefor
JP2006229392A (en) * 2005-02-16 2006-08-31 Olympus Imaging Corp Imaging apparatus and image data display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005167697A (en) * 2003-12-03 2005-06-23 Canon Inc Electronic camera having red-eye correction function
JP2006115139A (en) * 2004-10-14 2006-04-27 Fuji Photo Film Co Ltd Image correction apparatus and method of controlling it
JP2006127191A (en) * 2004-10-29 2006-05-18 Fuji Photo Film Co Ltd Image data correction device, image display device and control method therefor
JP2006229392A (en) * 2005-02-16 2006-08-31 Olympus Imaging Corp Imaging apparatus and image data display method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010136215A (en) * 2008-12-05 2010-06-17 Olympus Imaging Corp Camera, control method, and control program

Similar Documents

Publication Publication Date Title
JP4262082B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP4989385B2 (en) Imaging apparatus, control method thereof, and program
JP5424732B2 (en) Imaging apparatus, control method thereof, and program
JP2005184508A (en) Imaging device and control method therefor
JP2005167697A (en) Electronic camera having red-eye correction function
JP2009038749A (en) Image processor, control method of image processor, and program for implementing the same
JP4636739B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP2005292740A (en) Electronic camera
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP4262022B2 (en) Imaging device
JP4810478B2 (en) Image processing apparatus, image processing method, imaging apparatus, program, and storage medium
JP2007173985A (en) Imaging apparatus, imaging method, program, and storage medium
JP4717645B2 (en) Imaging apparatus and control method thereof
JP2008109503A (en) Imaging apparatus, control method thereof, program and storage medium
JP2006042258A (en) Imaging apparatus and its control method
JP5828722B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP5137343B2 (en) Imaging apparatus and imaging method
JP4682104B2 (en) Imaging device
JP2008060844A (en) Image processor and image processing method
JP2010041399A (en) Imaging device and its control method
JP4902512B2 (en) Imaging apparatus, control method thereof, and program
JP2006211392A (en) Imaging apparatus and its control method
JP4909009B2 (en) Imaging apparatus, image processing method, program, and storage medium
JP2005197885A (en) Imaging apparatus and control method thereof
JP2013197839A (en) Image pickup device and control method and program therefor

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091020

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110516

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120105