JP2003283918A - Picture processing device, picture processing method, program and recording medium - Google Patents

Picture processing device, picture processing method, program and recording medium

Info

Publication number
JP2003283918A
JP2003283918A JP2002081445A JP2002081445A JP2003283918A JP 2003283918 A JP2003283918 A JP 2003283918A JP 2002081445 A JP2002081445 A JP 2002081445A JP 2002081445 A JP2002081445 A JP 2002081445A JP 2003283918 A JP2003283918 A JP 2003283918A
Authority
JP
Japan
Prior art keywords
image
light
amount
memory
flash
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
JP2002081445A
Other languages
Japanese (ja)
Inventor
Toshiyuki Okubo
俊之 大久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002081445A priority Critical patent/JP2003283918A/en
Publication of JP2003283918A publication Critical patent/JP2003283918A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a picture processing device which enables reduction in white balance processing time when picture data are being processed photographically and thereby enables a user to reduce time to confirm the picture after taking a photograph. <P>SOLUTION: The picture processing device comprises an image pickup element 14 which takes the photograph picture of a subject, a flash 48 which emits light to the subject, and a system controlling unit 50 which controls properly emitted light level from the flash 48 and exposure level for the image pickup element 14. The system controlling unit 50 calculates ratio of incident outer light level on the image pickup element 14 to the incident emitted light level on the image pickup element 14 based on the properly controlled level of the emitted light and the properly controlled exposure level before taking the photograph picture with the image pickup element 14. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、静止画像や動画像
を撮像、記録、再生する画像処理装置、画像処理方法、
プログラム及び記録媒体に関し、特に、画像データのホ
ワイトバランス制御時間を短縮することが可能な画像処
理装置、画像処理方法、プログラム及び記録媒体に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and an image processing method for capturing, recording, and reproducing still images and moving images.
More particularly, the present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium that can reduce white balance control time of image data.

【0002】[0002]

【従来の技術】従来、固体メモリ素子を有するメモリカ
ードを記録媒体として、静止画像や動画像を記録再生す
る電子カメラ等の画像処理装置は既に市販されており、
自動ホワイトバランス機構を備える電子カメラも販売さ
れている。
2. Description of the Related Art Conventionally, an image processing apparatus such as an electronic camera for recording and reproducing a still image or a moving image using a memory card having a solid-state memory element as a recording medium is already on the market.
Electronic cameras equipped with an automatic white balance mechanism are also on sale.

【0003】これらの電子カメラによれば、使用者は光
源の色温度を設定する必要がなく、カメラが自動的に外
光の色温度を検出して、適切なホワイトバランスを施し
ている。またフラッシュ撮影時には、フラッシュ光の色
温度を検出して、外光とフラッシュ光の光量比を算出
し、最終的に被写体に照射される光の色温度を求めるの
で、適正なホワイトバランスで撮影することが可能であ
る。
According to these electronic cameras, the user does not need to set the color temperature of the light source, and the camera automatically detects the color temperature of the external light to perform an appropriate white balance. When shooting with a flash, the color temperature of the flash light is detected, the ratio of the amount of external light to the flash light is calculated, and the color temperature of the light that finally illuminates the subject is determined, so shoot with an appropriate white balance. It is possible.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の電子カメラ等の画像処理装置においては、フ
ラッシュを使用したときは外光の色温度を検出し、フラ
ッシュ光の色温度を検出し、外光とフラッシュ光の光量
比を求めて混合を行っているが、これらは画像全体を読
み出して色温度の検出と光量比を求めているので、演算
時間が長くなり、使用者が撮影を行ってから画像を確認
するまでの時間が延びてしまうという問題があった。
However, in such a conventional image processing apparatus such as an electronic camera, when a flash is used, the color temperature of the external light is detected, and the color temperature of the flash light is detected. Mixing is performed by obtaining the light amount ratio of outside light and flash light, but since these read the entire image and detect the color temperature and obtain the light amount ratio, the calculation time becomes long and the user takes a picture. There was a problem that the time from when the image was confirmed to when the image was confirmed was extended.

【0005】本発明は、上記問題点に鑑みてなされたも
のであり、画像データに対する撮影処理時におけるホワ
イトバランス処理時間を短くし、それに伴い利用者が撮
影を行ってからその画像を確認するまでの時間を短縮す
ることが可能となる画像処理装置、画像処理方法、プロ
グラム及び記録媒体を提供することを目的とする。
The present invention has been made in view of the above problems, and shortens the white balance processing time at the time of photographing processing of image data, and accordingly, from the user photographing to confirmation of the image. It is an object of the present invention to provide an image processing device, an image processing method, a program, and a recording medium capable of shortening the time.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明の第1の態様である画像処理装置は、被写
体の画像を撮像する撮像手段と、前記被写体に対して発
光する発光手段と、前記発光手段による発光量及び前記
撮像手段の露出状態を適正に制御する制御手段とを有
し、前記制御手段は、前記撮像手段により撮像される前
記画像が撮影される前に、適正に制御した前記発光量及
び前記露出状態に基づいて前記撮像手段に入射する外光
の光量と前記発光量との比を算出することを特徴とす
る。
In order to achieve such an object, an image processing apparatus according to a first aspect of the present invention comprises an image pickup means for picking up an image of a subject and a light emitting means for emitting light to the subject. And a control unit that appropriately controls the amount of light emitted by the light emitting unit and the exposure state of the image capturing unit, and the control unit appropriately controls the image captured by the image capturing unit before the image is captured. It is characterized in that a ratio between the light amount of the external light incident on the image pickup means and the light emission amount is calculated based on the controlled light emission amount and the exposure state.

【0007】また、本発明の第2の態様である画像処理
方法は、被写体の画像を撮像する撮像手段により撮像さ
れる前記画像が撮影される前に、前記被写体に対して発
光する発光手段による発光量及び前記撮像手段の露出状
態を制御手段にて適正に制御するステップと、適正に制
御した前記発光量及び前記露出状態に基づいて、前記撮
像手段に入射する外光の光量と前記発光量との比を前記
制御手段にて算出するステップとを含むことを特徴とす
る。
In the image processing method according to the second aspect of the present invention, the light emitting means emits light to the subject before the image is captured by the image capturing means for capturing the image of the subject. Based on the step of appropriately controlling the light emission amount and the exposure state of the image pickup unit by the control unit, and the light amount and the light emission amount of the external light incident on the image pickup unit based on the properly controlled light emission amount and the exposure state. And a step of calculating the ratio of and by the control means.

【0008】また、本発明の第3の態様であるプログラ
ムは、被写体の画像を撮像する撮像手段により撮像され
る前記画像が撮影される前に、前記被写体に対して発光
する発光手段による発光量及び前記撮像手段の露出状態
を制御手段にて適正に制御するステップと、適正に制御
した前記発光量及び前記露出状態に基づいて、前記撮像
手段に入射する外光の光量と前記発光量との比を前記制
御手段にて算出するステップとをコンピュータに実行さ
せることを特徴とする。
The program according to the third aspect of the present invention is the amount of light emitted by the light emitting means for emitting light to the subject before the image is captured by the image capturing means for capturing the image of the subject. And a step of properly controlling the exposure state of the image pickup means by the control means, and based on the properly controlled light emission amount and the exposure state, a light amount of external light incident on the image pickup means and the light emission amount. And a step of calculating a ratio by the control means.

【0009】さらに、本発明の第4の態様である記録媒
体は、上記本発明の第3の態様であるプログラムを記録
したことを特徴とする。
Further, a recording medium according to a fourth aspect of the present invention is characterized by recording the program according to the third aspect of the present invention.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施形態を添付図
面を参照しながら詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0011】図1は、本発明の一実施形態に係る画像処
理装置の一構成例を示した図である。図1において、1
00は画像処理装置である。10は撮影レンズ、12は
絞り機能を備えるシャッター、14は光学像を電気信号
に変換する撮像素子、16は撮像素子14のアナログ信
号出力をディジタル信号に変換するA/D変換器であ
る。
FIG. 1 is a diagram showing a configuration example of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, 1
Reference numeral 00 is an image processing apparatus. Reference numeral 10 is a photographing lens, 12 is a shutter having a diaphragm function, 14 is an image pickup device for converting an optical image into an electric signal, and 16 is an A / D converter for converting an analog signal output of the image pickup device 14 into a digital signal.

【0012】18は撮像素子14、A/D変換器16、
D/A変換器26にクロック信号や制御信号を供給する
タイミング発生回路であり、メモリ制御回路22及びシ
ステム制御回路50により制御される。20は画像処理
回路であり、A/D変換器16からのデータ或いはメモ
リ制御回路22からのデータに対して所定の画素補間処
理や色変換処理を行う。
Reference numeral 18 denotes an image pickup device 14, an A / D converter 16,
A timing generation circuit that supplies a clock signal and a control signal to the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50. An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22.

【0013】また、画像処理回路20においては、撮像
した画像データを用いて所定の演算処理を行い、得られ
た演算結果に基づいてシステム制御回路50が露光制御
手段40、測距制御手段42に対して制御を行う、TTL
(スルー・ザ・レンズ)方式のAF(オートフォーカス)
処理、AE(自動露出)処理、EF(フラッシュプリ発
光)処理を行っている。さらに、画像処理回路20にお
いては、撮像した画像データを用いて所定の演算処理を
行い、得られた演算結果に基づいてTTL方式のAWB(オー
トホワイトバランス)処理も行っている。
Further, in the image processing circuit 20, a predetermined arithmetic processing is performed using the imaged image data, and the system control circuit 50 controls the exposure control means 40 and the distance measurement control means 42 based on the obtained arithmetic result. TTL to control
(Through the lens) AF (auto focus)
Processing, AE (automatic exposure) processing, and EF (flash pre-flash) processing are performed. Further, the image processing circuit 20 performs predetermined arithmetic processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

【0014】22はメモリ制御回路であり、A/D変換
器16、タイミング発生回路18、画像処理回路20、
画像表示メモリ24、D/A変換器26、メモリ30、
圧縮・伸長回路32を制御する。A/D変換器16のデ
ータが画像処理回路20、メモリ制御回路22を介し
て、或いはA/D変換器16のデータが直接メモリ制御
回路22を介して、画像表示メモリ24或いはメモリ3
0に書き込まれる。
A memory control circuit 22 includes an A / D converter 16, a timing generation circuit 18, an image processing circuit 20,
Image display memory 24, D / A converter 26, memory 30,
The compression / expansion circuit 32 is controlled. The data of the A / D converter 16 is passed through the image processing circuit 20 and the memory control circuit 22, or the data of the A / D converter 16 is passed directly through the memory control circuit 22, and the image display memory 24 or the memory 3 is displayed.
Written to zero.

【0015】24は画像表示メモリ、26はD/A変換
器、28はTFT LCD等から成る画像表示部であり、画像
表示メモリ24に書き込まれた表示用の画像データはD
/A変換器26を介して画像表示部28により表示され
る。画像表示部28を用いて撮像した画像データを逐次
表示すれば、電子ファインダー機能を実現することが可
能である。
Reference numeral 24 is an image display memory, 26 is a D / A converter, and 28 is an image display section composed of a TFT LCD or the like. The image data for display written in the image display memory 24 is D
The image is displayed on the image display unit 28 via the / A converter 26. The electronic viewfinder function can be realized by sequentially displaying the captured image data using the image display unit 28.

【0016】また、画像表示部28は、システム制御回
路50の指示により任意に表示をON/OFFすることが可能
であり、表示をOFFにした場合には画像処理装置100
の電力消費を大幅に低減することが出来る。30は撮影
した静止画像や動画像を格納するためのメモリであり、
所定枚数の静止画像や所定時間の動画像を格納するのに
十分な記憶量を備えている。これにより、複数枚の静止
画像を連続して撮影する連射撮影やパノラマ撮影の場合
にも、高速かつ大量の画像書き込みをメモリ30に対し
て行うことが可能となる。また、メモリ30はシステム
制御回路50の作業領域としても使用することが可能で
ある。
Further, the image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50, and when the display is turned off, the image processing apparatus 100 is turned on.
It is possible to significantly reduce power consumption. Reference numeral 30 is a memory for storing still images and moving images taken,
It has a storage capacity sufficient to store a predetermined number of still images and a moving image for a predetermined time. This makes it possible to write a large amount of images in the memory 30 at high speed even in continuous shooting or panoramic shooting in which a plurality of still images are continuously shot. The memory 30 can also be used as a work area of the system control circuit 50.

【0017】32は適応離散コサイン変換(ADCT)
等により画像データを圧縮伸長する圧縮・伸長回路であ
り、メモリ30に格納された画像を読み込んで圧縮処理
或いは伸長処理を行い、処理を終えたデータをメモリ3
0に書き込む。40は絞り機能を備えるシャッター12
を制御する露光制御手段であり、フラッシュ48と連携
することによりフラッシュ調光機能も有するものであ
る。
32 is an adaptive discrete cosine transform (ADCT)
A compression / decompression circuit for compressing / decompressing image data by, for example, reading the image stored in the memory 30 and performing compression processing or decompression processing, and processing-completed data to the memory 3
Write to 0. 40 is a shutter 12 having an aperture function
Is an exposure control unit that controls the flash, and also has a flash dimming function in cooperation with the flash 48.

【0018】42は撮影レンズ10のフォーカシングを
制御する測距制御手段、44は撮影レンズ10のズーミ
ングを制御するズーム制御手段、46はバリアである保
護手段102の動作を制御するバリア制御手段である。
48はフラッシュであり、AF補助光の投光機能、フラッ
シュ調光機能も有する。
Reference numeral 42 is a distance measurement control means for controlling the focusing of the taking lens 10, 44 is a zoom control means for controlling the zooming of the taking lens 10, and 46 is a barrier control means for controlling the operation of the protection means 102 which is a barrier. .
Reference numeral 48 denotes a flash, which also has an AF auxiliary light projection function and a flash light control function.

【0019】露光制御手段40、測距制御手段42はTT
L方式を用いて制御されており、撮像した画像データを
画像処理回路20によって演算した演算結果に基づき、
システム制御回路50が露光制御手段40、測距制御手
段42に対して制御を行う。50は画像処理装置100
全体を制御するシステム制御回路、52はシステム制御
回路50の動作用の定数、変数、プログラム等を記憶す
るメモリである。
The exposure control means 40 and the distance measurement control means 42 are TT
It is controlled using the L method, and based on the calculation result of the captured image data calculated by the image processing circuit 20,
The system control circuit 50 controls the exposure control means 40 and the distance measurement control means 42. 50 is an image processing apparatus 100
A system control circuit that controls the entire system, and 52 is a memory that stores constants, variables, programs and the like for operating the system control circuit 50.

【0020】54はシステム制御回路50でのプログラ
ムの実行に応じて、文字、画像、音声等を用いて動作状
態やメッセージ等を表示する液晶表示装置、スピーカー
等の表示部であり、画像処理装置100の操作部近辺の
視認し易い位置に単数或いは複数個所設置され、例えば
LCDやLED、発音素子等の組み合わせにより構成されてい
る。また、表示部54は、その一部の機能が光学ファイ
ンダー104内に設置されている。
Reference numeral 54 is a display unit such as a liquid crystal display device and a speaker for displaying operating states and messages using characters, images, voices, etc. according to the execution of the program in the system control circuit 50. A single or a plurality of places are installed near the operation unit of 100 in an easily visible position.
It is composed of a combination of LCDs, LEDs, and sound elements. Further, the display unit 54 has some of its functions installed in the optical finder 104.

【0021】表示部54の表示内容のうち、LCD等に表
示するものとしては、シングルショット/連写撮影表
示、セルフタイマー表示、圧縮率表示、記録画素数表
示、記録枚数表示、残撮影可能枚数表示、シャッタース
ピード表示、絞り値表示、露出補正表示、フラッシュ表
示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、
時計用電池残量表示、電池残量表示、エラー表示、複数
桁の数字による情報表示、記録媒体200及び210の
着脱状態表示、通信I/F動作表示、日付け・時刻表示、
等がある。
Of the display contents of the display section 54, what is displayed on the LCD or the like includes a single shot / continuous shooting display, a self-timer display, a compression ratio display, a recording pixel number display, a recording number display, and a remaining number of recordable images. Display, shutter speed display, aperture value display, exposure compensation display, flash display, red-eye reduction display, macro shooting display, buzzer setting display,
Battery remaining amount display for clocks, battery remaining amount display, error display, information display with multiple digit numbers, attachment / detachment state display of recording media 200 and 210, communication I / F operation display, date / time display,
Etc.

【0022】また、表示部54の表示内容のうち、光学
104内に表示するものとしては、合焦表示、手振れ警
告表示、フラッシュ充電表示、シャッタースピード表
示、絞り値表示、露出補正表示、等がある。56は電気
的に消去・記録可能な不揮発性メモリであり、例えばEE
PROM等が用いられる。
Of the display contents of the display unit 54, what is displayed in the optics 104 include focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display and the like. is there. 56 is an electrically erasable / recordable non-volatile memory, for example, EE
PROM or the like is used.

【0023】60、62、64、66及び70は、シス
テム制御回路50の各種の動作指示を入力するための操
作手段であり、スイッチやダイアル、タッチパネル、視
線検知によるポインティング、音声認識装置等の単数或
いは複数の組み合わせで構成される。ここで、これらの
操作手段の具体的な説明を行う。
Reference numerals 60, 62, 64, 66, and 70 are operation means for inputting various operation instructions of the system control circuit 50, and are a single unit such as a switch, a dial, a touch panel, pointing by visual axis detection, and a voice recognition device. Alternatively, it is composed of a plurality of combinations. Here, a specific description of these operating means will be given.

【0024】60はモードダイアルスイッチで、電源オ
フ、自動撮影モード、撮影モード、パノラマ撮影モー
ド、再生モード、マルチ画面再生・消去モード、PC接続
モード等の各機能モードを切り替え設定することが出来
る。62はシャッタースイッチSW1で、不図示のシャッ
ターボタンの操作途中でONとなり、AF(オートフォーカ
ス)処理、AE(自動露出)処理、AWB(オートホワイト
バランス)処理、EF(フラッシュプリ発光)処理等の
動作開始を指示する。
Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erasure mode, and PC connection mode. Reference numeral 62 denotes a shutter switch SW1, which is turned on during the operation of a shutter button (not shown) to perform AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, etc. Instruct to start operation.

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

【0026】66はAE/FEロックスイッチで、本スイッ
チを押されたら測光処理を行い、フラッシュ発光時には
フラッシュ発光量を決定する。本実施形態ではFEロック
されたとき、フラッシュ発行量を決定するとともに、撮
影後のホワイトバランス処理で使用される外光とフラッ
シュ光の混合比を求める処理も行う。
Reference numeral 66 denotes an AE / FE lock switch, which performs photometry processing when this switch is pressed, and determines the flash emission amount during flash emission. In this embodiment, when the FE is locked, the flash issuance amount is determined, and the processing for obtaining the mixture ratio of the external light and the flash light used in the white balance processing after shooting is also performed.

【0027】70は各種ボタンやタッチパネル等からな
る操作部で、メニューボタン、セットボタン、マクロボ
タン、マルチ画面再生改ページボタン、フラッシュ設定
ボタン、単写/連写/セルフタイマー切り替えボタン、メ
ニュー移動+(プラス)ボタン、メニュー移動−(マイ
ナス)ボタン、再生画像移動+(プラス)ボタン、再生
画像−(マイナス)ボタン、撮影画質選択ボタン、露出
補正ボタン、日付/時間設定ボタン等がある。
Reference numeral 70 denotes an operation unit including various buttons and a touch panel, such as a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, and menu movement + There are (plus) button, menu move- (minus) button, playback image move + (plus) button, playback image- (minus) button, shooting image quality selection button, exposure compensation button, date / time setting button, and the like.

【0028】80は電源制御手段で、電池検出回路、DC
-DCコンバータ、通電するブロックを切り替えるスイッ
チ回路等により構成されており、電池の装着の有無、電
池の種類、電池残量の検出を行い、検出結果及びシステ
ム制御回路50の指示に基づいてDC-DCコンバータを制
御し、必要な電圧を必要な期間、記録媒体を含む各部へ
供給する。
Reference numeral 80 is a power supply control means, which is a battery detection circuit, DC
-It is composed of a DC converter, a switch circuit that switches the blocks to be energized, and the like, detects whether or not a battery is installed, the type of battery, and the remaining battery level, and based on the detection result and the instruction from the system control circuit 50, the DC- It controls the DC converter and supplies the required voltage to each unit including the recording medium for the required period.

【0029】82はコネクタ、84はコネクタ、86は
アルカリ電池やリチウム電池等の一次電池やNiCd電池や
NiMH電池、Li電池等の二次電池、ACアダプター等からな
る電源手段である。90及び94はメモリカードやハー
ドディスク等の記録媒体とのインタフェース、92及び
96はメモリカードやハードディスク等の記録媒体と接
続を行うコネクタ、98はコネクタ92及び或いは96
に記録媒体200或いは210が装着されているか否か
を検知する記録媒体着脱検知手段である。
Reference numeral 82 is a connector, 84 is a connector, 86 is a primary battery such as an alkaline battery or a lithium battery, a NiCd battery,
It is a power source that consists of a secondary battery such as NiMH battery and Li battery, and an AC adapter. Reference numerals 90 and 94 are interfaces with recording media such as memory cards and hard disks, 92 and 96 are connectors for connecting with recording media such as memory cards and hard disks, and 98 is connectors 92 and or 96.
It is a recording medium attachment / detachment detecting means for detecting whether or not the recording medium 200 or 210 is attached.

【0030】なお、本実施形態では記録媒体を取り付け
るインタフェース及びコネクタを2系統持つものとして
説明している。もちろん、記録媒体を取り付けるインタ
フェース及びコネクタは、単数或いは複数、いずれの系
統数を備える構成としても構わない。また、異なる規格
のインタフェース及びコネクタを組み合わせて備える構
成としても構わない。インタフェース及びコネクタとし
ては、PCMCIAカードやCF(コンパクトフラッシュ
(R))カード等の規格に準拠したものを用いて構成し
て構わない。
The present embodiment has been described as having two systems of interfaces and connectors for attaching recording media. Of course, the interface and the connector for attaching the recording medium may have a single or plural number of systems. Further, the interface and the connector of different standards may be combined and provided. As the interface and the connector, those conforming to the standard such as PCMCIA card and CF (Compact Flash (R)) card may be used.

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

【0032】102は、画像処理装置100のレンズ1
0を含む撮像部を覆う事により、撮像部の汚れや破損を
防止するバリアである保護手段である。104は光学フ
ァインダーであり、画像表示部28による電子ファイン
ダー機能を使用すること無しに、光学ファインダーのみ
を用いて撮影を行うことが可能である。また、光学ファ
インダー104内には、表示部54の一部の機能、例え
ば、合焦表示、手振れ警告表示、フラッシュ充電表示、
シャッタースピード表示、絞り値表示、露出補正表示な
どが設置されている。
Reference numeral 102 denotes a lens 1 of the image processing apparatus 100.
By covering the image pickup unit including 0, the protective unit is a barrier that prevents the image pickup unit from being soiled or damaged. Reference numeral 104 denotes an optical viewfinder, which allows shooting using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, such as focus display, camera shake warning display, flash charge display,
A shutter speed display, aperture value display, exposure compensation display, etc. are installed.

【0033】110は通信手段で、RS232CやUSB、IEEE1
394、P1284、SCSI、モデム、LAN、無線通信、等の各種
通信機能を有する。112は通信手段110により画像
処理装置100を他の機器と接続するコネクタ或いは無
線通信の場合はアンテナである。200はメモリカード
やハードディスク等の記録媒体である。記録媒体200
は、半導体メモリや磁気ディスク等から構成される記録
部202、画像処理装置100とのインタフェース20
4、画像処理装置100と接続を行うコネクタ206を
備えている。
110 is a communication means, such as RS232C, USB, IEEE1
It has various communication functions such as 394, P1284, SCSI, modem, LAN, and wireless communication. Reference numeral 112 denotes a connector for connecting the image processing apparatus 100 to another device by the communication unit 110 or an antenna in the case of wireless communication. Reference numeral 200 is a recording medium such as a memory card or a hard disk. Recording medium 200
Is a recording unit 202 including a semiconductor memory and a magnetic disk, and an interface 20 with the image processing apparatus 100.
4. A connector 206 for connecting to the image processing apparatus 100 is provided.

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

【0035】次に、図2乃至図6を参照して、本実施形
態に係る画像処理装置の動作について説明する。図2及
び図3は本実施形態の画像処理装置100の主ルーチン
を示したフローチャートである。図2及び図3を用い
て、画像処理装置100の動作を説明する。
Next, the operation of the image processing apparatus according to this embodiment will be described with reference to FIGS. 2 and 3 are flowcharts showing the main routine of the image processing apparatus 100 of this embodiment. The operation of the image processing apparatus 100 will be described with reference to FIGS. 2 and 3.

【0036】電池交換等の電源投入により、システム制
御回路50はフラグや制御変数等を初期化する(S10
1)。システム制御回路50は、モードダイアル60の
設定位置を判断し、モードダイアル60が電源OFFに設
定されていたならば(S103)、各表示部の表示を終
了状態に変更し、保護手段102のバリアを閉じて撮像
部を保護し、フラグや制御変数等を含む必要なパラメー
タや設定値、設定モードを不揮発性メモリ56に記録
し、電源制御手段80により画像表示部28を含む画像
処理装置100各部の不要な電源を遮断する等の所定の
終了処理を行った後(S105)、S103に戻る。
The system control circuit 50 initializes flags, control variables, etc. by turning on the power source such as battery replacement (S10).
1). The system control circuit 50 determines the setting position of the mode dial 60, and if the mode dial 60 is set to power off (S103), changes the display of each display unit to the end state and the barrier of the protection means 102. Is closed to protect the image pickup unit, necessary parameters including a flag and control variable, setting values, and setting modes are recorded in the non-volatile memory 56, and the power control unit 80 controls the image processing unit 100 including the image display unit 28. After performing a predetermined termination process such as shutting off unnecessary power of (S105), the process returns to S103.

【0037】モードダイアル60が撮影モードに設定さ
れていたならば(S103)、S106に進む。モード
ダイアル60がその他のモードに設定されていたならば
(S103)、システム制御回路50は選択されたモー
ドに応じた処理を実行し(S104)、処理を終えたな
らばS103に戻る。
If the mode dial 60 is set to the photographing mode (S103), the process proceeds to S106. If the mode dial 60 is set to any other mode (S103), the system control circuit 50 executes a process according to the selected mode (S104), and returns to S103 when the process is completed.

【0038】システム制御回路50は、電源制御手段8
0により電池等により構成される電源86の残容量や動
作情況が画像処理装置100の動作に問題があるか否か
を判断し(S106)、問題があるならば表示部54を
用いて画像や音声により所定の警告表示を行った後に
(S108)、S103に戻る。
The system control circuit 50 includes the power supply control means 8
It is determined whether there is a problem in the operation of the image processing apparatus 100 based on the remaining capacity of the power supply 86 configured by a battery or the like or the operating condition (S106). If there is a problem, the display unit 54 is used to display an image or After a predetermined warning is displayed by voice (S108), the process returns to S103.

【0039】電源86に問題が無いならば(S10
6)、システム制御回路50は記録媒体200或いは2
10の動作状態が画像処理装置100の動作、特に記録
媒体に対する画像データの記録再生動作に問題があるか
否かを判断し(S107)、問題があるならば表示部5
4を用いて画像や音声により所定の警告表示を行った後
に(S108)、S103に戻る。
If there is no problem with the power source 86 (S10
6), the system control circuit 50 uses the recording medium 200 or 2
It is judged whether or not the operation state of 10 has a problem in the operation of the image processing apparatus 100, particularly the recording / reproducing operation of the image data with respect to the recording medium (S107).
After performing a predetermined warning display by an image or a sound using 4, (S108), the process returns to S103.

【0040】記録媒体200或いは210の動作状態に
問題が無いならば(S107)、表示部54を用いて画
像や音声により画像処理装置100の各種設定状態の表
示を行う(S109)。なお、画像表示部28の画像表
示がONであったならば、画像表示部28も用いて画像や
音声により画像処理装置100の各種設定状態の表示を
行う。
If there is no problem in the operating state of the recording medium 200 or 210 (S107), various setting states of the image processing apparatus 100 are displayed by the image or voice using the display unit 54 (S109). If the image display of the image display unit 28 is ON, the image display unit 28 is also used to display various setting states of the image processing apparatus 100 by images and sounds.

【0041】AE/FEロックが押されていたならば(S1
10)、AE/FEロック処理(S111)を行い、フラッ
シュを発光させるときは外光・フラッシュ光の光量比も
算出し、AE/FEロックフラグを設定する。この測距・測
光処理S122の詳細は図7を用いて後述する。
If the AE / FE lock is pressed (S1
10), AE / FE lock processing (S111) is performed, and when the flash is made to emit light, the light amount ratio of external light / flash light is also calculated, and the AE / FE lock flag is set. Details of the distance measurement / photometry processing S122 will be described later with reference to FIG.

【0042】シャッタースイッチSW1が押されていない
ならば(S119)、S103に戻る。シャッタースイ
ッチSW1が押されたならば(S119)、システム制御
回路50は、測距処理を行って撮影レンズ10の焦点を
被写体に合わせ、AE/FEロックフラグの状態を調
べ、AE/FEロックフラグが設定されていなければ、
測光処理を行って絞り値及びシャッター時間を決定する
(S122)。測光処理に於いて、必要であればフラッ
シュの設定も行う。この測距・測光処理S122の詳細
は図4を用いて後述する。
If the shutter switch SW1 is not pressed (S119), the process returns to S103. If the shutter switch SW1 is pressed (S119), the system control circuit 50 performs distance measurement processing to focus the photographing lens 10 on the subject, checks the state of the AE / FE lock flag, and checks the AE / FE lock flag. Is not set,
A metering process is performed to determine the aperture value and shutter time (S122). In the photometric processing, the flash is set if necessary. Details of the distance measurement / photometry processing S122 will be described later with reference to FIG.

【0043】測距・測光処理S122を終えたならば、
システム制御回路50シャッタースイッチSW2の状態を
調べ、シャッタースイッチSW2が押されずに(S12
5)、さらにシャッタースイッチSW1も解除されたなら
ば(S126)、S103に戻る。シャッタースイッチ
SW2が押されたならば(S125)、システム制御回路
50は、撮像素子12、A/D変換器16、画像処理回
路20、メモリ制御回路22を介して、或いはA/D変
換器から直接メモリ制御回路22を介して、メモリ30
に撮影した画像データを書き込む露光処理、及び、メモ
リ制御回路22そして必要に応じて画像処理回路20を
用いて、メモリ30に書き込まれた画像データを読み出
して各種処理を行う現像処理からなる撮影処理を実行す
る(S129)。この撮影処理S129の詳細は図5を
用いて後述する。
When the distance measurement / photometry processing S122 is completed,
The state of the system control circuit 50 shutter switch SW2 is checked, and the shutter switch SW2 is not pressed (S12
5) If the shutter switch SW1 is also released (S126), the process returns to S103. Shutter switch
If SW2 is pressed (S125), the system control circuit 50 causes the image sensor 12, the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter to store a memory. A memory 30 is provided via the control circuit 22.
A photographing process including an exposure process for writing the image data photographed in the memory, and a development process for reading the image data written in the memory 30 and performing various processes by using the memory control circuit 22 and, if necessary, the image processing circuit 20. Is executed (S129). Details of this photographing process S129 will be described later with reference to FIG.

【0044】システム制御回路50はメモリ30に書き
込まれた撮影画像データを読み出して、メモリ制御回路
22そして必要に応じて画像処理回路20を用いて各種
画像処理を、また、圧縮・伸長回路32を用いて設定し
たモードに応じた画像圧縮処理を行った後、記録媒体2
00或いは210へ画像データの書き込みを行う記録処
理を実行する(S134)。この記録処理S134の詳
細は図6を用いて後述する。
The system control circuit 50 reads the photographed image data written in the memory 30, and uses the memory control circuit 22 and, if necessary, the image processing circuit 20 to perform various image processes, and the compression / expansion circuit 32. After performing the image compression processing according to the mode set by using the recording medium 2
A recording process for writing image data to 00 or 210 is executed (S134). Details of the recording process S134 will be described later with reference to FIG.

【0045】記録処理S134が終了した際に、シャッ
タースイッチSW2が押された状態であったならば(S1
35)、システム制御回路50はシステム制御回路50
の内部メモリ或いはメモリ52に記憶される連写フラグ
の状態を判断し(S136)、連写フラグが設定されて
いたならば、連続して撮影を行うためにS129に戻
り、次の撮影を行う。連写フラグが設定されていないな
らば(S136)、シャッタースイッチSW2が放される
まで(S135)、現在の処理を繰り返す。
If the shutter switch SW2 is in the pressed state at the end of the recording process S134 (S1
35), the system control circuit 50 is the system control circuit 50.
The state of the continuous shooting flag stored in the internal memory or the memory 52 is determined (S136), and if the continuous shooting flag is set, the process returns to S129 for continuous shooting, and the next shooting is performed. . If the continuous shooting flag is not set (S136), the current process is repeated until the shutter switch SW2 is released (S135).

【0046】記録処理S134が終了した際にシャッタ
ースイッチSW2が放された状態であり、シャッタースイ
ッチSW1が押された状態であったならば(S141)、
システム制御回路50は、S125に戻って次の撮影に
備える。シャッタースイッチSW1が放された状態であっ
たならば(S141)、システム制御回路50は、一連
の撮影動作を終えてS103に戻る。
If the shutter switch SW2 is released and the shutter switch SW1 is pressed at the end of the recording process S134 (S141),
The system control circuit 50 returns to S125 and prepares for the next shooting. If the shutter switch SW1 has been released (S141), the system control circuit 50 ends the series of photographing operations and returns to S103.

【0047】図4は、図3のS122における測距・測
光処理の詳細なフローチャートを示す。システム制御回
路50は、撮像素子14から電荷信号を読み出し、A/
D変換器16を介して画像処理回路20に撮影画像デー
タを逐次読み込む(S201)。この逐次読み込まれた
画像データを用いて、画像処理回路20はTTL(スルー
・ザ・レンズ)方式のAE(自動露出)処理、FE(フラッ
シュプリ発光)処理、AF(オートフォーカス)処理に用
いる所定の演算を行っている。
FIG. 4 shows a detailed flow chart of the distance measurement / photometry processing in S122 of FIG. The system control circuit 50 reads the charge signal from the image sensor 14 and
The captured image data is sequentially read into the image processing circuit 20 via the D converter 16 (S201). Using the sequentially read image data, the image processing circuit 20 uses the TTL (through-the-lens) type AE (auto exposure) process, FE (flash pre-flash) process, and AF (auto focus) process. Is being calculated.

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

【0049】システム制御回路50はAE/FEロック
フラグの状態を調べ(S210)、AE/FEロックフ
ラグが設定されていなければ、画像処理回路20での上
記演算結果を用いて、システム制御回路50は露出(A
E)が適正と判断されるまで(S202)、露光制御手
段40を用いてAE制御を行う(S203)。AE制御で得
られた測定データを用いて、システム制御回路50はフ
ラッシュが必要か否かを判断し(S204)、フラッシ
ュが必要ならばフラッシュフラグをセットし、フラッシ
ュ48を充電する(S205)。AE/FEロックフラ
グが設定されていたら、すでに測光処理は行われている
ので、S208に進む。
The system control circuit 50 checks the state of the AE / FE lock flag (S210), and if the AE / FE lock flag is not set, the system control circuit 50 uses the above calculation result in the image processing circuit 20. Is exposed (A
The AE control is performed using the exposure control means 40 until it is determined that E) is appropriate (S202) (S203). Using the measurement data obtained by the AE control, the system control circuit 50 determines whether or not a flash is necessary (S204), sets a flash flag if a flash is necessary, and charges the flash 48 (S205). If the AE / FE lock flag is set, the photometric processing has already been performed, and the process proceeds to S208.

【0050】露出(AE)が適正と判断したならば(S2
02)、測定データ及び或いは設定パラメータをシステ
ム制御回路50の内部メモリ或いはメモリ52に記憶す
る。AE制御で得られた測定データを用いて、システム制
御回路50は測距(AF)が合焦と判断されるまで(S2
08)、測距制御手段42を用いてAF制御を行う(S2
09)。測距(AF)が合焦と判断したならば(S20
8)、測定データ及び或いは設定パラメータをシステム
制御回路50の内部メモリ或いはメモリ52に記憶し、
測距・測光処理ルーチンS122を終了する。
If it is determined that the exposure (AE) is appropriate (S2
02), measurement data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52. The system control circuit 50 uses the measurement data obtained by the AE control until the distance measurement (AF) is determined to be in focus (S2
08), AF control is performed using the distance measurement control means 42 (S2)
09). If it is determined that the distance measurement (AF) is in focus (S20)
8), storing the measurement data and / or setting parameters in the internal memory of the system control circuit 50 or the memory 52,
The distance measurement / photometry processing routine S122 ends.

【0051】システム制御回路50は、システム制御回
路50の内部メモリ或いはメモリ52に記憶される測光
データに従い、露光制御手段40によって、絞り機能を
有するシャッター12を絞り値に応じて開放して撮像素
子10を露光する(S301、S302)。フラッシュ
・フラグによりフラッシュ48が必要か否かを判断し
(S303)、必要な場合はフラッシュを発光させる
(S304)。
The system control circuit 50 causes the exposure control means 40 to open the shutter 12 having an aperture function according to the aperture value according to the photometric data stored in the internal memory of the system control circuit 50 or the memory 52, and the image pickup device. 10 is exposed (S301, S302). Whether or not the flash 48 is necessary is determined by the flash flag (S303), and if necessary, the flash is emitted (S304).

【0052】システム制御回路50は、測光データに従
って撮像素子12の露光終了を待ち(S305)、シャ
ッター12を閉じて(S306)、撮像素子14から電
荷信号を読み出し、A/D変換器16、画像処理回路2
0、メモリ制御回路22を介して、或いはA/D変換器
16から直接メモリ制御回路22を介して、メモリ30
に撮影画像のデータを書き込む(S307)。
The system control circuit 50 waits for the exposure of the image pickup device 12 to be completed according to the photometric data (S305), closes the shutter 12 (S306), reads the charge signal from the image pickup device 14, the A / D converter 16 and the image. Processing circuit 2
0, through the memory control circuit 22, or directly from the A / D converter 16 through the memory control circuit 22, the memory 30
The data of the captured image is written in (S307).

【0053】設定された撮影モードに応じて、フレーム
処理を行う必要があるならば(S308)、システム制
御回路50は、メモリ制御回路22そして必要に応じて
画像処理回路20を用いて、メモリ30に書き込まれた
画像データを読み出して垂直加算処理や(S309)、
ホワイトバランス処理(S310)を順次行った後、メ
モリ30に処理を終えた画像データを書き込む。このホ
ワイトバランス処理S310の詳細は図8を用いて後述
する。
If it is necessary to perform frame processing according to the set photographing mode (S308), the system control circuit 50 uses the memory control circuit 22 and, if necessary, the image processing circuit 20 to store the memory 30. Read out the image data written in the vertical addition processing (S309),
After sequentially performing the white balance processing (S310), the processed image data is written in the memory 30. Details of the white balance processing S310 will be described later with reference to FIG.

【0054】システム制御回路50は、メモリ30から
画像データを読み出し、メモリ制御回路22を介して画
像表示メモリ24に表示画像データの転送を行う(S3
11)。一連の処理を終えたならば、撮影処理ルーチン
S129を終了する。
The system control circuit 50 reads the image data from the memory 30 and transfers the display image data to the image display memory 24 via the memory control circuit 22 (S3).
11). When the series of processing is completed, the photographing processing routine S129 is completed.

【0055】図6は、図3のS134における記録処理
の詳細なフローチャートを示す。システム制御回路50
は、メモリ制御回路22そして必要に応じて画像処理回
路20を用いて、メモリ30に書き込まれた撮影画像デ
ータを読み出して撮像素子の縦横画素比率を1:1に補
間する画素正方化処理を行った後(S401)、メモリ
30に処理を終えた画像データを書き込む。
FIG. 6 shows a detailed flowchart of the recording process in S134 of FIG. System control circuit 50
Uses the memory control circuit 22 and, if necessary, the image processing circuit 20 to read the captured image data written in the memory 30 and perform pixel square processing for interpolating the vertical and horizontal pixel ratio of the image sensor to 1: 1. After that (S401), the processed image data is written in the memory 30.

【0056】そして、メモリ30に書き込まれた画像デ
ータを読み出して、設定したモードに応じた画像圧縮処
理を圧縮・伸長回路32により行った後(S402)、
インタフェース90或いは94、コネクタ92或いは9
6を介して、メモリカードやコンパクトフラッシュ
(R)カード等の記録媒体200或いは210へ圧縮し
た画像データの書き込みを行う(S403)。記録媒体
への書き込みが終わったならば、記録処理ルーチンS1
34を終了する。
Then, after the image data written in the memory 30 is read out and the image compression processing according to the set mode is performed by the compression / expansion circuit 32 (S402).
Interface 90 or 94, connector 92 or 9
The compressed image data is written to the recording medium 200 or 210 such as a memory card or a compact flash (R) card via the S6 (S403). When the writing to the recording medium is completed, the recording processing routine S1
34 is ended.

【0057】図7は、図2のS111におけるAE/F
Eロック処理の詳細なフローチャートを示す。システム
制御回路50は、撮像素子14から電荷信号を読み出
し、A/D変換器16を介して画像処理回路20に撮影
画像データを逐次読み込む(S701)。次に、画像処
理回路20での上記演算結果を用いて、システム制御回
路50は露出(AE)が適正と判断されるまで(S70
2)、露光制御手段40を用いてAE制御を行う(S70
3)。
FIG. 7 shows the AE / F in S111 of FIG.
The detailed flowchart of an E lock process is shown. The system control circuit 50 reads out the charge signal from the image sensor 14 and sequentially reads the captured image data into the image processing circuit 20 via the A / D converter 16 (S701). Next, the system control circuit 50 uses the calculation result of the image processing circuit 20 until the exposure (AE) is determined to be appropriate (S70).
2), AE control is performed using the exposure control means 40 (S70)
3).

【0058】露出(AE)が適正と判断されると(S70
2)、このAE制御で得られた測定データ、即ち撮像素子
の露出状態を表す情報を用いてシステム制御回路50は
フラッシュが必要か否かを判断し(S704)、フラッ
シュが必要ならばフラッシュフラグをセットし、フラッ
シュ48を充電し(S705)、AE制御で得られた測定
データとフラッシュ発光量からホワイトバランスで使用
される、撮像素子に入射される外光の光量とフラッシュ
発光量との比である外光/フラッシュ光混合比を算出し
(S706)、測定データ及び或いは設定パラメータを
システム制御回路50の内部メモリ或いはメモリ52に
記憶し、AE/FEロック処理ルーチンS111を終了
し、AE/FEロックフラグを設定する。そして、算出
された外光/フラッシュ光混合比に基づき画像データの
ホワイトバランス制御が実行される。
When it is determined that the exposure (AE) is appropriate (S70)
2) Using the measurement data obtained by this AE control, that is, the information indicating the exposure state of the image sensor, the system control circuit 50 determines whether a flash is necessary (S704), and if a flash is necessary, a flash flag Is set, the flash 48 is charged (S705), and the ratio of the amount of external light incident on the image sensor to the amount of flash emission that is used in white balance based on the measurement data obtained by AE control and the amount of flash emission. The external light / flash light mixing ratio is calculated (S706), the measured data and / or the setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52, and the AE / FE lock processing routine S111 is terminated, and AE / Set the FE lock flag. Then, the white balance control of the image data is executed based on the calculated external light / flash light mixture ratio.

【0059】このように本実施形態では、外光/フラッ
シュ光の混合比の計算を撮影前に行うことで、撮影後の
ホワイトバランス処理の時間を短縮し、使用者が撮影画
像を確認するまでの時間を短縮することが可能である。
As described above, in this embodiment, by calculating the mixture ratio of external light / flash light before photographing, the time of white balance processing after photographing is shortened and until the user confirms the photographed image. It is possible to shorten the time.

【0060】図8は、図5のS310におけるホワイト
バランス処理の詳細なフローチャートを示す。システム
制御回路50は、メモリ30に書き込まれた画像データ
を画像処理回路20に逐次読み込ませ(S801)、そ
の出力から外光の色温度を検出する(S802)。フラ
ッシュフラグが設定されていたならば(S803)、フ
ラッシュ光の色温度を検出し(S804)、AE/FE
ロックフラグが設定されていたら、既に求められている
外光/フラッシュ光混合比を、システム制御回路50の
内部メモリ或いはメモリ52から読み出し(S80
7)、AE/FEロックフラグが設定されていなけれ
ば、外光/フラッシュ光混合比は求められていないの
で、測光処理122で取得した測光データと画像処理回
路20の出力から外光/フラッシュ光混合比を求める。
FIG. 8 shows a detailed flowchart of the white balance processing in S310 of FIG. The system control circuit 50 causes the image processing circuit 20 to sequentially read the image data written in the memory 30 (S801), and detects the color temperature of external light from the output (S802). If the flash flag is set (S803), the color temperature of the flash light is detected (S804), and the AE / FE is detected.
If the lock flag is set, the already-obtained external light / flash light mixing ratio is read from the internal memory of the system control circuit 50 or the memory 52 (S80).
7) If the AE / FE lock flag is not set, the external light / flash light mixing ratio is not obtained, so the external light / flash light is output from the photometric data acquired by the photometric processing 122 and the output of the image processing circuit 20. Find the mixing ratio.

【0061】このように本実施形態では、外光/フラッ
シュ光の混合比が既にもとまっており、撮影後のホワイ
トバランス処理の時間を短縮し、使用者が撮影画像を確
認するまでの時間を短縮することが可能である。
As described above, in the present embodiment, the mixing ratio of external light / flash light is already obtained, the time for white balance processing after photographing is shortened, and the time until the user confirms the photographed image is reduced. It can be shortened.

【0062】以上、添付図面を用いて本発明の一実施形
態の説明を行った。なお、上記実施形態の説明に於いて
は、フラッシュ発光時でFEロックされていないときに
は、測光時の測光データと撮影画像のデータから外光/
フラッシュ光の光量比を求めたが、測光時の測光データ
とフラッシュ発光量から求めても良い。
The embodiment of the present invention has been described above with reference to the accompanying drawings. In the above description of the embodiment, when the FE is not locked while the flash is firing, the external light /
Although the light amount ratio of the flash light is obtained, it may be obtained from the photometric data at the time of photometry and the flash emission amount.

【0063】このように本実施形態によれば、露出ロッ
クを使用して撮影前にフラッシュの発光量が決定されて
いるときには、光量比を先に算出することで、撮影後の
ホワイトバランス処理が少なくなり、使用者が撮影を行
ってから画像を確認するまでの時間が延びてしまうとい
う問題を無くす事が可能となる。
As described above, according to the present embodiment, when the light emission amount of the flash is determined before exposure by using the exposure lock, the light amount ratio is calculated first, so that the white balance processing after photography is performed. Therefore, it is possible to eliminate the problem that the time from the user taking a picture to checking the image is prolonged.

【0064】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システム或いは装置に供給し、その
システム或いは装置のコンピュータ(またはCPUやM
PU)が記憶媒体に格納されたプログラムコードを読み
出し実行することによっても、達成されることは言うま
でもない。
Further, an object of the present invention is to supply a storage medium having a program code of software for realizing the functions of the above-described embodiment to a system or apparatus, and to supply a computer (or CPU or M) of the system or apparatus.
It is needless to say that it is also achieved by the PU) reading and executing the program code stored in the storage medium.

【0065】この場合、記憶媒体から読み出されたプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
は本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

【0066】プログラムコードを供給するための記憶媒
体としては、例えば、フレキシブルディスク、ハードディ
スク、光ディスク、光磁気ディスク、CD−ROM、C
D−R、磁気テープ、不揮発性のメモリカード、ROM
等を用いることが出来る。
As a storage medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, C
DR, magnetic tape, non-volatile memory card, ROM
Etc. can be used.

【0067】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼動しているOS(オペレ
ーティングシステム)などが実際の処理の一部又は全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) running on the computer is executed based on the instruction of the program code. It is needless to say that this also includes the case where () etc. perform part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

【0068】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張ボードや機能拡張ユニットに備
わるCPU等が実際の処理の一部又は全部を行い、その
処理によって前述した実施形態の機能が実現される場合
も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, Needless to say, this also includes the case where the CPU or the like included in the function expansion board or the function expansion unit performs some or all of the actual processing and the processing realizes the functions of the above-described embodiments.

【0069】[0069]

【発明の効果】以上の説明から明らかなように、本発明
によれば、画像が撮影される前に、被写体に対して発光
する発光量と撮像手段に入射する外光の光量との比を算
出するように構成したので、当該画像データに対する撮
影処理時におけるホワイトバランス処理時間を短くする
ことができ、それに伴って利用者が撮影を行ってからそ
の画像を確認するまでの時間を短縮することが可能とな
る。
As is apparent from the above description, according to the present invention, the ratio between the amount of light emitted to the subject and the amount of external light incident on the image pickup means is set before the image is taken. Since it is configured to calculate, it is possible to shorten the white balance processing time at the time of shooting processing for the image data, and accordingly shorten the time from the user shooting to checking the image. Is possible.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態に係る画像処理装置の一構
成を示したブロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施形態に係る画像処理装置の主ル
ーチンの一部を示したフローチャートである。
FIG. 2 is a flowchart showing a part of a main routine of the image processing apparatus according to the embodiment of the present invention.

【図3】本発明の一実施形態に係る画像処理装置の主ル
ーチンの一部を示したフローチャートである。
FIG. 3 is a flowchart showing a part of a main routine of the image processing apparatus according to the embodiment of the present invention.

【図4】本発明の一実施形態に係る画像処理装置の測距
・測光ルーチンを示したフローチャートである。
FIG. 4 is a flowchart showing a distance measurement / photometry routine of the image processing apparatus according to the embodiment of the present invention.

【図5】本発明の一実施形態に係る画像処理装置の撮影
ルーチンを示したフローチャートである。
FIG. 5 is a flowchart showing a shooting routine of the image processing apparatus according to the embodiment of the present invention.

【図6】本発明の一実施形態に係る画像処理装置の記録
ルーチンを示したフローチャートである。
FIG. 6 is a flowchart showing a recording routine of the image processing apparatus according to the embodiment of the present invention.

【図7】本発明の一実施形態に係るAE/FEロック処
理ルーチンを示したフローチャートである。
FIG. 7 is a flowchart showing an AE / FE lock processing routine according to the embodiment of the present invention.

【図8】本発明の一実施形態に係るホワイトバランス処
理ルーチンを示したフローチャートである。
FIG. 8 is a flowchart showing a white balance processing routine according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10:撮影レンズ 12:シャッター 14:撮像素子 16:A/D変換器 18:タイミング発生回路 20:画像処理回路 22:メモリ制御回路 24:画像表示メモリ 26:D/A変換器 28:画像表示部 30:メモリ 32:画像圧縮・伸長回路 40:露光制御手段 42:測距制御手段 44:ズーム制御手段 46:バリア制御手段 48:フラッシュ 50:システム制御回路 52:メモリ 54:表示部 56:不揮発性メモリ 60:モードダイアルスイッチ 62:シャッタースイッチSW1 64:シャッタースイッチSW2 66:AE/FEロックスイッチ 70:操作部 80:電源制御手段 82:コネクタ 84:コネクタ 86:電源手段 90:インタフェース 92:コネクタ 94:インタフェース 96:コネクタ 98:記録媒体着脱検知手段 100:画像処理装置 102:保護手段 104:光学ファインダー 110:通信手段 112:コネクタ(またはアンテナ) 200:記録媒体 202:記録部 204:インタフェース 206:コネクタ 210:記録媒体 212:記録部 214:インタフェース 216:コネクタ 10: Shooting lens 12: Shutter 14: Image sensor 16: A / D converter 18: Timing generation circuit 20: Image processing circuit 22: Memory control circuit 24: Image display memory 26: D / A converter 28: Image display section 30: Memory 32: Image compression / decompression circuit 40: Exposure control means 42: Distance measurement control means 44: Zoom control means 46: Barrier control means 48: Flash 50: System control circuit 52: Memory 54: Display 56: Non-volatile memory 60: Mode dial switch 62: Shutter switch SW1 64: Shutter switch SW2 66: AE / FE lock switch 70: Operation unit 80: Power control means 82: Connector 84: Connector 86: Power supply means 90: Interface 92: Connector 94: Interface 96: Connector 98: Recording medium attachment / detachment detection means 100: Image processing device 102: protective means 104: Optical viewfinder 110: Communication means 112: Connector (or antenna) 200: recording medium 202: recording unit 204: Interface 206: Connector 210: recording medium 212: Recording unit 214: Interface 216: Connector

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 被写体の画像を撮像する撮像手段と、 前記被写体に対して発光する発光手段と、 前記発光手段による発光量及び前記撮像手段の露出状態
を適正に制御する制御手段とを有し、 前記制御手段は、前記撮像手段により撮像される前記画
像が撮影される前に、適正に制御した前記発光量及び前
記露出状態に基づいて前記撮像手段に入射する外光の光
量と前記発光量との比を算出することを特徴とする画像
処理装置。
1. An image pickup unit for picking up an image of a subject, a light emitting unit for emitting light to the subject, and a control unit for appropriately controlling an amount of light emitted by the light emitting unit and an exposure state of the image pickup unit. The control means, before the image captured by the image capturing means is captured, appropriately controls the light emission amount and the amount of external light incident on the image capturing means based on the exposure state and the light emission amount. An image processing apparatus, characterized by calculating a ratio of
【請求項2】 前記画像が撮影される前に前記発光量及
び前記露出状態を適正に制御するか否かを設定する設定
手段を有し、 前記制御手段は、前記設定手段による設定内容に応じ
て、前記画像の撮影動作が開始される前に前記外光の光
量と前記発光量との比を算出することを特徴とする請求
項1記載の画像処理装置。
2. A setting means for setting whether or not to properly control the light emission amount and the exposure state before the image is photographed, the control means depending on a setting content by the setting means. The image processing apparatus according to claim 1, wherein the ratio of the light amount of the external light and the light emission amount is calculated before the image capturing operation of the image is started.
【請求項3】 前記外光の光量と前記発光量との比に基
づいて、前記撮像手段より出力される画像データについ
てホワイトバランスを制御するホワイトバランス制御手
段を有することを特徴とする請求項1記載の画像処理装
置。
3. A white balance control unit for controlling white balance of image data output from the image pickup unit based on a ratio of the light amount of the external light and the light emission amount. The image processing device described.
【請求項4】 前記撮影手段により撮影される前記画像
の撮影動作の開始を指示する指示手段を有し、 前記制御手段は、前記指示手段により撮影動作の開始が
指示される前に前記外光の光量と前記発光量との比を算
出することを特徴とする請求項1記載の画像処理装置。
4. An instruction means for instructing to start a photographing operation of the image photographed by the photographing means, wherein the control means has the external light before the instruction to start the photographing operation. The image processing apparatus according to claim 1, wherein a ratio between the light amount of the light and the light emission amount is calculated.
【請求項5】 被写体の画像を撮像する撮像手段により
撮像される前記画像が撮影される前に、前記被写体に対
して発光する発光手段による発光量及び前記撮像手段の
露出状態を制御手段にて適正に制御するステップと、 適正に制御した前記発光量及び前記露出状態に基づい
て、前記撮像手段に入射する外光の光量と前記発光量と
の比を前記制御手段にて算出するステップとを含むこと
を特徴とする画像処理方法。
5. The control means controls the amount of light emitted by the light emitting means for emitting light to the subject and the exposure state of the image capturing means before the image captured by the image capturing means for capturing the image of the subject is captured. A step of appropriately controlling, and a step of calculating, by the control means, a ratio between the light quantity of the external light incident on the image pickup means and the light emission quantity based on the properly controlled light emission quantity and the exposure state. An image processing method comprising:
【請求項6】 被写体の画像を撮像する撮像手段により
撮像される前記画像が撮影される前に、前記被写体に対
して発光する発光手段による発光量及び前記撮像手段の
露出状態を制御手段にて適正に制御するステップと、 適正に制御した前記発光量及び前記露出状態に基づい
て、前記撮像手段に入射する外光の光量と前記発光量と
の比を前記制御手段にて算出するステップとをコンピュ
ータに実行させるためのプログラム。
6. The control means controls the amount of light emitted by the light emitting means for emitting light to the subject and the exposure state of the image capturing means before the image captured by the image capturing means for capturing the image of the subject is captured. A step of appropriately controlling, and a step of calculating, by the control means, a ratio between the light quantity of the external light incident on the image pickup means and the light emission quantity based on the properly controlled light emission quantity and the exposure state. A program that causes a computer to execute.
【請求項7】 請求項6記載のプログラムを記録したこ
とを特徴とする記録媒体。
7. A recording medium on which the program according to claim 6 is recorded.
JP2002081445A 2002-03-22 2002-03-22 Picture processing device, picture processing method, program and recording medium Pending JP2003283918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002081445A JP2003283918A (en) 2002-03-22 2002-03-22 Picture processing device, picture processing method, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002081445A JP2003283918A (en) 2002-03-22 2002-03-22 Picture processing device, picture processing method, program and recording medium

Publications (1)

Publication Number Publication Date
JP2003283918A true JP2003283918A (en) 2003-10-03

Family

ID=29230069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002081445A Pending JP2003283918A (en) 2002-03-22 2002-03-22 Picture processing device, picture processing method, program and recording medium

Country Status (1)

Country Link
JP (1) JP2003283918A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7868929B2 (en) 2006-09-22 2011-01-11 Fujifilm Corporation White balance correcting method and image-pickup apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7868929B2 (en) 2006-09-22 2011-01-11 Fujifilm Corporation White balance correcting method and image-pickup apparatus

Similar Documents

Publication Publication Date Title
US7030928B2 (en) Information display control in image sensing apparatus
JP4785536B2 (en) Imaging device
JP2004088243A (en) Imaging apparatus, and method and apparatus for controlling same
JP2005167697A (en) Electronic camera having red-eye correction function
US20040032490A1 (en) Image sensing apparatus, image sensing method, program, and storage medium
JP4646725B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4498169B2 (en) Image processing apparatus and control method thereof
US6943835B2 (en) Image processing method and apparatus and computer-readable storage medium having an electronic zoom function
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP4261815B2 (en) Imaging device
JP2007189533A (en) Imaging apparatus, and control method and control program of the apparatus
JP2005292740A (en) Electronic camera
JP4636739B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP2005221771A (en) Imaging device and function display method
JP2001275037A (en) Image pickup device, image pickup method, and storage medium
JP2006222529A (en) Imaging apparatus
JP2003283918A (en) Picture processing device, picture processing method, program and recording medium
JP2006042258A (en) Imaging apparatus and its control method
JP4785778B2 (en) Imaging device, control method thereof, and program
JP4612763B2 (en) Imaging apparatus and control method thereof
JP2007251414A (en) Image photographing unit, control method therefor, and control program
JP2001320612A (en) Image processor
JP2002094855A (en) Image processor, imaging device, method for controlling image processor and storage medium
JP2006135391A (en) Image pickup device and its control method
JP2005208392A (en) Image imaging unit, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071228

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080617