JP3388524B2 - Image input device - Google Patents

Image input device

Info

Publication number
JP3388524B2
JP3388524B2 JP14964594A JP14964594A JP3388524B2 JP 3388524 B2 JP3388524 B2 JP 3388524B2 JP 14964594 A JP14964594 A JP 14964594A JP 14964594 A JP14964594 A JP 14964594A JP 3388524 B2 JP3388524 B2 JP 3388524B2
Authority
JP
Japan
Prior art keywords
image
input
display
displayed
pen
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
JP14964594A
Other languages
Japanese (ja)
Other versions
JPH0816805A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP14964594A priority Critical patent/JP3388524B2/en
Publication of JPH0816805A publication Critical patent/JPH0816805A/en
Application granted granted Critical
Publication of JP3388524B2 publication Critical patent/JP3388524B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、情報処理装置等におい
てイメージを手書き入力するイメージ入力装置に関する
ものである。 【0002】 【従来の技術】近年、ワークステーションのみならずパ
ーソナル・コンピュータのような情報処理装置にもマル
チメディア機能への要求が強くなっている。これに伴っ
て、情報処理装置を用いた図形作成は、CAD(Compute
r Aided Design) やドローイング・ソフトに代表される
ように、図形作成機能を備えるようになってきている。
このような図形作成においても、より操作性の良いユー
ザ・インタフェースが要求されている。 【0003】図10は、従来の図形作成装置を示したも
のであり、ディスプレイ装置401、キーボード40
2、マウス403、及び特に図示しないが図形の編集等
の処理を行う中央処理装置やメモリ等によって構成され
ている。 【0004】該図形作成装置での図形作成の操作は、以
下のようにして行われる。操作者は、先ず描きたい図形
を頭の中でイメージし、ディスプレイ装置401に表示
された図形選択窓404内の複数の図形の中から、該イ
メージに合った図形を選択する。図形の選択は、マウス
403の操作によって行われる。操作者はマウス403
を移動して、マウスカーソル405を選択したい図形の
位置に合わせて、マウス403上のボタンをクリックす
ることによって該図形が選択される。 【0005】次に、上記選択された図形の表示位置を指
定する。位置指定も同様に、上記と同様なマウスカーソ
ル405の操作によって行われ、クリック操作によって
マウスカーソル405で指定された位置に該図形が表示
される。また、図形の位置指定後に、大きさの指定を行
う場合もある。 【0006】以上の処理を繰り返し、図形の編集作業が
終了した時点でキーボード402上の終了を示すファン
クションキーを押すか、画面上に表示された終了を示す
メニュー項目にマウスカーソル405を移動し、マウス
403上のボタンをクリックする等の操作によって図形
の編集作業を終了する。 【0007】 【発明が解決しようとする課題】上述したような、描画
図形の選択方法の場合、下記の〜のような問題があ
る。 .操作者がイメージした図形に相当するものが、ディ
スプレイ装置401のスクリーン上の図形選択窓404
にない場合、他の図形候補を図形選択窓404に表示し
直して、その中から選択する必要がある。これに対処す
るために、全ての図形候補を画面に表示するようにして
も良いが、図形の数が多い場合には編集領域が狭くな
る。 .図形選択窓404に表示される図形候補の数が多い
場合には、イメージした図形に相当するものを探すだけ
でもかなり手間がかかる。 .複雑な図形を作成する場合に、図形選択窓404に
表示された限られた図形を組み合わせて作成する必要が
あるため、その作成に手間がかかる。また、該組み合わ
せによってだけでは作成できない図形もありうる。 .イメージした図形が明確でなかった場合、どの図形
を選択するかの判断にとまどい、適切な図形を選択する
までに時間を要する。 【0008】本発明は、上記問題点を鑑みてなされたも
のであり、手書き入力したイメージに類似するイメージ
を容易に選べるようにした装置を提供することを目的と
する。 【0009】 【課題を解決するための手段】請求項1の発明は、手書
き入力された任意の手書き描画イメージを表示画面上に
表示する手書きイメージ表示手段と、上記手書き描画イ
メージの上記表示画面上における描画範囲を特定する範
囲特定手段と、複数の既成イメージ中で上記手書きイメ
ージに類似する既成イメージを選択する選択手段と、上
記選択された既成イメージのサイズを上記範囲特定手段
で特定された描画範囲のサイズに基づいて決定し、その
決定されたサイズによる上記既成イメージを上記表示画
面上の上記手書き描画イメージが表示される表示領域上
において当該手書き描画イメージにオーバラップ表示さ
せるオーバラップ表示手段と、上記手書き描画イメージ
上にオーバラップ表示されている上記既成イメージに対
する確定操作により、上記表示領域上における上記手書
き描画イメージを消去すると共に、上記既成イメージを
上記表示領域上に確定入力する確定入力手段と、を具備
したことを特徴とする。 【0010】 【0011】 【0012】 【0013】 【0014】 【0015】 【実施例】図1は、本発明の図形作成装置の全体構成を
示す図である。中央処理装置(以後、CPUと略す)1
01は、図形の切り出し、図形の数式への近似、図形の
編集等の処理を行う。 【0016】表示部102は、CRTディスプレイや、
LCD(液晶表示装置)等から成り、作成・編集された
図形を表示する。表示メモリ103は、CPU101ま
たは図形作成部109によってデータの書き込み/読み
出しが行われるメモリであり、例えば、デュアルポート
メモリ等から成る。上記表示部102は、該表示メモリ
103から上記イメージデータを読み出して、画面表示
を行う。 【0017】マウス104、及びペン105は、図形作
成のための外部入力装置として使用される。位置検出部
106は、マウス104の移動量の検出及びペン105
の表示画面上でのタッチ位置を検出する。 【0018】図形描画メモリ107は、マウス104又
はペン105の移動によって描かれた軌跡を描画図形と
して格納する。切り出しイメージメモリ108は、図形
描画メモリ107に描画された図形から数式による近似
方法により切り出されて正規化された図形のビットマッ
プ・イメージデータを格納する。 【0019】図形作成部109は、描画図形の正規化を
行い、該正規化後の図形イメージデータを該切り出しイ
メージメモリ108に格納するサブプロセッサである。
図形部品メモリ110は、複数の基本図形データや詳細
図形データを、図形の形状を輪郭線で表現する数式の形
で格納している。描画範囲メモリ111は、図形作成部
109によって生成された図形データを一時的に格納す
るメモリである。 【0020】上記図形描画メモリ107、切り出しイメ
ージメモリ108、図形部品メモリ110、描画範囲メ
モリ111は別々のメモリになっているが、これらを同
一のメモリの異なる領域に個別に割り当てる構成として
も良い。 【0021】図2は、本発明の上記システム構成を有す
る第1実施例の外観図であり、図1と同一の部分に関し
ては同一の符号を付与している。ディスプレイ装置10
2のスクリーン上には、操作者によって図形が描画され
るイメージ描画窓202が表示される。操作者は、マウ
ス104のドラッグ操作によって、該イメージ描画窓2
02内に所望の図形を描画する。 【0022】上記第1実施例の処理手順を、図1及び図
2を参照しながら図3のフローチャートを用いて以下に
説明する。先ず、CPU101は、ディスプレイ装置1
02の表示画面上にイメージ描画窓202を表示し、操
作者による図形の描画待ち状態になる(ステップS10
1)。操作者のマウス104の移動に連動して移動する
マウスカーソル203の軌跡が、イメージ描画窓202
内に表示される。該マウスカーソル203の軌跡が、操
作者によるイメージ入力となり、イメージデータとして
取り込まれる。即ち、マウス104の移動が位置検出部
106で検出され、CPU101は位置検出部106か
ら入力されるマウス104の移動情報に基づいてマウス
カーソル203の移動表示、及びマウスカーソル203
の軌跡の表示を行うために、表示メモリ103にそれぞ
れのビットマップデータを書き込む。また、マウスカー
ソル203の軌跡を示すイメージデータは図形描画メモ
リ107内にも格納する(ステップS102)。 【0023】次に、イメージ描画窓202内のイメージ
入力が終了したか否かを判断する。イメージ入力の終了
は、キーボード201上の所定のファンクションキーが
押されたか、或いは表示画面のメニューバー上に表示さ
れた「終了」を示す領域(メニュー)にマウスカーソル
203を移動した後に、クリック操作が行われたことが
検出されたことによって判断される。イメージ入力が終
了すれば次のステップS104へ進み、イメージ入力が
終了していなければ前記ステップS102へ戻り、イメ
ージ入力が続けられる(ステップS103)。 【0024】イメージ入力が終了すれば(S103,Y
ES)、CPU101はイメージ描画窓202に描画さ
れたイメージを切り出し、切り出しイメージメモリ10
8に格納する。この処理は、図形描画メモリ107に格
納されたイメージデータを、切り出しメモリ108へ転
送することによって行われる。更に、切り出されたイメ
ージは、該イメージに最も類似する図形に分類され、そ
の分類に基づいて図形部品メモリ110から該類似図形
の数式が読み出される。この分類方法の詳細説明は、図
5及び図6のフローチャートを用いて後述する(ステッ
プS104)。 【0025】図形作成部109は、前ステップS104
で選択された数式を基に、描画イメージに類似する図形
のイメージデータを生成し、これを表示メモリ103に
転送する。そして、表示部102が表示メモリ103か
ら該生成された図形イメージデータを読み出し、該図形
を破線により表示画面内の所定位置に表示する(ステッ
プS105)。続いて、イメージ描画窓202を閉じ
る。これにより表示画面内には上記新たに生成された破
線表示図形及びそれ以前に作成された図形とが表示され
る(ステップS106)。 【0026】次に、操作者は破線で表示された図形をマ
ウス104をドラッグ操作することによって表示画面上
を移動させる。そして、該図形が所望する位置に移動し
た後に、例えばマウス104上の該ドラッグ操作ボタン
を離すことによって、該図形の表示位置を確定する。更
に、図形の大きさを変更する操作を行う。 【0027】該操作においては、例えばマウス104上
のボタンをダブルクリックすることによって、大きさの
設定モードを選択し、マウス104のドラッグ操作に伴
って大きさを変更する。そして、その後マウス104上
の該ドラッグ操作ボタンを離す等の操作によって、上記
図形の大きさを確定する。これによって、ユーザの指定
した図形が確定される(ステップS107)。 【0028】図形作成部109は、上記確定された図形
のイメージデータを生成し、該イメージデータを一旦描
画範囲メモリ111に格納する。そして、更に、該イメ
ージデータを表示メモリ103内の図形表示位置に対応
する領域にラスタ演算により書き込む。これにより、操
作者の指定した図形が指定された位置に指定された大き
さで表示される(ステップS108)。 【0029】以上の処理が繰り返されることによって、
順次、複数の図形の作成が行なわれる。次に、操作者が
イメージ描画窓202内に描画した図形イメージを数式
で近似することにより、該図形イメージに最も類似する
基本図形を選択する方法について、図4〜図6を用いて
説明する。 【0030】先ず、入力されたイメージの全ての線分が
直線で近似できるか否かを判別する(ステップS20
1)。該線分の直線の近似方法は図4に示すように、入
力イメージからサンプリングした点列内の各点が仮想直
線250に対して、予め定められた距離の範囲内にある
か否かによって行う。例えば、予め定められた距離を基
準値Lとし、操作者が描画した曲線イメージの線分を構
成するサンプリング点を点P1,P2,・・・,Pnと
する。そして、該点P1,P2,・・・,Pnの仮想直
線250に対する距離をそれぞれx1,x2,・・・,
xnとしたとき、上記全ての点Piに対して、 xi≦L(i=1,2,・・・,n) となる仮想直線250が存在すれば、点列P1,P2,
・・・,Pnから成る線分は直線であると判別する。ま
た、仮想直線250が存在しても、その長さが所定の基
準値よりも短ければ直線と判別しない。これは、例え
ば、描かれたイメージが円である場合、イメージは操作
者の手で入力されたものであるため、部分的には直線と
なっていることも考えられるからである。このため、例
えば、上記仮想直線250の長さが、基準値Lの数倍
(5倍程度が最適)以上である場合のみ点列P1,P
2,・・・,Pnを直線と判断するようにする。以上の
方法により、入力されたイメージの全線分が直線で近似
できればステップS202へ進み、近似できなければス
テップS210へ進む(ステップS201)。 【0031】入力されたイメージの全ての線分が直線で
近似された場合には(S201,YES)、連結された
線分が閉じているか否かを判断する。閉じていればステ
ップS203へ進み、閉じていなければステップS20
7へ進む(ステップS202)。 【0032】そして、連結された線分が閉じている場合
には(S202,YES)、入力イメージが何本の線分
で構成されているのかを判断する。そして、3本の直線
で構成されている場合にはステップS204へ進み、4
本の直線で構成されている場合にはステップS205へ
進み、5本以上の直線で構成されている場合にはステッ
プS206へ進む(ステップS203)。 【0033】まず、入力されたイメージが3本の直線で
構成されている場合には三角形であると判断し、その形
状によってさらに詳細に分類する。分類方法の詳細は後
述する(ステップS204)。また、入力されたイメー
ジが4本の直線で構成されている場合には四角形である
と判断し、その形状によってさらに詳細に分類する(ス
テップS205)。更に、入力されたイメージが5本以
上の直線で構成されている場合には多角形であると判断
し、その形状によってさらに詳細に分類する(ステップ
S206)。 【0034】上記ステップS202において、連結され
た線分が閉じていない場合には(S202,NO)、直
線と近似された直線の本数が1本であるか否かを判断す
る。直線の本数が1本の場合にはステップS208へ進
み、直線の本数が1本でない場合にはステップS209
へ進む(ステップS207)。 【0035】直線と近似された線分が1本であれば、入
力された図形は直線であると判断する(ステップS20
8)。また、直線と近似された線分が2本以上であれ
ば、入力された図形は折れ線であると判断する(ステッ
プS209)。 【0036】一方、上記ステップS201において、入
力されたイメージの全線分が直線で近似できない場合に
は、連結された線分が閉じているか否かを判断する。線
分が閉じていればステップS211へ進み、閉じていな
ければステップS212へ進む(ステップS210)。 【0037】そして、該連結された線分が閉じていれ
ば、入力イメージが円または楕円のいずれであるかを判
別する(ステップS211)。また、上記連結された線
分が閉じていなければ、自由線であると見なす(ステッ
プS212)。 【0038】次に、上記ステップS204で三角形と判
断された場合に、該三角形をさらに詳細に分類する方法
を図6のフローチャートを用いて以下に説明する。先
ず、3本の線分の内、直角に交わる2本の線分が存在す
るか否かを判断する。直角に交わる2本の線分が存在す
ればステップS302へ進み、存在しなければステップ
S305へ進む(ステップS301) 2本の線分が直角に交わる場合、次に、その2本の線分
は同じ長さであるか否かを判断する。そして、2本の線
分の長さが同じであればステップS303へ進み、同じ
でなければステップS304へ進む(ステップS30
2)。 【0039】まず、2本の線分が直角に交わり、かつ同
じ長さである場合には、入力されたイメージは直角二等
辺三角形と判断する(ステップS303)。また、2本
の線分は直角に交わるが同じ長さではない場合には、入
力されたイメージは該直角二等辺三角形以外の直角三角
形と判断する(ステップS304)。 【0040】一方、上記ステップS301において、直
角に交わる2本の線分が存在しないと判断した場合、3
本の線分の内同じ長さの線分が2本存在するか否かを判
断する。そして、同じ長さの2本の線分が存在すればス
テップS306へ進み、同じ長さの2本の線分が存在し
なければステップS309へ進む(ステップS30
5)。 【0041】そして、前記ステップS305で2本の線
分が同じ長さであると判断した場合には、さらに残りの
1本の線分が上記他の2本の線分と同じ長さであるか否
かを判断する。そして、3本の線分が全て同じ長さであ
ると判断すればステップS307へ進み、2本の直線だ
けが同じ長さであると判断すればステップS308へ進
む(ステップS306)。 【0042】該ステップS306で3本の線分の長さが
同じ長さであると判断した場合、入力されたイメージは
正三角形として判断する(ステップS307)。また、
ステップS306で2本の線分のみが同じ長さであると
判断した場合、入力されたイメージは直角二等辺三角形
以外の二等辺三角形と判断する(ステップS308)。
以上の三角形のいずれにも該当しない場合には、上記ス
テップS303、S304、S307、S308で分類
された三角形以外の三角形とみなす(ステップS30
9)。 【0043】以上の処理によって、入力されたイメージ
が三角形であると判断された場合の三角形の分類が行わ
れる。ここでは特に説明はしないが、四角形、多角形、
円、楕円等についてもそれぞれ図形の性質を基にして、
入力されたイメージのより詳細な分類が行われる。 【0044】次に、第2実施例を説明する。該第2実施
例のシステム構成は、上記第1実施例と同様に図1に示
すようなブロック構成となっている。該図1及び図7の
操作手順を示す図を参照しながら、第2実施例の動作を
図8〜図9のフローチャートを用いて以下に説明する。 【0045】先ず、図形作成部109は、図7(a)に
示すように表示部202の画面の右端に基本図形リスト
301を表示する(ステップS401)。基本図形リス
ト301には、円、三角形、四角形等の大まかに分類さ
れた代表的な図形のアイコンが表示される。基本図形リ
スト301には、更に第2実施例の特徴であるペン入力
による図形イメージの入力を選択するためのイメージ選
択アイコン302が、基本図形リスト301の最後に設
けられている。後述するように、基本図形リスト301
から任意の図形を選択した場合、該図形について更に詳
しく分類した詳細図形リスト303が画面上に新たに表
示され、その中から所望の図形を選択することが可能に
なる。 【0046】次に、画面にペン105でタッチすること
によって、位置指定が行われる(ステップS402)。
ペンの位置は、図1の位置検出部106において検出さ
れる。ペンでタッチされた位置が、基本図形リスト30
1内であるか否かを判断し、基本図形リスト301内で
あれば次のステップS404へ進み、基本図形リスト3
01内でなければステップS402に戻ってペンによる
入力待ち状態となる(ステップS403)。 【0047】前ステップS403において、ペンでタッ
チされた位置が基本図形リスト301内のイメージ選択
窓302であるか否かを判断し、イメージ選択窓302
であればペンによるイメージ入力の処理を行うために次
のステップS405へ進み、イメージ選択窓302でな
ければ基本図形リスト301内の図形の選択処理を行う
ために図9のフローチャートのステップS419へ進む
(ステップS404)。 【0048】該ステップS404で、ペン105でタッ
チされた位置がイメージ選択アイコン302の場合、以
後のペン105による入力はイメージの入力であると判
断し、基本図形リスト301を消去して、図7(b)に
示すように操作者による画面上でのペン105の軌跡3
11を画面上に表示する。ペン105の画面上でのタッ
チ位置の移動、即ちペン105の軌跡を位置検出部10
6により検出し、該軌跡をイメージ入力データとして表
示する。ペン入力されたイメージデータは、図形作成部
109によって図形描画メモリ107にリアルタイムで
格納された後、表示メモリ103に転送される。イメー
ジ入力の終了は所定の操作、例えば表示画面の上部に表
示された不図示のメニューバー内の「終了」メニューに
マウスカーソルを移動して、該メニューをマウス104
によりクリック操作する、またはペン入力が所定時間以
上行われなくなった等の検出によって判断される。イメ
ージの入力が終了すれば、次のステップS406へ進む
(ステップS405)。 【0049】該ステップ406において、図形作成部1
09は、上記ステップS405で検出したペン105の
軌跡311から図形の入力イメージデータを切り出す。
即ち、図形描画メモリ107に格納された該イメージデ
ータのうち数式で近似される部分を、図形入力イメージ
として切り出し、イメージメモリ108へ転送する(ス
テップS406)。次に、上記ぺン105の画面上での
描画範囲を描画範囲メモリ111に記憶する。描画範囲
とは、ペン105の入力軌跡311を包絡する領域を意
味し、ペン入力図形の大きさを示す情報として保持され
る(ステップS407)。 【0050】次に、上記ステップS406において切り
出されたイメージデータがどの基本図形に所属するかを
判断する。基本図形の選択方法は、図5に示すフローチ
ャートと同様の方法によって行われる。基本図形とは、
前述したように例えば三角形、四角形、円、楕円等の大
まかに分類された代表的な図形のことを意味する(ステ
ップS408)。 【0051】前ステップS408において選択された基
本図形に所属する詳細図形の中から、入力されたイメー
ジデータ311がどの詳細図形に相当するかを判断す
る。詳細図形の選択は、例えば、図6に示すフローチャ
ートと同様な方法によって行われる。詳細図形とは、基
本図形に包含される下位概念の図形であり、例えば基本
図形として四角形が選択された場合に、長方形、正方
形、ひし形、平行四辺形、等脚台形、台形、その他の四
角形等が該当する(ステップS409)。 【0052】該ステップS409で選択された詳細図形
に相当する数式を、図形部品メモリ110から読み出
し、上記ステップS407で求められた描画範囲に基づ
いて、該描画範囲内に収まる詳細図形のイメージサイズ
を決定する(ステップS410)。 【0053】前ステップS410で決定されたサイズに
基づき、上記詳細図形のイメージを生成し、これを表示
メモリ103の上記描画範囲に対応する領域にラスタ演
算により転送する。これにより、上述のように正規化さ
れた詳細図形のイメージ312が、図7(c)に示すよ
うに操作者によって描かれたペン入力イメージ311に
オーバラップされて破線で表示される(ステップS41
1)。 【0054】続いて、上記ステップS409において選
択された基本図形に所属する複数の詳細図形のアイコン
を、図7(c)に示すように表示画面の右端に詳細図形
リスト303として表示する。このとき、同図(c)中
で斜線を施して示しているように、該詳細図形リスト3
03内で入力イメージ311に相当する、または最も類
似する詳細図形のアイコンのみを他の詳細図形と区別で
きるように、例えば、反転またはハイライト等により表
示する(ステップS412)。 【0055】次に、操作者によるペン105の入力を待
つ(ステップS413)。そして、操作者によりペン1
05の入力が行われ、CPU101から該ペン入力の操
作情報を受け取ると、図形作成部109は、操作者によ
るペン入力が表示画面上の詳細図形リスト303内であ
るか否かを判断し、詳細図形リスト303内であればス
テップS415へ進み、詳細図形リスト303外であれ
ばステップS416へ進む(ステップS414)。 【0056】ステップS415において、ペン入力が詳
細図形リスト303内であると判断すれば、上記ステッ
プS411において破線で表示した図形は操作者が意図
した図形とは異なるものであると判断し、上記破線で表
示した詳細図形イメージ312を消去する。そして、詳
細図形リスト303内のペン105によりタッチされた
詳細図形が、操作者が所望する図形であると判断して、
ステップS410へ戻り正規化した図形イメージ312
の生成及びその破線表示による入力図形イメージ311
とのオーバラップ表示等をやり直す(ステップS410
〜S413)。 【0057】一方、ステップS414でペン入力が詳細
図形リスト303外であると判断されれば、前記ステッ
プS411において破線で表示した図形イメージ312
は操作者が意図した図形と同じものであると判断し、詳
細図形リスト303の表示を消去する(ステップS41
6)。次に、操作者によって描画された図形のイメージ
311を消去し(ステップS417)、最後に、破線で
表示された正規化された図形312を実線で再表示して
処理を終了する(ステップS418)。このように、基
本図形表示リスト301においてイメージ選択アイコン
302を選択することにより、操作者は自己の願望する
図形イメージをペン105により直接描くことにより、
所望する図形を容易に入力することができる。 【0058】一方、ステップS404において、ペンで
タッチされた位置が基本図形リスト301内のイメージ
選択アイコン302以外のアイコンであると判断された
場合には、基本図形リスト301内のペン105でタッ
チされたアイコンの図形が基本図形として選択される。
そして、該選択された基本図形に所属する詳細図形のア
イコンを詳細図形リスト303として表示する(ステッ
プS419)。 【0059】次に、操作者によるペンの入力を待つ(ス
テップS420)。そして、上記と同様にしてCPU1
01からのペン105の操作情報により、ペン105の
入力が行われたこを検出すると、ペン105のタッチ位
置が詳細図形リスト303内であるか否かを判定する。
そして、詳細図形リスト303内でなければステップS
420へ戻り再度ペン105の入力待ちとなり、詳細図
形リスト303内であれば下記のステップS422へ進
む(ステップS421)。 【0060】上記ペン105によりタッチされたアイコ
ンの示す図形を詳細図形として選択し、該選択した詳細
図形を、例えば表示画面上の所定位置に破線で表示させ
る。該破線で表示された詳細図形は、画面上でペン10
5をタッチさせながら移動させることによって、該移動
に伴って表示画面上を移動する。そして、ペン105の
移動操作を終了させた後、例えば表示画面上の所定位置
に表示された「決定」を示すメニューをペン105でタ
ッチすることによって、詳細図形の表示中心位置が確定
する。即ち、最終的な移動位置が該表示中心位置として
確定される(ステップS422)。 【0061】次に、操作者は、上記中心位置の確定した
詳細図形のサイズの指定を行う。即ち、例えば、該詳細
図形の任意の辺をペン105によりタッチした後、該タ
ッチ位置の移動位置を再びペン105のタッチ操作によ
り指定するそして、この後、上記メニューバー内の「決
定」を示すメニューをペン105でタッチすることによ
り、該移動距離に基づいて上記詳細図形のサイズが確定
される(ステップS423)。 【0062】上述のようにして、詳細図形のサイズ指定
が終了すれば、上記移動距離に基づいて、詳細図形のイ
メージサイズを決定する(ステップS424)。続い
て、上記指定詳細図形の数式を図形描画メモリ110か
ら読み出し、該数式により該詳細図形のイメージデータ
を上記指定されたサイズで生成し、これを図形描画メモ
リ107に書き込む。そして、上記詳細図形のイメージ
が上記指定中心位置を中心として表示されるように、該
イメージデータを表示メモリ103にラスタ演算により
転送する。これにより、上記破線で表示されていた詳細
図形が、操作者により指定された位置に、指定されたサ
イズで実線で再表示され、処理が終了する(ステップS
425)。このように、予めシステムで用意されている
詳細図形の中から所望の図形を選択して、該図形をペン
105の操作により、画面上の所望の位置に所望のサイ
ズで表示させることができる。 【0063】そして、上記ステップS401〜S425
の処理が繰り返されることによって、複数の図形の作成
が順次行われる。ところで、上記ステップS405〜S
418で、操作者によるイメージ入力を数式で近似し、
数式に基づいて図形を生成して表示する際、生成する図
形の大きさ及び表示位置は操作者によるイメージ入力に
基づいて決定していたが、ステップS422〜S425
と同様に操作者が図形の大きさ及び表示位置をペン10
5の操作により別途指示するようにしても良い。また、
図形の大きさ及び表示位置の指定方法は、上記以外の方
法によって行っても良い。 【0064】また、第1実施例では外部入力装置(ポイ
ンティング・デバイス)としてマウス104、第2実施
例では外部入力装置としてペン105を用いて説明した
が、第1、第2実施例はマウス104又はペン105の
どちらが使用されても良く、トラックボール、タブレッ
ト、タッチスクリーン等の他の外部入力装置であっても
良いことは言うまでもない。 【0065】更に、図形を数式で近似する際、該図形を
操作者が入力したイメージと図形部品メモリ110に予
め格納されているイメージデータとをパターンマッチン
グ技術やニューラルネットワークによる図形認識システ
ム等を用いて判別し、該判別結果に基づいて図形部品メ
モリ110から該図形の数式を読み出すようにしても良
い。 【0066】 【発明の効果】本発明によれば、表示画面上において手
書き入力された手書き描画イメージに類似する既成イメ
ージを、その手書き描画イメージの描画範囲に基づい
て、そのサイズとその表示領域とを決定して表示するよ
うにしたので、表示画面上の所望する表示領域に所望す
る大きさの既成イメージを入力したい場合には、表示画
面上にその既成イメージに類似する手書き描画イメージ
を上記所望する表示領域上で上記所望の大きさで描画入
力することにより、簡易に入力することができる。ま
た、入力対象として自動選択される既成イメージが、表
示画面上に表示される手書き描画イメージ上においてそ
のサイズと表示領域とが合うようにオーバラップ表示さ
れるので、その既成イメージの表示領域と表示サイズと
が妥当なものか否かをその下に表示される手書き描画イ
メージを参照しながら判断することができる。 【0067】
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and the like.
Input device that inputs images by hand
Things. [0002] In recent years, not only workstations but also
-Information processing devices such as personal computers
The demand for multimedia functions is increasing. With this
Thus, the creation of a figure using an information processing device is based on CAD (Compute
r Aided Design) and drawing software
Thus, it has come to have a graphic creation function.
Even in such figure creation, a user with better operability
The interface is required. FIG. 10 shows a conventional figure creating apparatus.
The display device 401 and the keyboard 40
2. Mouse 403, and editing of figures (not shown)
It consists of a central processing unit that performs
ing. [0004] The figure creation operation in the figure creation apparatus is as follows.
It is performed as follows. The operator first wants to draw the figure
In the head and display it on the display device 401
Out of the plurality of figures in the selected figure selection window 404,
Select a shape that matches the image. Mouse to select shapes
This is performed by the operation of 403. The operator is the mouse 403
Move the mouse cursor 405 to the shape
Click the button on the mouse 403 according to the position.
By doing so, the figure is selected. Next, the display position of the selected figure is designated by a finger.
Set. Similarly, specify the position using the same mouse cursor as above.
Is performed by the operation of
The figure is displayed at the position specified by the mouse cursor 405
Is done. After specifying the position of the figure, specify the size.
In some cases. [0006] By repeating the above processing, figure editing work
A fan indicating the end on the keyboard 402 at the time of the end
Press the action key or indicate the end displayed on the screen
Move the mouse cursor 405 to the menu item and
Click the button on 403 to perform the operation
End the editing work of. [0007] As described above, drawing
In the case of the figure selection method, there are the following problems
You. . The figure equivalent to the figure imaged by the operator is
Figure selection window 404 on the screen of the spray device 401
If not, another figure candidate is displayed in the figure selection window 404.
You need to fix it and choose from them. Deal with this
To display all the possible shapes on the screen
However, if the number of figures is large, the editing area will not be narrow.
You. . The number of figure candidates displayed in the figure selection window 404 is large.
In that case, just search for the equivalent of the image you imaged
But it takes a lot of time. . When creating a complicated figure, the figure selection window 404
It is necessary to create by combining the limited figures displayed
It takes time to create. Also, the combination
Some figures cannot be created just because of the shortcomings. . If the shape you image is not clear,
Choosing an appropriate shape
It will take some time. [0008] The present invention has been made in view of the above problems.
An image similar to the image input by handwriting
With the aim of providing a device that allows easy selection of
I do. Means for Solving the Problems The invention of claim 1 is a handwriting
Any handwritten drawing image entered on the display screen
Means for displaying a handwritten image to be displayed;
The range for specifying the drawing range of the image on the display screen
Surrounding identification means and the handwritten image
A selection means for selecting a ready-made image similar to the page,
The size of the selected existing image is determined by the above range specifying means.
Determined based on the size of the drawing area specified in
The existing image with the determined size is displayed on the display screen.
On the display area where the above handwritten drawing image on the surface is displayed
In the handwritten drawing image
Overlapping display means for displaying the handwritten drawing image
In contrast to the above existing image, which is
Confirming the handwriting on the display area
And erase the drawing image,
A determination input means for performing a determination input on the display area.
It is characterized by having done. FIG. 1 is a block diagram showing the overall configuration of a graphic creating apparatus according to the present invention.
FIG. Central processing unit (hereinafter abbreviated as CPU) 1
01 is for cutting out a shape, approximating a shape to a mathematical expression,
Performs processing such as editing. The display unit 102 includes a CRT display,
It consists of LCD (Liquid Crystal Display) etc., created and edited
Display a shape. The display memory 103 includes the CPU 101 and the
Or data writing / reading by the graphic creation unit 109
Memory, for example, dual port
It consists of a memory and the like. The display unit 102 includes the display memory
Reads the image data from 103 and displays it on the screen
I do. The mouse 104 and the pen 105 are used to create graphics.
Used as an external input device for configuration. Position detector
Reference numeral 106 denotes a detection of the movement amount of the mouse 104 and the pen 105
The touch position on the display screen is detected. The graphic drawing memory 107 includes a mouse 104 or
Represents the trajectory drawn by moving the pen 105 as a drawing figure.
And store. The clipped image memory 108 stores
Approximation by a mathematical expression from a figure drawn in the drawing memory 107
Bitmap of a figure that has been cut out and normalized by
Stores image data. The figure creating section 109 normalizes the drawn figure.
The normalized graphic image data
This is a sub-processor that stores data in the image memory 108.
The graphic part memory 110 stores a plurality of basic graphic data and details.
The form of a mathematical expression that expresses the shape of a figure with a contour line.
Stored in The drawing range memory 111 includes a graphic creation unit.
109 temporarily stores the graphic data generated by
Memory. The graphic drawing memory 107, a cut-out image
Image memory 108, figure component memory 110,
The memory 111 is a separate memory,
As a configuration that is individually allocated to different areas of one memory
Is also good. FIG. 2 has the above system configuration of the present invention.
FIG. 2 is an external view of a first embodiment, showing the same portions as FIG.
Are assigned the same reference numerals. Display device 10
The graphic is drawn by the operator on the screen 2
An image drawing window 202 is displayed. The operator
The image drawing window 2 is
02 is drawn in the desired figure. The processing procedure of the first embodiment is shown in FIGS.
Hereinafter, referring to FIG. 2 and using the flowchart of FIG.
explain. First, the CPU 101 sets the display device 1
02, an image drawing window 202 is displayed on the display screen of
The drawing waits for the author to draw a figure (step S10).
1). Moves in conjunction with the movement of the mouse 104 by the operator
The locus of the mouse cursor 203 is displayed in the image drawing window 202.
Will be displayed within The trajectory of the mouse cursor 203
Image input by the author, as image data
It is captured. That is, the movement of the mouse 104 is determined by the position detection unit.
The CPU 101 detects whether the position is
Mouse based on the movement information of the mouse 104 input from the
Movement display of cursor 203 and mouse cursor 203
In order to display the trajectory of the
Write the bitmap data. Also mouse car
The image data indicating the trajectory of the Sol 203 is a graphic drawing memo.
It is also stored in the folder 107 (step S102). Next, the image in the image drawing window 202 will be described.
It is determined whether or not the input has been completed. End of image input
Means that a predetermined function key on the keyboard 201 is
Pressed or displayed on the menu bar of the display screen
Mouse cursor over the area (menu) that indicates the "End"
Clicking operation after moving 203
It is determined based on the detection. Image input is complete
If it is completed, the process proceeds to the next step S104, and the image input is performed.
If not completed, the process returns to step S102, and
Message input is continued (step S103). When the image input is completed (S103, Y
ES), the CPU 101 draws the image in the image drawing window 202.
The extracted image is cut out, and the cut-out image memory 10
8 is stored. This processing is stored in the graphic drawing memory 107.
Transfer the stored image data to the cutout memory 108
It is done by sending. In addition, the cut out image
Are classified into the most similar shapes to the image,
Of the similar figure from the figure part memory 110 based on the classification of
Is read out. For a detailed description of this classification method, see
5 and the flowchart of FIG.
S104). The graphic creating unit 109 determines in the preceding step S104
Based on the formula selected in, a figure similar to the drawing image
Is generated and stored in the display memory 103.
Forward. Then, if the display unit 102 is the display memory 103
Read out the generated graphic image data from the
Is displayed at a predetermined position in the display screen by a broken line (step
S105). Then, close the image drawing window 202.
You. As a result, the newly generated break is displayed in the display screen.
The line display figure and the figure created before it are displayed.
(Step S106). Next, the operator maps the figure indicated by the broken line.
On the display screen by dragging the mouse 104
To move. Then, the figure moves to the desired position.
After that, for example, the drag operation button on the mouse 104
Is released, the display position of the figure is determined. Change
Then, an operation of changing the size of the figure is performed. In the operation, for example, on the mouse 104
By double-clicking the button,
Select the setting mode, and drag the mouse 104
To change the size. And then on the mouse 104
Release the drag operation button, etc.
Determine the size of the figure. This allows the user to specify
The determined figure is determined (step S107). [0028] The figure creating unit 109 stores the determined figure.
Image data and draw the image data once
It is stored in the image range memory 111. And further, the image
Page data corresponding to the figure display position in the display memory 103
Is written to the target area by raster operation. This allows
The size specified by the author at the specified position
Is displayed (step S108). By repeating the above processing,
A plurality of figures are sequentially created. Next, the operator
The figure image drawn in the image drawing window 202
By approximating
A method of selecting a basic figure will be described with reference to FIGS.
explain. First, all the line segments of the input image are
It is determined whether or not it can be approximated by a straight line (step S20).
1). The method of approximating the straight line of the line segment is as shown in FIG.
Each point in the point sequence sampled from the force image
Within a predetermined distance from line 250
It depends on whether or not. For example, based on a predetermined distance
The line segment of the curve image drawn by the operator is defined as the quasi-value L.
The sampling points to be formed are defined as points P1, P2,.
I do. .., Pn.
The distances to the line 250 are x1, x2,.
xn, if there is a virtual straight line 250 that satisfies xi ≦ L (i = 1, 2,..., n) with respect to all the points Pi, the point sequence P1, P2,
.., Pn are determined to be straight lines. Ma
Even if the virtual straight line 250 exists, its length is
If it is shorter than the reference value, it is not determined to be a straight line. This is like
If the drawn image is a circle, the image will be manipulated
Partly because it was entered by the hand of the person
This is because it is conceivable. So, for example,
For example, the length of the virtual straight line 250 is several times the reference value L.
(Approximately 5 times is optimal) or more, and the point sequence P1, P
2,..., Pn are determined to be straight lines. More than
Method approximates all line segments of the input image with straight lines
If it is possible, the process proceeds to step S202.
The process proceeds to step S210 (step S201). All the line segments of the input image are straight lines
If they are approximated (S201, YES), they are connected.
Determine whether the line segment is closed. If closed
Proceeding to step S203, if not closed, step S20
Go to Step 7 (Step S202). When the connected line segment is closed
(S202, YES), how many line segments are input images
Is determined. And three straight lines
If it is composed of, the process proceeds to step S204,
If it is composed of two straight lines, go to step S205
If there are five or more straight lines,
The process proceeds to step S206 (step S203). First, the input image is represented by three straight lines.
If it is configured, it is determined to be a triangle and its shape
Classify further according to the condition. More on classification methods later
(Step S204). In addition, the entered image
It is a quadrangle if it is composed of four straight lines
And classify it in more detail according to its shape (S
Step S205). Furthermore, if there are five or more input images
If it is composed of the above straight lines, it is judged to be a polygon
And further categorize them according to their shape (step
S206). In the above step S202,
If the broken line segment is not closed (S202, NO),
Judge whether or not the number of straight lines approximated to the line is one
You. When the number of straight lines is one, the process proceeds to step S208.
If the number of straight lines is not one, step S209
Go to (Step S207). If there is only one line segment approximated to a straight line,
It is determined that the input graphic is a straight line (step S20).
8). Also, if there are two or more line segments approximated to a straight line,
For example, it is determined that the input figure is a broken line (step
S209). On the other hand, in step S201, the input
When all line segments of the input image cannot be approximated by straight lines
Determines whether the connected line segment is closed. line
If the minute is closed, the process proceeds to step S211 and the minute is not closed.
If so, the process proceeds to step S212 (step S210). Then, if the connected line segment is closed,
Determine whether the input image is a circle or an ellipse.
Separate (step S211). Also, the above connected line
If the minute is not closed, it is considered a free line (step
S212). Next, in step S204, a triangle is determined.
How to classify the triangle in more detail if it is cut off
Will be described below with reference to the flowchart of FIG. Destination
Of the three line segments, there are two line segments that intersect at right angles
It is determined whether or not. There are two line segments that intersect at right angles
If it is, the process proceeds to step S302.
Proceed to S305 (Step S301) If the two line segments intersect at a right angle, then the two line segments
Judge whether they are the same length. And two lines
If the lengths of the minutes are the same, the process proceeds to step S303, and
If not, the process proceeds to step S304 (step S30
2). First, two line segments intersect at right angles, and
If the input image is the same length, the input image
It is determined to be a side triangle (step S303). Also two
If the line segments intersect at right angles but are not the same length,
Forced image is a right triangle other than the right isosceles triangle
The shape is determined (step S304). On the other hand, in step S301,
If it is determined that there are no two line segments intersecting the corner, 3
Determines whether two line segments of the same length exist in the line segments.
Refuse. If there are two line segments of the same length,
Proceeding to step S306, there are two line segments of the same length.
If not, the process proceeds to step S309 (step S30
5). Then, in step S305, two lines
If it is determined that the minutes are the same length,
Whether one line segment is the same length as the other two line segments
Judge. And all three line segments are the same length
If so, the process proceeds to step S307, where it is two straight lines.
If it is determined that the injuries are the same length, proceed to step S308.
(Step S306). In step S306, the length of the three line segments is
If it is determined that they are the same length, the input image will be
It is determined as an equilateral triangle (step S307). Also,
If only two line segments have the same length in step S306
If determined, the input image is a right-angled isosceles triangle
It is determined to be an isosceles triangle other than (step S308).
If none of the above triangles apply,
Classification in steps S303, S304, S307, S308
(Step S30)
9). With the above processing, the input image
Classifies triangles if is determined to be triangles
It is. Although not specifically described here, squares, polygons,
For circles, ellipses, etc., based on the properties of the figures,
A more detailed classification of the input image is performed. Next, a second embodiment will be described. The second implementation
The system configuration of the example is shown in FIG. 1 as in the first embodiment.
It has such a block configuration. 1 and FIG.
The operation of the second embodiment will be described with reference to the drawings showing the operation procedure.
This will be described below with reference to the flowcharts of FIGS. First, the figure creating section 109 sets the state shown in FIG.
As shown, the basic figure list is displayed at the right end of the screen of the display unit 202.
301 is displayed (step S401). Basic figure squirrel
301 are roughly classified into circles, triangles, squares, etc.
The icon of the representative figure is displayed. Basic figure re
The strike 301 further includes a pen input which is a feature of the second embodiment.
Image selection for selecting the input of graphic images by
Selection icon 302 is set at the end of the basic figure list 301.
Have been killed. As described later, the basic figure list 301
If you select an arbitrary figure from
The detailed figure list 303 that has been properly classified is newly displayed on the screen.
Is displayed, and it is possible to select the desired figure from among them
Become. Next, touching the screen with the pen 105
, The position is specified (step S402).
The position of the pen is detected by the position detection unit 106 in FIG.
It is. The position touched by the pen is the basic figure list 30
1 in the basic figure list 301.
If there is, the process proceeds to the next step S404, and the basic graphic list 3
If it is not 01, return to step S402 and use the pen
An input wait state is set (step S403). In the previous step S403, touch with a pen.
Select the image in the basic figure list 301
It is determined whether or not the image is the window 302, and the image selection window 302 is determined.
If so, to process the image input with the pen
The process proceeds to step S405 of FIG.
If it is, a process of selecting a figure in the basic figure list 301 is performed.
To step S419 in the flowchart of FIG.
(Step S404). In step S404, touch with the pen 105.
If the touched position is the image selection icon 302,
The subsequent input by the pen 105 is determined to be an image input.
And the basic figure list 301 is deleted, and FIG.
As shown, the locus 3 of the pen 105 on the screen by the operator
11 is displayed on the screen. Touch on the screen of the pen 105
Of the pen 105, ie, the locus of the pen 105
6 and the locus is displayed as image input data.
Show. The image data entered with the pen
109 to the graphic drawing memory 107 in real time.
After being stored, it is transferred to the display memory 103. Image
The end of page input is indicated by a predetermined operation, for example, displayed at the top of the display screen.
The "Exit" menu in the menu bar (not shown) shown
Move the mouse cursor to move the menu to the mouse 104
Click operation, or if the pen input is
The determination is made based on the detection of no longer being performed. Image
When the input of the page is completed, the process proceeds to the next step S406.
(Step S405). In the step 406, the figure creating section 1
09 is the pen 105 detected in step S405.
The input image data of the figure is cut out from the locus 311.
That is, the image data stored in the graphic drawing memory 107 is
The part of the data that is approximated by the mathematical expression
And transfer it to the image memory 108 (scan
Step S406). Next, on the screen of the above
The drawing range is stored in the drawing range memory 111. Drawing range
Means an area surrounding the input locus 311 of the pen 105.
Taste, held as information indicating the size of the pen input figure
(Step S407). Next, in step S406 described above,
Which basic figure the output image data belongs to
to decide. The selection method of the basic figure is shown in the flowchart in FIG.
This is performed in the same manner as the chart. Basic shapes are
As described above, for example, large triangles, squares, circles, ellipses, etc.
Means a representative figure roughly classified (step
Step S408). The group selected in the previous step S408
From the detailed figures belonging to this figure,
Judge which detailed figure the geodata 311 corresponds to
You. The selection of the detailed figure is performed, for example, by using the flowchart shown in FIG.
This is done in a similar way to Detail shapes are
This is a subordinate figure included in this figure.
When a rectangle is selected as a shape, a rectangle or square
Shape, rhombus, parallelogram, equilateral trapezoid, trapezoid, other four
A square or the like is applicable (step S409). The detailed graphic selected in step S409
Is read from the graphic part memory 110.
Then, based on the drawing range obtained in step S407,
And the image size of the detailed figure that fits within the drawing range
Is determined (step S410). The size determined in the previous step S410
Generate an image of the above detailed figure based on it and display it
Raster rendering is performed in an area of the memory 103 corresponding to the drawing range.
Transfer by calculation. This allows for the normalized
The image 312 of the detailed figure is shown in FIG.
To the pen input image 311 drawn by the operator
They are overlapped and displayed by a broken line (step S41).
1). Subsequently, in the step S409, the selection is made.
Icons for multiple detail shapes belonging to the selected basic shape
Is displayed on the right end of the display screen as shown in FIG.
It is displayed as a list 303. At this time, in FIG.
As shown by hatching in FIG.
03, equivalent to input image 311 or most similar
Only similar detailed shape icons can be distinguished from other detailed shapes.
Display, for example, by inverting or highlighting.
(Step S412). Next, the input of the pen 105 by the operator is waited.
(Step S413). Then, the pen 1
05 is input, and the CPU 101 operates the pen input.
Upon receiving the work information, the figure creating unit 109
Is displayed in the detailed graphic list 303 on the display screen.
It is determined whether or not it is within the detailed graphic list 303.
Proceed to step S415, and if it is outside the detailed graphic list 303
If it is, the process proceeds to step S416 (step S414). In step S415, pen input is detailed.
If it is determined that it is within the fine figure list 303,
The graphic indicated by the broken line in step S411 is intended by the operator.
It is determined that the figure is different from the
The illustrated detailed graphic image 312 is deleted. And details
Touched by pen 105 in fine figure list 303
Judge that the detailed figure is the figure desired by the operator,
Returning to step S410, the normalized graphic image 312
Of input graphic image 311 by generating and displaying broken line
(Step S410)
To S413). On the other hand, the pen input is detailed in step S414.
If it is determined that the position is outside the figure list 303, the step
Graphic image 312 indicated by a broken line in step S411
Is determined to be the same as the figure intended by the operator,
The display of the fine figure list 303 is deleted (step S41).
6). Next, the image of the figure drawn by the operator
311 is deleted (step S417).
The displayed normalized figure 312 is redisplayed as a solid line.
The process ends (step S418). Thus, the basic
In the figure display list 301, an image selection icon
By selecting 302, the operator desires
By drawing a graphic image directly with the pen 105,
A desired figure can be easily input. On the other hand, in step S404,
Touched position is an image in the basic figure list 301
It is determined that the icon is other than the selection icon 302
In this case, touch with the pen 105 in the basic figure list 301.
The figure of the touched icon is selected as the basic figure.
Then, the details of the detailed figure belonging to the selected basic figure are read.
Icon as a detailed figure list 303 (step
S419). Next, the user waits for a pen input by the operator (s
Step S420). Then, in the same manner as above, the CPU 1
01, the operation information of the pen 105
When the input is detected, the touch position of the pen 105 is detected.
It is determined whether the position is in the detailed graphic list 303 or not.
If not in the detailed graphic list 303, step S
It returns to 420 and waits for the input of the pen 105 again.
If it is in the shape list 303, proceed to the following step S422
(Step S421). The icon touched by the pen 105
Selected as the detailed figure, and
A figure is displayed as a broken line at a predetermined position on the display screen, for example.
You. The detailed graphic displayed by the broken line is displayed on the screen by the pen 10.
5 by touching and moving
Moves on the display screen. And of the pen 105
After completing the moving operation, for example, a predetermined position on the display screen
Touch the menu indicating “OK” displayed on the
Touch to determine the display center position of the detailed figure
I do. That is, the final moving position is set as the display center position.
It is determined (step S422). Next, the operator confirms the center position.
Specify the size of the detail figure. That is, for example, the details
After touching an arbitrary side of the figure with the pen 105,
Touch position of the touch position
After that, select “OK” in the above menu bar.
By touching the menu indicating
The size of the detailed figure is determined based on the moving distance.
Is performed (step S423). As described above, the size designation of the detailed figure
Is completed, the detailed figure
The image size is determined (step S424). Continued
Then, the formula of the specified detailed figure is stored in the figure drawing memory 110.
From the image data of the detailed figure
Is generated in the size specified above, and this is
Write it to the folder 107. And the image of the above detailed figure
Is displayed centered on the specified center position.
The image data is stored in the display memory 103 by a raster operation.
Forward. As a result, the details indicated by the broken line
The figure is placed at the position specified by the operator at the specified
And the processing is terminated (step S
425). Thus, the system is prepared in advance
Select the desired figure from the detailed figures and pen
By operating the button 105, a desired size is set at a desired position on the screen.
Can be displayed. Then, the above steps S401 to S425
Create multiple shapes by repeating the process
Are sequentially performed. Incidentally, the above steps S405 to S
At 418, the image input by the operator is approximated by a mathematical expression,
Generated figures when generating and displaying figures based on mathematical formulas
Shape size and display position can be input by the operator
Were determined on the basis of steps S422 to S425.
In the same manner as described above, the operator changes the size and display position of the
5 may be separately instructed. Also,
How to specify the size and display position of the figure
It may be performed by a method. In the first embodiment, the external input device (point
Mouse 104 as the printing device), the second implementation
The example has been described using the pen 105 as the external input device.
However, in the first and second embodiments, the mouse 104 or the pen 105
Either may be used, trackball, tablet
Other external input devices such as touch screen, touch screen, etc.
Needless to say, it's good. Further, when a figure is approximated by a mathematical expression, the figure is
The image input by the operator and the
Pattern match with stored image data
Figure recognition system using
And the like, and based on the result of the
The formula of the figure may be read from the memory 110.
No. According to the present invention, a hand is displayed on a display screen.
Ready-made image similar to handwritten drawing image input and written
Page based on the drawing range of the handwritten drawing image.
To determine its size and its display area and display it.
The desired display area on the display screen.
If you want to enter a ready-made image
Hand-drawn drawing image similar to the existing image on the surface
Is drawn in the desired size on the desired display area.
By inputting, the user can easily input. Ma
Also, the ready-made images that are automatically selected for input
On the handwritten drawing image displayed on the
Overlap display so that the size of the
Display area and display size of the existing image
Is valid or not.
It can be determined while referring to the image. [0067]

【図面の簡単な説明】 【図1】本発明の全体構成を示す図である。 【図2】本発明の第1実施例の外観及び操作方法を示す
図である。 【図3】本発明の第1実施例の動作を説明するフローチ
ャートである。 【図4】線分が直線で近似できるか否か判定する方法を
説明する図である。 【図5】入力された図形イメージを基本図形に分類する
処理を説明するフローチャートである。 【図6】三角形をより詳細に分類する処理を説明するフ
ローチャートである。 【図7】本発明の第2実施例の図形作成の操作方法を説
明する図である。 【図8】本発明の第2実施例の動作を説明するフローチ
ャート(その1)である。 【図9】本発明の第2実施例の動作を説明するフローチ
ャート(その2)である。 【図10】従来の図形作成装置での図形作成方法を説明
する図である。 【符号の説明】 101 中央処理装置(CPU) 102 表示部 103 表示メモリ 104 マウス 105 ペン 106 位置検出部 107 図形描画メモリ 108 切り出しイメージメモリ 109 図形作成部 110 図形部品メモリ 111 描画範囲メモリ 201 キーボード 202 イメージ描画窓 203 マウスカーソル
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing an overall configuration of the present invention. FIG. 2 is a diagram showing an appearance and an operation method of the first embodiment of the present invention. FIG. 3 is a flowchart illustrating the operation of the first embodiment of the present invention. FIG. 4 is a diagram illustrating a method of determining whether a line segment can be approximated by a straight line. FIG. 5 is a flowchart illustrating a process of classifying an input graphic image into basic graphics. FIG. 6 is a flowchart illustrating a process of classifying triangles in more detail. FIG. 7 is a diagram for explaining a method of operating a graphic creation according to a second embodiment of the present invention. FIG. 8 is a flowchart (part 1) for explaining the operation of the second embodiment of the present invention. FIG. 9 is a flowchart (part 2) for explaining the operation of the second embodiment of the present invention; FIG. 10 is a diagram for explaining a figure creating method in a conventional figure creating apparatus. DESCRIPTION OF SYMBOLS 101 Central processing unit (CPU) 102 Display unit 103 Display memory 104 Mouse 105 Pen 106 Position detection unit 107 Graphic drawing memory 108 Cutout image memory 109 Graphic creation unit 110 Graphic parts memory 111 Drawing range memory 201 Keyboard 202 Image Drawing window 203 mouse cursor

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 7/00 - 7/60 G06T 11/60 - 17/50 G06K 9/00 - 9/03 G06K 9/46 - 9/52 G06K 9/62 - 9/82 G06F 3/00 G06F 17/50 Continuation of the front page (58) Fields investigated (Int.Cl. 7 , DB name) G06T 1/00 G06T 7 /00-7/60 G06T 11/60-17/50 G06K 9/00-9/03 G06K 9 / 46-9/52 G06K 9/62-9/82 G06F 3/00 G06F 17/50

Claims (1)

(57)【特許請求の範囲】 【請求項1】 手書き入力された任意の手書き描画イメ
ージを表示画面上に表示する手書きイメージ表示手段
と、 上記手書き描画イメージの上記表示画面上における描画
範囲を特定する範囲特定手段と、 複数の既成イメージ中で上記手書きイメージに類似する
既成イメージを選択する選択手段と、 上記選択された既成イメージのサイズを上記範囲特定手
段で特定された描画範囲のサイズに基づいて決定し、そ
の決定されたサイズによる上記既成イメージを上記表示
画面上の上記手書き描画イメージが表示される表示領域
上において当該手書き描画イメージにオーバラップ表示
させるオーバラップ表示手段と、 上記手書き描画イメージ上にオーバラップ表示されてい
る上記既成イメージに対する確定操作により、上記表示
領域上における上記手書き描画イメージを消去すると共
に、上記既成イメージを上記表示領域上に確定入力する
確定入力手段と、 を具備したことを特徴とするイメージ入力装置。
(57) [Claims] [Claim 1] Handwritten image display means for displaying an arbitrary handwritten drawing image input by handwriting on a display screen, and specifying a drawing range of the handwritten drawing image on the display screen Range specifying means for selecting, a selecting means for selecting a ready-made image similar to the handwritten image among the plurality of ready-made images, and Overlap display means for overlappingly displaying the ready-made image based on the determined size on the display area on the display screen where the handwritten image is displayed, and the handwritten image The above operation is performed by confirming the existing image that is displayed on the screen. An input device for erasing the hand-drawn image on the display area and inputting the established image on the display area.
JP14964594A 1994-06-30 1994-06-30 Image input device Expired - Fee Related JP3388524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14964594A JP3388524B2 (en) 1994-06-30 1994-06-30 Image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14964594A JP3388524B2 (en) 1994-06-30 1994-06-30 Image input device

Publications (2)

Publication Number Publication Date
JPH0816805A JPH0816805A (en) 1996-01-19
JP3388524B2 true JP3388524B2 (en) 2003-03-24

Family

ID=15479759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14964594A Expired - Fee Related JP3388524B2 (en) 1994-06-30 1994-06-30 Image input device

Country Status (1)

Country Link
JP (1) JP3388524B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889062B2 (en) * 2001-10-04 2005-05-03 Nokia Corporation System and protocol for providing pictures in wireless communication messages
US10976918B2 (en) 2015-10-19 2021-04-13 Myscript System and method of guiding handwriting diagram input
US20180173688A1 (en) * 2016-12-15 2018-06-21 Myscript System and method for management of handwritten diagram connectors

Also Published As

Publication number Publication date
JPH0816805A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
US7458038B2 (en) Selection indication fields
EP0637795B1 (en) Gestural indicators for selecting graphic objects
JP4637455B2 (en) User interface utilization method and product including computer usable media
US20060001656A1 (en) Electronic ink system
JP2589999B2 (en) Graphic input / output device
EP0992877A2 (en) Information processing apparatus
US7093202B2 (en) Method and system for interpreting imprecise object selection paths
US20140298223A1 (en) Systems and methods for drawing shapes and issuing gesture-based control commands on the same draw grid
US20110148918A1 (en) Information processing apparatus and control method therefor
JPH09231393A (en) Instruction input device
US7483017B2 (en) Ink collection and rendering
JP3007232B2 (en) Drawing processing apparatus and method
JP3388524B2 (en) Image input device
JP3388451B2 (en) Handwriting input device
JP3357760B2 (en) Character / graphic input editing device
JP3834740B2 (en) Graphic editing apparatus and graphic editing method
JP4148867B2 (en) Handwriting processor
JP3864999B2 (en) Information processing apparatus and information processing method
JP3139902B2 (en) Figure recognition method and apparatus
US8810580B2 (en) Method and tool for creating irregular-shaped tables
JP2935336B2 (en) Graphic input / output device
JPH08315167A (en) Method for securing blank at handwriting stroke input time
JPH07287634A (en) Document preparing device and graphic preparing method thereof
JPH06301472A (en) Handwriting input device
JP2022143694A (en) Display device, display method, program and display system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100117

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110117

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110117

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120117

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130117

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130117

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees