JP2009216993A - Image processor, camera and image processing program - Google Patents

Image processor, camera and image processing program Download PDF

Info

Publication number
JP2009216993A
JP2009216993A JP2008060899A JP2008060899A JP2009216993A JP 2009216993 A JP2009216993 A JP 2009216993A JP 2008060899 A JP2008060899 A JP 2008060899A JP 2008060899 A JP2008060899 A JP 2008060899A JP 2009216993 A JP2009216993 A JP 2009216993A
Authority
JP
Japan
Prior art keywords
advertisement
image
shooting
processing apparatus
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008060899A
Other languages
Japanese (ja)
Inventor
Toshihisa Yamaguchi
翁央 山口
Hiroyuki Akitani
裕之 秋谷
Satoshi Mizukami
智 水上
Takashi Sekiya
孝史 関谷
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2008060899A priority Critical patent/JP2009216993A/en
Publication of JP2009216993A publication Critical patent/JP2009216993A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor for selecting an appropriate advertisement image from a plurality of advertisement images in accordance with the photographing situation of a photographed image. <P>SOLUTION: The plurality of advertisement images and various kinds of information related to the selection of advertisement images are recorded in a flash memory 9. When photographing is performed, adaptation of each advertisement related to the photographed image is calculated by an adaptation calculating part 21. The advertisement image to be synthesized with the photographed image is selected by an advertisement selecting part 22 based on the adaptation of every advertisement calculated by the adaptation calculating part 21. The advertisement image selected by the advertisement selecting part 22 is synthesized with the photographed image by the advertisement synthesizing part 23. A control circuit 7 records the photographed image with the synthesized advertisement image in a recording medium 12. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、撮影画像に対応する広告を選択する技術に関する。   The present invention relates to a technique for selecting an advertisement corresponding to a photographed image.

カメラなどで撮影した画像を表示する際に、広告画像を同時に表示することで、ユーザに安価に提供される装置が存在する。このような装置は、複数の広告主から提供された複数の広告を記憶しており、それらの広告の中から適当なものを選択して表示する。広告主が支払った金額に応じて、写真画像に広告画像が合成される頻度を決定する広告登録装置が公知である(特許文献1)。   There is an apparatus that is provided to a user at low cost by displaying an advertisement image at the same time when displaying an image taken by a camera or the like. Such an apparatus stores a plurality of advertisements provided by a plurality of advertisers, and selects and displays an appropriate one from the advertisements. An advertisement registration apparatus that determines the frequency with which an advertisement image is combined with a photographic image according to the amount paid by the advertiser is known (Patent Document 1).

特開2001−34835号公報JP 2001-34835 A

従来の広告選択技術では、撮影画像の情報は考慮されないので、撮影画像に相応しくない広告画像が選択され、広告主が期待する広告効果を得られないことがある。   In the conventional advertisement selection technique, the information of the photographed image is not taken into consideration. Therefore, an advertisement image that is not suitable for the photographed image is selected, and the advertisement effect expected by the advertiser may not be obtained.

請求項1に係る発明は、複数の広告画像と、撮影画像に付されている撮影パラメータと前記複数の広告画像における各広告画像との関係を表す複数の広告情報と、を記憶する広告情報記憶手段と、前記撮影パラメータと、前記広告情報記憶手段により記憶されている前記複数の広告情報とに基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択する広告選択手段と、を備えた画像処理装置である。
請求項2に係る発明は、請求項1に記載の画像処理装置において、前記撮影パラメータは、前記撮影画像を撮影した装置の機種情報,前記撮影画像を撮影した日時,前記撮影画像を撮影したときの前記装置の撮影モード、および、前記撮影画像を撮影した場所のいずれか少なくとも1つを含むことを特徴とする。
請求項3に係る発明は、請求項1または2に記載の画像処理装置において、さらに加えて、前記撮影画像に付されている前記撮影パラメータと、前記広告情報記憶手段により記憶されている前記複数の広告情報とに基づいて、前記複数の広告画像における各広告画像に対応する適合度をそれぞれ算出する適合度算出手段を備え、前記広告選択手段は、算出された前記適合度に基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択することを特徴とする。
請求項4に係る発明は、請求項3に記載の画像処理装置において、前記複数の広告情報における各広告情報は、広告優先度と、前記撮影パラメータに対応するパラメータ優先度と、前記撮影パラメータがとり得る値の各々に対応した数値化データとをそれぞれ含み、前記適合度算出手段は、前記撮影画像に付されている前記撮影パラメータと、前記広告優先度と、前記パラメータ優先度と、前記数値化データとに基づいて、前記複数の広告画像における各広告画像に対応する前記適合度をそれぞれ算出することを特徴とする。
請求項5に係る発明は、請求項1〜4のいずれか一項に記載の画像処理装置において、さらに加えて、前記広告選択手段により選択された前記広告画像を前記撮影画像に埋め込む広告画像埋込手段を備えることを特徴とする。
請求項6に係る発明は、請求項1〜4のいずれか一項に記載の画像処理装置において、さらに加えて、前記広告選択手段により選択された前記広告画像を出力する画像出力手段を備えることを特徴とする。
請求項7に係る発明は、請求項1〜6のいずれか一項に記載の画像処理装置を有することを特徴とするカメラである。
請求項8に係る発明は、複数の広告画像と、撮影画像に付されている撮影パラメータと前記複数の広告画像における各広告画像との関係を表す複数の広告情報と、を記憶する広告情報記憶工程と、前記撮影パラメータと、前記広告情報記憶工程により記憶されている前記複数の広告情報とに基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択する広告選択工程と、をコンピュータにより実行させることを特徴とする画像処理プログラムである。
The invention according to claim 1 is an advertisement information storage that stores a plurality of advertisement images, a plurality of advertisement information that represents a relationship between each of the advertisement images in the plurality of advertisement images, and shooting parameters attached to the photographed images. Advertisement selection means for selecting an advertisement image corresponding to the photographed image from the plurality of advertisement images based on means, the shooting parameter, and the plurality of advertisement information stored in the advertisement information storage means; Is an image processing apparatus.
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the shooting parameters include model information of a device that has captured the captured image, date and time when the captured image was captured, and when the captured image has been captured. Including at least one of a photographing mode of the apparatus and a place where the photographed image is photographed.
According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, in addition, the plurality of photographing parameters added to the photographed image and the plurality of advertisement information stored in the advertisement information storage unit On the basis of the advertisement information of the plurality of advertisement images, the degree-of-fit calculation means for calculating the degree of fit corresponding to each advertisement image, and the advertisement selection means, based on the calculated degree of fit, An advertisement image corresponding to a photographed image is selected from the plurality of advertisement images.
The invention according to claim 4 is the image processing apparatus according to claim 3, wherein each advertisement information in the plurality of advertisement information includes an advertisement priority, a parameter priority corresponding to the shooting parameter, and the shooting parameter. Digitized data corresponding to each of the possible values, and the suitability calculation means includes the shooting parameter attached to the captured image, the advertisement priority, the parameter priority, and the numerical value. The matching degree corresponding to each advertisement image in the plurality of advertisement images is calculated based on the digitized data.
According to a fifth aspect of the present invention, in the image processing device according to any one of the first to fourth aspects, in addition, an advertising image embedding is performed in which the advertising image selected by the advertising selection unit is embedded in the captured image. It is characterized by including a fitting means.
The invention according to claim 6 is the image processing apparatus according to any one of claims 1 to 4, further comprising an image output means for outputting the advertisement image selected by the advertisement selection means. It is characterized by.
A seventh aspect of the present invention is a camera comprising the image processing apparatus according to any one of the first to sixth aspects.
The invention according to claim 8 is an advertisement information storage for storing a plurality of advertisement images, a plurality of advertisement information representing the relationship between the shooting parameters attached to the photographed images and each advertisement image in the plurality of advertisement images. An advertisement selection step of selecting an advertisement image corresponding to the photographed image from the plurality of advertisement images based on the step, the shooting parameter, and the plurality of advertisement information stored by the advertisement information storage step; Is an image processing program that is executed by a computer.

本発明によれば、撮影画像の情報を用いて選択された広告画像によって、より高い広告効果を得ることができる。   ADVANTAGE OF THE INVENTION According to this invention, a higher advertising effect can be acquired with the advertisement image selected using the information of the picked-up image.

――第1の実施の形態――
図面を用いて、本発明の一実施の形態によるデジタルカメラについて説明する。この実施の形態のデジタルカメラは、所定の広告画像の中から撮影画像に最適なものを選択し、選択した広告画像を撮影画像に合成する。以下の説明では、撮影画像へ広告画像を合成することを、広告の埋め込みと称する。
-First embodiment-
A digital camera according to an embodiment of the present invention will be described with reference to the drawings. The digital camera according to the present embodiment selects an optimum photographed image from predetermined advertisement images, and synthesizes the selected advertisement image with the photographed image. In the following description, combining an advertisement image with a photographed image is referred to as advertisement embedding.

図1(a)に示すように、デジタルカメラ本体1には撮影レンズ2が取り付けられている。カメラ本体1の上面にはレリーズボタン3、電源スイッチ4、撮影モードの設定操作を行なうモードダイヤル5が設けられている。図1(b)に示すように、デジタルカメラ本体1の背面には液晶モニタ14が設けられている。   As shown in FIG. 1A, a photographic lens 2 is attached to the digital camera body 1. A release button 3, a power switch 4, and a mode dial 5 for performing a shooting mode setting operation are provided on the upper surface of the camera body 1. As shown in FIG. 1B, a liquid crystal monitor 14 is provided on the back of the digital camera body 1.

図2は本実施の形態によるデジタルカメラの回路構成を示すブロック図である。デジタルカメラ1は、撮像素子6,制御回路7,DRAM8,フラッシュメモリ9,焦点調節装置10,メモリカードインタフェース(I/F)11,液晶モニタ14,外部機器インタフェース(I/F)15,およびGPS(Global Positioning System)センサ16を備える。   FIG. 2 is a block diagram showing a circuit configuration of the digital camera according to the present embodiment. The digital camera 1 includes an image sensor 6, a control circuit 7, a DRAM 8, a flash memory 9, a focus adjustment device 10, a memory card interface (I / F) 11, a liquid crystal monitor 14, an external device interface (I / F) 15, and a GPS. A (Global Positioning System) sensor 16 is provided.

撮像素子6は、画素に対応する複数の光電変換素子を備えたCCDやCMOSイメージセンサによって構成される。撮像素子6は、撮像面上に結像されている被写体像を撮像し、被写体像の明るさに応じた光電変換信号(画像信号)を出力する。撮像素子6の撮像面には、それぞれR(赤)、G(緑)およびB(青)のカラーフィルタが画素位置に対応するように設けられている。撮像素子6がカラーフィルタを通して被写体像を撮像するため、各撮像素子から出力される画像信号は、それぞれRGB表色系の色情報を有する。   The image sensor 6 is constituted by a CCD or CMOS image sensor provided with a plurality of photoelectric conversion elements corresponding to pixels. The image sensor 6 captures a subject image formed on the imaging surface and outputs a photoelectric conversion signal (image signal) corresponding to the brightness of the subject image. R (red), G (green), and B (blue) color filters are provided on the imaging surface of the imaging device 6 so as to correspond to the pixel positions, respectively. Since the image pickup device 6 picks up a subject image through the color filter, the image signal output from each image pickup device has RGB color system color information.

撮像素子6から出力された画像信号は制御回路7に入力される。制御回路7は、画像信号に対して種々の画像処理ならびに広告の埋め込み処理(後に詳述する)を行い、画像データを生成する。そして、制御回路7は生成された画像データに対してJPEGなどの所定の方式により圧縮処理を行い、EXIFなどの形式で記録媒体12へ記録する。   The image signal output from the image sensor 6 is input to the control circuit 7. The control circuit 7 performs various image processing and advertisement embedding processing (described in detail later) on the image signal to generate image data. Then, the control circuit 7 performs compression processing on the generated image data by a predetermined method such as JPEG, and records it on the recording medium 12 in a format such as EXIF.

制御回路7は、たとえばRISCなどで構成され、図2に示す各回路を制御する。また、制御回路7は適合度算出部21,広告選択部22および広告合成部23を機能的に備えている。これらの機能は、広告の埋め込みを行うために用いられる。適合度算出部21は、撮影時の各種情報に基づいて、所定の広告画像の、撮影画像における適合度を算出する。広告選択部22は、適合度算出部21により算出された適合度に基づいて、複数の広告画像の中から1つを選択する。広告合成部23は、広告選択部22により選択された広告画像を撮影画像に合成する。   The control circuit 7 is composed of, for example, a RISC and controls each circuit shown in FIG. In addition, the control circuit 7 functionally includes a fitness calculation unit 21, an advertisement selection unit 22, and an advertisement composition unit 23. These functions are used for embedding advertisements. The fitness level calculation unit 21 calculates the fitness level of the predetermined advertisement image in the captured image based on various information at the time of shooting. The advertisement selection unit 22 selects one of the plurality of advertisement images based on the matching level calculated by the matching level calculation unit 21. The advertisement composition unit 23 synthesizes the advertisement image selected by the advertisement selection unit 22 with the captured image.

焦点調節装置10は、撮像素子6から出力される撮像信号に基づいて周知の焦点評価値演算を行い、演算結果を制御回路7へ出力する。制御回路7は、上記演算結果に基づいて、焦点評価値が最大となる位置へ撮影レンズ2を移動する。   The focus adjustment device 10 performs a well-known focus evaluation value calculation based on the imaging signal output from the image sensor 6 and outputs the calculation result to the control circuit 7. The control circuit 7 moves the photographing lens 2 to a position where the focus evaluation value is maximized based on the calculation result.

DRAM8は、画像処理、画像圧縮処理および表示用画像データ作成処理の途中や処理後のデータを一時的に格納するために使用される。表示用画像データは、制御回路7が撮像素子6からの出力に基づいて生成した画像データ、もしくは記録媒体12に記録されている画像データに基づいて、制御回路7により生成される。生成された表示用画像データは、制御回路7によりDRAM8に格納される。フラッシュメモリ9は、たとえば制御回路7が演算を行なうための各種の処理プログラムが記憶された不揮発性メモリである。フラッシュメモリ9には他に広告画像や広告情報なども記憶されている。   The DRAM 8 is used to temporarily store data during or after image processing, image compression processing, and display image data creation processing. The display image data is generated by the control circuit 7 based on the image data generated by the control circuit 7 based on the output from the image sensor 6 or the image data recorded on the recording medium 12. The generated display image data is stored in the DRAM 8 by the control circuit 7. The flash memory 9 is a non-volatile memory that stores various processing programs for the control circuit 7 to perform operations, for example. The flash memory 9 also stores advertisement images and advertisement information.

LCD駆動回路13は制御回路7の命令に基づいて液晶モニタ14を駆動し、液晶モニタ14は画像を表示する。また、液晶モニタ14は、デジタルカメラの各種設定メニュー画面の表示を行なう。   The LCD drive circuit 13 drives the liquid crystal monitor 14 based on a command from the control circuit 7, and the liquid crystal monitor 14 displays an image. The liquid crystal monitor 14 displays various setting menu screens of the digital camera.

外部機器インタフェース17は、デジタルカメラ1と外部機器(図示せず)とを接続するためのインタフェースである。制御回路7は、外部機器インタフェース17を通じて、外部機器と情報の送受信を行うことができる。情報の送受信の例としては、記録媒体12に記録されている撮影画像を外部機器へ送信することや、外部機器から送信された撮影画像を液晶モニタ14に表示することなどが挙げられる。   The external device interface 17 is an interface for connecting the digital camera 1 and an external device (not shown). The control circuit 7 can transmit / receive information to / from an external device through the external device interface 17. Examples of information transmission / reception include transmitting a captured image recorded on the recording medium 12 to an external device, displaying a captured image transmitted from the external device on the liquid crystal monitor 14, and the like.

GPSセンサ16は、GPS衛星からのGPS信号を検出し、制御回路7へ現在地の緯度情報,経度情報ならびに現在時刻を提供する。現在時刻の取得には、GPS信号に含まれる時刻情報を用いる。   The GPS sensor 16 detects a GPS signal from a GPS satellite and provides the control circuit 7 with latitude information, longitude information, and current time of the current location. For obtaining the current time, time information included in the GPS signal is used.

次に、本カメラの撮影動作について説明する。ユーザが電源スイッチ4を操作することにより電源がオンとなり、かつモードダイヤル5により撮影モードに切換えられると、制御回路7は撮影モードを設定する。制御回路7は、撮像素子6およびLCD駆動回路13を制御することにより、たとえば1/30秒の周期で液晶モニタ14に表示される画像を更新する。すなわち、液晶モニタ14には、被写体の動画像がスルー画として表示される。   Next, the photographing operation of this camera will be described. When the user turns on the power by operating the power switch 4 and the mode dial 5 switches to the photographing mode, the control circuit 7 sets the photographing mode. The control circuit 7 updates the image displayed on the liquid crystal monitor 14 at a period of 1/30 seconds, for example, by controlling the image sensor 6 and the LCD drive circuit 13. That is, the moving image of the subject is displayed on the liquid crystal monitor 14 as a through image.

スルー画表示中にユーザがレリーズボタン3を半押しして半押しスイッチ3aがオンすると、撮影準備が指示される。撮影準備指示に応じて、制御回路7が焦点調節装置10を制御し、撮影レンズ2が適切な位置へ移動される。   When the user half-presses the release button 3 and the half-press switch 3a is turned on during the through image display, the preparation for shooting is instructed. In response to the photographing preparation instruction, the control circuit 7 controls the focus adjusting device 10 and the photographing lens 2 is moved to an appropriate position.

スルー画表示中にユーザがレリーズボタン3を全押しして全押しスイッチ3bがオンすると、撮影が指示される。撮影指示に応じて、制御回路7は、撮像素子6から入力した画像信号に所定の画像処理を行う。その後、広告合成部23によって、撮影画像に広告の埋め込みが行われる。最後に、撮影画像が記録媒体12に記録される。このとき、広告合成部23によって広告の埋め込みが行われた撮影画像は、液晶モニタ14には表示されない。なお、所定の秒数(例えば、2秒間)だけ、液晶モニタ14上に広告付き画像を表示することも勿論可能である。   When the user fully presses the release button 3 and the full-press switch 3b is turned on during the through image display, shooting is instructed. In response to the shooting instruction, the control circuit 7 performs predetermined image processing on the image signal input from the image sensor 6. Thereafter, the advertisement composition unit 23 embeds the advertisement in the photographed image. Finally, the captured image is recorded on the recording medium 12. At this time, the captured image in which the advertisement is embedded by the advertisement composition unit 23 is not displayed on the liquid crystal monitor 14. Of course, it is also possible to display an image with an advertisement on the liquid crystal monitor 14 for a predetermined number of seconds (for example, 2 seconds).

次に、デジタルカメラ1による広告の埋め込みについて説明する。前述の通り、デジタルカメラ1は、撮影画像に広告画像を合成し、合成後の撮影画像を記録媒体12に記録する。合成する広告画像は、フラッシュメモリ9に記録されている複数の広告画像から1つが選択される。フラッシュメモリ9には広告画像に加えて、広告画像の選択に関係する各種の情報が記録されている。   Next, advertisement embedding by the digital camera 1 will be described. As described above, the digital camera 1 combines the advertisement image with the captured image, and records the combined captured image on the recording medium 12. One advertisement image to be combined is selected from a plurality of advertisement images recorded in the flash memory 9. In addition to the advertisement image, various information related to the selection of the advertisement image is recorded in the flash memory 9.

図3は、広告の埋め込みが行われた撮影画像の例である。図3(a)には、広告の埋め込みが行われる前の撮影画像31が示されている。撮影画像31に対して、広告の埋め込みを行った例が、図3(b)および図3(c)である。図3(b)の撮影画像32Aには、画像の最下部に矩形の広告画像32Bが合成されている。また図3(c)の撮影画像33Aには、画像の上方右側に、楕円形の広告画像33Bが合成されている。このように、広告画像はどのような形状であってもよい。   FIG. 3 is an example of a photographed image in which an advertisement is embedded. FIG. 3A shows a captured image 31 before the advertisement is embedded. An example in which an advertisement is embedded in the photographed image 31 is shown in FIGS. In the photographed image 32A in FIG. 3B, a rectangular advertisement image 32B is synthesized at the bottom of the image. Further, in the photographed image 33A of FIG. 3C, an elliptical advertisement image 33B is synthesized on the upper right side of the image. Thus, the advertisement image may have any shape.

広告画像の合成は、以下に示す手順で行われる。初めに、適合度算出部21により、撮影画像に対する各広告の適合度が算出される。適合度は、広告にあらかじめ設定されている条件に、撮影画像がどの程度合致しているかを表す数値である。適合度が大きいほど、上記の条件によく合致しているといえる。   The synthesis of the advertisement image is performed according to the following procedure. First, the fitness level calculation unit 21 calculates the fitness level of each advertisement with respect to the captured image. The goodness of fit is a numerical value indicating how much the captured image matches a condition preset in the advertisement. It can be said that the higher the fitness, the better the above condition is met.

適合度算出部21により算出された広告ごとの適合度を基に、広告選択部22が撮影画像と合成する広告画像を選択する。具体的には、適合度の比に基づいた確率で広告画像を選択する。例えば、他の広告画像の2倍の適合度を持つ広告画像は、他の広告画像の2倍の確率で選択される。広告選択部22により選択された広告画像が、広告合成部23により撮影画像に合成される。   Based on the fitness for each advertisement calculated by the fitness calculator 21, the advertisement selector 22 selects an advertisement image to be combined with the captured image. Specifically, the advertisement image is selected with a probability based on the ratio of the fitness. For example, an advertisement image having twice the matching degree as another advertisement image is selected with a probability twice as large as that of the other advertisement image. The advertisement image selected by the advertisement selecting unit 22 is combined with the photographed image by the advertisement combining unit 23.

次に、適合度算出部21による広告画像の適合度算出方法について、図を用いて説明する。なお、以下の説明において、デジタルカメラ1には広告A,B,C,D,E,Fが備わっているものとする。   Next, a method for calculating the fitness level of the advertisement image by the fitness level calculation unit 21 will be described with reference to the drawings. In the following description, it is assumed that the digital camera 1 has advertisements A, B, C, D, E, and F.

図4は、適合度算出処理の概略を示すブロック図である。適合度の算出に先だって、制御回路7から適合度算出部21へ、適合度算出に用いるための撮影パラメータ44が提供される。撮影パラメータは、撮影に関する各種の情報である。本実施形態では、撮影パラメータには、機種ランク,撮影日時,撮影モード,および撮影地が含まれる。   FIG. 4 is a block diagram showing an outline of the fitness calculation processing. Prior to the calculation of the fitness level, the control circuit 7 provides the fitness level calculation unit 21 with the imaging parameters 44 to be used for the fitness level calculation. The shooting parameter is various information related to shooting. In the present embodiment, the shooting parameters include the model rank, shooting date / time, shooting mode, and shooting location.

機種ランクは、撮影に用いられたカメラのランクを示す情報であり、機種ごとに固定されたA〜Eいずれかの値を採る。最高級機の機種ランクはAである。撮影日時は、撮影が行われた季節および時間帯を示す情報であり、春,夏,秋,冬のいずれか1つと、昼,夜のいずれか1つとを組み合わせた値を採る。   The model rank is information indicating the rank of the camera used for photographing, and takes one of the values A to E fixed for each model. The model rank of the highest grade machine is A. The shooting date and time is information indicating the season and time zone when the shooting was performed, and takes a value obtained by combining any one of spring, summer, autumn, and winter and any one of day and night.

撮影モードは、撮影が行われたときのデジタルカメラ1の撮影モードを示す情報であり、例えば「人物」,「風景」などの値を採る。撮影地は、撮影が行われた場所を示す情報であり、GPSセンサ16により提供される、経度および緯度を表す数値である。   The shooting mode is information indicating the shooting mode of the digital camera 1 when shooting is performed, and takes values such as “person” and “landscape”, for example. The shooting location is information indicating a location where shooting is performed, and is a numerical value representing longitude and latitude provided by the GPS sensor 16.

適合度の算出は、撮影パラメータの数値化,パラメータ優先度の乗算,広告優先度の乗算という3つのステップにより行われる。初めに、前述の4つの撮影パラメータを、パラメータ数値化表を用いて数値化する。パラメータ数値化表は、撮影パラメータを数値化するために用いられる表である。1つの広告におけるパラメータ数値化表は、撮影パラメータごとに1つ以上存在する。すなわち、1つの広告につき4つ以上のパラメータ数値化表が存在する。   The calculation of the fitness level is performed in three steps: digitization of shooting parameters, multiplication of parameter priority, and multiplication of advertisement priority. First, the above four shooting parameters are digitized using a parameter digitization table. The parameter digitization table is a table used to digitize the shooting parameters. There is one or more parameter digitization tables in one advertisement for each shooting parameter. That is, there are four or more parameter quantification tables for one advertisement.

例えば、図4では、機種ランク「A」をパラメータ数値化表(機種ランク)45によって数値化し、「20」という値が得られている。同様に、撮影日時,撮影モード,および撮影地を、対応するパラメータ数値化表(46,47,48)により数値化し、それぞれ「30」,「20」,「30」という値を得る。具体的な数値化の方法については後に詳述する。   For example, in FIG. 4, the model rank “A” is digitized by the parameter digitization table (model rank) 45 to obtain a value “20”. Similarly, the shooting date / time, shooting mode, and shooting location are digitized by the corresponding parameter digitization tables (46, 47, 48) to obtain values of “30”, “20”, and “30”, respectively. A specific numerical method will be described in detail later.

各々の撮影パラメータを数値化したら、次に、パラメータ優先度による乗算を行う。パラメータ優先度は、各々の撮影パラメータが適合度に与える影響を示す数値である。1つの広告におけるパラメータ優先度は、撮影パラメータごとに1つ存在する。すなわち、1つの広告につき4つのパラメータ優先度が存在する。   After each photographing parameter is digitized, next, multiplication by parameter priority is performed. The parameter priority is a numerical value indicating the influence of each shooting parameter on the fitness. One parameter priority in one advertisement exists for each shooting parameter. That is, there are four parameter priorities per advertisement.

パラメータ優先度が大きな撮影パラメータほど、適合度に対して大きな影響を及ぼす。図4では、広告Aのパラメータ優先度44として、機種ランクに「0」,撮影日時に「70」,撮影モードに「20」,撮影地に「10」という数値が与えられているので、適合度にもっとも大きな影響を与える撮影パラメータは撮影日時である。   An imaging parameter with a higher parameter priority has a greater influence on the fitness. In FIG. 4, as the parameter priority 44 of the advertisement A, numerical values of “0” for the model rank, “70” for the shooting date, “20” for the shooting mode, and “10” for the shooting location are given. The shooting parameter that has the greatest influence on the degree is the shooting date and time.

パラメータ優先度による乗算を行った結果、符号49で示すように、撮影パラメータ別に4つの数値が得られる。これらの数値を加算し、符号50で示す値を得る。最後に、符号50で示す値と、広告Aの広告優先度51との乗算を行うことで、広告Aの適合度が算出される。   As a result of the multiplication by the parameter priority, four numerical values are obtained for each photographing parameter as indicated by reference numeral 49. These numerical values are added to obtain a value indicated by reference numeral 50. Finally, the adaptability of the advertisement A is calculated by multiplying the value indicated by the reference numeral 50 by the advertisement priority 51 of the advertisement A.

広告優先度は、広告の優先度を表す1〜5の数値である。広告優先度が大きな広告ほど、大きな適合度を持つ。本実施形態では、広告優先度は広告主ごとに設定される。図4の例では、表43より、広告主aが提供する広告A,BおよびCには広告優先度3が与えられている。なお、広告優先度を各広告ごとに設定してもよい。   The advertisement priority is a numerical value of 1 to 5 that represents the priority of the advertisement. An advertisement with a higher ad priority has a higher matching degree. In this embodiment, the advertisement priority is set for each advertiser. In the example of FIG. 4, the advertisement priority 3 is given to the advertisements A, B, and C provided by the advertiser a from Table 43. The advertisement priority may be set for each advertisement.

広告Aの広告優先度は3であるので、符号50で示す数値「2800」と符号51で示す広告優先度「3」を乗算し、符号52で示す広告Aの適合度「8400」が得られる。以上のようにして、広告ごとの適合度が算出される。   Since the advertisement priority of the advertisement A is 3, the numerical value “2800” indicated by the reference numeral 50 is multiplied by the advertisement priority “3” indicated by the reference numeral 51 to obtain the adaptability “8400” of the advertisement A indicated by the reference numeral 52. . As described above, the fitness for each advertisement is calculated.

各々の広告のパラメータ優先度およびパラメータ数値化表は、後述する所定の制限下で、広告主が決定することができる。広告主は、広告がもっとも広告効果を発揮する状況下で広告の適合度が最大になるよう、パラメータ優先度およびパラメータ数値化表を設定すればよい。   The parameter priority of each advertisement and the parameter digitization table can be determined by the advertiser under predetermined restrictions described later. The advertiser only needs to set the parameter priority and the parameter quantification table so that the ad suitability is maximized in a situation where the ad exhibits the most advertising effect.

次に、パラメータ優先度およびパラメータ数値化表について説明する。図5(a)は、パラメータ優先度の一覧である。広告ごとに4つのパラメータ優先度が存在する。これら4つのパラメータ優先度は、合計が100となるように設定される。なお、合計値を100以外に設定できるようにしてもよい。   Next, parameter priorities and parameter quantification tables will be described. FIG. 5A is a list of parameter priorities. There are four parameter priorities for each advertisement. These four parameter priorities are set so that the sum is 100. Note that the total value may be set to other than 100.

図5(b),(c),(d)は、それぞれ機種ランク、撮影日時、撮影モードのパラメータ数値化表である。これらについてもパラメータ優先度と同様に、広告ごとに数値の合計が100となるように設定される。これらの撮影パラメータを数値化する際には、パラメータ数値化表の中から撮影パラメータの値と一致する項目を検索し、対応する数値を取り出す。なお数値の合計を100以外に設定できるようにしてもよいし、各撮影パラメータごとに異なる合計値としてもよい。   FIGS. 5B, 5C, and 5D are parameter numerical tables of model rank, shooting date and time, and shooting mode, respectively. These are also set so that the sum of the numerical values is 100 for each advertisement as in the parameter priority. When these shooting parameters are digitized, an item that matches the value of the shooting parameter is searched from the parameter digitization table, and the corresponding numeric value is extracted. Note that the sum of numerical values may be set to other than 100, or may be a different total value for each shooting parameter.

図6は、撮影地のパラメータ数値化表である。撮影地のパラメータ数値化表は、3つの部分により構成される。また、撮影パラメータを数値化する手順も、その他の撮影パラメータとは異なっている。   FIG. 6 is a parameterization table of shooting locations. The shooting location parameter digitization table is composed of three parts. The procedure for digitizing the shooting parameters is also different from the other shooting parameters.

撮影地の数値化には、パラメータ数値化表で指定した範囲と特定地が用いられる。撮影地が指定された範囲に含まれているか否か、ならびに、撮影地が指定された特定地から所定距離内であるか否かに基づいて、撮影地の数値化が行われる。   The range and specific location specified in the parameter digitization table are used for digitizing the shooting location. The shooting location is digitized based on whether the shooting location is included in the designated range and whether the shooting location is within a predetermined distance from the specified specific location.

図6(a)に示す表65には、撮影地の範囲および特定地が指定されている。撮影地が表65で指定された範囲に含まれる場合、あるいは、撮影地が表65で指定された特定地に近い場合に、撮影地を数値化した結果が大きくなる。撮影地を数値化した結果は、範囲に関する数値化と特定地に関する数値化を行った結果を加算したものである。これら2つの数値化を順に説明する。   In the table 65 shown in FIG. 6A, the range of the photographing location and the specific location are designated. When the shooting location is included in the range specified in Table 65, or when the shooting location is close to the specific location specified in Table 65, the result of digitizing the shooting location becomes large. The result of digitizing the shooting location is the sum of the results of digitizing the range and digitizing the specific location. These two numerical values will be described in order.

撮影地が表65で指定された範囲に含まれていた場合、撮影地の範囲に関する数値化を行った結果は所定の数値(例えば30)となる。一方、撮影地が指定された範囲に含まれていなかった場合、撮影地の範囲に関する数値化を行った結果は0となる。   When the shooting location is included in the range specified in Table 65, the result of the digitization related to the shooting location range is a predetermined value (for example, 30). On the other hand, when the shooting location is not included in the designated range, the result of the numerical value regarding the shooting location range is 0.

撮影地の特定地に関する数値化は、撮影地と特定地の間の距離を求め、距離に応じた結果を算出する。初めに、図6(b)で示す表66に基づいて、撮影地と特定地の間の距離が「so near」,「near」,「middle」,「far」,「so far」の5段階のうちいずれに該当するかを判定する。「so near」は撮影地と特定地がもっとも近いことを表し、「so far」は撮影地と特定地がもっとも遠いことを表す。   In the digitization of the specific location of the shooting location, a distance between the shooting location and the specific location is obtained, and a result corresponding to the distance is calculated. First, based on the table 66 shown in FIG. 6B, the distance between the shooting location and the specific location is “so near”, “near”, “middle”, “far”, “so far”. Which of the above is applicable. “So near” indicates that the shooting location and the specific location are the closest, and “so far” indicates that the shooting location and the specific location are the farthest.

表66は、各段階に属する距離の限界が設定されている。例えば、表66において、広告Dの「so near」には1km、「near」は3kmという値が設定されている。これは、距離が1km以下であれば「so near」、3km以下であれば「near」であると判定されることを意味する。また、撮影地と特定地の間の距離が「so far」に示されている値を上回っていた場合、特定地に関する数値化の結果は0となる。   In Table 66, the limit of the distance belonging to each stage is set. For example, in Table 66, “so near” of the advertisement D is set to a value of 1 km and “near” is set to a value of 3 km. This means that “so near” is determined if the distance is 1 km or less, and “near” is determined if the distance is 3 km or less. If the distance between the shooting location and the specific location is greater than the value indicated in “so far”, the numerical result regarding the specific location is zero.

距離が5段階のうちいずれかに該当した場合は、図6(c)で示す表67に基づいて、特定地優先度を算出する。特定地優先度は、前述の5段階ごとに設定された0以上1以下の数値であり、値が大きいほど数値化した結果が大きくなる。特定地優先度は広告ごとに合計が1となるよう設定される。なお、合計値を1以外に設定できるようにしてもよい。   When the distance corresponds to any one of the five levels, the specific place priority is calculated based on the table 67 shown in FIG. The specific place priority is a numerical value of 0 or more and 1 or less set for each of the five levels described above. The larger the value, the larger the numerical result. The specific place priority is set so that the total is 1 for each advertisement. The total value may be set to a value other than 1.

特定地優先度を算出したら、所定の数値(例えば70)に特定地優先度を乗算する。乗算の結果が、特定地に関する数値化の結果となる。最後に、範囲に関する数値化の結果と、特定地に関する数値化の結果とを加算し、撮影地を数値化した結果とする。   When the specific location priority is calculated, a specific numerical value (for example, 70) is multiplied by the specific location priority. The result of multiplication is the result of quantification regarding a specific place. Finally, the result of quantification regarding the range and the result of quantification regarding the specific location are added to obtain the result of quantifying the shooting location.

なお、撮影地のパラメータ数値化表に、範囲および特定地を複数設定できるようにしてもよい。この場合、複数の特定地に異なる特定地優先度や特定地距離を割り当ててもよい。また、範囲は国や都道府県による領域の他に、経度や緯度による任意の範囲を指定できるようにしてもよい。   A plurality of ranges and specific locations may be set in the parameterization table of shooting locations. In this case, different specific place priorities or specific place distances may be assigned to a plurality of specific places. In addition to the region based on the country or prefecture, the range may be set to an arbitrary range based on longitude and latitude.

上述の適合度算出部21による適合度算出処理について、フローチャートを用いて説明する。図7は、適合度算出部21による、1つの広告に対する適合度算出処理のフローチャートである。以下の説明でパラメータ数値化表について述べる場合、適合度算出を行う広告のパラメータ数値化表を指しているものとする。パラメータ優先度および広告優先度についても同様である。   The fitness level calculation process by the fitness level calculation unit 21 will be described with reference to a flowchart. FIG. 7 is a flowchart of a fitness level calculation process for one advertisement by the fitness level calculation unit 21. In the following description, the parameter digitization table refers to the parameter digitization table of the advertisement for which the fitness is calculated. The same applies to the parameter priority and the advertisement priority.

まずステップS1では、適合度の初期値として0を、数値化撮影地の初期値として0を設定する。ステップS2では、機種ランクの数値化を行い、結果を適合度に加算する。機種ランクの数値化は、機種ランクの値をパラメータ数値化表から検索し、該当する数値とパラメータ優先度との乗算を行うことにより実行される。同様に、ステップS3では撮影日時を、ステップS4では撮影モードをそれぞれ数値化して適合度に加算する。   First, in step S1, 0 is set as the initial value of the fitness, and 0 is set as the initial value of the digitized shooting location. In step S2, the model rank is digitized and the result is added to the fitness. The digitization of the model rank is executed by retrieving the model rank value from the parameter digitization table and multiplying the corresponding numeric value by the parameter priority. Similarly, in step S3, the shooting date and time are converted into numerical values, and in step S4, the shooting mode is converted into a numerical value and added to the fitness level.

ステップS5では、撮影地のパラメータ数値化表を参照し、範囲が指定されているか否かを判定する。範囲が指定されていれば、ステップS5により肯定判定がなされ、ステップS6へ進む。他方、ステップS5において否定判定がなされた場合は、ステップS8へ進む。ステップS6では、撮影地がパラメータ数値化表にて指定された範囲に含まれるか否かを判定する。撮影地が範囲に含まれていれば、ステップS6により肯定判定がなされ、ステップS7へ進む。ステップS7では、数値化撮影地へ30を加算する。他方、ステップS6において否定判定がなされた場合は、ステップS8へ進む。   In step S5, it is determined whether or not a range has been designated by referring to the parameterization table of shooting locations. If the range is designated, an affirmative determination is made in step S5, and the process proceeds to step S6. On the other hand, if a negative determination is made in step S5, the process proceeds to step S8. In step S6, it is determined whether the shooting location is included in the range specified in the parameter digitization table. If the shooting location is included in the range, an affirmative determination is made in step S6, and the process proceeds to step S7. In step S7, 30 is added to the digitized shooting location. On the other hand, if a negative determination is made in step S6, the process proceeds to step S8.

ステップS8では、撮影地のパラメータ数値化表を参照し、特定地が指定されているか否かを判定する。特定地が指定されていれば、ステップS8により肯定判定がなされ、ステップS9へ進む。他方、ステップS8において否定判定がなされた場合は、ステップS13へ進む。   In step S8, it is determined whether or not a specific location is designated by referring to the parameterization table of the shooting location. If the specific place is designated, an affirmative determination is made in step S8, and the process proceeds to step S9. On the other hand, if a negative determination is made in step S8, the process proceeds to step S13.

ステップS9では、撮影地と特定地との距離を算出する。ステップS10では、ステップS9で算出した距離が、パラメータ数値化表において「so far」と判定される距離を超えているか否かを判定する。算出した距離が「so far」と判定される距離よりも大きかった場合、ステップS10により肯定判定がなされ、ステップS13へ進む。他方、ステップS10において否定判定がなされた場合は、ステップS11へ進む。ステップS11では、パラメータ数値化表を基に、距離に対応する特定地優先度を取得する。ステップS12では、特定地優先度と70の乗算結果を、数値化撮影地へ加算する。   In step S9, the distance between the shooting location and the specific location is calculated. In step S10, it is determined whether or not the distance calculated in step S9 exceeds the distance determined as “so far” in the parameter digitization table. If the calculated distance is greater than the distance determined to be “so far”, an affirmative determination is made in step S10, and the process proceeds to step S13. On the other hand, if a negative determination is made in step S10, the process proceeds to step S11. In step S11, the specific location priority corresponding to the distance is acquired based on the parameter digitization table. In step S12, the multiplication result of the specific location priority and 70 is added to the digitized shooting location.

ステップS13では、数値化撮影地と、撮影地のパラメータ優先度とを乗算し、結果を適合度に加算する。ステップS14では、適合度に広告優先度を乗算する。以上の処理で、対象とする広告の適合度が算出される。   In step S13, the digitized shooting location is multiplied by the parameter priority of the shooting location, and the result is added to the fitness. In step S14, the fitness is multiplied by the advertisement priority. With the above processing, the fitness of the target advertisement is calculated.

上述した第1の実施の形態によるデジタルカメラによれば、次の作用効果が得られる。
(1)機種ランクや撮影日時などの撮影パラメータを用いて、埋め込みを行う広告画像を選択するようにした。これにより、撮影画像に応じて適切な広告画像が選択され、高い広告効果が得られる。
(2)広告ごとに、期待する撮影パラメータの値と、どの撮影パラメータを優先するかを選択することができるようにした。これにより、広告が期待する撮影状況を広告主が自由に設定することができる。
(3)適合度算出の際、広告ごとの広告優先度によって乗算を行うようにした。これにより、広告料の多寡や広告提供数に応じて特定の広告を優先することができる。
(4)撮影パラメータとして、撮影地の情報を扱うようにした。これにより、地域限定の広告を用意することができ、高い広告効果が得られる。
According to the digital camera according to the first embodiment described above, the following operational effects can be obtained.
(1) An advertisement image to be embedded is selected using shooting parameters such as model rank and shooting date / time. Thereby, an appropriate advertisement image is selected according to the photographed image, and a high advertisement effect is obtained.
(2) For each advertisement, an expected shooting parameter value and which shooting parameter to prioritize can be selected. Thereby, the advertiser can freely set the shooting situation expected by the advertisement.
(3) When calculating the fitness, multiplication is performed according to the advertisement priority for each advertisement. Thereby, priority can be given to a specific advertisement according to the amount of advertisement charges and the number of advertisements provided.
(4) The shooting location information is handled as the shooting parameter. Thereby, an advertisement limited to a region can be prepared, and a high advertising effect can be obtained.

