JP2008124904A - Image processing program, and image processing apparatus - Google Patents
Image processing program, and image processing apparatus Download PDFInfo
- Publication number
- JP2008124904A JP2008124904A JP2006308091A JP2006308091A JP2008124904A JP 2008124904 A JP2008124904 A JP 2008124904A JP 2006308091 A JP2006308091 A JP 2006308091A JP 2006308091 A JP2006308091 A JP 2006308091A JP 2008124904 A JP2008124904 A JP 2008124904A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- trimming
- processing program
- output
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、画像処理プログラム及び画像処理装置に関する。 The present invention relates to an image processing program and an image processing apparatus.
デジタル・スチル・カメラで撮像した画像は、一般的に縦長又は横長の区別なく扱われる。特許文献1には、ユーザが画像から切り取った任意の領域を印刷する場合に、余白が少なくなるように、又は、縁無しとなるように印刷する技術が開示されている。特許文献2には、画像を印刷領域に合わせてトリミングする技術が開示されている。このとき、標準的なトリミングを行うか、トリミングなしで全領域を出力するかを選択させることができる。
An image captured by a digital still camera is generally handled without distinction between portrait and landscape orientation.
ところで、複数の画像をサムネイル表示等の一覧表示させた場合には、画像の長辺が表示画面の上下の辺、短辺が表示画面の左右の辺に一致するように、すなわち、横長のレイアウトとなるように表示されることが多い。しかしながら、縦長の被写体等を画像の長辺に合わせて撮像した縦長のレイアウトの画像と、横長の被写体等が画像の長辺に合わせて撮像した横長のレイアウトの画層と、を混在させて出力する場合、そのまま画像を出力のレイアウト枠に貼り付けると、閲覧者にとっては縦長の画像と横長の画像とが混在した一覧表示となり、画像を確認し難くなる。 By the way, when a plurality of images are displayed as a list such as a thumbnail display, the long side of the image is aligned with the top and bottom sides of the display screen, and the short side is aligned with the left and right sides of the display screen. It is often displayed to become. However, a vertically long layout image obtained by capturing a vertically long subject or the like along the long side of the image and a horizontally long layout layer obtained by capturing a horizontally long subject or the like along the long side of the image are mixed and output. In this case, if the image is pasted as it is in the output layout frame, it becomes a list display in which the vertically long image and the horizontally long image are mixed for the viewer, and it is difficult to confirm the image.
画像の長辺が表示の左右の辺と一致し、画像の短辺が表示の上下に一致するように縦長の画像を回転させて表示させることもできるが、コンピュータの操作に不慣れな者が店頭にあるプリンタ等のタッチパネルを操作して所望の出力結果を得るのは困難である。 You can rotate and display a vertically long image so that the long side of the image matches the left and right sides of the display, and the short side of the image matches the top and bottom of the display. It is difficult to obtain a desired output result by operating a touch panel such as a printer.
本発明は、簡易な操作で閲覧し易い画像を出力することを可能とする画像処理プログラム及び画像処理装置を提供することを目的とする。 It is an object of the present invention to provide an image processing program and an image processing apparatus that can output an image that can be easily viewed by a simple operation.
本発明は、コンピュータに、所定の形状を有する複数のレイアウト枠を含み、複数の画像データに基づく画像を各レイアウト枠に配置した出力画像を合成する出力画像生成工程と、前記出力画像生成工程で合成された出力画像を画像形成する画像形成工程と、を実行させ、前記出力画像生成工程では、前記出力画像を示すプレビュー画像を用いて前記複数の画像データからトリミング処理の対象となる画像データを選択し、前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠に合った形状にトリミングする処理が可能であることを特徴とする画像処理プログラムである。 The present invention includes an output image generation step of combining an output image including a plurality of layout frames having a predetermined shape in a computer and arranging images based on a plurality of image data in each layout frame, and the output image generation step. An image forming step of forming an image of the synthesized output image, and in the output image generating step, image data to be trimmed from the plurality of image data using a preview image indicating the output image is executed. An image processing program characterized by being capable of performing a process of trimming a part of image data selected and selected as a target of the trimming process into a shape suitable for the layout frame.
また、本発明は、所定の形状を有する複数のレイアウト枠を含み、複数の画像データに基づく画像を各レイアウト枠に配置した出力画像を合成する出力画像生成手段と、前記出力画像生成手段で合成された出力画像を画像形成する画像形成手段と、を含み、前記出力画像生成手段では、前記出力画像を示すプレビュー画像を用いて前記複数の画像データからトリミング処理の対象となる画像データを選択し、前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠に合った形状にトリミングする処理が可能であることを特徴とする画像処理装置である。 Further, the present invention includes an output image generation unit that includes a plurality of layout frames having a predetermined shape and combines an output image in which images based on a plurality of image data are arranged in each layout frame, and the output image generation unit combines the output images. Image forming means for forming an image of the output image, wherein the output image generating means selects image data to be trimmed from the plurality of image data using a preview image indicating the output image. The image processing apparatus is capable of performing a process of trimming a part of image data selected as a target of the trimming process into a shape suitable for the layout frame.
ここで、前記レイアウト枠は所定の長辺と短辺の比を有する矩形形状であり、前記出力画像生成工程又は前記出力画像生成手段におけるトリミング処理が実行された場合、前記トリミング処理の対象として選択された画像データが縦長の画像の画像データである場合には前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠の長辺と短辺の比を有する横長の画像の画像データとなるようにトリミングし、前記トリミング処理の対象として選択された画像データが横長の画像の画像データである場合には前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠の長辺と短辺の比を有する縦長の画像の画像データとなるようにトリミングしてもよい。 Here, the layout frame has a rectangular shape having a ratio of a predetermined long side to a short side, and is selected as a target of the trimming process when the output image generating step or the trimming process in the output image generating unit is executed. If the processed image data is image data of a vertically long image, a part of the image data selected as a target of the trimming process is image data of a horizontally long image having a ratio of the long side to the short side of the layout frame. If the image data selected as the target of the trimming process is image data of a horizontally long image, a part of the image data selected as the target of the trimming process is the length of the layout frame. You may trim so that it may become image data of the vertically long image which has ratio of a side and a short side.
また、前記出力画像生成工程又は前記出力画像生成手段では、前記レイアウト枠の長辺と短辺との比に合わせて設定された複数のトリミング領域から選択されたトリミング領域で前記トリミング処理の対象として選択された画像データをトリミングしてもよい。 In the output image generation step or the output image generation means, the trimming area selected from a plurality of trimming areas set according to the ratio of the long side to the short side of the layout frame is used as the target of the trimming process. The selected image data may be trimmed.
また、前記トリミング処理の対象となる画像データをユーザに選択させてもよい。一方、前記複数の画像データにはそれぞれ縦長の画像か横長の画像かを示す識別子が関連付けられており、前記複数の画像データのうち縦長の画像が横長の画像より多く含まれている場合には前記トリミング処理の対象として前記複数の画像データから横長の画像の画像データの総てを前記トリミング処理の対象として自動的に選択し、前記複数の画像データのうち横長の画像が縦長の画像より多く含まれている場合には前記トリミング処理の対象として前記複数の画像データから縦長の画像の画像データの総てを前記トリミング処理の対象として自動的に選択してもよい。なお、前記複数の画像のうち縦長の画像と横長の画像とが同数である場合には前記トリミング処理の対象とする画像データを自動的に選択しなくてもよい。 Further, the user may select image data to be subjected to the trimming process. On the other hand, each of the plurality of image data is associated with an identifier indicating whether the image is a vertically long image or a horizontally long image. When the vertically long image of the plurality of image data includes more than a horizontally long image, All of the image data of the horizontally long image from the plurality of image data is automatically selected as the object of the trimming process, and the horizontally long image of the plurality of image data is larger than the vertically long image. If it is included, all of the image data of the vertically long image may be automatically selected as the target of the trimming process from the plurality of image data. Note that, when the number of the vertically long images and the horizontally long images are the same among the plurality of images, the image data to be subjected to the trimming process may not be automatically selected.
また、前記出力画像生成工程又は前記出力画像生成手段では、前記トリミング処理の対象となった画像データと前記トリミング処理の対象とならなかった画像データとを区別できるように前記プレビュー画像を表示させてもよい。 In the output image generation step or the output image generation means, the preview image is displayed so that the image data that is the target of the trimming process can be distinguished from the image data that is not the target of the trimming process. Also good.
また、前記プレビュー画像を表示画面上において回転させて表示させることが可能であってもよい。 Further, it may be possible to display the preview image by rotating it on the display screen.
請求項1又は9に係る発明によれば、縦長の画像と横長の画像について簡単な手順で画像の向きを揃えることができる。
According to the invention which concerns on
請求項2に係る発明によれば、写真等の所定の矩形形状を有する画像の画像データについて複数の画像を一括して一覧出力する場合に簡易な手順で画像のレイアウトを揃えて出力することができる。 According to the second aspect of the present invention, when a plurality of images are collectively output for image data of an image having a predetermined rectangular shape such as a photograph, the image layout can be output with a simple procedure. it can.
請求項3に係る発明によれば、トリミング処理の対象となる画像データの画像からトリミングする領域を容易に指定することができる。 According to the third aspect of the present invention, it is possible to easily specify a region to be trimmed from an image of image data to be trimmed.
請求項4に係る発明によれば、トリミング対象とする画像をユーザに選択させることが可能となる。 According to the fourth aspect of the present invention, the user can select an image to be trimmed.
請求項5及び6に係る発明によれば、撮像した画像の向きを自動的に識別し、縦長の画像か横長の画像かを示す識別子を画像に関連付けるカメラ等を用いた場合に縦長の画像と横長の画像とが混在する場合であっても簡単な手順で画像の向きを揃えることができる。 According to the inventions according to claims 5 and 6, when using a camera or the like that automatically identifies the orientation of the captured image and associates an identifier indicating whether the image is a portrait or landscape image with the image, Even when landscape images are mixed, the orientation of the images can be aligned with a simple procedure.
請求項7に係る発明によれば、トリミング処理されている画像の画像データとトリミング処理されていない画像の画像データとをユーザが判別することが容易にできる。 According to the seventh aspect of the present invention, the user can easily discriminate between image data of an image that has undergone trimming processing and image data of an image that has not undergone trimming processing.
請求項8に係る発明によれば、ユーザによるプレビュー画面の確認が容易となる。 According to the eighth aspect of the invention, the user can easily confirm the preview screen.
本発明の実施の形態における画像処理装置100は、図1に示すように、制御部10、記憶部12、コントロールパネル14、メモリカード読取部16、ディスク読取部18、通信インターフェース20及び画像形成部22を含んで構成される。画像処理装置100の各部は、バス等の通信手段によって互いに情報伝達可能に接続される。また、画像処理装置100は、通信インターフェース20を介して、外部の通信手段(ネットワーク)に接続される。
As shown in FIG. 1, an
本実施の形態における画像処理装置100は、デジタル・スチル・カメラやデジタル・ビデオ・カメラで撮像された画像データを紙等の印刷媒体に画像形成(印刷)するために用いられる。本実施の形態における画像処理装置100は、例えば、消費者向けとしてコンビニエンス・ストア等の店頭に配置される。ユーザは、デジタル画像データをメモリカード、光ディスク、光磁気ディスク、ネットワーク等から画像処理装置100に入力し、入力された画像を印刷媒体に画像形成出力する。
The
制御部10は、CPUを含んで構成される。制御部10は、記憶部12に予め格納されている画像処理プログラムを実行することによって画像処理装置100を画像処理の各手段として機能させるように制御する。
The
記憶部12は、半導体メモリを含んで構成される。記憶部12は、画像処理プログラム、画像処理に供される画像データや各種データを記憶するために用いられる。コントロールパネル14は、タッチパネル等の入出力装置を含んで構成される。コントロールパネル14は、ユーザからの画像処理装置100への情報の入力や画像データの指定、又は、画像処理に関する情報や画像データに基づく画像をユーザへ呈示するために用いられる。
The
メモリカード読取部16は、フラッシュメモリ等のメモリを搭載したメモリカードに記憶された情報を電磁気的に読み出すための装置を含んで構成される。また、ICメモリチップ及びアンテナを含むICカードに記憶された情報を電磁気的に読み出すための装置を含んで構成される。ディスク読取部18は、ディスクドライブ装置を含んで構成され、コンパクト・ディスク(CD)やデジタル・バーサタイル・ディスク(DVD)等の光ディスクやミニ・ディスク(MD)等の光磁気ディスクに記録された情報を読み出すために用いられる。通信インターフェース20は、ネットワークインターフェース装置を含んで構成され、例えば、TCP/IP等の通信プロトコルに沿って、インターネット等のネットワークから画像データを受信するために用いられる。
The memory
画像形成部22は、電子写真印刷手段、インクジェット印刷手段等の画像形成装置を含んで構成される。画像形成部22は、制御部10からの画像形成の指示を受けると、紙等の記録媒体(印刷媒体)上に画像形成の対象となる画像データに基づいた画像を形成する。
The
本実施の形態の画像処理方法は、図2に示すフローチャートに沿って実行される。制御部10は、記憶部12に予めインストールされている画像処理プログラムを実行することによって、画像処理装置100をフローチャートの各工程に相当する手段として機能させる。すなわち、本実施の形態における画像処理プログラムは、図2に示すフローチャートの各工程をコンピュータで実行可能なコードに変換したものである。
The image processing method of the present embodiment is executed along the flowchart shown in FIG. The
本実施の形態では、ユーザがコントロールパネル14のタッチパネルに触れることによって以下の画像処理が開始される。
In the present embodiment, the following image processing is started when the user touches the touch panel of the
ステップS10では、画像処理の対象とする画像データが取得される。制御部10は、コントロールパネル14の画面上に画像データの取得先を指定する旨を表示させて、ユーザに画像データの取得先の入力を促す。ユーザは、コントロールパネル14からメモリカード、ICカード、光ディスク、光磁気ディスク、ネットワークのいずれかを画像データの取得先として指定する。制御部10は、ユーザから指定された取得先から処理対象となる画像データを取得する。
In step S10, image data to be subjected to image processing is acquired. The
例えば、取得先としてメモリカードが指定された場合、制御部10は、コントロールパネル14の画面上にメモリカードをメモリカード読取部16に装着することを促す表示を行わせる。ユーザがメモリカードをメモリカード読取部16に装着すると、制御部10は、装着されたメモリカードから処理可能なフォーマットの画像データを読み出して取得する。また、取得先としてICカードが指定された場合、制御部10は、コントロールパネル14の画面上にICカードをメモリカード読取部16に接触又は近接させることを促す表示を行わせる。ユーザがICカードをメモリカード読取部16に接触又は近接させると、制御部10は、接触又は近接されたICカードとメモリカード読取部16のアンテナ相互間の電磁気的な結合により処理可能なフォーマットの画像データを読み出して取得する。
For example, when a memory card is designated as the acquisition destination, the
取得先として光ディスク又は光磁気ディスクが指定された場合、制御部10は、ディスク読取部18にディスクを装着することを促す表示を行わせる。ユーザがディスクをディスク読取部18に装着すると、制御部10は、装着されたディスクから処理可能なフォーマットの画像データを読み出して取得する。
When an optical disk or a magneto-optical disk is designated as the acquisition destination, the
取得先としてネットワークが指定された場合、制御部10は、取得先となるコンピュータ等のネットワークアドレス、フォルダ名又はURL等の画像データの取得先を特定する特定情報の入力を受け付ける。ユーザが、コントロールパネル14を用いて特定情報を入力すると、制御部10は、特定情報で特定される取得先から画像データを取得する。
When a network is designated as an acquisition destination, the
なお、本実施の形態では、これらの媒体から画像データを取得するものとしたが、画像処理の対象となる画像データを取得することができるものであればよい。 In the present embodiment, image data is acquired from these media, but any image data that can be subjected to image processing may be acquired.
ステップS12では、記録媒体(印刷媒体)へ出力する際の出力画像のレイアウトが指定される。制御部10は、図3に示すレイアウト選択画面1000を記憶部12から読み出し、コントロールパネル14の画面上に表示させる。レイアウト選択画面1000の画像データは予め記憶部12に格納及び保持されているものとする。ユーザは、コントロールパネル14の画面を指などでタッチすることによって分割数を入力する。レイアウト選択画面1000では、2分割、4分割、6分割、8分割及び12分割の分割数のいずれかを指定する。制御部10は、ユーザからの分割数の指定を受け付ける。
In step S12, the layout of the output image when outputting to the recording medium (print medium) is designated. The
このように、本実施の形態では、予め1枚の記録媒体に画像形成される画像の枚数と配置が定められた数種類のレイアウトからユーザが望むレイアウトを選択できる。 As described above, in the present embodiment, a layout desired by the user can be selected from several types of layouts in which the number and arrangement of images to be formed on one recording medium are determined in advance.
ステップS14では、画像一覧の表示が行われる。ステップS16では、出力画像の選択が行われる。ステップS18では、編集の有無の判断が行われる。ステップS20では、編集画像の選択が行われる。ステップS22では、出力画像の編集が行われる。制御部10は、図4に示すレイアウト編集画面1002を記憶部12から読み出し、コントロールパネル14の画面上に表示させる。レイアウト編集画面1002は、プレビュー領域1002a、画像データ選択領域1002b、印刷指示領域1002cを含んで構成される。ここでは、ステップS12において6分割が選択された場合のレイアウト編集画面1002を例に説明する。
In step S14, an image list is displayed. In step S16, an output image is selected. In step S18, the presence / absence of editing is determined. In step S20, an edited image is selected. In step S22, the output image is edited. The
プレビュー領域1002aは、実際に画像形成される出力画像のレイアウトを表示させる領域である。図4では、6分割が選択されたときの例を示しており、プレビュー領域1002aには6つの画像のレイアウト枠A1〜A6が配置されている。レイアウト枠A1〜A6の長辺と短辺の比は、写真のL版等の所定の標準画像のサイズに合わせて設定されている。図4では、レイアウト枠A1〜A6は標準として横長のレイアウト枠となっている。
The
なお、プレビュー領域1002aを回転させて表示できるようにしてもよい。例えば、プレビュー領域1002a内に回転を指示する回転指示領域を設けておき、ユーザがその領域をタッチしたことを検出して、それに応じてプレビュー領域1002aを90度(又は−90度)回転させて表示させてもよい。
Note that the
画像データ選択領域1002bは、ステップS10において取得された画像データを表示させ、画像形成の対象となる画像データをユーザに選択させる領域である。制御部10は、ステップS10において取得された画像データを画像データ選択領域1002bに一覧表示させる(ステップS14)。例えば、図4に示すように、縮小画像、ファイル名、取得日時等の各画像データの内容を示す情報を列挙表示させる。
The image
このとき、縮小画像は縦長の画像及び横長の画像に関わらず横長のレイアウト枠に合わせて表示される。ここで、縦長の画像とは、カメラを縦に向ける等して画像の長辺を略鉛直方向に合わせて撮像された画像のように、画像を縦長にレイアウトしたときに人間が正常だと認識できる画像のことをいう。横長の画像とは、カメラを横に向ける等して画像の長辺を略水平方向に合わせて撮像された画像のように、画像を横長にレイアウトしたときに人間が正常だと認識できる画像のことをいう。 At this time, the reduced image is displayed in accordance with the horizontally long layout frame regardless of the vertically long image and the horizontally long image. Here, a portrait image is recognized as normal by humans when the image is laid out vertically, such as when the camera is pointed vertically and the long side of the image is captured in a substantially vertical direction. An image that can be created. A landscape image is an image that can be recognized as normal by humans when the image is laid out horizontally, such as an image taken with the long side of the image aligned in a substantially horizontal direction by turning the camera sideways, etc. That means.
印刷指示領域1002cは、プレビュー領域1002aに表示されている画像を印刷媒体上に実際に画像形成させる指示を行うための領域である。
The
ユーザは、プレビュー領域1002aのレイアウト枠A1〜A6のいずれかを指等でタッチして選択し、続いて、画像データ選択領域1002bから印刷処理しようとする画像データを指等でタッチすることによって、選択されたレイアウト枠に画像データを配置することができる(ステップS16)。例えば、プレビュー領域1002aのレイアウト枠A4を指でタッチすると、レイアウト枠A4が選択されて、図4に示すようにレイアウト枠A4がハイライト(2重枠で表現している)で表示される。続いて、画像データ選択領域1002bから印刷処理しようとする画像データ111.jpgを指でタッチすると、図5に示すように、レイアウト枠A4に画像データ111.jpgが割り当てられる。
The user touches and selects one of the layout frames A1 to A6 of the
制御部10は、画像データ選択領域1002bが指先等でタッチされると、そのタッチされた領域に表示されている画像の画像データを特定する。そして、図6の例に示すように、選択されているレイアウト枠に関連付けて画像処理の対象として選択画像データベースに登録する。さらに、プレビュー領域1002aの選択されたレイアウト枠に合わせて選択された画像データの画像を表示させる。なお選択画像データベースは、レイアウト枠に対応する画像データ名と、トリミングの原点と、回転角とを保持する。本実施例では原点の単位はpixel、回転角はdegreeとする。
When the image
このように、レイアウト枠と画像データの選択作業を繰り返すことによって、プレビュー領域1002aに含まれる総てのレイアウト枠について画像データを割り当てることができる。図7は、総てのレイアウト枠A1〜A6について画像データが割り付けられた場合のレイアウト編集画面1002の例を示している。
As described above, by repeating the selection operation of the layout frame and the image data, the image data can be assigned to all the layout frames included in the
次に、選択された画像データのトリミング処理について説明する。ユーザは、トリミング処理の対象とする画像が表示されているレイアウト枠を指等でタッチして選択する(ステップS18、ステップS20)。制御部10は、コントロールパネル14の画面上のプレビュー領域1002a内におけるユーザがタッチした領域に基づいてタッチされたレイアウト枠を選択されたレイアウト枠として定める。続いて、ユーザは、プレビュー領域1002a内の「縦横編集」と表示されている領域(縦横編集ボタン)をタッチする。制御部10は、プレビュー領域1002a内の縦横編集ボタンの領域がユーザによりタッチされたことを検出すると、それをトリミング処理の開始指示として判断し、選択画像データベースを参照して指定されたレイアウト枠に関連付けられている画像データを抽出する。
Next, the trimming process of the selected image data will be described. The user selects a layout frame in which an image to be trimmed is displayed by touching with a finger or the like (steps S18 and S20). The
次に、制御部10は、図8に示すように、コントロールパネル14の画面上にトリミング処理画面1004を表示させる。トリミング処理画面1004は、画像表示領域1004a、トリミング位置設定領域1004b、上下反転指定領域1004c(上下反転ボタン)、決定指定領域1004d(決定ボタン)及び取消指定領域1004e(取消ボタン)を含んで構成される。
Next, as shown in FIG. 8, the
画像表示領域1004aは、プレビュー領域1002aに含まれるレイアウト枠A1〜A6とは相似形(すなわち、長辺と短辺の比が等しい)であり、レイアウト枠A1〜A6の長辺と短辺とを入れ替えた領域である。すなわち、図4〜図7に示すレイアウト編集画面1002のように横長のレイアウト枠A1〜A7である場合、画像表示領域1004aは縦長の領域であり、その長辺と短辺との比はレイアウト枠A1〜A6と等しい。制御部10は、画像表示領域1004aに、トリミング対象として抽出された画像データに基づく画像を表示させる。このとき、プレビュー領域1002aに表示されている画像の縦と横とを入れ替えるように90度回転させて、画像表示領域1004aのサイズに合わせて拡大又は縮小して表示させる。
The
また、画像表示領域1004aには、トリミング枠C(図中、破線で示す)を重ね合わせて表示させる。トリミング位置設定領域1004bには、画像表示領域1004aに表示されている画像のトリミング領域の位置を指定するための表示がされる。図8では、トリミング位置設定領域1004bにはトリミング領域を指定するための複数の矢印記号が表示されている。
In addition, a trimming frame C (indicated by a broken line in the figure) is displayed superimposed on the
ユーザがトリミング位置設定領域1004bに表示されている矢印記号を指等でタッチすることによって、制御部10は、コントロールパネル14の画面上のタッチされた位置を検出し、その位置に基づいて画像表示領域1004a上のトリミング枠Cの位置を定める。
When the user touches the arrow symbol displayed in the trimming
例えば、図8のように、縦長の5つの矢印記号を表示させて、トリミング枠Cを画像表示領域1004aの上部、上中部、中部、下中部、下部の5つの位置に設定することができるようにすることが好ましい。例えば、図9のように、5つの矢印記号のうち真ん中が選ばれた場合、画像表示領域1004aの中部にトリミング枠Cが表示され、トリミング領域が設定される。
For example, as shown in FIG. 8, five vertically long arrow symbols are displayed, and the trimming frame C can be set at five positions of the upper, upper middle, middle, lower middle, and lower portions of the
このように、予め形状とサイズが定められているトリミング枠Cを予め定められている複数の位置から選択できるようにすることによって、トリミング処理に不慣れなユーザであっても予め定められている複数のトリミング領域のうち1つを容易に選択してトリミング処理を行うことができる。 As described above, the trimming frame C having a predetermined shape and size can be selected from a plurality of predetermined positions, so that even a user who is not familiar with the trimming process can determine a plurality of predetermined trimming frames. The trimming process can be performed by easily selecting one of the trimming regions.
勿論、トリミング枠Cをスクロールバー等で滑らかに移動させて、トリミング領域を設定する態様を選択できるようにしてもよい。この場合、ある程度の複雑な操作ができるユーザはトリミング処理を細かく設定することができる。 Of course, the trimming frame C may be moved smoothly with a scroll bar or the like so that the mode for setting the trimming area can be selected. In this case, a user who can perform a complicated operation to some extent can finely set the trimming process.
トリミング枠Cの位置を選択した状態で、決定指定領域1004d(決定ボタン)にユーザがタッチすると、制御部10は、トリミング対象とされている画像データから設定されたトリミング領域の座標値と画像の回転角とを算出し、選択されているレイアウト枠に関連付けてトリミングデータとして選択画像データベースに登録する。
When the user touches the
このとき、図8及び図9に示すように、トリミング枠Cの長辺を画像表示領域1004aの短辺に一致させ、また、トリミング枠Cの短辺をトリミング枠Cの長辺に画像表示領域1004aの短辺/長辺の比を乗算した値と一致させることによって、写真のL版のように標準画像サイズの長辺と短辺との比を変更することなく、選択された画像データの一部を切り取って縦長の画像を横長の画像(又は、横長の画像を縦長の画像)に変換することをユーザが理解でききるように表示する。
At this time, as shown in FIGS. 8 and 9, the long side of the trimming frame C is made to coincide with the short side of the
その後、レイアウト編集画面1002を再度表示させる。このとき、選択画像データベースを参照して、トリミングデータが関連付けて登録されているレイアウト枠A1〜A6には関連付けられている画像をトリミングデータに従って座標変換してレイアウト枠A1〜A6に合わせて表示させる。一方、取消指定領域1004e(取消ボタン)にユーザがタッチすると、制御部10は、トリミング処理を行うことなくレイアウト編集画面1002を再度表示させる。
Thereafter, the
例えば、図7においてレイアウト枠A4に割り当てられた画像データをトリミングして画像の縦と横を入れ替えたトリミングデータ原点x=50pixel、原点y=0pixel、回転角=90°を算出した場合、図6に示すように、選択画像データベースのレイアウト枠A4にはトリミングデータ原点x=50pixel、原点y=0pixel、回転角=90°が関連付けて登録される。そして、図10に示すように、プレビュー領域1002aが更新される。
For example, when trimming data origin x = 50 pixels, origin y = 0 pixel, and rotation angle = 90 ° obtained by trimming the image data assigned to the layout frame A4 in FIG. As shown in FIG. 5, the trimming data origin x = 50 pixels, the origin y = 0 pixels, and the rotation angle = 90 ° are associated and registered in the layout frame A4 of the selected image database. Then, as shown in FIG. 10, the
また、トリミング処理画面1004において上下反転指定領域1004c(上下反転ボタン)をユーザがタッチすると、制御部10は、選択された画像データの上下を反転させた画像データを生成して新たな処理対象画像データとするものとしてもよい。図8において上下反転ボタンにタッチすると、図9に示すように画像が上下反転する。
In addition, when the user touches the upside down
このようにして、レイアウト編集画面1002におけるレイアウトの編集処理が終了すると、ユーザはレイアウト編集画面1002の印刷指示領域1002c(印刷指示ボタン)をタッチする。制御部10は、コントロールパネル14の画面上のタッチされた位置を検出して、その位置が印刷指示領域1002cに相当する位置であった場合にはステップS24へ処理を移行させる。
When the layout editing process on the
ステップS24では、印刷処理が行われる。制御部10は、画像形成部22にステップS22で生成された出力画像を紙等の印刷媒体上に画像形成させる。このとき、出力画像に含まれるレイアウト枠A1〜A6には、選択画像データベースにトリミングデータが関連付けて登録されている場合には画像データに対する通常の座標変換に加えてトリミングデータを使った座標変換を行い、選択画像データベースにトリミングデータが関連付けて登録されていない場合には画像データに対する通常の座標変換のみを行って印刷処理する。
In step S24, a printing process is performed. The
なお、本実施の形態では、6つのレイアウト枠A1〜A6を含んだ6分割の出力画像のレイアウトについて例にとって説明したが、勿論、これに限定されるものではない。他の分割数の出力画像のレイアウトについても同様に処理を行うことができる。 In the present embodiment, the layout of a six-divided output image including six layout frames A1 to A6 has been described as an example. However, the present invention is not limited to this. The same processing can be performed for layouts of output images of other division numbers.
また、勿論、出力画像に1つの画像データの画像のみをレイアウトする場合も、同様にトリミング処理を行い、画像の縦と横を入れ替える処理を行うことができる。 Of course, when only one image data image is laid out in the output image, the trimming process can be performed in the same manner to perform the process of switching the vertical and horizontal directions of the image.
<変形例>
上記実施の形態では、トリミング処理の対象となる画像データをユーザが手動で選択するものとした。本変形例のように、トリミング処理の対象となる画像データを自動で選択するようにしてもよい。
<Modification>
In the above embodiment, the user manually selects image data to be subjected to trimming processing. As in this modification, image data to be subjected to trimming processing may be automatically selected.
例えば、デジタル・スチル・カメラやデジタル・ビデオ・カメラの中には、図11に示すように、カメラを横にして撮像して得られた横長の画像の画像データには横長であることを示す識別フラグ(0)を関連付けて保存し、カメラを縦にして撮像して得られた縦長の画像の画像データには縦長であることを示す識別フラグ(1)を関連付けて保存するタイプのものがある。このように、画像データの各々に縦長の画像であるか、横長の画像であるかを示す識別子が関連付けられている場合、この識別子を用いてトリミング処理の対象となる画像データを自動で選択することができる。 For example, in some digital still cameras and digital video cameras, as shown in FIG. 11, the image data of a horizontally long image obtained by taking the camera horizontally is shown to be horizontally long. There is a type in which the identification flag (0) is stored in association with each other, and the image data of the vertically long image obtained by capturing the image with the camera vertically is stored in association with the identification flag (1) indicating that the image is vertically long. is there. As described above, when an identifier indicating whether the image is a vertically long image or a horizontally long image is associated with each of the image data, image data to be subjected to trimming processing is automatically selected using this identifier. be able to.
ステップS22において、プレビュー領域1002aの各レイアウト枠に割り当てられてられる画像データを選択すると、図12に示すように、選択画像データベースが登録される。図12に示す選択画像データベースは、図6に示す選択画像データベースと比べて、各レイアウト枠に関連付けられている画像データが横長であるか縦長であるかを示す識別子がさらに登録されている点で異なる。
In step S22, when image data assigned to each layout frame in the
制御部10は、選択画像データベースを参照して、レイアウト枠に割り当てられている複数の画像データのうち縦長の画像が横長の画像より多く含まれている場合にはトリミング処理の対象として複数の画像データから横長の画像の画像データの総てをトリミング処理の対象として自動的に選択する。一方、複数の画像データのうち横長の画像が縦長の画像より多く含まれている場合にはトリミング処理の対象として複数の画像データから縦長の画像の画像データの総てをトリミング処理の対象として自動的に選択する。
The
なお、レイアウト枠に割り当てられている複数の画像データのうち縦長の画像と横長の画像とが同数である場合には自動的にトリミング処理の対象とする画像データを選択しなくてもよい。この場合、コントロールパネル14の画面上に自動選択されなかった旨を表示してユーザに注意を促してもよい。
Note that if the number of vertically long images and horizontally long images among the plurality of image data assigned to the layout frame is the same, it is not necessary to automatically select image data to be subjected to trimming processing. In this case, the user may be alerted by displaying on the screen of the
このとき、トリミング処理の対象とされた画像データについては、自動的にトリミング処理を行ってもよい。例えば、図13のプレビュー領域1002aに示すように、レイアウト枠A3及びA5に割り当てられた画像データがトリミング処理の対象とされた場合、プレビュー領域1002a内の縦横一致と表示された領域(縦横一致ボタン)にタッチすることによって、トリミング処理の対象とされた総ての画像データについて、図14に示すように、一律に画像の上部(または、中上部、中部、中下部、下部のいずれか1つ)を抽出したトリミングデータを生成する。
At this time, the trimming process may be automatically performed on the image data subjected to the trimming process. For example, as shown in the
また、必要に応じて、上記実施の形態のステップS22と同様に、トリミング処理画面1004を用いてトリミング領域を設定し直して、図15に示すように、所望のトリミング領域の画像を抽出してトリミングデータを再生成してもよい。例えば、図14において、トリミング処理を再度行う画像が割り当てられたレイアウト枠をタッチして指定した後、編集と表示された領域(編集ボタン)をタッチすることによって、選択画像データベースにおいて選択されたレイアウト枠に関連付けられている画像データをトリミング処理画面1004によりトリミング処理するようにすればよい。
Further, if necessary, as in step S22 of the above embodiment, the trimming area is reset using the
10 制御部、12 記憶部、14 コントロールパネル、16 メモリカード読取部、18 ディスク読取部、20 通信インターフェース、22 画像形成部、100 画像処理装置、1000 レイアウト選択画面、1002 レイアウト編集画面、1002a プレビュー領域、1002b 画像データ選択領域、1002c 印刷指示領域、1004 トリミング処理画面、1004a 画像表示領域、1004b トリミング位置設定領域、1004c 上下反転指定領域、1004d 決定指定領域、1004e 取消指定領域。
DESCRIPTION OF
Claims (9)
所定の形状を有する複数のレイアウト枠を含み、複数の画像データに基づく画像を各レイアウト枠に配置した出力画像を合成する出力画像生成工程と、
前記出力画像生成工程で合成された出力画像を画像形成する画像形成工程と、を実行させ、
前記出力画像生成工程では、前記出力画像を示すプレビュー画像を用いて前記複数の画像データからトリミング処理の対象となる画像データを選択し、前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠に合った形状にトリミングする処理が可能であることを特徴とする画像処理プログラム。 On the computer,
An output image generation step including a plurality of layout frames having a predetermined shape, and combining output images in which images based on a plurality of image data are arranged in each layout frame;
An image forming step of forming an image of the output image synthesized in the output image generation step;
In the output image generation step, image data to be trimmed is selected from the plurality of image data using a preview image indicating the output image, and a part of the image data selected as the target of the trimming process is selected. An image processing program characterized in that a process of trimming to a shape suitable for the layout frame is possible.
前記レイアウト枠は所定の長辺と短辺の比を有する矩形形状であり、
前記出力画像生成工程におけるトリミング処理が実行された場合、前記トリミング処理の対象として選択された画像データが縦長の画像の画像データである場合には前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠の長辺と短辺の比を有する横長の画像の画像データとなるようにトリミングし、前記トリミング処理の対象として選択された画像データが横長の画像の画像データである場合には前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠の長辺と短辺の比を有する縦長の画像の画像データとなるようにトリミングすることを特徴とする画像処理プログラム。 An image processing program according to claim 1,
The layout frame is a rectangular shape having a ratio of a predetermined long side to a short side,
When the trimming process in the output image generation step is executed, when the image data selected as the target of the trimming process is image data of a vertically long image, one of the image data selected as the target of the trimming process When the image data of the landscape image having the ratio of the long side to the short side of the layout frame is trimmed so that the image data selected as the target of the trimming process is the image data of the landscape image An image processing program for trimming a part of image data selected as a target of the trimming process so as to become image data of a vertically long image having a ratio of a long side to a short side of the layout frame.
前記出力画像生成工程では、前記レイアウト枠の長辺と短辺との比に合わせて設定された複数のトリミング領域から選択されたトリミング領域で前記トリミング処理の対象として選択された画像データをトリミングすることを特徴とする画像処理プログラム。 An image processing program according to claim 2,
In the output image generation step, the image data selected as the target of the trimming process is trimmed in a trimming area selected from a plurality of trimming areas set in accordance with the ratio of the long side to the short side of the layout frame. An image processing program characterized by that.
前記トリミング処理の対象となる画像データをユーザに選択させることを特徴とする画像処理プログラム。 An image processing program according to any one of claims 1 to 3,
An image processing program for causing a user to select image data to be subjected to the trimming process.
前記複数の画像データにはそれぞれ縦長の画像か横長の画像かを示す識別子が関連付けられており、
前記複数の画像データのうち縦長の画像が横長の画像より多く含まれている場合には前記トリミング処理の対象として前記複数の画像データから横長の画像の画像データの総てを前記トリミング処理の対象として自動的に選択し、
前記複数の画像データのうち横長の画像が縦長の画像より多く含まれている場合には前記トリミング処理の対象として前記複数の画像データから縦長の画像の画像データの総てを前記トリミング処理の対象として自動的に選択することを特徴とする画像処理プログラム。 An image processing program according to any one of claims 1 to 3,
Each of the plurality of image data is associated with an identifier indicating whether the image is a portrait image or a landscape image,
When the vertically long image is included in the plurality of image data more than the horizontally long image, all the image data of the horizontally long image from the plurality of image data is subject to the trimming process as the object of the trimming process. Automatically selects as
When the horizontally long image is included in the plurality of image data more than the vertically long image, all the image data of the vertically long image from the plurality of image data is subject to the trimming process as the object of the trimming process. An image processing program characterized by being automatically selected as
前記複数の画像のうち縦長の画像と横長の画像とが同数である場合には前記トリミング処理の対象とする画像データを自動的に選択しないことを特徴とする画像処理プログラム。 An image processing program according to claim 5,
An image processing program characterized by not automatically selecting image data to be subjected to the trimming process when the number of vertically long images and horizontally long images among the plurality of images is the same.
前記出力画像生成工程では、前記トリミング処理の対象となった画像データと前記トリミング処理の対象とならなかった画像データとを区別できるように前記プレビュー画像を表示させることを特徴とする画像処理プログラム。 An image processing program according to any one of claims 1 to 6,
In the output image generation step, the preview image is displayed so that the image data that is the target of the trimming process can be distinguished from the image data that is not the target of the trimming process.
前記プレビュー画像を表示画面上において回転させて表示することが可能であることを特徴とする画像処理プログラム。 An image processing program according to any one of claims 1 to 7,
An image processing program capable of rotating and displaying the preview image on a display screen.
前記出力画像生成手段で合成された出力画像を画像形成する画像形成手段と、を含み、
前記出力画像生成手段では、前記出力画像を示すプレビュー画像を用いて前記複数の画像データからトリミング処理の対象となる画像データを選択し、前記トリミング処理の対象として選択された画像データの一部を前記レイアウト枠に合った形状にトリミングする処理が可能であることを特徴とする画像処理装置。 An output image generating unit that includes a plurality of layout frames having a predetermined shape and synthesizes an output image in which images based on a plurality of image data are arranged in each layout frame;
Image forming means for forming an image of the output image synthesized by the output image generating means,
The output image generation means selects image data to be trimmed from the plurality of image data using a preview image indicating the output image, and selects a part of the image data selected as the trimming target An image processing apparatus characterized in that a process of trimming into a shape suitable for the layout frame is possible.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006308091A JP2008124904A (en) | 2006-11-14 | 2006-11-14 | Image processing program, and image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006308091A JP2008124904A (en) | 2006-11-14 | 2006-11-14 | Image processing program, and image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008124904A true JP2008124904A (en) | 2008-05-29 |
Family
ID=39509183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006308091A Pending JP2008124904A (en) | 2006-11-14 | 2006-11-14 | Image processing program, and image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008124904A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010114783A (en) * | 2008-11-07 | 2010-05-20 | Canon Inc | Image processing system, image processing method, and program |
-
2006
- 2006-11-14 JP JP2006308091A patent/JP2008124904A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010114783A (en) * | 2008-11-07 | 2010-05-20 | Canon Inc | Image processing system, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4957821B2 (en) | CONFERENCE SYSTEM, INFORMATION PROCESSING DEVICE, DISPLAY METHOD, AND DISPLAY PROGRAM | |
US9131124B2 (en) | Information reading apparatus and computer-readable storage medium | |
JP2008028808A (en) | Image composing apparatus, image composing apparatus control method and program | |
JP2008236468A (en) | Image file management device and program | |
JP2006060653A (en) | Image editing apparatus, method and program | |
JP2004320277A (en) | Printing terminal, printing system, storage medium, and program | |
JP6776906B2 (en) | Scanner, scan control program, image data generation method | |
JP2007158603A (en) | Image reproducing apparatus, image reproducing method, and image reproducing program | |
CN101207670A (en) | Image processing apparatus, image processing method, program, and storage medium | |
US10657723B2 (en) | Image processing apparatus and image processing method | |
JP2006060652A (en) | Digital still camera | |
JP2008124904A (en) | Image processing program, and image processing apparatus | |
JP2004103010A (en) | Method and device for generating image execution order | |
JP4281577B2 (en) | Image processing system | |
JP4674123B2 (en) | Image processing system and image processing method | |
JP4690676B2 (en) | Image processing system, image processing method, and image processing program | |
JP2009055272A (en) | Image processing apparatus, image processing method, and image processing program | |
JP2007311885A (en) | Image display | |
JP2004258724A (en) | Document creation support device and method, program and recording medium | |
US8570610B2 (en) | Information processing apparatus, information processing method and computer readable medium for designating a region of reduced document on display and creating image corresponding to the designated region | |
JP2002354309A (en) | Digital camera link system and record medium recording image data processing program | |
JP2015200983A (en) | information processing apparatus, control method, and program | |
JP2018160263A (en) | Information processing apparatus, control method, and program | |
JP4389728B2 (en) | Image forming apparatus, image selection screen generation method, and program | |
JP2006094385A (en) | Image processing system and image processing method |