JP2007005864A - Composite image editing apparatus, composite image editing method and computer program - Google Patents

Composite image editing apparatus, composite image editing method and computer program Download PDF

Info

Publication number
JP2007005864A
JP2007005864A JP2005180283A JP2005180283A JP2007005864A JP 2007005864 A JP2007005864 A JP 2007005864A JP 2005180283 A JP2005180283 A JP 2005180283A JP 2005180283 A JP2005180283 A JP 2005180283A JP 2007005864 A JP2007005864 A JP 2007005864A
Authority
JP
Japan
Prior art keywords
composite
composite image
inversion
template
component
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.)
Pending
Application number
JP2005180283A
Other languages
Japanese (ja)
Inventor
Kinya Baba
欽也 馬場
Masayuki Akizuki
昌之 秋月
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 JP2005180283A priority Critical patent/JP2007005864A/en
Publication of JP2007005864A publication Critical patent/JP2007005864A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable to create a satisfactory page image, even if a template having a photographic image pasted thereon is reversed. <P>SOLUTION: When a composite image is reversed in a horizontal direction, a page template of the composite image is reversed in a horizontal direction by a horizontal reversion routine (S220). After that, the direction of a composite part associated with an arrangement frame LF of the page template Tm is corrected into an angle acquired by subtracting the angle of an inclination of the composite part before reversion from 360° (S250). This configuration can prevent the composite part from being reversed left and right even in the horizontal direction reversion. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なう技術に関する。   The present invention relates to a technique for editing a composite image by displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device.

コンピュータでは、画像管理ソフトウェアを使えば、多数の画像データを簡単に整理することができる。この種の画像管理ソフトウェアとして、デジタルカメラ(デジタルスチルカメラ)で撮影した写真画像を、紙のアルバムと同じような感覚で配置して出力できるものがある。この画像管理ソフトウェアでは、アルバムの台紙に相当するページ画像を用意して、そのページ画像に対して、1または複数の写真画像についての位置やサイズを定めることで、ページをレイアウトすることができる。   A computer can easily organize a large number of image data by using image management software. Some image management software of this type can arrange and output photographic images taken with a digital camera (digital still camera) in the same manner as a paper album. In this image management software, a page can be laid out by preparing a page image corresponding to an album mount and determining the position and size of one or more photographic images for the page image.

上記レイアウトの手法としては、配置枠が予め設定されたテンプレートを用意しておき、そのテンプレートの配置枠に写真画像を貼り込んでいく手法がある(例えば、下記の特許文献1)。   As a layout method, there is a method in which a template with a preset arrangement frame is prepared and a photographic image is pasted into the template arrangement frame (for example, Patent Document 1 below).

特開2004−4768号公報Japanese Patent Laid-Open No. 2004-4768

ところで、前記テンプレートは、いろいろなデザインのものが多数用意されれば、それだけ便利となることから、ハードディスク等の記憶装置に多数蓄積されることが常である。一方、テンプレートが多数となると、記憶装置の資源が不足するという短所がある。そこで、1つのテンプレートを、水平方向、垂直方向もしくは水平方向+垂直方向(水平方向と垂直方向の双方の意味)に反転可能とする構成が提案されている。操作者は、記憶装置からテンプレートを1つ読み出して、その読み出したテンプレートに対して、水平方向、垂直方向もしくは水平方向+垂直方向の反転を行なうことで、反転済みのテンプレートを記憶装置に記憶させることなしに、デザインが異なったページ画像を簡単に作成することができる。   By the way, since a lot of templates having various designs are prepared, it is convenient to store them in a storage device such as a hard disk. On the other hand, when there are a large number of templates, there is a disadvantage that the resources of the storage device are insufficient. Therefore, a configuration has been proposed in which one template can be reversed in the horizontal direction, the vertical direction, or the horizontal direction + the vertical direction (meaning both the horizontal direction and the vertical direction). The operator reads one template from the storage device, and inverts the read template in the horizontal direction, the vertical direction, or the horizontal direction + vertical direction to store the inverted template in the storage device. It is possible to easily create page images with different designs.

しかしながら、上記の技術によれば、配置枠に写真画像が配置されている場合に、テンプレートの反転と共に写真画像も一括して反転されることから、写真画像の左右が逆になったり、上下が逆さまになったりして、不良なページ画像が作成されるという問題があった。   However, according to the above technique, when a photographic image is arranged in the arrangement frame, the photographic image is also reversed at the same time as the template is reversed. There is a problem that a bad page image is created by turning upside down.

本発明の解決しようとする課題は、写真画像が貼り込まれたテンプレートの反転時にあっても、良好なページ画像の作成を可能とすることにある。   The problem to be solved by the present invention is to make it possible to create a good page image even when a template with a photographic image is reversed.

前述した課題の少なくとも一部を解決するための手段として、以下に示す構成をとった。   As means for solving at least a part of the problems described above, the following configuration is adopted.

本発明の合成画像編集装置は、
合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なう合成画像編集装置であって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転手段
を備えるとともに、
前記合成画像反転手段は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正手段
を備えることを特徴としている。
The composite image editing apparatus of the present invention is
A composite image editing apparatus for editing a composite image by displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device,
A composite image inversion means for inverting the composite image displayed on the display device in a horizontal direction and / or a vertical direction when receiving a predetermined command from an operator;
The composite image reversing means includes
Component direction correction means for correcting the direction of the composite component associated with the placement area when the composite image is reversed is provided.

上記構成の合成画像編集装置によれば、合成画像の反転時に、配置領域に関連づけられた合成部品の方向が、部品方向補正手段により補正される。このために、その反転により、合成部品の左右が逆になったり、上下が逆さまになったりすることを防止することができる。したがって、合成画像の反転時にあっても、良好な合成画像を作成することができる。また、合成画像の反転によって1つのテンプレートを使い回しすることが可能となることから、記憶装置の資源を節約することができる。すなわち、記憶装置の資源の節約と良好な合成画像の作成の両立を図ることができる。   According to the composite image editing apparatus having the above-described configuration, the direction of the composite part associated with the arrangement area is corrected by the part direction correcting unit when the composite image is inverted. For this reason, it is possible to prevent the left and right of the composite part from being reversed and the top and bottom from being upside down by the reversal. Therefore, a good composite image can be created even when the composite image is inverted. Further, since it is possible to reuse one template by reversing the composite image, it is possible to save resources of the storage device. That is, it is possible to achieve both saving of resources of the storage device and creation of a good composite image.

前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成としてもよい。   The component direction correction unit obtains the direction of the composite component by subtracting the inclination angle of the composite component before the inversion from 360 degrees when the direction of inversion by the composite image inversion unit is a horizontal direction. It is good also as a structure correct | amended to an angle.

この構成によれば、反転後の合成部品の方向が、反転前に比べて左右が逆になることを防止することができる。   According to this configuration, it is possible to prevent the direction of the composite part after inversion from being reversed from side to side as compared to before the inversion.

また、前記部品方向補正手段は、前記合成画像反転手段による反転の方向が垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成としてもよい。   The component direction correcting means subtracts the direction of the composite part from the inclination angle of the composite part before inversion from 360 degrees when the direction of inversion by the composite image inversion means is a vertical direction. It is good also as composition which amends to the obtained angle.

この構成によれば、反転後の合成部品の方向が、反転前に比べて上下が逆さまになることを防止することができる。   According to this configuration, it is possible to prevent the direction of the composite part after inversion from being upside down compared to before the inversion.

さらに、前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向および垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度に補正する構成としてもよい。   Further, the component direction correcting means corrects the direction of the composite part to the inclination angle of the composite part before inversion when the direction of reversal by the composite image reversing means is a horizontal direction and a vertical direction. It is good.

この構成によれば、反転後の合成部品の方向が、反転前に比べて左右が逆になったり、上下が逆さまになることを防止することができる。   According to this configuration, the direction of the composite part after inversion can be prevented from being reversed left and right or upside down compared to before the inversion.

前記合成画像反転手段は、前記テンプレートを前記水平方向および/または垂直方向に反転するテンプレート反転手段を備え、前記部品方向補正手段は、前記合成部品の方向を求めて、前記テンプレート反転手段により反転されたテンプレートの有する配置領域に前記求めた方向でもって前記合成部品を貼り込む構成としてもよい。   The composite image inversion unit includes a template inversion unit that inverts the template in the horizontal direction and / or the vertical direction, and the component direction correction unit obtains the direction of the composite part and is inverted by the template inversion unit. Alternatively, the composite part may be attached to the arrangement area of the template in the obtained direction.

この構成によれば、テンプレートが、まず反転され、その後、その反転されたテンプレートの有する配置領域に対して、合成部品が貼り込まれることになる。このために合成部品の反転を効率的に行なうことができる。   According to this configuration, the template is first inverted, and then the composite part is pasted on the arrangement area of the inverted template. For this reason, the inversion of the composite part can be performed efficiently.

また、前記合成画像反転手段は、前記テンプレートと合成部品を一括して前記水平方向および/または垂直方向に反転する一括反転手段を備え、前記部品方向補正手段は、前記一括反転手段により反転された合成部品を回転させることにより前記合成部品の方向の補正を行なう構成としてもよい。   The composite image reversing unit includes a batch reversing unit that collectively inverts the template and the composite component in the horizontal direction and / or the vertical direction, and the component direction correcting unit is reversed by the collective reversing unit. A configuration may be adopted in which the direction of the composite part is corrected by rotating the composite part.

この構成によれば、テンプレートとそのテンプレートに配置された合成部品とが一括してまず反転され、その後、反転された合成部品を回転させることにより合成部品の方向が補正される。   According to this configuration, the template and the composite part arranged in the template are first reversed together, and then the direction of the composite part is corrected by rotating the reversed composite part.

前記合成部品は、デジタルスチルカメラで撮影した写真画像とすることができる。   The composite part may be a photographic image taken with a digital still camera.

本発明の合成画像編集方法は、
合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なう合成画像編集方法であって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転行程
を備えるとともに、
前記合成画像反転行程は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正行程
を備えることを特徴としている。
The composite image editing method of the present invention includes:
A composite image editing method for editing a composite image by displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device,
A composite image reversing step of reversing the composite image displayed on the display device in a horizontal direction and / or a vertical direction when receiving a predetermined command from an operator;
The composite image reversal process includes:
A component direction correcting step for correcting the direction of the composite component associated with the arrangement area when the composite image is reversed is provided.

本発明のコンピュータプログラムは、
合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なうためのコンピュータプログラムであって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転機能
をコンピュータに実現させるとともに、
前記合成画像反転機能は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正機能
を備えることを特徴としている。
The computer program of the present invention is:
A computer program for displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device and editing the composite image,
When the computer receives a predetermined command from the operator, the computer realizes a composite image reversal function for reversing the composite image displayed on the display device in the horizontal direction and / or the vertical direction,
The composite image inversion function is
A component direction correction function is provided for correcting the direction of the composite component associated with the placement area when the composite image is inverted.

