JP2008092046A - Camera capable of automatic composition extraction, and composition extraction program - Google Patents
Camera capable of automatic composition extraction, and composition extraction program Download PDFInfo
- Publication number
- JP2008092046A JP2008092046A JP2006267705A JP2006267705A JP2008092046A JP 2008092046 A JP2008092046 A JP 2008092046A JP 2006267705 A JP2006267705 A JP 2006267705A JP 2006267705 A JP2006267705 A JP 2006267705A JP 2008092046 A JP2008092046 A JP 2008092046A
- Authority
- JP
- Japan
- Prior art keywords
- composition
- image data
- composition extraction
- extraction
- automatic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、画像から良好な構図を抽出することが可能なカメラおよび構図抽出プログラムに関する。 The present invention relates to a camera and a composition extraction program that can extract a good composition from an image.
構図アドバイス機能を持ったカメラが知られている。例えば特許文献1に記載のものは、被写界の輝度分布等に基づいて構図の良否を判定し、構図不良と判断した場合に警告を出力するものである。 A camera having a composition advice function is known. For example, the device described in Patent Document 1 determines whether the composition is good or bad based on the luminance distribution of the object scene, and outputs a warning when it is determined that the composition is poor.
しかしながら、特許文献1のカメラを始めとする従来の構図アドバイスカメラは、構図不良の場合に単に警告したり、構図修正方向を示唆するだけのもので、良好な構図はあくまでも撮影者自身がカメラを動かして決める必要があり、その作業が面倒であった。 However, conventional composition advice cameras such as the camera of Patent Document 1 merely warn in the case of a composition failure or suggest a composition correction direction. It was necessary to move and decide, and the work was troublesome.
本発明に係る自動構図抽出が可能なカメラは、被写体を撮像して構図抽出対象画像データを得る撮像手段と、得られた構図抽出対象画像データを分析し、当該画像データ中の少なくとも1領域を良好構図領域として抽出する構図抽出手段と、抽出された構図領域内の画像データを最終画像データとして設定する設定手段とを具備することを特徴とする。
構図抽出対象画像データから最終画像データを切り出し、切り出した画像データを記録媒体に記録するようにしてもよい。あるいは、構図抽出対象画像データから最終画像データを切り出す旨の指示情報を当該構図抽出画像データに対応づけて記録するようにしてもよい。
構図抽出対象画像データに基づく画像を表示するとともに、抽出された構図領域を当該表示画像中に明示する表示手段を更に設けてもよい。
撮影者による撮影操作の前に得られた構図抽出対象画像データに対して上記構図領域の抽出を行い、撮影操作に伴う撮像によって得られた構図抽出対象画像データに対して上記最終画像データの設定を行うようにしてもよい。撮影操作に伴う撮像に先立ち、抽出された構図領域を対象として焦点調節および/または露出演算を行うようにしてもよい。
撮影者による撮影操作によって得られた構図抽出対象画像データに対して構図領域の抽出を行うようにしてもよい。
抽出された構図領域を対象としてホワイトバランス設定を行うようにしてもよい。
構図抽出手段により複数の構図領域が抽出された場合に、いずれかの構図領域を選択する選択手段を更に設けてもよい。
本発明に係る構図抽出プログラムは、コンピュータを、構図抽出対象画像データを分析し、当該画像データ中の少なくとも1領域を良好構図領域として抽出する構図抽出手段と、抽出された構図領域内の画像データを最終画像データとして保存する保存手段として機能させることを特徴とする。
The camera capable of automatic composition extraction according to the present invention has an imaging means for capturing a subject to obtain composition extraction target image data, and analyzing the obtained composition extraction target image data, and at least one region in the image data is analyzed. Composition extracting means for extracting as a good composition area and setting means for setting image data in the extracted composition area as final image data are provided.
The final image data may be cut out from the composition extraction target image data, and the cut-out image data may be recorded on a recording medium. Alternatively, instruction information for cutting out the final image data from the composition extraction target image data may be recorded in association with the composition extraction image data.
There may be further provided display means for displaying an image based on the composition extraction target image data and clearly indicating the extracted composition area in the display image.
The composition region extraction is performed on the composition extraction target image data obtained before the photographing operation by the photographer, and the final image data is set on the composition extraction target image data obtained by the imaging accompanying the photographing operation. May be performed. Prior to imaging associated with the shooting operation, focus adjustment and / or exposure calculation may be performed on the extracted composition area.
The composition area may be extracted from the composition extraction target image data obtained by the photographing operation by the photographer.
White balance may be set for the extracted composition area.
If a plurality of composition areas are extracted by the composition extraction means, a selection means for selecting any one of the composition areas may be further provided.
The composition extraction program according to the present invention comprises a computer that analyzes composition extraction target image data and extracts at least one region in the image data as a good composition region, and image data in the extracted composition region. Is stored as final image data.
本発明によれば、撮影者が特に構図に気を配ることなく良好な構図の画像を得ることが可能となる。 According to the present invention, it is possible for a photographer to obtain an image with a good composition without paying particular attention to the composition.
図1〜図6により本発明の一実施の形態を説明する。
図1は本実施形態における電子カメラのブロック図である。CPU51には、撮像部52、画像記録部53、表示部54、操作部55、メモリ56などが接続される。撮像部52は、撮影レンズ(不図示)の透過光束を受光して光電変換する撮像素子や、撮像素子の光電変換出力に種々の処理を施して画像データを生成する画像処理回路などを含む。生成された画像データは、コンピュータで扱うことが可能な画像ファイルとして、画像記録部53を介して記録媒体57に記録される。
An embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram of an electronic camera in the present embodiment. The
表示部54は、画像やメニュー画面等が表示可能な液晶モニタ等の表示装置と、その駆動回路から構成される。操作部55は、レリーズボタンを始めとする種々の操作部材およびそれらの操作に連動するスイッチ類から構成される。
The
CPU51は、予めメモリ56に格納された構図抽出プログラムを用い、撮像によって得られた画像データから良好な構図領域を自動抽出する。構図抽出プログラムのアルゴリズムは問わないが、例えば画像データの輝度分布に基づいて画像データ中の1または複数の被写体を認識し、三分割法や三角法などの論理に従い、被写体が好ましい位置に配置されるような構図領域を抽出することができる。また公知の顔認識技術を用い、画像データ中の人物を認識し、人物を中心とした構図となるような領域を抽出することも可能である。
The
図2は自動構図抽出の一例を示している。11は撮影者がカメラを構えることで決まる構図領域を示し、この構図領域中には、人物21およびその背後の額縁22が被写体として含まれている。しかし、人物21が中央に位置するいわゆる日の丸構図であるのに加え、右側の空間が不自然であり、優れた構図とはいえない。一方、12はCPU51が上記構図検出プログラムによって抽出した自動抽出構図領域である。この場合は、人物21および額縁22が主要な被写体とみなされ、その双方が三分割法に従った位置に配置される構図領域が抽出されている。この構図領域12は、日の丸構図ではなく、また不自然な空間もなく、一般的に優れているとされる構図である。
FIG. 2 shows an example of automatic composition extraction.
CPU51は、撮像によって得られた構図抽出対象画像データ(構図領域11内の画像データで)を表示部54に表示するとともに、自動抽出構図領域12を図2のように破線枠でスーパーインポーズ表示する。さらに、構図抽出対象画像データから自動抽出構図領域内の画像データを切り出し、切り出した画像データを最終的な撮影画像として記録媒体57に記録する。図3は図2の画像データから切り出された画像データを示している。
The
なお、自動抽出構図領域の縦横比については、これを構図抽出対象画像データの縦横比と必ず一致させる仕様としてもよいし、構図抽出対象画像データの縦横比には拘らない仕様でもよい。また、切り出した画像データを記録する際、構図抽出対象画像データもともに記録するようにしてもよい。 The aspect ratio of the automatic extraction composition area may be a specification that always matches the aspect ratio of the composition extraction target image data, or may be a specification that is not related to the aspect ratio of the composition extraction target image data. Further, when the cut out image data is recorded, the composition extraction target image data may be recorded together.
ここで、CPU51により構図が抽出された後に改めて撮像を行う場合は、自動抽出構図領域内の被写体にピントおよび露出が合うようにフォーカシングおよびAE演算を行うことが望ましい。また自動抽出構図領域は1つだけとは限らず、2以上の構図が抽出された場合は、その中からいずれかを選択できるようにすることが望ましい。図4は二人の人物が存在する例を示し、2つの構図領域12,13が抽出されている。
Here, when imaging is performed again after the composition is extracted by the
図5は上記の制御をソフト的に実現するための手順の一例を示している。
カメラの電源ONに伴ってCPU51がこのプログラムを起動し、ステップS1で撮像を行って画像データを得る。この画像データは、撮影者が決めた構図に応じた構図抽出対象画像データである。ステップS2では、構図抽出対象画像データに対し、上述したように構図の自動抽出を行う。ステップS3では、構図抽出対象画像データをスルー画として表示部54に表示すると同時に、自動抽出構図領域を点線枠で明示する。上記ステップS1〜S3の処理は、ステップS4でレリーズボタンの半押し操作が確認されるまで繰り返される。
FIG. 5 shows an example of a procedure for realizing the above control in software.
When the camera is turned on, the
なお、構図領域の自動抽出およびその表示は、カメラで構図自動抽出モードが設定されているときにのみ行われ、このモードが非設定の場合は通常の撮影となる。 Note that the composition area is automatically extracted and displayed only when the composition automatic extraction mode is set on the camera. When this mode is not set, normal shooting is performed.
半押し操作が確認されると、ステップS5で自動抽出構図領域からいずれか1つを選択する。自動抽出構図領域がもともと1つしかない場合は自ずとその構図が選択されるが、複数ある場合は、CPU51が所定のアルゴリズムに従って最良と判断されるものを選択するか、または撮影者が選択できるようにしてもよい。撮影者が選択する場合は、選択状態にある構図領域の枠をハイライト表示し、所定の選択操作のたびにハイライト枠を順次移動させるよう構成すればよい。この撮影者による構図の選択操作は、半押し操作の前に行い、CPU51は、その選択操作に応じてステップS5で構図領域の選択を行う。
If the half-press operation is confirmed, one of the automatically extracted composition areas is selected in step S5. If there is originally only one automatically extracted composition area, that composition is selected by itself. If there are a plurality of automatically extracted composition areas, the
ステップS6では、ステップS5で選択された構図領域内の被写体にピントが合うように撮影レンズのフォーカシングを行う。ステップS7では、選択された構図領域内の被写体に露出が合うように、当該構図領域内の輝度値に基づいてAE演算を行い、露出値(絞り値、シャッタ秒時)を求める。また、閃光発光の有無も当該領域内の輝度値に基づいて決定する。 In step S6, the photographing lens is focused so that the subject in the composition area selected in step S5 is in focus. In step S7, an AE calculation is performed based on the luminance value in the composition area so that the subject in the selected composition area is exposed, and an exposure value (aperture value, shutter speed) is obtained. Further, the presence or absence of flashing is also determined based on the luminance value in the area.
次に、ステップS8,S9のループでレリーズボタンの全押し操作(レリーズ操作)、または半押し操作解除を待つ。半押し解除が確認されるとステップS1に戻り、全押し操作が確認されるとステップS10に進む。ステップS10では、ステップS7で求めた露出値に基づいて絞りおよびシャッタを制御し、撮像を行う。閃光撮影の場合は、上記選択された構図領域に対して調光を行う。 Next, the release button is fully pressed (release operation) or half-pressed is released in a loop of steps S8 and S9. If the half-press release is confirmed, the process returns to step S1, and if the full-press operation is confirmed, the process proceeds to step S10. In step S10, the aperture and shutter are controlled based on the exposure value obtained in step S7, and imaging is performed. In the case of flash photography, light control is performed on the selected composition area.
ステップS11では、ステップS10での撮像によって得られた画像データ(構図抽出対象画像データ)に対し、最適なホワイトバランスを設定する。ステップS12では、ステップS10で得た構図抽出対象画像データから、上記選択された自動抽出構図領域内の画像データを切り出し、ステップS13では、切り出した画像データに対して最適なホワイトバランスを設定する。同時に階調補正や輪郭強調などの画像処理を行ってもよい。 In step S11, an optimal white balance is set for the image data (composition extraction target image data) obtained by imaging in step S10. In step S12, the image data in the selected automatic extraction composition area is cut out from the composition extraction target image data obtained in step S10. In step S13, an optimal white balance is set for the cut out image data. At the same time, image processing such as gradation correction and contour enhancement may be performed.
ステップS14では、上記構図抽出対象画像データおよび切り出した画像データの双方を画像ファイルとして記録媒体57に記録する。記録に際しては、切り出した画像データをそのまま記録するのではなく、構図抽出対象画像データと同等のサイズとなるように解像度変換(画素補間)して記録するようにしてもよい。
In step S14, both the composition extraction target image data and the cut-out image data are recorded in the
なお、自動抽出構図が複数ある場合にいずれか1つを選択可能な例を示したが、複数選択できるようにしてもよい。複数選択した場合は、1回のレリーズ操作で構図抽出対象画像データ以外に複数の画像データが得られる。 In addition, although the example which can select any one when there exist multiple automatic extraction composition was shown, you may enable it to select multiple. When a plurality of images are selected, a plurality of image data can be obtained in addition to the composition extraction target image data by a single release operation.
以上の実施形態では、レリーズ操作の前に自動構図抽出を行う例を示したが、レリーズ操作後の画像データに対して自動構図抽出を行う例を図6に示す。 In the above embodiment, an example in which automatic composition extraction is performed before the release operation is shown, but an example in which automatic composition extraction is performed on image data after the release operation is shown in FIG.
図6において、レリーズボタンの全押し操作(レリーズ操作)がなされると、CPU51によってこのプログラムが起動される。まずステップS51で撮像を行い、構図抽出対象画像データを得る。ステップS52では、構図抽出対象画像データに対して構図の自動抽出を行う。ステップS53では、構図抽出対象画像データを表示部54に表示すると同時に、自動抽出構図領域を点線枠で明示する。
In FIG. 6, when the release button is fully pressed (release operation), the
ステップS54では、撮影者によって構図選択操作がなされるのを待つ。自動抽出構図領域が複数ある場合は、いずれか1つまたは複数を選択できる。選択後、撮影者が「決定」の操作を行うと、ステップS55で選択された自動抽出構図領域内の画像データを切り出し、ステップS56で切り出した画像データ(1または複数)を記録媒体57に記録する。自動抽出構図領域が1つしかない場合は、ステップS54の処理をスキップしてもよい。
In step S54, the process waits for a composition selection operation by the photographer. When there are a plurality of automatic extraction composition areas, any one or a plurality can be selected. After the selection, when the photographer performs a “decision” operation, the image data in the automatic extraction composition area selected in step S55 is cut out, and the image data (one or more) cut out in step S56 is recorded in the
なお以上では、選択された自動抽出構図領域内の画像データを構図抽出対象画像データから切り出して記録する例を示したが、カメラは切り出しを行わず、代わりに切り出しを指示する情報を構図抽出対象画像データと対応づけて保存するようにしてもよい。これを実現するにあたっては、画像ファイルに添付される付加情報(例えば、Exif情報)を用いることができる。すなわちカメラは、選択された自動抽出構図領域の位置を示す情報(座標)を付加情報に追加し、この付加情報と構図抽出対象画像データとを組み合わせて画像ファイルを作成し、その画像ファイルを記録媒体57に記録する。なお、画像ファイルの記録に際して圧縮が行われるが、選択された自動抽出構図領域内の画像データが他と比べて高画質になるような圧縮方法を用いてもよい。例えばJPEG2000形式であれば、そのような圧縮方法が可能である。 In the above, an example in which image data in the selected automatic extraction composition area is cut out from the composition extraction target image data and recorded is shown. However, the camera does not cut out, and instead, information that instructs the extraction is included in the composition extraction target. You may make it preserve | save corresponding to image data. In realizing this, additional information attached to the image file (for example, Exif information) can be used. That is, the camera adds information (coordinates) indicating the position of the selected automatic extraction composition area to the additional information, creates an image file by combining the additional information and the composition extraction target image data, and records the image file. Recording on the medium 57. Although compression is performed when an image file is recorded, a compression method may be used in which the image data in the selected automatic extraction composition area has a higher image quality than others. For example, in the case of JPEG2000 format, such a compression method is possible.
上記カメラで記録された画像ファイルをコンピュータ等の外部機器に転送した際、外部機器に組み込んだソフトウェアが付加情報を読み取って自動抽出構図領域を認識し、その領域の画像データを切り出してハードディスク等に保存する。これによれば、カメラでは1回の撮影につき1画像ファイルのみ記録すればよいので、比較的小容量の記録媒体でも対応可能である。 When the image file recorded by the camera is transferred to an external device such as a computer, the software embedded in the external device reads the additional information to recognize the automatically extracted composition area, cuts out the image data in that area, and stores it on a hard disk or the like. save. According to this, since the camera only needs to record one image file for each shooting, it can be used with a recording medium having a relatively small capacity.
以上は電子カメラにて説明したが、上述の自動構図抽出機能(例えば、図6のステップS52〜S56の機能)をプログラムとして提供することで、パーソナルコンピュータ等においても上述と同様の処理を行える。この場合は、電子カメラから取り込んだ画像データの他に、ネットワークを介して入手した画像等も構図抽出対象画像データとなり得る。 Although the above has been described with reference to an electronic camera, by providing the above-described automatic composition extraction function (for example, the functions of steps S52 to S56 in FIG. 6) as a program, processing similar to that described above can be performed on a personal computer or the like. In this case, in addition to the image data captured from the electronic camera, an image obtained via a network can be composition extraction target image data.
11 構図領域
12,13 自動抽出構図領域
21,22 被写体
51 CPU
52 撮像部
53 画像記録部
54 表示部
55 操作部
56 メモリ
11
52
Claims (10)
前記得られた構図抽出対象画像データを分析し、当該画像データ中の少なくとも1領域を良好構図領域として抽出する構図抽出手段と、
前記抽出された構図領域内の画像データを最終画像データとして設定する設定手段とを具備することを特徴とする構図抽出が可能なカメラ。 Imaging means for capturing a subject and obtaining composition extraction target image data;
Composition extraction means for analyzing the obtained composition extraction target image data and extracting at least one region in the image data as a good composition region;
A camera capable of extracting a composition, comprising setting means for setting image data in the extracted composition area as final image data.
構図抽出対象画像データを分析し、当該画像データ中の少なくとも1領域を良好構図領域として抽出する構図抽出手段と、
前記抽出された構図領域内の画像データを最終画像データとして保存する保存手段として機能させることを特徴とする構図抽出プログラム。 Computer
Composition extracting means for analyzing composition extraction target image data and extracting at least one region in the image data as a good composition region;
A composition extraction program that functions as storage means for storing image data in the extracted composition area as final image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006267705A JP2008092046A (en) | 2006-09-29 | 2006-09-29 | Camera capable of automatic composition extraction, and composition extraction program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006267705A JP2008092046A (en) | 2006-09-29 | 2006-09-29 | Camera capable of automatic composition extraction, and composition extraction program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008092046A true JP2008092046A (en) | 2008-04-17 |
Family
ID=39375760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006267705A Pending JP2008092046A (en) | 2006-09-29 | 2006-09-29 | Camera capable of automatic composition extraction, and composition extraction program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008092046A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010147937A (en) * | 2008-12-19 | 2010-07-01 | Sharp Corp | Image processing apparatus |
KR20130120841A (en) * | 2012-04-26 | 2013-11-05 | 엘지전자 주식회사 | Image display apparatus and method for displaying image thereof |
US9264620B2 (en) | 2008-10-31 | 2016-02-16 | Samsung Electronics Co., Ltd. | Image photography apparatus and method for proposing composition based person |
-
2006
- 2006-09-29 JP JP2006267705A patent/JP2008092046A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9264620B2 (en) | 2008-10-31 | 2016-02-16 | Samsung Electronics Co., Ltd. | Image photography apparatus and method for proposing composition based person |
JP2010147937A (en) * | 2008-12-19 | 2010-07-01 | Sharp Corp | Image processing apparatus |
KR20130120841A (en) * | 2012-04-26 | 2013-11-05 | 엘지전자 주식회사 | Image display apparatus and method for displaying image thereof |
KR101952174B1 (en) * | 2012-04-26 | 2019-05-22 | 엘지전자 주식회사 | Image display apparatus and method for displaying image thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5025532B2 (en) | Imaging apparatus, imaging apparatus control method, and imaging apparatus control program | |
TW200808044A (en) | Imaging apparatus and computer readable recording medium | |
JP2009246558A (en) | Imaging apparatus, and method for controlling the same | |
JP2007236008A (en) | Camera with image display | |
JP5228354B2 (en) | Digital camera | |
JP5068690B2 (en) | Image recording apparatus and method | |
JP2006303961A (en) | Imaging apparatus | |
JP4725453B2 (en) | Digital camera and image processing program | |
JP4696614B2 (en) | Image display control device and program | |
JP2008199210A (en) | Photographing device and photographing method | |
JP5310076B2 (en) | Image processing apparatus and image processing program | |
JP2009070374A (en) | Electronic device | |
JP2008092046A (en) | Camera capable of automatic composition extraction, and composition extraction program | |
JP2010141609A (en) | Imaging apparatus | |
JP2010245613A (en) | Camera, display image control method and display image control program | |
JP2007142639A (en) | Imaging apparatus and program therefor | |
JP2008067168A (en) | Digital camera | |
JP2007028331A (en) | Image generating apparatus and program thereof | |
JP2012073512A (en) | Photographing device and program | |
JP2012049841A (en) | Imaging apparatus and program | |
JP5157528B2 (en) | Imaging device | |
JP2008048152A (en) | Moving picture processing apparatus, moving picture photographing apparatus and moving picture photographing program | |
JP5332668B2 (en) | Imaging apparatus and subject detection program | |
JP2006270488A (en) | Imaging apparatus and image processing method | |
JP2005328225A (en) | Digital camera |