JP2022164258A - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP2022164258A
JP2022164258A JP2021069641A JP2021069641A JP2022164258A JP 2022164258 A JP2022164258 A JP 2022164258A JP 2021069641 A JP2021069641 A JP 2021069641A JP 2021069641 A JP2021069641 A JP 2021069641A JP 2022164258 A JP2022164258 A JP 2022164258A
Authority
JP
Japan
Prior art keywords
image
memory
editing
information processing
information
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
JP2021069641A
Other languages
Japanese (ja)
Inventor
拓哉 竹之内
Takuya Takenouchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2021069641A priority Critical patent/JP2022164258A/en
Publication of JP2022164258A publication Critical patent/JP2022164258A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To reduce the usage of memory in performing editing.SOLUTION: To edit album data in which a plurality of settled images are arranged, a program causes a computer having a memory to detect, of the plurality of settled images, a settled image selected as an object to be edited, read out, to the memory, an original image corresponding to the detected selected settled image stored in a storage unit, receive a change in editing information including a set value related to the settled image, apply the editing information on which the received change is reflected to the original image read-out to the memory to create an edited image in the memory, and after creating the edited image, read out the edited image from the memory in place of the selected settled image and arrange the edited image.SELECTED DRAWING: Figure 4

Description

本発明は、複数の画像を編集して表示するための情報処理技術に関する。 The present invention relates to information processing technology for editing and displaying a plurality of images.

近年、フォトアルバム作成アプリケーションを使って、複数の画像をフォトアルバム用のテンプレートに配置し、フォトアルバムを作成する製品がリリースされている。フォトアルバム作成アプリケーションでは、ユーザにとってより魅力的なフォトアルバムを作成可能とするために、フォトアルバムの表紙や本身に複数の画像をユーザの好みの位置に配置できることが一般的になっている。また、ユーザは配置した画像に対して、コントラストや明るさを調整したり、モノクロやセピアなどの色調を調整したりする様々な効果をかけることで、より好みの画像に編集することも可能になっている。 In recent years, a product has been released that creates a photo album by arranging a plurality of images in a photo album template using a photo album creation application. In order to create a more attractive photo album for the user, photo album creation applications generally allow a plurality of images to be placed on the cover or main body of the photo album at desired positions of the user. In addition, users can edit images to their liking by applying various effects such as adjusting contrast and brightness, and adjusting color tones such as monochrome and sepia. It's becoming

特許文献1には、このような各種効果のパラメータを変更するなどの画像編集を行う際に、パラメータの変化に応じた効果の変化をユーザがリアルタイムに確認できるようにする方法が開示されている。 Patent Literature 1 discloses a method that enables a user to confirm in real time changes in effects according to changes in parameters when performing image editing such as changing parameters of various effects. .

特開2018-124776号公報JP 2018-124776 A

しかしながら、画像に対する効果の適用結果をリアルタイムに描画するには、メモリ上で画像データに対して処理を行い、効果が適用された新たな画像データを生成する必要があるため、扱う画像が増えるとメモリの使用量が増加する。そのため、多数の画像を同時に表示するフォトアルバム作成アプリケーションなどにおいて効果の適用結果をリアルタイムに描画しようとすると、メモリ使用量が増大するという課題がある。 However, in order to draw the result of applying an effect to an image in real time, it is necessary to process the image data in memory and generate new image data with the effect applied. Increased memory usage. Therefore, when trying to draw the effect application results in real time in a photo album creation application that displays a large number of images at the same time, there is a problem that the amount of memory used increases.

上記課題を解決するために、本発明は、メモリを有するコンピュータに、複数の確定画像が配置されているアルバムデータを編集するための方法であって、前記複数の確定画像のうち編集対象として選択された確定画像を検出する検出ステップと、記憶装置に保存された前記検出ステップで検出された前記選択された確定画像に対応する元画像を、前記メモリに読み出す読み出しステップと、前記確定画像に関する設定値を含む前記編集情報の変更を受け付けるステップと、前記読み出しステップで前記メモリに読み出した前記元画像に対して、前記変更を受け付けるステップで受け付けた前記変更を反映した前記編集情報を適用して編集画像を前記メモリに生成する生成ステップと、前記生成ステップで前記編集画像を生成すると、前記選択された確定画像に代えて前記メモリから前記編集画像を読み出して配置する配置ステップと、を含む方法の各ステップを実行させることを特徴とする。 In order to solve the above problems, the present invention provides a method for editing album data in which a plurality of confirmed images are arranged in a computer having a memory, comprising: a detection step of detecting the selected definite image; a reading step of reading an original image corresponding to the selected definite image detected in the detection step and stored in a storage device into the memory; a step of receiving changes to the editing information including values, and editing by applying the editing information reflecting the changes received in the step of receiving changes to the original image read into the memory in the reading step. a generating step of generating an image in the memory; and an arranging step of reading out and arranging the edited image from the memory in place of the selected final image when the edited image is generated in the generating step. It is characterized by executing each step.

本発明によれば、編集を行う際のメモリの使用量を低減することができる。 According to the present invention, it is possible to reduce the amount of memory used when editing.

システム構成の一例を表す図である。It is a figure showing an example of a system configuration. フォトブックに配置された画像のリストを保存管理する一例を表す図である。FIG. 4 is a diagram showing an example of saving and managing a list of images arranged in a photobook; フォトアルバムを編集するために表示される画面の一例である。FIG. 11 is an example of a screen displayed for editing a photo album; FIG. 実施形態1を説明するためのフローチャート図である。FIG. 2 is a flowchart for explaining the first embodiment; FIG. 実施形態1を説明するためのフローチャート図である。FIG. 2 is a flowchart for explaining the first embodiment; FIG. 実施形態2を説明するための編集履歴を保存管理する一例を表す図である。FIG. 11 is a diagram showing an example of saving and managing edit histories for explaining the second embodiment; 実施形態2を説明するためのフローチャート図である。FIG. 10 is a flowchart for explaining the second embodiment; フォトアルバムに画像を配置する処理の一例を表すフローチャートである。5 is a flowchart showing an example of processing for arranging images in a photo album;

以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。尚、以下の実施の形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the present invention according to the claims, and all the combinations of features described in the embodiments are not essential to the solution means of the present invention. Not exclusively.

<実施形態1>
実施形態1では、ユーザが編集対象として選択した画像と、そうでない画像とで異なる処理を行う。ユーザが編集対象として選択した画像については、メモリに読み込んだ編集前の元画像の画像データに対して編集内容に応じた処理を施して新たな画像データをメモリ上に生成し、生成した新たな画像データに基づく画像を表示する。編集内容に変更があると、変更された編集内容に応じた画像データをメモリ上に、元画像と編集内容とに基づいてリアルタイムに生成し、変更された編集内容が反映された画像をリアルタイムに表示する。
<Embodiment 1>
In the first embodiment, different processing is performed for an image selected by the user as an object to be edited and for an image that is not. For the image selected by the user to be edited, the image data of the original image before editing read into memory is processed according to the content of editing, and new image data is generated in memory. Display an image based on the image data. When there is a change in the editing content, image data corresponding to the changed editing content is generated on a memory in real time based on the original image and the editing content, and an image reflecting the changed editing content is generated in real time. indicate.

一方、選択された画像以外の画像(つまり選択されていない画像)については、メモリに読み込んだ画像データに基づく画像を表示し、表示を行っている間に、メモリ上への元画像の画像データの読み込みおよび新たな画像データの生成を行わない。 On the other hand, for images other than the selected image (that is, the unselected image), the image based on the image data loaded into the memory is displayed, and while the image is being displayed, the image data of the original image is stored in the memory. , and does not generate new image data.

このようなことから本実施形態では、編集結果をリアルタイムに表示しながら編集する際のメモリ使用量を低減することができる。 For this reason, in this embodiment, it is possible to reduce the amount of memory used when editing while displaying the editing result in real time.

まず図1を用いて、本実施形態で用いる情報処理装置1004の構成について説明する。本実施形態に用いる情報処理装置1004は、入力された画像データからアルバムデータ(フォトアルバム、フォトブック)を作成することが可能なフォトアルバム作成アプリケーションがインストールされている。情報処理装置1004は、作成したアルバムデータを印刷データとして出力することや、外部サーバーにアップロードすることが可能である。情報処理装置1004は、ROM1009、RAM1010、CPU1011を有する。また、プリンター1005、モニタ1006、入力装置1007、記憶装置1008、ネットワーク1003と接続するための入出力インターフェース(不図示)を有する。 First, the configuration of the information processing apparatus 1004 used in this embodiment will be described with reference to FIG. The information processing apparatus 1004 used in this embodiment is installed with a photo album creation application capable of creating album data (photo album, photo book) from input image data. The information processing apparatus 1004 can output the created album data as print data or upload it to an external server. The information processing device 1004 has a ROM 1009 , a RAM 1010 and a CPU 1011 . It also has an input/output interface (not shown) for connecting to the printer 1005 , monitor 1006 , input device 1007 , storage device 1008 , and network 1003 .

CPU1011は、中央演算装置であり、記憶装置1008やROM1009、RAM1010に記憶されているオペレーションシステムプログラム(以下、OSと略す)を実行することにより情報処理装置1004全体の制御を行う。また、CPU1011は、ROM1009やRAM1010に記憶されているプログラムを実行することによって、情報処理装置1004の各機能構成の実現や情報の演算や加工、各ハードウェアの制御を行う。 The CPU 1011 is a central processing unit, and controls the entire information processing apparatus 1004 by executing an operating system program (hereinafter abbreviated as OS) stored in the storage device 1008 , ROM 1009 and RAM 1010 . Further, the CPU 1011 executes programs stored in the ROM 1009 and the RAM 1010 to realize each functional configuration of the information processing apparatus 1004, perform calculation and processing of information, and control each hardware.

ROM1009は、読み出し専用メモリであり、フォトアルバム作成アプリケーションなどの各プログラムが格納されている。RAM1010は、ランダムアクセスメモリであり、CPU1011のワークメモリや不揮発性のRAMであれば各プログラムが格納されている。RAM1010には、上述したリアルタイムに生成され、表示される画像データが格納される。ネットワーク1003(例えば、インターネット)は、情報処理装置1004、外部サーバー1002と接続されており、接続されているそれぞれの情報の伝達を行うための通信網である。 A ROM 1009 is a read-only memory and stores programs such as a photo album creation application. A RAM 1010 is a random access memory, and if it is a work memory of the CPU 1011 or a non-volatile RAM, each program is stored. The RAM 1010 stores image data to be generated and displayed in real time as described above. A network 1003 (for example, the Internet) is a communication network that is connected to the information processing device 1004 and the external server 1002 and that transmits information between them.

外部サーバー1002は、プリンター1001と接続するための入出力インターフェース(不図示)を有しており、プリンター1001に接続されている。情報処理装置1004で作成したアルバムデータは、ネットワーク1003を介して外部サーバー1002にアップロードされる。外部サーバーでは、アップロードされたアルバムデータが印刷可能であれば、プリンター1001に出力する。外部サーバー1002は、例えばフォトアルバム受注・管理サーバーであり、ユーザが自身の情報処理装置1004で作成したアルバムデータをアップロードし、必要なフォトアルバム購入手続きが取られたら、プリンター1001で出力する。その後、出力された印刷物は製本され、ユーザ手元に届けられる。 The external server 1002 has an input/output interface (not shown) for connecting with the printer 1001 and is connected to the printer 1001 . Album data created by the information processing apparatus 1004 is uploaded to the external server 1002 via the network 1003 . The external server outputs the uploaded album data to the printer 1001 if it can be printed. The external server 1002 is, for example, a photo album order/management server, in which the user uploads album data created by the user's own information processing apparatus 1004, and outputs the photo album data through the printer 1001 when necessary photo album purchase procedures are completed. After that, the output printed matter is bound and delivered to the user.

プリンター1005は、情報処理装置1004で作成された印刷物を印刷するためのプリンターである。形態によっては、作成したアルバムデータを自身が所有しているプリンター1005で印刷し、ユーザが製本し、印刷物としてのフォトアルバムに仕上げてもよい。 A printer 1005 is a printer for printing printed matter created by the information processing apparatus 1004 . Depending on the form, the created album data may be printed by the printer 1005 owned by the user, bound by the user, and finished as a printed photo album.

モニタ1006は、情報処理装置1004において出力された画像情報を表示する表示装置である。入力装置1007は、情報処理装置1004に入力を行うためのキーボードやポインティングデバイスなどの入力装置である。入力装置の形態によってはモニタと一体となっており、モニタに直接触れ入力する構成の装置もある。記憶装置1008は、画像データやテンプレートなどを保存するHDDやSSDなどの記憶装置である。記憶装置1008に記憶される画像データには、上述のリアルタイムに生成され、表示される画像データは含まれない。ブロック図では、情報処理装置1004とモニタ1006、入力装置1007、記憶装置1008が別個なものとして記載されている。しかしこれらの構成は、情報処理装置1004の形態によっては、モニタ、入力装置、記憶装置(情報処理装置のRAMと共有となる場合もある)が一体化された情報処理装置であってもよい。 A monitor 1006 is a display device that displays image information output from the information processing device 1004 . The input device 1007 is an input device such as a keyboard or pointing device for inputting to the information processing device 1004 . Depending on the form of the input device, there is also a device that is integrated with the monitor and has a configuration in which input is made by directly touching the monitor. A storage device 1008 is a storage device such as an HDD or an SSD that stores image data, templates, and the like. The image data stored in the storage device 1008 does not include the image data generated and displayed in real time as described above. In the block diagram, the information processing device 1004, the monitor 1006, the input device 1007, and the storage device 1008 are described as separate devices. However, depending on the form of the information processing apparatus 1004, these configurations may be an information processing apparatus in which a monitor, an input device, and a storage device (which may be shared with the RAM of the information processing apparatus) are integrated.

次に図2を用いて、フォトアルバムの各ページに配置された画像に関する編集情報を保存管理する方法について説明する。図2に、本実施形態において情報処理装置1004で保存管理するフォトアルバムに関する編集情報の一例を表す。図2に示す例は、8ページで構成されるフォトアルバムに関して生成された編集情報であり、記憶装置1008に保存されている。編集情報は、フォトアルバム作成アプリケーションの起動に応じてRAM1010に読み込まれるとよい。以下、図2に示す編集情報の各項目について説明する。 Next, with reference to FIG. 2, a method for saving and managing edit information regarding images arranged on each page of the photo album will be described. FIG. 2 shows an example of edit information related to photo albums stored and managed by the information processing apparatus 1004 in this embodiment. The example shown in FIG. 2 is edit information generated for a photo album consisting of 8 pages and stored in storage device 1008 . Editing information may be read into RAM 1010 upon activation of a photo album creation application. Each item of the edit information shown in FIG. 2 will be described below.

「スロットID」に対しては、画像が配置されたフォトブックのページ上のスロットを識別するための識別情報が格納される。尚、本例では、スロットという概念を用いて説明するが、必ずしもスロットを用いなくてもよい。例えば、フォトブックのページ上に配置された画像を識別するための識別情報である画像IDを格納するようにしてもよい。 The “slot ID” stores identification information for identifying the slot on the page of the photobook in which the image is arranged. In this example, the concept of slots will be used for explanation, but slots may not necessarily be used. For example, an image ID, which is identification information for identifying an image arranged on a page of a photobook, may be stored.

