JP2009055125A - Imaging apparatus and its control method - Google Patents

Imaging apparatus and its control method Download PDF

Info

Publication number
JP2009055125A
JP2009055125A JP2007217457A JP2007217457A JP2009055125A JP 2009055125 A JP2009055125 A JP 2009055125A JP 2007217457 A JP2007217457 A JP 2007217457A JP 2007217457 A JP2007217457 A JP 2007217457A JP 2009055125 A JP2009055125 A JP 2009055125A
Authority
JP
Japan
Prior art keywords
distance information
image
main subject
processing
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007217457A
Other languages
Japanese (ja)
Other versions
JP4866317B2 (en
Inventor
Giichi Watanabe
義一 渡邊
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007217457A priority Critical patent/JP4866317B2/en
Publication of JP2009055125A publication Critical patent/JP2009055125A/en
Application granted granted Critical
Publication of JP4866317B2 publication Critical patent/JP4866317B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus which can judge the background and an object appropriately without requiring special hardware or complicated processing or operations, and to provide its control method. <P>SOLUTION: The imaging apparatus comprises a ranging means for acquiring distance information by measuring a distance to an object for every predetermined region in the angle of field, a first processing means for judging a main object region by using the distance information and separating the main object region, a second processing means for judging the main object region by using information other than the distance information and separating the main object region, a distance information judgment means for judging whether the distance information sufficient for the first processing means is obtained or not, and a processing switching means for separating the main object region by the first processing means when sufficient distance information is obtained based on the judgment of the distance information judgment means and separating the main object region by the second processing means when it is not obtained. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法、及び撮像装置、並びに撮像装置の制御方法に関し、特に、特別なハードウェアや複雑な処理や操作を必要とせずに背景と被写体とを適切に判定することが可能な撮像装置及び撮像装置の制御方法に関するものである。   The present invention relates to an image processing device, an image processing method, an imaging device, and a control method for the imaging device, and in particular, appropriately determines a background and a subject without requiring special hardware or complicated processing or operation. The present invention relates to an imaging apparatus capable of controlling the imaging apparatus and a method for controlling the imaging apparatus.

コンパクトデジタルカメラで用いられる撮像素子は、一眼レフカメラで用いられる撮像素子や銀塩フィルムよりも小さく、そのため同じ画角の画像を撮影するために必要な撮影光学系の焦点距離は短い。   An image pickup device used in a compact digital camera is smaller than an image pickup device used in a single-lens reflex camera or a silver salt film. Therefore, the focal length of a shooting optical system necessary for shooting an image with the same angle of view is short.

焦点距離が短いと、撮影光学系のF数を同じにしても、被写界深度が深くなる。これに対して、焦点距離が短くなることに比例させてF数を小さくすることができれば被写界深度を浅くすることができるが、撮影光学系を大口径化する必要があり、サイズおよびコストが増大する。   When the focal length is short, the depth of field becomes deep even if the F number of the photographing optical system is the same. On the other hand, if the F number can be reduced in proportion to the shortening of the focal length, the depth of field can be reduced. However, it is necessary to enlarge the photographing optical system, and the size and cost are reduced. Will increase.

このため、コンパクトデジタルカメラで撮影すると、相対的に広い距離範囲に対して焦点が合うことになる。
これは、同じ明るさの画像を撮影したときにぼけの少ない画像が得られるという点では長所ともなるが、ポートレートのように背景のぼけ具合が重要な画像を撮影するときは、背景までも鮮明になってしまって逆に短所になる。
For this reason, when a picture is taken with a compact digital camera, a relatively wide distance range is in focus.
This is also an advantage in that an image with less blur can be obtained when shooting images of the same brightness, but when shooting images where background blur is important, such as portraits, even the background On the contrary, it becomes clear and becomes a disadvantage.

上記の不都合を解決すべく、例えば特許文献1〜5には、距離情報を測定あるいは推定し、その情報を基に画像処理を行って背景と被写体とを判定して背景をぼかすカメラが提案されている。   In order to solve the above inconveniences, for example, Patent Documents 1 to 5 propose a camera that measures or estimates distance information, performs image processing based on the information, determines a background and a subject, and blurs the background. ing.

しかしながら、特許文献1〜5に記載の装置では、距離情報が十分に得られなかった場合の考慮がなされておらず、そのため、被写体や背景の明るさが適当で無かったり、被写体や背景のコントラストが十分で無いような場合、背景と被写体の判定を誤り不適切なぼかし処理を行ってしまうという不具合が生じる。   However, the apparatuses described in Patent Documents 1 to 5 do not consider the case where the distance information is not sufficiently obtained, and therefore the brightness of the subject or the background is not appropriate, or the contrast of the subject or the background is not appropriate. Is not sufficient, there is a problem that the background and subject are erroneously subjected to an improper blurring process.

特開2000−259823号公報JP 2000-259823 A 特開2003−283902号公報JP 2003-283902 A 特開2005−136480号公報JP 2005-136480 A 特開2005−229198号公報JP 2005-229198 A 特開平9−318870号公報JP 9-318870 A

そこで本発明は、上記の様な状況を鑑みてなされたものであり、特別なハードウェアや複雑な処理や操作を必要とせずに、背景と被写体とを適切に判定することが可能な撮像装置及び撮像装置の撮像装置の制御方法を提供することを目的とする。   Accordingly, the present invention has been made in view of the above situation, and an imaging apparatus capable of appropriately determining a background and a subject without requiring special hardware or complicated processing or operation. It is another object of the present invention to provide an imaging device control method for an imaging device.

上記課題を解決するために本発明に係る画像処理装置、画像処理方法、及び撮像装置、並びに撮像装置の制御方法は、具体的には下記(1)〜(14)に記載の技術的特徴を有する。   In order to solve the above problems, an image processing apparatus, an image processing method, an imaging apparatus, and an imaging apparatus control method according to the present invention specifically have the technical features described in the following (1) to (14). Have.

(1):画角内の所定領域毎の被写体までの距離を測定して距離情報を取得する測距手段と、前記距離情報を用いて主要被写体領域を判定し、主要被写体領域を分離する第1の処理手段と、前記距離情報以外の情報を用いて主要被写体領域を判定し、主要被写体領域を分離する第2の処理手段と、前記第1の処理手段に対して十分な距離情報が得られたか否かを判定する距離情報判定手段と、該距離情報判定手段の判定に基づき、十分な距離情報が得られた場合には前記第1の処理手段により主要被写体領域を分離して、十分な距離情報が得られなかった場合には前記第2の処理手段により主要被写体領域を分離する処理切替手段と、を具備することを特徴とする画像処理装置である。
上記(1)に記載の構成によれば、測距の結果に応じて主要被写体領域を判定する手段を自動的に切り替える様に構成されているので、十分な測距結果が得られなかった場合にも、適切な領域判定結果を得ることができる。
(1): a distance measuring means for measuring distance to a subject for each predetermined area within an angle of view to obtain distance information; a main subject area is determined using the distance information; and a main subject area is separated. A first processing unit, a second processing unit that determines a main subject region using information other than the distance information, and separates the main subject region; and sufficient distance information is obtained for the first processing unit. A distance information determination means for determining whether or not the image has been received, and when sufficient distance information is obtained based on the determination of the distance information determination means, the first processing means separates the main subject area and An image processing apparatus comprising: a process switching unit that separates a main subject region by the second processing unit when accurate distance information cannot be obtained.
According to the configuration described in (1) above, the means for determining the main subject area is automatically switched according to the result of distance measurement, so that a sufficient distance measurement result cannot be obtained. In addition, an appropriate region determination result can be obtained.

(2):上記(1)に記載の画像処理装置において、前記第1の処理手段は、前記第2の処理手段よりも外部入力操作が少ないことを特徴とする画像処理装置である。
上記(2)に記載の構成によれば、十分な測距結果が得られた場合の操作ステップが少なくなるように構成されているので、利便性を大きく損なうことなく上記(1)に記載の構成に基づく効果を享受することができる。
(2): The image processing apparatus according to (1), wherein the first processing unit has fewer external input operations than the second processing unit.
According to the configuration described in the above (2), the operation step when a sufficient distance measurement result is obtained is configured to be reduced. Therefore, the convenience described in the above (1) is not greatly impaired. The effect based on a structure can be enjoyed.

(3):上記(1)の画像処理装置において、前記第2の処理手段は、主要被写体を取り囲む矩形の座標位置を用いて主要被写体領域を判定することを特徴とする画像処理装置である。
上記(3)に記載の構成によれば、矩形の座標指定で主要被写体の領域を判定する様に構成されているので、特別なハードウェアや複雑な操作を必要とせずに領域を判定することができる。
(3): In the image processing apparatus according to (1), the second processing unit determines a main subject area using a rectangular coordinate position surrounding the main subject.
According to the configuration described in (3) above, since the area of the main subject is determined by specifying the rectangular coordinates, the area can be determined without requiring special hardware or complicated operations. Can do.

(4):上記(1)の画像処理装置において、前記距離情報判定手段は、測距を行う事のできた領域の数に基づき判定することを特徴とする画像処理装置である。
上記(4)に記載の構成によれば、測距を行う事のできた領域の数により、領域判定の処理手段を切り替える様に構成されているので、特別なハードウェアや複雑な処理を必要とせずに処理手段を切り替えることができる。
という効果がある。
(4): In the image processing apparatus according to (1), the distance information determination unit is configured to perform determination based on the number of regions in which distance measurement can be performed.
According to the configuration described in (4) above, the configuration is such that the area determination processing means is switched depending on the number of areas for which distance measurement can be performed, so that special hardware and complicated processing are required. Without changing the processing means.
There is an effect.

(5):上記(1)の画像処理装置において、前記第1の処理手段または前記第2の処理手段で主要被写体を判定した後、主要被写体以外の部分にぼかし処理を行うぼかし処理手段を備えることを特徴とする画像処理装置である。
上記(5)に記載の構成によれば、主要被写体以外の部分にぼかし処理を行う様に構成されているので確実に領域を判定する必要がある構成に好適であり、その他の処理に比して大きな効果を奏する。
(5): The image processing apparatus according to (1) includes a blur processing unit that performs blur processing on a portion other than the main subject after the main subject is determined by the first processing unit or the second processing unit. An image processing apparatus characterized by this.
The configuration described in (5) above is suitable for a configuration in which it is necessary to reliably determine a region because it is configured to perform blurring processing on portions other than the main subject. Compared to other processing, It has a big effect.

(6):被写体を撮像するための撮像素子と、該撮像素子に被写体像を結像させる撮像レンズと、該撮像レンズを移動させて焦点調節を行なう移動手段と画像内の所定領域毎の合焦度を判定する合焦度判定手段と、上記(1)〜(5)のいずれか1に記載の画像処理装置と、を具備する撮像装置であって、前記合焦度判定手段は、前記レンズの各移動位置毎の合焦度を得て、該合焦度が最大となる合焦度最大レンズ位置を判定し、前記測距手段は、前記合焦度最大レンズ位置から画像内の所定領域毎の被写体までの距離を測定して前記距離情報を取得することを特徴とする撮像装置である。
上記(6)に記載の構成によれば、通常の撮影時に行われる合焦動作により、距離情報を測定する様に構成されているので、特別なハードウェアや処理時間の増加を必要とせずに距離情報を得ることができる。
(6): An image pickup device for picking up an image of an object, an image pickup lens for forming an image of the object on the image pickup device, a moving means for moving the image pickup lens to adjust the focus, and a predetermined area in the image. An imaging apparatus comprising: a degree-of-focus determination unit that determines a degree of focus; and the image processing apparatus according to any one of (1) to (5) above, wherein the degree-of-focus determination unit includes: The degree of focus for each lens movement position is obtained, the maximum degree of focus lens position at which the degree of focus is maximum is determined, and the distance measuring means determines the predetermined degree in the image from the maximum degree of focus lens position. It is an imaging apparatus characterized in that the distance information is obtained by measuring a distance to a subject in each region.
According to the configuration described in (6) above, the distance information is measured by the focusing operation performed at the time of normal shooting, so that it is not necessary to increase special hardware or processing time. Distance information can be obtained.

(7):上記(1)〜(5)のいずれか1に記載の画像処理装置を備えることを特徴とするデジタルスチルカメラである。
上記(7)に記載の構成によれば、上記(1)〜(5)に記載の構成をデジタルスチルカメラに適用する様に構成されているので、限られたリソース上で画像処理を行う構成に好適であり、その他の装置に比して大きな効果を奏する。
(7): A digital still camera comprising the image processing apparatus according to any one of (1) to (5) above.
According to the configuration described in (7) above, the configuration described in (1) to (5) is configured to be applied to a digital still camera, so that the image processing is performed on limited resources. It has a great effect compared to other devices.

(8):デジタルスチルカメラであることを特徴とする上記(6)に記載の撮像装置である。 (8) The imaging apparatus according to (6), wherein the imaging apparatus is a digital still camera.

(9):画角内の所定領域毎の被写体までの距離を測定して距離情報を取得する測距工程と、前記距離情報を判定する距離情報判定工程と、該距離情報判定工程の判定に基づき主要被写体領域を判定し、該主要被写体領域を分離する処理工程と、を備える画像処理方法であって、前記処理工程は、前記距離情報を用いて主要被写体領域を判定する第1の処理工程と、前記距離情報以外の情報を用いて主要被写体領域を判定する第2の処理工程と、前記距離情報判定工程の判定に基づき、前記第1の処理工程と前記第2の処理工程を切り替える処理切替工程と、を有し、前記距離情報判定工程は、前記第1の処理工程に対して十分な距離情報が得られたか否かを判定し、前記処理切替工程は、前記距離情報判定工程の判定に基づき、十分な距離情報が得られた場合には前記第1の処理工程に切り替え、十分な距離情報が得られなかった場合には前記第2の処理工程に切り替えることを特徴とする画像処理方法である。
上記(9)に記載の構成によれば、測距の結果に応じて主要被写体領域を判定する工程を自動的に切り替える様に構成されているので、十分な測距結果が得られなかった場合にも、適切な領域判定結果を得ることができる。
(9): A distance measuring step of measuring distance to a subject for each predetermined area within the angle of view to acquire distance information, a distance information determining step of determining the distance information, and a determination of the distance information determining step And a processing step of separating the main subject region based on the first processing step of determining the main subject region using the distance information. And a second processing step for determining a main subject region using information other than the distance information, and a processing for switching between the first processing step and the second processing step based on the determination in the distance information determination step. A switching step, wherein the distance information determining step determines whether sufficient distance information is obtained for the first processing step, and the processing switching step is a step of the distance information determining step. Sufficient distance based on judgment Switch to the first processing step if the broadcast is obtained, which is when sufficient distance information is not obtained image processing method, characterized in that switching to the second processing step.
According to the configuration described in (9) above, since the process of determining the main subject area is automatically switched according to the distance measurement result, a sufficient distance measurement result cannot be obtained. In addition, an appropriate region determination result can be obtained.

(10):上記(9)に記載の画像処理方法おいて、前記第1の処理方法は、前記第2の処理方法よりも、外部入力操作が少ないことを特徴とする画像処理方法である。
上記(10)に記載の構成によれば、十分な測距結果が得られた場合の操作ステップが少なくなるように構成されているので、利便性を大きく損なうことなく上記(9)に記載の構成に基づく効果を享受することができる。
(10): The image processing method according to (9), wherein the first processing method has fewer external input operations than the second processing method.
According to the configuration described in (10) above, since the operation steps when a sufficient distance measurement result is obtained are configured, the convenience described in (9) above is not greatly impaired. The effect based on a structure can be enjoyed.

(11):上記(9)に記載の画像処理方法において、前記第2の処理工程は、主要被写体を取り囲む矩形の座標位置を用いて主要被写体領域を判定することを特徴とする画像処理方法である。
上記(11)に記載の構成によれば、矩形の座標指定で主要被写体の領域を判定する様に構成されているので、特別なハードウェアや複雑な操作を必要とせずに領域を判定することができる。
(11): In the image processing method according to (9), in the second processing step, a main subject area is determined using a rectangular coordinate position surrounding the main subject. is there.
According to the configuration described in (11) above, since the area of the main subject is determined by specifying the rectangular coordinates, the area can be determined without requiring special hardware or complicated operations. Can do.

(12):上記(9)に記載の画像処理方法において、前記距離情報判定工程は、測距を行う事のできた領域の数に基づき判定することを特徴とする画像処理方法である。
上記(12)に記載の構成によれば、測距を行う事のできた領域の数により、領域判定の処理工程を切り替える様に構成されているので、特別なハードウェアや複雑な処理を必要とせずに処理工程を切り替えることができる。
(12): In the image processing method according to (9), the distance information determination step is performed based on the number of regions in which distance measurement can be performed.
According to the configuration described in (12) above, it is configured to switch the area determination processing process depending on the number of areas for which distance measurement can be performed, so that special hardware and complicated processing are required. The processing steps can be switched without

(13):上記(9)に記載の画像処理方法において、前記第1の処理工程または前記第2の処理工程で主要被写体を判定した後、主要被写体以外の部分にぼかし処理を行うぼかし処理工程を備えることを特徴とする画像処理方法である。
上記(13)に記載の構成によれば、主要被写体以外の部分にぼかし処理を行う様に構成されているので確実に領域を判定する必要がある構成に好適であり、その他の処理に比して大きな効果を奏する。
(13): In the image processing method according to (9), a blur processing step of performing blur processing on a portion other than the main subject after determining the main subject in the first processing step or the second processing step. It is an image processing method characterized by comprising.
The configuration described in (13) above is suitable for a configuration in which it is necessary to reliably determine a region because it is configured to perform blurring processing on a portion other than the main subject. Compared to other processing, It has a big effect.

(14):撮像レンズの移動により焦点調整を行って、画像内の所定領域毎の合焦度を判定する合焦度判定工程と、前記撮像レンズにより撮像素子に被写体像を結像して被写体を撮像する撮像工程と、上記(9)〜(13)のいずれか1に記載の画像処理方法と、を備える撮像装置の制御方法であって、前記合焦度判定工程は、前記撮像レンズの各移動位置毎の合焦度を得て、合焦度が最大となる合焦度最大レンズ位置を判定し、前記測距工程は、前記合焦度最大レンズ位置から画角内の所定領域毎の被写体までの距離を測定して前記距離情報を取得することを特徴とする撮像装置の制御方法である。
上記(14)に記載の構成によれば、通常の撮影時に行われる合焦動作により、距離情報を測定する様に構成されているので、特別なハードウェアや処理時間の増加を必要とせずに距離情報を得ることができる。
(14): Focus adjustment step for adjusting the focus by moving the image pickup lens to determine the focus degree for each predetermined area in the image; and subject image formed on the image pickup device by the image pickup lens An imaging process comprising: an imaging process for imaging an image, and the image processing method according to any one of (9) to (13) above, wherein the in-focus degree determination process includes: The focus degree for each moving position is obtained, the maximum focus degree lens position at which the focus degree is maximized is determined, and the distance measuring step is performed for each predetermined region within the angle of view from the maximum focus degree lens position. A method for controlling an image pickup apparatus, comprising: measuring a distance to a subject of the camera to acquire the distance information.
According to the configuration described in (14) above, the distance information is measured by the focusing operation performed at the time of normal photographing, so that it is not necessary to increase special hardware or processing time. Distance information can be obtained.

本発明によれば、特別なハードウェアや複雑な処理や操作を必要とせずに、背景と被写体とを適切に判定することが可能な撮像装置及び撮像装置の撮像装置の制御方法を提供することを提供することができる。   According to the present invention, it is possible to provide an imaging apparatus and an imaging apparatus control method for the imaging apparatus that can appropriately determine the background and the subject without requiring special hardware or complicated processing or operation. Can be provided.

以下に本発明の実施の形態について説明する。
なお、以下に述べる実施の形態は本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は以下の説明において特に本発明を限定する旨の記載がない限りこれらの態様に限られるものではない。
Embodiments of the present invention will be described below.
The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. Unless otherwise stated, the present invention is not limited to these embodiments.

図1は、本発明に係る撮像装置の一実施の形態における構成、及び撮像装置の接続機器の構成を示す概略図である。
デジタルスチル装置1は、システム制御部2、撮像部3、画像処理部4、表示制御部5、LCD6、記録メディアインターフェイス部7、ハードキーインターフェイス部9、通信インターフェイス部10を備えてなり、記録メディア8が着脱可能で、PC11にUSBで接続することが可能な構成である。
FIG. 1 is a schematic diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention and a configuration of connected devices of the imaging apparatus.
The digital still apparatus 1 includes a system control unit 2, an imaging unit 3, an image processing unit 4, a display control unit 5, an LCD 6, a recording medium interface unit 7, a hard key interface unit 9, and a communication interface unit 10, and includes a recording medium. 8 is detachable and can be connected to the PC 11 via USB.

システム制御部2は、デジタルスチル装置1全体の制御を行うために設けられ、CPU、NANDフラッシュメモリ、SDRAM、タイマ−等を備える。   The system control unit 2 is provided to control the entire digital still apparatus 1 and includes a CPU, a NAND flash memory, an SDRAM, a timer, and the like.

撮像部3は、撮像のために設けられ、光学系部品(レンズ及びレンズ駆動モータ)、CCD、CCD駆動回路、A/D変換器等を備える。   The imaging unit 3 is provided for imaging and includes an optical system component (lens and lens driving motor), a CCD, a CCD driving circuit, an A / D converter, and the like.

画像処理部4は、撮像部3で得られた画像信号に種々の画像処理を施すと共に、CCD駆動タイミングの制御、レンズ駆動モータの制御をして、ズーミング、フォーカシング、露出調整等を行い、また、画像の圧縮伸長を行うために設けられた、画像処理用DSP(デジタルシグナルプロセッサ)、RAM等を備える。   The image processing unit 4 performs various image processing on the image signal obtained by the imaging unit 3 and controls the CCD driving timing and the lens driving motor to perform zooming, focusing, exposure adjustment, etc. And an image processing DSP (digital signal processor), a RAM, and the like, which are provided for compressing and expanding images.

表示制御部5は、撮像部3で得られて画像処理部4で処理された画像信号をLCD5へ表示するための信号処理を行い、また、ユーザーインターフェイスのための種々のグラフィック画像を生成しLCDへ表示するために設けられた、D/A変換器、オンスクリーンディスプレイコントローラ等を備える。   The display control unit 5 performs signal processing for displaying the image signal obtained by the imaging unit 3 and processed by the image processing unit 4 on the LCD 5, and generates various graphic images for the user interface to generate the LCD. A D / A converter, an on-screen display controller, and the like are provided for display.

LCD6は、画像を表示し、また、ユーザーインターフェイスのためのグラフィックを表示するために設けられた液晶表示装置LCD(liquid crystal display)である。   The LCD 6 is a liquid crystal display device LCD (liquid crystal display) provided for displaying an image and displaying a graphic for a user interface.

記録メディアインターフェイス部7は、記録メディアとのインターフェイスのために設けられた、メモリカードコントローラ等を備える。   The recording media interface unit 7 includes a memory card controller or the like provided for interface with the recording media.

ハードキーインターフェイス部9は、図示されていないキー、ダイヤル等のユーザーインターフェイスの状態検出を行い、またメインCPUへの主電源制御を行うために設けられた、サブCPU等を備える。   The hard key interface unit 9 includes a sub CPU and the like that are provided for detecting the state of a user interface such as a key and a dial (not shown) and for controlling main power to the main CPU.

通信インターフェイス部10は、、USBを接続してデータ通信を行うために設けられた、通信コントローラを備える。   The communication interface unit 10 includes a communication controller that is provided to connect the USB and perform data communication.

記録メディア8は、圧縮された画像信号や画像に纏わる種々の情報を記憶するために設けられたフラッシュメモリ等のメモリーカードであり、デジタルスチルカメラ装置1から着脱可能な記録メディアである。   The recording medium 8 is a memory card such as a flash memory provided for storing a compressed image signal and various information associated with the image, and is a recording medium that can be attached to and detached from the digital still camera device 1.

PC11は、デジタルスチルカメラ装置1をUSBで接続し、デジタルスチルカメラ装置1からの画像を転送して再生する事や、デジタルスチルカメラ装置1へ各種設定を行う事ができるパーソナルコンピュータである。   The PC 11 is a personal computer that can connect the digital still camera device 1 via USB, transfer an image from the digital still camera device 1 and play it back, and perform various settings on the digital still camera device 1.

ここでまず、従来の撮像装置の起動動作について説明する。
利用者が図示されていない電源ボタンを押下すると、ハードキーインターフェイス部9はメインCPUへの電源供給をオンする。
First, the startup operation of the conventional imaging device will be described.
When the user presses a power button (not shown), the hard key interface unit 9 turns on the power supply to the main CPU.

システム制御部2内のメインCPUは、まずNANDフラッシュメモリのブート部からアクセス(プログラム実行)を開始し、ブートプログラムによってプログラム・データをSDRAMへ転送する。   The main CPU in the system control unit 2 starts access (program execution) from the boot unit of the NAND flash memory, and transfers program data to the SDRAM by the boot program.

SDRAMへの転送が完了すると、プログラムの実行ポインタ(プログラムカウンタ)を、転送したSDRAM上のプログラムに移し、以降はSDRAM上のプログラムにより起動処理を開始する。   When the transfer to the SDRAM is completed, the program execution pointer (program counter) is moved to the transferred program on the SDRAM, and thereafter, the startup process is started by the program on the SDRAM.

起動処理には、OS(オペレーティングシステム)の初期化や鏡胴の繰りだし処理、記録メディアの初期化処理などが含まれる。   The startup processing includes OS (operating system) initialization, lens barrel extension processing, recording media initialization processing, and the like.

鏡胴の繰り出し処理は、画像処理部4を介して撮像部3のレンズ駆動モータに所定の間隔(2mS)毎にパルス信号を与える事で行う。
また、記録メディアの初期化処理は、記録メディアインターフェイス部7を介して記録メディア8への電源とクロックを供給した後、記録メディア8へ初期化コマンドを発行する。実際の初期化処理は記録メディア8内で行われ、システム制御部2はその完了を検知するために記録メディア8のステータスを10mS間隔でポーリングする。
The lens barrel feeding process is performed by applying a pulse signal to the lens driving motor of the imaging unit 3 at predetermined intervals (2 mS) via the image processing unit 4.
In the initialization process of the recording medium, the power and clock are supplied to the recording medium 8 via the recording medium interface unit 7 and then an initialization command is issued to the recording medium 8. The actual initialization process is performed in the recording medium 8, and the system control unit 2 polls the status of the recording medium 8 at intervals of 10 mS in order to detect the completion.

続いて撮影時の動作について説明する。
利用者は撮影に先立ち、図示されていない種々のキー、ダイヤルを操作し、撮影モード(高画質モード、低画質モード等)を決定する。
利用者の操作内容はハードキーインターフェイス部9を通じてシステム制御部2で判別され、システム制御部2は、操作に応じて表示制御部5へガイダンスグラフィックを生成して、利用者に次操作を促す。
Next, the operation during shooting will be described.
Prior to shooting, the user operates various keys and dials (not shown) to determine the shooting mode (high image quality mode, low image quality mode, etc.).
The user's operation content is discriminated by the system control unit 2 through the hard key interface unit 9, and the system control unit 2 generates a guidance graphic to the display control unit 5 according to the operation, and prompts the user to perform the next operation.

システム制御部2は、撮影モードが決定されると、モードに応じた処理パラメタを画像処理部4へ設定する。
あるいはまた、利用者は図示されていないズームレバーを操作し、画角(構図)を決定する。
When the photographing mode is determined, the system control unit 2 sets processing parameters corresponding to the mode in the image processing unit 4.
Alternatively, the user operates a zoom lever (not shown) to determine the angle of view (composition).

利用者の操作内容はハードキーインターフェイス部9を通じてシステム制御部2で判別され、システム制御部2は、操作に応じて撮像部3を制御しレンズを駆動する。   The user's operation content is discriminated by the system control unit 2 through the hard key interface unit 9, and the system control unit 2 controls the imaging unit 3 according to the operation to drive the lens.

撮像部3は画像処理部4からの制御に従い、実際の撮影に先だって、モニタリング画像を表示するための撮像動作を開始する。   In accordance with control from the image processing unit 4, the imaging unit 3 starts an imaging operation for displaying a monitoring image prior to actual shooting.

撮像されたデータは連続的に画像処理部4へ送られ、画像処理部4では色空間変換、ガンマ補正、ホワイトバランス調整などの処理を施した後、画像データを表示制御部5へ送る。   The imaged data is continuously sent to the image processing unit 4, which performs processing such as color space conversion, gamma correction, and white balance adjustment, and then sends the image data to the display control unit 5.

表示制御部5では、画像データを信号処理してLCD6へ表示し、利用者へ撮像状態を提示する。   The display control unit 5 processes the image data and displays it on the LCD 6, and presents the imaging state to the user.

図示されていないレリーズボタンが押されると、その操作はモード設定と同様にしてハードキーインターフェイス部9を通じてシステム制御部2で判別される。   When a release button (not shown) is pressed, the operation is discriminated by the system control unit 2 through the hard key interface unit 9 as in the mode setting.

撮像部3は画像処理部4からの制御に従い、フォーカス合わせを行った後、取り込んだ画像を画像処理部4へ送り、画像処理部4は、撮影モードに応じた画像処理、圧縮処理を行う。   The imaging unit 3 performs focus adjustment in accordance with control from the image processing unit 4, and then sends the captured image to the image processing unit 4. The image processing unit 4 performs image processing and compression processing according to the shooting mode.

システム制御部2は、圧縮された画像データを読み出し、さらにヘッダー情報を付加した後、記録メディアインターフェイス部7を通じて記録メディアへ8書き込む。
以上で一連の撮影動作を完了する。
The system control unit 2 reads the compressed image data, adds header information, and then writes 8 into the recording medium through the recording medium interface unit 7.
This completes a series of shooting operations.

(第1の実施の形態)
続いて、本発明に係る撮像装置の制御方法における第1の実施の形態として、撮影時に主要被写体以外の背景部分にぼかし処理を行う例について説明する。
本発明に係る撮像装置の制御方法における第1の実施の形態の動作フローを図2に示す。本フローは前述したレリーズボタンが押された際の動作を示している。
レリーズボタンが押されると、システム制御部2は画像処理部4及び撮像部3を制御し、CCDAFのスキャン動作を行う(step01−001)。
撮像部3、及び画像処理部4は、前述した手順でフォーカス合わせ、画像取り込みを行う(step01−002)。
続いてシステム制御部2は、各画像の位置毎の距離の算定を行う(step01−003)。
(First embodiment)
Subsequently, as a first embodiment of the control method of the imaging apparatus according to the present invention, an example in which the blurring process is performed on the background portion other than the main subject at the time of shooting will be described.
FIG. 2 shows an operation flow of the first embodiment in the control method of the imaging apparatus according to the present invention. This flow shows the operation when the above-described release button is pressed.
When the release button is pressed, the system control unit 2 controls the image processing unit 4 and the imaging unit 3 to perform a CCDAF scanning operation (step 01-001).
The imaging unit 3 and the image processing unit 4 perform focusing and image capture according to the above-described procedure (step 01-002).
Subsequently, the system control unit 2 calculates the distance for each position of each image (step 01-003).

以下、図3に示す本発明に係る撮像装置の制御方法を説明する説明図を参照しながら説明する。
図3(A)において、100は取り込んだ画像の画角、101は1つのAF評価値エリアを示している。
図3に示す様に、AF評価値エリアは、画角内を均等に分割した小領域となっており、CCDAFのスキャンにより各領域毎のAF評価値(領域内の画像のコントラストの積算値)が得られる。
Hereinafter, description will be made with reference to an explanatory diagram illustrating a control method of the imaging apparatus according to the present invention illustrated in FIG. 3.
In FIG. 3A, 100 indicates the angle of view of the captured image, and 101 indicates one AF evaluation value area.
As shown in FIG. 3, the AF evaluation value area is a small area that is equally divided within the angle of view, and the AF evaluation value for each area (integrated value of the contrast of the image in the area) by CCDAF scanning. Is obtained.

システム制御部2は、各領域毎に、CCDAFのスキャンにより得られたレンズ位置毎のAF評価値を、所定のアルゴリズムに基づき解析し、AF評価値のピーク位置に相当するレンズの駆動位置を判定する。
さらにシステム制御部2は、各領域毎に、現在のズーム位置からレンズの駆動位置を距離情報に変換する。
The system control unit 2 analyzes the AF evaluation value for each lens position obtained by CCDAF scanning for each area based on a predetermined algorithm, and determines the lens driving position corresponding to the peak position of the AF evaluation value. To do.
Further, the system control unit 2 converts the driving position of the lens from the current zoom position into distance information for each area.

ここで、AF評価値はエリア内の各画素に対し、水平方向のHPFの演算を行い、得られた結果を加算して得られるものである。
HPFの係数は、例えば、ki={−1,−2,6,−2,−1}といった値が用いられる。
Here, the AF evaluation value is obtained by calculating the HPF in the horizontal direction for each pixel in the area and adding the obtained results.
As the HPF coefficient, for example, a value such as ki = {− 1, −2, 6, −2, −1} is used.

k0は注目画素の水平方向−2の座標の画素に乗算される係数、k1は注目画素の水平方向−1の座標の画素に乗算される係数、k3は注目画素に乗算される係数、k4は注目画素の水平方向+1の座標の画素に乗算される係数、k5は注目画素の水平方向+2の座標の画素に乗算される係数である。   k0 is a coefficient to be multiplied by the pixel of the pixel in the horizontal direction-2 of the target pixel, k1 is a coefficient to be multiplied to the pixel of the pixel of interest in the horizontal direction-1 coordinate, k3 is a coefficient to be multiplied by the target pixel, A coefficient to be multiplied by a pixel having a coordinate in the horizontal direction + 1 of the target pixel, and k5 is a coefficient to be multiplied by a pixel having a coordinate in the horizontal direction + 2 of the target pixel.

AF評価値から距離情報を取得するには、ガウスの結像方程式に基づき、下記式(1)及び(2)で求められる。   In order to acquire distance information from the AF evaluation value, it is obtained by the following equations (1) and (2) based on the Gaussian imaging equation.

1/a+1/b=1/f ・・・式(1)
a=b・f/(b−f) ・・・式(2)
(ここで、aはレンズから被写体までの距離、bはレンズから撮像素子までの距離、fはレンズの焦点距離である。)
1 / a + 1 / b = 1 / f Formula (1)
a = b · f / (b−f) (2)
(Here, a is the distance from the lens to the subject, b is the distance from the lens to the image sensor, and f is the focal length of the lens.)

本発明において、レンズから被写体までの距離aが求める距離情報である。
また、レンズの焦点距離fは、撮影時のズーム位置により一意に求められ、レンズから撮像素子までの距離bは、AF評価値のピークの得られたフォーカスレンズの駆動位置から一意に求められる。
なお、AF評価値に所定量以上のピークが現れない場合には、そのエリアの距離情報には異常値(=−1)を設定する。
以上により、画角100内の全領域のAF評価値エリア101毎の距離情報を得ることができる。
In the present invention, the distance a from the lens to the subject is distance information to be obtained.
Further, the focal length f of the lens is uniquely obtained from the zoom position at the time of photographing, and the distance b from the lens to the image sensor is uniquely obtained from the driving position of the focus lens from which the peak of the AF evaluation value is obtained.
If no peak exceeding a predetermined amount appears in the AF evaluation value, an abnormal value (= −1) is set in the distance information of the area.
As described above, it is possible to obtain distance information for each AF evaluation value area 101 of the entire region within the angle of view 100.

ここでシステム制御部2は、得られた全エリアの距離情報を照合して正常値(≠−1)であるエリアの数nをカウントし、所定の数N以上であった場合には、以下で説明する距離情報を用いた主要被写体領域の判定を行う(step01−004)。   Here, the system control unit 2 compares the obtained distance information of all the areas and counts the number n of areas having a normal value (≠ −1). The main subject area is determined using the distance information described in (Step 01-004).

所定の数Nは、例えば16×16=256のエリアに対し、その90%に相当する230といった値が用いられる。   As the predetermined number N, for example, a value such as 230 corresponding to 90% of an area of 16 × 16 = 256 is used.

図3(A)において、斜線で示した領域は、AFでフォーカスを合わせたAFエリア102である。
システム制御部2は、画面中央部分のAF評価値エリアのうち、最も近距離にあるエリアをAFエリアとして判定し、さらにAFエリアと等距離にあるブロックを主要被写体ブロックとして判定する。
In FIG. 3A, the hatched area is the AF area 102 focused by AF.
The system control unit 2 determines the area closest to the AF evaluation value area at the center of the screen as the AF area, and further determines the block equidistant from the AF area as the main subject block.

図3(B)において、主要被写体ブロック103は斜線で示している。但し、主要被写体ブロック103はAFエリア102を含む領域である。   In FIG. 3B, the main subject block 103 is indicated by diagonal lines. However, the main subject block 103 is an area including the AF area 102.

システム制御部2は、得られた主要被写体ブロック103の情報と、撮像した画像を基に主要被写体領域を判定する(step01−005)。この処理は、従来の画像処理(輪郭抽出)により、主要被写体ブロック103を含む任意形状の領域の判定を行う。   The system control unit 2 determines the main subject area based on the obtained information on the main subject block 103 and the captured image (step 01-005). In this process, a region having an arbitrary shape including the main subject block 103 is determined by conventional image processing (contour extraction).

図3(C)において、主要被写体領域104を示している。
画像処理部4は、主要被写体領域104の情報を基に、主要被写体画像の抽出処理、背景画像のぼかし処理、合成処理を順次行う(step01−009)。
In FIG. 3C, the main subject area 104 is shown.
The image processing unit 4 sequentially performs main subject image extraction processing, background image blurring processing, and composition processing based on the information of the main subject region 104 (step 01-009).

図3(D)に、撮影画像105、主要被写体106、抽出した主要被写体画像107、背景画像108、ぼかした背景画像109、合成画像110を夫々示す。   FIG. 3D shows a captured image 105, a main subject 106, an extracted main subject image 107, a background image 108, a blurred background image 109, and a composite image 110, respectively.

主要被写体の抽出処理では、主要被写体領域104に沿って画像を分離することで、主要被写体の抽出を行う。結果として、撮影画像105は主要被写体画像107と背景画像108に分離される。
背景画像のぼかし処理では、背景画像108に空間フィルタを適用し、ぼかした背景画像109を生成する。
In the main subject extraction process, the main subject is extracted by separating the image along the main subject region 104. As a result, the captured image 105 is separated into the main subject image 107 and the background image 108.
In the background image blurring process, a spatial filter is applied to the background image 108 to generate a blurred background image 109.

空間フィルタは、下記式(3)を用いて入力画像(In(x,y))にフィルタ係数(k(ix,iy))を演算し、出力画像(Out(x,y))を得る。   The spatial filter calculates a filter coefficient (k (ix, iy)) for the input image (In (x, y)) using the following equation (3) to obtain an output image (Out (x, y)).

In :入力画像
Out:出力画像
k :フィルタ係数
fs :フィルタサイズ(本実施の形態では7)
In: Input image Out: Output image k: Filter coefficient fs: Filter size (7 in this embodiment)

フィルタ係数の例を図3(E)に示す。
step01−004に戻り、正常値(≠−1)であるエリアの数nが所定の数N未満であった場合の動作について説明する。
An example of the filter coefficient is shown in FIG.
Returning to step 01-004, the operation when the number n of areas having normal values (≠ −1) is less than the predetermined number N will be described.

距離情報は異常値(=−1)となるのは、前述したように、評価値に所定量以上のピークが現れなかった場合である。
これは、そのエリアの被写体のコントラストが低かったり、露出が適当でなく黒つぶれや白飛びが発生していたりする場合に発生する。図4の例で言えば、図中×印を付した様な部分で発生しやすい。
The distance information becomes an abnormal value (= −1) when the peak exceeding a predetermined amount does not appear in the evaluation value as described above.
This occurs when the contrast of the subject in the area is low, or the exposure is not appropriate and blackout or whiteout occurs. In the example of FIG. 4, it is likely to occur at a portion marked with a cross in the figure.

システム制御部2は、表示制御部5を制御して撮影画像を表示させると共に、図5に示すような主要被写体を指定するための矩形の枠表示を行う(step01−006)。   The system control unit 2 controls the display control unit 5 to display a captured image and displays a rectangular frame for designating a main subject as shown in FIG. 5 (step 01-006).

利用者は枠表示が目的とする被写体を囲う様にキー操作を行い、システム制御部はキー操作に応じて枠表示の位置、大きさを変更して再表示を繰り返す。
利用者が枠の確定の操作を行うと、システム制御部2は、その時点の枠表示の座標に相当する画像上の座標値を算定し、以下に説明する矩形の座標位置を用いた主要被写体領域の判定を行う(step01−006)。
The user performs a key operation so that the frame display surrounds the target subject, and the system control unit changes the position and size of the frame display according to the key operation and repeats the redisplay.
When the user performs an operation for determining the frame, the system control unit 2 calculates a coordinate value on the image corresponding to the coordinates of the frame display at that time, and uses the rectangular coordinate position described below as a main subject. The area is determined (step 01-006).

システム制御部2は、画像処理により、図6に示すような領域分割を行う。これは画像の色や明るさにより、各画素をグループ化することにより行う。
システム制御部2は、指定された矩形座標の内側にある領域を主要被写体領域として判定する(step01−008)。
The system control unit 2 performs area division as shown in FIG. 6 by image processing. This is done by grouping each pixel according to the color and brightness of the image.
The system control unit 2 determines an area inside the designated rectangular coordinates as a main subject area (step 01-008).

主要被写体画像の抽出処理、背景画像のぼかし処理、合成処理は、前述した通りである。
システム制御部2は、画像処理部4を制御して合成後の画像を圧縮し、圧縮された画像データを読み出し、さらにヘッダー情報を付加した後、記録メディアインターフェイス部7を通じて記録メディアへ8書き込む。
なおこの際、ヘッダー情報には得られた距離情報を付与する。
The main subject image extraction process, background image blurring process, and composition process are as described above.
The system control unit 2 controls the image processing unit 4 to compress the combined image, reads the compressed image data, adds header information, and writes 8 to the recording medium through the recording medium interface unit 7.
At this time, the obtained distance information is added to the header information.

(第2の実施の形態)
続いて、本発明の第2の実施の形態として、再生時に主要被写体以外の背景部分にぼかし処理を行う例について説明する。
本発明に係る撮像装置の制御方法における第2の実施の形態の動作フローを図7に示す。本フローは画像の再生中に、利用者の操作によってぼかし処理が選択された際の動作を示している。
(Second Embodiment)
Subsequently, as a second embodiment of the present invention, an example in which a blurring process is performed on a background portion other than the main subject during reproduction will be described.
FIG. 7 shows an operation flow of the second embodiment in the control method of the imaging apparatus according to the present invention. This flow shows the operation when the blurring process is selected by the user's operation during image reproduction.

システム制御部2は、再生中の画像ファイルのヘッダー情報から、付与されている距離情報を読み込む(step02−001)。   The system control unit 2 reads the assigned distance information from the header information of the image file being reproduced (step 02-001).

距離情報が無い場合(step02−002)、あるいは、正常値(≠−1)であるエリアの数nが所定の数N未満であった場合には(step02−003)、矩形の枠による主要被写体領域の判定を行う(step02−005〜007)。
但し、矩形の枠による主要被写体領域の判定方法は一例であり、その他の主要被写体領域の判定方法であっても良く、また、画角内の所定領域毎の被写体までの距離を測定して得られた距離情報以外の距離情報から主要被写体領域を判定する判定方法であっても良い。
When there is no distance information (step 02-002), or when the number n of normal areas (≠ −1) is less than a predetermined number N (step 02-003), the main subject is a rectangular frame. The area is determined (step 02-005 to 007).
However, the determination method of the main subject area using the rectangular frame is an example, and other main subject area determination methods may be used, and the main subject area may be determined by measuring the distance to the subject for each predetermined area within the angle of view. A determination method for determining a main subject region from distance information other than the obtained distance information may be used.

一方、距離情報があり、正常値(≠−1)であるエリアの数nが所定の数N以上であった場合には、距離情報を用いた主要被写体領域の判定を行う(step02−004)。   On the other hand, if the number n of areas having distance information and a normal value (≠ −1) is equal to or greater than a predetermined number N, the main subject region is determined using the distance information (step 02-004). .

主要被写体画像の抽出処理、背景画像のぼかし処理、合成処理は、第1の実施の形態と同じである(step02−008)。   The main subject image extraction process, background image blurring process, and composition process are the same as those in the first embodiment (step 02-008).

システム制御部2は、画像処理部4を制御して合成後の画像を圧縮し、圧縮された画像データを読み出し、さらにヘッダー情報を付加した後、記録メディアインターフェイス部7を通じて記録メディアへ8書き込む。   The system control unit 2 controls the image processing unit 4 to compress the combined image, reads the compressed image data, adds header information, and writes 8 to the recording medium through the recording medium interface unit 7.

本実施の形態においては、十分な距離情報が得られない場合に、全く距離情報を用いずに主要被写体領域の判定を行う場合の例について示したが、得られた距離情報を加味した方法であっても良い。   In the present embodiment, an example in which the main subject region is determined without using any distance information when sufficient distance information cannot be obtained has been described, but the obtained distance information is taken into account. There may be.

また、本実施の形態においては、十分な距離情報が得られない場合に、距離情報以外の情報(矩形座標位置)を用いた主要被写体領域の判定を行う場合の例について示したが、他の距離情報の取得手段を起動しても良い。   In the present embodiment, an example in which the main subject region is determined using information other than the distance information (rectangular coordinate position) when sufficient distance information cannot be obtained has been described. The distance information acquisition unit may be activated.

以上のように、本発明に係る撮像装置及び撮像装置の制御方法における上記第1の実施の形態及び第2の実施の形態によれば、特別なハードウェアや複雑な処理や操作を必要とせずに、背景と被写体とを適切に判定することが可能なである。   As described above, according to the first embodiment and the second embodiment of the imaging apparatus and the imaging apparatus control method according to the present invention, no special hardware, complicated processing, or operation is required. In addition, it is possible to appropriately determine the background and the subject.

本発明に係る撮像装置の一実施の形態における構成、及び撮像装置の接続機器の構成を示す概略図である。It is the schematic which shows the structure in one Embodiment of the imaging device which concerns on this invention, and the structure of the connection apparatus of an imaging device. 本発明に係る撮像装置の制御方法における第1の実施の形態の動作フローを示すブロック図である。It is a block diagram which shows the operation | movement flow of 1st Embodiment in the control method of the imaging device which concerns on this invention. 本発明に係る撮像装置の制御方法を説明する説明図である。It is explanatory drawing explaining the control method of the imaging device which concerns on this invention. 本発明に係る撮像装置の制御方法における距離情報の異常値を示す部分を説明する説明図である。It is explanatory drawing explaining the part which shows the abnormal value of distance information in the control method of the imaging device which concerns on this invention. 本発明に係る撮像装置の制御方法における主要被写体領域を指定するための矩形の枠表示を説明する説明図である。It is explanatory drawing explaining the rectangular frame display for designating the main subject area in the control method of the imaging device concerning the present invention. 本発明に係る撮像装置の制御方法における領域分割を説明する説明図である。It is explanatory drawing explaining the area division | segmentation in the control method of the imaging device which concerns on this invention. 本発明に係る撮像装置の制御方法における第2の実施の形態の動作フローを示すブロック図である。It is a block diagram which shows the operation | movement flow of 2nd Embodiment in the control method of the imaging device which concerns on this invention.

符号の説明Explanation of symbols

1 デジタルスチルカメラ装置
2 システム制御部
3 撮像部
4 画像処理部
5 表示制御部
6 LCD
7 記録メディアインターフェイス部
8 記録メディア
9 ハードキーインターフェイス部
10 通信インターフェイス部
11 PC
DESCRIPTION OF SYMBOLS 1 Digital still camera apparatus 2 System control part 3 Imaging part 4 Image processing part 5 Display control part 6 LCD
7 Recording media interface unit 8 Recording media 9 Hard key interface unit 10 Communication interface unit 11 PC

Claims (14)

画角内の所定領域毎の被写体までの距離を測定して距離情報を取得する測距手段と、
前記距離情報を用いて主要被写体領域を判定し、主要被写体領域を分離する第1の処理手段と、
前記距離情報以外の情報を用いて主要被写体領域を判定し、主要被写体領域を分離する第2の処理手段と、
前記第1の処理手段に対して十分な距離情報が得られたか否かを判定する距離情報判定手段と、
該距離情報判定手段の判定に基づき、
十分な距離情報が得られた場合には前記第1の処理手段により主要被写体領域を分離して、
十分な距離情報が得られなかった場合には前記第2の処理手段により主要被写体領域を分離する処理切替手段と、を具備することを特徴とする画像処理装置。
A distance measuring means for measuring distance to a subject for each predetermined area within an angle of view and acquiring distance information;
First processing means for determining a main subject area using the distance information and separating the main subject area;
Second processing means for determining a main subject area using information other than the distance information and separating the main subject area;
Distance information determination means for determining whether sufficient distance information has been obtained for the first processing means;
Based on the determination of the distance information determination means,
When sufficient distance information is obtained, the main subject area is separated by the first processing means,
An image processing apparatus, comprising: a process switching unit that separates a main subject area by the second processing unit when sufficient distance information is not obtained.
請求項1に記載の画像処理装置において、
前記第1の処理手段は、前記第2の処理手段よりも外部入力操作が少ないことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein the first processing unit has fewer external input operations than the second processing unit.
請求項1に記載の画像処理装置において、
前記第2の処理手段は、主要被写体を取り囲む矩形の座標位置を用いて主要被写体領域を判定することを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 2, wherein the second processing means determines a main subject area using a rectangular coordinate position surrounding the main subject.
請求項1に記載の画像処理装置において、
前記距離情報判定手段は、測距を行う事のできた領域の数に基づき判定することを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The distance information determining means is determined based on the number of areas in which ranging can be performed.
請求項1に記載の画像処理装置において、
前記第1の処理手段または前記第2の処理手段で主要被写体を判定した後、主要被写体以外の部分にぼかし処理を行うぼかし処理手段を備えることを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
An image processing apparatus comprising blur processing means for performing blur processing on a portion other than the main subject after the main processing object is determined by the first processing means or the second processing means.
被写体を撮像するための撮像素子と、
該撮像素子に被写体像を結像させる撮像レンズと、
該撮像レンズを移動させて焦点調節を行なう移動手段と
画像内の所定領域毎の合焦度を判定する合焦度判定手段と、
請求項1乃至5のいずれか1に記載の画像処理装置と、を具備する撮像装置であって、
前記合焦度判定手段は、前記レンズの各移動位置毎の合焦度を得て、該合焦度が最大となる合焦度最大レンズ位置を判定し、
前記測距手段は、前記合焦度最大レンズ位置から画像内の所定領域毎の被写体までの距離を測定して前記距離情報を取得することを特徴とする撮像装置。
An image sensor for imaging a subject;
An imaging lens for forming a subject image on the imaging device;
A moving means for adjusting the focus by moving the imaging lens; a focusing degree determining means for determining a focusing degree for each predetermined region in the image;
An image processing apparatus comprising: the image processing apparatus according to any one of claims 1 to 5;
The focusing degree determination means obtains a focusing degree for each moving position of the lens, determines a focusing degree maximum lens position at which the focusing degree is maximum,
The distance measuring means acquires the distance information by measuring a distance from the maximum focus degree lens position to a subject for each predetermined region in the image.
請求項1〜5のいずれか1に記載の画像処理装置を備えることを特徴とするデジタルスチルカメラ。   A digital still camera comprising the image processing apparatus according to claim 1. デジタルスチルカメラであることを特徴とする請求項6に記載の撮像装置。   The imaging apparatus according to claim 6, wherein the imaging apparatus is a digital still camera. 画角内の所定領域毎の被写体までの距離を測定して距離情報を取得する測距工程と、
前記距離情報を判定する距離情報判定工程と、
該距離情報判定工程の判定に基づき主要被写体領域を判定し、該主要被写体領域を分離する処理工程と、を備える画像処理方法であって、
前記処理工程は、前記距離情報を用いて主要被写体領域を判定する第1の処理工程と、
前記距離情報以外の情報を用いて主要被写体領域を判定する第2の処理工程と、
前記距離情報判定工程の判定に基づき、前記第1の処理工程と前記第2の処理工程を切り替える処理切替工程と、を有し、
前記距離情報判定工程は、前記第1の処理工程に対して十分な距離情報が得られたか否かを判定し、
前記処理切替工程は、前記距離情報判定工程の判定に基づき、
十分な距離情報が得られた場合には前記第1の処理工程に切り替え、
十分な距離情報が得られなかった場合には前記第2の処理工程に切り替えることを特徴とする画像処理方法。
A distance measuring step of measuring distance to a subject for each predetermined area within the angle of view and obtaining distance information;
A distance information determination step of determining the distance information;
A processing step of determining a main subject region based on the determination in the distance information determination step and separating the main subject region,
The processing step includes a first processing step of determining a main subject region using the distance information;
A second processing step of determining a main subject area using information other than the distance information;
A process switching step of switching between the first processing step and the second processing step based on the determination of the distance information determination step;
The distance information determination step determines whether sufficient distance information is obtained for the first processing step,
The process switching step is based on the determination in the distance information determination step.
If sufficient distance information is obtained, switch to the first processing step,
An image processing method characterized by switching to the second processing step when sufficient distance information is not obtained.
請求項9に記載の画像処理方法おいて、
前記第1の処理方法は、前記第2の処理方法よりも、外部入力操作が少ないことを特徴とする画像処理方法。
The image processing method according to claim 9,
The image processing method according to claim 1, wherein the first processing method has fewer external input operations than the second processing method.
請求項9に記載の画像処理方法において、
前記第2の処理工程は、主要被写体を取り囲む矩形の座標位置を用いて主要被写体領域を判定することを特徴とする画像処理方法。
The image processing method according to claim 9.
The second processing step is characterized in that a main subject area is determined using a rectangular coordinate position surrounding the main subject.
請求項9に記載の画像処理方法において、
前記距離情報判定工程は、測距を行う事のできた領域の数に基づき判定することを特徴とする画像処理方法。
The image processing method according to claim 9.
The image processing method according to claim 1, wherein the distance information determining step determines based on the number of areas in which ranging can be performed.
請求項9に記載の画像処理方法において、
前記第1の処理工程または前記第2の処理工程で主要被写体を判定した後、主要被写体以外の部分にぼかし処理を行うぼかし処理工程を備えることを特徴とする画像処理方法。
The image processing method according to claim 9.
An image processing method comprising: a blurring process step of blurring a portion other than the main subject after determining a main subject in the first processing step or the second processing step.
撮像レンズの移動により焦点調整を行って、画像内の所定領域毎の合焦度を判定する合焦度判定工程と、
前記撮像レンズにより撮像素子に被写体像を結像して被写体を撮像する撮像工程と、
請求項9乃至13のいずれか1に記載の画像処理方法と、を備える撮像装置の制御方法であって、
前記合焦度判定工程は、前記撮像レンズの各移動位置毎の合焦度を得て、合焦度が最大となる合焦度最大レンズ位置を判定し、
前記測距工程は、前記合焦度最大レンズ位置から画角内の所定領域毎の被写体までの距離を測定して前記距離情報を取得することを特徴とする撮像装置の制御方法。
A focus degree determination step of performing focus adjustment by moving the imaging lens and determining a focus degree for each predetermined region in the image;
An imaging step of imaging a subject by forming a subject image on an image sensor with the imaging lens;
An image processing method according to any one of claims 9 to 13, comprising:
The focusing degree determination step obtains a focusing degree for each moving position of the imaging lens, determines a focusing degree maximum lens position at which the focusing degree is maximum,
In the distance measuring step, the distance information is acquired by measuring a distance from the maximum focus degree lens position to a subject for each predetermined region within an angle of view.
JP2007217457A 2007-08-23 2007-08-23 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD Expired - Fee Related JP4866317B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007217457A JP4866317B2 (en) 2007-08-23 2007-08-23 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007217457A JP4866317B2 (en) 2007-08-23 2007-08-23 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2009055125A true JP2009055125A (en) 2009-03-12
JP4866317B2 JP4866317B2 (en) 2012-02-01

Family

ID=40505826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007217457A Expired - Fee Related JP4866317B2 (en) 2007-08-23 2007-08-23 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP4866317B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7978253B2 (en) 2007-07-18 2011-07-12 Ricoh Company, Ltd. Image pickup device using blur processing and control method thereof
US8194158B2 (en) 2007-07-27 2012-06-05 Ricoh Company, Ltd. Image processor, image processing method, digital camera, and imaging apparatus
JP2012178730A (en) * 2011-02-25 2012-09-13 Casio Comput Co Ltd Imaging apparatus, imaging method and program
CN103002212A (en) * 2011-09-15 2013-03-27 索尼公司 Image processor, image processing method, and computer readable medium
JP2014126803A (en) * 2012-12-27 2014-07-07 Canon Inc Image processing apparatus, image processing method, and image processing program
JP2014131187A (en) * 2012-12-28 2014-07-10 Canon Inc Imaging apparatus, control method of the same, and control program
JP2015040941A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Image-capturing device, control method therefor, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066199A (en) * 2005-09-01 2007-03-15 Canon Inc Image processor and image processing method
JP2007124282A (en) * 2005-10-28 2007-05-17 Nikon Corp Imaging apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066199A (en) * 2005-09-01 2007-03-15 Canon Inc Image processor and image processing method
JP2007124282A (en) * 2005-10-28 2007-05-17 Nikon Corp Imaging apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7978253B2 (en) 2007-07-18 2011-07-12 Ricoh Company, Ltd. Image pickup device using blur processing and control method thereof
US8194158B2 (en) 2007-07-27 2012-06-05 Ricoh Company, Ltd. Image processor, image processing method, digital camera, and imaging apparatus
JP2012178730A (en) * 2011-02-25 2012-09-13 Casio Comput Co Ltd Imaging apparatus, imaging method and program
CN103002212A (en) * 2011-09-15 2013-03-27 索尼公司 Image processor, image processing method, and computer readable medium
JP2013062761A (en) * 2011-09-15 2013-04-04 Sony Corp Image processor, image processing method, and program
JP2014126803A (en) * 2012-12-27 2014-07-07 Canon Inc Image processing apparatus, image processing method, and image processing program
JP2014131187A (en) * 2012-12-28 2014-07-10 Canon Inc Imaging apparatus, control method of the same, and control program
JP2015040941A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Image-capturing device, control method therefor, and program

Also Published As

Publication number Publication date
JP4866317B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US11039059B2 (en) Imaging capturing device and imaging capturing method
US7978253B2 (en) Image pickup device using blur processing and control method thereof
JP5036599B2 (en) Imaging device
EP2171685B1 (en) Image processor, image processing method, digital camera, and imaging apparatus
JP5124372B2 (en) Image processing apparatus, image processing method, and digital still camera
US8358350B2 (en) Imaging device and subject detection method
JP5029137B2 (en) Imaging apparatus and program
JP5950678B2 (en) Imaging apparatus, control method, and program
JP4866317B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2007221312A (en) Imaging apparatus
JP2016032181A (en) Image processing apparatus, image pickup device and image processing method
JP2008079193A (en) Digital camera
JP2007124399A (en) Image processing apparatus, electronic camera and image processing program
JP5117889B2 (en) Image processing apparatus and image processing method
JP2008054031A (en) Digital camera and display control method
JP2023033355A (en) Image processing device and control method therefor
JP2009092961A (en) Focusing position control device, focusing position control method, and focusing position control program
JP5289354B2 (en) Imaging device
JP2010119051A (en) Imaging device and imaging method
JP2010050874A (en) Image processing apparatus, image processing method and digital still camera
JP2014138378A (en) Image pickup device, control method thereof, and control program thereof
JP2009218709A (en) Image processing apparatus and image processing method
JP2008263386A (en) Still image pickup apparatus
JP2014179782A (en) Imaging device and image display method
JP2010050603A (en) Photographing device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111003

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

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

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

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4866317

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees