JP2006270488A - Imaging apparatus and image processing method - Google Patents

Imaging apparatus and image processing method Download PDF

Info

Publication number
JP2006270488A
JP2006270488A JP2005085364A JP2005085364A JP2006270488A JP 2006270488 A JP2006270488 A JP 2006270488A JP 2005085364 A JP2005085364 A JP 2005085364A JP 2005085364 A JP2005085364 A JP 2005085364A JP 2006270488 A JP2006270488 A JP 2006270488A
Authority
JP
Japan
Prior art keywords
subject
image
focal length
information
image information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005085364A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Murakami
禎之 村上
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005085364A priority Critical patent/JP2006270488A/en
Publication of JP2006270488A publication Critical patent/JP2006270488A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus capable of easily and surely performing the processing of separating only a specified object from an image including a plurality of objects and preserving and outputting it. <P>SOLUTION: The imaging apparatus comprises: a CCD 41 capable of simultaneously imaging first and second objects; an image information acquisition means 51 for acquiring imaged image information; a focus distance information acquisition means 52 for respectively acquiring first focus distance information and second focus distance information; and an information composition means 53 for embedding the first and second focus distance information in the image information. Thus, since the first focus distance information and the second focus distance information can be embedded in the image information of the first and second objects imaged simultaneously by the CCD 41, image processing based on the first focus distance information and the second focus distance information, trimming processing of segmenting the first object or the second object or the like for instance, is easily and surely performed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、被写体を撮像(又は「撮影」という)するデジタル式の撮像装置に関し、特に、撮像された画像のトリミング(切り出し処理)機能を有する撮像装置に関する。また、撮像された画像の画像処理方法に関し、特に、撮像された画像のトリミングを行う画像処理方法に関する。   The present invention relates to a digital image pickup apparatus that picks up an image of a subject (or “shooting”), and more particularly, to an image pickup apparatus having a function of trimming (cutting out) a captured image. The present invention also relates to an image processing method for a captured image, and more particularly, to an image processing method for trimming a captured image.

被写体を撮像するデジタル式の撮像装置には、例えば、デジタルスチルカメラ(以下、「デジタルカメラ」という)や、撮像機能を備えた携帯用電話機(以下、「携帯電話」という)等があり、近年、このようなデジタル式の撮像装置が急速に普及しつつある。   Digital imaging devices that image a subject include, for example, a digital still camera (hereinafter referred to as “digital camera”), a portable telephone having an imaging function (hereinafter referred to as “mobile phone”), and the like. Such digital imaging devices are rapidly spreading.

デジタルカメラ(デジタル式撮像装置)では、撮像された画像は画像データ(デジタルデータ)に変換されてカメラ内部のメモリ、或いは着脱可能なICカード等の記録媒体(リムーバブルメディア)に記録される。こうして記録された画像(画像データ)は、カメラ付属の液晶モニタに表示させることができると共に、家庭用のパーソナルプリンタ等で印刷して鑑賞することができる。また、記録された画像データをパソコンに取り込み、インターネットを介して、取り込んだ画像データを電子メールで送信したり、プリントサービスサイトを経由して写真プリントの注文をしたりすることが可能である。   In a digital camera (digital imaging device), a captured image is converted into image data (digital data) and recorded in a memory inside the camera or a recording medium (removable medium) such as a removable IC card. The image (image data) thus recorded can be displayed on a liquid crystal monitor attached to the camera, and can be printed and viewed with a home personal printer or the like. It is also possible to capture the recorded image data into a personal computer, send the captured image data by e-mail via the Internet, and order a photo print via a print service site.

また、コンピュータ上で編集・出版作業を行うDTP(DeskTop Publishing)では、デジタルカメラで撮影された画像(画像データ)を使用するのが便利である。従来の銀塩カメラで撮影された写真画像を用いる場合、写真画像を電子化(デジタル化)する必要があった。すなわち、スキャナ装置を用いてリバーサルフィルム等の原稿から写真画像を読み取って、読み取った画像をデジタルの画像データに変換し、コンピュータに入力していた。しかし、デジタルカメラで撮影された画像(画像データ)は既にデジタル化されているので、スキャナ装置を用いる面倒な作業が不要である。   In addition, it is convenient to use an image (image data) taken with a digital camera in DTP (DeskTop Publishing) which performs editing / publishing work on a computer. When a photographic image taken with a conventional silver salt camera is used, it is necessary to digitize the photographic image. That is, a photographic image is read from an original such as a reversal film using a scanner device, and the read image is converted into digital image data and input to a computer. However, since the image (image data) taken by the digital camera has already been digitized, the troublesome work using the scanner device is not necessary.

また、DTP作業において、必要とされる画像は、画像全体ではなくてその一部分であることが多い。このため、画像全体から必要な部分の画像のみを切り出すトリミングが実施される。このトリミングの技術としては、矩形領域の位置やサイズの指定により、原稿上の必要な画像部分を予め設定してから、スキャナ装置により設定した部分の画像のみを原稿から読み取る技術が、従来からある。また、コンピュータにおいて、画像データに基づいてディスプレイに画像を表示させ、表示画面上に切り出しを行う矩形領域を描画させ、切り出しに必要な画像の位置とサイズとを設定し、画像データに対してトリミング処理を行うものもある。このような、コンピュータ等の画像処理装置を用いたトリミング処理に関する技術が、例えば、特許文献1に記載されている。   In DTP work, the required image is often a part of the image rather than the entire image. For this reason, trimming is performed to cut out only the necessary portion of the image from the entire image. As a trimming technique, there is a technique in which a necessary image portion on a document is set in advance by specifying the position and size of a rectangular area, and then only the image of the portion set by the scanner device is read from the document. . In addition, the computer displays an image on the display based on the image data, draws a rectangular area to be cut out on the display screen, sets the position and size of the image necessary for cutting, and trims the image data Some perform processing. A technique relating to such trimming processing using an image processing apparatus such as a computer is described in Patent Document 1, for example.

また、デジタルカメラの高性能・高機能化に伴い、画像処理・編集機能を有するデジタルカメラも登場しており、当該機能を有するデジタルカメラでは、トリミング処理を行うことも可能である。このようなトリミング機能を有するデジタルカメラは、例えば、特許文献2に記載されている。
特開2004−153513号公報 特開2004−172655号公報
Along with the high performance and high functionality of digital cameras, digital cameras having image processing / editing functions have also appeared, and digital cameras having such functions can also perform trimming processing. A digital camera having such a trimming function is described in Patent Document 2, for example.
JP 2004-153513 A JP 2004-172655 A

上記特許文献1に記載された画像処理装置は、表示手段に画像データに基づく画像を表示すると共に当該画像上に切り出し領域を表す枠を重ね合わせて表示し、前記画像上の予め定められた所定位置に前記切り出し領域を所定の縦横比の矩形となるように初期設定し、前記表示手段に表示された前記枠が表す前記切り出し領域の位置及びサイズの少なくとも一方の変更指示を受け付けると共に前記変更指示を受け付けた場合に当該変更指示に従って前記切り出し領域を変更し、前記画像データから前記切り出し領域内の画像部分を切り出した切り出し画像データを作成することを特徴としている。   The image processing apparatus described in Patent Document 1 displays an image based on image data on a display unit and displays a frame representing a cutout region on the image so as to overlap the image. The cutout area is initially set to be a rectangle having a predetermined aspect ratio at a position, and an instruction to change at least one of the position and size of the cutout area represented by the frame displayed on the display unit is received and the change instruction When the image is received, the cutout area is changed in accordance with the change instruction, and cutout image data obtained by cutting out an image portion in the cutout area from the image data is generated.

これにより、表示手段の画像上に、所定の縦横比の矩形となるように切り出し領域を表す枠が重ね合わされて表示され、この切り出し領域は、必要に応じて、切り出し領域の位置やサイズが変更され、画像データから当該切り出し領域内の画像部分を切り出した切り出し画像データが作成される。ここで、切り出し領域は、画像上の予め定められた所定位置、例えば画像の中央部などに初期設定されるので、初期状態では、表示手段には、画像データに基づく画像上の所定位置に切り出し領域を表す枠が表示される。したがって、前記所定位置を画像上の必要な部分があることが多い位置に予め定めておけば、切り出し領域の位置及びサイズのうち、少なくとも位置の変更(設定)を不要にすることができ、また、必要であっても微調整するだけで済むため、従来よりも切り出し領域を設定する際のユーザの作業負担を軽減することが可能である。   As a result, a frame representing the cutout area is superimposed and displayed on the image of the display means so as to be a rectangle with a predetermined aspect ratio, and the position and size of the cutout area can be changed as necessary. Then, cut-out image data obtained by cutting out the image portion in the cut-out area from the image data is created. Here, the cutout area is initially set at a predetermined position on the image, for example, at the center of the image, and therefore, in the initial state, the display means cuts out to a predetermined position on the image based on the image data. A frame representing the area is displayed. Therefore, if the predetermined position is determined in advance as a position where there is often a necessary part on the image, at least the position change (setting) of the position and size of the cutout area can be made unnecessary. Since it is only necessary to make fine adjustments even if necessary, it is possible to reduce the work burden on the user when setting the cutout region more than in the past.

また、上記特許文献2に記載されたデジタルカメラは、撮影された画像又は読み出された画像を画像表示手段に表示し、表示された画像中からトリミングする一部領域を指定する領域指定手段と、指定されたトリミング範囲を前記画像表示手段の画面上に提示させるトリミング範囲提示手段と、指定された前記トリミング範囲内の画像データの容量を算出する容量算出手段とを有し、算出された前記トリミング範囲内の画像データの容量を指定された前記トリミング範囲と共に前記画像表示手段に表示することを特徴としている。   In addition, the digital camera described in Patent Document 2 includes a region designation unit that displays a captured image or a read image on an image display unit, and that specifies a partial region to be trimmed from the displayed image. The trimming range presenting means for presenting the designated trimming range on the screen of the image display means; and the capacity calculating means for calculating the capacity of the image data within the designated trimming range, The image data capacity within the trimming range is displayed on the image display means together with the designated trimming range.

これにより、ユーザは、画像全体の中からトリミングによって切り出される画像範囲を容易に把握することができると共に、トリミングによって生成される画像の画像データの大きさ(容量)を事前に知ることができる。この結果、簡単な操作でトリミングを行うことが可能となり、また、トリミング範囲と画像データの容量をリアルタイムで比較検討することができるので、トリミング範囲の決定に有効である。   Thus, the user can easily grasp the image range cut out from the entire image and can know in advance the size (capacity) of the image data of the image generated by the trimming. As a result, trimming can be performed with a simple operation, and the trimming range and the capacity of the image data can be compared in real time, which is effective in determining the trimming range.

しかし、上記特許文献1に記載された画像処理装置、及び、上記特許文献2に記載されたデジタルカメラのいずれも、矩形に形成された領域を画像全体から切り出すトリミングであって、画像上に示される特定の被写体をトリミングするものではない。すなわち、複数の被写体を含む画像から特定の被写体のみを切り出す場合、この特定の被写体を含む矩形領域を切り出すことはできるが、切り出された領域はあくまでも矩形をしており、特定の被写体の形状に基づいた切り出しはできない。また、特定の被写体の形状に基づいた切り出し処理を実施しようとすれば、大変面倒な作業を繰り返し行う必要がある。   However, both the image processing apparatus described in Patent Document 1 and the digital camera described in Patent Document 2 are trimmings that cut out a region formed in a rectangle from the entire image, and are shown on the image. It does not trim a specific subject. That is, when only a specific subject is cut out from an image including a plurality of subjects, a rectangular region including the specific subject can be cut out, but the cut out region is only a rectangle and has the shape of the specific subject. Cutting based on this is not possible. Further, if it is attempted to perform the clipping process based on the shape of a specific subject, it is necessary to repeat a very troublesome work.

本発明は、上記のような種々の課題に鑑みなされたものであり、その目的は、複数の被写体を含む画像から特定の被写体のみを分離して保存や出力する処理を、容易且つ確実に行うことが可能な撮像装置を提供することにある。また、複数の被写体を含む画像から特定の被写体のみを分離して保存や出力する処理を、容易且つ確実に実施することが可能な画像処理方法を提供することにある。   The present invention has been made in view of the various problems as described above, and an object of the present invention is to easily and reliably perform a process of separating and storing and outputting only a specific subject from an image including a plurality of subjects. An object of the present invention is to provide an imaging device that can perform the above-described operation. It is another object of the present invention to provide an image processing method capable of easily and reliably performing processing for separating and storing and outputting only a specific subject from an image including a plurality of subjects.

上記目的達成のため、本発明の撮像装置では、第1の被写体と第2の被写体とを同時に撮像可能な撮像手段と、前記撮像手段により撮像された前記第1の被写体と第2の被写体との画像情報を取得する画像情報取得手段と、前記第1の被写体の焦点距離に関する第1の焦点距離情報と前記第2の被写体の焦点距離に関する第2の焦点距離情報とをそれぞれ取得する焦点距離情報取得手段と、前記画像情報に前記第1及び第2の焦点距離情報を埋め込む情報処理手段と、を有することを特徴としている。これにより、撮像手段により同時に撮像された第1の被写体と第2の被写体との画像情報に、第1の焦点距離情報と第2の焦点距離情報とを埋め込むことができるので、当該第1及び第2の焦点距離情報に基づく画像処理、例えば、第1の被写体又は第2の被写体を切り出すトリミング処理等を、容易且つ確実に行うことが可能である。   In order to achieve the above object, in the imaging apparatus of the present invention, an imaging unit capable of simultaneously imaging a first subject and a second subject, the first subject and the second subject captured by the imaging unit, Image information acquisition means for acquiring the image information, and first focal length information relating to the focal length of the first subject and second focal length information relating to the focal length of the second subject. It has an information acquisition means and an information processing means for embedding the first and second focal length information in the image information. Accordingly, the first focal length information and the second focal length information can be embedded in the image information of the first subject and the second subject that are simultaneously imaged by the imaging unit. Image processing based on the second focal length information, for example, trimming processing for cutting out the first subject or the second subject can be easily and reliably performed.

また、本発明の撮像装置では、前記第1及び第2の焦点距離情報の相違に基づいて、前記第1の被写体の画像又は第2の被写体の画像を分離する分離手段を、更に、有することを特徴としている。これにより、前記撮像手段により同時に撮像された第1の被写体と第2の被写体との画像から、第1の被写体又は第2の被写体の画像のみを分離する処理を、容易に且つ確実に行うことが可能である。   Further, the imaging apparatus of the present invention further includes a separating unit that separates the image of the first subject or the image of the second subject based on the difference between the first and second focal length information. It is characterized by. Accordingly, the process of separating only the first subject image or the second subject image from the first subject image and the second subject image simultaneously captured by the imaging unit is easily and reliably performed. Is possible.

また、本発明の撮像装置では、前記分離手段は、更に、近似色による認識機能、又は、直線若しくは曲線認識機能の少なくとも一つを補完的に用いて、前記第1の被写体の画像又は第2の被写体の画像を分離することを特徴としている。これにより、前記分離手段は、より正確に、前記第1の被写体又は第2の被写体の画像を分離することが可能である。   In the imaging apparatus according to the aspect of the invention, the separation unit may further use at least one of a recognition function using approximate colors or a straight line or curve recognition function in a complementary manner, and the image of the first subject or the second object. It is characterized by separating images of subjects. Thereby, the separation means can separate the image of the first subject or the second subject more accurately.

更に、本発明の撮像装置では、前記第1及び第2の焦点距離情報が埋め込まれた前記画像情報を保存する保存手段、又は、出力する出力手段の少なくとも一つを有することを特徴としている。これにより、前記第1の被写体の画像情報と第2の被写体の画像情報とを一体若しくは分離された状態で、保存及び/又は出力することが可能である。   Furthermore, the image pickup apparatus of the present invention is characterized by having at least one of storage means for storing the image information in which the first and second focal length information is embedded, or output means for outputting. As a result, the image information of the first subject and the image information of the second subject can be stored and / or output in a state of being integrated or separated.

また、本発明の画像処理方法では、第1の被写体と第2の被写体とを含む画像における画像処理方法において、前記第1の被写体の焦点距離と前記第2の被写体の焦点距離との相違に基づいて、前記第1の被写体と前記第2の被写体とをそれぞれ認識する認識工程と、前記認識工程において認識された一方の被写体を分離し、選択的に別個の画像情報として保存する保存処理工程、又は、選択的に別個の画像情報として出力する出力処理工程のいずれか一方の工程と、を含むことを特徴としている。   According to the image processing method of the present invention, in the image processing method for an image including the first subject and the second subject, the difference between the focal length of the first subject and the focal length of the second subject. A recognition process for recognizing each of the first subject and the second subject, and a storage processing step for separating one of the subjects recognized in the recognition step and selectively storing them as separate image information. Or any one of output processing steps for selectively outputting as separate image information.

これにより、第1の被写体と第2の被写体とを含む画像から、前記第1の被写体の焦点距離と前記第2の被写体の焦点距離との相違に基づいて、前記第1及び第2の被写体をそれぞれ別々に認識でき、認識された一方の被写体を分離し、選択的に別個の画像情報として保存や出力できるので、複数の被写体を含む画像から特定の被写体のみを切り出して保存や出力するトリミング処理を、容易且つ確実に実施することが可能である。   Thus, based on the difference between the focal length of the first subject and the focal length of the second subject from the image including the first subject and the second subject, the first and second subjects. Can be recognized separately, and one recognized subject can be separated and selectively saved and output as separate image information, so that only a specific subject can be cut out from an image containing multiple subjects and saved or output. It is possible to carry out the processing easily and reliably.

以下、本発明に係る撮像装置及び画像処理方法の一実施形態として、撮像装置の1つであるデジタルカメラについて、図1乃至図6を参照しながら説明する。なお、以下に説明する実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, as an embodiment of an imaging apparatus and an image processing method according to the present invention, a digital camera which is one of imaging apparatuses will be described with reference to FIGS. The embodiments described below do not limit the invention according to the claims, and all the combinations of features described in the embodiments are not necessarily essential to the solution means of the invention. Absent.

