Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5287430B2 - Image editing apparatus, image editing method, and image editing program - Google Patents
[go: Go Back, main page]

JP5287430B2 - Image editing apparatus, image editing method, and image editing program - Google Patents

Image editing apparatus, image editing method, and image editing program Download PDF

Info

Publication number
JP5287430B2
JP5287430B2 JP2009083547A JP2009083547A JP5287430B2 JP 5287430 B2 JP5287430 B2 JP 5287430B2 JP 2009083547 A JP2009083547 A JP 2009083547A JP 2009083547 A JP2009083547 A JP 2009083547A JP 5287430 B2 JP5287430 B2 JP 5287430B2
Authority
JP
Japan
Prior art keywords
character string
image
target area
shooting
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009083547A
Other languages
Japanese (ja)
Other versions
JP2010239309A (en
Inventor
渉 猪羽
慎 中手
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JVCKenwood Corp
Original Assignee
JVCKenwood 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 JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2009083547A priority Critical patent/JP5287430B2/en
Publication of JP2010239309A publication Critical patent/JP2010239309A/en
Application granted granted Critical
Publication of JP5287430B2 publication Critical patent/JP5287430B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本発明は、画像に文字列を合成する画像編集装置、画像編集方法、画像編集プログラムに関する。   The present invention relates to an image editing apparatus, an image editing method, and an image editing program for synthesizing a character string with an image.

近年、デジタルスチルカメラやデジタルビデオカメラが広く普及しており、旅行する際、多くの人はそれらカメラを携行し、多数の写真を撮る。旅行先から戻ると写真を整理することになるが、その際、各画像とその画像を説明する簡単な情報を対応付けたいと考える人が多い。   In recent years, digital still cameras and digital video cameras have become widespread, and when traveling, many people carry these cameras and take many pictures. When you return from your travel destination, you will organize your photos. At that time, many people want to associate each image with simple information that describes the image.

特許文献1は、デジタルカメラで撮影を行う際、GPSを利用して撮影位置を取得し、その位置を元に地図データベースより都道府県名、建造物、又は施設名等を取得し、画像に重畳して表示する方法を開示している。   Patent Document 1 acquires a shooting position using GPS when shooting with a digital camera, acquires a prefecture name, a building, or a facility name from a map database based on the position, and superimposes it on an image. The method of displaying is disclosed.

特開2004−88607号公報JP 2004-88607 A

しかしながら、特許文献1により開示されている方法では、都道府県名等の予めデータベースに登録された情報しか画像に重畳させることができない。旅行先の出来事や旅行先で見た動植物の名前等の自らが独自に考えた文字列を画像と対応付けたいと考えるユーザが多い。ユーザは、各画像に自らが独自に考えた文字列を編集装置に入力して画像と対応付けることができ、画像が数枚であればその作業はユーザの負担にはならない。しかしながら、旅行先では同じような場所で多数の写真を撮ることも多く、そのような場合、ユーザは、同じ文字列を多数回入力しなければならず、それは負担が大きい。   However, in the method disclosed in Patent Document 1, only information registered in a database in advance such as a prefecture name can be superimposed on an image. There are many users who want to associate a character string uniquely thought of, such as an event at a travel destination and the names of animals and plants seen at the travel destination, with an image. The user can input a character string uniquely considered for each image to the editing apparatus and associate it with the image. If there are several images, the operation is not burdened by the user. However, the travel destination often takes many photographs at the same place, and in such a case, the user has to input the same character string many times, which is burdensome.

本発明は、ユーザの負担を抑えて、同じような場所で撮影された多数の画像に対してユーザが考える同じような文字列を対応付ける画像編集装置、画像編集方法、画像編集プログラムを提供することを目的とする。   The present invention provides an image editing apparatus, an image editing method, and an image editing program for associating a similar character string considered by a user with a large number of images taken at the same place while suppressing the burden on the user. With the goal.

上記課題を解決し上記目的を達成するために、本発明の画像編集装置は、撮影によって得られた編集対象の画像のデータと、前記画像の撮影対象エリアを特定するための範囲特定情報とを取得する撮影情報取得部と、前記撮影情報取得部によって取得された前記範囲特定情報に基づいて、前記画像の撮影対象エリアを特定するエリア特定部と、前記エリア特定部によって特定された撮影対象エリアと、文字列と撮影対象とを関連付けて保持しているデータベースの保持する撮影対象エリアとを比較し、前記エリア特定部によって特定された撮影対象エリアと重複する撮影対象エリアと関連付けられている文字列を前記データベースから取得する文字列取得部と、前記文字列取得部によって複数の文字列が取得された場合、前記エリア特定部によって特定された撮影対象エリアと重複する面積がより大きい前記データベースの保持する撮影対象エリアに関連付けられている文字列により高い優先度を付与する優先度付与部と、前記優先度付与部によって付与された優先度に応じて、前記文字列取得部によって取得された複数の文字列を表示する表示制御部とを備える。 In order to solve the above problems and achieve the above object, an image editing apparatus according to the present invention includes data of an image to be edited obtained by shooting, and range specifying information for specifying a shooting target area of the image. a photographing information acquisition unit for acquiring, based on the acquired range specifying information by the imaging information acquiring unit, and the area specifying unit for specifying the imaging target area of the image, capturing target area identified by the area identifying unit And a character string associated with a photographing target area that overlaps with the photographing target area specified by the area specifying unit by comparing a character string and a photographing target area held in a database that holds the character string and the photographing target in association with each other. a character string acquiring unit for acquiring columns from the database, if a plurality of character strings by the character string acquisition portion is obtained, the area specifying unit A priority assigning unit that assigns a higher priority to a character string associated with a shooting target area held in the database that has a larger area overlapping with the shooting target area specified by A display control unit that displays a plurality of character strings acquired by the character string acquisition unit according to the priority .

本発明は、ユーザの負担を抑えて、同じような場所で撮影された多数の画像に対してユーザが考える同じような文字列を対応付ける画像編集装置、画像編集方法、画像編集プログラムを提供することができる。   The present invention provides an image editing apparatus, an image editing method, and an image editing program for associating a similar character string considered by a user with a large number of images taken at the same place while suppressing the burden on the user. Can do.

本実施の形態の画像編集装置の構成図である。It is a block diagram of the image editing apparatus of this Embodiment. 本実施の形態の画像編集装置の動作を各ステップを示すフローチャートである。It is a flowchart which shows each operation | movement of the image editing apparatus of this Embodiment. 画角を説明するための図である。It is a figure for demonstrating an angle of view. 撮影対象エリアを説明するための図である。It is a figure for demonstrating the imaging | photography object area. データベースに存在する撮影対象エリアと基準エリアとの重複を説明するための図である。It is a figure for demonstrating duplication with the imaging | photography object area and reference | standard area which exist in a database. データベースに存在する撮影対象エリアと基準エリアとの重複を説明するための図である。It is a figure for demonstrating duplication with the imaging | photography object area and reference | standard area which exist in a database. データベースに存在する撮影対象エリアと基準エリアとの重複を説明するための図である。It is a figure for demonstrating duplication with the imaging | photography object area and reference | standard area which exist in a database. 優先度に応じた文字列の表示を示す図である。It is a figure which shows the display of the character string according to a priority. 文字列が重畳された画像の一例を示す図である。It is a figure which shows an example of the image on which the character string was superimposed. 仰角を考慮した撮影対象エリアの特定方法を示す図である。It is a figure which shows the identification method of the imaging | photography target area which considered the elevation angle. 画像に重畳される文字列の水平方向を画角としたときの撮影対象エリアの特定を説明するための図である。It is a figure for demonstrating specification of the imaging | photography object area when the horizontal direction of the character string superimposed on an image is made into an angle of view.

以下に、本発明を実施するための形態を図面を参照して説明する。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated with reference to drawings.

先ず、本実施の形態の画像編集装置10の構成を図1を用いて説明する。   First, the configuration of the image editing apparatus 10 according to the present embodiment will be described with reference to FIG.

図1は、本実施の形態の画像編集装置10の構成図である。本実施の形態の画像編集装置10は、例えばデジタルカメラによって得られた編集対象の画像にその画像の内容を表す適切な文字列を重畳させる装置であって、図1に示すように、撮影情報取得部1と、表示制御部2と、受付部3と、エリア特定部4と、文字列取得部5と、データベース6と、優先度付与部7と、編集部8と、蓄積制御部9とを有する。また、画像編集装置10には、記録媒体20と、表示装置30と、入力装置40とが接続される。また、文字列は、ユーザが独自に考えた画像を適切に表す情報である。   FIG. 1 is a configuration diagram of an image editing apparatus 10 according to the present embodiment. The image editing apparatus 10 according to the present embodiment is an apparatus that superimposes an appropriate character string representing the contents of an image to be edited obtained by a digital camera, for example, as shown in FIG. An acquisition unit 1, a display control unit 2, a reception unit 3, an area identification unit 4, a character string acquisition unit 5, a database 6, a priority assignment unit 7, an editing unit 8, and an accumulation control unit 9. Have In addition, a recording medium 20, a display device 30, and an input device 40 are connected to the image editing device 10. The character string is information that appropriately represents an image uniquely thought by the user.

撮影情報取得部1は、記録媒体20から、撮影によって得られた編集対象の画像のデータと、その画像の撮影対象となった範囲を特定するための範囲特定情報を含む撮影条件情報とを取得する。   The shooting information acquisition unit 1 acquires from the recording medium 20 data of an image to be edited obtained by shooting and shooting condition information including range specifying information for specifying the range of the image to be shot. To do.

なお、本実施の形態では、記録媒体20には、編集対象の画像を含む複数の画像のデータと、各画像の撮影条件情報とが記録されていると仮定する。しかしながら、記録媒体20には、編集対象の画像を含む1個の画像のデータと、各画像の撮影条件情報とが記録されていてもよい。記録媒体20に記録されている情報は、例えば、Exchangeable image file format形式で記録される。また、画像のデータと撮影条件情報は、画像毎に同一のファイルに含まれていてもよいし、別のファイルに含まれていてもよい。画像のデータと撮影条件情報とが別のファイルに含まれている場合、拡張子の前を共通化する等により、同じ画像のデータと撮影条件情報とが関連付けられてファイルに含まれていることが望ましい。   In the present embodiment, it is assumed that data of a plurality of images including an image to be edited and shooting condition information for each image are recorded on the recording medium 20. However, the recording medium 20 may record data of one image including an image to be edited and shooting condition information of each image. The information recorded on the recording medium 20 is recorded in, for example, the Exchangeable image file format format. The image data and the shooting condition information may be included in the same file for each image, or may be included in different files. When image data and shooting condition information are included in different files, the same image data and shooting condition information must be associated with each other and included in the file, for example, by sharing the file name before the extension. Is desirable.

また、画像は、静止画であってもよいし動画であってもよい。範囲特定情報は、視野空間と、合焦範囲とを含む。視野空間は、例えば、画像が得られたときの、撮影位置、撮影された方位、及び撮影された画角である。合焦範囲は、撮影したとき撮影位置から撮影方向に向かって焦点が合い始めてから焦点が合わなくなるまでの範囲のことで、例えば、被写体距離から焦点が合う最も撮影位置に近い距離を示す前方被写界深度と、被写体距離から焦点が合う最も撮影位置から遠い距離を示す後方被写界深度とで囲まれた範囲である。また、視野空間には、撮影時の撮像装置の仰角が含まれてもよい。更に、撮影条件情報には、撮影時の日時、撮像装置を識別する識別情報、画像の解像度、シャッタースピード、絞り、及び感度(ISO)等が含まれてもよい。   The image may be a still image or a moving image. The range specifying information includes a visual field space and a focus range. The visual field space is, for example, a shooting position, a shot orientation, and a shot angle of view when an image is obtained. The in-focus range is the range from when the image is taken to when the image is focused from the shooting position toward the shooting direction until the image is no longer focused. This is a range surrounded by the depth of field and the rear depth of field that indicates the farthest distance from the shooting position that is in focus from the subject distance. The visual field space may include the elevation angle of the imaging device at the time of shooting. Furthermore, the shooting condition information may include date and time at the time of shooting, identification information for identifying the imaging device, image resolution, shutter speed, aperture, sensitivity (ISO), and the like.

撮影位置は、例えばGPSによって特定される。撮影方位は、例えば地磁気を検出して方位を特定する方位センサにより特定される。撮影装置の仰角は、例えばジャイロセンサにより特定される。   The shooting position is specified by GPS, for example. The shooting direction is specified by, for example, a direction sensor that detects geomagnetism and specifies the direction. The elevation angle of the imaging device is specified by, for example, a gyro sensor.

表示制御部2は、画像や文字列を表示装置30に表示させる。受付部3は、ユーザの指示を受け付ける。エリア特定部4は、撮影情報取得部1によって取得された範囲特定情報に基づいて、編集対象の画像の撮影対象となった範囲である撮影対象エリアを特定する。データベース6は、文字列と撮影対象エリアとを関連付けて保持している。文字列取得部5は、データベース6から、エリア特定部4によって特定された撮影対象エリアと重複する撮影対象エリアと関連付けられている文字列を取得する。   The display control unit 2 causes the display device 30 to display images and character strings. The accepting unit 3 accepts user instructions. Based on the range specifying information acquired by the shooting information acquisition unit 1, the area specifying unit 4 specifies a shooting target area that is a range to be shot of the image to be edited. The database 6 holds character strings and shooting target areas in association with each other. The character string acquisition unit 5 acquires from the database 6 a character string associated with a shooting target area that overlaps the shooting target area specified by the area specifying unit 4.

優先度付与部7は、文字列取得部5によって複数の文字列が取得された場合、複数の文字列それぞれの優先度を決定する。具体的には、優先度付与部7は、エリア特定部4によって特定された撮影対象エリアと重複する範囲(面積)がより大きい撮影対象エリアに関連付けられている文字列により高い優先度を付与する。編集部8は、文字列取得部5によって取得された文字列を編集対象の画像に重畳させる。又は、編集部8は、文字列取得部5によって取得された文字列に対してユーザによって加工された文字列を編集対象の画像に重畳させる。加工は、例えば、色や大きさの変更、又は他の文字列への変更等である。蓄積制御部9は、エリア特定部4によって特定された撮影対象エリアと、編集部8によって編集対象の画像に重畳された文字列とを関連付けてデータベース6に蓄積する。   When a plurality of character strings are acquired by the character string acquisition unit 5, the priority assigning unit 7 determines the priority of each of the plurality of character strings. Specifically, the priority assigning unit 7 assigns a higher priority to a character string associated with a shooting target area having a larger range (area) overlapping with the shooting target area specified by the area specifying unit 4. . The editing unit 8 superimposes the character string acquired by the character string acquiring unit 5 on the image to be edited. Alternatively, the editing unit 8 superimposes the character string processed by the user on the character string acquired by the character string acquiring unit 5 on the image to be edited. The processing is, for example, a change in color or size, or a change to another character string. The accumulation control unit 9 accumulates the shooting target area specified by the area specifying unit 4 and the character string superimposed on the image to be edited by the editing unit 8 in the database 6 in association with each other.

入力装置40は、ユーザの指示を本実施の形態の画像編集装置10に入力することができる装置であって、例えば、キーボード、マウス、又は十字キー等である。ユーザの指示には、文字列や、編集対象の画像へ重畳される文字列の重畳位置の指示が含まれる。入力装置40は、無線等でユーザの指示を本実施の形態の画像編集装置10に入力するリモコンであってもよい。その場合、受付部3は、入力装置40からの無線による指示を受信する機能が設けられていなければならない。   The input device 40 is a device that can input a user instruction to the image editing device 10 of the present embodiment, and is, for example, a keyboard, a mouse, or a cross key. The user's instruction includes a character string and an instruction of a superimposition position of the character string to be superimposed on the image to be edited. The input device 40 may be a remote controller that inputs a user instruction to the image editing device 10 of the present embodiment wirelessly or the like. In that case, the reception unit 3 must be provided with a function of receiving a wireless instruction from the input device 40.

次に、本実施の形態の画像編集装置10の動作を図2を用いて説明する。   Next, the operation of the image editing apparatus 10 according to the present embodiment will be described with reference to FIG.

図2は、本実施の形態の画像編集装置10の動作を各ステップを示すフローチャートである。   FIG. 2 is a flowchart showing each step of the operation of the image editing apparatus 10 of the present embodiment.

先ず、撮影情報取得部1は、記録媒体20から、記録媒体20に記録されている全ての画像のデータを取得する(S1)。   First, the imaging information acquisition unit 1 acquires data of all images recorded on the recording medium 20 from the recording medium 20 (S1).

次に、表示制御部2は、撮影情報取得部1によって取得された画像の一覧を表示装置30に表示させる(S2)。   Next, the display control unit 2 causes the display device 30 to display a list of images acquired by the imaging information acquisition unit 1 (S2).

ユーザは、表示装置30に表示された画像の一覧から編集対象の画像を選択し、選択した画像を特定する情報を入力装置40を利用して本実施の形態の画像編集装置10に入力し、受付部3は、ユーザからの編集対象の画像の選択を受け付ける(S3)。なお、ユーザは、編集対象の画像のファイル名を入力装置40を利用して本実施の形態の画像編集装置10に入力し、編集対象の画像を受付部3に受け付けさせてもよい。   The user selects an image to be edited from the list of images displayed on the display device 30 and inputs information specifying the selected image to the image editing device 10 of the present embodiment using the input device 40. The accepting unit 3 accepts selection of an image to be edited from the user (S3). Note that the user may input the file name of the image to be edited into the image editing device 10 of the present embodiment using the input device 40 and cause the receiving unit 3 to receive the image to be edited.

次に、撮影情報取得部1は、ユーザによって選択された編集対象の画像の撮影条件情報を記録媒体20から取得する(S4)。例えば、撮影情報取得部1は、ユーザによって選択された編集対象の画像のファイル名等を取得する(S4)。ファイル名は、例えば“0001.jpg”や“0002.jpg”である。表示制御部2は、撮影情報取得部1によって取得されたファイル名の一覧等を表示装置30に表示させる。その際、表示制御部2は、ユーザによって選択された画像のファイル名と、選択されなかった画像のファイル名とをユーザが識別することができるようにして、ファイル名の一覧を表示するとよい。例えば、表示制御部2は、選択された画像のファイル名と、選択されなかった画像のファイル名とが異なる色で表示されるようにして、選択された画像のファイル名と、選択されなかった画像のファイル名とを区別して表示する。また、表示制御部2は選択された画像を表示装置30に表示し、ユーザがプレビューできるようにするとよい。   Next, the shooting information acquisition unit 1 acquires shooting condition information of the image to be edited selected by the user from the recording medium 20 (S4). For example, the photographing information acquisition unit 1 acquires the file name of the image to be edited selected by the user (S4). The file name is, for example, “0001.jpg” or “0002.jpg”. The display control unit 2 causes the display device 30 to display a list of file names acquired by the imaging information acquisition unit 1. At this time, the display control unit 2 may display a list of file names so that the user can identify the file name of the image selected by the user and the file name of the image not selected. For example, the display control unit 2 displays the file name of the selected image and the file name of the unselected image in different colors so that the file name of the selected image is not selected. Display the image file name separately. The display control unit 2 may display the selected image on the display device 30 so that the user can preview it.

次に、エリア特定部4は、撮影情報取得部1によって取得された範囲特定情報に基づいて、編集対象の画像の撮影対象となった範囲である撮影対象エリアを特定する(S5)。   Next, the area specifying unit 4 specifies a shooting target area that is a range that is a shooting target of the image to be edited based on the range specifying information acquired by the shooting information acquiring unit 1 (S5).

ここで、エリア特定部4によって特定される撮影対象エリアを説明する。その前に、撮影対象エリアを説明するための画角を図3を用いて説明する。図3は、画角を説明するための図である。図3に示すように、画角θはCCD等の撮像面Pの幅wとレンズの焦点距離fとからtan(θ/2)=w/2fという式によって算出される。wを撮像面Pの対角線方向の幅とすれば、画角θは対角線方向の画角となり、wを撮像面の水平方向の幅とすれば、画角θは水平方向の画角となる。なお、符号“d”は、撮影方向を示す。   Here, the shooting target area specified by the area specifying unit 4 will be described. Before that, an angle of view for explaining the photographing target area will be described with reference to FIG. FIG. 3 is a diagram for explaining the angle of view. As shown in FIG. 3, the angle of view θ is calculated from the width w of the imaging surface P such as a CCD and the focal length f of the lens by the equation tan (θ / 2) = w / 2f. If w is the width of the imaging plane P in the diagonal direction, the angle of view θ is the diagonal direction, and if w is the width of the imaging plane in the horizontal direction, the angle of view θ is the horizontal angle of view. The symbol “d” indicates the shooting direction.

次に、撮影対象エリアを図4を用いて説明する。図4は、撮影対象エリアを説明するための図である。撮影対象エリアは、図4に示すように、範囲特定情報より一意に定義される範囲であって、図4では、画角∠AOD(θ)内で、撮影位置Oを中心として、被写体距離bから前方被写界深度を引いた距離の円弧BCと、被写体距離bに後方被写界深度を足した距離の円弧ADとで囲まれている範囲である。つまり、点A,点B,点C,及び点Dで囲まれている、斜線で示されている範囲である。   Next, the shooting target area will be described with reference to FIG. FIG. 4 is a diagram for explaining a shooting target area. As shown in FIG. 4, the shooting target area is a range uniquely defined by the range specifying information. In FIG. 4, the subject distance b is centered on the shooting position O in the angle of view AOD (θ). Is a range surrounded by an arc BC having a distance obtained by subtracting the front depth of field and an arc AD having a distance obtained by adding the rear depth of field to the subject distance b. That is, it is a range indicated by diagonal lines surrounded by point A, point B, point C, and point D.

すなわち、撮影対象エリアは、撮影時の画角内において、ピントが合っている物の位置で最も撮影位置Oに近い位置から最も撮影位置Oから遠い位置までの範囲であり、その範囲内にある被写体がその画像における撮影対象である。なお、前方被写界深度及び後方被写界深度は、次の式により求められる。   That is, the shooting target area is a range from the position closest to the shooting position O to the position farthest from the shooting position O within the angle of view at the time of shooting within the range. A subject is a subject to be photographed in the image. The front depth of field and the rear depth of field are obtained by the following equations.

前方被写界深度 = 許容錯乱円の直径×絞り値×(被写体との距離)
/(焦点距離f+許容錯乱円の直径×絞り値×被写体距離)
後方被写界深度 = 許容錯乱円の直径×絞り値×(被写体距離)
/(焦点距離f−許容錯乱円径×絞り値×被写体距離)
前方被写界深度及び後方被写界深度は、点光源からの光がCCD等の撮像面上で像を結んだときの円である許容錯乱円の直径が決まれば、それと、撮像装置のレンズの焦点距離fと、絞り値と、被写体距離bとで算出される。このとき、被写体距離bは、パルスレーザを被写体に照射し、その被写体で反射され戻ってきた光を受光素子によって検出し、パルスの遅れより距離を求めるレーザ距離計などを用いて求めることができる。
Front depth of field = Allowable circle of confusion x Aperture value x (Distance to subject) 2
/ (Focal length f 2 + permissible confusion circle diameter × aperture value × subject distance)
Back depth of field = Allowable circle of confusion x Aperture value x (Subject distance) 2
/ (Focal length f 2 −permissible circle of confusion × aperture value × subject distance)
The front depth of field and the rear depth of field are determined by determining the diameter of an allowable circle of confusion, which is a circle when light from a point light source forms an image on an imaging surface such as a CCD, and the lens of the imaging device. , The aperture value, and the subject distance b. At this time, the subject distance b can be obtained by using a laser range finder or the like that irradiates the subject with a pulse laser, detects the light reflected and returned by the subject by the light receiving element, and obtains the distance from the delay of the pulse. .

例えば、被写体までの距離bを24m、許容錯乱円径を0.003328mm、焦点距離fを210mm、絞り値Fを11とすると、
前方被写界深度=0.03328×10-3×11×242 / {(210×10-3)2-0.03328×10-3×11×24}
=3.987・・・
後方被写界深度=0.03328×10-3×11×242 / {(210×10-3)2+0.03328×10-3×11×24}=5.971・・・
となり、撮影対象エリアの撮影位置Oからの距離範囲は24−3.987(=前方被写界深度)mから24+5.971(=後方被写界深度)m、すなわち20m〜30mとなる。
For example, if the distance b to the subject is 24 m, the permissible circle of confusion is 0.003328 mm, the focal length f is 210 mm, and the aperture value F is 11,
Forward depth of field = 0.03328 × 10 -3 × 11 × 24 2 / {(210 × 10 -3 ) 2 -0.03328 × 10 -3 × 11 × 24}
= 3.987 ...
Back depth of field = 0.03328 × 10 −3 × 11 × 24 2 / {(210 × 10 −3 ) 2 + 0.03328 × 10 −3 × 11 × 24} = 5.971 ・ ・ ・
Thus, the distance range from the shooting position O of the shooting target area is 24-3.987 (= front depth of field) m to 24 + 5.971 (= back depth of field) m, that is, 20 m to 30 m.

次に、エリア特定部4による撮影対象エリアの特定例を説明する。エリア特定部4は、先ず、範囲特定情報のなかの撮影位置Oの緯度及び経度を取得する。取得された緯度が北緯35°29′04″であり、経度が東経139°39′19″であると仮定する。また、撮影方向が北東(北を0度としたとき、時計回り方向に45°の方向)であり、画角が90°であると仮定する。この場合、エリア特定部4は、撮影位置Oから被写体までの距離bと上述した前方被写界深度及び後方被写界深度を算出するための式とから前方被写界深度と後方被写界深度とを算出し、前方被写界深度と後方被写界深度とからOB(=OC)が20mであり、OA(=OD)が20mであって、点Aは、東経が139°39′19″であり、北緯が35°29′04″から北に30mの地点であるということを特定する。点Aの北緯を35°29′04″+ kとすると、
k=30(m)×360°/地球の外周(m)
と表現することができる。
Next, an example of specifying the shooting target area by the area specifying unit 4 will be described. The area specifying unit 4 first acquires the latitude and longitude of the shooting position O in the range specifying information. Assume that the acquired latitude is 35 ° 29′04 ″ north latitude and the longitude is 139 ° 39′19 ″ east longitude. Also, it is assumed that the shooting direction is northeast (45 ° clockwise when north is 0 °), and the angle of view is 90 °. In this case, the area specifying unit 4 determines the forward depth of field and the backward depth of field from the distance b from the shooting position O to the subject and the above-described equations for calculating the forward depth of field and the backward depth of field. The depth is calculated, and OB (= OC) is 20 m, OA (= OD) is 20 m from the front depth of field and the rear depth of field, and point A is 139 ° 39 ′ east longitude It is 19 ″, and it is specified that the north latitude is a point 30 m north from 35 ° 29′04 ″. If the north latitude of point A is 35 ° 29'04 "+ k,
k = 30 (m) × 360 ° / perimeter of the earth (m)
It can be expressed as

地球の外周が40000×10メートルであるとすると、k=0.972″であり、点Aは、北緯が35°29′04.972″で、東経が139°39′19″である地点となる。但し、厳密には地球の外周は赤道上と、極を通る円周上とで異なるが、エリア特定部4は、例えば赤道上の円周の長さを地球の外周とする等、一意に決定してもよい。エリア特定部4は、同様にして、点B、点C、及び点Dについて、緯度と経度とを算出し、例えば図4において斜線で示した範囲を撮影対象エリアとして特定する(S5)。 Assuming that the outer circumference of the earth is 40000 × 10 3 meters, k = 0.972 ″, point A is a point where the north latitude is 35 ° 29′04.972 ″ and the east longitude is 139 ° 39′19 ″. Strictly speaking, the outer circumference of the earth is different on the equator and on the circumference passing through the pole, but the area specifying unit 4 has, for example, the circumference of the circumference on the equator as the outer circumference of the earth, etc. Similarly, the area specifying unit 4 calculates the latitude and longitude for the points B, C, and D in the same way, and for example, the area indicated by hatching in FIG. (S5).

次に、文字列取得部5は、データベース6から、エリア特定部4が特定した撮影対象エリア(以下、「基準エリア」ともいう。)と重複する撮影対象エリアに関連付けられている文字列を検索する(S6)。その文字列がデータベース6に存在する場合(S6でYes)、文字列取得部5は、データベース6から、エリア特定部4が特定した撮影対象エリア(基準エリア)と重複する撮影対象エリアを特定し、特定した撮影対象エリアに関連付けられている全ての文字列を付加対象候補として取得する(S7)。   Next, the character string acquisition unit 5 searches the database 6 for a character string associated with a shooting target area that overlaps with the shooting target area specified by the area specifying unit 4 (hereinafter also referred to as “reference area”). (S6). When the character string exists in the database 6 (Yes in S6), the character string acquisition unit 5 identifies an imaging target area that overlaps the imaging target area (reference area) specified by the area specifying unit 4 from the database 6. Then, all character strings associated with the specified shooting target area are acquired as addition target candidates (S7).

他方、エリア特定部4が特定した撮影対象エリア(基準エリア)と重複する撮影対象エリアがデータベース6に存在せず、基準エリアと重複する撮影対象エリアに関連付けられている文字列がデータベース6に存在しない場合(S6でNo)、本実施の形態の画像編集装置10の動作はステップS12に移行する。   On the other hand, a shooting target area that overlaps with the shooting target area (reference area) specified by the area specifying unit 4 does not exist in the database 6, and a character string associated with the shooting target area that overlaps with the reference area exists in the database 6. If not (No in S6), the operation of the image editing apparatus 10 of the present embodiment proceeds to step S12.

ここで、図5を用いて、基準エリアと比較対象の撮影対象エリアとの重複について説明する。図5は、基準エリアと重複している撮影対象エリアQ及び撮影対象エリアRと、基準エリアと重複していない撮影対象エリアTとを示している。基準エリアと比較対象の撮影対象エリアとが重複しているか否かは、基準エリアABCDと、撮影対象エリアQ(A1B1C1D1)、撮影対象エリアR(A2B2C2D2)、及び撮影対象エリアT(A3B3C3D3)それぞれとが重複しているか否かにより判定される。   Here, the overlap between the reference area and the imaging target area to be compared will be described with reference to FIG. FIG. 5 shows a shooting target area Q and a shooting target area R that overlap with the reference area, and a shooting target area T that does not overlap with the reference area. Whether or not the reference area and the comparison target shooting target area overlap with each other includes the reference area ABCD, the shooting target area Q (A1B1C1D1), the shooting target area R (A2B2C2D2), and the shooting target area T (A3B3C3D3). Is determined based on whether or not the two are overlapped.

例えば、二つの撮影位置相互の距離が、互いの撮影距離から後方被写界深度までの距離の和より小さいと、基準エリアと比較対象の撮影対象エリアとは重複している。すなわち、基準エリアと比較対象の撮影対象エリアとが重複する場合、互いの撮影位置より半径が撮影位置から後方被写界深度までの距離となる円を描いたとき、交点が存在する。交点が存在しない場合、撮影方向に関わらず重複エリアは存在しない。ただし、その条件を満たしても、図5に示す撮影対象エリアTのように、基準エリアと重複しない場合がある。そのため、撮影対象エリアQ又は撮影対象エリアRのように、どちらか一方のエリアに、他方のエリアの四隅の点が含まれているかどうかを判定し、含まれている場合、基準エリアと比較対象の撮影対象エリアとは重複していると判定する。   For example, if the distance between the two shooting positions is smaller than the sum of the distances from the shooting distance to the rear depth of field, the reference area and the comparison target shooting area overlap. That is, when the reference area and the comparison target shooting area overlap, there is an intersection when a circle whose radius is the distance from the shooting position to the rear depth of field is drawn from each shooting position. When there is no intersection, there is no overlapping area regardless of the shooting direction. However, even if the condition is satisfied, there may be a case where the reference area does not overlap with the shooting target area T shown in FIG. Therefore, as in the shooting target area Q or the shooting target area R, it is determined whether one of the areas includes the four corner points of the other area. It is determined that there is an overlap with the shooting target area.

例えば、基準エリアの点Cはその緯度及び経度より、上述した距離から緯度及び経度への変換式と三平方の定理とを用いれば、点CO1からの距離を求めることができる。距離CO1が、撮影対象エリアQの撮影位置から前方被写界深度までの距離より遠く、撮影位置から後方被写界深度までの距離より近く、かつ点Cの位置が撮影対象エリアQの画角内に存在する場合、点Cは撮影対象エリアQ内に存在すると判定される。同様に、基準エリアの点A、点B、及び点Dについても撮影対象エリアQ内に存在するかどうかを判定する。また逆に撮影対象エリアQの点A1、点B1、点C1、及び点D1がそれぞれ基準エリア内に存在するかどうかを判定してもよい。いずれの場合も、1つの点でも他方のエリア内に存在すれば、基準エリアと比較対象の撮影対象エリアとは重複している。   For example, the distance C from the point CO1 can be obtained from the latitude and longitude of the reference area point C using the above-described conversion formula from distance to latitude and longitude and the three-square theorem. The distance CO1 is longer than the distance from the shooting position of the shooting target area Q to the front depth of field, closer than the distance from the shooting position to the rear depth of field, and the position of the point C is the angle of view of the shooting target area Q. If it exists, the point C is determined to exist in the shooting target area Q. Similarly, it is determined whether or not the points A, B, and D in the reference area exist within the imaging target area Q. Conversely, it may be determined whether the point A1, the point B1, the point C1, and the point D1 of the shooting target area Q are present in the reference area. In any case, if even one point exists in the other area, the reference area and the imaging target area to be compared overlap.

また、撮影対象エリアRのように互いのエリアの四隅の点が他方のエリアに存在しない場合も考えられるが、そのような場合には、互いの撮影位置を直線で結び、その直線と前方被写界深度の孤との交点を点X(撮影対象エリアRの前方被写界深度との交点は点X2)、後方被写界深度の孤との交点を点Y(撮影対象エリアRの後方被写界深度との交点は点Y2)とすると、基準エリアの撮影位置Oからの距離が、
(距離OX) < (距離OY2) < (距離OY) < (距離OX2) < (距離OO2)
または、
(距離OO2) < (距離OX2) < (距離OX) < (距離OY2) < (距離OY)
のいずれかとなっている場合、基準エリアと撮影対象エリアRとは重複していると判定される。
Further, there may be a case where the four corner points of each other area do not exist in the other area as in the shooting target area R. In such a case, the shooting positions are connected by a straight line, and the straight line and the front cover are connected. The intersection with the arc of the depth of field is the point X (the intersection with the front depth of field of the shooting target area R is the point X2), and the intersection with the arc of the rear depth of field is the point Y (the rear of the shooting target area R) If the intersection with the depth of field is the point Y2), the distance from the shooting position O of the reference area is
(Distance OX) <(Distance OY2) <(Distance OY) <(Distance OX2) <(Distance OO2)
Or
(Distance OO2) <(Distance OX2) <(Distance OX) <(Distance OY2) <(Distance OY)
If it is any of the above, it is determined that the reference area and the shooting target area R overlap.