上述した第1の実施の形態では、1つの広告に対し1つの広告画像のみが存在していた。また、繰り返し撮影を行った場合に適合度が変化せず、同一の広告画像が繰り返し合成されることがあった。以下に詳述する第2の実施の形態では、撮影画像の解像度に合わせて、合成する広告画像の大きさを切り替えると共に、同一の広告画像が繰り返されないよう、広告の選択を行う際に適合度以外の点を考慮する。   In the first embodiment described above, only one advertisement image exists for one advertisement. In addition, when the repeated shooting is performed, the fitness does not change, and the same advertisement image may be repeatedly combined. In the second embodiment described in detail below, the size of the advertisement image to be combined is switched according to the resolution of the captured image, and it is adapted when selecting an advertisement so that the same advertisement image is not repeated. Consider points other than degrees.

――第2の実施の形態――
本実施形態によるデジタルカメラは、フラッシュメモリ9へ、各広告ごとに複数の広告画像が記録されている。また、撮影画像の解像度ごとにどの広告画像を用いるかを判定するための表も記録されている。
-Second embodiment-
In the digital camera according to the present embodiment, a plurality of advertisement images are recorded in the flash memory 9 for each advertisement. In addition, a table for determining which advertisement image to use for each resolution of the captured image is also recorded.

図8は、広告画像の大きさを決定するためのデータ構造を示す図である。本実施形態によるデジタルカメラへ設定することができる撮影画像の解像度は、「1936x1296」,「2896x1944」,「3872x2592」,「4320x2868」の4種類となっている。各々の広告に対し、上記の解像度ごとに「S」,「M」,「L」,「LL」で表される4種類の広告画像を設定することができる。デジタルカメラの設定が変更され、撮影画像の解像度が変化すると、広告の埋め込みに用いられる広告画像は図9のデータに合わせて変更される。   FIG. 8 is a diagram illustrating a data structure for determining the size of the advertisement image. The resolution of the captured image that can be set in the digital camera according to the present embodiment is four types of “1936 × 1296”, “2896 × 1944”, “3872 × 2592”, and “4320 × 2868”. For each advertisement, four types of advertisement images represented by “S”, “M”, “L”, and “LL” can be set for each resolution. When the setting of the digital camera is changed and the resolution of the photographed image is changed, the advertisement image used for embedding the advertisement is changed according to the data in FIG.

次に、広告選択部22が行う広告の選択方法について説明する。広告選択部22は、DRAM8に用意された、過去に選択した広告を1つ以上(例えば2つ)記録するFIFOバッファを利用する。初めに、もっとも適合度の高い広告を選択する。次に、上記のバッファに選択した広告が記録されているか否かを判定する。バッファに選択した広告が記録されていた場合、次に適合度の高い広告を選択する。これをバッファに記録されていない広告が選択されるまで繰り返す。最後に、選択された広告をバッファに追加する。以上の処理によって、同一の広告画像が繰り返し撮影画像へ合成されることを回避できる。   Next, an advertisement selection method performed by the advertisement selection unit 22 will be described. The advertisement selection unit 22 uses a FIFO buffer prepared in the DRAM 8 that records one or more (for example, two) advertisements selected in the past. First, select the most relevant advertisement. Next, it is determined whether or not the selected advertisement is recorded in the buffer. If the selected advertisement is recorded in the buffer, the advertisement having the next highest matching score is selected. This is repeated until an advertisement not recorded in the buffer is selected. Finally, the selected advertisement is added to the buffer. By the above processing, it is possible to avoid the same advertisement image being repeatedly combined with the photographed image.

上述した第2の実施の形態によるデジタルカメラによれば、第1の実施の形態によるデジタルカメラで得られる作用効果に加えて、次の作用効果が得られる。
(1)撮影画像の解像度に応じて、広告の大きさが切り替わるようにした。これにより、撮影画像に対して大きすぎる、あるいは小さすぎる広告画像が合成されることがなく、高い広告効果を得ることができる。
(2)合成した広告画像の履歴を記録し、同一の広告画像が繰り返し撮影画像へ合成されることがなくなるようにした。これにより、広告の埋め込みが行われる回数の、広告ごとの不均衡がなくなり、高い広告効果を得ることができる。
According to the digital camera according to the second embodiment described above, the following functions and effects can be obtained in addition to the functions and effects obtained by the digital camera according to the first embodiment.
(1) The advertisement size is switched according to the resolution of the captured image. Accordingly, an advertisement image that is too large or too small with respect to the photographed image is not synthesized, and a high advertisement effect can be obtained.
(2) The history of the combined advertisement image is recorded so that the same advertisement image is not repeatedly combined with the photographed image. Thereby, there is no imbalance for each advertisement in the number of times the advertisement is embedded, and a high advertisement effect can be obtained.

上述した第2の実施の形態では、撮影を行うデジタルカメラが、広告の選択および埋め込みを行っていた。以下に詳述する第3の実施の形態では、デジタルカメラは撮影パラメータを撮影画像に記録する処理のみを実行する。記録された撮影画像が外部の画像処理装置に読み込まれたとき、広告の選択および表示が行われる。   In the second embodiment described above, the digital camera that performs shooting selects and embeds advertisements. In the third embodiment described in detail below, the digital camera executes only the process of recording the shooting parameters in the shot image. When the recorded photographed image is read into an external image processing device, an advertisement is selected and displayed.

――第3の実施の形態――
本実施例における画像処理装置は、デジタルカメラによって撮影された画像を表示装置に表示する機能を備える。また、撮影画像を表示する際に、所定の広告から1つを選択し、撮影画像と共に表示する。
--Third embodiment--
The image processing apparatus in the present embodiment has a function of displaying an image taken by a digital camera on a display device. Further, when displaying a captured image, one is selected from predetermined advertisements and displayed together with the captured image.

本実施形態の画像処理装置が表示対象とする撮影画像ファイルの構造を、図を用いて説明する。図9は、画像処理装置が表示する対象となる撮影画像ファイルの構造を示す図である。撮影画像ファイルは、撮影画像データを含む保存形式であり、EXIFなど一般に利用されている汎用画像形式との互換性を有する。記録媒体に撮影画像を記録する際、および、各種インタフェースを介して撮影画像の送受信を行う際は、撮影画像ファイルが用いられる。   A structure of a captured image file to be displayed by the image processing apparatus according to the present embodiment will be described with reference to the drawings. FIG. 9 is a diagram illustrating the structure of a captured image file to be displayed by the image processing apparatus. The captured image file is a storage format that includes captured image data, and is compatible with a commonly used general-purpose image format such as EXIF. A captured image file is used when recording a captured image on a recording medium and when transmitting and receiving a captured image via various interfaces.

撮影画像ファイル71は、ヘッダ72と、画像データ73とから構成される。ヘッダ72には、撮影画像に関する各種情報が格納されている。ヘッダ72はメーカーノート74を含む。一般に、メーカーノート74には、撮影に用いたカメラの情報や、撮影時のカメラの設定情報などが格納されるが、本実施形態では、これらの情報に加え、第1の実施の形態で説明した4つの撮影パラメータ(機種ランク,撮影日時,撮影モード,撮影地)が格納されている。画像データ73は、汎用的な画像記録形式に基づいて記録された撮影画像である。   The captured image file 71 includes a header 72 and image data 73. The header 72 stores various information related to the captured image. The header 72 includes a manufacturer note 74. In general, the maker note 74 stores information about the camera used for shooting, camera setting information at the time of shooting, and the like. In this embodiment, in addition to these information, the first embodiment will be described. The four shooting parameters (model rank, shooting date / time, shooting mode, shooting location) are stored. The image data 73 is a captured image recorded based on a general-purpose image recording format.

次に、本実施形態における画像処理装置の構成を、図を用いて説明する。図10は、画像処理装置の全体構成を示すブロック図である。画像処理装置101は、制御回路111,外部機器インタフェース(I/F)112,DRAM113,メモリカードインタフェース(I/F)114,表示装置115,ハードディスクドライブ(HDD)116,および入力装置117を備える。   Next, the configuration of the image processing apparatus according to the present embodiment will be described with reference to the drawings. FIG. 10 is a block diagram showing the overall configuration of the image processing apparatus. The image processing apparatus 101 includes a control circuit 111, an external device interface (I / F) 112, a DRAM 113, a memory card interface (I / F) 114, a display device 115, a hard disk drive (HDD) 116, and an input device 117.

