JP2011217009A - Image processing apparatus and method, and program - Google Patents
Image processing apparatus and method, and program Download PDFInfo
- Publication number
- JP2011217009A JP2011217009A JP2010081292A JP2010081292A JP2011217009A JP 2011217009 A JP2011217009 A JP 2011217009A JP 2010081292 A JP2010081292 A JP 2010081292A JP 2010081292 A JP2010081292 A JP 2010081292A JP 2011217009 A JP2011217009 A JP 2011217009A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- difference
- images
- difference image
- file
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title description 25
- 238000001514 detection method Methods 0.000 claims description 11
- 238000003672 processing method Methods 0.000 claims description 2
- 238000003384 imaging method Methods 0.000 abstract description 31
- 230000002194 synthesizing effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
【課題】メモリの容量の圧迫を防止しつつ、当該メモリに記録されたデータに基づき連続して撮像した個々の画像を生成することができるようにする。
【解決手段】ステップS20で、先頭画像データと先頭画像データに対する各差分画像データとから、各差分画像データに対応する静止画像データを復元する。つまり、先頭画像データと各差分画像データとを個々に合成することにより、先頭画像内に差分画像が存在する静止画像を表す複数の静止画像データを生成する。したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、最大29枚の差分画像データとの集合が一つのファイルで記憶されていることから、最大29枚の静止画像データが生成されることとなる。この復元された複数の静止画像データにより再生される複数の画像は、連続撮像時において撮像した複数の画像と各々視覚上同一な画像となる。
【選択図】図3An object of the present invention is to generate individual images continuously captured based on data recorded in a memory while preventing the memory capacity from being compressed.
In step S20, still image data corresponding to each difference image data is restored from the top image data and each difference image data with respect to the top image data. That is, a plurality of still image data representing still images in which a difference image exists in the head image is generated by individually synthesizing the head image data and each difference image data. Therefore, if the predetermined number of continuous images is, for example, 30 images, a set of up to 29 difference image data is stored in one file, and therefore up to 29 still image data are generated. The Rukoto. The plurality of images reproduced by the restored plurality of still image data are visually the same images as the plurality of images captured during continuous imaging.
[Selection] Figure 3
Description
本発明は、静止画像データを生成する画像処理装置、画像処理制御方法及びプログラムに関するものである。 The present invention relates to an image processing apparatus that generates still image data, an image processing control method, and a program.
従来の技術として、連続して撮像された複数の画像データを、1枚の主画像データと、複数枚のサムネイル画像データとして、メモリに記録する技術が知られている(例えば下記特許文献1参照)。したがって、メモリに記録されたデータに基づき、1枚の主画像あるは複数枚のサムネイル画像を再生することができる。
As a conventional technique, a technique is known in which a plurality of pieces of image data continuously captured are recorded in a memory as one main image data and a plurality of thumbnail image data (see, for example,
しかしながら、上述の従来技術にあっては、連続して撮像された各画像をそのまま1枚の主画像データと複数枚のサムネイル画像データとしてメモリに記録する。したがって、連続して撮像された複数の画像から、ユーザが所望する画像のみを簡単に閲覧することが困難となるという問題がある。 However, in the above-described prior art, each image captured continuously is recorded in a memory as it is as one main image data and a plurality of thumbnail image data. Therefore, there is a problem that it is difficult to easily browse only an image desired by the user from a plurality of images captured continuously.
また、再生し得る画像も主画像以外は、縮小されたサムネイル画像である。したがって、連続して撮像された複数の画像から、ユーザが所望する画像のみを撮像時のサイズで閲覧することもできない。 In addition, the reproducible images are reduced thumbnail images other than the main image. Therefore, it is also impossible to browse only the image desired by the user from the plurality of images captured continuously in the size at the time of imaging.
本発明は、かかる従来の課題に鑑みてなされたものであり、連続して撮像された複数の画像から、ユーザが所望する画像のみを撮像時のサイズで簡単に閲覧することができるようにすることを目的とする。 The present invention has been made in view of such conventional problems, and allows only a user-desired image to be easily viewed at a size at the time of imaging from a plurality of images that are continuously captured. For the purpose.
前記課題を解決するため、請求項1記載の発明に係る画像処理装置にあっては、連続して撮像された複数の画像データを、1枚の基準画像データとこの基準画像データに対する差分の画像データからなる集合、又は1枚の基準画像データと連続撮像された画像の隣同士の画像の差分の画像データとからなる集合として記録する記録手段と、この記録手段により記録された前記集合における差分画像データに基づく静止画像データを生成する指示を検出する検出手段と、この検出手段により前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成手段と、を備えたことを特徴とする。 In order to solve the above-described problem, in the image processing apparatus according to the first aspect of the present invention, a plurality of pieces of image data that are continuously captured are converted into one piece of reference image data and a difference image with respect to the reference image data. Recording means for recording as a set consisting of data, or a set consisting of one reference image data and a difference image data of images adjacent to each other, and the difference in the set recorded by the recording means Detection means for detecting an instruction for generating still image data based on image data, and still image data based on the reference image data and the difference image data included in the set in which the instruction is detected by the detection means And generating means for generating.
また、請求項2記載の発明に係る画像処理装置にあっては、前記検出手段は、前記記録手段に記録された前記集合における何れかの差分画像データに基づき静止画像データを生成する指示を検出し、前記生成手段は、前記検出手段により前記指示が検出された何れかの差分画像データと前記基準画像データとに基づき、1枚の静止画像データを生成することを特徴とする。 In the image processing apparatus according to the second aspect of the invention, the detection unit detects an instruction to generate still image data based on any one of the difference image data recorded in the recording unit. The generating unit generates one piece of still image data based on any difference image data in which the instruction is detected by the detecting unit and the reference image data.
また、請求項3記載の発明に係る画像処理装置にあっては、前記検出手段は、前記記録手段に記録された前記集合における全ての差分画像データに基づき静止画像データを生成する指示を検出し、前記生成手段は、前記全ての差分画像データと前記基準画像データとに基づき、各差分画像データに対応する複数の静止画像データを生成することを特徴とする。 In the image processing apparatus according to the third aspect of the invention, the detection unit detects an instruction to generate still image data based on all the difference image data in the set recorded in the recording unit. The generation means generates a plurality of still image data corresponding to each difference image data based on all the difference image data and the reference image data.
また、請求項4記載の発明に係る画像処理装置にあっては、前記基準画像データは、前記連続して撮像された複数の画像データのうち、最初に撮像された先頭画像データであることを特徴とする。 Further, in the image processing apparatus according to the invention of claim 4, the reference image data is first image data captured first among the plurality of image data continuously captured. Features.
また、請求項5記載の発明に係る画像処理方法にあっては、連続して撮像された複数の画像データを、1枚の基準画像データとこの基準画像データに対する差分の画像データである差分画像データとからなる集合、又は1枚の基準画像データと連続撮像された画像の隣同士の画像の差分の画像データである差分画像データとからなる集合として記録する記録ステップと、この記録ステップにて記録された前記集合における差分画像データに基く静止画像データを生成する指示を検出する検出ステップと、この検出ステップにより前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成ステップと、を含むことを特徴とする。 In the image processing method according to the fifth aspect of the present invention, a plurality of pieces of image data that are continuously captured are converted into a single reference image data and a difference image that is image data of a difference with respect to the reference image data. A recording step of recording as a set of data, or a set of differential image data that is a difference image data between adjacent images of one reference image data and continuously captured images, and in this recording step A detection step for detecting an instruction to generate still image data based on the difference image data in the recorded set; and the reference image data and the difference image data included in the set in which the instruction is detected by the detection step; And a generation step of generating still image data.
また、請求項6記載の発明に係るプログラムにあっては、画像を処理する装置が有するコンピュータを、連続して撮像された複数の画像データを、1枚の基準画像データとこの基準画像データに対する差分の画像データである差分画像データとからなる集合、又は1枚の基準画像データと連続撮像された画像の隣同士の画像の差分の画像データである差分画像データとからなる集合として記録する記録手段、この記録手段に記録された前記集合における差分画像データに基く静止画像データを生成する指示を検出する検出手段、この検出手段により前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成手段、として機能させることを特徴とする。 According to another aspect of the program of the present invention, a computer included in an image processing apparatus includes a plurality of consecutively captured image data, one reference image data, and the reference image data. Recording that records as a set of difference image data that is difference image data, or a set of difference image data that is difference image data of adjacent images of one piece of reference image data and images that are continuously captured Means for detecting an instruction for generating still image data based on the difference image data in the set recorded in the recording means; the reference image data included in the set in which the instruction is detected by the detecting means; Based on the difference image data, it functions as a generation means for generating still image data.
本発明によれば、連続して撮像された複数の画像から、ユーザが所望する画像のみを撮像時のサイズで簡単に閲覧することができる。 According to the present invention, it is possible to easily browse only an image desired by a user at a size at the time of imaging from a plurality of images captured continuously.
以下、本発明の実施形態について説明する。図1は、本発明の一実施の形態に係るデジタルカメラ1の電気的構成の概略を示すブロック構成図である。このデジタルカメラ1はAE(Automatic Exposure(自動露出))、AF(Auto Focus(オートフォーカス))機能、及び連続撮像機能を備えたものであって、主として以下の各部から構成されている。すなわちデジタルカメラ1は、撮像レンズ8により結像された被写体の光学像を光電変換し撮像信号として出力する撮像手段として、撮像素子9を有している。撮像素子9は、カメラ制御部10が有するタイミングジェネレータ(TG)により生成されるタイミング信号に基づく駆動信号により駆動される。
Hereinafter, embodiments of the present invention will be described. FIG. 1 is a block configuration diagram showing an outline of an electrical configuration of a
前記撮像レンズ8には、フォーカスレンズ及びそれを光軸上で移動させるためのレンズモータが含まれる。そして、レンズモータがカメラ制御部10の指令に従い駆動されることにより、フォーカスレンズが光軸上での位置を制御される。
The imaging lens 8 includes a focus lens and a lens motor for moving the focus lens on the optical axis. The position of the focus lens on the optical axis is controlled by driving the lens motor in accordance with a command from the
前記撮像素子9の出力信号は、A/D(Analog/Digital )変換器等を備える信号変換部11でデジタル信号に変換された後、カメラ制御部10へ送られる。カメラ制御部10は、A/D変換後の撮像データをRAM(Random Access Memory)12に記憶させる。信号処理部14は、RAM12に記憶された画像データにおいて、画素毎のR(赤),G(緑),B(青)の色成分データ(RGBデータ)を生成するRGB補間処理、RGBデータから輝度信号(Y)と色差信号(U、V)からなるYUVデータを画素毎に生成するYUV変換処理、更にオートホワイトバランスや輪郭強調などの画品質向上のためのデジタル信号処理を行う。
The output signal of the
撮像用のモードが設定されているときRAM12に格納されたYUVデータは、RAM12において1フレーム分が蓄積される毎に表示制御部13においてビデオ信号に変換された後、表示装置4においてスルー画像として画面表示される。そして、撮像時には、RAM12に一時記憶された画像データが信号処理部14においてJPEG(Joint Photographic Experts Group)方式により圧縮符号化された後、外部記憶制御部15を介して、例えば各種のメモリカードにより構成される外部記憶装置16に静止画ファイルとして記録される。
When the imaging mode is set, the YUV data stored in the
前記外部記憶装置16に記録された静止画ファイルは、再生モードにおいてユーザーの選択操作に応じて適宜読み出されるとともに、信号処理部14において伸張されYUVデータとしてRAM12に展開された後、表示制御部13により表示装置4にて静止画像として表示される。
The still image file recorded in the
キー入力ブロック17は、メニューキー、モードダイアル、カーソルキー、SETキー、シャッタボタン等の複数キーやボタンを含み、各キーやボタンの操作状態は、CPU(Central Processing Unit)18により随時スキャンされる。
The
なお、シャッタボタンは、半押しと全押しとが可能なハーフシャッタ機能を備えたものである。 The shutter button has a half shutter function that can be half-pressed and fully pressed.
CPU18は、このデジタルカメラ1を構成する各部の制御、撮像信号に含まれる輝度情報に基づいたAE制御や、コントラスト検出方式によるAF制御等を行う。なお、これらの制御をCPU18に行わせるための各種のプログラムや、各々の制御に必要な各種データは、ROM(Read Only Memory)19に記憶されている。また、ROM19には、ユーザーによるモード選択操作を検出しその結果をフラグ情報で記憶するフラグ情報を含め、当該デジタルカメラ1の各種の機能に関する設定フラグ情報等も記憶されている。
The
なお、外部I/F(interface)20には、USB端子接続部が接続されている。 Note that a USB terminal connection unit is connected to the external I / F (interface) 20.
以上の構成にかかる本実施の形態において、ユーザがメニューキーを操作してメニュー画面を表示装置4に表示させた後、メニュー画面から連続撮像モードを選択して、SETキーを操作すると、連続撮像モードが設定される。この連続撮像モードを設定した状態で、好ましくは三脚等によりデジタルカメラ1を固定して、ユーザがシャッタボタンを押下する。すると、CPU18は、ROM19に記憶されているプログラムに基づき、図3のフローチャートに示す連続撮像モード処理を実行する。
In the present embodiment having the above configuration, when the user operates the menu key to display the menu screen on the display device 4 and then selects the continuous imaging mode from the menu screen and operates the SET key, continuous imaging is performed. The mode is set. With this continuous imaging mode set, the
すなわち、被写体を連続撮像し(ステップS1)、この連続撮像により得られた複数の画像データをRAM12に書き込む(ステップS2)。つまり、カメラ制御部10を制御して撮像素子9の露光を開始させ、この露光開始に伴って生成される画像データを撮像素子9から読み出し、RAM12に書き込む。この書き込み動作を所定の連続撮像枚数(例えば、30〜60枚の範囲内の所定枚数)分行う。そして、この連続撮像により、RAM12に所定枚数分の画像データが保持されると、CPU18はステップS2からステップS3に処理を進める。
That is, the subject is continuously imaged (step S1), and a plurality of image data obtained by the continuous imaging is written in the RAM 12 (step S2). That is, the
なお、連続撮像に際してユーザは、撮像の開始時に例えば背景のみを撮像し、引き続き当該背景内で動作する被写体を撮像する。 Note that, during continuous imaging, the user captures, for example, only the background at the start of imaging, and continuously captures a subject that operates within the background.
前記ステップS3においては、RAM12からメモリ(外部記憶装置16)への保存形式として、
選択肢1:先頭画像データと、先頭画像データに対する差分画像データとを一つのファイ ルとして保存するか(保存形式(1))、
選択肢2:先頭画像データと、連続撮像された画像の隣同士の差分画像データとを一つの ファイルとして保存するか(保存形式(2))
のいずれかを選択するよう報知する。
In step S3, as a storage format from the
Option 1: Whether to save the top image data and the difference image data for the top image data as one file (save format (1))
Option 2: Whether to save the top image data and the difference image data next to each other after the continuously captured images as one file (storage format (2))
Inform the user to select one of the following.
この報知は、前記選択肢1、2の保存形式(1)(2)を表示装置4に表示させることにより行う。そして、この表示装置4に表示された保存形式(1)(2)のどちらかが選択されたか否か判断する(ステップS4)。
This notification is performed by displaying the storage formats (1) and (2) of the
このステップS4での判断の結果、保存形式(1)(2)のいずれかが選択されたと判断されたならば、次に、保存形式(1)(2)のうち保存形式(1)の選択が検出されたか否かを判断する(ステップS5)。このステップS5の判断がYESであって、保存形式(1)の選択が検出された場合には、CPU18は、ステップS5からステップS6に処理を進める。そして、このステップS6において、前記連続撮像により得られた複数の画像データのうち、最初に撮像された画像の画像データである先頭画像データと、この先頭画像データに対する他の画像データの差分の画像データである差分画像データとを一つのファイルとしてメモリ(外部記憶装置16)に書き込み保存する。
As a result of the determination in step S4, if it is determined that one of the storage formats (1) and (2) is selected, then the storage format (1) is selected from the storage formats (1) and (2). Is detected (step S5). If the determination in step S5 is YES and selection of the storage format (1) is detected, the
したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、保存形式(1)が選択された場合には、1枚の先頭画像データと、先頭画像データに対する最大29枚の差分画像データとの集合が一つのファイルで外部記憶装置16に記憶される。なお、29枚は最大値であって、先頭画像と差分が存在しない画像が撮像された場合には、差分画像データは29枚未満となる。
Therefore, if the predetermined number of consecutive images is, for example, 30, when the storage format (1) is selected, one top image data and up to 29 difference image data with respect to the top image data are stored. Are stored in the
また、ステップS5の判断がNOであって、保存形式(2)が選択された場合には、CPU18はステップS5からステップS7に処理を進める。そして、このステップS7において、前記連続撮像により得られた複数の画像データのうち、最初に撮像された先頭画像データと、連続撮像された画像データの隣同士の差分の画像データである差分画像データとを一つのファイルとしてメモリ(外部記憶装置16)に書き込み保存する。
If the determination in step S5 is NO and the save format (2) is selected, the
したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、保存形式(2)が選択された場合にも、外部記憶装置16には、1枚の先頭画像データと、最大29枚の差分画像データとの集合が一つのファイルで外部記憶装置16に記憶される。なお、29枚は最大値であって、差分が存在しない画像が連続して撮像された場合には、差分画像データは29枚未満となる。
Therefore, if the predetermined number of consecutive images is, for example, 30 images, even when the storage format (2) is selected, the
図3及び図4は、画像の閲覧モードにおける処理手順を示す一連のフローチャートである。ユーザがメニューキーを操作してメニュー画面を表示装置4に表示させた後、メニュー画面から閲覧モードを選択して、SETキーを操作すると、閲覧モードが設定される。閲覧モードが設定されると、CPU18は、外部記憶装置16に記憶されているファイルを表示装置4に一覧表示し、この一覧表示したファイルから何れかのファイルの選択が検出されたか否かを判断する(ステップS11)。
3 and 4 are a series of flowcharts showing a processing procedure in the image browsing mode. When the user operates the menu key to display the menu screen on the display device 4 and then selects the viewing mode from the menu screen and operates the SET key, the viewing mode is set. When the viewing mode is set, the
何れかのファイルの選択が検出されたならば、当該選択が検出されたファイルは、連続撮像画像のファイルか否か、つまり前記保存形式(1)又は保存形式(2)のファイルであるか否かを判断する(ステップS12)。選択されたファイルが保存形式(1)又は保存形式(2)のファイル以外の他のファイルである場合には、他の処理に移行し(ステップS13)、当該ファイルに含まれている画像データに基づく画像を再生して、表示装置4に表示させる等の処理を実行する。 If selection of any file is detected, the file in which the selection is detected is a file of continuously captured images, that is, whether the file is in the storage format (1) or the storage format (2). Is determined (step S12). When the selected file is a file other than the file in the storage format (1) or the storage format (2), the process proceeds to another process (step S13), and the image data included in the file is converted to the image data. A process of reproducing the image based on the image and displaying the image on the display device 4 is executed.
また、選択されたファイルが保存形式(1)又は保存形式(2)のファイルである場合には、連続画像の差分画像から静止画像を復元するか否かを報知する(ステップS14)。この報知は、表示装置4に、選択肢として例えば「復元の実行」と「復元のキャンセル」とを表示することにより行う。そして、この表示装置4に表示された「復元の実行」と「復元のキャンセル」のうち、「復元の実行」の選択が検出されたか否かを判断する(ステップS15)。 If the selected file is a file in the storage format (1) or the storage format (2), a notification is made as to whether or not to restore a still image from the difference image of the continuous images (step S14). This notification is performed by displaying “execution of restoration” and “cancellation of restoration” on the display device 4 as options, for example. Then, it is determined whether selection of “execution of restoration” is detected among “execution of restoration” and “cancellation of restoration” displayed on the display device 4 (step S15).
「復元の実行」の選択が検出された場合には、下記の復元形式(A)(B)を表示装置4に表示する(ステップS16)。
復元形式(A):全ての画像を復元
復元形式(B):指定された1枚の画像を復元
When selection of “execution of restoration” is detected, the following restoration formats (A) and (B) are displayed on the display device 4 (step S16).
Restore format (A): Restore all images Restore format (B): Restore one specified image
そして、この表示装置4に表示された保存形式(A)(B)のどちらかが選択されたか否か判断する(ステップS17) Then, it is determined whether one of the storage formats (A) and (B) displayed on the display device 4 has been selected (step S17).
このステップS17での判断の結果、保存形式(A)(B)のいずれかが選択されたと判断されたならば、次に、復元形式(A)(B)のうち復元形式(A)の選択が検出されたか否かを判断する(ステップS18)。復元形式(A):全ての画像を復元が検出された場合、CPU19はステップS18からステップS19に処理を進め、前述のステップS11で選択されたファイルが保存形式(1)であるか否かを判断する。
As a result of the determination in step S17, if it is determined that one of the storage formats (A) and (B) has been selected, then the restoration format (A) is selected from the restoration formats (A) and (B). It is determined whether or not has been detected (step S18). Restoration format (A): When restoration of all images is detected, the
このステップS19での判断の結果、選択されたファイルが保存形式(1)ではなく、保存形式(2)であった場合、つまり先頭画像データと、連続撮像された画像の隣同士の差分画像データとを一つのファイルとして保存されたファイルである場合には、ステップS19からステップS20に処理を進める。 As a result of the determination in step S19, when the selected file is not in the storage format (1) but in the storage format (2), that is, the difference between the top image data and the adjacent difference image data of the continuously captured images. Are stored as one file, the process proceeds from step S19 to step S20.
そして、このステップS20で、先頭画像データと連続撮像された画像の隣同士の各差分画像データとから、各差分画像データに対応する静止画像データを復元する。つまり、先頭画像データと各差分画像データとを個々に合成することにより、先頭画像内に差分画像が存在する静止画像を表す複数の静止画像データを生成する。したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、前述のように、最大29枚の差分画像データの集合が一つのファイルで外部記憶装置16に記憶されていることから、最大29枚の静止画像データが生成されることとなる。
In step S20, the still image data corresponding to each difference image data is restored from the top image data and each difference image data adjacent to the successively captured images. That is, a plurality of still image data representing still images in which a difference image exists in the head image is generated by individually synthesizing the head image data and each difference image data. Therefore, if the predetermined number of consecutive images is, for example, 30 images, a maximum of 29 sets of difference image data are stored in the
次に、これらそれぞれの静止画像データをメモリ(外部記憶装置16)に書き込んで保存する(ステップS22)。 Next, these still image data are written and stored in the memory (external storage device 16) (step S22).
このとき、全ての静止画像データを一つのファイルとして外部記憶装置16に書き込んでも良いし、各静止画像データをそれぞれ別ファイルで外部記憶装置16に書き込んでも良い。いずれのファイル形式であっても、このステップS22で書き込まれたファイルをユーザが再生すべく選択した際には(ステップS11→YES)、選択されたファイルは連続撮像画像のファイルではないので、次のステップS12の判断はNOとなる。したがって、前述のように、ステップS12からステップS13に処理が進められて、選択されたファイルに含まれている静止画像データに基づく画像が表示装置4にて再生される。したがって、ユーザは連続して撮像された複数の画像から、ユーザが所望する画像を撮像時のサイズで簡単に閲覧することができる。
At this time, all the still image data may be written in the
一方、ステップS19での判断の結果、選択されたファイルが保存形式(1)であった場合、つまり先頭画像データと、先頭画像データに対する差分画像データとを一つのファイ ルとして保存されたファイルである場合には、ステップS19からステップS21に処理を進める。 On the other hand, if the result of determination in step S19 is that the selected file is in the storage format (1), that is, a file in which the top image data and the difference image data for the top image data are stored as one file. If there is, the process proceeds from step S19 to step S21.
そして、このステップS21で、先頭画像データと先頭画像データに対する各差分画像データとから、各差分画像データに対応する静止画像データを復元する。つまり、先頭画像データと各差分画像データとを個々に合成することにより、先頭画像内に差分画像が存在する静止画像を表す複数の静止画像データを生成する。したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、前述のように、最大29枚の差分画像データの集合が一つのファイルで外部記憶装置16に記憶されていることから、最大29枚の静止画像データが生成されることとなる。
In step S21, still image data corresponding to each difference image data is restored from the top image data and each difference image data with respect to the top image data. That is, a plurality of still image data representing still images in which a difference image exists in the head image is generated by individually synthesizing the head image data and each difference image data. Therefore, if the predetermined number of consecutive images is, for example, 30 images, a maximum of 29 sets of difference image data are stored in the
次に、これらそれぞれの静止画像データをメモリ(外部記憶装置16)に書き込んで保存する(ステップS22)。 Next, these still image data are written and stored in the memory (external storage device 16) (step S22).
このとき、前述と同様に、全ての静止画像データを一つのファイルとして外部記憶装置16に書き込んでも良いし、各静止画像データをそれぞれ別ファイルで外部記憶装置16に書き込んでも良い。いずれのファイル形式であっても、このステップS22で書き込まれたファイルをユーザが再生すべく選択した際には、前記ステップS12の判断はNOとなる。したがって、前述のように、ステップS12からステップS13に処理が進められて、ファイルに含まれている静止画像データに基づく画像を再生して、ユーザが閲覧することができる。
At this time, as described above, all the still image data may be written in the
他方、ステップS18で、復元形式(B):指定された1枚の画像を復元が検出された場合には、CPU19は、ステップS18からステップS23に処理を進める。そして、先頭画像データと差分画像データから連続撮像のサムネイル画像データを生成し、サムネイル画像を表示装置4に一覧表示する(ステップS23)。
On the other hand, if it is detected in step S18 that the restoration format (B): restoration of one designated image is detected, the
つまり、先ず先頭画像データと各差分画像データとを個々に合成することにより、先頭画像内に差分画像が存在する静止画像を表す複数の静止画像データを生成する。しかる後に、これら複数の静止画像データを縮小処理して複数のサムネイル画像データを生成し、これら複数のサムネイル画像に基づく複数のサムネイル画像を表示装置4に表示する。したがって、前記所定の連続撮像枚数が、例えば30枚であったとすると、前述のように、最大29枚の差分画像データとの集合が一つのファイルで外部記憶装置16に記憶されていることから、最大29枚のサムネイル画像データが生成され、最大29枚のサムネイル画像が表示装置4に表示されることとなる。
That is, first, the head image data and each difference image data are individually combined to generate a plurality of still image data representing still images in which a difference image exists in the head image. Thereafter, the plurality of still image data are reduced to generate a plurality of thumbnail image data, and a plurality of thumbnail images based on the plurality of thumbnail images are displayed on the display device 4. Therefore, if the predetermined number of consecutive images is, for example, 30, for example, as described above, a set of up to 29 difference image data is stored in the
次に、前記表示装置4に一覧表示された複数のサムネイル画像の中からいずれか1枚が選択されたか否かを判断する(ステップS24)。いずれか、1枚のサムネイル画像が選択されたならば、CPU18は、ステップS24から図4のステップS25に処理を進める。そして、前述のステップS11で選択されたファイルが保存形式(1)であるか否かを判断する(ステップS25)。
Next, it is determined whether any one of the plurality of thumbnail images displayed as a list on the display device 4 has been selected (step S24). If any one thumbnail image is selected, the
このステップS25での判断の結果、選択されたファイルが保存形式(1)ではなく、保存形式(2)であった場合、つまり先頭画像データと、連続撮像された画像の隣同士の差分画像データとを一つのファイルとして保存されたファイルである場合には、CPU18はステップS25からステップS26に処理を進める。
As a result of the determination in step S25, when the selected file is not in the storage format (1) but in the storage format (2), that is, the difference between the first image data and the adjacent image data that is adjacent to the continuously captured image. Are stored as one file, the
そして、このステップS26で、先頭画像データと連続撮像された画像の隣同士の各差分画像データとから、選択されたサムネイル画像に対応する静止画像データを復元する。つまり、先頭画像データと選択されたサムネイル画像に対応する差分画像データとを合成することにより、先頭画像内に差分画像が存在する静止画像を表す静止画像データであり、かつ選択されたサムネイル画像と同様の画像を表す静止画像データを生成する。 In step S26, the still image data corresponding to the selected thumbnail image is restored from the top image data and the difference image data adjacent to the images successively captured. That is, by combining the top image data and the difference image data corresponding to the selected thumbnail image, still image data representing a still image in which the difference image exists in the top image, and the selected thumbnail image and Still image data representing a similar image is generated.
したがって、例えば選択されたサムネイル画像が例えば10枚目に撮像された画像の差分画像を有する画像であったとすると、先頭画像内に差分画像が存在する静止画像を表す静止画像データが復元される。 Therefore, for example, if the selected thumbnail image is an image having a difference image of the image taken at the tenth image, for example, still image data representing a still image in which the difference image exists in the head image is restored.
そして、ステップS26に続くステップS28においては、復元された静止画像データを、連続撮像された画像ファイルとは別ファイルで、つまり保存形式(1)及び保存形式(2)のファイルとは別ファイルで、メモリ(外部記憶装置16)に書き込む。このステップS28で書き込まれたファイルをユーザが再生すべく選択した際には(ステップS11→YES)、選択されたファイルは連続撮像画像のファイルではないので、次のステップS12の判断はNOとなる。したがって、前述のように、ステップS12からステップS13に処理が進められて、選択されたファイルに含まれている静止画像データに基づく画像が表示装置4にて再生される。 In step S28 following step S26, the restored still image data is a separate file from the continuously captured image file, that is, a file separate from the storage format (1) and the storage format (2). , And write to the memory (external storage device 16). When the user selects the file written in step S28 to reproduce (step S11 → YES), the selected file is not a file of continuously picked up images, so the determination in the next step S12 is NO. . Therefore, as described above, the process proceeds from step S12 to step S13, and an image based on the still image data included in the selected file is reproduced on the display device 4.
したがって、ユーザは連続して撮像された複数の画像から、ユーザが所望する画像のみを撮像時のサイズで簡単に閲覧することができる。 Therefore, the user can easily browse only the image desired by the user at the size at the time of imaging from the plurality of images captured continuously.
また、ステップS25での判断の結果、選択されたファイルが保存形式(1)であった場合、つまり先頭画像データと、先頭画像データに対する差分画像データとを一つのファイルとして保存されたファイルである場合には、CPU18はステップS25からステップS27に処理を進める。
If the selected file is in the storage format (1) as a result of the determination in step S25, that is, the first image data and the difference image data for the first image data are stored as one file. In that case, the
そして、このステップS27で、先頭画像データと先頭画像データと先頭画像データに対する差分画像データとから、選択されたサムネイル画像に対応する静止画像データを復元する。つまり、先頭画像データと選択されたサムネイル画像に対応する差分画像データとを合成することにより、先頭画像内に差分画像が存在する静止画像を表す静止画像データであり、かつ選択されたサムネイル画像と同様の画像を表す静止画像データを生成する。 In step S27, the still image data corresponding to the selected thumbnail image is restored from the top image data, the top image data, and the difference image data with respect to the top image data. That is, by combining the top image data and the difference image data corresponding to the selected thumbnail image, still image data representing a still image in which the difference image exists in the top image, and the selected thumbnail image and Still image data representing a similar image is generated.
したがって、例えば選択されたサムネイル画像が例えば10枚目に撮像された画像の差分画像を有する画像であったとすると、先頭画像内に差分画像が存在する静止画像を表す静止画像データが復元される。 Therefore, for example, if the selected thumbnail image is an image having a difference image of the image taken at the tenth image, for example, still image data representing a still image in which the difference image exists in the head image is restored.
そして、ステップS26に続くステップS28においては、前述と同様に、復元された静止画像データを、連続撮像された画像ファイルとは別ファイルで、つまり保存形式(1)及び保存形式(2)のファイルとは別ファイルで、メモリ(外部記憶装置16)に書き込む。このステップS28で書き込まれたファイルをユーザが再生すべく選択した際には(ステップS11→YES)、選択されたファイルは連続撮像画像のファイルではないので、次のステップS12の判断はNOとなる。したがって、前述のように、ステップS12からステップS13に処理が進められて、選択されたファイルに含まれている静止画像データに基づく画像が表示装置4にて再生される。 Then, in step S28 following step S26, the restored still image data is a separate file from the continuously captured image files, that is, files in the saving format (1) and saving format (2), as described above. Is written in a memory (external storage device 16) as a separate file. When the user selects the file written in step S28 to reproduce (step S11 → YES), the selected file is not a file of continuously picked up images, so the determination in the next step S12 is NO. . Therefore, as described above, the process proceeds from step S12 to step S13, and an image based on the still image data included in the selected file is reproduced on the display device 4.
したがって、ユーザは連続して撮像された複数の画像から、ユーザが所望する画像のみを撮像時のサイズで簡単に閲覧することができる。 Therefore, the user can easily browse only the image desired by the user at the size at the time of imaging from the plurality of images captured continuously.
しかも、外部記憶装置16には、連続して撮像した画像の画像データをそのまま記録するのではなく、先頭画像データ以外は、差分画像データを記録する。したがって、外部記憶装置16の容量を圧迫することはない。その結果、外部記憶装置16(メモリ)の容量の圧迫を防止しつつ、当該メモリに記録されたデータに基づき連続して撮像した個々の画像を再生、表示することができる。
In addition, the image data of continuously captured images is not recorded as it is in the
また、本実施の形態においては、連続撮像により得られた複数の画像データのうち、最初に撮像された画像の画像データである先頭画像データと、この先頭画像データに対する他の画像データの差分の画像データである差分画像データと外部記憶装置16に記録するようにしたことから、ユーザは、撮像の開始時に基準となる画像(基準画像)を撮像し、引き続き当該基準画像内で動作する被写体を撮像すれば良い。したがって、ユーザは、メモリに記録されたデータに基づき連続して撮像した個々の画像を再生可能な連続撮像を簡単に行うことができる。
Further, in the present embodiment, of the plurality of image data obtained by continuous imaging, the difference between the first image data that is the image data of the first captured image and the other image data with respect to the first image data. Since the difference image data, which is image data, and the
なお、本実施の形態においては、先頭画像データを基準画像データとして、この基準画像データと、この基準画像データとの差である差分画像データとを記録するようにしたが、先頭画像データ以外の画像データを基準画像データとするようにしても良い。例えば、最後に撮像された画像データを基準画像データとしても良いし、所定枚数目の画像データを基準画像データとしても良い。つまり、連続撮像された画像データの中の1枚であれば、いずれの画像データであっても良い。 In the present embodiment, the head image data is used as reference image data, and the reference image data and difference image data that is the difference between the reference image data are recorded. The image data may be used as reference image data. For example, the last imaged image data may be used as the reference image data, and a predetermined number of image data may be used as the reference image data. That is, any image data may be used as long as it is one of the continuously captured image data.
また、実施の形態においては、ステップS23で先頭画像データと差分画像データとから、画像全体を表すサムネイル画像を生成して一覧表示することにより、復元すべき画像を指定させるようにした。しかし、画像全体を表すサムネイル画像を生成することなく、差分画像データに基づき差分画像のみを表すサムネイル画像を生成して一覧表示するようにしても良い。このようにすれば、ステップS22でのサムネイル画像の一覧表示において、先頭画像データと差分画像データとの合成を省略することができ、処理の簡単化を図ることができる。 In the embodiment, in step S23, thumbnail images representing the entire image are generated from the first image data and the difference image data and displayed in a list so that an image to be restored is designated. However, instead of generating a thumbnail image representing the entire image, thumbnail images representing only the difference image may be generated based on the difference image data and displayed as a list. In this way, in the thumbnail image list display in step S22, the synthesis of the head image data and the difference image data can be omitted, and the processing can be simplified.
1 デジタルカメラ
4 表示装置
9 撮像素子
10 カメラ制御部
11 信号変換部
12 RAM
13 表示制御部
14 信号処理部
15 外部記憶装置
16 外部記憶装置
17 キー入力ブロック
18 CPU
19 ROM
DESCRIPTION OF
13
19 ROM
Claims (6)
この記録手段により記録された前記集合における差分画像データに基づく静止画像データを生成する指示を検出する検出手段と、
この検出手段により前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成手段と、
を備えたことを特徴とする画像処理装置。 A plurality of consecutively captured image data, a set of one reference image data and a difference image data with respect to the reference image data, or an image adjacent to one reference image data and an image continuously captured Recording means for recording as a set of image data of the difference between,
Detecting means for detecting an instruction to generate still image data based on the difference image data in the set recorded by the recording means;
Generating means for generating still image data based on the reference image data and the difference image data included in the set in which the instruction is detected by the detecting means;
An image processing apparatus comprising:
前記生成手段は、前記検出手段により前記指示が検出された何れかの差分画像データと前記基準画像データとに基づき、1枚の静止画像データを生成することを特徴とする請求項1記載の画像処理装置。 The detection means detects an instruction to generate still image data based on any difference image data in the set recorded in the recording means,
2. The image according to claim 1, wherein the generation unit generates one piece of still image data based on any one of the difference image data in which the instruction is detected by the detection unit and the reference image data. Processing equipment.
前記生成手段は、前記全ての差分画像データと前記基準画像データとに基づき、各差分画像データに対応する複数の静止画像データを生成することを特徴とする請求項1記載の画像処理装置。 The detecting means detects an instruction to generate still image data based on all the difference image data in the set recorded in the recording means;
The image processing apparatus according to claim 1, wherein the generation unit generates a plurality of still image data corresponding to each difference image data based on all the difference image data and the reference image data.
この記録ステップにて記録された前記集合における差分画像データに基く静止画像データを生成する指示を検出する検出ステップと、
この検出ステップにより前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成ステップと、
を含むことを特徴とする画像処理方法。 A plurality of pieces of image data that have been continuously imaged are a set of one reference image data and a difference image data that is a difference image data with respect to the reference image data, or a single reference image data. A recording step of recording as a set of difference image data which is image data of a difference between images adjacent to each other;
A detection step for detecting an instruction to generate still image data based on the difference image data in the set recorded in the recording step;
A generation step of generating still image data based on the reference image data and the difference image data included in the set in which the instruction is detected by the detection step;
An image processing method comprising:
連続して撮像された複数の画像データを、1枚の基準画像データとこの基準画像データに対する差分の画像データである差分画像データとからなる集合、又は1枚の基準画像データと連続撮像された画像の隣同士の画像の差分の画像データである差分画像データとからなる集合として記録する記録手段、
この記録手段に記録された前記集合における差分画像データに基く静止画像データを生成する指示を検出する検出手段、
この検出手段により前記指示が検出された前記集合に含まれる前記基準画像データと前記差分画像データとに基づいて、静止画像データを生成する生成手段、
として機能させることを特徴とするプログラム。 A computer having a device for processing images;
A plurality of pieces of image data that have been continuously imaged are a set of one reference image data and a difference image data that is a difference image data with respect to the reference image data, or a single reference image data. Recording means for recording as a set of difference image data which is image data of the difference between images adjacent to each other;
Detecting means for detecting an instruction to generate still image data based on the difference image data in the set recorded in the recording means;
Generating means for generating still image data based on the reference image data and the difference image data included in the set in which the instruction is detected by the detecting means;
A program characterized by functioning as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010081292A JP5916984B2 (en) | 2010-03-31 | 2010-03-31 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010081292A JP5916984B2 (en) | 2010-03-31 | 2010-03-31 | Image processing apparatus, image processing method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011217009A true JP2011217009A (en) | 2011-10-27 |
JP2011217009A5 JP2011217009A5 (en) | 2013-05-09 |
JP5916984B2 JP5916984B2 (en) | 2016-05-11 |
Family
ID=44946333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010081292A Active JP5916984B2 (en) | 2010-03-31 | 2010-03-31 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5916984B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020139859A (en) * | 2019-02-28 | 2020-09-03 | キヤノン株式会社 | Processing equipment, imaging equipment and imaging system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007060278A (en) * | 2005-08-24 | 2007-03-08 | Fujifilm Corp | Image capturing apparatus and image data recording method |
JP2008022556A (en) * | 2006-07-13 | 2008-01-31 | Axis Ab | Video image buffer for pre-improvement alarm |
-
2010
- 2010-03-31 JP JP2010081292A patent/JP5916984B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007060278A (en) * | 2005-08-24 | 2007-03-08 | Fujifilm Corp | Image capturing apparatus and image data recording method |
JP2008022556A (en) * | 2006-07-13 | 2008-01-31 | Axis Ab | Video image buffer for pre-improvement alarm |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020139859A (en) * | 2019-02-28 | 2020-09-03 | キヤノン株式会社 | Processing equipment, imaging equipment and imaging system |
Also Published As
Publication number | Publication date |
---|---|
JP5916984B2 (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4831017B2 (en) | Image processing apparatus, developing apparatus, image processing method, developing method, image processing program, and developing program | |
JP5006727B2 (en) | Image processing apparatus and digital camera | |
JP4715913B2 (en) | Imaging apparatus, image processing apparatus, zoom control method, and zoom control program | |
US7768553B2 (en) | Photographing apparatus, display control method, and program | |
US7417668B2 (en) | Digital camera | |
US8767093B2 (en) | Image-capturing device, image reproduction device, and image reproduction method | |
JPH104531A (en) | Information processor | |
US8659680B2 (en) | Imaging apparatus, image recording method, and recording medium | |
JP2014007454A (en) | Image pickup device and image pickup method | |
JP4985180B2 (en) | Image processing apparatus, image processing method, image processing program, and imaging apparatus | |
JP2007274661A (en) | Imaging apparatus, image reproducing device and program | |
JP5916984B2 (en) | Image processing apparatus, image processing method, and program | |
JP5195317B2 (en) | Camera device, photographing method, and photographing control program | |
JP4756892B2 (en) | Image processing device | |
US20040130635A1 (en) | Image processing apparatus and image processing method | |
JP4379334B2 (en) | Image composition apparatus and electronic camera | |
JPH10224690A (en) | Information processing unit and recording medium | |
JP4956283B2 (en) | IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGE PROCESSING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2002330322A (en) | Electronic camera | |
JP4807446B2 (en) | Imaging apparatus, recording control method, and program | |
JP4655660B2 (en) | Digital camera, video editing method, and program | |
JP2009303122A (en) | Imaging apparatus and imaging control method | |
JP4610239B2 (en) | Still image extraction apparatus and moving image imaging apparatus | |
JP2007096809A (en) | Imaging apparatus, moving image storage method and moving image storage program | |
JP2006066940A (en) | Digital camera and image reproduction apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130325 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140311 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140508 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20140702 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140829 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141126 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20141204 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20150220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151218 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160406 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5916984 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |