JP4093053B2 - Image area specification and image correction - Google Patents

Image area specification and image correction Download PDF

Info

Publication number
JP4093053B2
JP4093053B2 JP2002373722A JP2002373722A JP4093053B2 JP 4093053 B2 JP4093053 B2 JP 4093053B2 JP 2002373722 A JP2002373722 A JP 2002373722A JP 2002373722 A JP2002373722 A JP 2002373722A JP 4093053 B2 JP4093053 B2 JP 4093053B2
Authority
JP
Japan
Prior art keywords
image
pointing device
circle
position indicated
sign
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
JP2002373722A
Other languages
Japanese (ja)
Other versions
JP2003323241A (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 JP2002373722A priority Critical patent/JP4093053B2/en
Publication of JP2003323241A publication Critical patent/JP2003323241A/en
Application granted granted Critical
Publication of JP4093053B2 publication Critical patent/JP4093053B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、表示装置に表示される画像上に矩形の領域を指定する技術と、その技術を用いた画像修正の技術に関する。
【0002】
【従来の技術】
従来より、コンピュータでは、画像処理ソフトウェアを使えば、取り込んだ画像データを加工・編集することが容易にできる。これら加工の処理として、トリミング(切り抜き)、回転、ズーム(拡大)がある。これら処理は、画像データで表わされる画像をディスプレイに表示し、加工メニューから「トリミング」や「回転」や「ズーム」の作業が選択されることにより行なわれる。「トリミング」の作業が選択された場合には、操作者は、画面に表示される矩形の領域をマウスによりドラッグすることで、画像の切り抜きサイズや位置を指定する。この切り抜きサイズや位置で定まる画像が切り抜かれる。
【0003】
「回転」の作業が選択された場合には、画面に表示される「+90度」、「−90度」、「180度」の各ボタンをマウスによりクリックすることで、画像の回転角度を指定する。この回転角度だけ画像が回転する。「ズーム」の作業が選択された場合には、画面に表示されるスライダーバーをマウスで操作して、画像の拡大倍率を指定する。この拡大倍率でもって画像が拡大(もしくは縮小)する。
【0004】
【発明が解決しようとする課題】
上記従来の技術では、画像に対してトリミング、回転、ズームの全ての処理を施そうとした場合に、まず画像に対してトリミングの作業を行ない、その後、切り抜いた画像に対して回転の処理を行ない、さらに、回転した画像を拡大するというように一つ一つの作業を独立に行なっていく必要があった。一つ一つの作業は少しずつ画質の劣化を伴うものであることから、最終的に画質が大きく劣化するという問題が発生した。また、一つ一つの作業毎にメニューを選択する必要があるために、作業性が悪いという問題も発生した。
【0005】
この発明は、上記問題に鑑みてなされたもので、トリミング、回転、ズームを一括して行なう際の画質の劣化を防止することと、作業性の向上を図ることを目的としている。
【0006】
【課題を解決するための手段およびその作用・効果】
前述した課題の少なくとも一部を解決するための手段として、以下に示す構成をとった。
【0007】
この発明の画像領域指定装置は、
表示装置に表示される画像上に矩形の領域を指定する画像領域指定装置であって、
前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける信号受付手段と、
円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する標識部表示手段と、
前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる標識部変形手段と、
操作者による特定の操作を受けて、領域が決定したか否かを判定する領域決定判定手段と、
前記領域決定判定手段により前記領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する位置情報出力手段と
を備えることを特徴としている。
【0008】
この構成の画像領域指定装置によれば、ポインティングデバイスにより指示される位置が標識部のハンドルにあるときに、ポインティングデバイスから特定の信号を受けたときには、その後のポインティングデバイスにより指示される位置に基づいて、標識部は回転される。ポインティングデバイスにより指示される位置が標識部の円の円周にあるときに、ポインティングデバイスから特定の信号を受けたとき、その後のポインティングデバイスにより指示される位置に基づいて、標識部を拡大または縮小される。その後、操作者による特定の操作を受けて、領域決定判定手段により、領域が決定したと判定されると、標識部に備えられる矩形の前記画像上の位置情報が、位置情報出力手段により出力される。
【0009】
したがって、画像上で標識部が回転したり拡大または縮小したりすることで、任意の大きさ傾きの矩形の領域を画像上に指定することができる。このために、回転と、拡大または縮小と、トリミングのための位置情報の獲得とを、一つのメニューで行なうことができることから、作業性に優れているという効果を奏する。
【0010】
ここで、上記矩形とは、長方形または正方形のことである。この明細書では、その他の場所でも矩形は同じ意味で用いている。
【0011】
上記構成の画像領域指定装置において、前記標識部変形手段は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成とすることができる。
【0012】
この構成によれば、画像上で標識部が移動することで、矩形の領域を画像上の任意の位置に指定することができる。このために、回転と、拡大または縮小と、トリミングのための位置情報の獲得とに加えて、移動を、一つのメニューで行なうことができることから、より一層、作業性に優れているという効果を奏する。
【0013】
上記構成の画像領域指定装置において、前記ハンドルは、前記円の径方向に延びる直線の先端に設けられたマークである構成とすることができる。
【0014】
この構成によれば、回転の作業を行なう際にどの部分を指示すればよいかを操作者にはっきりと知らせることができる。また、その回転によって標識部が反転していないか、どれぐらい傾いているかを操作者に知らせることができる。このために作業がし易い。
【0015】
上記構成の画像領域指定装置において、前記標識部を拡大または縮小させるための条件である、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときとは、該円と前記矩形との4接点にあるときに限られる構成とすることができる。
【0016】
この構成によれば、拡大または縮小の作業を行なう際にどの部分を指示すればよいかを操作者にはっきりと知らせることができる。
【0017】
上記構成の画像領域指定装置において、前記標識部表示手段は、前記円と矩形との4接点に、拡大/縮小用のハンドルとしてマークをそれぞれ表示する手段を備える構成とすることができる。
【0018】
この構成によれば、マークによって、回転と拡大または縮小を行なう際の指示位置を、明確に操作者に知らせることができる。このために作業がし易い。
【0019】
上記マークを描いた画像領域指定装置において、前記円と矩形との4接点に表示されたマークのうちのいずれかは、前記標識部の色と相違する他の色で描かれた構成とすることができる。
【0020】
この構成によれば、他の色に描かれたマークによって、回転の作業を行なう際に標識部が反転していないかどうかを、明確に操作者に知らせることができる。このために作業がし易い。
【0021】
上記構成の画像領域指定装置において、前記標識部表示手段は、前記矩形の内側に、該矩形を分割する分割線を表示する手段を備える構成とすることができる。
【0022】
写真撮影において構図を決める技術の一つに、3分割法と呼ばれるものがある。3分割法とは、画面を縦、横にそれぞれ3等分する線を想像し、この縦横線の交差する場所にポイントとなるもの(例えば、人の場合、目)を配置したり、水平線や柱等のラインを1/3の位置となる分割線に配置したりすることで、バランスのいい安定した写真を得ようとするものである。上記分割線を表示する手段を備える画像領域指定装置によれば、操作者は、3分割線に代表される種々の分割線に基づいて構図を決めることができることから、構図の点で優れた画像の領域を容易に指定することができる。すなわち、この画像領域指定装置によれば、領域指定の作業性に優れ、その上で画像の構図の決定が容易であるという効果を奏する。
【0023】
上記分割線を表示する構成の画像領域指定装置において、前記分割線は、前記矩形を縦、横にそれぞれ3等分する線とすることができる。この構成によれば、上記3分割法に基づく構図の決定を容易に行なうことができる。
【0024】
この発明の画像修正装置は、
元画像データを入力するための画像入力手段と、
前記元画像データで表わされる画像を表示装置に表示する表示制御手段と、
前記画像上に矩形の領域を指定する画像領域指定手段と
前記指定された矩形の領域に前記画像をトリミングするトリミング手段と
を備える画像修正装置において、
前記画像領域指定手段は、
前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける信号受付手段と、
円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する標識部表示手段と、
前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる標識部変形手段と、
操作者による特定の操作を受けて、領域が決定したか否かを判定する領域決定判定手段と、
前記領域決定判定手段により前記領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する位置情報出力手段と
を備え、
前記トリミング手段は、
前記位置情報出力手段から出力される前記位置情報に基づいて定まる矩形の領域に前記画像をトリミングする構成を特徴としている。
【0025】
この構成の画像修正装置の画像領域指定手段によれば、ポインティングデバイスにより指示される位置が標識部のハンドルにあるときに、ポインティングデバイスから特定の信号を受けたときには、その後のポインティングデバイスにより指示される位置に基づいて、標識部は回転される。ポインティングデバイスにより指示される位置が標識部の円の円周にあるときに、ポインティングデバイスから特定の信号を受けたとき、その後のポインティングデバイスにより指示される位置に基づいて、標識部を拡大または縮小される。その後、操作者による特定の操作を受けて、領域決定判定手段により、領域が決定したと判定されると、標識部に備えられる矩形の前記画像上の位置情報が、位置情報出力手段により出力される。
【0026】
したがって、画像領域指定手段によれば、画像上で標識部が回転したり拡大または縮小したりすることで、任意の大きさ傾きの矩形の領域を画像上に指定することができる。そうして、その指定された矩形の領域は、トリミング手段により、元画像データで表わされる画像上からトリミングされる。このために、回転、拡大または縮小、トリミングの作業を、一つのメニューで行なうことができることから、作業性に優れているという効果を奏する。
【0027】
上記画像修正装置において、前記標識部変形手段は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成とすることができる。
【0028】
この構成によれば、画像上で標識部が移動することで、矩形の領域を画像上の任意の位置に指定することができる。このために、回転と、拡大または縮小と、トリミングに加えて、移動を、一つのメニューで行なうことができることから、より一層、作業性に優れているという効果を奏する。
【0029】
上記構成の画像修正装置において、操作者の操作指令に基づいて、出力したい画像の縦横のサイズを入力する出力サイズ入力手段と、前記入力された縦横のサイズから求まる縦横比に基づいて、前記標識部に備えられる矩形の形状を決定する矩形決定手段と、前記トリミング手段によりトリミングされた画像を拡大または縮小して、前記出力サイズ入力手段により入力された縦横のサイズに合わせ込む画像サイズ変更手段とを備える構成とすることができる。
【0030】
この構成によれば、元画像データから任意の矩形の領域を切り抜いて、その切り抜いた画像を出力サイズに合わせ込むことができる。このために、トリミング(切り抜き)、回転、ズームの各作業を一つ一つ独立に行なうのではなく、元画像データから一度の加工を行なうだけで、出力したい画像を得ることができる。したがって、画質の劣化を防止することができるという効果を奏する。
【0031】
この発明の画像領域指定方法は、
表示装置に表示される画像上に矩形の領域を指定する画像領域指定方法であって、
(a)前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付けるステップと、
(b)円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示するステップと、
(c)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させるステップと、
(d)操作者による特定の操作を受けて、領域が決定したか否かを判定するステップと、
(e)前記ステップ(d)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力するステップと
を備えることを特徴としている。
【0032】
この発明の第1のコンピュータプログラムは、
画像データで表わされた画像を修正する処理をコンピュータに実行させるためのコンピュータプログラムであって、
(a)前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける機能と、
(b)円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する機能と、
(c)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる機能と、
(d)操作者による特定の操作を受けて、領域が決定したか否かを判定する機能と、
(e)前記機能(d)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する機能と
を実現することを特徴としている。
【0033】
上記構成の画像領域指定方法および第1のコンピュータプログラムは、上記画像領域指定装置と同様な作用・効果を有しており、回転と、拡大または縮小と、トリミングのための位置情報の獲得とを、一つのメニューで行なうことができることから、作業性に優れている。
【0034】
この発明の画像修正方法は、
(a)元画像データを入力するためのステップと、
(b)前記元画像データで表わされる画像を表示装置に表示するステップと、
(c)前記画像上に矩形の領域を指定するステップと
(d)前記指定された矩形の領域に前記画像をトリミングするステップと
を備える画像修正方法において、
前記ステップ(c)は、
(c−1)前記画像上の位置を指示するとともに、操作者による特定のボタンの操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付けるステップと、
(c−2)円と、該円に内接する矩形と、該円から突出する所定形状の図形のハンドルとから構成される標識部を、前記表示装置に表示するステップと、
(c−3)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させるステップと、
(c−4)操作者による特定の操作を受けて、領域が決定したか否かを判定するステップと、
(c−5)前記ステップ(c−4)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力するステップと
を備え、
前記ステップ(d)は、
前記位置情報出力手段から出力される前記位置情報に基づいて定まる矩形の領域に前記画像をトリミングする構成を特徴としている。
【0035】
この発明の第2のコンピュータプログラムは、
画像を修正する処理をコンピュータに実行させるためのコンピュータプログラムであって、
(a)元画像データを入力するための機能と、
(b)前記元画像データで表わされる画像を表示装置に表示する機能と、
(c)前記画像上に矩形の領域を指定する機能と
(d)前記指定された矩形の領域に前記画像をトリミングする機能と
を実現するとともに、
前記機能(c)は、
(c−1)前記画像上の位置を指示するとともに、操作者による特定のボタンの操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける機能と、
(c−2)円と、該円に内接する矩形と、該円から突出する所定形状の図形のハンドルとから構成される標識部を、前記表示装置に表示する表示機能と、
(c−3)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる機能と、
(c−4)操作者による特定の操作を受けて、領域が決定したか否かを判定する機能と、
(c−5)前記機能(c−4)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する機能と
を備え、
前記機能(d)は、
前記位置情報出力手段から出力される前記位置情報に基づいて定まる矩形の領域に前記画像をトリミングする構成であることを特徴としている。
【0036】
上記構成の画像修正方法および第2のコンピュータプログラムは、上記画像修正装置と同様な作用・効果を有しており、回転、拡大または縮小、トリミングの作業を、一つのメニューで行なうことができることから、作業性に優れている。
【0037】
この発明の記録媒体は、この発明の第1または第2のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体を特徴としている。この記録媒体は、この発明の各コンピュータプログラムと同様な作用・効果を有している。
【0038】
【発明の他の態様】
この発明は、以下のような他の態様も含んでいる。その第1の態様は、この発明の第1または第2のコンピュータプログラムを通信経路を介して供給するプログラム供給装置としての態様である。この第1の態様では、コンピュータプログラムをコンピュータネットワーク上のサーバなどに置き、通信経路を介して、必要なプログラムをコンピュータにダウンロードし、これを実行することで、上記の装置や方法を実現することができる。
【0039】
【発明の実施の形態】
本発明の実施の形態を実施例に基づき説明する。この実施例を、次の順序に従って説明する。
A.装置の構成:
B.コンピュータ処理:
B−1.処理の全体:
B−2.修正処理:
B−2―1.画像領域指定処理:
C.作用・効果
D.他の実施形態:
【0040】
A.装置の構成:
図1は、この発明の第1の実施例を適用するコンピュータシステム10のハードウェアの概略構成を示すブロック図である。このコンピュータシステム10は、いわゆるパーソナルコンピュータ(以下、単にコンピュータと呼ぶ)を中心に備え、その周辺にCRTディスプレイ12、プリンタ13およびデジタルカメラ14を備える。コンピュータは、コンピュータ本体16とキーボード18とマウス20を備える。なお、このコンピュータ本体16には、CD−ROM22の内容を読み取るCDドライブ24が搭載されている。
【0041】
コンピュータ本体16は、中央演算処理装置としてのCPU30を中心にバスにより相互に接続されたROM31、RAM32、表示画像メモリ33、マウスインタフェース34、キーボードインタフェース35、CDC36、HDC37、CRTC38、プリンタインタフェース39、入出力機用インタフェース40およびI/Oポート41を備える。ROM31は、内蔵されている各種プログラム等を記憶する読み出し専用のメモリである。RAM32は、各種データ等を記憶する読み出し・書込み可能なメモリである。表示画像メモリ33は、CRTディスプレイ12に表示する画像の画像データを記憶するメモリである。
【0042】
マウスインタフェース34は、マウス20とのデータ等のやり取りを司るインタフェースである。キーボードインタフェース35は、キーボード18からのキー入力を司るインタフェースである。CDC36は、CDドライブ(CDD)24を制御するCDコントローラである。HDC37は、ハードディスクドライブ(HDD)42を制御するハードディスクコントローラである。HDD42には、後述するコンピュータプログラム等が予め記憶されている。
【0043】
CRTC38は、表示画像メモリ33に記憶される表示画像データに基づいてCRTディスプレイ12における画像の表示を制御するCRTコントローラである。プリンタインタフェース39は、プリンタ13へのデータの入出力を制御するインタフェースである。入出力機用インタフェース40は、外部に接続された入出力機器、この実施例ではデジタルカメラ14へのデータの入出力を制御するインタフェースである。I/Oポート41は、シリアル出力のポートを備えており、モデム44に接続されており、このモデム44を介して、公衆電話回線46に接続されている。コンピュータ本体16は、モデム44を介して、外部のネットワークに接続されており、特定のサーバ47に接続可能となっている。
【0044】
このコンピュータシステム10では、オペレーティングシステムはHDD42に記憶されており、コンピュータ本体16に電源を投入すると、HDD42のブートブロックに書き込まれたローダに従ってRAM32の所定の領域にロードされる。また、デジタルカメラ14で撮影した写真画像(カラー写真画像)を加工するフォトレタッチ用ソフトウェア(コンピュータプログラム)は、CD−ROM22に予め格納されており、所定のインストールプログラムを起動することで、CDドライブ24からコンピュータ本体16にインストールされる。このインストールされたコンピュータプログラムは、HDD42に記憶されており、所定の起動命令を受けたときに、RAM32の所定の領域にロードされる。
【0045】
このコンピュータプログラムの一部のモジュール(後述する)をCPU30が実行することによって本発明の各種構成要件は実現される。このコンピュータプログラムは、前述したように、CD−ROM22に格納されたものであるが、これに替えて、フロッピィディスク、光磁気ディスク、ICカード等の他の携帯型記録媒体(可搬型記録媒体)に格納された構成としてもよい。また、前述したコンピュータプログラムは、外部のネットワークに接続される特定のサーバ47から、ネットワークを介して提供されるプログラムデータをダウンロードして、RAM32またはHDD42に転送することにより得るようにすることもできる。なお、上記ネットワークとしては、インターネットであってもよく、特定のホームページからダウンロードして得たコンピュータプログラムであってもよい。あるいは、電子メールの添付ファイルの形態で供給されたコンピュータプログラムであってもよい。
【0046】
以上説明したハードウェア構成を有するコンピュータシステム10によるフォトレタッチ用ソフトウェアに従う制御処理の様子について次に説明する。図2は、コンピュータ本体16によって実行されるこのフォトレタッチ用ソフトウェア50に従う制御処理の様子を示すブロック図である。
【0047】
図2に示すように、コンピュータ本体16の内部で動作しているフォトレタッチ用ソフトウェア50によれば、まず、入力モジュール51によりデジタルカメラ14から写真画像を表わす画像データDpiを取り込む処理を行なう。次いで、入力モジュール51によって取り込まれた画像データ(以下、元画像データと呼ぶ)Dpiに対する加工を修正モジュール52によって行なう。この修正モジュール52によって、元画像データDpiで表わされた写真画像に対して、トリミング(切り抜き)、回転、ズームを行なったり、画像の明るさや色相/彩度/明度などを変更したりして、画像の修正を行なうことができる。この修正の過程の画像は、ディスプレイドライバ60を介してCRTディスプレイ12へ送られて表示される。上記トリミング、回転、ズームを行なう機能は、修正モジュール52に備えられる画像領域指定部53とトリミング部54によって実現される。すなわち、入力モジュール51により入力した元画像データDpiで表わされる画像上に、画像領域指定部53により、矩形の領域を指定して、その指定された矩形の領域に基づく画像データを、トリミング部54によりトリミングする。
【0048】
画像領域指定部53は、信号受付部53aと標識部表示部53bと標識部変形部53cと領域決定判定部53dと位置情報出力部53eとを備える。各部53a、53b、53c、53d、53eの働きにより、元画像データDpiで表わされる画像上に矩形の領域を指定することができる。この指定された矩形の領域に基づく画像データは、トリミング部54によりトリミングされ、修正モジュール52による修正済の画像データDpoとして、ディスプレイドライバ60を介してCRTディスプレイ12へ送られて表示される。
【0049】
また、フォトレタッチ用ソフトウェア50によれば、印刷モジュール55により、修正済画像データDpoは、プリンタドライバ62を介してプリンタ13へ送られて表示される。さらに、出力モジュール56により、修正済画像データDpoは、外部機器へ送られる。
【0050】
B.コンピュータ処理:
B−1.処理の全体:
コンピュータ本体16のCPU30でフォトレタッチ用ソフトウェア50を実行することで、上述した入力モジュール51、修正モジュール52、印刷モジュール55および出力モジュール56を実現している。このフォトレタッチ用ソフトウェア50に従う制御処理について、以下詳細に説明する。図3は、この制御処理のルーチンを示すフローチャートである。このルーチンは、フォトレタッチ用ソフトウェア50を実行させる旨の指示がなされたときに、実行開始される。
【0051】
図示するように、処理が開始されると、CPU30は、まず、アプリケーションウィンドウWDをCRTディスプレイ12に表示する処理を行なう(ステップS100)。図4は、このアプリケーションウィンドウWDの初期状態を示す説明図である。図示するように、アプリケーションウィンドウWDには、「入力」、「修正」、「印刷」、「出力」の4種類のボタンBT1,BT2,BT3,BT4が用意されており、操作者は、これらボタンBT1〜BT4を順にマウス20によりクリックしていくことで、CRTディスプレイ12の画面上で、デジタルカメラ14で撮影した写真画像を加工して出力する作業を進めていくことができる。すなわち、図3に示すように、CPU30は、ステップ100の実行後、ボタンBT1〜BT4がマウス20によりクリックされる操作指令を取り込んで、その操作指令に対応した入力処理、修正処理、印刷処理、出力処理を順に実行する(ステップS200,S300,S400,S500)。
【0052】
ステップS200で実行される入力処理は、デジタルカメラ14から写真画像を表わす画像データ(元画像データ)Dpiを取り込むもので、前述した入力モジュール51(図2)に対応する。この元画像データDpiの取り込み作業は、図4に示されるアプリケーションウィンドウWDのツールバーBRに設けられた「ファイル」のボタンBT5が、マウス20によりクリックされる操作指令を受けて行なわれる。詳細には、「ファイル」のボタンBT5から開くプルダウンメニュ(図示せず)に備えられた「外部機器入力」を選択して、次いで、入力デバイスとしてデジタルカメラ14を選択して、その後、ファイル名を選択するといった一連のマウス20からの操作指令を受けて行なわれる。なお、こうして取り込まれた元画像データDpiは、RAM32の所定のエリアに格納されるが、それとともに、アプリケーションウィンドウWDの作業フィールドFDWに表示される(図6参照)。
【0053】
なお、デジタルカメラ14から直接、元画像データDpiを取り込む構成に替えて、デジタルカメラ14で撮影した写真画像の画像データを予めHDD42に格納しておき、このHDD42内の画像データを読み出す構成とすることもできる。すなわち、写真画像を表わす画像データであれば、デジタルカメラを用いてその都度読み出す構成としてもよいし、予めHDD42等の記憶手段に用意しておき、その記憶手段から読み出す構成とすることもできる。また、写真画像の画像データをネットワークを介して外部から取り込む構成とすることもできる。
【0054】
ステップS300で実行される修正処理は、元画像データDpiを加工するもので、ここで本発明の各種要件は実現される。以下、後ほど詳述する。なお、ここで加工の処理が施された修正済画像データDpoは、HDD42に用意された所定のホルダに格納される。この修正処理が、前述した修正モジュール52(図2)に対応する。
【0055】
ステップS400で実行される印刷処理は、ステップS300で作成された修正済画像データDpoを、印刷コマンドとしてプリンタドライバに出力するものである。この印刷の処理は、周知の構成であり、ここでは詳しく説明はしないが、これによって加工した写真画像がプリンタ13から印刷されることになる。この印刷処理が、前述した印刷モジュール55(図2)に対応する。
【0056】
ステップS500で実行される出力処理は、ステップS300で作成された修正済画像データDpoを、外部機器に出力するものである。これによって加工した写真画像を表わす修正済画像データDpoが所望の外部機器に出力されることになる。この出力処理が、前述した出力モジュール56(図2)に対応する。
【0057】
B−2.修正処理:
ステップS300で実行される修正処理について、以下詳細に説明する。このフォトレタッチ用ソフトウェアでは、写真を撮影した環境を変更した効果を画像に与える機能(撮影環境機能)、画像のトリミング、回転、ズームを行なう機能(引き伸ばし機能)、画像の明るさや色相/彩度/明度などを変更する機能(ツール機能)、アンシャープマスクやぼかし等の効果を画像に与える機能(フィルタ機能)等、さまざまな機能を備えるが、これら機能は、この修正処理によって実現される。図5は、この修正処理のルーチンを示すフローチャートである。このルーチンに処理が移行すると、図示するように、CPU30は、まず、CRTディスプレイ12に表示されているアプリケーションウィンドウWDを修正処理用に変更する処理を行なう(ステップS302)。
【0058】
図6は、修正処理用のアプリケーションウィンドウWDを示す説明図である。図示するように、この修正処理用のアプリケーションウィンドウWDのツールバーBRには、「撮影環境」のボタンBT21、「暗室」のボタンBT22、「ツール」のボタンBT22、「フィルタ」のボタンBT24が追加されている。「撮影環境」のボタンBT21、「暗室」のボタンBT22、「ツール」のボタンBT22、「フィルタ」のボタンBT24は、上記撮影環境機能、引き伸ばし機能、ツール機能、フィルタ機能にそれぞれ対応しており、各機能を行なう作業指示を入力するためのものである。なお、ツールバーBRの最も右寄りには、「元に戻す」のボタンBT25が設けられており、この修正処理によって修正された画像を、修正前の元画像に戻すことが可能となっている。その他の構成については、図4に示した入力処理用のアプリケーションウィンドウWDと同じである。
【0059】
図5に戻り、次いで、CPU30は、アプリケーションウィンドウWDのツールバーBRからのマウス20による作業指示を入力する処理を行なう(ステップS310)。続いて、CPU30は、その入力した作業指示が、引き伸ばし機能を施す作業指示であるか否かを判別する処理を行なう(ステップS320)。この引き伸ばし機能を施す作業指示というのは、図6に示すアプリケーションウィンドウWDにおけるツールバーBRからの[暗室]−[引き伸ばし機]といったマウス20による操作である。すなわち、ツールバーBRに備えられる「暗室」のボタンBT22をクリックして、そのボタンBT22からプルダウンされる[引き伸ばし機]の選択肢をクリックするという操作である。
【0060】
ステップS320で上記作業指示が入力されていないと判別された場合には、CPU30は、ステップS330に処理を進めて、ステップS310で入力した作業指示に対応した処理、すなわち、引き伸ばし機能以外のその他の機能(前述した撮影環境機能やツール機能やフィルタ機能等)を施す処理を行なう。ステップS330の実行後、「リターン」に抜けてこの修正処理のルーチンは一旦終了される。
【0061】
一方、ステップS320で、マウス20から引き伸ばし機能を施す作業指示が入力されたと判別された場合には、CPU30は、ステップS340に処理を進める。ステップS340では、CPU30は、入力モジュール51によりアプリケーションウィンドウWDに表示された元画像データのDpiの写真画像上に矩形の領域を指定する画像領域指定処理を実行する。以下、この画像領域指定処理について詳細に説明する。この画像領域指定処理が、前述した画像領域指定部53(図2)に対応する。
【0062】
B−2―1.画像領域指定処理:
図7は、ステップS340で実行される画像領域指定処理の詳細を示すフローチャートである。図示するように、この画像領域指定処理のルーチンに処理が移行すると、CPU30は、まず、画像領域指定処理用のダイアログボックスをCRTディスプレイ12に表示する処理を行なう(ステップS410)。このダイアログボックスは、画像領域の指定に必要となる各種情報をコンピュータ本体16に対して設定するためのものである。
【0063】
図8は、画像領域指定処理用のダイアログボックスDB1の一例を示す説明図である。図示するように、このダイアログボックスDB1には、領域指定用の画像表示フィールドFD1と、プレビュー用の画像表示フィールドFD2とが設けられている。領域指定用の画像表示フィールドFD1は、領域指定の対象となる元画像データDpiを、標識部としての領域指定用ツールTLとともに表示するためのものである。操作者は、この画像表示フィールドFD1に表示される画像上で、領域指定用ツールTLを操作して、その画像上に矩形の領域を指定する。領域指定用ツールTLについては後ほど詳述する。プレビュー用の画像表示フィールドFD2は、領域指定用の画像表示フィールドFD1で指定された領域の画像をプレビュー表示するためのものである。
【0064】
プレビュー用の画像表示フィールドFD2の下方には、各種操作の入力欄やボタン等が設けられている。「表示倍率」の入力欄IF1と、「角度指定」の入力欄IF2と、「領域の縦横比」の入力欄IF3と、「長辺のサイズ」の入力欄IF4とが設けられている。「表示倍率」の入力欄IF1は、領域指定用の画像表示フィールドFD1に表示される画像の倍率を指定するためのもので、スライダーバーにより倍率の指定が可能となっている。「角度指定」の入力欄IF2は、領域指定用の画像表示フィールドFD1に表示される画像を回転させるためのもので、ボタンにより0度、+90度、+180度、−90度だけ左回りに回転が可能となり、また、数字の入力により任意の角度だけ左回りに回転が可能となっている。
【0065】
「領域の縦横比」の入力欄IF3は、この修正処理で得たい出力画像の縦横比を指定するためのもので、プルダウンメニューによって、「変換しない」と、規定サイズとして予め登録された次の比率の中から所望のものを選択して指定することができる。規定サイズとしては、「4:5=デジカメ1(1280×1024)」、「3:4=デジカメ2(1280×960)」、「2:3=35mmフィルム、APS(Cタイプ)」、「9:16=APS(Hタイプ)」、「1:3=パノラマ、APS(Pタイプ)」等が登録されている。なお、「変換しない」とは、元画像の縦横比という意味である。
【0066】
「長辺のサイズ」の入力欄IF4は、この修正処理で得たい出力画像の長辺のサイズ(ピクセル数)を指定するためのもので、プルダウンメニューによって、「変換しない」と、予め登録されたサイズの中から所望のものを選択して指定することができる。サイズとしては、「120」、「180」等が登録されている。なお、「変換しない」とは、元画像の長辺サイズという意味である。
【0067】
両入力欄IF3,IF4は、任意の数値を入力可能な構成とすることができる。両入力欄IF3,IF4から入力される情報によって、出力画像の縦横のサイズ(ピクセル数)が定まる。したがって、このダイアログボックスDB1のように「領域の縦横比」と「長辺のサイズ」を入力する構成に替えて、直接、「出力画像の縦サイズ」と「出力画像の横サイズ」を入力する構成とすることもできる。
【0068】
図7に戻り、ステップS410の実行後、元画像データDpiで表わされる画像を、ダイアログボックスDB1の領域指定用の画像表示フィールドFD1に表示する処理を行なう(ステップS420)。次いで、CPU30は、画像表示フィールドFD1内に領域指定用ツールTLを表示する処理を行なう(ステップS430)。このステップS430の処理が、前述した標識部表示部53b(図2)に対応する。
【0069】
図9は、領域指定用ツールTLを示す説明図である。図示するように、領域指定用ツールTLは、円C1と、円C1に内接する矩形C2と、円C1の径方向に円C1から突出する直線C3とから構成される。円C1のサイズは、予め定めた大きさである。矩形C2は、上述したように円C1に内接するが、縦の辺の長さと横の辺の長さは、画像領域指定処理用のダイアログボックスDB1の「領域の縦横比」の入力欄IF3から入力された縦横比から演算された長さである。なお、矩形C2は、入力欄IF3から入力された縦横比が「1:1」の場合には、正方形となり、「1:1」以外の場合には、長方形となる。直線C3は、矩形C2の上辺の中点から円C1の径方向に延びる線分であり、円C1から所定の長さだけ突出している。
【0070】
円C1と矩形C2との間の4つ接点(矩形C2の四隅の点)と、直線C3の外側の点には、円形状のマークm1,m2,m3,m4,m5が設けられている。なお、矩形C2の下辺の両端に位置するマークm2,m3は、赤色に塗り潰され、その他のマークm1,m4,m5は黒色に塗りつぶされている。
【0071】
上記構成の領域指定用ツールTLは、マウス20からの後述するマウス入力によって、回転、拡大、移動する。矩形C2の領域が、この領域指定用ツールTLによって指定される領域となる。したがって、マウス20を用いて領域指定用ツールTLを操作することにより、領域指定用の画像表示フィールドFD1に表示される画像上に所望の角度、大きさ、位置の矩形の領域を指定することができる。図7に戻り、ステップS430に続くステップS440では、CPU30は、領域指定用ツールTLで指定された画像を、プレビュー画像として、プレビュー用の画像表示フィールドFD2に表示する処理を行なう。
【0072】
その後、CPU30は、操作者によるマウス入力を受け付ける(ステップS450)。このステップS450の処理が、前述した信号受付部53a(図2)に対応する。次いで、ステップS450で受け付けたマウス入力について、領域指定用ツールTLに備えられるマークm1,m2,m3,m4のうちのいずれかの位置でマウスボタンが押されたというものであるか、領域指定用ツールTLに備えられるマークm5の位置でマウスボタンが押されたというものであるか、領域指定用ツールTLに備えられる円C1の内側でマウスボタンが押されたものであるかをそれぞれ判別する(ステップS460,S470,S480)。
【0073】
図10は、領域指定用ツールTLを回転するマウス入力を示す説明図である。図10(a)に示すように、領域指定用ツールTLの直線C3に備えられるマークm5にマウスポインタが移動すると、マウスポインタの形状は、線分の両端に矢尻が設けられた形となる。この状態で、図10(b)に示すように、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは、円C1の中心点Pを中心として回転する。この回転の方向および角度は、上記のドラッグ&ドロップの操作によって定まる。図示するように、直線C3より右側へのドラッグの場合には、領域指定用ツールTLは時計回りに回転し、その回転の角度は、ドロップした位置によって定まる。ステップS460では、上記の回転のためのドラッグ&ドロップについての最初のマウスボタンを押すというマウス入力があったか否かを判別している。ステップS460で肯定判別された場合には、CPU30は、上述したドラッグ&ドロップのマウス入力に従う領域指定用ツールTLの回転処理を行なう(ステップS465)。なお、領域指定用ツールTLのマークm1,m2,m3,m4のうちの2つのマークm2,m3が、赤色に塗り潰されているのは、この回転の処理によって領域指定用ツールTLが反転した場合に、上下が判別し易いようにしたためである。
【0074】
図11は、領域指定用ツールTLを拡大するマウス入力を示す説明図である。図11(a)に示すように、領域指定用ツールTLの矩形C2の四隅に設けられたマークm1,m2,m3,m4のうちのいずれかにマウスポインタが移動すると、マウスポインタの形状は、線分の両端に矢尻が設けられた形となる。この状態で、図11(b)に示すように、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは、中心点Pを中心として拡大する。この拡大は、上記のドラッグ&ドロップの操作によって定まる。図示するように、円C1より外側へドラッグされると、領域指定用ツールTLは拡大し、その大きさは、ドロップした位置によって定まる。なお、円C1より内側へドラッグ&ドロップされた場合には、領域指定用ツールTLは縮小する。ステップS470では、上記の拡大または縮小ドラッグ&ドロップのための最初のマウスボタンを押すというマウス入力があったか否かを判別している。ステップS470で肯定判別された場合には、CPU30は、上述したドラッグ&ドロップのマウス入力に従う領域指定用ツールTLの拡大(縮小)処理を行なう(ステップS475)。
【0075】
図12は、領域指定用ツールTLを移動するマウス入力を示す説明図である。図12(a)に示すように、領域指定用ツールTLの円C1の内側にマウスポインタが移動すると、マウスポインタの形状は、十字の4つの先端に矢尻が設けられた形となる。この状態で、図12(b)に示すように、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは、その入力に従って移動する。ステップS480では、上記の移動のためのドラッグ&ドロップについての最初のマウスボタンを押すというマウス入力があったか否かを判別している。ステップS480で肯定判別された場合には、CPU30は、上述したドラッグ&ドロップのマウス入力に従う領域指定用ツールTLの移動処理を行なう(ステップS485)。
【0076】
ステップS465、S475またはS485の処理を終えると、CPU30は、ステップS440に処理を戻して、ステップS465、S475またはS485で回転、拡大、移動された領域指定用ツールTLで指定される画像を、プレビュー画像として、プレビュー用の画像表示フィールドFD2に表示して、ステップS450で操作者による次のマウス入力を受け付ける。なお、ステップS460ないしS485の処理が、前述した標識部変形部53c(図2)に対応する。
【0077】
一方、ステップS460ないしS480の各判別処理で全て否定された場合には、CPU30は、処理をステップS490に進める。ステップS490では、CPU30は、ステップS450で受け付けたマウス入力が、画像領域指定処理用のダイアログボックスDB1に設けられた[実行]のボタンBT31がクリックされたものであるか否かを判定する。これは、これまでにステップS465、S475またはS485で行なった回転、拡大、もしくは移動の処理が妥当であるか、すなわち、領域指定用ツールTLを操作して指定した画像(プレビュー用の画像表示フィールドFD2に表示されている画像)が妥当であるかを操作者からのマウス入力によって判定するものである。このステップS490の処理が、前述した領域決定判定部53d(図2)に対応する。ここで、妥当でないと判定された場合には、CPU30は、ステップS450に処理を戻して、再度の操作者によるマウス入力を受け付ける。
【0078】
一方、ステップS490で、領域指定用ツールTLを操作して指定した領域が妥当であると判定された場合には、領域指定用ツールTLの矩形Cの画像上の位置情報を求める処理を行なう(ステップS500)。ここでいう画像というのは、領域指定用ツールTLの表示される領域指定用の画像表示フィールドFD1に表示された元画像データDpiの画像であり、元画像データDpiの画像の座標値によって矩形Cの位置情報は示される。すなわち、元画像データDpiの画像上に矩形の領域が指定される。このステップS500の処理が、前述した位置情報出力部53e(図2)に対応する。ステップS500の実行後、「リターン」に抜けて、この画像領域指定処理のルーチンを一旦終了する。その後、CPU30は、図5のステップS350に処理を進める。
【0079】
ステップS350では、CPU30は、ステップS500で求めた画像上の位置情報に基づいて、元画像データDpiから矩形の領域の画像データをトリミングする。その後、CPU30は、そのトリミングした画像データの画像を、画像領域指定処理用のダイアログボックスDB1に備えられる「領域の縦横比」の入力欄IF3および「長辺のサイズ」の入力欄IF4から求まる出力画像のサイズ(ピクセル数)に合わせ込む処理を行なう(ステップS360)。この処理は、画像の平均化や、バイキュービック法などの補間を行なうことによって、画質の向上を保ちながらリサイズする周知の方法によって行なわれる。
【0080】
その後、CPU30は、ステップS370に処理を進めて、ステップS360でリサイズされた画像を、アプリケーションウィンドウWDの作業フィールドFDWに表示する処理を行なう。図13は、ステップS360後のアプリケーションウィンドウWDの一例を示す説明図である。図示するように、作業フィールドFDWには、元画像データDpiからトリミングした画像がリサイズされて表示されている。これは、領域指定用ツールTLを図8に例示する状態に操作した場合の表示の一例である。その後、CPU30は、ステップS380に処理を進めて、上記ステップS360でリサイズされた画像についての画像データを修正済画像データDpoとして、HDD42に用意された所定のホルダに記憶する処理を行なう。その後、「リターン」に抜けて修正処理のルーチンを一旦終了する。
【0081】
C.作用・効果
以上のように構成されたこの実施例のコンピュータシステムによれば、元画像データDpiが表示される画面上で領域指定用ツールTLを用いて矩形の領域が指定される。マウス20により指示されるマウスポインタが、領域指定用ツールTLの直線C3に備えられるマークm5に移動した状態で、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは回転される。マウスポインタが、矩形C2の四隅に設けられたマークm1,m2,m3,m4のうちのいずれかに移動した状態で、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは拡大または縮小される。その後、ダイアログボックスDB1に設けられた[実行]のボタンBT31がクリックされた信号の入力があると、上記マウスの操作によって定まった領域指定用ツールTLの矩形Cの領域は妥当であるとして、矩形Cの画像(元画像データDpiで表わされる画像)上の位置情報が出力される。
【0082】
したがって、このコンピュータシステムによれば、画像上で領域指定用ツールTLが回転したり拡大または縮小したりすることで、任意の大きさ傾きの矩形の領域を画像上に指定することができる。このために、回転と、拡大または縮小と、トリミングのための位置情報の獲得とを、一つのメニューで行なうことができることから、作業性に優れているという効果を奏する。
【0083】
また、マウス20により指示されるマウスポインタが、円C1の内側に移動した状態で、ドラッグ&ドロップのマウス入力があると、領域指定用ツールTLは移動される。このために、回転と、拡大または縮小と、トリミングのための位置情報の獲得とに加えて、移動を、一つのメニューで行なうことができることから、より一層、作業性に優れている。
【0084】
また、このコンピュータシステムによれば、その指定された矩形の領域は、トリミングされ、そのトリミングされた画像データの画像は、予めダイアログボックスDB1から入力した出力画像のサイズにリサイズされる。このために、トリミング、回転、ズームの各作業を一つ一つ独立に行なうのではなく、元画像データから一度の加工を行なうだけで、出力したい画像を得ることができる。したがって、画質の劣化を防止することができるという効果を奏する。
【0085】
このコンピュータシステムでは、回転、拡大または縮小するためにマウスポインタによって指示されるハンドルがマークm1〜m5によって表示されてことから、回転と拡大または縮小を行なう際の指示位置を、明確に操作者に知らせることができる。したがって、操作者は、作業がし易い。
【0086】
また、領域指定用ツールTLの矩形C2の四隅に設けられたマークm1〜m4のうちの下辺両端のマークm2,m3は、赤色に塗り潰されており、他のマークm1,m4,m5と異なった色をしている。このために、回転の作業を行なう際に領域指定用ツールTLが反転していないかどうかを、明確に操作者に知らせることができる。したがって、操作者は、より作業がし易い。
【0087】
D.他の実施形態:
本発明の他の実施形態について、次に説明する。
(1)前記実施例では、領域指定用ツールTLを回転させるハンドルとして直線C3が用意されていたが、ハンドルは直線形状に限る必要はなく、四角形、三角形等の他の形状であってもよい。また、そのハンドルは円C1に連結されている必要もなく、円C1の外側の回りに位置すれば、円C1から離れていてもよい。図14は、ハンドルの他の一例を示す説明図である。図示するように、ハンドルHは、「×」の形状として、円C1Xから離れた構成とすることもできる。この携帯によれば、ハンドルHをドラッグ&ドロップすることで、領域指定用ツールTLXを回転させることができる。
【0088】
(2)前記実施例では、回転、拡大または縮小するためにマウスポインタによって指示されるハンドルとしてのマークm1〜m5は、円形状となっているが、これに換えて、6角形、正方形、菱形、×印等、他の所定形状であってもよい。
【0089】
(3)前記実施例では、円C1と矩形C2の接点に、拡大/縮小用のハンドルとしてのマークm1〜m4が設けられていたが、これに替えて、円C1の円周上の他の位置にそのハンドルを設けた構成とすることもできる。図15は、回転の指示位置を示すマークの他の一例を示す説明図である。図示するように、円C1Yの円周上における、矩形C2Yとの接点から離れた位置にマークmY1,mY2,mY3を設ける構成とすることもできる。この形態によれば、マークmY1,mY2,mY3をドラッグ&ドロップすることで、領域指定用ツールTLXを回転させることができる。また、円C1の全周を、拡大/縮小用のハンドルとすることもできる。
【0090】
(4)矩形C2の四隅に設けられたマークm1〜m4のうちの下辺両端のマークm2,m3は、赤色に塗り潰されているが、これに替えて、青、緑等の他の色とすることもできる。要は、領域指定用ツールTLXを描いている色と相違する他の色であればよい。
【0091】
(5)前記実施例では、ダイアログボックスDB1に設けられた[実行]のボタンBT31がクリックされた信号の入力があると、上記マウスの操作によって定まった領域指定用ツールTLの矩形Cの領域は妥当であるとしていたが、これに替えて、キーボード18から予め定めたキー入力(例えば、[Alt]+[M])があった場合に、マウスの操作によって定まった領域指定用ツールTLの矩形Cの領域は妥当であるとすることもできる。
【0092】
(6)前記実施例では、ポインティングデバイスとして、マウスが用いられていたが、これに替えて、トラックボール、ライトペン、タッチスクリーン、ジョイスティック、デジタイザ、タブレット等を用いる構成としてもよい。
【0093】
(7)前記実施例では、元画像データDpiは、デジタルカメラにより撮影したものとしたが、これに替えて、カラースキャナ等を用いて獲得した銀塩写真やカラーグラビア等の画像データであってもよい。また、HDD42等の記憶装置に予め用意したものであってもよい。また、必ずしもカラーの画像データである必要もなく、白黒の画像データに適用することもできる。
【0094】
さらに他の実施形態を、第2の実施例として説明する。この第2の実施例は、前記第1の実施例と比較して、画像領域指定処理用のダイアログボックスと、このダイアログボックスに表示される標識部としての領域指定用ツールとが相違し、その他の構成については同一である。
【0095】
図16は、この第2の実施例で用いられる画像領域指定処理用のダイアログボックスDB2の一例を示す説明図である。図示するように、この第2の実施例の画像領域指定処理用のダイアログボックスDB2は、第1実施例のダイアログボックスDB1とほぼ同一の構成であり、相違するのは、グリッド表示のための3つのボタンBT41、BT42、BT43を備える点だけである。各ボタンBT41、BT42、BT43には、「3分割」、「対角線」、「中央線」の文字がそれぞれ示されている。この第2の実施例では、ダイアログボックスDB2の表示開始とともに、標識部としての領域指定用ツールが直ちに表示されるが、このときの領域指定用ツールは、第1実施例の領域指定ツールTL1と同一の形状である。すなわち、図示するように、領域指定ツールは、円C1と、円C1に内接する矩形C2と、円C1の径方向に円C1から突出する直線C3を備えた構成である。その後、操作者により、ボタンBT41、BT42、BT43のいずれかがマウス20を用いてクリックされると、そのボタンBT41、BT42、BT43に対応したグリッドが領域指定用ツール内に付加される。
【0096】
図17は、この第2の実施例における領域指定用ツールTL2の一例を示す説明図である。この領域指定用ツールTL2は、「3分割」のボタンBT41がクリックされたときに表示されるものである。図示するように、この領域指定用ツールTL2は、前述した円C1、矩形C2、直線C3に加え、矩形C2の内側に、その矩形C2を縦、横にそれぞれ3等分する4本の分割線C4が設けられた構成である。この構成の領域指定用ツールTL2は、第1の実施例と同様の操作によって、回転、拡大、移動するが、その回転、拡大、移動に伴って、領域指定用ツールTL2内の分割線C4も回転、拡大、移動する。すなわち、分割線C4は、領域指定用ツールTL2の回転、拡大、移動に伴っても常に矩形C2の内側に位置して、その矩形C2を縦、横にそれぞれ3等分する。
【0097】
操作者は、領域指定用ツールTL2を操作して、矩形C2で指定された領域をトリミングすることができるが、この際に、矩形C2内に設けられた分割線C4を利用して、トリミングする画像の構図を定める。この分割線C4は、前述した3分割法を図るためのものである。図18は、領域指定用ツールTL2によって構図の修整がなされた画像の一例を示す説明図である。図示するように、画像表示フィールドFD1に表示された画像の中でポイントとなる天守閣の部分に、縦横の分割線C4の交差する場所(図の例では、右上の交差する場所)GPが配置されるように、領域指定用ツールTL2の位置が定められる。この状態で、操作者は、[実行]のボタンBT31をクリックすることで、矩形C2で囲まれた優れた構図の画像をトリミングすることができる。
【0098】
図19は、「対角線」のボタンBT42がクリックされたときの領域指定用ツールTL2−1を示す説明図である。図示するように、この領域指定用ツールTL2−1は、前述した円C1、矩形C2、直線C3に加え、矩形C2の内側に、この矩形C2の対角線となる2本の分割線C5が設けられた構成である。
【0099】
図20は、「中央線」のボタンBT43がクリックされたときの領域指定用ツールTL2−2を示す説明図である。図示するように、この領域指定用ツールTL2−2は、前述した円C1、矩形C2、直線C3に加え、矩形C2の内側に、その矩形C2を縦方向、横方向にそれぞれ2等分する2本の分割線C6が設けられた構成である。なお、この構成に替えて、2本の分割線C6のうちのいずれか1本だけ(例えば、横方向の分割線C6)が表示される構成としてもよい。
【0100】
操作者によって「対角線」のボタンBT42がクリックされると、図19に示した対角線となる分割線C5を備えた領域指定用ツールTL2′が画像表示フィールドFD1に表示される。また、操作者によって「中央線」のボタンBT43がクリックされると、図20に示した中央線となる分割線C6を備えた領域指定用ツールTL2−2が画像表示フィールドFD1に表示される。操作者は、これら分割線C5,C6を利用して画像の構図を決定することもできる。
【0101】
なお、上記グリッド表示のための各ボタンBT41、BT42、BT43は、1クリック毎に、オン/オフが切り替わるように構成されており、各ボタンBT41、BT42、BT43は互いに独立で、2以上が重ねてオンとなることを妨げるものではない。図21は、「3分割」のボタンBT41と「対角線」のボタンBT42とが共にクリックされてオン状態となったときの領域指定用ツールTL2−3を示す説明図である。図示するように、矩形C2の内側には、図17に示した縦、横にそれぞれ3等分する4本の分割線C4と、図19に示した対角線となる2本の分割線C5とが設けられることになる。
【0102】
以上のように構成されたこの第2の実施例では、第1の実施例と同様に、作業性よくトリミングを行なうことができ、その上でトリミングされた画像の構図の決定を容易に行なうことができるという効果を奏する。
【0103】
前記第2の実施例の変形例について、次に説明する。前記第2の実施例では、3分割法によって構図が決められるように、分割線C4は、矩形の縦、横をそれぞれ3等分するものであったが、これに換えて、黄金分割法によって構図が決められる用に分割の比率が定められた分割線を備える構成とすることもできる。また、前記(1)〜(7)に示した他の実施形態を、この第2の実施例にもそのまま適用した変形例とすることもできる。
【0104】
以上、本発明の実施例を詳述してきたが、本発明は、こうした実施態様に何等限定されるものではなく、本発明の要旨を逸脱しない範囲において種々なる態様にて実施することができるのは勿論のことである。
【図面の簡単な説明】
【図1】この発明の第1の実施例を適用するコンピュータシステム10のハードウェアの概略構成を示すブロック図である。
【図2】コンピュータ本体16によって実行されるこのフォトレタッチ用ソフトウェア50に従う制御処理の様子を示すブロック図である。
【図3】制御処理のルーチンを示すフローチャートである。
【図4】アプリケーションウィンドウWDの初期状態を示す説明図である。
【図5】修正処理のルーチンを示すフローチャートである。
【図6】修正処理用のアプリケーションウィンドウWDを示す説明図である。
【図7】ステップS340で実行される画像領域指定処理の詳細を示すフローチャートである。
【図8】画像領域指定処理用のダイアログボックスDB1の一例を示す説明図である。
【図9】領域指定用ツールTLを示す説明図である。
【図10】領域指定用ツールTLを回転するマウス入力を示す説明図である。
【図11】領域指定用ツールTLを拡大するマウス入力を示す説明図である。
【図12】領域指定用ツールTLを移動するマウス入力を示す説明図である。
【図13】トリミング後のアプリケーションウィンドウWDの一例を示す説明図である。
【図14】ハンドルの他の一例を示す説明図である。
【図15】回転の指示位置を示すマークの他の一例を示す説明図である。
【図16】第2の実施例で用いられる画像領域指定処理用のダイアログボックスDB2の一例を示す説明図である。
【図17】「3分割」のボタンBT41がクリックされたときの領域指定用ツールTL2の一例を示す説明図である。
【図18】領域指定用ツールTL2によって構図の修整がなされた画像の一例を示す説明図である。
【図19】「対角線」のボタンBT42がクリックされたときの領域指定用ツールTL2−1を示す説明図である。
【図20】「中央線」のボタンBT43がクリックされたときの領域指定用ツールTL2−2を示す説明図である。
【図21】「3分割」のボタンBT41と「対角線」のボタンBT42とが共にクリックされたときの領域指定用ツールTL2−3を示す説明図である。
【符号の説明】
10…コンピュータシステム
13…プリンタ
14…デジタルカメラ
16…コンピュータ本体
18…キーボード
20…マウス
33…表示画像メモリ
34…マウスインタフェース
35…キーボードインタフェース
39…プリンタインタフェース
40…入出力機用インタフェース
42…ハードディスクドライブ
44…モデム
46…公衆電話回線
47…サーバ
50…フォトレタッチ用ソフトウェア
51…入力モジュール
52…修正モジュール
53…画像領域指定部
53a…信号受付部
53b…標識部表示部
53c…標識部変形部
53d…領域決定判定部
53e…位置情報出力部
54…トリミング部
55…印刷モジュール
56…出力モジュール
60…ディスプレイドライバ
62…プリンタドライバ
WD…アプリケーションウィンドウ
DB1…画像領域指定処理用のダイアログボックス
TL…領域指定用ツール
C1…円
C2…矩形
C3…直線
マーク…m1,m2,m3,m4,m5
DB2…画像領域指定処理用のダイアログボックス
BT41,BT42,BT43…ボタン
TL2,tl2−1,TL2−2,TL2−3…領域指定用ツール
C4,C5,C6…分割線
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for designating a rectangular area on an image displayed on a display device, and an image correction technique using the technique.
[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, and zoom (enlargement). These processes are performed by displaying an image represented by image data on the display and selecting “trimming”, “rotation”, or “zoom” from the processing menu. When the “trimming” operation is selected, the operator drags a rectangular area displayed on the screen with the mouse to designate the cropping size and position of the image. An image determined by the cutout size and position is cut out.
[0003]
When “Rotate” is selected, click the “+90 degrees”, “−90 degrees”, and “180 degrees” buttons displayed on the screen with the mouse to specify the rotation angle of the image. To do. The image rotates by this rotation angle. When the “zoom” operation is selected, the zoom bar of the image is designated by operating the slider bar displayed on the screen with the mouse. The image is enlarged (or reduced) with this enlargement magnification.
[0004]
[Problems to be solved by the invention]
In the conventional technique described above, when all the processes of trimming, rotation, and zooming are performed on an image, the image is first trimmed, and then the cropped image is rotated. In addition, it was necessary to carry out each work independently such as enlarging the rotated image. Since each work is accompanied by a little deterioration of the image quality, there is a problem that the image quality is finally greatly deteriorated. Moreover, since it is necessary to select a menu for each work, there is a problem that workability is poor.
[0005]
The present invention has been made in view of the above problems, and has as its object to prevent deterioration of image quality when trimming, rotating, and zooming are performed collectively and improving workability.
[0006]
[Means for solving the problems and their functions and effects]
As means for solving at least a part of the problems described above, the following configuration is adopted.
[0007]
The image area designating apparatus of the present invention comprises:
An image area designating device for designating a rectangular area on an image displayed on a display device,
A signal receiving means for receiving a signal from a pointing device that indicates a position on the image and sends a specific signal in response to a specific operation by an operator;
A sign section display means for displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is rotated based on the subsequent position indicated by the pointing device. When the position indicated by the pointing device is on the circumference of the circle, when the specific signal is received from the pointing device, the sign unit is based on the position indicated by the pointing device thereafter. A sign part deformation means for enlarging or reducing
A region determination determination means for determining whether a region has been determined in response to a specific operation by an operator;
Position information output means for outputting position information on the image of the rectangle provided in the marker when it is determined by the area determination determination means that the area is determined;
It is characterized by having.
[0008]
According to the image area designating apparatus having this configuration, when a specific signal is received from the pointing device when the position designated by the pointing device is on the handle of the sign unit, the position designated by the subsequent pointing device is used. The sign section is rotated. When the position indicated by the pointing device is on the circumference of the circle of the sign portion, when a specific signal is received from the pointing device, the sign portion is enlarged or reduced based on the position indicated by the subsequent pointing device. Is done. After that, when a specific operation by the operator is received and the region determination determining unit determines that the region has been determined, the position information on the image of the rectangle provided in the sign unit is output by the position information output unit. The
[0009]
Therefore, a rectangular area having an arbitrary size inclination can be designated on the image by rotating, enlarging, or reducing the sign portion on the image. For this reason, since rotation, enlargement or reduction, and acquisition of position information for trimming can be performed with a single menu, the workability is excellent.
[0010]
Here, the rectangle is a rectangle or a square. In this specification, the rectangle is used in the same meaning in other places.
[0011]
In the image region designating device having the above-described configuration, the marker deforming unit further receives the specific signal from the pointing device when the position indicated by the pointing device is inside the circle, and thereafter The sign unit can be moved based on the position indicated by the pointing device.
[0012]
According to this configuration, the marker area moves on the image, so that a rectangular region can be designated at an arbitrary position on the image. For this reason, in addition to rotation, enlargement or reduction, and acquisition of position information for trimming, the movement can be performed with one menu, so that the workability is further improved. Play.
[0013]
In the image area designating device having the above-described configuration, the handle may be a mark provided at the tip of a straight line extending in the radial direction of the circle.
[0014]
According to this configuration, it is possible to clearly notify the operator which part should be indicated when performing the rotation work. In addition, it is possible to inform the operator whether the sign portion is not inverted by the rotation or how much it is tilted. For this reason, it is easy to work.
[0015]
In the image area designating apparatus having the above configuration, when the position indicated by the pointing device, which is a condition for enlarging or reducing the sign portion, is on the circumference of the circle, the circle and the rectangle The configuration can be limited to when there are four contacts.
[0016]
According to this configuration, it is possible to clearly notify the operator which part should be indicated when performing the enlargement or reduction operation.
[0017]
In the image area designating device having the above-described configuration, the indicator display means may include means for displaying marks as handles for enlargement / reduction at the four contact points of the circle and the rectangle.
[0018]
According to this configuration, it is possible to clearly notify the operator of the indication position when performing the rotation and enlargement or reduction by the mark. For this reason, it is easy to work.
[0019]
In the image area designating device in which the mark is drawn, any one of the marks displayed at the four contact points of the circle and the rectangle is drawn in another color different from the color of the marker portion. Can do.
[0020]
According to this configuration, it is possible to clearly notify the operator whether or not the marker portion is inverted when performing the rotation operation by using the marks drawn in other colors. For this reason, it is easy to work.
[0021]
In the image area designating device having the above-described configuration, the sign section display means may include a means for displaying a dividing line for dividing the rectangle inside the rectangle.
[0022]
One technique for determining composition in photography is called a three-division method. The three-division method imagines a line that divides the screen vertically and horizontally into three equal parts, and places points (for example, eyes in the case of humans) at the intersections of these vertical and horizontal lines, A stable photograph with good balance is obtained by arranging a line such as a pillar on a dividing line at a position of 1/3. According to the image area designating device having means for displaying the dividing line, the operator can determine the composition based on various dividing lines represented by the three dividing lines. Can be easily specified. That is, according to this image area designating device, there is an effect that the work of area design is excellent and the composition of the image can be easily determined.
[0023]
In the image area designating apparatus configured to display the dividing line, the dividing line may be a line that divides the rectangle into three equal parts vertically and horizontally. According to this configuration, it is possible to easily determine the composition based on the three-division method.
[0024]
The image correction apparatus according to the present invention includes:
Image input means for inputting original image data;
Display control means for displaying an image represented by the original image data on a display device;
Image area designating means for designating a rectangular area on the image;
Trimming means for trimming the image into the designated rectangular area;
In an image correction apparatus comprising:
The image area specifying means includes:
A signal receiving means for receiving a signal from a pointing device that indicates a position on the image and sends a specific signal in response to a specific operation by an operator;
A sign section display means for displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is rotated based on the subsequent position indicated by the pointing device. When the position indicated by the pointing device is on the circumference of the circle, when the specific signal is received from the pointing device, the sign unit is based on the position indicated by the pointing device thereafter. A sign part deformation means for enlarging or reducing
A region determination determination means for determining whether a region has been determined in response to a specific operation by an operator;
Position information output means for outputting position information on the image of the rectangle provided in the marker when it is determined by the area determination determination means that the area is determined;
With
The trimming means includes
The image trimming is performed on a rectangular area determined based on the position information output from the position information output means.
[0025]
According to the image area specifying means of the image correcting apparatus having this configuration, when a specific signal is received from the pointing device when the position indicated by the pointing device is on the handle of the sign unit, the pointing device is instructed by the subsequent pointing device. The sign portion is rotated based on the position to be detected. When the position indicated by the pointing device is on the circumference of the circle of the sign portion, when a specific signal is received from the pointing device, the sign portion is enlarged or reduced based on the position indicated by the subsequent pointing device. Is done. After that, when a specific operation by the operator is received and the region determination determining unit determines that the region has been determined, the position information on the image of the rectangle provided in the sign unit is output by the position information output unit. The
[0026]
Therefore, according to the image area designating means, a rectangular area having an arbitrary size inclination can be designated on the image by rotating, enlarging or reducing the sign portion on the image. Then, the designated rectangular area is trimmed from the image represented by the original image data by the trimming means. For this reason, the rotation, enlargement or reduction, and trimming operations can be performed with a single menu, so that the workability is excellent.
[0027]
In the image correction apparatus, the marker deforming unit further receives the specific signal from the pointing device when the position indicated by the pointing device is inside the circle, and then the pointing device Based on the position instructed by the device, the sign section can be moved.
[0028]
According to this configuration, the marker area moves on the image, so that a rectangular region can be designated at an arbitrary position on the image. For this reason, in addition to rotation, enlargement or reduction, and trimming, the movement can be performed with one menu, so that the workability is further improved.
[0029]
In the image correction apparatus having the above configuration, an output size input means for inputting a vertical and horizontal size of an image to be output based on an operation command from an operator, and the indicator based on an aspect ratio obtained from the input vertical and horizontal sizes. Rectangle determining means for determining the shape of the rectangle provided in the section; and image size changing means for enlarging or reducing the image trimmed by the trimming means to match the vertical and horizontal sizes input by the output size input means; It can be set as the structure provided with.
[0030]
According to this configuration, an arbitrary rectangular region can be cut out from the original image data, and the cut out image can be adjusted to the output size. For this reason, it is possible to obtain an image to be output by performing only one processing from the original image data, instead of performing each operation of trimming (cutout), rotation, and zoom independently. Therefore, there is an effect that deterioration of image quality can be prevented.
[0031]
The image area designating method of the present invention is:
An image region designation method for designating a rectangular region on an image displayed on a display device,
(A) Instructing a position on the image and receiving a signal from a pointing device that receives a specific operation by an operator and sends a specific signal;
(B) displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
(C) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is changed based on the subsequent position indicated by the pointing device. And when the position indicated by the pointing device is on the circumference of the circle, when receiving the specific signal from the pointing device, based on the position indicated by the pointing device thereafter, Enlarging or reducing the sign portion;
(D) receiving a specific operation by the operator and determining whether or not the region has been determined;
(E) a step of outputting position information on the image of the rectangle provided in the sign section when it is determined that the region is determined in the step (d);
It is characterized by having.
[0032]
The first computer program of the present invention is:
A computer program for causing a computer to execute processing for correcting an image represented by image data,
(A) A function of receiving a signal from a pointing device that instructs a position on the image and sends a specific signal in response to a specific operation by an operator;
(B) a function of displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
(C) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is changed based on the subsequent position indicated by the pointing device. And when the position indicated by the pointing device is on the circumference of the circle, when receiving the specific signal from the pointing device, based on the position indicated by the pointing device thereafter, A function of enlarging or reducing the sign part;
(D) a function for determining whether or not a region has been determined in response to a specific operation by the operator;
(E) a function of outputting position information on the image of the rectangle provided in the sign section when it is determined that the area is determined by the function (d);
It is characterized by realizing.
[0033]
The image area designating method and the first computer program having the above configuration have the same operations and effects as the image area designating apparatus, and perform rotation, enlargement or reduction, and acquisition of position information for trimming. Because it can be done with one menu, it is excellent in workability.
[0034]
The image correction method of the present invention includes:
(A) a step for inputting original image data;
(B) displaying an image represented by the original image data on a display device;
(C) designating a rectangular area on the image;
(D) trimming the image to the designated rectangular area;
An image correction method comprising:
The step (c)
(C-1) receiving a signal from a pointing device that indicates a position on the image and sends a specific signal in response to an operation of a specific button by the operator;
(C-2) a step of displaying on the display device a marker portion composed of a circle, a rectangle inscribed in the circle, and a handle of a figure having a predetermined shape protruding from the circle;
(C-3) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign is based on the position indicated by the pointing device thereafter. And when the specific signal is received from the pointing device when the position indicated by the pointing device is on the circumference of the circle, and based on the subsequent position indicated by the pointing device. Enlarging or reducing the sign portion;
(C-4) a step of determining whether or not a region has been determined in response to a specific operation by the operator;
(C-5) outputting the position information on the image of the rectangle provided in the marker when it is determined that the region is determined in the step (c-4);
With
The step (d)
The image trimming is performed on a rectangular area determined based on the position information output from the position information output means.
[0035]
The second computer program of the present invention is:
A computer program for causing a computer to execute processing for correcting an image,
(A) a function for inputting original image data;
(B) a function of displaying an image represented by the original image data on a display device;
(C) a function for designating a rectangular area on the image;
(D) a function of trimming the image in the designated rectangular area;
As well as
The function (c) is:
(C-1) a function of receiving a signal from a pointing device that instructs a position on the image and sends a specific signal in response to an operation of a specific button by the operator;
(C-2) a display function for displaying on the display device a sign section composed of a circle, a rectangle inscribed in the circle, and a handle of a figure having a predetermined shape protruding from the circle;
(C-3) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign is based on the position indicated by the pointing device thereafter. And when the specific signal is received from the pointing device when the position indicated by the pointing device is on the circumference of the circle and the position indicated by the pointing device is based on the subsequent position indicated by the pointing device. A function of enlarging or reducing the sign part,
(C-4) a function for determining whether or not a region has been determined in response to a specific operation by the operator;
(C-5) a function of outputting position information on the image of the rectangle provided in the marker unit when it is determined that the area is determined by the function (c-4);
With
The function (d) is
The image is trimmed into a rectangular area determined based on the position information output from the position information output means.
[0036]
The image correction method and the second computer program having the above configuration have the same operations and effects as the image correction device, and can perform rotation, enlargement, reduction, and trimming operations with a single menu. Excellent workability.
[0037]
The recording medium of the present invention is characterized by a computer-readable recording medium on which the first or second computer program of the present invention is recorded. This recording medium has the same operation and effect as each computer program of the present invention.
[0038]
Other aspects of the invention
The present invention includes other aspects as follows. The 1st aspect is an aspect as a program supply apparatus which supplies the 1st or 2nd computer program of this invention via a communication path. In the first aspect, the above-described apparatus and method are realized by placing a computer program on a server or the like on a computer network, downloading a necessary program to a computer via a communication path, and executing the program. Can do.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described based on examples. This embodiment will be described in the following order.
A. Device configuration:
B. Computer processing:
B-1. Overall processing:
B-2. Corrective action:
B-2-1. Image area specification processing:
C. Action / Effect
D. Other embodiments:
[0040]
A. Device configuration:
FIG. 1 is a block diagram showing a schematic hardware configuration of a computer system 10 to which the first embodiment of the present invention is applied. The computer system 10 includes a so-called personal computer (hereinafter simply referred to as a computer), and includes a CRT display 12, a printer 13, and a digital camera 14 around the computer system 10. The computer includes a computer main body 16, a keyboard 18, and a mouse 20. The computer main body 16 is equipped with a CD drive 24 for reading the contents of the CD-ROM 22.
[0041]
The computer main body 16 includes a ROM 31, a RAM 32, a display image memory 33, a mouse interface 34, a keyboard interface 35, a CDC 36, an HDC 37, a CRTC 38, a printer interface 39, and an input connected to each other by a bus around a CPU 30 as a central processing unit. An output machine interface 40 and an I / O port 41 are provided. The ROM 31 is a read-only memory that stores various built-in programs and the like. The RAM 32 is a readable / writable memory for storing various data. The display image memory 33 is a memory that stores image data of an image to be displayed on the CRT display 12.
[0042]
The mouse interface 34 is an interface that manages data exchange with the mouse 20. The keyboard interface 35 is an interface that manages key input from the keyboard 18. The CDC 36 is a CD controller that controls the CD drive (CDD) 24. The HDC 37 is a hard disk controller that controls a hard disk drive (HDD) 42. The HDD 42 stores in advance computer programs and the like which will be described later.
[0043]
The CRTC 38 is a CRT controller that controls display of an image on the CRT display 12 based on display image data stored in the display image memory 33. The printer interface 39 is an interface that controls input / output of data to / from the printer 13. The input / output machine interface 40 is an interface that controls input / output of data to / from an externally connected input / output device, in this embodiment, the digital camera 14. The I / O port 41 has a serial output port, and is connected to a modem 44, and is connected to a public telephone line 46 via the modem 44. The computer main body 16 is connected to an external network via a modem 44 and can be connected to a specific server 47.
[0044]
In this computer system 10, the operating system is stored in the HDD 42, and when the computer main body 16 is turned on, it is loaded into a predetermined area of the RAM 32 according to the loader written in the boot block of the HDD 42. Photo retouching software (computer program) for processing photographic images (color photographic images) taken by the digital camera 14 is stored in advance in the CD-ROM 22, and a CD drive is activated by starting a predetermined installation program. 24 to the computer main body 16. The installed computer program is stored in the HDD 42, and is loaded into a predetermined area of the RAM 32 when a predetermined activation command is received.
[0045]
Various components of the present invention are realized by the CPU 30 executing some modules (described later) of the computer program. As described above, this computer program is stored in the CD-ROM 22, but instead of this, another portable recording medium (portable recording medium) such as a floppy disk, a magneto-optical disk, or an IC card. It is good also as a structure stored in. The computer program described above can also be obtained by downloading program data provided via a network from a specific server 47 connected to an external network and transferring it to the RAM 32 or the HDD 42. . The network may be the Internet or a computer program obtained by downloading from a specific homepage. Alternatively, it may be a computer program supplied in the form of an email attachment.
[0046]
Next, the state of control processing according to the photo retouching software by the computer system 10 having the hardware configuration described above will be described. FIG. 2 is a block diagram showing a state of control processing according to the photo retouching software 50 executed by the computer main body 16.
[0047]
As shown in FIG. 2, according to the photo retouching software 50 operating in the computer main body 16, first, the input module 51 performs processing for taking in image data Dpi representing a photographic image from the digital camera 14. Next, the modification module 52 performs processing on the image data (hereinafter referred to as original image data) Dpi captured by the input module 51. By this correction module 52, the photographic image represented by the original image data Dpi is trimmed (rotated), rotated, zoomed, and the brightness and hue / saturation / lightness of the image are changed. The image can be corrected. The image of this correction process is sent to the CRT display 12 via the display driver 60 and displayed. The functions of trimming, rotating, and zooming are realized by an image area specifying unit 53 and a trimming unit 54 provided in the correction module 52. That is, on the image represented by the original image data Dpi input by the input module 51, a rectangular area is specified by the image area specifying unit 53, and image data based on the specified rectangular area is converted to the trimming unit 54. Trimming with
[0048]
The image area designating unit 53 includes a signal receiving unit 53a, a sign unit display unit 53b, a sign unit deforming unit 53c, an area determination determining unit 53d, and a position information output unit 53e. A rectangular area can be designated on the image represented by the original image data Dpi by the action of the respective parts 53a, 53b, 53c, 53d, and 53e. The image data based on the designated rectangular area is trimmed by the trimming unit 54 and sent to the CRT display 12 via the display driver 60 and displayed as the image data Dpo corrected by the correction module 52.
[0049]
Further, according to the photo retouching software 50, the corrected image data Dpo is sent to the printer 13 via the printer driver 62 and displayed by the printing module 55. Further, the corrected image data Dpo is sent to the external device by the output module 56.
[0050]
B. Computer processing:
B-1. Overall processing:
The above-described input module 51, correction module 52, printing module 55, and output module 56 are realized by executing the photo retouching software 50 by the CPU 30 of the computer main body 16. The control process according to the photo retouching software 50 will be described in detail below. FIG. 3 is a flowchart showing a routine of this control process. This routine is started when an instruction to execute the photo retouching software 50 is given.
[0051]
As shown in the figure, when the process is started, the CPU 30 first performs a process of displaying the application window WD on the CRT display 12 (step S100). FIG. 4 is an explanatory diagram showing an initial state of the application window WD. As shown in the figure, in the application window WD, four types of buttons BT1, BT2, BT3, and BT4 of “input”, “modify”, “print”, and “output” are prepared. By clicking the BT1 to BT4 with the mouse 20 in order, it is possible to proceed with the process of processing and outputting the photographic image taken by the digital camera 14 on the screen of the CRT display 12. That is, as shown in FIG. 3, after executing step 100, the CPU 30 takes in an operation command in which the buttons BT <b> 1 to BT <b> 4 are clicked by the mouse 20, and performs input processing, correction processing, printing processing, The output process is executed in order (steps S200, S300, S400, S500).
[0052]
The input process executed in step S200 takes in image data (original image data) Dpi representing a photographic image from the digital camera 14, and corresponds to the input module 51 (FIG. 2) described above. The operation of taking in the original image data Dpi is performed in response to an operation command in which the “file” button BT5 provided on the toolbar BR of the application window WD shown in FIG. Specifically, “external device input” provided in a pull-down menu (not shown) opened from the “file” button BT5 is selected, then the digital camera 14 is selected as an input device, and then the file name is selected. The operation is performed in response to a series of operation commands from the mouse 20 such as selecting. The original image data Dpi thus captured is stored in a predetermined area of the RAM 32, and is displayed in the work field FDW of the application window WD (see FIG. 6).
[0053]
It should be noted that, instead of the configuration in which the original image data Dpi is directly fetched from the digital camera 14, the image data of the photographic image taken by the digital camera 14 is stored in the HDD 42 in advance, and the image data in the HDD 42 is read out. You can also. In other words, image data representing a photographic image may be read each time using a digital camera, or may be prepared in advance in storage means such as the HDD 42 and read out from the storage means. It is also possible to adopt a configuration in which image data of a photographic image is taken in from outside via a network.
[0054]
The correction process executed in step S300 processes the original image data Dpi, and various requirements of the present invention are realized here. The details will be described later. The corrected image data Dpo that has been processed here is stored in a predetermined holder prepared in the HDD 42. This correction process corresponds to the correction module 52 (FIG. 2) described above.
[0055]
The printing process executed in step S400 is to output the corrected image data Dpo created in step S300 to the printer driver as a print command. This printing process has a well-known configuration and will not be described in detail here, but the processed photographic image is printed from the printer 13. This printing process corresponds to the printing module 55 (FIG. 2) described above.
[0056]
The output process executed in step S500 is to output the corrected image data Dpo created in step S300 to an external device. As a result, corrected image data Dpo representing the processed photographic image is output to a desired external device. This output process corresponds to the output module 56 (FIG. 2) described above.
[0057]
B-2. Corrective action:
The correction process executed in step S300 will be described in detail below. This photo retouching software has a function that gives an image the effect of changing the environment in which the photograph was taken (shooting environment function), a function that trims, rotates, and zooms the image (enlargement function), and the brightness and hue / saturation of the image. There are various functions such as a function for changing brightness (tool function), a function for giving effects such as unsharp masking and blurring (filter function), and these functions are realized by this correction processing. FIG. 5 is a flowchart showing a routine of this correction process. When the processing shifts to this routine, as shown in the figure, the CPU 30 first performs processing for changing the application window WD displayed on the CRT display 12 for correction processing (step S302).
[0058]
FIG. 6 is an explanatory diagram showing an application window WD for correction processing. As shown in the drawing, a “shooting environment” button BT21, a “dark room” button BT22, a “tool” button BT22, and a “filter” button BT24 are added to the toolbar BR of the application window WD for correction processing. ing. The “shooting environment” button BT21, the “dark room” button BT22, the “tool” button BT22, and the “filter” button BT24 correspond to the shooting environment function, enlargement function, tool function, and filter function, respectively. This is for inputting work instructions for performing each function. Note that an “undo” button BT25 is provided on the rightmost side of the toolbar BR, and an image corrected by this correction processing can be returned to the original image before correction. Other configurations are the same as those of the application window WD for input processing shown in FIG.
[0059]
Returning to FIG. 5, the CPU 30 then performs a process of inputting a work instruction by the mouse 20 from the toolbar BR of the application window WD (step S310). Subsequently, the CPU 30 performs a process of determining whether or not the input work instruction is a work instruction for performing the enlargement function (step S320). The work instruction to perform the enlargement function is an operation by the mouse 20 such as [dark room]-[enlarger] from the toolbar BR in the application window WD shown in FIG. That is, the user clicks the “dark room” button BT22 provided in the tool bar BR, and clicks the [enlarger] option that is pulled down from the button BT22.
[0060]
If it is determined in step S320 that the work instruction has not been input, the CPU 30 advances the process to step S330 and performs processing corresponding to the work instruction input in step S310, that is, other than the enlargement function. Processing for performing functions (such as the shooting environment function, the tool function, and the filter function described above) is performed. After executing step S330, the process returns to “RETURN” and the correction process routine is temporarily terminated.
[0061]
On the other hand, if it is determined in step S320 that a work instruction for performing the enlargement function has been input from the mouse 20, the CPU 30 advances the process to step S340. In step S340, the CPU 30 executes an image area designation process for designating a rectangular area on the Dpi photographic image of the original image data displayed on the application window WD by the input module 51. Hereinafter, this image area designation process will be described in detail. This image area designating process corresponds to the image area designating unit 53 (FIG. 2) described above.
[0062]
B-2-1. Image area specification processing:
FIG. 7 is a flowchart showing details of the image region designation process executed in step S340. As shown in the figure, when the processing shifts to this image region designation processing routine, the CPU 30 first performs processing for displaying a dialog box for image region designation processing on the CRT display 12 (step S410). This dialog box is used to set various information necessary for designating the image area in the computer main body 16.
[0063]
FIG. 8 is an explanatory diagram showing an example of the dialog box DB1 for image area designation processing. As shown in the figure, this dialog box DB1 is provided with an image display field FD1 for area designation and an image display field FD2 for preview. The area designation image display field FD1 is for displaying the original image data Dpi to be area designated together with the area designation tool TL as a labeling portion. The operator operates the area designating tool TL on the image displayed in the image display field FD1, and designates a rectangular area on the image. The area designating tool TL will be described in detail later. The preview image display field FD2 is used for preview display of an image in the area designated by the area designation image display field FD1.
[0064]
Below the preview image display field FD2, an input field for various operations, buttons, and the like are provided. An input field IF1 for “Display magnification”, an input field IF2 for “Specify angle”, an input field IF3 for “Aspect ratio of area”, and an input field IF4 for “Long side size” are provided. The “display magnification” input field IF1 is used for designating the magnification of the image displayed in the image display field FD1 for area designation, and the magnification can be designated by a slider bar. The “angle designation” input field IF2 is used to rotate the image displayed in the area designation image display field FD1, and is rotated counterclockwise by 0 degrees, +90 degrees, +180 degrees, and −90 degrees by a button. It is possible to rotate counterclockwise by an arbitrary angle by inputting a number.
[0065]
The “area aspect ratio” input field IF3 is for designating the aspect ratio of the output image to be obtained by this correction processing. By the pull-down menu, “not converted” and the following pre-registered as the prescribed size are registered. A desired one can be selected and designated from the ratios. As the specified size, “4: 5 = digital camera 1 (1280 × 1024)”, “3: 4 = digital camera 2 (1280 × 960)”, “2: 3 = 35 mm film, APS (C type)”, “9 : 16 = APS (H type) ”,“ 1: 3 = Panorama, APS (P type) ”, and the like are registered. “Do not convert” means the aspect ratio of the original image.
[0066]
The “long side size” input field IF4 is for designating the size (number of pixels) of the long side of the output image to be obtained by this correction processing. In the pull-down menu, “not converted” is registered in advance. The desired size can be selected and specified from the selected sizes. As the size, “120”, “180”, and the like are registered. Note that “not converted” means the long side size of the original image.
[0067]
Both input fields IF3 and IF4 can be configured to allow input of arbitrary numerical values. The vertical and horizontal sizes (number of pixels) of the output image are determined by information input from both input fields IF3 and IF4. Accordingly, instead of the configuration in which “area aspect ratio” and “long side size” are input as in this dialog box DB1, “output image vertical size” and “output image horizontal size” are directly input. It can also be configured.
[0068]
Returning to FIG. 7, after the execution of step S410, a process of displaying the image represented by the original image data Dpi in the image display field FD1 for region designation in the dialog box DB1 is performed (step S420). Next, the CPU 30 performs a process of displaying the area designating tool TL in the image display field FD1 (step S430). The processing in step S430 corresponds to the above-described label portion display portion 53b (FIG. 2).
[0069]
FIG. 9 is an explanatory diagram showing the area designating tool TL. As shown in the drawing, the region designating tool TL is composed of a circle C1, a rectangle C2 inscribed in the circle C1, and a straight line C3 projecting from the circle C1 in the radial direction of the circle C1. The size of the circle C1 is a predetermined size. The rectangle C2 is inscribed in the circle C1 as described above, but the length of the vertical side and the length of the horizontal side are determined from the input field IF3 of the “region aspect ratio” in the dialog box DB1 for image region designation processing. It is the length calculated from the input aspect ratio. The rectangle C2 is a square when the aspect ratio input from the input field IF3 is “1: 1”, and is a rectangle when the aspect ratio is other than “1: 1”. The straight line C3 is a line segment extending in the radial direction of the circle C1 from the middle point of the upper side of the rectangle C2, and protrudes from the circle C1 by a predetermined length.
[0070]
Circular marks m1, m2, m3, m4, and m5 are provided at four contact points (four corner points of the rectangle C2) between the circle C1 and the rectangle C2 and at points outside the straight line C3. The marks m2 and m3 located at both ends of the lower side of the rectangle C2 are painted in red, and the other marks m1, m4 and m5 are painted in black.
[0071]
The region designating tool TL having the above-described configuration is rotated, enlarged, and moved by mouse input described later from the mouse 20. The area of the rectangle C2 is an area specified by the area specifying tool TL. Therefore, by operating the area designating tool TL using the mouse 20, a rectangular area having a desired angle, size, and position can be designated on the image displayed in the area designating image display field FD1. it can. Returning to FIG. 7, in step S440 following step S430, the CPU 30 performs a process of displaying the image designated by the area designating tool TL as a preview image in the preview image display field FD2.
[0072]
Thereafter, the CPU 30 accepts mouse input by the operator (step S450). The processing in step S450 corresponds to the signal receiving unit 53a (FIG. 2) described above. Next, regarding the mouse input received in step S450, whether the mouse button is pressed at any one of the marks m1, m2, m3, m4 provided in the area designating tool TL, or for area designating. It is determined whether the mouse button has been pressed at the position of the mark m5 provided on the tool TL or whether the mouse button has been pressed inside the circle C1 provided on the area designating tool TL ( Steps S460, S470, S480).
[0073]
FIG. 10 is an explanatory diagram showing mouse input for rotating the area designating tool TL. As shown in FIG. 10A, when the mouse pointer moves to the mark m5 provided on the straight line C3 of the area designating tool TL, the shape of the mouse pointer becomes a shape in which arrowheads are provided at both ends of the line segment. In this state, as shown in FIG. 10B, when there is a mouse input for drag and drop, the area designating tool TL rotates around the center point P of the circle C1. The direction and angle of this rotation are determined by the above drag and drop operation. As shown in the drawing, in the case of dragging from the straight line C3 to the right side, the area designating tool TL rotates clockwise, and the angle of the rotation is determined by the dropped position. In step S460, it is determined whether or not there has been a mouse input for pressing the first mouse button for the drag and drop for the rotation. If an affirmative determination is made in step S460, the CPU 30 performs a rotation process of the area designating tool TL in accordance with the above-described drag & drop mouse input (step S465). Of the marks m1, m2, m3, and m4 of the area designating tool TL, the two marks m2 and m3 are filled in red when the area designating tool TL is inverted by this rotation process. This is because it is easy to distinguish the top and bottom.
[0074]
FIG. 11 is an explanatory diagram showing mouse input for enlarging the area designating tool TL. As shown in FIG. 11A, when the mouse pointer moves to one of the marks m1, m2, m3, and m4 provided at the four corners of the rectangle C2 of the area designating tool TL, the shape of the mouse pointer is It has a shape with arrowheads at both ends of the line segment. In this state, as shown in FIG. 11B, when there is a drag and drop mouse input, the area designating tool TL expands around the center point P. This enlargement is determined by the drag and drop operation described above. As shown in the drawing, when dragging outward from the circle C1, the area designating tool TL is enlarged, and its size is determined by the dropped position. Note that, when dragging and dropping inward from the circle C1, the area designating tool TL is reduced. In step S470, it is determined whether or not there has been a mouse input for pressing the first mouse button for the above-described enlargement or reduction drag and drop. If an affirmative determination is made in step S470, the CPU 30 performs an enlargement (reduction) process of the area designating tool TL in accordance with the drag and drop mouse input described above (step S475).
[0075]
FIG. 12 is an explanatory diagram showing mouse input for moving the area designating tool TL. As shown in FIG. 12A, when the mouse pointer moves inside the circle C1 of the area designating tool TL, the shape of the mouse pointer becomes a shape in which arrowheads are provided at the four tips of the cross. In this state, as shown in FIG. 12B, when there is a mouse input for drag and drop, the area designating tool TL moves according to the input. In step S480, it is determined whether or not there has been a mouse input for pressing the first mouse button for the above drag and drop for movement. If an affirmative determination is made in step S480, the CPU 30 performs a process for moving the area designating tool TL in accordance with the above-described drag & drop mouse input (step S485).
[0076]
When the process of step S465, S475, or S485 is completed, the CPU 30 returns the process to step S440, and previews the image specified by the area specifying tool TL that has been rotated, enlarged, or moved in step S465, S475, or S485. The image is displayed in the image display field FD2 for preview, and the next mouse input by the operator is accepted in step S450. Note that the processing of steps S460 to S485 corresponds to the above-described marker deformation unit 53c (FIG. 2).
[0077]
On the other hand, if all the determination processes in steps S460 to S480 are negative, the CPU 30 advances the process to step S490. In step S490, the CPU 30 determines whether or not the mouse input accepted in step S450 is a click of the [Execute] button BT31 provided in the dialog box DB1 for image area designation processing. This is because the rotation, enlargement, or movement processing performed so far in step S465, S475, or S485 is appropriate, that is, an image designated by operating the area designation tool TL (image display field for preview). It is determined by mouse input from the operator whether the image displayed on the FD 2 is appropriate. The processing in step S490 corresponds to the region determination determination unit 53d (FIG. 2) described above. Here, if it is determined that it is not appropriate, the CPU 30 returns the process to step S450 and accepts the mouse input by the operator again.
[0078]
On the other hand, if it is determined in step S490 that the area designated by operating the area designating tool TL is valid, processing for obtaining position information on the image of the rectangle C of the area designating tool TL is performed ( Step S500). Here, the image is an image of the original image data Dpi displayed in the region designation image display field FD1 displayed by the region designation tool TL, and has a rectangular shape C depending on the coordinate value of the image of the original image data Dpi. The position information of is shown. That is, a rectangular area is designated on the image of the original image data Dpi. The processing in step S500 corresponds to the position information output unit 53e (FIG. 2) described above. After execution of step S500, the process returns to “RETURN”, and this image area designation processing routine is temporarily terminated. Thereafter, the CPU 30 advances the processing to step S350 in FIG.
[0079]
In step S350, the CPU 30 trims the image data of the rectangular area from the original image data Dpi based on the position information on the image obtained in step S500. Thereafter, the CPU 30 obtains the image of the trimmed image data from the “area aspect ratio” input field IF3 and the “long side size” input field IF4 provided in the dialog box DB1 for image area designation processing. Processing to match the size of the image (number of pixels) is performed (step S360). This process is performed by a known method of resizing while maintaining an improvement in image quality by performing image averaging or interpolation such as a bicubic method.
[0080]
Thereafter, the CPU 30 advances the processing to step S370 and performs processing for displaying the image resized in step S360 on the work field FDW of the application window WD. FIG. 13 is an explanatory diagram showing an example of the application window WD after step S360. As shown in the figure, in the work field FDW, an image trimmed from the original image data Dpi is resized and displayed. This is an example of a display when the region specifying tool TL is operated in the state illustrated in FIG. Thereafter, the CPU 30 advances the processing to step S380, and performs processing for storing the image data for the image resized in step S360 in the predetermined holder prepared in the HDD 42 as the corrected image data Dpo. Thereafter, the process returns to “RETURN” to end the correction processing routine.
[0081]
C. Action / Effect
According to the computer system of this embodiment configured as described above, a rectangular area is designated using the area designation tool TL on the screen on which the original image data Dpi is displayed. When the mouse pointer designated by the mouse 20 is moved to the mark m5 provided on the straight line C3 of the area designating tool TL and there is a drag and drop mouse input, the area designating tool TL is rotated. When the mouse pointer is moved to one of the marks m1, m2, m3, and m4 provided at the four corners of the rectangle C2, and there is a drag and drop mouse input, the area designating tool TL is enlarged or reduced. Is done. Thereafter, if there is an input of a click signal of the [Execute] button BT31 provided in the dialog box DB1, the area C of the rectangle C of the area designating tool TL determined by the mouse operation is considered to be valid. Position information on the C image (image represented by the original image data Dpi) is output.
[0082]
Therefore, according to this computer system, a rectangular area having an arbitrary size inclination can be designated on the image by rotating, enlarging or reducing the area designation tool TL on the image. For this reason, since rotation, enlargement or reduction, and acquisition of position information for trimming can be performed with a single menu, the workability is excellent.
[0083]
If the mouse pointer indicated by the mouse 20 is moved to the inside of the circle C1, and there is a drag and drop mouse input, the area designating tool TL is moved. For this reason, in addition to rotation, enlargement or reduction, and acquisition of position information for trimming, the movement can be performed with one menu, so that the workability is further improved.
[0084]
Further, according to this computer system, the designated rectangular area is trimmed, and the trimmed image data image is resized to the size of the output image previously input from the dialog box DB1. For this reason, it is possible to obtain an image to be output only by performing one-time processing from the original image data, instead of performing the respective operations of trimming, rotation and zoom independently. Therefore, there is an effect that deterioration of image quality can be prevented.
[0085]
In this computer system, the handle indicated by the mouse pointer for rotation, enlargement, or reduction is displayed by the marks m1 to m5, so that the designated position for rotation, enlargement, or reduction can be clearly indicated to the operator. I can inform you. Therefore, the operator can easily work.
[0086]
Further, of the marks m1 to m4 provided at the four corners of the rectangle C2 of the area designating tool TL, the marks m2 and m3 at both ends of the lower side are painted in red and are different from the other marks m1, m4 and m5. Has a color. For this reason, it is possible to clearly notify the operator whether or not the area designating tool TL is not reversed when the rotation operation is performed. Therefore, the operator can work more easily.
[0087]
D. Other embodiments:
Another embodiment of the present invention will be described next.
(1) In the above-described embodiment, the straight line C3 is prepared as a handle for rotating the region designating tool TL. However, the handle is not limited to a linear shape, and may be another shape such as a quadrangle or a triangle. . Further, the handle does not need to be connected to the circle C1, and may be separated from the circle C1 as long as it is positioned around the outside of the circle C1. FIG. 14 is an explanatory view showing another example of the handle. As shown in the figure, the handle H may be configured as “x” and away from the circle C1X. According to this mobile phone, the region specifying tool TLX can be rotated by dragging and dropping the handle H.
[0088]
(2) In the above embodiment, the marks m1 to m5 as handles indicated by the mouse pointer for rotation, enlargement, or reduction are circular, but instead, hexagons, squares, rhombuses Other predetermined shapes such as x, etc. may be used.
[0089]
(3) In the above embodiment, the marks m1 to m4 as handles for enlargement / reduction are provided at the contact point between the circle C1 and the rectangle C2, but instead of this, other marks on the circumference of the circle C1 are provided. It can also be set as the structure which provided the handle in the position. FIG. 15 is an explanatory diagram illustrating another example of the mark indicating the rotation instruction position. As illustrated, the marks mY1, mY2, and mY3 may be provided on the circumference of the circle C1Y at positions away from the contact point with the rectangle C2Y. According to this embodiment, the area specifying tool TLX can be rotated by dragging and dropping the marks mY1, mY2, and mY3. Further, the entire circumference of the circle C1 can be used as an enlargement / reduction handle.
[0090]
(4) The marks m2 and m3 at both ends of the lower side of the marks m1 to m4 provided at the four corners of the rectangle C2 are painted in red, but instead, other colors such as blue and green are used. You can also In short, any other color different from the color for drawing the area designating tool TLX may be used.
[0091]
(5) In the above-described embodiment, when there is an input of a click signal of the [Execute] button BT31 provided in the dialog box DB1, the area of the rectangle C of the area designating tool TL determined by the mouse operation is Instead of this, instead of this, when there is a predetermined key input (for example, [Alt] + [M]) from the keyboard 18, the rectangle of the area designating tool TL determined by the operation of the mouse The region C can also be considered valid.
[0092]
(6) In the above embodiment, a mouse is used as the pointing device. However, instead of this, a trackball, light pen, touch screen, joystick, digitizer, tablet, or the like may be used.
[0093]
(7) In the above embodiment, the original image data Dpi was taken with a digital camera, but instead of this, it is image data such as a silver salt photograph or a color gravure obtained using a color scanner or the like. Also good. Alternatively, it may be prepared in advance in a storage device such as the HDD 42. Further, it is not always necessary to use color image data, and can be applied to monochrome image data.
[0094]
Still another embodiment will be described as a second example. The second embodiment is different from the first embodiment in the image area designating dialog box and the area designating tool as the indicator displayed in the dialog box. The configuration is the same.
[0095]
FIG. 16 is an explanatory diagram showing an example of the dialog box DB2 for image area designation processing used in the second embodiment. As shown in the figure, the dialog box DB2 for image area designating processing of the second embodiment has almost the same configuration as the dialog box DB1 of the first embodiment, and the difference is that 3 for grid display. It is only a point provided with two buttons BT41, BT42, and BT43. In each button BT41, BT42, BT43, characters “3 divisions”, “diagonal line”, and “center line” are shown, respectively. In the second embodiment, when the dialog box DB2 starts to be displayed, the area designating tool as the indicator is immediately displayed. The area designating tool at this time is the same as the area designating tool TL1 of the first embodiment. It is the same shape. In other words, as shown in the figure, the area specifying tool has a configuration including a circle C1, a rectangle C2 inscribed in the circle C1, and a straight line C3 protruding from the circle C1 in the radial direction of the circle C1. Thereafter, when any of the buttons BT41, BT42, and BT43 is clicked by the operator using the mouse 20, a grid corresponding to the buttons BT41, BT42, and BT43 is added to the area designating tool.
[0096]
FIG. 17 is an explanatory diagram showing an example of the area designating tool TL2 in the second embodiment. This area designating tool TL2 is displayed when the “3-divided” button BT41 is clicked. As shown in the drawing, this area designating tool TL2 includes four dividing lines that divide the rectangle C2 into three equal parts vertically and horizontally inside the rectangle C2, in addition to the circle C1, the rectangle C2, and the straight line C3. C4 is provided. The area designating tool TL2 having this configuration is rotated, enlarged, and moved by the same operation as in the first embodiment. As the rotation, enlargement, and movement are performed, the dividing line C4 in the area designating tool TL2 is also changed. Rotate, zoom, move. That is, the dividing line C4 is always located inside the rectangle C2 even when the area specifying tool TL2 is rotated, enlarged, or moved, and the rectangle C2 is divided into three equal parts vertically and horizontally.
[0097]
The operator can trim the area designated by the rectangle C2 by operating the area designating tool TL2. At this time, the operator uses the dividing line C4 provided in the rectangle C2 to perform trimming. Define the composition of the image. The dividing line C4 is used for the above-described three-dividing method. FIG. 18 is an explanatory diagram showing an example of an image whose composition has been modified by the area designating tool TL2. As shown in the figure, a GP where a vertical and horizontal dividing line C4 intersects (in the example of the figure, the intersection on the upper right) GP is arranged in the part of the castle tower that is a point in the image displayed in the image display field FD1. In this way, the position of the area designating tool TL2 is determined. In this state, the operator can trim an image with an excellent composition surrounded by the rectangle C2 by clicking the [Execute] button BT31.
[0098]
FIG. 19 is an explanatory diagram showing the area designating tool TL2-1 when the “diagonal” button BT42 is clicked. As shown in the figure, in addition to the above-described circle C1, rectangle C2, and straight line C3, the area specifying tool TL2-1 is provided with two dividing lines C5 that are diagonal lines of the rectangle C2 inside the rectangle C2. It is a configuration.
[0099]
FIG. 20 is an explanatory diagram showing the area designating tool TL2-2 when the “center line” button BT43 is clicked. As shown in the drawing, this area specifying tool TL2-2 divides the rectangle C2 into two equal parts in the vertical and horizontal directions inside the rectangle C2, in addition to the circle C1, the rectangle C2, and the straight line C3. In this configuration, a dividing line C6 is provided. Instead of this configuration, only one of the two dividing lines C6 (for example, the horizontal dividing line C6) may be displayed.
[0100]
When the “diagonal line” button BT42 is clicked by the operator, an area designating tool TL2 ′ having a diagonal dividing line C5 shown in FIG. 19 is displayed in the image display field FD1. When the “center line” button BT43 is clicked by the operator, an area designating tool TL2-2 having a dividing line C6 as the center line shown in FIG. 20 is displayed in the image display field FD1. The operator can also determine the composition of the image using these dividing lines C5 and C6.
[0101]
The buttons BT41, BT42, and BT43 for grid display are configured to be turned on / off for each click. The buttons BT41, BT42, and BT43 are independent from each other, and two or more buttons are overlapped. It does not prevent you from turning on. FIG. 21 is an explanatory diagram showing the region designating tool TL2-3 when both the “3-divided” button BT41 and the “diagonal” button BT42 are clicked and turned on. As shown in the figure, inside the rectangle C2, there are four dividing lines C4 that are divided into three equal parts in the vertical and horizontal directions shown in FIG. 17, and two dividing lines C5 that are diagonal lines shown in FIG. Will be provided.
[0102]
In the second embodiment configured as described above, as in the first embodiment, trimming can be performed with good workability, and the composition of the trimmed image can be easily determined. There is an effect that can be.
[0103]
A modification of the second embodiment will be described next. In the second embodiment, the dividing line C4 divides the rectangle vertically and horizontally into three equal parts so that the composition can be determined by the three-division method. It is also possible to employ a configuration including a dividing line in which a division ratio is determined for determining the composition. Further, the other embodiments shown in the above (1) to (7) can be modified as applied to the second example as it is.
[0104]
As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such an embodiment at all, It can implement in various aspects in the range which does not deviate from the summary of this invention. Of course.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of hardware of a computer system 10 to which a first embodiment of the present invention is applied.
FIG. 2 is a block diagram showing a state of control processing according to the photo retouching software 50 executed by the computer main body 16;
FIG. 3 is a flowchart showing a routine of control processing.
FIG. 4 is an explanatory diagram showing an initial state of an application window WD.
FIG. 5 is a flowchart showing a correction processing routine;
FIG. 6 is an explanatory diagram showing an application window WD for correction processing.
FIG. 7 is a flowchart showing details of an image region designation process executed in step S340.
FIG. 8 is an explanatory diagram showing an example of a dialog box DB1 for image area designation processing.
FIG. 9 is an explanatory diagram showing an area designating tool TL.
FIG. 10 is an explanatory diagram showing mouse input for rotating an area designating tool TL;
FIG. 11 is an explanatory diagram showing mouse input for enlarging an area designating tool TL;
FIG. 12 is an explanatory diagram showing mouse input for moving an area designating tool TL.
FIG. 13 is an explanatory diagram showing an example of an application window WD after trimming.
FIG. 14 is an explanatory view showing another example of a handle.
FIG. 15 is an explanatory diagram showing another example of a mark indicating a rotation instruction position.
FIG. 16 is an explanatory diagram showing an example of a dialog box DB2 for image region designation processing used in the second embodiment.
FIG. 17 is an explanatory diagram showing an example of a region designating tool TL2 when a “3-divided” button BT41 is clicked.
FIG. 18 is an explanatory diagram illustrating an example of an image whose composition has been corrected by the area designating tool TL2.
FIG. 19 is an explanatory diagram showing an area designating tool TL2-1 when a “diagonal line” button BT42 is clicked.
FIG. 20 is an explanatory diagram showing an area designating tool TL2-2 when a “center line” button BT43 is clicked.
FIG. 21 is an explanatory diagram showing an area designating tool TL2-3 when both a “3-divided” button BT41 and a “diagonal” button BT42 are clicked.
[Explanation of symbols]
10. Computer system
13 ... Printer
14 ... Digital camera
16 ... computer body
18 ... Keyboard
20 ... Mouse
33 ... Display image memory
34 ... Mouse interface
35 ... Keyboard interface
39 ... Printer interface
40 ... I / O interface
42. Hard disk drive
44 ... Modem
46 ... Public telephone line
47 ... Server
50 ... Photo retouching software
51 ... Input module
52 ... Correction module
53 ... Image area designation part
53a ... Signal receiving part
53b ... Indicator part display part
53c ... Marking part deformation part
53d... Region determination determination unit
53e: Position information output unit
54 ... Trimming part
55 ... Printing module
56 ... Output module
60 ... Display driver
62: Printer driver
WD ... Application window
DB1 ... Dialog box for image area specification processing
TL ... Tool for area specification
C1 yen
C2 ... Rectangle
C3 ... straight line
Mark ... m1, m2, m3, m4, m5
DB2 ... Dialog box for image area specification processing
BT41, BT42, BT43 ... button
TL2, tl2-1, TL2-2, TL2-3 ... Tool for area specification
C4, C5, C6 ... dividing line

Claims (12)

表示装置に表示される画像上に矩形の領域を指定する画像領域指定装置であって、
前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける信号受付手段と、
円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する標識部表示手段と、
前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる標識部変形手段と、
操作者による特定の操作を受けて、領域が決定したか否かを判定する領域決定判定手段と、
前記領域決定判定手段により前記領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する位置情報出力手段と
を備え
前記標識部変形手段は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成である画像領域指定装置。
An image area designating device for designating a rectangular area on an image displayed on a display device,
A signal receiving means for receiving a signal from a pointing device that indicates a position on the image and sends a specific signal in response to a specific operation by an operator;
A sign section display means for displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is rotated based on the subsequent position indicated by the pointing device. When the position indicated by the pointing device is on the circumference of the circle, when the specific signal is received from the pointing device, the sign unit is based on the position indicated by the pointing device thereafter. A sign part deformation means for enlarging or reducing
A region determination determination means for determining whether a region has been determined in response to a specific operation by an operator;
Position information output means for outputting position information on the image of the rectangle provided in the marker when the area determination determination means determines that the area is determined ;
The sign part deforming means further includes a position indicated by the subsequent pointing device when the specific signal is received from the pointing device when the position indicated by the pointing device is inside the circle. An image area designating device configured to move the sign section based on the above .
前記ハンドルは、前記円の径方向に延びる直線の先端に設けられたマークである請求項1に記載の画像領域指定装置。The image area designating apparatus according to claim 1, wherein the handle is a mark provided at a tip of a straight line extending in a radial direction of the circle. 前記標識部を拡大または縮小させるための条件である、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときとは、該円と前記矩形との4接点にあるときに限られる構成である請求項1または2に記載の画像領域指定装置。A condition for enlarging or reducing the sign portion, where the position indicated by the pointing device is on the circumference of the circle is a configuration limited to the case where the circle and the rectangle are at four contact points. The image area designating device according to claim 1 or 2 , wherein 請求項1ないしのいずれかに記載の画像領域指定装置であって、
前記標識部表示手段は、
前記円と矩形との4接点に、拡大/縮小用のハンドルとしてマークをそれぞれ表示する手段
を備える画像領域指定装置。
The image area designating device according to any one of claims 1 to 3 ,
The indicator display means
An image area designating device comprising means for displaying marks as handles for enlargement / reduction at the four contact points of the circle and the rectangle.
前記円と矩形との4接点に表示されたマークのうちのいずれかは、前記標識部の色と相違する他の色で描かれた構成である請求項に記載の画像領域指定装置。5. The image area designating apparatus according to claim 4 , wherein any one of the marks displayed at the four contact points of the circle and the rectangle is drawn in another color different from the color of the marker portion. 請求項1ないしのいずれかに記載の画像領域指定装置であって、
前記標識部表示手段は、
前記矩形の内側に、該矩形を分割する分割線を表示する手段
を備える画像領域指定装置。
An image area designating device according to any one of claims 1 to 5 ,
The indicator display means
An image area designating device comprising: means for displaying a dividing line for dividing the rectangle inside the rectangle.
前記分割線は、前記矩形を縦、横にそれぞれ3等分する線である請求項に記載の画像領域指定装置。The image area designating apparatus according to claim 6 , wherein the dividing line is a line that divides the rectangle into three equal parts vertically and horizontally. 元画像データを入力するための画像入力手段と、
前記元画像データで表わされる画像を表示装置に表示する表示制御手段と、
前記画像上に矩形の領域を指定する画像領域指定手段と
前記指定された矩形の領域に前記画像をトリミングするトリミング手段と
を備える画像修正装置において、
前記画像領域指定手段は、
前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける信号受付手段と、
円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する標識部表示手段と、
前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる標識部変形手段と、
操作者による特定の操作を受けて、領域が決定したか否かを判定する領域決定判定手段と、
前記領域決定判定手段により前記領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する位置情報出力手段と
を備え、
前記トリミング手段は、
前記位置情報出力手段から出力される前記位置情報に基づいて定まる矩形の領域に前記画像をトリミングする構成であり、
前記標識部変形手段は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成である画像修正装置
Image input means for inputting original image data;
Display control means for displaying an image represented by the original image data on a display device;
An image correction apparatus comprising: an image area designating unit that designates a rectangular area on the image; and a trimming unit that trims the image to the designated rectangular area.
The image area specifying means includes:
A signal receiving means for receiving a signal from a pointing device that indicates a position on the image and sends a specific signal in response to a specific operation by an operator;
A sign section display means for displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is rotated based on the subsequent position indicated by the pointing device. When the position indicated by the pointing device is on the circumference of the circle, when the specific signal is received from the pointing device, the sign unit is based on the position indicated by the pointing device thereafter. A sign part deformation means for enlarging or reducing
A region determination determination means for determining whether a region has been determined in response to a specific operation by an operator;
Position information output means for outputting position information on the image of the rectangle provided in the marker when the area determination determination means determines that the area is determined;
The trimming means includes
Ri configuration der to crop the image to the rectangular area determined based on the position information output from the position information output means,
The sign part deforming means further includes a position indicated by the subsequent pointing device when the specific signal is received from the pointing device when the position indicated by the pointing device is inside the circle. The image correction apparatus is configured to move the marker based on a position indicated by the pointing device thereafter .
表示装置に表示される画像上に矩形の領域を指定する画像領域指定方法であって、
(a)前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付けるステップと、
(b)円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示するステップと、
(c)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させるステップと、
(d)操作者による特定の操作を受けて、領域が決定したか否かを判定するステップと、
(e)前記ステップ(d)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力するステップと
を備え
前記ステップ(c)は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成である画像領域指定方法
An image region designation method for designating a rectangular region on an image displayed on a display device,
(A) Instructing a position on the image and receiving a signal from a pointing device that receives a specific operation by an operator and sends a specific signal;
(B) displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
(C) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is changed based on the subsequent position indicated by the pointing device. And when the position indicated by the pointing device is on the circumference of the circle, when receiving the specific signal from the pointing device, based on the position indicated by the pointing device thereafter, Enlarging or reducing the sign portion;
(D) receiving a specific operation by the operator and determining whether or not the region has been determined;
(E) when it is determined that the region has been determined in the step (d), and the step of outputting position information on the image of the rectangle provided in the marker unit, and
The step (c) further includes a position indicated by the pointing device after receiving the specific signal from the pointing device when the position indicated by the pointing device is inside the circle. And an image area designating method in which the marker unit is moved based on a position indicated by the pointing device thereafter .
画像データで表わされた画像を修正する処理をコンピュータに実行させるためのコンピュータプログラムであって、
(a)前記画像上の位置を指示するとともに、操作者による特定の操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける機能と、
(b)円と、該円に内接する矩形と、該円の外側のまわりに位置する所定形状の図形のハンドルとを備える標識部を、前記表示装置に表示する機能と、
(c)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる機能と、
(d)操作者による特定の操作を受けて、領域が決定したか否かを判定する機能と、
(e)前記機能(d)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する機能と
を実現し、
前記機能(c)は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成であるコンピュータプログラム
A computer program for causing a computer to execute processing for correcting an image represented by image data,
(A) A function of receiving a signal from a pointing device that instructs a position on the image and sends a specific signal in response to a specific operation by an operator;
(B) a function of displaying on the display device a sign section comprising a circle, a rectangle inscribed in the circle, and a handle of a figure of a predetermined shape positioned around the outside of the circle;
(C) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign unit is changed based on the subsequent position indicated by the pointing device. And when the position indicated by the pointing device is on the circumference of the circle, when receiving the specific signal from the pointing device, based on the position indicated by the pointing device thereafter, A function of enlarging or reducing the sign part;
(D) a function for determining whether or not a region has been determined in response to a specific operation by the operator;
(E) When it is determined that the area has been determined by the function (d), a function of outputting positional information on the image of the rectangle provided in the sign section is realized , and
The function (c) further includes a position indicated by the pointing device after receiving the specific signal from the pointing device when the position indicated by the pointing device is inside the circle. And a computer program that is configured to move the marker unit based on a position indicated by the pointing device thereafter .
画像を修正する処理をコンピュータに実行させるためのコンピュータプログラムであって、
(a)元画像データを入力するための機能と、
(b)前記元画像データで表わされる画像を表示装置に表示する機能と、
(c)前記画像上に矩形の領域を指定する機能と
(d)前記指定された矩形の領域に前記画像をトリミングする機能と
を実現するとともに、
前記機能(c)は、
(c−1)前記画像上の位置を指示するとともに、操作者による特定のボタンの操作を受けて特定の信号を送るポインティングデバイスから、信号を受け付ける機能と、
(c−2)円と、該円に内接する矩形と、該円から突出する所定形状の図形のハンドルとから構成される標識部を、前記表示装置に表示する表示機能と、
(c−3)前記ポインティングデバイスにより指示される位置が前記ハンドルにあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を回転させるとともに、前記ポインティングデバイスにより指示される位置が前記円の円周にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を拡大または縮小させる機能と、
(c−4)操作者による特定の操作を受けて、領域が決定したか否かを判定する機能と、
(c−5)前記機能(c−4)により領域が決定したと判定されたとき、前記標識部に備えられる矩形の前記画像上の位置情報を出力する機能と
を備え、
前記機能(d)は、
前記位置情報出力手段から出力される前記位置情報に基づいて定まる矩形の領域に前記画像をトリミングする構成であり、
前記機能(c)は、さらに、前記ポインティングデバイスにより指示される位置が前記円の内側にあるときに、前記ポインティングデバイスから前記特定の信号を受けたとき、その後の前記ポインティングデバイスにより指示される位置に基づいて、前記標識部を移動させる構成であるコンピュータプログラム
A computer program for causing a computer to execute processing for correcting an image,
(A) a function for inputting original image data;
(B) a function of displaying an image represented by the original image data on a display device;
(C) realizing a function of designating a rectangular area on the image; and (d) a function of trimming the image to the designated rectangular area.
The function (c) is:
(C-1) a function of receiving a signal from a pointing device that instructs a position on the image and sends a specific signal in response to an operation of a specific button by the operator;
(C-2) a display function for displaying on the display device a sign section composed of a circle, a rectangle inscribed in the circle, and a handle of a figure having a predetermined shape protruding from the circle;
(C-3) When the position indicated by the pointing device is on the handle, when the specific signal is received from the pointing device, the sign is based on the position indicated by the pointing device thereafter. And when the specific signal is received from the pointing device when the position indicated by the pointing device is on the circumference of the circle and the position indicated by the pointing device is based on the subsequent position indicated by the pointing device. A function of enlarging or reducing the sign part,
(C-4) a function for determining whether or not a region has been determined in response to a specific operation by the operator;
(C-5) a function of outputting position information on the rectangular image provided in the marker when it is determined that the area is determined by the function (c-4);
The function (d) is
Ri configuration der to crop the image to the rectangular area determined based on the position information output from the position information output means,
The function (c) further includes a position indicated by the pointing device after receiving the specific signal from the pointing device when the position indicated by the pointing device is inside the circle. The computer program which is the structure which moves the said label | marker part based on .
請求項10または11に記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。The computer-readable recording medium which recorded the computer program of Claim 10 or 11 .
JP2002373722A 2002-02-28 2002-12-25 Image area specification and image correction Expired - Fee Related JP4093053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002373722A JP4093053B2 (en) 2002-02-28 2002-12-25 Image area specification and image correction

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002-53738 2002-02-28
JP2002053738 2002-02-28
JP2002373722A JP4093053B2 (en) 2002-02-28 2002-12-25 Image area specification and image correction

Publications (2)

Publication Number Publication Date
JP2003323241A JP2003323241A (en) 2003-11-14
JP4093053B2 true JP4093053B2 (en) 2008-05-28

Family

ID=29552122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002373722A Expired - Fee Related JP4093053B2 (en) 2002-02-28 2002-12-25 Image area specification and image correction

Country Status (1)

Country Link
JP (1) JP4093053B2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4507085B2 (en) * 2004-10-27 2010-07-21 株式会社ニコン Information processing apparatus and method, program, and recording medium
JP4748401B2 (en) * 2004-11-19 2011-08-17 富士フイルム株式会社 Screen editing device, screen editing method, and screen editing program
EP1959389B1 (en) * 2007-02-16 2017-11-15 Axis AB Providing area zoom functionality for a camera
US9454834B2 (en) 2008-09-26 2016-09-27 Nintendo Co., Ltd. Storage medium storing image processing program for implementing controlled image display according to input coordinate, and information processing device
JP2010224796A (en) * 2009-03-23 2010-10-07 Noritsu Koki Co Ltd Image edition device and image edition program
JP5269851B2 (en) 2010-09-27 2013-08-21 富士フイルム株式会社 Image editing apparatus, image editing method and program thereof
JP6116167B2 (en) * 2012-09-14 2017-04-19 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP2015188738A (en) * 2014-03-31 2015-11-02 富士フイルム株式会社 Image processor, image processing method and program
JP6384236B2 (en) * 2014-09-29 2018-09-05 ブラザー工業株式会社 Control program and information processing apparatus
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
JP6547263B2 (en) * 2014-09-29 2019-07-24 ブラザー工業株式会社 Control program and information processing apparatus
JP6786833B2 (en) * 2016-03-22 2020-11-18 富士ゼロックス株式会社 Information processing device
JP6691696B2 (en) * 2019-03-08 2020-05-13 ブラザー工業株式会社 Control program and information processing device
JP2023026304A (en) 2021-08-13 2023-02-24 修二 奥野 Image processing system

Also Published As

Publication number Publication date
JP2003323241A (en) 2003-11-14

Similar Documents

Publication Publication Date Title
JP4093053B2 (en) Image area specification and image correction
JPH11328380A (en) Image processor, method for image processing and computer-readable recording medium where program allowing computer to implement same method is recorded
JP2001034775A (en) History image display method
JP2000261649A (en) Image processing method, device thereof and storage medium
US7813593B2 (en) Display of thumbnails of image data
JP4274377B2 (en) 3D graphics data display device
JP3725368B2 (en) Image display selection method, computer system, and recording medium
JP2004215041A (en) Image processor, image processing program, recording medium, and image processing method
JP4692102B2 (en) Specify image area
JP2007281650A (en) Trimming device, method and computer program
JP2564802B2 (en) Display device
JPH09176955A (en) Designing of embroidery pattern and device therefor
JP3607913B2 (en) Image display device
JP4200749B2 (en) Image selection apparatus and method, and computer program
JP4321275B2 (en) Image processing apparatus, image processing method, and computer program
JP3654946B2 (en) Graphic copy method and form design system
JPH0950358A (en) Document processor and document editing method
JP2611198B2 (en) Image processing device
JP2006277228A (en) Device and method for image layout change, and computer program
JP2003256832A (en) Image processor and image processing method and computer program
JPH08221500A (en) Primitive movement method and business forms design system
JP2000331179A (en) Variable magnifying method of image displayed by image processor
JP2002149682A (en) Device and method for image retrieval
JP4300960B2 (en) Image modification method, image modification apparatus, and computer program
JP3091656B2 (en) Information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071203

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: 20080212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080225

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

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