JP2010136214A - Camera, and method and program for controlling the same - Google Patents

Camera, and method and program for controlling the same Download PDF

Info

Publication number
JP2010136214A
JP2010136214A JP2008311548A JP2008311548A JP2010136214A JP 2010136214 A JP2010136214 A JP 2010136214A JP 2008311548 A JP2008311548 A JP 2008311548A JP 2008311548 A JP2008311548 A JP 2008311548A JP 2010136214 A JP2010136214 A JP 2010136214A
Authority
JP
Japan
Prior art keywords
image
correction
unit
camera
processing
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
JP2008311548A
Other languages
Japanese (ja)
Inventor
Shogo Shimamura
正吾 嶋村
Satoshi Miyazaki
敏 宮崎
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2008311548A priority Critical patent/JP2010136214A/en
Publication of JP2010136214A publication Critical patent/JP2010136214A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera for correcting captured images without affecting normal camera operation after imaging, and to provide a method and a program for controlling cameras. <P>SOLUTION: An imaging section 10 captures a subject to generate a captured image. An operation section 26 inputs camera operation instructions or the like. A face image correction section 181 applies predetermined correction to the captured image for recording generated by the imaging section 10 when an imaging instruction is input by the operation section 26. A correction control section 211 interrupts the correction of the face image correction section 181 when any user operation including operation instructions of a digital camera 1 is input by the operation section 26 after the imaging, and resumes the correction of the face image correction section 181 if no new operation is input after processing according to the input user's operation. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、カメラ、このカメラの制御方法および制御プログラムに関するものである。   The present invention relates to a camera, a control method for the camera, and a control program.

近年、画像中に含まれる人物等の顔、さらには顔を構成する目や口、鼻等の顔パーツを検出する顔検出技術が知られており、様々な分野で利用されている。例えば、この顔検出技術を用いて撮影範囲内の顔の位置を特定し、特定した顔の位置をもとに撮影時のピント合わせや露出の制御を行うカメラが実用化されている。   In recent years, a face detection technique for detecting a face such as a person included in an image, and face parts such as eyes, mouth, and nose constituting the face has been known and is used in various fields. For example, a camera that uses this face detection technology to specify the position of a face within the shooting range, and performs focusing and exposure control during shooting based on the specified face position has been put into practical use.

さらに最近では、顔検出技術を用いて検出した画像中の顔の領域、あるいは各顔パーツの領域に対して補正処理を行う画像処理技術が種々提案されている。例えば特許文献1には、予め目の画像または画像特徴量を登録しておき、この目の画像または画像特徴量を用いて撮影画像中の目の領域を補正(修正)する画像処理方法が開示されている。   Furthermore, recently, various image processing techniques for performing correction processing on a face area or an area of each face part in an image detected using a face detection technique have been proposed. For example, Patent Document 1 discloses an image processing method in which an eye image or an image feature amount is registered in advance, and an eye region in a captured image is corrected (corrected) using the eye image or image feature amount. Has been.

特開2007−157176号公報JP 2007-157176 A

上記のような画像処理技術をカメラに適用し、人物を被写体として撮影を行った際に画像中の顔に補正処理を行えば、人物の表情を明るくみせたり、美しく見せるといったことが可能となる。ここで、撮影画像に対して補正処理を行うタイミングとしては、撮影の直後が望ましい。撮影画像の再生表示時等、撮影時とは別のタイミングでユーザの操作入力に応じて補正処理を行う仕様も考えられるが、ユーザにとっては作業が面倒であり好ましくないためである。しかしながら、補正処理にはある程度の時間がかかる。このため、撮影の直後に補正処理を行う場合、カメラは、補正処理を終えるまでの間、例えば次の撮影や撮影した画像の再生表示といった通常のカメラ動作に移ることができないという問題があった。   By applying the image processing technology as described above to the camera and correcting the face in the image when taking a picture of a person as a subject, it becomes possible to make the facial expression of the person appear brighter or more beautiful. . Here, it is desirable that the timing for performing the correction process on the photographed image is immediately after photographing. Although a specification for performing correction processing in response to a user's operation input at a timing different from that at the time of shooting, such as at the time of reproduction display of a shot image, can be considered, the operation is troublesome for the user and is not preferable. However, the correction process takes some time. For this reason, when correction processing is performed immediately after shooting, there is a problem that the camera cannot move to normal camera operation such as next shooting or playback display of the shot image until the correction processing is completed. .

本発明は、上記に鑑みてなされたものであって、撮影の後、通常のカメラ動作に影響を与えずに撮影画像に対する補正処理を行うことができるカメラ、カメラの制御方法および制御プログラムを提供することを目的とする。   The present invention has been made in view of the above, and provides a camera, a camera control method, and a control program capable of performing correction processing on a captured image without affecting normal camera operation after shooting. The purpose is to do.

上述した課題を解決し、目的を達成するため、本発明にかかるカメラは、被写体を撮影して撮影画像を生成する撮像部と、カメラの動作指示を入力するための操作部と、前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正部と、前記画像補正部による補正処理の実行を制御する補正制御部と、前記画像補正部による補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御部と、を備え、前記補正制御部は、前記画像補正部による補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正部による補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正部による補正処理を再開させることを特徴とする。   In order to solve the above-described problems and achieve the object, a camera according to the present invention includes an imaging unit that shoots a subject and generates a captured image, an operation unit for inputting an operation instruction of the camera, and the operation unit An image correction unit that executes a predetermined correction process on a recorded image generated by the imaging unit in response to the shooting instruction when the camera operation instruction input from the camera is a shooting instruction; A correction control unit that controls execution of correction processing by the image correction unit, and a recording control unit that performs control to record the recording image that has been corrected by the image correction unit in the recording unit as a recorded image. The correction control unit interrupts the correction process by the image correction unit when an operation instruction of the camera is input from the operation unit during the execution of the correction process by the image correction unit. After the processing according to, characterized in that resuming the correction processing by said disrupting the image correcting unit.

また、本発明にかかるカメラは、上記の発明において、前記記録用の撮影画像から顔を検出し、該検出した顔に含まれる所定の顔器官を検出する器官検出部を備え、前記画像補正部は、前記補正処理として、前記器官検出部によって検出された前記顔器官の領域を補正する処理を行うことを特徴とする。   Further, the camera according to the present invention includes an organ detection unit that detects a face from the captured image for recording and detects a predetermined facial organ included in the detected face in the above-described invention, and the image correction unit Is characterized in that as the correction process, a process of correcting the region of the facial organ detected by the organ detection unit is performed.

また、本発明にかかるカメラは、上記の発明において、前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が当該カメラの電源遮断指示の場合には、前記中断させた前記画像補正部による補正処理を再開させ、前記補正処理を終了した後に当該カメラの電源を遮断することを特徴とする。   In the camera according to the present invention, in the above invention, the correction control unit may be configured such that the camera operation instruction input during execution of the correction process by the image correction unit is a power-off instruction for the camera. The correction processing by the interrupted image correction unit is resumed, and the power of the camera is shut off after the correction processing is completed.

また、本発明にかかるカメラは、上記の発明において、前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が前記撮影指示の場合には、該撮影指示が入力された時点で前記画像補正部による補正処理を中断させることを特徴とする。   In the camera according to the present invention, in the above invention, the correction control unit may perform the shooting when the operation instruction of the camera input during the execution of the correction process by the image correction unit is the shooting instruction. The correction process by the image correction unit is interrupted when an instruction is input.

また、本発明にかかるカメラは、上記の発明において、少なくとも前記記録画像を表示するための表示部と、前記記録画像を前記表示部に表示する制御を行う表示制御部と、を備え、前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が前記記録画像の再生指示の場合には、該再生指示が入力された時点で前記画像補正部による補正処理を中断させ、前記表示制御部は、前記補正処理を中断している前記記録用の撮影画像を処理中画像とし、該処理中画像を前記記録画像とともに表示する制御を行うことを特徴とする。   Further, the camera according to the present invention includes, in the above invention, at least a display unit for displaying the recorded image and a display control unit that performs control for displaying the recorded image on the display unit. When the camera operation instruction input during execution of the correction process by the image correction unit is a reproduction instruction for the recorded image, the control unit corrects the image correction unit at the time when the reproduction instruction is input. The processing is interrupted, and the display control unit performs control to display the recording image for which the correction processing is interrupted as a processing image and to display the processing image together with the recording image. .

また、本発明にかかるカメラは、上記の発明において、前記画像補正部は、前記記録用の撮影画像に対して行う前記補正処理に先立ち、前記記録用の撮影画像を縮小処理した表示用の小画像に対して前記補正処理を行い、前記表示制御部は、前記補正処理後の前記表示用の小画像を前記処理中画像として表示する制御を行うことを特徴とする。   In the camera according to the present invention, in the above invention, the image correction unit may be a display small-sized image obtained by reducing the recording image before the correction process performed on the recording image. The correction processing is performed on the image, and the display control unit performs control to display the small image for display after the correction processing as the image being processed.

また、本発明にかかるカメラの制御方法は、被写体を撮影して撮影画像を生成する撮像部と、カメラの動作指示を入力するための操作部とを備えたカメラの制御方法であって、前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正工程と、前記画像補正工程での補正処理の実行を制御する補正制御工程と、前記画像補正工程での補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御工程と、を含み、前記補正制御工程は、前記画像補正工程での補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正工程での補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正工程での補正処理を再開させることを特徴とする。   A camera control method according to the present invention is a camera control method including an imaging unit that captures a subject and generates a captured image, and an operation unit that inputs an operation instruction of the camera, An image correction step of performing a predetermined correction process on a recorded photographed image generated by the imaging unit in response to the photographing instruction when the camera operation instruction input from the operation unit is a photographing instruction; , A correction control step for controlling the execution of the correction process in the image correction step, and a recording control for performing control for recording the recorded image for recording after the correction processing in the image correction step as a recorded image in a recording unit The correction control step interrupts the correction processing in the image correction step when an operation instruction of the camera is input from the operation unit during the execution of the correction processing in the image correction step. , Enter After the processing according to the the operation instruction, and wherein the resuming the correction process in the interrupted the image correction process was.

また、本発明にかかる制御プログラムは、被写体を撮影して撮影画像を生成する撮像部と、カメラの動作指示を入力するための操作部とを備えたカメラのコンピュータに、前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正ステップと、前記画像補正ステップでの補正処理の実行を制御する補正制御ステップと、前記画像補正ステップでの補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御ステップと、を実行させるための制御プログラムであって、前記補正制御ステップは、前記画像補正ステップでの補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正ステップでの補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正ステップでの補正処理を再開させることを特徴とする。   The control program according to the present invention is input from the operation unit to a camera computer including an imaging unit that captures a subject and generates a captured image, and an operation unit for inputting a camera operation instruction. When the camera operation instruction is a photographing instruction, an image correction step for executing a predetermined correction process on the recording photographed image generated by the imaging unit in response to the photographing instruction; and the image correction step A correction control step for controlling the execution of the correction process at the recording step, and a recording control step for performing a control for recording the recorded image for recording that has been subjected to the correction process in the image correction step as a recorded image in a recording unit. The correction control step is configured to issue an instruction to operate the camera from the operation unit during execution of the correction process in the image correction step. The correction processing in the image correction step is interrupted when it is force, after the processing corresponding to the input operation instruction, and wherein the resuming the correction processing in the image correction step that is the interruption.

本発明によれば、カメラの動作指示が入力された場合に記録用の撮影画像に対する補正処理を中断し、入力されたカメラの動作指示に応じた処理の後で補正処理を再開することができるので、撮影の後、通常のカメラ動作に影響を与えずに撮影画像に対する補正処理を行うことができる。   According to the present invention, when a camera operation instruction is input, the correction process for the recording image to be recorded can be interrupted, and the correction process can be resumed after the process corresponding to the input camera operation instruction. Therefore, it is possible to perform correction processing on a captured image after shooting without affecting normal camera operation.

以下、図面を参照し、本発明の好適な実施の形態について詳細に説明する。本実施の形態では、本発明のカメラを適用したデジタルカメラについて説明する。なお、この実施の形態によって本発明が限定されるものではない。また、各図面の記載において、同一部分には同一の符号を付して示している。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, a digital camera to which the camera of the present invention is applied will be described. Note that the present invention is not limited to the embodiments. Moreover, in description of each drawing, the same code | symbol is attached | subjected and shown to the same part.

(実施の形態)
図1は、デジタルカメラ1の背面図である。図1に示すように、デジタルカメラ1は、カメラ本体2の上面に配設された撮影タイミングを指示するためのレリーズスイッチ(シャッタースイッチ)3、カメラ本体2の背面に配設されたパワースイッチ4やメニュースイッチ5、上下左右の各方向スイッチ(上スイッチ、下スイッチ、左スイッチおよび右スイッチ)を有する十字キー6、操作内容を確定する等のためのOKスイッチ7、撮影モードと再生モードとを切り換えるための再生スイッチ8、各種画面を表示する表示部23等を備えている。パワースイッチ4は、デジタルカメラ1の電源投入/電源遮断を切り換えて入力するためのものであり、例えばスライドスイッチを用いて実現される。レリーズスイッチ3は、例えば二段階式の押下ボタンであり、半押しされるとファーストレリーズスイッチがONし、全押しされるとセカンドレリーズスイッチがONするようになっている。また、図示しないが、カメラ本体2の前面には、フラッシュや撮像レンズ等が配設されている。
(Embodiment)
FIG. 1 is a rear view of the digital camera 1. As shown in FIG. 1, the digital camera 1 includes a release switch (shutter switch) 3 for instructing photographing timing provided on the upper surface of the camera body 2, and a power switch 4 provided on the back surface of the camera body 2. And a menu switch 5, a cross key 6 having up / down / left / right direction switches (upper switch, lower switch, left switch and right switch), an OK switch 7 for confirming operation contents, a shooting mode and a playback mode. A playback switch 8 for switching, a display unit 23 for displaying various screens, and the like are provided. The power switch 4 is used for switching and inputting power on / off of the digital camera 1 and is realized by using, for example, a slide switch. The release switch 3 is, for example, a two-stage press button. When the release switch 3 is half-pressed, the first release switch is turned ON, and when the release switch 3 is fully pressed, the second release switch is turned ON. Although not shown, a flash, an imaging lens, and the like are disposed on the front surface of the camera body 2.

このデジタルカメラ1においてパワースイッチ4をスライドさせて電源投入を指示すると、デジタルカメラ1は撮影可能な状態(撮影モード)となる。撮影モードでは、撮像レンズを通して入射する被写体像が1フレーム(例えば1/30秒)毎に出力され、ライブビュー画像として表示部23にリアルタイムに連続表示されるようになっており、ユーザは、ライブビュー画像を見ながらレリーズスイッチ3を押下して静止画や動画の撮影を行う。一方、電源投入時、再生スイッチ8の押下操作に応じて撮影モードと再生モードとが切り換わるようになっている。この再生モードでは、ユーザは、デジタルカメラ1で撮影された静止画や動画を表示部23に表示(再生)して楽しむ。   When the power switch 4 is slid in the digital camera 1 to give an instruction to turn on the power, the digital camera 1 enters a state where it can shoot (shooting mode). In the shooting mode, a subject image incident through the imaging lens is output every frame (for example, 1/30 second) and continuously displayed in real time on the display unit 23 as a live view image. While viewing the view image, the release switch 3 is pressed to shoot a still image or a moving image. On the other hand, when the power is turned on, the shooting mode and the playback mode are switched according to the pressing operation of the playback switch 8. In this playback mode, the user enjoys displaying (playing back) still images and moving images captured by the digital camera 1 on the display unit 23.

図2は、このデジタルカメラ1のシステム構成を示すブロック図である。図2に示すように、デジタルカメラ1は、撮像素子11と、レンズ系ユニット12と、レンズ駆動回路13と、撮像回路14と、SDRAM(Synchronous Dynamic Random Access Memory)15と、AE部16と、AF部17と、画像処理部18と、器官検出部20と、CPU21と、内蔵メモリ22と、表示部23と、表示駆動回路24と、通信I/F25と、操作部26と、記録部の一例である着脱メモリ27と、電源回路28と、電池29とを備える。そして、撮像回路14、SDRAM15、AE部16、AF部17、画像処理部18、器官検出部20、CPU21、表示駆動回路24および着脱メモリ27がバス30を介して接続されて構成されている。また、撮像素子11やレンズ系ユニット12、レンズ駆動回路13、撮像回路14は、被写体像を光電変換して撮影画像の画像データを生成する撮像部10を構成する。   FIG. 2 is a block diagram showing a system configuration of the digital camera 1. As shown in FIG. 2, the digital camera 1 includes an imaging device 11, a lens system unit 12, a lens driving circuit 13, an imaging circuit 14, an SDRAM (Synchronous Dynamic Random Access Memory) 15, an AE unit 16, AF unit 17, image processing unit 18, organ detection unit 20, CPU 21, built-in memory 22, display unit 23, display drive circuit 24, communication I / F 25, operation unit 26, and recording unit A removable memory 27, which is an example, a power supply circuit 28, and a battery 29 are provided. The imaging circuit 14, SDRAM 15, AE unit 16, AF unit 17, image processing unit 18, organ detection unit 20, CPU 21, display drive circuit 24, and removable memory 27 are connected via a bus 30. Further, the image sensor 11, the lens system unit 12, the lens driving circuit 13, and the imaging circuit 14 constitute an imaging unit 10 that photoelectrically converts a subject image to generate image data of a captured image.

撮像素子11は、例えばCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等のイメージセンサであって、レンズ系ユニット12を通して入射する被写体像をフレーム単位で光電変換し、アナログ電気信号を出力する。レンズ系ユニット12は、AF(Auto-Focus)用レンズやズーム用レンズ等を含む撮像レンズ、絞り、シャッター等を含み、レンズ駆動回路13は、レンズ系ユニット12を駆動する。   The image pickup device 11 is an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor), and photoelectrically converts a subject image incident through the lens system unit 12 in units of frames and outputs an analog electric signal. To do. The lens system unit 12 includes an imaging lens including an AF (Auto-Focus) lens, a zoom lens, and the like, a diaphragm, a shutter, and the like. The lens driving circuit 13 drives the lens system unit 12.

撮像回路14は、撮像素子11から出力されたアナログ電気信号に対してCDS(Correlated Double Sampling)やAGC(Automatic Gain Control)等のアナログ信号処理を行った後、デジタル電気信号に変換するとともに、このデジタル電気信号に対して画素補間処理や色補正処理等のデジタル信号処理を行い、画像データとして出力する。この画像データは、SDRAM15に一時的に記録される。   The imaging circuit 14 performs analog signal processing such as CDS (Correlated Double Sampling) and AGC (Automatic Gain Control) on the analog electrical signal output from the imaging device 11 and converts the analog electrical signal into a digital electrical signal. Digital signal processing such as pixel interpolation processing and color correction processing is performed on the digital electrical signal and output as image data. This image data is temporarily recorded in the SDRAM 15.

SDRAM15は、撮像回路14から出力される画像データや、画像処理部18による処理中の画像データ等の一時記録用に使用される。例えば、1フレーム毎に撮像回路14から出力される表示用の撮影画像(以下、「ライブビュー画像」と称す。)の画像データや、撮影タイミングで撮像回路14から出力される記録用の撮影画像(以下、単に「撮影画像」と称す。)の画像データ等が一時的に記録される。デジタルカメラ1の動作モードの一つである撮影モードでは、撮像素子11に結像されている被写体像が連続的(動画的)にリアルタイムに表示部23に更新表示されるようになっており、ライブビュー画像とは、この画像のことをいう。   The SDRAM 15 is used for temporary recording of image data output from the imaging circuit 14 and image data being processed by the image processing unit 18. For example, image data of a display photographed image (hereinafter referred to as “live view image”) output from the imaging circuit 14 for each frame, or a recording photographed image output from the imaging circuit 14 at the photographing timing. Image data (hereinafter simply referred to as “photographed image”) and the like are temporarily recorded. In the shooting mode, which is one of the operation modes of the digital camera 1, the subject image formed on the image sensor 11 is updated and displayed on the display unit 23 continuously (moving image) in real time. The live view image refers to this image.

AE部16は、撮像回路14から出力された画像データをもとに、自動露出を行う。AF部17は、撮像回路14から出力された画像データをもとに、自動焦点調節を行う。   The AE unit 16 performs automatic exposure based on the image data output from the imaging circuit 14. The AF unit 17 performs automatic focus adjustment based on the image data output from the imaging circuit 14.

画像処理部18は、撮像回路14から出力された画像データに対して各種の画像処理を施すとともに、記録用、表示用等に適した画像データに変換する処理を行う。例えば、撮影画像の画像データを記録する際、あるいは記録されている画像データを表示する際等に、JPEG(Joint Photographic Experts Group)方式等に基づく画像データの圧縮処理や伸張処理を行う。また、画素数を増減させて画像データを拡縮させるリサイズ処理、画像データから一部分を切り出すトリミング処理、各画素の輝度成分や色成分を調整する明るさ調整処理や色調整処理、透明処理等、画像データに対する各種の画像処理を必要に応じて行う。   The image processing unit 18 performs various types of image processing on the image data output from the imaging circuit 14 and performs processing for converting the image data into image data suitable for recording and display. For example, when recording image data of a photographed image or displaying recorded image data, image data compression processing or decompression processing based on a JPEG (Joint Photographic Experts Group) method or the like is performed. In addition, resizing processing to increase / decrease image data by increasing / decreasing the number of pixels, trimming processing to cut out a part from the image data, brightness adjustment processing to adjust the luminance component and color component of each pixel, color adjustment processing, transparency processing, etc. Perform various image processing on data as needed.

この画像処理部18は、画像補正部としての顔画像補正部181を含む。顔画像補正部181は、撮影モードに関する設定として撮影画像中の顔を補正する補正モードが選択されている場合であって、器官検出部20によって撮影画像中の顔が検出された場合に、撮影画像やこの撮影画像を縮小処理した表示用の小画像(サムネイル:以下、「表示用小画像」と称す。)に対し、その顔領域を加工する補正処理を行う。以下、顔画像補正部181が撮影画像に対して行う補正処理を「本画像補正処理」、顔画像補正部181が表示用小画像に対して行う補正処理を「小画像補正処理」と称す。また、本画像補正処理を行った撮影画像を「補正付き撮影画像」と称す。また、補正処理の詳細については後述するが、本実施の形態では、撮影画像および表示用小画像に対して行う補正処理の内容自体は同一とする。ただし、撮影画像と表示用小画像とでは画像サイズが大きく異なるため、小画像補正処理は、本画像補正処理のように時間がかからず、短時間で実現できる。なお、表示用小画像に対して行う補正処理を、撮影画像に対して行う補正処理を簡略化した処理(例えば粗い処理)としてもよい。これによれば、小画像補正処理の処理時間の短時間化がより一層図れる。   The image processing unit 18 includes a face image correction unit 181 as an image correction unit. The face image correcting unit 181 is used when the correction mode for correcting the face in the photographed image is selected as the setting relating to the photographing mode, and when the face in the photographed image is detected by the organ detecting unit 20. Correction processing for processing the face area is performed on an image and a small display image (thumbnail: hereinafter referred to as “display small image”) obtained by reducing the captured image. Hereinafter, the correction process that the face image correction unit 181 performs on the captured image is referred to as “main image correction process”, and the correction process that the face image correction unit 181 performs on the small display image is referred to as “small image correction process”. A captured image that has undergone the main image correction processing is referred to as a “captured captured image”. Although details of the correction process will be described later, in the present embodiment, the content of the correction process performed on the captured image and the small display image is the same. However, since the image size differs greatly between the captured image and the display small image, the small image correction processing does not take time like the main image correction processing, and can be realized in a short time. Note that the correction process performed on the small display image may be a process (for example, a rough process) in which the correction process performed on the captured image is simplified. According to this, the processing time of the small image correction process can be further shortened.

器官検出部20は、撮影画像の画像データをもとに、周知技術であるパターンマッチングを適用してこの画像データ中の顔の領域(顔領域)を検出し、左右の目や鼻、唇等の各顔パーツを検出する。検出された人物画像中の顔領域の位置座標、各パーツの位置座標等のデータは、SDRAM15に記録される。   The organ detection unit 20 detects pattern areas (face areas) in the image data by applying pattern matching, which is a well-known technique, based on the image data of the photographed image, and the left and right eyes, nose, lips, etc. Detect each face part. Data such as the position coordinates of the face area in the detected human image and the position coordinates of each part are recorded in the SDRAM 15.

CPU21は、操作部26からの操作信号等に応じて内蔵メモリ22からカメラプログラムを読み出して実行し、デジタルカメラ1を構成する各部に対する指示やデータの転送等を行ってデジタルカメラ1の動作を統括的に制御する。例えば、CPU21は、記録制御部として、撮影画像や補正付き撮影画像を記録画像とし、この記録画像の画像データを着脱メモリ27に記録するための制御を行う。   The CPU 21 reads out and executes a camera program from the built-in memory 22 in response to an operation signal from the operation unit 26, etc., and gives instructions to each unit constituting the digital camera 1, data transfer, and the like to control the operation of the digital camera 1. Control. For example, as a recording control unit, the CPU 21 performs control for recording a captured image or a corrected captured image as a recorded image and recording image data of the recorded image in the removable memory 27.

このCPU21は、ソフトウェアによる処理機能として、補正制御部211と、表示制御部213とを備える。補正制御部211は、顔画像補正部181が行う本画像補正処理の中断および再開を制御する。表示制御部213は、ライブビュー画像や確認画像、記録画像を表示部23に表示する制御を行うとともに、本画像補正処理が終了していない撮影画像(以下、「処理中画像」と称す。)がある場合に、前述のライブビュー画像や記録画像とともに処理中画像を示す補助画像を表示部23に表示する制御を行う。   The CPU 21 includes a correction control unit 211 and a display control unit 213 as processing functions by software. The correction control unit 211 controls interruption and resumption of the main image correction process performed by the face image correction unit 181. The display control unit 213 performs control to display the live view image, the confirmation image, and the recorded image on the display unit 23, and the captured image that has not been subjected to the main image correction process (hereinafter referred to as “processing image”). When there is an auxiliary image, control is performed to display an auxiliary image indicating the image being processed on the display unit 23 together with the live view image and the recorded image.

内蔵メモリ22は、例えばフラッシュメモリ等の電気的に書き換えが可能な不揮発性メモリであり、この内蔵メモリ22には、デジタルカメラ1を動作させ、このデジタルカメラ1が備える種々の機能を実現するための各種のカメラプログラムや、このカメラプログラムの実行中に使用されるデータ等が予め記録されている。なお、これらカメラプログラムやカメラプログラムの実行中に使用されるデータを記録する記録媒体はフラッシュメモリに限定されるものではなく、CD−ROMやDVD−ROM等の光学記録媒体、MD等の磁気記録媒体、テープ媒体、ICカードなどの半導体メモリを用いることができる。   The built-in memory 22 is an electrically rewritable nonvolatile memory such as a flash memory. For example, the built-in memory 22 operates the digital camera 1 and realizes various functions provided in the digital camera 1. The various camera programs and data used during the execution of the camera program are recorded in advance. The recording medium for recording the camera program and data used during the execution of the camera program is not limited to the flash memory, but an optical recording medium such as a CD-ROM or DVD-ROM, or a magnetic recording such as an MD. A semiconductor memory such as a medium, a tape medium, or an IC card can be used.

表示部23は、ライブビュー画像や確認画像、記録画像の他、デジタルカメラ1の各種設定情報等を表示するためのものであり、LCD(Liquid Crystal Display)やELディスプレイ(Electroluminescence Display)等の表示装置で実現される。表示駆動回路24は、表示部23を駆動する。この表示部23には、撮影モード中は所定の表示フレームレートでライブビュー画像が動画的に連続表示され、再生モード中は着脱メモリ27に記録されている記録画像が表示される。   The display unit 23 is for displaying various setting information of the digital camera 1 in addition to the live view image, the confirmation image, and the recorded image, and displays such as an LCD (Liquid Crystal Display) or an EL display (Electroluminescence Display). Realized in the device. The display drive circuit 24 drives the display unit 23. On the display unit 23, live view images are continuously displayed as a moving image at a predetermined display frame rate during the shooting mode, and recorded images recorded in the removable memory 27 are displayed during the playback mode.

操作部26は、例えば撮影指示、再生指示、電源投入指示、電源遮断指示といったデジタルカメラ1の動作指示、補正モードを含む各種の撮影モードや再生モードといったデジタルカメラ1の動作モードに関する設定操作、あるいは撮影条件の設定操作等、ユーザによる各種操作を入力するためのものであり、操作入力に応じた操作信号をCPU21に通知する。この操作部26は、各種機能が割り当てられたボタンスイッチやスライドスイッチ、ダイヤル等で実現され、図1のレリーズスイッチ3、パワースイッチ4、メニュースイッチ5、十字キー6、OKスイッチ7および再生スイッチ8を含む。   The operation unit 26 is, for example, an operation instruction of the digital camera 1 such as a photographing instruction, a reproduction instruction, a power-on instruction, and a power-off instruction, a setting operation related to the operation mode of the digital camera 1 such as various photographing modes including a correction mode and a reproduction mode This is for inputting various operations by the user, such as a shooting condition setting operation, and notifies the CPU 21 of an operation signal corresponding to the operation input. The operation unit 26 is realized by a button switch, a slide switch, a dial or the like to which various functions are assigned. The release switch 3, the power switch 4, the menu switch 5, the cross key 6, the OK switch 7 and the playback switch 8 shown in FIG. including.

通信I/F25は、例えばUSB(Universal Serial Bus)等の通信規格によってデジタルカメラ1を例えばパソコン等の外部機器と接続するためのインターフェースである。   The communication I / F 25 is an interface for connecting the digital camera 1 to an external device such as a personal computer according to a communication standard such as USB (Universal Serial Bus).

着脱メモリ27は、例えばxD−ピクチャーカード(登録商標)やコンパクトフラッシュ(登録商標)カード等のデジタルカメラ1に着脱自在なメモリカードである。この着脱メモリ27には、その種類に応じた図示しない読み書き装置によって記録画像の画像データが書き込まれ、または読み書き装置によって着脱メモリ27に記録された画像データが読み出される。   The removable memory 27 is a memory card that is detachable from the digital camera 1 such as an xD-Picture Card (registered trademark) or a Compact Flash (registered trademark) card. In the detachable memory 27, the image data of the recorded image is written by a read / write device (not shown) corresponding to the type, or the image data recorded in the detachable memory 27 is read by the read / write device.

電源回路28は、装填されている電池29によって供給される電力を、所定の電力に変換してデジタルカメラ1の各部へと供給する。   The power supply circuit 28 converts the power supplied by the battery 29 loaded therein into predetermined power and supplies it to each part of the digital camera 1.

ここで、以上のように構成されるデジタルカメラ1の機能の一つである補正モードの概要について説明する。上記のように、本実施の形態のデジタルカメラ1は、撮影モードに関する設定として補正モードが選択されている場合に、顔または顔を構成する各顔パーツの領域の補正処理を行う。   Here, an outline of the correction mode, which is one of the functions of the digital camera 1 configured as described above, will be described. As described above, the digital camera 1 according to the present embodiment performs the correction process on the face or the area of each face part constituting the face when the correction mode is selected as the setting relating to the shooting mode.

ここで、補正処理は、人物等の被写体の顔を美しく表現するための処理であり、処理内容は特に限定されるものではないが、例としては、肌を滑らかに加工するスムージング処理や、肌を白く加工する美白処理、瞳にキャッチライトを合成するキャッチライト処理、唇の明るさや色を調整して艶感や立体感を発生させる艶処理等が挙げられる。スムージング処理では、例えば、肌の領域からシワやシミの部分を検出して周囲の肌の状態に置き換える補正を行う。美白処理では、例えば、肌の赤み部分を検出して周辺の肌の色と置き換える補正や、肌の白みを増すための補正、あるいは肌を日焼け色に補正する処理を行う。なお、例示した補正処理の他にも、例えば、目の開き具合を調整することによって目を大きく見せるような補正を行うこととしてもよい。これらの補正処理は、例えば、特開2004−180114号公報や特開2004−222118号公報、特開2004−318205号公報等に開示されている公知技術を用いることで実現できる。ただし、これらの文献に開示されている公知技術に限定されるものではなく、必要に応じた補正処理を適宜選択して用いることができる。また、これらの補正処理のうちの1つを行うこととしてもよいし、複数を組み合わせて行うこととしてもよい。   Here, the correction process is a process for expressing the face of a subject such as a person beautifully, and the processing content is not particularly limited, but examples include a smoothing process for smoothing the skin, Whitening processing for processing white, catchlight processing for synthesizing catchlight on the pupil, glossing processing for adjusting gloss and color of the lips by adjusting the brightness and color of the lips, and the like. In the smoothing process, for example, correction is performed by detecting a wrinkle or a spot portion from the skin region and replacing it with the surrounding skin state. In the whitening process, for example, correction for detecting a reddish portion of the skin and replacing it with the color of the surrounding skin, correction for increasing the whiteness of the skin, or processing for correcting the skin to a tan color is performed. In addition to the exemplified correction processing, for example, correction that makes the eyes look larger by adjusting the degree of opening of the eyes may be performed. These correction processes can be realized by using known techniques disclosed in, for example, Japanese Unexamined Patent Application Publication Nos. 2004-180114, 2004-222118, and 2004-318205. However, the present invention is not limited to the known techniques disclosed in these documents, and correction processing as necessary can be appropriately selected and used. Also, one of these correction processes may be performed, or a plurality of correction processes may be combined.

ところで、撮影画像に対して前述の各種補正処理を行うためには、ある程度の時間を要する。そこで本実施の形態のデジタルカメラ1は、撮影の後、補正処理(本画像補正処理)の終了を待たずに次の撮影に移ってライブビュー画像の表示を再開する。そして、新たなユーザ操作が入力されるまでの間は、このライブビュー画像の表示と並行し、本画像補正処理を継続して行う。そして、例えばレリーズスイッチ3やパワースイッチ4、メニュースイッチ5、十字キー6、OKスイッチ7、再生スイッチ8が押下され、撮影指示や再生指示といったデジタルカメラ1の動作指示を含む何らかのユーザ操作が入力された時点で本画像補正処理を中断する。また、入力されたユーザ操作に応じた処理を行った後、新たに別のユーザ操作が入力されなければ本画像補正処理を再開する。これによれば、本画像補正処理として所要時間の長い補正処理を行う場合であっても、例えば次の撮影や記録画像の再生といった通常のカメラ動作に影響を与えない。したがって、ユーザにとっては、撮影の後直ぐに次の撮影に移れるので、補正処理によって例えばシャッターチャンスを逃すといった事態は発生しない。   By the way, it takes a certain amount of time to perform the above-described various correction processes on the captured image. Therefore, after shooting, the digital camera 1 of the present embodiment moves to the next shooting without waiting for the end of the correction process (main image correction process), and resumes the display of the live view image. Then, until a new user operation is input, the main image correction process is continuously performed in parallel with the display of the live view image. Then, for example, the release switch 3, the power switch 4, the menu switch 5, the cross key 6, the OK switch 7, and the playback switch 8 are pressed, and some user operation including an operation instruction of the digital camera 1 such as a shooting instruction and a playback instruction is input. At this point, the image correction process is interrupted. In addition, after performing a process according to the input user operation, the image correction process is restarted unless another user operation is newly input. According to this, even when a correction process with a long required time is performed as the main image correction process, it does not affect a normal camera operation such as the next shooting or reproduction of a recorded image. Therefore, since the user can move to the next shooting immediately after shooting, a situation in which, for example, a photo opportunity is missed by the correction process does not occur.

さらに、本実施の形態のデジタルカメラ1は、このように通常のカメラ動作と並行して補正処理を行う場合に、その進行状況をユーザに提示するための表示を行う。具体的には、デジタルカメラ1は、通常のカメラ動作中、処理中画像を示す補助画像を表示部23に表示する。   Furthermore, the digital camera 1 according to the present embodiment performs display for presenting the progress status to the user when the correction process is performed in parallel with the normal camera operation. Specifically, the digital camera 1 displays an auxiliary image indicating the image being processed on the display unit 23 during normal camera operation.

図3は、本画像補正処理の実行中または本画像補正処理を中断している場合における撮影モード中の画面構成例を示す図である。図3に示すように、本画像補正処理の実行中または中断中における撮影モードの表示画面は、画面中央にライブビュー画像を表示するメイン画面Wmが配置され、メイン画面Wmの下方に処理中画像を示す補助画像Ws(Ws−1,2,・・・)が配置されて構成される。ここで、処理中画像を示す補助画像Wsは、例えば、処理中画像である本画像補正処理が終了していない撮影画像の表示用小画像に対して補正処理(小画像補正処理)を施したもの(以下、「処理小画像」と称す。)である。処理中画像に対する本画像補正処理を終えると、対応する補助画像Wsは画面上から消去される。例えば、複数の処理中画像を示す補助画像Wsが表示されている場合には、本画像補正処理を終えたものから順番にその補助画像Wsが消去されていく。そして、最終的に全ての処理中画像についての本画像補正処理が終えると、画面中央のメイン画面Wmが全画面表示されるようになっている。一方、新たに処理中画像が追加された場合には、対応する補助画像Wsが追加される。   FIG. 3 is a diagram illustrating a screen configuration example in the shooting mode when the main image correction process is being executed or when the main image correction process is interrupted. As shown in FIG. 3, in the shooting mode display screen during execution or interruption of the main image correction processing, a main screen Wm for displaying a live view image is arranged in the center of the screen, and a processing image is displayed below the main screen Wm. Are arranged to form auxiliary images Ws (Ws-1, 2,...). Here, the auxiliary image Ws indicating the image being processed is subjected to correction processing (small image correction processing), for example, on a small image for display of a captured image that has not been subjected to the main image correction processing, which is an image being processed. (Hereinafter referred to as “processed small image”). When the main image correction processing for the image being processed is completed, the corresponding auxiliary image Ws is deleted from the screen. For example, when the auxiliary image Ws indicating a plurality of images being processed is displayed, the auxiliary image Ws is deleted in order from the one after the completion of the main image correction processing. When the main image correction processing for all the images being processed is finally completed, the main screen Wm at the center of the screen is displayed on the full screen. On the other hand, when a new image being processed is added, a corresponding auxiliary image Ws is added.

なお、図3では、補助画像をメイン画面の下方に配置することとしたが、配置位置はメイン画面Wmの上方あるいは側方であってもよい。また、ここでは撮影モード中の画面構成例を示したが、再生モード中においても、本画像補正処理の実行中または中断中であれば、同様の画面構成で記録画像の再生を行う。すなわち、再生モード中では、図3に示した画面構成と同様に、画面中央において着脱メモリ27に記録されている記録画像を再生(表示)するメイン画面を配置し、メイン画面の下方に処理中画像を示す補助画像(例えば処理小画像)を配置する。   In FIG. 3, the auxiliary image is arranged below the main screen, but the arrangement position may be above or on the side of the main screen Wm. Although an example of the screen configuration in the shooting mode is shown here, the recorded image is played back with the same screen configuration when the main image correction process is being executed or interrupted even in the playback mode. That is, during the playback mode, as in the screen configuration shown in FIG. 3, a main screen for reproducing (displaying) the recorded image recorded in the removable memory 27 is arranged at the center of the screen, and processing is being performed below the main screen. An auxiliary image (for example, a processed small image) indicating an image is arranged.

これによれば、撮影モード中や再生モード中において、本画像補正処理の実行中または本画像補正処理を中断している処理中画像をユーザに提示できる。そしてこのとき、本実施の形態のように、処理小画像を補助画像として用いれば、処理中画像の補正イメージを提示できる。したがって、ユーザは、ライブビュー画像を見ながら、あるいは記録画像を見ながら処理中画像の有無や数を確認でき、本画像補正処理の進行状況を把握できる。また、これと併せて処理小画像によって処理中画像の補正イメージを確認できる。   According to this, it is possible to present to the user an in-process image during execution of the main image correction process or interruption of the main image correction process during the shooting mode or the playback mode. At this time, if the small process image is used as an auxiliary image as in the present embodiment, a corrected image of the image being processed can be presented. Therefore, the user can check the presence / absence and number of images being processed while viewing the live view image or the recorded image, and can grasp the progress of the image correction process. In addition, a correction image of the image being processed can be confirmed by the small processing image.

図4は、補正モードが選択されている場合の撮影モード中の表示画面の遷移例を示す図である。図4(a)に示すように、撮影モード中、本画像補正処理の実行中または中断中でなければ、メイン画面Wm1が全画面表示され、このメイン画面Wm1にライブビュー画像が表示される。   FIG. 4 is a diagram illustrating a transition example of the display screen during the shooting mode when the correction mode is selected. As shown in FIG. 4A, the main screen Wm1 is displayed on the full screen and the live view image is displayed on the main screen Wm1 unless the image correction process is being executed or interrupted during the shooting mode.

例えば、図4(a)に示す状態でレリーズスイッチ3が押下され、セカンドレリーズスイッチがONされたとする。この場合には、ライブビュー画像の表示が一旦停止され、図4(a)のメイン画面Wm1に示すライブビュー画像の被写体範囲を撮影範囲とした撮影が行われる。そして、撮影画像中の顔検出が実行され、撮影画像中の顔を補正するための本画像補正処理が開始される。   For example, it is assumed that the release switch 3 is pressed in the state shown in FIG. 4A and the second release switch is turned on. In this case, the display of the live view image is temporarily stopped, and shooting is performed with the subject range of the live view image shown on the main screen Wm1 in FIG. Then, face detection in the captured image is executed, and main image correction processing for correcting the face in the captured image is started.

その後、ライブビュー画像の表示が復帰するが、この時点で、図4(a)の後撮影された撮影画像に対する本画像補正処理を終えていない場合には、ライブビュー画像は、図3に示した画面構成で補助画像とともに表示される。すなわち、図4(b)に示すように、画面中央のメイン画面Wm2にライブビュー画像が表示される。そして、メイン画面Wm2の下方に処理中画像を示す補助画像Ws21として、図4(a)の後の撮影で得られた撮影画像の処理小画像が表示される。   Thereafter, the display of the live view image is restored. At this time, if the main image correction processing for the photographed image taken after FIG. 4A is not completed, the live view image is shown in FIG. Displayed with an auxiliary image in the screen configuration. That is, as shown in FIG. 4B, the live view image is displayed on the main screen Wm2 at the center of the screen. Then, a processed small image of the photographed image obtained by the photographing after FIG. 4A is displayed as the auxiliary image Ws21 indicating the image being processed, below the main screen Wm2.

ここで、さらに図4(b)に示す状態でレリーズスイッチ3が押下され、セカンドレリーズスイッチがONされたとする。この場合には、補助画像Ws21が示す処理中画像に対する本画像補正処理が中断される。そして、図4(b)のメイン画面Wm2に示すライブビュー画像の被写体範囲を撮影範囲とした撮影が行われ、その後、ライブビュー画像の表示が復帰する。例えばこの時点で、図4(a)の後撮影された撮影画像に対する本画像補正処理を終えていないとすると、この撮影画像および図4(b)の後に撮影された撮影画像の2枚の撮影画像に対する本画像補正処理を終えていないことになる。したがって、続く表示画面では、図4(c)に示すように、メイン画面Wm3の下方に前述の2枚の撮影画像の処理小画像である補助画像Ws31,Ws32が配置される。   Here, it is assumed that the release switch 3 is further pressed in the state shown in FIG. 4B and the second release switch is turned on. In this case, the main image correction process for the in-process image indicated by the auxiliary image Ws21 is interrupted. Then, shooting is performed with the subject range of the live view image shown on the main screen Wm2 of FIG. 4B as the shooting range, and then the display of the live view image is restored. For example, assuming that the main image correction processing for the photographed image taken after FIG. 4A has not been completed at this time, two photographs of the photographed image and the photographed image photographed after FIG. 4B are taken. This means that the main image correction process for the image has not been completed. Therefore, in the subsequent display screen, as shown in FIG. 4C, auxiliary images Ws31 and Ws32, which are processed small images of the two captured images, are arranged below the main screen Wm3.

そして、この状態でユーザ操作が入力されない状態が続けば、中断されていた本画像補正処理が再開され、各処理中画像に対する本画像補正処理が順次行われる。そして、最初に撮影された撮影画像に対する本画像補正処理を終えたならば、対応する補助画像が消去される。例えば図4(d)に示すように、メイン画面Wm4の下方には、2番目に撮影された撮影画像を処理中画像として示す補助画像Ws41のみが配置される。そして、2番目に撮影された撮影画像に対する本画像補正処理を終えれば、その補助画像も消去され、図4(e)に示すように、ライブビュー画像が表示されるメイン画面Wm5が全画面表示される。   If the state in which no user operation is input continues in this state, the interrupted main image correction processing is resumed, and the main image correction processing is sequentially performed on the images being processed. When the main image correction process for the first photographed image is completed, the corresponding auxiliary image is deleted. For example, as shown in FIG. 4D, only the auxiliary image Ws41 indicating the second captured image as the processing image is arranged below the main screen Wm4. When the main image correction processing for the second photographed image is completed, the auxiliary image is also erased, and as shown in FIG. 4E, the main screen Wm5 on which the live view image is displayed is a full screen. Is displayed.

次に、デジタルカメラ1の動作について説明する。図5および図6は、デジタルカメラ1の基本動作を示すフローチャートである。図5に示すように、デジタルカメラ1は、パワースイッチ4がスライドされて電源投入(パワースイッチON)が指示されるまで待機状態となり、パワースイッチがOFFの間は(ステップa1:No)、スリープ状態を継続して(ステップa3)、ステップa1に戻る。   Next, the operation of the digital camera 1 will be described. 5 and 6 are flowcharts showing the basic operation of the digital camera 1. As shown in FIG. 5, the digital camera 1 is in a standby state until the power switch 4 is slid and an instruction to turn on the power (power switch ON) is given, and sleep while the power switch is OFF (step a1: No). The state is continued (step a3), and the process returns to step a1.

そして、パワースイッチがONされた場合には(ステップa1:Yes)、電源回路28による各部への電源供給が開始され(ステップa5)、先ず、撮影モード設定を行う(ステップa7)。例えば、測光や露出演算に関する設定、AE/AF動作に関する設定等、撮影モードに関する各種設定を行う。本実施の形態では、このとき、撮影画像中で顔が検出された場合に顔を補正する補正モードの設定を行う。その後、測光・演算処理を行う(ステップa9)。   When the power switch is turned on (step a1: Yes), the power supply circuit 28 starts supplying power to each unit (step a5), and first, the shooting mode is set (step a7). For example, various settings relating to the shooting mode such as settings relating to photometry and exposure calculation, and settings relating to AE / AF operation are performed. In this embodiment, at this time, a correction mode for correcting the face when a face is detected in the captured image is set. Thereafter, photometry / calculation processing is performed (step a9).

続いて、補正処理中フラグが「ON」なのか「OFF」なのかに応じて処理を分岐する。ここで、補正処理中フラグは、後述する撮影処理(図6のステップa33)中で設定されるフラグ情報であり、本画像補正処理を開始した時点でセット(ON)され、本画像補正処理を終了するとクリア(OFF)されるようになっている。そして、この補正処理中フラグがOFFの場合には(ステップa11:No)、表示制御部213が、ライブビュー画像を取り込んで表示部23に通常表示する(ステップa13)。ここでの処理によって、撮像素子11に結像されている被写体像の画像データがSDRAM15に一時的に記録され、ライブビュー画像として表示部23に表示される。このライブビュー画像は、所定のフレームレートで更新され、動画的に連続表示されるようになっている。一方、補正処理中フラグがONの場合にも(ステップa11:Yes)、表示制御部213は、ステップa13と同様にしてライブビュー画像を取り込むが、取り込んだライブビュー画像を、図3に示して説明した画面構成で補助画像とともに表示部23に表示する(ステップa15)。   Subsequently, the processing branches depending on whether the correction processing flag is “ON” or “OFF”. Here, the correction process in progress flag is flag information set in a shooting process (step a33 in FIG. 6) described later, and is set (ON) when the main image correction process is started. When finished, it is cleared (OFF). When the correction processing flag is OFF (step a11: No), the display control unit 213 captures the live view image and normally displays it on the display unit 23 (step a13). By this processing, the image data of the subject image formed on the image sensor 11 is temporarily recorded in the SDRAM 15 and displayed on the display unit 23 as a live view image. The live view image is updated at a predetermined frame rate and is continuously displayed as a moving image. On the other hand, even when the correction processing flag is ON (step a11: Yes), the display control unit 213 captures the live view image in the same manner as in step a13, but the captured live view image is illustrated in FIG. It displays on the display part 23 with an auxiliary image with the demonstrated screen structure (step a15).

続いて、CPU21が、ユーザ操作の有無を判定する。そして、何らかのユーザ操作が入力された場合には(ステップa17:Yes)、ステップa29に移行し、先ず補正制御部211が、実行中の本画像補正処理を中断させる。これに応答して顔画像補正部181が、実行中の本画像補正処理を中断する。ここで、本画像補正処理は、撮影処理(図6のステップa33)中で開始される処理であり、本画像補正処理の実行中でない場合には、特に処理を行わない。その後は、図6のステップa31に移行し、入力されたユーザ操作に応じた処理を行う。   Subsequently, the CPU 21 determines whether or not there is a user operation. When any user operation is input (step a17: Yes), the process proceeds to step a29, and the correction control unit 211 first interrupts the currently executed main image correction process. In response to this, the face image correction unit 181 interrupts the currently executed main image correction process. Here, the main image correction process is a process started during the photographing process (step a33 in FIG. 6). When the main image correction process is not being executed, no particular process is performed. Thereafter, the process proceeds to step a31 in FIG. 6, and processing according to the input user operation is performed.

一方、ステップa17において操作入力がない場合には(ステップa17:No)、CPU21は、続いて補正処理中フラグを判定し、補正処理中フラグがOFFの場合には(ステップa19:No)、ステップa9に戻る。一方、補正処理中フラグがONの場合には(ステップa19:Yes)、本画像補正再開処理に移る(ステップa21)。なお、本画像補正再開処理の詳細は後述するが、この本画像補正再開処理では、中断している本画像補正処理が再開される。そして、ユーザ操作が入力されない間は本画像補正処理が継続され、本画像補正処理を終了した時点で本画像補正再開処理を終えるようになっている。また、再開された本画像補正処理の実行中にユーザ操作が入力された場合には、本画像補正処理が再び中断され、本画像補正再開処理を終えるようになっている。   On the other hand, when there is no operation input at step a17 (step a17: No), the CPU 21 subsequently determines a correction processing flag, and when the correction processing flag is OFF (step a19: No), the step Return to a9. On the other hand, when the correction process flag is ON (step a19: Yes), the process proceeds to the main image correction restart process (step a21). Although details of the main image correction restart process will be described later, in the main image correction restart process, the interrupted main image correction process is restarted. Then, the main image correction process is continued while no user operation is input, and the main image correction restart process is ended when the main image correction process is completed. In addition, when a user operation is input during execution of the resumed main image correction process, the main image correction process is interrupted again, and the main image correction restart process ends.

そして、ステップa21の本画像補正再開処理で本画像補正処理を終えた場合には(ステップa23:Yes)、CPU21は、補正処理中フラグをクリアし(ステップa25)、記録画像(ここでは補正付き撮影画像)の画像データを着脱メモリ27に記録する(ステップa27)。その後、ステップa9に戻る。また、ステップa21の本画像補正再開処理で本画像補正処理を終えていない場合、すなわちユーザ操作が入力されたことによって本画像補正再開処理を終えた場合には(ステップa23:No)、ステップa9に戻り、その後のステップで操作入力に応じた処理が行われることとなる。   When the main image correction process is completed in the main image correction restart process in step a21 (step a23: Yes), the CPU 21 clears the correction process in progress flag (step a25) and prints a recorded image (here, with correction). The image data of the photographed image is recorded in the removable memory 27 (step a27). Thereafter, the process returns to step a9. If the main image correction process has not been completed in the main image correction restart process in step a21, that is, if the main image correction restart process has been completed due to the input of a user operation (step a23: No), step a9 Returning to the above, processing corresponding to the operation input is performed in the subsequent steps.

また、図6に示すように、ステップa31では、レリーズスイッチ3が一段階押下され、ファーストレリーズスイッチがONされたか否かを判定する。ファーストレリーズスイッチがONされた場合には(ステップa31:Yes)、撮影処理を行う(ステップa33)。ONされなければ(ステップa31:No)、ステップa35に移行する。そして、再生スイッチ8がONされて再生指示が入力された場合には(ステップa35:Yes)、再生モードとなって再生処理を行う(ステップa37)。再生スイッチ8がONされなければ(ステップa35:No)、ステップa39に移行する。そして、メニュースイッチ5がONされた場合には(ステップa39:Yes)、設定変更処理を行う(ステップa41)。メニュースイッチ5がONされなければ(ステップa39:No)、ステップa43に移行する。   Further, as shown in FIG. 6, in step a31, it is determined whether or not the release switch 3 is depressed by one step and the first release switch is turned on. If the first release switch is turned on (step a31: Yes), a photographing process is performed (step a33). If not ON (step a31: No), the process proceeds to step a35. When the playback switch 8 is turned on and a playback instruction is input (step a35: Yes), the playback mode is set and playback processing is performed (step a37). If the regeneration switch 8 is not turned on (step a35: No), the process proceeds to step a39. When the menu switch 5 is turned on (step a39: Yes), a setting change process is performed (step a41). If the menu switch 5 is not turned on (step a39: No), the process proceeds to step a43.

そして、ステップa43では、電源遮断指示を判定し、パワースイッチ4がスライドされて電源遮断(パワースイッチOFF)が指示された場合でなければ(ステップa43:No)、図5のステップa9に戻る。パワースイッチ4がOFFされて電源遮断指示が入力された場合には(ステップa43:Yes)、CPU21は、補正処理中フラグを判定する。補正処理中フラグがOFFの場合には(ステップa45:No)、電源回路28による各部の電源供給が停止され(ステップa55)、基本動作を終える。   In step a43, a power-off instruction is determined. If the power switch 4 is not slid to instruct power-off (power switch OFF) (step a43: No), the process returns to step a9 in FIG. When the power switch 4 is turned off and a power-off instruction is input (step a43: Yes), the CPU 21 determines a correction processing flag. When the correction processing flag is OFF (step a45: No), the power supply of each part by the power supply circuit 28 is stopped (step a55), and the basic operation is finished.

一方、補正処理中フラグがONの場合には(ステップa45:Yes)、本画像補正再開処理に移る(ステップa47)。すなわち、この本画像補正再開処理では、図5のステップa21と同様に、中断している本画像補正処理が再開される。そして、ユーザ操作が入力されない間は本画像補正処理が継続され、本画像補正処理を終了した時点で本画像補正再開処理を終える。また、再開された本画像補正処理の実行中にユーザ操作が入力された場合には、本画像補正処理が再び中断され、本画像補正再開処理を終える。   On the other hand, when the correction process flag is ON (step a45: Yes), the process proceeds to the main image correction restart process (step a47). That is, in the main image correction restart process, the interrupted main image correction process is restarted as in step a21 of FIG. Then, the main image correction process is continued while no user operation is input, and the main image correction restart process ends when the main image correction process ends. When a user operation is input during execution of the resumed main image correction process, the main image correction process is interrupted again, and the main image correction restart process ends.

そして、ステップa47の本画像補正再開処理で本画像補正処理を終えた場合には(ステップa49:Yes)、CPU21は、補正処理中フラグをクリアし(ステップa51)、記録画像(ここでは補正付き撮影画像)の画像データを着脱メモリ27に記録する(ステップa53)。その後、電源回路28による各部の電源供給が停止され(ステップa55)、基本動作を終える。   When the main image correction process is completed in the main image correction restart process in step a47 (step a49: Yes), the CPU 21 clears the correction process in progress flag (step a51) and prints a recorded image (here, with correction). The image data of the captured image is recorded in the removable memory 27 (step a53). Thereafter, the power supply of each part by the power supply circuit 28 is stopped (step a55), and the basic operation is finished.

また、ステップa47の本画像補正再開処理で本画像補正処理を終えていない場合、すなわちユーザ操作が入力されたことによって本画像補正再開処理を終えた場合には(ステップa49:No)、ステップa43に戻り、その後のステップで操作入力に応じた処理が行われることとなる。   If the main image correction process has not been completed in the main image correction restart process in step a47, that is, if the main image correction restart process has been completed due to the input of a user operation (step a49: No), step a43 Returning to the above, processing corresponding to the operation input is performed in the subsequent steps.

次に、図6に示した基本動作においてファーストレリーズスイッチがONされた場合に行う撮影処理(ステップa33)について説明する。図7および図8は、撮影処理の詳細な処理手順を示すフローチャートである。   Next, the photographing process (step a33) performed when the first release switch is turned on in the basic operation shown in FIG. 6 will be described. 7 and 8 are flowcharts showing the detailed processing procedure of the photographing process.

図7に示すように、撮影処理では、先ず撮影準備動作として、AF部17がAF(自動焦点)動作を行い(ステップb1)、AE部16がAE(自動露出)動作を行う(ステップb3)。その後、セカンドレリーズスイッチがONされず(ステップb5:No)、ファーストレリーズスイッチがONされたままの間は(ステップb7:Yes)、待機状態となる。ファーストレリーズスイッチがOFFされた場合には(ステップb7:No)、リターンして図6のステップa35に進む。   As shown in FIG. 7, in the photographing process, first, as photographing preparation operation, the AF unit 17 performs an AF (automatic focus) operation (step b1), and the AE unit 16 performs an AE (automatic exposure) operation (step b3). . Thereafter, the second release switch is not turned on (step b5: No), and the first release switch remains on (step b7: Yes), and the standby state is entered. If the first release switch is turned off (step b7: No), the process returns to step a35 in FIG.

そして、レリーズスイッチ3が二段階押下され、セカンドレリーズスイッチがONされて撮影指示が入力された場合には(ステップb5:Yes)、表示制御部213が、ライブビュー画像の表示部23への表示を一旦停止させる(ステップb8)。その後、CPU21が、撮像部10を駆動して撮影処理時の露出を制御し(ステップb9)、画像データの読み出し処理を行う(ステップb11)。ここでの処理によって、セカンドレリーズスイッチがONされたタイミングの撮影範囲の画像が撮影画像として生成され、その画像データがSDRAM15に一時的に記録される。   When the release switch 3 is pressed in two steps and the second release switch is turned on and a shooting instruction is input (step b5: Yes), the display control unit 213 displays the live view image on the display unit 23. Is temporarily stopped (step b8). Thereafter, the CPU 21 drives the imaging unit 10 to control the exposure during the photographing process (step b9), and performs the image data reading process (step b11). With this processing, an image in the shooting range at the timing when the second release switch is turned on is generated as a shot image, and the image data is temporarily recorded in the SDRAM 15.

続いて、画像処理部18が、撮影画像に対して必要な画像処理を行う(ステップb13)。このとき、画像処理部18は、撮影画像を縮小処理して表示用小画像(サムネイル)を生成する処理を行う。そして、CPU21が、補正モードを選択した撮影モードが設定されているか否かを判定する。補正モードが選択されていなければ(ステップb15:No)、図8のステップb25に移行する。一方、補正モードが選択されている場合には(ステップb15:Yes)、器官検出部20が顔検出を実行する(ステップb17)。器官検出部20は、撮影画像からそれぞれ顔領域を検出し、この顔領域の検出結果をもとに、顔領域中の各顔パーツを検出する。   Subsequently, the image processing unit 18 performs necessary image processing on the captured image (step b13). At this time, the image processing unit 18 performs a process of reducing the captured image to generate a small display image (thumbnail). Then, the CPU 21 determines whether or not the shooting mode in which the correction mode is selected is set. If the correction mode is not selected (step b15: No), the process proceeds to step b25 in FIG. On the other hand, when the correction mode is selected (step b15: Yes), the organ detection unit 20 performs face detection (step b17). The organ detection unit 20 detects each face area from the captured image, and detects each face part in the face area based on the detection result of the face area.

その後、CPU21が、ステップb17の顔検出で顔を検出したか否かを判定する。顔を検出しなかった場合には(ステップb19:No)、図8のステップb25に移行する。一方、顔を検出したならば(ステップb19:Yes)、続いて画像処理部18の顔画像補正部181が、図8のステップb37で開始する本画像補正処理に先立って小画像補正処理を行い、表示用小画像中の顔領域を補正処理する(ステップb21)。そして、CPU21が補正処理中フラグをセット(ON)した後(ステップb23)、図8のステップb25に移行する。   Thereafter, the CPU 21 determines whether or not a face is detected by the face detection in step b17. If no face is detected (step b19: No), the process proceeds to step b25 in FIG. On the other hand, if a face is detected (step b19: Yes), then the face image correction unit 181 of the image processing unit 18 performs a small image correction process prior to the main image correction process starting at step b37 in FIG. Then, the face area in the small display image is corrected (step b21). Then, after the CPU 21 sets (ON) the correction processing flag (step b23), the process proceeds to step b25 in FIG.

すなわち、ステップb25では、表示制御部213が、確認画像を表示部23に表示する制御(レックビュー)を開始する。ここで、確認画像は、撮影の結果生成されて着脱メモリ27に記録される記録画像の内容をユーザに提示するための確認用の表示である。例えば補正モードが選択されていない場合や、補正モードが選択されているものの撮影画像中で顔が検出されない場合には、通常の画像処理後の撮影画像が確認画像として表示部23に表示される。一方、補正モードが選択されており、撮影画像中で顔が検出された場合には、顔領域を補正処理した小画像補正処理後の処理小画像が確認画像として表示部23に表示される。   That is, in step b25, the display control unit 213 starts control (rec view) for displaying the confirmation image on the display unit 23. Here, the confirmation image is a display for confirmation for presenting the user with the contents of the recorded image that is generated as a result of photographing and recorded in the removable memory 27. For example, when the correction mode is not selected, or when the correction mode is selected but no face is detected in the captured image, the captured image after normal image processing is displayed on the display unit 23 as a confirmation image. . On the other hand, when the correction mode is selected and a face is detected in the photographed image, a processed small image after the small image correction process in which the face area is corrected is displayed on the display unit 23 as a confirmation image.

続いて、CPU21は、タイマーを起動して所定時間(確認画像の表示時間)の計時を開始し(ステップb27)、補正処理中フラグを判定する。補正処理中フラグがOFFであれば(ステップb29:No)、記録画像の画像データを着脱メモリ27に記録する(ステップb31)。このステップb31では、例えば、補正モードが選択されていない場合や、補正モードが選択されているものの補正画像中で顔が検出されない場合の通常の画像処理後の撮影画像を記録画像としてその画像データを着脱メモリ27に記録する。あるいは、本画像補正処理が終了した未記録の画像データがあれば、その補正付き撮影画像を記録画像としてその画像データを着脱メモリ27に記録する。   Subsequently, the CPU 21 starts a timer and starts measuring a predetermined time (display time of the confirmation image) (step b27), and determines the correction processing flag. If the correction processing flag is OFF (step b29: No), the image data of the recorded image is recorded in the removable memory 27 (step b31). In this step b31, for example, when the correction mode is not selected, or when the correction mode is selected but the face is not detected in the corrected image, the captured image after the normal image processing is used as the recorded image, and the image data Is recorded in the removable memory 27. Alternatively, if there is unrecorded image data for which the main image correction processing has been completed, the image data is recorded in the removable memory 27 using the corrected photographed image as a recorded image.

その後、CPU21は、タイマーの計時を監視し、タイマーの計時が確認画像の表示時間を超過せず、タイムアップしない間は(ステップb33:No)、ユーザ操作の有無を判定する。操作入力がなければ(ステップb35:No)、ステップb33に戻る。そして、タイマーの計時が所定時間を超過し、タイムアップした場合(ステップb33:Yes)、あるいはユーザ操作が入力された場合には(ステップb35:Yes)、ステップb49に移行し、表示制御部213が、確認画像の表示部23への表示(レックビュー)を終了する。そして、図6のステップa35に進む。   Thereafter, the CPU 21 monitors the time count of the timer, and determines whether there is a user operation while the time count of the timer does not exceed the display time of the confirmation image and the time is not up (step b33: No). If there is no operation input (step b35: No), the process returns to step b33. When the time of the timer exceeds the predetermined time and the time is up (step b33: Yes), or when a user operation is input (step b35: Yes), the process proceeds to step b49 and the display control unit 213 is reached. However, the display (rec view) of the confirmation image on the display unit 23 ends. Then, the process proceeds to Step a35 in FIG.

一方、ステップb29で判定した補正処理中フラグがONの場合には(ステップb29:Yes)、顔画像補正部181が本画像補正処理を開始する(ステップb37)。ここで開始される本画像補正処理によって、撮影画像中の顔領域が補正処理され、最終的に本画像補正処理を終えたときに補正付き撮影画像が得られる。なお、例えば前回撮影した撮影画像に対する本画像補正処理を終えていない場合等、この時点で本画像補正処理を中断している場合には、補正制御部211は、今回撮影された撮影画像を処理中画像に追加し、中断していた本画像補正処理を再開させる。   On the other hand, when the correction process in progress flag determined in step b29 is ON (step b29: Yes), the face image correction unit 181 starts the main image correction process (step b37). By the main image correction process started here, the face area in the captured image is corrected, and a corrected captured image is obtained when the main image correction process is finally completed. If the main image correction process is interrupted at this time, for example, if the main image correction process for the previously captured image has not been completed, the correction control unit 211 processes the captured image captured this time. Add to the middle image and resume the interrupted main image correction process.

その後、CPU21は、タイマーがタイムアップしない間は(ステップb39:No)、本画像補正処理を終了したか否かを判定する。そして、確認画像の表示中に本画像補正処理を終了した場合には(ステップb41:Yes)、補正処理中フラグをクリア(OFF)した後(ステップb43)、ステップb31に移行する。また、本画像補正処理を終了しない場合には(ステップb41:No)、ユーザ操作の有無を判定し、操作入力がなければ(ステップb45:No)、ステップb39に戻る。   Thereafter, the CPU 21 determines whether or not the main image correction process is finished while the timer does not expire (step b39: No). If the main image correction process is completed while the confirmation image is displayed (step b41: Yes), the correction process in progress flag is cleared (OFF) (step b43), and then the process proceeds to step b31. If the image correction process is not finished (step b41: No), the presence / absence of a user operation is determined. If there is no operation input (step b45: No), the process returns to step b39.

そして、ユーザ操作が入力されないままタイマーがタイムアップした場合には(ステップb39:Yes)、ステップb49に移行し、表示制御部213が、確認画像の表示部23への表示(レックビュー)を終了する。そして、図6のステップa35に進む。   If the timer expires without any user operation being input (step b39: Yes), the process proceeds to step b49, and the display control unit 213 ends the display (rec view) of the confirmation image on the display unit 23. To do. Then, the process proceeds to Step a35 in FIG.

一方、確認画像の表示中に何らかのユーザ操作が入力された場合には(ステップb45:Yes)、補正制御部211が、実行中の本画像補正処理を中断させる(ステップb47)。その後ステップb49に移行し、表示制御部213が、確認画像の表示部23への表示(レックビュー)を終了する。そして、図6のステップa35に進む。なお、図6のステップa35に進んだ後、その後のステップ(具体的には図5のステップa13またはステップa15)で、撮影の間一旦停止されていたライブビュー画像の表示が開始される。これにより、顔画像補正部181による本画像補正処理の終了を待たずにライブビュー画像の表示を再開する制御が実現される。そして、さらにその後のステップで操作入力に応じた処理が行われることとなる。   On the other hand, when any user operation is input during the display of the confirmation image (step b45: Yes), the correction control unit 211 interrupts the currently executed image correction process (step b47). Thereafter, the process proceeds to step b49, and the display control unit 213 ends the display (rec view) of the confirmation image on the display unit 23. Then, the process proceeds to Step a35 in FIG. In addition, after proceeding to step a35 in FIG. 6, in a subsequent step (specifically, step a13 or step a15 in FIG. 5), the display of the live view image that was temporarily stopped during the photographing is started. Thereby, the control for resuming the display of the live view image without waiting for the end of the main image correction process by the face image correction unit 181 is realized. In a subsequent step, processing corresponding to the operation input is performed.

次に、図6に示した基本動作において再生スイッチ8がONされた場合に行う再生処理(ステップa37)について説明する。図9は、再生処理の詳細な処理手順を示すフローチャートである。   Next, the reproduction process (step a37) performed when the reproduction switch 8 is turned on in the basic operation shown in FIG. 6 will be described. FIG. 9 is a flowchart showing a detailed processing procedure of the reproduction process.

図9に示すように、再生処理では先ず、CPU21が、着脱メモリ27から記録画像を読み込む処理を行う(ステップc1)。続いて、CPU21は、補正処理中フラグを判定する。そして、補正処理中フラグがOFFの場合には(ステップc3:No)、表示制御部213は、読み込んだ記録画像を表示部23に表示する制御を行って再生する(ステップc5)。一方、補正処理中フラグがONの場合にも(ステップc3:Yes)、読み込んだ記録画像を表示部23に表示する制御を行って再生するが、このとき、表示制御部213が、図3に示して説明したライブビュー画像の表示と同様に読み込んだ記録画像を補助画像とともに表示部23に表示する制御を行って再生する(ステップc7)。なお、記録画像の再生は、例えば、過去に撮影されて着脱メモリ27に記録されている記録画像の画像データを撮影順に1枚ずつ順番に読み込んで表示する構成としてもよいし、複数の記録画像のサムネイルデータを読み出して一覧表示する制御を行い、ユーザ操作に従って一覧の中から選択した記録画像の画像データを表示する構成としてもよい。   As shown in FIG. 9, in the reproduction process, first, the CPU 21 performs a process of reading a recorded image from the removable memory 27 (step c1). Subsequently, the CPU 21 determines a correction processing flag. When the correction processing flag is OFF (step c3: No), the display control unit 213 performs control to display the read recorded image on the display unit 23 and reproduces it (step c5). On the other hand, even when the correction processing flag is ON (step c3: Yes), the read recorded image is displayed and reproduced on the display unit 23. At this time, the display control unit 213 displays in FIG. In the same way as the display of the live view image shown and described, the read recorded image is displayed together with the auxiliary image on the display unit 23 for reproduction (step c7). The recorded image may be reproduced by, for example, a configuration in which image data of a recorded image that has been captured in the past and recorded in the removable memory 27 is sequentially read and displayed one by one in the order of shooting. The thumbnail data may be read and displayed as a list, and the image data of the recorded image selected from the list according to the user operation may be displayed.

続いて、例えば十字キー6がONされ、再生中の記録画像の切り換え操作が入力された場合には(ステップc9:Yes)、CPU21は、指定された記録画像を着脱メモリ27から読み込む処理を行って(ステップc11)、ステップc3に戻る。   Subsequently, for example, when the cross key 6 is turned on and a switching operation of a recorded image being reproduced is input (step c9: Yes), the CPU 21 performs a process of reading the designated recorded image from the removable memory 27. (Step c11), the process returns to step c3.

一方、十字キー6がONされない場合には(ステップc9:No)、CPU21は、補正処理中フラグを判定し、補正処理中フラグがOFFであれば(ステップc13:No)、ステップc23に移行する。一方、補正処理中フラグがONの場合には(ステップc13:Yes)、本画像補正再開処理を行う(ステップc15)。すなわち、この本画像補正再開処理では、図5のステップa21や図6のステップa47と同様に、中断している本画像補正処理が再開される。そして、ユーザ操作が入力されない間は本画像補正処理が継続され、本画像補正処理を終了した時点で本画像補正再開処理を終える。また、再開された本画像補正処理の実行中にユーザ操作が入力された場合には、本画像補正処理が再び中断され、本画像補正再開処理を終える。   On the other hand, when the cross key 6 is not turned on (step c9: No), the CPU 21 determines a correction processing flag, and when the correction processing flag is OFF (step c13: No), the CPU 21 proceeds to step c23. . On the other hand, when the correction process flag is ON (step c13: Yes), the main image correction restart process is performed (step c15). That is, in the main image correction restart process, the interrupted main image correction process is restarted as in step a21 in FIG. 5 and step a47 in FIG. Then, the main image correction process is continued while no user operation is input, and the main image correction restart process ends when the main image correction process ends. When a user operation is input during execution of the resumed main image correction process, the main image correction process is interrupted again, and the main image correction restart process ends.

そして、ステップc15の本画像補正再開処理で本画像補正処理を終えた場合には(ステップc17:Yes)、CPU21は、補正処理中フラグをクリアし(ステップc19)、記録画像(ここでは補正付き撮影画像)の画像データを着脱メモリ27に記録する(ステップc21)。その後、ステップc23に移行する。また、ステップc15の本画像補正再開処理で本画像補正処理を終えていない場合、すなわちユーザ操作が入力されたことによって本画像補正再開処理を終えた場合には(ステップc17:No)、ステップc23に移行し、その後のステップで操作入力に応じた処理が行われることとなる。   When the main image correction process is completed in the main image correction restart process in step c15 (step c17: Yes), the CPU 21 clears the correction process flag (step c19) and prints a recorded image (here, with correction). The image data of the captured image is recorded in the removable memory 27 (step c21). Thereafter, the process proceeds to step c23. Further, when the main image correction process is not completed in the main image correction restart process in step c15, that is, when the main image correction restart process is ended by inputting a user operation (step c17: No), step c23 The process according to the operation input is performed in the subsequent steps.

すなわち、ステップc23では、電源遮断指示の有無を判定し、パワースイッチ4がスライドされて電源遮断(パワースイッチOFF)が指示された場合でなければ(ステップc23:No)、ステップc25に移る。パワースイッチ4がOFFされて電源遮断指示が入力された場合には(ステップc23:Yes)、図6のステップa39に進む。例えば、ステップc15の本画像補正再開処理中にユーザ操作が入力されて本画像補正処理を中断した場合であって、このときに入力されたユーザ操作が電源遮断指示の場合、図6のステップa39に進む。   That is, in step c23, it is determined whether or not there is an instruction to turn off the power, and if the power switch 4 is not slid to instruct the turning off of the power (power switch OFF) (step c23: No), the process proceeds to step c25. When the power switch 4 is turned off and a power-off instruction is input (step c23: Yes), the process proceeds to step a39 in FIG. For example, when a user operation is input during the main image correction restart process in step c15 and the main image correction process is interrupted, and the user operation input at this time is a power-off instruction, step a39 in FIG. Proceed to

また、ステップc25では、再生スイッチ8がONされたか否かを判定する。再生スイッチ8がONされていなければ(ステップc25:No)、ステップc9に戻る。そして、再生スイッチ8がONされた場合には(ステップc25:Yes)、再生処理を終了し、図6のステップa39に進む。例えば、ステップc15の本画像補正再開処理中にユーザ操作が入力されて本画像補正処理を中断した場合であって、このときに入力されたユーザ操作が再生スイッチのON操作の場合、図6のステップa39に進む。ここでの処理により、デジタルカメラ1は、再生モードから撮影モードとなる。   In step c25, it is determined whether or not the regeneration switch 8 is turned on. If the regeneration switch 8 is not turned on (step c25: No), the process returns to step c9. If the regeneration switch 8 is turned on (step c25: Yes), the regeneration process is terminated, and the process proceeds to step a39 in FIG. For example, when a user operation is input during the main image correction restart process in step c15 and the main image correction process is interrupted, and the user operation input at this time is an ON operation of the reproduction switch, FIG. Proceed to step a39. With this processing, the digital camera 1 changes from the playback mode to the shooting mode.

次に、図6に示した基本動作においてメニュースイッチ5がONされた場合に行う設定変更処理(ステップa41)について説明する。図10は、設定変更処理の詳細な処理手順を示すフローチャートである。   Next, the setting change process (step a41) performed when the menu switch 5 is turned on in the basic operation shown in FIG. 6 will be described. FIG. 10 is a flowchart showing a detailed processing procedure of the setting change process.

図10に示すように、設定変更処理では先ず、CPU21が、各種設定メニューを提示した操作画面とともに設定・変更依頼の通知を表示部23に表示する制御を行う(ステップd1)。そして、CPU21は、この設定・変更依頼の通知に応答して入力された設定・変更操作に応じて各種動作モードの設定変更等を行うための処理を実行する(ステップd3)。ここでの設定変更処理によって、撮影モードや再生モードに関する各種設定を変更することができ、例えば撮影モードとして、補正モードを選択するか否かの設定を変更する(切り換える)ことができる。   As shown in FIG. 10, in the setting change process, first, the CPU 21 performs control to display a setting / change request notification on the display unit 23 together with an operation screen presenting various setting menus (step d1). Then, the CPU 21 executes a process for changing the setting of various operation modes in accordance with the setting / changing operation input in response to the notification of the setting / changing request (step d3). Various settings relating to the shooting mode and the playback mode can be changed by the setting change processing here. For example, the setting as to whether or not the correction mode is selected as the shooting mode can be changed (switched).

続いて、CPU21は、補正処理中フラグを判定し、補正処理中フラグがOFFであれば(ステップd5:No)、ステップd15に移行する。一方、補正処理中フラグがONの場合には(ステップd5:Yes)、本画像補正再開処理を行う(ステップd7)。すなわち、この本画像補正再開処理では、図5のステップa21や図6のステップa47、図9のステップc15と同様に、中断している本画像補正処理が再開される。そして、ユーザ操作が入力されない間は本画像補正処理が継続され、本画像補正処理を終了した時点で本画像補正再開処理を終える。また、再開された本画像補正処理の実行中にユーザ操作が入力された場合には、本画像補正処理が再び中断され、本画像補正再開処理を終える。   Subsequently, the CPU 21 determines a correction processing flag, and if the correction processing flag is OFF (step d5: No), the CPU 21 proceeds to step d15. On the other hand, when the correction processing flag is ON (step d5: Yes), the main image correction restart processing is performed (step d7). That is, in the main image correction restart process, the interrupted main image correction process is restarted as in step a21 in FIG. 5, step a47 in FIG. 6, and step c15 in FIG. Then, the main image correction process is continued while no user operation is input, and the main image correction restart process ends when the main image correction process ends. When a user operation is input during execution of the resumed main image correction process, the main image correction process is interrupted again, and the main image correction restart process ends.

そして、ステップd7の本画像補正再開処理で本画像補正処理を終えた場合には(ステップd9:Yes)、CPU21は、補正処理中フラグをクリアし(ステップd11)、記録画像(ここでは補正付き撮影画像)の画像データを着脱メモリ27に記録する(ステップd13)。その後、ステップd15に移行する。また、ステップd7の本画像補正再開処理で本画像補正処理を終えていない場合、すなわちユーザ操作が入力されたことによって本画像補正再開処理を終えた場合には(ステップd9:No)、ステップd15に移行し、その後のステップで操作入力に応じた処理が行われることとなる。   When the main image correction process is completed in the main image correction restart process at step d7 (step d9: Yes), the CPU 21 clears the correction process flag (step d11), and prints a recorded image (here, with correction). The image data of the captured image is recorded in the removable memory 27 (step d13). Thereafter, the process proceeds to step d15. If the main image correction process has not been completed in the main image correction restart process in step d7, that is, if the main image correction restart process has been completed due to the input of a user operation (step d9: No), step d15 The process according to the operation input is performed in the subsequent steps.

そして、ステップd15では、電源遮断指示の有無を判定し、パワースイッチ4がスライドされて電源遮断(パワースイッチOFF)が指示された場合でなければ(ステップd15:No)、ステップd17に移る。パワースイッチ4がOFFされて電源遮断指示が入力された場合には(ステップd15:Yes)、図6のステップa43に進む。例えば、ステップd7の本画像補正再開処理中にユーザ操作が入力されて本画像補正処理を中断した場合であって、このときに入力されたユーザ操作が電源遮断指示の場合、図6のステップa43に進む。   In step d15, it is determined whether or not there is an instruction to turn off the power. If the power switch 4 is not slid to instruct to turn off the power (power switch OFF) (step d15: No), the process proceeds to step d17. When the power switch 4 is turned off and a power-off instruction is input (step d15: Yes), the process proceeds to step a43 in FIG. For example, when a user operation is input during the main image correction restart process in step d7 and the main image correction process is interrupted, and the user operation input at this time is a power-off instruction, step a43 in FIG. Proceed to

また、ステップd17では、設定終了操作が入力されたか否かを判定する。設定終了操作が入力されていなければ(ステップd17:No)、ステップd3に戻る。一方、設定終了操作が入力された場合には(ステップd17:Yes)、設定変更処理を終了し、図6のステップa43に進む。例えば、ステップd7の本画像補正再開処理中にユーザ操作が入力されて本画像補正処理を中断した場合であって、このときに入力されたユーザ操作が設定終了操作の場合、図6のステップa43に進む。   In step d17, it is determined whether a setting end operation has been input. If the setting end operation has not been input (step d17: No), the process returns to step d3. On the other hand, when the setting end operation is input (step d17: Yes), the setting change process is ended, and the process proceeds to step a43 in FIG. For example, when a user operation is input during the main image correction restart process in step d7 and the main image correction process is interrupted, and the user operation input at this time is a setting end operation, step a43 in FIG. Proceed to

次に、図5のステップa21や図6のステップa47、図9のステップc15、図10のステップd7で行う本画像補正再開処理について説明する。図11は、本画像補正再開処理の詳細な処理手順を示すフローチャートである。   Next, the main image correction restarting process performed in step a21 in FIG. 5, step a47 in FIG. 6, step c15 in FIG. 9, and step d7 in FIG. 10 will be described. FIG. 11 is a flowchart showing a detailed processing procedure of the main image correction restart process.

図11に示すように、本画像補正再開処理では、先ず補正制御部211が、中断中の本画像補正処理を再開させる(ステップe1)。これに応答して顔画像補正部181は、中断中の本画像補正処理を前回の中断位置から実行する(ステップe3)。そして、CPU21が、ユーザ操作の有無を判定する。そして、操作入力がない場合であって(ステップe5:No)、本画像補正処理を終了するまでの間は(ステップe7:No)、ステップe3に戻って本画像補正処理を継続して行う。そして、本画像補正処理を終了したならば(ステップe7:Yes)、処理を終える(図5のステップa23や図6のステップa49、図9のステップc17、図10のステップd9に進む)。   As shown in FIG. 11, in the main image correction restart process, first, the correction control unit 211 restarts the interrupted main image correction process (step e1). In response to this, the face image correction unit 181 executes the interrupted main image correction process from the previous interrupt position (step e3). And CPU21 determines the presence or absence of user operation. If there is no operation input (step e5: No) and the main image correction process is completed (step e7: No), the process returns to step e3 to continue the main image correction process. When the main image correction process is completed (step e7: Yes), the process ends (proceeds to step a23 in FIG. 5, step a49 in FIG. 6, step c17 in FIG. 9, and step d9 in FIG. 10).

一方、何らかのユーザ操作が入力された場合には(ステップe5:Yes)、補正制御部211が、実行中の本画像補正処理を中断させる(ステップe9)。これに応答して顔画像補正部181が、実行中の本画像補正処理を中断する。その後、処理を終える(図5のステップa23や図6のステップa49、図9のステップc17、図10のステップd9に進む)。   On the other hand, when any user operation is input (step e5: Yes), the correction control unit 211 interrupts the currently executed image correction process (step e9). In response to this, the face image correction unit 181 interrupts the currently executed main image correction process. Thereafter, the processing ends (proceeds to step a23 in FIG. 5, step a49 in FIG. 6, step c17 in FIG. 9, and step d9 in FIG. 10).

以上説明したように、本実施の形態によれば、撮影指示に応じて記録用の撮影画像を生成した後、この記録用の撮影画像に対する補正処理を開始するが、この補正処理の終了を待たずにライブビュー画像の表示を再開することができる。そして、デジタルカメラ1の動作指示を含む何らかのユーザ操作が入力された時点で実行中の補正処理を中断し、入力されたユーザ操作に応じた処理を優先して行うことができる。さらに、ユーザ操作に応じた処理の後、新たな操作入力がなければ補正処理を再開することができる。したがって、撮影の後、通常のカメラ動作に影響を与えることなく撮影画像に対する補正処理を行うことができる。   As described above, according to the present embodiment, after generating a photographic image for recording in accordance with a photographic instruction, correction processing for the recorded photographic image is started, but the end of the correction processing is awaited. The display of the live view image can be resumed without any change. Then, when any user operation including an operation instruction of the digital camera 1 is input, the correction process being executed can be interrupted, and the process according to the input user operation can be performed with priority. Further, after the process according to the user operation, the correction process can be resumed if there is no new operation input. Therefore, it is possible to perform correction processing on a captured image after shooting without affecting normal camera operation.

また、本画像補正処理の実行中または中断中にパワースイッチがOFFされて電源遮断指示が入力された場合には、電源を遮断する前に実行中または中断中の本画像補正処理を最後まで行うことができる。したがって、処理中画像に対する補正処理を確実に終えてから、電源を遮断することができる。   If the power switch is turned off and a power-off instruction is input during execution or interruption of the main image correction process, the main image correction process being executed or interrupted is completed before the power is turned off. be able to. Therefore, the power supply can be shut off after the correction process for the image being processed is completed with certainty.

なお、上記した実施の形態では、記録用の撮影画像に対して行う補正処理として、撮影画像中に含まれる顔領域の補正処理を例示したが、顔領域以外の領域に補正処理する場合にも同様に適用できる。例えば、撮像レンズにクロスフィルターを装着して撮影したような演出効果を画像全体に施すといった各種のフィルタ処理を補正処理として行う場合等にも適用できる。   In the above-described embodiment, the correction process for the face area included in the photographed image is exemplified as the correction process performed on the recording photographed image. However, the correction process may be performed on an area other than the face area. The same applies. For example, the present invention can be applied to a case where various types of filter processing, such as performing an effect such as a photograph taken with a cross filter attached to an imaging lens, is performed as correction processing.

また、上記した実施の形態では、補助画像や確認画像として表示用小画像に対して小画像補正処理を施した処理小画像を用いることとしたが、これに限定されない。例えば、表示用小画像を補助画像や確認画像として用いてもよい。   In the above-described embodiment, the processing small image obtained by performing the small image correction process on the small display image is used as the auxiliary image or the confirmation image. However, the present invention is not limited to this. For example, a small display image may be used as an auxiliary image or a confirmation image.

また、本発明は、上記した実施の形態そのままに限定されるものではなく、上記した実施の形態に開示されている複数の構成要素を適宜組み合わせることによって、種々の発明を形成できる。例えば、実施の形態に示される全構成要素からいくつかの構成要素を除外して形成してもよい。   Further, the present invention is not limited to the above-described embodiments as they are, and various inventions can be formed by appropriately combining a plurality of components disclosed in the above-described embodiments. For example, some components may be excluded from all the components shown in the embodiment.

また、補正制御部211や表示制御部213が行う処理等、上記した実施の形態でCPU21が行うこととして説明した処理は、CPU21がプログラムを実行することによってソフトウェアとして実現する場合に限定されるものではなく、一部または全部をハードウェアで構成してもよい。一方、画像処理部18や顔画像補正部181、器官検出部20等をハードウェアで実現する構成について説明したが、所定のプログラムを実行することによってソフトウェアとして実現することとしてもよい。   Further, the processing described as being performed by the CPU 21 in the above-described embodiment, such as processing performed by the correction control unit 211 and the display control unit 213, is limited to the case where the CPU 21 is implemented as software by executing a program. Instead, some or all of them may be configured by hardware. On the other hand, the configuration in which the image processing unit 18, the face image correction unit 181, the organ detection unit 20, and the like are realized by hardware has been described, but may be realized by software by executing a predetermined program.

また、上記実施の形態では、本発明のカメラの具体例としてデジタルカメラを例にとって説明したが、これに限定されるものではなく、携帯電話のカメラ部やPC付属のカメラ部に適用してもよい。そして、静止画像データを加工して補正処理する場合について説明したが、補正処理の対象は静止画像データに限定されるものではなく、動画像データに対しても同様に適用できる。   In the above embodiment, a digital camera has been described as an example of the camera of the present invention. However, the present invention is not limited to this, and may be applied to a camera unit of a mobile phone or a camera unit attached to a PC. Good. The case where the correction processing is performed by processing still image data has been described, but the target of the correction processing is not limited to still image data, and can be similarly applied to moving image data.

デジタルカメラの背面図である。It is a rear view of a digital camera. デジタルカメラのシステム構成を示すブロック図である。It is a block diagram which shows the system configuration | structure of a digital camera. 本画像補正処理の実行中または中断中における撮影モード中の画面構成例を示す図である。It is a figure which shows the example of a screen structure in imaging | photography mode during execution or interruption of this image correction process. 補正モードが選択されている場合の撮影モード中の表示画面の遷移例を示す図である。It is a figure which shows the example of a transition of the display screen in imaging | photography mode when correction | amendment mode is selected. デジタルカメラの基本動作を示すフローチャートである。3 is a flowchart showing basic operations of the digital camera. デジタルカメラの基本動作を示すフローチャートである。3 is a flowchart showing basic operations of the digital camera. 撮影処理の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of an imaging | photography process. 撮影処理の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of an imaging | photography process. 再生処理の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of a reproduction | regeneration process. 設定変更処理の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of a setting change process. 本画像補正再開処理の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of this image correction resumption process.

符号の説明Explanation of symbols

1 デジタルカメラ
3 レリーズスイッチ
4 パワースイッチ
5 メニュースイッチ
6 十字キー
7 OKスイッチ
8 再生スイッチ
10 撮像部
11 撮像素子
12 レンズ系ユニット
13 レンズ駆動回路
14 撮像回路
15 SDRAM
16 AE部
17 AF部
18 画像処理部
181 顔画像補正部
20 器官検出部
21 CPU
211 補正制御部
213 表示制御部
22 内蔵メモリ
23 表示部
24 表示駆動回路
25 通信I/F
26 操作部
27 着脱メモリ
28 電源回路
29 電池
30 バス
DESCRIPTION OF SYMBOLS 1 Digital camera 3 Release switch 4 Power switch 5 Menu switch 6 Four-way controller 7 OK switch 8 Playback switch 10 Image pick-up part 11 Image pick-up element 12 Lens system unit 13 Lens drive circuit 14 Image pick-up circuit 15 SDRAM
16 AE unit 17 AF unit 18 image processing unit 181 face image correction unit 20 organ detection unit 21 CPU
211 Correction Control Unit 213 Display Control Unit 22 Built-in Memory 23 Display Unit 24 Display Drive Circuit 25 Communication I / F
26 Operation Unit 27 Detachable Memory 28 Power Supply Circuit 29 Battery 30 Bus

Claims (8)

被写体を撮影して撮影画像を生成する撮像部と、
カメラの動作指示を入力するための操作部と、
前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正部と、
前記画像補正部による補正処理の実行を制御する補正制御部と、
前記画像補正部による補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御部と、
を備え、
前記補正制御部は、前記画像補正部による補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正部による補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正部による補正処理を再開させることを特徴とするカメラ。
An imaging unit that shoots a subject and generates a captured image;
An operation unit for inputting camera operation instructions;
When the camera operation instruction input from the operation unit is a shooting instruction, an image correction unit that performs a predetermined correction process on a recording shot image generated by the imaging unit in response to the shooting instruction When,
A correction control unit that controls execution of correction processing by the image correction unit;
A recording control unit that performs control to record the recorded image for recording that has been subjected to correction processing by the image correcting unit as a recorded image in a recording unit;
With
The correction control unit interrupts the correction process by the image correction unit when an operation instruction of the camera is input from the operation unit during the correction process by the image correction unit, and responds to the input operation instruction. After the processing, the correction processing by the interrupted image correction unit is resumed.
前記記録用の撮影画像から顔を検出し、該検出した顔に含まれる所定の顔器官を検出する器官検出部を備え、
前記画像補正部は、前記補正処理として、前記器官検出部によって検出された前記顔器官の領域を補正する処理を行うことを特徴とする請求項1に記載のカメラ。
An organ detection unit that detects a face from the recorded image for recording and detects a predetermined facial organ included in the detected face;
The camera according to claim 1, wherein the image correction unit performs a process of correcting a region of the facial organ detected by the organ detection unit as the correction process.
前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が当該カメラの電源遮断指示の場合には、前記中断させた前記画像補正部による補正処理を再開させ、
前記補正処理を終了した後に当該カメラの電源を遮断することを特徴とする請求項1に記載のカメラ。
The correction control unit resumes the interrupted correction process by the image correction unit when the camera operation instruction input during execution of the correction process by the image correction unit is a power-off instruction of the camera. Let
The camera according to claim 1, wherein the camera is turned off after the correction process is completed.
前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が前記撮影指示の場合には、該撮影指示が入力された時点で前記画像補正部による補正処理を中断させることを特徴とする請求項1に記載のカメラ。   When the camera operation instruction input during execution of the correction process by the image correction unit is the shooting instruction, the correction control unit performs the correction process by the image correction unit when the shooting instruction is input. The camera according to claim 1, wherein the camera is interrupted. 少なくとも前記記録画像を表示するための表示部と、
前記記録画像を前記表示部に表示する制御を行う表示制御部と、
を備え、
前記補正制御部は、前記画像補正部による補正処理の実行中に入力された前記カメラの動作指示が前記記録画像の再生指示の場合には、該再生指示が入力された時点で前記画像補正部による補正処理を中断させ、
前記表示制御部は、前記補正処理を中断している前記記録用の撮影画像を処理中画像とし、該処理中画像を前記記録画像とともに表示する制御を行うことを特徴とする請求項1に記載のカメラ。
A display unit for displaying at least the recorded image;
A display control unit that performs control to display the recorded image on the display unit;
With
When the camera operation instruction input during execution of the correction process by the image correction unit is a reproduction instruction for the recorded image, the correction control unit is configured to input the reproduction unit when the reproduction instruction is input. The correction process by
2. The control according to claim 1, wherein the display control unit controls the captured image for recording in which the correction processing is interrupted to be a processing image, and displays the processing image together with the recording image. Camera.
前記画像補正部は、前記記録用の撮影画像に対して行う前記補正処理に先立ち、前記記録用の撮影画像を縮小処理した表示用の小画像に対して前記補正処理を行い、
前記表示制御部は、前記補正処理後の前記表示用の小画像を前記処理中画像として表示する制御を行うことを特徴とする請求項5に記載のカメラ。
The image correction unit performs the correction process on a small display image obtained by reducing the recording image before the correction process performed on the recording image.
The camera according to claim 5, wherein the display control unit performs control to display the small image for display after the correction processing as the image being processed.
被写体を撮影して撮影画像を生成する撮像部と、カメラの動作指示を入力するための操作部とを備えたカメラの制御方法であって、
前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正工程と、
前記画像補正工程での補正処理の実行を制御する補正制御工程と、
前記画像補正工程での補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御工程と、
を含み、
前記補正制御工程は、前記画像補正工程での補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正工程での補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正工程での補正処理を再開させることを特徴とするカメラの制御方法。
A camera control method comprising an imaging unit that shoots a subject and generates a captured image, and an operation unit for inputting a camera operation instruction,
When the camera operation instruction input from the operation unit is a shooting instruction, an image correction step of executing a predetermined correction process on a recording shot image generated by the imaging unit in response to the shooting instruction When,
A correction control step for controlling the execution of correction processing in the image correction step;
A recording control step for performing control to record the recorded image for recording that has undergone the correction processing in the image correction step as a recorded image in a recording unit;
Including
The correction control step interrupts the correction processing in the image correction step when an operation instruction of the camera is input from the operation unit during the execution of the correction processing in the image correction step, and the input operation instruction A control method for a camera, comprising: resuming the correction processing in the interrupted image correction step after the processing according to the method.
被写体を撮影して撮影画像を生成する撮像部と、カメラの動作指示を入力するための操作部とを備えたカメラのコンピュータに、
前記操作部から入力された前記カメラの動作指示が撮影指示の場合に、該撮影指示に応じて前記撮像部によって生成された記録用の撮影画像に対し、所定の補正処理を実行する画像補正ステップと、
前記画像補正ステップでの補正処理の実行を制御する補正制御ステップと、
前記画像補正ステップでの補正処理を終えた前記記録用の撮影画像を記録画像として記録部に記録する制御を行う記録制御ステップと、
を実行させるための制御プログラムであって、
前記補正制御ステップは、前記画像補正ステップでの補正処理の実行中、前記操作部から前記カメラの動作指示が入力された場合に前記画像補正ステップでの補正処理を中断させ、入力された動作指示に応じた処理の後、前記中断させた前記画像補正ステップでの補正処理を再開させることを特徴とする制御プログラム。
A camera computer having an imaging unit that shoots a subject and generates a captured image, and an operation unit for inputting a camera operation instruction,
When the camera operation instruction input from the operation unit is a shooting instruction, an image correction step of executing a predetermined correction process on the recording captured image generated by the imaging unit in response to the shooting instruction When,
A correction control step for controlling execution of correction processing in the image correction step;
A recording control step for performing control to record the recorded image for recording that has undergone the correction processing in the image correction step as a recorded image in a recording unit;
A control program for executing
The correction control step interrupts the correction process in the image correction step when an operation instruction of the camera is input from the operation unit during the execution of the correction process in the image correction step. After the process according to the control program, the correction process in the interrupted image correction step is resumed.
JP2008311548A 2008-12-05 2008-12-05 Camera, and method and program for controlling the same Pending JP2010136214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008311548A JP2010136214A (en) 2008-12-05 2008-12-05 Camera, and method and program for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008311548A JP2010136214A (en) 2008-12-05 2008-12-05 Camera, and method and program for controlling the same

Publications (1)

Publication Number Publication Date
JP2010136214A true JP2010136214A (en) 2010-06-17

Family

ID=42347020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008311548A Pending JP2010136214A (en) 2008-12-05 2008-12-05 Camera, and method and program for controlling the same

Country Status (1)

Country Link
JP (1) JP2010136214A (en)

Similar Documents

Publication Publication Date Title
US8570391B2 (en) Imaging apparatus and image processing method used in imaging device
US10037455B2 (en) Face detection device, imaging apparatus, and face detection method
JP4218712B2 (en) Face detection device, imaging device, and face detection method
TW200808044A (en) Imaging apparatus and computer readable recording medium
JP2010288240A (en) Imaging apparatus, control method of the same, and program
US7864228B2 (en) Image pickup apparatus for photographing desired area in image with high image quality and control method for controlling the apparatus
US8405713B2 (en) Image pickup apparatus and image combining method of image pickup apparatus
JP2010021795A (en) Image capturing apparatus, correction controller, correction control method, and program
JP2004146901A (en) Digital camera
CN102289785B (en) Image processing apparatus and image processing method
JP2005167697A (en) Electronic camera having red-eye correction function
JP5106364B2 (en) Camera, control method and control program
JP2010136214A (en) Camera, and method and program for controlling the same
JP6289068B2 (en) Imaging apparatus and control method thereof
JPH11331744A (en) Electronic camera
JP2003319213A (en) Image pickup device
JP2010141399A (en) Imaging device, image processing method in the imaging device and image processing program
JP5338248B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2010050602A (en) Photographing device, image processing method, and program
JP2009017184A (en) Digital camera, photographing method, and photographing program
JP2008060844A (en) Image processor and image processing method
JP2008109503A (en) Imaging apparatus, control method thereof, program and storage medium
JP5610738B2 (en) Display control apparatus, control method, program, and storage medium
JP2005215206A (en) Imaging unit, imaging method, program, and storage medium
JP2004096391A (en) Digital camera