上述した方法によって、文字列取得部5は、データベース6から、エリア特定部4が特定した撮影対象エリア(基準エリア)と重複する撮影対象エリアを特定し、特定した撮影対象エリアに関連付けられている全ての文字列を付加対象候補として取得する(S7)。   By the method described above, the character string acquisition unit 5 specifies a shooting target area that overlaps the shooting target area (reference area) specified by the area specifying unit 4 from the database 6, and is associated with the specified shooting target area. All character strings are acquired as addition target candidates (S7).

文字列取得部5が、複数の文字列(付加対象候補)を取得した場合(S8でYes)、優先度付与部7は、文字列取得部5によって取得された複数の文字列(付加対象候補)の優先度を特定する(S9)。具体的には、優先度付与部7は、基準エリアとより大きな面積が重複する撮影対象エリアに関連つけられている文字列(付加対象候補)により高い優先度を付与する(S9)。図6に示すように、撮影対象エリアが完全に基準エリアに含まれている場合、重複する範囲の面積は、扇型O’A’D’の面積から扇型O’B’C’の面積を減ずることにより算出される。図7に示すように、撮影対象エリアの一部と基準エリアの一部とが重複する場合、重複する範囲の面積は、重複する範囲を四角形や三角形に分割して算出されてもよい。その際、面積は正確な値でなく近似値であってもよい。また、重複する範囲の面積の計算を簡略化するため、撮影対象エリアを台形として扱ってもよい。   When the character string acquisition unit 5 acquires a plurality of character strings (candidates for addition) (Yes in S8), the priority assigning unit 7 uses the plurality of character strings (candidates for addition target) acquired by the character string acquisition unit 5 ) Is specified (S9). Specifically, the priority assigning unit 7 assigns a higher priority to a character string (addition target candidate) associated with a shooting target area having a larger area than the reference area (S9). As shown in FIG. 6, when the imaging target area is completely included in the reference area, the overlapping area is from the area of the fan-shaped O′A′D ′ to the area of the fan-shaped O′B′C ′. Is calculated by subtracting As shown in FIG. 7, when a part of the imaging target area and a part of the reference area overlap, the area of the overlapping range may be calculated by dividing the overlapping range into a rectangle or a triangle. In this case, the area may be an approximate value instead of an accurate value. In order to simplify the calculation of the area of the overlapping range, the imaging target area may be handled as a trapezoid.

文字列取得部5が、1個の文字列(付加対象候補)を取得した場合(S8でNo)、本実施の形態の画像編集装置10の動作はステップS10に移行する。   When the character string acquisition unit 5 acquires one character string (candidate for addition) (No in S8), the operation of the image editing apparatus 10 according to the present embodiment proceeds to step S10.

次に、表示制御部2は、文字列取得部5によって取得された文字列(付加対象候補)を表示装置30に表示させる(S10)。文字列取得部5が複数の文字列(付加対象候補)を取得した場合(S8でYes)、表示制御部2は、優先度付与部7によって付与された優先度の高いものから降順に、複数の文字列(付加対象候補)の一覧を表示する。   Next, the display control unit 2 causes the display device 30 to display the character string (addition target candidate) acquired by the character string acquisition unit 5 (S10). When the character string acquisition unit 5 acquires a plurality of character strings (candidates for addition) (Yes in S8), the display control unit 2 includes a plurality of items in descending order from the highest priority given by the priority assignment unit 7. A list of character strings (candidates for addition) is displayed.

例えば図5において、撮影対象エリアQを持つ画像は、位置O1で撮影され、その画像に「河口湖でボートに乗る」という文字列が重畳されており、データベース6において、撮影対象エリアQと「河口湖でボートに乗る」という文字列とが関連付けて記録されていると仮定する。   For example, in FIG. 5, an image having a shooting target area Q is shot at a position O1, and a character string “boarding a boat on Lake Kawaguchi” is superimposed on the image. It is assumed that the character string “get on the boat at” is recorded in association with it.

また、図5において、撮影対象エリアRを持つ画像は、位置O2で撮影され、その画像には「河口湖のワカサギ」という文字列が重畳されており、データベース6において、撮影対象エリアRと「河口湖のワカサギ」という文字列とが関連付けて記録されていると仮定する。   In FIG. 5, the image having the shooting target area R is shot at the position O2, and the character string “Lake Kawaguchi smelt” is superimposed on the image. It is assumed that the character string “Wakasagi no” is recorded in association.

更に、図5において、撮影対象エリアTを持つ画像は、位置O3で撮影され、その画像には「富士山」という文字列が重畳されており、データベース6において、撮影対象エリアTと「富士山」という文字列とが関連付けて記録されていると仮定する。   Further, in FIG. 5, an image having the shooting target area T is shot at a position O3, and a character string “Mt. Fuji” is superimposed on the image. Assume that a string is recorded in association with it.

図5に示す例では、基準エリアと重複している範囲の面積が一番大きいのは撮影対象エリアQであり、2番目が撮影対象エリアRであり、撮影対象エリアTは基準エリアと重複していない。したがって、図5に示す例では、優先度付与部7は、文字列「河口湖でボートに乗る」に1位を付与し、文字列「河口湖のワカサギ」に2位を付与し、文字列「富士山」には順位を付与しない。そのため、図5に示す例では、表示制御部2は、図8に示すように、表示装置30により、枠の右側において、文字列「河口湖でボートに乗る」を上位に表示させ、文字列「河口湖のワカサギ」を下位に表示させて、文字列「富士山」は表示させない。   In the example shown in FIG. 5, the largest area of the range overlapping with the reference area is the shooting target area Q, the second is the shooting target area R, and the shooting target area T overlaps with the reference area. Not. Therefore, in the example shown in FIG. 5, the priority assigning unit 7 assigns the first place to the character string “Boats on Lake Kawaguchi”, assigns the second place to the character string “Lake Kawaguchi”, and the character string “Mt. Fuji”. "Is not given a ranking. Therefore, in the example shown in FIG. 5, as shown in FIG. 8, the display control unit 2 causes the display device 30 to display the character string “Ride a boat on Lake Kawaguchi” on the right side of the frame. “Wakasako of Kawaguchiko” is displayed in the lower position, and the character string “Mt. Fuji” is not displayed.

表示制御部2は、表示装置30により、図8に示すように、基準エリアを持つ編集対象の画像を枠内の左上側に表示させさせてもよい。なお、基準エリアを持つ編集対象の画像の下には、その画像に関する情報が表示されてもよい。それは、ユーザに編集対象の画像の情報を与える。また、画像が動画像であれば、枠内の左上側では動画像が再生されてもよい。また、画像に関する情報は、撮影日時や撮影日時等以外にも、撮像装置の型式や、使用されたレンズに関する情報等が含まれてもよい。また、現在選択されている文字列と、それ以外の文字列の文字または背景の色を変える等、画像編集装置10のユーザがいずれの文字列が選択されているのかを判別できるよう、表示制御部2は、表示装置30により、二つの文字列を表示させさせてもよい。更に、表示制御部2は、文字列を単に表示させるだけでなく、過去の入力履歴を表示し、直近に入力された文字列が上位に表示されて選択できるようにする等、ユーザが他の選択方法から文字列を選べるように表示させてもよい。   The display control unit 2 may cause the display device 30 to display an image to be edited having a reference area on the upper left side in the frame, as shown in FIG. Information relating to the image may be displayed under the image to be edited having the reference area. It gives the user information about the image to be edited. If the image is a moving image, the moving image may be reproduced on the upper left side in the frame. In addition to the shooting date and time, the shooting date and time, the information related to the image may include the type of the imaging device, information about the lens used, and the like. Further, the display control is performed so that the user of the image editing apparatus 10 can determine which character string is selected, such as changing the color of the character string or the background of the currently selected character string and the other character string. The unit 2 may cause the display device 30 to display two character strings. Furthermore, the display control unit 2 not only displays the character string, but also displays the past input history so that the most recently input character string is displayed at the top and can be selected. You may display so that a character string can be selected from the selection method.

上述したようにして、表示制御部2は、単純に撮影位置だけで画像に重畳させる文字列を決定するのではなく、過去に同じ対象物を撮影した可能性がより高い画像に付した文字列を優先的に画像編集装置10のユーザに提示してもよい。   As described above, the display control unit 2 does not simply determine the character string to be superimposed on the image only at the shooting position, but the character string attached to the image having a higher possibility of shooting the same object in the past. May be preferentially presented to the user of the image editing apparatus 10.

次に、ユーザは、表示された文字列(付加対象候補)のうちの一つを選択し、受付部3は、ユーザによる選択を受け付ける(S11)。ユーザによって、選択された文字列(付加対象候補)を加工することが選択され、受付部3がその旨の情報を受け付けると(S12でYes)、ユーザは、入力装置40を用いて選択した文字列を加工し、編集部8は、加工された文字列を編集対象の画像に重畳する(S13)。加工とは、大きさや色の変更、他の文字列への置き換え、文字列が重畳される位置の特定を意味する。ステップS13の後、表示制御部2は、文字列が重畳された編集対象の画像を、表示装置30により表示させる(S14)。図9は、文字列が重畳された画像の一例を示す図である。   Next, the user selects one of the displayed character strings (candidates for addition), and the accepting unit 3 accepts the selection by the user (S11). When the user selects to process the selected character string (candidate for addition) and the receiving unit 3 receives information to that effect (Yes in S12), the user selects the character selected using the input device 40. The editing unit 8 superimposes the processed character string on the image to be edited (S13). Processing means changing the size or color, replacing with another character string, and specifying the position where the character string is superimposed. After step S13, the display control unit 2 causes the display device 30 to display the image to be edited on which the character string is superimposed (S14). FIG. 9 is a diagram illustrating an example of an image on which a character string is superimposed.

他方、ユーザによって、選択された文字列(付加対象候補)を加工しないことが選択され、受付部3がその旨の情報を受け付けると(S12でNo)、編集部8は、加工されていない文字列を編集対象の画像に重畳する(S13)。そして、表示制御部2は、文字列が重畳された編集対象の画像を、表示装置30により表示させる(S14)。   On the other hand, when the user selects not to process the selected character string (candidate for addition) and the receiving unit 3 receives information to that effect (No in S12), the editing unit 8 displays the unprocessed characters. The column is superimposed on the image to be edited (S13). Then, the display control unit 2 causes the display device 30 to display the image to be edited on which the character string is superimposed (S14).

最後に、蓄積制御部9は、エリア特定部4によって特定された撮影対象エリアABCDと、編集部8によって編集対象の画像に重畳された文字列とを関連付けてデータベース6に蓄積する(S15)。このとき、図5に示す例において「河口湖のワカサギ」が選択された場合、データベース6には撮影位置Oで撮影対象エリア ABCDと、文字列「河口湖のワカサギ」とが関連付けて記録される。その場合、「河口湖のワカサギ」という文字列の撮影対象エリアがエリアABCDとエリアA2B2C2D2との2か所できることになる。もし次回以降の文字列の合成において、この二つのエリアの重複する基準エリアであった場合、「河口湖のワカサギ」の優先度を決定するための重複エリアの面積は、2つのエリアの和とするとよい。   Finally, the accumulation control unit 9 associates the shooting target area ABCD specified by the area specifying unit 4 with the character string superimposed on the image to be edited by the editing unit 8 and stores it in the database 6 (S15). At this time, in the example shown in FIG. 5, when “Lake Kawaguchi smelt” is selected, the shooting target area ABCD and the character string “Lake Kawaguchi smelt” are recorded in the database 6 in association with each other. In this case, two shooting target areas of the character string “Lake Kawaguchi smelt” can be provided in areas ABCD and A2B2C2D2. If it is a reference area that overlaps these two areas in the next and subsequent character string composition, the area of the overlap area for determining the priority of “Lake Kawaguchiko” is the sum of the two areas. Good.

なお、撮影情報取得部1は、編集部8によって文字列が重畳された画像を記録媒体20に記録してもよい。その際、撮影情報取得部1は、記録手段として機能する。   Note that the photographing information acquisition unit 1 may record the image on which the character string is superimposed by the editing unit 8 on the recording medium 20. At that time, the photographing information acquisition unit 1 functions as a recording unit.

また、エリア特定部4が特定した撮影対象エリア(基準エリア)と重複する撮影対象エリアがデータベース6に存在せず、基準エリアと重複する撮影対象エリアに関連付けられている文字列がデータベース6に存在しない場合、受付部3は、編集対象の画像に重畳する文字列をユーザから入力装置40を介して受け付けてもよい。   In addition, there is no shooting target area in the database 6 that overlaps with the shooting target area (reference area) specified by the area specifying unit 4, and a character string that is associated with the shooting target area that overlaps with the reference area exists in the database 6. If not, the accepting unit 3 may accept a character string to be superimposed on the image to be edited from the user via the input device 40.

また、エリア特定部4は、撮影対象エリアの面積の算出を簡略化するため、撮影対象エリアを以下に示す方法によって撮影対象エリアを特定してもよい。すなわち、エリア特定部4は、撮影対象物は撮影方向dに存在すものとし、弧BCと弧ADとを線分B’C’と線分A’D’とに置き換えて、撮影対象エリアを点A’、点B’、点C’、及び点D’で囲まれる台形の範囲としてもよい。このとき、撮影方向dを示す直線と弧BCとの交点を通り水平面内で撮影方向dを示す直線と垂直な直線と、画角端を示す直線OAとの交点を点B’、直線ODとの交点を点C’とする。また撮影方向を示す直線と弧ADとの交点を通り水平面内で撮影方向を示す直線と垂直な直線と、画角端を示す直線OAとの交点を点A’、直線ODとの交点を点D’とする。   In addition, the area specifying unit 4 may specify the shooting target area by the method described below in order to simplify the calculation of the area of the shooting target area. That is, the area specifying unit 4 assumes that the shooting target is in the shooting direction d, replaces the arc BC and the arc AD with the line segment B′C ′ and the line segment A′D ′, and sets the shooting target area. A trapezoidal range surrounded by the points A ′, B ′, C ′, and D ′ may be used. At this time, an intersection of a straight line passing through the intersection of the straight line indicating the shooting direction d and the arc BC and a straight line indicating the shooting direction d in the horizontal plane and a straight line OA indicating the angle of view is defined as a point B ′, a straight line OD Let the intersection of Further, the intersection of the straight line OA indicating the photographing direction in the horizontal plane passing through the intersection of the straight line indicating the photographing direction and the arc AD, and the straight line OA indicating the end of the angle of view, and the intersection point of the straight line OD Let D ′.

但し、後方被写界深度を算出する式の分母(焦点距離f−許容錯乱円径×絞り値×被写体距離)≦0となるとき、後方被写界深度は不定又は負の値となる。また分母が0に近い正の値では、後方被写界深度は非常に大きな値となる。このように後方被写界深度を定義できない場合や非常に大きな値の場合、撮影対象は被写体距離より大きく離れた位置には存在していないものとし、後方被写界深度が例えば被写体距離の10倍以上の値となるときには、被写体距離の10倍を距離OA(=OD)とする等、被写体距離から得られる値を最大値とするとよい。 However, when the denominator (focal length f 2 −allowable confusion circle diameter × aperture value × subject distance) ≦ 0 of the formula for calculating the rear depth of field, the rear depth of field becomes an indefinite or negative value. Further, when the denominator is a positive value close to 0, the rear depth of field is a very large value. When the rear depth of field cannot be defined or has a very large value, it is assumed that the shooting target does not exist at a position far away from the subject distance, and the rear depth of field is, for example, 10 subject distances. When the value is more than double, the value obtained from the subject distance may be set to the maximum value, such as 10 times the subject distance as the distance OA (= OD).

また、上述した実施の形態では、エリア特定部4は、撮影対象エリアを特定する際、撮影対象エリアが水平面に存在することを前提としている。これは、撮影の対象物が水平面内にあると仮定していることになる。しかし実際の撮影では、水平面内だけが撮影の対象ではない。そこで、エリア特定部4は、撮像装置の撮影方向の仰角を利用して、仰角0度でないとき、すなわち撮影方向が水平方向でない場合で、特に水平面より下方向すなわち地面を撮影した場合には、撮影対象エリアを図10に示すように地面への投影面A’B’C’D’を撮影対象エリアとする。但し、撮影位置から後方被写界深度まので距離A又はDの投影点において、撮影位置Oから仰角Φの撮影方向における地面までの距離(h /sinΦ)が後方被写界深度より短いとき、撮影位置から後方被写界深度までの距離よりも地面の方が近いので、このような場合には距離(h /sinΦ)を撮影位置から後方被写界深度までの距離の代わりに設定し、図10のA’B’C’D’を撮影対象エリアとするとよい。なお、図10において、θ1は仰角を示し、Hは水平方向を示し、Wは撮影対象エリアの地面における投影面を示している。   Moreover, in embodiment mentioned above, the area specific | specification part 4 presupposes that an imaging | photography object area exists in a horizontal surface, when specifying an imaging | photography object area. This assumes that the object to be photographed is in a horizontal plane. However, in actual shooting, only the horizontal plane is not the target of shooting. Therefore, the area specifying unit 4 uses the elevation angle in the shooting direction of the imaging device, and when the elevation angle is not 0 degrees, that is, when the shooting direction is not horizontal, particularly when shooting below the horizontal plane, that is, when shooting the ground, As shown in FIG. 10, the imaging target area is a projection plane A′B′C′D ′ projected onto the ground. However, when the distance (h / sinΦ) from the photographing position O to the ground in the photographing direction at the elevation angle Φ is shorter than the rear depth of field at the projection point of the distance A or D from the photographing position to the rear depth of field, Since the ground is closer than the distance from the shooting position to the rear depth of field, in such a case, the distance (h / sinΦ) is set instead of the distance from the shooting position to the rear depth of field, A'B'C'D 'in FIG. In FIG. 10, θ1 represents an elevation angle, H represents a horizontal direction, and W represents a projection plane on the ground of an imaging target area.