図1は、本発明に係る撮像装置としてのデジタルカメラ10の外観を示す正面図である。図2は同平面図、図3は同背面図である。図1〜3を参照して、先ず、デジタルカメラ10の概略について説明する。   FIG. 1 is a front view showing an appearance of a digital camera 10 as an imaging apparatus according to the present invention. 2 is a plan view of the same, and FIG. 3 is a rear view of the same. First, an outline of the digital camera 10 will be described with reference to FIGS.

デジタルカメラ10の正面には、図1に示すように、撮影レンズ12、ファインダ窓14、焦点距離検出センサ15、ストロボ16、ストロボ調光センサ18等が配設されている。また、デジタルカメラ10の内部で、撮影レンズ12の結像位置には、図1には図示しない撮像素子(以下、「CCD」という)41(図4参照)が配設されている。焦点距離検出センサ15は、赤外線等を照射し、被写体に反射して戻ってきた赤外線等を検出し、被写体の焦点距離を検出する。   As shown in FIG. 1, a photographing lens 12, a finder window 14, a focal length detection sensor 15, a strobe 16, a strobe light control sensor 18, and the like are disposed on the front of the digital camera 10. In addition, an imaging element (hereinafter referred to as “CCD”) 41 (see FIG. 4) (not shown in FIG. 1) is disposed in the imaging position of the taking lens 12 inside the digital camera 10. The focal length detection sensor 15 irradiates infrared rays or the like, detects infrared rays or the like reflected and returned to the subject, and detects the focal length of the subject.

次に、デジタルカメラ10の上面には、図2に示すように、シャッタボタン22、電源スイッチ24、ズーム拡大ボタン26、ズーム縮小ボタン28が配設されている。シャッタボタン22は2段階式に構成され、シャッタボタン22を軽く押して止める「半押し」の状態で自動ピント合わせ(AF)及び自動露出制御(AE)が作動してAFとAEをロックし、「半押し」から更に押し込む「全押し」することで後述する撮影(撮像)が行われる。   Next, as shown in FIG. 2, a shutter button 22, a power switch 24, a zoom enlarge button 26, and a zoom reduce button 28 are disposed on the upper surface of the digital camera 10. The shutter button 22 is configured in a two-stage manner, and the automatic focusing (AF) and automatic exposure control (AE) are activated in a “half-pressed” state in which the shutter button 22 is lightly pressed and stopped to lock AF and AE. Shooting (imaging), which will be described later, is performed by further pressing from “half press” to “full press”.

ズーム拡大ボタン26、ズーム縮小ボタン28は、後述するように、操作基板47と絞り制御部45とを介して撮影レンズ12に接続され(図4参照)、ズーム拡大ボタン26、ズーム縮小ボタン28を押圧操作することによって、所定範囲内の任意の撮影倍率に調節することが可能である。   As will be described later, the zoom enlargement button 26 and the zoom reduction button 28 are connected to the taking lens 12 via the operation board 47 and the aperture control unit 45 (see FIG. 4). By performing the pressing operation, it is possible to adjust to an arbitrary photographing magnification within a predetermined range.

次に、デジタルカメラ10の背面には、図3に示すように、文字表示部35、液晶表示部(以下、「LCD」という)38、モードスイッチ30、十字カーソルボタン32、ファインダ34等が配設されている。   Next, as shown in FIG. 3, a character display unit 35, a liquid crystal display unit (hereinafter referred to as “LCD”) 38, a mode switch 30, a cross cursor button 32, a finder 34, and the like are arranged on the back of the digital camera 10. It is installed.

文字表示部35は、カメラの状態や撮影モード等に関する情報(いわば撮影ステータス)を表示するものであり、例えば、内蔵されている図示しないバッテリの残量チェック表示、撮影可能コマ数の表示、ストロボ発光有無の表示等が行われる。また、文字表示部35の横には、ストロボ発光の有無を設定するストロボボタン36や、マクロ撮影を設定するマクロボタン37が配設されている。   The character display unit 35 displays information on the camera state, shooting mode, etc. (so-called shooting status). For example, a built-in battery remaining amount check display (not shown), the number of frames that can be shot, a flash Display of the presence or absence of light emission is performed. Further, a strobe button 36 for setting the presence or absence of strobe light emission and a macro button 37 for setting macro photography are arranged beside the character display portion 35.

LCD38は、主として画像を表示するもので、撮影時に撮影したい画像の確認ができるように、撮影レンズ12にて撮影された画像(スルー動画)を表示し、また、デジタルカメラ10に装填された後述するメモリカード74から記録済みの画像を読み出して再生表示する。   The LCD 38 mainly displays an image. The LCD 38 displays an image (through video) photographed by the photographing lens 12 so that an image desired to be photographed can be confirmed at the time of photographing. The recorded image is read from the memory card 74 to be reproduced and displayed.

モードスイッチ30は、十字カーソルボタン32の外周に配置されたリング部材からなり、時計回転方向及び反時計回転方向の両方向に回動自在となっている。このモードスイッチ30は、カメラの機能(モード)を変更等するもので、このモードスイッチ30を回動操作することにより、例えば、撮影を行う撮影モード、撮影した画像の再生を行う再生モード、デジタルカメラ10の各種設定の登録・変更等をする設定モードの選択を行うことができる。   The mode switch 30 is formed of a ring member disposed on the outer periphery of the cross cursor button 32, and is rotatable in both the clockwise direction and the counterclockwise direction. The mode switch 30 changes the function (mode) of the camera. By rotating the mode switch 30, for example, a shooting mode for shooting, a playback mode for playing back a shot image, and digital A setting mode for registering / changing various settings of the camera 10 can be selected.

十字カーソルボタン32は、中央のボタンと、上下左右のいずれかの縁部に配設されたキー(上/下/左/右キー)とを備える。十字カーソルボタン32は、上/下/左/右キーを押圧することによって十字カーソルボタン32が傾き、対応する4方向(上、下、右、左)の指示を入力でき、また、中央のボタンを押圧することによっても入力ができる。この十字カーソルボタン32は、前述した設定モードの各種設定項目の選択や、設定内容の変更、再生コマの送り/戻しを指示する操作ボタンとして使用される。また、これに加えて十字カーソルボタン32は、後述するトリミング処理部60(図4参照)の操作部としても用いられ、トリミングしたい被写体を指し示すカーソルを、上/下/左/右キーの押圧された4方向(上、下、右、左)に応じて移動させて、被写体の選択を行うことができる。   The cross cursor button 32 includes a center button and keys (up / down / left / right keys) arranged on any one of the upper, lower, left and right edges. The cross cursor button 32 tilts when the up / down / left / right key is pressed, and can input instructions in the corresponding four directions (up, down, right, left). Input is also possible by pressing. The cross cursor button 32 is used as an operation button for instructing selection of various setting items in the above-described setting mode, change of setting contents, and forwarding / returning of playback frames. In addition to this, the cross cursor button 32 is also used as an operation unit of a trimming processing unit 60 (see FIG. 4), which will be described later, and the cursor pointing to the subject to be trimmed is pressed by the up / down / left / right keys. The subject can be selected by moving according to four directions (up, down, right, left).

また、デジタルカメラ10の側面には、記録媒体としてのメモリカード74(図4参照)が挿入されるメモリスロット19(図1、図3参照)が配設されている。本実施形態におけるデジタルカメラ10では、内蔵されたカードリーダ/ライタ装置73(図4参照)によって、撮影された画像(画像情報)がメモリカード74に記録されて保存されるほか、メモリカード74に記録保存されている画像(画像情報)を、デジタルカメラ10に読み出すことも可能である。   A memory slot 19 (see FIGS. 1 and 3) into which a memory card 74 (see FIG. 4) as a recording medium is inserted is disposed on the side surface of the digital camera 10. In the digital camera 10 according to the present embodiment, a captured image (image information) is recorded and stored in the memory card 74 by the built-in card reader / writer device 73 (see FIG. 4). It is also possible to read out the recorded image (image information) to the digital camera 10.

次に、上記デジタルカメラ10の内部構成(制御部)とその機能について、図4を参照して説明する。図4は、デジタルカメラ10の内部構成(制御部)とその機能とを示したブロック図である。   Next, an internal configuration (control unit) of the digital camera 10 and its function will be described with reference to FIG. FIG. 4 is a block diagram showing an internal configuration (control unit) of the digital camera 10 and its function.

デジタルカメラ10の制御部は、主として、操作基板47、CPU40、画像情報処理部50、トリミング処理部60、メモリ(DRAM)70等から構成されている。   The control unit of the digital camera 10 mainly includes an operation board 47, a CPU 40, an image information processing unit 50, a trimming processing unit 60, a memory (DRAM) 70, and the like.

操作基板47は、図1〜3に示した各種操作部のそれぞれと回路接続されており、撮影者によるこれら操作部の操作(例えば、シャッタボタン22の押圧操作やモードスイッチ30の回転操作等)に基づいて、操作基板47からCPU40に信号が出力される。すなわち、操作基板47は、図4に示すように、シャッタボタン22、ズーム拡大ボタン26、ズーム縮小ボタン28、十字カーソルボタン32にそれぞれ接続され、また、絞り制御部45を介して撮影レンズ12に接続されている。前述したように、ズーム拡大ボタン26、ズーム縮小ボタン28を押圧操作することにより、絞り制御部45が撮影レンズ12を構成する図示しないフォーカスレンズとズームレンズとを制御することにより所望の撮影倍率に調節が可能である。このように、シャッタボタン22、ズーム拡大ボタン26、ズーム縮小ボタン28、十字カーソルボタン32の押圧操作によって、各ボタンに対応した指示信号が操作基板47からCPU40に出力される。   The operation board 47 is circuit-connected to each of the various operation units shown in FIGS. 1 to 3, and operations of these operation units by the photographer (for example, pressing operation of the shutter button 22 and rotation operation of the mode switch 30). Based on the above, a signal is output from the operation board 47 to the CPU 40. That is, as shown in FIG. 4, the operation board 47 is connected to the shutter button 22, the zoom enlargement button 26, the zoom reduction button 28, and the cross cursor button 32, and is connected to the photographing lens 12 via the aperture control unit 45. It is connected. As described above, when the zoom enlargement button 26 and the zoom reduction button 28 are pressed, the aperture control unit 45 controls the focus lens and the zoom lens (not shown) constituting the photographing lens 12 to obtain a desired photographing magnification. Adjustment is possible. As described above, by pressing the shutter button 22, the zoom enlargement button 26, the zoom reduction button 28, and the cross cursor button 32, an instruction signal corresponding to each button is output from the operation board 47 to the CPU 40.

CPU40は、操作基板47からの指示信号の入力に基づいて、画像情報処理部50に制御信号を出力すると共に、デジタルカメラ10における各種データの処理を集中的に行っている。すなわち、CPU40は、焦点距離演算部46、画像情報処理部50、トリミング処理部60等と一体となって後述する各処理を行い、更に、各回路を総括的に制御している。   The CPU 40 outputs a control signal to the image information processing unit 50 based on the input of the instruction signal from the operation board 47, and intensively processes various data in the digital camera 10. That is, the CPU 40 performs each process described later integrally with the focal distance calculation unit 46, the image information processing unit 50, the trimming processing unit 60, and the like, and further controls each circuit comprehensively.

撮像素子としてのCCD41は、撮影レンズ12から取り込まれて結像された被写体光を、入射光量に応じた量の信号電荷に変換する。この信号電荷は電圧信号(画像信号)として順次CCD41から読み出されて、アナログ信号処理部42に送信される。なお、撮像素子としてはこのようなCCDに限らず、CMOSイメージセンサー等を用いてもよい。   The CCD 41 as an image sensor converts the subject light captured and imaged from the photographing lens 12 into a signal charge having an amount corresponding to the amount of incident light. The signal charges are sequentially read from the CCD 41 as voltage signals (image signals) and transmitted to the analog signal processing unit 42. The image sensor is not limited to such a CCD, and a CMOS image sensor or the like may be used.

アナログ信号処理部42は、CCD41から送信された画像信号にサンプリングやホワイトバランス調整等の所要のアナログ処理を施す。そして、アナログ処理された画像信号は、A/D変換部43によって画像データ(デジタルデータ)に変換され、画像情報処理部50に出力される。なお、上記CCD41、アナログ信号処理部42、及び、A/D変換部43は、タイミングジェネレータ(T/G)48からのタイミング信号に同期して動作している。   The analog signal processing unit 42 performs necessary analog processing such as sampling and white balance adjustment on the image signal transmitted from the CCD 41. The analog-processed image signal is converted into image data (digital data) by the A / D conversion unit 43 and output to the image information processing unit 50. The CCD 41, the analog signal processing unit 42, and the A / D conversion unit 43 operate in synchronization with the timing signal from the timing generator (T / G) 48.

焦点距離演算部46は、CCD41及び絞り制御部45からの信号に基づいて焦点距離データ(デジタルデータ)を生成する。すなわち、絞り制御部45は、図4に示すように、焦点距離検出センサ15に接続されており、焦点距離検出センサ15によって検出された焦点距離に関する信号を焦点距離演算部46に送信する。本実施形態では、CCD41における所定の画素(例えば、100画素の間隔を有して配置された画素)に対応した焦点距離が焦点距離検出センサ15により検出され、焦点距離演算部46がこの所定の画素に対応した焦点距離データを生成し、この焦点距離データを画像情報処理部50に出力する。   The focal length calculation unit 46 generates focal length data (digital data) based on signals from the CCD 41 and the aperture control unit 45. That is, as shown in FIG. 4, the aperture control unit 45 is connected to the focal length detection sensor 15, and transmits a signal related to the focal length detected by the focal length detection sensor 15 to the focal length calculation unit 46. In the present embodiment, a focal length corresponding to a predetermined pixel (for example, a pixel arranged with an interval of 100 pixels) in the CCD 41 is detected by the focal length detection sensor 15, and the focal length calculation unit 46 performs the predetermined distance calculation. Focal length data corresponding to the pixel is generated, and the focal length data is output to the image information processing unit 50.

画像情報処理部50は、A/D変換部43から出力された画像データと、焦点距離演算部46から出力された焦点距離データとを合成して、焦点距離情報が埋め込まれた画像情報を生成する。すなわち、画像情報処理部50は、図4(右中央部)に示すように、画像情報取得手段51と、焦点距離情報取得手段52と、情報合成手段53とを備えている。画像情報取得手段51は、A/D変換部43から出力された画像データに、必要に応じてガンマ補正等のデジタル処理を施した後、合成可能な画像情報を取得する。焦点距離情報取得手段52は、焦点距離演算部46から出力された焦点距離データを補正等するデジタル処理を施した後、合成可能な焦点距離情報を取得する。情報合成手段53は、画像情報取得手段51により取得された画像情報に、焦点距離情報取得手段52により取得された焦点距離情報を埋め込んで、合成画像情報を生成する。   The image information processing unit 50 combines the image data output from the A / D conversion unit 43 and the focal length data output from the focal length calculation unit 46 to generate image information in which the focal length information is embedded. To do. That is, the image information processing unit 50 includes an image information acquisition unit 51, a focal length information acquisition unit 52, and an information composition unit 53, as shown in FIG. The image information acquisition means 51 acquires image data that can be combined after performing digital processing such as gamma correction on the image data output from the A / D converter 43 as necessary. The focal length information acquisition unit 52 performs digital processing such as correction of the focal length data output from the focal length calculation unit 46, and acquires focal length information that can be combined. The information synthesizing unit 53 embeds the focal length information acquired by the focal length information acquiring unit 52 in the image information acquired by the image information acquiring unit 51 to generate combined image information.

メモリカード74は、合成画像情報を記録保存する着脱可能な記録媒体である。モードスイッチ30(図3参照)を撮影モードとし、シャッタボタン22(図2参照)の押圧操作による記録指示入力があると、CPU40から画像情報処理部50に制御信号が出力され、CCD41から1コマ分の画像データが画像情報処理部50に読み込まれ、画像情報処理部50にて前述した各処理が施された後、合成画像情報がメモリ(RAM)70に書き込まれる。メモリ(RAM)70に書き込まれた合成画像情報は圧縮伸張回路72によって圧縮処理され、カードリーダ/ライタ装置73によってメモリカード74に記録保存される。   The memory card 74 is a detachable recording medium that records and stores the composite image information. When the mode switch 30 (see FIG. 3) is set to the shooting mode and a recording instruction is input by pressing the shutter button 22 (see FIG. 2), a control signal is output from the CPU 40 to the image information processing unit 50, and one frame is output from the CCD 41. Minute image data is read into the image information processing unit 50, and after the processing described above is performed in the image information processing unit 50, the composite image information is written into the memory (RAM) 70. The composite image information written in the memory (RAM) 70 is compressed by the compression / decompression circuit 72 and is recorded and stored in the memory card 74 by the card reader / writer device 73.

LCD38は、前述したように、撮影レンズ12にて撮影されている画像(スルー動画)を表示する。すなわち、モードスイッチ30を撮影モードにすると、画像情報処理部50にはCCD41から画像データが連続して読み込まれ、画像情報取得手段51によりデジタル処理を施された画像情報が、表示メモリ80に書き込まれる。表示メモリ80の画像情報は順次新しく読み込まれた画像情報によって書き換えられ、これによりLCD38にてスルー動画が表示される。なお、LCD38に表示される画像は撮影者に把握できればよいので、一般にパソコン等で用いられる液晶モニタと比較して、画素数の少ないもの(解像度の低いもの)が用いられる。これに伴い、表示メモリ80に書き込まれる画像情報も同様に解像度の低いものが用いられている。   As described above, the LCD 38 displays an image (through moving image) photographed by the photographing lens 12. That is, when the mode switch 30 is set to the shooting mode, image data is continuously read from the CCD 41 into the image information processing unit 50, and image information digitally processed by the image information acquisition unit 51 is written into the display memory 80. It is. The image information in the display memory 80 is sequentially rewritten with the newly read image information, whereby a through moving image is displayed on the LCD 38. Since the image displayed on the LCD 38 only needs to be grasped by the photographer, an image having a smaller number of pixels (having a lower resolution) than that of a liquid crystal monitor generally used in a personal computer or the like is used. Accordingly, the image information written in the display memory 80 is similarly used with low resolution.

また、LCD38は、前述したように、メモリカード74に記録保存されている画像(画像情報)も表示することができる。すなわち、モードスイッチ30を再生モードとし、所定の操作によってメモリカード74に記録されたいずれかの画像情報の再生を指定すると、その画像情報がメモリカード74からカードリーダ/ライタ装置73によって読み出され、圧縮伸張回路72によって伸張処理された後、画像情報処理部50にてデジタル処理が行われ、表示メモリ80を介してLCD38に表示される。
次に、本発明の特徴部分の一部を構成するトリミング処理について説明する。なお、本明細書中、トリミングとは、複数の被写体を含む全体画像から、特定の被写体のみを分離することを主に意味し、更に、分離された被写体の画像情報を記録保存又は出力することを含む場合もある。
The LCD 38 can also display an image (image information) recorded and stored in the memory card 74 as described above. That is, when the mode switch 30 is set to the reproduction mode and reproduction of any image information recorded on the memory card 74 is designated by a predetermined operation, the image information is read from the memory card 74 by the card reader / writer device 73. After being decompressed by the compression / decompression circuit 72, digital processing is performed by the image information processing unit 50 and displayed on the LCD 38 via the display memory 80.
Next, the trimming process that constitutes a part of the characteristic part of the present invention will be described. In this specification, trimming mainly means that only a specific subject is separated from an entire image including a plurality of subjects, and further, image information of the separated subject is recorded, stored, or output. May be included.

トリミング処理部60は、画像情報処理部50で生成された合成画像情報から、特定の被写体の画像情報を切り出す処理(トリミング処理)を行う。また、メモリカード74に記録保存された合成画像情報を読み出して、この合成画像情報についても、同様のトリミング処理を行うことが可能である。   The trimming processing unit 60 performs processing (trimming processing) for cutting out image information of a specific subject from the composite image information generated by the image information processing unit 50. It is also possible to read out the composite image information recorded and stored in the memory card 74 and perform the same trimming process on this composite image information.

トリミング処理部60は、図4に示すように、被写体認識手段61と、画像分離手段62とを備える。被写体認識手段61は、距離情報認識手段61aと、近似色認識手段61bと、直線/曲線認識手段61cとを備え、合成画像情報全体からトリミング可能な複数の被写体を認識する。距離情報認識手段61aは、合成画像情報に埋め込まれている距離情報に基づいて、トリミング可能な複数の被写体を認識する。近似色認識手段61bは、近似色(又は同系色)に基づいて複数の被写体を認識する。直線/曲線認識手段61cは、直線又は曲線を予測して複数の被写体を認識する。   As shown in FIG. 4, the trimming processing unit 60 includes subject recognition means 61 and image separation means 62. The subject recognition unit 61 includes a distance information recognition unit 61a, an approximate color recognition unit 61b, and a straight line / curve recognition unit 61c, and recognizes a plurality of subjects that can be trimmed from the entire composite image information. The distance information recognition unit 61a recognizes a plurality of subjects that can be trimmed based on the distance information embedded in the composite image information. The approximate color recognition unit 61b recognizes a plurality of subjects based on the approximate color (or similar color). The straight line / curve recognition unit 61c recognizes a plurality of subjects by predicting a straight line or a curve.

画像分離手段62は、被写体認識手段61により認識された複数の被写体のうち特定の被写体を分離して、分離された被写体の画像情報(合成画像情報であっても当然よい。以下、同様)を生成する。この分離された被写体の画像情報は、表示メモリ80に送出されてLCD38に表示されるので、分離された被写体の確認を容易に行うことができる。また、分離された被写体の画像情報は、メモリ(RAM)70に送出され、圧縮伸張回路72及びカードリーダ/ライタ装置73を介してメモリカード74に記録保存することができる。   The image separating unit 62 separates a specific subject from the plurality of subjects recognized by the subject recognizing unit 61, and the image information of the separated subject (may be combined image information. The same applies hereinafter). Generate. Since the image information of the separated subject is transmitted to the display memory 80 and displayed on the LCD 38, the separated subject can be easily confirmed. The separated image information of the subject can be sent to a memory (RAM) 70 and can be recorded and stored in a memory card 74 via a compression / decompression circuit 72 and a card reader / writer device 73.

続いて、被写体認識手段61による複数の被写体の認識について、図5を参照して、詳細に説明する。図5は、被写体Xと被写体Yとを同時に撮影した第1の撮影画像100と、第2の撮影画像200とを示す。図5(A)に示す第1の撮影画像100では、被写体Xと被写体Yとは離間している。これに対し、図5(B)に示す第2の撮影画像200では、被写体Xと被写体Yとは一部重なっていて、被写体Yの左下端近傍は被写体Xの後ろに隠れてしまい見えない(説明の都合上、被写体Yの輪郭を一点鎖線で示す)。なお、図5(A)、(B)共に、被写体Xの焦点距離と被写体Yの焦点距離とは異なり、被写体Xの焦点距離は被写体Yの焦点距離より短いものとする。   Next, the recognition of a plurality of subjects by the subject recognition means 61 will be described in detail with reference to FIG. FIG. 5 shows a first photographed image 100 and a second photographed image 200 obtained by photographing the subject X and the subject Y at the same time. In the first captured image 100 shown in FIG. 5A, the subject X and the subject Y are separated from each other. On the other hand, in the second captured image 200 shown in FIG. 5B, the subject X and the subject Y partially overlap, and the vicinity of the lower left end of the subject Y is hidden behind the subject X and cannot be seen ( For convenience of explanation, the outline of the subject Y is indicated by a one-dot chain line). 5A and 5B, it is assumed that the focal length of the subject X is shorter than the focal length of the subject Y, unlike the focal length of the subject X and the focal length of the subject Y.

前述したように、画像情報処理部50(情報合成手段53)は画像情報に焦点距離情報を埋め込んだ合成画像情報を生成するので、第1、第2の撮影画像100、200の合成画像情報には、被写体Xの焦点距離情報と被写体Yの焦点距離情報とがそれぞれ含まれている。   As described above, the image information processing unit 50 (information synthesizing unit 53) generates the composite image information in which the focal length information is embedded in the image information, so that the composite image information of the first and second photographed images 100 and 200 is included. Includes the focal length information of the subject X and the focal length information of the subject Y, respectively.

先ず、図5(A)に示す第1の撮影画像100における、被写体の認識について説明する。距離情報認識手段61aは、第1の撮影画像100の合成画像情報に埋め込まれた焦点距離情報の相違に基づいて、被写体Xと被写体Yとが含まれることを認識することができる。第1の撮影画像100では、前述したように、被写体Xと被写体Yとは離間しているので、画像分離手段62は、選択された被写体X又は被写体Yの画像を分離し、分離した被写体X又は被写体Yの画像情報を生成する。   First, subject recognition in the first captured image 100 shown in FIG. 5A will be described. The distance information recognition unit 61a can recognize that the subject X and the subject Y are included based on the difference in the focal length information embedded in the composite image information of the first captured image 100. In the first captured image 100, as described above, since the subject X and the subject Y are separated from each other, the image separation unit 62 separates the selected subject X or the image of the subject Y and separates the separated subject X. Alternatively, the image information of the subject Y is generated.

次に、図5(B)に示す第2の撮影画像200における、被写体の認識について説明する。第2の撮影画像200のように、被写体Xと被写体Yとが一部重なっている場合等には、距離情報認識手段61aによる認識に加え、近似色認識手段61b及び直線/曲線認識手段61cによる認識も重畳的に実施される。すなわち、第2の撮影画像200では、被写体Xの画像はすべて示されているが、被写体Yの一部(左下端近傍)画像は隠れて示されていない。   Next, subject recognition in the second captured image 200 shown in FIG. 5B will be described. When the subject X and the subject Y partially overlap as in the second captured image 200, in addition to the recognition by the distance information recognition unit 61a, the approximate color recognition unit 61b and the straight line / curve recognition unit 61c. Recognition is also performed in a superimposed manner. That is, in the second captured image 200, all images of the subject X are shown, but a part of the subject Y (near the lower left corner) is not shown hidden.

ここで、被写体Xのトリミング処理が選択されている場合、第1の撮影画像100と同様に、焦点距離情報の相違に基づいて、被写体Xと被写体Yとが含まれることが距離情報認識手段61aにより認識され、画像分離手段62により、被写体Xが分離され、分離された被写体Xの画像情報が生成される。一方、被写体Yのトリミング処理が選択されている場合、焦点距離情報の相違に基づいて、被写体Xと被写体Yとが含まれることが認識され、更に、被写体Xの輪郭と被写体Yの輪郭とが交わっているので、焦点距離の長い被写体Yの画像には被写体Xの後ろに隠れている部分が存在することが予測される。そして、直線/曲線認識手段61cが被写体Yの輪郭の形状を予測し、例えば、輪郭が直線又は曲線で示されている場合には、隠れている部分の輪郭を予測し(直線又は曲線を延長する)、被写体Yの画像を補完する。このようにして、予測補完された被写体Yが、画像分離手段62により分離され、予測補完後の被写体Yの画像情報が生成される。   Here, when the trimming process of the subject X is selected, the distance information recognition unit 61a indicates that the subject X and the subject Y are included based on the difference in focal length information, as in the first captured image 100. And the subject X is separated by the image separation means 62, and image information of the separated subject X is generated. On the other hand, when the trimming process for the subject Y is selected, it is recognized that the subject X and the subject Y are included based on the difference in the focal length information, and the contour of the subject X and the contour of the subject Y are further determined. Since they intersect, it is predicted that there is a portion hidden behind the subject X in the image of the subject Y with a long focal length. Then, the straight line / curve recognition means 61c predicts the shape of the contour of the subject Y. For example, when the contour is indicated by a straight line or a curve, the contour of the hidden part is predicted (the straight line or the curve is extended). ), The image of the subject Y is complemented. In this way, the subject Y subjected to the prediction complement is separated by the image separation unit 62, and the image information of the subject Y after the prediction supplement is generated.

また、図5(B)に示す第2の撮影画像200において、例えば、被写体Xと被写体Yとが、同一の壁面に貼られた絵や写真である場合、被写体Xと被写体Yとが略同一の焦点距離を有する。このような場合、距離情報認識手段61aは、被写体Xと被写体Yとが含まれることを認識することが困難である。しかし、近似色認識手段61b、直線/曲線認識手段61cは、被写体Xと被写体Yとが第2の撮影画像200に含まれることを認識することができる。特に、被写体Xと被写体Yとが異なる色彩を示す場合、近似色認識手段61bが被写体Xと被写体Yとをそれぞれ認識し、また、直線/曲線認識手段61cが、前述したように、被写体Xの輪郭と被写体Yの輪郭とを認識し、更に、被写体Yの隠れている部分の輪郭を予測補完する。   Further, in the second captured image 200 shown in FIG. 5B, for example, when the subject X and the subject Y are pictures or photos pasted on the same wall surface, the subject X and the subject Y are substantially the same. Has a focal length of. In such a case, it is difficult for the distance information recognition unit 61a to recognize that the subject X and the subject Y are included. However, the approximate color recognition unit 61 b and the straight line / curve recognition unit 61 c can recognize that the subject X and the subject Y are included in the second captured image 200. In particular, when the subject X and the subject Y show different colors, the approximate color recognizing means 61b recognizes the subject X and the subject Y, respectively, and the straight line / curve recognizing means 61c, as described above, The contour and the contour of the subject Y are recognized, and further, the contour of the portion where the subject Y is hidden is predicted and complemented.

このように、本実施形態では、距離情報認識手段61aによる認識と、近似色認識手段61bによる認識と、直線/曲線認識手段61cによる認識とがそれぞれ実施されるので、被写体X及び被写体Yを確実に認識することが可能で、更に、直線/曲線認識手段61cによる予測補完処理により、正確な被写体Yの画像情報を生成することが可能である。   As described above, in this embodiment, the recognition by the distance information recognition unit 61a, the recognition by the approximate color recognition unit 61b, and the recognition by the straight line / curve recognition unit 61c are performed. Furthermore, accurate image information of the subject Y can be generated by the prediction complementing process by the straight line / curve recognition means 61c.

次に、本発明に係るデジタルカメラ10における、複数の被写体の同時撮影(撮像)から、特定の被写体をトリミングするまでの流れについて、図6を参照して説明する。図6は、被写体の撮影(撮像)からトリミングまでの処理の流れを示すフローチャートである。   Next, a flow from simultaneous shooting (imaging) of a plurality of subjects to trimming of a specific subject in the digital camera 10 according to the present invention will be described with reference to FIG. FIG. 6 is a flowchart showing a flow of processing from photographing (imaging) of a subject to trimming.

先ず、デジタルカメラ10で撮影をする際には、モードスイッチ30を操作して撮影モードを選択する(ステップS10)。撮影したい被写体に焦点を合わせると共に、ズーム拡大ボタン26、ズーム縮小ボタン28を押圧操作して、所定範囲内の任意の撮影倍率に調節する。この際、LCD38にはスルー動画が表示されるので、LCD38の表示画像を確認しながら、撮影したい被写体のポーズを決定することができる。   First, when shooting with the digital camera 10, the mode switch 30 is operated to select a shooting mode (step S10). While focusing on the subject to be photographed, the zoom enlargement button 26 and the zoom reduction button 28 are pressed to adjust to an arbitrary photographing magnification within a predetermined range. At this time, since the through moving image is displayed on the LCD 38, the pose of the subject to be photographed can be determined while checking the display image on the LCD 38.

続いて、シャッタボタン22を押圧操作(記録指示入力)することで被写体の撮影が実行される(ステップS11)。この押圧操作により、前述したように、画像情報処理部50にて各処理が施された後、合成画像情報がメモリ(RAM)70に書き込まれると共に、圧縮処理された当該合成画像情報がメモリカード74に記録保存される(ステップS12)。   Subsequently, the subject is photographed by pressing the shutter button 22 (inputting a recording instruction) (step S11). As described above, by this pressing operation, after each processing is performed in the image information processing unit 50, the composite image information is written in the memory (RAM) 70, and the composite image information subjected to the compression processing is stored in the memory card. 74 is recorded and saved (step S12).

次に、撮影した被写体のトリミング処理を行うために、デジタルカメラ10のモード切り替えを行う(ステップS13)。本実施形態におけるデジタルカメラ10では、トリミング機能は再生モードに含まれる一つの機能となっているので、十字カーソルボタン32を操作して、トリミング機能を選択する(ステップS20)。   Next, the mode of the digital camera 10 is switched in order to perform trimming processing of the photographed subject (step S13). In the digital camera 10 according to the present embodiment, the trimming function is one function included in the playback mode, so the crosshair cursor button 32 is operated to select the trimming function (step S20).

次に、十字カーソルボタン32等を更に操作して、トリミング処理を行う画像(合成画像情報)を選択し、そして、トリミングしたい被写体を選択する。続いて、距離情報認識手段61aによる焦点距離情報の相違に基づく被写体の認識(ステップS22)、近似色認識手段61bによる被写体の認識(ステップS23)、及び、直線/曲線認識手段61cによる被写体の認識(ステップS24)が順次実施される。被写体認識手段61(距離情報認識手段61a、近似色認識手段61b、直線/曲線認識手段61c)により、画像中に含まれる複数の被写体が認識されると(ステップS25)、選択された被写体のトリミング処理(ステップS30)が実行される。   Next, the cross cursor button 32 or the like is further operated to select an image (composite image information) to be trimmed, and a subject to be trimmed is selected. Subsequently, object recognition based on the difference in focal length information by the distance information recognition means 61a (step S22), object recognition by the approximate color recognition means 61b (step S23), and object recognition by the straight line / curve recognition means 61c. (Step S24) is sequentially performed. When a plurality of subjects included in the image are recognized by the subject recognition unit 61 (distance information recognition unit 61a, approximate color recognition unit 61b, straight line / curve recognition unit 61c) (step S25), trimming of the selected subject is performed. Processing (step S30) is executed.

一方、ステップS25において、画像中に複数の被写体が認識されなかった場合には、閾値範囲を拡大した上でステップS22〜S24を再度実施するか否かの選択が可能である。例えば、距離情報認識手段61aによる認識(ステップS22)では、略同一の焦点距離を有する画素の集合を一つの被写体と認識するが、立体的な被写体の場合、各焦点距離は被写体の構造によって異なる。そこで、一つの被写体と認識可能な焦点距離の範囲(閾値)を拡大する。同様に、近似色認識手段61bによる認識(ステップS23)では、近似色の範囲(閾値)を拡大し、直線/曲線認識手段61cによる認識(ステップS24)では、直線/曲線の認識可能な範囲(閾値)を拡大する。   On the other hand, if a plurality of subjects are not recognized in the image in step S25, it is possible to select whether or not to perform steps S22 to S24 again after expanding the threshold range. For example, in the recognition by the distance information recognition unit 61a (step S22), a set of pixels having substantially the same focal length is recognized as one subject, but in the case of a three-dimensional subject, each focal length varies depending on the structure of the subject. . Therefore, the focal length range (threshold value) that can be recognized as one subject is expanded. Similarly, in the recognition by the approximate color recognition means 61b (step S23), the approximate color range (threshold value) is expanded, and in the recognition by the straight line / curve recognition means 61c (step S24), a straight line / curve recognizable range (step S24). Threshold) is expanded.

次に、ステップS30のトリミング処理では、前述したように、画像分離手段62によって、選択された被写体が分離され、分離された被写体の画像情報が生成され、そして、当該画像情報は、メモリ(RAM)70に送出され、更に、圧縮伸張回路72及びカードリーダ/ライタ装置73を介してメモリカード74に記録保存される。また、分離された被写体の画像情報は、前述したように、表示メモリ80にも送出され、分離された被写体の画像のみがLCD38に表示される。   Next, in the trimming process in step S30, as described above, the image separation means 62 separates the selected subject, generates image information of the separated subject, and the image information is stored in the memory (RAM ) 70, and further recorded and stored in the memory card 74 via the compression / decompression circuit 72 and the card reader / writer device 73. Also, the image information of the separated subject is sent to the display memory 80 as described above, and only the separated subject image is displayed on the LCD 38.

以上、本発明の実施形態について説明したが、本発明に係るデジタルカメラ10によれば、第1の被写体と第2の被写体とを同時に撮像可能なCCD41と、CCD41により撮像された第1の被写体と第2の被写体との画像情報を取得する画像情報取得手段51と、第1の被写体の焦点距離に関する第1の焦点距離情報と第2の被写体の焦点距離に関する第2の焦点距離情報とをそれぞれ取得する焦点距離情報取得手段52と、前記画像情報に前記第1及び第2の焦点距離情報を埋め込む情報合成手段53(情報処理手段)と、を有することを特徴としている。   Although the embodiment of the present invention has been described above, according to the digital camera 10 of the present invention, the CCD 41 that can simultaneously image the first subject and the second subject, and the first subject imaged by the CCD 41. And image information acquisition means 51 for acquiring image information of the second subject, first focal length information relating to the focal length of the first subject, and second focal length information relating to the focal length of the second subject. The image processing apparatus includes a focal length information acquisition unit 52 that acquires the information and an information synthesis unit 53 (information processing unit) that embeds the first and second focal length information in the image information.

これにより、CCD41により同時に撮像された第1の被写体と第2の被写体との画像情報に、第1の焦点距離情報と第2の焦点距離情報とを埋め込むことができるので、当該第1及び第2の焦点距離情報に基づく画像処理、例えば、第1の被写体又は第2の被写体を切り出すトリミング処理等を、容易且つ確実に行うことが可能である。   Accordingly, the first focal length information and the second focal length information can be embedded in the image information of the first subject and the second subject that are simultaneously imaged by the CCD 41. It is possible to easily and reliably perform image processing based on the two focal length information, for example, trimming processing for cutting out the first subject or the second subject.

また、本発明に係るデジタルカメラ10によれば、前記第1及び第2の焦点距離情報の相違に基づいて、前記第1の被写体の画像又は第2の被写体の画像を分離する画像分離手段62(分離手段)を、更に、有することを特徴としている。これにより、CCD41により同時に撮像された第1の被写体と第2の被写体との画像から、第1の被写体又は第2の被写体の画像のみを分離する処理を、容易に且つ確実に行うことが可能である。   In addition, according to the digital camera 10 of the present invention, the image separation unit 62 that separates the image of the first subject or the image of the second subject based on the difference between the first and second focal length information. (Separation means) is further provided. As a result, it is possible to easily and reliably perform the process of separating only the image of the first subject or the second subject from the images of the first subject and the second subject captured simultaneously by the CCD 41. It is.

また、本発明に係るデジタルカメラ10によれば、画像分離手段62は、更に、近似色による認識機能(近似色認識手段61bによる認識)、又は、直線若しくは曲線認識機能(直線/曲線認識手段61cによる認識)の少なくとも一つを補完的に用いて、前記第1の被写体の画像又は第2の被写体の画像を分離することを特徴としている。これにより、画像分離手段62は、より正確に、前記第1の被写体又は第2の被写体の画像を分離することが可能である。   Further, according to the digital camera 10 of the present invention, the image separating unit 62 further includes a recognition function using approximate colors (recognition by the approximate color recognition unit 61b) or a straight line or curve recognition function (straight line / curve recognition unit 61c). The image of the first subject or the image of the second subject is separated by using at least one of (recognition by the above) in a complementary manner. As a result, the image separation unit 62 can more accurately separate the image of the first subject or the second subject.

また、本発明に係るデジタルカメラ10によれば、前記第1及び第2の焦点距離情報が埋め込まれた合成画像情報を記録保存する保存手段(カードリーダ/ライタ装置73、メモリカード74)、又は、出力表示するLCD38(出力手段)の少なくとも一つを有することを特徴としている。これにより、前記第1の被写体の画像情報と第2の被写体の画像情報とを一体若しくは分離された状態で、保存及び/又は出力することが可能である。   Further, according to the digital camera 10 of the present invention, storage means (card reader / writer device 73, memory card 74) for recording and storing the composite image information in which the first and second focal length information are embedded, or , At least one LCD 38 (output means) for output display. As a result, the image information of the first subject and the image information of the second subject can be stored and / or output in a state of being integrated or separated.

また、本発明に係る画像処理方法によれば、被写体X(第1の被写体)と被写体Y(第2の被写体)とを含む撮影画像100、200における画像処理方法において、被写体Xの焦点距離と被写体Yの焦点距離との相違に基づいて、被写体Xと被写体Yとをそれぞれ認識する認識工程(ステップS22、S25)と、前記認識工程において認識された一方の被写体を分離し、選択的に別個の画像情報としてメモリカード74に記録保存する保存処理工程、又は、選択的に別個の画像情報としてLCD38に出力表示する出力処理工程のいずれか一方の工程(ステップS30)と、を含むことを特徴としている。   In addition, according to the image processing method of the present invention, in the image processing method in the captured images 100 and 200 including the subject X (first subject) and the subject Y (second subject), the focal length of the subject X Based on the difference in the focal length of the subject Y, a recognition step (steps S22 and S25) for recognizing the subject X and the subject Y, respectively, and one subject recognized in the recognition step are separated and selectively separated. A storage processing step of recording and saving the image information on the memory card 74 or an output processing step of selectively outputting and displaying on the LCD 38 as separate image information (step S30). It is said.

これにより、被写体Xと被写体Yとを含む撮影画像100、200から、被写体Xの焦点距離と被写体Yの焦点距離との相違に基づいて、被写体Xと被写体Yとをそれぞれ認識でき、認識された一方の被写体を分離し、選択的に別個の画像情報として記録保存や出力表示ができるので、複数の被写体を含む画像から特定の被写体のみを切り出して保存や出力するトリミング処理を、容易且つ確実に実施することが可能である。   Thereby, from the captured images 100 and 200 including the subject X and the subject Y, the subject X and the subject Y can be recognized and recognized based on the difference between the focal length of the subject X and the focal length of the subject Y, respectively. Since one subject can be separated and selectively stored and output as separate image information, it is possible to easily and reliably perform a trimming process that cuts out and saves and outputs only a specific subject from an image including a plurality of subjects. It is possible to implement.

なお、本発明の範囲は上述した実施形態に限られず、特許請求の範囲の記載に反しない限り、他の様々な実施形態に適用可能である。例えば、本発明の実施形態では、デジタルカメラ10について説明したが、複数の被写体を同時に撮像することができる撮像装置であれば、特にデジタルカメラに限定されるものではなく、例えば、撮像機能を備えた携帯用電話機等であってもよい。   Note that the scope of the present invention is not limited to the above-described embodiments, and can be applied to various other embodiments as long as they do not contradict the description of the claims. For example, in the embodiment of the present invention, the digital camera 10 has been described. However, the image capturing apparatus is not particularly limited to a digital camera as long as the image capturing apparatus can capture a plurality of subjects at the same time. It may be a portable telephone or the like.

また、本発明に係る画像処理方法は、デジタルカメラにおける画像処理に限定されるものではなく、コンピュータ等の画像処理装置における画像処理であってもよい。   The image processing method according to the present invention is not limited to image processing in a digital camera, and may be image processing in an image processing apparatus such as a computer.

第1及び第2の被写体を同時に撮像可能な撮像手段と、画像情報を取得する画像情報取得手段と、焦点距離情報を取得する焦点距離情報取得手段と、画像情報に焦点距離情報を埋め込む情報処理手段と、を有していれば、デジタルカメラに制限されることなく、その他の電子機器であっても適用可能である。   Imaging means capable of simultaneously imaging the first and second subjects, image information acquisition means for acquiring image information, focal length information acquisition means for acquiring focal length information, and information processing for embedding focal length information in image information And other electronic devices can be applied without being limited to the digital camera.

また、第1の被写体と第2の被写体とを含む画像における画像処理方法において、焦点距離の相違に基づいて、第1の被写体と第2の被写体とをそれぞれ認識する認識工程と、認識された一方の被写体を分離し、選択的に別個の画像情報として保存する保存処理工程、又は、出力する出力処理工程のいずれか一方の工程と、を含む画像処理方法であれば、デジタルカメラにおける画像処理に制限されることなく、コンピュータに代表される画像処理装置全般における画像処理に広く利用可能である。   Further, in an image processing method for an image including a first subject and a second subject, a recognition step for recognizing the first subject and the second subject based on the difference in focal length If the image processing method includes a storage processing step for separating one subject and selectively storing it as separate image information, or an output processing step for output, image processing in a digital camera However, the present invention can be widely used for image processing in general image processing apparatuses represented by computers.

本発明に係る撮像装置としてのデジタルカメラ10の外観を示す正面図である。1 is a front view showing an external appearance of a digital camera 10 as an imaging apparatus according to the present invention. 本発明に係る撮像装置としてのデジタルカメラ10の外観を示す平面図である。It is a top view which shows the external appearance of the digital camera 10 as an imaging device which concerns on this invention. 本発明に係る撮像装置としてのデジタルカメラ10の外観を示す背面図である。It is a rear view which shows the external appearance of the digital camera 10 as an imaging device which concerns on this invention. デジタルカメラ10の内部構成(制御部)とその機能とを示したブロック図である。2 is a block diagram showing an internal configuration (control unit) of the digital camera 10 and its function. FIG. 被写体Xと被写体Yとを同時に撮影した第1の撮影画像100と、第2の撮影画像200とを示す。The 1st picked-up image 100 which image | photographed the subject X and the subject Y simultaneously, and the 2nd picked-up image 200 are shown. 被写体の撮影(撮像)からトリミングまでの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process from imaging | photography (imaging) of a to-be-photographed object to trimming.

符号の説明Explanation of symbols

10 デジタルカメラ、12 撮影レンズ、14 ファインダ窓、15 焦点距離検出センサ、16 ストロボ、18 ストロボ調光センサ、19 メモリスロット、22 シャッタボタン、24 電源スイッチ、26 ズーム拡大ボタン、28 ズーム縮小ボタン、30 モードスイッチ、32 十字カーソルボタン、34 ファインダ、35 文字表示部、36 ストロボボタン、37 マクロボタン、38 液晶表示部(LCD)、40 CPU、41 撮像素子(CCD)、42 アナログ信号処理部、43 A/D変換部、45 絞り制御部、46 焦点距離演算部、47 操作基板、48 タイミングジェネレータ(T/G)、50 画像情報処理部、51 画像情報取得手段、52 焦点距離情報取得手段、53 情報合成手段、60 トリミング処理部、61 被写体認識手段、61a 距離情報認識手段、61b 近似色認識手段、61c 直線/曲線認識手段、62 画像分離手段、70 メモリ(RAM)、72 圧縮伸張回路、73 カードリーダ/ライタ装置、74 メモリカード、100 第1の撮影画像、200 第2の撮影画像
DESCRIPTION OF SYMBOLS 10 Digital camera, 12 Shooting lens, 14 Finder window, 15 Focal length detection sensor, 16 Strobe, 18 Strobe light control sensor, 19 Memory slot, 22 Shutter button, 24 Power switch, 26 Zoom enlarge button, 28 Zoom reduce button, 30 Mode switch, 32 Cross cursor button, 34 Finder, 35 Character display, 36 Strobe button, 37 Macro button, 38 Liquid crystal display (LCD), 40 CPU, 41 Image sensor (CCD), 42 Analog signal processor, 43 A / D conversion unit, 45 aperture control unit, 46 focal length calculation unit, 47 operation board, 48 timing generator (T / G), 50 image information processing unit, 51 image information acquisition unit, 52 focal length information acquisition unit, 53 information Compositing means, 60 trimming processing unit, 61 subject recognition Means 61a Distance information recognition means 61b Approximate color recognition means 61c Line / curve recognition means 62 Image separation means 70 Memory (RAM) 72 Compression / decompression circuit 73 Card reader / writer device 74 Memory card 100 1 shot image, 200 2nd shot image

Claims (5)

第1の被写体と第2の被写体とを同時に撮像可能な撮像手段と、
前記撮像手段により撮像された前記第1の被写体と第2の被写体との画像情報を取得する画像情報取得手段と、
前記第1の被写体の焦点距離に関する第1の焦点距離情報と前記第2の被写体の焦点距離に関する第2の焦点距離情報とをそれぞれ取得する焦点距離情報取得手段と、
前記画像情報に前記第1及び第2の焦点距離情報を埋め込む情報処理手段と、を有することを特徴とする撮像装置。
Imaging means capable of simultaneously imaging the first subject and the second subject;
Image information acquisition means for acquiring image information of the first subject and the second subject imaged by the imaging means;
Focal length information acquisition means for acquiring first focal length information about the focal length of the first subject and second focal length information about the focal length of the second subject;
An image processing apparatus comprising: information processing means for embedding the first and second focal length information in the image information.
前記第1及び第2の焦点距離情報の相違に基づいて、前記第1の被写体の画像又は第2の被写体の画像を分離する分離手段を、更に、有することを特徴とする請求項1に記載の撮像装置。 2. The apparatus according to claim 1, further comprising a separation unit configured to separate the image of the first subject or the image of the second subject based on the difference between the first and second focal length information. Imaging device. 前記分離手段は、更に、近似色による認識機能、又は、直線若しくは曲線認識機能の少なくとも一つを補完的に用いて、前記第1の被写体の画像又は第2の被写体の画像を分離することを特徴とする請求項2に記載の撮像装置。 The separating means further separates the image of the first subject or the image of the second subject by complementarily using at least one of a recognition function using approximate colors or a straight line or curve recognition function. The imaging apparatus according to claim 2, characterized in that: 前記第1及び第2の焦点距離情報が埋め込まれた前記画像情報を保存する保存手段、又は、出力する出力手段の少なくとも一つを有することを特徴とする請求項1乃至3に記載の撮像装置。 The imaging apparatus according to claim 1, further comprising at least one of a storage unit that stores the image information in which the first and second focal length information are embedded, or an output unit that outputs the image information. . 第1の被写体と第2の被写体とを含む画像における画像処理方法において、
前記第1の被写体の焦点距離と前記第2の被写体の焦点距離との相違に基づいて、前記第1の被写体と前記第2の被写体とをそれぞれ認識する認識工程と、
前記認識工程において認識された一方の被写体を分離し、選択的に別個の画像情報として保存する保存処理工程、又は、選択的に別個の画像情報として出力する出力処理工程のいずれか一方の工程と、を含むことを特徴とする画像処理方法。

In an image processing method for an image including a first subject and a second subject,
A recognition step for recognizing the first subject and the second subject, respectively, based on the difference between the focal length of the first subject and the focal length of the second subject;
Either one of the storage processing step of separating one subject recognized in the recognition step and selectively storing it as separate image information, or the output processing step of selectively outputting as separate image information; And an image processing method.

JP2005085364A 2005-03-24 2005-03-24 Imaging apparatus and image processing method Pending JP2006270488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005085364A JP2006270488A (en) 2005-03-24 2005-03-24 Imaging apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005085364A JP2006270488A (en) 2005-03-24 2005-03-24 Imaging apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2006270488A true JP2006270488A (en) 2006-10-05

Family

ID=37205975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005085364A Pending JP2006270488A (en) 2005-03-24 2005-03-24 Imaging apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2006270488A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026332A (en) * 2008-07-22 2010-02-04 National Institute Of Information & Communication Technology Image pickup camera, image display device, and image display system
JP2010103884A (en) * 2008-10-27 2010-05-06 Sanyo Electric Co Ltd Image processing device, image processing method and electronic apparatus
JP2011155692A (en) * 2011-04-27 2011-08-11 Casio Computer Co Ltd Imaging apparatus and its program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026332A (en) * 2008-07-22 2010-02-04 National Institute Of Information & Communication Technology Image pickup camera, image display device, and image display system
JP2010103884A (en) * 2008-10-27 2010-05-06 Sanyo Electric Co Ltd Image processing device, image processing method and electronic apparatus
JP2011155692A (en) * 2011-04-27 2011-08-11 Casio Computer Co Ltd Imaging apparatus and its program

Similar Documents

Publication Publication Date Title
JP5787907B2 (en) Imaging device for taking self-portrait images
JP2007523521A (en) Automatic focus area display
JP2008034963A (en) Imaging apparatus and method therefor
JP4697078B2 (en) Imaging apparatus and program thereof
JP2006217074A (en) Imaging device and its program
JP2006237757A (en) Digital camera device and method for displaying through-image
KR20060055645A (en) Apparatus and method for displaying image using duplex thumbnail mode
JP2009089220A (en) Imaging apparatus
JP4725854B2 (en) Image display device and image display method
JP2007158603A (en) Image reproducing apparatus, image reproducing method, and image reproducing program
JP2006262071A (en) Image display control apparatus and program
JP2006270488A (en) Imaging apparatus and image processing method
JP2010141609A (en) Imaging apparatus
KR20060014228A (en) Multi focus photographing method and apparatus in a mobile communication terminal having many cameras
JP4553134B2 (en) Image generating apparatus and program thereof
JP4632417B2 (en) Imaging apparatus and control method thereof
JP2010097449A (en) Image composition device, image composition method and image composition program
JP2009253925A (en) Imaging apparatus and imaging method, and imaging control program
JP2007166383A (en) Digital camera, image composing method, and program
KR100627049B1 (en) Apparatus and method for composing object to image in digital camera
JP2006287365A (en) Digital camera
JP2008092046A (en) Camera capable of automatic composition extraction, and composition extraction program
JP2010016693A (en) Electronic camera
JP2009089083A (en) Age estimation photographing device and age estimation photographing method
JP2008067168A (en) Digital camera