外部機器インタフェース112は、画像処理装置101とカメラ102などの外部機器とを接続するためのインタフェースである。DRAM113は、画像処理および表示用画像データ作成処理の途中や処理後のデータを一時的に格納するために使用される。表示装置115は、撮影画像やユーザへの指示などを表示するための表示モニタである。   The external device interface 112 is an interface for connecting the image processing apparatus 101 and an external device such as the camera 102. The DRAM 113 is used to temporarily store data during and after image processing and display image data creation processing. The display device 115 is a display monitor for displaying captured images, instructions to the user, and the like.

HDD116は、外部から取得した撮影画像および制御回路111が用いる各種のデータやプログラムを格納するための記憶装置である。広告画像および広告に関する各種の情報もHDD116に記憶されている。入力装置117は、ユーザからの操作を受けるためのキーボードやマウスなどである。   The HDD 116 is a storage device for storing captured images acquired from the outside and various data and programs used by the control circuit 111. Various information relating to the advertisement image and the advertisement are also stored in the HDD 116. The input device 117 is a keyboard or a mouse for receiving an operation from the user.

制御回路111は、たとえばRISCなどで構成され、図10に示す各回路を制御する。また、制御回路111は適合度算出部121および広告選択部122を機能的に備えている。制御回路111は、外部機器インタフェース112もしくはメモリカードインタフェース114を通じて撮影画像ファイルを読み出し、DRAM113へ表示用の画像データを生成する。そして、適合度算出部121および広告選択部122により、撮影画像ファイルに対応する広告画像が選択され、撮影画像および広告画像が表示装置115へ表示される。   The control circuit 111 is composed of, for example, a RISC, and controls each circuit shown in FIG. In addition, the control circuit 111 functionally includes a fitness level calculation unit 121 and an advertisement selection unit 122. The control circuit 111 reads the photographed image file through the external device interface 112 or the memory card interface 114 and generates image data for display on the DRAM 113. Then, the matching degree calculation unit 121 and the advertisement selection unit 122 select an advertisement image corresponding to the photographed image file, and the photographed image and the advertisement image are displayed on the display device 115.

制御回路111は、読み出した撮影画像ファイルのヘッダから撮影パラメータを取り出し、適合度算出部121へ引き渡す。適合度算出部121が実行する処理は、第1の実施形態における適合度算出部21と同様である。広告選択部122についても、第1の実施形態における広告選択部22と同様である。   The control circuit 111 extracts shooting parameters from the header of the read shot image file and passes them to the fitness level calculation unit 121. The processing executed by the fitness level calculation unit 121 is the same as that of the fitness level calculation unit 21 in the first embodiment. The advertisement selection unit 122 is the same as the advertisement selection unit 22 in the first embodiment.

なお、画像処理装置101が撮影画像を表示装置115へ表示する際には、広告画像を図3のように撮影画像に合成して表示してもよいし、撮影画像とは別の領域に広告画像を表示してもよい。   When the image processing apparatus 101 displays the photographed image on the display device 115, the advertisement image may be combined with the photographed image as shown in FIG. 3 or displayed in a different area from the photographed image. An image may be displayed.

上述した第3の実施の形態による画像処理装置によれば、次の作用効果が得られる。撮影を行う装置は撮影画像に撮影パラメータを記録するだけで、広告画像の選択は撮影画像の再生時に行われる。これにより、撮影画像の画像データに手を加えることなく、撮影後に適切な広告を選択することができる。   According to the image processing apparatus according to the third embodiment described above, the following operational effects can be obtained. The device that performs the shooting only records the shooting parameters in the shot image, and the advertisement image is selected when the shot image is reproduced. This makes it possible to select an appropriate advertisement after shooting without changing the image data of the shot image.

次のような変形も本発明の範囲内である。
(1)撮影パラメータとして、その他のパラメータを用いてもよい。例えば、撮影時のシャッタースピードなどを用いることができる。
(2)第3の実施の形態において、撮影画像ファイルを記録媒体や外部機器以外から取得してもよい。例えば、ネットワークに接続されたカメラ等から、ネットワークインタフェースを介して取得してもよい。
(3)第3の実施の形態において、画像処理装置が撮影画像に広告画像の埋め込みを行ってもよい。
(4)第3の実施の形態のように、撮影画像を表示装置に表示するのではなく、印刷したり、光学装置によりスクリーンへ投影したりしてもよい。あるいは、ネットワークを介して撮影画像を公開するウェブアルバムに対して撮影画像をアップロードすると、撮影画像に広告画像が埋め込まれたり、ウェブアルバム上に撮影画像が表示される際に、広告画像が表示されるようにしてもよい。
(5)第2の実施の形態において、埋め込みを行った広告と共に、埋め込みを行った時間をバッファへ記録するようにしてもよい。そして、前回の埋め込みから所定時間が経過した広告は、再び埋め込みを行えるようにしてもよい。
(6)第2の実施の形態において、バッファを所定の時間帯ごとに用意してもよい。また、時間帯ごとのバッファを用いて、各時間帯ごとに広告の埋め込み回数が一定の割合になるようにしてもよい。
(7)カメラの連続撮影機能を用いるなどして、短時間に連続して撮影が行われた場合、すべての撮影画像に対して広告画像の埋め込みを行うのではなく、所定の周期ごと(例えば、3枚に1枚)に広告画像の埋め込みを行うようにしてもよい。
(8)撮影画像は、静止画であってもよいし、動画であってもよい。また、動画の場合は、複数の広告画像を1つの動画に対して切り替えながら埋め込みを行ってもよいし、動画である広告画像の埋め込みを行ってもよい。
The following modifications are also within the scope of the present invention.
(1) Other parameters may be used as shooting parameters. For example, the shutter speed at the time of shooting can be used.
(2) In the third embodiment, the captured image file may be acquired from other than a recording medium or an external device. For example, it may be acquired via a network interface from a camera or the like connected to the network.
(3) In the third embodiment, the image processing apparatus may embed an advertisement image in the captured image.
(4) Instead of displaying the captured image on the display device as in the third embodiment, it may be printed or projected onto a screen by an optical device. Alternatively, if you upload a shot image to a web album that publishes the shot image over the network, the advertisement image is displayed when the advertisement image is embedded in the shot image or when the shot image is displayed on the web album. You may make it do.
(5) In the second embodiment, the embedded time may be recorded in the buffer together with the embedded advertisement. Then, an advertisement for which a predetermined time has elapsed since the previous embedding may be able to be embedded again.
(6) In the second embodiment, a buffer may be prepared for each predetermined time period. In addition, the number of advertisement embeddings may be set to a certain ratio for each time zone by using a buffer for each time zone.
(7) When continuous shooting is performed for a short time by using the continuous shooting function of the camera, for example, the advertisement image is not embedded in all the shot images, but at predetermined intervals (for example, You may make it embed an advertisement image in 1 sheet of 3 sheets.
(8) The captured image may be a still image or a moving image. In the case of a moving image, embedding may be performed while switching a plurality of advertising images to one moving image, or an advertising image that is a moving image may be embedded.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

なお、以上説明した実施の形態におけるデジタルカメラの各構成要素と特許請求の範囲の各構成要素との対応関係は以下の通りである。本発明の広告情報記憶手段はフラッシュメモリ9に対応し、広告選択手段は広告選択部22に対応する。なお、以上の対応関係の説明は一例であり、権利解釈に際して何ら拘束されるものではない。   Note that the correspondence between each component of the digital camera in the embodiment described above and each component in the claims is as follows. The advertisement information storage means of the present invention corresponds to the flash memory 9, and the advertisement selection means corresponds to the advertisement selection unit 22. Note that the above description of the correspondence relationship is merely an example, and is not constrained when interpreting rights.

デジタルカメラ1の外観を表す図である。1 is a diagram illustrating an appearance of a digital camera 1. FIG. 第1の実施の形態の、デジタルカメラの回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the digital camera of 1st Embodiment. 広告の埋め込みを行った撮影画像の例である。It is an example of the picked-up image which embedded the advertisement. 適合度算出処理の概略を示すブロック図である。It is a block diagram which shows the outline of a fitness calculation process. パラメータ優先度およびパラメータ数値化表の例を示す図である。It is a figure which shows the example of a parameter priority and a parameter numerical conversion table | surface. 撮影地に関するパラメータ数値化表の例を示す図である。It is a figure which shows the example of the parameter digitization table regarding an imaging location. 適合度算出部21による、1つの広告に対する適合度算出処理のフローチャートである。It is a flowchart of a fitness calculation process for one advertisement by the fitness calculation unit 21. 広告画像の大きさを決定するためのデータ構造を示す図である。It is a figure which shows the data structure for determining the magnitude | size of an advertisement image. 第3の実施の形態における、撮影画像ファイルの構造を示す図である。It is a figure which shows the structure of the picked-up image file in 3rd Embodiment. 画像処理装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of an image processing apparatus.

符号の説明Explanation of symbols

1,102 デジタルカメラ
7 制御回路(デジタルカメラ)
21,121 適合度算出部
22,122 広告選択部
23 広告合成部
101 画像処理装置
111 制御回路(画像処理装置)
1,102 Digital camera 7 Control circuit (digital camera)
21, 121 Conformity calculation unit 22, 122 Advertisement selection unit 23 Advertisement composition unit 101 Image processing device 111 Control circuit (image processing device)

Claims (8)

複数の広告画像と、撮影画像に付されている撮影パラメータと前記複数の広告画像における各広告画像との関係を表す複数の広告情報と、を記憶する広告情報記憶手段と、
前記撮影パラメータと、前記広告情報記憶手段により記憶されている前記複数の広告情報とに基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択する広告選択手段と、
を備えた画像処理装置。
An advertisement information storage means for storing a plurality of advertisement images, a plurality of advertisement information representing the relationship between the shooting parameters attached to the photographed images and each advertisement image in the plurality of advertisement images;
An advertisement selecting means for selecting an advertisement image corresponding to the photographed image from the plurality of advertisement images based on the shooting parameter and the plurality of advertisement information stored in the advertisement information storage means;
An image processing apparatus.
請求項1に記載の画像処理装置において、
前記撮影パラメータは、前記撮影画像を撮影した装置の機種情報,前記撮影画像を撮影した日時,前記撮影画像を撮影したときの前記装置の撮影モード、および、前記撮影画像を撮影した場所のいずれか少なくとも1つを含むことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The shooting parameter is one of model information of a device that has shot the shot image, date and time when the shot image was shot, a shooting mode of the device when the shot image was shot, and a location where the shot image was shot. An image processing apparatus comprising at least one.
請求項1または2に記載の画像処理装置において、さらに加えて、
前記撮影画像に付されている前記撮影パラメータと、前記広告情報記憶手段により記憶されている前記複数の広告情報とに基づいて、前記複数の広告画像における各広告画像に対応する適合度をそれぞれ算出する適合度算出手段を備え、
前記広告選択手段は、算出された前記適合度に基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択することを特徴とする画像処理装置。
The image processing apparatus according to claim 1, further comprising:
Based on the shooting parameters attached to the shot image and the plurality of advertisement information stored by the advertisement information storage unit, the degree of matching corresponding to each advertisement image in the plurality of advertisement images is calculated. A fitness level calculation means for
The image processing apparatus, wherein the advertisement selection unit selects an advertisement image corresponding to the captured image from the plurality of advertisement images based on the calculated degree of matching.
請求項3に記載の画像処理装置において、
前記複数の広告情報における各広告情報は、広告優先度と、前記撮影パラメータに対応するパラメータ優先度と、前記撮影パラメータがとり得る値の各々に対応した数値化データとをそれぞれ含み、
前記適合度算出手段は、前記撮影画像に付されている前記撮影パラメータと、前記広告優先度と、前記パラメータ優先度と、前記数値化データとに基づいて、前記複数の広告画像における各広告画像に対応する前記適合度をそれぞれ算出することを特徴とする画像処理装置。
The image processing apparatus according to claim 3.
Each advertisement information in the plurality of advertisement information includes an advertisement priority, a parameter priority corresponding to the shooting parameter, and numerical data corresponding to each of the possible values of the shooting parameter,
The adaptability calculation means is configured to determine each advertisement image in the plurality of advertisement images based on the shooting parameter attached to the captured image, the advertisement priority, the parameter priority, and the digitized data. An image processing apparatus that calculates the degree of matching corresponding to each.
請求項1〜4のいずれか一項に記載の画像処理装置において、さらに加えて、
前記広告選択手段により選択された前記広告画像を前記撮影画像に埋め込む広告画像埋込手段を備えることを特徴とする画像処理装置。
In the image processing apparatus according to any one of claims 1 to 4, in addition,
An image processing apparatus comprising: an advertisement image embedding unit that embeds the advertisement image selected by the advertisement selection unit in the photographed image.
請求項1〜4のいずれか一項に記載の画像処理装置において、さらに加えて、
前記広告選択手段により選択された前記広告画像を出力する画像出力手段を備えることを特徴とする画像処理装置。
In the image processing apparatus according to any one of claims 1 to 4, in addition,
An image processing apparatus comprising image output means for outputting the advertisement image selected by the advertisement selection means.
請求項1〜6のいずれか一項に記載の画像処理装置を有することを特徴とするカメラ。   A camera comprising the image processing apparatus according to claim 1. 複数の広告画像と、撮影画像に付されている撮影パラメータと前記複数の広告画像における各広告画像との関係を表す複数の広告情報と、を記憶する広告情報記憶工程と、
前記撮影パラメータと、前記広告情報記憶工程により記憶されている前記複数の広告情報とに基づいて、前記撮影画像に対応する広告画像を前記複数の広告画像から選択する広告選択工程と、
をコンピュータにより実行させることを特徴とする画像処理プログラム。
An advertisement information storage step for storing a plurality of advertisement images, a plurality of advertisement information representing a relationship between each of the advertisement images in the plurality of advertisement images and shooting parameters attached to the photographed images;
An advertisement selection step of selecting an advertisement image corresponding to the photographed image from the plurality of advertisement images based on the shooting parameter and the plurality of advertisement information stored in the advertisement information storage step;
Is executed by a computer.
JP2008060899A 2008-03-11 2008-03-11 Image processor, camera and image processing program Pending JP2009216993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008060899A JP2009216993A (en) 2008-03-11 2008-03-11 Image processor, camera and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008060899A JP2009216993A (en) 2008-03-11 2008-03-11 Image processor, camera and image processing program

Publications (1)

Publication Number Publication Date
JP2009216993A true JP2009216993A (en) 2009-09-24

Family

ID=41188919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008060899A Pending JP2009216993A (en) 2008-03-11 2008-03-11 Image processor, camera and image processing program

Country Status (1)

Country Link
JP (1) JP2009216993A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016038639A (en) * 2014-08-05 2016-03-22 株式会社ステラリンク Information providing system
JP2017107435A (en) * 2015-12-10 2017-06-15 ヤフー株式会社 Program, device, and method for displaying information, and delivery device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016038639A (en) * 2014-08-05 2016-03-22 株式会社ステラリンク Information providing system
JP2017107435A (en) * 2015-12-10 2017-06-15 ヤフー株式会社 Program, device, and method for displaying information, and delivery device

Similar Documents

Publication Publication Date Title
JP4984044B2 (en) Image capturing system, image capturing condition setting method, terminal and server used therefor
JP2005110097A (en) Imaging apparatus and image pickup method
KR101626002B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable storage medium
JP2011044064A (en) Image processing device and image processing program
JP4901258B2 (en) Camera and data display method
JP2010124411A (en) Image processing apparatus, image processing method and image processing program
JP6261205B2 (en) Image processing device
JP2011015091A (en) Image capture apparatus
JP2007258927A (en) Imaging apparatus
US8848089B2 (en) Image processing apparatus and recording medium
JP2006025311A (en) Imaging apparatus and image acquisition method
JP2008072304A (en) Imaging apparatus
JP5185085B2 (en) Image processing apparatus, image processing method, and image processing program
JP4870503B2 (en) Camera and blog management system
JP2008167273A (en) Imaging apparatus, and still picture photographing program therefor
JP5638993B2 (en) Image display device and image display method
JP4296385B2 (en) Electronic camera
JP2009216993A (en) Image processor, camera and image processing program
JP2010258765A (en) Imaging apparatus
US20110205396A1 (en) Apparatus and method, and computer readable recording medium for processing, reproducing, or storing image file including map data
JP6415933B2 (en) Advice display device
JP4499275B2 (en) Electronic camera system and electronic camera
JP4304200B2 (en) Mobile device with camera and image display program for mobile device with camera
JP2010259050A (en) Electronic camera and development processing program
JP2010183254A (en) Imaging device and subject detection program