「ページ番号」に対しては、画像が配置されるフォトアルバムにおけるページの番号が格納される。つまり、ページ番号が「1」であるということは、画像がフォトアルバムの1ページ目に配置されることを示す。なお、本実施形態ではフォトアルバムのページ単位を見開きとする。尚、「見開き」とは、例えば表示においては一つの表示用ウィンドウに相当し、印刷物においては、本を開いた際にユーザが一度に鑑賞可能な互いに隣接する1対のページ(つまり2ページ分)に相当する。尚、見開き内の2ページは、それぞれ異なる用紙に印刷されたものが隣接するよう綴じられることで見開きを形成する場合と、1枚の用紙に印刷されたものが真ん中で折られることで見開きを形成する場合と、がある。ここでは、このような見開きの概念を用いて説明するが、ページでもよい。即ち、見開きの左右ページをそれぞれ単位ページとして保存管理してもよい。 The "page number" stores the number of the page in the photo album on which the image is arranged. In other words, the page number "1" indicates that the image is placed on the first page of the photo album. Note that, in the present embodiment, each page of the photo album is a double-page spread. In addition, the "spread" corresponds to, for example, one display window in terms of display, and in terms of printed matter, a pair of pages adjacent to each other (that is, two pages) that can be viewed by the user at once when the book is opened. ). In addition, two pages in a double-page spread are printed on different sheets of paper and bound together to form a double-page spread. There is a case to form and a case to form. Here, the concept of double-page spreads will be used for explanation, but pages may also be used. In other words, the left and right pages of the two-page spread may be stored and managed as unit pages.

「元画像」に対しては、効果が適用される前の画像の画像データについてのファイル名、つまり、その画像データのファイルパスを特定可能にする情報が格納される。なお、本実施形態では、画像データが予め定められた所定のフォルダに保存され、所定のフォルダパスとファイル名からファイルパスを特定できるものとする。また、ファイル名を格納する項目に関しては、ファイル名に代えてファイルパスを格納するようにしてもよい。元画像のファイルパスは、例えば記憶装置1008の格納領域となる。 The "original image" stores the file name of the image data of the image before the effect is applied, that is, the information that allows the file path of the image data to be specified. In this embodiment, image data is stored in a predetermined folder, and the file path can be identified from the predetermined folder path and file name. As for the item storing the file name, the file path may be stored instead of the file name. The file path of the original image is the storage area of the storage device 1008, for example.

「x」、「y」、「width」、「height」に対しては、画像をフォトアルバムのページに配置するスロットの位置情報を表すx座標、y座標、幅、高さを示す値が格納される。本実施形態においては、座標の原点位置(0、0)は見開きページの左上端とする。 'x', 'y', 'width', and 'height' store values indicating the x-coordinate, y-coordinate, width, and height of the slot where the image is placed on the photo album page. be done. In this embodiment, the origin position (0, 0) of the coordinates is the upper left corner of the two-page spread.

「不透明度」、「セピア」、「モノクロ」、「コントラスト」、「明るさ」に対しては、元画像に適用して、元画像の画素値を変化させる各種効果のパラメータ(設定値)が格納される。 For "Opacity", "Sepia", "Monochrome", "Contrast", and "Brightness", there are various effect parameters (set values) that are applied to the original image to change the pixel values of the original image. Stored.

「確定画像」に対しては、元画像に効果が適用された画像の画像データのファイル名、つまり、その画像データのファイルパスを特定可能にする情報が格納される。なお、本実施形態において用いる画像の画像データは、拡張子“*.jpg”が示すようにJPEG形式であり、デジタルスチルカメラ等で撮影して保存された写真等で一般的な画像ファイル形式である。但し、本実施形態において画像データは、これに限定されず、任意の画像ファイル形式であってよい。元画像のファイルパスは、例えば記憶装置1008の格納領域となる。 For the "final image", the file name of the image data of the image to which the effect is applied to the original image, that is, the information that enables the specification of the file path of the image data is stored. Note that the image data of the image used in this embodiment is in JPEG format as indicated by the extension "*.jpg", and is a general image file format for photographs taken and saved with a digital still camera or the like. be. However, the image data in this embodiment is not limited to this, and may be in any image file format. The file path of the original image is the storage area of the storage device 1008, for example.

次に図3を用いて、フォトアルバム3002を編集するための編集画面3000について説明する。図3に示すように、フォトアルバムを編集するための編集画面3000は、編集中のフォトアルバムを表示するフォトアルバム表示操作部3001を含み、フォトアルバム表示部3001に内には編集中のフォトアルバム3002が表示される。 Next, an edit screen 3000 for editing the photo album 3002 will be described with reference to FIG. As shown in FIG. 3, an edit screen 3000 for editing a photo album includes a photo album display operation section 3001 for displaying the photo album being edited. 3002 is displayed.

表示領域3003には、フォトアルバム3002の表示されているページのページ番号が表示される。ボタン3006は、表示されているフォトアルバムのページを前に送るための前送りボタン、ボタン3007は、表示されているフォトアルバムのページを後ろに送るための後ろ送りボタンである。 A display area 3003 displays the page number of the displayed page of the photo album 3002 . A button 3006 is a forward feed button for forwarding the displayed photo album page, and a button 3007 is a backward feed button for backward forwarding the displayed photo album page.

フォトアルバム3002上に配置されている画像3004は、図2に示すスロットID001の確定画像であり、画像3005は、図2に示すスロットID002の確定画像である。このように、本実施形態では、フォトアルバム上に表示されているだけで選択された状態にない画像には、確定画像を使用する。情報処理装置1004は、確定画像を表示する場合、編集情報の確定画像に格納されたファイル名の画像データを読み込んで、その読み込んだ画像データに基づき画像を表示する。そのため確定画像を表示する場合の情報処理装置1004におけるメモリ使用量は、読み込んだ画像データに効果を適用する処理を施して表示用の画像データを生成し、生成した表示用の画像データに基づき画像を表示する場合よりも少ない。 An image 3004 arranged on the photo album 3002 is a confirmed image of the slot ID001 shown in FIG. 2, and an image 3005 is a confirmed image of the slot ID002 shown in FIG. Thus, in the present embodiment, the confirmed image is used for the image that is only displayed on the photo album but not selected. When displaying the finalized image, the information processing apparatus 1004 reads the image data of the file name stored in the finalized image of the editing information, and displays the image based on the read image data. Therefore, the amount of memory used in the information processing apparatus 1004 when displaying a finalized image is reduced by generating image data for display by applying an effect to the read image data, and displaying an image based on the generated image data for display. less than when displaying .

画像一覧表示部3008には、フォトアルバム3002に配置することが可能な画像3009~3013が表示される。ボタン3014、3015は、画像一覧表示部3008に表示された画像を左右に移動させるためのボタンである。 Images 3009 to 3013 that can be arranged in the photo album 3002 are displayed in the image list display portion 3008 . Buttons 3014 and 3015 are buttons for moving the image displayed in the image list display portion 3008 left and right.

効果設定表示部3016では、ユーザがフォトアルバム3002に配置された画像に対して適用する各種効果の設定を行うことができる。図3に示す例では、選択した画像に適用する不透明度設定部3017、セピア設定部3018、モノクロ設定部3019、コントラスト設定部3020、明るさ設定部3021の各パラメータを設定することができる。情報処理装置1004は、ユーザが効果設定表示部3016内のスライドバーを左右に動かす操作を検出することで、各効果のパラメータの変化を検出する。本実施形態では、各効果のパラメータは、スライドバーの動きに応じてリアルタイムに更新されることとする。 The effect setting display section 3016 allows the user to set various effects to be applied to the images arranged in the photo album 3002 . In the example shown in FIG. 3, each parameter of the opacity setting section 3017, sepia setting section 3018, monochrome setting section 3019, contrast setting section 3020, and brightness setting section 3021 to be applied to the selected image can be set. The information processing apparatus 1004 detects a change in the parameter of each effect by detecting the user's operation of moving the slide bar in the effect setting display area 3016 left or right. In this embodiment, parameters for each effect are updated in real time according to the movement of the slide bar.

ボタン3022は、既に実行した編集操作を取り消して元に戻すためのUndoボタン、ボタン3023は、一度取り消した編集操作を再実行するためのRedoボタンである。 A button 3022 is an Undo button for undoing an editing operation that has already been performed and a button 3023 is a Redo button for re-executing an editing operation that has been undone.

次に図8を用いて、フォトアルバムに画像を配置する際の処理について説明する。図8に示すフローチャートは、情報処理装置1004のCPU1011がROM1009に記憶されているフォトアルバム作成アプリケーションのプログラムコードをRAM1010に展開し実行することにより行われる。なお、以降のフローチャートでは、各処理の説明における記号「S」は、当該フローチャートにおけるステップであることを意味する。 Next, with reference to FIG. 8, processing for arranging images in a photo album will be described. The flowchart shown in FIG. 8 is performed by the CPU 1011 of the information processing apparatus 1004 developing the program code of the photo album creation application stored in the ROM 1009 in the RAM 1010 and executing the program code. In the following flowcharts, the symbol "S" in the description of each process means a step in the flowchart.

S8001において、情報処理装置1004は、表示した編集画面3000において、ユーザがフォトアルバム3002に画像を配置したことを検出する。すなわち、情報処理装置1004は、ユーザが画像一覧表示部3008に表示された画像群の中から所望の画像を編集中のフォトアルバム3002にドラッグアンドドロップしたことを検出する。 In S<b>8001 , the information processing apparatus 1004 detects that the user has arranged an image in the photo album 3002 on the displayed editing screen 3000 . That is, the information processing apparatus 1004 detects that the user has dragged and dropped a desired image from the image group displayed in the image list display portion 3008 to the photo album 3002 being edited.

S8002において、情報処理装置1004は、フォトアルバム3002上に配置された画像に関する配置画像情報を保存管理する。情報処理装置1004は、フォトアルバム3002に画像一覧表示部3008から画像が配置されると、図2に示すような編集情報を生成して保存管理する。情報処理装置1004は、フォトアルバム3002に新たに配置された画像に対してスロットIDを発行する。そして情報処理装置1004は、スロットIDに関連付けて、画像が配置されたページ番号、配置された画像の元画像、配置された画像のx座標、y座標、幅、高さに関する情報を編集情報に格納する。編集情報は、例えば図2に示すように、スロットID、ページ番号、元画像のファイル名、x、y、width、heightからなるものとする。また、画像一覧表示部3008からフォトアルバム3002に配置された直後の画像に関する編集情報では、各種効果(不透明度、セピア、モノクロ、コントラスト、明るさ)のパラメータとしてデフォルト値(本実施形態では100)が格納される。尚、ここでは、情報処理装置1004は、フォトアルバム3002に新たに配置された画像に対してスロットIDを発行する例を説明したが、画像IDを発行してもよい。 In S<b>8002 , the information processing apparatus 1004 saves and manages layout image information regarding images laid out on the photo album 3002 . When the images are arranged in the photo album 3002 from the image list display section 3008, the information processing apparatus 1004 generates editing information as shown in FIG. 2, and saves and manages the editing information. The information processing device 1004 issues a slot ID for the image newly placed in the photo album 3002 . Then, the information processing apparatus 1004 associates the page number on which the image is arranged, the original image of the arranged image, the x-coordinate, y-coordinate, width, and height of the arranged image into the editing information in association with the slot ID. Store. For example, as shown in FIG. 2, the edit information consists of slot ID, page number, file name of original image, x, y, width, and height. In addition, in the edit information about the image immediately after being placed in the photo album 3002 from the image list display unit 3008, the default value (100 in this embodiment) is used as the parameter for various effects (opacity, sepia, monochrome, contrast, brightness). is stored. Although an example in which the information processing apparatus 1004 issues a slot ID for an image newly placed in the photo album 3002 has been described here, an image ID may be issued.

S8003において、情報処理装置1004は、元画像に対して上記各種効果のパラメータに基づいて各効果を適用した画像の画像データを生成し、ファイル名を付けて記憶装置1008に保存する。 In step S<b>8003 , the information processing apparatus 1004 generates image data of an image obtained by applying each effect to the original image based on the parameters of the various effects, assigns a file name to the image data, and saves the data in the storage device 1008 .

S8004において、情報処理装置1004は、S8003で記憶装置1008に保存した画像データのファイル名を、確定画像を示す値として編集情報に格納する。 In S8004, the information processing apparatus 1004 stores the file name of the image data saved in the storage device 1008 in S8003 in the edit information as a value indicating the finalized image.

S8005において、情報処理装置1004は、編集情報に基づいて、フォトアルバム3002の指定されたページおよび位置に、確定画像の画像データのファイル名で特定される画像データに基づき確定画像を表示する。 In S8005, the information processing apparatus 1004 displays the final image based on the image data specified by the file name of the image data of the final image on the specified page and position of the photo album 3002 based on the editing information.

次に図4を用いて、画像を編集する際の処理について説明する。図4に示すフローチャートは、情報処理装置1004のCPU1011がROM1009に記憶されているフォトアルバム作成アプリケーションのプログラムコードをRAM1010に展開し実行することにより行われる。 Next, with reference to FIG. 4, processing for editing an image will be described. The flowchart shown in FIG. 4 is performed by the CPU 1011 of the information processing apparatus 1004 developing the program code of the photo album creation application stored in the ROM 1009 in the RAM 1010 and executing the program code.

S4001において、情報処理装置1004は、ユーザがフォトアルバム3002上の画像の中から所望の画像を選択したことを検出する。図3に示す例では、情報処理装置1004は、編集画面3000を表示し、ユーザがフォトアルバム3002に配置された画像3004、3005のいずれか1つをクリックしたことを検出する。 In S<b>4001 , the information processing apparatus 1004 detects that the user has selected a desired image from the images on the photo album 3002 . In the example shown in FIG. 3 , the information processing apparatus 1004 displays an edit screen 3000 and detects that the user has clicked on one of the images 3004 and 3005 arranged in the photo album 3002 .

S4002において、情報処理装置1004は、S4001で選択された画像の元画像の画像データを取得する。情報処理装置1004は、選択された画像のスロットIDと、保存管理している編集情報とに基づき、選択された画像の元画像の画像データを取得する。即ち、情報処理装置1004は、元画像の画像データをRAM1010に読み込む。 In S4002, the information processing apparatus 1004 acquires the image data of the original image of the image selected in S4001. The information processing apparatus 1004 acquires the image data of the original image of the selected image based on the slot ID of the selected image and the editing information that is stored and managed. That is, the information processing device 1004 reads the image data of the original image into the RAM 1010 .

S4003において、情報処理装置1004は、選択された画像に設定されている各効果のパラメータを取得する。情報処理装置1004は、選択された画像のスロットIDと、保存管理している編集情報とに基づき、選択された画像に適用する各効果のパラメータを取得する。 In S4003, the information processing apparatus 1004 acquires the parameters of each effect set for the selected image. The information processing device 1004 acquires parameters of each effect to be applied to the selected image based on the slot ID of the selected image and the editing information that is stored and managed.

S4004において、情報処理装置1004は、S4003で取得した各効果のパラメータを、編集画面3000の効果設定表示部3016に反映する。つまり、情報処理装置1004は、効果設定表示部3016内の各効果のパラメータ設定部3017~3021を、S4003で取得した各効果のパラメータを反映した表示に更新する。 In S<b>4004 , the information processing apparatus 1004 reflects the parameters of each effect acquired in S<b>4003 on the effect setting display section 3016 of the edit screen 3000 . That is, the information processing apparatus 1004 updates the parameter setting sections 3017 to 3021 for each effect in the effect setting display section 3016 to reflect the parameters for each effect acquired in S4003.

S4005において、情報処理装置1004は、S4001で選択された画像として、これまで表示されていた確定画像を非表示にする。情報処理装置1004は、編集画面3000上のフォトアルバム3002に配置された画像としては基本的に確定画像を表示している。そのため情報処理装置1004は、S4001でユーザにより画像が選択されると、選択された画像として表示されていた確定画像を非表示にする。このとき情報処理装置1004は、RAM1010上の確定画像の画像データを解放することができる。 In S4005, the information processing apparatus 1004 hides the confirmed image that has been displayed so far as the image selected in S4001. The information processing apparatus 1004 basically displays the confirmed image as the image arranged in the photo album 3002 on the editing screen 3000 . Therefore, when an image is selected by the user in S4001, the information processing apparatus 1004 hides the confirmed image displayed as the selected image. At this time, the information processing device 1004 can release the image data of the finalized image on the RAM 1010 .

S4006において、情報処理装置1004は、S4003で取得した選択された画像に設定されている各効果のパラメータに基づき、後述する図5に示す描画処理を行うことにより編集画像を表示する。 In S4006, the information processing apparatus 1004 displays the edited image by performing the drawing processing shown in FIG.

S4007において、情報処理装置1004は、編集画面3000において検出したユーザ操作が、編集操作であるか否かを判定する。情報処理装置1004は、ユーザが編集画面3000内の任意の位置をクリックしたことを検出することで、ユーザ操作を検出する。さらに情報処理装置1004は、ユーザがパラメータ設定部3017~3021のスライドバーを動かしてパラメータを変更した場合、ユーザ操作を編集操作と判定する。情報処理装置1004は、画像の編集操作を検出した場合はS4008へ進む。 In S4007, the information processing apparatus 1004 determines whether the user operation detected on the editing screen 3000 is an editing operation. The information processing apparatus 1004 detects a user operation by detecting that the user has clicked an arbitrary position within the editing screen 3000 . Furthermore, the information processing apparatus 1004 determines that the user operation is an editing operation when the user moves the slide bars of the parameter setting sections 3017 to 3021 to change the parameters. The information processing apparatus 1004 proceeds to step S4008 when an image editing operation is detected.

また情報処理装置1004は、ユーザが編集画面3000上で、S4001で選択された画像および効果設定表示部3016以外の領域をクリックし、選択されていた画像を非選択状態とした場合、検出したユーザ操作を編集終了操作と判定する。情報処理装置1004は、画像の編集終了操作を検出した場合はS4009へ進む。 Further, when the user clicks an area other than the image selected in step S4001 and the effect setting display area 3016 on the edit screen 3000 to deselect the selected image, the information processing apparatus 1004 The operation is determined as an edit end operation. The information processing apparatus 1004 proceeds to step S<b>4009 when an image editing end operation is detected.

S4008において、情報処理装置1004は、選択された画像について、後述する図5に示す描画処理を行うことにより編集画像を表示した後、S4007へ戻る。 In S4008, the information processing apparatus 1004 displays an edited image by performing drawing processing shown in FIG. 5, which will be described later, on the selected image, and then returns to S4007.

S4009において、情報処理装置1004は、S4007で受け付けたユーザ操作が編集終了操作であった場合、各効果のパラメータを取得する。なお、このS4009でのパラメータの取得は、パラメータ設定部3017~3021に対する編集操作によってパラメータが変更された場合にのみ行うようにしてもよい。 In S4009, the information processing apparatus 1004 acquires the parameter of each effect if the user operation received in S4007 is an editing end operation. It should be noted that the parameter acquisition in S4009 may be performed only when the parameter is changed by an editing operation on the parameter setting units 3017 to 3021. FIG.

S4010において、情報処理装置1004は、選択された画像のスロットIDと関連付けて編集情報に格納されている各種効果のパラメータを、S4009で取得したパラメータで更新する。図2に示す編集情報を用いる場合では、情報処理装置1004は、不透明度、セピア、モノクロ、コントラスト、明るさのパラメータを更新する。 In S4010, the information processing apparatus 1004 updates the parameters of various effects stored in the editing information in association with the slot ID of the selected image with the parameters acquired in S4009. When using the editing information shown in FIG. 2, the information processing device 1004 updates the parameters of opacity, sepia, monochrome, contrast, and brightness.

S4011において、情報処理装置1004は、選択された画像のスロットIDと編集情報とに基づき、元画像のファイル名から特定される画像データに対し、S4010で更新されたパラメータに基づき各効果を適用した画像データを生成する。また情報処理装置1004は、生成した画像データを、他の画像データと異なるファイル名を付けて記憶装置1008の所定のフォルダに保存する。なお、このS4011での画像データの生成と保存は、S4010で編集情報の更新が行われなかった場合には行わないようにしてもよい。 In S4011, the information processing apparatus 1004 applies each effect based on the parameters updated in S4010 to the image data specified by the file name of the original image based on the slot ID and editing information of the selected image. Generate image data. Further, the information processing apparatus 1004 saves the generated image data in a predetermined folder of the storage device 1008 with a file name different from that of other image data. Note that the image data generation and storage in S4011 may not be performed if the editing information is not updated in S4010.

S4012において、情報処理装置1004は、S4011で生成して記憶装置1008に保存した画像データのファイル名で、選択された画像のスロットIDに関連付けて編集情報に格納されている確定画像の画像データのファイル名を更新する。 In step S4012, the information processing apparatus 1004 uses the file name of the image data generated in step S4011 and stored in the storage device 1008 to link the image data of the finalized image stored in the edit information with the slot ID of the selected image. Update filename.

S4013において、情報処理装置1004は、選択された画像としてS4006またはS4008の描画処理により表示されていた編集画像を非表示にし、RAM1010上に保持している元画像および編集画像の画像データを解放する。 In S4013, the information processing apparatus 1004 hides the edited image that has been displayed as the selected image by the drawing processing in S4006 or S4008, and releases the image data of the original image and the edited image held in the RAM 1010. .

S4014において、情報処理装置1004は、選択された画像のスロットIDと編集情報とに基づき、編集情報に格納された確定画像の画像データのファイル名で特定される画像データに基づき画像を表示する。 In S4014, the information processing apparatus 1004 displays the image based on the image data specified by the file name of the image data of the finalized image stored in the editing information, based on the slot ID of the selected image and the editing information.

なお、S4005で確定画像を非表示にし、S4006で編集画像を表示しているが、これらの画像に対応する編集情報における各効果のパラメータは同じであるため、S4005で非表示にする確定画像とS4006で表示される編集画像とは同じ画像である。そのため、S4005およびS4006は省略することができる。 Note that although the finalized image is hidden in S4005 and the edited image is displayed in S4006, the parameters of each effect in the editing information corresponding to these images are the same. The edited image displayed in S4006 is the same image. Therefore, S4005 and S4006 can be omitted.

次に図5を用いて、編集画像を生成して表示する描画処理について説明する。図5に示すフローチャートは、情報処理装置1004のCPU1011がROM1009に記憶されているフォトアルバム作成アプリケーションのプログラムコードをRAM1010に展開し実行することにより行われる。 Next, drawing processing for generating and displaying an edited image will be described with reference to FIG. The flowchart shown in FIG. 5 is performed by the CPU 1011 of the information processing apparatus 1004 expanding the program code of the photo album creation application stored in the ROM 1009 into the RAM 1010 and executing the program code.

S5001において、情報処理装置1004は、編集情報における各効果のパラメータ、またはユーザが設定した各効果のパラメータを取得する。S4006においては、情報処理装置1004は、編集情報に格納された各効果のパラメータを取得する。S4008においては、情報処理装置1004は、S4007で検出したユーザ操作がパラメータ設定部3017~3021への編集操作によって変更された各効果のパラメータを取得する。 In S5001, the information processing apparatus 1004 acquires the parameter of each effect in the editing information or the parameter of each effect set by the user. In S4006, the information processing apparatus 1004 acquires the parameters of each effect stored in the editing information. In S4008, the information processing apparatus 1004 acquires the parameter of each effect changed by the editing operation to the parameter setting units 3017 to 3021 from the user operation detected in S4007.

S5002において、情報処理装置1004は、S4002で取得してRAM1010に読み込んだ元画像の画像データに、S5001で取得した各効果のパラメータに基づき効果を適用した編集画像の画像データをRAM1010に生成する。このとき情報処理装置1004は、元画像の画像データも、引き続きRAM1010上にて保持する。 In step S<b>5002 , the information processing apparatus 1004 generates in the RAM 1010 image data of an edited image obtained by applying effects based on the parameters of each effect obtained in step S<b>5001 to the image data of the original image obtained in step S<b>4002 and read into the RAM 1010 . At this time, the information processing apparatus 1004 continues to hold the image data of the original image in the RAM 1010 as well.

S5003において、情報処理装置1004は、S5002で生成した編集画像の画像データに基づき、S4001で選択された画像として編集画面3000上のフォトアルバム3002に編集画像を表示する。 In S5003, the information processing apparatus 1004 displays the edited image in the photo album 3002 on the editing screen 3000 as the image selected in S4001 based on the image data of the edited image generated in S5002.

以上、説明したように、本実施形態では、ユーザが編集を行うために選択した画像については、RAM1010に読み込んだ元画像の画像データに対して編集情報を適用して、新たな画像データをRAM1010上に生成する。そして、生成した新たな画像データに基づき編集画像を表示する。編集情報に変更があれば、元画像と変更された編集情報とに基づき画像データをRAM1010上にリアルタイムに生成し、変更された編集情報が反映された編集画像をリアルタイムに表示する。そして編集が終了して選択が解除されると、RAM1010上の元画像の画像データを解放する。 As described above, in this embodiment, for an image selected by the user for editing, the editing information is applied to the image data of the original image read into the RAM 1010, and new image data is stored in the RAM 1010. generate above. Then, an edited image is displayed based on the generated new image data. If there is a change in the editing information, image data is generated on the RAM 1010 in real time based on the original image and the changed editing information, and the edited image reflecting the changed editing information is displayed in real time. When the editing is completed and the selection is canceled, the image data of the original image on the RAM 1010 is released.

一方、選択された画像以外の画像については、RAM1010に読み込んだ画像データに基づき確定画像を表示し、RAM1010上への元画像の画像データの読み込みおよび新たな画像データの生成を行わない。 On the other hand, for images other than the selected image, the final image is displayed based on the image data loaded into the RAM 1010, and the image data of the original image is not loaded onto the RAM 1010 and new image data is not generated.

そのため、本実施形態では、編集結果をリアルタイムに表示しながら編集する際のメモリ使用量を低減することが可能となる。 Therefore, in this embodiment, it is possible to reduce the amount of memory used when editing while displaying the editing result in real time.

<実施形態2>
実施形態2では、過去の編集情報の一部を編集履歴情報として保存管理し、編集操作のうち元に戻すまたは復元(以下、Undo)の操作がユーザにより行われた時に、過去に生成された確定画像の画像データに基づきフォトアルバム上に画像を表示する。すなわち、情報処理装置1004がUndoを行う際、編集履歴情報に保存された過去の編集情報のうちの確定画像として格納されたファイル名により特定される画像データに基づき過去の確定画像を表示する。これにより、Undoを行う度に過去の編集情報に基づき元画像の画像データに各種効果のパラメータを適用して確定画像の画像データをRAM1010に再生成することなく、過去の確定画像を表示することが可能となる。これにより、メモリ使用量を削減でき、かつ、処理が高速化される。なお、以下では実施形態2のうち実施形態1との差分のみ説明し、実施形態1と重複する部分については説明を割愛する。
<Embodiment 2>
In the second embodiment, a part of past editing information is saved and managed as editing history information, and when the user performs an operation of undoing or restoring (hereinafter referred to as Undo) among editing operations, An image is displayed on the photo album based on the image data of the finalized image. That is, when the information processing apparatus 1004 performs Undo, the past finalized image is displayed based on the image data specified by the file name stored as the finalized image in the past editing information saved in the editing history information. As a result, the past finalized image can be displayed without regenerating the finalized image in the RAM 1010 by applying parameters of various effects to the image data of the original image based on the past editing information every time Undo is performed. becomes possible. This reduces memory usage and speeds up processing. In addition, below, only the difference with Embodiment 1 among Embodiment 2 is demonstrated, and description is omitted about the part which overlaps with Embodiment 1. FIG.

まず図6を用いて、フォトアルバムにおける画像の編集に関する編集履歴情報を保存管理する方法について説明する。図6には、情報処理装置1004において保存管理する編集履歴情報の一例として、4回分の編集情報を含む履歴情報を示す。 First, with reference to FIG. 6, a method for saving and managing edit history information relating to editing of images in a photo album will be described. FIG. 6 shows, as an example of editing history information stored and managed in the information processing apparatus 1004, history information including four times of editing information.

「編集履歴」に対しては、過去の編集情報を識別する値であり、その値で識別される編集情報を反映させるために必要なUndoの回数を表す値が格納される。つまり、編集履歴が「1」である編集情報は、現在の画像から1回Undoした際に反映される編集情報である。 "Editing history" stores a value that identifies past editing information and represents the number of times of Undo required to reflect the editing information identified by that value. In other words, edit information whose edit history is "1" is edit information that is reflected when Undo is performed once from the current image.

「スロットID」に対しては、編集履歴に対応する編集情報が反映されるフォトアルバム上のスロットを識別するための識別情報が格納される。 Identification information for identifying the slot on the photo album in which the editing information corresponding to the editing history is reflected is stored in the "slot ID".

「元画像」に対しては、効果が適用される前の画像の画像データについてのファイル名、つまり、その画像データのファイルパスを特定可能にする情報が格納される。なお、本実施形態では、ファイル名でデータを特定可能とする場合、データが予め定められた所定のフォルダに保存され、所定のフォルダパスとファイル名からファイルパスを特定できるものとする。また、ファイル名を格納する項目に対しては、ファイルパスを格納するようにしてもよい。 The "original image" stores the file name of the image data of the image before the effect is applied, that is, the information that allows the file path of the image data to be specified. In this embodiment, when data can be identified by a file name, the data is stored in a predetermined folder, and the file path can be identified from the predetermined folder path and file name. Also, a file path may be stored for an item storing a file name.

「x」、「y」、「width」、「height」に対しては、画像をページに配置するスロットの位置情報を表すx座標、y座標、幅、高さを示す値が格納される。本実施形態においては、座標の原点位置(0、0)は見開きページの左上端とする。 "x", "y", "width", and "height" store values indicating the x-coordinate, y-coordinate, width, and height of the slot in which the image is placed on the page. In this embodiment, the origin position (0, 0) of the coordinates is the upper left corner of the two-page spread.

「不透明度」、「セピア」、「モノクロ」、「コントラスト」、「明るさ」に対しては、元画像に適用する各々の効果のパラメータが格納される。 For "opacity", "sepia", "monochrome", "contrast", and "brightness", parameters for each effect applied to the original image are stored.

「確定画像」に対しては、元画像に効果が適用された画像の画像データのファイル名、つまり、その画像データのファイルパスを特定可能にする情報が格納される。Undoを実行した際には、この確定画像に格納されたファイル名で特定される画像データに基づき画像を表示する。なお、本実施形態において用いる画像の画像データは、拡張子“*.jpg”が示すようにJPEG形式であり、デジタルスチルカメラ等で撮影して保存された写真等で一般的な画像ファイル形式である。但し、本実施形態において画像データは、これに限定されず、任意の画像ファイル形式であってよい。 For the "final image", the file name of the image data of the image to which the effect is applied to the original image, that is, the information that enables the specification of the file path of the image data is stored. When Undo is executed, an image is displayed based on the image data specified by the file name stored in this confirmed image. Note that the image data of the image used in this embodiment is in JPEG format as indicated by the extension "*.jpg", and is a general image file format for photographs taken and saved with a digital still camera or the like. be. However, the image data in this embodiment is not limited to this, and may be in any image file format.

次に図7を用いて、Undoを実行し画像の表示を更新する処理について説明する。図7に示すフローチャートは、情報処理装置1004のCPU1011がROM1009に記憶されているフォトアルバム作成アプリケーションのプログラムコードをRAM1010に展開し実行することにより行われる。 Next, the process of executing Undo and updating the image display will be described with reference to FIG. The flowchart shown in FIG. 7 is performed by the CPU 1011 of the information processing apparatus 1004 expanding the program code of the photo album creation application stored in the ROM 1009 into the RAM 1010 and executing the program code.

S7001において、情報処理装置1004は、表示した編集画面3000において、ユーザがUndoボタン3022をクリックしたことを検出し、復元指示を受け付ける。 In S7001, the information processing apparatus 1004 detects that the user has clicked the Undo button 3022 on the displayed editing screen 3000, and accepts a restoration instruction.

S7002において、情報処理装置1004は、保存管理する編集履歴情報から、検出されたUndoボタン3022のクリック回数に応じた編集情報を取得する。情報処理装置1004は、図6に示すような過去の複数の編集情報を含む編集履歴情報を保存管理している。この編集履歴情報に保存された順番が大きい方から、Undoボタン3022のクリック回数に相当する値の編集履歴に関連付けられた編集情報を取得する。 In S7002, the information processing apparatus 1004 acquires edit information corresponding to the number of clicks of the detected Undo button 3022 from the edit history information saved and managed. The information processing apparatus 1004 saves and manages editing history information including a plurality of pieces of past editing information as shown in FIG. The editing information associated with the editing history of the value corresponding to the number of clicks of the Undo button 3022 is acquired in descending order of the saved order in this editing history information.

S7003において、情報処理装置1004は、S7002で取得した編集情報に含まれるスロットIDで識別される画像に関する編集情報を更新する。この時、明るさやコントラストなどの各種効果のパラメータに加え、確定画像の画像データのファイル名も更新する。過去に生成された確定画像の画像データは所定のフォルダに保存済みであるため、S7003では、編集情報の確定画像に関して、画像データのファイル名の更新は行うが、確定画像の画像データの再生成は行わない。 In S7003, the information processing apparatus 1004 updates the editing information regarding the image identified by the slot ID included in the editing information acquired in S7002. At this time, in addition to various effect parameters such as brightness and contrast, the file name of the image data of the finalized image is also updated. Since the image data of the finalized image generated in the past has already been saved in the predetermined folder, in S7003, the file name of the image data is updated with respect to the finalized image of the editing information, but the image data of the finalized image is regenerated. not performed.

S7004において、情報処理装置1004は、S7003で更新された編集情報に基づき特定される確定画像の画像データに基づき、編集画面3000のフォトアルバム3002上に画像を表示する。 In S7004, the information processing apparatus 1004 displays the image on the photo album 3002 of the editing screen 3000 based on the image data of the finalized image specified based on the editing information updated in S7003.

以上、説明したように、編集内容が反映された生成済みの画像を保存管理し編集操作のうちUndoの操作時に流用可能な場合に使用することで、メモリ使用量を削減できかつ処理の高速化が可能となる。なお、本実施形態では、Undoの操作を例として挙げたたが、これに限らず、やり直し(以下、Redo)の操作時に生成済みの画像を流用可能な場合に使用してもよい。また、本実施形態ではUndoの可能な回数として4回を例として挙げたが、これに限らず、回数に制限を設けなくてもよく、また、回数を動的に変更してもよい。 As described above, by saving and managing the generated image in which the edited content is reflected and using it when it is possible to use it during the Undo operation in the editing operation, it is possible to reduce the amount of memory used and increase the processing speed. becomes possible. In this embodiment, the Undo operation is taken as an example, but the present invention is not limited to this, and may be used when a generated image can be diverted at the time of a redo operation (hereinafter referred to as Redo). In addition, in the present embodiment, the possible number of times of undo is four times, but the number is not limited to this, and the number of times may be changed dynamically.

本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワークまたは各種記憶媒体を介してシステム或いは装置に供給し、コンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention is also realized by executing the following processing. That is, the software (program) that implements the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and the computer (or CPU, MPU, etc.) reads and executes the program. .

また、上述した実施形態では、アプリケーションの例としてフォトアルバム作成アプリケーションを挙げたが、この例に限られることなく、同様な画像レイアウト機能を備える任意のアプリケーションで同様の効果が実現可能である。 Also, in the above-described embodiment, a photo album creation application was given as an example of an application, but the application is not limited to this example, and similar effects can be achieved with any application having a similar image layout function.

また、上述した実施形態では、情報処理装置としてパーソナルコンピュータを想定しが、この例に限らない。例えば携帯電話、携帯情報端末、デジタルスチルカメラ、デジタルビデオカメラ、携帯ミュージックプレーヤー、ゲーム、セットトップボックス、インターネット家電等、同様な使用方法が可能な任意の情報処理装置でもよい。 Also, in the above-described embodiment, a personal computer is assumed as the information processing apparatus, but the information processing apparatus is not limited to this example. For example, any information processing device that can be used in a similar manner, such as a mobile phone, a personal digital assistant, a digital still camera, a digital video camera, a portable music player, a game, a set-top box, an Internet appliance, etc., may be used.

また、上述した実施形態では、ネットワークの構成例としてEthernetを用いたが、この例に限られることなく、例えば、無線LAN、IEEE1394、Bluetooth等、他の任意のネットワーク構成であってもよい。 In addition, in the above-described embodiments, Ethernet is used as an example of network configuration, but it is not limited to this example, and any other network configuration such as wireless LAN, IEEE1394, Bluetooth, etc. may be used.

また、上述した実施形態において、確定画像は元画像と同一サイズに限られることなく、異なるサイズや画質とした画像でもよい。 Further, in the above-described embodiment, the final image is not limited to the same size as the original image, and may be an image with a different size and quality.

また、上述した実施形態において、編集する画像を選択する方法としてクリック操作を一例に挙げたが、これに限定されない。また、上述した実施形態では編集する画像を1つ選択する例を挙げたが、これに限定されず、ドラッグによる範囲選択により複数画像を選択させてもよい。 Further, in the above-described embodiment, a click operation was given as an example of a method for selecting an image to be edited, but the method is not limited to this. Also, in the above-described embodiment, an example of selecting one image to be edited was given, but the present invention is not limited to this, and a plurality of images may be selected by range selection by dragging.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the invention described in the claims.・Changes are possible.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

情報処理装置 1004 Information processing device 1004

Claims (9)

メモリを有するコンピュータに、
複数の確定画像が配置されているアルバムデータを編集するための方法であって、
前記複数の確定画像のうち編集対象として選択された確定画像を検出する検出ステップと、
記憶装置に保存された、前記検出ステップで検出された前記選択された確定画像に対応する元画像を、前記メモリに読み出す読み出しステップと、
前記確定画像に関する設定値を含む編集情報の変更を受け付けるステップと、
前記読み出しステップで前記メモリに読み出した前記元画像に対して、前記変更を受け付けるステップで受け付けた前記変更を反映した前記編集情報を適用して編集画像を前記メモリに生成する生成ステップと、
前記生成ステップで前記編集画像を生成すると、前記選択された確定画像に代えて前記メモリから前記編集画像を読み出して配置する配置ステップと、
を含む方法の各ステップを実行させることを特徴とするプログラム。
a computer having memory,
A method for editing album data in which a plurality of confirmed images are arranged, comprising:
a detection step of detecting a confirmed image selected as an edit target from among the plurality of confirmed images;
a reading step of reading an original image corresponding to the selected definite image detected in the detecting step, stored in a storage device, into the memory;
a step of accepting changes in editing information including setting values relating to the finalized image;
a generation step of generating an edited image in the memory by applying the editing information reflecting the change received in the change receiving step to the original image read out to the memory in the reading step;
an arrangement step of reading out and arranging the edited image from the memory instead of the selected final image when the edited image is produced in the producing step;
A program characterized by causing the steps of a method comprising:
前記検出ステップで前記選択された確定画像を検出しなくなると、前記メモリに読み出した前記元画像を前記メモリから解放する、
ことを特徴とする請求項1に記載のプログラム。
when the selected definite image is no longer detected in the detection step, the original image read out to the memory is released from the memory;
2. The program according to claim 1, characterized by:
前記方法は、
前記検出ステップで前記選択された確定画像を検出しなくなると、前記メモリに読み出した前記編集情報に、前記生成ステップで生成した前記編集画像を前記確定画像として関連付けるように更新する更新ステップ、
をさらに含むことを特徴とする請求項1又は2に記載のプログラム。
The method includes:
an updating step of updating the editing information read into the memory so that the edited image generated in the generating step is associated as the final image when the selected final image is no longer detected in the detecting step;
3. The program according to claim 1 or 2, further comprising:
前記編集情報は、対応する前記確定画像を配置する位置情報を含み、
前記方法は、
前記更新ステップが前記編集情報を更新すると、更新する前の編集情報を前記記憶装置に保存する保存ステップと、
前記変更を取り消す復元指示を受け付けるステップと、
前記復元指示を受け付けるステップで前記復元指示を受け付けると、前記復元指示で特定される前記更新する前の編集情報に対応する前記確定画像を、前記更新する前の編集情報に含まれる位置情報に基づき配置する復元ステップと、
をさらに含むことを特徴とする請求項3に記載のプログラム。
the editing information includes position information for arranging the corresponding confirmed image;
The method includes
a saving step of saving the editing information before updating in the storage device when the updating step updates the editing information;
receiving a restore instruction to undo the change;
When the restoring instruction is received in the step of receiving the restoring instruction, the confirmed image corresponding to the pre-updated editing information specified by the restoring instruction is displayed based on the position information included in the pre-updated editing information. a restore step to place;
4. The program of claim 3, further comprising:
前記復元ステップにおいて、前記記憶装置に保存された前記更新する前の編集情報のうち、前記記憶装置に保存された順番が大きい方から取り消す前記変更の数に相当する前記更新する前の編集情報を特定される、
ことを特徴とする請求項4に記載のプログラム。
In the restoring step, among the pre-updated edited information saved in the storage device, the pre-updated edited information corresponding to the number of the changes to be canceled is restored in descending order of the saved order in the storage device. identified,
5. The program according to claim 4, characterized by:
前記編集情報は、画像の画素値を変える効果のパラメータを含む、
ことを特徴とする請求項1乃至5のいずれか1項に記載のプログラム。
The editing information includes parameters for effects that change pixel values of an image.
6. The program according to any one of claims 1 to 5, characterized by:
前記効果のパラメータは、不透明度、セピア、モノクロ、コントラスト、および明るさに関するパラメータを含む、
ことを特徴とする請求項6に記載のプログラム。
the parameters of the effect include parameters for opacity, sepia, monochrome, contrast, and brightness;
7. The program according to claim 6, characterized by:
メモリを有するコンピュータにおいて、複数の確定画像が配置されているアルバムデータを編集するための情報処理方法であって、
前記複数の確定画像のうち編集対象として選択された確定画像を検出する検出ステップと、
記憶装置に保存された、前記検出ステップで検出された前記選択された確定画像に対応する元画像を、前記メモリに読み出す読み出しステップと、
前記確定画像に関する設定値を含む編集情報の変更を受け付けるステップと、
前記読み出しステップで前記メモリに読み出した前記元画像に対して、前記変更を受け付けるステップで受け付けた前記変更を反映した前記編集情報を適用して編集画像を前記メモリに生成する生成ステップと、
前記生成ステップで前記編集画像を生成すると、前記選択された確定画像に代えて前記メモリから前記編集画像を読み出して配置する配置ステップと、
を含むことを特徴とする情報処理方法。
An information processing method for editing album data in which a plurality of confirmed images are arranged in a computer having a memory, comprising:
a detection step of detecting a confirmed image selected as an edit target from among the plurality of confirmed images;
a reading step of reading an original image corresponding to the selected definite image detected in the detecting step, stored in a storage device, into the memory;
a step of accepting changes in editing information including setting values relating to the finalized image;
a generation step of generating an edited image in the memory by applying the editing information reflecting the change received in the change receiving step to the original image read out to the memory in the reading step;
an arrangement step of reading out and arranging the edited image from the memory instead of the selected final image when the edited image is produced in the producing step;
An information processing method comprising:
メモリを有し、複数の確定画像が配置されているアルバムデータを編集するための情報処理装置であって、
前記複数の確定画像のうち編集対象として選択された確定画像を検出する検出手段と、
記憶装置に保存された、前記検出手段で検出された前記選択された確定画像に対応する元画像を、前記メモリに読み出す読み出し手段と、
前記確定画像に関する設定値を含む編集情報の変更を受け付ける手段と、
前記読み出し手段で前記メモリに読み出した前記元画像に対して、前記変更を受け付ける手段で受け付けた前記変更を反映した前記編集情報を適用して編集画像を前記メモリに生成する生成手段と、
前記生成手段で前記編集画像を生成すると、前記選択された確定画像に代えて前記メモリから前記編集画像を読み出して配置する配置手段と、
を備えることを特徴とする情報処理装置。
An information processing device having a memory for editing album data in which a plurality of confirmed images are arranged,
detection means for detecting a confirmed image selected as an edit target from among the plurality of confirmed images;
reading means for reading into the memory an original image corresponding to the selected definite image detected by the detecting means, stored in a storage device;
means for receiving changes in editing information including setting values related to the confirmed image;
generating means for generating an edited image in the memory by applying the editing information reflecting the change received by the change receiving means to the original image read into the memory by the reading means;
arrangement means for reading out and arranging the edited image from the memory in place of the selected confirmed image when the edited image is produced by the producing means;
An information processing device comprising:
JP2021069641A 2021-04-16 2021-04-16 Information processing apparatus, information processing method, and program Pending JP2022164258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021069641A JP2022164258A (en) 2021-04-16 2021-04-16 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021069641A JP2022164258A (en) 2021-04-16 2021-04-16 Information processing apparatus, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2022164258A true JP2022164258A (en) 2022-10-27

Family

ID=83742981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021069641A Pending JP2022164258A (en) 2021-04-16 2021-04-16 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2022164258A (en)

Similar Documents

Publication Publication Date Title
US10742833B2 (en) Scan privacy tool for printing operations
US9053076B2 (en) Autoflow in photobook development
JP4136634B2 (en) Document processing apparatus and method
JP4059488B2 (en) Document processing method and apparatus
JP5371560B2 (en) Layout editing apparatus, layout editing method and program
JP2010033551A (en) Design editing apparatus, design editing method, and design editing program
US10402057B2 (en) Display control apparatus and method for calculating gloss parameter during page turn of print preview
JP2004252665A (en) Document processing method
JP2003091520A (en) Document processing device and method
JP2003091407A (en) Information processing system, its display method, its program and recording medium
JP2006107142A (en) Document processor, and method
US11726733B2 (en) Information processing apparatus and method of controlling the same
US20190245984A1 (en) Scan privacy tool and methods
JP2022164258A (en) Information processing apparatus, information processing method, and program
JP3937965B2 (en) Document processing method and apparatus and program thereof
WO2012003100A1 (en) Method for image rendering in computer network
US11500599B2 (en) Information processing apparatus and method for controlling the same
JP2010113596A (en) Document processing system
JP6803795B2 (en) Printer driver and information processing equipment
JP2003067373A (en) Program, and document processor and method for processing document
JP2006202025A (en) Document processing method, print control method, and its system
US11190661B2 (en) Scan privacy tool using a mobile device for printing operations
JP3991028B2 (en) Document processing method and information processing apparatus
JP2010140169A (en) Information processing apparatus, method for controlling the same, program, and storage medium
JP2007183974A (en) Information processing apparatus and information processing method