JP3888257B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP3888257B2
JP3888257B2 JP2002224475A JP2002224475A JP3888257B2 JP 3888257 B2 JP3888257 B2 JP 3888257B2 JP 2002224475 A JP2002224475 A JP 2002224475A JP 2002224475 A JP2002224475 A JP 2002224475A JP 3888257 B2 JP3888257 B2 JP 3888257B2
Authority
JP
Japan
Prior art keywords
image
trimming
image data
information
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002224475A
Other languages
Japanese (ja)
Other versions
JP2004072145A (en
Inventor
勝 星野
順一 中村
信久 高林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002224475A priority Critical patent/JP3888257B2/en
Publication of JP2004072145A publication Critical patent/JP2004072145A/en
Application granted granted Critical
Publication of JP3888257B2 publication Critical patent/JP3888257B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像にトリミングを行う画像処理の技術に関する。
【0002】
【従来の技術】
従来、コンピュータでは、画像処理ソフトを使えば、取り込んだ画像データを加工・編集することが容易にできる。これら加工の処理として、トリミング(切り抜き)、回転・ズーム(拡大)などがある。これらの処理は、画像データで表される画像をディスプレイに表示し、加工メニューから「トリミング」や「回転」や「ズーム」の作業が選択されることにより行われる。「トリミング」の作業が選択された場合には、ユーザは、画面に表示される図形の領域をマウスによりドラッグし、任意にトリミング領域を設定することで、画像の切り抜きサイズや位置を指定する。この切り抜きサイズや位置で定まる画像が切り抜かれる。
【0003】
「回転」の操作が選択された場合には、画面に表示される「+90度」、「−90度」、「180度」等のボタンを押下することで、画像の回転角度を指定し、画像を回転する。
【0004】
【発明が解決しようとする課題】
しかし、従来の技術では、画像に対してトリミングを施す場合に、トリミング領域のサイズおよび位置などを、ユーザが手動で設定しなければならなかった。このため、予め設定されたレイアウト枠に、トリミングを施した画像を余白なく割り付けるためには、トリミング領域のサイズおよび位置などを厳密に設定せねばならず、非常に煩雑であった。
【0005】
また、回転時には、トリミングを施す対象の画像のみが回転してしまい、トリミング領域は、回転前に設定したままの状態で残ってしまうため、回転後にトリミングを行う場合には、最初からトリミング領域を設定し直さなければならなくなり、非常に煩雑であるという問題もあった。
【0006】
本発明は、上記課題に鑑みてなされたものであり、トリミング領域の設定・トリミング時の画像の回転に関する処理の作業性を向上することを目的とする。
【0007】
【課題を解決するための手段およびその作用・効果】
上記課題の少なくとも一部を解決するために、本発明は、第1の態様として画像処理装置を提供する。第1の態様の画像処理装置は、
画像データを入力する画像入力手段と、
表示装置に、前記画像データに基づく画像を表示する表示制御手段と、
前記画像データを割り付けるための複数の割付領域のうちの、任意の前記割付領域に関する領域情報と前記画像データとを関連付ける関連付け手段と、
前記関連付けられた領域情報により表される前記割付領域の形状の相似比及び位置を指定することにより、前記画像データをトリミングするためのトリミング領域を指定する領域指定手段と、
前記指定したトリミング領域で、前記画像データをトリミングするためのトリミング情報を生成する情報生成手段と、
前記トリミング情報を、前記領域情報が関連付けられている前記画像データに関連付けて保存する保存手段と、を備えることを要旨とする。
【0008】
所定図形とは、長方形、正方形、楕円、円、多角形、ポリゴンなど種々の形状を設定可能である。これらの図形を特定するためのデータは、予め画像処理装置内に保持されているか、外部から読み込まれるものであり、相似比を設定することにより、領域のサイズを変更することが可能である。また、適宜、移動可能とすることが好ましい。領域の相似比の設定および位置の移動には、種々の方法をとることが可能であるが、マウスなどのポインティングデバイスを使用すると、簡易に設定することができ、好適である。
【0009】
相似比は、柔軟に設定可能とし、「相似比=1」が含まれることとすれば、所定図形と同一のサイズおよび形状で、トリミングを行うことができるため、好ましい。
【0010】
トリミング情報とは、例えば、トリミングすべき領域の画像上の相対位置、形状、サイズに関する情報などを含むことが好ましい。トリミング情報に基づくトリミング処理は、種々のタイミングで実行可能である。例えば、トリミング情報が生成された後、直ちに画像データのトリミングを実行し、画像データを更新してもよい。この場合、トリミング情報は、処理が完了した時点で消去してもよい。また、トリミング処理を施すことなく、画像データとトリミング情報とを保存し、最終的に画像の出力を行う際に、画像データとトリミング情報とは、一つのファイルにまとめて保存してもよいし、個別のファイルとして保存してもよい。
【0011】
上述の態様によれば、画像をトリミングして任意の割付領域に割り付ける場合に、割付領域の形状の相似形状でトリミング領域を設定することで容易に割り付けることができ、利便性の向上を図ることができる。
【0012】
本発明の画像処理装置において、更に、
前記トリミング情報によるトリミングを行った処理後画像を、前記表示装置に表示する処理後画像表示手段とを備えることが好ましい。
【0013】
処理後画像表示手段は、例えば、処理前画像を非表示にし、処理後画像を表示することとしても良いし、処理前画像とは別のウィンドウに表示することとしても良い。後者の方法で表示すると、処理前画像と処理後画像を同時に確認することができるため、作業上好ましい。
【0014】
こうすることにより、ユーザは、処理後画像を確認することができ、指定領域サイズおよび位置が適切であるか否かを判断しやすくなるため、利便性を向上することが可能となる。領域を再指定した場合には、例えば、領域指定が終了したことをトリガとして、処理後画像を再表示することとしてもよいし、領域指定中の領域内の画像を、常時表示することとしてもよい。
【0015】
第1の態様の画像処理装置において、更に、
前記画像および前記指定したトリミング領域を回転するための指示を入力する回転指示入力手段と、
前記指示に応じて、前記画像および前記指定されたトリミング領域を回転する画像回転手段を備えることとしてもよい。
【0016】
回転指示入力手段とは、例えば、回転すべき角度を入力することとしてもよいし、マウスなどのポインティングデバイスにより画面上で適切な位置を設定し入力することとしてもよい。
【0017】
こうすることにより、画像を回転すると共に、トリミング領域も回転するため、画像を回転後に、トリミングを最初からやり直す必要が無くなり、容易に処理を続行できるため、利便性が向上する。また、横向きの画像や倒置した画像を、正置した状態でトリミングすることができる。
【0018】
本発明の画像処理装置において、更に、
前記トリミング情報による処理を行った処理後画像を、前記画像と共に表示する処理後画像表示手段を備え、
前記画像回転手段は、前記画像、前記指定領域および前記処理後画像を回転することが好ましい。
【0019】
こうすることにより、ユーザは、処理後画像を確認することができ、例えば、指定領域の角度が適切であるか否かを、判断しやすくなる等の効果を奏する。更に、トリミングを最初からやり直す必要がなくなるため、利便性の向上を図ることが可能となる。
【0020】
本発明の画像処理装置において、
前記回転指示入力手段は、予め設定された角度から、回転すべき角度を選択することにより入力を行うこととしてもよい。
【0021】
こうすることにより、画像を回転する角度を、ユーザが入力する労力を削減でき、利便性を向上することが可能となる。角度の選択を行う方法としては、例えば、「+90°」、「−45°」などのボタンを押下することにより、回転を行うなど種々の態様が可能である。
【0022】
本発明の画像処理装置において、回転すべき角度を、ユーザが、任意に入力可能としてもよい。こうすることにより、柔軟な設定角度で画像を回転することが可能となり、利便性が向上する。
【0023】
第1の態様の画像処理装置において、更に、
前記関連付け手段は、前記画像データの出力時のレイアウトを規定するレイアウト情報において、前記レイアウト情報により表される前記レイアウトに含まれる前記複数の割付領域のうちの前記任意の割付領域に関する前記領域情報と前記画像データとを関連付けてもよい。
【0024】
こうすることにより、予め設定されたレイアウト枠の相似形状でトリミング領域を設定することができるため、例えばレイアウト枠にトリミング後の画像を余白無く割り付ける場合にも、容易に行うことができる。
【0025】
本発明は、上述の画像処理装置としての構成の他、画像処理方法の発明として構成することもできる。また、これらを実現するためのコンピュータプログラムおよびそのプログラムを記録した記録媒体、そのプログラムを含み搬送波内に具現化されたデータ信号など種々の態様で実現することが可能である。なお、それぞれの態様において、先に示した種々の付加的要素を適用することが可能である。
【0026】
本発明をコンピュータプログラムまたはそのプログラムを記録した記録媒体等として構成する場合には、画像処理装置を駆動するプログラム全体として構成するものとしてもよいし、本発明の機能を果たす部分のみを構成するものとしても良い。また、記録媒体としては、フレキシブルディスクやCD−ROM、DVD―ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置、(RAMやROM等のメモリ)および外部記憶装置などコンピュータが読み取り可能な種々の媒体を利用できる。
【0027】
【発明の実施の形態】
以下、本発明の実施の形態について、以下の項目に分けて説明する。
A.第1実施例:
A1.システム概要:
A2.内部構成:
A3.トリミング処理画面:
A4.相似比:
A5.トリミング情報生成処理:
A6.印刷処理:
B.第2実施例:
B1.回転処理画面:
B2.回転処理:
C.変形例:
【0028】
A.第1実施例:
A1.システム概要:
図1は第1実施例としての、ネットワークを介した画像処理システムの概略構成を示す説明図である。図示する通り、ネットワークNW内にローカルエリアネットワーク(LAN)が構築されており、ローカルエリアネットワークLANには、2台のクライアントコンピュータCL1、CL2(以下、「クライアント」と称する)およびサーバSV1、サーバSV1に接続されたプリンタPT1、PT2および、ネットワークNWの外部と通信を行うためのルータRTが接続されている。ネットワークNWは、ルータRTおよびインターネットINTを介してセンタ側サーバSV2と通信を行う。
【0029】
クライアントCL1、CL2には、画像処理システムが搭載されており、ユーザは、画像データおよびテンプレートごとのレイアウト情報により、トリミング領域を指定し、トリミング領域のサイズ、位置および形状の情報が含まれるトリミング情報を生成する。各クライアントは、生成されたトリミング情報を、トリミングを施す画像(以下、原画像と称する)と、テンプレートと共にサーバSV1へ送信する。サーバSV1は、受け取ったデータを解析し、トリミングおよび画像割り付け後、プリンタPT1、PT2のいずれか適切なプリンタで印刷を行う。プリンタPT1、PT2は印刷指示に基づき、印刷を行う。
【0030】
サーバSV1は、印刷完了したページ数およびユーザ情報を、インターネットINTを介して、センタ側サーバSV2へ通知する。センタ側サーバSV2は、受信した情報を基に、課金を行い、ユーザへ請求を行う。
【0031】
本実施例では、クライアントCL1が、テンプレートおよび原画像のデータに基づき、トリミング情報を生成後、かかる情報をサーバSV1に送出する。そして、サーバSV1が受け取った情報を基に、印刷を行う場合を考える。クライアントCL1には、画像処理を行う画像処理システムが搭載されているため、以降、クライアントCL1を画像処理システム1000と呼ぶこととする。
【0032】
A2.内部構成:
図2は、本実施例における画像処理システム1000の内部構成を示す説明図である。ここでは、クライアントCL1の画像処理システム1000を例示したが、クライアントCL2も同様の構成である。画像処理システム1000は、主制御部100と、通信部101と、画像データ格納部102と、表示部103と、テンプレート格納部104と、画像処理部105と、領域指定部106と、情報生成部107と、指示入力部108とを備えている。これらの各機能ブロックは、ソフトウェア的に構成され、主制御部100によって制御される。各機能ブロックは、ハードウェア的に構成してもよい。
【0033】
画像データ格納部102には、原画像のデータが格納されている。テンプレート格納部104には、画像を割り付けるテンプレートが格納されている。表示部103は、いわゆる、ディスレイドライバとしての機能を奏しており、主制御部100を介して受け取ったデータを、ディスプレイDSPに表示する。指示入力部108は外部からの操作を受け、主制御部100を介して、各機能ブロックへの指示を入力する。
【0034】
画像処理部105は、画像データ格納部102およびテンプレート格納部104から該当するデータを取得し、領域指定部106および情報生成部107を制御して、トリミング情報を生成する。領域指定部106は、画像処理部105の一部として構成されており、ユーザの指示に基づいて、原画像に対し、トリミング領域を指定する。指定する領域の形状を、テンプレートのレイアウト枠の形状と同一の形状で生成し、相似比を変更することで、サイズ変更を行う。このようにして指定されたトリミング領域のサイズ、位置等の情報は、情報生成部107によって、トリミング情報としてまとめられ、通信部101を介して、テンプレートおよび原画像と共に、サーバSV1へ送信される。本実施例では、テンプレートのレイアウト枠を取得して、トリミング領域を定義したが、レイアウト枠とは無関係に、予め画像処理システム1000の内部にトリミング領域の基本形状データを保持しておくものとしてもよい。
【0035】
表示部103は、また、トリミング処理を行った処理後画像を表示する機能も奏する。画像処理部105から、トリミングに関するデータを受け取り、原画像、トリミング領域および処理後画像を表示する。本実施例では、処理後画像は、実際に処理を行った画像ファイルを生成する必要はなく、表示だけ行い、ユーザがイメージを確認できればよいものとする。
【0036】
以上説明したシステム構成により、本実施例の画像処理システム1000は、予め決められたレイアウト枠に、トリミングした画像を割り付ける場合、レイアウト枠と同形状のトリミング領域によって領域指定を行うことで、簡易に、トリミング処理を実現している。以下では、画像処理システム1000が、トリミング処理を行う場合の、画面遷移および処理内容を説明する。
【0037】
A3.トリミング処理画面:
画像処理システム1000が、トリミング処理を行う場合の、画面遷移および処理内容を例示する。
【0038】
図3〜図5は、本実施例におけるトリミング処理の画面遷移を例示する説明図である。画像処理システム1000は、トリミング指示が入力されると、操作ウィンドウWDを起動する。操作ウィンドウWDは、フォルダツリー200と、画像フレーム201と、縮小原画像201aと、テンプレート202と、レイアウト枠202aと、テンプレートファイル203とから構成されている。フォルダツリー200で選択されたフォルダ内に存在する画像が、画像フレーム201に収まるように縮小され、縮小原画像201aとして表示される。
【0039】
テンプレート202は、拡張子が「dat」というファイルとして構成されている。操作ウィンドウWDの起動直後には、テンプレート202は、非表示であり、テンプレート名を表すテンプレートファイル203が一覧表示されている。テンプレートファイル203から、ユーザに選択されたテンプレートがテンプレート202として表示される。本実施例では、「Template2.dat」というテンプレートファイルが選択され、レイアウト枠202aは図示するように矩形の形状とする。
【0040】
縮小原画像201aは、図示する矢印のように、レイアウト枠202a上に移動され、割り付けられる。縮小原画像201aは、レイアウト枠202aに、全体が表示されるよう、適宜、サイズ変更され表示される。画像処理システム1000は、トリミング指示が入力されると、図4のトリミングウィンドウTRを起動する。
【0041】
図4は、トリミングウィンドウTRを説明する画面例である。トリミングウィンドウTRは、原画像ウィンドウ210と原画像210aと、トリミング領域211と、プレビュー212と、処理後画像213とから構成される。原画像ウィンドウ210は、原画像210aおよびトリミング領域を表示し、トリミング領域の指定を行うためのウィンドウである。プレビュー212は、トリミング処理後の処理後画像213を表示するウィンドウである。原画像210aは、縮小原画像201aを原画像ウィンドウ210に収まるようにサイズ変更された画像である。トリミングウィンドウTRには、原画像ウィンドウ210、原画像210a、および、レイアウト枠202aと同一形状のトリミング領域211を表示し、併せてプレビュー212に、トリミング処理後の処理後画像213を表示する。プレビュー212は、処理後画像213以外の部分が黒塗りされ表示される。
【0042】
本実施例では、トリミング領域のサイズ及び位置を変更するには、トリミング領域211上の「■」マークを、マウスでドラッグすることにより、サイズおよび位置が変更する。トリミング領域211上の左上の「■」マーク上にマウスを置くと、移動可能となり、その他の「■」マーク上にマウスを置くと、トリミング領域が相似に変形可能である。
【0043】
トリミング処理が終了すると、トリミングウィンドウTRを閉じ、図5に示すように操作ウィンドウWDに戻る。レイアウト枠202aには、処理後画像213が表示される。
【0044】
A4.相似比:
図6は本実施例におけるレイアウト枠とトリミング領域との関係を説明する説明図である。図6(a)では、矩形のレイアウト枠202aのアスペクト比がA:Bであることを示している。図6(b)では、破線で表されるトリミング領域211のアスペクト比がC:Dであることを示している。本実施例では、「A:B=C:D」の関係が成り立つよう、トリミング領域211が作成されることとした。
【0045】
トリミング領域211のサイズ変更を行う場合の基準点は、種々の設定が可能である。図6(b)中の一点鎖線で表されるトリミング領域211aは、矩形の左上の点を基準点として相似比を変更した場合を例示している。図6(b)中の点線で表されるトリミング領域211bは、矩形の重心位置を基準点として相似比を変更した場合を例示している。
【0046】
A5.トリミング情報生成処理:
図7は、本実施例におけるトリミング情報生成処理のフローチャートである。主制御部100が、各機能ブロックを制御し行う処理である。
【0047】
表示部103は、画像データ格納部102に蓄積されている画像を読み出すことにより、画像データの入力を行い(ステップS10)、操作ウィンドウWDの画像フレーム201に縮小原画像201aを表示するとともに、テンプレート格納部104に蓄積されているテンプレートの一覧を、テンプレートファイル203として表示する(ステップS11)。次に、表示部103は、ユーザにより選択されたテンプレートファイル203を表示する(ステップS12)。
【0048】
主制御部100は、レイアウト枠202aへの縮小原画像201aの割付を行い(ステップS13)、指示入力部108に、トリミング指示が入力されると、トリミングウィンドウTRを表示する(ステップS14)。この際、主制御部100は、画像処理部105を制御して、画像データ格納部102から原画像210を読み込むと共に、テンプレート格納部104からテンプレート202のレイアウト枠202aの情報を読み込む。トリミングウィンドウTRには、初期状態として、原画像210、トリミング領域211およびトリミング後の処理後画像213が表示されている。図4に示す状態である。
【0049】
主制御部100は、指示入力部108に、トリミング領域211の指定開始指示が入力されると、領域指定部106を制御して、トリミング領域の指定を開始する(ステップS15)。領域指定の終了を検出する(ステップS16)と、画像処理部105を制御して、指定した領域でトリミングを行い(ステップS17)、ディスプレイDSPにトリミング処理後の処理後画像213を表示する(ステップS18)。
【0050】
次に、主制御部100は、トリミング処理の終了か否かを判断する(ステップS19)。ユーザにより、再度領域指定が開始された場合には、トリミング処理は終了していないものと判断して、ステップS15へ戻り処理を繰り返す。トリミング処理の終了を検出した場合には、情報生成部107を制御して、トリミング領域のサイズおよび位置を含むトリミング情報を生成する(ステップS20)と共に、トリミングウィンドウTRを終了し、処理後画像213をレイアウト枠202aに反映する(ステップS21)。
【0051】
A6.印刷処理:
図8は、本実施例における、サーバSV1の処理を説明するフローチャートである。サーバSV1は、画像処理システム1000から送出された画像データ、テンプレートおよびトリミング情報を受け取り、入力を行う(ステップS40)。次に、入力されたデータの解析を行い(ステップS41)、解析結果に基づいて、トリミング処理を行う(ステップS42)。トリミング処理が終了すると、処理後画像をプリンタPT1へ転送し印刷を行う(ステップS43)。印刷が終了すると、サーバSV1は、印刷枚数およびユーザ情報を、センタ側サーバSV2へ通知する(ステップS44)。
【0052】
本実施例における、ユーザ情報とは、予め、ネットワークNWを一意に識別可能なIDが割り振られており、かかるIDを印刷枚数と共に、センタ側サーバSV2へ送出するものとしても良い。IDは、ルータRTのIPアドレスとすることも可能である。また、プリンタPT1、PT2、サーバSV1などのMACアドレスなどとすることもできる。
【0053】
以上説明した第1実施例の画像処理システム1000によれば、画像をトリミングして、予め設定されたレイアウト枠に割り付ける場合に、レイアウト枠と同一形状のトリミング領域を設定することができ、レイアウト枠と同一形状でのトリミングを容易に実現することができるため、利便性が向上する。また、トリミング領域のサイズ変更を行う場合にも、相似比を変更することで、トリミング処理を容易に行うことができる。
【0054】
B.第2実施例:
第1実施例では、画像の傾きを意識することなくトリミングを行った。第2実施例では、トリミング処理時に、処理後画像、原画像およびトリミング領域を回転可能とした。本実施例における画像処理システム1000、サーバSV1およびその他種々の機器、ネットワーク構成等は第1実施例と同様である。
【0055】
B1.回転トリミング処理画面:
図9〜図12は、本実施例における回転トリミング処理の画面遷移を例示する説明図である。図9は、画像処理の操作ウィンドウWDを説明する画面例であり、画面内容は第1実施例の図3と同様であるため、説明は省略する。
【0056】
縮小原画像201bは、図示する矢印のように、レイアウト枠202a上移動され割り付けられる。縮小原画像201bは、レイアウト枠202aに全体が表示されるように、適宜、サイズ変更され、表示される。画像処理システム1000は、この状態で、トリミング指示が入力されると、図10のトリミングウィンドウTRを起動する。
【0057】
図10は、トリミングウィンドウTRを説明する画面例である。ボタン20以外は図5と同様であるため、説明は省略する。ボタン220は、画像の回転指示を入力するボタンであり、押下することにより、処理後画像213、原画像210およびトリミング領域211を、全て、右方向に90°回転を行う。
【0058】
図11は、ボタン220を1度押下した状態を表す説明図である。プレビュー212、原画像210bおよびトリミング領域211が、全て右方向に90°回転している。トリミング処理が終了すると、トリミングウィンドウTRを閉じ、図12に示すように操作ウィンドウWDに戻る。レイアウト枠202aには、処理後画像213が、回転前の角度で表示される。
【0059】
ボタン220は、押下するごとに右方向へ90°回転するため、複数回ボタンを押下することで、ユーザの所望する角度に設定することができる。
【0060】
B2.回転処理:
図13は、本実施例における、回転処理を説明するフローチャートである。
トリミングウィンドウTRが表示される(ステップS14)と、主制御部100は、指示入力部108に、回転指示が入力されたか否かを判断する(ステップS30)。本実施例では、回転指示が入力されたか否かの判断は、ボタン220が押下されたか否かにより行うこととする。回転指示が入力されない場合には、トリミング処理を続行する(ステップS15)。回転指示が入力された場合には、右方向へ90°回転を行う(ステップS31)。
【0061】
画像処理部105は、回転処理を行った処理後画像213を、プレビュー212に表示し、(ステップS32)、ステップS30へ戻り、再度回転指示が入力されたか否かの判断を行い、処理を続行する。
【0062】
本実施例の画像処理システム1000によれば、処理後画像を回転すると共に、原画像及びトリミング領域が、同方向に、同角度回転されるため、回転処理後、トリミングを行う場合にも、トリミング領域を再設定することなく処理が進められるため、利便性の向上を図ることが可能となる。
【0063】
C.変形例:
C1.変形例1:
本発明の第1実施例および第2実施例では、画像処理システム1000は、トリミングを行うための情報を生成するだけとし、実際にトリミングの処理は、サーバSV1が行うこととしたが、画像処理システム1000が、トリミング処理まで行い、処理後の画像データを送出することとしてもよい。サーバSV1に行わせる利点としては、画像処理システム1000の負荷を軽減することができ、また、トリミングをやり直す場合に、トリミング情報のみを、サーバへ送出すればよいため、ネットワークの負荷を軽減することが可能となるからである。
【0064】
C2.変形例2:
本発明の第1実施例では、トリミングウィンドウTRを起動すると、初期状態として、原画像210a、トリミング領域211および処理後画像213が表示されるものとしたが、処理後画像213は、表示されないこととしても良い。かかる場合には、トリミングの領域指定終了を検出した時点で、原画像210aを非表示にし、処理後画像213を表示することとすれば、処理後画像213のイメージを確認することが可能である。また、処理後画像213を表示せずにトリミング情報を生成することとしてもよい。第2実施例においても同様である。
【0065】
C3.変形例3:
本発明の第1実施例および第2実施例では、領域指定処理を、マウスで行うこととしたが、これに限られない。キーボードで、所定のキーを押下することにより、領域指定を行うこととしてもよいし、タッチパネルその他の入力装置を使用することとしても良いが、マウスにより行うこととすれば、初心者にも扱いやすく、簡易に操作できるため、好適である。
【0066】
C4.変形例4:
本発明の第1実施例では、原画像、テンプレートおよびトリミング情報を、サーバSV1へ送出することとしたが、センタ側サーバSV2へ送出して印刷を行うこととしても良い。
【0067】
C5.変形例5:
図14は、変形例としての、トリミング領域の形状例を表す説明図である。図14(a)は、レイアウト枠が楕円形状である場合の、トリミング領域300に関する説明図である。トリミング領域300のアスペクト比として、「縦:横=E:F」とし、かかるアスペクト比を固定したまま、相似比を変化することで、トリミング領域を指定する。こうすることにより、第1実施例と同等の効果を得られる。
【0068】
図14(b)は、レイアウト枠がポリゴンである場合の、トリミング領域301に関する説明図である。破線で示すトリミング領域301の場合には、第1実施例および図14(a)の例のように、アスペクト比を使用して相似形状とすることができないため、重心の位置を変化させないように、サイズ変更を行うことで相似形状とすることができる。こうすることにより、レイアウト枠をフリーハンドにより自由に設定した場合にも、かかるレイアウト枠内に割り付ける画像を、容易にトリミングすることが可能となる。
【0069】
変形例では、楕円、ポリゴンを例として列挙したが、これに限られず、円、多角形など種々の図形がレイアウト枠の形状であっても、容易にトリミングが可能であることはいうまでもない。
【0070】
C6.変形例6:
本発明の第2実施例では、回転角度は、予め、右方向に90°と設定されており、ボタン220を押下することにより、回転することとしたが、これに限られない。図15(a)に示すように、トリミングウィンドウTRは、右90°ボタン400a、および、左90°ボタン400bの2つのボタンを備えており、それぞれのボタンを押下するごとに、表記されている方向へ回転することとしても良い。かかる角度は90度に限られず、また、ボタンが2つ以上の複数存在することとしても良い。こうすることにより、左右いずれの方向への回転も、簡易に行うことが可能となる。
【0071】
また、図15(b)に示すように、トリミングウィンドウTRは、ユーザが任意に回転角度を入力することができる角度入力部402と、回転ボタン401とを備えており、回転ボタン401は、角度入力部402に入力された角度だけ、画像を回転することとしてもよい。こうすることにより、ユーザの所望する回転角度を柔軟に設定することが可能となり、利便性が向上する。回転角度は、整数に限らず、実数であれば入力可能とすれば、より詳細に設定することができ、好適である。
【0072】
更には、図15(a)で説明した、予め設定された角度で画像を回転するボタンと、図15(b)で説明した、回転角度を柔軟に入力することができる角度入力部とを、同時に備えるものとして構成することも可能である。こうすることにより、画像の回転角度を柔軟かつ容易に設定することが可能であり、利便性が向上する。
【0073】
以上、本発明の種々の実施例について説明したが、本発明はこれらの実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることは言うまでもない。例えば、以上の制御処理はソフトウェアで実現する他、ハードウェア的に実現することとしても良い。
【図面の簡単な説明】
【図1】第1実施例としての画像処理システム1000の概略構成を示す説明図である。
【図2】第1実施例における画像処理システム1000の内部構成を示す説明図である。
【図3】第1実施例における操作ウィンドウを例示する説明図である。
【図4】第1実施例におけるトリミングウィンドウを例示する説明図である。
【図5】第1実施例における処理後画像を反映した操作ウィンドウを例示する説明図である。
【図6】第1実施例におけるトリミング処理における領域指定処理を例示する説明図である。
【図7】第1実施例におけるトリミング情報の生成処理のフローチャートである。
【図8】第1実施例におけるサーバSV1の処理を説明するフローチャートである。
【図9】第2実施例における操作ウィンドウを例示する説明図である。
【図10】第2実施例におけるトリミングウィンドウを例示する説明図である。
【図11】第2実施例における回転後画像を例示する説明図である。
【図12】第2実施例における処理後画像を反映した操作ウィンドウを例示する説明図である。
【図13】第2実施例における回転処理のフローチャートである。
【図14】変形例としてのトリミング処理における領域指定の形状を例示する説明図である。
【図15】変形例としての回転処理の角度入力画面を例示する説明図である。
【符号の説明】
1000…画像処理システム
100…主制御部
101…通信部
102…画像データ格納部
103…表示部
104…テンプレート格納部
105…画像処理部
106…領域指定部
107…情報生成部
108…指示入力部
200…フォルダツリー
201…画像フレーム
201a、201b…縮小原画像
202…テンプレート
202a…レイアウト枠
203…テンプレートファイル
210…原画像ウィンドウ
210a、210b…原画像
211、211a、211b…トリミング領域
212…プレビュー
213…処理後画像
220…ボタン
300、301、301a…トリミング領域
400a…右90°ボタン
400b…左90°ボタン
401…回転ボタン
402…角度入力部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing technique for trimming an image.
[0002]
[Prior art]
Conventionally, a computer can easily process and edit captured image data by using image processing software. These processing processes include trimming (cutout), rotation / zoom (enlargement), and the like. These processes are performed by displaying an image represented by image data on a display and selecting “trimming”, “rotation”, or “zoom” from the processing menu. When the “trimming” operation is selected, the user drags the area of the graphic displayed on the screen with the mouse and arbitrarily sets the trimming area, thereby specifying the cutout size and position of the image. An image determined by the cutout size and position is cut out.
[0003]
When the “rotate” operation is selected, the rotation angle of the image is designated by pressing a button such as “+90 degrees”, “−90 degrees”, or “180 degrees” displayed on the screen, Rotate the image.
[0004]
[Problems to be solved by the invention]
However, in the conventional technique, when trimming an image, the size and position of the trimming area must be manually set by the user. For this reason, in order to assign a trimmed image without a margin to a preset layout frame, the size and position of the trimming area must be set strictly, which is very complicated.
[0005]
In addition, when rotating, only the image to be trimmed rotates, and the trimming area remains in the state set before the rotation. There was a problem that it had to be set again and was very complicated.
[0006]
The present invention has been made in view of the above problems, and an object of the present invention is to improve the workability of processing relating to image rotation when trimming areas are set and trimmed.
[0007]
[Means for solving the problems and their functions and effects]
In order to solve at least a part of the above problems, the present invention provides an image processing apparatus as a first aspect. The image processing apparatus according to the first aspect is
Image input means for inputting image data;
Display control means for displaying an image based on the image data on a display device;
Association means for associating region information relating to an arbitrary allocation region among the plurality of allocation regions for allocating the image data with the image data;
Area designating means for designating a trimming area for trimming the image data by designating the similarity ratio and position of the shape of the allocated area represented by the associated area information;
Information generating means for generating trimming information for trimming the image data in the designated trimming region;
A gist is provided with a storage unit that stores the trimming information in association with the image data with which the region information is associated.
[0008]
As the predetermined figure, various shapes such as a rectangle, a square, an ellipse, a circle, a polygon, and a polygon can be set. Data for specifying these figures is stored in advance in the image processing apparatus or read from the outside, and the size of the area can be changed by setting a similarity ratio. In addition, it is preferable to make it movable as appropriate. Various methods can be used to set the similarity ratio of the region and move the position. However, using a pointing device such as a mouse is preferable because it can be easily set.
[0009]
If the similarity ratio can be set flexibly and “similarity ratio = 1” is included, trimming can be performed with the same size and shape as the predetermined figure, which is preferable.
[0010]
The trimming information preferably includes, for example, information on the relative position, shape, and size of the region to be trimmed on the image. Trimming processing based on the trimming information can be executed at various timings. For example, after the trimming information is generated, the image data may be trimmed immediately to update the image data. In this case, the trimming information may be deleted when the processing is completed. Further, when the image data and the trimming information are stored without performing the trimming process and the image is finally output, the image data and the trimming information may be stored together in one file. You may save as a separate file.
[0011]
According to the above aspect, when trimming an image and allocating it to an arbitrary allocation area, it can be easily allocated by setting a trimming area with a similar shape of the allocation area, thereby improving convenience. Can do.
[0012]
In the image processing apparatus of the present invention,
It is preferable that the image processing apparatus further includes a processed image display unit that displays the processed image trimmed by the trimming information on the display device.
[0013]
For example, the post-processing image display means may hide the pre-processing image and display the post-processing image, or may display the post-processing image in a different window from the pre-processing image. Displaying by the latter method is preferable in terms of work because the pre-processing image and the post-processing image can be confirmed simultaneously.
[0014]
In this way, the user can check the processed image and easily determine whether or not the designated area size and position are appropriate, so that convenience can be improved. When the area is re-designated, for example, the processed image may be re-displayed triggered by the completion of the area designation, or the image in the area being designated may be always displayed. Good.
[0015]
In the image processing apparatus according to the first aspect,
A rotation instruction input means for inputting an instruction to rotate the image and the designated trimming area;
An image rotation unit that rotates the image and the designated trimming area in accordance with the instruction may be provided.
[0016]
With the rotation instruction input means, for example, an angle to be rotated may be input, or an appropriate position may be set and input on a screen using a pointing device such as a mouse.
[0017]
By doing so, the image is rotated and the trimming area is also rotated. Therefore, after the image is rotated, it is not necessary to start trimming from the beginning, and the processing can be easily continued, so that convenience is improved. In addition, it is possible to trim a horizontally oriented image or an inverted image in a state where the image is placed upright.
[0018]
In the image processing apparatus of the present invention,
A post-processing image display means for displaying the post-processing image processed by the trimming information together with the image;
The image rotation means preferably rotates the image, the designated area, and the processed image.
[0019]
By doing so, the user can check the processed image, and for example, it is possible to easily determine whether or not the angle of the designated area is appropriate. Furthermore, since it is not necessary to start trimming from the beginning, it is possible to improve convenience.
[0020]
In the image processing apparatus of the present invention,
The rotation instruction input means may perform input by selecting an angle to be rotated from preset angles.
[0021]
By doing so, it is possible to reduce the labor for the user to input the angle for rotating the image, and it is possible to improve convenience. As a method for selecting an angle, for example, various modes such as rotating by pressing a button such as “+ 90 °” or “−45 °” are possible.
[0022]
In the image processing apparatus of the present invention, the user may arbitrarily input an angle to be rotated. By doing so, it is possible to rotate the image at a flexible set angle, and convenience is improved.
[0023]
In the image processing apparatus according to the first aspect,
In the layout information that defines a layout at the time of outputting the image data, the associating unit includes the area information regarding the arbitrary allocation area among the plurality of allocation areas included in the layout represented by the layout information; The image data may be associated.
[0024]
In this way, the trimming area can be set with a similar shape of the preset layout frame. For example, even when the trimmed image is allocated to the layout frame without a blank space, it can be easily performed.
[0025]
The present invention can be configured as an invention of an image processing method in addition to the configuration as the above-described image processing apparatus. In addition, the present invention can be realized in various modes such as a computer program for realizing these, a recording medium that records the program, and a data signal that includes the program and is embodied in a carrier wave. In addition, in each aspect, it is possible to apply the various additional elements shown above.
[0026]
When the present invention is configured as a computer program or a recording medium that records the program, the entire program for driving the image processing apparatus may be configured, or only the portion that performs the functions of the present invention is configured. It is also good. The recording medium includes a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punch card, a printed matter on which a code such as a barcode is printed, an internal storage device of a computer, (RAM In addition, various computer-readable media such as a memory such as a ROM and an external storage device can be used.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in the following items.
A. First embodiment:
A1. System overview:
A2. Internal configuration:
A3. Trimming screen:
A4. Similarity ratio:
A5. Trimming information generation processing:
A6. Printing process:
B. Second embodiment:
B1. Rotation processing screen:
B2. Rotation processing:
C. Variation:
[0028]
A. First embodiment:
A1. System overview:
FIG. 1 is an explanatory diagram showing a schematic configuration of an image processing system via a network as a first embodiment. As shown in the figure, a local area network (LAN) is constructed in the network NW. The local area network LAN includes two client computers CL1 and CL2 (hereinafter referred to as “clients”), a server SV1, and a server SV1. Are connected to printers PT1 and PT2 connected to, and a router RT for communicating with the outside of the network NW. The network NW communicates with the center side server SV2 via the router RT and the Internet INT.
[0029]
The clients CL1 and CL2 are equipped with an image processing system, and a user designates a trimming area based on image data and layout information for each template, and includes trimming information including size, position, and shape information of the trimming area. Is generated. Each client transmits the generated trimming information to the server SV1 together with an image to be trimmed (hereinafter referred to as an original image) and a template. The server SV1 analyzes the received data, performs trimming and image allocation, and then performs printing using any one of the printers PT1 and PT2. The printers PT1 and PT2 perform printing based on the printing instruction.
[0030]
The server SV1 notifies the center side server SV2 of the number of pages that have been printed and the user information via the Internet INT. The center server SV2 charges the user based on the received information and charges the user.
[0031]
In this embodiment, the client CL1 generates trimming information based on the template and the original image data, and then sends the information to the server SV1. Consider a case where printing is performed based on the information received by the server SV1. Since the client CL1 is equipped with an image processing system that performs image processing, the client CL1 is hereinafter referred to as an image processing system 1000.
[0032]
A2. Internal configuration:
FIG. 2 is an explanatory diagram showing the internal configuration of the image processing system 1000 in the present embodiment. Here, the image processing system 1000 of the client CL1 is illustrated, but the client CL2 has the same configuration. The image processing system 1000 includes a main control unit 100, a communication unit 101, an image data storage unit 102, a display unit 103, a template storage unit 104, an image processing unit 105, an area designation unit 106, and an information generation unit. 107 and an instruction input unit 108. Each of these functional blocks is configured by software and is controlled by the main control unit 100. Each functional block may be configured in hardware.
[0033]
The image data storage unit 102 stores original image data. The template storage unit 104 stores templates for assigning images. The display unit 103 functions as a so-called display driver, and displays data received via the main control unit 100 on the display DSP. The instruction input unit 108 receives an operation from the outside, and inputs an instruction to each functional block via the main control unit 100.
[0034]
The image processing unit 105 acquires corresponding data from the image data storage unit 102 and the template storage unit 104 and controls the region specifying unit 106 and the information generation unit 107 to generate trimming information. The area designating unit 106 is configured as a part of the image processing unit 105, and designates a trimming area for the original image based on a user instruction. The size of the area to be specified is generated by generating the same shape as the layout frame of the template and changing the similarity ratio. Information such as the size and position of the trimming area specified in this way is collected as trimming information by the information generation unit 107 and transmitted to the server SV1 together with the template and the original image via the communication unit 101. In this embodiment, the layout frame of the template is acquired and the trimming area is defined. However, the basic shape data of the trimming area may be stored in advance in the image processing system 1000 regardless of the layout frame. Good.
[0035]
The display unit 103 also has a function of displaying the processed image that has been subjected to the trimming process. Data relating to trimming is received from the image processing unit 105, and the original image, the trimming area, and the processed image are displayed. In this embodiment, the processed image does not need to generate an image file that has actually been processed, but only needs to be displayed and the user can confirm the image.
[0036]
With the system configuration described above, the image processing system 1000 according to the present exemplary embodiment can easily specify a trimming area having the same shape as the layout frame when assigning a trimmed image to a predetermined layout frame. The trimming process is realized. Hereinafter, screen transition and processing contents when the image processing system 1000 performs trimming processing will be described.
[0037]
A3. Trimming screen:
Examples of screen transitions and processing contents when the image processing system 1000 performs trimming processing are illustrated.
[0038]
3 to 5 are explanatory views illustrating screen transitions of the trimming process in the present embodiment. When the trimming instruction is input, the image processing system 1000 activates the operation window WD. The operation window WD includes a folder tree 200, an image frame 201, a reduced original image 201a, a template 202, a layout frame 202a, and a template file 203. Images existing in the folder selected in the folder tree 200 are reduced to fit in the image frame 201 and displayed as a reduced original image 201a.
[0039]
The template 202 is configured as a file having an extension “dat”. Immediately after the operation window WD is activated, the template 202 is not displayed, and a list of template files 203 representing the template name is displayed. The template selected by the user from the template file 203 is displayed as the template 202. In the present embodiment, a template file “Template2.dat” is selected, and the layout frame 202a has a rectangular shape as shown in the figure.
[0040]
The reduced original image 201a is moved and allocated on the layout frame 202a as shown by the arrows in the figure. The reduced original image 201a is appropriately resized and displayed in the layout frame 202a so as to be displayed as a whole. When the trimming instruction is input, the image processing system 1000 activates the trimming window TR in FIG.
[0041]
FIG. 4 is a screen example illustrating the trimming window TR. The trimming window TR includes an original image window 210, an original image 210a, a trimming area 211, a preview 212, and a processed image 213. The original image window 210 is a window for displaying the original image 210a and the trimming area and designating the trimming area. The preview 212 is a window that displays the processed image 213 after the trimming process. The original image 210 a is an image that has been resized so that the reduced original image 201 a fits in the original image window 210. In the trimming window TR, the original image window 210, the original image 210a, and the trimming region 211 having the same shape as the layout frame 202a are displayed, and the processed image 213 after the trimming process is displayed in the preview 212. The preview 212 is displayed with the portion other than the processed image 213 painted black.
[0042]
In the present embodiment, in order to change the size and position of the trimming area, the size and position are changed by dragging the “■” mark on the trimming area 211 with the mouse. When the mouse is placed on the “■” mark in the upper left on the trimming area 211, it can be moved, and when the mouse is placed on the other “■” mark, the trimming area can be similarly deformed.
[0043]
When the trimming process ends, the trimming window TR is closed and the operation window WD is returned as shown in FIG. A post-processing image 213 is displayed in the layout frame 202a.
[0044]
A4. Similarity ratio:
FIG. 6 is an explanatory diagram for explaining the relationship between the layout frame and the trimming area in this embodiment. FIG. 6A shows that the aspect ratio of the rectangular layout frame 202a is A: B. FIG. 6B shows that the aspect ratio of the trimming region 211 represented by a broken line is C: D. In this embodiment, the trimming region 211 is created so that the relationship “A: B = C: D” is established.
[0045]
Various reference points can be set for changing the size of the trimming region 211. A trimming region 211a represented by a one-dot chain line in FIG. 6B illustrates a case where the similarity ratio is changed using the upper left point of the rectangle as a reference point. A trimming region 211b represented by a dotted line in FIG. 6B illustrates a case where the similarity ratio is changed with the center of gravity of the rectangle as a reference point.
[0046]
A5. Trimming information generation processing:
FIG. 7 is a flowchart of the trimming information generation process in this embodiment. The main control unit 100 is a process for controlling each functional block.
[0047]
The display unit 103 reads out the image stored in the image data storage unit 102 to input image data (step S10), displays the reduced original image 201a in the image frame 201 of the operation window WD, and displays a template. A list of templates stored in the storage unit 104 is displayed as the template file 203 (step S11). Next, the display unit 103 displays the template file 203 selected by the user (step S12).
[0048]
The main control unit 100 allocates the reduced original image 201a to the layout frame 202a (step S13), and displays a trimming window TR when a trimming instruction is input to the instruction input unit 108 (step S14). At this time, the main control unit 100 controls the image processing unit 105 to read the original image 210 from the image data storage unit 102 and also reads information about the layout frame 202 a of the template 202 from the template storage unit 104. In the trimming window TR, an original image 210, a trimming area 211, and a post-trimming processed image 213 are displayed as an initial state. This is the state shown in FIG.
[0049]
When the designation start instruction for the trimming area 211 is input to the instruction input unit 108, the main control unit 100 controls the area designation unit 106 to start the designation of the trimming area (step S15). When the end of area designation is detected (step S16), the image processing unit 105 is controlled to perform trimming in the designated area (step S17), and the processed image 213 after the trimming process is displayed on the display DSP (step S16). S18).
[0050]
Next, the main control unit 100 determines whether or not the trimming process is finished (step S19). If the user designates the area again, it is determined that the trimming process has not ended, and the process returns to step S15 to repeat the process. When the end of the trimming process is detected, the information generation unit 107 is controlled to generate trimming information including the size and position of the trimming area (step S20), and the trimming window TR is terminated, and the processed image 213 is processed. Is reflected in the layout frame 202a (step S21).
[0051]
A6. Printing process:
FIG. 8 is a flowchart for explaining the processing of the server SV1 in this embodiment. The server SV1 receives and inputs the image data, template and trimming information sent from the image processing system 1000 (step S40). Next, input data is analyzed (step S41), and trimming processing is performed based on the analysis result (step S42). When the trimming process ends, the processed image is transferred to the printer PT1 and printed (step S43). When printing is completed, the server SV1 notifies the center side server SV2 of the number of printed sheets and user information (step S44).
[0052]
In the present embodiment, the user information may be assigned in advance with an ID that can uniquely identify the network NW, and the ID may be sent to the center side server SV2 together with the number of prints. The ID can also be the IP address of the router RT. Further, it may be a MAC address of the printer PT1, PT2, server SV1, or the like.
[0053]
According to the image processing system 1000 of the first embodiment described above, when trimming an image and assigning it to a preset layout frame, a trimming area having the same shape as the layout frame can be set. Since the trimming with the same shape can be easily realized, the convenience is improved. Even when the size of the trimming area is changed, the trimming process can be easily performed by changing the similarity ratio.
[0054]
B. Second embodiment:
In the first embodiment, the trimming is performed without considering the inclination of the image. In the second embodiment, the processed image, the original image, and the trimming area can be rotated during the trimming process. The image processing system 1000, server SV1, and other various devices, network configuration, and the like in this embodiment are the same as those in the first embodiment.
[0055]
B1. Rotation trimming screen:
9 to 12 are explanatory diagrams illustrating screen transitions in the rotational trimming process according to the present embodiment. FIG. 9 is an example of a screen for explaining the image processing operation window WD. The screen content is the same as that of FIG.
[0056]
The reduced original image 201b is moved and allocated on the layout frame 202a as shown by the arrows in the figure. The reduced original image 201b is appropriately resized and displayed so that the entire reduced original image 201b is displayed in the layout frame 202a. When a trimming instruction is input in this state, the image processing system 1000 activates the trimming window TR in FIG.
[0057]
FIG. 10 is a screen example illustrating the trimming window TR. Other than the button 20 is the same as that shown in FIG. The button 220 is a button for inputting an image rotation instruction, and when pressed, the post-processing image 213, the original image 210, and the trimming area 211 are all rotated 90 ° in the right direction.
[0058]
FIG. 11 is an explanatory diagram showing a state where the button 220 is pressed once. The preview 212, the original image 210b, and the trimming area 211 are all rotated 90 ° to the right. When the trimming process ends, the trimming window TR is closed and the operation window WD is returned as shown in FIG. In the layout frame 202a, the processed image 213 is displayed at an angle before rotation.
[0059]
Each time the button 220 is pressed, the button 220 is rotated 90 ° rightward, so that the button 220 can be set to an angle desired by the user by pressing the button a plurality of times.
[0060]
B2. Rotation processing:
FIG. 13 is a flowchart for explaining the rotation processing in this embodiment.
When the trimming window TR is displayed (step S14), the main control unit 100 determines whether or not a rotation instruction is input to the instruction input unit 108 (step S30). In this embodiment, whether or not a rotation instruction has been input is determined based on whether or not the button 220 has been pressed. If no rotation instruction is input, the trimming process is continued (step S15). When the rotation instruction is input, the rotation is performed 90 degrees rightward (step S31).
[0061]
The image processing unit 105 displays the processed image 213 after the rotation process in the preview 212 (step S32), returns to step S30, determines whether or not a rotation instruction is input again, and continues the process. To do.
[0062]
According to the image processing system 1000 of the present embodiment, the processed image is rotated and the original image and the trimming area are rotated in the same direction and at the same angle. Therefore, even when trimming is performed after the rotation processing, trimming is performed. Since the processing can proceed without resetting the area, it is possible to improve convenience.
[0063]
C. Variation:
C1. Modification 1:
In the first and second embodiments of the present invention, the image processing system 1000 only generates information for trimming, and the trimming process is actually performed by the server SV1. The system 1000 may perform the trimming process and send the processed image data. As an advantage of causing the server SV1 to perform, it is possible to reduce the load on the image processing system 1000. Further, when trimming is performed again, only the trimming information needs to be transmitted to the server, thereby reducing the load on the network. This is because it becomes possible.
[0064]
C2. Modification 2:
In the first embodiment of the present invention, when the trimming window TR is activated, the original image 210a, the trimming area 211, and the processed image 213 are displayed as an initial state. However, the processed image 213 is not displayed. It is also good. In such a case, it is possible to confirm the image of the post-processing image 213 if the original image 210a is hidden and the post-processing image 213 is displayed when the end of the trimming area designation is detected. . Further, trimming information may be generated without displaying the processed image 213. The same applies to the second embodiment.
[0065]
C3. Modification 3:
In the first and second embodiments of the present invention, the area designation process is performed with the mouse, but the present invention is not limited to this. By pressing a predetermined key on the keyboard, the area may be specified, or a touch panel or other input device may be used. This is preferable because it can be easily operated.
[0066]
C4. Modification 4:
In the first embodiment of the present invention, the original image, template, and trimming information are sent to the server SV1, but may be sent to the center server SV2 for printing.
[0067]
C5. Modification 5:
FIG. 14 is an explanatory diagram illustrating a shape example of a trimming region as a modification. FIG. 14A is an explanatory diagram related to the trimming region 300 when the layout frame has an elliptical shape. The aspect ratio of the trimming area 300 is “vertical: horizontal = E: F”, and the trimming area is designated by changing the similarity ratio while fixing the aspect ratio. By doing so, the same effect as in the first embodiment can be obtained.
[0068]
FIG. 14B is an explanatory diagram relating to the trimming region 301 when the layout frame is a polygon. In the case of the trimming region 301 indicated by a broken line, it is not possible to obtain a similar shape using the aspect ratio as in the first embodiment and the example of FIG. 14A, so that the position of the center of gravity is not changed. By changing the size, a similar shape can be obtained. By doing so, even when the layout frame is freely set by freehand, it is possible to easily trim the image to be allocated in the layout frame.
[0069]
In the modified example, an ellipse and a polygon are listed as examples. However, the present invention is not limited to this, and it is needless to say that trimming can be easily performed even if various shapes such as a circle and a polygon are in the shape of the layout frame. .
[0070]
C6. Modification 6:
In the second embodiment of the present invention, the rotation angle is set to 90 ° in the right direction in advance, and the rotation is performed by pressing the button 220. However, the present invention is not limited to this. As shown in FIG. 15A, the trimming window TR is provided with two buttons, a right 90 ° button 400a and a left 90 ° button 400b, and is described every time each button is pressed. It is good also as rotating in the direction. Such an angle is not limited to 90 degrees, and there may be a plurality of two or more buttons. By doing so, rotation in either the left or right direction can be easily performed.
[0071]
Further, as shown in FIG. 15B, the trimming window TR includes an angle input unit 402 through which a user can arbitrarily input a rotation angle, and a rotation button 401. The image may be rotated by the angle input to the input unit 402. By doing so, it is possible to flexibly set the rotation angle desired by the user, and convenience is improved. The rotation angle is not limited to an integer, and can be set in more detail if it can be input if it is a real number.
[0072]
Furthermore, the button that rotates the image at a preset angle described in FIG. 15A and the angle input unit that can flexibly input the rotation angle described in FIG. It is also possible to configure it to be provided at the same time. By doing so, the rotation angle of the image can be set flexibly and easily, and convenience is improved.
[0073]
Although various embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and it goes without saying that various configurations can be adopted without departing from the spirit of the present invention. For example, the above control processing may be realized by hardware as well as by software.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a schematic configuration of an image processing system 1000 as a first embodiment.
FIG. 2 is an explanatory diagram showing an internal configuration of an image processing system 1000 according to the first embodiment.
FIG. 3 is an explanatory diagram illustrating an operation window in the first embodiment.
FIG. 4 is an explanatory diagram illustrating a trimming window in the first embodiment.
FIG. 5 is an explanatory view exemplifying an operation window reflecting a processed image in the first embodiment.
FIG. 6 is an explanatory view exemplifying region designation processing in trimming processing in the first embodiment.
FIG. 7 is a flowchart of trimming information generation processing in the first embodiment;
FIG. 8 is a flowchart illustrating a process of the server SV1 in the first embodiment.
FIG. 9 is an explanatory diagram illustrating an operation window in the second embodiment.
FIG. 10 is an explanatory diagram illustrating a trimming window in the second embodiment.
FIG. 11 is an explanatory diagram illustrating a rotated image in the second embodiment.
FIG. 12 is an explanatory diagram illustrating an operation window reflecting a processed image in the second embodiment.
FIG. 13 is a flowchart of a rotation process in the second embodiment.
FIG. 14 is an explanatory view exemplifying a region designation shape in a trimming process as a modified example;
FIG. 15 is an explanatory view illustrating an angle input screen for rotation processing as a modified example;
[Explanation of symbols]
1000: Image processing system
100: Main control unit
101: Communication unit
102: Image data storage unit
103 ... Display section
104: Template storage unit
105. Image processing unit
106 ... area designation part
107: Information generator
108: Instruction input unit
200 ... Folder tree
201 ... image frame
201a, 201b ... Reduced original image
202 ... Template
202a ... Layout frame
203 ... Template file
210 ... Original image window
210a, 210b ... Original image
211, 211a, 211b ... Trimming area
212 ... Preview
213 ... Image after processing
220 ... button
300, 301, 301a ... Trimming area
400a… Right 90 ° button
400b ... Left 90 ° button
401 ... Rotation button
402: Angle input unit

Claims (10)

画像処理装置であって、
画像データを入力する画像入力手段と、
表示装置に、前記画像データに基づく画像を表示する表示制御手段と、
前記画像データを割り付けるための複数の割付領域のうちの、任意の前記割付領域に関する領域情報と前記画像データとを関連付ける関連付け手段と、
前記関連付けられた領域情報により表される前記割付領域の形状の相似比及び位置を指定することにより、前記画像データをトリミングするためのトリミング領域を指定する領域指定手段と、
前記指定したトリミング領域で、前記画像データをトリミングするためのトリミング情報を生成する情報生成手段と、
前記トリミング情報を、前記領域情報が関連付けられている前記画像データに関連付けて保存する保存手段と、を備える画像処理装置。
An image processing apparatus,
Image input means for inputting image data;
Display control means for displaying an image based on the image data on a display device;
Association means for associating region information relating to an arbitrary allocation region among the plurality of allocation regions for allocating the image data with the image data;
Area designating means for designating a trimming area for trimming the image data by designating the similarity ratio and position of the shape of the allocated area represented by the associated area information;
Information generating means for generating trimming information for trimming the image data in the designated trimming region;
An image processing apparatus comprising: storage means for storing the trimming information in association with the image data associated with the region information.
請求項1記載の画像処理装置であって、
該画像処理装置は、更に、
前記トリミング情報によるトリミングを行った処理後画像を、前記表示装置に表示する処理後画像表示手段を備える画像処理装置。
The image processing apparatus according to claim 1,
The image processing apparatus further includes:
An image processing apparatus comprising: a processed image display unit that displays a processed image that has been trimmed by the trimming information on the display device.
請求項1記載の画像処理装置であって、
該画像処理装置は、更に、
前記画像および前記指定したトリミング領域を回転するための指示を入力する回転指示入力手段と、
前記指示に応じて、前記画像および前記指定されたトリミング領域を回転する画像回転手段とを備える画像処理装置。
The image processing apparatus according to claim 1,
The image processing apparatus further includes:
A rotation instruction input means for inputting an instruction to rotate the image and the designated trimming area;
An image processing apparatus comprising: an image rotation unit configured to rotate the image and the designated trimming region in response to the instruction.
請求項3記載の画像処理装置であって、
該画像処理装置は、更に、
前記トリミング情報による処理を行った処理後画像を、前記画像と共に表示する処理後画像表示手段を備え、
前記画像回転手段は、前記画像、前記指定領域および前記処理後画像を回転する画像処理装置。
The image processing apparatus according to claim 3,
The image processing apparatus further includes:
A post-processing image display means for displaying the post-processing image processed by the trimming information together with the image;
The image rotation means rotates the image, the designated area, and the processed image.
請求項3または請求項4記載の画像処理装置であって、
前記回転指示入力手段は、予め設定された角度から、回転すべき角度を選択することにより入力を行う画像処理装置。
The image processing apparatus according to claim 3 or 4, wherein:
The rotation instruction input unit is an image processing apparatus that performs an input by selecting an angle to be rotated from preset angles.
請求項3または請求項4記載の画像処理装置であって、
前記回転指示入力手段は、ユーザが、任意の角度を入力可能な画像処理装置。
The image processing apparatus according to claim 3 or 4, wherein:
The rotation instruction input unit is an image processing apparatus in which a user can input an arbitrary angle.
請求項1〜請求項6いずれか記載の画像処理装置であって、
前記関連付け手段は、前記画像データの出力時のレイアウトを規定するレイアウト情報において、前記レイアウト情報により表される前記レイアウトに含まれる前記複数の割付領域のうちの前記任意の割付領域に関する前記領域情報と前記画像データとを関連付ける、画像処理装置。
The image processing apparatus according to any one of claims 1 to 6,
In the layout information that defines a layout at the time of outputting the image data, the associating unit includes the area information related to the arbitrary allocation area among the plurality of allocation areas included in the layout represented by the layout information; An image processing apparatus that associates the image data.
コンピュータが実行する画像処理方法であって、
画像データを入力し、
表示装置に、前記画像データに基づく画像を表示し、
前記画像データを割り付けるための複数の割付領域のうちの、任意の前記割付領域に関する領域情報と前記画像データとを関連付け、
前記関連付けられた領域情報により表される前記割付領域の形状の相似比及び位置を指定することにより、前記画像データをトリミングするためのトリミング領域の指定を受け付け、
前記指定したトリミング領域で、前記画像データをトリミングするためのトリミング情報を生成し、
前記トリミング情報を、前記領域情報が関連付けられている前記画像データに関連付けて保存する、画像処理方法。
An image processing method executed by a computer,
Enter the image data,
An image based on the image data is displayed on a display device,
Of the plurality of allocation areas for allocating the image data, associating area information related to any of the allocation areas and the image data,
By specifying the similarity ratio and position of the shape of the allocated area represented by the associated area information, accepting the designation of a trimming area for trimming the image data,
Generating trimming information for trimming the image data in the designated trimming region;
An image processing method for storing the trimming information in association with the image data associated with the area information.
画像を処理するためのコンピュータプログラムであって、
画像データを入力する機能と、
前記表示装置に、前記画像データに基づく画像を表示する機能と、
前記画像データを割り付けるための複数の割付領域のうちの、任意の前記割付領域に関する領域情報と前記画像データとを関連付ける機能と、
前記関連付けられた領域情報により表される前記割付領域の形状の相似比及び位置を指定することにより、前記画像データをトリミングするためのトリミング領域を指定する機能と、
前記指定したトリミング領域で、前記画像データをトリミングするためのトリミング情報を生成する機能と、
前記トリミング情報を、前記領域情報が関連付けられている前記画像データに関連付けて保存する機能と、をコンピュータに実現させるためのコンピュータプログラム。
A computer program for processing an image,
A function to input image data;
A function of displaying an image based on the image data on the display device;
A function of associating region information related to an arbitrary allocation region among the plurality of allocation regions for allocating the image data with the image data;
A function for designating a trimming area for trimming the image data by designating the similarity ratio and position of the shape of the allocated area represented by the associated area information;
A function of generating trimming information for trimming the image data in the designated trimming region;
A computer program for causing a computer to realize a function of storing the trimming information in association with the image data associated with the region information.
請求項9記載のコンピュータプログラムをコンピュータ読み取り可能に記録した記録媒体。  A recording medium on which the computer program according to claim 9 is recorded so as to be readable by a computer.
JP2002224475A 2002-08-01 2002-08-01 Image processing apparatus and image processing method Expired - Fee Related JP3888257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002224475A JP3888257B2 (en) 2002-08-01 2002-08-01 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002224475A JP3888257B2 (en) 2002-08-01 2002-08-01 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2004072145A JP2004072145A (en) 2004-03-04
JP3888257B2 true JP3888257B2 (en) 2007-02-28

Family

ID=32012424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002224475A Expired - Fee Related JP3888257B2 (en) 2002-08-01 2002-08-01 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3888257B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4710694B2 (en) * 2006-04-04 2011-06-29 セイコーエプソン株式会社 Trimming apparatus and method, and computer program
JP4926877B2 (en) * 2007-08-02 2012-05-09 キヤノン株式会社 Image processing apparatus and method, and program
JP4946738B2 (en) * 2007-09-03 2012-06-06 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
US8300064B2 (en) 2008-03-26 2012-10-30 Fujifilm Corporation Apparatus and method for forming a combined image by combining images in a template
JP2010219764A (en) * 2009-03-16 2010-09-30 Kyocera Mita Corp Image operation display device and image-forming device
US20160093272A1 (en) 2014-09-29 2016-03-31 Brother Kogyo Kabushiki Kaisha Information processing device and non-transitory storage medium storing instructions executable by the information processing device
JP6381514B2 (en) * 2015-12-25 2018-08-29 キヤノン株式会社 Image processing system, information processing apparatus and control method thereof
JP7201037B2 (en) * 2020-04-10 2023-01-10 ブラザー工業株式会社 Control program and information processing device
CN111898169B (en) * 2020-06-22 2022-11-11 广东瑞洲科技有限公司 Intelligent typesetting method, intelligent typesetting system and intelligent cutting system for lace materials

Also Published As

Publication number Publication date
JP2004072145A (en) 2004-03-04

Similar Documents

Publication Publication Date Title
JP3943829B2 (en) Printing condition setting device, printing device, printing system, and printing condition setting recording medium
US7640499B2 (en) Editing objects contained in different pages of a business form via a “position adjustment” operation or a “copy” operation
JP2008042417A (en) Image processing apparatus, program, and preview image display method
US5422743A (en) Operator invoked document defect repair templates
JP3888257B2 (en) Image processing apparatus and image processing method
KR20060045746A (en) Image processing apparatus and method
US20070070441A1 (en) Print data generating apparatus and image recording system
JP2001056757A (en) Data communication system, server and client computer composing of the system
JP2000295406A (en) Image processing method, image processor and storage medium
JP2001118077A (en) Device and method for preparing document
JP3890096B2 (en) Image editing system
JP4168528B2 (en) Copy system control method and apparatus, and computer-readable recording medium recording control program
JP5040770B2 (en) Electronic file generation apparatus, electronic file generation method and program
JP4788188B2 (en) Image processing program, recording medium recording image processing program, and image processing apparatus
US11451678B2 (en) Image forming apparatus, image forming method, and recording medium define a folding lines to process user information in accordance with a position and a size of area in a template
JP2006163774A (en) Processing system for plurality of images
JP3608921B2 (en) Line drawing processing method and apparatus, and recording medium on which program for executing the processing is recorded
JP2003316628A (en) Document management system, method and program and storage medium
JP3365359B2 (en) Printer host, printer, printer system, and storage medium storing program for determining print area and paper size
JP2002073309A (en) Print system, print method and storage medium which stores print control program
JP2019091378A (en) Information processing apparatus, control method, and program
JP2022025480A (en) Information processing system, information processing method, and program
JP2001101327A (en) Information processing method, information processor and printing system
JP2008077322A (en) Document editing method
JP4300960B2 (en) Image modification method, image modification apparatus, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060808

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061010

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061120

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3888257

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131208

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees