JP5413558B2 - Imaging apparatus, image processing method, and image processing program - Google Patents

Imaging apparatus, image processing method, and image processing program Download PDF

Info

Publication number
JP5413558B2
JP5413558B2 JP2008208462A JP2008208462A JP5413558B2 JP 5413558 B2 JP5413558 B2 JP 5413558B2 JP 2008208462 A JP2008208462 A JP 2008208462A JP 2008208462 A JP2008208462 A JP 2008208462A JP 5413558 B2 JP5413558 B2 JP 5413558B2
Authority
JP
Japan
Prior art keywords
image
dimensional code
subject
size
display
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.)
Active
Application number
JP2008208462A
Other languages
Japanese (ja)
Other versions
JP2010045621A (en
JP2010045621A5 (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008208462A priority Critical patent/JP5413558B2/en
Publication of JP2010045621A publication Critical patent/JP2010045621A/en
Publication of JP2010045621A5 publication Critical patent/JP2010045621A5/ja
Application granted granted Critical
Publication of JP5413558B2 publication Critical patent/JP5413558B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、撮像した画像に2次元コードから得られる情報を重畳合成する撮像装置、画像処理方法及び画像処理プログラムに関する。 The present invention relates to an imaging device , an image processing method, and an image processing program that superimpose and combine information obtained from a two-dimensional code on a captured image.

従来より、旅先にてデジタルカメラで撮影する際に、撮影場所の名称や宿泊先のホテル名等を、撮像画像に合成して保存できると便利である。また、商品をデジタルカメラで撮影し、ウェブページに掲載してネット販売を行うような場合に、撮影した商品の画像に、その商品の名前や性質等を合成できると便利である。   Conventionally, when taking a picture with a digital camera at a travel destination, it is convenient if the name of the shooting location, the hotel name of the accommodation, etc. can be combined with the captured image and stored. Also, when a product is photographed with a digital camera and posted on a web page for sale on the Internet, it is convenient if the name, nature, etc. of the product can be combined with the photographed product image.

このような問題を解決するため、文字情報を入力できるデジタルカメラが提案されている(特許文献1参照)。すなわち、デジタルカメラにキーボード等の文字入力装置を設け、キーボード等の文字入力装置から撮影記録等の文字を入力する。   In order to solve such a problem, a digital camera capable of inputting character information has been proposed (see Patent Document 1). That is, a character input device such as a keyboard is provided in the digital camera, and characters such as a shooting record are input from the character input device such as a keyboard.

また、デジタルカメラ自体にキーボード等の文字入力装置を設けない場合には、撮像画像をパーソナルコンピュータに取り込み、専用の画像編集ソフトウェアを使用して、画像編集や文字情報入力が行われている。
また、カメラに充電電圧を供給したりカメラの画像情報を他の電子機器に転送したりするための所謂クレードルに、文字入力や画像編集の機能を持たせることが提案されている(特許文献2参照)。
特開2003−009067号公報 特開2003−169243号公報
Further, when a character input device such as a keyboard is not provided in the digital camera itself, the captured image is taken into a personal computer, and image editing and character information input are performed using dedicated image editing software.
In addition, it has been proposed that a so-called cradle for supplying a charging voltage to a camera or transferring image information of the camera to another electronic device has a function of inputting characters or editing an image (Patent Document 2). reference).
JP 2003-009067 A JP 2003-169243 A

しかしながら、特許文献1に示されたデジタルカメラでは、複数のキーを配列するスペースを確保する必要があり、文字情報を入力するためのキーボード等の文字入力装置を設けると、機器が大型化するという問題がある。   However, in the digital camera disclosed in Patent Document 1, it is necessary to secure a space for arranging a plurality of keys, and if a character input device such as a keyboard for inputting character information is provided, the device is increased in size. There's a problem.

また、パーソナルコンピュータやと特許文献2のクレードルを用いて文字情報を合成すると、旅行先などで、撮影した撮影画像に対して直ちに文字情報を合成することは困難である。   When character information is synthesized using a personal computer and the cradle of Patent Document 2, it is difficult to immediately synthesize character information with a photographed image taken at a travel destination.

上述の課題を鑑み、本発明は、撮影した画像に文字列などの情報を容易に合成でき、かつ、小型化できる撮像装置、画像処理方法及び画像処理プログラムを提供することを目的とする。 In view of the above-described problems, an object of the present invention is to provide an imaging device , an image processing method, and an image processing program that can easily synthesize information such as a character string on a captured image and can be downsized.

請求項1の発明に係る撮像装置は、撮像手段と、前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得手段と、前記第1の取得手段が取得した前記2次元コードに対応する第2の画像を作成する作成手段と、前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得手段と、前記第3の画像から前記被写体の特徴点を検出する検出手段と、前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御手段とを具備したことを特徴とする。 The imaging apparatus according to the first aspect of the invention includes an imaging unit, a first acquisition unit that acquires a first image including a two-dimensional code by the imaging unit, and the 2 acquired by the first acquisition unit. Creating means for creating a second image corresponding to a dimension code; second obtaining means for obtaining a third image including a subject different from the two-dimensional code by the imaging means; and the third image. Detecting means for detecting a feature point of the subject, and the second image is displayed superimposed on the position of the subject corresponding to the feature point in the third image, and the position or size of the subject. And a display control means for changing the position or size of the second image in accordance with the change of the second image .

請求項2の発明に係る画像処理方法は、撮像手段と、表示手段とを有する撮像装置が実行する画像処理方法において、前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得ステップと、前記第1の取得ステップが取得した前記2次元コードに対応する第2の画像を作成する作成ステップと、前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得ステップと、前記第3の画像から前記被写体の特徴点を検出する検出ステップと、前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御ステップと、を含むことを特徴とする。
An image processing method according to a second aspect of the present invention is an image processing method executed by an imaging apparatus having an imaging means and a display means, wherein the imaging means obtains a first image including a two-dimensional code. An acquisition step, a creation step of creating a second image corresponding to the two-dimensional code acquired by the first acquisition step, and a third object including a subject different from the two-dimensional code by the imaging means . A second acquisition step of acquiring an image; a detection step of detecting a feature point of the subject from the third image; and the second image as a subject corresponding to the feature point in the third image. And a display control step of changing the position or size of the second image in accordance with a change in the position or size of the subject. And butterflies.

請求項3の発明に係る画像処理プログラムは、撮像手段と表示手段を有する撮像装置を制御するコンピュータを、前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得手段と、前記第1の取得手段が取得した前記2次元コードに対応する第2の画像を作成する作成手段と、前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得手段と、前記第3の画像から前記被写体の特徴点を検出する検出手段と、前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御手段として機能させることを特徴とする。
According to a third aspect of the present invention, there is provided an image processing program comprising: a computer that controls an imaging apparatus having an imaging unit and a display unit; and a first acquisition unit that acquires a first image including a two-dimensional code by the imaging unit. A creation unit that creates a second image corresponding to the two-dimensional code acquired by the first acquisition unit and a third image including a subject different from the two-dimensional code are acquired by the imaging unit. A second acquisition unit, a detection unit for detecting a feature point of the subject from the third image, and the second image overlaid on the subject position corresponding to the feature point in the third image. And a display control unit that changes the position or size of the second image in accordance with a change in the position or size of the subject .

本発明によれば、撮影した画像に文字列などの情報を容易に合成できる。また、キーボード等の文字入力装置を設ける必要がないので、小型化できる。   According to the present invention, information such as a character string can be easily combined with a captured image. Further, since there is no need to provide a character input device such as a keyboard, the size can be reduced.

図1は、本発明の一実施形態の撮像装置としてのデジタルカメラ1の外観を示す斜視図である。
図1(A)に示すように、デジタルカメラ1の前面パネルには、レンズ鏡筒11が配設されている。
図1(B)に示すように、デジタルカメラ1の背面パネルには、ディスプレイ12が配設されている。ディスプレイ12としては、例えばLCD(Liquid Crystal Display)が用いられる。また、デジタルカメラ1の上面には、シャッターボタン13が配設されている。デジタルカメラ1の背面パネルには、各種の設定ボタン14が配設されている。
FIG. 1 is a perspective view showing an appearance of a digital camera 1 as an imaging apparatus according to an embodiment of the present invention.
As shown in FIG. 1A, a lens barrel 11 is disposed on the front panel of the digital camera 1.
As shown in FIG. 1B, a display 12 is disposed on the back panel of the digital camera 1. As the display 12, for example, an LCD (Liquid Crystal Display) is used. A shutter button 13 is provided on the upper surface of the digital camera 1. Various setting buttons 14 are arranged on the rear panel of the digital camera 1.

図2は、デジタルカメラ1のブロック図である。図1に示すように、デジタルカメラ1は、画像データ生成部100と、データ処理部200と、ユーザインターフェース部300とから主に構成されている。   FIG. 2 is a block diagram of the digital camera 1. As shown in FIG. 1, the digital camera 1 mainly includes an image data generation unit 100, a data processing unit 200, and a user interface unit 300.

画像データ生成部100は、光学レンズ装置101、イメージセンサ102等から構成される。光学レンズ装置101は、被写体像光をイメージセンサ102の受光面に結像させるもので、図1におけるレンズ鏡筒11に対応する。画像データ生成部100は、本実施形態の撮像手段である。   The image data generation unit 100 includes an optical lens device 101, an image sensor 102, and the like. The optical lens device 101 forms subject image light on the light receiving surface of the image sensor 102, and corresponds to the lens barrel 11 in FIG. The image data generation unit 100 is an imaging unit of this embodiment.

イメージセンサ102は、その受光面に結像された被写体像光を光電変換する。イメージセンサ102としては、CCD(Charge Coupled Device)撮像素子や、CMOS(Complementary MOS)撮像素子が用いられる。イメージセンサ102の出力はデジタル化され、データ処理部200のメモリ201に送られる。   The image sensor 102 photoelectrically converts subject image light formed on the light receiving surface. As the image sensor 102, a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary MOS) image sensor is used. The output of the image sensor 102 is digitized and sent to the memory 201 of the data processing unit 200.

データ処理部200は、メモリ201と、ビデオ出力装置202と、画像処理装置203と、CPU(Central Processing Unit)204と、プログラムコード記録装置205とから構成されている。   The data processing unit 200 includes a memory 201, a video output device 202, an image processing device 203, a CPU (Central Processing Unit) 204, and a program code recording device 205.

メモリ201は、イメージセンサ102から出力される画像データを一時記憶する他、各種の処理を行うときのデータや、外部記憶装置に記録する画像データを記憶するのに用いられる。   The memory 201 is used to temporarily store image data output from the image sensor 102, and to store data for performing various processes and image data to be recorded in an external storage device.

ビデオ出力装置202は、イメージセンサ102からの画像データをユーザインターフェース部300を介して外部に出力すると共に、表示部301に送る。   The video output device 202 outputs the image data from the image sensor 102 to the outside via the user interface unit 300 and sends it to the display unit 301.

画像処理装置203は、各種の画像処理を行う。画像処理装置203で行われる画像処理としては、画像データのエンコード/デコード処理や、2次元画像データから表示情報への変換処理、撮像画像と文字情報との合成処理が含まれる。静止画のエンコード方式としては、例えば、JPEG(Joint Photographic Experts Group)が用いられる。JPEGは離散コサイン変換を用いて画像圧縮するための規格である。勿論、静止画のエンコード方式は、これに限定されるものではない。画像処理装置203は、本実施形態の情報取得手段、合成手段、位置取得手段、位置変更手段、大きさ取得手段、大きさ変更手段、および表示手段である。   The image processing device 203 performs various types of image processing. Image processing performed by the image processing apparatus 203 includes image data encoding / decoding processing, conversion processing from two-dimensional image data to display information, and processing of combining a captured image and character information. For example, JPEG (Joint Photographic Experts Group) is used as a still image encoding method. JPEG is a standard for image compression using discrete cosine transform. Of course, the still image encoding method is not limited to this. The image processing apparatus 203 is an information acquisition unit, a synthesis unit, a position acquisition unit, a position change unit, a size acquisition unit, a size change unit, and a display unit according to this embodiment.

CPU(Central Processing Unit)204は、デジタルカメラ1全体の制御を行っている。プログラムコード記録装置205は、CPU204を動作させるプログラムを記録している。本実施形態においては、プログラムコード記録装置205のプログラムとして、表示情報入力処理、表示情報合成処理、及び表示位置・大きさ変更処理を行うプログラムが含まれている。これらの処理については、後に詳述する。   A CPU (Central Processing Unit) 204 controls the entire digital camera 1. The program code recording device 205 records a program for operating the CPU 204. In the present embodiment, the program of the program code recording device 205 includes a program that performs display information input processing, display information synthesis processing, and display position / size change processing. These processes will be described in detail later.

ユーザインターフェース部300は、表示部301と、操作部302と、PCインターフェース装置303と、外部記憶装置304とから構成されている。   The user interface unit 300 includes a display unit 301, an operation unit 302, a PC interface device 303, and an external storage device 304.

表示部301は、図1におけるディスプレイ12に対応するもので、撮影時にはビューファインダ等として利用される。また、表示部301は、再生時には、撮影した画像をモニタするのに使用される。   The display unit 301 corresponds to the display 12 in FIG. 1 and is used as a viewfinder or the like at the time of shooting. The display unit 301 is used to monitor a captured image during reproduction.

操作部302は、ユーザからの入力を受け付けるもので、図1におけるシャッターボタン13や各種の設定ボタン14が含まれている。   The operation unit 302 receives input from the user, and includes the shutter button 13 and various setting buttons 14 in FIG.

PCインターフェース装置303は、例えばパーソナルコンピュータと接続して、カメラで撮影した画像をパーソナルコンピュータに転送するのに使用される。PCインターフェース装置303としては、例えば、USB(Universal Serial Bus)が用いられる。   The PC interface device 303 is connected to a personal computer, for example, and is used to transfer an image taken by a camera to the personal computer. For example, a USB (Universal Serial Bus) is used as the PC interface device 303.

外部記憶装置304は、撮影した画像を保存するのに用いられる。外部記憶装置304としては、フラッシュメモリを使ったカード型の着脱自在のメモリが用いられる。   The external storage device 304 is used to store a captured image. As the external storage device 304, a card-type removable memory using a flash memory is used.

このようなデジタルカメラ1において、通常の撮影時には、被写体像光が光学レンズ装置101によりイメージセンサ102の光学面に結像され、イメージセンサ102で光電変換される。この画像信号は、デジタル化された後、メモリ201に一時記憶される。また、イメージセンサ102の出力がビデオ出力装置202から表示部301に送られ、表示部301には撮影中の画面が映し出され、表示部301がビューファインダとして機能する。   In such a digital camera 1, during normal shooting, subject image light is imaged on the optical surface of the image sensor 102 by the optical lens device 101, and photoelectrically converted by the image sensor 102. The image signal is temporarily stored in the memory 201 after being digitized. In addition, the output of the image sensor 102 is sent from the video output device 202 to the display unit 301, and a screen during shooting is displayed on the display unit 301, and the display unit 301 functions as a viewfinder.

操作部302に含まれているシャッターボタン13が押されると、そのときの画像データがメモリ201に取り込まれる。この画像データは、画像処理装置203により例えばJPEG方式でエンコードされ、外部記憶装置304に保存される。   When the shutter button 13 included in the operation unit 302 is pressed, the image data at that time is taken into the memory 201. The image data is encoded by, for example, the JPEG method by the image processing device 203 and stored in the external storage device 304.

図3は、デジタルカメラ1の表示情報入力モードでの動作を示すフローチャートである。
設定ボタン14が操作されて表示情報入力モードが設定されると、CPU204は、図3に示すフローチャートの処理を実行するためのプログラムをプログラムコード記録装置205から読み出す。CPU204は、このプログラムに従って、図3に示すフローチャートにおける表示情報入力処理を実行する。
FIG. 3 is a flowchart showing the operation of the digital camera 1 in the display information input mode.
When the display information input mode is set by operating the setting button 14, the CPU 204 reads out a program for executing the processing of the flowchart shown in FIG. 3 from the program code recording device 205. The CPU 204 executes display information input processing in the flowchart shown in FIG. 3 according to this program.

まず、CPU204は、シャッターボタン13が半押しされたか否かを検出する(ステップS101)。この判定がYESの場合には、ステップS102に移り、NOの場合には、ステップS101に戻る。
ステップS102では、画像処理装置203により、画像データ生成部100から第1の画像としての複数の時系列的に連続する画像を取得し、これら複数の画像から2次元コードを検出する。このとき、取得した画像における2次元コードの位置および大きさも取得する。
次に、CPU204により、2次元コードを検出したか否かを判定する(ステップS103)。この判定がYESの場合には、ステップS105に移り、NOの場合には、ステップS101に戻る。
ステップS104では、画像処理装置203により、2次元コードに記録された情報を読み出して、表示情報を取得する。
First, the CPU 204 detects whether or not the shutter button 13 has been half-pressed (step S101). If this determination is YES, the process moves to step S102, and if NO, the process returns to step S101.
In step S102, the image processing device 203 acquires a plurality of time-sequential images as the first image from the image data generation unit 100, and detects a two-dimensional code from the plurality of images. At this time, the position and size of the two-dimensional code in the acquired image are also acquired.
Next, the CPU 204 determines whether or not a two-dimensional code has been detected (step S103). If this determination is YES, the process proceeds to step S105, and if this determination is NO, the process returns to step S101.
In step S104, the information recorded in the two-dimensional code is read out by the image processing apparatus 203, and display information is acquired.

次に、画像処理装置203により、画像データ生成部100から取得した画像に基づいて、2次元コードの位置または大きさの変化に追随して、表示情報の位置や大きさを変更する位置・大きさ変更処理を実行する。この位置・大きさ変更処理については、後に詳述する(ステップS105)。
次に、ステップS106では、画像処理装置203により、この表示情報を取得した画像に重畳合成して表示部301に表示する。ここで、この表示情報の位置および大きさを、取得した画像における2次元コードの位置および大きさに基づいて決定する。具体的には、表示情報を2次元コードと同じ位置に重ねて表示する。
ステップS107では、CPU204は、シャッターボタン13の半押しが解放されたか否かを検出する。この判定がYESの場合には、ステップS109に移り、NOの場合には、ステップS105に戻る。
ステップS108では、画像処理装置203により、表示情報をメモリ201に記憶する。
Next, based on the image acquired from the image data generation unit 100 by the image processing device 203, the position / size for changing the position or size of the display information following the change in the position or size of the two-dimensional code. The change process is executed. This position / size changing process will be described in detail later (step S105).
Next, in step S <b> 106, the display processing unit 203 superimposes the display information on the acquired image and displays it on the display unit 301. Here, the position and size of the display information are determined based on the position and size of the two-dimensional code in the acquired image. Specifically, the display information is displayed in the same position as the two-dimensional code.
In step S107, the CPU 204 detects whether the half-press of the shutter button 13 has been released. If this determination is YES, the process proceeds to step S109, and if NO, the process returns to step S105.
In step S <b> 108, display information is stored in the memory 201 by the image processing apparatus 203.

例えば、図4(A)に示すように、ユーザは、デジタルカメラ1のレンズ鏡筒11を2次元コード21に対向させ。この2次元コード21には、文字情報が記録されている。   For example, as shown in FIG. 4A, the user causes the lens barrel 11 of the digital camera 1 to face the two-dimensional code 21. In this two-dimensional code 21, character information is recorded.

この状態で、ユーザがシャッターボタン13を半押しすると、デジタルカメラ1により2次元コード21が撮影され、デジタルカメラ1のディスプレイ12には、図4(B)に示すように、2次元コード21の画像G1が表示される。そして、この2次元コード21の画像G1に基づいて、文字情報G2が取得され、図4(C)に示すように、デジタルカメラ1のディスプレイ12には、2次元コード21の画像G1に重ねて、文字情報G2が表示される。
なお、ここでは、2次元コード21の画像G1に重ねて文字情報G2が表示したが、これに限らず、2次元コード21の画像G1を消去したうえで、文字情報G2を表示してもよい。
In this state, when the user presses the shutter button 13 halfway, the two-dimensional code 21 is photographed by the digital camera 1, and the two-dimensional code 21 is displayed on the display 12 of the digital camera 1 as shown in FIG. An image G1 is displayed. Then, based on the image G1 of the two-dimensional code 21, character information G2 is acquired. As shown in FIG. 4C, the display 12 of the digital camera 1 is superimposed on the image G1 of the two-dimensional code 21. Character information G2 is displayed.
Here, the character information G2 is displayed over the image G1 of the two-dimensional code 21, but the present invention is not limited thereto, and the character information G2 may be displayed after the image G1 of the two-dimensional code 21 is deleted. .

そして、ユーザがシャッターボタン13を解放すると、文字情報G2が現在の位置及び大きさで記憶される。   When the user releases the shutter button 13, the character information G2 is stored at the current position and size.

以下、図5を参照して、ステップS105の位置・大きさ変更処理について説明する。
まず、取得した画像中の2次元コードの位置が変化したか否かを検出する(ステップS201)。具体的には、時系列的に連続する複数の画像のそれぞれについて、2次元コードの位置を検出し、各画像における2次元コードの位置を比較することで、2次元コードの位置の変化を検出する。
この判定がYESの場合には、ステップS202に移り、NOの場合には、ステップS203に移る。
ステップS202では、画像処理装置203により、取得した画像中の2次元コードの位置の変化を検出し、この検出した変化量に追随して、表示情報の位置を変更する。
Hereinafter, the position / size changing process in step S105 will be described with reference to FIG.
First, it is detected whether or not the position of the two-dimensional code in the acquired image has changed (step S201). Specifically, the change in the position of the two-dimensional code is detected by detecting the position of the two-dimensional code for each of a plurality of continuous images in time series and comparing the position of the two-dimensional code in each image. To do.
If this determination is YES, the process proceeds to step S202, and if this determination is NO, the process proceeds to step S203.
In step S202, the image processing device 203 detects a change in the position of the two-dimensional code in the acquired image, and changes the position of the display information following the detected change amount.

次に、取得した画像中の2次元コードの大きさが変化したか否かを検出する(ステップS203)。具体的には、時系列的に連続する複数の画像のそれぞれについて、2次元コードの大きさを検出し、各画像における2次元コードの大きさを比較することで、2次元コードの大きさの変化を検出する。
この判定がYESの場合には、ステップS204に移り、NOの場合には、終了する。
ステップS204では、画像処理装置203により、取得した画像中の2次元コードの大きさの変化を検出し、この検出した変化量に追随して、表示情報の大きさを変更する。
Next, it is detected whether or not the size of the two-dimensional code in the acquired image has changed (step S203). Specifically, the size of the two-dimensional code is detected by detecting the size of the two-dimensional code for each of a plurality of continuous images in time series, and comparing the size of the two-dimensional code in each image. Detect changes.
If this determination is YES, the process proceeds to step S204, and if this determination is NO, the process ends.
In step S204, the image processing device 203 detects a change in the size of the two-dimensional code in the acquired image, and changes the size of the display information following the detected change amount.

例えば、文字情報G2の表示位置を変更させたい場合、図6(A)に示すように、ユーザは、シャッターボタン13を半押ししながら、デジタルカメラ1を矢印A1及びA2で示す2次元コード21の表面に沿った方向に移動させる。すると、デジタルカメラ1で撮像した画像中の2次元コード21の位置も変化するから、この変化量に追随して、ディスプレイ12上での2次元コード21の画像G1は、図7(A)に示す位置から、図7(B)に示す位置に移動する。   For example, when it is desired to change the display position of the character information G2, as shown in FIG. 6A, the user presses the shutter button 13 halfway while pressing the digital camera 1 with the two-dimensional code 21 indicated by arrows A1 and A2. Move in a direction along the surface. Then, since the position of the two-dimensional code 21 in the image captured by the digital camera 1 also changes, the image G1 of the two-dimensional code 21 on the display 12 follows the amount of change as shown in FIG. It moves from the position shown to the position shown in FIG.

次に、文字情報G2の大きさを変更させたい場合、図6(B)に示すように、ユーザは、シャッターボタン13を半押ししながら、デジタルカメラ1を矢印A3で示す2次元コード21の表面に垂直な方向に移動させる。つまり、デジタルカメラ1を2次元コード21の表面に接近させたり、離間させたりする。すると、デジタルカメラ1で撮像した画像中の2次元コード21の大きさも変化するから、この変化量に追随して、ディスプレイ12上での2次元コード21の画像G1は、図7(B)に示す大きさから、図7(C)に示す大きさに変化する。   Next, when the user wants to change the size of the character information G2, as shown in FIG. 6B, the user presses the shutter button 13 halfway while holding the digital camera 1 with the two-dimensional code 21 indicated by the arrow A3. Move in a direction perpendicular to the surface. That is, the digital camera 1 is moved closer to or away from the surface of the two-dimensional code 21. Then, since the size of the two-dimensional code 21 in the image captured by the digital camera 1 also changes, the image G1 of the two-dimensional code 21 on the display 12 follows the amount of change, as shown in FIG. The size changes from the size shown to the size shown in FIG.

図8は、デジタルカメラの表示情報合成モードでの動作を示すフローチャートである。
ユーザは、既に表示情報をデジタルカメラに記憶させている場合に、この表示情報合成モードに設定する。
設定ボタン14が操作されて表示情報入力モードが設定されると、CPU204は、図8に示すフローチャートの処理を実行するためのプログラムをプログラムコード記録装置205から読み出す。CPU204は、このプログラムに従って、図8に示すフローチャートにおける表示情報合成処理を実行する。
FIG. 8 is a flowchart showing the operation of the digital camera in the display information synthesis mode.
When the display information is already stored in the digital camera, the user sets the display information composition mode.
When the display information input mode is set by operating the setting button 14, the CPU 204 reads out a program for executing the processing of the flowchart shown in FIG. 8 from the program code recording device 205. The CPU 204 executes the display information synthesis process in the flowchart shown in FIG. 8 according to this program.

まず、記憶した表示情報を、この表示情報の位置及び大きさについての情報とともに、読み出す(ステップS301)。
次に、画像処理装置203により、画像データ生成部100から第2の画像としての複数の時系列的に連続する画像を取得する(ステップS302)。
First, the stored display information is read out together with information about the position and size of the display information (step S301).
Next, the image processing apparatus 203 acquires a plurality of time-sequential images as the second image from the image data generation unit 100 (step S302).

次に、読み出した表示情報を取得した画像に重畳合成して表示部301に表示する。具体的には、表示情報を、メモリ201に記憶した位置に、メモリ201に記憶した大きさで表示する(ステップS303)。
次に、シャッターボタン13が全押しされたか否かを検出する(ステップS304)。この判定がYESの場合には、ステップS305に移り、NOの場合には、ステップS302に戻る。
ステップS305では、画像処理装置203により、合成した画像を外部記憶装置304に記憶する。
Next, the read display information is superimposed on the acquired image and displayed on the display unit 301. Specifically, the display information is displayed at the position stored in the memory 201 in the size stored in the memory 201 (step S303).
Next, it is detected whether or not the shutter button 13 has been fully pressed (step S304). If this determination is YES, the process moves to step S305, and if NO, the process returns to step S302.
In step S <b> 305, the synthesized image is stored in the external storage device 304 by the image processing device 203.

例えば、図9に示すように、ユーザは、デジタルカメラ1を用いて、被写体31に合わせて、画像の撮影を行う。すると、図10に示すように、文字情報G2が読み出されて、被写体31を含む画像G3と文字情報G2とが重畳合成されて表示される。   For example, as shown in FIG. 9, the user uses the digital camera 1 to take an image according to the subject 31. Then, as shown in FIG. 10, the character information G2 is read, and the image G3 including the subject 31 and the character information G2 are superimposed and displayed.

図11は、デジタルカメラの表示位置・大きさ変更モードでの動作を示すフローチャートである。
設定ボタン14が操作されて表示情報入力モードが設定されると、CPU204は、図11に示すフローチャートの処理を実行するためのプログラムをプログラムコード記録装置205から読み出す。CPU204は、このプログラムに従って、図11に示すフローチャートにおける表示位置・大きさ変更処理を実行する。
上述の表示情報合成モードでは、表示情報を記憶する際に表示情報の位置や大きさを変更可能としたが、表示情報を記憶した後でも、この表示位置・大きさ変更モードに設定することにより、表示情報の位置や大きさを変更できる。
FIG. 11 is a flowchart showing the operation of the digital camera in the display position / size change mode.
When the display information input mode is set by operating the setting button 14, the CPU 204 reads out a program for executing the processing of the flowchart shown in FIG. 11 from the program code recording device 205. The CPU 204 executes the display position / size changing process in the flowchart shown in FIG. 11 according to this program.
In the display information composition mode described above, the position and size of the display information can be changed when the display information is stored. Even after the display information is stored, the display position / size change mode is set. The position and size of display information can be changed.

まず、CPU204は、記憶した表示情報を選択して呼び出す(ステップS401)。
次に、CPU204は、シャッターボタン13が半押しされたか否かを検出する(ステップS402)。この判定がYESの場合には、ステップS403に移り、NOの場合には、ステップS402に戻る。
ステップS403では、画像処理装置203により、画像データ生成部100から第3の画像としての複数の時系列的に連続する画像を取得し、これら複数の画像から特徴点を検出する。
First, the CPU 204 selects and calls the stored display information (step S401).
Next, the CPU 204 detects whether or not the shutter button 13 is half-pressed (step S402). If this determination is YES, the process moves to step S403, and if NO, the process returns to step S402.
In step S403, the image processing device 203 acquires a plurality of time-sequential images as the third image from the image data generation unit 100, and detects feature points from the plurality of images.

次に、ステップS404では、特徴点を検出できたか否かを判定する。この判定がYESの場合には、ステップS405に移り、NOの場合には、ステップS402に戻る。
ステップS405では、画像処理装置203により、特徴点の位置及び大きさを検出する。
Next, in step S404, it is determined whether or not a feature point has been detected. If this determination is YES, the process moves to step S405, and if NO, the process returns to step S402.
In step S405, the image processing device 203 detects the position and size of the feature point.

次に、画像処理装置203により、特徴点の位置または大きさの変化に追随して、表示情報の位置や大きさを変更する位置・大きさ変更処理を実行する(ステップS406)。この位置・大きさ変更処理は、上述のステップS107と同様の処理を、2次元コードではなく特徴点に対して実行するものである。   Next, the image processing apparatus 203 executes position / size changing processing for changing the position and size of the display information following the change in the position or size of the feature point (step S406). In this position / size changing process, the same process as in step S107 described above is executed on the feature points instead of the two-dimensional code.

次に、画像処理装置203により、この表示情報を取得した画像に重畳合成して表示部301に表示する(ステップS407)。
ステップS408では、CPU204は、シャッターボタン13の半押しが解放されたか否かを検出する。この判定がYESの場合には、ステップS409に移り、NOの場合には、ステップS406に移る。
ステップS409では、画像処理装置203により、表示情報をメモリ201に記憶する。
Next, the image processing apparatus 203 superimposes and combines this display information on the acquired image and displays it on the display unit 301 (step S407).
In step S408, the CPU 204 detects whether or not the half-press of the shutter button 13 has been released. If this determination is YES, the process proceeds to step S409, and if NO, the process proceeds to step S406.
In step S <b> 409, display information is stored in the memory 201 by the image processing apparatus 203.

例えば、図12に示すように、ユーザは、デジタルカメラ1を用いて、被写体32に合わせて、画像の撮影を行う。すると、この被写体32の特徴点を抽出し、この被写体32の画像G4に重ねて文字情報G2が表示される。その後、図12中破線で示すように、ユーザがデジタルカメラ1を移動させても、画像G4中の被写体32と文字情報G2との相対位置関係は維持される。   For example, as shown in FIG. 12, the user uses the digital camera 1 to take an image according to the subject 32. Then, the feature point of the subject 32 is extracted, and the character information G2 is displayed over the image G4 of the subject 32. Thereafter, as indicated by a broken line in FIG. 12, even when the user moves the digital camera 1, the relative positional relationship between the subject 32 and the character information G2 in the image G4 is maintained.

本実施形態によれば、以下のような効果がある。
(1)2次元コード21を撮像して、この2次元コード21を含む複数の時系列的に連続する画像を取得する。また、被写体31を撮像して、この被写体31を含む複数の時系列的に連続する画像G3を取得する。そして、画像に含まれる2次元コードに基づいて文字情報G2を取得し、この文字情報G2を、被写体31を含む撮影画像G3に重畳合成して表示する。したがって、撮影した画像に文字列などの情報を容易に合成できる。また、キーボード等の文字入力装置を設ける必要がないので、小型化できる。
According to this embodiment, there are the following effects.
(1) The two-dimensional code 21 is imaged, and a plurality of time-series continuous images including the two-dimensional code 21 are acquired. Further, the subject 31 is imaged, and a plurality of time-sequential images G3 including the subject 31 are acquired. Then, the character information G2 is acquired based on the two-dimensional code included in the image, and the character information G2 is superimposed on the captured image G3 including the subject 31 and displayed. Therefore, information such as a character string can be easily combined with the captured image. Further, since there is no need to provide a character input device such as a keyboard, the size can be reduced.

(2)2次元コード21を撮像した画像中の2次元コード21の位置及び大きさの変化を検出し、この検出した変化量に追随して、画像G3内での文字情報G2の位置を変更した。
よって、2次元コード21に対するデジタルカメラの相対位置を変更するだけで、表示情報の位置や大きさを変更できるので、外部の入力装置を用いる必要がなく、利便性を向上できる。
(2) Changes in the position and size of the two-dimensional code 21 in the image obtained by capturing the two-dimensional code 21 are detected, and the position of the character information G2 in the image G3 is changed following the detected change amount. did.
Therefore, since the position and size of the display information can be changed only by changing the relative position of the digital camera with respect to the two-dimensional code 21, it is not necessary to use an external input device, and convenience can be improved.

(3)デジタルカメラ1により、特徴点を含む任意の被写体32を撮像して、この被写体32を含む画像G4中の特徴点の変化を検出し、検出した変化量に追随して、画像G4内での文字情報G2の位置を変更した。
よって、被写体32に対するデジタルカメラ1の相対位置を変更するだけで、表示情報の位置や大きさを変更できるので、外部の入力装置を用いる必要がなく、利便性を向上できる。
(3) An arbitrary subject 32 including a feature point is imaged by the digital camera 1, a change in the feature point in the image G4 including the subject 32 is detected, and the amount of change detected is followed in the image G4. The position of the character information G2 is changed.
Therefore, since the position and size of the display information can be changed only by changing the relative position of the digital camera 1 with respect to the subject 32, it is not necessary to use an external input device, and convenience can be improved.

なお、本発明は前記実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。   It should be noted that the present invention is not limited to the above-described embodiment, and modifications, improvements, etc. within a scope that can achieve the object of the present invention are included in the present invention.

本発明の一実施形態の撮像装置としてのデジタルカメラの外観を示す斜視図である。1 is a perspective view illustrating an appearance of a digital camera as an imaging apparatus according to an embodiment of the present invention. 前記実施形態のデジタルカメラのブロック図である。It is a block diagram of the digital camera of the embodiment. 前記実施形態のデジタルカメラの表示情報入力モードでの動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the display information input mode of the digital camera of the said embodiment. 前記実施形態のデジタルカメラを用いて表示情報を入力する手順を説明するための図である。It is a figure for demonstrating the procedure which inputs display information using the digital camera of the said embodiment. 前記実施形態のデジタルカメラの位置・大きさ変更処理を示すフローチャートである。It is a flowchart which shows the position / size change process of the digital camera of the embodiment. 前記実施形態のデジタルカメラを用いて表示情報の位置及び大きさを変更する手順を説明するための図(その1)である。FIG. 6 is a diagram (No. 1) for describing a procedure for changing the position and size of display information using the digital camera of the embodiment. 前記実施形態のデジタルカメラを用いて表示情報の位置及び大きさを変更する手順を説明するための図(その2)である。FIG. 6 is a diagram (No. 2) for explaining the procedure for changing the position and size of display information using the digital camera of the embodiment. 前記実施形態のデジタルカメラの表示情報合成モードでの動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the display information synthetic | combination mode of the digital camera of the said embodiment. 前記実施形態のデジタルカメラを用いて表示情報を合成する手順を説明するための図(その1)である。FIG. 6 is a diagram (No. 1) for describing a procedure for synthesizing display information using the digital camera of the embodiment. 前記実施形態のデジタルカメラを用いて表示情報を合成する手順を説明するための図(その2)である。It is FIG. (2) for demonstrating the procedure which synthesize | combines display information using the digital camera of the said embodiment. 前記実施形態のデジタルカメラの表示位置・大きさ変更モードでの動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the display position and magnitude | size change mode of the digital camera of the said embodiment. 前記実施形態のデジタルカメラを用いて表示情報の位置及び大きさを変更する手順を説明するための図である。It is a figure for demonstrating the procedure which changes the position and magnitude | size of display information using the digital camera of the said embodiment.

符号の説明Explanation of symbols

1 デジタルカメラ(撮像装置)
100 画像データ生成部(撮像手段)
203 画像処理装置(情報取得手段、合成手段、位置取得手段、位置変更手段、大きさ取得手段、大きさ変更手段、表示手段)
1 Digital camera (imaging device)
100 Image data generation unit (imaging means)
203 Image processing apparatus (information acquisition means, composition means, position acquisition means, position change means, size acquisition means, size change means, display means)

Claims (3)

撮像手段と、
前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得手段と、
前記第1の取得手段が取得した前記2次元コードに対応する第2の画像を作成する作成手段と、
前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得手段と、
前記第3の画像から前記被写体の特徴点を検出する検出手段と、
前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御手段と、
を具備したことを特徴とする撮像装置。
Imaging means;
First acquisition means for acquiring a first image including a two-dimensional code by the imaging means;
Creating means for creating a second image corresponding to the two-dimensional code obtained by the first obtaining means;
Second acquisition means for acquiring a third image including a subject different from the two-dimensional code by the imaging means;
Detecting means for detecting feature points of the subject from the third image;
The second image is displayed so as to be superimposed on the position of the subject corresponding to the feature point in the third image, and the position of the second image is tracked following the change in the position or size of the subject. Or display control means for changing the size;
An imaging apparatus comprising:
撮像手段と、表示手段とを有する撮像装置が実行する画像処理方法において、
前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得ステップと、
前記第1の取得ステップが取得した前記2次元コードに対応する第2の画像を作成する作成ステップと、
前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得ステップと、
前記第3の画像から前記被写体の特徴点を検出する検出ステップと、
前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御ステップと、を含むことを特徴とする画像処理方法。
In an image processing method executed by an imaging apparatus having an imaging unit and a display unit,
A first acquisition step of acquiring a first image including a two-dimensional code by the imaging means;
A creation step of creating a second image corresponding to the two-dimensional code acquired by the first acquisition step;
A second acquisition step of acquiring a third image including a subject different from the two-dimensional code by the imaging means ;
A detection step of detecting a feature point of the subject from the third image;
The second image is displayed so as to be superimposed on the position of the subject corresponding to the feature point in the third image, and the position of the second image is tracked following the change in the position or size of the subject. Or a display control step of changing the size.
撮像手段と表示手段を有する撮像装置を制御するコンピュータを、
前記撮像手段によって、2次元コードを含む第1の画像を取得する第1の取得手段と、
前記第1の取得手段が取得した前記2次元コードに対応する第2の画像を作成する作成手段と、
前記撮像手段によって、前記2次元コードとは異なる被写体を含む第3の画像を取得する第2の取得手段と、
前記第3の画像から前記被写体の特徴点を検出する検出手段と、
前記第2の画像を、前記第3の画像中における前記特徴点に対応する被写体の位置に重ねて表示するとともに、前記被写体の位置または大きさの変化に追随させて前記第2の画像の位置または大きさを変更する表示制御手段として機能させる
ことを特徴とする画像処理プログラム。
A computer for controlling an imaging apparatus having an imaging means and a display means;
First acquisition means for acquiring a first image including a two-dimensional code by the imaging means;
Creating means for creating a second image corresponding to the two-dimensional code obtained by the first obtaining means;
Second acquisition means for acquiring a third image including a subject different from the two-dimensional code by the imaging means;
Detecting means for detecting feature points of the subject from the third image;
The second image is displayed so as to be superimposed on the position of the subject corresponding to the feature point in the third image, and the position of the second image is tracked following the change in the position or size of the subject. Alternatively, an image processing program which functions as a display control means for changing the size.
JP2008208462A 2008-08-13 2008-08-13 Imaging apparatus, image processing method, and image processing program Active JP5413558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008208462A JP5413558B2 (en) 2008-08-13 2008-08-13 Imaging apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008208462A JP5413558B2 (en) 2008-08-13 2008-08-13 Imaging apparatus, image processing method, and image processing program

Publications (3)

Publication Number Publication Date
JP2010045621A JP2010045621A (en) 2010-02-25
JP2010045621A5 JP2010045621A5 (en) 2011-09-22
JP5413558B2 true JP5413558B2 (en) 2014-02-12

Family

ID=42016616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008208462A Active JP5413558B2 (en) 2008-08-13 2008-08-13 Imaging apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP5413558B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3832132B2 (en) * 1999-03-11 2006-10-11 セイコーエプソン株式会社 Display system and presentation system
JP4032776B2 (en) * 2002-03-04 2008-01-16 ソニー株式会社 Mixed reality display apparatus and method, storage medium, and computer program
JP4835243B2 (en) * 2006-04-13 2011-12-14 ブラザー工業株式会社 Image composition apparatus and image composition program
JP2007288424A (en) * 2006-04-14 2007-11-01 Fujifilm Corp Imaging apparatus

Also Published As

Publication number Publication date
JP2010045621A (en) 2010-02-25

Similar Documents

Publication Publication Date Title
KR100610582B1 (en) Image processing system, image processing method, electronic camera, and image processing apparatus
TWI326553B (en) Imaging apparatus, data extraction method, and data extraction program
JP2008206138A (en) Imaging apparatus and image processor
JP2009147730A (en) Moving image generating apparatus, moving image shooting apparatus, moving image generating method, and program
JP5952782B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP2010021921A (en) Electronic camera and image processing program
JP2015053741A (en) Image reproduction device
JP2008288798A (en) Imaging apparatus
JP5282530B2 (en) Digital camera
JP2007088655A (en) Imaging device, method for specifying place of focusing, and program
JP2007178735A (en) Imaging apparatus, method for displaying viewing angle in zooming, and program
JP2004112550A (en) Imaging apparatus, camera, program, and recording medium
JP5413558B2 (en) Imaging apparatus, image processing method, and image processing program
JP2010171491A (en) Imaging device, imaging method, and program
JP2010097449A (en) Image composition device, image composition method and image composition program
JP5195317B2 (en) Camera device, photographing method, and photographing control program
JP4360395B2 (en) Information processing device
JP5423285B2 (en) camera
JP5200816B2 (en) Imaging device, image processing method of imaging device, and image processing program
JP2010016693A (en) Electronic camera
JP2004112537A (en) Imaging apparatus, imaging method, and program for executing the method
JP2008306284A (en) Photographing apparatus, display method and program
JP2007096809A (en) Imaging apparatus, moving picture storage method, and moving picture storage program
JP2006287377A (en) Image storage device, image storage method, and image storage program
JP2005012459A (en) Portable image synthesizing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110810

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120918

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130605

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130723

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131016

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131029

R150 Certificate of patent or registration of utility model

Ref document number: 5413558

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150