JP2014127940A - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP2014127940A
JP2014127940A JP2012284782A JP2012284782A JP2014127940A JP 2014127940 A JP2014127940 A JP 2014127940A JP 2012284782 A JP2012284782 A JP 2012284782A JP 2012284782 A JP2012284782 A JP 2012284782A JP 2014127940 A JP2014127940 A JP 2014127940A
Authority
JP
Japan
Prior art keywords
images
image
similarity
degree
time
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
Application number
JP2012284782A
Other languages
Japanese (ja)
Other versions
JP5831820B2 (en
Inventor
Kazuya Nara
和也 奈良
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 JP2012284782A priority Critical patent/JP5831820B2/en
Publication of JP2014127940A publication Critical patent/JP2014127940A/en
Application granted granted Critical
Publication of JP5831820B2 publication Critical patent/JP5831820B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reproduce a moving image enabling easy grasp of contents, if static images obtained temporally before and after are mutually greatly different.SOLUTION: If the resemblance of images temporally adjacent with each other is lower than a threshold (step S7; No) and producing non-resemblance, and if images having resemblance higher than the threshold do not continue for several frames after the image captured after (step S9; No), the image captured after is copied and inserted between the temporally adjacent images (step S10). Thus, by the repetition of processing from the step S6 and on completion of the decision of resemblance for all images, a moving image file, including an image in an image file subordinate to the group and the image copied and inserted in the step S10, is generated and preserved in a storage unit 14 (step S12).

Description

本発明は、動画ファイルを生成する画像処理装置、及び、プログラムに関する。   The present invention relates to an image processing apparatus and a program for generating a moving image file.

従来より、一定の時間間隔で撮影された複数の静止画を夫々1フレームに見立て、動画ファイルを生成する技術が知られている。   2. Description of the Related Art Conventionally, a technique for generating a moving image file by regarding a plurality of still images taken at regular time intervals as one frame is known.

例えば下記の特許文献1では、そのような技術を開示している。このようなファイル生成技術は、監視カメラのような撮影で得られた大量の静止画像を効率的にチェックするために用いられることが多い。   For example, Patent Document 1 below discloses such a technique. Such a file generation technique is often used to efficiently check a large amount of still images obtained by photographing such as a surveillance camera.

ところで近年、定点撮影以外の利用シーンでこのようなインターバル撮影を使用する機会が増えつつある。例えば、人等の移動物体にカメラを装着し、その移動物体の目線で撮影した風景の変化を楽しむケースである。   By the way, in recent years, the opportunity to use such interval shooting in usage scenes other than fixed point shooting is increasing. For example, it is a case where a camera is attached to a moving object such as a person and a change in a landscape photographed from the viewpoint of the moving object is enjoyed.

特開2010−016599号公報JP 2010-016599 A

しかしながら、このような状況でインターバル撮影した静止画像は、撮影間隔、移動体の移動状況、又は、移動速度等の撮影状況によって、全く異なる風景が次々と記録される。したがって、そのような状況で撮影された複数の静止画から動画ファイルを生成して再生した場合、表示されるシーンが頻繁変わるものが生成され、再生しても、撮影された内容の把握が困難なケースが出てしまうという問題がある。   However, in still images taken in intervals under such circumstances, completely different landscapes are recorded one after another depending on the photographing interval, the moving state of the moving body, or the photographing state such as the moving speed. Therefore, when a movie file is generated from a plurality of still images shot in such a situation and played back, a scene that is frequently displayed is generated, and even when played back, it is difficult to grasp the shot contents. There is a problem that an unusual case comes out.

本発明は、かかる従来の課題に鑑みてなされたものであり、時間的に前後する静止画像を連続再生する場合において、これらの静止画像同士が大きく異なる場合であっても、夫々の静止画像の内容の把握を容易にすることを目的とする。   The present invention has been made in view of such a conventional problem, and in the case of continuously reproducing still images moving back and forth in time, even if these still images are greatly different from each other, The purpose is to facilitate understanding of the contents.

前記課題を解決するため本発明は、所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段と、この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段と、この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段と、を備えることを特徴とする画像処理装置を提供する。   In order to solve the above-described problem, the present invention provides a first determination means for determining a degree of similarity between temporally adjacent images based on a predetermined threshold in a plurality of images taken at a predetermined time interval. When the first determination means determines that the degree of similarity is less than or equal to the predetermined threshold value, a replicating means for replicating the earlier or later image among the images, and the replicating means There is provided an image processing apparatus comprising: a control unit that interposes the generated images between the images and controls to reproduce a moving image using the plurality of images as frames.

また、本発明は、装置が有するコンピュータを、所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段、この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段、この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段、として機能させることを特徴とするプログラムを提供する。   Further, the present invention provides a first determination means for determining a degree of similarity between temporally adjacent images based on a predetermined threshold in a plurality of images taken at a predetermined time interval. When the first determination means determines that the degree of similarity is less than or equal to the predetermined threshold value, a replication means that replicates the earlier or later image in time among the images; There is provided a program that functions as a control unit that interposes the generated images between the images and controls to reproduce a moving image using the plurality of images as frames.

本発明によれば、時間的に前後する静止画像において、画像同士が大きく異なる場合であっても、夫々の静止画像の内容の把握を容易にすることが可能となる。   According to the present invention, it is possible to easily grasp the contents of each still image even in the case where the images are largely different from each other in the still images moving back and forth in time.

本発明の一実施の形態に係るデジタルカメラの回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the digital camera which concerns on one embodiment of this invention. 同デジタルカメラが有する制御部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the control part which the digital camera has.

以下、本発明の実施形態について説明する。
図1は、本実施の形態に係るデジタルカメラ1の概略構成を示すブロック図である。このデジタルカメラ1は、インターバル撮影機能を有するものであり、バスライン6を介して各部に接続された制御部7を備えている。制御部7は、デジタルカメラ1の各部を制御するワンチップマイコンであって、インターバル撮影制御部71、動画再生制御部72、時計部73及びクロック74を有している。
Hereinafter, embodiments of the present invention will be described.
FIG. 1 is a block diagram showing a schematic configuration of a digital camera 1 according to the present embodiment. The digital camera 1 has an interval shooting function and includes a control unit 7 connected to each unit via a bus line 6. The control unit 7 is a one-chip microcomputer that controls each unit of the digital camera 1, and includes an interval shooting control unit 71, a moving image reproduction control unit 72, a clock unit 73, and a clock 74.

インターバル撮影制御部71は、インターバル撮影時における撮影時間間隔であるインターバル(フレームレート)を制御する。このインターバル撮影では、例えばトータル12時間の時間内で1〜5分の時間間隔(インターバル)で静止画像を記録する(結果的に静止画像は720〜144枚記録されることとなる。)。このインターバル撮影により記録された複数の静止画像は、各々静止画像毎に一つの画像ファイルが生成された後、インターバル撮影により記録された他の静止画像と関連付けた情報を埋め込み、記憶部14に記憶される。したがって、複数のインターバル撮影が行われると、記憶部14には複数グループの画像ファイルが記録されることになる。そして、このインターバル撮影により記録された静止画像を順次フレーム画像として再生する動画ファイルを生成した場合、例えば生成フレームレートを1.5FPSとすると、その再生が終了するまでには16〜3分を要することになる。   The interval shooting control unit 71 controls an interval (frame rate) that is a shooting time interval at the time of interval shooting. In this interval shooting, for example, still images are recorded at a time interval (interval) of 1 to 5 minutes within a total time of 12 hours (as a result, 720 to 144 still images are recorded). For a plurality of still images recorded by this interval shooting, after one image file is generated for each still image, information associated with other still images recorded by the interval shooting is embedded and stored in the storage unit 14. Is done. Therefore, when a plurality of interval shootings are performed, a plurality of groups of image files are recorded in the storage unit 14. When a moving image file that sequentially reproduces still images recorded by this interval shooting as frame images is generated, for example, if the generation frame rate is 1.5 FPS, it takes 16 to 3 minutes to complete the reproduction. It will be.

動画再生制御部72は、後述するフローチャートに従って処理を実行することにより、動画ファイルを生成する。この動画ファイルは、フレームに相当する静止画像に、その静止画像を必要に応じてコピー(複製)したものをフレームとして介挿したものである。時計部73は、インターバル撮影モードにおいてインターバルを計測する等に用いられ、クロック74はタイミング・ジェネレータであってCMOS8を制御する。   The moving image reproduction control unit 72 generates a moving image file by executing processing according to a flowchart described later. This moving image file is obtained by inserting, as a frame, a still image corresponding to a frame and copying (duplicating) the still image as necessary. The clock unit 73 is used for measuring an interval in the interval shooting mode, and the clock 74 is a timing generator and controls the CMOS 8.

CMOS8は、フォーカスレンズ、ズームレンズ等で構成される前記撮像レンズ2の光軸上に配置されている。ユニット回路9は、CMOS8から出力される被写体の光学像に応じたアナログの撮像信号が入力される回路であり、入力した撮像信号を保持するCDSと、その撮像信号を増幅するゲイン調整アンプ(AGC)、増幅された撮像信号をデジタルの撮像信号に変換するA/D変換器(AD)等から構成されている。CMOS8の出力信号はユニット回路9を経て各々デジタル信号として画像処理部10に送られて、各種画像処理が施される。   The CMOS 8 is disposed on the optical axis of the imaging lens 2 that includes a focus lens, a zoom lens, and the like. The unit circuit 9 is a circuit to which an analog imaging signal corresponding to the optical image of the subject output from the CMOS 8 is input, a CDS that holds the input imaging signal, and a gain adjustment amplifier (AGC) that amplifies the imaging signal. ), An A / D converter (AD) that converts the amplified image signal into a digital image signal, and the like. The output signal of the CMOS 8 is sent to the image processing unit 10 as a digital signal through the unit circuit 9 and subjected to various image processing.

また、バスライン6には、入力部11、プログラムメモリ12、ワークメモリ13、記憶部14及び表示ドライバ15が接続されている。表示ドライバ15は、デジタルカメラ1の背面に配置されている表示部16を駆動する。入力部11は、シャッターボタン、モード設定キー等を含みユーザによる操作に応じたキー入力信号を制御部7に出力する。プログラムメモリ12は、制御部7の動作プログラムや各部の制御に使用する各種データが記憶されているとともに、前記フォーカスレンズを駆動してオートフォーカス(AF)制御を実行するAF制御プログラムも記憶されている。   Further, an input unit 11, a program memory 12, a work memory 13, a storage unit 14, and a display driver 15 are connected to the bus line 6. The display driver 15 drives the display unit 16 disposed on the back surface of the digital camera 1. The input unit 11 includes a shutter button, a mode setting key, and the like, and outputs a key input signal according to a user operation to the control unit 7. The program memory 12 stores an operation program for the control unit 7 and various data used for control of each unit, and also stores an AF control program for driving the focus lens to execute autofocus (AF) control. Yes.

尚、表示ドライバ15や表示部16については、インターバル撮影時には電源供給を止め、動作停止させないように制御しても良い。そうすることにより、電源の長寿命化が図れる。   Note that the display driver 15 and the display unit 16 may be controlled so that the power supply is stopped and the operation is not stopped during interval shooting. By doing so, the life of the power source can be extended.

ワークメモリ13は、CMOS8により撮像された後、デジタル化された被写体の画像データ等を一時保存するバッファであるとともに、制御部7のワーキングメモリとしても使用される。ワークメモリ13に一時保存された画像データは、制御部7により圧縮(符号化)が行われ、最終的には所定のフォーマット(JPEG形式等)の画像ファイル、あるいは複数の静止画像データを含む動画ファイル(Motion JPEG形式、MPEG−4形式、MPEG−4 AVC形式等)としてファイル名が付されて、記憶部14に格納される。   The work memory 13 is a buffer that temporarily stores digitized subject image data after being imaged by the CMOS 8, and is also used as a working memory of the control unit 7. The image data temporarily stored in the work memory 13 is compressed (encoded) by the control unit 7, and finally an image file of a predetermined format (JPEG format or the like) or a moving image including a plurality of still image data. A file name is assigned as a file (Motion JPEG format, MPEG-4 format, MPEG-4 AVC format, etc.) and stored in the storage unit 14.

尚、記憶部14は、複数のインターバル撮影が行われた後、1〜5分の時間間隔で記録された画像ファイルがグループ毎に(インターバル撮影毎に)格納されている状態となる。 また、これらのインターバル撮影された複数グループの画像ファイルは、静止画像撮影により記録された画像ファイルや、通常の動画撮影により記録された動画ファイルと識別可能に格納されている。   Note that the storage unit 14 is in a state in which image files recorded at time intervals of 1 to 5 minutes are stored for each group (for each interval shooting) after a plurality of interval shootings have been performed. In addition, the image files of a plurality of groups that have been shot with these intervals are stored so as to be distinguishable from image files recorded by still image shooting and moving image files recorded by normal moving image shooting.

このように、記憶部14にインターバル撮影されたグループの画像ファイルが格納されている状態において、ユーザがモード設定キーを操作して、動画生成モードを設定すると、制御部7は、プログラムメモリ12に記憶されているプログラムに従って、図2のフローチャートに示す手順で処理を実行する。まず、記憶部14に格納されているインターバル撮影された画像ファイルのグループを読み出して、表示部16に表示させる(ステップS1)。このグループの表示は、ユーザが視覚的にグループを特定できればよく、例えば各グループの先頭画像ファイルの画像であってもよい。   In this manner, when the user operates the mode setting key to set the moving image generation mode in a state where the image file of the group that has been shot at intervals is stored in the storage unit 14, the control unit 7 stores in the program memory 12. In accordance with the stored program, the process is executed according to the procedure shown in the flowchart of FIG. First, a group of image files taken at intervals stored in the storage unit 14 is read out and displayed on the display unit 16 (step S1). The display of the group is not limited as long as the user can visually identify the group. For example, the image of the first image file of each group may be displayed.

引き続き、この表示させたグループのいずれかに対する操作が検出されたか否かを判断する(ステップS2)。ユーザが入力部11での操作により、いずれかのグループを選択すると、制御部7はこれを検出してステップS2からステップS3に処理を進める。そして、この選択されたグループの撮影間隔(インターバル)が30秒以上、10分未満であるか否かを判断する(ステップS3)。このステップS3での判断がNOであって、撮影間隔が30秒以上、10分未満でない場合には、ステップS4〜S11の処理を実行することなく、当該グループに属する画像ファイルの画像を用いて動画ファイルを生成する(ステップS12)。   Subsequently, it is determined whether or not an operation for any of the displayed groups has been detected (step S2). When the user selects any group by operating the input unit 11, the control unit 7 detects this and advances the process from step S2 to step S3. Then, it is determined whether the shooting interval (interval) of the selected group is 30 seconds or more and less than 10 minutes (step S3). If the determination in step S3 is NO and the shooting interval is not 30 seconds or longer and less than 10 minutes, the processing of steps S4 to S11 is not performed, and the images of the image files belonging to the group are used. A moving image file is generated (step S12).

したがって、ステップS3の判断がNOとなるのは、
(1)撮影間隔が30秒未満である場合
(2)撮影間隔が10分以上である場合
である。
(1)の場合は撮影間隔が比較的短く、時間的に前後する静止画像において、画像同士において内容が大きく異なる場合が少なく、ステップS4〜S11の処理を実行せずとも、再生された動画内容の把握が容易であると予測されるからである。また、(2)の場合は撮影間隔があまりにも長く、時間的に前後する静止画像において画像同士の内容が極めて異なり、ステップS4〜S11の処理を実行しても、内容の把握が容易な動画再生となる可能性が低いと予測されるからである。したがって、ステップS3の判断を行うことにより、ステップS4〜S11の処理を行っても効果の低いグループを予め処理対象から排除することができる。
Therefore, the determination in step S3 is NO.
(1) When the shooting interval is less than 30 seconds (2) When the shooting interval is 10 minutes or more.
In the case of (1), the content of the reproduced moving image is relatively small even when the shooting interval is relatively short, and the content of the still images that are temporally different from each other is not significantly different from each other without executing the processing of steps S4 to S11. This is because it is predicted that it is easy to grasp the above. In the case of (2), the shooting interval is too long, and the contents of the images are very different in still images that move back and forth in time, and even if the processing of steps S4 to S11 is executed, the moving image is easy to grasp the contents. This is because it is predicted that the possibility of reproduction is low. Therefore, by performing the determination in step S3, it is possible to exclude in advance a group having a low effect even if the processes in steps S4 to S11 are performed.

なお、本実施の形態ではステップS3において、撮影間隔のみを判断要素としたが、グループ内の画像ファイルにGPSにより取得した位置情報が記録されている場合には、その位置情報に変化があるか、加速度センサーにより取得した撮影者の姿勢変化情報(又はデジタルカメラ1の姿勢、撮像画角、又は、撮像方向の変化)が記録されている場合には、その位置情報に変化があるか否かの情報も併用して、ステップS4〜S11の処理を実行するか否かの判断を行うようにしても良い。このようにすれば、全く内容が異なる静止画が多く含まれているグループか否か、つまりはステップS4〜S11の処理対象とすべきグループであるか否かを適格に判断することができる。   In this embodiment, only the shooting interval is used as a determination element in step S3. However, if position information acquired by GPS is recorded in an image file in the group, is there a change in the position information? If the photographer's posture change information (or the posture of the digital camera 1, the change in the imaging angle of view, or the change in the imaging direction) acquired by the acceleration sensor is recorded, whether or not there is a change in the position information. This information may also be used together to determine whether or not to execute the processes in steps S4 to S11. In this way, it is possible to appropriately determine whether or not the group includes many still images having completely different contents, that is, whether or not the group is to be a processing target in steps S4 to S11.

また、ステップS3での判断の結果、選択されたグループの撮影間隔が30秒以上、10分未満である場合には、当該グループの画像ファイルの画像を全て順次再生させた場合の再生時間を取得する(ステップS4)。この再生時間は、再生フレームレートに画像ファイル数を乗じることにより、算出して取得することができる。   Further, as a result of the determination in step S3, when the shooting interval of the selected group is 30 seconds or more and less than 10 minutes, the playback time when all the images of the image file of the group are sequentially played back is acquired. (Step S4). This playback time can be calculated and obtained by multiplying the playback frame rate by the number of image files.

次に、類似度合の閾値を設定する(ステップS5)。この類似度合の閾値は、前記ステップS4で取得した再生時間に応じた値とし、例えば再生時間が短い場合には類似度合の閾値を低い値とし、再生時間が長い場合には類似度合の閾値を高い値とすることが好ましい。その理由については、後述する。
なお、このように制御部7が自動的に閾値を設定するのではなく、ユーザの操作により任意の閾値を設定するようにしてもよい。これより、後述のステップS12で生成される動画ファイルを構成する画像の数、いわば動画の再生時間にユーザの意思を反映させることができる。
Next, a threshold value of similarity is set (step S5). The similarity threshold is a value corresponding to the playback time acquired in step S4. For example, when the playback time is short, the similarity threshold is a low value, and when the playback time is long, the similarity threshold is set. A high value is preferable. The reason will be described later.
Note that the control unit 7 may not set the threshold value automatically as described above, but may set an arbitrary threshold value by a user operation. Thus, the user's intention can be reflected in the number of images constituting the moving image file generated in step S12 described later, that is, the reproduction time of the moving image.

しかる後に、当該グループの先頭画像ファイルの画像から順次画像の類似度合いを判断する処理を実行する(ステップS6)。つまり、所定の時間間隔で撮影された当該グループに属する複数の画像において、時間的に隣り合う画像同士の類似度合いをステップS5で設定した閾値を基準に判断する処理を実行する。より具体的には、次のステップS7に示すように、前記時間的に隣り合う画像の類似度合いが前記閾値よりも低いか否かを判断する。この判断がNOであって、時間的に隣り合う画像の類似度合いが前記閾値よりも低くない場合、つまり隣り合う画像の類似度合いが閾値よりも高い場合には、後述するステップS10の処理を回避する処理であるスキップ処理を実行した後(ステップS8)、ステップS11に進む。   Thereafter, a process of sequentially determining the degree of similarity of images from the images of the first image file of the group is executed (step S6). That is, a process of determining the degree of similarity between temporally adjacent images based on the threshold set in step S5 in a plurality of images belonging to the group photographed at a predetermined time interval. More specifically, as shown in the next step S7, it is determined whether or not the degree of similarity between the temporally adjacent images is lower than the threshold value. If this determination is NO and the degree of similarity between adjacent images is not lower than the threshold, that is, if the degree of similarity between adjacent images is higher than the threshold, the process of step S10 described later is avoided. After executing the skip process which is the process to be performed (step S8), the process proceeds to step S11.

また、時間的に隣り合う画像の類似度合いが閾値よりも低い場合、つまり画像の類似度合いが閾値よりも低く、両画像が類似していない場合には、後に撮影した方の画像の更に後に、類似度合いが前記閾値よりも高い画像が数枚続くか否かを判断する(ステップS9)。時間的に隣り合う画像の類似度合いが閾値よりも低く、両画像が類似していない場合であっても、類似度合いが閾値よりも高い画像(類似する画像)が数枚続く場合には、前記スキップ処理(ステップS8)を実行する。   In addition, when the degree of similarity between images that are temporally adjacent is lower than the threshold, that is, when the degree of similarity between the images is lower than the threshold and the two images are not similar, after the image that was captured later, It is determined whether or not several images having a degree of similarity higher than the threshold value continue (step S9). Even if the degree of similarity between temporally adjacent images is lower than the threshold and the two images are not similar, if several images (similar images) with a similarity higher than the threshold continue, Skip processing (step S8) is executed.

そして、時間的に隣り合う画像の類似度合いが閾値よりも低く(ステップS7;NO)、類似しておらず、かつ、後に撮影した方の画像の更に後に、類似度合いが前記閾値よりも高い画像が数枚続かない場合には(ステップS9;NO)、後に撮影した方の画像をコピーして、前記時間的に隣り合う画像間に介挿する(ステップS10)。   Then, the degree of similarity between the temporally adjacent images is lower than the threshold (step S7; NO), the images are not similar, and the degree of similarity is higher than the threshold after the image captured later. If several images do not continue (step S9; NO), an image captured later is copied and inserted between the temporally adjacent images (step S10).

引き続き、当該グループに属する画像ファイルの全ての画像に対して、ステップS6〜S10の処理による類似度合いの判断が終了したか否かを判断し(ステップS11)、全ての画像に対して類似度合いの判断が終了するまで、ステップS6からの処理を繰り返す。このようにして、ステップS6からの処理が繰り返されることにより、全ての画像に対して類似度合いの判断が終了したならば、当該グループに属する画像ファイルの画像及びステップS10でコピーし介挿した画像をフレームとした動画ファイルを生成して、記憶部14に格納する(ステップS12)。   Subsequently, for all images in the image file belonging to the group, it is determined whether or not the determination of the similarity degree by the processing in steps S6 to S10 is completed (step S11), and the similarity degree for all the images is determined. The processing from step S6 is repeated until the determination is completed. In this way, by repeating the processing from step S6, when the determination of the degree of similarity is completed for all the images, the image of the image file belonging to the group and the image copied and inserted in step S10 Is generated and stored in the storage unit 14 (step S12).

この記憶部14に記憶された動画ファイルを再生すると、時間的に隣り合う画像が類似していない画像間には、後に撮影した方の画像をコピーした画像が介挿されているので、前後の画像同士が大きく異なる場合であっても、シーンの急変が抑制されて内容の把握が困難になることがなく、内容の把握が容易な動画再生が可能となる。よって、インターバル撮影で撮影間隔や移動体の移動状況、移動速度等の撮影状況によっては、全く異なる風景が次々と記録されていた場合であっても、その内容の把握が困難となる不都合を未然に防止することができる。しかし、後に撮影した方の画像の更に後に、類似度合いが高い画像が数枚続く場合には、前記コピーはなされないことから、コピーがなされることにより、再生された動画が冗長となる不都合を未然に防止することもできる。   When a moving image file stored in the storage unit 14 is played back, an image obtained by copying a later image is inserted between images that are not similar in time to adjacent images. Even if the images are greatly different from each other, a sudden change of the scene is suppressed, and it is not difficult to grasp the contents, and the moving image reproduction that makes it easy to grasp the contents becomes possible. Therefore, in the interval shooting, depending on the shooting conditions such as the shooting interval, the moving state of the moving body, the moving speed, etc., even if completely different landscapes are recorded one after another, there is a disadvantage that it is difficult to grasp the contents. Can be prevented. However, if several images with a high degree of similarity continue after the image taken later, the copy is not made, so that the reproduced moving image becomes redundant due to the copy. It can also be prevented beforehand.

また、前述のように、再生時間が短い場合には類似度合の閾値を低い値とし、再生時間が長い場合には類似度合の閾値を高い値とする。つまり、静止画像の枚数が多く結果的に再生時間が長い場合、風景が少々変化する度にフレームスピードが落とされると冗長に感じるため、類似度の判定の閾値を高くし、少々画像同士の類似性が低くてもフレームをコピーしないようにする。一方、静止画像の枚数が少なく結果的に再生時間が短い場合、一つ一つの風景を注視する場合があるため、画像同士の類似度の判定の閾値を高くし、少々の変化でもフレームスピードを遅くする。   Further, as described above, when the playback time is short, the similarity threshold is set to a low value, and when the playback time is long, the similarity threshold is set to a high value. In other words, if the number of still images is large and the playback time is long, it seems redundant if the frame speed is reduced every time the landscape changes slightly. Therefore, the threshold for determining the similarity is increased and the images are somewhat similar. Don't copy frames even if they are low. On the other hand, if the number of still images is small and the playback time is short, each scene may be watched. Therefore, the threshold for determining the similarity between images is increased, and the frame speed can be increased even with slight changes. Slow down.

なお、ステップS12で生成された動画ファイルを再生する際に、ユーザの操作に応じて再生に要する時間を設定する処理と、この設定された時間に合わせて、複数の画像をフレームとした動画のフレームレートを調整する処理とを実行させるようにしてもよい。このようにすれば、生成された動画ファイルが所定の再生時間を超えてしまうほど長くなった場合であっても、所定の再生時間内で再生を行うことが可能となる。   It should be noted that, when playing back the moving image file generated in step S12, processing for setting the time required for playing according to the user's operation, and the moving image with a plurality of images as frames according to the set time. You may make it perform the process which adjusts a frame rate. In this way, even when the generated moving image file becomes long enough to exceed the predetermined reproduction time, it is possible to perform reproduction within the predetermined reproduction time.

また、本実施形態においては、時間的に隣り合う画像が類似していない画像間には、後に撮影した方の画像をコピーし、これを介挿するようにしたが、前(時間的に過去の方)に撮影した方の画像をコピーし、これを介挿するようにしてもよい。   Further, in the present embodiment, between images that are not similar in temporally adjacent images, an image captured later is copied and inserted, but the previous (temporarily past) It is also possible to copy the image of the photographed person and insert it.

要は急な画像の内容の変更を伴うような動画再生において、内容が変化したことを閲覧者が認知するための時間を得られれば、前に撮影した静止画像でも後に撮影した静止画像でも、どちらをコピーし介挿しても構わない。   In short, in video playback that involves sudden changes in the content of the image, if the viewer has time to recognize that the content has changed, either the still image taken before or the still image taken later, Either of them can be copied and inserted.

以上、この発明の実施形態について説明したが、この発明はこれらに限定されるものではなく、特許請求の範囲に記載された発明とその均等の範囲を含むものである。
以下に、本出願の特許請求の範囲に記載された発明を付記する。
As mentioned above, although embodiment of this invention was described, this invention is not limited to these, The invention described in the claim and its equal range are included.
The invention described in the claims of the present application will be added below.

<請求項1>
所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段と、
この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段と、
この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段と、
を備えることを特徴とする画像処理装置。
<Claim 1>
First determination means for determining a degree of similarity between temporally adjacent images based on a predetermined threshold in a plurality of images photographed at a predetermined time interval;
When it is determined by the first determination means that the degree of similarity is equal to or less than the predetermined threshold value, a duplication means for duplicating the earlier or later image among the images,
Control means for interpolating the images duplicated by the duplicating means between the images, and controlling to reproduce a moving image having the plurality of images as frames;
An image processing apparatus comprising:

<請求項2>
前記第1の判断手段が、前記類似度合いが所定の閾値以下であると判断した場合で、前記画像同士の内の時間的に後の方の画像を複製する場合、前記画像同士の内の時間的に後の画像と、時間的にその後に撮影された画像との類似度合いを所定の閾値を基準に判断する第2の判断手段を更に備え、
前記複製手段は、この第2の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に後の方の画像を複製することを特徴とする請求項1記載の画像処理装置。
<Claim 2>
When the first determining means determines that the degree of similarity is equal to or less than a predetermined threshold, and when copying the later image among the images, the time within the images A second determination means for determining the degree of similarity between the later image and the image captured later in time based on a predetermined threshold;
The duplicating means duplicates an image later in time among the images when the second judging means judges that the degree of similarity is not more than the predetermined threshold value. The image processing apparatus according to claim 1.

<請求項3>
前記所定の時間間隔が所定の範囲内であるか否かを判断する第3の判断手段を更に備え、
前記第3の判断手段により前記所定の時間間隔が所定の範囲内であると判断した場合、前記第1の判断手段は前記画像同士の類似度合いを所定の閾値を基準に判断することを特徴とする請求項1又は2記載の画像処理装置。
<Claim 3>
And further comprising third determination means for determining whether or not the predetermined time interval is within a predetermined range,
When the third determination unit determines that the predetermined time interval is within a predetermined range, the first determination unit determines the degree of similarity between the images based on a predetermined threshold value. The image processing apparatus according to claim 1 or 2.

<請求項4>
前記複数の画像をフレームとした動画の再生処理に要する時間を取得する時間取得手段と、
この時間取得手段によって取得された時間に応じて、前記類似度合いを判断するための閾値変更する変更手段を更に備えることを特徴とする請求項1乃至3の何れかに記載の画像処理装置。
<Claim 4>
Time acquisition means for acquiring a time required for the reproduction processing of the moving image with the plurality of images as frames;
4. The image processing apparatus according to claim 1, further comprising a changing unit that changes a threshold value for determining the degree of similarity according to the time acquired by the time acquiring unit.

<請求項5>
再生処理に要する時間を設定する再生時間設定手段と、
この再生時間設定手段によって設定された時間に合わせて、前記複数の画像をフレームとした動画再生フレームレートを調整する調整手段と、
を更に有することを特徴とする画像処理装置。
<Claim 5>
Playback time setting means for setting the time required for playback processing;
Adjusting means for adjusting a moving image playback frame rate with the plurality of images as frames in accordance with the time set by the playback time setting means;
An image processing apparatus further comprising:

<請求項6>
装置が有するコンピュータを、
所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段、
この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段、
この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段、
として機能させることを特徴とするプログラム。
<Claim 6>
The computer that the device has
First determination means for determining, in a plurality of images taken at a predetermined time interval, the degree of similarity between temporally adjacent images based on a predetermined threshold;
When the first determination means determines that the degree of similarity is less than or equal to the predetermined threshold value, a duplication means for duplicating the earlier or later image among the images,
Control means for interpolating between the images duplicated by the duplicating means, and controlling to reproduce a moving image having the plurality of images as frames;
A program characterized by functioning as

1 デジタルカメラ
7 制御部
9 ユニット回路
10 画像処理部
11 入力部
12 プログラムメモリ
13 ワークメモリ
14 記憶部
71 インターバル撮影制御部
72 動画再生制御部
73 時計部
DESCRIPTION OF SYMBOLS 1 Digital camera 7 Control part 9 Unit circuit 10 Image processing part 11 Input part 12 Program memory 13 Work memory 14 Storage part 71 Interval imaging | photography control part 72 Movie reproduction control part 73 Clock part

Claims (6)

所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段と、
この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段と、
この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段と、
を備えることを特徴とする画像処理装置。
First determination means for determining a degree of similarity between temporally adjacent images based on a predetermined threshold in a plurality of images photographed at a predetermined time interval;
When it is determined by the first determination means that the degree of similarity is equal to or less than the predetermined threshold value, a duplication means for duplicating the earlier or later image among the images,
Control means for interpolating the images duplicated by the duplicating means between the images, and controlling to reproduce a moving image having the plurality of images as frames;
An image processing apparatus comprising:
前記第1の判断手段が、前記類似度合いが所定の閾値以下であると判断した場合で、前記画像同士の内の時間的に後の方の画像を複製する場合、前記画像同士の内の時間的に後の画像と、時間的にその後に撮影された画像との類似度合いを所定の閾値を基準に判断する第2の判断手段を更に備え、
前記複製手段は、この第2の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に後の方の画像を複製することを特徴とする請求項1記載の画像処理装置。
When the first determining means determines that the degree of similarity is equal to or less than a predetermined threshold, and when copying the later image among the images, the time within the images A second determination means for determining the degree of similarity between the later image and the image captured later in time based on a predetermined threshold;
The duplicating means duplicates an image later in time among the images when the second judging means judges that the degree of similarity is not more than the predetermined threshold value. The image processing apparatus according to claim 1.
前記所定の時間間隔が所定の範囲内であるか否かを判断する第3の判断手段を更に備え、
前記第3の判断手段により前記所定の時間間隔が所定の範囲内であると判断した場合、前記第1の判断手段は前記画像同士の類似度合いを所定の閾値を基準に判断することを特徴とする請求項1又は2記載の画像処理装置。
And further comprising third determination means for determining whether or not the predetermined time interval is within a predetermined range,
When the third determination unit determines that the predetermined time interval is within a predetermined range, the first determination unit determines the degree of similarity between the images based on a predetermined threshold value. The image processing apparatus according to claim 1 or 2.
前記複数の画像をフレームとした動画の再生処理に要する時間を取得する時間取得手段と、
この時間取得手段によって取得された時間に応じて、前記類似度合いを判断するための閾値変更する変更手段を更に備えることを特徴とする請求項1乃至3の何れかに記載の画像処理装置。
Time acquisition means for acquiring a time required for the reproduction processing of the moving image with the plurality of images as frames;
4. The image processing apparatus according to claim 1, further comprising a changing unit that changes a threshold value for determining the degree of similarity according to the time acquired by the time acquiring unit.
再生処理に要する時間を設定する再生時間設定手段と、
この再生時間設定手段によって設定された時間に合わせて、前記複数の画像をフレームとした動画再生フレームレートを調整する調整手段と、
を更に有することを特徴とする画像処理装置。
Playback time setting means for setting the time required for playback processing;
Adjusting means for adjusting a moving image playback frame rate with the plurality of images as frames in accordance with the time set by the playback time setting means;
An image processing apparatus further comprising:
装置が有するコンピュータを、
所定の時間間隔で撮影された複数の画像において、時間的に隣り合う画像同士の類似度合いを所定の閾値を基準に判断する第1の判断手段、
この第1の判断手段により前記類似度合いが前記所定の閾値以下であると判断した場合、前記画像同士の内の時間的に前又は後の方の画像を複製する複製手段、
この複製手段によって複製された画像を前記画像同士の間に介挿し、これら複数の画像をフレームとした動画を再生するよう制御する制御手段、
として機能させることを特徴とするプログラム。
The computer that the device has
First determination means for determining, in a plurality of images taken at a predetermined time interval, the degree of similarity between temporally adjacent images based on a predetermined threshold;
When the first determination means determines that the degree of similarity is less than or equal to the predetermined threshold value, a duplication means for duplicating the earlier or later image among the images,
Control means for interpolating between the images duplicated by the duplicating means, and controlling to reproduce a moving image having the plurality of images as frames;
A program characterized by functioning as
JP2012284782A 2012-12-27 2012-12-27 Image processing apparatus and program Expired - Fee Related JP5831820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012284782A JP5831820B2 (en) 2012-12-27 2012-12-27 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012284782A JP5831820B2 (en) 2012-12-27 2012-12-27 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2014127940A true JP2014127940A (en) 2014-07-07
JP5831820B2 JP5831820B2 (en) 2015-12-09

Family

ID=51407110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012284782A Expired - Fee Related JP5831820B2 (en) 2012-12-27 2012-12-27 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5831820B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246127A (en) * 2005-03-04 2006-09-14 Seiko Epson Corp Image reproducing method apparatus, and program
JP2007036737A (en) * 2005-07-27 2007-02-08 Matsushita Electric Ind Co Ltd Image display device
JP2009169357A (en) * 2008-01-21 2009-07-30 Institute Of National Colleges Of Technology Japan Image display controller and image display control method
JP2010193026A (en) * 2009-02-17 2010-09-02 Denso It Laboratory Inc Image reproducing apparatus, image reproducing method and program
JP2011044140A (en) * 2009-08-20 2011-03-03 Xerox Corp Generation of video content from image set

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246127A (en) * 2005-03-04 2006-09-14 Seiko Epson Corp Image reproducing method apparatus, and program
JP2007036737A (en) * 2005-07-27 2007-02-08 Matsushita Electric Ind Co Ltd Image display device
JP2009169357A (en) * 2008-01-21 2009-07-30 Institute Of National Colleges Of Technology Japan Image display controller and image display control method
JP2010193026A (en) * 2009-02-17 2010-09-02 Denso It Laboratory Inc Image reproducing apparatus, image reproducing method and program
JP2011044140A (en) * 2009-08-20 2011-03-03 Xerox Corp Generation of video content from image set

Also Published As

Publication number Publication date
JP5831820B2 (en) 2015-12-09

Similar Documents

Publication Publication Date Title
KR101475427B1 (en) Method for interval photographing by a multiple photographing condition and photographing apparatus using the same
KR20110129342A (en) Imaging apparatus
US8428121B2 (en) Image pick-up apparatus for shooting and reproducing a moving image
JP5888614B2 (en) IMAGING DEVICE, VIDEO CONTENT GENERATION METHOD, AND PROGRAM
JP2011103642A (en) Imaging device and image processing apparatus
JP6402934B2 (en) MOVIE GENERATION DEVICE, MOVIE GENERATION METHOD, AND PROGRAM
JP2012015830A (en) Camera
JP5704957B2 (en) Movie shooting apparatus and control method thereof
JP2010258768A (en) Image display device and control method thereof, program and storage medium
JP2010171748A (en) Imaging apparatus and imaging control program
JP2007036538A (en) Recording control apparatus and method for number of people in moving picture and still picture reproducing apparatus and method
JP2013239796A (en) Image processing device
JP2012120036A (en) Imaging apparatus
JP2015139125A (en) Imaging apparatus, imaging control method and program
JP5831820B2 (en) Image processing apparatus and program
JP2018074523A (en) Imaging device, control method thereof, program, and recording medium
JP5911298B2 (en) Imaging apparatus and control method thereof
JP4026757B2 (en) Digital camera
JP2012114677A5 (en)
JP5593652B2 (en) Camera and movie playback program
JP2011139300A (en) Image processing apparatus and program
JP6090485B2 (en) Imaging apparatus, imaging control method, and program
JP2014217008A (en) Image processing device, imaging device, and image processing program
JP6520566B2 (en) Image recording device
JP2020141189A (en) Imaging apparatus and control method of the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140702

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150519

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150715

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: 20151002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151015

R150 Certificate of patent or registration of utility model

Ref document number: 5831820

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees