JP2005167633A - Image processor and method therefor - Google Patents

Image processor and method therefor Download PDF

Info

Publication number
JP2005167633A
JP2005167633A JP2003403740A JP2003403740A JP2005167633A JP 2005167633 A JP2005167633 A JP 2005167633A JP 2003403740 A JP2003403740 A JP 2003403740A JP 2003403740 A JP2003403740 A JP 2003403740A JP 2005167633 A JP2005167633 A JP 2005167633A
Authority
JP
Japan
Prior art keywords
section
image
dividing
moving image
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003403740A
Other languages
Japanese (ja)
Inventor
Satoru Yashiro
哲 八代
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003403740A priority Critical patent/JP2005167633A/en
Publication of JP2005167633A publication Critical patent/JP2005167633A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain the movement rapidness of an animation with reducing the processing cost. <P>SOLUTION: The processing method comprises a step of dividing moving picture data into a specified number of sections, calculating the change rate of the picture in each section (S403), further dividing a selected section into new sections based on the change rate of the picture in each section, calculating the change rate of the picture in each divided section (S404), repeating and working the division process until specified finishing conditions are met, dividing the moving picture data in the unit of a minimum section among a plurality of obtained sections (S404, S405), calculating the shift of the change rate of the animation in each obtained section (S405), determining a sampling point with changing the sampling density for extracting frames based on the calculated shift (S411, S412), and extracting a specified number of frames. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、動画データより得られる複数の画像を出力させるための画像処理装置及び方法に関する。   The present invention relates to an image processing apparatus and method for outputting a plurality of images obtained from moving image data.

被写体の連続する動きを複数の画像としてプリントする装置が提案されている。この種の装置の例として、例えば、特許文献1に記載されているものが挙げられる。   An apparatus that prints a continuous movement of a subject as a plurality of images has been proposed. As an example of this type of apparatus, for example, one described in Patent Document 1 can be cited.

特許文献1によれば、撮影開始の指示から、予め設定された撮影時間が経過するまでの間のビデオカメラ出力より、所定枚数の撮像画像を得て記憶し、図25に示す如くプリントアウトすることが記載されている。このプリント出力には、各撮像画像の側方に余白部が設けられており、この余白部を綴じ代として利用して図26の(a)ように束ねることができる。ユーザはこうして束ねたプリントを図26の(b)のように連続的に捲ることで、撮像画像を動画的に観察することができる。以下、本明細書では、このような動画を「捲り動画」と称する。また、捲り動画を提供する連続的な静止画を連続静止画と称する。   According to Patent Document 1, a predetermined number of captured images are obtained and stored from a video camera output from the start of shooting until a preset shooting time elapses, and printed out as shown in FIG. It is described. In this print output, a blank portion is provided on the side of each captured image, and this blank portion can be bundled as shown in FIG. The user can observe the captured image as a moving image by continuously rolling the bundled prints as shown in FIG. Hereinafter, in this specification, such a moving image is referred to as a “rolling moving image”. A continuous still image that provides a moving video is referred to as a continuous still image.

また、図25におけるプリント出力の余白部の位置は、撮像画像の左側或は右側の何れかを指定することができ、ユーザが右利きの場合と左利きの場合に対応できるようにしている。余白部を撮像画像の左側に設けるように指定すれば、右利き用のプリントアウトを得ることができ、余白部を撮像画像の右側に設けるように指定すれば左利き用のプリントアウトを得ることができる。   In addition, the position of the margin part of the print output in FIG. 25 can designate either the left side or the right side of the captured image, so that it can cope with the case where the user is right-handed or left-handed. If the margin is specified to be provided on the left side of the captured image, a right-handed printout can be obtained, and if the margin is specified to be provided on the right side of the captured image, a left-handed printout can be obtained. it can.

この種の装置では、撮影の開始から終了までの全範囲について、所定時間間隔で撮像画像を取りだし、記憶している。上記の特許文献1においても、8秒、10秒、12秒のうちの所望の撮影時間を指定すると、指定された撮影時間の全体から所定間隔で撮像画像が記憶される。例えば、8秒が指定されれば、48枚の撮像画像を記憶するべく1/6秒毎に撮像画像が記憶され、10秒が指定されれば、48枚の撮像画像を記憶するべく1/5秒毎に撮像画像が記憶される。   In this type of apparatus, captured images are taken out and stored at predetermined time intervals over the entire range from the start to the end of shooting. Also in the above-mentioned Patent Document 1, when a desired shooting time of 8 seconds, 10 seconds, and 12 seconds is specified, captured images are stored at predetermined intervals from the entire specified shooting time. For example, if 8 seconds are specified, the captured images are stored every 1/6 second to store 48 captured images, and if 10 seconds are specified, 1/1 to store 48 captured images. A captured image is stored every 5 seconds.

この装置の問題として、サンプリング間隔が長いと、動きの激しい動画に関しては、映像内容が欠落するという問題があり、この課題に対して、特許文献2のような発明がなされた。特許文献2によれば、開始、終了点と必要枚数から等間隔にサンプリング、または中央のサンプリング密度を高くして中間の静止画を選択して、ゴルフのインパクトのタイミングを多数の静止画を使って表現する事で、印刷範囲における映像内容の欠落を低減していた。
特開平10−327376号公報 特開平10−277194号公報
As a problem of this apparatus, when the sampling interval is long, there is a problem that the video content is lost with respect to a moving image with intense movement, and an invention such as Patent Document 2 has been made for this problem. According to Patent Document 2, sampling is performed at equal intervals from the start and end points and the required number of images, or an intermediate still image is selected by increasing the central sampling density, and a number of still images are used for the timing of golf impact. This reduces the loss of video content in the print range.
JP-A-10-327376 Japanese Patent Laid-Open No. 10-277194

しかしながら、印刷する動画の一部に動きの激しい箇所を含む動画を印刷する場合において、必ずしも印刷対象の時間範囲の中央が最も動きが激しいわけではない。また、サンプリング密度を高くしたい箇所を操作者が指定する場合においては、開始及び終了点に加えてサンプリング密度に関する指定が増える。この指定は、指示したい箇所付近についてコマ送りやコマ戻しなどを繰り返しながら適切なフレームを選択しなければならず、操作が煩雑になってしまう。   However, in the case of printing a moving image including a portion where the movement is intense in a part of the moving image to be printed, the center of the time range to be printed is not necessarily the most intense. In addition, when the operator designates a location where the sampling density is desired to be increased, designation regarding the sampling density increases in addition to the start and end points. In this designation, it is necessary to select an appropriate frame while repeating frame advance and frame return in the vicinity of the point to be designated, and the operation becomes complicated.

また、動きの激しい区間が複数ある動画に対しては考慮されておらず、印刷する枚数分の各々のサンプリングポイントを指定するという非常に煩雑な操作が必要であった。また、動画の変化の激しさの程度をサンプリング密度に反映させる事は出来なかった。   In addition, it is not considered for a moving image having a plurality of sections in which movement is intense, and a very complicated operation of designating each sampling point for the number of sheets to be printed is necessary. Also, it was impossible to reflect the degree of change in moving images on the sampling density.

そこで、動画中の所望の範囲における動画の変化の激しさを画像処理によって検出し、検出された動画の激しさに応じてサンプリング密度を変化させながら上記所望の範囲よりフレームを取り出して連続静止画を得ることにより、簡易な操作でユーザの要求にきめ細かく対応可能とすることが考えられる。   Therefore, the intensity of the change of the moving image in the desired range in the moving image is detected by image processing, and the frame is extracted from the desired range while changing the sampling density according to the detected intensity of the moving image, and the continuous still image By obtaining the above, it can be considered that the user's request can be dealt with finely by a simple operation.

しかしながら、動きの激しさを求めるには、動画から印刷に必要な枚数以上の静止画を取得して画像相関を求める必要があり、特に印刷する区間(動画中の所望の範囲)が長いほどその傾向が顕著になり、多大な処理コストがかかっていた。   However, in order to determine the intensity of movement, it is necessary to obtain more than the number of still images required for printing from a moving image and obtain the image correlation. In particular, the longer the section to be printed (the desired range in the moving image), the more The tendency became prominent, and a large processing cost was required.

本発明は上記課題に鑑みてなされたものであり、処理コストを押さえながら動画の動きの激しさを求めることができるようにする事を目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to make it possible to determine the intensity of motion of a moving image while reducing processing costs.

上記の目的を達成するための本発明による画像処理装置は以下の構成を備える。すなわち、
動画データに基づいて複数の連続静止画像を出力する画像処理装置であって、
動画データを所定数の区間に分割し、各区間における画像の変化の度合いを算出する第1分割手段と、
各区間の画像の変化の度合いに基づいて選択された区間を更に分割して新たな区間を生成し、分割後の各区間について画像の変化の度合いを算出する第2分割手段と、
所定の終了条件を満たすまで前記第2分割手段を繰返し機能させ、得られた複数の区間のうちの最小の区間を単位として前記動画データを分割する第3分割手段と、
前記第3分割手段で得られた各区間について、動画の変化の度合いの推移を算出する算出手段と、
前記算出手段で算出された推移に基づいてフレーム抽出のサンプリング密度を変化させながらサンプリングポイントを決定し、所定数のフレームを抽出する抽出手段とを備える。
In order to achieve the above object, an image processing apparatus according to the present invention comprises the following arrangement. That is,
An image processing apparatus that outputs a plurality of continuous still images based on moving image data,
First dividing means for dividing the moving image data into a predetermined number of sections and calculating the degree of change of the image in each section;
A second dividing means for further dividing the selected section based on the degree of image change in each section to generate a new section and calculating the degree of image change for each section after the division;
Third dividing means for repeatedly functioning the second dividing means until a predetermined end condition is satisfied, and dividing the moving image data in units of a minimum section among the obtained plurality of sections;
For each section obtained by the third dividing means, calculating means for calculating the transition of the degree of change of the moving image;
Extraction means for determining a sampling point while changing the sampling density of frame extraction based on the transition calculated by the calculation means, and extracting a predetermined number of frames.

本発明によれば、動画中の所望の範囲から所定枚数の静止画像を抽出するにあたり、動画の変化の激しさに応じて自動的にサンプリング密度を変化させることが可能となり、簡易な操作でユーザの要求にきめ細かく対応することが可能となる。すなわち、簡易で直感的な編集操作によって視覚効果をますことができるようになる。また、サンプリング密度を決定するための動画の激しさの変化を算出するために、動画を分割して得られた分割区間毎に激しさを算出するにおいて、動画の状態に応じた適切なサイズの分割区間が自動的に設定され、効率的な計算ができる。   According to the present invention, when a predetermined number of still images are extracted from a desired range in a moving image, the sampling density can be automatically changed according to the intensity of the moving image change, and the user can perform simple operations. It is possible to respond precisely to the demands of That is, visual effects can be increased by simple and intuitive editing operations. In addition, in order to calculate the change in the intensity of the video for determining the sampling density, in calculating the intensity for each divided section obtained by dividing the video, an appropriate size according to the state of the video is obtained. Divided sections are set automatically, allowing efficient calculation.

以下、添付の図面を参照して、本発明の好適な実施形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

[システム構成]
図1は本実施形態による画像形成システムの構成を示すブロック図である。本実施形態における画像形成システムは、印刷データ(制御コマンドを含む)を生成する情報処理装置100と、その印刷データに基づいて画像を形成するプリンタ170とで構成される。
[System configuration]
FIG. 1 is a block diagram showing the configuration of the image forming system according to the present embodiment. The image forming system according to this embodiment includes an information processing apparatus 100 that generates print data (including control commands) and a printer 170 that forms an image based on the print data.

情報処理装置100は、メモリ110、CPU130、ハードディスク・コントローラ(HDC)120とこれに接続されるハードディスク(HD)121、フレキシブルディスク・コントローラ(FDC)125とこれに接続されるフレキシブルディスクドライブ(FD)126、プリンタ・コントローラ(PRTC)140、キーボード/ポインティングデバイス・コントローラ(KB/PDC)150とこれに接続されるキーボード(KB)及びポインティングデバイス(PD)151、CRTコントローラ(CRTC)160とこれに接続されるCRT161を備える。   The information processing apparatus 100 includes a memory 110, a CPU 130, a hard disk controller (HDC) 120, a hard disk (HD) 121 connected thereto, a flexible disk controller (FDC) 125, and a flexible disk drive (FD) connected thereto. 126, printer controller (PRTC) 140, keyboard / pointing device controller (KB / PDC) 150 and keyboard (KB) and pointing device (PD) 151 connected thereto, CRT controller (CRTC) 160 and connection thereto The CRT 161 is provided.

なお、ポインティングデバイスPDとして、本実施形態ではマウスを用いるが、トラックボールや、タッチパネル等、種々のデバイスを利用可能である。また、上記構成では、表示器としてCRT161を用いているが、液晶やプラズマディスプレイ等、他のタイプの表示器であってもよいことは言うまでもない。   Note that a mouse is used as the pointing device PD in this embodiment, but various devices such as a trackball and a touch panel can be used. In the above configuration, the CRT 161 is used as the display. However, it goes without saying that other types of displays such as a liquid crystal display or a plasma display may be used.

メモリ110は、例えば、本実施形態における画像編集の処理を司るアプリケーション111、プリンタ170に対応する印刷データを生成するためのソフトウェアであるプリンタドライバ112、プリンタ170に供給すべき印刷データをスプールするスプーラ領域113、その他不図示のOS(オペレーティングシステム)やワーク領域等を有する。   The memory 110 includes, for example, an application 111 that performs image editing processing according to the present embodiment, a printer driver 112 that is software for generating print data corresponding to the printer 170, and a spooler that spools print data to be supplied to the printer 170. An area 113, an OS (operating system) (not shown), a work area and the like are included.

CPU130は、メモリ110内のアプリケーション111、プリンタドライバ112、OS等に基づいて動作する。なお、電源投入時は不図示のROMに格納されたブートプログラムによりブートし、HD121からOSのプログラムをメモリ110にロードしてOSを起動する。以降、OSの管理の下で、アプリケーションプログラムが同様にロードされ、実行されることにより、画像形成システムとして機能する。また、当然のことながら、CPU130は、HDC120を介してHD121にアクセスすることができる。   The CPU 130 operates based on the application 111, the printer driver 112, the OS, and the like in the memory 110. When the power is turned on, booting is performed with a boot program stored in a ROM (not shown), and the OS program is loaded from the HD 121 to the memory 110 to start the OS. Thereafter, the application program is similarly loaded and executed under the management of the OS, thereby functioning as an image forming system. Of course, the CPU 130 can access the HD 121 via the HDC 120.

PRTC140は、スプーラ領域113に蓄えられた印刷データを順次プリンタ170に送信する処理を行なう。KB/PDC150は、KB/PD151を制御し、キーボードやマウスを用いて入力されるユーザからの指示データを装置内に取り込む。CRTC160は、表示装置であるCRT161を制御するコントローラである。これらのブロック150、151、160、161により、ユーザインターフェースが構成される。   The PRTC 140 performs processing for sequentially transmitting the print data stored in the spooler area 113 to the printer 170. The KB / PDC 150 controls the KB / PD 151 and takes in the instruction data from the user input using the keyboard and mouse into the apparatus. The CRTC 160 is a controller that controls the CRT 161 that is a display device. These blocks 150, 151, 160, 161 constitute a user interface.

一方、プリンタ170には情報処理装置100から印刷データを受信するため、及び各種ステータスを情報処理装置100に通知するためのインターフェース171、主として受信したプリンタデータを解釈し、ビットマップイメージデータを発生するプリンタ制御部172、プリンタ制御部172から出力されてきたビットマップイメージデータを受け、実際に画像を形成するプリンタエンジン173で構成される。なお、図示してはいないが操作パネル等も具備している。また、プリンタエンジン173は、インクジェット方式、電子写真方式、感熱方式等、何れの方式を用いたものでもよい。   On the other hand, the printer 170 receives print data from the information processing apparatus 100 and an interface 171 for notifying the information processing apparatus 100 of various statuses, mainly interprets the received printer data and generates bitmap image data. The printer controller 172 and the printer engine 173 that receives the bitmap image data output from the printer controller 172 and actually forms an image. Although not shown, an operation panel and the like are also provided. Further, the printer engine 173 may use any method such as an ink jet method, an electrophotographic method, or a thermal method.

なお、上記の構成において、情報処理装置100にプリンタ170を接続した際には、その最初の段階ではプリンタ170に対応するプリンタデータを生成するためのプリンタドライバをインストールする必要がある。言うまでもないが、このインストールは、格別の理由がない限りは、通常は一度行なえば事足りるものである。   In the above configuration, when the printer 170 is connected to the information processing apparatus 100, it is necessary to install a printer driver for generating printer data corresponding to the printer 170 in the first stage. Needless to say, this installation usually only needs to be done once unless there is a specific reason.

図2は、図1に示した画像形成システムの情報処理装置100を、ソフトウエア構成の観点から説明する図である。   FIG. 2 is a diagram for explaining the information processing apparatus 100 of the image forming system shown in FIG. 1 from the viewpoint of the software configuration.

情報処理装置100には、入力装置としてキーボードやマウス(KB/PD)151が接続されている。また、出力装置として、プリンタ170とモニタとしてのCRT161が接続されている。   A keyboard and a mouse (KB / PD) 151 are connected to the information processing apparatus 100 as input devices. Further, a printer 170 and a CRT 161 as a monitor are connected as an output device.

キーボードやマウスを用いてなされた入力は、キーボード・マウスドライバ182により処理され、OS180に渡される。また、情報処理装置100は、ワードプロセッサ、表計算、インターネットブラウザなどのアプリケーションソフトウェア111を有する。アプリケーションソフトウェア111によって発行される出力画像を示す各種描画処理命令群(イメージ描画命令、テキスト描画命令およびグラフィクス描画命令)は、OS180を介してモニタドライバ181へ入力される。また、印刷を行う場合には、それら描画命令群はOS180を介してプリンタドライバ112へ入力される。プリンタドライバ112は描画命令群を処理して印刷データを作成してプリンタ170に印刷させるソフトウエアであり、モニタドライバ181はCRT161に画像を表示させるためのソフトウェアである。   Input made using the keyboard and mouse is processed by the keyboard / mouse driver 182 and passed to the OS 180. In addition, the information processing apparatus 100 includes application software 111 such as a word processor, a spreadsheet, and an Internet browser. Various drawing processing command groups (image drawing commands, text drawing commands, and graphics drawing commands) indicating output images issued by the application software 111 are input to the monitor driver 181 via the OS 180. When printing is performed, these drawing commands are input to the printer driver 112 via the OS 180. The printer driver 112 is software for processing a drawing command group to generate print data and causing the printer 170 to print, and the monitor driver 181 is software for causing the CRT 161 to display an image.

なお、図1、図2に示す情報処理装置100として、一般に普及しているIBM AT互換機のパーソナルコンピュータを使用し、OS180としてMicrosoft社の Windows98(登録商標)を使用することが考えられる。また、そのようなパーソナルコンピュータに、モニタ106・プリンタ105およびキーボード・マウス112を接続し、以下で説明する印刷処理アプリケーションを実行させることで、本実施形態の印刷システムが実現される。   As the information processing apparatus 100 shown in FIG. 1 and FIG. 2, it is conceivable to use a widely used personal computer of an IBM AT compatible machine, and to use Microsoft Windows 98 (registered trademark) as the OS 180. In addition, the print system according to the present embodiment is realized by connecting the monitor 106, the printer 105, and the keyboard / mouse 112 to such a personal computer and executing a print processing application described below.

情報処理装置100では、アプリケーションソフトウェア111により、文字などのテキストに分類されるテキストデータ、図形などのグラフィクスに分類されるグラフィクスデータ、写真画像などに分類されるイメージ画像データなどを用いて出力画像データが作成される。そして、この出力画像データに基づく画像を印刷する場合、アプリケーションソフトウェア111は、OS180に印刷出力要求を行うとともに、テキストデータ部分はテキスト描画命令、グラフィクスデータ部分はグラフィクス描画命令、イメージ画像データ部分はイメージ描画命令で構成される描画命令群をOS180に発行する。   The information processing apparatus 100 uses the application software 111 to output image data using text data classified into text such as characters, graphics data classified into graphics such as graphics, image image data classified into photographic images, and the like. Is created. When printing an image based on the output image data, the application software 111 issues a print output request to the OS 180, the text data portion is a text drawing command, the graphics data portion is a graphics drawing command, and the image image data portion is an image. A drawing command group including drawing commands is issued to the OS 180.

OS180はアプリケーションソフトウェア111から上記印刷出力要求を受けると、プリンタ170に対応するプリンタドライバ112に描画命令群を渡す。プリンタドライバ112はOS180から渡される印刷出力要求および描画命令群を処理して、プリンタ170が印刷処理可能な印刷データを作成し、その印刷データをプリンタ170に送る。   When the OS 180 receives the print output request from the application software 111, it passes a drawing command group to the printer driver 112 corresponding to the printer 170. The printer driver 112 processes the print output request and drawing command group passed from the OS 180, creates print data that can be printed by the printer 170, and sends the print data to the printer 170.

なお、プリンタ170がラスタプリンタである場合、プリンタドライバ112は、描画命令群を、順次、例えばRGBそれぞれ8ビット深さをもつバンドメモリにラスタライズする。そして、全ての描画命令をラスタライズした後、ページメモリの内容をプリンタ170が印刷可能なデータ形式、例えばCMYKデータに変換してプリンタ170に送る。なお、このバンドメモリは例えばRAM(メモリ110)に割り当てられる。   If the printer 170 is a raster printer, the printer driver 112 rasterizes the rendering command group sequentially into a band memory having a depth of 8 bits for each of RGB, for example. Then, after rasterizing all drawing commands, the contents of the page memory are converted into a data format printable by the printer 170, for example, CMYK data, and sent to the printer 170. This band memory is allocated to, for example, a RAM (memory 110).

[印刷処理アプリケーションについて]
次に、上記アプリケーション111として動作可能な、本実施形態による印刷処理アプリケーションについて説明する。本実施形態の印刷処理アプリケーションは、動画データの所望範囲より所定数の連続静止画を抽出し、図23に示すような、短冊状シートに切り離しが可能なミシン目が設けられた用紙に、これら連続静止画を印刷する。短冊状シートの長手方向に連続静止画と余白部が並ぶようにして印刷することにより、各短冊状シートには綴じ代が形成される。こうして得られた短冊状シートを図18に示す如く束ね、図19に示す如く扱うことで、捲り動画を観察することが可能となる。以下、本実施形態の印刷処理アプリケーションの動作・機能について詳細に説明する。
[About print processing applications]
Next, the print processing application according to the present embodiment that can operate as the application 111 will be described. The print processing application according to the present embodiment extracts a predetermined number of continuous still images from a desired range of moving image data, and forms them on a sheet provided with perforations that can be separated into strip-shaped sheets as shown in FIG. Print continuous still images. A binding margin is formed on each strip-shaped sheet by printing the strip-shaped sheet so that a continuous still image and a blank portion are aligned in the longitudinal direction. By bundling the strip-shaped sheets obtained in this way as shown in FIG. 18 and handling them as shown in FIG. Hereinafter, the operation and function of the print processing application of this embodiment will be described in detail.

本実施形態の印刷処理アプリケーションを起動すると、専用のアプリケーションウインドウが表示される。アプリケーションウインドウとしては、用紙選択画面(図7参照)、動画選択画面(図8参照)、範囲設定画面(図9A、図9B参照)及び印刷・保存画面(図10A参照)が用意されている。なお、本印刷アプリケーションを起動した場合、初期画面として用紙選択ウインドウが表示されるものとするが、これに限定されるものではない。また、各画面には、画面選択のためのタブ(301a〜301d)が設けられており、所望のタブをクリックすることで図7〜図10Aの画面のうちの所望の画面に移行させることができる。   When the print processing application of the present embodiment is activated, a dedicated application window is displayed. As the application window, a paper selection screen (see FIG. 7), a moving image selection screen (see FIG. 8), a range setting screen (see FIGS. 9A and 9B), and a print / save screen (see FIG. 10A) are prepared. When the print application is activated, a paper selection window is displayed as the initial screen, but the present invention is not limited to this. Each screen is provided with tabs (301a to 301d) for screen selection, and the screen can be shifted to a desired screen among the screens of FIGS. 7 to 10A by clicking the desired tab. it can.

本印刷処理アプリケーションによる概略の印刷手順は、以下のようになる。
・用紙選択画面において使用するプリンタや用紙等の設定を行ない、
・動画選択画面において所望の動画ファイルを選択し、
・範囲設定画面において、動画選択画面で選択された動画ファイル中の所望の範囲を設定するとともに、捲り動画のプレビューにより設定した範囲が適切であったか否かを確認し、
・印刷・保存画面において、上記範囲設定画面で設定された所望の範囲から所定数からなる連続静止画を生成し、これを上記設定されたプリンタにて出力させる。
The outline printing procedure by this print processing application is as follows.
-Set the printer and paper to be used on the paper selection screen,
-Select the desired video file on the video selection screen,
-In the range setting screen, set the desired range in the video file selected on the video selection screen and check whether the range set by the preview of the hitting video is appropriate,
On the print / save screen, a predetermined number of continuous still images are generated from the desired range set on the range setting screen, and are output by the set printer.

以下、各画面毎に動作の詳細を説明する。   Hereinafter, details of the operation will be described for each screen.

まず、図3、図7を参照して、用紙選択画面を表示して実行される用紙選択処理について説明する。図3は図7に示される用紙選択画面が選択された状態において実行される処理を説明するフローチャートである。   First, with reference to FIG. 3 and FIG. 7, a paper selection process executed by displaying a paper selection screen will be described. FIG. 3 is a flowchart for explaining processing executed when the paper selection screen shown in FIG. 7 is selected.

ステップS101では、ボックス310に選択したいプリンタの名称を入力させ、ユーザにプリンタの選択を促す。ここで、ボックス310の右側の▽部分をクリックすると、利用可能なプリンタのリストが表示され、ユーザはその中から所望のプリンタを選択することができる。利用可能なプリンタが1台しかない場合は、そのプリンタがボックス310に表示される。なお、利用可能なプリンタとは、当該印刷アプリケーションが対応しているプリンタであり、当該情報処理装置にプリンタドライバがインストールされているものである。また、本アプリケーションの起動時においては、前回終了時に選択されていたプリンタを選択されたプリンタとする。   In step S101, the name of the printer to be selected is input in the box 310, and the user is prompted to select the printer. Here, when the ▽ portion on the right side of the box 310 is clicked, a list of available printers is displayed, from which the user can select a desired printer. If there is only one printer available, that printer is displayed in box 310. An available printer is a printer that is compatible with the printing application, and has a printer driver installed in the information processing apparatus. In addition, when the application is started, the printer that was selected at the previous end is set as the selected printer.

ステップS102では、ボックス311を用いたカートリッジの選択が、ステップS103ではボックス312を用いた用紙の選択が行なわれる。なお、本実施形態では、用紙サイズをA4に固定しているが、所望の用紙サイズを選択できるようにしてもよい。   In step S102, the cartridge is selected using the box 311. In step S103, the sheet is selected using the box 312. In this embodiment, the paper size is fixed to A4, but a desired paper size may be selected.

ステップS104では別の画面へ移行するためのタブ(301b〜301dのいずれか)が選択されたかどうかを判定し、選択されていなければ処理をステップS101に戻す。また、別の画面へ移行するためのタブが選択された場合は、ステップS105へ進み、ボックス310〜312においてその時点で設定されていた内容を設定内容として確定する。なお、この設定内容は、後に別の画面からタブ301aを選択して用紙選択画面を表示させて変更することが可能であることはいうまでもない。   In step S104, it is determined whether a tab (any one of 301b to 301d) for shifting to another screen is selected. If not selected, the process returns to step S101. If a tab for shifting to another screen is selected, the process proceeds to step S105, and the contents set at that time in boxes 310 to 312 are determined as setting contents. Needless to say, this setting can be changed later by selecting the tab 301a from another screen to display the paper selection screen.

次に、タブ301bが選択されて、動画選択画面へ移行した場合に実行される動画選択処理について図4及び図8を参照して説明する。図4は、図8に示される動画選択画面が選択された状態で実行される処理を説明するフローチャートである。   Next, a moving image selection process executed when the tab 301b is selected and the screen is shifted to the moving image selection screen will be described with reference to FIGS. FIG. 4 is a flowchart for explaining processing executed in a state where the moving image selection screen shown in FIG. 8 is selected.

まず、ステップS121では、ユーザのファイルオープン操作により、選択されたファイルを開く処理を行なう。ここでは、動画選択画面322中の「開く」ボタン321のクリックに応じてファイル選択用のポップアップウインドウ(不図示)が表示され、これを用いてユーザは所望の動画ファイルを選択する。   First, in step S121, a process for opening the selected file is performed by the user's file opening operation. Here, a pop-up window (not shown) for file selection is displayed in response to the click of the “Open” button 321 in the moving image selection screen 322, and the user selects a desired moving image file using this.

次にステップS122において、ステップS121で指定されたファイルが、当該印刷処理アプリケーションで作成され、保存されたもの(情報ファイル)であるかどうかを判定する。本アプリケーションでは、図6により後述の「印刷と保存」処理におけるステップS169によって連続静止画を印刷するための情報を保存することができる。ステップS122において、そのような情報ファイルが選択されていると判定された場合は、以下に説明する動画再生処理は行なわず、ステップS126へ処理を移す。なお、ステップS122の判定は、例えばファイルの拡張子を参照して行なうことができる。   In step S122, it is determined whether the file specified in step S121 is a file (information file) created and saved by the print processing application. In this application, information for printing a continuous still image can be saved in step S169 in the “print and save” process described later with reference to FIG. If it is determined in step S122 that such an information file has been selected, the moving image reproduction process described below is not performed, and the process proceeds to step S126. Note that the determination in step S122 can be performed with reference to, for example, a file extension.

ステップS121で選択されたファイルが本印刷アプリケーションで処理が可能な動画ファイルであった場合は、ステップS123へ進み、動画選択画面322の中の動画再生領域323に当該動画ファイルの先頭のフレームの画像を表示する。   If the file selected in step S121 is a moving image file that can be processed by the printing application, the process proceeds to step S123, and the first frame image of the moving image file is displayed in the moving image reproduction area 323 in the moving image selection screen 322. Is displayed.

動画選択画面322は、動画再生領域323と、選択された動画ファイルの再生処理の開始を指示する再生ボタン324、再生処理の停止及びその解除を指示する停止ボタン325、動画ファイルの先頭に移動する移動ボタン327、動画ファイルの最後に移動する移動ボタン328、シークバー329及び時間表示330を含むユーザインターフェースを有する。なお、シークバー329をドラッグすることにより、動画ファイル中の任意の位置へ表示箇所を移動することができる。また、動画再生中は、その再生位置に応じてシークバーが移動する。時間表示330は、現在再生中の位置を、再生開始からの時間で示す。   The movie selection screen 322 moves to the movie playback area 323, a playback button 324 for instructing start of playback processing of the selected movie file, a stop button 325 for instructing stop and release of playback processing, and the head of the movie file. The user interface includes a move button 327, a move button 328 that moves to the end of the moving image file, a seek bar 329, and a time display 330. Note that the display location can be moved to an arbitrary position in the moving image file by dragging the seek bar 329. In addition, during playback of a moving image, the seek bar moves according to the playback position. The time display 330 indicates the position that is currently being played back by the time from the start of playback.

再生ボタン324の操作によって動画の再生が指示された場合は、ステップS124からステップS125へ進み、ステップS121で選択された動画ファイルを再生する。なお、その他の操作ボタンの操作による処理についてはフローチャートによる図示と詳細な説明を省略するが、その内容は当業者には明らかであろう。   When the reproduction of the moving image is instructed by the operation of the reproduction button 324, the process proceeds from step S124 to step S125, and the moving image file selected in step S121 is reproduced. In addition, although the illustration by a flowchart and detailed description are abbreviate | omitted about the process by operation of another operation button, the content will be clear to those skilled in the art.

動画ファイルが選択された状態で別の画面へ移行するためのタブ301a、301c、301dの何れかが選択された場合は、当該動画ファイル或いは情報ファイルが指定する動画ファイルを選択された動画ファイルとして確定して本処理を終了し、指定された画面へ移動する(ステップS126、S127)。これらのタブが選択されない間は、上記ステップS121〜ステップS125を繰り返す。なお、この確定内容は、後に別の画面からタブ301bを選択して動画選択画面を表示させて変更することが可能であることはいうまでもない。   When any of the tabs 301a, 301c, and 301d for moving to another screen is selected with the movie file selected, the movie file designated by the movie file or the information file is selected as the movie file selected. After confirming, this process is terminated, and the screen moves to the designated screen (steps S126 and S127). While these tabs are not selected, the above steps S121 to S125 are repeated. Needless to say, this confirmed content can be changed later by selecting the tab 301b from another screen to display the moving image selection screen.

次に、タブ301cが選択されて範囲設定画面に移行した場合に実行される範囲設定処理について、図5及び図9Aを参照して説明する。図5は図9Aに示される範囲設定画面が選択された状態で実行される処理を説明するフローチャートである。範囲設定画面では、動画ファイル中より、連続静止画の切り出し対象となる所望の範囲(静止画切り出し範囲という)を設定する。   Next, the range setting process executed when the tab 301c is selected and the screen shifts to the range setting screen will be described with reference to FIGS. 5 and 9A. FIG. 5 is a flowchart for explaining processing executed in a state where the range setting screen shown in FIG. 9A is selected. On the range setting screen, a desired range (referred to as a still image clipping range) to be cut out of a continuous still image is set from the moving image file.

図9Aに示されるように、範囲設定画面340においても、選択された動画像ファイルを再生するための動画再生領域323や各種操作ボタン324〜328、シークバー329を含む動画再生ウインドウ340が表示される。ただし、範囲設定画面340には、動画中より所望の静止画切り出し範囲を設定するための開始位置ボタン341と終了位置ボタン342、及び設定された静止画切り出し範囲から得られる連続静止画を、捲り動画としてプレビューするためのプレビューボタン343が含まれる。   As shown in FIG. 9A, on the range setting screen 340, a moving image reproduction window 340 including a moving image reproduction area 323 for reproducing the selected moving image file, various operation buttons 324 to 328, and a seek bar 329 is displayed. . However, on the range setting screen 340, a start position button 341 and an end position button 342 for setting a desired still image clipping range from the moving image, and continuous still images obtained from the set still image clipping range are displayed. A preview button 343 for previewing as a moving image is included.

まず、ステップS141〜S143における動画再生処理は、上述のステップS123〜S125と同様である。すなわち、動画選択画面にて選択され、選択が確定した動画ファイルの先頭フレームの画像を動画再生領域323に表示し(ステップS141)、再生ボタン324をクリックすることにより(ステップS142)当該動画ファイルの再生を開始する(ステップS143)。   First, the moving image reproduction process in steps S141 to S143 is the same as that in steps S123 to S125 described above. That is, the image of the first frame of the moving image file selected and confirmed on the moving image selection screen is displayed in the moving image reproduction area 323 (step S141), and the reproduction button 324 is clicked (step S142). Playback is started (step S143).

この動画ファイルの再生中において、開始位置ボタン341がクリックされた場合は、その時点の再生時刻を静止画切り出し範囲の開始点として登録する(ステップS144、S145)。また、終了位置ボタン342がクリックされた場合は、その時点の再生時刻を、静止画切り出し範囲の終了点として登録する(ステップS146、S147)。開始点と終了点が登録されると、選択された静止画切り出し範囲を示すために、図9Aに示すようにシークバー329上の切り出し範囲の開始点を示すつまみ364と、終了点を示すつまみ365を、シークバー329の上に表示する。   If the start position button 341 is clicked during playback of the moving image file, the playback time at that time is registered as the start point of the still image cutout range (steps S144 and S145). If the end position button 342 is clicked, the playback time at that time is registered as the end point of the still image cutout range (steps S146 and S147). When the start point and end point are registered, a knob 364 indicating the start point of the cutout range on the seek bar 329 and a knob 365 indicating the end point are shown in FIG. 9A to indicate the selected still image cutout range. Is displayed on the seek bar 329.

なお、上記では、動画ファイルの再生中に所望の時点で開始点と終了点を指定することで動画中の所望の範囲を決定したが、これに限られるものではない。例えばシークバー329を所望の再生位置へ移動させて開始位置ボタン341をクリックすることで静止画切り出し範囲の開始点を、同様に終了位置ボタン342をクリックすることで静止画切り出し範囲の終了点を指定するようにしてもよい。この場合、動画ファイルは再生ボタン324によって再生されている必要はないが、シークバー329で指定された位置に対応するフレームの画像が動画再生領域323に表示されるようにする。   In the above description, the desired range in the moving image is determined by designating the start point and the ending point at a desired time point during reproduction of the moving image file. However, the present invention is not limited to this. For example, when the seek bar 329 is moved to a desired reproduction position and the start position button 341 is clicked, the start point of the still image cutout range is designated, and similarly, the end point of the still image cutout range is designated by clicking the end position button 342. You may make it do. In this case, the moving image file does not need to be reproduced by the reproduction button 324, but an image of a frame corresponding to the position specified by the seek bar 329 is displayed in the moving image reproduction area 323.

また、上述した、動画を再生させながら静止画切り出し範囲を指定する方法と、シークバーを用いて静止画切り出し範囲を指定する方法とを組み合わせてもよい。例えば、シークバー329を操作して動画データ中の所望の位置へ移動し、開始位置ボタン341をクリックすることで静止画切り出し範囲の開始点を指定する。その後、再生ボタン324をクリックしてその位置から動画を再生させ、所望の位置で終了位置ボタン342をクリックすることにより、切り出し範囲を設定するように構成することも可能である。
また、つまみ364を開始点にドラッグしたり、つまみ365を終了点にドラッグする事で範囲を指定してもよい。
Further, the above-described method for specifying a still image cutout range while reproducing a moving image and the method for specifying a still image cutout range using a seek bar may be combined. For example, the seek bar 329 is operated to move to a desired position in the moving image data, and the start position button 341 is clicked to specify the start point of the still image cutout range. After that, it is also possible to configure the cutout range by clicking the play button 324 to play the moving image from that position and clicking the end position button 342 at the desired position.
Alternatively, the range may be specified by dragging the knob 364 to the start point or dragging the knob 365 to the end point.

また、本実施形態では、静止画切り出し範囲の開始点と終了点をその再生時刻によって登録するが、これに限られるものではなく、フレーム番号等を用いてもよい。   In this embodiment, the start point and end point of the still image cutout range are registered according to the reproduction time. However, the present invention is not limited to this, and a frame number or the like may be used.

本実施形態の印刷処理アプリケーションは、以上のようにして設定された静止画切り出し範囲より所定枚数(本実施形態では45枚とする)の連続静止画を切り出し、これらをプリント出力するものである。こうして得られた連続静止画のプリント出力は、上述したように短冊状に分離されて、連続的に捲ることにより捲り動画として観察されることを目的としている。従って、この目的のために、疑似的に捲り動画を観察できるように連続静止画をプレビューできることが望ましい。以下のステップS148〜S150ではそのようなプレビュー機能が提供される。   The print processing application of this embodiment cuts out a predetermined number (45 in this embodiment) of continuous still images from the still image cutout range set as described above, and prints them out. The print output of the continuous still image obtained in this way is separated into strips as described above, and is intended to be observed as a moving video by rolling continuously. Therefore, for this purpose, it is desirable to be able to preview a continuous still image so that a moving image can be observed in a pseudo manner. In the following steps S148 to S150, such a preview function is provided.

上記のようにして開始点と終了点により静止画切り出し範囲が設定された後、プレビューボタン343がクリックされると、処理はステップS148からステップS149へ進む(なお、ステップS149へは、静止画切り出し範囲が設定されない限り分岐されないようにする)。ステップS149では、設定された静止画切り出し範囲から所定数の連続静止画が生成、取得される。このステップの処理の詳細については後述する。   When the preview button 343 is clicked after the still image cutout range is set by the start point and the end point as described above, the process proceeds from step S148 to step S149 (note that the still image cutout is not included in step S149). To avoid branching unless a range is set). In step S149, a predetermined number of continuous still images are generated and acquired from the set still image clipping range. Details of the processing in this step will be described later.

そして、ステップS150において、ステップS149で生成された連続静止画を、例えば2秒間で45枚を表示し終えるように撮像順で順次表示する。このとき、ある静止画から次の静止画への切替えの間隔は、一定(例えば45枚の連続静止画を2秒間で表示しようとすれば2/45秒)となるようにする。   In step S150, the continuous still images generated in step S149 are sequentially displayed in the imaging order so that, for example, 45 images are displayed in 2 seconds. At this time, the switching interval from one still image to the next still image is made constant (for example, 2/45 seconds if 45 continuous still images are displayed in 2 seconds).

なお、動画像中の選択範囲が変更されずに、再度プレビューボタン343がクリックされた場合は、既に連続静止画の生成が終わっているので、ステップS149の処理は省略される。   If the preview button 343 is clicked again without changing the selection range in the moving image, the process of step S149 is omitted because the generation of continuous still images has already been completed.

この状態で、別の操作画面に対応するタブ301a,301b,301dがクリックされた場合は、ステップS151からステップS152へ進み、上記で設定された静止画切り出し範囲を確定する。なお、この確定内容は、後に別の画面からタブ301cを選択して範囲設定画面を表示させて変更することが可能であることはいうまでもない。一方、別の操作画面に対応するタブがクリックされない限りは、上記処理を繰り返すために、処理をステップS141に戻す。したがって、本実施形態によれば、同一の画面(範囲設定画面)上で、プレビューの表示と範囲設定の操作が行なえるので、プレビューで捲り動画の状況を確認した後、即座に範囲指定のやり直し等が行なえて、操作性がよい。   In this state, when the tabs 301a, 301b, and 301d corresponding to other operation screens are clicked, the process proceeds from step S151 to step S152, and the still image cutout range set above is determined. Needless to say, this confirmed content can be changed later by selecting the tab 301c from another screen to display the range setting screen. On the other hand, unless a tab corresponding to another operation screen is clicked, the process returns to step S141 to repeat the above process. Therefore, according to the present embodiment, the preview display and the range setting operation can be performed on the same screen (range setting screen). Etc. and operability is good.

なお、上記のステップS150における連続静止画のプレビュー表示において、図9Bに示すようなプレビュー設定パネル344を設け、表示に要する時間を任意に設定できるようにしてもよい。例えば、図9Bの345に示すように、全体の表示時間を任意に設定可能とし、1秒間で表示すように設定がなされると、1/45秒間隔で連続静止画を切り替えて表示することになる。また、図9Bの346に示すように、連続静止画の切替え間隔を指定(例えば、0.04秒という様に指定)するようにしてもよい。   In the preview display of continuous still images in step S150, a preview setting panel 344 as shown in FIG. 9B may be provided so that the time required for display can be set arbitrarily. For example, as shown by 345 in FIG. 9B, the entire display time can be arbitrarily set, and when it is set to display in 1 second, continuous still images are switched and displayed at intervals of 1/45 seconds. become. Further, as shown by reference numeral 346 in FIG. 9B, the switching interval of continuous still images may be specified (for example, specified as 0.04 seconds).

更に、図9Bの347に示すようにマニュアル操作を可能としてもよい。本例では、スライドバー348を表示し、そのつまみ349をマウスでスライドさせると、これに追従して連続静止画を切替えながら表示していく。このようにすれば、上記345、346では、連続表示中では一定でかつ固定であった切替え間隔を、可変とすることができ、ユーザの捲り動作により正確に対応したプレビューを表示できる。   Further, manual operation may be enabled as indicated by reference numeral 347 in FIG. 9B. In this example, when the slide bar 348 is displayed and the knob 349 is slid with the mouse, the continuous still image is displayed while switching. In this way, in the above-mentioned 345 and 346, the switching interval that is constant and fixed during the continuous display can be made variable, and a preview corresponding to the user's turning operation can be displayed accurately.

次に、タブ301dが選択されて印刷・保存画面に移行した場合の処理について説明する。図6は図10Aに示される印刷・保存画面が選択された状態において実行される処理を説明するフローチャートである。この印刷・保存画面では、範囲設定画面で設定された静止画切り出し範囲より得られる連続静止画の印刷と、切り出し情報の保存が行なえる。   Next, processing when the tab 301d is selected and the screen is shifted to the print / save screen will be described. FIG. 6 is a flowchart for explaining processing executed when the print / save screen shown in FIG. 10A is selected. On this print / save screen, it is possible to print a continuous still image obtained from the still image cutout range set on the range setting screen and save the cutout information.

まずステップS161で、現在設定されている切り出し対象範囲について、上記ステップS149による静止画変換処理が行われているかどうかを判定する。ステップS149による処理が完了していれば、当該静止画切り出し範囲については連続静止画が得られているので、ステップS162をスキップする。設定されている切り出し対象範囲から連続静止画が取得されていない場合は、ステップS162に進み、先の範囲設定画面において設定された静止画切り出し範囲より所定枚数の連続静止画を切り出す。この処理は、図5のステップS149と同じである。   First, in step S161, it is determined whether or not the still image conversion process in step S149 has been performed for the currently set clipping target range. If the processing in step S149 has been completed, a continuous still image has been obtained for the still image cutout range, and step S162 is skipped. If a continuous still image has not been acquired from the set extraction target range, the process proceeds to step S162, and a predetermined number of continuous still images are extracted from the still image extraction range set on the previous range setting screen. This process is the same as step S149 in FIG.

続いて、ステップS163において、生成された連続静止画による印刷レイアウト351の表示を行なう。本実施形態では、A4サイズの用紙に、連続静止画を15個ずつ印刷するので、合計3ページにわたる印刷が行われることになる。従って、次ページボタン356或は前ページボタン355を設け、これらを操作することにより、全ての頁の印刷レイアウトを確認可能とする。なお、図において、連続静止画の部分に記載された数字は、これらが連続静止画であること(同一画像の連続ではないこと)を示すために便宜上付したものである。   Subsequently, in step S163, the print layout 351 is displayed by the generated continuous still image. In the present embodiment, since 15 continuous still images are printed on A4 size paper, a total of 3 pages are printed. Accordingly, the next page button 356 or the previous page button 355 is provided, and by operating these buttons, the print layout of all pages can be confirmed. In the drawing, the numbers described in the continuous still image portions are given for convenience in order to indicate that these are continuous still images (not the same image is continuous).

また、印刷設定ボタン353がクリックされると、印刷設定の変更が行われるものと判定されて処理はステップS165へ進む。ステップS165では、印刷設定入力画面(不図示)が表示され、例えば以下のような印刷設定項目の設定が行なわれる。   If the print setting button 353 is clicked, it is determined that the print setting is changed, and the process proceeds to step S165. In step S165, a print setting input screen (not shown) is displayed, and the following print setting items are set, for example.

<レイアウト>
・右綴じ:左利き用のレイアウトにて印刷を行なう。
・左綴じ:右利き用のレイアウトにて印刷を行なう。
(デフォルトは「左綴じ」)
<背景>
・なし:連続静止画の周囲に何も印刷しない。
・黒のグラデーション:連続静止画の周囲に、連続静止画から余白部に向かって変化する黒のグラデーションを印刷。
・指定色のグラデーション:連続静止画の周囲に、連続静止画から余白部に向かって変化する指定された色のグラデーションを印刷。
(デフォルトは「黒のグラデーション」)
<タイトル>
・なし:タイトル名を印字しない。
・タイトルを印字:入力した文字列をタイトルとして印字(1ページ目だけに印字するか、全ページに印字するかを設定可能)。
(デフォルトは「なし」)
<撮影日付>
・なし:撮影日時を印字しない。
・日付を印字:撮影した日付を印字する(1ページ目だけに印字するか、全ページに印字するかを設定可能)
(デフォルトは「なし」)。
<Layout>
・ Right binding: Print with a left-handed layout.
・ Left binding: Print with a right-handed layout.
(Default is “Left Binding”)
<Background>
-None: Nothing is printed around continuous still images.
-Black gradation: Prints a black gradation that changes from the continuous still image toward the margin around the continuous still image.
・ Specified color gradation: Prints the specified color gradation that changes from the continuous still image toward the margin around the continuous still image.
(Default is “Black gradient”)
<Title>
-None: Does not print the title name.
-Print title: Prints the input character string as a title (can be set to print only on the first page or on all pages).
(Default is “None”)
<Shooting date>
-None: Does not print the shooting date and time.
-Print date: Prints the date of shooting (can be set to print only on the first page or all pages)
(The default is "None").

印刷設定の後、処理はステップS163にもどり、印刷レイアウトを更新された印刷設定で表示する。こうして印刷設定の変更が直ちに印刷レイアウト表示に反映される。   After the print setting, the process returns to step S163 to display the print layout with the updated print setting. In this way, the print setting change is immediately reflected in the print layout display.

印刷ボタン352がクリックされた場合、処理はステップS166からステップS167へ進み、連続静止画を指定されたプリンタから、図10Bのように印刷させる。このときの印刷画像は、動画から切り出した連続静止画の縦横比を固定として、42mm×34mmの領域に納まるように縮小したサイズで連続静止画の印刷を行なう。また、その際の印刷品位は、指定されたメディアのデフォルト品位にて印刷を行なう。また、背景について指定がある場合は指定された背景を印刷し、撮影日付やタイトルの印字指定あれば、それぞれの指定に従ってそれらを印字する。更に、連続静止画の順番を明示するために、連続静止画の側方の余白部(本実施形態では右綴じの場合には右上隅となる位置に、左綴じの場合は左上隅となる位置)に番号を印字する(図10Aは左綴じ、図10Bは右綴じの例であり、それぞれ右上隅、左上隅にページ番号がふられている)。   When the print button 352 is clicked, the process proceeds from step S166 to step S167, and a continuous still image is printed from the designated printer as shown in FIG. 10B. The print image at this time is a continuous still image printed in a reduced size so as to fit within an area of 42 mm × 34 mm, with the aspect ratio of the continuous still image cut out from the moving image fixed. In this case, printing is performed with the default quality of the designated medium. If the background is specified, the specified background is printed, and if the shooting date or title printing is specified, they are printed according to the respective specifications. Further, in order to clearly indicate the order of continuous still images, the margin of the side of the continuous still images (in this embodiment, the position that is the upper right corner in the case of right binding and the upper left corner in the case of left binding) ) Are printed (FIG. 10A shows an example of left binding and FIG. 10B shows an example of right binding, and page numbers are given in the upper right corner and the upper left corner, respectively).

また、保存ボタン354がクリックされた場合、処理はステップS168からステップS169へ進む。ステップS169では、用紙選択画面、動画選択画面、範囲設定画面、そして印刷・保存画面(印刷設定)によって設定された各項目を一つのファイルとして保存する。例えば、保存項目としては、使用プリンタ、カートリッジの情報、用紙、動画ファイル名、静止画切り出し開始位置、静止画切り出し終了位置、印刷設定内容(レイアウト・背景など)である。ただし、切り出した連続静止画データの保存は行わない。   When the save button 354 is clicked, the process proceeds from step S168 to step S169. In step S169, each item set on the paper selection screen, moving image selection screen, range setting screen, and print / save screen (print setting) is saved as one file. For example, the items to be stored are information on the printer used, cartridge information, paper, moving image file name, still image cutout start position, still image cutout end position, and print setting contents (layout, background, etc.). However, the cut out still image data is not saved.

以上のようにして得られた45枚の連続静止画像は、図23のようなミシン目を有する用紙に、図10Bのように印刷されるので、これらをミシン目に沿って短冊状シートに切り離せば、図18のように束ねることができる。そして、これを図19に示すごとく連続的に捲ることにより、捲り動画を観察できる。なお、図10Bは右綴じの印刷状態が示されており、図18、図19では左綴じの場合の状態が示されている。   The 45 continuous still images obtained as described above are printed on a sheet having a perforation as shown in FIG. 23 as shown in FIG. 10B, so that they can be separated into strip-like sheets along the perforations. In this case, they can be bundled as shown in FIG. Then, a continuous moving image can be observed by continuously speaking as shown in FIG. Note that FIG. 10B illustrates a right-bound printing state, and FIGS. 18 and 19 illustrate a left-bound state.

以上のように、本実施形態の印刷処理アプリケーションによれば、動画データの所望の範囲について、捲り動画としての観察が可能な連続静止画をプリント出力することが可能となる。ユーザが欲する捲り動画を容易に提供することができる。   As described above, according to the print processing application of the present embodiment, it is possible to print out a continuous still image that can be observed as a moving moving image in a desired range of moving image data. It is possible to easily provide a roaring video that the user desires.

特に、図9A、Bで説明した範囲設定画面(図9A)のプレビューボタン343によるプレビュー機能では、指定された範囲から切り出された連続静止画を連続的に切替えて表示するので、ユーザが図18、図19のように連続静止画像を束ねて連続的に捲ることにより捲り動画を観察したときの状態を確認できて、便利である。そして、プレビューを見て気に入らなかった場合は、ウインドウを切り替えることなく、即座に静止画切り出し範囲の指定をやり直せるので、操作性が向上する。   In particular, in the preview function using the preview button 343 of the range setting screen (FIG. 9A) described with reference to FIGS. 9A and 9B, the continuous still images cut out from the designated range are continuously switched and displayed, so that the user can change the display of FIG. As shown in FIG. 19, a continuous still image is bundled and continuously rolled so that the state when the moving video is observed can be confirmed conveniently. If the user does not like the preview, the user can immediately specify the still image cutout range without switching the window, thereby improving operability.

また、プレビューにおいて、静止画像の切替え間隔を設定可能とすれば、好みの捲り速さに応じたプレビューを行なえる。更に、プレビューにおいて、図9Bに示すようにスクロールバー348のつまみ349の移動に同期させて連続静止画の切替えを制御する構成を設ければ、表示切替えの間隔を連続表示中に変更することができる。このため、捲り画像を観察するときのユーザのくせ(例えば捲りはじめと捲りおわりのスピードが他の部分よりも遅い等)に対応したプレビューを実現する事ができ、より正確な捲り動画のプレビューを行なえる。   In addition, if the still image switching interval can be set in the preview, it is possible to perform a preview according to the desired turning speed. Further, in the preview, as shown in FIG. 9B, if a configuration for controlling switching of continuous still images in synchronization with the movement of the knob 349 of the scroll bar 348 is provided, the display switching interval can be changed during continuous display. it can. For this reason, it is possible to realize a preview corresponding to the user's habit when observing a beat image (for example, the speed at the beginning and the end of the beat is slower than other parts), and a more accurate preview of the beat video can be realized. Yes.

[静止画変換処理の詳細]
次に図5のステップS149における静止画変換処理の詳細について説明する。図9Aの360から363は本処理の方法を指示するユーザーインターフェースである。
[Details of still image conversion processing]
Next, details of the still image conversion processing in step S149 of FIG. 5 will be described. Reference numerals 360 to 363 in FIG. 9A denote user interfaces for instructing the method of this processing.

360は静止画の切り出し方法を指示するパネルであり、361の均等ボタン、362の自動ボタンのどちらかを選択する事によって処理方法を変更する事が出来る。361の均等ボタンを選択すると、印刷開始点から終了点までの区間から時間軸上ですべて等間隔となるように連続静止画が生成される。362の自動ボタンを選択すると、動画の激しさに応じて激しい区間ほどサンプリング間隔が密になるように連続静止画が生成される。363のスライダはサンプリング間隔の疎密の開き具合(疎のときのサンプリング間隔と密のときのサンプリング間隔の差)を指定する。最も左にした場合には、疎密の開き具合が0になり、均等ボタンを選択するのと同じ結果となる。最も右にした場合には最大の効果がかかるようになる。   Reference numeral 360 denotes a panel for instructing a method for cutting out a still image. The processing method can be changed by selecting one of the equal button 361 and the automatic button 362. When the equal button 361 is selected, continuous still images are generated so that all are equally spaced on the time axis from the section from the print start point to the end point. When the automatic button 362 is selected, continuous still images are generated so that the sampling interval becomes denser in the intense interval according to the intensity of the moving image. The slider 363 designates the degree of sampling interval sparseness (difference between the sampling interval when sparse and the sampling interval when dense). In the case of the leftmost setting, the degree of sparse / dense opening is 0, which is the same result as selecting the equal button. When it is set to the right, the maximum effect is applied.

図11は本処理の方法を説明するフローチャートである。これを用いて処理フローを説明する。   FIG. 11 is a flowchart for explaining the method of this processing. The processing flow will be described using this.

処理を開始すると、ステップS401にて均等ボタン361か、自動ボタン362のどちらが選択されているか判断する。均等ボタン361が選択されていた場合はステップS402に進み、指定された動画範囲から均等なサンプリング間隔となるようにフレームを選択し、選択されたフレームから静止画を取得して処理を終了する。   When the process is started, it is determined in step S401 whether the equal button 361 or the automatic button 362 is selected. If the equal button 361 has been selected, the process proceeds to step S402, a frame is selected from the designated moving image range so that the sampling intervals are equal, a still image is acquired from the selected frame, and the process ends.

一方、ステップS401にて自動ボタン361が選択されていた場合にはステップS403に進む。ステップS403では、指定された動画範囲における「動画の激しさ」の変化を解析するために、動画範囲の分割を行なう。この分割数が多いほど解析処理の時間解像度が高くなるが、処理コストが増えてしまう。また、分割数を指定された動画範囲のフレーム数より多くしても無意味である。本実施形態では10とフレーム数のどちらか少ないほうを分割数とし、当該動画範囲を均等に分割する。また、動画がMPEGで符号化されている場合はIフレームで分割しても良い。   On the other hand, if the automatic button 361 has been selected in step S401, the process proceeds to step S403. In step S403, the moving image range is divided in order to analyze the change of the “moving image intensity” in the specified moving image range. As the number of divisions increases, the time resolution of the analysis process increases, but the processing cost increases. It is meaningless to increase the number of divisions beyond the number of frames in the specified moving image range. In the present embodiment, the smaller one of 10 and the number of frames is set as the division number, and the moving image range is equally divided. Further, when a moving image is encoded by MPEG, it may be divided by I frame.

次にステップS404に進み、分割点を細分化しながら各区間における動画の激しさ(動画の変化量)を算出する。この処理の詳細については後述する。   Next, the process proceeds to step S404, and the intensity of the moving image (change amount of the moving image) in each section is calculated while subdividing the dividing points. Details of this processing will be described later.

次にステップS405に進み、時間に対するフレーム相関値の移動平均を求める。本実施形態ではステップS404における最も細分化した区間の長さで動画を均等に分割し、各分割点ごとに、前2点、後2点と着目している分割点の計5点によるフレーム相関値の平均を求め、着目している分割点における動画の激しさとする。各分割点の間については一次補間する。   In step S405, a moving average of frame correlation values with respect to time is obtained. In the present embodiment, the moving image is equally divided by the length of the most subdivided section in step S404, and frame correlation is made up of a total of 5 points for each division point, that is, the previous 2 points and the subsequent 2 points. The average of the values is obtained and set as the intensity of the moving image at the division point of interest. Linear interpolation is performed between the divided points.

なお、フレーム相関値の算出方法に関しては、特にそのアルゴリズムは限定されない。最も簡単な例を挙げると、比較する各静止画を縦横に格子状に複数のブロック分割を行い、それぞれのブロックに関してRGBの平均値を算出しておく。そして、比較する画像の対応するブロック同士のRGB各チャンネルの差の2乗和を求め、静止画間の類似性距離とする。この類似性距離が小さいほど類似しており、両者の画像相関が高い。逆に、大きいほど両者は類似しておらず、画像相関は低いとする。第1画像と第2画像のフレーム間類似性距離の計算式は、数1に示す通りである。   The algorithm for calculating the frame correlation value is not particularly limited. In the simplest example, each still image to be compared is divided into a plurality of blocks in a grid pattern vertically and horizontally, and an average value of RGB is calculated for each block. Then, the sum of squares of the differences between the RGB channels of the corresponding blocks of the images to be compared is obtained and used as the similarity distance between the still images. The smaller the similarity distance, the more similar, and the higher the image correlation between the two. On the other hand, it is assumed that the larger the value, the less similar the two, and the lower the image correlation. The formula for calculating the inter-frame similarity distance between the first image and the second image is as shown in Equation 1.

Figure 2005167633
Figure 2005167633

ここで、各変数の内容は以下の通りである。
i :処理中のブロック、
K :分割ブロック数、
P1iR :第1画像のi番目のブロックのRチャンネルの平均値、
P1iG :第1画像のi番目のブロックのGチャンネルの平均値、
P1iB :第1画像のi番目のブロックのBチャンネルの平均値、
P2iR :第2画像のi番目のブロックのRチャンネルの平均値、
P2iG :第2画像のi番目のブロックのGチャンネルの平均値、
P2iB :第2画像のi番目のブロックのBチャンネルの平均値、
T:区間の時間長。
Here, the contents of each variable are as follows.
i: Block being processed,
K: number of divided blocks,
P1 iR : average value of the R channel of the i-th block of the first image,
P1 iG : Average value of the G channel of the i-th block of the first image,
P1 iB : Average value of the B channel of the i-th block of the first image,
P2 iR : average value of the R channel of the i-th block of the second image,
P2 iG : Average value of the G channel of the i-th block of the second image,
P2 iB : Average value of the B channel of the i-th block of the second image,
T: Section length.

このようにして各時における動画の激しさを算出したら、次にステップS406に進み、動画の激しさの変化の極を求める。次にステップS407に進み、極の表示を行なう。次にステップS408に進み、極の選択、削除、垂直(変化の度合い)、水平(時間)方向への移動などの編集を行なう。   When the intensity of the moving image at each time is calculated in this way, the process proceeds to step S406, and the extreme change in the intensity of the moving image is obtained. In step S407, poles are displayed. In step S408, editing such as pole selection, deletion, movement in the vertical (degree of change), and horizontal (time) directions is performed.

図27は極の表示画面の一例である。370は動画の激しさの変化を示すウインドウであり、極の表示および削除の指示を行なう事ができる。この中にはプロット領域371があり、横軸が時間を示し、当該動画に対して指示された開始点から終了点の区間中を表示する。また、縦軸は動画の激しさの程度を表わす。372、373は動画の激しさの変化の極であり、そのうち選択中の極372は白抜きで表示される。選択状態にするには、マークをポインティングデバイス151でクリックすればよい。   FIG. 27 is an example of a pole display screen. Reference numeral 370 denotes a window showing a change in the intensity of the moving image, and it is possible to instruct display and deletion of poles. In this, there is a plot area 371, the horizontal axis indicates time, and the section from the start point to the end point designated for the moving image is displayed. The vertical axis represents the degree of intensity of the moving image. Reference numerals 372 and 373 are extremes of change in the intensity of the moving image, and the currently selected pole 372 is displayed in white. To select the mark, the mark can be clicked with the pointing device 151.

374は削除ボタンであり、このボタンを押下すると選択している極が削除され前後の極または端点の間が補間される。なお、選択中の極をドラッグする事により、極の大きさや時間位置を変更する事も可能である。また、マウスカーソルの横位置に対応する動画時刻におけるフレーム画像を動画再生ウインドウ323に表示する事で、より直感的に作業する事が可能となる。375はOKボタンであり、現在表示中の極をもって編集処理を終了し、ウインドウを消し次のステップに進む。376はキャンセルボタンであり、フローチャートに図示しないが、静止画の取得処理を行なわずに処理を終了する。   Reference numeral 374 denotes a delete button. When this button is pressed, the selected pole is deleted and interpolation is performed between the previous and next poles or end points. It is also possible to change the pole size and time position by dragging the currently selected pole. Further, by displaying the frame image at the moving image time corresponding to the horizontal position of the mouse cursor in the moving image reproduction window 323, it becomes possible to work more intuitively. Reference numeral 375 denotes an OK button, which finishes the editing process with the currently displayed pole, erases the window, and proceeds to the next step. Reference numeral 376 denotes a cancel button, which is not shown in the flowchart, but ends the process without performing the still image acquisition process.

極に関する少なくとも1つの情報が更新されたらステップS409に進み、端点と極、および、極と極の間の補間を行なう。   When at least one piece of information regarding the pole is updated, the process proceeds to step S409, and interpolation between the end point and the pole and between the pole and the pole is performed.

図28は選択中の極372を削除した後に補間された様子を示したものである。補間の最も簡単な方法は極間、または極と端点を直線で補間する事であるが、スプラインなどの周知技術によりなめらかな曲線で補間してもよい。当業者であれば新たな極や曲線の制御ポイントなどを追加する為のユーザーインターフェースを追加したり、プロット領域内におけるマウスカーソルの軌跡によって線を描画するなどの編集機能を提供する事が容易であろう。   FIG. 28 shows a state in which interpolation is performed after the selected pole 372 is deleted. The simplest method of interpolation is to interpolate between the poles or between the pole and the end point with a straight line, but may be interpolated with a smooth curve by a well-known technique such as spline. A person skilled in the art can easily add editing functions such as adding a user interface for adding new poles and curve control points, and drawing a line with the locus of the mouse cursor in the plot area. I will.

次に、ステップS410に進み編集終了か判断する。OKボタン375が選択された場合は、ステップS411に進み、そうでない場合には、ステップS407に戻り再表示を行ない編集を継続する。極の編集が終了したら、ステップS411に進み、前ステップで編集された動画の激しさに応じて各分割区間にポイントを付与する。ポイントはたとえば数2に示すように算出する。   Next, the process proceeds to step S410, and it is determined whether editing is finished. If the OK button 375 has been selected, the process proceeds to step S411. If not, the process returns to step S407 to re-display and continue editing. When the editing of the pole is completed, the process proceeds to step S411, and points are given to each divided section according to the intensity of the moving image edited in the previous step. The points are calculated as shown in Equation 2, for example.

Figure 2005167633
Figure 2005167633

ここで、各変数の内容は以下の通りである。
Dt:分割区間tにおける動画の激しさ
Dmin:全区間における動画の激しさの最小値
Dmax:全区間における動画の激しさの最大値
A:効果係数
B:オフセット定数。
Here, the contents of each variable are as follows.
Dt: intensity of moving image in divided section t Dmin: minimum value of moving image intensity in all sections Dmax: maximum value of moving image intensity in all sections A: effect coefficient B: offset constant.

効果係数Aはスライダー363で指定した効果の程度に応じて、効果が強いほど大きな数になるように決定する。効果をかけない場合には0となる。オフセットBは動きが最も少ない区間に配分するポイント数である。なお、Dmin とDmaxが等しい時は、動画に激しさの変化が無い事を意味するので、時間的に均等にサンプリングポイントを決定すればよい。なお、Dtは、例えば分割区間tにおける先頭フレームに対する移動平均値を用いる(詳細は図32により後述する)。   The effect coefficient A is determined according to the degree of the effect specified by the slider 363 so that the greater the effect, the larger the effect coefficient A. 0 if no effect is applied. The offset B is the number of points allocated to the section with the smallest motion. Note that when Dmin and Dmax are equal, it means that there is no change in intensity in the moving image, so the sampling points may be determined uniformly over time. For Dt, for example, a moving average value for the first frame in the divided section t is used (details will be described later with reference to FIG. 32).

このように各区間におけるポイント数が決まったら、ステップS412に進み、サンプリングポイントを決定し、サンプリングポイントに該当するフレームから静止画を取得する。これは、1つの区間内では時間的に均等にポイントを割りふって近似し、サンプリング間のポイント数が均一になるようにサンプリングポイントを決定し、静止画取得を行なう。サンプリングポイントの間隔が動画のフレーム周期より短くなった場合は、複数の同じ静止画が続く事になる。
上記のサンプリングポイントの決定の例について、図32を参照して更に具体的に説明する。ここで示される例は、ステップS403、S404の処理によって、3フレームの区間に分割されたものとする。そして、ステップS405において、各分割点の画像相関を算出するが、これは、例えば、M番目のフレームとM+1番目のフレームの間で、数1で示したフレーム間相関値の計算を行なう。この結果、図32の分割点の各フレームについてフレーム間相関値(DM-1、DM、DM+1等)が求まる。
When the number of points in each section is determined in this way, the process proceeds to step S412 to determine a sampling point and acquire a still image from a frame corresponding to the sampling point. In this method, points are equally divided in time within one section and approximated, sampling points are determined so that the number of points between samplings is uniform, and still images are acquired. If the sampling point interval is shorter than the frame period of the moving image, a plurality of the same still images will continue.
An example of determining the sampling point will be described more specifically with reference to FIG. The example shown here is assumed to have been divided into sections of 3 frames by the processes of steps S403 and S404. In step S405, the image correlation of each division point is calculated. For example, the inter-frame correlation value shown in Equation 1 is calculated between the Mth frame and the M + 1th frame. As a result, inter-frame correlation values (D M−1 , D M , D M + 1, etc.) are obtained for each frame at the dividing point in FIG.

更に、ステップS405で移動平均を求める。例えば、M+1番のブロックの移動平均は、DM-1、DM、DM+1、DM+2、DM+3の平均を求めることによって得られる。なお、この移動平均は、ステップS407〜S410の操作によって変更され得る。ステップS411では、以上のようにして得られた移動平均を各区間の動画の激しさDtとして、数2を用いて各区間のポイントを算出する。図27では区間MのポイントをPMとして表している。 Further, a moving average is obtained in step S405. For example, the moving average of the (M + 1) th block is obtained by calculating the average of D M−1 , D M , D M + 1 , D M + 2 , D M + 3 . This moving average can be changed by the operations in steps S407 to S410. In step S411, the moving average obtained as described above is used as the intensity Dt of the moving image in each section, and points in each section are calculated using Equation 2. In Figure 27 the points of the section M is represented as P M.

最後にステップS412でサンプリングポイントを決定する。これは、まず、サンプリング間隔となるべき平均ポイント値を決定する。すなわち、全ブロックのポイントの合計を切り出し枚数(nとする(本例では45枚))で割った値を平均ポイント値Paveとし、サンプリングされたフレーム間のポイント値がこのPaveとなるようにする。図27で説明すると、各ブロック内のフレームに当該ブロックのポイントを割り当てる。例えば、M番目のブロックはPMを5等分して各フレームに割り当てる。そして、これらポイント値の合計が上記Paveに最も近くなるようにサンプリングポイント(抽出するフレーム)を決定する。例えば、2701のフレームが抽出された後、各フレームのポイント値を足していき、2702のフレームでPaveを超えたならば、フレーム2702をサンプリングポイントに決定する。以上のようにして、サンプリングポイントを決定し、静止画を取得する。 Finally, a sampling point is determined in step S412. This first determines the average point value to be the sampling interval. That is, a value obtained by dividing the total of points of all blocks by the number of cutouts (n (45 in this example)) is an average point value P ave, and the point value between the sampled frames is this P ave. To. Referring to FIG. 27, a point of the block is assigned to a frame in each block. For example, the Mth block divides P M by 5 and assigns it to each frame. Then, sampling points (frames to be extracted) are determined so that the sum of these point values is closest to the above Pave . For example, after 2701 frames are extracted, the point values of each frame are added, and if Pave is exceeded in 2702 frames, frame 2702 is determined as a sampling point. As described above, a sampling point is determined and a still image is acquired.

[動画の激しさ算出処理の詳細]
次に図11のステップS404における動画の激しさ算出処理の詳細について図29のフローチャートを用いて説明する。
[Details of movie intensity calculation processing]
Next, details of the moving image intensity calculation processing in step S404 in FIG. 11 will be described with reference to the flowchart in FIG.

処理を開始するとS501に進み、各分割区間の開始点と終了点におけるフレームの相関値を算出する。相関値の算出方法は上述した通りであり、例えば数1により算出することができる。但し、第1画像と第2画像はそれぞれ区間の開始位置のフレームと終了位置のフレームである。   When the process is started, the process proceeds to S501, and the correlation value of the frame at the start point and end point of each divided section is calculated. The correlation value calculation method is as described above, and can be calculated by, for example, Equation 1. However, the first image and the second image are the frame at the start position and the frame at the end position of the section, respectively.

フレーム相関値の算出を全区間について行ない、算出結果は、区間と対応づけて記憶する。次にステップS502に進み、分割区間が一定の閾値より長い区間を再分割可能区間として選択する。本実施形態では閾値は動画のフレーム周期としている。但し、これに限る必要はない。ステップS503に進み、選択した区間の数が0か判定し、0であればこれ以上細分化出来ない為、処理を終了する。   The frame correlation value is calculated for all the sections, and the calculation results are stored in association with the sections. Next, the process proceeds to step S502, and a section whose division section is longer than a certain threshold is selected as a subdivision-enabled section. In the present embodiment, the threshold value is a moving image frame period. However, it is not necessary to limit to this. Proceeding to step S503, it is determined whether the number of selected sections is 0. If it is 0, further subdivision cannot be performed, so the processing is terminated.

選択された区間が存在すれば、ステップS504に進み、その中から、相関が最低の区間を1つ選択し、ステップS505に進み、これを区間の中央で2分割する。次に、ステップS506に進み、ステップS501で示した方法と同様に、分割した2つの区間についてフレーム相関値を計算する。この時処理を高速に行なう工夫として、ステップS501およびステップS506の処理において、各フレーム画像から算出した画像特徴量(各区間に関してRGBの平均値)は既に算出したものをメモリにキャッシュしておき、これを再利用する事で、分割前の区間の最初と最後のフレームの特徴量は不要となる。新たに中央の画像の特徴量のみを算出して画像相関を求めるようにすればよい。計算結果は区間と対応づけてメモリに記憶しておく。   If the selected section exists, the process proceeds to step S504, and one section having the lowest correlation is selected from among the sections, and the process proceeds to step S505, which is divided into two at the center of the section. Next, it progresses to step S506 and calculates a frame correlation value about two divided | segmented areas similarly to the method shown by step S501. As a device for performing the processing at a high speed at this time, in the processing of step S501 and step S506, the image feature amount calculated from each frame image (average RGB value for each section) is cached in the memory. By reusing this, the feature quantities of the first and last frames of the section before division are not necessary. What is necessary is just to calculate only the feature-value of a center image newly, and to obtain | require image correlation. The calculation result is stored in the memory in association with the section.

次にステップS507に進み、終了条件を満たしたか判定する。これには、例えばステップS505の処理を行なうたびにインクリメントするカウンタを設け、2分割を実行した回数が予め定めた所定の数に達したら終了するようにする。また別の方法として、処理を開始する時に終了時刻を設定しておき、その時刻を過ぎたら終了するようにしてもよい。更に、その他の終了条件として、全区間の相関度の最低値が所定の閾値を上回るまで、或いは最長分割区間の長さが所定の長さを下回るまでのいずれか、または上記の条件のいずれかの組み合わせを終了条件としてもよい。   In step S507, it is determined whether the end condition is satisfied. For this purpose, for example, a counter that is incremented every time the process of step S505 is performed, and the process is terminated when the number of times of the division into two reaches a predetermined number. As another method, an end time may be set when starting the process, and the process may be ended when the time has passed. Furthermore, as another termination condition, either until the minimum value of the correlation degree of all sections exceeds a predetermined threshold, or until the length of the longest divided section falls below a predetermined length, or any of the above conditions A combination of the above may be used as the end condition.

また、ステップ506の終了時に表示処理を行い、図30に示すような区間毎の相関情報を表示してユーザが終了を指示する為の手がかりとなる様にしてもよい。図30において、601,602は動画の指定された範囲における動画の激しさの計算結果を示しているものである。プロット領域371の縦軸および横軸は図27と同じである。プロットされている線分は一次補完されていないため、水平になっており、各分割区間の境界で非連続となっている。602のように計算中の区間は他と区別できる様、太線で示している。またボタン603はステップ507における終了条件を真にする次ボタンである。図30において、計算中でない区間の601に示された線分付近をクリックすると、その区間を優先的に再分割してユーザの所望の区間の計算精度を高めていく事が出来る。この時の処理フローを図31に示す。   Alternatively, display processing may be performed at the end of step 506 to display correlation information for each section as shown in FIG. 30 to provide a clue for the user to instruct the end. In FIG. 30, reference numerals 601 and 602 indicate calculation results of the intensity of the moving image in the specified range of the moving image. The vertical and horizontal axes of the plot area 371 are the same as those in FIG. Since the plotted line segment is not linearly complemented, it is horizontal and discontinuous at the boundary of each divided section. A section being calculated like 602 is indicated by a thick line so that it can be distinguished from others. A button 603 is a next button for making the end condition in step 507 true. In FIG. 30, when the vicinity of the line segment indicated by 601 of the section not being calculated is clicked, the section can be pre-divided preferentially and the calculation accuracy of the user's desired section can be improved. The processing flow at this time is shown in FIG.

図31は図29のステップS504に入れ替わる部分のフローである。ステップS510で計算中でない区間の線分付近がクリックされていて、かつ、その区間が細分割可能であるか判定し、偽であれば図29のステップS504と同様な処理を行なうが、真の場合は、ステップS511に進み、指定された区間を選択して次の図29のステップS505に進む。   FIG. 31 is a flowchart of the part replaced with step S504 in FIG. In step S510, it is determined whether the area near the line segment not being calculated has been clicked and the section can be subdivided. If false, the same processing as in step S504 in FIG. In this case, the process proceeds to step S511, the designated section is selected, and the process proceeds to the next step S505 in FIG.

別の方法として、ステップS504における選択条件をもっとも長い区間を選択するようにしてもよい。この場合は全区間にわたってほぼ均等に細分割が進行していき、極を求めるまで多少時間がかかってしまう。しかし、長さの異なる区間の画像相関を単純に長さの2乗で割って比較する事による誤差を押さえる事が出来、相対的な動きの激しさが正確に求まるという利点がある。   As another method, the section with the longest selection condition in step S504 may be selected. In this case, the subdivision progresses almost uniformly over the entire section, and it takes some time to find the pole. However, it is possible to suppress an error caused by simply dividing the image correlation between sections having different lengths by the square of the length and comparing them, and there is an advantage that the intensity of relative movement can be accurately obtained.

以上のようにして細分割処理が完了すると、図11のステップS405〜S412が実行されて、連続静止画が出力されることになる。   When the subdivision processing is completed as described above, steps S405 to S412 in FIG. 11 are executed, and a continuous still image is output.

[印刷処理の詳細]
本実施形態の連続静止画像は、短冊状に切り取るためのミシン目が施された用紙上に印刷され、このミシン目に沿って短冊状に切り取られ、静止画像の側方に設けられた余白部を綴じしろとして用いて束ねられ、捲り動画の観察を可能とするものである。したがって、ミシン目が形成する短冊内の所定位置に再現性よく静止画像をプリントしないと、捲り動画を観察した場合に画像全体が移動してしまい、不自然になる。一般に、1枚の用紙上においては、印刷位置は比較的精度よく保たれる。しかしながら、本実施形態のように複数枚の用紙にまたがって連続静止画を印刷すると、異なる用紙間における全体の印刷位置のずれが問題となる。
[Details of print processing]
The continuous still image according to the present embodiment is printed on a sheet having a perforation for cutting into a strip shape, cut into a strip shape along the perforation, and a blank portion provided on the side of the still image. Are bound together as a binding margin, and a moving animation can be observed. Therefore, unless a still image is printed at a predetermined position in the strip formed by the perforation with good reproducibility, the entire image moves when a moving moving image is observed, which is unnatural. In general, the printing position is kept relatively accurately on one sheet of paper. However, when a continuous still image is printed across a plurality of sheets as in the present embodiment, there is a problem of deviation in the entire printing position between different sheets.

一般に、印刷位置精度は、用紙の搬送方向における搬送誤差の影響で、搬送方向の精度が低い。これに対して、搬送方向に直交する方向の印刷位置については、用紙ガイド等により比較的良好な精度が得られる。したがって、図12のように、連続静止画と余白部の並びが搬送方向に対して直行するようなレイアウトで印刷すると、ある用紙から得られた短冊状シートと、次の用紙から得られた短冊状シートとで、連続静止画の印刷位置が、左右方向よりも上下方向により大きくずれやすい事になる。このため、1枚の用紙から15枚の短冊状シートを得る本実施形態の捲り動画においては、15枚目と16枚目の短冊状シートの間、及び30枚目と31枚目の短冊状シートの間で連続静止画が上下方向に移動することになる。   Generally, the printing position accuracy is low due to the influence of a conveyance error in the paper conveyance direction. On the other hand, with respect to the printing position in the direction orthogonal to the transport direction, a relatively good accuracy can be obtained by a paper guide or the like. Accordingly, as shown in FIG. 12, when printing is performed in such a layout that the arrangement of continuous still images and margins is orthogonal to the transport direction, a strip-like sheet obtained from one sheet and a strip obtained from the next sheet With the sheet-like sheet, the printing position of the continuous still image is more easily shifted in the vertical direction than in the horizontal direction. For this reason, in the rolling animation of this embodiment in which 15 strip-like sheets are obtained from one sheet, the 15th and 16th strip-like sheets and the 30th and 31st strip-like sheets are used. The continuous still image moves up and down between the sheets.

本発明者らの実験によれば、捲り動画を観察する場合、連続静止画が左右方向にずれたときよりも上下方向にずれたときのほうが違和感が大きい。そこで、本実施形態では、上記ステップS167における印刷処理において、上下方向のずれを極力少なくするように静止画をレイアウトし、プリント出力する。以下、この点について説明する。   According to the experiments by the present inventors, when observing a moving video, the sense of discomfort is greater when the continuous still image is shifted in the vertical direction than when the continuous still image is shifted in the horizontal direction. Therefore, in the present embodiment, in the printing process in step S167, a still image is laid out and printed out so as to minimize the vertical shift. Hereinafter, this point will be described.

図13は本実施形態による連続静止画のプリント出力におけるレイアウトを説明する図である。図13に示されるように、本実施形態のプリント出力では、各短冊に連続静止画と綴じしろに利用可能な余白部とが設けられるが、連続静止画と余白部の並びが必ず搬送方向と同一方向となるようにする。上述したように、複数枚の用紙に記録を行う場合、搬送方向の印刷位置精度よりも搬送方向に直行する方向の印刷位置制度のほうが高精度である。したがって、図13に示すようなレイアウトで得られたプリント出力を、ミシン目に沿って分離し、得られた短冊状シートを束ねて捲り動画を観察した場合、静止画像の左右方向の移動は若干大きくなる可能性があるものの、静止画像の上下方向の位置は比較的高い精度で一致することになる。上述のように、連続的に静止画を捲って観察した場合には、横方向の移動よりも上下方向の移動のほうが違和感を覚えやすいので、上下方向の移動を極力抑えることにより、良好な捲り動画を観察できる短冊状シートをを提供することが可能となる。   FIG. 13 is a diagram for explaining a layout in print output of continuous still images according to the present embodiment. As shown in FIG. 13, in the print output of the present embodiment, each strip is provided with a continuous still image and a margin portion that can be used for binding, but the arrangement of the continuous still image and the margin portion is always in the transport direction. Make sure they are in the same direction. As described above, when recording on a plurality of sheets, the print position system in the direction orthogonal to the transport direction is more accurate than the print position accuracy in the transport direction. Therefore, when the print output obtained by the layout as shown in FIG. 13 is separated along the perforations, and the obtained strip-like sheets are bundled and the moving image is observed, the horizontal movement of the still image is slightly Although there is a possibility of increasing the size, the vertical positions of the still images coincide with each other with relatively high accuracy. As described above, when moving and observing still images continuously, moving in the vertical direction is more likely to feel uncomfortable than moving in the horizontal direction. It is possible to provide a strip-like sheet that allows observation of a moving image.

なお、横長で用紙が搬送される場合には、図12に示すようなレイアウトを用いることは、容易に理解されることである。従って、用紙の搬送方向が指定できる状況では、その搬送方向に応じて、適切な印刷レイアウトが自動的に選択されるように構成することが好ましい。すなわち、指定された搬送方向と用紙サイズを検出し、連続静止画と余白部が搬送方向に並ぶように印刷レイアウトを決定し、印刷処理をさせるように構成する。   Note that it is easy to understand that the layout shown in FIG. 12 is used when the paper is conveyed in landscape orientation. Therefore, in a situation where the paper transport direction can be specified, it is preferable that an appropriate print layout is automatically selected according to the transport direction. That is, the designated transport direction and paper size are detected, the print layout is determined so that the continuous still image and the blank portion are aligned in the transport direction, and the print process is performed.

以上のように本実施形態では、捲り動画を観察する際に左右方向よりも上下方向の印刷位置精度が高くなるように、連続静止画をレイアウトして印刷することが可能となる。   As described above, in the present embodiment, it is possible to lay out and print continuous still images so that the printing position accuracy in the vertical direction is higher than that in the horizontal direction when observing a moving video.

さらに、本実施形態のプリント出力では、連続静止画の印刷画質を向上するために、更なる工夫がなされている。インクジェット記録装置のように、用紙を搬送しながら、搬送方向と直行する方向に記録走査を繰り返して印刷を行う場合、搬送方向に関して、特に用紙の後端部において搬送誤差が生じやすく、画質が劣化する傾向にある。これは、用紙の後端部では用紙の押さえが甘くなり、搬送誤差が顕著になること、用紙が浮き易くなり、記録ヘッドと用紙との距離が変化するためである。   Furthermore, in the print output of the present embodiment, further improvements are made in order to improve the print image quality of continuous still images. When printing is performed by repeating recording scanning in the direction orthogonal to the transport direction while transporting the paper as in the case of an ink jet recording apparatus, a transport error is likely to occur particularly in the rear end of the paper in the transport direction, and the image quality deteriorates Tend to. This is because the sheet is softly pressed at the rear end portion of the sheet, the conveyance error becomes remarkable, the sheet easily floats, and the distance between the recording head and the sheet changes.

上述したように、用紙の搬送方向に沿って連続静止画と余白部が並ぶように配置すると、連続静止画と余白部のいずれか一方が用紙の後端部に位置するようになる。図14には、右綴じ用のレイアウトと印刷時における用紙の搬送方向が示されている。図14に示すようにレイアウトされた場合には、用紙搬送方向に対して用紙の後端部側に余白部がくるので、上記理由による連続静止画への悪影響はない。しかしながら、左綴じ用のレイアウトが指定された場合に、図15に示すように、余白部が連続静止画の左にくるように、連続静止画の記録位置を移動してレイアウトすると、用紙後端部側に連続静止画が配置されることになる。   As described above, when the continuous still image and the blank portion are arranged along the sheet conveyance direction, one of the continuous still image and the blank portion is positioned at the trailing edge of the sheet. FIG. 14 shows the layout for right binding and the paper transport direction during printing. In the case of the layout as shown in FIG. 14, since a blank portion is formed on the rear end side of the sheet in the sheet conveyance direction, there is no adverse effect on the continuous still image due to the above reason. However, when the layout for left binding is designated, as shown in FIG. 15, when the layout is moved and the recording position of the continuous still image is moved so that the margin portion is on the left of the continuous still image, the trailing edge of the paper A continuous still image is arranged on the part side.

これを解決するために、本実施形態では、右綴じ用のレイアウトでも左綴じ用のレイアウトでも、必ず余白部が用紙の後端部側に配置されるようにする。本実施形態では、図15のごとき左綴じ用の印刷レイアウトの全体を更に180度回転して、図16に示すような印刷レイアウトとすることで、これを実現する。   In order to solve this problem, in the present embodiment, the margin is always arranged on the rear end side of the sheet in both the right binding layout and the left binding layout. In the present embodiment, this is realized by further rotating the print layout for left binding as shown in FIG. 15 by 180 degrees to obtain a print layout as shown in FIG.

図17はこのプリント処理を説明するフローチャートである。ステップS168による印刷処理が開始されると、本処理が起動される。   FIG. 17 is a flowchart for explaining this print processing. When the printing process in step S168 is started, this process is started.

まず、ステップS301において印刷設定のレイアウト情報、すなわち設定されているレイアウトが左綴じ用であるか、右綴じ用であるかを示す情報が取得される。取得されたレイアウト情報が右綴じ用のレイアウトを表す場合、処理はステップS302からステップS304へ進み、図14に示すようなプリント出力がなされるように連続静止画をレイアウトする。そして、ステップS305へ進み、連続静止画のプリント出力を実行する。   First, in step S301, print setting layout information, that is, information indicating whether the set layout is for left binding or right binding is acquired. If the acquired layout information represents a layout for right binding, the process proceeds from step S302 to step S304, and a continuous still image is laid out so that a print output as shown in FIG. 14 is performed. Then, the process proceeds to step S305 to execute continuous still image print output.

一方、ステップS301で取得したレイアウト情報が左綴じ用のレイアウトを表す場合は、ステップS302からステップS303へ進む。ステップS303では、連続静止画の印刷位置を短冊の右側に移動させて図15のような状態とし、これを180度回転して図16に示す印刷レイアウトとする。そしてステップS305へ進み、連続静止画のプリント出力を実行する。この結果、図14と図16に示すように、用紙の後端部には必ず余白部が位置するようになり、連続静止画の画質の劣化を防止できる。   On the other hand, if the layout information acquired in step S301 represents a left-binding layout, the process advances from step S302 to step S303. In step S303, the continuous still image printing position is moved to the right side of the strip to a state as shown in FIG. 15, and this is rotated 180 degrees to obtain the print layout shown in FIG. In step S305, continuous still image printing is executed. As a result, as shown in FIGS. 14 and 16, a margin is always located at the trailing edge of the sheet, and deterioration of the image quality of continuous still images can be prevented.

なお、上記実施形態において、左綴じ用のレイアウトの場合に180度回転したレイアウトを用いるが、このような処理に限定されるものではない。必要なことは、搬送方向に沿って連続静止画と余白部が並ぶようにし、かつ搬送方向に関して用紙の後端側に余白部がくるように印刷レイアウトをすることである。   In the above embodiment, a layout rotated by 180 degrees is used in the case of the left binding layout, but the present invention is not limited to such a process. What is necessary is to perform a print layout so that a continuous still image and a blank portion are aligned in the transport direction, and the blank portion is on the rear end side of the sheet in the transport direction.

なお、ステップS163による印刷レイアウト表示では、常に連続静止画像が正位置となる用に表示する。従って、本実施形態において左綴じが設定されている場合であっても、連続静止画像が正位置となるように、すなわち図10Aに示すようにレイアウト表示をすることになる。   In the print layout display in step S163, a continuous still image is always displayed for the normal position. Therefore, even when left binding is set in this embodiment, the layout display is performed so that the continuous still image is in the normal position, that is, as shown in FIG. 10A.

以上説明したように、本実施形態によれば、印刷装置の特性に応じて印刷レイアウトを工夫したことにより、具体的には、搬送方向に沿って連続静止画と余白部が並ぶようにし、かつ搬送方向に関して用紙の後端側に余白部がくるような印刷レイアウトを採用したことにより、高品位な捲り動画を提供することが可能となった。   As described above, according to the present embodiment, by devising the print layout according to the characteristics of the printing apparatus, specifically, the continuous still image and the blank portion are arranged along the transport direction, and By adopting a print layout that has a margin on the trailing edge of the paper in the transport direction, it has become possible to provide a high-quality curling movie.

以上、本実施形態の印刷アプリケーションについて説明した。なお、上記実施形態においては、印刷処理アプリケーションがパーソナルコンピュータ等の情報処理装置上で動作するものとして説明したが、これに限られるものではなく、上記アプリケーションの持つ機能の全て或は一部がプリンタドライバ、デジタルビデオカメラ或はプリンタにおいて実現されてもよい。   The print application of this embodiment has been described above. In the above embodiment, the print processing application is described as operating on an information processing apparatus such as a personal computer. However, the present invention is not limited to this, and all or some of the functions of the application are printers. It may be realized in a driver, a digital video camera or a printer.

また、上記実施形態では、プリンタとしてインクジェットプリンタを想定したが、レーザプリンタ等の電子写真方式のプリンタであっても、感熱方式のプリンタでもかまわない。   In the above embodiment, an inkjet printer is assumed as the printer, but an electrophotographic printer such as a laser printer or a thermal printer may be used.

また、上記実施形態では、連続静止画の枚数は45枚で固定としたが、ユーザが任意に設定できるようにしてもよい。また、例えば用紙の向きでレイアウトが変わり、用紙1枚から取得できる短冊状シートの数が変化する場合は(例えば用紙を横向きで搬送し、図12のようなレイアウトを用いた場合は、用紙1枚から12枚しか短冊状シートをとることができない)、それに応じて連続静止画の全取得数を変更してもよい。例えば、図12のような印刷形態が指定された場合には、12×4=48枚としてもよい。   In the above embodiment, the number of continuous still images is fixed at 45, but may be arbitrarily set by the user. Also, for example, when the layout changes depending on the orientation of the paper and the number of strip-like sheets that can be acquired from one paper changes (for example, when the paper is conveyed sideways and the layout shown in FIG. 12 is used, the paper 1 Only 12 strip sheets can be taken from the sheet), and the total number of continuous still images may be changed accordingly. For example, when a printing form as shown in FIG. 12 is designated, 12 × 4 = 48 sheets may be used.

[短冊収容ケースについて]
次に、以上のようにしてプリント出力された連続静止画を含む、複数の短冊状シートを束ねて収容し、捲り動画を観察可能とするケースについて説明する。
[About strip case]
Next, a case will be described in which a plurality of strip-like sheets including a continuous still image printed out as described above are bundled and accommodated so that a moving animation can be observed.

図18は連続静止画がプリントされた短冊状シートを本実施形態のケースに束ねて収容した状態を示す図である。図18に示されるように、コの字状のケース部材400と、これに収容される短冊状シート群410と、ケース部材400と短冊状シート群410を束ねて、その状態を維持するための保持部材としての輪ゴム420を具備する。また、図19は、図18に示すように収容された短冊を連続的に捲ることにより、捲り動画を観察する様子を示した図である。図19では、左綴じ(右利き用)の状態が示されている。   FIG. 18 is a diagram showing a state in which strip-like sheets on which continuous still images are printed are bundled and accommodated in the case of this embodiment. 18, the U-shaped case member 400, the strip-shaped sheet group 410 accommodated in the U-shaped case member 400, and the case member 400 and the strip-shaped sheet group 410 are bundled to maintain the state. A rubber band 420 as a holding member is provided. FIG. 19 is a diagram showing a state in which a moving animation is observed by continuously rolling the accommodated strips as shown in FIG. FIG. 19 shows a state of left binding (for right-handed use).

図20は、本実施形態によるケースの組み立ての様子を説明する図である。ケース部材400は、柔軟で、透明もしくは半透明の材料からなり、略長方形の第1パネル401と、コの字状とした際に第1パネル401に対向する略長方形の第2パネル402、及び第1パネル401と第2パネル402を接続する第3パネル403を含んで構成される。図21に示すように、好ましくは第1〜第3パネルは一体のシートから形成され、点線で示した折り目線410により、第1〜第3パネルが形成される。図21に示すシートは、図20の(a)に示すように、折り目線410において折り曲げ可能に構成され、これにより第1〜第3パネル401〜403はコの字状に形成される。   FIG. 20 is a view for explaining how the case is assembled according to the present embodiment. The case member 400 is made of a flexible, transparent or translucent material, and includes a substantially rectangular first panel 401, a substantially rectangular second panel 402 that faces the first panel 401 when formed in a U-shape, and A third panel 403 connecting the first panel 401 and the second panel 402 is included. As shown in FIG. 21, the first to third panels are preferably formed from a single sheet, and the first to third panels are formed by crease lines 410 indicated by dotted lines. The sheet shown in FIG. 21 is configured to be bendable along the crease line 410 as shown in FIG. 20A, whereby the first to third panels 401 to 403 are formed in a U-shape.

次に、図20(b)に示されるように、第1パネル401と第2パネル402との間に、積み重ねられた短冊状シート群410(本例では45枚の短冊状シート)が挿入される。したがって、第3パネルの長さ(コの字状に形成した場合の高さ方向の長さ)は、短冊状シート45枚を重ねた厚みと同等とする。   Next, as illustrated in FIG. 20B, the stacked strip-shaped sheet group 410 (45 strip-shaped sheets in this example) is inserted between the first panel 401 and the second panel 402. The Therefore, the length of the third panel (the length in the height direction when formed in a U-shape) is set equal to the thickness of 45 sheets of strip-like sheets.

第1パネル401と第2パネル402の各長辺部上の、第3パネル403との接続部位側にはノッチ404が設けられている。これらのノッチ404は、第3パネル403との接続部位より等距離に設けられている。第1と第3パネル、及び第2と第3パネルのそれぞれがなす角度をほぼ直角としてコの字状にケース400を形成し、その中に短冊群410を入れ、ノッチ404に輪ゴム420をかけることにより、短冊を束ねた状態を維持する(図20(c)、(d))。   A notch 404 is provided on each long side portion of the first panel 401 and the second panel 402 on the connection site side with the third panel 403. These notches 404 are provided at an equal distance from the connection portion with the third panel 403. The case 400 is formed in a U-shape with the angles formed by the first and third panels and the second and third panels being substantially right angles, a strip group 410 is placed therein, and a rubber band 420 is placed on the notch 404. Thus, the state in which the strips are bundled is maintained (FIGS. 20C and 20D).

第1パネル401は連続静止画と接する上面パネルであり、第2パネル402は背表紙となるパネルである。第1パネル401と第2パネル402は、収容する短冊状シートよりも一回り大きいサイズを有する。これにより、短冊状シート群410に対する保護機能が提供される。   The first panel 401 is a top panel in contact with the continuous still image, and the second panel 402 is a panel serving as a back cover. The first panel 401 and the second panel 402 have a size that is slightly larger than the strip-shaped sheet to be accommodated. Thereby, the protection function with respect to the strip-shaped sheet group 410 is provided.

ところで、上面パネルとしての第1パネル401を収容する短冊状シートより大きくすると、連続的に捲ろうとした場合に、最初の方の短冊状シートが数枚同時に捲れてしまうという問題が生じる。そこで、本実施形態では、図22等に示されるように、収容している短冊が露出するように切り欠き405を設け、連続的に捲る際に、先頭の短冊状シートが指に接触するようにしてある。これにより、先頭の短冊状シートから確実に一枚ずつ捲れるようになる。切り欠き405の幅は、人間の指(親指)が短冊に触れて、自然に捲ることのできるような大きさとする。なお、切り欠き形状は、円弧形状に限定されるものではない。   By the way, if it is larger than the strip-shaped sheet that accommodates the first panel 401 as the top panel, there is a problem that several sheets of the first strip-shaped sheet are rolled simultaneously when trying to roll continuously. Therefore, in the present embodiment, as shown in FIG. 22 and the like, a notch 405 is provided so that the accommodated strip is exposed, and the leading strip-like sheet comes into contact with the finger when continuously curled. It is. As a result, the sheets can be rolled one by one from the leading strip-like sheet. The width of the cutout 405 is set to a size that allows a human finger (thumb) to touch the strip and naturally crawl. The notch shape is not limited to the arc shape.

また、短冊状シートにおいて、連続静止画の周りに縁が設けてある場合は、この縁部分のみが露出する程度の切り込み深さとするようにしてもよい(図22(b))。このようにすれば、連続静止画そのものは露出しないので、画像を確実に保護できる。   Further, in the strip-shaped sheet, when an edge is provided around the continuous still image, the cut depth may be such that only the edge portion is exposed (FIG. 22B). In this way, since the continuous still image itself is not exposed, the image can be reliably protected.

また、第2パネル402は背表紙となるパネルであるが、第1パネル401と同様に、短冊状シートよりも一回り大きいサイズを有するのが好ましい。このような第2パネル402を設けたことにより、短冊状シートを確実に保護するとともに、連続的な捲り操作をした場合に、最後のページまで確実に1枚ずつ捲ることを容易にする効果がある。すなわち、第2パネル402が存在しない場合、或は短冊状シートよりも小さい場合、最後の方で複数枚のページが同時に捲れてしまい、正しく捲り動画を観察できないという問題が生じが、本実施形態によれば、第2パネルを設けたことで、最終ページまで容易かつ確実に1枚ずつ捲ることができるようになるのである。   In addition, the second panel 402 is a panel serving as a back cover, but it is preferable that the second panel 402 has a size that is slightly larger than the strip-like sheet, like the first panel 401. By providing such a second panel 402, it is possible to reliably protect the strip-shaped sheet and to easily reliably roll one sheet at a time to the last page when a continuous turning operation is performed. is there. That is, when the second panel 402 does not exist or is smaller than the strip-like sheet, a plurality of pages are turned simultaneously at the end, and there is a problem that the moving image cannot be correctly observed. Therefore, by providing the second panel, it is possible to easily and reliably roll up one sheet at a time until the last page.

さらに、上述したノッチ404も、図22(c)に示すように、収容された短冊がわずかに露出する程度の深さを有することが望ましい。このようにノッチを形成することにより、ノッチ404によって輪ゴム420の位置がずれないようにするとともに、短冊状シートと輪ゴム420を接触させることにより、より良好かつ効果的に、短冊状シート群410の収容状態を維持できる。また、本実施形態の、輪ゴムによる保持機構によれば、極めて簡易な構成で、効果的に短冊群410を保持する保持手段を提供できる。更に、クリップのようなもので直接的に短冊状シート群を挟む場合には、クリップによって短冊状シートを傷める可能性がある。しかし、本実施形態によれば、ケースによって保護された状態で輪ゴム420をかけるので、短冊状シートを傷める心配はない。   Furthermore, it is desirable that the above-described notch 404 has a depth such that the accommodated strip is slightly exposed as shown in FIG. By forming the notches in this way, the position of the rubber band 420 is prevented from being shifted by the notches 404, and the strip-shaped sheet group 410 can be better and effectively brought into contact with each other by bringing the rubber sheet 420 into contact with each other. The accommodation state can be maintained. In addition, according to the holding mechanism using the rubber band of the present embodiment, it is possible to provide holding means for effectively holding the strip group 410 with a very simple configuration. Further, when the strip-shaped sheet group is directly sandwiched with a clip, the strip-shaped sheet may be damaged by the clip. However, according to this embodiment, since the rubber band 420 is applied while being protected by the case, there is no fear of damaging the strip-shaped sheet.

なお、各短冊状シートの、ケース部材400に収容した際のノッチ404に相当する位置に、ノッチを設けるようにしてもよい。これは例えば図24のような用紙を提供することで実現できる。この用紙は、ミシン目602上に、ノッチを形成する穴601が設けられる。このような構成の場合、輪ゴム420が、ケース部材のノッチ404と各短冊状シートのノッチにフィットし、収容した短冊状シートをより確実に保持することができる。   In addition, you may make it provide a notch in the position corresponded to the notch 404 when accommodated in the case member 400 of each strip-shaped sheet. This can be realized, for example, by providing a sheet as shown in FIG. This sheet is provided with a hole 601 for forming a notch on a perforation 602. In the case of such a configuration, the rubber band 420 fits into the notch 404 of the case member and the notch of each strip-shaped sheet, and can hold the accommodated strip-shaped sheet more reliably.

なお、複数の輪ゴムを用いて束ねられるように、複数組のノッチを設けてもよいことは明らかである。   Obviously, a plurality of sets of notches may be provided so as to be bundled using a plurality of rubber bands.

[他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
[Other Embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), or a device (for example, a copier, a facsimile device, etc.) including a single device. You may apply to.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

以上説明したように、本発明によれば、動画中の所望の範囲から所定枚数の静止画像を抽出するにあたり、動画の変化の激しさに応じて自動的にサンプリング密度を変化させることが可能となり、簡易な操作でユーザの要求にきめ細かく対応することが可能となる。簡易で直感的な編集操作によって視覚効果をますことができるようになる。   As described above, according to the present invention, in extracting a predetermined number of still images from a desired range in a moving image, it is possible to automatically change the sampling density according to the intensity of the change in the moving image. Therefore, it is possible to meticulously respond to the user's request with a simple operation. Visual effects can be increased by simple and intuitive editing operations.

本実施形態による画像形成システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming system according to an embodiment. 図1に示した画像形成システムの情報処理装置100を、ソフトウエア構成の観点から説明する図である。It is a figure explaining the information processing apparatus 100 of the image forming system shown in FIG. 1 from a viewpoint of a software configuration. 用紙選択画面が選択された状態において実行される処理を説明するフローチャートである。10 is a flowchart for explaining processing executed in a state where a paper selection screen is selected. 動画選択画面が選択された状態において実行される処理を説明するフローチャートである。It is a flowchart explaining the process performed in the state in which the moving image selection screen was selected. 範囲設定画面が選択された状態において実行される処理を説明するフローチャートである。It is a flowchart explaining the process performed in the state in which the range setting screen was selected. 印刷・保存画面が選択された状態において実行される処理を説明するフローチャートである。It is a flowchart explaining the process performed in the state in which the print / save screen is selected. 用紙選択画面の表示例を示す図である。FIG. 10 is a diagram illustrating a display example of a paper selection screen. 動画選択画面の表示例を示す図である。It is a figure which shows the example of a display of a moving image selection screen. 範囲設定画面の表示例を示す図である。It is a figure which shows the example of a display of a range setting screen. 範囲設定画面におけるプレビュー操作用インターフェースを示す図である。It is a figure which shows the interface for a preview operation in a range setting screen. 印刷・保存画面の表示例を示す図である。It is a figure which shows the example of a display of a printing / preservation | save screen. 印刷出力例を示す図である。It is a figure which shows the example of a print output. ステップS149、S162における静止画変換処理を更に詳細に説明するフローチャートである。It is a flowchart explaining still picture conversion processing in Steps S149 and S162 in further detail. 用紙搬送誤差による連続静止画像の印刷への影響を説明する図である。It is a figure explaining the influence on printing of a continuous still image by paper conveyance error. 用紙搬送誤差による連続静止画像の印刷への影響を説明する図である。It is a figure explaining the influence on printing of a continuous still image by paper conveyance error. 本実施形態による右綴じ用の印刷レイアウトを説明する図である。It is a figure explaining the print layout for right binding by this embodiment. 左綴じ用に印刷レイアウトした場合の問題を説明する図である。It is a figure explaining the problem at the time of carrying out the print layout for left binding. 本実施形態による左綴じ用の印刷レイアウトを説明する図である。It is a figure explaining the printing layout for left binding by this embodiment. 本実施形態による印刷レイアウトの処理を説明する図である。It is a figure explaining the process of the print layout by this embodiment. 連続静止画がプリントされた短冊状シートを本実施形態のケースに収容した状態を示す図である。It is a figure which shows the state which accommodated the strip-shaped sheet | seat in which the continuous still image was printed in the case of this embodiment. 本実施形態のケースに収容された短冊状シートにより、捲り動画を観察する様子を示す図である。It is a figure which shows a mode that a rolling animation is observed with the strip-shaped sheet accommodated in the case of this embodiment. 本実施形態によるケースの組み立て手順を説明する図である。It is a figure explaining the assembly procedure of the case by this embodiment. 本実施形態のケースの部材構成を示す図である。It is a figure which shows the member structure of the case of this embodiment. 本実施形態のケースにおける切り欠きの構成を示す図である。It is a figure which shows the structure of the notch in the case of this embodiment. 本実施形態において連続静止画を印刷するための用紙を示す図である。It is a figure which shows the paper for printing a continuous still image in this embodiment. 本実施形態において連続静止画を印刷するための用紙の別の形態を示す図である。It is a figure which shows another form of the paper for printing a continuous still image in this embodiment. 従来技術における連続静止画のプリント出力を示す図である。It is a figure which shows the print output of the continuous still image in a prior art. 図25に示すプリント出力より得られた短冊状シートを束ねて、捲り動画を観察する様子を示す図である。It is a figure which shows a mode that the strip-like sheet | seat obtained from the print output shown in FIG. 25 is bundled, and a turn animation is observed. 極の編集画面の表示例を示す図である。It is a figure which shows the example of a display of the edit screen of a pole. 極の編集画面の極間が補間される様子を示す図である。It is a figure which shows a mode that the space | interval of the pole edit screen is interpolated. ステップS404における分割点を細分化しながら各区間における動画の激しさを算出する処理を詳細に説明するフローチャートである。It is a flowchart explaining the process which calculates the intensity | strength of the moving image in each area in detail, subdividing the dividing point in step S404. ステップS404における画面表示の例を示す図である。It is a figure which shows the example of the screen display in step S404. ステップS504の他の例を示すフローチャートである。It is a flowchart which shows the other example of step S504. サンプリングポイントの決定方法を説明する図である。It is a figure explaining the determination method of a sampling point.

Claims (13)

動画データに基づいて複数の連続静止画像を出力する画像処理装置であって、
動画データを所定数の区間に分割し、各区間における画像の変化の度合いを算出する第1分割手段と、
各区間の画像の変化の度合いに基づいて選択された区間を更に分割して新たな区間を生成し、分割後の各区間について画像の変化の度合いを算出する第2分割手段と、
所定の終了条件を満たすまで前記第2分割手段を繰返し機能させ、得られた複数の区間のうちの最小の区間を単位として前記動画データを分割する第3分割手段と、
前記第3分割手段で得られた各区間について、動画の変化の度合いの推移を算出する算出手段と、
前記算出手段で算出された推移に基づいてフレーム抽出のサンプリング密度を変化させながらサンプリングポイントを決定し、所定数のフレームを抽出する抽出手段とを備えることを特徴とする画像処理装置。
An image processing apparatus that outputs a plurality of continuous still images based on moving image data,
First dividing means for dividing the moving image data into a predetermined number of sections and calculating the degree of change of the image in each section;
A second dividing means for further dividing the selected section based on the degree of image change in each section to generate a new section and calculating the degree of image change for each section after the division;
Third dividing means for repeatedly functioning the second dividing means until a predetermined end condition is satisfied, and dividing the moving image data in units of a minimum section among the obtained plurality of sections;
For each section obtained by the third dividing means, calculating means for calculating the transition of the degree of change of the moving image;
An image processing apparatus comprising: extraction means for determining a sampling point while changing a sampling density of frame extraction based on the transition calculated by the calculation means, and extracting a predetermined number of frames.
前記動画データは、与えられた動画データより所望の時間範囲を抽出して得られたものであることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the moving image data is obtained by extracting a desired time range from given moving image data. 前記第3分割手段における前記所定の終了条件とは、予め定められた所定の時間の経過、ユーザからの停止の指示、分割回数の所定回数への到達、相関度の最低値が所定の閾値を上回ること、最長分割区間の長さが所定の長さを下回ることのいずれか、またはいずれかの組み合わせであることを特徴とする請求項1記載の画像処理装置。   The predetermined end condition in the third dividing means is that a predetermined time elapses, a stop instruction from the user, reaching the predetermined number of divisions, and the minimum value of the correlation degree is a predetermined threshold value. The image processing apparatus according to claim 1, wherein the image processing apparatus is any one of exceeding, a length of the longest divided section being less than a predetermined length, or any combination thereof. 前記信号処理手段は、分割区間が一定の閾値より細かくなった区間を除外した各区間中の、最も相関度の低い区間を細かく分割して繰り返し処理を行なうことを特徴とする請求項1に記載の画像処理装置。   2. The signal processing unit according to claim 1, wherein the signal processing unit performs repeated processing by finely dividing a section having the lowest degree of correlation in each section excluding a section in which the divided section is finer than a certain threshold. Image processing apparatus. 動画データに基づいて、捲り動画として観察が可能な複数の連続静止画像を印刷することを特徴とする画像処理装置であって、前記生成手段で生成された静止画を印刷させる印刷制御手段をさらに備えることを特徴とする請求項1〜3記載の画像処理装置。   An image processing apparatus that prints a plurality of continuous still images that can be observed as a moving movie based on moving image data, further comprising: a print control unit that prints the still image generated by the generating unit The image processing apparatus according to claim 1, further comprising: 動画データに基づいて、捲り動画として観察が可能な複数の連続静止画像を印刷することを特徴とする画像処理装置であって、前記生成手段で生成された前記所定数の連続静止画を、前記動画データにおける出現順に切替え表示させる表示制御手段とをさらに備えることを特徴とする請求項4記載の画像処理装置。   An image processing apparatus that prints a plurality of continuous still images that can be observed as a moving video based on moving image data, wherein the predetermined number of continuous still images generated by the generating unit are 5. The image processing apparatus according to claim 4, further comprising display control means for switching and displaying in order of appearance in the moving image data. 前記算出手段で算出した動画の変化の度合いの推移を編集する編集手段を更に備えることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an editing unit that edits the transition of the degree of change of the moving image calculated by the calculating unit. 前記第2分割手段は、区間の始点及び終点のフレーム間の相関度が最低の区間を選択し、選択された区間を2等分することを特徴とする請求項1に記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the second dividing unit selects a section having the lowest degree of correlation between frames at the start point and end point of the section, and divides the selected section into two equal parts. 前記第2分割手段は、時間的に最長の区間を選択し、選択された区間を2等分することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second dividing unit selects the longest section in time and divides the selected section into two equal parts. 前記第2分割手段は、指示された区間を選択し、選択された区間を2等分することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second dividing unit selects an instructed section and divides the selected section into two equal parts. 動画データに基づいて複数の連続静止画像を出力する画像処理方法であって、
動画データを所定数の区間に分割し、各区間における画像の変化の度合いを算出する第1分割工程と、
各区間の画像の変化の度合いに基づいて選択された区間を更に分割して新たな区間を生成し、分割後の各区間について画像の変化の度合いを算出する第2分割工程と、
所定の終了条件を満たすまで前記第2分割工程を繰返し実行させ、得られた複数の区間のうちの最小の区間を単位として前記動画データを分割する第3分割工程と、
前記第3分割工程で得られた各区間について、動画の変化の度合いの推移を算出する算出工程と、
前記算出工程で算出された推移に基づいてフレーム抽出のサンプリング密度を変化させながらサンプリングポイントを決定し、所定数のフレームを抽出する抽出工程とを備えることを特徴とする画像処理方法。
An image processing method for outputting a plurality of continuous still images based on video data,
A first dividing step of dividing the moving image data into a predetermined number of sections and calculating a degree of change of an image in each section;
A second dividing step of further dividing the selected section based on the degree of change of the image of each section to generate a new section and calculating the degree of change of the image for each section after the division;
A third dividing step of repeatedly executing the second dividing step until a predetermined end condition is satisfied, and dividing the moving image data in units of a minimum of the obtained plurality of intervals;
For each section obtained in the third division step, a calculation step for calculating the transition of the degree of change of the video,
An image processing method comprising: an extraction step of determining a sampling point while changing a sampling density of frame extraction based on the transition calculated in the calculation step and extracting a predetermined number of frames.
請求項11に記載の画像処理方法をコンピュータに実行させるための制御プログラム。   A control program for causing a computer to execute the image processing method according to claim 11. 請求項11に記載の画像処理方法をコンピュータに実行させるための制御プログラムを格納した記憶媒体。   A storage medium storing a control program for causing a computer to execute the image processing method according to claim 11.
JP2003403740A 2003-12-02 2003-12-02 Image processor and method therefor Withdrawn JP2005167633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003403740A JP2005167633A (en) 2003-12-02 2003-12-02 Image processor and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003403740A JP2005167633A (en) 2003-12-02 2003-12-02 Image processor and method therefor

Publications (1)

Publication Number Publication Date
JP2005167633A true JP2005167633A (en) 2005-06-23

Family

ID=34726955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003403740A Withdrawn JP2005167633A (en) 2003-12-02 2003-12-02 Image processor and method therefor

Country Status (1)

Country Link
JP (1) JP2005167633A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013191063A1 (en) * 2012-06-18 2013-12-27 シャープ株式会社 Information processing device, method for controlling information processing device, output device, electronic machine, control program, and storage medium
JP2014002542A (en) * 2012-06-18 2014-01-09 Sharp Corp Information processing device, method for controlling information processing device, output device, electronic apparatus, control program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013191063A1 (en) * 2012-06-18 2013-12-27 シャープ株式会社 Information processing device, method for controlling information processing device, output device, electronic machine, control program, and storage medium
JP2014002542A (en) * 2012-06-18 2014-01-09 Sharp Corp Information processing device, method for controlling information processing device, output device, electronic apparatus, control program, and recording medium

Similar Documents

Publication Publication Date Title
US7426058B2 (en) Image processing method and apparatus for generating sequential still images by extracting still images from moving image data, and printing apparatus
US7561160B2 (en) Data editing program, data editing method, data editing apparatus and storage medium
US7929182B2 (en) Image processing apparatus, image processing method, program, and recording medium
US8218190B2 (en) Document processing apparatus and method
US8451490B2 (en) Printing control method
US7847806B2 (en) Image processing method, image processing apparatus, and printing apparatus
US8773460B2 (en) Information processing apparatus, information processing method, and information processing program for displaying a plurality of objects on an operation screen based on a drawing order of the plurity of objects
JP4468404B2 (en) Information processing apparatus control method, information processing apparatus, and program
EP1293885A2 (en) Information processing apparatus and method
US20050190405A1 (en) Document conversion method and apparatus
JP2009258966A (en) Display controller and display control method
JP2008187267A (en) Moving picture printer
JP2005167633A (en) Image processor and method therefor
JP2004064231A (en) Image processing method and apparatus
JP3768861B2 (en) Image processing method and apparatus, and printing apparatus
JP3768860B2 (en) Image processing method and apparatus, and printing apparatus
JP2004235889A (en) Image processor
JP2004173211A (en) Image processor
JP2004104679A (en) Method and device for image processing and printer
JP2003140869A (en) Image processing method and device and printing device
JP6003926B2 (en) Display control apparatus, printing apparatus, control method, and program
JP2003136874A (en) Case for turned-over moving images
KR200305950Y1 (en) Case for page-flipping moving images, and page-flipping moving image set
JP2003143514A (en) Case for moving image to be turned over and set of moving images to be turned over
JP2007086823A (en) Information processor, control method and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070206