JP3603774B2 - CAD data display device, method and computer-readable recording medium - Google Patents
CAD data display device, method and computer-readable recording medium Download PDFInfo
- Publication number
- JP3603774B2 JP3603774B2 JP2000324366A JP2000324366A JP3603774B2 JP 3603774 B2 JP3603774 B2 JP 3603774B2 JP 2000324366 A JP2000324366 A JP 2000324366A JP 2000324366 A JP2000324366 A JP 2000324366A JP 3603774 B2 JP3603774 B2 JP 3603774B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- cad data
- reduced
- complexity
- stored
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 35
- 238000012545 processing Methods 0.000 claims description 25
- 238000011161 development Methods 0.000 description 26
- 238000004458 analytical method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Digital Computer Display Output (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、CAD データを展開して描画し、ディスプレイや印刷等により表示するCAD データ表示装置、方法及びCAD データ表示用のプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものである。
【0002】
【従来の技術】
CAD データは画像を記憶しているのではなく、画像を再現するために必要なデータを記憶している。従って、CAD データ表示システムにおいて、画像を表示するためには、そのデータを画像に展開する必要がある。このとき、指定された展開範囲が広いと、多くのデータを展開する必要があるため、描画時間が長くなるという問題がある。そこで、例えば特開平11−110169 号公報のように、データを予め画像に展開して記憶しておき、この画像を適宜拡大縮小して表示するという方式が従来から採られてきた。
【0003】
また、展開後の画像が大きい場合には、画像を適当に縮小して記憶し、展開範囲が広い場合には、この縮小画像を適宜拡大縮小して表示することも、従来から行われてきた。この方式を用いると、CAD データを画像に展開する必要がないため、より高速に画像を表示することが期待できる。
【0004】
【発明が解決しようとする課題】
しかし、上記の従来技術には、次のような問題点があった。
即ち、ある特定の部分領域について比較すると、却って描画速度が低下する場合があることである。
その理由を述べる。例えばある1つの部分領域中に、互いに重なりのない同じ形状の小さな四角形がn個だけある場合を考える。このとき、CAD データから部分領域に対応する画像を展開すると、小さな四角形をn個描画するだけで済む。一方、縮小画像から画像を抽出するためには部分領域全体を走査する必要がある。ここで、後者の処理ではnの値に関わらず描画時間が一定であることに注意する。
【0005】
ところで、n=0の場合は展開すべきCAD データがないから、明らかにCAD データから画像を展開した方が高速である。n=1、2 、…と増やしていった場合、どこで双方の描画時間が逆転するかは、システム全体の特性と部分領域の大きさと拡大倍率とによって変化する。
このように、従来技術では常に一つの方法による処理しか行われないため、却って速度が低下することがあるという問題があった。
【0006】
本発明は、以上の問題点を解決してCAD データを高速に描画できるCAD データ表示装置、方法及びCAD データ表示用プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的としている。
【0007】
【課題を解決するための手段】
上記の目的を達成するために、本発明によるCAD データ表示装置は、CAD データを画像に展開するために必要な処理時間を画像複雑度として、CAD データの部分領域毎に記憶する画像複雑度記憶手段と、CAD データを展開した後に適当な拡大倍率で縮小した画像を記憶する縮小画像記憶手段と、前記記憶された画像複雑度としきい値とを比較し、比較結果に応じて前記CAD データから画像を展開して描画するか、前記記憶された縮小画像から必要な画像を抽出して描画するかを、前記部分領域毎に選択して描画する画像描画手段とを設けたものである。
【0008】
また、本発明によるCAD データ表示方法は、CAD データを画像に展開するために必要な処理時間を画像複雑度として、CAD データの部分領域毎に記憶すると共に、CAD データを展開した後に適当な拡大倍率で縮小した画像を記憶し、前記記憶された画像複雑度としきい値とを比較し、比較結果に応じて前記CAD データから画像を展開して描画するか、前記記憶された縮小画像から必要な画像を抽出して描画するかを、前記部分領域毎に選択して描画するようにしたものである。
【0009】
また、本発明によるCAD データ表示用のプログラムを記録したコンピュータ読み取り可能な記録媒体は、CAD データを画像に展開するために必要な処理時間を画像複雑度として、CAD データの部分領域毎に記憶された前記画像複雑度としきい値とを比較する比較処理と、比較結果に応じて前記CAD データから画像を展開して描画処理するか、あるいはCAD データを展開した後に適当な拡大倍率で縮小して記憶された縮小画像から必要な画像を抽出して描画処理するかを、前記部分領域毎に選択する選択処理と、前記選択された描画処理を行う画像描画処理とを実行するためのプログラムを記録したものである。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
本実施の形態は、CAD データについて、その任意の範囲を任意の拡大倍率で表示するとき、拡大倍率が一定値以下であれば、特に高速な描画を行う構成を提供するものである。即ち、本実施の形態では、描画時間が逆転する条件を境に処理を切り替えて高速な処理を選択するため、どの部分領域に対しても、縮小画像を用いることで却って速度が低下することはない。
【0011】
まず、本実施の形態を概略的に説明する。
図1において、画像複雑度記憶部31は、CAD データを画像に展開するときに必要な処理時間を見積もった数値である画像複雑度を、画像の部分領域毎に記憶している。CAD データ記憶部32は、CAD データを記憶している。縮小画像記憶部33は、CAD データを画像に展開した後で、適当な拡大倍率で縮小した画像を記憶している。入力分析手段21は、CAD データの展開範囲を、画像複雑度記憶部31から検索し、CAD データの展開範囲内の部分領域に画像複雑度を付与する。画像描画手段22は、画像複雑度記憶部31から入力、即ち、CAD データの展開範囲と、展開時のCAD データの拡大倍率と、CAD データの展開範囲内の部分領域に付与された画像複雑度を受け取る。
【0012】
画像描画手段22は、各部分領域について、画像複雑度と指定された拡大倍率とから、CAD データを展開する処理時間と、縮小画像から必要な画像を抽出する処理時間とを見積もる。そして、CAD データを展開する処理時間の方が短いと判定すれば、CAD データを展開して画像を描画し、そうでなければ、縮小画像記憶手段33に記憶された縮小画像から必要な画像を抽出して描画する。
これにより、CAD データの複雑度とCAD データの拡大倍率に応じて適応的に、CAD データからの展開と、縮小画像からの画像の抽出を使い分けることで、高速な描画を実現する。
【0013】
図1は本発明の第1の実施の形態によるCAD データ表示装置を示すブロック図である。
図1において、本装置は、キーボード等の入力装置1と、プログラム制御により動作するデータ処理装置2と、情報を記憶する記憶装置3と、ディスプレイ装置や印刷装置等の出力装置4とを含む。
記憶装置3は、画像複雑度記憶部31と、CAD データ記憶部32と、縮小画像記憶部33とを備えている。
【0014】
画像複雑度記憶部31は、CAD データを画像に展開するときに必要な処理時間を見積もった数値である画像複雑度を、画像の部分領域毎に記憶している。部分領域のとり方は任意であるが、例えば、図3に示すように、CAD データの全範囲を正方格子状に分割し、正方格子を部分領域とすることができる。
【0015】
図3において、左上3×3の正方格子について、正方格子の中に書かれている数値が画像複雑度である。図3では省略してあるが、実際には全ての正方格子に対して画像複雑度を与える。画像複雑度としては、例えば、CAD データを適当な拡大倍率で展開して、部分領域を描画するために必要な計算時間を実測し、その計算時間を適当にスケーリングして用いることができる。
【0016】
CAD データ記憶部32は、CAD データを記憶している。
縮小画像記憶部33は、CAD データを画像に展開した後で、適当な拡大倍率で縮小した画像を記憶している。
【0017】
データ処理装置2は、入力分析手段21と、画像描画手段22とを備える。
入力分析手段21は、入力装置1から与えられたCAD データの展開範囲を、画像複雑度記憶部31から検索し、CAD データの展開範囲内の各部分領域に画像複雑度を付与する。
【0018】
画像描画手段32は、画像複雑度記憶部31から入力、即ち、CAD データの展開範囲と、展開時の拡大倍率と、CAD データの展開範囲内の部分領域に付与された画像複雑度を受け取る。そして、画像描画手段32は、展開時の拡大倍率と予め定められたしきい値A を比較し、しきい値A 以上であれば、縮小画像記憶部33に記憶された縮小画像からでは必要な解像度が得られないと判定し、CAD データを展開して画像を描画する。
【0019】
ここで、しきい値A は、縮小画像記憶手段33に記憶されている縮小画像からでは、指定されたCAD データの拡大倍率の画像を望ましい品質で抽出することができないという、拡大倍率に設定されるべきである。例えば、縮小画像を生成する際に用いた拡大倍率をそのまましきい値A とすることができる。
【0020】
一方、拡大倍率がしきい値A 以下であれば、縮小画像記憶手段33に記憶された縮小画像を利用して描画する。即ち、CAD データの展開領域の各部分領域毎に、画像複雑度と予め定められたしきい値を比較し、しきい値B 以上であれば、CAD データを展開する処理時間よりも縮小画像記憶手段33に記憶された縮小画像から必要な画像を抽出する処理時間の方が短いと判定し、縮小画像から必要な画像を抽出して描画する。しきい値B 未満であれば、CAD データを展開して画像を描画する。
【0021】
しきい値B の決め方は任意であるが、例えば、画像複雑度がx であるとき、CAD データを展開する処理時間と、縮小画像から抽出する処理時間とが拮抗する拡大倍率y=f (x )を実験によって定め、このyをしきい値B とすることができる。
【0022】
次に、図1及び図2のフローチャートを参照して本実施の形態の動作を詳細に説明する。
入力装置1から与えられたCAD データの展開範囲と拡大倍率は、入力分析手段21に供給される。入力分析手段21は、CAD データの展開範囲を、画像複雑度記憶手段31から検索する。例えば図4のようにCAD データの展開範囲が与えられたする。ここで図4において、CAD データの展開範囲の外郭は、下端が正方格子を2等分している他は全て正方格子上を通っているものとする。このとき、入力分析手段21による検索結果は図5のようになる。即ち、CAD データの展開範囲は9つの部分領域に分割され、各々の部分領域に図5のように画像複雑度が与えられる。
【0023】
図5における下から3つの部分領域に対する画像複雑度は、図3における正方格子の面積に対し、CAD データの展開範囲が占める面積が2分の1であることから、画像複雑度も2分の1としている。正方格子とCAD データの展開範囲が一致しない場合には、この例のように、重なる面積に比例した画像複雑度を割り当てればよい(図2のステップA1)。
【0024】
画像描画手段22は、画像複雑度記憶部31からCAD データの展開範囲と、CAD データの拡大倍率と、CAD データの展開範囲内の各部分領域に割り当てられた画像複雑度を入力として受け取る。そしてまず、CAD データの拡大倍率と、しきい値A とを比較する(ステップA2)。比較の結果、CAD データの拡大倍率がしきい値A 以上であれば、CAD データ範囲内の全領域について、CAD データ記憶部32内のCAD データを画像に展開し、描画して処理を終了する(ステップA3)。
【0025】
そうでなければステップA4へ進み、CAD データ展開領域内の部分画像を一つ選択しステップA5へ進む。選択する順序は任意でよいが、例えば、まず左上から右上へ、次に一つの段を左から右へ、というように順次選択することができる。
次に、選択された部分領域に割り当てられた画像複雑度をしきい値B と比較する(ステップA5)。比較の結果、割り当てられた画像複雑度がしきい値B 以上であれば、縮小画像から部分領域に対応する画像を抽出して描画し、ステップA8へすすむ(ステップA6)。
【0026】
また、割り当てられた画像複雑度がしきい値B 未満であれば、CAD データ記憶部32に記憶されたCAD データを展開し、部分領域に対応する画像を描画し、ステップA8へ進む(ステップA7)。ステップA8では、CAD データ展開範囲内の全ての部分領域が選択済みであるかどうかを判定する。もし、全ての部分領域が選択済みであれば、CAD データ展開範囲内の画像が全て描画できたことになるので、描画結果を出力装置4に出力して処理を終了する。そうでなければ、ステップA4へ進む(ステップA8)。
【0027】
次に、具体例を用いた動作を説明する。
画像複雑度記憶部31には、図3に示すように、画像複雑度が記憶されているとする。今、図4に示すようなCAD データ展開範囲が入力装置1から与えられたとする。また拡大倍率は0.1倍、しきい値A は0.2倍、しきい値B は拡大倍率をxとしたとき1/ xであるとする。即ち、この例ではしきい値B は10となる。
【0028】
入力画像分析手段21は、CAD データ展開範囲を、画像複雑度記憶部31から検索し、CAD データ展開範囲に図5のような画像複雑度を割り当てる(ステップA1)。次に画像描画手段22は、拡大倍率としきい値A を比較する。この例では、拡大倍率がしきい値A 未満であるので、ステップA4へ進む(ステップA2)。次に、図5の9つの部分領域から左上の部分領域を選択する(ステップA4)。次に、選択した部分領域に割り当てられた画像複雑度としきい値B を比較する(ステップA5)。
【0029】
図5から画像複雑度は0であり、一方しきい値B は10であるから、CAD データから画像を展開して部分領域を描画する(ステップA7)。次に、全ての部分領域が選択済みかどうかを判定する。未だ9つの部分領域のうち1つしか選択されていないからステップA4へ進む(ステップA8)。次に、図5にある9つの部分領域のうち、上段中列の部分領域を選択する(ステップA4)。今度は、選択した部分領域に割り当てられた画像複雑度が15であり、しきい値B より大きいので、縮小画像から画像を抽出して、部分領域を描画する(ステップA5及びステップA6)。未だ、9つの部分領域のうち2つしか選択されていないのでステップA4へ進む(ステップA8)。
【0030】
以下、同様にして9つの部分領域を次々と選択し、描画していく。全ての部分領域が選択された時、CAD データの描画は完了し、直後のステップA8によって描画結果が出力装置4に出力され、処理は終了する。
【0031】
次に、本発明の第2の実施の形態について説明する。
第1の実施の形態の縮小画像記憶部33は、CAD データ全範囲にわたって縮小画像を記憶していたが、次のような構成も可能である。
即ち、縮小画像記憶部33の記憶容量を小さくするために、図6に示すように、CAD データからの展開時間が特に長い部分領域についてのみ、縮小画像を用意しておく。
【0032】
このとき、描画手段22において、縮小画像が用意されていない部分領域に対して、ステップA6が実行されないようにする必要がある。そのためには、画像複雑度記憶部31においては、縮小画像が用意されていない部分領域に対して、画像複雑度を0と記憶しておけばよい。
尚、本実施の形態の他の部分の構成は、図1と同様である。
【0033】
次に、本発明の第3の実施の形態について説明する。
第1、第2の実施の形態において、縮小画像記憶部32に記憶されている縮小画像の拡大倍率は1通りのみであった。しかし、次のような構成も可能である。即ち、本実施の形態は、図7に示すように、2つの異なる拡大倍率の縮小画像を記憶するための2つの縮小画像記憶部331と332、及びそれら縮小画像に対応する画像複雑度を記憶する画像複雑度記憶部311と312を備えている点で図1の構成と異なる。
【0034】
本実施の形態では、CAD データ拡大倍率を入力すると、どちらの縮小画像を利用するべきかを出力する関数を予め定義しておく。入力分析手段21は、この関数を利用して2つの画像複雑度記憶部311、312のいずれを利用するかを判定する。画像描画手段22も、この関数を利用して2つの縮小画像記憶部331、332のいずれを利用するかを判定する。
尚、図7では2つの異なる拡大倍率の縮小画像を用いたが、3つ以上の場合も同様に構成可能である。
【0035】
次に、本発明の第4の実施の形態によるコンピュータ読み取り可能な記録媒体について説明する。
図1、図7の動作に基づく図2のフローチャートを含む処理を、データ処理装置2におけるCPUが実行するためのCAD データ表示用のプログラムを格納する記録媒体は、本発明によるコンピュータ読み取り可能な記録媒体を構成する。
【0036】
この記録媒体としては、光磁気ディスク、光ディスク、半導体メモリ、磁気記録媒体等を用いることができ、これらをROM、RAM、CD−ROM、フロッピー(登録商標)ディスク、メモリカード等に構成して用いてよい。
【0037】
またこの記録媒体は、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部のRAM等の揮発性メモリのように、一定時間プログラムを保持するものも含まれる。
【0038】
また上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから伝送媒体を介して、あるいは伝送媒体中の伝送波により他のコンピュータシステムに伝送されるものであってもよい。上記伝送媒体とは、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体をいうものとする。
【0039】
また、上記プログラムは、前述した機能の一部を実現するためであってもよい。さらに、前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。
【0040】
従って、この記録媒体を図1、図7のシステム又は装置とは異なるシステム又は装置において用い、そのシステム又は装置のコンピュータがこの記録媒体に格納されたプログラムを実行することによっても、各実施の形態で説明した機能及び効果と同等の機能及び効果を得ることができ、本発明の目的を達成することができる。
【0041】
【発明の効果】
本発明の効果は、CAD データの任意の範囲を一定値以下の拡大倍率で表示するとき、その表示速度を向上させることである。
その理由は、予めCAD データを展開した後、縮小した画像から抽出して描画する方式と、CAD データを展開して画像を描画する方式との2つの画像描画方式を備え、CAD データの部分領域における画像複雑度や拡大倍率に応じて、最適な画像描画方式を選択して描画するからである。これにより、最悪でも画像描画速度は従来方式と同程度であり、一般的には、従来方式と比べて画像描画速度を向上することができる。
【図面の簡単な説明】
【図1】本発明の第1及び第2の実施の形態によるCAD データ表示装置を示すブロック図である。
【図2】本発明の第1の実施の形態の動作を示すフローチャートである。
【図3】CAD データの全範囲を正方格子状に分割して部分領域とした例を示す構成図である。
【図4】CAD データの展開範囲の例を示す構成図である。
【図5】CAD データの展開範囲の例を拡大して示す構成図である。
【図6】本発明の第2の実施の形態によるCAD データの全範囲における縮小画像を記憶している部分領域を示す構成図である。
【図7】本発明の第3の実施の形態によるCAD データ表示装置を示すブロック図である。
【符号の説明】
1 入力装置
2 データ処理装置
21 入力分析手段
22 画像描画手段
3 記憶装置
31、311、312 画像複雑度記憶部
32 CAD データ記憶部
33、331、332 縮小画像記憶部
4 出力装置[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a CAD data display device and method for developing CAD data, drawing the CAD data, and displaying the data on a display, printing, and the like, and a computer-readable recording medium recording a program for displaying CAD data.
[0002]
[Prior art]
The CAD data does not store an image but stores data necessary for reproducing the image. Therefore, in order to display an image in the CAD data display system, it is necessary to develop the data into the image. At this time, if the designated expansion range is wide, it is necessary to expand a large amount of data, so that there is a problem that the drawing time becomes long. Therefore, a method has conventionally been adopted in which data is developed and stored in an image in advance, and this image is appropriately enlarged and reduced and displayed, as in Japanese Patent Application Laid-Open No. H11-110169.
[0003]
Also, when the image after expansion is large, the image is appropriately reduced and stored, and when the expansion range is wide, this reduced image is appropriately enlarged and reduced and displayed. . When this method is used, it is not necessary to develop CAD data into an image, so that an image can be displayed at higher speed.
[0004]
[Problems to be solved by the invention]
However, the above prior art has the following problems.
That is, when compared with a specific partial area, the drawing speed may be rather lowered.
The reason will be described. For example, consider a case where there are only n small quadrangles of the same shape that do not overlap each other in one certain partial region. At this time, if an image corresponding to the partial area is developed from the CAD data, only n small squares need to be drawn. On the other hand, in order to extract an image from a reduced image, it is necessary to scan the entire partial area. Here, it should be noted that in the latter processing, the drawing time is constant regardless of the value of n.
[0005]
By the way, when n = 0, since there is no CAD data to be developed, it is obviously faster to develop the image from the CAD data. When n = 1, 2,..., where the drawing times are reversed depends on the characteristics of the entire system, the size of the partial area, and the magnification.
As described above, in the related art, since the processing is always performed by only one method, there is a problem that the speed may be reduced.
[0006]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a CAD data display device and method capable of solving the above problems and rendering CAD data at high speed, and a computer-readable recording medium storing a CAD data display program.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a CAD data display device according to the present invention provides an image complexity storage device that stores a processing time required for developing CAD data into an image as an image complexity for each partial area of the CAD data. Means, a reduced image storage means for storing an image reduced at an appropriate enlargement magnification after expanding the CAD data, and comparing the stored image complexity with a threshold value, based on the comparison result, An image drawing means is provided for selecting and drawing, for each of the partial regions, whether to draw and develop an image or to extract and draw a required image from the stored reduced image.
[0008]
In the CAD data display method according to the present invention, the processing time required for developing CAD data into an image is stored as image complexity for each partial area of CAD data, and an appropriate enlargement is performed after CAD data is expanded. The image reduced by the magnification is stored, the stored image complexity is compared with a threshold value, and an image is developed and drawn from the CAD data according to the comparison result, or a necessary image is stored from the stored reduced image. Whether to extract and draw a proper image is selected and drawn for each of the partial areas.
[0009]
Further, a computer-readable recording medium on which a program for displaying CAD data according to the present invention is recorded is stored for each partial area of CAD data, with the processing time required for developing CAD data into an image as image complexity. A comparison process of comparing the image complexity and a threshold value, and developing or drawing an image from the CAD data according to the comparison result, or reducing the size of the CAD data at an appropriate magnification after expanding the data. A program for executing a selection process for selecting, for each of the partial areas, whether to extract a required image from the stored reduced image and performing a drawing process, and an image drawing process for performing the selected drawing process is recorded. It was done.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The present embodiment provides a configuration for performing particularly high-speed drawing when an arbitrary range of CAD data is displayed at an arbitrary magnification when the magnification is equal to or smaller than a predetermined value. That is, in the present embodiment, the processing is switched on the condition that the drawing time is reversed, and the high-speed processing is selected. Therefore, for any partial area, the use of the reduced image does not reduce the speed. Absent.
[0011]
First, the present embodiment will be schematically described.
In FIG. 1, an image
[0012]
The image drawing means 22 estimates a processing time for developing the CAD data and a processing time for extracting a required image from the reduced image, based on the image complexity and the designated magnification for each partial area. If it is determined that the processing time for expanding the CAD data is shorter, the CAD data is expanded and the image is drawn. Otherwise, the required image is extracted from the reduced image stored in the reduced
Thereby, high-speed drawing is realized by selectively using the development from the CAD data and the extraction of the image from the reduced image according to the complexity of the CAD data and the magnification of the CAD data.
[0013]
FIG. 1 is a block diagram showing a CAD data display device according to a first embodiment of the present invention.
In FIG. 1, the apparatus includes an input device 1 such as a keyboard, a data processing device 2 that operates under program control, a
The
[0014]
The image
[0015]
In FIG. 3, for a 3 × 3 square grid at the upper left, the numerical value written in the square grid is the image complexity. Although omitted in FIG. 3, the image complexity is actually given to all the square lattices. As the image complexity, for example, CAD data is developed at an appropriate enlargement magnification, the calculation time required to draw a partial area is measured, and the calculation time is appropriately scaled and used.
[0016]
The CAD
The reduced
[0017]
The data processing device 2 includes an
The
[0018]
The image drawing means 32 receives the input from the image
[0019]
Here, the threshold value A is set to an enlargement magnification such that an image having the enlargement magnification of the designated CAD data cannot be extracted with a desired quality from the reduced image stored in the reduced
[0020]
On the other hand, if the enlargement magnification is equal to or smaller than the threshold value A, drawing is performed using the reduced image stored in the reduced
[0021]
The method of determining the threshold value B 1 is arbitrary. For example, when the image complexity is x 2, the magnification time y = f (x) in which the processing time for expanding the CAD data and the processing time for extracting from the reduced image compete with each other. ) Is determined experimentally, and this y can be set as the threshold value B 1.
[0022]
Next, the operation of the present embodiment will be described in detail with reference to the flowcharts of FIGS.
The development range and magnification of the CAD data provided from the input device 1 are supplied to the input analysis means 21. The
[0023]
The image complexity with respect to the three partial regions from the bottom in FIG. 5 is smaller than the area of the square grid in FIG. It is set to 1. If the development range of the square grid and the CAD data do not match, an image complexity proportional to the overlapping area may be assigned as in this example (step A1 in FIG. 2).
[0024]
The image drawing means 22 receives, as inputs, the CAD data development range, the CAD data enlargement magnification, and the image complexity assigned to each partial area within the CAD data development range from the image
[0025]
Otherwise, the process proceeds to step A4, selects one partial image in the CAD data development area, and proceeds to step A5. The order of selection may be arbitrary. For example, the selection may be performed sequentially from the upper left to the upper right, and then one stage from the left to the right.
Next, the image complexity assigned to the selected partial area is compared with a threshold value B (step A5). As a result of the comparison, if the assigned image complexity is equal to or greater than the threshold value B, an image corresponding to the partial area is extracted from the reduced image and drawn, and the process proceeds to step A8 (step A6).
[0026]
If the assigned image complexity is less than the threshold value B, the CAD data stored in the CAD
[0027]
Next, an operation using a specific example will be described.
It is assumed that the image
[0028]
The input image analysis means 21 retrieves the CAD data development range from the image
[0029]
From FIG. 5, since the image complexity is 0 and the threshold value B is 10, the image is developed from the CAD data to draw a partial area (step A7). Next, it is determined whether or not all the partial areas have been selected. Since only one of the nine partial areas has been selected, the process proceeds to step A4 (step A8). Next, a partial area in the upper middle row is selected from the nine partial areas in FIG. 5 (step A4). This time, since the image complexity assigned to the selected partial area is 15 and is larger than the threshold B 2, an image is extracted from the reduced image and the partial area is drawn (steps A5 and A6). Since only two of the nine partial areas have been selected, the process proceeds to step A4 (step A8).
[0030]
Hereinafter, nine partial areas are sequentially selected and drawn in the same manner. When all the partial areas are selected, the drawing of the CAD data is completed, and the drawing result is output to the output device 4 in step A8 immediately thereafter, and the process ends.
[0031]
Next, a second embodiment of the present invention will be described.
Although the reduced
That is, in order to reduce the storage capacity of the reduced
[0032]
At this time, it is necessary to prevent the
The configuration of other parts of the present embodiment is the same as that of FIG.
[0033]
Next, a third embodiment of the present invention will be described.
In the first and second embodiments, the reduced image stored in the reduced
[0034]
In the present embodiment, when a CAD data enlargement magnification is input, a function for outputting which reduced image should be used is defined in advance. The
In FIG. 7, reduced images with two different enlargement magnifications are used.
[0035]
Next, a computer-readable recording medium according to a fourth embodiment of the present invention will be described.
A recording medium for storing a program for displaying CAD data for the CPU of the data processing apparatus 2 to execute the processing including the flowchart of FIG. 2 based on the operations of FIGS. Make up the medium.
[0036]
As the recording medium, a magneto-optical disk, an optical disk, a semiconductor memory, can be a magnetic recording medium or the like, used to configure these ROM, RAM, CD-ROM, a floppy disk, a memory card or the like May be.
[0037]
This recording medium stores the program for a certain period of time, such as a volatile memory such as an internal RAM of a computer system serving as a server or a client when the program is transmitted through a network such as the Internet or a communication line such as a telephone line. What is retained is also included.
[0038]
Further, the above program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. The transmission medium is a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
[0039]
Further, the program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
[0040]
Therefore, each of the embodiments can also be implemented by using this recording medium in a system or apparatus different from the system or apparatus in FIGS. Functions and effects equivalent to the functions and effects described above can be obtained, and the object of the present invention can be achieved.
[0041]
【The invention's effect】
An effect of the present invention is to improve the display speed when an arbitrary range of CAD data is displayed at an enlargement magnification of a certain value or less.
The reason is that there are two image drawing methods, a method of extracting and drawing from a reduced image after CAD data is expanded in advance, and a method of expanding an CAD data and drawing an image. This is because an optimum image drawing method is selected and drawn according to the image complexity and the enlargement magnification in. As a result, at the worst, the image drawing speed is almost the same as that of the conventional method, and in general, the image drawing speed can be improved as compared with the conventional method.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a CAD data display device according to first and second embodiments of the present invention.
FIG. 2 is a flowchart illustrating an operation of the first exemplary embodiment of the present invention.
FIG. 3 is a configuration diagram illustrating an example in which the entire range of CAD data is divided into a square grid to form a partial area.
FIG. 4 is a configuration diagram showing an example of a development range of CAD data.
FIG. 5 is a configuration diagram showing an example of an expanded range of CAD data in an enlarged manner.
FIG. 6 is a configuration diagram showing a partial area storing a reduced image in the entire range of CAD data according to the second embodiment of the present invention.
FIG. 7 is a block diagram showing a CAD data display device according to a third embodiment of the present invention.
[Explanation of symbols]
REFERENCE SIGNS LIST 1 input device 2
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000324366A JP3603774B2 (en) | 2000-10-24 | 2000-10-24 | CAD data display device, method and computer-readable recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000324366A JP3603774B2 (en) | 2000-10-24 | 2000-10-24 | CAD data display device, method and computer-readable recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002132235A JP2002132235A (en) | 2002-05-09 |
| JP3603774B2 true JP3603774B2 (en) | 2004-12-22 |
Family
ID=18801912
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000324366A Expired - Lifetime JP3603774B2 (en) | 2000-10-24 | 2000-10-24 | CAD data display device, method and computer-readable recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3603774B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011198932A (en) * | 2010-03-18 | 2011-10-06 | Nuflare Technology Inc | Method of displaying graphic data and graphic data display device |
| JP6157971B2 (en) * | 2013-07-30 | 2017-07-05 | シャープ株式会社 | Desk display device |
-
2000
- 2000-10-24 JP JP2000324366A patent/JP3603774B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002132235A (en) | 2002-05-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4074366B2 (en) | Image search apparatus and method, and recording medium storing image search program | |
| US8194974B1 (en) | Merge and removal in a planar map of an image | |
| JP3603774B2 (en) | CAD data display device, method and computer-readable recording medium | |
| US20100171750A1 (en) | Method and device for generating a complexity vector for at leat one part of an svg scene, and method and testing device for testing a playback suitability of at least part of an svg scene on device | |
| JPH0816824A (en) | Three-dimensional computer-aided design apparatus and method | |
| CN101106627A (en) | Image processing device and image processing method | |
| JP4639010B2 (en) | Large-scale graphic data high-speed drawing method and apparatus | |
| JP4827659B2 (en) | Image processing apparatus, image processing method, and computer program | |
| JP5528410B2 (en) | Viewer device, server device, display control method, electronic comic editing method and program | |
| CN111951367A (en) | Character rendering method, character processing method and device | |
| CN113033173A (en) | Streaming document picture loading method and device, electronic equipment and storage medium | |
| JP2011186835A (en) | Image processing apparatus and image processing program | |
| US20040179238A1 (en) | Document display method and apparatus | |
| JP2001209640A (en) | Image information conversion device, image processing device, method and recording medium | |
| JPH06168282A (en) | Image data multistage display device | |
| JP4229796B2 (en) | DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| JP2004253863A (en) | Object processing device | |
| JPH08153095A (en) | Image management editing system | |
| JP2004341887A (en) | Processing method and apparatus for performing interpreter and rendering for each object based on link information in SoftRIP, and storage medium for storing them | |
| CN112580577A (en) | Training method and device for generating speaker image based on face key points | |
| JPH05197590A (en) | Software test item display processing method | |
| JPH04235686A (en) | Image processing device | |
| JPH10143676A (en) | Picture processor and method for processing the same and recording medium | |
| JPH03278275A (en) | Method for redisplaying edited graphic | |
| JPS6129939A (en) | information retrieval device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040113 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040518 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040714 |
|
| 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: 20040907 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040920 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3603774 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071008 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081008 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091008 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091008 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101008 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111008 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121008 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131008 Year of fee payment: 9 |
|
| EXPY | Cancellation because of completion of term |