本発明の合成画像編集方法およびコンピュータプログラムによっても、記憶装置の資源の節約と良好な合成画像の作成の両立を図ることができるという効果を奏する。   The composite image editing method and computer program according to the present invention also provide an effect that it is possible to achieve both saving of resources of the storage device and good composite image creation.

本発明の記録媒体は、本発明のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体を特徴としている。この記録媒体は、この発明の各コンピュータプログラムと同様な作用・効果を有している。   The recording medium of the present invention is characterized by a computer-readable recording medium that records the computer program of the present invention. This recording medium has the same operation and effect as each computer program of the present invention.

本発明は、以下のような他の態様も含んでいる。その第1の態様は、この発明のコンピュータプログラムを通信経路を介して供給するプログラム供給装置としての態様である。この第1の態様では、コンピュータプログラムをコンピュータネットワーク上のサーバなどに置き、通信経路を介して、必要なプログラムをコンピュータにダウンロードし、これを実行することで、上記の方法や装置を実現することができる。   The present invention includes other aspects as follows. The 1st aspect is an aspect as a program supply apparatus which supplies the computer program of this invention via a communication path. In this first aspect, the above-described method and apparatus are realized by placing a computer program on a server or the like on a computer network, downloading a necessary program to a computer via a communication path, and executing the program. Can do.

その第2の態様は、前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向であるときに、前記合成部品の方向を、反転前の前記合成部品の左右方向が維持される方向に補正する構成である。第3の態様は、前記部品方向補正手段は、前記合成画像反転手段による反転の方向が垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の上下方向が維持される方向に補正する構成である。第4の態様は、前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向および垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の左右方向および上下方向が維持される方向に補正する構成である。   In the second aspect, the component direction correcting means maintains the direction of the composite part in the horizontal direction of the composite part before inversion when the direction of inversion by the composite image inversion means is a horizontal direction. It is the structure which correct | amends to the direction to be. According to a third aspect, the component direction correcting means maintains the direction of the composite part in the vertical direction of the composite part before inversion when the direction of inversion by the composite image inversion means is a vertical direction. It is the structure correct | amended to a direction. According to a fourth aspect, the component direction correcting unit determines the direction of the composite component when the reversal direction by the composite image reversing unit is a horizontal direction and a vertical direction, It is the structure correct | amended in the direction in which the up-down direction is maintained.

本発明を実施するための最良の形態を実施例に基づき説明する。この実施例を次の順序に従って説明する。
A.装置の構成:
B.ページテンプレート:
C.表示ウィンドウの構成:
D.合成画像の反転:
D−1.水平方向の反転処理:
D−2.垂直方向の反転処理:
D−3.水平方向+垂直方向の反転処理:
E.作用・効果:
F.他の実施形態:
The best mode for carrying out the present invention will be described based on examples. This embodiment will be described in the following order.
A. Device configuration:
B. Page template:
C. Display window configuration:
D. Invert composite image:
D-1. Horizontal inversion processing:
D-2. Vertical inversion processing:
D-3. Horizontal inversion + vertical inversion processing:
E. Action / Effect:
F. Other embodiments:

A.装置の構成:
図1は、本発明の一実施例を適用するコンピュータシステムの概略構成を示す説明図である。この実施例のコンピュータシステムは、本発明の合成画像編集装置を構成するパーソナルコンピュータ10を中心に備え、その周辺装置として、ディスプレイ20とキーボード22とマウス24を備える。さらに、パーソナルコンピュータ10には、デジタルカメラ(デジタルスチルカメラ)26とCDドライブ28とプリンタ29が接続されている。マウス24は、トラックボール、トラックパッド、タブレット等の他のポインティングデバイスに換えることができる。
A. Device configuration:
FIG. 1 is an explanatory diagram showing a schematic configuration of a computer system to which an embodiment of the present invention is applied. The computer system of this embodiment mainly includes a personal computer 10 constituting the composite image editing apparatus of the present invention, and includes a display 20, a keyboard 22, and a mouse 24 as peripheral devices. Further, a digital camera (digital still camera) 26, a CD drive 28, and a printer 29 are connected to the personal computer 10. The mouse 24 can be replaced with other pointing devices such as a trackball, a trackpad, and a tablet.

パーソナルコンピュータ10は、中央演算処理装置としてのCPU11を中心にバス12により相互に接続されたメモリ13、表示画像メモリ14、ハードディスクドライブ15、入力制御ユニット16、表示制御ユニット17、出力制御ユニット18等を備える。メモリ13は、各種データ等を記憶するもので、CPU11の作業領域となる。表示画像メモリ14は、ディスプレイ20に表示する画像の画像データを一旦記憶するメモリである。   The personal computer 10 includes a memory 13, a display image memory 14, a hard disk drive 15, an input control unit 16, a display control unit 17, an output control unit 18, and the like that are mutually connected by a bus 12 around a CPU 11 as a central processing unit. Is provided. The memory 13 stores various data and becomes a work area of the CPU 11. The display image memory 14 is a memory that temporarily stores image data of an image to be displayed on the display 20.

ハードディスクドライブ15は、合成画像編集装置のソフトウェアとしてのコンピュータプログラムPrを記憶する。また、ハードディスクドライブ15には、画像データDpが多数記憶されている。画像データDpは、デジタルカメラ26によって撮影した写真画像で、ハードディスクドライブ15の所定の領域(例えば、フォルダ)に格納されている。後述するページのレイアウトを規定するページテンプレートTmも複数種類、格納されている。ページテンプレートTmが、本発明の「テンプレート」に相当する。   The hard disk drive 15 stores a computer program Pr as software of the composite image editing apparatus. The hard disk drive 15 stores a large number of image data Dp. The image data Dp is a photographic image taken by the digital camera 26 and is stored in a predetermined area (for example, a folder) of the hard disk drive 15. A plurality of types of page templates Tm that define the layout of pages to be described later are also stored. The page template Tm corresponds to the “template” of the present invention.

入力制御ユニット16は、キーボード22やマウス24から入力操作を取り込み、デジタルカメラ26から画像データを取り込み、CDドライブ28からデータを取り込む制御ユニットである。表示制御ユニット17は、ディスプレイ20への信号出力を制御する制御ユニットである。出力制御ユニット18は、プリンタ29への印刷を制御する制御ユニットである。   The input control unit 16 is a control unit that captures input operations from the keyboard 22 and the mouse 24, captures image data from the digital camera 26, and captures data from the CD drive 28. The display control unit 17 is a control unit that controls signal output to the display 20. The output control unit 18 is a control unit that controls printing on the printer 29.

コンピュータプログラムPrは、もともとは、記録媒体としてのCD−ROM(図示せず)に記憶されている。そのCD−ROMをCDドライブ28にセットして、所定のインストールプログラムを起動することで、コンピュータプログラムPrをCD−ROMから読み出してハードディスクドライブ15にインストールすることができる。このコンピュータプログラムPrをCPU11が実行することにより、本発明の合成画像編集装置の各種構成要件は実現される。なお、ページテンプレートTmについても、CD−ROMに予め記憶されており、コンピュータプログラムPrのインストール時に、同時にハードディスクドライブ15に格納される。   The computer program Pr is originally stored in a CD-ROM (not shown) as a recording medium. The computer program Pr can be read from the CD-ROM and installed in the hard disk drive 15 by setting the CD-ROM in the CD drive 28 and starting a predetermined installation program. Various configuration requirements of the composite image editing apparatus of the present invention are realized by the CPU 11 executing this computer program Pr. Note that the page template Tm is also stored in advance on the CD-ROM, and is stored in the hard disk drive 15 at the same time when the computer program Pr is installed.

図1では、本発明の合成画像編集装置の各種構成要件が、CPU11の内部で実現される機能のブロックによって示されている。すなわち、CPU11は、合成画像反転部11aと、合成画像反転部11aに備えられた部品方向補正部11bとを機能として備える。このコンピュータプログラムPrは、実際は、デジタルカメラ26で撮影した写真画像をアルバムの形に編集するアルバム編集用のアプリケーションプログラムであり、その中の一部のモジュールによって、上述した各部11a,11bの機能をパーソナルコンピュータ10に実現させる。   In FIG. 1, various constituent requirements of the composite image editing apparatus of the present invention are shown by functional blocks implemented in the CPU 11. That is, the CPU 11 includes a composite image reversing unit 11a and a component direction correcting unit 11b provided in the composite image reversing unit 11a as functions. This computer program Pr is actually an album editing application program that edits photo images taken by the digital camera 26 into an album form, and the functions of the above-described units 11a and 11b are controlled by some of the modules. This is realized in the personal computer 10.

なお、コンピュータプログラムPrは、CD−ROMに替えて、フレキシブルディスク、光磁気ディスク、ICカード等の他の携帯型記録媒体(可搬型記録媒体)に格納された構成として、これらから提供されたものとすることができる。また、このコンピュータプログラムPrは、外部のネットワークに接続される特定のサーバから、ネットワークを介して提供されたものとすることもできる。上記ネットワークとしては、インターネットであってもよく、特定のホームページからダウンロードして得たコンピュータプログラムであってもよい。あるいは、電子メールの添付ファイルの形態で供給されたコンピュータプログラムであってもよい。   The computer program Pr is provided as a configuration stored in another portable recording medium (portable recording medium) such as a flexible disk, a magneto-optical disk, and an IC card in place of the CD-ROM. It can be. Further, the computer program Pr can be provided via a network from a specific server connected to an external network. The network may be the Internet or a computer program obtained by downloading from a specific homepage. Alternatively, it may be a computer program supplied in the form of an email attachment.

B.ページテンプレート:
ハードディスクドライブ15に格納されたページテンプレートTmについて次に説明する。ページテンプレートTmは、編集の単位である所定の大きさの領域をページとして、該ページへの合成部品のレイアウト位置を規定するためのテンプレートである。合成部品としては、画像データやクリップアート等が該当する。画像データは、ここでは、デジタルカメラ26によって撮影され、ハードディスクドライブ15に格納されたものである。クリップアートとしては、画像、絵図等が用意されている。
B. Page template:
Next, the page template Tm stored in the hard disk drive 15 will be described. The page template Tm is a template for defining the layout position of the composite part on the page, with an area having a predetermined size as a unit of editing as a page. As composite parts, image data, clip art, and the like are applicable. Here, the image data is taken by the digital camera 26 and stored in the hard disk drive 15. As clip arts, images, pictures, etc. are prepared.

図2は、ページテンプレートTmで表わされる画像の一例を示す説明図である。図示するように、ページテンプレートTmは、所定の大きさの矩形領域としてのページPGを備え、そのページPG内に、一または複数(この例では、2つ)の配置枠LFが設けられている。配置枠LFは、前述した合成部品を配置するための矩形の領域を定めるもので、サイズとページPGにおける位置とを表わしている。配置枠LFは、本発明の「配置領域」に該当する。配置枠LFは、必ずしも矩形である必要はなく、三角形、五角形等の他の多角形や、円形、楕円形等とすることもできる。また、ページテンプレートTmは、配置枠LFを除いた部分に、ページの背景デザインBKが表わされている。この実施例では、図示するように、背景デザインBKとして、ページテンプレートTmの左下隅に万年筆とインク瓶の写真画像が表わされている。   FIG. 2 is an explanatory diagram illustrating an example of an image represented by the page template Tm. As illustrated, the page template Tm includes a page PG as a rectangular area having a predetermined size, and one or a plurality (two in this example) of arrangement frames LF are provided in the page PG. . The arrangement frame LF defines a rectangular area for arranging the above-described composite part, and represents a size and a position on the page PG. The arrangement frame LF corresponds to the “arrangement area” of the present invention. The arrangement frame LF is not necessarily rectangular, and may be another polygon such as a triangle or a pentagon, a circle, an ellipse, or the like. In the page template Tm, the background design BK of the page is represented in a portion excluding the arrangement frame LF. In this embodiment, as illustrated, a photographic image of a fountain pen and an ink bottle is represented as a background design BK in the lower left corner of the page template Tm.

図3は、ページテンプレートTmのデータ構造を示す説明図である。図示するように、ページテンプレートTmは、ページPGに関する情報を格納するページ情報フィールドFaと、n個(nは1以上の任意の数)の配置枠についての情報をそれぞれ格納する配置枠情報フィールドFb(1)〜Fb(n)を備える構造となっている。図示のものは、図2に例示した画像のページテンプレートTmを表わすもので、n=2である。   FIG. 3 is an explanatory diagram showing the data structure of the page template Tm. As shown in the figure, the page template Tm includes a page information field Fa for storing information about the page PG and an arrangement frame information field Fb for storing information about n (n is an arbitrary number of 1 or more) arrangement frames. (1) to Fb (n). The illustrated one represents the page template Tm of the image illustrated in FIG. 2, and n = 2.

ページ情報フィールドFaには、ページの縦、横のサイズや、前述したページの背景デザインBKについての情報が格納されている。配置枠情報フィールドFb(1)〜Fb(n)には、位置データと、角度データと、順位データとが組となってそれぞれ格納されている。位置データは、ページ内でのレイアウト位置を示すデータであり、配置枠の各頂点のオフセットX,Y成分が記されている。角度データは、合成部品が配置されるときの角度を正立した状態からの回転角でもって示すデータである。順位データは、合成部品が配置される順番を示す数字である。   The page information field Fa stores information about the vertical and horizontal sizes of the page and the above-described background design BK of the page. In the arrangement frame information fields Fb (1) to Fb (n), position data, angle data, and rank data are stored in pairs. The position data is data indicating a layout position in the page, and offset X and Y components of each vertex of the arrangement frame are described. The angle data is data indicating the angle at the time when the composite component is arranged as a rotation angle from an upright state. The rank data is a number indicating the order in which the composite parts are arranged.

C.表示ウィンドウの構成:
操作者とのインターフェースについて次に説明する。コンピュータプログラムPrを起動して、トップ画面で[新規作成]のボタンをクリックすると、ページ編集用のウィンドウ(以下、「ページ編集ウィンドウ」と呼ぶ)が表示される。
C. Display window configuration:
Next, the interface with the operator will be described. When the computer program Pr is started and the [New] button is clicked on the top screen, a page editing window (hereinafter referred to as “page editing window”) is displayed.

図4は、ページ編集ウィンドウWDの一例を示す説明図である。ページ編集ウィンドウWDは、グラフィカル・ユーザ・インタフェース(GUI)を構成している。図示するように、ページ編集ウィンドウWDには、作業用フィールドFL1と、部品/テンプレート指定用フィールドFL2とが設けられている。   FIG. 4 is an explanatory diagram showing an example of the page edit window WD. The page editing window WD constitutes a graphical user interface (GUI). As shown in the figure, the page edit window WD is provided with a work field FL1 and a part / template designating field FL2.

部品/テンプレート指定用フィールドFL2は、ページテンプレートと合成部品とを指定するためのものである。図示の状態は、[ページテンプレート]タブTB1がクリック(マウス24を用いたクリック、以下、同じ)されたときのもので、複数種類のページテンプレートTmのサムネールTmtが一覧表示されている。操作者は、複数のサムネールTmtの中から所望のものをダブルクリックすることにより、ハードディスクドライブ15に格納された複数種類のページテンプレートTmの中から所望のものを選択することができる。作業用フィールドFL1には、上記選択されたページテンプレートTmが表示される。図示の例は、図2に示したページテンプレートTmが選択されて表示された状態である。   The part / template designation field FL2 is for designating a page template and a composite part. The state shown in the figure is the one when the [Page Template] tab TB1 is clicked (click using the mouse 24, hereinafter the same), and a list of thumbnails Tmt of a plurality of types of page templates Tm is displayed. The operator can select a desired one from a plurality of types of page templates Tm stored in the hard disk drive 15 by double-clicking a desired one from a plurality of thumbnails Tmt. The selected page template Tm is displayed in the work field FL1. In the illustrated example, the page template Tm shown in FIG. 2 is selected and displayed.

図5は、操作者によって[画像]タブTB3がクリックされたときのページ編集ウィンドウWDの一例を示す説明図である。図示するように、部品/テンプレート指定用フィールドFL2には、画像データを格納するフィルム(またはフォルダ)のアイコンFmの一覧と、指定されたフィルムに格納されている画像データのサムネールPtの一覧が表示される。操作者は、所望のアイコンFmをクリックして、所望のサムネールPtをクリックすることにより、所定の記録媒体に予め格納しておいた複数の画像データ、この実施例では、ハードディスクドライブ15に記憶しておいた多数の画像データDpから、所望の画像データを選択指定することができる。上記フィルムまたはフォルダは、データファイルをまとめて入れておく場所を示すものである。   FIG. 5 is an explanatory diagram showing an example of the page edit window WD when the [Image] tab TB3 is clicked by the operator. As shown in the drawing, in the part / template designation field FL2, a list of icons (Fm) of films (or folders) storing image data and a list of thumbnails Pt of image data stored in the designated film are displayed. Is done. The operator clicks a desired icon Fm and clicks a desired thumbnail Pt to store a plurality of image data stored in advance in a predetermined recording medium, which is stored in the hard disk drive 15 in this embodiment. Desired image data can be selected and designated from a large number of image data Dp. The film or folder indicates a place where data files are put together.

クリップアートについても、[クリップアート]タブTB2がクリックされることで、上記画像データと同様に、操作者からのマウス24を用いた操作指令に基づいて、複数のクリップアートの中から所望のものを選択指定することができる。   As for the clip art, when the [Clip Art] tab TB2 is clicked, a desired one of a plurality of clip arts is selected based on an operation command using the mouse 24 from the operator as in the case of the image data. Can be selected and specified.

このページ編集ウィンドウWDのツールバーBRには、[配置]ボタンBT5が設けられている。操作者は、部品/テンプレート指定用フィールドFL2で画像データDpのサムネールTmをクリックした後、[配置]ボタンBT5をクリックすることにより、その画像データDpをページテンプレートTmにレイアウトされた配置枠LFに貼り込むことができる。前述したように、各配置枠LFには、画像が配置される順番が割り当てられていることから、最初に、上記画像データDpのサムネールTmの指定を行なって[配置]ボタンBT5をクリックする一連の配置作業を行なったときには、「1」の番号が付された配置枠LF(例えば、図中右側の大きい方の配置枠)にその画像データDpが転送され、次に、上記一連の配置作業を行なったときには、「2」の番号NBが付された配置枠LF(例えば、図中左側の小さい方の配置枠)に画像データDpが転送される。こうして、ページテンプレートTmに予め位置決めされた配置枠LFの位置に、各画像データDpが半自動的に貼り込まれる。   The [arrangement] button BT5 is provided on the toolbar BR of the page editing window WD. The operator clicks the thumbnail Tm of the image data Dp in the part / template designation field FL2, and then clicks the [Place] button BT5, whereby the image data Dp is placed in the layout frame LF laid out in the page template Tm. Can be pasted. As described above, since the order in which the images are arranged is assigned to each arrangement frame LF, first, a series of specifying the thumbnail Tm of the image data Dp and clicking the [Place] button BT5. When the arrangement work is performed, the image data Dp is transferred to the arrangement frame LF numbered “1” (for example, the larger arrangement frame on the right side in the figure). Is performed, the image data Dp is transferred to the arrangement frame LF (for example, the smaller arrangement frame on the left side in the drawing) assigned the number NB of “2”. In this way, each image data Dp is semi-automatically pasted at the position of the arrangement frame LF previously positioned on the page template Tm.

なお、画像データDpの配置枠LFに対する貼り込みは、両者のサイズに差がある場合には、画像のアスペクト比(縦横比)を一定に保ったまま画像サイズを変更して、配置枠LFの縦横のいずれか一方に画像が外接するようにしている。図示の例は、図4に示したページテンプレートTmの配置枠LFに対して画像データDpが貼り込まれた後の状態である。   When the image data Dp is pasted on the arrangement frame LF, if there is a difference between the two sizes, the image size is changed while keeping the aspect ratio (aspect ratio) of the image constant, and the arrangement frame LF The image is circumscribed in either the vertical or horizontal direction. The illustrated example shows a state after the image data Dp is pasted on the layout frame LF of the page template Tm shown in FIG.

クリップアートについても、前述したように複数のクリップアートの中から所望のものを選択指定した後に、[配置]ボタンBT5をクリックすることにより、画像データDpと同様に、配置枠LFに貼り込むことができる。こうして、ページテンプレートTmと画像データDpやクリップアート等の合成部品とが合成された合成画像が生成される。その合成画像は、操作者の指示に従って保存することができる。操作者は、ツールバーBRに設けられた[保存]ボタンBT2をクリックすることにより、その保存を行なうことができ、また、ツールバーBRに設けられた[開く]ボタンBT1をクリックすることにより、その保存された合成画像を読み出す、すなわち作業用フィールドFL1に表示することができる。   As for the clip art, as described above, after selecting and specifying a desired one from a plurality of clip arts, by clicking the [Place] button BT5, the clip art is pasted into the arrangement frame LF in the same manner as the image data Dp. Can do. In this way, a composite image in which the page template Tm and the composite parts such as the image data Dp and the clip art are combined is generated. The composite image can be stored in accordance with an instruction from the operator. The operator can save the image by clicking the [Save] button BT2 provided on the toolbar BR, and can save the image by clicking the [Open] button BT1 provided on the toolbar BR. The synthesized image thus obtained can be read out, that is, displayed in the work field FL1.

図6は、合成画像を表わす合成画像データDcmのデータ構造を示す説明図である。図示するように、合成画像データDcmは、ページテンプレートTmとほぼ同じ構成を備えており、相違するのは、各配置枠情報フィールドFb(1)〜Fb(n)に、部品関連づけ情報Lkがそれぞれ付加されている点である。部品関連づけ情報Lkは、各配置枠LFにいずれの合成部品が配置されるかを示すものであり、具体的には、合成部品のファイル名が格納される。なお、合成部品の配置がなされていない配置枠LFについては、部品関連づけ情報Lkはヌルの状態となっている。   FIG. 6 is an explanatory diagram showing the data structure of the composite image data Dcm representing the composite image. As shown in the figure, the composite image data Dcm has substantially the same configuration as the page template Tm. The difference is that the component association information Lk is stored in each of the arrangement frame information fields Fb (1) to Fb (n). This is an added point. The part association information Lk indicates which composite part is placed in each placement frame LF, and specifically stores the file name of the composite part. Note that the component association information Lk is in a null state for the arrangement frame LF in which no composite component is arranged.

D.合成画像の反転:
ページテンプレートTmと合成部品との合成画像データDcmは、操作者の指定に従って反転することができる。ここで言う反転とは、水平方向(左右方向とも呼ぶ)、垂直方向(上下方向とも呼ぶ)、もしくは水平方向+垂直方向(水平方向と垂直方向の双方の意味)に反転するものである。操作者は、マウス24を操作して、作業用フィールドFL1に表示されたページテンプレートTmの配置枠LF以外の部分にマウスカーソルを移動して、マウス24の右ボタン24aを押すことにより、合成画像データDcmを選択することができる。この状態で、操作者は、ツールバーBRに設けられた[反転]ボタンBT4をクリックすることにより、[反転]ダイアログボックスDBをディスプレイに表示する。
D. Invert composite image:
The composite image data Dcm of the page template Tm and the composite part can be inverted according to the operator's specification. The inversion here refers to inversion in the horizontal direction (also referred to as the left-right direction), the vertical direction (also referred to as the up-down direction), or the horizontal direction + the vertical direction (meaning both horizontal and vertical directions). The operator operates the mouse 24 to move the mouse cursor to a portion other than the layout frame LF of the page template Tm displayed in the work field FL1, and presses the right button 24a of the mouse 24 to thereby generate a composite image. Data Dcm can be selected. In this state, the operator clicks the [Reverse] button BT4 provided on the toolbar BR to display the [Reverse] dialog box DB on the display.

図7は、[反転]ダイアログボックスDBをページ編集ウィンドウWDとともに示す説明図である。図示するように、[反転]ダイアログボックスDBには、「水平方向」のチェックボックスCB1と「垂直方向」のチェックボックスCB2が設けられている。操作者は、反転方向が水平方向であることを指定する際には、水平方向のチェックボックスCB1をクリックし、反転方向が垂直方向であることを指定する際には、垂直方向のチェックボックスCB2をクリックし、反転方向が、水平方向と垂直方向の双方であることを指定する際には、両方のチェックボックスCB1、CB2をクリックする。その後、操作者は、[適用]ボタンBT11をクリックする。この結果、操作者によって[反転]ダイアログボックスDBから指定された反転の方向がパーソナルコンピュータ10に送られる。   FIG. 7 is an explanatory diagram showing the [Reverse] dialog box DB together with the page edit window WD. As shown in the figure, the [Reverse] dialog box DB is provided with a check box CB1 for "horizontal direction" and a check box CB2 for "vertical direction". The operator clicks the horizontal check box CB1 when designating that the inversion direction is the horizontal direction, and the vertical check box CB2 when designating that the inversion direction is the vertical direction. When clicking and specifying that the inversion direction is both horizontal and vertical, click both check boxes CB1 and CB2. Thereafter, the operator clicks the [Apply] button BT11. As a result, the reverse direction designated by the operator from the [Reverse] dialog box DB is sent to the personal computer 10.

パーソナルコンピュータ10は、操作者による操作に従って指定された反転方向を取り込んで、ページ編集ウィンドウWDの作業用フィールドFL1に表示された合成画像データDcmをその反転方向に反転する処理を行なう。本発明は、この反転について特徴を持つものであることから、以下、この点について詳述する。   The personal computer 10 takes in the inversion direction designated in accordance with the operation by the operator, and performs a process of inverting the composite image data Dcm displayed in the work field FL1 of the page editing window WD in the inversion direction. Since the present invention is characterized by this inversion, this point will be described in detail below.

上述した合成画像データDcmの反転は、CPU11が、コンピュータプログラムPrの一部のモジュールである合成画像反転ルーチンを実行することにより実現される。図8は、この合成画像反転ルーチンを示すフローチャートである。   The inversion of the composite image data Dcm described above is realized by the CPU 11 executing a composite image inversion routine which is a part of the computer program Pr. FIG. 8 is a flowchart showing this composite image inversion routine.

処理が開始されると、CPU11は、まず、[反転]ダイアログボックスDBを用いて操作者によって指定された反転方向が、「水平方向」、「垂直方向」、「水平方向+垂直方向」のいずれであるかを判定する(ステップS100)。ここで、「水平方向」と判定された場合には、CPU11は、水平方向反転ルーチンを実行し(ステップS200)、「垂直方向」と判定された場合には、垂直方向反転ルーチンを実行し(ステップS300)、「水平方向+垂直方向」と判定された場合には、水平方向+垂直方向反転ルーチンを実行する(ステップS400)。ステップS200、S300またはS400の実行後、「リターン」に抜けてこの合成画像反転ルーチンを終了する。   When the processing is started, the CPU 11 first selects any of “horizontal direction”, “vertical direction”, and “horizontal direction + vertical direction” as the reverse direction designated by the operator using the [Reverse] dialog box DB. (Step S100). Here, when it is determined as “horizontal direction”, the CPU 11 executes a horizontal direction inversion routine (step S200), and when it is determined as “vertical direction”, it executes a vertical direction inversion routine (step S200). If it is determined that “horizontal direction + vertical direction”, the horizontal direction + vertical direction inversion routine is executed (step S400). After executing step S200, S300, or S400, the process returns to “RETURN” to end the composite image inversion routine.

図9は、ステップS200で実行される水平方向反転ルーチンの詳細を示すフローチャートである。この水平方向反転ルーチンに処理が移行されると、CPU11は、まず、作業用フィールドFL1に表示された合成画像データDcmから各配置枠情報フィールドFb(1)〜Fb(n)に格納されている角度データを読み出して、変数θ1〜θnとして記憶する(ステップS210)。次いで、CPU11は、前記合成画像データDcmにおけるページテンプレート部分を水平方向に反転する処理を行なう(ステップS220)。この水平方向への反転処理は、ページテンプレートTmとして定められた配置枠LFや背景デザインBKを、ページの中心を通る垂直線を対称の軸として線対称に移動するものである。すなわち、合成画像の中から各配置枠LFに貼り込まれた合成部品だけを除いた画像を前記対称軸に対して線対称に移動する。   FIG. 9 is a flowchart showing details of the horizontal inversion routine executed in step S200. When the processing is shifted to the horizontal direction inversion routine, the CPU 11 first stores the composite image data Dcm displayed in the work field FL1 in the respective arrangement frame information fields Fb (1) to Fb (n). The angle data is read and stored as variables θ1 to θn (step S210). Next, the CPU 11 performs a process of inverting the page template portion in the composite image data Dcm in the horizontal direction (step S220). In the horizontal inversion process, the arrangement frame LF and the background design BK defined as the page template Tm are moved in line symmetry with the vertical line passing through the center of the page as the axis of symmetry. In other words, an image obtained by removing only the composite component pasted on each placement frame LF from the composite image is moved in line symmetry with respect to the symmetry axis.

D−1.水平方向の反転処理:
図10は、ステップS220による水平方向の反転処理を説明するための説明図である。図示の例は、図5において例示した合成画像データDcmの左半分だけを、ステップS220によって水平方向に反転した場合にどのようになるかを示すものである。図示するように、反転前の左半分が、ページの中心を通る垂直線VLを鏡面として鏡面反転されている。このとき、鏡面反転されるのは、ページテンプレートTmに定められた配置枠LFや背景デザイン(図中、左下のペンやインク瓶)BKであり、配置枠LFに貼り込まれている画像(新婦のウェディング姿の画像)Dpについては反転はなされない。配置枠LFは、反転前は垂直方向から時計回り方向に傾いていたが、反転後は、左右が逆になって垂直方向から反時計回り方向に傾いており、背景デザインBKについても反転前と反転後で左右が逆になる。なお、作業用フィールドFL1に表示された合成画像の上記の変化に伴い、合成画像データDcmにおいては、ページ情報フィールドFaに記憶された背景デザインBKが鏡面反転した状態に書き換えられ、配置枠情報フィールドFb(1)〜Fb(n)に格納されている位置データが鏡面反転した状態に書き換えられる。この時点では、角度データについては書き換えはなされない。
D-1. Horizontal inversion processing:
FIG. 10 is an explanatory diagram for explaining the horizontal inversion processing in step S220. The illustrated example shows what happens when only the left half of the composite image data Dcm illustrated in FIG. 5 is inverted in the horizontal direction in step S220. As shown in the figure, the left half before inversion is mirror-inverted with a vertical line VL passing through the center of the page as a mirror surface. At this time, the mirror frame is reversed with the arrangement frame LF and the background design (the lower left pen and ink bottle in the figure) BK defined in the page template Tm, and the image (the bride) pasted on the arrangement frame LF. The image of the wedding figure) Dp is not reversed. The arrangement frame LF was inclined in the clockwise direction from the vertical direction before the inversion, but after the inversion, the left and right sides are inverted and inclined in the counterclockwise direction from the vertical direction. Left and right are reversed after inversion. With the above change of the composite image displayed in the work field FL1, in the composite image data Dcm, the background design BK stored in the page information field Fa is rewritten into a mirror-inverted state, and the arrangement frame information field The position data stored in Fb (1) to Fb (n) is rewritten into a state in which the mirror surface is inverted. At this time, the angle data is not rewritten.

図9に戻って、ステップS220の実行後、CPU11は、変数iに初期値1をセットして(ステップS230)、360度からステップS210で読み出した第i番目の変数θiを減算して、その答えを変数nθにセットする(ステップS240)。その後、CPU11は、第i番目の新たな配置枠(ステップS220で反転後の新たな配置枠)nLFに、その配置枠に関連づけられた合成部品を前記変数nθで定まる傾きでもって貼り込む処理を行なう(ステップS250)。   Returning to FIG. 9, after execution of step S220, the CPU 11 sets an initial value 1 to the variable i (step S230), and subtracts the i-th variable θi read in step S210 from 360 degrees. The answer is set to a variable nθ (step S240). Thereafter, the CPU 11 performs a process of pasting the composite part associated with the placement frame with the inclination determined by the variable nθ into the i-th new placement frame (new placement frame after being reversed in step S220) nLF. This is performed (step S250).

図11は、ステップS240およびS250の処理により、作業用フィールドFL1に表示される合成画像がどのように変化するかを示す説明図である。図示するように、配置枠LFに配置される画像Dpの傾きは、垂直上方向からの時計回りの回転角θで表わされ、図示の例では、10度となっている。ステップS220による鏡面反転により移動された新たな配置枠nLFは、ステップS220の処理により方向がθから360度−θ、すなわち350度となっている。ステップS240およびS250の処理では、配置される画像Dpを、配置枠LFと同じ360度−θ(=nθ)、すなわち350度の傾きでもって配置枠LFに貼り込む。ここで言う画像データDpの配置枠LFへの貼り込みというのは、画像データの中心が配置枠LFの中心と一致するように貼り込むものである。なお、作業用フィールドFL1に表示された合成画像の上記の変化に伴い、合成画像データDcmにおいては、第i番目の配置枠情報フィールドFb(i)に格納される角度データが、ステップS240で算出された変数nθに変更される。   FIG. 11 is an explanatory diagram showing how the composite image displayed in the work field FL1 changes due to the processing in steps S240 and S250. As shown in the figure, the inclination of the image Dp arranged in the arrangement frame LF is represented by a clockwise rotation angle θ from the vertical upward direction, and is 10 degrees in the illustrated example. The new arrangement frame nLF moved by mirror reversal in step S220 has a direction of θ to 360 degrees−θ, that is, 350 degrees by the process of step S220. In the processing of steps S240 and S250, the image Dp to be arranged is pasted on the arrangement frame LF with the same 360 degrees −θ (= nθ) as the arrangement frame LF, that is, with an inclination of 350 degrees. The pasting of the image data Dp into the arrangement frame LF here means that the image data Dp is pasted so that the center of the image data coincides with the center of the arrangement frame LF. With the above change of the composite image displayed in the work field FL1, in the composite image data Dcm, the angle data stored in the i-th placement frame information field Fb (i) is calculated in step S240. The changed variable nθ is changed.

図9に戻って、ステップS250の実行後、CPU11は、変数iを値1だけインクリメントして(ステップS260)、その変数iが、テンプレートTmに設けられた配置枠LFの数nを超えたか否かを判定する(ステップS270)。ここで、変数iが数nを超えていないと判定された場合には、ステップS240に処理を戻して、ステップS240ないしS270の処理を繰り返し実行する。一方、ステップS270で変数iが数nを超えていると判定された場合には、この水平方向反転ルーチンを抜ける。   Returning to FIG. 9, after executing step S250, the CPU 11 increments the variable i by the value 1 (step S260), and whether or not the variable i exceeds the number n of the arrangement frames LF provided in the template Tm. Is determined (step S270). If it is determined that the variable i does not exceed the number n, the process returns to step S240, and the processes of steps S240 to S270 are repeatedly executed. On the other hand, if it is determined in step S270 that the variable i exceeds the number n, the horizontal inversion routine is exited.

図12は、図7に示したページ編集ウィンドウWDにおいて水平方向反転ルーチンを実行した後を示す説明図である。図示するように、作業用フィールドFL1に表示された合成画像データDcmは、図5,図7と比較すると、配置枠LFと背景デザインBKが水平方向に反転される。配置枠LFに配置された画像データDp1,Dp2は、鏡面反転されることなく、左右方向が維持される。すなわち、大きい側の配置枠LF1に貼り込まれた画像は、新郎が左側(図中、右側)、新婦が右側(図中、左側)というように、反転前と左右が入れ替わることがなく、また、小さい側の配置枠LF2に貼り込まれた画像は、新婦が図中右側を向いたもので、反転前と左右が入れ替わることがない。   FIG. 12 is an explanatory diagram showing the state after executing the horizontal inversion routine in the page edit window WD shown in FIG. As shown in the drawing, in the composite image data Dcm displayed in the work field FL1, the arrangement frame LF and the background design BK are inverted in the horizontal direction as compared with FIGS. The image data Dp1, Dp2 arranged in the arrangement frame LF is maintained in the left-right direction without being mirror-inverted. In other words, the image pasted on the larger arrangement frame LF1 is such that the groom is on the left side (right side in the figure) and the bride is on the right side (left side in the figure). In the image pasted in the small arrangement frame LF2, the bride faces the right side in the figure, and the left and right sides are not interchanged.

D−2.垂直方向の反転処理:
図13は、ステップS300で実行される垂直方向反転ルーチンの詳細を示すフローチャートである。この垂直方向反転ルーチンは、図9の水平方向反転ルーチンと比較して、ステップS220に対応するステップS320で実行する反転の方向が垂直方向である点が相違するだけで、その他のステップS310,S330〜S370については、水平方向反転ルーチンのステップS210,S230〜S270と同一である。
D-2. Vertical inversion processing:
FIG. 13 is a flowchart showing details of the vertical direction inversion routine executed in step S300. This vertical reversal routine differs from the horizontal reversal routine of FIG. 9 only in that the reversal direction executed in step S320 corresponding to step S220 is the vertical direction, and the other steps S310, S330. -S370 are the same as steps S210 and S230-S270 of the horizontal reversal routine.

図14は、ステップS320による垂直方向の反転処理を説明するための説明図である。図示の例は、図5において例示した合成画像における左半分についてのものである。図示するように、配置枠LFは、ページの中心を通る水平線HLを鏡面として鏡面反転される。このとき、鏡面反転されるのは、水平方向の反転処理と同様に、ページテンプレートTmに定められた配置枠LFや背景デザインBKであり、配置枠LFに貼り込まれている画像(新婦のウェディング姿の画像)Dp2については反転はなされない。図中、nLFは、反転後の配置枠であり、nBKは、反転後の背景デザインである。   FIG. 14 is an explanatory diagram for explaining the vertical inversion processing in step S320. The example shown is for the left half of the composite image illustrated in FIG. As shown in the drawing, the arrangement frame LF is mirror-inverted with a horizontal line HL passing through the center of the page as a mirror surface. At this time, like the horizontal reversal processing, the mirror frame is reversed with the layout frame LF and the background design BK defined in the page template Tm, and the image pasted on the layout frame LF (the bride's wedding ceremony). Image of appearance) Dp2 is not reversed. In the figure, nLF is an arrangement frame after inversion, and nBK is a background design after inversion.

次に、ステップS340およびS350の処理について説明する。ステップS340およびS350では、水平方向反転ルーチンのステップS240およびS250と同様に、配置枠LFへの合成部品の貼り込みの向きを360度−θ(=nθ)と定めている。   Next, the process of steps S340 and S350 will be described. In steps S340 and S350, as in steps S240 and S250 of the horizontal direction inversion routine, the direction in which the composite part is pasted on the arrangement frame LF is determined to be 360 degrees −θ (= nθ).

図15は、配置枠LFへの合成部品の貼り込みの向きを360度−θと定めた理由を説明するための説明図である。図15の(a)に示すように、垂直方向への反転前の配置枠LFの傾き(垂直上方向からの時計回りの回転角で示す)がθであるとすると、図15の(b)に示すように、垂直反転によって180度−θの傾きに変更される。この状態では、配置枠LFに配置されている合成部品は上下逆さまとなることから、配置枠はそのままとして合成部品を、図15の(c)に示すように、180度さらに時計回りに回転させるように角度補正することで、合成部品の上下を垂直反転前の状態に維持させる。すなわち、垂直反転後の180度−θの傾きに180度を加算する角度補正、すなわち合成部品の傾きを360度−θとする角度補正を行なうことで、垂直反転によって合成部品の上下が逆さまにならないようにしている。   FIG. 15 is an explanatory diagram for explaining the reason why the direction in which the composite part is pasted on the arrangement frame LF is determined to be 360 degrees −θ. As shown in FIG. 15A, assuming that the inclination (indicated by the clockwise rotation angle from the vertically upward direction) of the arrangement frame LF before the inversion in the vertical direction is θ, FIG. As shown in FIG. 4, the inclination is changed to 180 ° −θ by vertical inversion. In this state, the composite part placed in the placement frame LF is turned upside down, so the composite part is rotated 180 degrees further clockwise as shown in FIG. By correcting the angle in this way, the upper and lower sides of the composite part are maintained in the state before the vertical inversion. That is, by performing angle correction to add 180 degrees to the 180 degree-θ inclination after vertical inversion, that is, angle correction to set the inclination of the composite part to 360 degrees-θ, the vertical direction of the composite part is turned upside down. I try not to be.

図16は、図5に示した合成画像データDcmに対して垂直方向反転ルーチンによる反転処理を実行させた結果を示す説明図である。図示するように、反転の結果得られた新たな合成画像データnDcmは、図5の例示と比較すると、配置枠LFと背景デザインBKが垂直方向に反転されたものとなっている。配置枠LFに格納される画像データDp1,Dp2は、鏡面反転されることなく、上下方向が維持される。   FIG. 16 is an explanatory diagram illustrating a result of executing the reversal process by the vertical reversal routine on the composite image data Dcm illustrated in FIG. As shown in the drawing, the new composite image data nDcm obtained as a result of the inversion is obtained by inverting the arrangement frame LF and the background design BK in the vertical direction as compared with the example of FIG. The image data Dp1 and Dp2 stored in the arrangement frame LF are maintained in the vertical direction without being mirror-inverted.

D−3.水平方向+垂直方向の反転処理:
図17は、ステップS400で実行される水平方向+垂直方向反転ルーチンの詳細を示すフローチャートである。図示するように、処理が開始されると、CPU11は、水平方向反転ルーチンのステップS210、S220と同一の処理を行なう(ステップS410、S420)。次いで、CPU11は、垂直方向反転ルーチンのステップS320と同一の処理を行なう(ステップS430)。すなわち、ステップS410ないしS430の処理によれば、配置枠LFに配置されている合成部品の傾きをθ1〜θnとして一旦記憶しておいて、その後、合成画像のページテンプレート部分を水平方向に反転して、続いて、合成画像のページテンプレート部分を垂直方向に反転する。
D-3. Horizontal inversion + vertical inversion processing:
FIG. 17 is a flowchart showing details of the horizontal direction + vertical direction inversion routine executed in step S400. As shown in the figure, when the processing is started, the CPU 11 performs the same processing as steps S210 and S220 of the horizontal direction inversion routine (steps S410 and S420). Next, the CPU 11 performs the same process as step S320 of the vertical direction inversion routine (step S430). That is, according to the processing of steps S410 to S430, the inclination of the composite part arranged in the arrangement frame LF is temporarily stored as θ1 to θn, and then the page template portion of the composite image is inverted in the horizontal direction. Subsequently, the page template portion of the composite image is inverted in the vertical direction.

ステップS430の実行後、CPU11は、変数iに初期値1をセットする(ステップS440)。次いで、CPU11は、第i番目の新たな配置枠(ステップS420およびS430で反転後の新たな配置枠)nLFに、その配置枠に関連づけられた合成部品を、ステップS410で記憶した変数θiで定まる傾きでもって貼り込む処理を行なう(ステップS450)。すなわち、このステップS450では、配置枠LFへの合成部品の貼り込みの向きを、ステップS420およびS430による反転前の合成部品の傾きを維持するものと定めている。   After executing step S430, the CPU 11 sets an initial value 1 to the variable i (step S440). Next, the CPU 11 determines the composite part associated with the i-th new arrangement frame (new arrangement frame after being inverted in steps S420 and S430) nLF with the variable θi stored in step S410. The pasting process is performed with an inclination (step S450). That is, in this step S450, the direction in which the composite part is pasted on the arrangement frame LF is determined to maintain the inclination of the composite part before inversion in steps S420 and S430.

図18は、配置枠LFへの合成部品の貼り込みの向きを反転前の傾きを維持するものと定めた理由を説明するための説明図である。図18の(a)に示すように、配置枠LFの傾き(垂直上方向からの時計回りの回転角で示す)がθであるとすると、図18の(b)に示すように、水平反転によって360度−θの傾きに変更される。その後、図18の(c)に示すように、垂直反転によって、−180度+θに変更される。この状態では、配置枠LFに配置されている合成部品は上下逆さまとなることから、配置枠はそのままとして合成部品を、図18の(d)に示すように、180度さらに時計回りに回転させるように角度補正することで、合成部品の上下を垂直反転前の状態に維持させる。すなわち、垂直反転後の−180度+θの傾きに180度を加算する角度補正、すなわち合成部品の傾きをθとする角度補正を行なうことで、水平方向+垂直方向の反転によって合成部品の左右、上下が逆にならないようにしている。   FIG. 18 is an explanatory diagram for explaining the reason why the direction in which the composite part is pasted on the arrangement frame LF is determined to maintain the inclination before inversion. As shown in FIG. 18A, when the inclination of the arrangement frame LF (indicated by a clockwise rotation angle from the vertical upward direction) is θ, horizontal inversion is performed as shown in FIG. Is changed to an inclination of 360 degrees -θ. Thereafter, as shown in FIG. 18C, the angle is changed to −180 degrees + θ by vertical inversion. In this state, since the composite part arranged in the arrangement frame LF is turned upside down, the composite part is rotated 180 degrees further clockwise as shown in FIG. By correcting the angle in this way, the upper and lower sides of the composite part are maintained in the state before the vertical inversion. That is, by performing angle correction that adds 180 degrees to the inclination of −180 degrees + θ after vertical inversion, that is, angle correction with the inclination of the composite part as θ, The top and bottom are not reversed.

図17に戻って、ステップS450の実行後、CPU11は、変数iを値1だけインクリメントして(ステップS460)、その変数iが、テンプレートTmに設けられた配置枠LFの数nを超えたか否かを判定する(ステップS470)。ここで、変数iが数nを超えていないと判定された場合には、ステップS450に処理を戻して、ステップS450ないしS470の処理を繰り返し実行する。一方、ステップS470で変数iが数nを超えていると判定された場合には、この水平方向+素直方向反転ルーチンを抜ける。   Returning to FIG. 17, after executing step S450, the CPU 11 increments the variable i by a value 1 (step S460), and whether or not the variable i exceeds the number n of the arrangement frames LF provided in the template Tm. Is determined (step S470). If it is determined that the variable i does not exceed the number n, the process returns to step S450, and the processes of steps S450 to S470 are repeatedly executed. On the other hand, if it is determined in step S470 that the variable i exceeds the number n, the horizontal direction + straight direction inversion routine is exited.

図19は、図5に示した合成画像データDcmに対して水平方向+垂直方向反転ルーチンによる反転処理を実行させた結果を示す説明図である。図示するように、反転の結果得られた新たな合成画像データnDcmは、図5の例示と比較すると、配置枠LFと背景デザインBKが垂直方向と垂直方向に反転されたものとなっている。配置枠LFに格納される画像データDp1,Dp2は、鏡面反転されることなく、上下方向および左右方向が維持される。   FIG. 19 is an explanatory diagram showing a result of executing the reversal processing by the horizontal direction + vertical direction reversal routine on the composite image data Dcm shown in FIG. As shown in the drawing, the new composite image data nDcm obtained as a result of the inversion is obtained by inverting the arrangement frame LF and the background design BK in the vertical direction and the vertical direction, as compared with the example of FIG. The image data Dp1 and Dp2 stored in the arrangement frame LF are maintained in the vertical and horizontal directions without being mirror-inverted.

この実施例では、図12に示すように、ツールバーBRに[テンプレートとして保存]ボタンBT3が設けられている。操作者は、[テンプレートとして保存]ボタンBT3をクリックすることにより、作業用フィールドFL1に表示された合成画像データDcmによって定められるテンプレートTmを、ハードディスクドライブ15等に保存することができる。なお、保存されたテンプレートTmは、前述してきたように、配置枠LFに合成部品が関連づけられていないが(合成画像データDcmとなって始めてその関連づけがなされる)、本実施例では、図4に示すように、部品/テンプレート指定用フィールドFL2に表示されるサムネールTmtは、その保存したときの合成画像データDcmの縮小画像、すなわち、配置枠LFに合成部品が配置された縮小画像となるように構成されている。   In this embodiment, as shown in FIG. 12, the toolbar BR is provided with a [Save as template] button BT3. The operator can save the template Tm defined by the composite image data Dcm displayed in the work field FL1 in the hard disk drive 15 or the like by clicking the [Save as Template] button BT3. As described above, the stored template Tm is not associated with the composite part to the arrangement frame LF (the association is made only after becoming the composite image data Dcm). As shown in FIG. 5, the thumbnail Tmt displayed in the part / template designation field FL2 is a reduced image of the composite image data Dcm at the time of saving, that is, a reduced image in which the composite part is arranged in the arrangement frame LF. It is configured.

本実施例において、CPU11とCPU11により実行される水平方向反転ルーチンが合成画像反転部11a(図1)に該当する。水平方向反転ルーチンのステップS250の処理が部品方向補正部11b(図1)に該当する。また、CPU11とCPU11により実行される垂直方向反転ルーチンが合成画像反転部11aに該当する。垂直方向反転ルーチンのステップS350の処理が部品方向補正部11bに該当する。また、CPU11とCPU11により実行される水平方向+垂直方向反転ルーチンが合成画像反転部11aに該当する。水平方向+垂直方向反転ルーチンのステップS450の処理が部品方向補正部11bに該当する。   In this embodiment, the CPU 11 and the horizontal reversal routine executed by the CPU 11 correspond to the composite image reversing unit 11a (FIG. 1). The processing in step S250 of the horizontal direction inversion routine corresponds to the component direction correction unit 11b (FIG. 1). The CPU 11 and the vertical direction inversion routine executed by the CPU 11 correspond to the composite image inversion unit 11a. The processing in step S350 of the vertical direction inversion routine corresponds to the component direction correction unit 11b. Further, the horizontal direction + vertical direction inversion routine executed by the CPU 11 and the CPU 11 corresponds to the composite image inversion unit 11a. The processing in step S450 of the horizontal direction + vertical direction inversion routine corresponds to the component direction correction unit 11b.

E.作用・効果:
以上のように構成された本実施例のコンピュータシステムによれば、水平方向反転ルーチンによって、合成画像の水平方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度を360度から減算して得た角度に補正される。このために、その水平方向の反転により、合成部品の左右が逆になることを防止することができる。また、垂直方向反転ルーチンによって、合成画像の垂直方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度を360度から減算して得た角度に補正される。このために、その垂直方向の反転により、合成部品の上下が逆になることを防止することができる。
E. Action / Effect:
According to the computer system of the present embodiment configured as described above, the direction of the composite component associated with the layout frame LF of the page template Tm is inverted by the horizontal inversion routine when the composite image is inverted in the horizontal direction. The inclination angle of the previous composite part is corrected to an angle obtained by subtracting it from 360 degrees. For this reason, it is possible to prevent the left and right of the composite part from being reversed by the horizontal reversal. In addition, when the composite image is inverted in the vertical direction by the vertical direction inversion routine, the direction of the composite part associated with the layout frame LF of the page template Tm is obtained by subtracting the inclination angle of the composite part before the inversion from 360 degrees. The obtained angle is corrected. For this reason, it is possible to prevent the composite part from being turned upside down due to the inversion in the vertical direction.

さらに、水平方向+垂直方向反転ルーチンによって、合成画像の水平方向および垂直方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度に補正される。このために、その水平方向および垂直方向の反転により、合成部品の左右が逆になったり、上下が逆になることを防止することができる。   Further, by the horizontal direction + vertical direction inversion routine, when the composite image is inverted in the horizontal direction and the vertical direction, the direction of the composite part associated with the layout frame LF of the page template Tm is set to the inclination angle of the composite part before the inversion. It is corrected. For this reason, it is possible to prevent the left and right of the composite part from being reversed and the top and bottom from being reversed by the inversion of the horizontal direction and the vertical direction.

したがって、この実施例によれば、合成画像の水平方向および/または垂直方向の反転時にあっても、良好な合成画像を作成することができる。また、合成画像の反転によって1つのテンプレートを使い回しすることが可能となることから、記憶装置の資源を節約することができる。すなわち、記憶装置の資源の節約と良好な合成画像の作成の両立を図ることができる。   Therefore, according to this embodiment, a good synthesized image can be created even when the synthesized image is inverted in the horizontal direction and / or the vertical direction. Further, since it is possible to reuse one template by reversing the composite image, it is possible to save resources of the storage device. That is, it is possible to achieve both saving of resources of the storage device and creation of a good composite image.

F.他の実施形態:
なお、この発明は上記の実施例や変形例に限られるものではなく、本発明の要旨を逸脱しない範囲において種々なる態様にて実施することが可能であり、例えば次のような変形も可能である。
F. Other embodiments:
The present invention is not limited to the above-described embodiments and modifications, and can be carried out in various modes without departing from the gist of the present invention. For example, the following modifications are possible. is there.

(1)前記実施例では、合成画像の水平方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度を360度から減算して得た角度に補正されるように構成されていたが、本発明は、必ずしもこの角度に限定されるものではなく、合成部品の方向を、反転前の前記合成部品の左右方向が維持される方向に補正するものであれば、他の角度に換えることができる。 (1) In the above-described embodiment, when the composite image is reversed in the horizontal direction, the direction of the composite part associated with the layout frame LF of the page template Tm is obtained by subtracting the inclination angle of the composite part before inversion from 360 degrees. Although it was configured to be corrected to the obtained angle, the present invention is not necessarily limited to this angle, and the direction of the composite part is the direction in which the left-right direction of the composite part before inversion is maintained. Any other angle can be used as long as the angle is corrected.

(2)前記実施例では、合成画像の垂直方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度を360度から減算して得た角度に補正されるように構成されていたが、本発明は、必ずしもこの角度に限定されるものではなく、合成部品の方向を、反転前の前記合成部品の上下方向が維持される方向に補正するものであれば、他の角度に換えることができる。 (2) In the above-described embodiment, when the composite image is inverted in the vertical direction, the direction of the composite part associated with the layout frame LF of the page template Tm is obtained by subtracting the inclination angle of the composite part before the inversion from 360 degrees. Although it was configured to be corrected to the obtained angle, the present invention is not necessarily limited to this angle, and the direction of the composite part is maintained in the vertical direction of the composite part before inversion. Any other angle can be used as long as the angle is corrected.

(3)前記実施例では、合成画像の水平方向および垂直方向の反転時に、ページテンプレートTmの配置枠LFに関連づけられた合成部品の方向が、反転前の合成部品の傾きの角度に補正されるように構成されていたが、本発明は、必ずしもこの角度に限定されるものではなく、合成部品の方向を、反転前の前記合成部品の左右方向および上下方向が維持される方向に補正するものであれば、他の角度に換えることができる。 (3) In the embodiment, when the composite image is reversed in the horizontal direction and the vertical direction, the direction of the composite part associated with the layout frame LF of the page template Tm is corrected to the inclination angle of the composite part before the inversion. However, the present invention is not necessarily limited to this angle, and the direction of the composite part is corrected to the direction in which the left-right direction and the vertical direction of the composite part before inversion are maintained. If so, it can be changed to another angle.

(4)前記実施例では、合成画像のページテンプレート部分をまず反転して、その後、その反転されたページテンプレートの有する配置枠LFに対して、合成部品を有効な角度でもって貼り込むように構成していたが、これに換えて、ページテンプレートと合成部品を一括して水平方向および/または垂直方向に反転して、その後、その反転された合成部品を回転させることにより合成部品の方向の補正を行なう構成としてもよい。ここで、その回転の角度は、最終的に合成部品が前記実施例でのステップS250,S350,S450の貼り込みの角度となるような回転量であり、その貼り込みの角度に対する前記水平方向および/または垂直方向の反転後の角度の差分となる。この構成によっても、第1実施例と同一の合成画像を作成することができる。 (4) In the above-described embodiment, the page template portion of the composite image is first inverted, and then the composite component is pasted at an effective angle with respect to the arrangement frame LF of the inverted page template. However, instead of this, the page template and the composite part are reversed together in the horizontal direction and / or the vertical direction, and then the composite part direction is corrected by rotating the inverted composite part. It is good also as composition which performs. Here, the rotation angle is a rotation amount such that the composite part finally becomes the pasting angle in steps S250, S350, and S450 in the embodiment, and the horizontal direction with respect to the pasting angle and / Or the difference in angle after inversion in the vertical direction. Also with this configuration, the same composite image as in the first embodiment can be created.

(5)前記実施例では、画像データDpは、デジタルカメラにより撮影した写真画像としたが、これに替えて、スキャナ等を用いて獲得した銀塩写真やグラビア等の画像データであってもよい。また、ハードディスクドライブ15等の記憶装置に予め用意したものであってもよい。あるいは、ネットワークを介して外部から取り込んだものであってもよい。 (5) In the above-described embodiment, the image data Dp is a photographic image taken by a digital camera. However, instead of this, image data such as a silver salt photograph or a gravure obtained using a scanner or the like may be used. . Alternatively, a storage device such as the hard disk drive 15 may be prepared in advance. Or what was taken in from the outside via a network may be used.

本発明の一実施例を適用するコンピュータシステムの概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the computer system to which one Example of this invention is applied. ページテンプレートTmで表わされる画像の一例を示す説明図である。It is explanatory drawing which shows an example of the image represented by page template Tm. ページテンプレートTmのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of page template Tm. ページ編集ウィンドウWDの一例を示す説明図である。It is explanatory drawing which shows an example of the page edit window WD. 操作者によって[画像]タブTB3がクリックされたときのページ編集ウィンドウWDの一例を示す説明図である。It is explanatory drawing which shows an example of the page edit window WD when the [image] tab TB3 is clicked by the operator. 合成画像を表わす合成画像データDcmのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of the composite image data Dcm showing a composite image. [反転]ダイアログボックスDBをページ編集ウィンドウWDとともに示す説明図である。It is explanatory drawing which shows the [reverse] dialog box DB with the page edit window WD. 合成画像反転ルーチンを示すフローチャートである。It is a flowchart which shows a composite image inversion routine. 合成画像反転ルーチンのステップS200で実行される水平方向反転ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the horizontal direction inversion routine performed by step S200 of a composite image inversion routine. ステップS220による水平方向の反転処理を説明するための説明図である。It is explanatory drawing for demonstrating the inversion process of the horizontal direction by step S220. ステップS240およびS250の処理により作業用フィールドFL1に表示される合成画像がどのように変化するかを示す説明図である。It is explanatory drawing which shows how the synthetic | combination image displayed on the field for work FL1 changes by the process of step S240 and S250. 図7に示したページ編集ウィンドウWDにおいて水平方向反転ルーチンを実行した後を示す説明図である。FIG. 8 is an explanatory diagram showing a state after executing a horizontal direction inversion routine in the page editing window WD shown in FIG. 7. 合成画像反転ルーチンのステップS300で実行される垂直方向反転ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the vertical direction inversion routine performed by step S300 of a composite image inversion routine. ステップS320による垂直方向の反転処理を説明するための説明図である。It is explanatory drawing for demonstrating the inversion process of the vertical direction by step S320. 配置枠LFへの合成部品の貼り込みの向きを360度−θと定めた理由を説明するための説明図である。It is explanatory drawing for demonstrating the reason which determined the direction of the synthetic | combination component affixing to the arrangement | positioning frame LF as 360 degree | times -theta. 図5に示した合成画像データDcmに対して垂直方向反転ルーチンによる反転処理を実行させた結果を示す説明図である。It is explanatory drawing which shows the result of having performed the inversion process by a vertical direction inversion routine with respect to the synthetic image data Dcm shown in FIG. 合成画像反転ルーチンのステップS400で実行される水平方向+垂直方向反転ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the horizontal direction + vertical direction inversion routine performed by step S400 of a composite image inversion routine. 配置枠LFへの合成部品の貼り込みの向きを反転前の傾きを維持するものと定めた理由を説明するための説明図である。It is explanatory drawing for demonstrating the reason which determined that the direction of the synthetic | combination component affixing to the arrangement | positioning frame LF shall maintain the inclination before inversion. 図5に示した合成画像データDcmに対して水平方向+垂直方向反転ルーチンによる反転処理を実行させた結果を示す説明図である。FIG. 6 is an explanatory diagram illustrating a result of executing a reversal process by a horizontal direction + vertical direction reversal routine on the composite image data Dcm illustrated in FIG. 5.

符号の説明Explanation of symbols

10...パーソナルコンピュータ
11...CPU
11a...合成画像反転部
11b...部品方向補正部
12...バス
13...メモリ
14...表示画像メモリ
15...ハードディスクドライブ
16...入力制御ユニット
17...表示制御ユニット
18...出力制御ユニット
20...ディスプレイ
22...キーボード
24...マウス
26...デジタルカメラ
28...CDドライブ
29...プリンタ
Pr...コンピュータプログラム
Dp...画像データ
Dcm...合成画像データ
Tm...ページテンプレート
LF...配置枠
BK...背景デザイン
WD...ページ編集ウィンドウ
FL1...作業用フィールド
FL2...部品/テンプレート指定用フィールド
TB1...[ページテンプレート]タブ
TB2...[クリップアート]タブ
TB3...[画像]タブ
BT1...[開く]ボタン
BT2...[保存]ボタン
BT3...[テンプレートとして保存]ボタン
BT4...[反転]ボタン
BT5...[配置]ボタン
DB...[反転]ダイアログボックス
CB1...「水平方向」のチェックボックス
CB2...「垂直方向」のチェックボックス
BT11...[適用]ボタン
10 ... Personal computer 11 ... CPU
11a ... Composite image inversion unit 11b ... Component direction correction unit 12 ... Bus 13 ... Memory 14 ... Display image memory 15 ... Hard disk drive 16 ... Input control unit 17 ... Display control unit 18 ... Output control unit 20 ... Display 22 ... Keyboard 24 ... Mouse 26 ... Digital camera 28 ... CD drive 29 ... Printer Pr ... Computer program Dp. ..Image data Dcm ... Composite image data Tm ... Page template LF ... Layout frame BK ... Background design WD ... Page edit window FL1 ... Work field FL2 ... Parts / Template Designation field TB1 ... [Page template] tab TB2 ... [Clip art] tab TB3 ... [Image] tab BT1 ... [Open] button BT2 ... [Save] button BT3 ... [ As a template BT4 ... [Flip] button BT5 ... [Place] button DB ... [Flip] dialog box CB1 ... "Horizontal" checkbox CB2 ... "Vertical" checkbox BT11 ... [Apply] button

Claims (15)

合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なう合成画像編集装置であって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転手段
を備えるとともに、
前記合成画像反転手段は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正手段
を備えることを特徴とする合成画像編集装置。
A composite image editing apparatus for editing a composite image by displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device,
A composite image inversion means for inverting the composite image displayed on the display device in a horizontal direction and / or a vertical direction when receiving a predetermined command from an operator;
The composite image reversing means includes
A composite image editing apparatus comprising: a component direction correcting unit that corrects the direction of the composite component associated with the arrangement area when the composite image is inverted.
請求項1に記載の合成画像編集装置であって、
前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成である
合成画像編集装置。
The composite image editing apparatus according to claim 1,
The component direction correction unit obtains the direction of the composite component by subtracting the inclination angle of the composite component before the inversion from 360 degrees when the direction of inversion by the composite image inversion unit is a horizontal direction. A composite image editing device that is configured to correct to an angle.
請求項1または2に記載の合成画像編集装置であって、
前記部品方向補正手段は、前記合成画像反転手段による反転の方向が垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成である
合成画像編集装置。
The composite image editing apparatus according to claim 1 or 2,
The component direction correcting unit obtains the direction of the composite component by subtracting the inclination angle of the composite component before the inversion from 360 degrees when the direction of reversal by the composite image reversing unit is a vertical direction. A composite image editing device that is configured to correct to an angle.
請求項1ないし3のいずれかに記載の合成画像編集装置であって、
前記部品方向補正手段は、前記合成画像反転手段による反転の方向が水平方向および垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度に補正する構成である
合成画像編集装置。
The composite image editing apparatus according to any one of claims 1 to 3,
The component direction correcting means is configured to correct the direction of the composite part to the inclination angle of the composite part before inversion when the direction of inversion by the composite image inversion means is a horizontal direction and a vertical direction. Composite image editing device.
請求項1ないし4のいずれかに記載の合成画像編集装置であって、
前記合成画像反転手段は、
前記テンプレートを前記水平方向および/または垂直方向に反転するテンプレート反転手段
を備え、
前記部品方向補正手段は、
前記合成部品の方向を求めて、前記テンプレート反転手段により反転されたテンプレートの有する配置領域に前記求めた方向でもって前記合成部品を貼り込む構成である
合成画像編集装置。
The composite image editing apparatus according to any one of claims 1 to 4,
The composite image reversing means includes
Template inverting means for inverting the template in the horizontal direction and / or vertical direction,
The component direction correcting means includes
A composite image editing apparatus that obtains the direction of the composite part and pastes the composite part in the arrangement area of the template reversed by the template reversing unit in the obtained direction.
請求項1ないし4のいずれかに記載の合成画像編集装置であって、
前記合成画像反転手段は、
前記テンプレートと合成部品を一括して前記水平方向および/または垂直方向に反転する一括反転手段
を備え、
前記部品方向補正手段は、
前記一括反転手段により反転された合成部品を回転させることにより前記合成部品の方向の補正を行なう構成である
合成画像編集装置。
The composite image editing apparatus according to any one of claims 1 to 4,
The composite image reversing means includes
A batch reversing means for collectively reversing the template and the composite part in the horizontal direction and / or the vertical direction;
The component direction correcting means includes
A composite image editing apparatus configured to correct the direction of the composite part by rotating the composite part reversed by the collective reversing unit.
前記合成部品は、デジタルスチルカメラで撮影した写真画像である請求項1ないし6のいずれかに記載の合成画像編集装置。   The composite image editing apparatus according to claim 1, wherein the composite part is a photographic image taken by a digital still camera. 合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なう合成画像編集方法であって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転行程
を備えるとともに、
前記合成画像反転行程は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正行程
を備えることを特徴とする合成画像編集方法。
A composite image editing method for editing a composite image by displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device,
A composite image reversing step of reversing the composite image displayed on the display device in a horizontal direction and / or a vertical direction when receiving a predetermined command from an operator;
The composite image reversal process includes:
A composite image editing method comprising: a component direction correcting step of correcting a direction of a composite component associated with the arrangement area when the composite image is inverted.
合成部品を配置するための配置領域を有するテンプレートと該配置領域に関連づけられた合成部品との合成画像を表示装置に表示して、前記合成画像の編集を行なうためのコンピュータプログラムであって、
操作者から所定の指令を受けたときに、前記表示装置に表示された合成画像を水平方向および/または垂直方向に反転する合成画像反転機能
をコンピュータに実現させるとともに、
前記合成画像反転機能は、
前記合成画像の反転時に、前記配置領域に関連づけられた合成部品の方向を補正する部品方向補正機能
を備えることを特徴とするコンピュータプログラム。
A computer program for displaying a composite image of a template having a placement area for placing a composite part and a composite part associated with the placement area on a display device and editing the composite image,
When the computer receives a predetermined command from the operator, the computer realizes a composite image reversal function for reversing the composite image displayed on the display device in the horizontal direction and / or the vertical direction,
The composite image inversion function is
A computer program comprising: a component direction correction function for correcting the direction of a composite component associated with the arrangement area when the composite image is inverted.
請求項9に記載のコンピュータプログラムであって、
前記部品方向補正機能は、前記合成画像反転機能による反転の方向が水平方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成である
コンピュータプログラム。
A computer program according to claim 9,
The component direction correction function is obtained by subtracting the inclination angle of the composite part before inversion from 360 degrees when the direction of inversion by the composite image inversion function is a horizontal direction. A computer program that corrects to an angle.
請求項9または10に記載のコンピュータプログラムであって、
前記部品方向補正機能は、前記合成画像反転機能による反転の方向が垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度を360度から減算して得た角度に補正する構成である
コンピュータプログラム。
A computer program according to claim 9 or 10,
The component direction correction function is obtained by subtracting the inclination angle of the composite component before inversion from 360 degrees when the direction of inversion by the composite image inversion function is a vertical direction. A computer program that corrects to an angle.
請求項9ないし11のいずれかに記載のコンピュータプログラムであって、
前記部品方向補正機能は、前記合成画像反転機能による反転の方向が水平方向および垂直方向であるときに、前記合成部品の方向を、反転前の前記合成部品の傾きの角度に補正する構成である
コンピュータプログラム。
A computer program according to any one of claims 9 to 11,
The component direction correction function is configured to correct the direction of the composite part to the inclination angle of the composite part before inversion when the direction of inversion by the composite image inversion function is a horizontal direction and a vertical direction. Computer program.
請求項9ないし12のいずれかに記載のコンピュータプログラムであって、
前記合成画像反転機能は、
前記テンプレートを前記水平方向および/または垂直方向に反転するテンプレート反転機能
を備え、
前記部品方向補正機能は、
前記合成部品の方向を求めて、前記テンプレート反転機能により反転されたテンプレートの有する配置領域に前記求めた方向でもって前記合成部品を貼り込む構成である
コンピュータプログラム。
A computer program according to any one of claims 9 to 12,
The composite image inversion function is
A template inversion function for inverting the template in the horizontal direction and / or vertical direction;
The component direction correction function is
A computer program having a configuration in which the direction of the composite part is obtained and the composite part is pasted in the arrangement area of the template inverted by the template inversion function in the obtained direction.
請求項9ないし12のいずれかに記載のコンピュータプログラムであって、
前記合成画像反転機能は、
前記テンプレートと合成部品を一括して前記水平方向および/または垂直方向に反転する一括反転機能
を備え、
前記部品方向補正機能は、
前記一括反転機能により反転された合成部品を回転させることにより前記合成部品の方向の補正を行なう構成である
コンピュータプログラム。
A computer program according to any one of claims 9 to 12,
The composite image inversion function is
A batch reversing function for collectively reversing the template and the composite part in the horizontal direction and / or the vertical direction,
The component direction correction function is
A computer program having a configuration for correcting the direction of the composite component by rotating the composite component inverted by the collective reversal function.
請求項9ないし14のいずれかに記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。   15. A computer-readable recording medium on which the computer program according to claim 9 is recorded.
JP2005180283A 2005-06-21 2005-06-21 Composite image editing apparatus, composite image editing method and computer program Pending JP2007005864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005180283A JP2007005864A (en) 2005-06-21 2005-06-21 Composite image editing apparatus, composite image editing method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005180283A JP2007005864A (en) 2005-06-21 2005-06-21 Composite image editing apparatus, composite image editing method and computer program

Publications (1)

Publication Number Publication Date
JP2007005864A true JP2007005864A (en) 2007-01-11

Family

ID=37691081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005180283A Pending JP2007005864A (en) 2005-06-21 2005-06-21 Composite image editing apparatus, composite image editing method and computer program

Country Status (1)

Country Link
JP (1) JP2007005864A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8629431B2 (en) 2009-11-26 2014-01-14 Dic Corporation Material for photoelectric conversion device and photoelectric conversion device
CN109076137A (en) * 2016-04-25 2018-12-21 富士胶片株式会社 Image synthesizer, image composition method and image synthesis program
JP2020052541A (en) * 2018-09-25 2020-04-02 富士フイルム株式会社 Image display control apparatus, operation program and operation method of the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8629431B2 (en) 2009-11-26 2014-01-14 Dic Corporation Material for photoelectric conversion device and photoelectric conversion device
CN109076137A (en) * 2016-04-25 2018-12-21 富士胶片株式会社 Image synthesizer, image composition method and image synthesis program
CN109076137B (en) * 2016-04-25 2020-02-21 富士胶片株式会社 Image synthesizing device, image synthesizing method, and computer-readable recording medium
JP2020052541A (en) * 2018-09-25 2020-04-02 富士フイルム株式会社 Image display control apparatus, operation program and operation method of the same
US11126337B2 (en) 2018-09-25 2021-09-21 Fujifilm Corporation Picture display control device, and operating program and operating method of picture display control device
JP7004628B2 (en) 2018-09-25 2022-02-04 富士フイルム株式会社 Image display control device, operation program of image display control device, and operation method

Similar Documents

Publication Publication Date Title
US8175420B2 (en) System and method for in-browser photo editing
JP2005182771A (en) Image editing apparatus, method, and program
JP2008186095A (en) Image processor, image processing method and program
JP2006285578A (en) Page editing device, page editing method and computer program
JP2007041944A (en) Image processing device, image processing method, computer program, computer-readable recording medium and image forming system
JP2005184795A (en) Apparatus, method, and program for editing image
US7394563B2 (en) Image forming apparatus that executes an image trimming process with priority over other commands, method therefor, and storage medium storing a program therefor
JP2007124304A (en) Image layout device, method, and program
JP2007005864A (en) Composite image editing apparatus, composite image editing method and computer program
US20080180433A1 (en) Image processing apparatus, image processing method, and storage medium
JP2021101319A (en) Information processing device and information processing program
JP4609329B2 (en) Thumbnail display of image data
US20180341647A1 (en) Information processing apparatus and information processing method
JP2007143017A (en) Correction of date information of image file
JP4690115B2 (en) Control apparatus and image processing apparatus
JP2003204510A (en) Image processing apparatus and method, and storage medium
JP4325256B2 (en) Image processing apparatus and program thereof
JP2005340992A (en) Device and method for arranging image and computer program
JP2006287498A (en) Template display device, template display method, and computer program
JP2006277228A (en) Device and method for image layout change, and computer program
Whitt Photo editing software
JP2006302309A (en) Concentrated print system for digital photographic image, medium with concentrated print program for digital photographic image recorded thereon and concentrated print method for digital photographic image
JP2002094909A (en) Centralized print system for digital photographing image, medium for recording centralized print program for the digital photographing image and centralized print method for the digital photographing image
JP2004013335A (en) Image processor, image processing method, program and recording medium
JP3483475B2 (en) Image processing apparatus, image processing method, and recording medium recording program