JP4302907B2 - Data processing apparatus, method for generating target data, computer-readable medium, and program - Google Patents
Data processing apparatus, method for generating target data, computer-readable medium, and program Download PDFInfo
- Publication number
- JP4302907B2 JP4302907B2 JP2001124586A JP2001124586A JP4302907B2 JP 4302907 B2 JP4302907 B2 JP 4302907B2 JP 2001124586 A JP2001124586 A JP 2001124586A JP 2001124586 A JP2001124586 A JP 2001124586A JP 4302907 B2 JP4302907 B2 JP 4302907B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- attribute information
- number line
- storage element
- display
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、データ処理装置、ターゲットデータを生成する方法、コンピュータで読み出し可能な媒体、およびプログラムに関する。
【0002】
【従来の技術】
様々な工業製品の設計をコンピュータ上において行い、その設計データをコンピュータ上に保存するようになってきた。一方、コンピュータはネットワークを介して接続されるようになった。このようなネットワーク環境の中で、技術開発の成果の発表および設計報告書の作成に際して、設計データの再利用の機会が増加している。設計データには本来の設計図形と番線とが含まれている。
【0003】
【発明が解決しようとする課題】
設計データの再利用に際しては設計図形の情報が必要とされるものであり、設計データに含まれる番線はむしろ不要なデータである。
【0004】
しかしながら、設計用CADツールはこのよう再利用をあまり考慮していないので、設計データから番線を削除するためのユティティを含んでいない。つまり、設計データの再利用を促進できるようなデータ処理装置が望まれている。
【0005】
発明者はこのような要求に応ずるために様々な検討を行った。この検討に際して、番線が備える特徴を見出した。その特徴とは、番線は縦および横に沿って伸びている、ということであり、また表示ウインドウの一辺から他辺まで伸びている。これらの特徴を利用することによって、設計データから番線を削除するための検討を進めた。
【0006】
そこで、本発明の目的は、番線と設計図形とを表す図面データから少なくとも1つの番線を除くためのデータ処理装置、ターゲットデータを生成する方法、コンピュータで読み出し可能な媒体、およびプログラムを提供することとした。
【0007】
【課題を解決するための手段】
本発明の一側面は、データ処理装置に係わる。データ処理装置は、1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除くように動作する。データ処理装置は、画像記憶手段と、検出手段と、変更手段と、ディスプレイとを備える。画像記憶手段は、アレイを構成するようにアドレス指定された複数の記憶要素を有し、図形データを記憶するように動作する。検出手段は、少なくとも1つの番線を画像記憶手段において検出するように動作する。変更手段は、検出された番線を表示データから除くように画像記憶手段におけるデータを変更するように動作する。ディスプレイは、画像記憶手段に格納されているデータを表示する。この表示は、ドット表示形式で行うようにしてよい。
データ処理装置では、前記画像記憶手段の前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納する。前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納された属性情報を調べて第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する。
また、データ処理装置では、前記画像記憶手段の前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納する。前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納されている前記第1の属性情報を検出するための第1の手段、前記第1の手段において前記第1の属性情報が検出された場合、前記行および前記列の他方に含まれる隔置された少なくとも2つの位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定するための第2の手段、および前記第2の手段における決定が肯定的である場合、前記行および前記列の他方に沿って番線が設けられているという決定を行うための第3の手段を含む。
【0008】
図形データのうちの所望の部分を画像記憶手段に格納しているので、図形データのうちの所望の部分内に存在する番線を選択的に検出でき、選択的に削除できる。また、図形データのうちの所望の部分をディスプレイに表示しながら番線の検出および削除を行っているので、データ処理装置の動作が視覚的に確認される。
【0009】
データ処理装置は格納手段を更に備え、格納手段は、設計図形に対応したデータを画像記憶手段内の所定の記憶要素に格納するように動作する。所定の記憶要素は、検出された番線が設計図形と交差する位置に対応する。格納手段によれば、設計図形のデータを失なうことなく番線の消去が可能になる。
【0010】
本発明の別の側面は、1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除いてターゲットデータをデータ処理装置を用いて生成する方法に係わる。この方法では、ターゲットデータは、図面データから少なくとも1つの番線データを除去するようにして生成されている。この方法は、検出ステップ及び変更ステップを備える。データ処理装置は、アレイを構成するようにアドレス指定された複数の記憶要素と、ディスプレイと、検出手段と、変更手段とを含む。図形データの少なくとも一部を示す表示データが複数の記憶要素に格納される。表示データはディスプレイに表示される。検出ステップは、少なくとも1つの番線を複数の記憶要素において検出する。変更ステップは、検出された番線を表示データから除くように記憶要素におけるデータを変更してターゲットデータを生成する。
この方法では、前記番線および前記設計図形は、前記ディスプレイにおいて第1の表示色として表される。前記第1の表示色は前記記憶要素に格納された第1の属性情報に対応する。前記検出ステップでは、前記検出手段が、前記行および前記列の一方に含まれる前記記憶要素に格納された属性情報を調べて前記第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する。
また、この方法では、前記番線および前記設計図形は、前記ディスプレイにおいて第1の表示色として表される。前記第1の表示色は前記記憶要素に格納された第1の属性情報に対応する。前記検出ステップは、第1〜第3のステップを含み、第1のステップでは、前記検出手段が前記行および前記列の一方に含まれる前記記憶要素に前記第1の属性情報が格納されているか否かを決定し、前記第2のステップでは、前記第1のステップにおける決定が肯定的である場合、前記検出手段が、前記行および前記列の他方に含まれる隔置された複数の位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定し、および、前記第3のステップでは、前記第2のステップにおける決定が肯定的である場合、前記検出手段が、前記行および前記列の他方に沿って番線が設けられているという決定を行う。
【0011】
ディスプレイ上において図形データのうちから選択した所望の部分を表示するので、ディスプレイの画像によれば、番線の検出および削除の動作が視覚的に確認される。また、番線を消去したい領域に存在する番線を選択的に検出でき、選択的に削除できる。
【0012】
本発明の更に別の側面は、1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除いてターゲットデータを生成する方法、およびデータ処理装置を実現するためのプログラムに係わる。また、本発明の別の側面は、上記のプログラムを記録した、コンピュータで読み出し可能な媒体に係わる。
【0013】
【発明の実施の形態】
本発明の上記の目的および他の目的、特徴、並びに利点は、添付図面を参照して進められる本発明の好適な実施の形態の以下の詳細な記述からより容易に明らかになる。
【0014】
本発明の実施の形態を図面を参照しながら説明する。可能な場合には、同一の部分には同一の符号を付する。本実施の形態は、データ処理装置、および1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除いてターゲットデータを生成する方法に係わる。
【0015】
(第1の実施の形態)
図1(a)〜(e)は、本実施の形態に係わる方法およびデータ処理装置おける主要な機能を示すため模式図である。図1(a)〜(e)は、それぞれ、コンピュータの表示画面を示している。
【0016】
図1(a)は、ディスプレイ上に表示されたウインドウ1内に設計図形3と番線5、7を示し、図1(b)は、ウインドウ1内に設計図形3を示している。ウインドウ1は、縦方向に伸びる番線5と、横方向に伸びる番線7とを含む。図1(a)に示されるようなウインドウ1内に示された図形データに上記の方法を施すことにより、ターゲットデータが生成される。ターゲットデータは、図1(b)に示されるように、ウインドウ1内に設計図形を含み番線を含まない。この方法は、以下に示される実施例に記述されるデータ処理装置において実現される。
【0017】
図1(c)はウインドウ1内に番線5、7と設計図形9とを示している。図1(d)は、横方向に伸びる番線7を削除する際に失われた部分を有する番線5aを示している。図1(e)は、ウインドウ1内に番線5bと設計図形9を示している。番線5bでは、横方向に伸びる番線7を削除する際に失われたデータ部分が修復され、これによって、横方向に伸びる番線7の消去が完了している。
【0018】
図1(a)〜(e)によれば、ウインドウに表示されたデータに対する番線の消去並びに番線の削除および修復が実行されている。
【0019】
(第2の実施の形態)
図2は、データ処理装置10を示す。データ処理装置10は、ディスプレイ22、画像記憶手段24、検出手段26、および変更手段28を含む。画像記憶手段24は複数の記憶要素を有し、1または複数の番線と設計図形とを表す図形データを記憶するように動作する。ディスプレイ22は、画像記憶手段24に結合され、画像記憶手段24に格納されているデータを表示する。この表示は、ドット表示形式で行うようにしてよい。画像記憶手段24は、検出手段26および変更手段28に結合されている。検出手段26は、画像記憶手段24に格納された表示データにおいて、少なくとも1つの番線を検出するように動作する。変更手段26は、検出手段24において検出された番線を表示データから除くように画像記憶手段22におけるデータを変更する。
【0020】
図3は、画像記憶手段24の構造を示す。画像記憶手段24は、複数の記憶要素24aを有する。これらの記憶要素24aは、X方向に伸びる配列24b、24c、24dおよびY方向に伸びる配列24e、24f、24gに含まれている。図3においては、行はX方向に沿った配列された複数の記憶要素を含み、列はY方向に沿った配列された複数の記憶要素を含む。この構造によれば、複数の記憶要素24aは、アレイを構成するようにアドレス指定される。このため、複数の記憶要素24aは、ディスプレイ22上の画素と対応するようにできる。
【0021】
画像記憶手段22の記憶要素は、番線および設計図形を示すために第1の属性情報を格納しており、番線および設計図形が存在しないことを示すために第2の属性情報を格納している。以下の限定されてるものではないが、第1の属性情報はディスプレイ22において黒色として表示され、第2の属性情報はディスプレイ22において白色として表示されている。
【0022】
ディスプレイ22、画像記憶手段24、検出手段26、および変更手段28の組合せによれば、図形データのうちの所望の部分内に存在する番線を選択的に検出でき、選択的に削除できる。
【0023】
図4に示されるように、データ処理装置12は、ディスプレイ22、画像記憶手段24、検出手段26、および変更手段28に加えて、格納手段30を更に備えるようにしてもよい。格納手段30は、設計図形に対応したデータを画像記憶手段24における所定の記憶要素に格納するように動作する。所定の記憶要素とは、検出手段において検出された番線が設計図形と交差する位置に対応している。これにより、格納手段30によって、設計図形のデータを失なうことなく番線の消去が可能になる。
【0024】
また、データ処理装置10、12においては、検出手段26は、画像記憶手段24の記憶要素24aのうちの少なくとも2つの記憶要素に第1の属性情報が格納されている場合に、番線が行および列のその一方に沿って存在すると決定するようにしてもよい。少なくとも2つの記憶要素は、図3において、第1の位置の記憶要素24hと、これと隔置された第2の位置の記憶要素24iとを含むように選択されるようにしてもよく、また第1の位置と第2の位置との間の第3の位置の記憶要素24jを含んでも良い。第1の位置の記憶要素24hおよび第2の位置の記憶要素24iは、それぞれサブウインドウ52の上辺および下辺に設けられた画素に対応する。番線に対応するデータが複数の記憶要素24h、24iにおいて発見されたことに基づいて、サブウインドウ52内に存在する番線の位置を判別している。この検出手段26によれば、どの行に番線が存在するか否かの判断が可能になり、また列に関しても、同様に番線の有無の判断が可能になる。
【0025】
図5および図6は、データ処理装置10のディスプレイ内に表示されているウインドウ50を示す。ウインドウ50が、番線消去ツールのために提供されている。ウインドウ50は、サブウインドウ52、基本動作ボタン54、実行ボタン56、およびオプションボックス58を有する。サブウインドウ52は、表示データを表示すると共に、当該ツールによる処理が施される処理領域を示す。基本動作ボタン54は、他のウインドウからのデータを張り付けるためのボタン54a、他のウインドウへのデータのコピーのためのボタン54b、および当該ツールによる処理を元に戻すアンドゥ(undo)ボタン54cを含む。実行ボタン56は、サブウインドウ52に表示されたデータに処理の実行を指示するためのボタンを含み、一括番線削除ボタン56aおよび一括番線消去ボタン56bを含む。オプションボックス58は、当該ツールによる処理を実行する方向に関するオプションを指定するためのチェックサークルを含む。当該ツールによる処理を実行する方向の選択肢は、縦方向、横方向、並びに縦および横方向のうちのいずれかである。
【0026】
図5を参照すると、サブウインドウ52には、他のアプリケーションから張り付けられた表示データに含まれる設計図形60および番線62a〜62d、64a〜64cが表示されている。番線62a〜62dは縦方向に伸びる。番線64a〜64cは横方向に伸びる。図6を参照すると、サブウインドウ52には、設計図形60が表示されており、番線62a〜62d、64a〜64cは示されていない。したがって、データ処理装置12によって、1または複数の番線と設計図形とを表す図面データから番線が消去された。この後に、サブウインドウ52に表示された図形データは、コピーボタン54bによって他のウインドウまたは他のアプリケーションにコピーできる。
【0027】
(第3の実施の形態)
図7は、本実施の形態に係わるデータ処理装置14を示す。データ処理装置14は、ディスプレイ22、画像記憶手段24、検出手段26、および変更手段28を含む。データ処理装置14では、検出手段26は、第1〜3の手段26a、26b、26cを含む。第1〜3の手段26a、26b、26cは、画像記憶手段24に結合されている。これらの手段26a、26b、26cによれば、番線が検出される。
【0028】
第1の手段26aは、画像記憶手段22における行(X)および列(Y)の一方に含まれる記憶要素24aに格納されている第1の属性情報を検出する。第2の手段26bは、第1の手段26aにおいて第1の属性情報が検出された場合、行(X)および列(Y)の他方に含まれる隔置された少なくとも2つの位置の記憶要素に第1の属性情報が格納されているか否かを決定する。
【0029】
図5を参照しながら、第1の手段26aの動作手順を例示的に説明する。第1の手段26aは、図5中の行(X軸)66に配置された記憶要素に格納されている属性を順に調べる。第1の手段26aは、まず、記憶要素66aに格納された第1の属性情報を検知する。検知された列に関する情報は、記憶手段26dに格納される。第2の手段26bは、記憶手段26d内の情報に基づいて、この列内において隔置された複数の記憶要素、例えば2つの記憶要素に第1の属性情報が格納されているか否かを調べる。第2の手段26bは、この列に対する調査結果を記憶手段26eに格納する。第3の手段26cは、この列には番線が存在するという決定(肯定的な決定)を記憶手段26eの内容に基づいて行う。
【0030】
第1の手段26aは、次いで、記憶要素66bに格納された第1の属性情報を検知する。しかし、第2の手段26bは、隔置された2点に第1の属性情報が発見できないことを示す結果を第2の記憶手段26eに格納する。第3の手段26cは、この結果には応答しない。続いて、第1の手段26aは、記憶要素66cに格納された第1の属性情報を検知する。第2の手段26bは、隔置された2点にも第1の属性情報が格納されている、という結果を第2の記憶手段26eに格納する。第3の手段26cは、この結果に応答して、この列には番線が存在するという決定を行う。このような手順が、記憶要素66d、66eに対しても実行される。
【0031】
次いで、図3を参照しながら、記憶要素66aを発見するための画像記憶手段24における手順を例示的に説明する。第1の手段26aは、画像記憶手段22の第1の配列24b内に配置された記憶要素内の属性情報を順に調べる。第1の行24bは、図5のサブウインドウ52の最上辺の画素行に対応する。この調査の際に、第1の手段26aは、第1の属性情報が記憶要素24h(図5の記憶要素66aに対応する)に格納されていることを検知する。
【0032】
次いで、第2の手段26bは、記憶要素24hに第1の属性情報が格納されているので、画像記憶手段22の第1の列24k内に配置され又は複数の記憶要素24i内の属性情報を順に調べる。第2の手段26bは、第1の列24k内に配置された記憶要素24h、24i(加えて、記憶要素24j)を調査し、これらの記憶要素に第1の属性情報が格納されているという情報を獲得する。そして、第2の手段26bは、複数の記憶要素24h、24i(加えて、記憶要素24j)に第1の属性情報がに格納されているという、肯定的な決定をする。
【0033】
続けて、第3の手段26cは、記憶手段26eの内容に基づいて、番線が対応する第1の属性情報が列24kに格納されているということを記憶手段26eに与える。
【0034】
この検出手段26a〜26cによれば、行に関して第1の属性情報の有無を調べた後に、当該第1の属性情報が格納されている列に番線が存在するか否かを調べる。この手順によって、この列に番線が存在することを発見でき、同様に、行に番線が存在することを発見できる。さらに、この手順は、番線が図形データに行および列の少なくとも何れかに沿ってウインドウにわたって伸びている、という特徴を利用することにより、番線の発見手順を簡素化している。
【0035】
(第4の実施の形態)
図8は、本実施の形態に係わるデータ処理装置16を示す。データ処理装置16は、ディスプレイ22、画像記憶手段24、検出手段26、変更手段28、および格納手段30を含む。データ処理装置16では、変更手段28は第4の手段28aを含み、格納手段30は第5手段30aを含む。第4の手段28aおよび第5の手段30aは、それぞれ、画像記憶手段24に結合されている。これらの手段28a、30aによれば、番線が削除されると共に、これに伴って削除された設計図形が修復される。
【0036】
データ処理装置16では、第4の手段28aは、検出された番線に対応する記憶要素に第2の属性情報を格納する。第5の手段30aは、検出された番線と設計図形とが交差する部位に対応する記憶要素に第1の属性情報を格納する。
【0037】
図3を参照しながら、この手順を例示的に説明する。第1の配列24kに関して肯定的な決定がなされている。配列24kを示す情報は、記憶手段28bに格納されている。第4の手段28aは、記憶手段28bの内容に基づいて、配列24kに第2の属性情報の格納する。これによって、配列24kに含まれる記憶要素には、番線が存在しないことを示す第2の属性情報が格納される。しかしながら、設計図形として記憶要素24j、24l、24mには第1の属性情報が格納されていたが、記憶要素24jの記憶内容は、第1の属性情報に変更された。そこで、第5の手段30aは、記憶手段28bに格納されている情報に基づいて、記憶要素24jに第1の属性情報を格納する。記憶要素24jは、番線と設計図形とが交差する部位に対応している。これらの手段によれば、番線を削除した後に、これに伴って削除された設計図形を修復している。
【0038】
(第5の実施の形態)
図9は、本実施の形態に係わるデータ処理装置18を示す。データ処理装置18は、ディスプレイ22、画像記憶手段24、検出手段26、変更手段28、および格納手段30を含む。データ処理装置18では、格納手段30は第6の手段30bおよび第7の手段30cを含む。第6の手段30aおよび第7の手段30bは、それぞれ、画像記憶手段24に結合されている。これらの手段30b、30cによれば、削除された設計図形を修復するための具体的な手順が示される。
【0039】
図3を参照しながら、この手順を例示的に説明する。第6の手段30aは、記憶要素24l、24mに第1の属性情報が格納されている否かを決定する。第6の手段30aは、列24kに含まれる記憶要素に対してこの決定を繰り返し行う。記憶要素24l、24mは、変更手段28によって変更された記憶要素24jに隣接している。変更された記憶要素24jは、列(Y)24kに含まれているが、記憶要素24l、24mは、行(X)方向に関して配置されている。この手段によれば、第2の属性情報が格納された一群の記憶要素(例えば、記憶要素24j)に隣接する所定の記憶要素(例えば、記憶要素24l、24m)が第1の記憶要素を記憶しているか否かの情報を得ることができる。第6の手段30bは、番線に係わる記憶要素24jに隣接する記憶要素24l、24mに設計図形に係わるデータが格納されているという肯定的な決定を行ったときは、該当する記憶要素のアドレスを記憶手段30dに格納すると共に、肯定的な決定を第7の手段30cに与える。第7の手段30cは、第6の手段30bにおける決定が肯定的である場合、記憶手段30dの内容に基づいて、記憶要素24jに第1の属性情報を格納する。記憶要素24jは、変更手段28において変更されており、また第6の手段30bにおける決定に係わる記憶要素24l、24mの間に位置する。手段30b、30cによれば、番線の削除の際に失われた設計図形が修復される。
【0040】
(第6の実施の形態)
図10は、本実施の形態に係わるデータ処理装置20を示す。データ処理装置20は、ディスプレイ22、画像記憶手段24、検出手段26、および変更手段28を含む。データ処理装置20では、検出手段は、第1〜3の手段26a、26b、26cに加えて、第8〜第10の手段26f、26g、26hを含む。第1〜3の手段26a、26b、26cは、行および列の一方に関する番線を削除でき、第8〜第10の手段26f、26g、26hは行および列の他方に関する番線を削除できる。
【0041】
図3を参照しながら、第8〜第10の手段26f、26g、26hの動作を例示的に説明する。第8の手段26fは、画像記憶手段22の第1の配列24e内に配置された記憶要素内の属性情報を順に調べる。第1の行24bは、図4のサブウインドウ52の最左辺の画素行に対応し、行24gは最右辺に対応する。この調査の際に、第8の手段26fは、第1の属性情報が記憶要素24nに格納されていることを検知する。また、第8の手段26gは、記憶要素24nのアドレスを記憶手段26iに格納する。
【0042】
次いで、第9の手段26gは、記憶要素24nに第1の属性情報が格納されているので、画像記憶手段22の第1の行24p内に配置された他端の記憶要素24qの属性情報を調べる。第9の手段26gは、第1の行24pに配置された記憶要素24p、24qを調査し、この結果、これらの記憶要素に第1の属性情報が格納されているという情報を獲得する。記憶要素24p、24qはそれぞれの行の両端に位置することが好ましい。これに応答して、第9の手段26gは、複数の記憶要素24p、24qに第1の属性情報が格納されているという、肯定的な決定をする。第9の手段26gは、行に対する調査結果(記憶要素24p、24qに関する肯定的な決定)を記憶手段26jに格納する。続いて、第10の手段26hは、この列には番線が存在するという決定を記憶手段26jの内容に基づいて行う。
【0043】
これらの手段26f〜26hによれば、列に関して第1の属性情報の有無を調べた後に、当該第1の属性情報が格納されている記憶要素を含む行に番線が存在するか否かを調べている。また、この手順においても、番線が図形データに行および列の少なくとも何れかに沿って配置されているという特徴を利用することにより、番線の発見手順を簡素化できる。第1〜3の手段26a、26b、26cおよび第8〜10の手段26f、26g、26hによって、この列に番線が存在することを発見でき、同様に、行に番線が存在することを発見できる。
【0044】
(第7の実施の形態)
図11は、1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除いてターゲットデータを生成する方法に係わるフローチャートを示す。この方法を適用した結果、ターゲットデータでは、図面データから番線データが除去されている。フローチャート80は、読込ステップ82と、表示ステップ84と、消去ステップ86と、保存ステップ88とを備える。
【0045】
読込ステップ82では、設計データを読み込み、既に説明されたデータ処理装置のメモリに格納する。表示ステップ84では、画像記憶手段24に図形データの少なくとも一部を示す表示データを格納して、ディスプレイ22に表示データを表示する。消去ステップ86は、画像記憶手段24内の複数の記憶要素において少なくとも1つの番線を検出した後に、検出された番線を表示データから除くように記憶要素におけるデータを変更する。この結果、ターゲットデータが生成される。保存ステップ88では、生成されたターゲットデータをデータ処理装置のメモリに格納する。
【0046】
画像記憶手段24の記憶要素は、番線および設計図形を示すために第1の属性情報を格納しており、第1の属性情報は、ディスプレイ22において第1の表示色として表される。また、記憶要素は、番線および設計図形が存在しないことを示すために第2の属性情報を格納しており、第2の属性情報は、ディスプレイにおいて第2の表示色として表される。例えば、第1の表示色は黒であり、第2の表示色は白である。
【0047】
フローチャート80に示された方法によれば、図形データのうちから選択した所望の部分をディスプレイに表示するので、番線を消去したい領域に存在する番線を選択的に検出でき、選択的に削除できる。また、所望の領域をディスプレイに表示すれば、番線の検出および削除の動作を視覚的に確認できる。
【0048】
消去ステップ86は、番線を検出するために、行および列に対して順に適用される。消去ステップ86では、例えば列に沿って配置された記憶要素の第1の位置(図3内の24h)と、これと隔置された第2の位置(図3内の24i)とを含む少なくとも2カ所に第1の属性情報が格納されている場合に、この列に沿って番線が設けられていると決定する。表示データが、行および列に配置された記憶要素に格納されているので、番線の検出が容易になる。
【0049】
引き続いて、図11を参照しながら、このような番線検出の手順を説明する。この方法では、消去ステップ86は、以下のステップを含む。行探査ステップ86aでは、行(図3内の行24b)に沿って配置された記憶要素の属性情報を調べ、行判定ステップ86bでは、各記憶要素(例えば、図3内の記憶要素24h)に第1の属性情報が格納されているか否かを調べる。第1の属性情報が発見できないときは、制御は行探査ステップ86aに戻る。ここでは、行判定ステップ86bにおいて、記憶要素(記憶要素24h)に第1の属性情報が格納されているという決定(肯定的な決定)がなされたとする。列探査ステップ86cでは、肯定的な決定に応答して、列(図3内の記憶要素24k)に沿って隔置された2つの位置の記憶要素24h、24iの属性情報を調べる。列判定ステップ86dでは、各記憶要素(例えば、図3内の記憶要素24i)に第1の属性情報が格納されているか否かの決定を行う。第1の属性情報が発見できないときは、制御は列探査ステップ86aに戻る。ここでは、列判定ステップ86dにおいて、記憶要素(記憶要素24h、24i)に第1の属性情報が格納されているという決定(肯定的な決定)がなされたとする。列判定ステップ86dにおける判定に基づいて、決定ステップ86eでは、列(配列24k)に沿って番線が設けられているという決定を行う。この決定に応答して、列番線削除ステップ86fでは、列(配列24k)に沿って第2の属性情報を格納する。
【0050】
これらのステップにおいては、行および列の一方に沿って記憶要素を調べた後に、行および列の他方に沿って記憶要素を調べている。このため、番線の検出が容易になる。
【0051】
また、図12は、変更ステップ90のフローチャートを示す。変更ステップ90によれば、列番線削除ステップ86fにおいて削除された設計データの一部を修復できる。変更ステップ90は、交差検知ステップ92と、修復ステップ94とを含む。交差検知ステップ92は、検出された番線が設計図形と交差する位置を検出する。修復ステップ94は、検出位置に対応する記憶要素に、設計図形に対応した属性情報を格納する。これらのステップによれば、設計図形の一部を失なうことなく番線の消去が可能になる。
【0052】
このデータ修復を実行する手順を例示すれば、隣接データ調査ステップ92aと、隣接データ判定ステップ92bとを含む。図3を参照しながら、列24kに関してこれらのステップを適用する場合を説明する。隣接データ調査ステップ92aでは、列24kの各記憶要素(例えば記憶要素24j)に隣接する記憶要素(記憶要素24jに対して記憶要素24l、24m)の属性情報を検査する。隣接データ判定ステップ92bでは、記憶要素24l、24mに第1の属性情報が格納されているか否かを判定する。この判定が肯定的であるときは、ステップ94において、記憶要素24l、24mの間に位置する記憶要素24jに第1の属性情報を格納する。この判定が否定的であるときは、ステップ92aに戻る。これらのステップによれば、修復が必要な記憶要素を検出すると共に、この検出に基づいて設計図形を修復できる。
【0053】
さらに、図13は、消去ステップ86のフローチャートを示す。図13においては、消去ステップ86は、番線を検出するために、行に対して適用された後に、列に対して適用される。
【0054】
引き続いて、図13のフローチャートを図3を参照しながら説明する。この方法では、消去ステップ86は、図11に加えて、以下のステップを更に含む。列探査ステップ86gでは、列24nに沿って配置された記憶要素の属性情報を調べ、列判定ステップ86hでは、各記憶要素(例えば、図3内の記憶要素24p)に第1の属性情報が格納されているか否かの決定を行う。第1の属性情報が発見できないときは、制御は列探査ステップ86gに戻る。ここでは、列判定ステップ86hにおいて、記憶要素24pに第1の属性情報が格納されているという決定(肯定的な決定)がなされたとする。行探査ステップ86iでは、肯定的な決定に応答して、行24nに沿って隔置された2つの位置の記憶要素24p、24qの属性情報を調べる。行判定ステップ86jでは、各記憶要素(例えば、図3内の記憶要素24q)に第1の属性情報が格納されているか否かの決定を行う。第1の属性情報が発見できないときは、制御は列探査ステップ86gに戻る。ここでは、行判定ステップ86jにおいて、記憶要素24p、24qに第1の属性情報が格納されているという決定(肯定的な決定)がなされたとする。行判定ステップ86jにおける判定に基づいて、決定ステップ86kでは、行24nに沿って番線が設けられているという決定を行う。この決定に応答して、行番線削除ステップ86lでは、行24nに沿って第2の属性情報を格納する。ステップ86a〜86fに加えて、ステップ86g〜86lによれば、行および列の両方に番線が存在することを発見できる。
【0055】
図1〜図13を参照しながら、ターゲットデータを生成する方法およびデータ処理装置を説明した。図14(a)〜図14(e)は、この方法およびデータ処理装置において実現可能ないくつかの機能を示す。図14(a)〜図14(e)では、表示データの外枠を示すウインドウ1内に設計図形3および番線5、7が示されている。図14(a)は、行方向に伸びる番線を検出して削除する機能を図示している。図14(b)は、列方向に伸びる番線を検出して削除する機能を図示している。図14(c)は、行方向に伸びる番線を検出して削除すると共に、設計図形を補修する機能を図示している。図14(d)は、列方向に伸びる番線を検出して削除すると共に、設計図形を補修する機能を図示している。図14(e)は、4点により規定される領域内の図形データを検出して削除する機能を図示している。
【0056】
図15は、プログラムを実行可能なデータ処理装置200を示す。図15を参照すると、データ処理装置200は、入力デバイス210と、メモリユニット220と、プロセッサ230と、ディスプレイといった表示デバイス240と、出力デバイス250とを備えることができる。表示デバイス240は画素240aを含み、各画素は画像記憶手段の各記憶要素に関連づけられている。また、データ処理装置200は、ネットワーク260を介して他のコンピュータといったデータ処理装置270に接続されることができる。入力デバイス210は、キーボード、記録媒体からのデータ読み取り装置、およびポインティングデバイスのうちの一または複数を含むことができる。プロセッサ230は、メモリユニット220に記憶されたプログラムを実行することができる。この実行によって、これまでに説明されたいくつかのステップが、データ処理装置200上で実現される。ターゲットデータは、表示デバイス240に表示されることができ、出力デバイス250を介して出力されることができる。出力デバイスは、プリンタ、記録媒体への書き込み装置等の一または複数を含むことができる。
【0057】
データ処理装置200は、所定のソフトウエアがインストールされると、そのソフトウエアに応じて、既に説明された様々な手段のうちの少なくとも1つの手段を実現可能になる。
【0058】
また、これらの処理を実現するプログラムは、コンピュータで読み出し可能な所定の記録媒体に記録して頒布することが可能である。これらの記録媒体には、これらに限定されるものではないが、ハードディスク、フロッピィディスク、および磁気テープといった磁気媒体、CD−ROMおよびDVD−ROMといった光学媒体、フロプティカルディスクといった磁気光学媒体、この他にプログラム命令を実行または格納するように特別に配置された、例えばRAM、ROM、および半導体不揮発性メモリといったハードウエアデバイスが含まれる。
【0059】
本実施の形態では、番線消去の処理をソフトウエアによって実現する場合に例示しながら説明するけれども、この処理は専用のハードウエアによっても実現される。
【0060】
例えば、記録媒体は、コンピュータ読み取り可能であって、1または複数の番線と設計図形とを表す図面データから少なくとも1つの番線を除いてターゲットデータを生成することをコンピュータに実行させるためのプログラムを記録している。このプログラムは、(a)アレイを構成するようにアドレス指定されディスプレイに表示するためのデータを格納する複数の記憶要素に図形データの少なくとも一部を格納する処理と、(b)少なくとも1つの番線に対応する情報を複数の記憶要素において検出する処理と、(c)検出された番線を表示データから除くように記憶要素におけるデータを変更してターゲットデータを生成する処理とを有する。
【0061】
好適な実施の形態において本発明の原理を図示し説明してきたが、本発明は、そのような原理から逸脱することなく配置および詳細において変更できることが、当業者によって認識される。例えば、本発明は、行毎に単一の記憶要素が配列されている場合に限らず、行毎に複数の記憶要素が配列されているような場合にも適用され、列についても同様であるように変更される。したがって、特許請求の範囲およびその精神の範囲から来る全ての修正および変更に権利を請求する。
【0062】
【発明の効果】
以上詳細に説明したように、番線と設計図形とを表す図面データから少なくとも1つの番線を除くためのデータ処理装置、ターゲットデータを生成する方法、コンピュータで読み出し可能な媒体、およびプログラムが提供された。
【図面の簡単な説明】
【図1】図1(a)〜図1(e)は、この方法およびデータ処理装置おける主要な機能を示すため模式図である。
【図2】図2は、実施の形態に係わるデータ処理装置をブロック図である。
【図3】図3は、画像記憶手段24の構造を示す図面である。
【図4】図4は、別の実施の形態に係わるデータ処理装置をブロック図である。
【図5】図5は、処理されるべき表示データが表示されている番線消去ツールの表示画像を示す図面である。
【図6】図6は、処理された表示データが表示されている番線消去ツールの表示画像を示す図面である。
【図7】図7は、別の実施の形態に係わるデータ処理装置をブロック図である。
【図8】図8は、別の実施の形態に係わるデータ処理装置をブロック図である。
【図9】図9は、別の実施の形態に係わるデータ処理装置をブロック図である。
【図10】図10は、別の実施の形態に係わるデータ処理装置をブロック図である。
【図11】図11は、本実施の形態に係わる方法に係わるフローチャートを示す。
【図12】図12は、本実施の形態に係わる方法に係わるフローチャートを示す。
【図13】図13は、本実施の形態に係わる方法に係わるフローチャートを示す。
【図14】図14は、データ処理装置が持つ主要な機能を示す図面である。
【図15】図15は、データ処理装置を構成するためのハードウエアの構成図である。
【符号の説明】
1…ウインドウ、3…設計図形、5、7…番線、10、12、14、16、18、20…データ処理装置、22…ディスプレイ、24…画像記憶手段、24a…記憶要素、26…検出手段、28…変更手段、30…格納手段、50…番線消去ツール、52…処理画像領域[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus, a method for generating target data, a computer-readable medium, and a program.
[0002]
[Prior art]
Various industrial products have been designed on a computer, and the design data has been stored on the computer. On the other hand, computers are connected via a network. In such a network environment, there are increasing opportunities to reuse design data when presenting the results of technological development and creating design reports. The design data includes the original design figure and the number line.
[0003]
[Problems to be solved by the invention]
When the design data is reused, information on the design figure is required, and the number lines included in the design data are rather unnecessary data.
[0004]
However, since the design CAD tool does not consider such reuse much, it does not include a utility for deleting the number line from the design data. That is, a data processing apparatus that can promote the reuse of design data is desired.
[0005]
The inventor has made various studies in order to meet such demands. During this study, the characteristics of the wire were found. The feature is that the number line extends in the vertical and horizontal directions, and extends from one side of the display window to the other side. By using these features, we proceeded with the study to delete the number lines from the design data.
[0006]
SUMMARY OF THE INVENTION An object of the present invention is to provide a data processing device for removing at least one number line from drawing data representing a number line and a design figure, a method for generating target data, a computer-readable medium, and a program. It was.
[0007]
[Means for Solving the Problems]
One aspect of the present invention relates to a data processing apparatus. The data processing device operates to remove at least one number line from drawing data representing one or more number lines and a design figure. The data processing apparatus includes image storage means, detection means, change means, and a display. The image storage means has a plurality of storage elements addressed to form an array and operates to store graphic data. The detection means operates to detect at least one number line in the image storage means. The changing means operates to change data in the image storage means so as to remove the detected number line from the display data. The display displays data stored in the image storage means. This display may be performed in a dot display format.
In the data processing apparatus, the storage element of the image storage means stores first attribute information for indicating the number line and the design figure. The detection means is included in the other of the row and the column when the first attribute information is found by examining the attribute information stored in the storage element included in one of the row and the column in the image storage means The attribute information stored in the storage element is examined to determine whether or not the first attribute information is related to the number line.
In the data processing apparatus, the storage element of the image storage means stores first attribute information for indicating the number line and the design figure. The detection means is a first means for detecting the first attribute information stored in the storage element included in one of a row and a column in the image storage means, and the first means is the first means for detecting the first attribute information. When one attribute information is detected, to determine whether or not the first attribute information is stored in the storage elements at at least two positions included in the other of the row and the column Second means, and third means for making a determination that a line is provided along the other of the row and the column if the determination in the second means is affirmative.
[0008]
Since a desired portion of the graphic data is stored in the image storage means, a number line existing in the desired portion of the graphic data can be selectively detected and selectively deleted. Further, since the number line is detected and deleted while displaying a desired portion of the graphic data on the display, the operation of the data processing apparatus is visually confirmed.
[0009]
The data processing apparatus further includes storage means, and the storage means operates to store data corresponding to the design graphic in a predetermined storage element in the image storage means. The predetermined storage element corresponds to a position where the detected number line intersects the design figure. According to the storage means, it is possible to erase the line without losing the data of the design graphic.
[0010]
According to another aspect of the present invention, target data is obtained by removing at least one number line from drawing data representing one or more number lines and a design figure.With data processing equipmentConcerning how to generate.In this method, the target data is generated by removing at least one line data from the drawing data. This methodAnd a detecting step and a changing step. The data processing apparatus includes a plurality of storage elements addressed to form an array, a display, detection means, and modification means. Display data indicating at least part of the graphic data is stored in a plurality of storage elements. The display data is displayed on the display.The detecting step detects at least one wire in a plurality of storage elements.To do.The modification step generates target data by modifying the data in the storage element so that the detected wire is removed from the display data.To do.
In this method, the number line and the design figure are represented as a first display color on the display. The first display color corresponds to first attribute information stored in the storage element. In the detecting step, when the detecting means examines the attribute information stored in the storage element included in one of the row and the column and finds the first attribute information, the other of the row and the column The attribute information stored in the storage element included in is checked to determine whether the first attribute information is related to the number line.
In this method, the number line and the design figure are represented as the first display color on the display. The first display color corresponds to first attribute information stored in the storage element. The detection step includes first to third steps. In the first step, is the detection means storing the first attribute information in the storage element included in one of the row and the column? And in the second step, if the determination in the first step is affirmative, the detection means may detect a plurality of spaced positions included in the other of the row and the column. Determining whether the first attribute information is stored in the storage element, and, in the third step, if the determination in the second step is affirmative, the detection means A determination is made that a number line is provided along the other of the row and the column.
[0011]
Since a desired portion selected from the graphic data is displayed on the display, the operation of detecting and deleting the number line is visually confirmed according to the image on the display. Further, it is possible to selectively detect the number line existing in the area where the number line is desired to be deleted and selectively delete the number line.
[0012]
Still another aspect of the present invention relates to a method for generating target data by removing at least one number line from drawing data representing one or more number lines and a design figure, and a program for realizing a data processing apparatus. Another aspect of the present invention relates to a computer-readable medium storing the above program.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
The above and other objects, features, and advantages of the present invention will become more readily apparent from the following detailed description of preferred embodiments of the present invention, which proceeds with reference to the accompanying drawings.
[0014]
Embodiments of the present invention will be described with reference to the drawings. Where possible, the same parts are denoted by the same reference numerals. The present embodiment relates to a data processing apparatus and a method for generating target data by removing at least one number line from drawing data representing one or more number lines and a design figure.
[0015]
(First embodiment)
FIGS. 1A to 1E are schematic views for showing main functions in the method and data processing apparatus according to the present embodiment. FIGS. 1A to 1E each show a display screen of a computer.
[0016]
1A shows the design figure 3 and the numbers 5 and 7 in the window 1 displayed on the display, and FIG. 1B shows the design figure 3 in the window 1. The window 1 includes a number line 5 extending in the vertical direction and a number line 7 extending in the horizontal direction. By applying the above method to the graphic data shown in the window 1 as shown in FIG. 1A, target data is generated. As shown in FIG. 1B, the target data includes a design figure in the window 1 and does not include a number line. This method is implemented in the data processing apparatus described in the embodiments shown below.
[0017]
FIG. 1C shows number lines 5 and 7 and a design figure 9 in the window 1. FIG. 1 (d) shows a wire 5a having a portion lost when the wire 7 extending in the horizontal direction is deleted. FIG. 1E shows a number line 5 b and a design figure 9 in the window 1. In the number line 5b, the data portion lost when the number line 7 extending in the horizontal direction is deleted is restored, and thus the erasure of the number line 7 extending in the horizontal direction is completed.
[0018]
According to FIGS. 1A to 1E, the deletion of the number line and the deletion and repair of the number line are executed for the data displayed in the window.
[0019]
(Second embodiment)
FIG. 2 shows the data processing apparatus 10. The data processing apparatus 10 includes a display 22, an image storage unit 24, a detection unit 26, and a change unit 28. The image storage means 24 has a plurality of storage elements and operates to store graphic data representing one or a plurality of number lines and a design graphic. The display 22 is coupled to the image storage unit 24 and displays data stored in the image storage unit 24. This display may be performed in a dot display format. Image storage means 24 is coupled to detection means 26 and change means 28. The detection unit 26 operates to detect at least one number line in the display data stored in the image storage unit 24. The change means 26 changes the data in the image storage means 22 so as to exclude the number line detected by the detection means 24 from the display data.
[0020]
FIG. 3 shows the structure of the image storage means 24. The image storage means 24 has a plurality of storage elements 24a. These storage elements 24a are included in arrays 24b, 24c, 24d extending in the X direction and arrays 24e, 24f, 24g extending in the Y direction. In FIG. 3, a row includes a plurality of storage elements arranged along the X direction, and a column includes a plurality of storage elements arranged along the Y direction. According to this structure, the plurality of storage elements 24a are addressed to form an array. For this reason, the plurality of storage elements 24 a can correspond to the pixels on the display 22.
[0021]
The storage element of the image storage means 22 stores first attribute information for indicating the number line and the design graphic, and stores second attribute information for indicating that the number line and the design graphic do not exist. . Although not limited to the following, the first attribute information is displayed as black on the display 22, and the second attribute information is displayed as white on the display 22.
[0022]
According to the combination of the display 22, the image storage unit 24, the detection unit 26, and the change unit 28, it is possible to selectively detect a number line existing in a desired portion of the graphic data and selectively delete it.
[0023]
As shown in FIG. 4, the data processing device 12 may further include a storage unit 30 in addition to the display 22, the image storage unit 24, the detection unit 26, and the change unit 28. The storage unit 30 operates to store data corresponding to the design graphic in a predetermined storage element in the image storage unit 24. The predetermined storage element corresponds to a position where the number line detected by the detecting means intersects the design figure. As a result, the storage means 30 can erase the line without losing the design graphic data.
[0024]
In the data processing devices 10 and 12, the detection unit 26 detects that the first line is stored in at least two storage elements 24 a among the storage elements 24 a of the image storage unit 24. It may be determined that it exists along one of the columns. The at least two storage elements in FIG. 3 may be selected to include a first position storage element 24h and a second position storage element 24i spaced apart from it, and A third position storage element 24j between the first position and the second position may be included. The storage element 24h at the first position and the storage element 24i at the second position correspond to pixels provided on the upper side and the lower side of the sub window 52, respectively. Based on the discovery of data corresponding to the number line in the plurality of storage elements 24h, 24i, the position of the number line existing in the sub-window 52 is determined. According to this detection means 26, it is possible to determine in which row the number line exists, and it is also possible to determine the presence or absence of the number line in the column as well.
[0025]
5 and 6 show a window 50 displayed in the display of the data processing apparatus 10. A window 50 is provided for the line erase tool. The window 50 includes a sub window 52, a basic operation button 54, an execution button 56, and an option box 58. The sub window 52 displays display data and indicates a processing area where processing by the tool is performed. The basic operation button 54 includes a button 54a for pasting data from another window, a button 54b for copying data to another window, and an undo button 54c for undoing the processing by the tool. Including. The execution button 56 includes a button for instructing execution of processing on the data displayed in the sub-window 52, and includes a batch number deletion button 56a and a batch number deletion button 56b. The option box 58 includes a check circle for designating an option related to the direction in which the processing by the tool is executed. The choice of the direction in which the processing by the tool is executed is any one of the vertical direction, the horizontal direction, and the vertical and horizontal directions.
[0026]
Referring to FIG. 5, the sub-window 52 displays a design figure 60 and number lines 62 a to 62 d and 64 a to 64 c included in display data pasted from another application. The number lines 62a to 62d extend in the vertical direction. The number lines 64a to 64c extend in the lateral direction. Referring to FIG. 6, the design figure 60 is displayed in the sub window 52, and the number lines 62 a to 62 d and 64 a to 64 c are not shown. Therefore, the data processor 12 erases the number line from the drawing data representing one or more number lines and the design figure. Thereafter, the graphic data displayed in the sub window 52 can be copied to another window or another application by the copy button 54b.
[0027]
(Third embodiment)
FIG. 7 shows a data processing apparatus 14 according to the present embodiment. The data processing device 14 includes a display 22, an image storage unit 24, a detection unit 26, and a change unit 28. In the data processing device 14, the detection means 26 includes first to third means 26a, 26b, and 26c. The first to third means 26 a, 26 b and 26 c are coupled to the image storage means 24. According to these means 26a, 26b, and 26c, a number line is detected.
[0028]
The first means 26a detects first attribute information stored in the storage element 24a included in one of the row (X) and the column (Y) in the image storage means 22. When the first attribute information is detected by the first means 26a, the second means 26b stores the storage elements at at least two positions included in the other of the row (X) and the column (Y). It is determined whether or not the first attribute information is stored.
[0029]
The operation procedure of the first means 26a will be exemplarily described with reference to FIG. The first means 26a sequentially examines the attributes stored in the storage elements arranged in the row (X axis) 66 in FIG. First, the first means 26a first detects the first attribute information stored in the storage element 66a. Information about the detected column is stored in the storage means 26d. Based on the information in the storage means 26d, the second means 26b checks whether or not the first attribute information is stored in a plurality of storage elements separated in this column, for example, two storage elements. . The second means 26b stores the investigation result for this column in the storage means 26e. The third means 26c makes a determination (positive determination) that there is a number line in this column based on the contents of the storage means 26e.
[0030]
The first means 26a then detects the first attribute information stored in the storage element 66b. However, the second means 26b stores the result indicating that the first attribute information cannot be found at two spaced points in the second storage means 26e. The third means 26c does not respond to this result. Subsequently, the first means 26a detects the first attribute information stored in the storage element 66c. The second means 26b stores the result that the first attribute information is also stored at two spaced points in the second storage means 26e. In response to this result, the third means 26c makes a determination that a number line exists in this column. Such a procedure is executed for the storage elements 66d and 66e.
[0031]
Next, the procedure in the image storage means 24 for finding the storage element 66a will be described with reference to FIG. The first means 26a sequentially examines the attribute information in the storage elements arranged in the first array 24b of the image storage means 22. The first row 24b corresponds to the uppermost pixel row of the subwindow 52 of FIG. During this investigation, the first means 26a detects that the first attribute information is stored in the storage element 24h (corresponding to the storage element 66a in FIG. 5).
[0032]
Next, since the first attribute information is stored in the storage element 24h, the second means 26b is arranged in the first column 24k of the image storage means 22 or the attribute information in the plurality of storage elements 24i. Check in order. The second means 26b examines the storage elements 24h and 24i (in addition to the storage element 24j) arranged in the first column 24k, and the first attribute information is stored in these storage elements. Get information. Then, the second means 26b makes a positive determination that the first attribute information is stored in the plurality of storage elements 24h and 24i (in addition, the storage element 24j).
[0033]
Subsequently, based on the contents of the storage means 26e, the third means 26c gives the storage means 26e that the first attribute information corresponding to the number line is stored in the column 24k.
[0034]
According to the detecting means 26a to 26c, after checking the presence or absence of the first attribute information regarding the row, it is checked whether or not there is a number line in the column in which the first attribute information is stored. This procedure allows you to discover that there is a number line in this column, as well as discovering that a number line exists in the row. In addition, this procedure simplifies the procedure for finding the number lines by utilizing the feature that the number lines extend across the window along at least one of the rows and columns in the graphic data.
[0035]
(Fourth embodiment)
FIG. 8 shows a data processing apparatus 16 according to this embodiment. The data processing device 16 includes a display 22, an image storage unit 24, a detection unit 26, a change unit 28, and a storage unit 30. In the data processing device 16, the changing means 28 includes the fourth means 28a, and the storage means 30 includes the fifth means 30a. The fourth means 28a and the fifth means 30a are each coupled to the image storage means 24. According to these means 28a and 30a, the number line is deleted, and the deleted design figure is restored.
[0036]
In the data processing device 16, the fourth means 28a stores the second attribute information in the storage element corresponding to the detected number line. The fifth means 30a stores the first attribute information in the storage element corresponding to the part where the detected number line and the design figure intersect.
[0037]
This procedure will be exemplarily described with reference to FIG. A positive decision has been made regarding the first sequence 24k. Information indicating the array 24k is stored in the storage unit 28b. The fourth means 28a stores the second attribute information in the array 24k based on the contents of the storage means 28b. Thus, the second attribute information indicating that there is no number line is stored in the storage element included in the array 24k. However, the first attribute information was stored in the storage elements 24j, 24l, and 24m as design figures, but the storage content of the storage element 24j was changed to the first attribute information. Therefore, the fifth means 30a stores the first attribute information in the storage element 24j based on the information stored in the storage means 28b. The storage element 24j corresponds to a portion where the number line and the design figure intersect. According to these means, after the number line is deleted, the design figure deleted along with this is restored.
[0038]
(Fifth embodiment)
FIG. 9 shows a data processing apparatus 18 according to this embodiment. The data processing device 18 includes a display 22, an image storage unit 24, a detection unit 26, a change unit 28, and a storage unit 30. In the data processing device 18, the storage means 30 includes sixth means 30b and seventh means 30c. The sixth means 30a and the seventh means 30b are each coupled to the image storage means 24. According to these means 30b and 30c, a specific procedure for restoring the deleted design figure is shown.
[0039]
This procedure will be exemplarily described with reference to FIG. The sixth means 30a determines whether or not the first attribute information is stored in the storage elements 24l and 24m. The sixth means 30a repeats this determination for the storage elements included in the column 24k. The storage elements 24l and 24m are adjacent to the storage element 24j changed by the changing means 28. The changed storage element 24j is included in the column (Y) 24k, but the storage elements 24l and 24m are arranged in the row (X) direction. According to this means, a predetermined storage element (for example, storage element 24l, 24m) adjacent to a group of storage elements (for example, storage element 24j) in which the second attribute information is stored stores the first storage element. It is possible to obtain information on whether or not When the sixth means 30b makes a positive determination that the data related to the design figure is stored in the storage elements 24l and 24m adjacent to the storage element 24j related to the number line, the address of the corresponding storage element is set. While being stored in the storage means 30d, an affirmative decision is given to the seventh means 30c. If the determination in the sixth means 30b is affirmative, the seventh means 30c stores the first attribute information in the storage element 24j based on the contents of the storage means 30d. The storage element 24j is changed by the changing means 28, and is located between the storage elements 24l and 24m related to the determination in the sixth means 30b. According to the means 30b and 30c, the design figure lost when the number line is deleted is restored.
[0040]
(Sixth embodiment)
FIG. 10 shows a data processing apparatus 20 according to this embodiment. The data processing device 20 includes a display 22, an image storage unit 24, a detection unit 26, and a change unit 28. In the data processing device 20, the detection means includes eighth to tenth means 26f, 26g, and 26h in addition to the first to third means 26a, 26b, and 26c. The first to third means 26a, 26b, and 26c can delete the number line related to one of the row and the column, and the eighth to tenth means 26f, 26g, and 26h can delete the number line related to the other of the row and the column.
[0041]
The operation of the eighth to tenth means 26f, 26g, and 26h will be exemplarily described with reference to FIG. The eighth means 26f examines the attribute information in the storage elements arranged in the first array 24e of the image storage means 22 in order. The first row 24b corresponds to the leftmost pixel row of the subwindow 52 in FIG. 4, and the row 24g corresponds to the rightmost side. At the time of this investigation, the eighth means 26f detects that the first attribute information is stored in the storage element 24n. The eighth means 26g stores the address of the storage element 24n in the storage means 26i.
[0042]
Next, since the first attribute information is stored in the storage element 24n, the ninth means 26g obtains the attribute information of the storage element 24q at the other end arranged in the first row 24p of the image storage means 22. Investigate. The ninth means 26g examines the storage elements 24p, 24q arranged in the first row 24p, and as a result, obtains information that the first attribute information is stored in these storage elements. The storage elements 24p, 24q are preferably located at both ends of each row. In response to this, the ninth means 26g makes a positive determination that the first attribute information is stored in the plurality of storage elements 24p, 24q. The ninth means 26g stores the result of the investigation for the row (positive determination regarding the storage elements 24p and 24q) in the storage means 26j. Subsequently, the tenth means 26h makes a determination that a number line exists in this column based on the contents of the storage means 26j.
[0043]
According to these means 26f to 26h, after checking the presence or absence of the first attribute information regarding the column, it is checked whether or not there is a line in the row including the storage element storing the first attribute information. ing. Also in this procedure, the procedure for finding the number line can be simplified by utilizing the feature that the number line is arranged along at least one of the row and the column in the graphic data. By means of the first to third means 26a, 26b, 26c and the eighth to tenth means 26f, 26g, 26h, it is possible to discover that there is a number line in this column, and likewise that there is a number line in the row. .
[0044]
(Seventh embodiment)
FIG. 11 is a flowchart relating to a method of generating target data by removing at least one number line from drawing data representing one or more number lines and a design figure. As a result of applying this method, the line data is removed from the drawing data in the target data. The flowchart 80 includes a reading step 82, a display step 84, an erasing step 86, and a saving step 88.
[0045]
In the reading step 82, the design data is read and stored in the memory of the data processing apparatus already described. In the display step 84, display data indicating at least a part of the graphic data is stored in the image storage unit 24, and the display data is displayed on the display 22. In the erasing step 86, after detecting at least one number line in the plurality of storage elements in the image storage unit 24, the data in the storage element is changed so that the detected number line is excluded from the display data. As a result, target data is generated. In the saving step 88, the generated target data is stored in the memory of the data processing device.
[0046]
The storage element of the image storage means 24 stores first attribute information for indicating a number line and a design figure, and the first attribute information is represented as a first display color on the display 22. In addition, the storage element stores second attribute information to indicate that the number line and the design figure do not exist, and the second attribute information is represented as a second display color on the display. For example, the first display color is black and the second display color is white.
[0047]
According to the method shown in the flowchart 80, since a desired portion selected from the graphic data is displayed on the display, the number line existing in the region where the number line is desired to be deleted can be selectively detected and selectively deleted. Further, if a desired area is displayed on the display, the operation of detecting and deleting the number line can be visually confirmed.
[0048]
An erasure step 86 is applied sequentially to the rows and columns to detect the number lines. The erasing step 86 includes at least a first position (24h in FIG. 3) of storage elements arranged along the column and a second position (24i in FIG. 3) spaced from the first position, for example. When the first attribute information is stored in two places, it is determined that a number line is provided along this column. Since the display data is stored in the storage elements arranged in rows and columns, the detection of the number line is facilitated.
[0049]
Subsequently, the procedure for detecting such a number line will be described with reference to FIG. In this method, the erasing step 86 includes the following steps. In the row search step 86a, the attribute information of the storage elements arranged along the row (row 24b in FIG. 3) is examined, and in the row determination step 86b, each storage element (for example, the storage element 24h in FIG. 3) is checked. It is checked whether or not the first attribute information is stored. If the first attribute information cannot be found, control returns to row search step 86a. Here, it is assumed that a determination (positive determination) is made that the first attribute information is stored in the storage element (storage element 24h) in the row determination step 86b. In column search step 86c, in response to a positive determination, the attribute information of storage elements 24h, 24i at two positions spaced along the column (storage element 24k in FIG. 3) is examined. In the column determination step 86d, it is determined whether or not the first attribute information is stored in each storage element (for example, the storage element 24i in FIG. 3). If the first attribute information cannot be found, control returns to the column search step 86a. Here, it is assumed that a determination (positive determination) is made that the first attribute information is stored in the storage element (storage elements 24h, 24i) in the column determination step 86d. Based on the determination in the column determination step 86d, in the determination step 86e, it is determined that a number line is provided along the column (array 24k). In response to this determination, the column number line deletion step 86f stores the second attribute information along the column (array 24k).
[0050]
In these steps, after examining the storage elements along one of the rows and columns, the storage elements are examined along the other of the rows and columns. For this reason, detection of a number line becomes easy.
[0051]
FIG. 12 shows a flowchart of the changing step 90. According to the change step 90, a part of the design data deleted in the column number line deletion step 86f can be restored. The change step 90 includes an intersection detection step 92 and a repair step 94. The intersection detection step 92 detects a position where the detected number line intersects the design figure. The restoration step 94 stores the attribute information corresponding to the design figure in the storage element corresponding to the detected position. According to these steps, the number lines can be erased without losing a part of the design figure.
[0052]
An example of a procedure for executing this data restoration includes an adjacent data examining step 92a and an adjacent data determining step 92b. The case where these steps are applied to the column 24k will be described with reference to FIG. In the adjacent data examining step 92a, the attribute information of the storage elements (storage elements 24l and 24m with respect to the storage element 24j) adjacent to each storage element (for example, the storage element 24j) in the column 24k is checked. In the adjacent data determination step 92b, it is determined whether or not the first attribute information is stored in the storage elements 24l and 24m. If this determination is affirmative, in step 94, the first attribute information is stored in the storage element 24j located between the storage elements 24l and 24m. If this determination is negative, the process returns to step 92a. According to these steps, a storage element that needs to be repaired can be detected, and the design figure can be repaired based on this detection.
[0053]
Further, FIG. 13 shows a flowchart of the erasing step 86. In FIG. 13, the erase step 86 is applied to the columns after being applied to the rows to detect the numbered lines.
[0054]
Subsequently, the flowchart of FIG. 13 will be described with reference to FIG. In this method, the erasing step 86 further includes the following steps in addition to FIG. In the column search step 86g, the attribute information of the storage elements arranged along the column 24n is checked, and in the column determination step 86h, the first attribute information is stored in each storage element (for example, the storage element 24p in FIG. 3). Determine whether or not If the first attribute information cannot be found, control returns to the column search step 86g. Here, it is assumed that a determination (positive determination) is made that the first attribute information is stored in the storage element 24p in the column determination step 86h. In line search step 86i, in response to a positive determination, the attribute information of storage elements 24p, 24q at two locations spaced along line 24n is examined. In the row determination step 86j, it is determined whether or not the first attribute information is stored in each storage element (for example, the storage element 24q in FIG. 3). If the first attribute information cannot be found, control returns to the column search step 86g. Here, it is assumed that a determination (positive determination) is made that the first attribute information is stored in the storage elements 24p and 24q in the row determination step 86j. Based on the determination in the row determination step 86j, in the determination step 86k, it is determined that a number line is provided along the row 24n. In response to this determination, in the row number line deletion step 86l, the second attribute information is stored along the row 24n. In addition to steps 86a-86f, according to steps 86g-86l, it can be found that there are numbers in both rows and columns.
[0055]
The method for generating target data and the data processing apparatus have been described with reference to FIGS. 14 (a) to 14 (e) show several functions that can be implemented in this method and data processing apparatus. 14A to 14E, the design figure 3 and the numbered lines 5 and 7 are shown in the window 1 showing the outer frame of the display data. FIG. 14A illustrates a function of detecting and deleting a number line extending in the row direction. FIG. 14B illustrates a function of detecting and deleting a number line extending in the column direction. FIG. 14C illustrates the function of detecting and deleting the number line extending in the row direction and repairing the design figure. FIG. 14D illustrates the function of detecting and deleting the number line extending in the column direction and repairing the design figure. FIG. 14E illustrates a function of detecting and deleting graphic data in an area defined by four points.
[0056]
FIG. 15 shows a data processing apparatus 200 that can execute a program. Referring to FIG. 15, the data processing apparatus 200 may include an input device 210, a memory unit 220, a processor 230, a display device 240 such as a display, and an output device 250. The display device 240 includes a pixel 240a, and each pixel is associated with each storage element of the image storage means. The data processing device 200 can be connected to a data processing device 270 such as another computer via the network 260. The input device 210 may include one or more of a keyboard, a data reading device from a recording medium, and a pointing device. The processor 230 can execute a program stored in the memory unit 220. By this execution, some steps described so far are realized on the data processing device 200. The target data can be displayed on the display device 240 and can be output via the output device 250. The output device can include one or more of a printer, a recording medium writing device, and the like.
[0057]
When predetermined software is installed, the data processing apparatus 200 can realize at least one of various means described above according to the software.
[0058]
A program for realizing these processes can be recorded and distributed on a predetermined computer-readable recording medium. These recording media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVD-ROMs, and magneto-optical media such as floppy disks. Other hardware devices, such as RAM, ROM, and semiconductor non-volatile memory, specifically arranged to execute or store program instructions are included.
[0059]
In the present embodiment, the processing for erasing the numbered line will be described by way of example when it is realized by software, but this processing is also realized by dedicated hardware.
[0060]
For example, the recording medium is computer readable and records a program for causing the computer to generate target data by removing at least one number line from drawing data representing one or more number lines and design figures. is doing. The program includes: (a) storing at least a portion of graphic data in a plurality of storage elements that store data to be addressed and displayed on a display to form an array; and (b) at least one number line And (c) a process of generating target data by changing data in the storage element so as to remove the detected number line from the display data.
[0061]
While the principles of the invention have been illustrated and described in preferred embodiments, those skilled in the art will recognize that the invention can be modified in arrangement and detail without departing from such principles. For example, the present invention is not limited to a case where a single storage element is arranged for each row, but is also applied to a case where a plurality of storage elements are arranged for each row, and the same applies to columns. Will be changed as follows. We therefore claim all modifications and changes that come within the scope and spirit of the following claims.
[0062]
【The invention's effect】
As described above in detail, a data processing apparatus for removing at least one number line from drawing data representing a number line and a design figure, a method for generating target data, a computer-readable medium, and a program are provided. .
[Brief description of the drawings]
FIG. 1 (a) to FIG. 1 (e) are schematic views showing main functions in this method and data processing apparatus.
FIG. 2 is a block diagram of a data processing apparatus according to the embodiment.
FIG. 3 is a drawing showing the structure of image storage means 24;
FIG. 4 is a block diagram of a data processing apparatus according to another embodiment.
FIG. 5 is a drawing showing a display image of a number erasing tool on which display data to be processed is displayed.
FIG. 6 is a view showing a display image of a number erasing tool on which processed display data is displayed.
FIG. 7 is a block diagram of a data processing apparatus according to another embodiment.
FIG. 8 is a block diagram of a data processing apparatus according to another embodiment.
FIG. 9 is a block diagram of a data processing apparatus according to another embodiment.
FIG. 10 is a block diagram of a data processing apparatus according to another embodiment.
FIG. 11 is a flowchart relating to a method according to the present embodiment;
FIG. 12 is a flowchart relating to a method according to the present embodiment;
FIG. 13 is a flowchart relating to a method according to the present embodiment;
FIG. 14 is a diagram illustrating main functions of the data processing apparatus.
FIG. 15 is a hardware configuration diagram for configuring a data processing apparatus;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Window, 3 ... Design figure, 5, 7 ... Number line, 10, 12, 14, 16, 18, 20 ... Data processing device, 22 ... Display, 24 ... Image storage means, 24a ... Storage element, 26 ... Detection means , 28... Changing means, 30... Storing means, 50.
Claims (14)
アレイを構成するようにアドレス指定された複数の記憶要素を有し前記図面データを格納するための画像記憶手段と、
前記画像記憶手段に格納されている表示データを表示可能なディスプレイと、
少なくとも1つの番線を前記画像記憶手段において検出するための検出手段と、
前記検出された番線を前記表示データから除くように前記画像記憶手段におけるデータを変更するための変更手段と
を備え、
前記画像記憶手段の前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納された属性情報を調べて第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する、データ処理装置。A data processing apparatus for removing at least one number line from drawing data representing one or more number lines and a design figure,
Image storage means for storing said drawing data having a plurality of storage elements addressed to form an array;
A display capable of displaying display data stored in the image storage means;
Detecting means for detecting at least one number line in the image storage means;
Changing means for changing the data in the image storage means so as to remove the detected number line from the display data ;
The storage element of the image storage means stores first attribute information for indicating the number line and the design figure,
The detection means is included in the other of the row and the column when the first attribute information is found by examining the attribute information stored in the storage element included in one of the row and the column in the image storage means the attribute information of the first examining the attribute information stored in the storage elements that determine whether or not the connection with the track number, the data processing device.
アレイを構成するようにアドレス指定された複数の記憶要素を有し前記図面データを格納するための画像記憶手段と、
前記画像記憶手段に格納されている表示データを表示可能なディスプレイと、
少なくとも1つの番線を前記画像記憶手段において検出するための検出手段と、
前記検出された番線を前記表示データから除くように前記画像記憶手段におけるデータを変更するための変更手段と
を備え、
前記画像記憶手段の前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納されている前記第1の属性情報を検出するための第1の手段、前記第1の手段において前記第1の属性情報が検出された場合、前記行および前記列の他方に含まれる隔置された少なくとも2つの位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定するための第2の手段、および前記第2の手段における決定が肯定的である場合、前記行および前記列の他方に沿って番線が設けられているという決定を行うための第3の手段を含む、データ処理装置。A data processing apparatus for removing at least one number line from drawing data representing one or more number lines and a design figure,
Image storage means for storing said drawing data having a plurality of storage elements addressed to form an array;
A display capable of displaying display data stored in the image storage means;
Detecting means for detecting at least one number line in the image storage means;
Changing means for changing the data in the image storage means so as to remove the detected number line from the display data ;
The storage element of the image storage means stores first attribute information for indicating the number line and the design figure,
The detection means is a first means for detecting the first attribute information stored in the storage element included in one of a row and a column in the image storage means, and the first means is the first means for detecting the first attribute information. When one attribute information is detected, to determine whether or not the first attribute information is stored in the storage elements at at least two positions included in the other of the row and the column Second means, and if the determination in the second means is affirmative, includes third means for making a determination that a line is provided along the other of the row and the column , Data processing device.
前記格納手段は、前記検出された番線と前記設計図形とが交差する部位に対応する前記記憶要素に前記第1の属性情報を格納するための第5の手段を含む、請求項3に記載のデータ処理装置。The changing means includes a fourth means for storing the second attribute information indicating that the track number and the design shape is not present in the storage element corresponding to the detected track number,
Said storage means includes a fifth means for said detected track number and the design figure storing the first attribute information in the storage element corresponding to the site that crosses, according to claim 3 Data processing device.
前記検出手段が少なくとも1つの番線を前記アレイ状の記憶要素において検出する検出ステップと、
前記変更手段が前記検出された番線を前記表示データから除くように前記記憶要素におけるデータを変更してターゲットデータを生成する変更ステップとを備え、
前記番線および前記設計図形は、前記ディスプレイにおいて第1の表示色として表され、前記第1の表示色は前記記憶要素に格納された第1の属性情報に対応し、
前記検出ステップでは、前記検出手段が、前記行および前記列の一方に含まれる前記記憶要素に格納された属性情報を調べて前記第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する、方法。A method of generating target data using a data processing device by removing at least one number line from drawing data representing one or more number lines and a design figure, wherein the target data is at least one number line from the drawing data The data processing device is generated by removing data, and the data processing device includes a plurality of storage elements addressed to form an array, a display, detection means, and change means, and at least the graphic data Display data indicating a part is stored in the plurality of storage elements, the display data is displayed on the display,
A detecting step in which the detecting means detects at least one number line in the array-shaped storage element;
A change step of generating target data by changing data in the storage element so that the change means excludes the detected number line from the display data ;
The numbered line and the design figure are represented as a first display color on the display, and the first display color corresponds to first attribute information stored in the storage element,
In the detecting step, when the detecting means examines the attribute information stored in the storage element included in one of the row and the column and finds the first attribute information, the other of the row and the column the attribute information by examining the attribute information stored in the storage element first is that determine whether or not the connection with the track number, the method contained in the.
前記検出手段が、少なくとも1つの番線を前記アレイ状の記憶要素において検出する検出ステップと、
前記変更手段が前記検出された番線を前記表示データから除くように前記記憶要素におけるデータを変更してターゲットデータを生成する変更ステップとを備え、
前記番線および前記設計図形は、前記ディスプレイにおいて第1の表示色として表され、前記第1の表示色は前記記憶要素に格納された第1の属性情報に対応し、
前記検出ステップは、第1〜第3のステップを含み、第1のステップでは、前記検出手段が、前記行および前記列の一方に含まれる前記記憶要素に前記第1の属性情報が格納されているか否かを決定し、前記第2のステップでは、前記第1のステップにおける決定が肯定的である場合、前記検出手段が、前記行および前記列の他方に含まれる隔置された複数の位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定し、および、前記第3のステップでは、前記第2のステップにおける決定が肯定的である場合、前記検出手段が、前記行および前記列の他方に沿って番線が設けられているという決定を行う、方法。 A method of generating target data using a data processing device by removing at least one number line from drawing data representing one or more number lines and a design figure, wherein the target data is at least one number line from the drawing data The data processing device is generated by removing data, and the data processing device includes a plurality of storage elements addressed to form an array, a display, detection means, and change means, and at least the graphic data Display data indicating a part is stored in the plurality of storage elements, the display data is displayed on the display,
A detecting step in which the detecting means detects at least one number line in the array-shaped storage element;
A change step of generating target data by changing data in the storage element so that the change means excludes the detected number line from the display data;
The numbered line and the design figure are represented as a first display color on the display, and the first display color corresponds to first attribute information stored in the storage element,
The detection step includes first to third steps. In the first step, the detection means stores the first attribute information in the storage element included in one of the row and the column. And in the second step, if the determination in the first step is affirmative, the detecting means includes a plurality of spaced positions included in the other of the row and the column. Determining whether the first attribute information is stored in the storage element, and in the third step, if the determination in the second step is affirmative, the detection means includes: A method of making a determination that a number line is provided along the other of the row and the column .
アレイを構成するようにアドレス指定されディスプレイに表示するためのデータを格納する複数の記憶要素に前記図形データの少なくとも一部を格納するための画像記憶手段と、
少なくとも1つの番線に対応する情報を前記アレイ状の記憶要素において検出するための検出手段と、
前記検出された番線を前記表示データから除くように前記記憶要素におけるデータを変更してターゲットデータを生成するための変更手段として機能させるためのプログラムを記録したコンピュータ読み取り可能な記憶媒体であって、
前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納された属性情報を調べて第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する、コンピュータ読み取り可能な記憶媒体。A computer for generating target data by removing at least one number line from drawing data representing one or more number lines and a design figure ;
Image storage means for storing at least a portion of the graphic data in a plurality of storage elements that are addressed to form an array and store data for display on a display;
Detecting means for detecting in the array-shaped storage element information corresponding to at least one number line;
A computer-readable storage medium having recorded thereon a program for functioning as a changing means for generating target data by changing data in the storage element so as to remove the detected number line from the display data ,
The storage element stores first attribute information for indicating the number line and the design figure,
The detection means is included in the other of the row and the column when the first attribute information is found by examining the attribute information stored in the storage element included in one of the row and the column in the image storage means A computer readable storage medium that examines attribute information stored in the storage element to determine whether the first attribute information is associated with a number line .
アレイを構成するようにアドレス指定されディスプレイに表示するためのデータを格納する複数の記憶要素に前記図形データの少なくとも一部を格納するための画像記憶手段と、
少なくとも1つの番線に対応する情報を前記アレイ状の記憶要素において検出するための検出手段と、
前記検出された番線を前記表示データから除くように前記記憶要素におけるデータを変更してターゲットデータを生成するための変更手段として機能させるためのプログラムを記録したコンピュータ読み取り可能な記憶媒体であって、
前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納されている前記第1の属性情報を検出するための第1の手段、前記第1の手段において前記第1の属性情報が検出された場合、前記行および前記列の他方に含まれる隔置された少なくとも2つの位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定するための第2の手段、および前記第2の手段における決定が肯定的である場合、前記行および前記列の他方に沿って番線が設けられているという決定を行うための第3の手段を含む、コンピュータ読み取り可能な記憶媒体。 A computer for generating target data by removing at least one number line from drawing data representing one or more number lines and a design figure;
Image storage means for storing at least a portion of the graphic data in a plurality of storage elements that are addressed to form an array and store data for display on a display;
Detecting means for detecting in the array-shaped storage element information corresponding to at least one number line;
A computer-readable storage medium having recorded thereon a program for functioning as a changing means for generating target data by changing data in the storage element so as to remove the detected number line from the display data,
The storage element stores first attribute information for indicating the number line and the design figure,
The detection means is a first means for detecting the first attribute information stored in the storage element included in one of a row and a column in the image storage means, and the first means is the first means for detecting the first attribute information. When one attribute information is detected, to determine whether or not the first attribute information is stored in the storage elements at at least two positions included in the other of the row and the column Second means, and if the determination in the second means is affirmative, includes third means for making a determination that a line is provided along the other of the row and the column, A computer-readable storage medium .
前記画像記憶手段の前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納された属性情報を調べて第1の属性情報を発見したとき、前記行および前記列の他方に含まれる前記記憶要素に格納された属性情報を調べて該第1の属性情報が番線に関連しているか否かを決定する、プログラム。Stores data for display on a display that is addressed to form an array for generating target data by removing at least one number line from drawing data representing one or more number lines and design figures Image storage means for storing at least part of the graphic data in a plurality of storage elements, detection means for detecting information corresponding to at least one number line in the array-shaped storage elements, and the detected A program for functioning as a changing means for generating target data by changing data in the storage element so as to exclude a number line from the display data ,
The storage element of the image storage means stores first attribute information for indicating the number line and the design figure,
The detection means is included in the other of the row and the column when the first attribute information is found by examining the attribute information stored in the storage element included in one of the row and the column in the image storage means A program for examining attribute information stored in the storage element and determining whether the first attribute information is related to a line .
して機能させるためのプログラムであって、A program to make it function,
前記記憶要素は、前記番線および前記設計図形を示すために第1の属性情報を格納しており、The storage element stores first attribute information for indicating the number line and the design figure,
前記検出手段は、前記画像記憶手段における行および列の一方に含まれる前記記憶要素に格納されている前記第1の属性情報を検出するための第1の手段、前記第1の手段において前記第1の属性情報が検出された場合、前記行および前記列の他方に含まれる隔置された少なくとも2つの位置の前記記憶要素に前記第1の属性情報が格納されているか否かを決定するための第2の手段、および前記第2の手段における決定が肯定的である場合、前記行および前記列の他方に沿って番線が設けられているという決定を行うための第3の手段を含む、プログラム。The detection means is a first means for detecting the first attribute information stored in the storage element included in one of a row and a column in the image storage means, and the first means is the first means for detecting the first attribute information. When one attribute information is detected, to determine whether or not the first attribute information is stored in the storage elements at at least two positions included in the other of the row and the column Second means, and if the determination in the second means is affirmative, includes third means for making a determination that a line is provided along the other of the row and the column, program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001124586A JP4302907B2 (en) | 2001-04-23 | 2001-04-23 | Data processing apparatus, method for generating target data, computer-readable medium, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001124586A JP4302907B2 (en) | 2001-04-23 | 2001-04-23 | Data processing apparatus, method for generating target data, computer-readable medium, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002318822A JP2002318822A (en) | 2002-10-31 |
| JP4302907B2 true JP4302907B2 (en) | 2009-07-29 |
Family
ID=18973948
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001124586A Expired - Fee Related JP4302907B2 (en) | 2001-04-23 | 2001-04-23 | Data processing apparatus, method for generating target data, computer-readable medium, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4302907B2 (en) |
-
2001
- 2001-04-23 JP JP2001124586A patent/JP4302907B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002318822A (en) | 2002-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06274586A (en) | Displaying system | |
| CN101187932A (en) | The device that stores the selected area in the image and the device that creates the image file at the same time | |
| JP4302907B2 (en) | Data processing apparatus, method for generating target data, computer-readable medium, and program | |
| CN116009737A (en) | Cell image processing system and cell image processing method | |
| JP5330714B2 (en) | Search support device and search support program | |
| CN113836878B (en) | Table generation method, device, electronic device and storage medium combining RPA and AI | |
| JP4841457B2 (en) | Image processing apparatus and image processing program | |
| JP4585174B2 (en) | Land ownership processing support system | |
| JP4782577B2 (en) | Map processing system | |
| JP3128899B2 (en) | Mapping method | |
| JP3866810B2 (en) | Graphic processing device | |
| JP2585311B2 (en) | How to create a program | |
| JP2634905B2 (en) | How to paint shapes | |
| JP3666921B2 (en) | Document information copying apparatus and document information copying method | |
| JPH0594511A (en) | Image processing device | |
| KR100597963B1 (en) | Compensation Management System | |
| JPS6360671A (en) | Image processing device and method | |
| JP3209022B2 (en) | Character image layout device | |
| JP2636472B2 (en) | Hierarchical data placement device | |
| JP2001021357A (en) | Method and apparatus for drafting geographic information | |
| JP2005038164A (en) | Manga editing device, manga editing program, manga editing method | |
| JPH07152891A (en) | Map input method and device, and map data creation device | |
| JP2007243442A (en) | Image processing apparatus, image processing method, and image processing program | |
| JP2000122770A (en) | Graphic display method of sorted files | |
| JP4760997B2 (en) | Image processing apparatus, image processing method, and image processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060330 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081202 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090202 |
|
| 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: 20090421 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090423 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120501 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090202 |
|
| LAPS | Cancellation because of no payment of annual fees |