また、撮影対象エリアは、図11(A)に示すように文字列と画像と合成した場合、図11(B)に示すように、画角を、画像全体の画角から文字列の水平方向における画角に変更されてもよい。つまり、撮影対象エリアを範囲A’B’C’D’としてもよい。この場合、重要度の高い文字列を大きくして画像に重畳させると、次の画像合成において、基準エリアと撮影対象エリアとの重複する面積がより広い面積となりやすくなる。また面積が同じ場合でも、基準エリアにおける撮影方向に近い撮影対象エリアをもつ文字列ほど優先度が高くなるようにしてもよい。なお、図11(B)において、θ2は合成した文字列の水平方向における画角を示し、Wは撮影対象エリアを示し、Gは文字列を示している。図11(B)の実際の文字列Gは図11(A)の「富士山」であるが、説明の簡単化のために、図11(B)では、文字列Gの位置を示す四角の枠のみが表示されている。   In addition, when the shooting target area is synthesized with the character string and the image as shown in FIG. 11A, the angle of view is changed from the angle of view of the entire image to the horizontal direction of the character string as shown in FIG. The angle of view may be changed. That is, the area to be imaged may be the range A′B′C′D ′. In this case, if a character string with high importance is enlarged and superimposed on the image, the overlapping area of the reference area and the imaging target area is likely to be larger in the next image composition. Even when the areas are the same, the priority may be higher for a character string having a shooting target area closer to the shooting direction in the reference area. In FIG. 11B, θ2 indicates the angle of view in the horizontal direction of the combined character string, W indicates the shooting target area, and G indicates the character string. The actual character string G in FIG. 11B is “Mt. Fuji” in FIG. 11A, but for simplicity of explanation, a square frame indicating the position of the character string G is shown in FIG. Only is displayed.

また、上述した実施の形態では、編集部8は、文字列を画像に重畳させる。しかしながら、編集部8は、文字列を画像の情報に含めてもよい。その場合、文字列は画像の中には含められないが、画像と画像の情報とを別の画面で表示すると、文字列が画像に重畳されている場合と同じ効果が得られる。すなわち、画像と画像を説明する文字列とが同じ画面に表示されるという効果が発揮される。   In the embodiment described above, the editing unit 8 superimposes the character string on the image. However, the editing unit 8 may include a character string in the image information. In this case, the character string is not included in the image, but if the image and the image information are displayed on different screens, the same effect as when the character string is superimposed on the image can be obtained. That is, the effect that the image and the character string describing the image are displayed on the same screen is exhibited.

また、データベース6、記録媒体20、表示装置30、及び入力装置40は、いずれも、画像編集装置10の外部に存在していてもよいし、画像編集装置10の内部に存在していてもよい。   Further, all of the database 6, the recording medium 20, the display device 30, and the input device 40 may exist outside the image editing device 10, or may exist inside the image editing device 10. .

また、受付部3は、ユーザから入力装置40を介して文字列を受け付け、受け付けられた文字列を画像と対応付けられる、例えば画像に重畳される文字列であるとしてもよい。例えば、受付部3は、表示装置30によって表示された文字列を編集対象の画像と対応付けさせるか否かの選択を受け付け、対応付けさせない選択を受け付けた場合、編集対象の画像に対応付ける文字列を受け付ける。そして、編集部8が受付部3によって受け付けられた文字列と編集対象の画像とを対応付ける。   The accepting unit 3 may accept a character string from the user via the input device 40 and associate the accepted character string with the image, for example, a character string superimposed on the image. For example, the accepting unit 3 accepts a selection as to whether or not to associate a character string displayed by the display device 30 with an image to be edited, and when accepting a selection not to be associated, a character string associated with the image to be edited Accept. Then, the editing unit 8 associates the character string received by the receiving unit 3 with the image to be edited.

なお、上記実施の形態の説明では、本発明の画像編集装置をブロック図によりハードウエア的に構成して説明したが、本発明は、これに限らず、CPUが画像編集プログラムを実行することにより、本発明の画像編集装置をソフトウエア的に構成するようにしても勿論よい。画像編集プログラムは、上述した画像編集装置10の各構成要件の機能をコンピュータに実現させるためのプログラムである。また、本発明の画像編集方法および画像編集プログラムは、本発明の画像編集装置が行う動作の各ステップを実行する方法およびプログラムである。   In the above description of the embodiment, the image editing apparatus according to the present invention has been described as a hardware configuration using a block diagram. However, the present invention is not limited to this, and the CPU executes an image editing program. Of course, the image editing apparatus of the present invention may be configured as software. The image editing program is a program for causing a computer to realize the functions of the constituent elements of the image editing apparatus 10 described above. The image editing method and the image editing program of the present invention are a method and a program for executing each step of the operation performed by the image editing apparatus of the present invention.

10 画像編集装置、 1 撮影情報取得部、 2 表示制御部、 3 受付部、 4 エリア特定部、 5 文字列取得部、 6 データベース、 7 優先度付与部、 8 編集部、 9 蓄積制御部。   DESCRIPTION OF SYMBOLS 10 image editing apparatus, 1 imaging | photography information acquisition part, 2 display control part, 3 reception part, 4 area specification part, 5 character string acquisition part, 6 database, 7 priority assignment part, 8 editing part, 9 accumulation | storage control part.

Claims (8)

撮影によって得られた編集対象の画像のデータと、前記画像の撮影対象エリアを特定するための範囲特定情報とを取得する撮影情報取得部と、
前記撮影情報取得部によって取得された前記範囲特定情報に基づいて、前記画像の撮影対象エリアを特定するエリア特定部と、
前記エリア特定部によって特定された撮影対象エリアと、文字列と撮影対象とを関連付けて保持しているデータベースの保持する撮影対象エリアとを比較し、前記エリア特定部によって特定された撮影対象エリアと重複する撮影対象エリアと関連付けられている文字列を前記データベースから取得する文字列取得部と、
前記文字列取得部によって複数の文字列が取得された場合、前記エリア特定部によって特定された撮影対象エリアと重複する面積がより大きい前記データベースの保持する撮影対象エリアに関連付けられている文字列により高い優先度を付与する優先度付与部と、
前記優先度付与部によって付与された優先度に応じて、前記文字列取得部によって取得された複数の文字列を表示する表示制御部と
を備える画像編集装置。
A shooting information acquisition unit that acquires data of an image to be edited obtained by shooting and range specifying information for specifying a shooting target area of the image;
An area specifying unit for specifying a shooting target area of the image based on the range specifying information acquired by the shooting information acquiring unit;
The shooting target area specified by the area specifying unit is compared with the shooting target area held in the database that holds the character string and the shooting target in association with each other. A character string acquisition unit that acquires, from the database, a character string that is associated with an overlapping shooting target area;
When a plurality of character strings are acquired by the character string acquisition unit, a character string associated with a shooting target area held by the database having a larger area overlapping with the shooting target area specified by the area specifying unit. A priority assigning section for giving a high priority;
An image editing apparatus comprising: a display control unit that displays a plurality of character strings acquired by the character string acquisition unit according to the priority level assigned by the priority level granting unit .
更に、複数の文字列が前記文字列取得部によって表示部によって表示された場合、複数の文字列の何れかをユーザから受け付ける選択受付部と、
前記選択受付部によって受け付けられた文字列を前記画像と対応付ける編集部と
を備える請求項1に記載の画像編集装置。
Furthermore, when a plurality of character strings are displayed by the display unit by the character string acquisition unit, a selection receiving unit that receives any of the plurality of character strings from the user;
The image editing apparatus according to claim 1, further comprising: an editing unit that associates the character string received by the selection receiving unit with the image.
更に、表示部によって表示された文字列を前記画像と対応付けさせるか否かの選択を受け付ける対応付け選択受付部と、  An association selection accepting unit for accepting selection of whether or not to associate the character string displayed by the display unit with the image;
前記対応付け選択受付部が前記表示部によって表示された文字列を前記画像に対応付けない選択を受け付けた場合、前記画像に対応付ける文字列を受け付ける文字列受付部と、  A character string accepting unit that accepts a character string associated with the image when the association selection accepting unit accepts a selection that does not associate the character string displayed by the display unit with the image;
前記文字列受付部が文字列を受け付けた場合、前記文字列受付部が受け付けた文字列を前記画像と対応付ける編集部と  An editing unit that associates the character string received by the character string receiving unit with the image when the character string receiving unit receives the character string;
を備える請求項1に記載の画像編集装置。  The image editing apparatus according to claim 1.
更に、前記エリア特定部によって特定された撮影対象エリアと、前記編集部によって前記画像に対応付けられた文字列とを関連付けて前記データベースに蓄積する蓄積制御部、
を備える請求項2または3に記載の画像編集装置。
Further, an accumulation control unit for associating a shooting target area specified by the area specifying unit with a character string associated with the image by the editing unit, and storing it in the database,
The image editing apparatus according to claim 2, further comprising:
更に、前記文字列取得部によって取得された文字列が加工された文字列を前記画像と対応付ける編集部、
を備える請求項1に記載の画像編集装置。
Further, an editing unit that associates the character string obtained by processing the character string acquired by the character string acquiring unit with the image,
The image editing apparatus according to claim 1.
前記範囲特定情報は、前記画像が得られたときの視野空間と、合焦範囲とを含み、  The range specifying information includes a visual field space when the image is obtained, and a focusing range,
前記エリア特定部は、前記視野空間内の前記合焦範囲を前記画像の撮影対象エリアと特定する  The area specifying unit specifies the in-focus range in the visual field space as a shooting target area of the image.
請求項1〜5のいずれか1項に記載の画像編集装置。  The image editing apparatus according to claim 1.
撮影によって得られた編集対象の画像のデータと、前記画像の撮影対象エリアを特定するための範囲特定情報とを取得する撮影情報取得ステップと、  A shooting information acquisition step for acquiring data of an image to be edited obtained by shooting and range specifying information for specifying a shooting target area of the image;
前記撮影情報取得ステップによって取得された前記範囲特定情報に基づいて、前記画像の撮影対象エリアを特定するエリア特定ステップと、  An area specifying step for specifying a shooting target area of the image based on the range specifying information acquired by the shooting information acquiring step;
前記エリア特定ステップによって特定された撮影対象エリアと、文字列と撮影対象とを関連付けて保持しているデータベースの保持する撮影対象エリアとを比較し、前記エリア特定ステップによって特定された撮影対象エリアと重複する撮影対象エリアと関連付けられている文字列を前記データベースから取得する文字列取得ステップと、  The shooting target area specified in the area specifying step is compared with the shooting target area held in the database that holds the character string and the shooting target in association with each other. A character string acquisition step of acquiring a character string associated with the overlapping shooting target area from the database;
前記文字列取得ステップによって複数の文字列が取得された場合、前記エリア特定ステップによって特定された撮影対象エリアと重複する面積がより大きい前記データベースの保持する撮影対象エリアに関連付けられている文字列により高い優先度を付与する優先度付与ステップと、  When a plurality of character strings are acquired by the character string acquisition step, the character string associated with the imaging target area held in the database having a larger area overlapping the imaging target area specified by the area specifying step. A priority giving step for giving high priority;
前記優先度付与ステップによって付与された優先度に応じて、前記文字列取得ステップによって取得された複数の文字列を表示する表示ステップと、  A display step of displaying a plurality of character strings obtained by the character string obtaining step according to the priority given by the priority giving step;
を備える画像編集方法。  An image editing method comprising:
撮影によって得られた編集対象の画像のデータと、前記画像の撮影対象エリアを特定するための範囲特定情報とを取得する撮影情報取得ステップと、
前記撮影情報取得ステップによって取得された前記範囲特定情報に基づいて、前記画像の撮影対象エリアを特定するエリア特定ステップと、
前記エリア特定ステップによって特定された撮影対象エリアと、文字列と撮影対象とを関連付けて保持しているデータベースの保持する撮影対象エリアとを比較し、前記エリア特定ステップによって特定された撮影対象エリアと重複する撮影対象エリアと関連付けられている文字列を前記データベースから取得する文字列取得ステップと、
前記文字列取得ステップによって複数の文字列が取得された場合、前記エリア特定ステップによって特定された撮影対象エリアと重複する面積がより大きい前記データベースの保持する撮影対象エリアに関連付けられている文字列により高い優先度を付与する優先度付与ステップと、
前記優先度付与ステップによって付与された優先度に応じて、前記文字列取得ステップによって取得された複数の文字列を表示する表示ステップと、
をコンピューターに実行させるための画像編集プログラム。
A shooting information acquisition step for acquiring data of an image to be edited obtained by shooting and range specifying information for specifying a shooting target area of the image;
An area specifying step for specifying a shooting target area of the image based on the range specifying information acquired by the shooting information acquiring step;
The shooting target area specified in the area specifying step is compared with the shooting target area held in the database that holds the character string and the shooting target in association with each other. A character string acquisition step of acquiring a character string associated with the overlapping shooting target area from the database;
When a plurality of character strings are acquired by the character string acquisition step, the character string associated with the imaging target area held in the database having a larger area overlapping the imaging target area specified by the area specifying step. A priority giving step for giving high priority;
A display step of displaying a plurality of character strings obtained by the character string obtaining step according to the priority given by the priority giving step;
Image editing program to make computer execute.
JP2009083547A 2009-03-30 2009-03-30 Image editing apparatus, image editing method, and image editing program Expired - Fee Related JP5287430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009083547A JP5287430B2 (en) 2009-03-30 2009-03-30 Image editing apparatus, image editing method, and image editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009083547A JP5287430B2 (en) 2009-03-30 2009-03-30 Image editing apparatus, image editing method, and image editing program

Publications (2)

Publication Number Publication Date
JP2010239309A JP2010239309A (en) 2010-10-21
JP5287430B2 true JP5287430B2 (en) 2013-09-11

Family

ID=43093283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009083547A Expired - Fee Related JP5287430B2 (en) 2009-03-30 2009-03-30 Image editing apparatus, image editing method, and image editing program

Country Status (1)

Country Link
JP (1) JP5287430B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112085855B (en) * 2020-09-09 2023-05-09 南昌虚拟现实研究院股份有限公司 Interactive image editing method, device, storage medium and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4296451B2 (en) * 1998-06-22 2009-07-15 株式会社日立製作所 Image recording device
JP2002352218A (en) * 2001-05-24 2002-12-06 Olympus Optical Co Ltd File name setting system, electronic camera, and information processing device
JP2006086887A (en) * 2004-09-16 2006-03-30 Nikon Corp Image information processing apparatus and digital camera

Also Published As

Publication number Publication date
JP2010239309A (en) 2010-10-21

Similar Documents

Publication Publication Date Title
US8103126B2 (en) Information presentation apparatus, information presentation method, imaging apparatus, and computer program
JP2012160904A (en) Information processor, information processing method, program, and imaging apparatus
TW201110056A (en) Electronic apparatus, display controlling method and program
JP5532026B2 (en) Display device, display method, and program
WO2013099271A1 (en) Dimension measuring method, electronic device with camera, and program for electronic device with camera
JP2002503893A (en) Virtual reality camera
KR101574636B1 (en) Change region detecting system using time-series aerial photograph captured by frame type digital aerial camera and stereoscopic vision modeling the aerial photograph with coordinate linkage
WO2010001778A1 (en) Imaging device, image display device, and electronic camera
CN103262530B (en) Video monitoring devices
CN107690673A (en) Image processing method and device and server
JPWO2018025825A1 (en) Imaging system
CN112969963B (en) Information processing apparatus, control method thereof, and storage medium
JP2020153873A (en) Diagnostic processing equipment, diagnostic system, diagnostic processing method, and program
CN114175019A (en) Image display device, method, and program
JP6210807B2 (en) Display control device and control method of display control device
JP5155266B2 (en) Image display device, image display method, and image display program
CN102142141B (en) Mobile communication terminal having image conversion function and method
JP6039471B2 (en) Imaging apparatus and control method thereof
JP2007228118A (en) Determination of shooting scene
JP5287430B2 (en) Image editing apparatus, image editing method, and image editing program
JP4468794B2 (en) Display control apparatus, camera, and display control method
JP2012032339A (en) Digital camera
JP5753514B2 (en) Image display device and computer program
JP4776983B2 (en) Image composition apparatus and image composition method
KR102827540B1 (en) Method for Section of High Definitive Image Frame of Video Using Motion Dynamics

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20111012

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130412

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130520

LAPS Cancellation because of no payment of annual fees