Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4168938B2 - Image processing apparatus, image processing program, and image processing method - Google Patents
[go: Go Back, main page]

JP4168938B2 - Image processing apparatus, image processing program, and image processing method - Google Patents

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

Info

Publication number
JP4168938B2
JP4168938B2 JP2004013135A JP2004013135A JP4168938B2 JP 4168938 B2 JP4168938 B2 JP 4168938B2 JP 2004013135 A JP2004013135 A JP 2004013135A JP 2004013135 A JP2004013135 A JP 2004013135A JP 4168938 B2 JP4168938 B2 JP 4168938B2
Authority
JP
Japan
Prior art keywords
image
area
playback area
digital image
template
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.)
Expired - Fee Related
Application number
JP2004013135A
Other languages
Japanese (ja)
Other versions
JP2005208815A (en
Inventor
克己 駒ケ嶺
英和 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004013135A priority Critical patent/JP4168938B2/en
Publication of JP2005208815A publication Critical patent/JP2005208815A/en
Application granted granted Critical
Publication of JP4168938B2 publication Critical patent/JP4168938B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は画像処理装置、画像処理プログラム及び画像処理方法に関する。   The present invention relates to an image processing apparatus, an image processing program, and an image processing method.

ディジタル画像を印刷用紙やディスプレイなどの描画空間上に再生するレイアウトを定義するテンプレートが知られている。テンプレートには、具体的には例えば描画空間上の領域であってディジタル画像が割り付けられる再生領域を定義する情報、文字列が割り付けられる再生領域を定義する情報、再生領域の背景として再生されるディジタル画像(背景画像)を特定する情報などが定義されている。テンプレートは年賀状、誕生日、クリスマス、旅行などといったテーマに応じて予め用意され、ユーザはテンプレートを選択することによってディジタル画像を目的に応じたレイアウトで再生できる。   A template that defines a layout for reproducing a digital image on a drawing space such as a printing paper or a display is known. Specifically, the template includes, for example, information defining a reproduction area that is an area on the drawing space to which a digital image is allocated, information defining a reproduction area to which a character string is allocated, and digital that is reproduced as the background of the reproduction area Information for specifying an image (background image) is defined. Templates are prepared in advance according to themes such as New Year's cards, birthdays, Christmas, and travel, and the user can reproduce a digital image with a layout according to the purpose by selecting the template.

従来のテンプレートでは再生領域のアスペクト比が予め固定されている。このため再生領域に割り付けられるディジタル画像のアスペクト比と再生領域のアスペクト比とが一致しない場合、ディジタル画像を再生領域にどのように割り付けるかを何等かの方法で指定する必要がある。特許文献1にはディジタル画像のアスペクト比と再生領域のアスペクト比とが一致しない場合にどのように割り付けるかをテンプレート中に指定できる画像処理装置が開示されている。特許文献1に記載のプログラム編集装置(画像処理装置)では、ディジタル画像を再生領域に割り付ける方法をフィッティング規則として規定し、いずれかのフィッティング規則を設定プログラム(テンプレート)中に指定できるようにしている。   In the conventional template, the aspect ratio of the reproduction area is fixed in advance. For this reason, when the aspect ratio of the digital image assigned to the reproduction area does not match the aspect ratio of the reproduction area, it is necessary to specify how the digital image is assigned to the reproduction area by some method. Patent Document 1 discloses an image processing apparatus that can specify in a template how to allocate when the aspect ratio of a digital image and the aspect ratio of a reproduction area do not match. In the program editing apparatus (image processing apparatus) described in Patent Literature 1, a method for assigning a digital image to a reproduction area is defined as a fitting rule, and any one of the fitting rules can be specified in a setting program (template). .

特開2001−312390号公報JP 2001-31390 A

しかし、特許文献1のプログラム編集装置によると、再生の際にディジタル画像の一部が切り捨てられたり、再生領域に画像が割り付けられない領域が生じたりするという問題がある。ディジタル画像のアスペクト比と再生領域のアスペクト比とが一致しないとこのような問題が生じるため、ディジタル画像はそのアスペクト比が再生領域のアスペクト比に一致していることが望ましい。   However, according to the program editing apparatus of Patent Document 1, there is a problem that a part of a digital image is cut off during reproduction, or an area in which no image is allocated is generated in the reproduction area. Such a problem occurs when the aspect ratio of the digital image does not match the aspect ratio of the reproduction area. Therefore, it is desirable that the aspect ratio of the digital image matches the aspect ratio of the reproduction area.

トリミングを行うと任意のアスペクト比のディジタル画像を生成できる。この場合、ユーザがマウス操作でディジタル画像上のトリミング領域を選択できるようにすると、再生領域に割り付けられるトリミング領域(被再生領域)をユーザが自由に選択できる。
しかしながら、ユーザがマウス操作で被再生領域を選択する場合、再生領域のアスペクト比に一致するアスペクト比で被再生領域を選択することは容易ではない。
When trimming is performed, a digital image having an arbitrary aspect ratio can be generated. In this case, if the user can select the trimming area on the digital image by operating the mouse, the user can freely select the trimming area (reproduced area) allocated to the reproduction area.
However, when the user selects the playback area by operating the mouse, it is not easy to select the playback area with an aspect ratio that matches the aspect ratio of the playback area.

本発明は、かかる問題に鑑みて創作されたものであって、テンプレートで定義されている再生領域のアスペクト比と等しいアスペクト比の被再生領域を選択することを容易にする画像処理装置、画像処理プログラム及び画像処理方法を提供することを目的とする。   The present invention has been made in view of such a problem, and is an image processing apparatus and an image processing that make it easy to select a playback area having an aspect ratio equal to the aspect ratio of the playback area defined in the template. It is an object to provide a program and an image processing method.

上記目的を達成するため、本発明に係る画像処理装置は、ディジタル画像とディジタル画像が割り付けられる描画空間上の再生領域を定義する再生領域情報が格納されているテンプレートとを入力する入力手段と、前記入力手段により入力されたディジタル画像を表示する表示手段と、前記入力手段により入力されたテンプレートで定義されている再生領域の形状を表す枠を前記ディジタル画像上に表示し、前記枠を移動あるいは変形させて前記再生領域に割り付けられる被再生領域を選択するトリミング設定手段と、前記トリミング設定手段で選択された被再生領域に基づいて所定の処理を実行する処理手段と、を備えることを特徴とする。この画像処理装置によると、テンプレートで定義されている再生領域の形状を表す枠がディジタル画像上に表示されるため、テンプレートで定義されている再生領域のアスペクト比と等しいアスペクト比の被再生領域を容易に選択できる。   In order to achieve the above object, an image processing apparatus according to the present invention includes an input means for inputting a digital image and a template storing reproduction area information defining a reproduction area on a drawing space to which the digital image is allocated, Display means for displaying the digital image input by the input means, and a frame representing the shape of the reproduction area defined by the template input by the input means are displayed on the digital image, and the frame is moved or Trimming setting means for selecting a playback area to be deformed and allocated to the playback area; and processing means for executing a predetermined process based on the playback area selected by the trimming setting means, To do. According to this image processing apparatus, since a frame representing the shape of the playback area defined in the template is displayed on the digital image, a playback area having an aspect ratio equal to the aspect ratio of the playback area defined in the template is displayed. Easy to select.

さらに本発明に係る画像処理装置では、前記処理手段は、前記ディジタル画像を特定する情報と前記トリミング設定手段で選択された被再生領域を前記ディジタル画像の座標系で定義する被再生領域情報とを前記再生領域情報に関連付けて前記テンプレートに格納し、格納後の前記テンプレートを出力することを特徴とする。この画像処理装置によると、出力されたテンプレートに基づいて被再生領域を特定できるため、テンプレートとディジタル画像とを配布された側ではテンプレートに基づいて被再生領域を特定して再生領域に割り付けて再生することができる。この場合、トリミングされていないディジタル画像が配布されるため、配布された側では必要であればテンプレートを用いずディジタル画像の全体を再生することもできる。従って配布された側の利便性が向上する。   Further, in the image processing apparatus according to the present invention, the processing means includes information for specifying the digital image and playback area information for defining the playback area selected by the trimming setting means in the coordinate system of the digital image. The template is stored in the template in association with the reproduction area information, and the template after storage is output. According to this image processing apparatus, the playback area can be specified based on the output template. Therefore, on the side where the template and the digital image are distributed, the playback area is specified based on the template and assigned to the playback area for playback. can do. In this case, an untrimmed digital image is distributed, and the distributed side can reproduce the entire digital image without using a template if necessary. Therefore, the convenience of the distribution side is improved.

さらに本発明に係る画像処理装置では、前記再生領域情報は、ディジタル画像を再生する向きを定義する方向情報を更に含み、前記表示手段は、方向情報で定義されている向きに応じて前記ディジタル画像を回転させて表示することを特徴とする。この画像処理装置によると、方向情報に応じてディジタル画像を回転させるため、再生した際に縦横がずれてしまうことを防止できる。   Furthermore, in the image processing apparatus according to the present invention, the reproduction area information further includes direction information that defines a direction in which the digital image is reproduced, and the display means is configured to display the digital image according to the direction defined by the direction information. It is characterized by rotating and displaying. According to this image processing apparatus, since the digital image is rotated in accordance with the direction information, it is possible to prevent the vertical and horizontal shifts during reproduction.

さらに本発明に係る画像処理装置では、前記トリミング設定手段は、前記枠のアスペクト比を変更したとき、前記再生領域の全域に画像が割り付けられ且つ前記再生領域からはみ出す領域が最小になるように前記被再生領域が表す画像を拡大あるいは縮小した場合に前記再生領域からはみ出す前記画像上の領域をディジタル画像上で視認可能に表示することを特徴とする。この画像処理装置によると、再生領域の全域に画像が割り付けられ且つ再生領域からはみ出す領域が最小になるように被再生領域が表す画像を拡大あるいは縮小して割り付ける場合に、再生領域からはみ出す領域を再生前に確認できる。従って被再生領域を適切に選択できる。   Furthermore, in the image processing apparatus according to the present invention, the trimming setting unit is configured so that when the aspect ratio of the frame is changed, an image is assigned to the entire reproduction area and an area protruding from the reproduction area is minimized. When the image represented by the playback area is enlarged or reduced, the area on the image that protrudes from the playback area is displayed so as to be visible on the digital image. According to this image processing apparatus, when an image represented by a playback area is enlarged or reduced so that an image is allocated to the entire playback area and the area protruding from the playback area is minimized, the area protruding from the playback area is determined. Can be confirmed before playback. Therefore, it is possible to appropriately select the playback area.

さらに本発明に係る画像処理装置では、前記枠が所定の倍率以下まで縮小されると警告を発する警告手段を更に備えることを特徴とする。この画像処理装置によると、再生の際に被再生領域が過度に拡大されて画質が低下することを再生前に知ることができる。
さらに本発明に係る電子機器では、前記表示手段は、ディジタル画像と、前記再生領域を描画空間上に配置した状態を表すレイアウト画像とを同時に表示し、選択されている被再生領域が表す画像を前記レイアウト画像上の前記再生領域に合成表示することを特徴とする。この画像処理装置によると、再生領域に割り付けられた結果を確認しながら被再生領域を選択することができるため、被再生領域の選択が容易になる。
Furthermore, the image processing apparatus according to the present invention further includes warning means for issuing a warning when the frame is reduced to a predetermined magnification or less. According to this image processing apparatus, it is possible to know before reproduction that an area to be reproduced is excessively enlarged during reproduction and the image quality is lowered.
Furthermore, in the electronic device according to the present invention, the display means simultaneously displays a digital image and a layout image representing a state in which the reproduction area is arranged on the drawing space, and displays an image represented by the selected reproduction area. The composite image is displayed in the reproduction area on the layout image. According to this image processing apparatus, the playback area can be selected while confirming the result assigned to the playback area, so that the playback area can be easily selected.

尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。
また、本発明は装置の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても、方法の発明としても特定することができる。
The functions of the plurality of means provided in the present invention are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other.
The present invention can be specified not only as an apparatus invention but also as a program invention, a recording medium recording the program, and a method invention.

以下、本発明を実施するための最良の形態を実施例に基づいて説明する。
図2は、本発明の一実施例に係る画像処理装置としてのパーソナルコンピュータ(PC)1のハードウェア構成を示すブロック図である。PC1は、CPU11、ROM12、RAM13、操作部14、表示装置15、外部記憶装置16、及びデバイスインタフェース(I/F)17を備え、これらはバス18で相互に接続されている。操作部14はマウスやキーボードなどで構成され、トリミング設定手段として機能する。表示装置15はCRTやLCDなどのディスプレイやディスプレイコントローラなどで構成され、表示手段及び警告手段として機能する。入力手段としての外部記憶装置16はハードディスク、フレキシブルディスク、リムーバブルメモリ、CD−ROMなどの記録媒体を利用する記憶装置であり、記録媒体に記憶されているデータを読み込むことでデータを入力する。本実施例の外部記憶装置16はハードディスクを利用するものであり、ハードディスクにはオペレーティングシステム(OS)、画像処理プログラム、一つ以上のディジタル画像、一つ以上のテンプレート、その他各種のプログラムやデータなどが記憶されている。なお、ネットワークインタフェースを備え、通信ネットワークに接続されている所定のサーバから通信ネットワークを介してデータを入力するようにしてもよい。デバイスI/F17はRS−232C、USB、Bluetoothなどの通信規格に準拠して構成されており、プリンタ2に通信可能に接続されている。CPU11はROM12や外部記憶装置16に記憶されているプログラムを実行してPC1の全体を制御する。また、CPU11は外部記憶装置16に記憶されている画像処理プログラムを実行することで入力手段、表示手段、トリミング設定手段、処理手段、及び警告手段としても機能する。ROM12は各種のプログラムやデータを予め記憶しているメモリであり、RAM13は各種のプログラムやデータを一時的に記憶するメモリである。これら各種のプログラムやデータは所定のサーバから通信ネットワークを介してダウンロードして入力してもよいし、リムーバブルメモリ等のコンピュータ読み取り可能な記録媒体から読み出して入力してもよい。
Hereinafter, the best mode for carrying out the present invention will be described based on examples.
FIG. 2 is a block diagram showing a hardware configuration of a personal computer (PC) 1 as an image processing apparatus according to an embodiment of the present invention. The PC 1 includes a CPU 11, a ROM 12, a RAM 13, an operation unit 14, a display device 15, an external storage device 16, and a device interface (I / F) 17, which are connected to each other via a bus 18. The operation unit 14 includes a mouse and a keyboard and functions as a trimming setting unit. The display device 15 includes a display such as a CRT or LCD, a display controller, and the like, and functions as a display unit and a warning unit. The external storage device 16 as an input means is a storage device using a recording medium such as a hard disk, a flexible disk, a removable memory, a CD-ROM, etc., and inputs data by reading data stored in the recording medium. The external storage device 16 of the present embodiment uses a hard disk, and the hard disk includes an operating system (OS), an image processing program, one or more digital images, one or more templates, and various other programs and data. Is remembered. Note that data may be input via a communication network from a predetermined server provided with a network interface and connected to the communication network. The device I / F 17 is configured in conformity with a communication standard such as RS-232C, USB, or Bluetooth, and is connected to the printer 2 so as to be communicable. The CPU 11 controls the entire PC 1 by executing a program stored in the ROM 12 or the external storage device 16. The CPU 11 also functions as an input unit, a display unit, a trimming setting unit, a processing unit, and a warning unit by executing an image processing program stored in the external storage device 16. The ROM 12 is a memory that stores various programs and data in advance, and the RAM 13 is a memory that temporarily stores various programs and data. These various programs and data may be downloaded and input from a predetermined server via a communication network, or may be read and input from a computer-readable recording medium such as a removable memory.

次に、テンプレートについて説明する。
図3(A)はテンプレートを示す模式図であり、図3(B)はテンプレートで定義されている背景画像を示す模式図である。テンプレート21には、例えば描画空間のサイズ(例えば「ハガキ」)、描画空間の向きを規定する情報(例えば「縦長」)、ディジタル画像が割り付けられる描画空間上の再生領域を定義する再生領域情報(例えば右上座標「(X1,Y1)」と枠の左下座標「(X2,Y2)」)、ディジタル画像を再生する向きを定義する方向情報(例えば「縦」)、描画空間上の再生領域以外の領域に背景として割り付けられる背景画像を特定する情報(例えば「年賀状背景1.eff」)が格納されている。方向情報は再生領域情報に含まれているものとする。再生領域情報以外の情報についてはテンプレート21に含めるか否かは適宜選択可能である。なお、本実施例では矩形の再生領域を例に説明するが、再生領域の形状は数値で規定できる形状であれば任意の形状であってよく、例えば円、楕円、三角、菱形などであってもよい。
Next, the template will be described.
FIG. 3A is a schematic diagram showing a template, and FIG. 3B is a schematic diagram showing a background image defined by the template. The template 21 includes, for example, a drawing space size (for example, “postcard”), information for defining the direction of the drawing space (for example, “vertically long”), and reproduction area information for defining a reproduction area on the drawing space to which a digital image is assigned ( For example, the upper right coordinates “(X1, Y1)” and the lower left coordinates “(X2, Y2)”), direction information (for example, “vertical”) that defines the direction in which the digital image is reproduced, and other than the reproduction area in the drawing space Information (for example, “New Year's card background 1.eff”) specifying a background image assigned to the area as a background is stored. It is assumed that the direction information is included in the reproduction area information. Whether information other than the reproduction area information is included in the template 21 can be selected as appropriate. In this embodiment, a rectangular reproduction area will be described as an example. However, the reproduction area may have any shape as long as it can be specified by a numerical value, for example, a circle, an ellipse, a triangle, a rhombus, etc. Also good.

次に、画像処理プログラムについて説明する。
図4は、画像処理プログラムの論理的な構成を示すブロック図である。画像処理プログラムは、表示部31、トリミング設定部32、警告部33、及び処理部34を備える。
表示部31は、ディジタル画像及びレイアウト画像を表示装置15に表示する処理などを行う。具体的には、トリミング設定画面41(図5参照)を表示装置15に表示する処理、外部記憶装置16に記憶されているディジタル画像を選択するためのメニューを表示する処理、選択されたディジタル画像をトリミング設定画面41に表示する処理、レイアウト確認画面42(図5参照)を表示装置15に表示する処理、外部記憶装置16に記憶されているテンプレートを選択するためのメニューを表示する処理、選択されたテンプレートを解釈してレイアウト画像を生成し、生成したレイアウト画像をレイアウト確認画面42に表示する処理などを行う。また、表示部31は、トリミング設定部32で被再生領域が選択されると、選択されている被再生領域が表す画像をレイアウト画像上の再生領域に合成表示する処理も行う。
Next, the image processing program will be described.
FIG. 4 is a block diagram showing a logical configuration of the image processing program. The image processing program includes a display unit 31, a trimming setting unit 32, a warning unit 33, and a processing unit 34.
The display unit 31 performs processing for displaying a digital image and a layout image on the display device 15. Specifically, processing for displaying the trimming setting screen 41 (see FIG. 5) on the display device 15, processing for displaying a menu for selecting a digital image stored in the external storage device 16, and the selected digital image Is displayed on the trimming setting screen 41, the layout confirmation screen 42 (see FIG. 5) is displayed on the display device 15, and the menu for selecting a template stored in the external storage device 16 is displayed. The generated template is interpreted to generate a layout image, and the generated layout image is displayed on the layout confirmation screen 42. Further, when the playback area is selected by the trimming setting section 32, the display unit 31 also performs a process of combining and displaying the image represented by the selected playback area in the playback area on the layout image.

図5は、表示部31によって表示される画面を示す模式図である。
トリミング設定画面41は、ディジタル画像43を表示する画像領域44と、各種のメニューが表示されるメニュー領域45とを備えている。メニュー領域45の[ファイル]メニューをマウスでクリックするとディジタル画像を選択するためのメニュー項目とテンプレートを選択するためのメニュー項目とを含むプルダウンメニューが表示され、ユーザは当該メニューをマウスで操作することによりディジタル画像及びテンプレートを選択できる。ディジタル画像を選択すると画像領域44に当該ディジタル画像43が表示される。テンプレートを選択するとレイアウト確認画面42が表示される。図5に示すトリミング設定画面41では、方向情報に「縦」が定義されている場合を示している。方向情報に「横」が定義されている場合はテンプレートが選択された時点でディジタル画像43は右90度回転されて横置きで表示される。方向情報に応じてディジタル画像を回転させると、再生した際に縦横がずれてしまうことを防止できる。
FIG. 5 is a schematic diagram showing a screen displayed by the display unit 31.
The trimming setting screen 41 includes an image area 44 for displaying the digital image 43 and a menu area 45 for displaying various menus. When the [File] menu in the menu area 45 is clicked with the mouse, a pull-down menu including a menu item for selecting a digital image and a menu item for selecting a template is displayed, and the user operates the menu with the mouse. Allows selection of digital images and templates. When a digital image is selected, the digital image 43 is displayed in the image area 44. When a template is selected, a layout confirmation screen 42 is displayed. The trimming setting screen 41 shown in FIG. 5 shows a case where “vertical” is defined in the direction information. When “horizontal” is defined in the direction information, when the template is selected, the digital image 43 is rotated 90 degrees right and displayed horizontally. When the digital image is rotated according to the direction information, it is possible to prevent the vertical and horizontal directions from being shifted during reproduction.

レイアウト確認画面42は、レイアウト画像領域46を備えている。レイアウト画像領域46には、トリミング設定画面41で選択したテンプレートに基づいて、再生領域を描画空間上に配置した状態を表すレイアウト画像47が表示される。
図4に示すトリミング設定部32は、選択されたテンプレートで定義されている再生領域の形状を表す枠をトリミング設定画面41に表示する処理、表示している枠を移動あるいは変形させて再生領域に割り付けられる被再生領域を選択する処理、枠のアスペクト比を変更したとき再生領域からはみ出す領域を視認可能に表示する処理などを行う。
The layout confirmation screen 42 includes a layout image area 46. In the layout image area 46, based on the template selected on the trimming setting screen 41, a layout image 47 representing a state in which the reproduction area is arranged in the drawing space is displayed.
The trimming setting unit 32 shown in FIG. 4 displays a frame representing the shape of the reproduction area defined by the selected template on the trimming setting screen 41, and moves or deforms the displayed frame to the reproduction area. A process for selecting a playback area to be allocated, a process for displaying an area that protrudes from the playback area when the aspect ratio of the frame is changed, and the like are performed.

図1は、再生領域の形状を表す枠を説明するための模式図である。選択されているテンプレートの再生領域情報に縦横比(アスペクト比)が例えば3:4の矩形の再生領域が定義されているとする。ここで縦横比とは縦幅(=Y2−Y1)と横幅(=X2−X1)との比のことをいう。この場合、表示部31はアスペクト比が3:4の矩形の枠48をディジタル画像43上に表示する。従って、表示直後の枠48はテンプレートで定義されている再生領域の形状を表していることになる。枠48を移動させる場合、ユーザは枠48にマウスポインタ51を合わせてマウスの左ボタンをクリックし、クリックしたままマウスを移動させる操作を行う。この操作が行われるとOSからトリミング設定部32へ当該操作に応じたイベントの発生が通知され、当該イベントが発生するとトリミング設定部32は枠48をマウスの移動量に応じて移動させる。これにより表示装置15上で枠48が移動する。枠48を変形させる場合、ユーザは所定のキーを押下した状態で移動と同じ操作を行う。この場合も当該操作に応じたイベントの発生が通知され、トリミング設定部32はマウスの移動量に応じて枠48を変形する。これによりマウスの移動量に応じて表示装置15上で枠48が変形する。枠48を変形させる場合、枠48の四隅にマウスポインタ51を合わせて操作が行われたときは枠48を縦横等倍に変形させる。この場合は枠48のアスペクト比は変化せず枠48は拡大あるいは縮小されることになる。一方、四隅以外の場合は縦横等倍ではなく枠48を任意のアスペクト比に変形させる。移動あるいは変形させた後の枠48で特定される領域がそのとき選択されている被再生領域となる。前述した表示部31は、トリミング設定部32によって被再生領域の選択が行われる度に選択されている被再生領域が表す画像をレイアウト画像47上の再生領域50に合成して表示する。なお、枠を回転させることを可能にしてもよいし、四角の枠を菱形にするような変形を可能にしてもよい。   FIG. 1 is a schematic diagram for explaining a frame representing the shape of the reproduction area. It is assumed that a rectangular playback area having an aspect ratio (aspect ratio) of, for example, 3: 4 is defined in the playback area information of the selected template. Here, the aspect ratio means the ratio of the vertical width (= Y2-Y1) to the horizontal width (= X2-X1). In this case, the display unit 31 displays a rectangular frame 48 with an aspect ratio of 3: 4 on the digital image 43. Therefore, the frame 48 immediately after display represents the shape of the reproduction area defined in the template. When moving the frame 48, the user places the mouse pointer 51 on the frame 48, clicks the left button of the mouse, and performs an operation of moving the mouse while clicking. When this operation is performed, the OS notifies the trimming setting unit 32 of the occurrence of an event corresponding to the operation, and when the event occurs, the trimming setting unit 32 moves the frame 48 according to the amount of movement of the mouse. As a result, the frame 48 moves on the display device 15. When the frame 48 is deformed, the user performs the same operation as the movement while pressing a predetermined key. Also in this case, the occurrence of an event corresponding to the operation is notified, and the trimming setting unit 32 deforms the frame 48 according to the amount of movement of the mouse. As a result, the frame 48 is deformed on the display device 15 in accordance with the amount of movement of the mouse. When the frame 48 is deformed, when the operation is performed with the mouse pointer 51 placed at the four corners of the frame 48, the frame 48 is deformed in the same size. In this case, the aspect ratio of the frame 48 does not change, and the frame 48 is enlarged or reduced. On the other hand, in a case other than the four corners, the frame 48 is deformed to an arbitrary aspect ratio instead of the vertical / horizontal magnification. The area specified by the frame 48 after being moved or deformed is the playback area selected at that time. The display unit 31 described above synthesizes and displays the image represented by the playback area selected by the trimming setting unit 32 on the playback area 50 on the layout image 47 every time the playback area is selected. It should be noted that the frame may be allowed to rotate, or a modification may be made such that the square frame is formed into a rhombus.

図6は、再生領域からはみ出す領域を視認可能に表示した状態を示す模式図である。前述したようにトリミング設定部32は枠48の変形も受け付けるため、ユーザによって枠48のアスペクト比が変更される場合がある。しかしながら、再生領域のアスペクト比は一定である。このため、枠48のアスペクト比を変更したとき被再生領域を再生領域にどのように割り付けるかを予め決めておく必要がある。例えば図6は枠48が縦長に変形された場合を示している。縦長の被再生領域を相対的に横長の再生領域に割り付ける場合、被再生領域の全体が再生されるように再生領域に割り付けて再生すると、再生領域において割り付けられた画像の右辺と再生領域の右辺との間、及び割り付けられた画像の左辺と再生領域の左辺との間に画像が割り付けられない領域が生じてしまう。そこで、本実施例では再生領域の全域に画像が割り付けられ且つ再生領域からはみ出す領域が最小になるように被再生領域が表す画像を拡大あるいは縮小して割り付けるものとする。具体的には、図6に示す例の場合であれば、被再生領域が表す画像の中心と再生領域の中心とが一致するように配置した状態で、被再生領域が表す画像の右辺が再生領域の右辺に、且つ被再生領域が表す画像の左辺が再生領域の左辺に重なるように縦横等倍に拡大、あるいは縮小して再生するものとする。このように再生すると被再生領域が表す画像の上側と下側とが再生領域からはみ出してしまうため被再生領域が表す画像の上側の一部と下側の一部とが再生されなくなるが、そのかわり再生領域の全体に画像を割り付けることができ、また、はみ出す領域を最小にできる。トリミング設定部32は、枠48のアスペクト比を変更したとき、再生領域からはみ出す領域をディジタル画像上で網掛け表示する。この結果、ユーザはアスペクト比を変更する操作を行ったとき、どの領域がはみ出すかを視認できる。従って再生領域からはみ出す領域を確認しながら枠48のアスペクト比を変更でき、アスペクト比を変更した場合の再生結果を再生を行うことなく知ることができる。レイアウト確認画面42の再生領域50には被再生領域が上述したように割り付けられて合成表示される。   FIG. 6 is a schematic diagram showing a state in which an area protruding from the reproduction area is displayed so as to be visible. As described above, since the trimming setting unit 32 also accepts deformation of the frame 48, the aspect ratio of the frame 48 may be changed by the user. However, the aspect ratio of the playback area is constant. For this reason, when the aspect ratio of the frame 48 is changed, it is necessary to determine in advance how to allocate the playback area to the playback area. For example, FIG. 6 shows a case where the frame 48 is deformed vertically. When assigning a vertically long playback area to a relatively horizontally long playback area, if the playback area is assigned to the playback area so that the entire playback area is played back, the right side of the playback area and the right side of the playback area And an area in which no image is allocated occurs between the left side of the allocated image and the left side of the reproduction area. Therefore, in this embodiment, it is assumed that the image represented by the playback area is allocated by enlarging or reducing the image so that the image is allocated to the entire playback area and the area protruding from the playback area is minimized. Specifically, in the case of the example shown in FIG. 6, the right side of the image represented by the playback area is played back in a state where the center of the image represented by the playback area is aligned with the center of the playback area. It is assumed that reproduction is performed by enlarging or reducing the image in the vertical and horizontal directions so that the right side of the area and the left side of the image represented by the reproduction area overlap the left side of the reproduction area. When played back in this way, the upper and lower sides of the image represented by the playback area will protrude from the playback area, so that the upper part and the lower part of the image represented by the playback area will not be played back. Instead, an image can be assigned to the entire reproduction area, and the area that protrudes can be minimized. When the aspect ratio of the frame 48 is changed, the trimming setting unit 32 displays an area that protrudes from the reproduction area by shading on the digital image. As a result, when the user performs an operation to change the aspect ratio, it is possible to visually recognize which area protrudes. Therefore, it is possible to change the aspect ratio of the frame 48 while checking the area protruding from the reproduction area, and to know the reproduction result when the aspect ratio is changed without performing reproduction. In the playback area 50 of the layout confirmation screen 42, the playback area is assigned and displayed as described above.

警告部33は、枠48が所定の倍率以下まで縮小されると警告を発する。選択された被再生領域が表す画像は再生時に拡大あるいは縮小されて再生領域に割り付けられる。その場合、拡大する倍率が大きすぎると再生したときの画質が著しく低下する。このため警告部33は、枠48が変形される度に拡大しなければならない倍率を計算し、ある倍率以上になるときは表示装置15に警告ダイアログを表示する。特許請求の範囲に記載の所定の倍率とは、表示直後の枠48の大きさと、被再生領域が表す画像を前述したある倍率以上に拡大しなければならなくなるまで縮小したときの枠48の大きさとの比のことをいう。例えば表示直後の枠48の面積を1とし、被再生領域が表す画像をある倍率以上に拡大しなければならなくなるまで枠48を縮小したときの面積を0.5とした場合、面積比で枠48の大きさが0.5倍以下まで縮小されると警告が表示されることになる。   The warning unit 33 issues a warning when the frame 48 is reduced to a predetermined magnification or less. The image represented by the selected playback area is enlarged or reduced during playback and assigned to the playback area. In that case, if the enlargement magnification is too large, the image quality at the time of reproduction is significantly lowered. For this reason, the warning unit 33 calculates the magnification that must be enlarged each time the frame 48 is deformed, and displays a warning dialog on the display device 15 when the frame 48 exceeds a certain magnification. The predetermined magnification set forth in the claims refers to the size of the frame 48 immediately after display and the size of the frame 48 when the image represented by the area to be reproduced is reduced to be larger than the above-described certain magnification. This is the ratio of For example, assuming that the area of the frame 48 immediately after display is 1, and the area when the frame 48 is reduced to 0.5 until the image represented by the region to be reproduced has to be enlarged to a certain magnification or more is 0.5, When the size of 48 is reduced to 0.5 times or less, a warning is displayed.

図7は、警告部33が表示する警告ダイアログを示す模式図である。ユーザは図示する警告ダイアログ52が表示されることで再生時に画質が低下する可能性があることを再生する前に知ることができる。なお、例えば警告を案内する音声が録音された音声データを再生して警告してもよいし、枠48を点滅させて警告してもよい。警告の方法は適宜選択可能な設計事項である。   FIG. 7 is a schematic diagram showing a warning dialog displayed by the warning unit 33. The user can know before reproduction that the image quality may be deteriorated during reproduction by displaying the illustrated warning dialog 52. It should be noted that, for example, the warning data may be reproduced by reproducing the voice data in which the voice for guiding the warning is recorded, or the warning may be performed by blinking the frame 48. The warning method is a design item that can be selected as appropriate.

処理部34は、トリミング設定部32で選択された被再生領域に基づいて所定の処理を実行する。本実施例の処理部34は、具体的には選択されたディジタル画像を特定する情報と、トリミング設定部32で選択された被再生領域をディジタル画像の座標系で定義する被再生領域情報とを、再生領域情報に関連付けて選択されたテンプレートに格納し、格納後のテンプレートを出力する。具体的には、格納後のテンプレートを外部記憶装置16に記憶させる。なお、ネットワークインタフェースを介して他の装置に送信することによって出力するようにしてもよい。   The processing unit 34 executes predetermined processing based on the playback area selected by the trimming setting unit 32. Specifically, the processing unit 34 of the present embodiment includes information for specifying the selected digital image and playback area information for defining the playback area selected by the trimming setting section 32 in the digital image coordinate system. The template is stored in the template selected in association with the reproduction area information, and the template after storage is output. Specifically, the stored template is stored in the external storage device 16. Note that the data may be output by being transmitted to another device via the network interface.

図8は、処理部34によって情報が格納されたテンプレートを示す模式図である。図示する例では、旅行01.jpgという画像が選択され、当該画像データが表すディジタル画像上において(P1,S1)を左上座標、(P2,S2)を右下座標とする矩形の領域が被再生領域として選択されたことを意味している。ここで(P1,S1)及び(P2,S2)はディジタル画像の座標系で定義される座標であり、描画空間の座標系で定義されているものではない。再生領域を定義する座標(X1,Y1)及び(X2,Y2)は描画空間の座標系で定義されている座標である。図8では、選択されたディジタル画像を特定する情報、被再生領域情報及び再生領域情報を”{”と”}”とで括ることで互いに関連付けている。選択されているディジタル画像を特定する情報と、被再生領域情報とを再生領域情報に関連付けてテンプレートに格納すると、被再生領域情報に基づいて画像データから被再生領域を切り出すことができるため、被再生領域をトリミングして一つのディジタル画像として記憶させる必要がない。このためファイルが複数にならず管理の手間を低減できる。また、例えばテンプレートと当該テンプレートで特定されるディジタル画像とを配布する場合、トリミングを行う前のディジタル画像を配布することになるため、配布される側ではテンプレートを用いずディジタル画像の全体を再生することも、テンプレートを用いて再生することもでき、配布される側の利便性が向上する。   FIG. 8 is a schematic diagram showing a template in which information is stored by the processing unit 34. In the illustrated example, travel 01. This means that an image jpg has been selected and a rectangular area having (P1, S1) as the upper left coordinates and (P2, S2) as the lower right coordinates on the digital image represented by the image data has been selected as the playback area. is doing. Here, (P1, S1) and (P2, S2) are coordinates defined in the coordinate system of the digital image, and are not defined in the coordinate system of the drawing space. The coordinates (X1, Y1) and (X2, Y2) that define the reproduction area are coordinates defined in the coordinate system of the drawing space. In FIG. 8, information specifying the selected digital image, playback area information, and playback area information are related to each other by wrapping them with “{” and “}”. If the information specifying the selected digital image and the playback area information are associated with the playback area information and stored in the template, the playback area can be cut out from the image data based on the playback area information. There is no need to trim the playback area and store it as a single digital image. For this reason, the number of files does not become plural, and management effort can be reduced. For example, when a template and a digital image specified by the template are distributed, the digital image before trimming is distributed. Therefore, the distributed side reproduces the entire digital image without using the template. In addition, it can be played back using a template, which improves the convenience of the distribution side.

次に、PC1の処理の流れについて説明する。
図9は、PC1の処理の流れを示すフローチャートである。
S105では、トリミング設定画面41を表示し、ディジタル画像の選択を受け付ける。
S110では、選択されたディジタル画像を表示する。
Next, the process flow of the PC 1 will be described.
FIG. 9 is a flowchart showing a process flow of the PC 1.
In S105, the trimming setting screen 41 is displayed, and selection of a digital image is accepted.
In S110, the selected digital image is displayed.

S115では、テンプレートの選択を受け付ける。
S120では、選択されたテンプレートで定義されている再生領域の形状を表す枠48をディジタル画像上に表示する
S125では、テンプレートを解釈してレイアウト確認画面42を表示する。この結果、ディジタル画像とレイアウト画像とが同時に表示される。
In S115, a template selection is accepted.
In S120, a frame 48 representing the shape of the reproduction area defined by the selected template is displayed on the digital image. In S125, the template is interpreted and the layout confirmation screen 42 is displayed. As a result, the digital image and the layout image are displayed simultaneously.

S130では、枠48を移動あるいは変形させる操作を受け付け、その操作に応じて枠48を移動あるいは変形させるとともに、選択された被再生領域が表す画像をレイアウト画像47上の再生領域50に合成表示する。
S135では、枠48の倍率を判定する。倍率が所定の倍率以下の時はS140に進む。所定の倍率より大きいときはS145に進む。
In S130, an operation for moving or deforming the frame 48 is accepted, and the frame 48 is moved or deformed in accordance with the operation, and an image represented by the selected reproduction target area is displayed in the reproduction area 50 on the layout image 47. .
In S135, the magnification of the frame 48 is determined. When the magnification is not more than the predetermined magnification, the process proceeds to S140. If it is larger than the predetermined magnification, the process proceeds to S145.

S140では、警告を発してS130に戻る。
S145では、選択されたディジタル画像を特定する情報と、枠48を移動あるいは変形させることによって選択された被再生領域情報とを、再生領域情報に関連付けてテンプレートに格納し、格納後のテンプレートを外部記憶装置16に記憶させる。
In S140, a warning is issued and the process returns to S130.
In S145, the information specifying the selected digital image and the playback area information selected by moving or deforming the frame 48 are stored in the template in association with the playback area information, and the stored template is stored in the external. The data is stored in the storage device 16.

次に、テンプレートに基づくディジタル画像の再生について説明する。再生はPC1の表示装置15に表示することによって行うようにしてもよいし、PC1に接続されているプリンタ2で印刷することによって行うようにしてもよい。また、テンプレートと当該テンプレートで特定されるディジタル画像とをパーソナルコンピュータやプリンタなどの他の装置に送信して当該他の装置で行うようにしてもよい。表示装置15に表示する場合は表示領域が描画空間に相当し、プリンタ2で印刷する場合は印刷用紙が描画空間に相当する。   Next, reproduction of a digital image based on the template will be described. The reproduction may be performed by displaying on the display device 15 of the PC 1 or may be performed by printing with the printer 2 connected to the PC 1. Alternatively, the template and the digital image specified by the template may be transmitted to another device such as a personal computer or a printer and performed by the other device. When displaying on the display device 15, the display area corresponds to the drawing space, and when printing with the printer 2, the printing paper corresponds to the drawing space.

図10(A)はテンプレートに基づくディジタル画像の再生を説明するための模式図であり、図10(B)は再生されたディジタル画像を示す平面図である。図10(A)及び図10(B)では図8に示すテンプレートに基づいて印刷する場合を示している。また、図10(A)の点Rはディジタル画像の座標系の原点を示しており、点Wは描画空間の座標系の原点を示している。テンプレートに基づいて印刷を行う場合、(P1,S1)及び(P2,S2)で特定される被再生領域をトリミングし、トリミングした被再生領域が表す画像を、ハガキ上の(X1,Y1)及び(X2,Y2)で特定される再生領域に印刷されるよう拡大あるいは縮小する。背景画像についても同様に拡大あるいは縮小し、それらを合成して合成画像を生成する。この合成では被再生領域が表す画像がハガキ上の再生領域(X1,Y1)及び(X2,Y2)に印刷されるよう位置決めして合成される。この結果、図10(B)に示すようにディジタル画像がテンプレートに基づいて印刷される。   FIG. 10A is a schematic diagram for explaining the reproduction of a digital image based on a template, and FIG. 10B is a plan view showing the reproduced digital image. 10A and 10B show a case where printing is performed based on the template shown in FIG. Further, a point R in FIG. 10A indicates the origin of the coordinate system of the digital image, and a point W indicates the origin of the coordinate system of the drawing space. When printing based on the template, the playback area specified by (P1, S1) and (P2, S2) is trimmed, and the image represented by the trimmed playback area is represented by (X1, Y1) and The image is enlarged or reduced so as to be printed in the reproduction area specified by (X2, Y2). Similarly, the background image is enlarged or reduced and synthesized to generate a synthesized image. In this composition, the image represented by the area to be reproduced is synthesized by positioning so as to be printed in the reproduction areas (X1, Y1) and (X2, Y2) on the postcard. As a result, a digital image is printed based on the template as shown in FIG.

以上説明した本発明の一実施例に係るPC1によると、テンプレートで定義されている再生領域のアスペクト比と等しいアスペクト比の枠48がディジタル画像上に表示されるため、テンプレートで定義されている再生領域のアスペクト比と等しいアスペクト比の被再生領域を容易に選択できる。
なお、本実施例ではディジタル画像を特定する情報と被再生領域情報とを再生領域に関連付けてテンプレートに格納する場合を例に説明したが、ディジタル画像を特定する情報と被再生領域情報とは必ずしもテンプレートに格納する必要はない。例えば被再生領域が選択されたとき、処理部34は選択されているディジタル画像と選択されている被再生領域と選択されているテンプレートとに基づいて印刷データを生成し、生成した印刷データをプリンタ2に出力して再生する処理を実行してもよい。ただし、この場合は再生を行う度に被再生領域を選択しなければならない。また、選択された被再生領域をトリミングして別のディジタル画像を作成し、当該ディジタル画像を特定する情報を再生領域情報に関連付けてテンプレートに格納するようにしてもよい。
According to the PC 1 according to the embodiment of the present invention described above, the frame 48 having an aspect ratio equal to the aspect ratio of the reproduction area defined in the template is displayed on the digital image. Therefore, the reproduction defined in the template is performed. A playback area having an aspect ratio equal to the aspect ratio of the area can be easily selected.
In this embodiment, the case where the information for specifying the digital image and the playback area information are stored in the template in association with the playback area has been described as an example. However, the information for specifying the digital image and the playback area information are not necessarily the same. There is no need to store it in the template. For example, when the playback area is selected, the processing unit 34 generates print data based on the selected digital image, the selected playback area and the selected template, and the generated print data is printed on the printer. The process of outputting to 2 and reproducing may be executed. However, in this case, the playback area must be selected every time playback is performed. Alternatively, the selected playback area may be trimmed to create another digital image, and information specifying the digital image may be stored in the template in association with the playback area information.

また、本実施例では画像処理装置としてパーソナルコンピュータを例に説明したが、画像処理装置は、ディジタルカメラ、PDA、ディジタルカメラ付き携帯電話などであってもよいし、それら各装置とプリンタとで構成してもよい。   In this embodiment, a personal computer has been described as an example of the image processing apparatus. However, the image processing apparatus may be a digital camera, a PDA, a mobile phone with a digital camera, or the like, and includes each of these apparatuses and a printer. May be.

本発明の一実施例に係る枠を説明するための模式図。The schematic diagram for demonstrating the frame which concerns on one Example of this invention. 本発明の一実施例に係る画像処理装置のブロック図。1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. (A)は本発明の一実施例に係るテンプレートを示す模式図、(B)は本発明の一実施例に係る背景画像を示す模式図。(A) is a schematic diagram which shows the template which concerns on one Example of this invention, (B) is a schematic diagram which shows the background image which concerns on one Example of this invention. 本発明の一実施例に係る画像処理プログラムのブロック図。1 is a block diagram of an image processing program according to an embodiment of the present invention. 本発明の一実施例に係る画面を示す模式図。The schematic diagram which shows the screen which concerns on one Example of this invention. 本発明の一実施例に係るはみ出し領域を示す模式図。The schematic diagram which shows the protrusion area | region which concerns on one Example of this invention. 本発明の一実施例に係る警告ダイアログを示す模式図。The schematic diagram which shows the warning dialog which concerns on one Example of this invention. 本発明の一実施例に係るテンプレートを示す模式図。The schematic diagram which shows the template which concerns on one Example of this invention. 本発明の一実施例に係るフローチャート。The flowchart which concerns on one Example of this invention. (A)は本発明の一実施例に係るディジタル画像の再生を示す模式図、(B)は再生されたディジタル画像を示す平面図。(A) is a schematic diagram showing reproduction of a digital image according to an embodiment of the present invention, and (B) is a plan view showing the reproduced digital image.

符号の説明Explanation of symbols

1 パーソナルコンピュータ(画像処理装置)、2 プリンタ、11 CPU(入力手段、表示手段、トリミング設定手段、処理手段、警告手段)、14 操作部(トリミング設定手段)、15 表示装置(表示手段、警告手段)、16 外部記憶装置(入力手段)、21 テンプレート、43 ディジタル画像、47 レイアウト画像、48 枠、50 再生領域 DESCRIPTION OF SYMBOLS 1 Personal computer (image processing apparatus), 2 Printer, 11 CPU (input means, display means, trimming setting means, processing means, warning means), 14 Operation part (trimming setting means), 15 Display apparatus (display means, warning means) ), 16 External storage device (input means), 21 template, 43 digital image, 47 layout image, 48 frames, 50 playback area

Claims (7)

ディジタル画像とディジタル画像が割り付けられる描画空間上の再生領域を定義する再生領域情報が格納されているテンプレートとを入力する入力手段と、
前記入力手段により入力されたディジタル画像を表示する表示手段と、
前記入力手段により入力されたテンプレートで定義されている再生領域の形状を表す枠を前記ディジタル画像上に表示し、前記枠を移動あるいは変形させて前記再生領域に割り付けられる被再生領域を選択するトリミング設定手段と、
前記トリミング設定手段で選択された被再生領域に基づいて所定の処理を実行する処理手段と、を備え
前記トリミング設定手段は、前記枠のアスペクト比を変更して縦長の前記被再生領域を相対的に横長の前記再生領域に割り付けるとき、前記被再生領域が表す画像の中心と再生領域の中心とが一致する状態で、前記被再生領域が表す画像の右辺、左辺がそれぞれ前記再生領域の右辺、左辺に重なるように、前記被再生領域が表す画像を縦横等倍に拡大あるいは縮小し、
前記表示手段は、前記拡大あるいは縮小した場合に前記再生領域からはみ出す前記画像上の領域をディジタル画像上で視認可能に表示することを特徴とする画像処理装置。
Input means for inputting a digital image and a template storing reproduction area information defining a reproduction area on a drawing space to which the digital image is assigned;
Display means for displaying a digital image input by the input means;
Trimming for displaying a frame representing the shape of the reproduction area defined by the template input by the input means on the digital image, and selecting a reproduction area allocated to the reproduction area by moving or deforming the frame. Setting means;
Processing means for executing a predetermined process based on the playback area selected by the trimming setting means ,
The trimming setting means, when changing the aspect ratio of the frame and allocating the vertically long playback area to the relatively horizontally long playback area, the center of the image represented by the playback area and the center of the playback area are Enlarging or reducing the image represented by the region to be reproduced in the same size vertically or horizontally so that the right side and the left side of the image represented by the region to be reproduced overlap the right side and the left side of the reproduction region, respectively,
The image processing apparatus , wherein the display means displays an area on the image that protrudes from the reproduction area when the image is enlarged or reduced so as to be visible on a digital image .
前記処理手段は、前記ディジタル画像を特定する情報と前記トリミング設定手段で選択された被再生領域を前記ディジタル画像の座標系で定義する被再生領域情報とを前記再生領域情報に関連付けて前記テンプレートに格納し、格納後の前記テンプレートを出力することを特徴とする請求項1に記載の画像処理装置。   The processing means associates the information specifying the digital image and the playback area information defining the playback area selected by the trimming setting means in the coordinate system of the digital image with the playback area information in the template. The image processing apparatus according to claim 1, wherein the image processing apparatus stores and outputs the template after storage. 前記再生領域情報は、ディジタル画像を再生する向きを定義する方向情報を更に含み、 前記表示手段は、方向情報で定義されている向きに応じて前記ディジタル画像を回転させて表示することを特徴とする請求項1又は2に記載の画像処理装置。   The reproduction area information further includes direction information that defines a direction in which the digital image is reproduced, and the display means rotates and displays the digital image in accordance with the direction defined by the direction information. The image processing apparatus according to claim 1 or 2. 前記枠が所定の倍率以下まで縮小されると警告を発する警告手段を更に備えることを特徴とする請求項1〜のいずれか一項に記載の画像処理装置。 The frame image processing apparatus according to any one of claims 1 to 3, further comprising a warning means for issuing a warning to be reduced to a predetermined magnification below. 前記表示手段は、ディジタル画像と、前記再生領域を描画空間上に配置した状態を表すレイアウト画像とを同時に表示し、選択されている被再生領域が表す画像を前記レイアウト画像上の前記再生領域に合成表示することを特徴とする請求項1〜のいずれか一項に記載の画像処理装置。 The display means simultaneously displays a digital image and a layout image representing a state in which the reproduction area is arranged in a drawing space, and displays an image represented by the selected reproduction area in the reproduction area on the layout image. The image processing apparatus according to any one of claims 1 to 4 , wherein the image processing apparatus performs a composite display. ディジタル画像を入力する画像入力段階と、An image input stage for inputting a digital image;
ディジタル画像が割り付けられる描画空間上の再生領域を定義する再生領域情報が格納されているテンプレートを入力するテンプレート入力段階と、  A template input stage for inputting a template in which reproduction area information defining a reproduction area on a drawing space to which a digital image is assigned is stored;
前記画像入力段階で入力されたディジタル画像を表示する表示段階と、  A display step for displaying the digital image input in the image input step;
前記テンプレート入力段階で入力されたテンプレートで定義されている再生領域の形状を表す枠を前記ディジタル画像上に表示し、前記枠を移動あるいは変形させて前記再生領域に割り付けられる被再生領域を選択するトリミング設定段階と、  A frame representing the shape of the playback area defined by the template input in the template input stage is displayed on the digital image, and the playback area to be allocated to the playback area is selected by moving or deforming the frame. Trimming setting stage,
前記トリミング設定段階で選択された被再生領域に基づいて所定の処理を実行する処理段階と、をコンピュータに実行させる画像処理プログラムであって、  An image processing program for causing a computer to execute a predetermined process based on a playback area selected in the trimming setting stage,
前記枠のアスペクト比を変更して縦長の前記被再生領域を相対的に横長の前記再生領域に割り付けるとき、前記被再生領域が表す画像の中心と再生領域の中心とが一致する状態で、前記被再生領域が表す画像の右辺、左辺がそれぞれ前記再生領域の右辺、左辺に重なるように、前記被再生領域が表す画像を縦横等倍に拡大あるいは縮小し、  When the aspect ratio of the frame is changed and the vertically long playback area is assigned to the relatively horizontally long playback area, the center of the image represented by the playback area matches the center of the playback area, Enlarging or reducing the image represented by the playback area vertically and horizontally so that the right side and the left side of the image represented by the playback area overlap the right side and the left side of the playback area, respectively.
前記拡大あるいは縮小した場合に前記再生領域からはみ出す前記画像上の領域をディジタル画像上で視認可能に表示させることを特徴とする画像処理プログラム。  An image processing program for displaying an area on the image that protrudes from the reproduction area when the image is enlarged or reduced so as to be visible on a digital image.
ディジタル画像を入力する画像入力段階と、
ディジタル画像が割り付けられる描画空間上の再生領域を定義する再生領域情報が格納されているテンプレートを入力するテンプレート入力段階と、
前記画像入力段階で入力されたディジタル画像を表示する表示段階と、
前記テンプレート入力段階で入力されたテンプレートで定義されている再生領域の形状を表す枠を前記ディジタル画像上に表示し、前記枠を移動あるいは変形させて前記再生領域に割り付けられる被再生領域を選択するトリミング設定段階と、
前記トリミング設定段階で選択された被再生領域に基づいて所定の処理を実行する処理段階と、
を含み、
前記枠のアスペクト比を変更して縦長の前記被再生領域を相対的に横長の前記再生領域に割り付けるとき、前記被再生領域が表す画像の中心と再生領域の中心とが一致する状態で、前記被再生領域が表す画像の右辺、左辺がそれぞれ前記再生領域の右辺、左辺に重なるように、前記被再生領域が表す画像を縦横等倍に拡大あるいは縮小し、
前記拡大あるいは縮小した場合に前記再生領域からはみ出す前記画像上の領域をディジタル画像上で視認可能に表示させることを特徴とする画像処理方法。
An image input stage for inputting a digital image;
A template input stage for inputting a template in which reproduction area information defining a reproduction area on a drawing space to which a digital image is assigned is stored;
A display step for displaying the digital image input in the image input step;
A frame representing the shape of the playback area defined by the template input in the template input stage is displayed on the digital image, and the playback area to be allocated to the playback area is selected by moving or deforming the frame. Trimming setting stage,
A processing stage for executing a predetermined process based on the playback area selected in the trimming setting stage;
Only including,
When the aspect ratio of the frame is changed and the vertically long playback area is assigned to the relatively horizontally long playback area, the center of the image represented by the playback area matches the center of the playback area, Enlarging or reducing the image represented by the playback area vertically and horizontally so that the right side and the left side of the image represented by the playback area overlap the right side and the left side of the playback area, respectively.
An image processing method, wherein an area on the image that protrudes from the reproduction area when enlarged or reduced is displayed on a digital image so as to be visible .
JP2004013135A 2004-01-21 2004-01-21 Image processing apparatus, image processing program, and image processing method Expired - Fee Related JP4168938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004013135A JP4168938B2 (en) 2004-01-21 2004-01-21 Image processing apparatus, image processing program, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004013135A JP4168938B2 (en) 2004-01-21 2004-01-21 Image processing apparatus, image processing program, and image processing method

Publications (2)

Publication Number Publication Date
JP2005208815A JP2005208815A (en) 2005-08-04
JP4168938B2 true JP4168938B2 (en) 2008-10-22

Family

ID=34899309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004013135A Expired - Fee Related JP4168938B2 (en) 2004-01-21 2004-01-21 Image processing apparatus, image processing program, and image processing method

Country Status (1)

Country Link
JP (1) JP4168938B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453132A (en) * 2013-08-15 2016-03-30 日本电气株式会社 Information processing device and image processing method for performing image processing

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009065313A (en) * 2007-09-05 2009-03-26 Sharp Corp Editing device and playback device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453132A (en) * 2013-08-15 2016-03-30 日本电气株式会社 Information processing device and image processing method for performing image processing
CN105453132B (en) * 2013-08-15 2019-04-05 日本电气株式会社 Information processing apparatus and image processing method implementing image processing

Also Published As

Publication number Publication date
JP2005208815A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
JP2010033551A (en) Design editing apparatus, design editing method, and design editing program
JPH11328380A (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD
JP2004118477A (en) Information processing apparatus and method, recording medium, and program
JP2002111995A (en) Image editing device and method and image print control device and method
JP2012008884A (en) Editing device, and layout editing method and program in editing device
CN115438396A (en) Package design method and device
JP4200384B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PRINT CONTROL PROGRAM, MEDIUM RECORDING PRINT CONTROL PROGRAM, IMAGE PROCESSING DEVICE, IMAGE PROCESSING COMPUTER
JP6759552B2 (en) Information processing equipment and information processing programs
JP4168938B2 (en) Image processing apparatus, image processing program, and image processing method
JP2006134230A (en) Image editing device
JP2010009167A (en) Screen display device, screen display method, and screen display program
JP2020074507A (en) Information processing device, recording system, and program
JP6690340B2 (en) Information processing device and program
JP4776998B2 (en) Image layout editing apparatus, control method thereof, and program
JP4123168B2 (en) Image processing system, image processing method, template generation system, and template data structure
JP6810719B2 (en) Information processing equipment, recording systems, and programs
JP2006140591A (en) Image editing device
JP2006331301A (en) Image editing apparatus, image editing method, program, and storage medium
JP7718509B2 (en) Information processing device, layout support method, and support program
JP2006065807A (en) Procedure manual creation method and program
KR102658042B1 (en) Electronic device for developing data management software and method of operation thereof
JP6675932B2 (en) Image processing device
JP2007172344A (en) Image editing program and image editing apparatus
JP2006134229A (en) Image editing device
JP5292662B2 (en) Document display device, document display device control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051025

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060815

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061222

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080620

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080715

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080728

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4168938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees