Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4291182B2 - Electronic device with camera and photographing method - Google Patents
[go: Go Back, main page]

JP4291182B2 - Electronic device with camera and photographing method - Google Patents

Electronic device with camera and photographing method Download PDF

Info

Publication number
JP4291182B2
JP4291182B2 JP2004077286A JP2004077286A JP4291182B2 JP 4291182 B2 JP4291182 B2 JP 4291182B2 JP 2004077286 A JP2004077286 A JP 2004077286A JP 2004077286 A JP2004077286 A JP 2004077286A JP 4291182 B2 JP4291182 B2 JP 4291182B2
Authority
JP
Japan
Prior art keywords
image
camera
light
value
integrated
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.)
Expired - Fee Related
Application number
JP2004077286A
Other languages
Japanese (ja)
Other versions
JP2005269123A (en
Inventor
世子 的場
Original Assignee
埼玉日本電気株式会社
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 埼玉日本電気株式会社 filed Critical 埼玉日本電気株式会社
Priority to JP2004077286A priority Critical patent/JP4291182B2/en
Publication of JP2005269123A publication Critical patent/JP2005269123A/en
Application granted granted Critical
Publication of JP4291182B2 publication Critical patent/JP4291182B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stroboscope Apparatuses (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Description

この発明は、カメラ付き電子機器及び撮影方法に係り、詳しくは、接写撮影時にライトによる露光オーバーに伴う撮影画像のホワイトアウトの発生を防止するカメラ付き電子機器及び撮影方法に関する。   The present invention relates to an electronic device with a camera and a photographing method, and more particularly, to an electronic device with a camera and a photographing method for preventing whiteout of a photographed image due to overexposure by a light during close-up photographing.

例えば携帯電話のような携帯用電子機器(以下、単に電子機器とも称する)において、カメラ付きタイプのものが広く普及してきている。このようなカメラ付き携帯電話によれば、電話の本来の機能である音声の送受信に加えてカメラによる撮影画像の送信を行うことができるため、情報の伝達能力を飛躍的に向上させることができる。そのようなカメラ付き携帯電話では、携帯性の向上のためにほとんどのタイプのものが、送受信時以外では、文字情報又は画像情報を表示する表示部と、情報入力用キー群が配置されている操作部とが一体に折り畳み可能に構成されている。   For example, in a portable electronic device such as a mobile phone (hereinafter, also simply referred to as an electronic device), a camera-equipped type has become widespread. According to such a camera-equipped mobile phone, in addition to transmitting and receiving audio, which is the original function of the phone, it is possible to transmit a photographed image by the camera, so that the information transmission capability can be dramatically improved. . In such camera-equipped mobile phones, most types of mobile phones are provided with a display unit for displaying character information or image information and an information input key group except when transmitting and receiving to improve portability. The operation unit is configured to be foldable together.

上述のようなカメラ付き携帯電話を含むカメラによる撮影では、一般に露光を最適に調整することが重要であり、例えば特許文献1には短時間で最適な露光を得るように構成したデジタルカメラが開示されている。また、カメラ付き携帯電話で、被写体の周囲の明るさが不十分な状態で接写撮影を行う場合には、露光不足を補うための装備としてライトを備えているものがある。このような構成のカメラ付き携帯電話によれば、接写撮影時にはライトを点灯することにより露光不足を解消することが可能になる。しかしながら、実際の撮影では、接写撮影時にライトを閃光させたときに光が強過ぎることにより露光オーバーになることが多いので、撮影画像が真っ白になる、いわゆる、ホワイトアウトが発生する。   In photographing with a camera including a mobile phone with a camera as described above, it is generally important to optimally adjust exposure. For example, Patent Document 1 discloses a digital camera configured to obtain optimal exposure in a short time. Has been. In addition, when a close-up photographing is performed with a camera-equipped mobile phone in a state where the brightness of the surroundings of the subject is insufficient, there is a device equipped with a light as a device for compensating for insufficient exposure. According to the camera-equipped mobile phone having such a configuration, it is possible to solve the shortage of exposure by turning on the light during close-up photography. However, in actual photographing, when the light is flashed during close-up photography, the light is often overexposed due to excessive light, so that the photographed image becomes white, so-called whiteout occurs.

ここで、一眼レフカメラのような専用のカメラでは、AF(Auto-Focus:オー.トフォーカス)機能が備わっているので、撮影時にはカメラから被写体までの距離(被写体距離)が自動的に計測され、常にこの被写体距離に基づいて最適な露光量が調整されて撮影が行われるため、上述したようなホワイトアウトは発生しない。しかしながら、カメラ付き携帯電話に備わっているカメラは、一般的に、コスト等の制約から簡単な単焦点カメラにより構成されており、ライトもLED(Light Emitting Diode)等が用いられて、光量もせいぜい消灯、弱点灯、強点灯の3段階程度しか調整できない。したがって、カメラ付き携帯電話ではAF機能がないので被写体距離を認識することができず、前述したように接写撮影時にはライトによる閃光に起因した撮影画像のホワイトアウトの発生を防止することができない。   Here, dedicated cameras such as single-lens reflex cameras have an AF (Auto-Focus) function, so the distance from the camera to the subject (subject distance) is automatically measured during shooting. Since the optimum exposure amount is always adjusted based on the subject distance and shooting is performed, whiteout as described above does not occur. However, a camera provided in a camera-equipped mobile phone is generally composed of a simple single-focus camera due to cost restrictions and the light is also an LED (Light Emitting Diode) or the like, and the amount of light is at most. Only 3 steps of off, weak lighting and strong lighting can be adjusted. Accordingly, since the camera-equipped mobile phone does not have an AF function, the subject distance cannot be recognized, and as described above, it is impossible to prevent the occurrence of white-out of a photographed image due to flash of light during close-up photography.

撮影時の赤目を防止するために、被写体を複数回撮影して適切な撮影条件での画像をシャッタチャンスを逃すことなく取得するように構成したデジタルカメラが、例えば特許文献2に開示されている。同デジタルカメラは、図4に示すように、被写体の第1の本画像を取得する撮像部200と、第1の本画像が所定の条件を満たしているか否かを判断する判断部120と、判断部120が第1の本画像が所定の条件を満たしていないと判断した場合に、撮像部200に第2の本画像を取得させる撮像制御部400と、ストロボ360とを備えている。
ここで、判断部120が第1の本画像が所定の条件を満たしていないと判断した場合、撮像制御部400は撮像部200に第2の本画像を取得させる。具体的には、判断部120は第1の本画像の空間周波数が所定値以上であるか否かを判断し、あるいは第1の本画像の明るさが所定の条件を満たしているか否かを判断する。そして、第1の本画像の空間周波数が所定値以上でない場合、あるいは第1の本画像の明るさが所定の条件を満たさない場合、撮像制御部400は撮像部200に第2の本画像を取得させる。撮像部200はストロボ360が発光した状態で、連続した複数のプリ発光画像を取得してもよく、撮像制御部400はその複数のプリ発光画像に基づいて、撮像部200が本画像を取得する場合のフォーカス位置を決定してもよい。
In order to prevent red-eye during shooting, for example, Patent Document 2 discloses a digital camera configured to capture a subject a plurality of times and acquire an image under appropriate shooting conditions without missing a photo opportunity. . As shown in FIG. 4, the digital camera includes an imaging unit 200 that acquires a first main image of a subject, a determination unit 120 that determines whether or not the first main image satisfies a predetermined condition, When the determination unit 120 determines that the first main image does not satisfy the predetermined condition, the imaging unit 200 includes an imaging control unit 400 that causes the imaging unit 200 to acquire the second main image, and a strobe 360.
Here, when the determination unit 120 determines that the first main image does not satisfy the predetermined condition, the imaging control unit 400 causes the imaging unit 200 to acquire the second main image. Specifically, the determination unit 120 determines whether or not the spatial frequency of the first main image is equal to or higher than a predetermined value, or determines whether or not the brightness of the first main image satisfies a predetermined condition. to decide. When the spatial frequency of the first main image is not equal to or higher than the predetermined value, or when the brightness of the first main image does not satisfy the predetermined condition, the imaging control unit 400 displays the second main image on the imaging unit 200. Get it. The imaging unit 200 may acquire a plurality of continuous pre-flash images in a state where the strobe 360 emits light, and the imaging control unit 400 acquires the main image based on the plurality of pre-flash images. The focus position may be determined.

また、被写体の状況に関わりなく、より適切な撮影を撮影者の手を煩わせることなく行うことができるように構成したカメラが、例えば特許文献3に開示されている。同カメラは、第1の撮影時に閃光装置より被写体に対して閃光が行われたとき、第1の撮影が露光オーバーであったか否かを判断し、第1の撮影が露光オーバーであったと判断した場合、自動的に第2の撮影を行うように構成されている。このような構成によれば、第1の撮影が露光オーバーであったか否かを撮影者自身が判断する必要がなく、CPU(Central Processing Unit:中央演算処理部)が露光オーバーと判断すれば直ちに再撮影が行われるため、撮影の構図を変更することなく第2の撮影が行われるので、シャッタチャンスを生かすことができる。
特開2002−232771号公報 特開2003−234953号公報 特開2003−270698号公報
Further, for example, Patent Document 3 discloses a camera configured so that more appropriate shooting can be performed without bothering the photographer regardless of the state of the subject. The camera determines whether or not the first shooting is overexposed when the flash device flashes the subject during the first shooting, and determines that the first shooting is overexposed. In this case, the second photographing is automatically performed. According to such a configuration, it is not necessary for the photographer himself to determine whether or not the first shooting is overexposure. If the CPU (Central Processing Unit) determines that the exposure is overexposure, the photographer immediately starts again. Since photographing is performed, the second photographing is performed without changing the composition of the photographing, so that a photo opportunity can be utilized.
JP 2002-232771 A Japanese Patent Laid-Open No. 2003-234953 JP 2003-270698 A

ところで、特許文献2、3に開示されている従来のカメラでは、いずれも次に示すような課題が存在している。
まず、特許文献2記載のデジタルカメラは、撮影時の赤目を防止することを目的として、被写体を複数回撮影して適切な撮影条件での画像をシャッタチャンスを逃すことなく取得するようにしている。次に、特許文献3記載のカメラは、撮影者の手を煩わせることなくより適切な撮影を行うことを目的として、第1の撮影が露光オーバーであった場合は自動的に第2の撮影を行うようにしている。
Incidentally, the conventional cameras disclosed in Patent Documents 2 and 3 have the following problems.
First, the digital camera described in Patent Document 2 captures a subject a plurality of times and acquires an image under an appropriate photographing condition without missing a photo opportunity for the purpose of preventing red eyes during photographing. . Next, the camera described in Patent Document 3 automatically performs the second shooting when the first shooting is overexposed for the purpose of performing more appropriate shooting without bothering the photographer. Like to do.

しかしながら、特許文献2、3記載のカメラのいずれにおいても、被写体を複数回撮影して適切な撮影条件を設定してシャッタチャンスを逃すことなく画像を取得するようにした点は共通であるが、カメラ付き携帯電話の弱点である、接写撮影時にライトによる閃光に起因して撮影画像のホワイトアウトが発生するのを効率よく防止することはできない。
特に、特許文献3記載のカメラのように、第1の撮影を行って、この画像情報を基に第1の撮影が露光オーバーであったと判断した場合に、第2の撮影を行って再撮影を行うという一連の処理を実行するのは、時間がかかり過ぎて効率的ではない。
However, in any of the cameras described in Patent Documents 2 and 3, it is common in that an image is acquired without missing a photo opportunity by shooting an object a plurality of times and setting appropriate shooting conditions. It is not possible to efficiently prevent whiteout of a photographed image due to a flash of light during close-up photography, which is a weak point of a camera-equipped mobile phone.
In particular, as in the camera described in Patent Document 3, when the first shooting is performed and it is determined that the first shooting is overexposed based on the image information, the second shooting is performed and the second shooting is performed. It is too efficient to perform a series of processes of performing the process.

この発明は、上述の事情に鑑みてなされたもので、オートフォーカス機能を備えなくとも、接写撮影時にライトによる閃光に起因した撮影画像のホワイトアウトの発生を効率よく防止することができるようにしたカメラ付き携帯電話及び撮影方法を提供することを目的としている。   The present invention has been made in view of the above circumstances, and is capable of efficiently preventing the occurrence of whiteout of a photographed image due to flash of light during close-up photography without providing an autofocus function. It is an object to provide a mobile phone with a camera and a photographing method.

上記課題を解決するために、請求項1記載の発明は、オートフォーカス機能を備えず、ライトを備えて成ると共に、カメラ部が、入力画像信号を基に常に最適な画像が出力されるように露出調整を行うように構成されていて、かつ、最初のフレームで前記ライトが点灯してホワイトアウトしたときでも、次のフレームではライト点灯状態に合った露出調整値となるように構成されているカメラ付き電子機器に係り、前記カメラによる接写撮影時に、2つのフレーム期間にそれぞれ前記ライトを点灯させた状態で撮影した2枚の画像を一時的に格納する作業用メモリと、前記作業用メモリに格納されている前記2枚の画像のいずれか一方を保存画像として格納する保存画像用メモリと、前記カメラから前記作業用メモリに格納される前記2枚の画像にそれぞれ含まれる輝度情報の大きさを積算して、1枚目の画像の第1の積算値及び2枚目の画像の第2の積算値を前記作業用メモリに出力する画像演算部と、前記第1の積算値と前記第2の積算値とを比較し、両積算値の差の絶対値が予め設定された閾値より小さい場合は、前記1枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納し、一方、前記両積算値の差の絶対値が前記閾値より大きいか等しい場合は、前記2枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納するように制御する中央演算処理部と、を備えることを特徴としている In order to solve the above problems, the invention described in claim 1 is provided with a light without an autofocus function, and the camera unit always outputs an optimum image based on an input image signal. It is configured to adjust the exposure, and even when the light is turned on and whites out in the first frame, it is configured to have an exposure adjustment value that matches the lighting state of the light in the next frame. In a camera-equipped electronic device, in close-up photography with the camera, a working memory that temporarily stores two images taken with the light turned on in two frame periods, and a working memory A stored image memory for storing one of the two stored images as a stored image; and the two images stored in the working memory from the camera. An image calculation unit that integrates the magnitudes of the luminance information included in the images and outputs the first integrated value of the first image and the second integrated value of the second image to the working memory; The first integrated value and the second integrated value are compared, and if the absolute value of the difference between the two integrated values is smaller than a preset threshold value, the first image is read from the working memory. When the absolute value of the difference between the two integrated values is greater than or equal to the threshold value, the second image is transferred from the working memory to the saved image memory. And a central processing unit that controls to transfer and store the data

また、請求項2記載の発明は、請求項1記載のカメラ付き電子機器に係り、上記作業用メモリは、連続する上記2つのフレーム期間にそれぞれ上記ライトを点灯させた状態で撮影した上記2枚の画像を一時的に格納することを特徴としている。   According to a second aspect of the present invention, there is provided the electronic device with camera according to the first aspect, wherein the work memory is the two images taken in a state where the light is turned on during the two consecutive frame periods. These images are temporarily stored.

また、請求項3記載の発明は、請求項2記載のカメラ付き電子機器に係り、上記画像演算部は、連続する上記2枚の画像にそれぞれ含まれる上記輝度情報の大きさを積算することを特徴としている。   According to a third aspect of the invention, there is provided the camera-equipped electronic device according to the second aspect, wherein the image calculation unit integrates the magnitudes of the luminance information respectively included in the two consecutive images. It is a feature.

また、請求項4記載の発明は、請求項2又は3記載のカメラ付き電子機器に係り、上記中央演算処理部は、連続する上記2枚の画像のそれぞれの上記第1の積算値と上記第2の積算値とを比較することを特徴としている。   According to a fourth aspect of the present invention, there is provided the camera-equipped electronic device according to the second or third aspect, wherein the central processing unit includes the first integrated value and the first integrated value of each of the two consecutive images. The integrated value of 2 is compared.

また、請求項5記載の発明は、オートフォーカス機能を備えず、ライトを備えて成ると共に、カメラ部が、入力画像信号を基に常に最適な画像が出力されるように露出調整を行うように構成されていて、かつ、最初のフレームで前記ライトが点灯してホワイトアウトしたときでも、次のフレームではライト点灯状態に合った露出調整値となるように構成されているカメラ付き電子機器を用いる撮影方法に係り、前記カメラによる接写撮影時に、第1のフレーム期間に前記ライトを点灯させた状態で露光して1枚目の画像を撮影する段階と、前記第1のフレーム期間以降の第2のフレーム期間に前記ライトを点灯させた状態で露光して2枚目の画像を撮影すると同時に前記1枚目の画像の画像データを出力する段階と、前記第2のフレーム期間以降の第3のフレーム期間に前記2枚目の画像データを出力する段階と、前記1枚目及び前記2枚目の画像の画像データをそれぞれ経時的に作業用メモリに格納する段階と、前記1枚目及び前記2枚目の画像にそれぞれ含まれる輝度情報の大きさを積算して、前記1枚目の画像の第1の積算値及び前記2枚目の画像の第2の積算値をそれぞれ経時的に前記作業用メモリに出力する段階と、前記第1の積算値と前記第2の積算値とを比較する段階と、前記比較の結果、前記両積算値の差の絶対値が予め設定された閾値より小さい場合は、前記1枚目の画像を前記作業用メモリから保存画像用メモリに転送して格納する段階と、前記比較の結果、前記両積算値の差の絶対値が予め設定された閾値より大きいか等しい場合は、前記2枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納する段階と、を備えることを特徴としている。 The invention according to claim 5 is provided with a light without an autofocus function, and the camera unit performs exposure adjustment so that an optimum image is always output based on an input image signal. Even when the light is turned on and whitened out in the first frame, an electronic device with a camera that is configured to have an exposure adjustment value that matches the light lighting state in the next frame is used. According to a photographing method, during close-up photographing by the camera, a step of taking a first image by exposing the light in a first frame period and a second image after the first frame period Exposing the light in the frame period to capture a second image and simultaneously outputting image data of the first image; and the second frame period Outputting the second image data in a third frame period after falling; storing the image data of the first image and the second image in a working memory over time; and The magnitudes of luminance information included in the first image and the second image are integrated, and the first integrated value of the first image and the second integrated value of the second image are obtained. The step of outputting to the working memory over time, the step of comparing the first integrated value and the second integrated value, and the absolute value of the difference between the two integrated values as a result of the comparison in advance. When the threshold value is smaller than the set threshold, the absolute value of the difference between the two integrated values is determined in advance as a result of the step of transferring and storing the first image from the working memory to the storage image memory. If it is greater than or equal to the set threshold, the second image is It is characterized in that the working memory and a step of storing is transferred to the storage image memory.

また、請求項6記載の発明は、請求項5記載のカメラ付き電子機器を用いた撮影方法に係り、上記第1乃至上記第3のフレーム期間は連続していることを特徴としている。   According to a sixth aspect of the present invention, there is provided a photographing method using the camera-equipped electronic device according to the fifth aspect, wherein the first to third frame periods are continuous.

また、請求項7記載の発明は、請求項5記載のカメラ付き電子機器を用いた撮影方法に係り、上記輝度情報として、輝度信号を用いることを特徴としている。   According to a seventh aspect of the present invention, there is provided a photographing method using the camera-equipped electronic device according to the fifth aspect, wherein a luminance signal is used as the luminance information.

この発明のカメラ付き電子機器及び撮影方法によれば、オートフォーカス機能を備えていなくとも、撮影のタイミングをずらして連続して2枚の画像を撮影するようにして、ライトの影響の受け合いを調節することにより、ホワイトアウトを回避する。すなわち、毎回2枚の画像を撮影して、露光が合っているいずれか一方の画像を選択して保存画像として使用する。
したがって、オートフォーカス機能を備えなくとも、接写撮影時にライトによる閃光に起因した撮影画像のホワイトアウトの発生を効率よく防止することができる。
According to the camera-equipped electronic device and the photographing method of the present invention, even if the autofocus function is not provided, two images are continuously photographed at different photographing timings, and the influence of the influence of the light is adjusted. To avoid whiteout. In other words, two images are taken each time, and one of the images with the correct exposure is selected and used as a saved image.
Therefore, even if the autofocus function is not provided, it is possible to efficiently prevent the occurrence of whiteout of a captured image caused by the flash of light during close-up shooting.

オートフォーカス機能を備えず、かつ接写撮影時に点灯させるライトを備えて成るカメラ付き電子機器において、カメラによる接写撮影時に、2つのフレーム期間にそれぞれライトを点灯させた状態で撮影した2枚の画像を一時的に格納する作業用メモリと、作業用メモリに格納されている2枚の画像のいずれか一方を保存画像として格納する保存画像用メモリと、カメラから作業用メモリに格納される2枚の画像にそれぞれ含まれる輝度情報の大きさを積算して、1枚目の画像の第1の積算値及び2枚目の画像の第2の積算値を作業用メモリに出力する画像演算部と、第1の積算値と第2の積算値とを比較し、両積算値の差の絶対値が予め設定された閾値より小さい場合は、1枚目の画像を作業用メモリから保存画像用メモリに転送して格納し、一方、両積算値の差の絶対値が閾値より大きいか等しい場合は、2枚目の画像を作業用メモリから保存画像用メモリに転送して格納するように制御する中央演算処理部とを備えている。   In an electronic device with a camera that does not have an autofocus function and is equipped with a light that is turned on during close-up photography, two images taken with the light turned on during two frame periods during close-up photography with the camera A working memory for temporarily storing, a saved image memory for storing one of the two images stored in the working memory as a saved image, and two sheets stored in the working memory from the camera An image calculation unit that integrates the size of the luminance information included in each image and outputs the first integrated value of the first image and the second integrated value of the second image to the working memory; When the first integrated value is compared with the second integrated value and the absolute value of the difference between the two integrated values is smaller than a preset threshold value, the first image is transferred from the working memory to the saved image memory. Forward to case On the other hand, if the absolute value of the difference between the two integrated values is greater than or equal to the threshold value, a central processing unit that controls to transfer and store the second image from the working memory to the saved image memory; It has.

図1は、この発明の実施例であるカメラ付き電子機器の構成を示すブロック図、図2は同カメラ付き電子機器の動作を示すタイミングチャート、図3は同カメラ付き電子機器を用いた撮影方法を示すフローチャートである。なお、この例では電子機器としては携帯電話に例をとって説明する。
この例のカメラ付き携帯電話10は、図1に示すように、全体の制御動作を行うCPU(中央演算処理部)1と、CPU1が実行するための各種の制御用プログラムを格納するROM(Read Only Memory)のような不揮発性メモリから成るプログラム用メモリ2と、CPU1がプログラムを実行する上で一時的に必要とされるデータである、保存画像として選択される前の2枚の連続撮影画像を格納するRAM(Random Access Memory)のような揮発性メモリから成る作業用メモリ3と、連続撮影画像のうち選択された画像を保存画像として格納するEEP(Electrically Erasable and Programmable)のような不揮発性メモリから成る保存画像用メモリ4とを備えている。
FIG. 1 is a block diagram showing the configuration of an electronic device with a camera according to an embodiment of the present invention, FIG. 2 is a timing chart showing the operation of the electronic device with the camera, and FIG. 3 is a photographing method using the electronic device with the camera. It is a flowchart which shows. In this example, a mobile phone will be described as an example of the electronic device.
As shown in FIG. 1, a camera-equipped mobile phone 10 in this example includes a CPU (Central Processing Unit) 1 that performs overall control operations and a ROM (Read that stores various control programs to be executed by the CPU 1. Program memory 2 composed of a non-volatile memory such as “Only Memory”, and two consecutively photographed images before being selected as saved images, which are data temporarily required for the CPU 1 to execute the program A work memory 3 composed of a volatile memory such as a RAM (Random Access Memory) for storing an image, and a nonvolatile memory such as an EEP (Electrically Erasable and Programmable) for storing a selected image among continuously shot images as a stored image And a stored image memory 4 comprising a memory.

作業用メモリ3は、カメラ部5による接写撮影時に、後述するように2つのフレーム期間にそれぞれライト12を点灯させた状態で撮影した2枚の画像A、Bを一時的に格納する。保存画像用メモリ4は、後述するように作業用メモリ3に格納されている2枚の画像A、Bのいずれか一方を保存画像として格納する。なお、ライト12は接写撮影時以外にも点灯可能になっている。   The working memory 3 temporarily stores two images A and B taken in the state in which the lights 12 are turned on during two frame periods, as will be described later, during close-up photography by the camera unit 5. As will be described later, the saved image memory 4 stores one of the two images A and B stored in the work memory 3 as a saved image. The light 12 can be turned on at times other than close-up photography.

また、同カメラ付き携帯電話10は、図1に示すように、CMOS(Complementary Metal Oxide Semiconductor)、CCD(Charge Coupled Device)等の人口網膜LSI(Large Scale Integration)、レンズ、信号処理ASIC(Application Specific Integrated Circuit)から成る電子カメラモジュールを有し、被写体を撮影して撮影画像信号をYUV形式で出力するカメラ部5及びこのカメラ部5の動作を制御するカメラ制御部6と、LCD(Liquid Crystal Device:液晶表示装置)、有機EL(Electroluminescence:電子蛍光)等の表示装置を有し、カメラ部5からの入力画像を表示してファインダとしても使用する表示部7及びこの表示部7の動作を制御する表示制御部8と、複数の情報入力用キーが配置されたキー部9及びこのキー部9からのキー入力を受け付ける入力回路を有するキー入力部11とを備えている。ここで、信号処理用ASICでは、最適な被写体が表示されるように露出調整やホワイトバランス調整を自動的に行うように構成されている。   As shown in FIG. 1, the camera-equipped mobile phone 10 includes an artificial retina LSI (Large Scale Integration) such as a CMOS (Complementary Metal Oxide Semiconductor) and a CCD (Charge Coupled Device), a lens, and a signal processing ASIC (Application Specific). An electronic camera module comprising an integrated circuit), a camera unit 5 for photographing a subject and outputting a photographed image signal in YUV format, a camera control unit 6 for controlling the operation of the camera unit 5, and an LCD (Liquid Crystal Device) : A liquid crystal display device), a display device such as an organic EL (Electroluminescence), display the input image from the camera unit 5 and use it as a finder, and control the operation of the display unit 7 Display control unit 8, a key unit 9 in which a plurality of information input keys are arranged, and a key having an input circuit for receiving key inputs from the key unit 9. And an input unit 11. Here, the signal processing ASIC is configured to automatically perform exposure adjustment and white balance adjustment so that an optimum subject is displayed.

さらに、同カメラ付き携帯電話10は、図1に示すように、LEDのような発光素子から成るライト12及びこのライト12の点灯、消灯を制御するライト制御部13と、各メモリ2〜4、各構成部5〜9、11〜13間のデータ転送をCPU1に負担をかけないようにCPU1に代わって行うDMA(Direct Memory Access:ダイレクトメモリアクセス)制御部14と、カメラ部5からDMA制御部14を通じて作業用メモリ3へ転送されるYUV形式の撮影画像データのうち、輝度情報である輝度信号Yを積算し、この積算値を出力する画像演算部15とを備えている。   Further, as shown in FIG. 1, the camera-equipped mobile phone 10 includes a light 12 made of a light emitting element such as an LED, a light control unit 13 that controls turning on and off of the light 12, and memories 2 to 4. A DMA (Direct Memory Access) control unit 14 that performs data transfer between the components 5 to 9 and 11 to 13 on behalf of the CPU 1 so as not to place a burden on the CPU 1, and a camera control unit 5 to a DMA control unit 14 is integrated with the luminance signal Y, which is luminance information, of the imaged image data in the YUV format transferred to the work memory 3 through 14, and an image calculation unit 15 for outputting the integrated value.

次に、図2のタイミングチャートを参照して、この例のカメラ付き携帯電話10によりライトを閃光させて行うカメラ撮影の動作について説明する。このカメラ撮影においては、被写体の2枚の連続撮影を行う点に特徴を有しており、このように2枚の撮影画像の露光期間にライトを点灯させるためには、図2に示すように、露光期間とライト発光とのタイミングを調整して、ライトを点灯させる必要がある。   Next, with reference to the timing chart of FIG. 2, the camera photographing operation performed by flashing the light with the camera-equipped mobile phone 10 of this example will be described. This camera shooting is characterized in that two continuous shootings of the subject are performed, and in order to turn on the light during the exposure period of two shot images in this way, as shown in FIG. It is necessary to turn on the light by adjusting the exposure period and the timing of light emission.

図2のタイミングチャートにおいて、同期信号S1で決まるフレーム期間のうち、フレームA期間で露光して撮影される画像A(第1の画像)は、次のフレームB期間で画像データ(出力データDo)として出力される。同様にして、フレームB期間で露光して撮影される画像B(第2の画像)は、次のフレームC期間で画像データとして出力される。したがって、この例の撮影において、画像A及び画像Bを連続撮影する場合、両画像A、Bを撮影する露光期間Tにライトを点灯させるためには、それぞれフレームA期間及びフレームB期間において、ライト発光信号S2をH(Highレベル)に設定して、ライトを点灯させる。   In the timing chart of FIG. 2, among the frame periods determined by the synchronization signal S1, the image A (first image) that is captured by exposure in the frame A period is image data (output data Do) in the next frame B period. Is output as Similarly, an image B (second image) captured by exposure in the frame B period is output as image data in the next frame C period. Accordingly, when images A and B are continuously shot in the shooting of this example, in order to turn on the light during the exposure period T in which both images A and B are shot, The light emission signal S2 is set to H (High level), and the light is turned on.

次に、図1のカメラ付き携帯電話10を用いてカメラ撮影を行う具体例な方法について、図3のフローチャートを参照して説明する。
まず、ユーザが同カメラ付き携帯電話10のキー部9に配置されている複数の情報入力用キーのうち、撮影に割り当てられているキーを押下して撮影の要求をすると(ステップS1)、ライト制御部13はキー入力部11を通じてその要求に応じた信号を入力し、これに基づいてHレベルのライト発光信号S2を供給することによりライト12を点灯させる(ステップS2)。
Next, a specific example of performing camera shooting using the camera-equipped mobile phone 10 of FIG. 1 will be described with reference to the flowchart of FIG.
First, when a user requests shooting by pressing a key assigned to shooting among a plurality of information input keys arranged in the key unit 9 of the camera-equipped mobile phone 10 (step S1), the light is written. The control unit 13 inputs a signal according to the request through the key input unit 11, and based on this, supplies the H level light emission signal S2 to turn on the light 12 (step S2).

次に、ライト発光信号S2がHレベルに設定されている期間で、カメラ制御部6はカメラ部5によりフレームA期間で露光して撮影させた画像Aの撮影画像データ(第1の撮影画像データ)を、フレームB期間でYUV形式のデータで作業用メモリ3に転送して格納する(ステップS3)。これと同時に、画像演算部15はカメラ制御部6から作業用メモリ3に格納されるYUV形式の第1の撮影画像データのうち、この中に含まれている輝度信号Yを積算して、この積算値(第1の積算値A1とする)を作業用メモリ3に出力する。   Next, during the period in which the light emission signal S2 is set to the H level, the camera control unit 6 captures the captured image data (first captured image data) of the image A that is captured by the camera unit 5 during the frame A period. ) Is transferred to the work memory 3 and stored in YUV format data in the frame B period (step S3). At the same time, the image calculation unit 15 integrates the luminance signal Y included in the first captured image data in the YUV format stored in the work memory 3 from the camera control unit 6, The integrated value (referred to as the first integrated value A1) is output to the work memory 3.

同様にして、ライト発光信号S2がHレベルに設定されている期間で、カメラ制御部6はカメラ部5によりフレームB期間で露光して撮影させた画像Bの撮影画像データ(第2の撮影画像データ)を、フレームC期間でYUV形式のデータで作業用メモリ3に転送して格納する(ステップS4)。これと同時に、画像演算部15はカメラ制御部6から作業用メモリ3に転送されるYUV形式の第2の撮影画像データのうち、この中に含まれている輝度信号Yを積算して、この積算値(第2の積算値B1とする)を作業用メモリ3に出力する。次に、フレームA期間及びフレームB期間の露光期間Tが終了すると、ライト制御部13はLレベルのライト発光信号S2を供給することによりライト12を消灯させる(ステップS5)。   Similarly, during the period in which the light emission signal S2 is set to the H level, the camera control unit 6 captures the captured image data (second captured image) of the image B that is captured by the camera unit 5 during the frame B period. Data) is transferred and stored in the work memory 3 as data in the YUV format in the frame C period (step S4). At the same time, the image calculation unit 15 integrates the luminance signal Y included in the second photographed image data in the YUV format transferred from the camera control unit 6 to the work memory 3, The integrated value (second integrated value B1) is output to the work memory 3. Next, when the exposure period T of the frame A period and the frame B period ends, the light control unit 13 turns off the light 12 by supplying an L level light emission signal S2 (step S5).

次に、CPU1は、画像Aの輝度信号Yの第1の積算値A1と、画像Bの輝度信号Yの第2の積算値B1とを比較する(ステップS6)。ここで、画像A及び画像Bはそれぞれ第1の積算値A1及び第2の積算値B1の値が大きいほど明るい画像と判断する。すなわち、第1の積算値A1及び第2の積算値B1の値は、(FFh:16進法によるデータ値)に近くなるほど明るい画像となり、(00h)に近くなるほど暗い画像となると判断する。ここで、予め輝度信号Yの基準となる閾値Cが設定される。この閾値Cは、画像として必要とされる輝度等の要求に応じて決定される。   Next, the CPU 1 compares the first integrated value A1 of the luminance signal Y of the image A with the second integrated value B1 of the luminance signal Y of the image B (step S6). Here, the images A and B are determined to be brighter images as the first integrated value A1 and the second integrated value B1 are larger. That is, it is determined that the first integrated value A1 and the second integrated value B1 become brighter as they become closer to (FFh: data value in hexadecimal notation) and darker as they get closer to (00h). Here, a threshold C serving as a reference for the luminance signal Y is set in advance. This threshold value C is determined according to a request such as luminance required for an image.

次に、CPU1は、両画像A、Bの差の絶対値と敷値Cとの比較を行う(ステップS7)。すなわち、両画像A、Bの差の絶対値が敷値Cを越えるか否かが判定される。ここで、予め、次の(式1)及び(式2)が設定されて、比較の結果によりいずれかが該当する。
|(積算値A1)−(積算値B1)|<閾値C (式1)
|(積算値A1)−(積算値B1)|≧閾値C (式2)
Next, the CPU 1 compares the absolute value of the difference between the images A and B with the floor price C (step S7). That is, it is determined whether or not the absolute value of the difference between the images A and B exceeds the floor price C. Here, the following (Expression 1) and (Expression 2) are set in advance, and one of them corresponds to the result of comparison.
| (Integrated value A1) − (Integrated value B1) | <Threshold C (Formula 1)
| (Integrated value A1) − (Integrated value B1) | ≧ Threshold value C (Formula 2)

比較の結果、(式1)が該当した場合は、画像Aを選択して撮影画像として使用する(ステップS8)。すなわち、CPU1による比較の結果、画像Aの輝度信号Yの第1の積算値A1と画像Bの輝度信号Yの第2の積算値B1との差が、閾値Cより小さい場合には、連続撮影した2枚の画像A、B間の明るさの差は小さいのでホワイトアウトしていないと判断して、DMA制御部14により作業用メモリセル4に格納していている2枚の画像A、Bのうち、1枚目に撮影した画像Aを保存画像として選択して保存画像用メモリ4に転送して格納する。一方、2枚の画像A、Bのうち2枚目に撮影した画像Bは不要な画像とみなして廃棄する。   As a result of the comparison, if (Expression 1) is true, the image A is selected and used as a captured image (step S8). That is, as a result of comparison by the CPU 1, if the difference between the first integrated value A1 of the luminance signal Y of the image A and the second integrated value B1 of the luminance signal Y of the image B is smaller than the threshold C, continuous shooting is performed. Since the difference in brightness between the two images A and B is small, it is determined that no white-out has occurred, and the two images A and B stored in the work memory cell 4 by the DMA control unit 14 are determined. Of these, the first image A taken is selected as a saved image and transferred to the saved image memory 4 for storage. On the other hand, the second image B taken out of the two images A and B is regarded as an unnecessary image and discarded.

比較の結果、(式2)が該当した場合は、画像Bを選択して撮影画像として使用する(ステップS9)。すなわち、CPU1による比較の結果、画像Aの輝度信号Yの第1の積算値A1と画像Bの輝度信号Yの第2の積算値B1との差が、閾値Cより大きいか等しい場合には、連続撮影した2枚の画像A、B間の明るさの差は大きいので、1枚目の画像Aはホワイトアウトしていると判断して、DMA制御部14により作業用メモリセル4に格納していている2枚の画像A、Bのうち、2枚目に撮影した画像Bを保存画像として選択して保存画像用メモリ4に転送して格納する。一方、2枚の画像A、Bのうち2枚目に撮影した画像Aは不要な画像とみなして廃棄する。   As a result of the comparison, if (Expression 2) is true, the image B is selected and used as a captured image (step S9). That is, as a result of the comparison by the CPU 1, when the difference between the first integrated value A1 of the luminance signal Y of the image A and the second integrated value B1 of the luminance signal Y of the image B is greater than or equal to the threshold C, Since the brightness difference between the two images A and B taken continuously is large, it is determined that the first image A is white-out and stored in the work memory cell 4 by the DMA control unit 14. Of the two images A and B, the image B taken as the second image is selected as a saved image, transferred to the saved image memory 4 and stored. On the other hand, the image A photographed as the second of the two images A and B is regarded as an unnecessary image and discarded.

一般に、ライトを備えているカメラ付き携帯電話10では、ある一定以上の被写体距離での撮影を前提として、カメラ部5の露光量の内部調整値及びライト点灯タイミングが設定されているので、多くの場合には1枚目に撮影された画像Aが保存画像として選択されるように構成されている。また、カメラ部5は、入力画像信号を基に常に最適な画像が出力されるように露出調整を内部で行っている。また、ライトが点灯してホワイトアウトした場合にも、次のフレームではライト点灯状態に合った調整値となり、撮影画像はホワイトアウト状態ではなくなるように構成されている。したがって、上述したように、比較の結果が(式2)に該当した場合は、1枚目の画像Aは2枚目の画像Bに比べて明るすぎるため、ホワイトアウトしていると判断して、画像Bを保存画像として選択して使用することができる。   In general, in the camera-equipped mobile phone 10 having a light, the internal adjustment value of the exposure amount of the camera unit 5 and the light lighting timing are set on the premise that shooting is performed at a certain subject distance or more. In this case, the first image A is selected as the saved image. The camera unit 5 performs exposure adjustment internally so that an optimum image is always output based on the input image signal. Further, even when the light is turned on and white-out, the adjustment value suitable for the light-on state is obtained in the next frame, and the photographed image is not in the white-out state. Therefore, as described above, when the comparison result corresponds to (Equation 2), it is determined that the first image A is too bright compared to the second image B, and is therefore white-out. , Image B can be selected and used as a stored image.

上述したように、この例のカメラ付き携帯電話10では、オートフォーカス機能を備えていなくとも、撮影のタイミングをずらして連続して2枚の画像A、画像Bを撮影するようにして、ライトの影響の受け合いを調節することにより、ホワイトアウトを回避することができる。すなわち、従来のカメラ付き携帯電話では、オートフォーカス機能がないので被写体距離が近すぎる状態でライトを点灯して撮影すると、保存画像がホワイトアウトしてしまうため、ユーザは撮影をあきらめるか、接写撮影時にライトが閃光しないように設定し直して、再度撮影するという煩わしさが避けられなかった。このように撮影をあきらめたり、撮影をやり直すということはシャッタチャンスを逃すことになるので、カメラを携帯している意味がなくなることになる。この点で、上述したようにこの例のカメラ付き携帯電話10によれば、1回の撮影行為で確実にホワイトアウトしない画像を撮影することができるので、シャッタチャンスを逃すことがなくなる。   As described above, even if the camera-equipped mobile phone 10 of this example does not have an autofocus function, the image capturing timing is shifted and the two images A and B are continuously captured, and the light Whiteout can be avoided by adjusting the acceptance of the influence. In other words, with conventional camera phones, there is no autofocus function, so if you shoot with the light turned on when the subject distance is too close, the saved image will be whitened out, so the user will give up or close-up shooting Sometimes the trouble of re-setting the light so that it does not flash and shooting again is inevitable. In this way, giving up shooting or redoing shooting misses a photo opportunity, so the meaning of carrying the camera is lost. In this regard, as described above, according to the camera-equipped mobile phone 10 of this example, it is possible to reliably capture an image that is not whitened out by a single photographing action, so that a photo opportunity is not missed.

このように、この例のカメラ付き携帯電話10の構成によれば、オートフォーカス機能を備えず、かつ接写撮影時に点灯させるライト12を備えて成るカメラ付き携帯電話10において、カメラ部5による接写撮影時に、2つのフレームA、B期間にそれぞれライト12を点灯させた状態で撮影した2枚の画像A、画像Bを一時的に格納する作業用メモリ3と、作業用メモリ3に格納されている2枚の画像A、画像Bのいずれか一方を保存画像として格納する保存画像用メモリ4と、カメラ部5から作業用メモリ3に格納される2枚の画像A、画像Bにそれぞれ含まれる輝度情報Yの大きさを積算して、1枚目の画像Aの第1の積算値A1及び2枚目の画像Bの第2の積算値B1を作業用メモリ3に出力する画像演算部15と、第1の積算値A1と第2の積算値B1とを比較し、両積算値A1、B1の差の絶対値が予め設定された閾値Cより小さい場合は、1枚目の画像Aを作業用メモリ3から保存画像用メモリ4に転送して格納し、一方、両積算値A1、B1の差の絶対値が閾値Cより大きいか等しい場合は、2枚目の画像A、画像Bを作業用メモリ3から保存画像用メモリ4に転送して格納するように制御する中央演算処理部1とを少なくとも備えるので、ホワイトアウトの発生を伴うことなくライト点灯による接写撮影を行うことができる。
したがって、オートフォーカス機能を備えなくとも、接写撮影時にライトによる閃光に起因した撮影画像のホワイトアウトの発生を効率よく防止することができる。
Thus, according to the configuration of the camera-equipped mobile phone 10 in this example, the close-up photography by the camera unit 5 in the camera-equipped cellular phone 10 that does not have the autofocus function and includes the light 12 that is turned on during the close-up photography. Sometimes, the work memory 3 for temporarily storing two images A and B taken with the lights 12 turned on in the two frame A and B periods are stored in the work memory 3. Luminances included in the saved image memory 4 for storing either one of the two images A and B as saved images, and the two images A and B stored in the working memory 3 from the camera unit 5. An image calculation unit 15 that integrates the magnitude of the information Y and outputs the first integrated value A1 of the first image A and the second integrated value B1 of the second image B to the work memory 3; , First integrated value 1 and the second integrated value B1 are compared, and if the absolute value of the difference between the two integrated values A1 and B1 is smaller than a preset threshold C, the first image A is stored from the work memory 3 and stored. When the absolute value of the difference between the integrated values A1 and B1 is greater than or equal to the threshold value C, the second image A and image B are saved from the work memory 3 and stored. Since at least the central processing unit 1 that controls to transfer to the storage memory 4 is provided, it is possible to perform close-up photography by lighting the light without causing whiteout.
Therefore, even if the autofocus function is not provided, it is possible to efficiently prevent the occurrence of whiteout of a captured image caused by the flash of light during close-up shooting.

以上、この発明の実施例を図面により詳述してきたが、具体的な構成はこの実施例に限られるものではなく、この発明の要旨を逸脱しない範囲の設計の変更などがあってもこの発明に含まれる。例えば、実施例では比較、選択する2枚の撮影画像としては連続する2枚の画像を例にあげて説明したが、対象画像は連続する2枚の画像である必要はなく、2枚目の画像は2フレーム期間以降のものでよく、また3枚の画像を対象とすることも可能である。これら画像の間隔、枚数の設定は、カメラ及びライトの性能に合わせて決定することができる。また、実施例では撮影画像の比較、選択処理は輝度信号の演算処理を画像演算部で行い、積算値の比較処理をCPUで行う例で説明したが、積算処理及び比較処理の両方ともCPUで行うようにすることもできる。また、演算処理をCPUで行って、比較処理を画像演算部で行うようにしてもよい。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and the present invention can be changed even if there is a design change without departing from the gist of the present invention. include. For example, in the embodiment, the two captured images to be compared and selected have been described by taking two consecutive images as an example, but the target image does not need to be two consecutive images, and the second image The image may be from the second frame period, and three images may be targeted. The setting of the interval and the number of images can be determined according to the performance of the camera and the light. Further, in the embodiment, the example in which the comparison and selection processing of the captured image is performed by the image calculation unit and the integration value comparison processing is performed by the CPU in the luminance signal calculation processing, but both the integration processing and the comparison processing are performed by the CPU. You can also do it. Further, the calculation process may be performed by the CPU, and the comparison process may be performed by the image calculation unit.

また、実施例ではカメラから出力される信号をYUV形式として、その信号に含まれている輝度信号を輝度情報として用いる例で説明したが、これに限ることなくカメラから出力される信号はYCbCr形式、RGB形式等の別の形式でもよい。この場合演算に使用する信号としては各形式の画像データのうち輝度情報として用いることができる信号とする。また、ホワイトアウトしているか否かの判断要素としては、2枚の撮影画像の輝度信号を使用した例で説明したが、カメラモジュール内部で現在の露光量を検出した値が格納されるレジスタを備えていれば、その値を使用することもできる。また、実施例では携帯電話に適用した例で説明したが、携帯電話に限らずに、PDA(Personal Digital Assistants:個人向け携帯型情報通信機器)、携帯用GPS(Global Positioning System)等の携帯用の電子機器一般に適用することができる。   In the embodiment, the signal output from the camera is described as the YUV format, and the luminance signal included in the signal is used as the luminance information. However, the signal output from the camera is not limited to this and is output in the YCbCr format. Other formats such as RGB format may be used. In this case, the signal used for the calculation is a signal that can be used as luminance information among the image data of each format. Further, as an example of determining whether or not white-out has been performed, the example in which the luminance signals of the two photographed images are used has been described. However, a register that stores a value for detecting the current exposure amount inside the camera module is used. If you have one, you can use that value. Moreover, although the example applied to the mobile phone has been described in the embodiments, the mobile phone is not limited to the mobile phone, and is not limited to a mobile phone such as a PDA (Personal Digital Assistants) and a portable GPS (Global Positioning System). It can be applied to general electronic equipment.

この発明の実施例であるカメラ付き電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device with a camera which is an Example of this invention. 同カメラ付き電子機器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the electronic device with a camera. 同カメラ付き電子機器を用いた撮影方法を示すフローチャートである。It is a flowchart which shows the imaging | photography method using the electronic device with the camera. 従来のデジタルカメラの一例の構成を概略的に示すブロック図である。It is a block diagram which shows roughly the structure of an example of the conventional digital camera.

符号の説明Explanation of symbols

1 CPU(中央演算処理部)
2 プログラム用メモリ
3 作業用メモリ
4 保存画像用メモリ
5 カメラ部
6 カメラ制御部
7 表示部
8 表示制御部
9 キー部
10 カメラ付き携帯電話
11 キー入力部
12 ライト
13 ライト制御部
14 DMA(ダイレクトメモリアクセス)制御部
15 画像演算部
1 CPU (Central processing unit)
2 Memory for Program 3 Memory for Work 4 Memory for Stored Image 5 Camera Unit 6 Camera Control Unit 7 Display Unit 8 Display Control Unit 9 Key Unit 10 Mobile Phone with Camera 11 Key Input Unit 12 Light 13 Write Control Unit 14 DMA (Direct Memory) Access) Control unit 15 Image calculation unit

Claims (7)

オートフォーカス機能を備えず、ライトを備えて成ると共に、カメラ部が、入力画像信号を基に常に最適な画像が出力されるように露出調整を行うように構成されていて、かつ、最初のフレームで前記ライトが点灯してホワイトアウトしたときでも、次のフレームではライト点灯状態に合った露出調整値となるように構成されているカメラ付き電子機器であって、
前記カメラによる接写撮影時に、2つのフレーム期間にそれぞれ前記ライトを点灯させた状態で撮影した2枚の画像を一時的に格納する作業用メモリと、
前記作業用メモリに格納されている前記2枚の画像のいずれか一方を保存画像として格納する保存画像用メモリと、
前記カメラから前記作業用メモリに格納される前記2枚の画像にそれぞれ含まれる輝度情報の大きさを積算して、1枚目の画像の第1の積算値及び2枚目の画像の第2の積算値を前記作業用メモリに出力する画像演算部と、
前記第1の積算値と前記第2の積算値とを比較し、両積算値の差の絶対値が予め設定された閾値より小さい場合は、前記1枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納し、一方、前記両積算値の差の絶対値が前記閾値より大きいか等しい場合は、前記2枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納するように制御する中央演算処理部と、
を備えることを特徴とするカメラ付き電子機器。
It is not equipped with an autofocus function, is equipped with a light, and the camera unit is configured to adjust exposure so that an optimal image is always output based on the input image signal, and the first frame. in even when the light is whiteout lit, in the next frame a camera-equipped electronic apparatus is configured such that the exposure adjustment value that matches the light lit,
A working memory for temporarily storing two images taken with the light on in two frame periods during close-up photography by the camera;
A saved image memory for storing one of the two images stored in the working memory as a saved image;
The magnitudes of the luminance information included in the two images stored in the working memory from the camera are integrated, and the first integrated value of the first image and the second of the second image are added. An image calculation unit that outputs the integrated value of
The first integrated value and the second integrated value are compared, and if the absolute value of the difference between the two integrated values is smaller than a preset threshold value, the first image is extracted from the work memory. If the absolute value of the difference between the two integrated values is greater than or equal to the threshold value, the second image is transferred from the working memory to the saved image memory. A central processing unit which controls to transfer and store;
An electronic device with a camera, comprising:
前記作業用メモリは、連続する前記2つのフレーム期間にそれぞれ前記ライトを点灯させた状態で撮影した前記2枚の画像を一時的に格納することを特徴とする請求項1記載のカメラ付き電子機器。   2. The electronic device with camera according to claim 1, wherein the working memory temporarily stores the two images taken in a state where the light is turned on in each of the two consecutive frame periods. . 前記画像演算部は、連続する前記2枚の画像にそれぞれ含まれる前記輝度情報の大きさを積算することを特徴とする請求項2記載のカメラ付き電子機器。   The camera-equipped electronic device according to claim 2, wherein the image calculation unit integrates the magnitudes of the luminance information included in the two consecutive images. 前記中央演算処理部は、連続する前記2枚の画像のそれぞれの前記第1の積算値と前記第2の積算値とを比較することを特徴とする請求項2又は3記載のカメラ付き電子機器。   4. The camera-equipped electronic device according to claim 2, wherein the central processing unit compares the first integrated value and the second integrated value of each of the two consecutive images. . オートフォーカス機能を備えず、ライトを備えて成ると共に、カメラ部が、入力画像信号を基に常に最適な画像が出力されるように露出調整を行うように構成されていて、かつ、最初のフレームで前記ライトが点灯してホワイトアウトしたときでも、次のフレームではライト点灯状態に合った露出調整値となるように構成されているカメラ付き電子機器を用いる撮影方法であって、
前記カメラによる接写撮影時に、第1のフレーム期間に前記ライトを点灯させた状態で露光して1枚目の画像を撮影する段階と、
前記第1のフレーム期間以降の第2のフレーム期間に前記ライトを点灯させた状態で露光して2枚目の画像を撮影すると同時に前記1枚目の画像の画像データを出力する段階と、
前記第2のフレーム期間以降の第3のフレーム期間に前記2枚目の画像データを出力する段階と、
前記1枚目及び前記2枚目の画像の画像データをそれぞれ経時的に作業用メモリに格納する段階と、
前記1枚目及び前記2枚目の画像にそれぞれ含まれる輝度情報の大きさを積算して、前記1枚目の画像の第1の積算値及び前記2枚目の画像の第2の積算値をそれぞれ経時的に前記作業用メモリに出力する段階と、
前記第1の積算値と前記第2の積算値とを比較する段階と、
前記比較の結果、前記両積算値の差の絶対値が予め設定された閾値より小さい場合は、前記1枚目の画像を前記作業用メモリから保存画像用メモリに転送して格納する段階と、
前記比較の結果、前記両積算値の差の絶対値が予め設定された閾値より大きいか等しい場合は、前記2枚目の画像を前記作業用メモリから前記保存画像用メモリに転送して格納する段階と、
を備えることを特徴とするカメラ付き電子機器を用いた撮影方法。
It is not equipped with an autofocus function, is equipped with a light, and the camera unit is configured to adjust exposure so that an optimal image is always output based on the input image signal, and the first frame. in even when the light is whiteout lit, in the next frame a shot method using a camera-equipped electronic apparatus that is configured such that the exposure adjustment value that matches the light lit,
During close-up photography by the camera, a step of taking a first image by exposing the light during a first frame period; and
Exposing the light in a second frame period after the first frame period to capture a second image and outputting image data of the first image at the same time;
Outputting the second image data in a third frame period after the second frame period;
Storing the image data of the first image and the second image in a working memory over time,
The first integrated value of the first image and the second integrated value of the second image are integrated by integrating the magnitudes of luminance information included in the first image and the second image, respectively. Each of which is output to the working memory over time,
Comparing the first integrated value and the second integrated value;
As a result of the comparison, when the absolute value of the difference between the two integrated values is smaller than a preset threshold value, the first image is transferred from the working memory to the saved image memory and stored;
As a result of the comparison, if the absolute value of the difference between the two integrated values is greater than or equal to a preset threshold value, the second image is transferred from the working memory to the saved image memory and stored. Stages,
An imaging method using an electronic device with a camera, comprising:
前記第1乃至前記第3のフレーム期間は連続していることを特徴とする請求項5記載のカメラ付き電子機器を用いた撮影方法。   6. The photographing method using an electronic apparatus with a camera according to claim 5, wherein the first to third frame periods are continuous. 前記輝度情報として、輝度信号を用いることを特徴とする請求項5又は6記載のカメラ付き電子機器を用いた撮影方法。
The photographing method using an electronic device with a camera according to claim 5 or 6, wherein a luminance signal is used as the luminance information.
JP2004077286A 2004-03-17 2004-03-17 Electronic device with camera and photographing method Expired - Fee Related JP4291182B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004077286A JP4291182B2 (en) 2004-03-17 2004-03-17 Electronic device with camera and photographing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004077286A JP4291182B2 (en) 2004-03-17 2004-03-17 Electronic device with camera and photographing method

Publications (2)

Publication Number Publication Date
JP2005269123A JP2005269123A (en) 2005-09-29
JP4291182B2 true JP4291182B2 (en) 2009-07-08

Family

ID=35093207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004077286A Expired - Fee Related JP4291182B2 (en) 2004-03-17 2004-03-17 Electronic device with camera and photographing method

Country Status (1)

Country Link
JP (1) JP4291182B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119653245B (en) * 2025-02-17 2025-05-06 浙江大华技术股份有限公司 Snapshot frame exposure adjustment method and device and computer equipment

Also Published As

Publication number Publication date
JP2005269123A (en) 2005-09-29

Similar Documents

Publication Publication Date Title
US7711257B2 (en) Image quality in cameras using flash
US8073321B2 (en) Controlling an exposure time for digital cameras
US8593566B2 (en) Method and apparatus for controlling light emission of flash and digital photographing apparatus using the method and apparatus
JP4615458B2 (en) Exposure control method and imaging apparatus
CN100477742C (en) Portable terminal device and method of changing illuminance used therein
US7813629B2 (en) Photographing apparatus, and control method and computer program product for controlling the same
US8035730B2 (en) Digital camera and flash emission control method based on face detection
JP2014199458A (en) Portable terminal with camera function, flashlight control method and flashlight control program
JP4291182B2 (en) Electronic device with camera and photographing method
JP2006119264A (en) Photographing equipment
US8373766B2 (en) Image shooting device and image shooting method
JP2022170553A (en) Imaging apparatus, method for controlling the same, and program
JP2017139560A (en) Imaging apparatus, imaging system, and imaging method
JP7130475B2 (en) Imaging device, display control device, imaging device control method, and display control method
JP2005284166A (en) Digital still camera and control method for continuous shooting thereof
JP2011171917A (en) Mobile terminal, and method and program for setting photographing system
JP2008242054A (en) Strobe control method and strobe control device for camera
US11119387B2 (en) Imaging device, imaging device control method, and processing device
JP5060322B2 (en) IMAGING SYSTEM AND IMAGING SYSTEM CONTROL METHOD
JP5790974B2 (en) Imaging condition acquisition apparatus, imaging condition acquisition method and program, and imaging apparatus
JP2006072047A (en) Camera device and exposure control method
JP2022170552A (en) Imaging apparatus, method for controlling the same, and program
JP2012119805A (en) Photographing apparatus
JP2007047676A (en) Imaging device
JP2008277876A (en) Imaging apparatus and program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080818

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: 20090317

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: 20090402

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees