JP5132184B2 - Digital camera, white balance adjustment method and program - Google Patents

Digital camera, white balance adjustment method and program Download PDF

Info

Publication number
JP5132184B2
JP5132184B2 JP2007120981A JP2007120981A JP5132184B2 JP 5132184 B2 JP5132184 B2 JP 5132184B2 JP 2007120981 A JP2007120981 A JP 2007120981A JP 2007120981 A JP2007120981 A JP 2007120981A JP 5132184 B2 JP5132184 B2 JP 5132184B2
Authority
JP
Japan
Prior art keywords
white balance
image data
image
external device
balance value
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.)
Active
Application number
JP2007120981A
Other languages
Japanese (ja)
Other versions
JP2008278320A5 (en
JP2008278320A (en
Inventor
浩二 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2007120981A priority Critical patent/JP5132184B2/en
Publication of JP2008278320A publication Critical patent/JP2008278320A/en
Publication of JP2008278320A5 publication Critical patent/JP2008278320A5/ja
Application granted granted Critical
Publication of JP5132184B2 publication Critical patent/JP5132184B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Description

本発明は、ホワイトバランスを補正するデジタルカメラ、ホワイトバランス調整方法及びプログラムに関する。 The present invention is a digital camera to correct the white balance, about the white balance adjustment method及beauty flop Rogura beam.

撮影者がホワイトバランス値を調整することができ、調整されたホワイトバランス値に基づいてホワイトバランス補正を施すホワイトバランス処理装置が知られている(例えば、特許文献1参照)。特許文献1に記載のホワイトバランス処理装置は、レリーズボタンが押下されて撮影が指示されると被写体を撮影して静止画データを生成する。そして、調整されたホワイトバランス値に基づいて、静止画データに対してホワイトバランス補正を施してメディアに記録するとともに、ホワイトバランス補正が施された当該静止画データをモニタに表示している。   2. Description of the Related Art A white balance processing device that allows a photographer to adjust a white balance value and performs white balance correction based on the adjusted white balance value is known (see, for example, Patent Document 1). The white balance processing device described in Patent Document 1 captures a subject and generates still image data when the release button is pressed and photographing is instructed. Then, based on the adjusted white balance value, the still image data is subjected to white balance correction and recorded on the medium, and the still image data subjected to the white balance correction is displayed on the monitor.

また、撮影者が動画系列でホワイトバランス値を調整できるホワイトバランス処理装置が提案されている(例えば、特許文献2参照)。特許文献2に記載のホワイトバランス処理装置は、動画系列データが表示されている状態で、設定されているホワイトバランス値に基づいて、R(赤)、G(緑)及びB(青)のチャネルレベルでバランスを指定する。そして、この指定に基づいてホワイトバランス値の微調整を行い、カスタムホワイトバランス値を設定している。
特開2004−48523号公報 特開2006−238369号公報
In addition, a white balance processing apparatus that allows a photographer to adjust a white balance value in a moving image series has been proposed (see, for example, Patent Document 2). The white balance processing device described in Patent Document 2 is based on the set white balance value in a state where moving image series data is displayed, and channels of R (red), G (green), and B (blue) Specify balance by level. Based on this designation, the white balance value is finely adjusted to set a custom white balance value.
JP 2004-48523 A JP 2006-238369 A

しかしながら、特許文献1に記載のホワイトバランス処理装置では、撮影者はホワイトバランス値に基づいてホワイトバランス補正が施された結果を撮影後にしか確認することができない。このため、所望する色合いの静止画データを得るためには、撮影者はホワイトバランス値の設定と撮影の指示とを繰り返さなければならず、ホワイトバランス値の設定が困難であるという問題がある。   However, in the white balance processing apparatus described in Patent Document 1, the photographer can confirm the result of white balance correction based on the white balance value only after photographing. For this reason, in order to obtain still image data having a desired hue, the photographer has to repeat the setting of the white balance value and the instruction of shooting, and there is a problem that it is difficult to set the white balance value.

また、特許文献2に記載のホワイトバランス処理装置では、撮影者はホワイトバランス補正結果を確認しながらホワイトバランスの補正を行えるものの、補正指示は繰り返し行うため一度に所望のホワイトバランス値を得ることは難しい。   In the white balance processing device described in Patent Document 2, the photographer can correct the white balance while checking the white balance correction result, but the correction instruction is repeatedly performed, so that a desired white balance value can be obtained at one time. difficult.

本発明は上記従来の問題点に鑑み、撮影した画像において撮影者の所望するホワイトバランス値を容易に設定できるように構成することを目的とする。即ち、このような構成の、デジタルカメラ、ホワイトバランス調整方法及びプログラムを提供することを目的とする。 In view of the above-described conventional problems, an object of the present invention is to make it possible to easily set a white balance value desired by a photographer in a photographed image. That is, an object of the present invention is to provide a digital camera , a white balance adjustment method, and a program having such a configuration.

上記目的を達成するため、本発明のデジタルカメラは、画像を撮影する撮影手段によって撮影された画像データを外部装置へ送信する送信手段と、前記外部装置から、前記画像データにおける任意の位置の指定情報を受信する受信手段と、前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出手段と、前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正手段と、前記算出手段で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定手段とを備えたことを特徴とする。
また、本発明のデジタルカメラのホワイトバランス調整方法は、送信手段が、画像を撮影する撮影手段によって撮影された画像データを外部装置へ送信する送信工程と、受信手段が、前記外部装置から前記画像データにおける任意の位置の指定情報を受信する受信工程と、算出手段が、前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出工程と、補正手段が、前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正工程と、設定手段が、前記算出工程で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定工程とを備えたことを特徴とする。
また、本発明のプログラムは、画像を撮影する撮影手段によって撮影された画像データのホワイトバランスを調整するデジタルカメラの制御方法を実行するための、コンピュータで読み取り可能なプログラムであって、送信手段が、前記撮影手段によって撮影された画像データを外部装置へ送信する送信工程と、受信手段が、前記外部装置から、前記画像データにおける任意の位置の指定情報を受信する受信工程と、算出手段が、前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出工程と、補正手段が、前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正工程と、設定手段が、前記算出工程で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定工程とを備えたことを特徴とする。
In order to achieve the above object, a digital camera according to the present invention includes a transmission unit that transmits image data captured by an imaging unit that captures an image to an external device, and an arbitrary position in the image data specified from the external device. A receiving unit that receives information, a calculating unit that calculates a white balance value from the position of the image data corresponding to the designation information, and the image data captured by the imaging unit, using the white balance value A correction unit that performs white balance correction, and a custom white that has been used for white balance correction according to the designation information from the external device that can select the white balance value calculated by the calculation unit as a balance value, that a setting means for adding configured one preset white balance And features.
In the white balance adjustment method for a digital camera according to the present invention , the transmission unit transmits the image data captured by the imaging unit that captures an image to the external device, and the reception unit transmits the image from the external device to the image. A receiving step for receiving designation information at an arbitrary position in the data, a calculation step for calculating a white balance value from a position of the image data corresponding to the designation information, and a correction unit for photographing by the photographing unit. A correction step of performing white balance correction using the white balance value on the image data obtained, and a setting unit from the external device capable of selecting the white balance value calculated in the calculation step As a custom white balance value that has been used for white balance correction according to the specified information, Characterized by comprising a setting step of adding configure the one set white balance.
The program of the present invention is a computer-readable program for executing a digital camera control method for adjusting white balance of image data captured by an image capturing unit that captures an image. A transmission step of transmitting image data captured by the imaging unit to an external device; a reception step of receiving designation information of an arbitrary position in the image data from the external device; and a calculation unit; A calculation step of calculating a white balance value from the position of the image data corresponding to the designation information, and a correction unit performs white balance correction on the image data photographed by the photographing unit using the white balance value. The correction process to be performed and the setting means select the white balance value calculated in the calculation process. A setting step of additionally setting one of the preset white balances as a custom white balance value that has been used for white balance correction according to the designation information from the external device. And

本発明によれば、撮影した画像において撮影者の所望するホワイトバランス値を容易に設定することが可能になり、効率的にホワイトバランス補正を行うことができる。   According to the present invention, it is possible to easily set a white balance value desired by a photographer in a photographed image, and white balance correction can be performed efficiently.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<システム構成>
図1は、本発明の実施形態に係るホワイトバランス調整装置を含むデジタルカメラシステムの構成を示すブロック図である。
<System configuration>
FIG. 1 is a block diagram showing a configuration of a digital camera system including a white balance adjustment device according to an embodiment of the present invention.

このデジタルカメラシステムは、本実施の形態に係るホワイトバランス調整装置を含むデジタルカメラと100と、このデジタルカメラ100に接続されているパーソナルコンピュータから成る情報処理装置(外部装置)101とで構成されている。   This digital camera system includes a digital camera including a white balance adjustment device according to the present embodiment, and an information processing device (external device) 101 including a personal computer connected to the digital camera 100. Yes.

まず、デジタルカメラ100の構成について説明する。   First, the configuration of the digital camera 100 will be described.

デジタルカメラ100は、光学像を電気信号に変換する撮影素子10、撮影素子10のアナログ信号出力をデジタル信号に変換するA/D変換器11、及び画像処理回路12を有している。画像処理回路12は、A/D変換器11からのデータ或いはメモリ制御回路13からのデータに対してホワイトバランスを施し、さらに所定の画素補間処理や色変換処理を行う。また、画像処理回路12においては、ホワイトバランス制御回路19で得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。さらに、画像処理回路12においては、撮影した画像データを用いて所定の演算処理を行う。そして、得られた演算結果に基づいてシステム制御回路18がTTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。   The digital camera 100 includes a photographing element 10 that converts an optical image into an electric signal, an A / D converter 11 that converts an analog signal output from the photographing element 10 into a digital signal, and an image processing circuit 12. The image processing circuit 12 performs white balance on the data from the A / D converter 11 or the data from the memory control circuit 13, and further performs predetermined pixel interpolation processing and color conversion processing. The image processing circuit 12 also performs TTL AWB (auto white balance) processing based on the calculation result obtained by the white balance control circuit 19. Further, the image processing circuit 12 performs predetermined arithmetic processing using the captured image data. Based on the obtained calculation result, the system control circuit 18 performs TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-flash) processing. .

また、デジタルカメラ100の全体の動作を制御するシステム制御回路18には、メモリ制御回路13、メモリ16、画像圧縮・伸長回路17、ホワイトバランス制御回路19、通信部110が接続されている。さらに、メモリ制御回路13には、D/A変換器14を介して、TFT LCD等から成る画像表示部15が接続されている。画像表示メモリに書き込まれた表示用の画像データは、D/A変換器14を介して画像表示部15により表示される。   Further, a memory control circuit 13, a memory 16, an image compression / decompression circuit 17, a white balance control circuit 19, and a communication unit 110 are connected to a system control circuit 18 that controls the overall operation of the digital camera 100. Further, the memory control circuit 13 is connected to an image display unit 15 composed of a TFT LCD or the like via a D / A converter 14. The display image data written in the image display memory is displayed by the image display unit 15 via the D / A converter 14.

メモリ16は、撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影や動画の場合にも、高速かつ大量の画像書き込みをメモリ16に対して行うことが可能となる。また、メモリ16はシステム制御回路18の作業領域としても使用することが可能である。A/D変換器11のデータが、画像処理回路12及びメモリ制御回路13を介して、或いはA/D変換器11のデータが直接メモリ制御回路13を介して、メモリ16に書き込まれる。   The memory 16 is a memory for storing captured still images and moving images, and has a sufficient storage capacity for storing a predetermined number of still images and moving images for a predetermined time. This makes it possible to write a large amount of images to the memory 16 at high speed even in the case of continuous shooting or moving images in which a plurality of still images are continuously shot. The memory 16 can also be used as a work area for the system control circuit 18. Data of the A / D converter 11 is written into the memory 16 via the image processing circuit 12 and the memory control circuit 13, or data of the A / D converter 11 is directly written via the memory control circuit 13.

画像圧縮・伸長回路17は、画像データを圧縮伸長、または間引きや切り抜きなどを行う回路であり、メモリ16に格納された画像を読み込んで圧縮伸長処理或いは間引き、切り抜き処理を行い、処理を終えたデータをメモリ16に書き込む。ホワイトバランス制御回路19は、撮影した画像データを用いて、ホワイトバランス制御値の演算処理を行う。   The image compression / decompression circuit 17 is a circuit that compresses / decompresses image data, thins out, or cuts out the image data, reads an image stored in the memory 16, performs compression / decompression processing or thinning out, and cuts out the processing. Data is written to the memory 16. The white balance control circuit 19 performs a white balance control value calculation process using the captured image data.

通信部110は、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。コネクタ111は、デジタルカメラ100を他の機器、例えば情報処理装置101と接続する。無線通信の場合は、コネクタに代えてアンテナ111を用いる。通信部110を介して情報処理装置101やプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。   The communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. The connector 111 connects the digital camera 100 to another device, for example, the information processing apparatus 101. In the case of wireless communication, an antenna 111 is used instead of the connector. Image data and management information attached to the image data can be transferred to and from the information processing apparatus 101 and peripheral devices such as a printer via the communication unit 110.

次に、情報処理装置101の構成について説明する。   Next, the configuration of the information processing apparatus 101 will be described.

この情報処理装置101は、入力部50、表示部51、通信部52、CPU53、ROM54、及びRAM55がシステムバスを介して接続されている。   In this information processing apparatus 101, an input unit 50, a display unit 51, a communication unit 52, a CPU 53, a ROM 54, and a RAM 55 are connected via a system bus.

入力部50は、キーボードやポインティング装置を含み、ユーザからの指示やデータを入力する。なお、ポインティング装置としては、マウス、トラックボール、タブレット等が挙げられる。表示部51は、例えばCRTディスプレイや液晶ディスプレイなどで構成され、GUI(Graphical User Interface)等の画像を表示する。CPU53は、上述した各構成に関わる処理すべてを制御する。ROM54は、各処理に必要な制御プログラムやデータを記憶し、RAM55は、各処理に必要な作業領域をCPU53に提供する。また、上記制御プログラムは、不図示のハードディスクなどの記憶媒体に格納されている場合もあり、その場合は、この制御プログラムが一旦RAM55に読み出されてからCPU53によって実行される。   The input unit 50 includes a keyboard and a pointing device, and inputs instructions and data from the user. Note that examples of the pointing device include a mouse, a trackball, and a tablet. The display unit 51 includes, for example, a CRT display or a liquid crystal display, and displays an image such as a GUI (Graphical User Interface). The CPU 53 controls all the processes related to each configuration described above. The ROM 54 stores control programs and data necessary for each process, and the RAM 55 provides the CPU 53 with a work area necessary for each process. The control program may be stored in a storage medium such as a hard disk (not shown). In this case, the control program is once read into the RAM 55 and executed by the CPU 53.

通信部52は、デジタルカメラ100をコネクタ56を介してUSB(Universal Serial Bus)や1394ケーブルで接続した際に、デジタルカメラ100との間で画像データやホワイトバランス値、座標などの情報を送受信することができる。   The communication unit 52 transmits / receives information such as image data, white balance values, and coordinates to / from the digital camera 100 when the digital camera 100 is connected to the digital camera 100 via a connector 56 using a USB (Universal Serial Bus) or 1394 cable. be able to.

次に、本実施形態に係るデジタルカメラシステムの外観について説明する。   Next, the appearance of the digital camera system according to the present embodiment will be described.

図2は、図1に示したデジタルカメラシステムの外観図である。   FIG. 2 is an external view of the digital camera system shown in FIG.

図2に示すように、情報処理装置101の前面にはUSBポート201が設けられており、このUSBポート201にデジタルカメラ100を接続し、デジタルカメラ100から画像データなどを受信する。電源スイッチ202は、情報処理装置101の電源オン/オフ操作をするためのスイッチである。赤外線受光部203は、ワイヤレスキーボード204及びリモコン205からの入力信号を受信する。ワイヤレスキーボード204及びリモコンはそれぞれ図1の入力部50を構成するものである。   As shown in FIG. 2, a USB port 201 is provided on the front surface of the information processing apparatus 101, and the digital camera 100 is connected to the USB port 201 and receives image data and the like from the digital camera 100. The power switch 202 is a switch for turning on / off the information processing apparatus 101. The infrared light receiving unit 203 receives input signals from the wireless keyboard 204 and the remote controller 205. Each of the wireless keyboard 204 and the remote controller constitutes the input unit 50 in FIG.

情報処理装置101の背面には、不図示のディスプレイ出力端子が設けられており、ここに、CRTディスプレイや液晶ディスプレイなどの表示装置206が接続される。   A display output terminal (not shown) is provided on the back surface of the information processing apparatus 101, and a display device 206 such as a CRT display or a liquid crystal display is connected thereto.

<本実施の形態における処理>
次に、本実施の形態における処理手順について、図3、図4及び図5を参照して説明する。
<Processing in the present embodiment>
Next, a processing procedure in the present embodiment will be described with reference to FIGS.

図3は、デジタルカメラ100における処理手順を示すフローチャートである。この処理を実現するプログラムは、デジタルカメラ100におけるメモリ16やシステム制御部18に内蔵されたメモリ等に格納されており、システム制御部18のCPUによって実行される。図4は情報処理装置101における処理手順を示すフローチャートである。この処理を実現するプログラムは、情報処理装置101におけるROM54等に格納されており、CPU53によって実行される。図5(A),(B)は、情報処理装置101の表示部51に表示されるGUIを示す画面図である。   FIG. 3 is a flowchart showing a processing procedure in the digital camera 100. A program for realizing this processing is stored in the memory 16 of the digital camera 100, a memory built in the system control unit 18, or the like, and is executed by the CPU of the system control unit 18. FIG. 4 is a flowchart showing a processing procedure in the information processing apparatus 101. A program for realizing this processing is stored in the ROM 54 or the like in the information processing apparatus 101 and is executed by the CPU 53. FIGS. 5A and 5B are screen diagrams illustrating a GUI displayed on the display unit 51 of the information processing apparatus 101.

デジタルカメラ100の電源投入により、システム制御回路18はフラグや制御変数などを初期化する。デジタルカメラ100は、モードが撮影モードの場合に撮影を開始する(図3のステップS101)。撮影は、システム制御回路18が記憶している距離データなどから、撮影レンズのフォーカシングレンズを駆動して被写体に焦点を合わせる。また、測光データに従いシャッターを開放して撮影素子10を露光する。撮影素子10の露光終了を待ち、撮影素子10から電荷信号を読み出し、A/D変換器11を介して、画像処理回路12でプリセットホワイトバランス値などでホワイトバランス補正や色処理などを施す。   When the digital camera 100 is turned on, the system control circuit 18 initializes flags, control variables, and the like. The digital camera 100 starts shooting when the mode is the shooting mode (step S101 in FIG. 3). In photographing, the focusing lens of the photographing lens is driven from the distance data stored in the system control circuit 18 to focus on the subject. In addition, the image sensor 10 is exposed by opening the shutter according to the photometric data. After the exposure of the image sensor 10 is completed, a charge signal is read from the image sensor 10, and the image processing circuit 12 performs white balance correction, color processing, and the like using the preset white balance value via the A / D converter 11.

表示モードが画像全体を表示する全画面表示モードの場合には(ステップS102)、画像圧縮・伸張回路17で低解像度、例えば1/4サイズの画像に変換する(ステップS103)。表示モードが画像の一部を表示する拡大モードの場合には(ステップS102)、撮影した画像から表示する画像部分を切り抜く(ステップS104)。そして、バッファメモリ16に前記画像のデータを書き込み(ステップS105)、表示装置15に表示する(ステップS106)。   When the display mode is the full screen display mode for displaying the entire image (step S102), the image compression / expansion circuit 17 converts the image into a low resolution, for example, a 1/4 size image (step S103). When the display mode is an enlargement mode for displaying a part of the image (step S102), the image portion to be displayed is cut out from the captured image (step S104). Then, the image data is written in the buffer memory 16 (step S105) and displayed on the display device 15 (step S106).

一方、情報処理装置101では、デジタルカメラ100と接続するとデジタルカメラが接続されたことを検知して所定のプログラムを起動する。このプログラムが起動されると、表示部51の画面には、図5(A)に示すように、画像表示領域501(色空間平面)とカメラパラメータ制御領域504が表示される。例えば、カメラパラメータ制御領域504内には、ホワイトバランス位置指定モード用のボタン505、ホワイトバランス表示506(ホワイトバランス値の指標)、カスタムホワイトバランス登録ボタン507などが、必要に応じて表示される。また、不図示のヒストグラムなどが表示部51の画面に表示されてもよい。   On the other hand, when the information processing apparatus 101 is connected to the digital camera 100, it detects that the digital camera is connected and starts a predetermined program. When this program is activated, an image display area 501 (color space plane) and a camera parameter control area 504 are displayed on the screen of the display unit 51 as shown in FIG. For example, in the camera parameter control area 504, a white balance position designation mode button 505, a white balance display 506 (white balance value index), a custom white balance registration button 507, and the like are displayed as necessary. A histogram (not shown) or the like may be displayed on the screen of the display unit 51.

情報処理装置101上のプログラムの初期化が完了すると、表示部51にデジタルカメラ100で撮影した撮影画像データを表示するために、デジタルカメラ100に画像データ要求コマンドを発行する(図4のステップS201)。   When the initialization of the program on the information processing apparatus 101 is completed, an image data request command is issued to the digital camera 100 in order to display captured image data captured by the digital camera 100 on the display unit 51 (step S201 in FIG. 4). ).

デジタルカメラ100では、前記画像データ要求コマンドを受信すると(ステップS107)、バッファメモリ16に格納されている撮影画像データを読み出す。そして、その撮影画像データに対して、全体表示用画像の場合には縮小率、拡大表示用画像には画像切り出し位置と大きさ、さらに回転情報やヒストグラムなどを付加して(ステップS108)、情報処理装置101へ送信する(ステップS109)。なお、画像に前記倍率、切り出し位置やサイズを付加することにより、情報処理装置101でも、デジタルカメラ100に対して、座標などの指定が可能となる。   In the digital camera 100, when the image data request command is received (step S107), the captured image data stored in the buffer memory 16 is read out. Then, a reduction ratio is added to the captured image data in the case of the entire display image, an image cutout position and size are added to the enlarged display image, and rotation information and a histogram are added (step S108). It transmits to the processing apparatus 101 (step S109). Note that by adding the magnification, cutout position, and size to the image, the information processing apparatus 101 can also specify coordinates and the like for the digital camera 100.

情報処理装置101は、デジタルカメラ100からの画像データの受信すると(ステップS202)、表示部51に画像データを表示する(ステップS203)。この画像データを時系列で表示することによって動画として撮影画像を表示することが可能となる。   When receiving the image data from the digital camera 100 (step S202), the information processing apparatus 101 displays the image data on the display unit 51 (step S203). By displaying the image data in time series, it is possible to display a captured image as a moving image.

表示部51に表示された画像データに対して、操作者は、ホワイトバランスを合わせる位置を決めるために、ホワイトバランス位置指定モードボタン505をマウスでクリックする。情報処理装置101のモードがホワイトバランス位置指定モードに変更されると、マウスカーソルが画像表示領域501に入ったときに、マウスカーソルが図5(A)の503で示されるようなカーソルに変化する。   For the image data displayed on the display unit 51, the operator clicks the white balance position designation mode button 505 with the mouse in order to determine the position for matching the white balance. When the mode of the information processing apparatus 101 is changed to the white balance position designation mode, when the mouse cursor enters the image display area 501, the mouse cursor changes to a cursor as indicated by 503 in FIG. .

このときに表示されている画像は、本実施の形態はでは図5(A)に示すようなグレーチャートであるとする。操作者は、表示されている画像を確認しながらグレーチャートのホワイトバランスを合わせる位置をマウスカーソルでクリックする(ステップS204)。なお、図5(B)のように、デジタルカメラ100に拡大表示モードに切り替えるように指示することにより、拡大画像でも同様の操作をすることも可能である。マウスカーソルをクリックすることによって情報処理装置101はホワイトバランス位置指定コマンド(指定情報)を送信する(ステップS205)。   In this embodiment, the image displayed at this time is assumed to be a gray chart as shown in FIG. The operator clicks with the mouse cursor the position to adjust the white balance of the gray chart while confirming the displayed image (step S204). As shown in FIG. 5B, the same operation can be performed on the enlarged image by instructing the digital camera 100 to switch to the enlarged display mode. By clicking the mouse cursor, the information processing apparatus 101 transmits a white balance position designation command (designation information) (step S205).

デジタルカメラ100はホワイトバランス位置指定コマンドを受信すると(ステップS110)、バッファメモリ16内の画像データから指定された座標に対応する画像データブロックを取得する(ステップS111)。この画像データブロックは、例えば縦横それぞれ64画素ずつブロックとする。そして、ホワイトバランス制御回路19は、前記画像データブロックからホワイトバランス値を算出する(ステップS112)。   When the digital camera 100 receives the white balance position designation command (step S110), the digital camera 100 acquires an image data block corresponding to the designated coordinates from the image data in the buffer memory 16 (step S111). This image data block is, for example, a block of 64 pixels each in the vertical and horizontal directions. Then, the white balance control circuit 19 calculates a white balance value from the image data block (step S112).

ホワイトバランス値は、取得した画像データブロックの赤、緑、青の各色の積分値をR、G、Bとすると、ホワイトバランス値としては、例えば、R/G、G、B/Gのような値とする。算出したホワイトバランス値をホワイトバランス制御回路19が記憶しておき、以降、ステップS101の撮影でのホワイトバランス補正で前記ホワイトバランス値を適応する(ステップS113)。   The white balance value is, for example, R / G, G, B / G as the white balance value, where R, G, B are the integrated values of the red, green, and blue colors of the acquired image data block. Value. The calculated white balance value is stored in the white balance control circuit 19, and thereafter, the white balance value is applied by the white balance correction in the photographing in step S101 (step S113).

ステップS106で表示される画像や情報処理装置101に送信する画像は、前記算出したホワイトバランス値で補正がなされている画像となる。画像に適応するホワイトバランスを変更した後に、ホワイトバランスの変更通知情報を情報処理装置に送信する(ステップS114)。   The image displayed in step S106 and the image transmitted to the information processing apparatus 101 are images that have been corrected with the calculated white balance value. After changing the white balance adapted to the image, white balance change notification information is transmitted to the information processing apparatus (step S114).

情報処理装置101は、ホワイトバランス変更通知情報を受けると(ステップS206)、図5のカメラパラメータ制御領域504にあるホワイトバランス表示506を例えば、「白熱電球」から「白点指定」などに変更する(ステップS207)。このホワイトバランス表示506は、文字以外にアイコンなどを使用しても構わない。   Upon receiving the white balance change notification information (step S206), the information processing apparatus 101 changes the white balance display 506 in the camera parameter control area 504 of FIG. 5 from “incandescent light bulb” to “white point designation”, for example. (Step S207). The white balance display 506 may use icons in addition to characters.

さらに、動画だけでなく本撮影の静止画像にも前記算出したホワイトバランス値を適応させる場合には、カメラパラメータ制御領域504にあるカスタムホワイトバランス登録ボタン507の押下する。これによって、当該ホワイトバランス値をカスタムホワイトバランスとしてデジタルカメラ100に設定することができる。即ち、デジタルカメラ100は、カスタムホワイトバランス設定コマンドを受信する(ステップS115)。すると、ホワイトバランス制御回路19に記録されているホワイトバランス値をデジタルカメラ100で選択できるプリセットホワイトバランスの一つとして設定する(ステップS116)。設定した後は、プリセットホワイトバランスにPCセットが追加され選択することが可能である。PCセットを選択して撮影を行うと、ステップS112で算出したホワイトバランス値が適応される。このようにカスタムホワイトバランスとして登録することも可能である。   Further, when the calculated white balance value is applied not only to the moving image but also to the still image of the actual shooting, the custom white balance registration button 507 in the camera parameter control area 504 is pressed. Thus, the white balance value can be set in the digital camera 100 as a custom white balance. That is, the digital camera 100 receives a custom white balance setting command (step S115). Then, the white balance value recorded in the white balance control circuit 19 is set as one of preset white balances that can be selected by the digital camera 100 (step S116). After the setting, the PC set can be added to the preset white balance and selected. When the PC set is selected for shooting, the white balance value calculated in step S112 is applied. In this way, it is possible to register as a custom white balance.

<本実施の形態に係る利点>
本実施の形態によれば、デジタルカメラ100と情報処理装置101を接続した状態で、撮影画像の任意の位置からホワイトバランスを算出してホワイトバランス補正を行うことが可能となる。特にグレーチャートでホワイトバランスを合わせる場合に、グレーに位置を指定することで所望のホワイトバランス値を容易に得ることができる。
<Advantages according to the present embodiment>
According to the present embodiment, it is possible to perform white balance correction by calculating white balance from an arbitrary position of a captured image in a state where the digital camera 100 and the information processing apparatus 101 are connected. In particular, when white balance is adjusted using a gray chart, a desired white balance value can be easily obtained by designating a position for gray.

また、算出したホワイトバランス値をカスタムホワイトバランスとして設定することにより、動画だけでなく、本撮影のホワイトバランスにも前記ホワイトバランス値を適応することが可能になる。これにより、撮影前の動画で構図やピントの確認と本撮影を同じ光源で行う場合にも、所望のホワイトバランス値を容易に得ることができる。例えば、スタジオでの写真撮影のように、撮影した画像を直接、パーソナルコンピュータに取り込み、閲覧、現像するシステムに適用する場合に好適である。   In addition, by setting the calculated white balance value as a custom white balance, it is possible to apply the white balance value not only to moving images but also to the white balance of actual photographing. This makes it possible to easily obtain a desired white balance value even when the composition and focus confirmation and main shooting are performed with the same light source in the moving image before shooting. For example, it is suitable for application to a system in which a photographed image is directly taken into a personal computer, viewed, and developed, such as photography in a studio.

なお、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。   In addition, the objective of this invention is achieved by performing the following processes. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.

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

また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.

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

実施形態に係るホワイトバランス調整装置を含むデジタルカメラシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera system containing the white balance adjustment apparatus which concerns on embodiment. 図1に示したデジタルカメラシステムの外観図である。It is an external view of the digital camera system shown in FIG. デジタルカメラにおける処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in a digital camera. 情報処理装置における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in information processing apparatus. 情報処理装置の表示部に表示されるGUIを示す画面図である。It is a screen figure which shows GUI displayed on the display part of information processing apparatus.

符号の説明Explanation of symbols

15 画像表示部
18 システム制御回路19 ホワイトバランス制御回路
51 表示部
53 CPU
54 ROM
52,110 通信部
100 デジタルカメラ
101 情報処理装置
15 Image display unit 18 System control circuit 19 White balance control circuit 51 Display unit 53 CPU
54 ROM
52,110 Communication unit 100 Digital camera 101 Information processing apparatus

Claims (6)

画像を撮影する撮影手段によって撮影された画像データを外部装置へ送信する送信手段と、
前記外部装置から、前記画像データにおける任意の位置の指定情報を受信する受信手段と、
前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出手段と、
前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正手段と、
前記算出手段で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定手段とを備えたことを特徴とするデジタルカメラ
Transmission means for transmitting image data captured by the imaging means for capturing an image to an external device;
Receiving means for receiving designation information of an arbitrary position in the image data from the external device;
Calculating means for calculating a white balance value from the position of the image data corresponding to the designation information;
Correction means for performing white balance correction on the image data photographed by the photographing means using the white balance value;
The white balance value calculated by the calculating means, as custom white balance value which may used in the white balance correction according to the designation information from the external device that can be selected, the preset white balance one A digital camera comprising setting means for additional setting.
前記補正手段でホワイトバランス補正が施された後、前記算出手段で算出されたホワイトバランス値の通知情報、及びホワイトバランスが変更された旨を示す通知情報の少なくとも一方を、前記外部装置へ通知する通知手段を有することを特徴とする請求項1に記載のデジタルカメラAfter the white balance correction is performed by the correction unit, at least one of notification information of the white balance value calculated by the calculation unit and notification information indicating that the white balance has been changed is notified to the external device. The digital camera according to claim 1, further comprising a notification unit. 前記撮影手段によって撮影された画像データから画像の一部を切り出す画像切り出し手段を備え、
前記送信手段は、前記画像切り出し手段で切り出された画像にその位置とサイズを付加させて前記外部装置へ送信することを特徴とする請求項1または2に記載のデジタルカメラ
Image cutting means for cutting out a part of the image from the image data shot by the shooting means,
The digital camera according to claim 1, wherein the transmission unit adds the position and size to the image cut out by the image cutout unit and transmits the image to the external device.
前記設定手段は、前記外部装置から受信した設定指示に応答して前記算出手段で算出されたホワイトバランス値を、前記カスタムホワイトバランス値として設定することを特徴とする請求項1乃至3の何れか1項に記載のデジタルカメラ4. The setting unit according to claim 1, wherein the setting unit sets a white balance value calculated by the calculation unit in response to a setting instruction received from the external device as the custom white balance value. The digital camera according to Item 1. 送信手段が、画像を撮影する撮影手段によって撮影された画像データを外部装置へ送信する送信工程と、
受信手段が、前記外部装置から前記画像データにおける任意の位置の指定情報を受信する受信工程と、
算出手段が、前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出工程と、
補正手段が、前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正工程と、
設定手段が、前記算出工程で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定工程とを備えたことを特徴とするデジタルカメラのホワイトバランス調整方法。
A transmission step in which the transmission means transmits image data captured by the imaging means for capturing an image to an external device;
A receiving step for receiving designation information of an arbitrary position in the image data from the external device;
A calculating step for calculating a white balance value from a position of the image data corresponding to the designation information;
A correction step in which a correction unit performs white balance correction on the image data captured by the imaging unit using the white balance value;
Setting means, the white balance value calculated in the calculating step, as custom white balance value which may used in the white balance correction according to the designation information from the external device that can be selected, preset A white balance adjustment method for a digital camera, comprising a setting step of additionally setting one of the white balances.
画像を撮影する撮影手段によって撮影された画像データのホワイトバランスを調整するデジタルカメラの制御方法を実行するための、コンピュータで読み取り可能なプログラムであって、
送信手段が、前記撮影手段によって撮影された画像データを外部装置へ送信する送信工程と、
受信手段が、前記外部装置から、前記画像データにおける任意の位置の指定情報を受信する受信工程と、
算出手段が、前記指定情報に対応した前記画像データの位置からホワイトバランス値を算出する算出工程と、
補正手段が、前記撮影手段によって撮影された画像データに対して、前記ホワイトバランス値を用いてホワイトバランス補正を施す補正工程と、
設定手段が、前記算出工程で算出されたホワイトバランス値を、選択することが可能な前記外部装置からの前記指定情報に応じたホワイトバランス補正に用いられたことのあるカスタムホワイトバランス値として、プリセットホワイトバランスの一つに追加設定する設定工程とを備えたことを特徴とするプログラム。
A computer-readable program for executing a control method of a digital camera that adjusts white balance of image data captured by an imaging unit that captures an image,
A transmitting step for transmitting image data captured by the imaging unit to an external device;
A receiving step for receiving designation information of an arbitrary position in the image data from the external device;
A calculating step for calculating a white balance value from a position of the image data corresponding to the designation information;
A correction step in which a correction unit performs white balance correction on the image data captured by the imaging unit using the white balance value;
Setting means, the white balance value calculated in the calculating step, as custom white balance value which may used in the white balance correction according to the designation information from the external device that can be selected, preset A program comprising a setting step for additionally setting one of the white balances .
JP2007120981A 2007-05-01 2007-05-01 Digital camera, white balance adjustment method and program Active JP5132184B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007120981A JP5132184B2 (en) 2007-05-01 2007-05-01 Digital camera, white balance adjustment method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007120981A JP5132184B2 (en) 2007-05-01 2007-05-01 Digital camera, white balance adjustment method and program

Publications (3)

Publication Number Publication Date
JP2008278320A JP2008278320A (en) 2008-11-13
JP2008278320A5 JP2008278320A5 (en) 2010-06-24
JP5132184B2 true JP5132184B2 (en) 2013-01-30

Family

ID=40055716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007120981A Active JP5132184B2 (en) 2007-05-01 2007-05-01 Digital camera, white balance adjustment method and program

Country Status (1)

Country Link
JP (1) JP5132184B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6201336B2 (en) * 2013-02-20 2017-09-27 株式会社ニコン Imaging apparatus and program
JP2017208867A (en) * 2017-08-31 2017-11-24 株式会社ニコン Imaging apparatus and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05328363A (en) * 1992-05-20 1993-12-10 Nikon Corp White balance adjustable tv camera system
JPH07135594A (en) * 1993-11-11 1995-05-23 Canon Inc Image pickup controller
JP2001112021A (en) * 1999-10-14 2001-04-20 Canon Inc Image pickup system, its control method, storage medium, image pickup section and information processor
JP2004048523A (en) * 2002-07-15 2004-02-12 Olympus Corp Device and method for processing white balance
JP2004086031A (en) * 2002-08-28 2004-03-18 Olympus Corp Imaging apparatus, method and program for microscope
JP2006238325A (en) * 2005-02-28 2006-09-07 Canon Inc Camera system

Also Published As

Publication number Publication date
JP2008278320A (en) 2008-11-13

Similar Documents

Publication Publication Date Title
US7373017B2 (en) System and method for capturing adjacent images by utilizing a panorama mode
KR100770772B1 (en) Image sensing apparatus and control method thereof
KR101786049B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable storage medium for performing the method
US7864226B2 (en) Image sensing apparatus and control method thereof
US7432972B2 (en) Method of controlling digital photographing apparatus, and digital photographing apparatus utilizing the method
JP2007129525A (en) Camera system and controller
JP5436019B2 (en) Control device, control method, program, and recording medium
JP2006211525A (en) Image pickup device and its control method
KR100797113B1 (en) Image pickup apparatus and control method of the apparatus
JP2008205961A (en) Image processor, control method thereof, and program
CN101030016A (en) Image pickup apparatus having a help function, method for controlling the same, and recording medium
US10972674B2 (en) Electronic apparatus
US20030071907A1 (en) Image taking system having a digital camera and a remote controller
JP5132184B2 (en) Digital camera, white balance adjustment method and program
WO2018235382A1 (en) Imaging device, control method for imaging device, and control program for imaging device
JP2007226766A (en) Instruction system, instruction program and instruction device
JP2011101073A (en) Imaging apparatus, white balance setting method and program
JP2010161627A (en) Image processing apparatus
JP2006166250A (en) Imaging apparatus and raw data processing method
JP2008067298A (en) Photography apparatus and program
JP2006115249A (en) Exposure device
KR101589493B1 (en) White ballance control method and apparatus using a flash and digital photographing apparatus using thereof
JP2005101828A (en) Image processing system, method for processing image, its recording medium, and program
JP5482142B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP5224951B2 (en) Image processing apparatus, method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100506

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100506

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120612

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121009

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121106

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5132184

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3