JP4229796B2 - DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents
DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDFInfo
- Publication number
- JP4229796B2 JP4229796B2 JP2003343431A JP2003343431A JP4229796B2 JP 4229796 B2 JP4229796 B2 JP 4229796B2 JP 2003343431 A JP2003343431 A JP 2003343431A JP 2003343431 A JP2003343431 A JP 2003343431A JP 4229796 B2 JP4229796 B2 JP 4229796B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- feature
- display
- data display
- feature amount
- 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
Images
Landscapes
- Image Analysis (AREA)
- Instructional Devices (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Description
この発明は、データ表示装置、データ表示方法、データ表示プログラム、および該プログラムを記録した記録媒体に関し、特に、複数のオブジェクトを最適に表示することのできるデータ表示装置、データ表示方法、データ表示プログラム、および該プログラムを記録した記録媒体に関する。 The present invention relates to a data display device, a data display method, a data display program, and a recording medium on which the program is recorded, and in particular, a data display device, a data display method, and a data display program capable of optimally displaying a plurality of objects. And a recording medium on which the program is recorded.
複数のオブジェクトから構成される電子データとして、点や直線、円などの幾何学的な図形情報、および塗り潰しや特殊効果などの描画情報によってグラフィックスイメージを構成するベクタグラフィックスが知られている。ベクタグラフィックスは、表示の都度、描画に必要な要素の計算を行なって画像を再現するため、拡大・縮小といった変形処理を行なっても解像度に適した画質が維持される。このため、イラストや図面といった線や面の輪郭がはっきりした人工的な画像に適しており、一方、写真や自然画といった画像には適していない。 As electronic data composed of a plurality of objects, vector graphics for forming a graphic image by geometric figure information such as points, straight lines, and circles and drawing information such as painting and special effects are known. Since vector graphics reproduces an image by calculating elements necessary for drawing each time it is displayed, image quality suitable for resolution is maintained even when deformation processing such as enlargement / reduction is performed. For this reason, it is suitable for artificial images such as illustrations and drawings with clear lines and surface outlines, but not suitable for images such as photographs and natural images.
ベクタグラフィックスの表示装置の一例として、特許文献1は、ベクトル地図の縮小表示装置およびその方法を開示している。
As an example of a vector graphics display device,
特許文献1に開示された表示装置では、表示するオブジェクトごとに、表示・非表示の判定を行なって簡略化するかどうかを判別する。このため、オブジェクトが密で見難い地図を見易く表示することができ、さらに表示されるオブジェクトの数が減少することで、表示速度が高速化されて、高速表示が可能となる。
In the display device disclosed in
また、ベクタグラフィックスにおける画像データのデータ構造については、特許文献2に開示されている。
しかしながら、ベクタグラフィックスのように、縮小表示のための描画処理の都度、すべてのオブジェクトに対して縮小処理を行ない、表示・非表示の判定を行なっている場合、表示しないオブジェクトに対しても縮小処理を行なう必要があり、処理時間が遅延するという問題がある。 However, as with vector graphics, every time drawing processing for reduced display is performed, reduction processing is performed on all objects, and display / non-display determination is performed. There is a problem that processing is required and processing time is delayed.
また、処理に要するメモリ量も多く用意しなければならないという問題もある。 There is also a problem that a large amount of memory is required for processing.
本発明はこのような問題に鑑みてなされたものであって、高速に表示処理を行なうことのできるデータ表示装置、データ表示方法、データ表示プログラム、および該プログラムを記録した記録媒体を提供することを目的とする。 The present invention has been made in view of such problems, and provides a data display device, a data display method, a data display program, and a recording medium on which the program is recorded, which can perform display processing at high speed. With the goal.
また、表示処理に必要なメモリ容量を削減できるデータ表示装置、データ表示方法、データ表示プログラム、および該プログラムを記録した記録媒体を提供することを目的とする。 It is another object of the present invention to provide a data display device, a data display method, a data display program, and a recording medium on which the program is recorded, which can reduce the memory capacity required for display processing.
上記目的を達成するために、本発明のある局面に従うと、データ表示装置は、複数のオブジェクトの特徴量を入力する特徴量入力手段と、入力された複数の特徴量を、その大きさに基づいて配列する配列処理手段と、配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理手段と、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力手段と、入力されたオブジェクトを表示するための処理を行なう表示処理手段とを備える。 In order to achieve the above object, according to one aspect of the present invention, a data display device includes a feature amount input means for inputting feature amounts of a plurality of objects, and the plurality of input feature amounts based on the size thereof. Array processing means for arranging the objects, comparison processing means for comparing the feature quantities of the arranged objects with a predetermined threshold value, and an object for inputting an object having a feature quantity larger than the threshold value based on the comparison result Input means and display processing means for performing processing for displaying the input object.
また、データ表示装置は、上記複数のオブジェクトから任意のオブジェクトを指定するオブジェクト指定手段と、配列された特徴量から、指定されたオブジェクトの特徴量を抽出する特徴量抽出手段と、抽出された特徴量を、上記所定のしきい値として設定するしきい値設定手段とをさらに備えることが好ましい。 In addition, the data display device includes: an object designating unit for designating an arbitrary object from the plurality of objects; a feature quantity extracting unit for extracting the feature quantity of the designated object from the arranged feature quantities; and the extracted feature It is preferable to further comprise threshold setting means for setting the amount as the predetermined threshold.
本発明の他の局面に従うと、データ表示装置は、複数のオブジェクトの特徴量を入力する特徴量入力手段と、入力された複数の特徴量を、その大きさに基づいて配列する配列処理手段と、表示させるオブジェクト数を指定するオブジェクト数指定手段と、配列されたオブジェクトの特徴量から指定されたオブジェクト数に相当する特徴量を抽出する特徴量抽出手段と、抽出された特徴量と所定のしきい値とを比較する比較処理手段と、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力手段と、比較結果に基づいて、入力されたオブジェクトの拡大縮小率を算出する拡大縮小率算出手段と、入力されたオブジェクトを表示するための処理を行なう表示処理手段とを備える。 According to another aspect of the present invention, the data display device includes a feature amount input unit that inputs feature amounts of a plurality of objects, and an array processing unit that arranges the plurality of input feature amounts based on their sizes. An object number designating unit for designating the number of objects to be displayed; a feature quantity extracting unit for extracting a feature quantity corresponding to the designated number of objects from the feature quantities of the arranged objects; and A comparison processing means for comparing the threshold value, an object input means for inputting an object having a feature value larger than the threshold value based on the comparison result, and an enlargement / reduction ratio of the input object based on the comparison result An enlargement / reduction ratio calculating means for calculating and a display processing means for performing processing for displaying the input object are provided.
本発明のさらに他の局面に従うと、データ表示方法は、データ表示装置において複数のオブジェクトを表示するデータ表示方法であって、複数のオブジェクトの特徴量を入力する特徴量入力ステップと、入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理ステップと、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを備える。 According to still another aspect of the present invention, a data display method is a data display method for displaying a plurality of objects in a data display device, wherein a feature amount input step for inputting feature amounts of the plurality of objects is input. An array processing step for arranging a plurality of feature quantities based on their sizes, a comparison processing step for comparing feature quantities of the arranged objects with a predetermined threshold value, and a threshold value based on the comparison result An object input step for inputting an object having a larger feature amount; and a display processing step for performing a process for displaying the input object.
本発明のさらに他の局面に従うと、データ表示方法は、データ表示装置において複数のオブジェクトを表示するデータ表示方法であって、複数のオブジェクトの特徴量を入力する特徴量入力ステップと、入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、表示させるオブジェクト数を指定するオブジェクト数指定ステップと、配列されたオブジェクトの特徴量から指定されたオブジェクト数に相当する特徴量を抽出する特徴量抽出ステップと、抽出された特徴量と所定のしきい値とを比較する比較処理ステップと、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、比較結果に基づいて、入力されたオブジェクトの拡大縮小率を算出する拡大縮小率算出ステップと、入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを備える。 According to still another aspect of the present invention, a data display method is a data display method for displaying a plurality of objects in a data display device, wherein a feature amount input step for inputting feature amounts of the plurality of objects is input. An array processing step that arranges a plurality of feature quantities based on their sizes, an object number designation step that designates the number of objects to be displayed, and a feature quantity that corresponds to the number of objects designated from the feature quantities of the arranged objects A feature amount extraction step for extracting the feature amount, a comparison processing step for comparing the extracted feature amount with a predetermined threshold value, and an object input for inputting an object having a feature amount greater than the threshold value based on the comparison result Enlargement / reduction ratio calculation that calculates the enlargement / reduction ratio of the input object based on the step and comparison result Comprising the steps, and a display processing step of performing processing for displaying the input object.
本発明のさらに他の局面に従うと、データ表示プログラムは、複数のオブジェクトを表示するデータ表示方法をコンピュータに実行させるプログラムであって、複数のオブジェクトの特徴量を入力する特徴量入力ステップと、入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理ステップと、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを実行させる。 According to still another aspect of the present invention, a data display program is a program for causing a computer to execute a data display method for displaying a plurality of objects, a feature amount input step for inputting feature amounts of the plurality of objects, and an input An array processing step for arranging the plurality of feature quantities arranged based on the size, a comparison processing step for comparing the feature quantities of the arranged objects with a predetermined threshold value, and based on the comparison result. An object input step for inputting an object having a feature amount larger than the threshold value and a display processing step for performing a process for displaying the input object are executed.
本発明のさらに他の局面に従うと、データ表示プログラムは、複数のオブジェクトを表示するデータ表示方法をコンピュータに実行させるプログラムであって、複数のオブジェクトの特徴量を入力する特徴量入力ステップと、入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、表示させるオブジェクト数を指定するオブジェクト数指定ステップと、配列されたオブジェクトの特徴量から指定されたオブジェクト数に相当する特徴量を抽出する特徴量抽出ステップと、抽出された特徴量と所定のしきい値とを比較する比較処理ステップと、比較結果に基づいて、しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、比較結果に基づいて、入力されたオブジェクトの拡大縮小率を算出する拡大縮小率算出ステップと、入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを実行させる。 According to still another aspect of the present invention, a data display program is a program for causing a computer to execute a data display method for displaying a plurality of objects, a feature amount input step for inputting feature amounts of the plurality of objects, and an input An array processing step for arranging the plurality of feature quantities arranged based on their sizes, an object number designation step for designating the number of objects to be displayed, and an object number designated from the feature quantities of the arranged objects A feature amount extraction step for extracting feature amounts, a comparison processing step for comparing the extracted feature amounts with a predetermined threshold value, and an object having a feature amount larger than the threshold value are input based on the comparison result. Based on the object input step and the comparison result, the scaling ratio of the input object is calculated. A scaling ratio calculating step of leaving, to execute a display processing step of performing processing for displaying the input object.
本発明のさらに他の局面に従うと、記録媒体は、コンピュータ読取可能な記録媒体であって、上述のデータ表示プログラムを記録する。 According to still another aspect of the present invention, the recording medium is a computer-readable recording medium and records the above-described data display program.
以下に、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Embodiments of the present invention will be described below with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
[第1の実施の形態]
図1は、第1の実施の形態にかかるデータ表示システムの構成を示す図である。図1を参照して、本実施の形態にかかるデータ表示システムは、記録媒体101と、ネットワーク102と、データ表示装置106とを含んで構成される。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of a data display system according to the first embodiment. With reference to FIG. 1, the data display system according to the present embodiment includes a
記録媒体101は、データ表示装置106へ電子データ103を供給するために用いられる。記録媒体101は、フレキシブルディスクや、CD−ROM(Compact Disc-Read Only Memory)や、ハードディスクなどの媒体が該当する。
The
データ表示装置106と、電子データ103を記録したデータベースを備えるサーバ、または他のパーソナルコンピュータとは、ネットワーク102で接続される。
The
電子データ103は、記録媒体101から直接、またはネットワーク102を介してデータ表示装置106へ供給される。
The
電子データ103は、オブジェクトデータ105と特徴量データ104とを含んで構成される。さらに、オブジェクトデータ105は、複数のオブジェクトを含んで構成される。オブジェクトとは、ベクタグラフィックスを想定しており、形状、座標、太さなどの描画に必要な情報を含むデータ構造であるものとする。また、特徴量データ104は、各オブジェクトから算出された特徴量から構成される。特徴量とは、オブジェクトの描画する線の太さやフォントのサイズ、面積などを所定の基準を基に数値化した値、または描画領域に対する比率で算出された値を想定している。オブジェクトの描画する線が太い、フォントのサイズが大きい、面積が大きいなど、縮小処理を行なっても明確に表示できるオブジェクトほど特徴量が大きいこととなる。
The
なお、電子データ103のデータ構造については、後に具体例を挙げて説明する。
The data structure of the
データ表示装置106は、記録媒体101および/またはネットワーク102から供給された電子データ103を表示するための装置である。
The
さらに図1を参照して、本実施の形態にかかるデータ表示装置106は、アドレス指定部107と、特徴量データ入力処理部108と、オブジェクトデータ入力処理部109と、表示処理部110と、配列処理部111と、比較処理部112と、しきい値算出部113と、拡大縮小率算出部114とを含んで構成される。
Further, referring to FIG. 1, a
アドレス指定部107は、読込み対象である電子データ103の特徴量データ104のアドレスを指定する。
The
特徴量データ入力処理部108は、アドレス指定部107によって指定される電子データ103の特徴量データ104を、記録媒体101またはネットワーク102を介して他の装置から読込み、読込んだ特徴量データ104を配列処理部111に渡す。
The feature amount data
配列処理部111は、特徴量データ入力処理部108から渡された特徴量データ104を、大きさの順に配列する処理を実行する。そして、その配列した特徴量データ104を比較処理部112に渡す。
The arrangement processing unit 111 executes a process of arranging the
拡大縮小率算出部114は、ユーザからの拡大縮小の指示を受付けて、その指示に基づいて拡大縮小率Mを算出する。拡大縮小率Mは、拡大縮小が行なわれていない表示領域と指示後の目的となる表示領域との割合、または、現在表示している表示領域と指示後の目的となる表示領域との割合で算出される。そして、拡大縮小算出部114は、算出した拡大縮小率Mをしきい値算出部113と、表示処理部110とに渡す。
The enlargement / reduction
しきい値算出部113は、拡大縮小指示部114から渡された拡大縮小率Mに基づいてしきい値αを算出する。そして、しきい値算出部113は、算出したしきい値αを比較処理部112に渡す。
The
比較処理部112は、配列処理部111から渡された配列された特徴量データ104としきい値算出部113から渡されたしきい値αとを比較して、表示対象のオブジェクトを決定する。そして、比較処理部112は、決定したオブジェクトについての情報を配列処理部111に渡す。
The
配列処理部111は、比較処理部112から渡された表示対象のオブジェクトについての情報に基づいて、該オブジェクトのアドレスを取得し、アドレス指定部107に渡す。アドレス指定部107は、配列処理部111から渡されたアドレスを、読込み対象のオブジェクトデータ105のアドレスとして指定する。
The array processing unit 111 acquires the address of the object based on the information about the display target object passed from the
オブジェクトデータ入力処理部109は、アドレス指定部107によって指定される電子データ103のオブジェクトデータ105を、記録媒体101またはネットワーク102を介して他の装置から読込み、読込んだオブジェクトデータ105を表示処理部110に渡す。
The object data
表示処理部110は、オブジェクトデータ入力処理部109から渡されたオブジェクトデータ105と、拡大縮小率算出部114から渡された拡大縮小率Mとを用いて、描画に必要なデータを生成して表示する。
The display processing unit 110 generates and displays data necessary for drawing using the
次に、図2のフローチャートを用いて、本実施の形態にかかるデータ表示装置106におけるデータ表示処理を説明する。図2のフローチャートに示されるデータ表示処理は、データ表示装置106全体の動作を制御する動作制御部(図示せず)が、記憶装置(図示せず)に記憶されるプログラムを読出して実行し、図1に示される各部を制御することで実現される。
Next, data display processing in the
なお、ここで、記録媒体101、またはネットワーク102を介して他の装置からデータ表示装置106に供給される電子データ103は、具体的に図3に示されるデータ構造であるものとする。
Here, it is assumed that the
図3を参照して、具体例における電子データ103は、オブジェクトデータ105として、複数のオブジェクトの各々を表わすデータ1(405)、データ2(406)、データ3(407)、データ4(408)と、特徴量データ104として、各オブジェクトを表わすデータ1〜4に対応した複数の特徴量データ401,402,403,404とから構成される。
Referring to FIG. 3,
各オブジェクトを表わすデータ1(405)〜4(408)は、各々、該オブジェクトの形状、座標、太さなどの描画に必要な情報を含む。図3に示されるオブジェクトのデータ構造はベクタグラフィックスのデータ構造であるが、オブジェクトデータ105のデータ構造は図3に示すデータ構造に限定されるものではなく、既存のベクタグラフィックスのデータ構造でよい。
Data 1 (405) to 4 (408) representing each object includes information necessary for drawing such as the shape, coordinates, and thickness of the object. The data structure of the object shown in FIG. 3 is a vector graphics data structure, but the data structure of the
特徴量データ401,402,403,404は、各々、特徴量の値と、その特徴量に対応するオブジェクトの位置情報とが1対1の対となった情報を持つデータ構造である。
The
図2を参照して、始めに、特徴量データ入力処理部において、アドレス指定部107によって指定される電子データ103の特徴量データ104が読込まれる(S1001)。
Referring to FIG. 2, first,
次に、配列処理部111において、特徴量データ入力処理部108において読込まれた特徴量データ104が大きさの順に配列される(S1002)。
Next, in the array processing unit 111, the
ここで、図3に示される特徴量データ401,402,403,404の特徴量の大小関係が、Sd1>Sd2>Sd3>Sd4であるとすると、ステップS1001で読込まれた特徴量データ104が既に大きさの順に配列されている場合には、ステップS1002において配列処理部111は、読込まれたままの順で配列すればよい。一方、ステップS1001で読込まれた特徴量データ104が大きさの順に配列されていない場合は、大きさの順に並び替えて配列する。
Here, if the magnitude relationship between the feature quantities of the
次に、拡大縮小率算出部114において、ユーザからの拡大縮小の指示を待機し(S1003でNO)、ユーザからの指示を受付けると(S1003でYES)、その指示に基づいて拡大縮小率Mが算出される(S1004)。
Next, the enlargement / reduction
次に、しきい算出部113において、ステップS1004で算出された拡大縮小率Mに基づいてしきい値αが算出され、決定される(S1005)。ステップS1005において、しきい値αは、表示できる限界の値Lに対して、α=L/Mで算出される。表示できる限界の値Lは所定の基準に基づいて算出、または設定されているものとする。
Next, the
なお、ここで、データ表示装置106において表示できる限界の値Lの設定について、図4および図5を用いて説明する。特徴量、および表示できる限界の値Lは、画素を単位として定められるものとする。図4において、幅Xa画素、高さYa画素の領域801は描画領域を表わし、画素802,803,804,805は描画領域801のうちの1画素を表わす。また、図5において、幅Xb画素、高さYb画素の領域901は表示領域を表わし、画素902は表示領域901のうちの1画素を表わす。さらに、説明の簡便のため、Xa=2Xb,Ya=2Ybとし、画素802,803,804,805,902は白画素、または黒画素のみを含むものとする。
Here, the setting of the limit value L that can be displayed on the
描画領域801を表示領域901に表示させる場合、Xa=2Xb,Ya=2Ybであることから、描画領域801を、幅、および高さを各々半分とする4分の1の領域に縮小して表示させる必要がある。この縮小処理において、画素802,803,804,805の4画素は、表示領域901のうちの1画素である画素902に対応することになる。このとき、画素802,803,804,805の4画素のうち、黒画素がP画素以上の場合に、画素902が黒画素に設定されるものとすると、「P」が表示できる限界の値Lに相当する。
When the
なお、図4および図5を用いた表示できる限界の値Lの設定の説明は、表示できる限界の値Lの設定の1つの具体例を表わすものであり、これに限定されるものではない。 Note that the description of setting the limit value L that can be displayed using FIGS. 4 and 5 represents one specific example of setting the limit value L that can be displayed, and the present invention is not limited to this.
ステップS1005でしきい値αが算出された後、比較処理部112において、ステップS1002で配列された特徴量データ104と、ステップS1005で算出されたしきい値αとを比較する際、ステップS1001で配列された特徴量104の特徴量が大きい末端から比較するか、特徴量の小さい末端から比較するかの判定を行なう。そのため、まず、配列の末端である特徴量の最大値Smaxと最小値Sminとが取得される(S1006)。
After the threshold value α is calculated in step S1005, the
次に、ステップS1006で取得された最大値Smaxおよび最小値Sminとしきい値αとの各々の差分の絶対値が算出される(S1007)。最大値Smaxとしきい値αとの差分の絶対値をDmax、最小値Sminとしきい値αとの差分の絶対値をDminとすると、ステップS1007で得られる絶対値は、各々、Dmax=|Smax−α|、Dmin=|Smin−α|の式で与えられる。 Next, the absolute value of the difference between each of the maximum value Smax and minimum value Smin acquired in step S1006 and the threshold value α is calculated (S1007). If the absolute value of the difference between the maximum value Smax and the threshold value α is Dmax, and the absolute value of the difference between the minimum value Smin and the threshold value α is Dmin, the absolute values obtained in step S1007 are respectively Dmax = | Smax− α |, Dmin = | Smin−α |.
次に、ステップS1007で算出された絶対値Dmaxと絶対値Dminとの大小が比較される(S1008)。 Next, the magnitudes of the absolute value Dmax and the absolute value Dmin calculated in step S1007 are compared (S1008).
ステップS1008での比較の結果、絶対値Dmaxの値が絶対値Dminより大きい場合(S1008でYES)、ステップS1001で配列された特徴量データ104の位置を探索するための配列探索ポインタが絶対値Sminで与えられる位置に設定される(S1009)。この場合、ステップS1001で配列された特徴量104の特徴量が小さい末端からしきい値αとの比較を行なっていくこととなる。
If the absolute value Dmax is larger than the absolute value Dmin as a result of the comparison in step S1008 (YES in S1008), the array search pointer for searching for the position of the
一方、ステップS1008での比較の結果、絶対値Dminの値が絶対値Dmaxより大きい場合(S1008でNO)、配列探索ポインタが絶対値Smaxで与えられる位置に設定される(S1010)。この場合、ステップS1001で配列された特徴量104の特徴量が大きい末端からしきい値αとの比較を行なっていくこととなる。
On the other hand, as a result of the comparison in step S1008, if the absolute value Dmin is larger than the absolute value Dmax (NO in S1008), the array search pointer is set to a position given by the absolute value Smax (S1010). In this case, the comparison with the threshold value α is performed from the end with the large feature quantity of the
なお、上述のステップS1006〜ステップS1010の処理は、ステップS1001で配列された特徴量データ104の特徴量が大きい末端からしきい値αとの比較を行なうか、特徴量の小さい末端からしきい値αとの比較を行なうかの判定をし、配列探索ポインタの初期設定を行なうことができればよい。そのため、その方法は、上述した方法に限定されるものではない。
It should be noted that the processing of the above-described steps S1006 to S1010 is performed by comparing the threshold value α from the end with the large feature amount of the
次に、ステップS1001で配列された特徴量データ104からしきい値αの位置を特定するために、ステップS1001で配列された特徴量データ104としきい値αとを比較する。そこで、一時的に特徴量を保存するパラメータとして、しきい値αより大きい特徴量を表わす特徴量S1、およびしきい値αより小さい特徴量を表わす特徴量S2を設け、特徴量S1および特徴量S2を初期化する(S1011)。そして、始めに、特徴量S1と特徴量S2とがステップS1001における配列で隣接しているか否かが判定される(S1012)。ステップS1012における特徴量S1と特徴量S2とが隣接しているか否かの判定は、配列された特徴量データ104におけるしきい値αの位置を決定するものであるから、特徴量S1と特徴量S2とが配列の両方の末端を示すこともあり、この場合も隣接していると判定するものとする。
Next, in order to specify the position of the threshold value α from the
ステップS1012での判定の結果、特徴量S1と特徴量S2とが隣接していないと判定された場合(S1012でNO)、配列探索ポインタの位置の特徴量Sが取得されて(S1013)、その特徴量Sとしきい値αとの大小が比較される(S1014)。 As a result of the determination in step S1012, if it is determined that the feature quantity S1 and the feature quantity S2 are not adjacent (NO in S1012), the feature quantity S at the position of the array search pointer is acquired (S1013), The feature amount S is compared with the threshold value α (S1014).
次に、ステップS1014での大小比較の結果に基づいて、特徴量S1または特徴量S2が更新される。すなわち、特徴量Sがしきい値αより大きく、かつ特徴量Sが特徴量S1より大きい場合(S1014でYES、かつS1015でYES)、特徴量S1に特徴量Sが設定される(S1017)。一方、特徴量Sがしきい値αより大きく、かつ特徴量Sが特徴量S1より小さい場合(S1014でYES、かつS1015でNO)、ステップS1017の処理はスキップされて、特徴量S1は更新されない。 Next, the feature amount S1 or the feature amount S2 is updated based on the result of the size comparison in step S1014. That is, when the feature amount S is greater than the threshold value α and the feature amount S is greater than the feature amount S1 (YES in S1014 and YES in S1015), the feature amount S is set as the feature amount S1 (S1017). On the other hand, when the feature amount S is larger than the threshold value α and the feature amount S is smaller than the feature amount S1 (YES in S1014 and NO in S1015), the process in step S1017 is skipped and the feature amount S1 is not updated. .
また、特徴量Sがしきい値αより小さく、かつ特徴量Sが特徴量S2より小さい場合(S1014でNO、かつS1016でYES)、特徴量S2に特徴量Sが設定される(S1018)。一方、特徴量Sがしきい値αより小さく、かつ特徴量Sが特徴量S2より大きい場合(S1014でNO、かつS1016でNO)、ステップS1018の処理はスキップされて、特徴量S2は更新されない。 When the feature amount S is smaller than the threshold value α and the feature amount S is smaller than the feature amount S2 (NO in S1014 and YES in S1016), the feature amount S is set as the feature amount S2 (S1018). On the other hand, when the feature amount S is smaller than the threshold value α and the feature amount S is greater than the feature amount S2 (NO in S1014 and NO in S1016), the process in step S1018 is skipped and the feature amount S2 is not updated. .
上述のステップS1012〜S1018の処理が終了すると、配列探索ポインタが隣接する次の配列の位置に移動されて(S1019)、処理がステップS1012に戻され、再度、特徴量S1と特徴量S2との配列が隣接しているか否かが判断される。 When the processes of steps S1012 to S1018 described above are completed, the array search pointer is moved to the position of the next adjacent array (S1019), the process returns to step S1012, and the feature amount S1 and the feature amount S2 are again set. It is determined whether the sequences are adjacent.
なお、上述のステップS1012〜ステップS1019の処理は、特徴量S1と特徴量S2との配列が隣接していると判断されるまで繰返される。この処理は、ステップS1001で配列された特徴量データ104においてしきい値αの位置が特定できればよく、上述した方法に限定されるものではない。
Note that the above-described processing of step S1012 to step S1019 is repeated until it is determined that the arrangement of the feature quantity S1 and the feature quantity S2 is adjacent. This process is not limited to the above-described method, as long as the position of the threshold value α can be specified in the
一方、ステップS1012での判定において、特徴量S1と特徴量S2とが隣接していると判定された場合(S1012でYES)、しきい値α以上と判定された、特徴量S1以上のオブジェクトが、表示対象に決定される(S1020)。 On the other hand, if it is determined in step S1012 that the feature amount S1 and the feature amount S2 are adjacent to each other (YES in S1012), an object having the feature amount S1 or more determined to be greater than or equal to the threshold value α. The display target is determined (S1020).
次に、配列処理部111において、ステップS1020で表示対象に決定されたオブジェクトのアドレスが取得される(S1021)。そして、アドレス指定部107において、ステップS1021で取得されたオブジェクトのアドレスが指定され、オブジェクトデータ入力処理部109において、表示対象であるオブジェクトデータのみが取得される(S1022)。
Next, the array processing unit 111 acquires the address of the object determined as the display target in step S1020 (S1021). The
続いて、表示処理部110において、ステップS1022で取得されたオブジェクトデータと、ステップS1004で算出された拡大縮小率Mとに基づいて、描画に必要なデータが生成され、表示される(S1023)。 Subsequently, in the display processing unit 110, data necessary for drawing is generated and displayed based on the object data acquired in step S1022 and the enlargement / reduction ratio M calculated in step S1004 (S1023).
そして、ステップS1023の表示処理の後、ユーザによって終了指示が与えられた場合は(S1024でYES)、すべての処理を終了する。また、終了指示が与えられない場合は(S1024でNO)、処理をステップS1003に戻して、再び拡大縮小の指示を待機し、以降の処理を繰返す。 If an end instruction is given by the user after the display process in step S1023 (YES in S1024), all the processes are ended. If the end instruction is not given (NO in S1024), the process returns to step S1003 to wait for the enlargement / reduction instruction again, and the subsequent processes are repeated.
以上が、本実施の形態にかかるデータ表示装置106におけるデータ表示処理である。
The above is the data display processing in the
さらに、上述の図3に具体例が示される電子データ103に対して、上述のデータ表示処理がなされた場合の表示について、具体的に図6〜図8を用いて説明する。なお、ここでも、図3に示される特徴量データ401,402,403,404が、特徴量Sd1>Sd2>Sd3>Sd4の順に配列されているものとする。
Furthermore, the display when the above-described data display processing is performed on the
図6は、ステップS1005で決定されるしきい値αがα<Sd4の場合の表示の具体例を示す図である。この場合、上述のステップS1022においては、ステップS1020でしきい値α以上と判定された特徴量Sd1,Sd2,Sd3,Sd4に対応するオブジェクトのデータ4,1,2,3が読込まれ、拡大縮小率Mに基づいて描画されて表示されている。なお、図6に示される具体例において、データ4で表わされるオブジェクトは円501、データ1で表わされるオブジェクトは四角形502、データ2で表わされるオブジェクトは線503、データ3で表わされるオブジェクトは線504に対応している。
FIG. 6 is a diagram showing a specific example of display when the threshold value α determined in step S1005 is α <Sd4. In this case, in step S1022, the
一方、図7は、ステップS1005で決定されるしきい値αがSd3<α<Sd2の場合の表示の具体例を示す図である。この場合、上述のステップS1022においては、しきい値α以上と判定された特徴量Sd1,Sd2に対応するオブジェクトのデータ4,1が読込まれ、拡大縮小率Mに基づいて描画されて表示されている。このとき、特徴量Sd3,Sd4は、ステップS1022においてしきい値α以下と判断されるため、ステップS1022において対応するオブジェクトのデータ2,3は読込まれない。なお、図7に示される具体例において、データ4で表わされるオブジェクトは円601、データ1で表わされるオブジェクトは四角形602に対応している。
On the other hand, FIG. 7 is a diagram showing a specific example of display when the threshold value α determined in step S1005 is Sd3 <α <Sd2. In this case, in step S1022 described above, the
また一方、図8は、ステップS1005で決定されるしきい値αがSd2<α<Sd1の場合の表示の具体例を示す図である。この場合、上述のステップS1022においては、しきい値α以上と判定された特徴量Sd1に対応するオブジェクトのデータ4が読込まれ、拡大縮小率Mに基づいて描画されて表示されている。このときも同様に、特徴量Sd2,Sd3,Sd4は、ステップS1022においてしきい値α以下と判断されるため、ステップS1022において対応するオブジェクトのデータ1,2,3は読込まれない。なお、図8に示される具体例において、データ4は円701に対応している。
On the other hand, FIG. 8 is a diagram showing a specific example of display when the threshold value α determined in step S1005 is Sd2 <α <Sd1. In this case, in step S1022 described above, the object data 4 corresponding to the feature amount Sd1 determined to be equal to or greater than the threshold value α is read, and is drawn and displayed based on the enlargement / reduction ratio M. Similarly, since the feature values Sd2, Sd3, Sd4 are determined to be equal to or less than the threshold value α in step S1022, the corresponding
このように、本実施の形態にかかるデータ表示装置106では、表示対象であるオブジェクトを決定するまでの処理であるステップS1001〜S1020の処理においては、特徴量データ104のみを用いて処理を行なっており、オブジェクトデータ105の拡大縮小処理を必要としない。このため、表示のためのデータ処理を高速に実行することができる。また、ステップS1001〜S1020の処理においてはオブジェクトデータ105を用いないためにオブジェクトデータ105を読込む必要がない。そのため、使用するメモリ容量を削減することができる。
As described above, in the
また、ステップS1022において、表示対象でないオブジェクトデータを読込む必要がない。そのため、メモリ容量の削減ができる。また、ステップS1023において、表示対象でないオブジェクトデータに対しての描画に必要なデータを生成する処理を実行する必要がない。そのため、表示処理を高速化することができる。 In step S1022, it is not necessary to read object data that is not a display target. Therefore, the memory capacity can be reduced. In step S1023, there is no need to execute processing for generating data necessary for drawing object data that is not a display target. Therefore, the display process can be speeded up.
[第2の実施の形態]
図9は、第2の実施の形態にかかるデータ表示システムの構成を示す図である。図9を参照して、本実施の形態にかかるデータ表示システムは、記録媒体201と、ネットワーク202と、データ表示装置206とを含んで構成される。
[Second Embodiment]
FIG. 9 is a diagram illustrating a configuration of a data display system according to the second embodiment. Referring to FIG. 9, the data display system according to the present exemplary embodiment includes a
記録媒体201および電子データ203は、第1の実施の形態にかかる記録媒体101および電子データ103と同様であるため、ここでの説明は繰返さない。
Since the
さらに図9を参照して、本実施の形態にかかるデータ表示装置206は、アドレス指定部207と、特徴量データ入力処理部208と、オブジェクトデータ入力処理部209と、表示処理部210と、オブジェクト数指定部211と、配列処理部212と、表示判別部213と、しきい値取得部214と、拡大縮小率算出部215とを含んで構成される。
Further, referring to FIG. 9, the
特徴量データ入力処理部208は、第1の実施の形態にかかるデータ処理装置106における特徴量データ入力処理部108と同様に、アドレス指定部207によって指定される電子データ203の特徴量データ204を、記録媒体201またはネットワーク202を介して他の装置から読込み、読込んだ特徴量データ204を配列処理部212に渡す。
The feature amount data
オブジェクト数指定部211は、ユーザからの表示対象のオブジェクトの個数の指示を受付けて、表示対象のオブジェクトの個数Nを決定する。そして、決定した表示対象のオブジェクトの個数Nを、配列処理部212に渡す。
The object
配列処理部212は、特徴量データ入力処理部208から渡された特徴量データ104を、大きさの順に配列する処理を実行すると共に、オブジェクト数指定部211から渡された個数であるN個の特徴量を、表示対象として決定する。そして、配列処理部212は、表示対象として決定したN個の特徴量を表示判別部213に渡す。
The array processing unit 212 executes processing for arranging the
しきい値取得部214は、表示できる限界の値Lに対してα=Lで与えられるしきい値を取得する。なお、表示できる限界の値Lは、上述のような所定の基準に基づいて算出される。そして、しきい値取得部214は、取得したしきい値αを表示判別部213に渡す。
The
表示判定部213は、しきい値取得部214から渡されたしきい値αに基づいて、配列処理部212から渡されたN個の特徴量が表示可能か否かを判定する。そして、表示判別部213は、その判定結果に応じて、判定結果を配列処理部212に渡す。
The
配列処理部212は、第1の実施の形態にかかるデータ処理装置106における配列処理部111と同様に、表示判定部213における判別結果に基づいて、表示対象として決定したN個のオブジェクトのアドレスを取得し、アドレス指定部207に渡す。アドレス指定部207は、配列処理部212から渡されたアドレスを、読込み対象のオブジェクトデータ205のアドレスとして指定する。そして、オブジェクトデータ入力処理部209は、アドレス指定部207によって指定される電子データ203のオブジェクトデータ205を、記録媒体201またはネットワーク202を介して他の装置から読込み、読込んだオブジェクトデータ205を表示処理部210に渡す。
Similar to the array processing unit 111 in the
または、表示判別部213は、その判定結果に応じて、N個の特徴量としきい値αと共に、拡大縮小率算出部215に渡す。
Alternatively, the
拡大縮小率算出部215は、表示判定部213から渡されたN個の特徴量としきい値αとに基づいて、N個の特徴量を最適に表示できる拡大縮小率Mを算出する。そして、拡大縮小算出部215は、算出した拡大縮小率Mを表示処理部210に渡す。
The enlargement / reduction
表示処理部210は、オブジェクトデータ入力処理部209から渡されたオブジェクトデータ205と、拡大縮小率算出部215から渡された拡大縮小率Mとを用いて、描画に必要なデータを生成して表示する。
The
次に、図10のフローチャートを用いて、本実施の形態にかかるデータ表示装置206におけるデータ表示処理を説明する。図10のフローチャートに示されるデータ表示処理もまた、データ表示装置206全体の動作を制御する動作制御部(図示せず)が、記憶装置(図示せず)に記憶されるプログラムを読出して実行し、図9に示される各部を制御することで実現される。
Next, data display processing in the
なお、ここでも、記録媒体201、またはネットワーク202を介して他の装置からデータ表示装置206に供給される電子データ203は、具体的に第1の実施の形態において図3に示されたデータ構造であるものとする。
In this case as well, the
図10を参照して、ステップS2001およびステップS2002における特徴量データの読込処理および配列処理は、第1の実施形態のステップS1001およびステップS1002における特徴量データの読込処理および配列処理と同様であることから、ここでの説明は繰返さない。 Referring to FIG. 10, the feature amount data reading process and the array processing in steps S2001 and S2002 are the same as the feature amount data reading process and the array processing in steps S1001 and S1002 of the first embodiment. Therefore, the description here will not be repeated.
次に、オブジェクト数指定部211において、ユーザからの表示オブジェクトの個数の指示を待機し(S2003でNO)、ユーザからの指示を受付けると(S2003でYES)、その指示に基づいて表示対象のオブジェクトの個数Nが決定される(S2004)。
Next, the object
次に、配列処理部212において、配列探索ポインタの位置が初期化される(S2005)。ステップS2005においては、初期値を、ステップS2001において配列された大きさ順の特徴量データのうちの末端である特徴量の最大値に設定されて初期化される。 Next, in the array processing unit 212, the position of the array search pointer is initialized (S2005). In step S2005, the initial value is set to the maximum value of the feature quantity that is the end of the feature quantity data arranged in order of size in step S2001, and is initialized.
次に、配列処理部212において、配列探索ポインタの位置からN個の特徴量が表示対象に決定される(S2006)。上述のように、ステップS2005において配列探索ポインタは配列の末端である特徴量の最大値に設定されていることから、ステップS2006では、特徴量の最大のものから順にN個の特徴量が表示対象に決定される。 Next, the array processing unit 212 determines N feature quantities to be displayed from the position of the array search pointer (S2006). As described above, in step S2005, the sequence search pointer is set to the maximum value of the feature value that is the end of the sequence. Therefore, in step S2006, N feature values are displayed in order from the largest feature value. To be determined.
次に、表示判定部213において、ステップS2001で読込まれた特徴量の中から、ステップS2006で表示対象に決定されたN個の特徴量が抽出される(S2007)。
Next, the
次に、しきい値取得部214において、所定の基準に基づいて算出された表示できる限界の値Lに基づいて、しきい値αが取得される(S2008)。ステップS2008において、しきい値αは、表示できる限界の値Lに対して、α=Lで取得される。
Next, the threshold
次に、表示判定部213において、ステップS2008で取得されたしきい値αに基づいて、ステップS2007で抽出されたN個の特徴量が表示可能か否かが判定される(S2009)。
Next, the
ステップS2009では、ステップS2007で抽出されたN個の特徴量が、すべてしきい値αよりも大きい場合、該特徴量は表示可能であると判定され(S2009でYES)、拡大縮小率算出部215において、該N個の特徴量が最適に表示できる拡大縮小率Mが、N個の特徴量としきい値αとに基づいて算出される(S2010)。
In step S2009, when all the N feature quantities extracted in step S2007 are larger than the threshold value α, it is determined that the feature quantities can be displayed (YES in S2009), and the enlargement / reduction
一方、ステップS2009において、ステップS2007で抽出されたN個の特徴量のうちにしきい値αよりも小さい特徴量が存在した場合、該N個の特徴量は表示不可能であると判断され(S2009でNO)、処理がステップS2003に戻されて、再度、オブジェクト数指定部211において、ユーザからの表示オブジェクトの個数の指示を待機する(S2003)。そして、以降の処理が繰返される。
On the other hand, in step S2009, when there is a feature quantity smaller than the threshold value α among the N feature quantities extracted in step S2007, it is determined that the N feature quantities cannot be displayed (S2009). The process returns to step S2003, and the object
ステップS2011およびステップS2012での、配列処理部212およびオブジェクトデータ入力処理部109における表示対象のオブジェクトデータのアドレスの取得および該オブジェクトデータの読込処理は、第1の実施形態におけるステップS1021およびステップS1022での処理と同様であることから、ここでの説明は繰返さない。
The acquisition of the address of the object data to be displayed and the reading process of the object data in the array processing unit 212 and the object data
続いて、表示処理部210において、ステップS2012において読込まれたオブジェクトデータと、ステップS2010で算出された拡大縮小率Mとに基づいて、描画に必要なデータが生成され、表示される(S2013)。
Subsequently, in the
そして、ステップS2013の表示処理の後、ユーザによって終了指示が与えられた場合は(S2014でYES)、すべての処理を終了する。また、終了指示が与えられない場合は(S2014でNO)、処理をステップS2003に戻して、再び表示オブジェクトの個数の指示を待機し、以降の処理を繰返す。 If an end instruction is given by the user after the display process in step S2013 (YES in S2014), all the processes are ended. If no end instruction is given (NO in S2014), the process returns to step S2003 to wait for an instruction for the number of display objects again, and the subsequent processes are repeated.
以上が、本実施の形態にかかるデータ表示装置206におけるデータ表示処理である。
The above is the data display processing in the
さらに、上述の図3に具体例が示される電子データ103に対して、上述のデータ表示処理がなされた場合の表示について、具体的に図7を用いて説明する。
Furthermore, the display when the above-described data display process is performed on the
上述のステップS2003において、ユーザから、表示対象のオブジェクトの数を2個とすると指定されたものとすると、図3に具体例が示される電子データ103の特徴量データに値Sd1〜Sd4のうち最大値のSd1から順に2個の値であるSd1,Sd2に該当する特徴量が表示対象の特徴量と決定され、該特徴量に対応するオブジェクトデータ4,1が表示対象となる。
In the above-described step S2003, if it is specified by the user that the number of objects to be displayed is two, the feature value data of the
図7は、上述のステップS2009においてこれら2つの特徴量が表示可能であると判定された場合の表示の具体例を示す図である。この場合、上述のステップS2012においては、ステップS2009で表示可能と判定された特徴量Sd1,Sd2に対応するオブジェクトのデータ4,1が読込まれ、拡大縮小率Mに基づいて描画されて表示されている。なお、図7に示される具体例において、データ4で表わされるオブジェクトは円601、データ1で表わされるオブジェクトは四角形602に対応している。また、上述のステップS2010において、拡大縮小率Mは最適な表示が実現できるように算出された拡大縮小率であるため、表示が見易くなる。
FIG. 7 is a diagram illustrating a specific example of display when it is determined in step S2009 described above that these two feature amounts can be displayed. In this case, in the above-described step S2012, the
このように、本実施の形態にかかるデータ表示装置206では、表示対象であるオブジェクトを決定し拡大縮小率を算出するまでの処理であるステップS2001〜S2010の処理においては、第1の実施形態と同様、特徴量データ204のみを用いて処理を行なっており、オブジェクトデータ205の拡大縮小処理を必要としない。このため、表示のためのデータ処理を高速に実行することができる。また、ステップS2001〜S2011の処理においてはオブジェクトデータ205を用いないためにオブジェクトデータ205を読込む必要がない。そのため、使用するメモリ容量を削減することができる。
As described above, in the
また、ステップS2012において、第1の実施形態と同様、表示対象でないオブジェクトデータを読込む必要がない。そのため、メモリ容量の削減ができる。また、ステップS2013において、表示対象でないオブジェクトデータに対しての描画に必要なデータを生成する処理を実行する必要がない。そのため、表示処理を高速化することができる。 In step S2012, it is not necessary to read object data that is not a display target, as in the first embodiment. Therefore, the memory capacity can be reduced. Further, in step S2013, there is no need to execute processing for generating data necessary for drawing object data that is not a display target. Therefore, the display process can be speeded up.
さらに、指定した個数Nのオブジェクトの特徴量と表示できる限界の値Lとに基づいて、最適に表示できる拡大縮小率Mを算出して拡大縮小処理を行なう。このため、表示を見易くすることができる。 Further, based on the feature quantity of the designated number N of objects and the limit value L that can be displayed, an enlargement / reduction ratio M that can be optimally displayed is calculated to perform enlargement / reduction processing. For this reason, it is possible to make the display easy to see.
[第3の実施の形態]
図11は、第3の実施の形態にかかるデータ表示システムの構成を示す図である。図11を参照して、本実施の形態にかかるデータ表示システムは、記録媒体201と、ネットワーク302と、データ表示装置306とを含んで構成される。
[Third Embodiment]
FIG. 11 is a diagram illustrating a configuration of a data display system according to the third embodiment. Referring to FIG. 11, the data display system according to the present embodiment includes a
記録媒体301および電子データ303は、第1の実施の形態にかかる記録媒体101および電子データ103と同様であるため、ここでの説明は繰返さない。
Since the
さらに図11を参照して、本実施の形態にかかるデータ表示装置306は、アドレス指定部307と、特徴量データ入力処理部308と、オブジェクトデータ入力処理部309と、表示処理部310と、配列処理部311と、比較処理部312と、しきい値算出部313と、拡大縮小率算出部314と、オブジェクト指定部315とを含んで構成される。
Further, referring to FIG. 11, the
特徴量データ入力処理部308は、第1の実施の形態にかかるデータ処理装置106における特徴量データ入力処理部108と同様に、アドレス指定部307によって指定される電子データ303の特徴量データ304を、記録媒体301またはネットワーク302を介して他の装置から読込み、読込んだ特徴量データ304を配列処理部311に渡す。
The feature amount data
オブジェクト指定部315は、ユーザからの表示対象のオブジェクトの指示を受付けて、指定された表示対象のオブジェクトを特定する情報を配列処理部212に渡す。
The
配列処理部311は、特徴量データ入力処理部308から渡された特徴量データ104を、大きさの順に配列する処理を実行すると共に、該特徴量データ104の中から、オブジェクト指定部315から渡された情報に基づいて、指定された表示対象のオブジェクトに対応する特徴量Sを抽出する。そして、配列処理部311は、抽出した特徴量Sをしきい値算出部313に渡す。また、配列処理部311は、配列した特徴量データ304を比較処理部312に渡す。
The array processing unit 311 executes processing for arranging the
しきい値算出部313は、配列処理部311から渡された特徴量Sに基づいて、α=Sで得られるしきい値αを算出する。そして、しきい値算出部313は、算出したしきい値αを比較処理部312と拡大縮小率算出部314とに渡す。
The threshold
拡大縮小率算出部314は、しきい値算出部313から渡されたしきい値αと、表示できる限界の値Lとに基づいて拡大縮小率Mを算出する。そして、拡大縮小算出部314は、算出した拡大縮小率Mを表示処理部310に渡す。
The enlargement / reduction
比較処理部312は、第1の実施の形態にかかるデータ表示装置106の比較処理部112と同様に、配列処理部311から渡された配列された特徴量データ304としきい値算出部313から渡されたしきい値αとを比較して、表示対象のオブジェクトを決定する。そして、比較処理部312は、決定したオブジェクトについての情報を配列処理部311に渡す。
Similar to the
配列処理部311は、第1の実施の形態にかかるデータ処理装置106における配列処理部111と同様に、比較処理部312から渡された表示対象のオブジェクトについての情報に基づいて、該オブジェクトのアドレスを取得し、アドレス指定部307に渡す。アドレス指定部307は、配列処理部311から渡されたアドレスを、読込み対象のオブジェクトデータ305のアドレスとして指定する。
Similar to the array processing unit 111 in the
オブジェクトデータ入力処理部309は、アドレス指定部307によって指定される電子データ303のオブジェクトデータ305を、記録媒体301またはネットワーク302を介して他の装置から読込み、読込んだオブジェクトデータ305を表示処理部310に渡す。
The object data
表示処理部310は、オブジェクトデータ入力処理部309から渡されたオブジェクトデータ305と、拡大縮小率算出部314から渡された拡大縮小率Mとを用いて、描画に必要なデータを生成して表示する。
The
次に、図12のフローチャートを用いて、本実施の形態にかかるデータ表示装置306におけるデータ表示処理を説明する。図12のフローチャートに示されるデータ表示処理もまた、データ表示装置306全体の動作を制御する動作制御部(図示せず)が、記憶装置(図示せず)に記憶されるプログラムを読出して実行し、図11に示される各部を制御することで実現される。
Next, data display processing in the
なお、ここでも、記録媒体301、またはネットワーク302を介して他の装置からデータ表示装置306に供給される電子データ303は、具体的に第1の実施の形態において図3に示されたデータ構造であるものとする。
In this case as well, the
図12を参照して、ステップS3001〜S3007までの一連の処理は、第1の実施形態におけるS1001〜S1023までの処理と同様である。より詳しくは、ステップS3003におけるしきい値αの算出処理は、第1の実施の形態におけるステップS1003〜S1005の処理に対応し、ステップS3004におけるしきい値α以上である表示対象の特徴量の決定処理は、第1の実施の形態におけるステップS1006〜S1020の処理に対応する。そのため、ここでの説明は繰返さない。 Referring to FIG. 12, a series of processing from step S3001 to S3007 is the same as the processing from S1001 to S1023 in the first embodiment. More specifically, the calculation process of threshold value α in step S3003 corresponds to the process of steps S1003 to S1005 in the first embodiment, and the determination of the feature quantity of the display target that is equal to or larger than threshold value α in step S3004. The processing corresponds to the processing in steps S1006 to S1020 in the first embodiment. Therefore, description here will not be repeated.
ステップS3007において表示処理がなされた後、ユーザによって終了指示が与えられた場合は(S3008でYES)、すべての処理を終了する。また、終了指示が与えられない場合は(S3008でNO)、オブジェクト指定部315において、ユーザからのオブジェクトの指定を待機する(S3009でNO)。
After the display process is performed in step S3007, if an end instruction is given by the user (YES in S3008), all the processes are ended. If the end instruction is not given (NO in S3008), the
オブジェクト指定部315においてユーザからの指示を受付けると(S3009でYES)、配列処理部311において、ステップS3001で読込まれた特徴量データ304の中から指定されたオブジェクトの特徴量Sが抽出される(S3010)。
When the
次に、しきい値算出部313において、ステップS3010で抽出されたオブジェクトの特徴量Sがしきい値αに決定される(S3011)。すなわち、ステップS3011において、しきい値αは、α=Sとなる。
Next, the threshold
次に、拡大縮小率算出部314において、表示できる限界の値Lと、ステップS3011で決定されたしきい値αとに基づいて、最適に表示できる拡大縮小率Mが算出される(S3012)。表示できる限界の値Lは所定の基準に基づいて算出される。
Next, the enlargement / reduction
そして、処理はステップS3004に戻され、以降、ステップS3011で決定されたしきい値αと、ステップS3012で算出された拡大縮小率Mとが用いられて、ステップS3004以降の処理が繰返される。この処理は第1の実施形態と同様の処理であるため、ここでの説明は繰返さない。 Then, the process returns to step S3004, and thereafter, the process after step S3004 is repeated using the threshold value α determined in step S3011 and the enlargement / reduction ratio M calculated in step S3012. Since this process is the same as that of the first embodiment, description thereof will not be repeated here.
さらに、上述の図3に具体例が示される電子データ103に対して、上述のデータ表示処理がなされた場合の表示について、具体的に図6および図7を用いて説明する。
Furthermore, the display when the above-described data display processing is performed on the
データ表示装置306において、図6に示される表示がなされていたとする。さらに、上述のステップS3009において、ユーザから、該表示に対して、表示対象のオブジェクトとして四角形502のオブジェクトが指定されたものとする。四角形502であるオブジェクトに対応するデータは、図3を参照してデータ1(405)であり、データ1に対応する特徴量データは特徴量データ402である。
Assume that the display shown in FIG. 6 is performed on the
このとき、ステップS3011において、特徴量データ402の特徴量Sd2がしきい値αに決定されると、ステップS3004でのしきい値α以上である表示対象の特徴量の決定処理の結果、特徴量Sd1,Sd2が表示対象の特徴量に決定され、表示対象のオブジェクトは、データ4,データ1に対応するオブジェクトに決定される。そして、データ表示装置306では、図7に示される表示が行なわれる。
At this time, when the feature amount Sd2 of the
図7は、上述のステップS3004において特徴量Sd1,Sd2が表示対象であると決定された場合の表示の具体例を示す図である。この場合、上述のステップS3006においては、特徴量Sd1,Sd2に対応するオブジェクトのデータ4,1が読込まれ、拡大縮小率Mに基づいて描画されて表示されている。なお、上述のステップS3007において、拡大縮小率Mは最適な表示ができるように算出された拡大縮小率であるため、表示が見易くなる。
FIG. 7 is a diagram showing a specific example of display when it is determined in step S3004 described above that the feature amounts Sd1 and Sd2 are display targets. In this case, in step S3006 described above, the
このように、本実施の形態にかかるデータ表示装置306では、指定したオブジェクトの特徴量Sをしきい値αとして設定する。このため、指定したオブジェクトの特徴量S以下の特徴量であるオブジェクトの表示を避けることができる。また、しきい値αと表示できる限界の値Lとに基づいて最適に表示できる拡大縮小率Mを算出して拡大縮小処理を行なうことから、表示を見易くすることができる。
Thus, in the
上述の第1〜第3の実施の形態において説明されたデータ表示装置は、以上のような構成により、表示対象のオブジェクトを決定する処理において、オブジェクトの拡大縮小処理を行なう必要がなく特徴量データのみで表示対象かどうか判定できる。このため、高速に処理することができる。 The data display device described in the above first to third embodiments has the above-described configuration, and it is not necessary to perform an object enlargement / reduction process in the process of determining an object to be displayed. Whether or not it is a display target can be determined. For this reason, it can process at high speed.
また、特徴量データのみを読込んで表示対象のオブジェクトを決定する処理を行なうことができ、該処理において表示対象以外のオブジェクトデータを読込む必要がないことから、処理に必要なメモリ容量が削減できる。 In addition, it is possible to perform a process of reading only feature data and determining an object to be displayed, and since it is not necessary to read object data other than the display object in the process, the memory capacity required for the process can be reduced. .
さらに、表示したいオブジェクトの個数を指定することで、指定された個数のオブジェクトが表示される最適な拡大縮小率で電子データを拡大縮小して表示することで表示が見易くなる。 Further, by designating the number of objects to be displayed, the electronic data is enlarged and reduced at an optimum enlargement / reduction ratio at which the designated number of objects are displayed, so that the display becomes easy to see.
さらに、任意のオブジェクトを表示対象として指定することで、指定したオブジェクトの特徴量より大きい特徴量を持つオブジェクトが表示される最適な拡大縮小率で電子データを拡大縮小して表示することで表示が見易くなる。 Furthermore, by designating an arbitrary object as a display target, an object having a feature quantity larger than the feature quantity of the designated object is displayed. It becomes easy to see.
さらに、上述のデータ表示装置における表示対象のオブジェクトを決定する方法を、プログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD−ROM、ROM(Read Only Memory)、RAM(Random Access Memory)およびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。 Furthermore, a method for determining an object to be displayed in the above-described data display device can be provided as a program. Such a program is recorded on a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM, a ROM (Read Only Memory), a RAM (Random Access Memory), and a memory card as a program product. It can also be provided. Alternatively, the program can be provided by being recorded on a recording medium such as a hard disk built in the computer. A program can also be provided by downloading via a network.
提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。 The provided program product is installed in a program storage unit such as a hard disk and executed. The program product includes the program itself and a recording medium on which the program is recorded.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
101,201,301 記録媒体、102,202,302 ネットワーク、103,203,303 電子データ、104,204,304,401〜404 特徴量データ、105,205,305,405〜408 オブジェクトデータ、106,206,306 データ表示装置、107,207,307 アドレス指定部、108,208,308 特徴量データ入力処理部、109,209,309 オブジェクトデータ入力処理部、110,210,310 表示処理部、111,212,311 配列処理部、112,312 比較処理部、113,313 しきい値算出部、114,215,314 拡大縮小率算出部、213 表示判別部、214 しきい値取得部、801,901 領域、802〜805,902 画素、501〜504,601,602,701 オブジェクト。 101, 201, 301 Recording medium, 102, 202, 302 Network, 103, 203, 303 Electronic data, 104, 204, 304, 401-404 Feature data, 105, 205, 305, 405-408 Object data, 106, 206, 306 Data display device, 107, 207, 307 Address specification unit, 108, 208, 308 Feature data input processing unit, 109, 209, 309 Object data input processing unit, 110, 210, 310 Display processing unit, 111, 212, 311 Array processing unit, 112, 312 Comparison processing unit, 113, 313 Threshold calculation unit, 114, 215, 314 Enlargement / reduction ratio calculation unit, 213 Display discrimination unit, 214 Threshold acquisition unit, 801, 901 area 802-805 902 pixels, 50 ~504,601,602,701 object.
Claims (5)
前記入力された複数の特徴量を、その大きさに基づいて配列する配列処理手段と、
前記配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理手段と、
前記比較結果に基づいて、前記しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力手段と、
前記入力されたオブジェクトを表示するための処理を行なう表示処理手段とを備える、データ表示装置。 Feature quantity input means for inputting feature quantities of a plurality of objects;
Arrangement processing means for arranging the plurality of inputted feature quantities based on their sizes;
Comparison processing means for comparing the feature quantities of the arranged objects with a predetermined threshold value;
An object input means for inputting an object having a characteristic amount larger than the threshold based on the comparison result;
A data display device comprising: display processing means for performing processing for displaying the input object.
前記配列された特徴量から、前記指定されたオブジェクトの特徴量を抽出する特徴量抽出手段と、
前記抽出された特徴量を、前記所定のしきい値として設定するしきい値設定手段とをさらに備える、請求項1に記載のデータ表示装置。 Object designating means for designating an arbitrary object from the plurality of objects;
Feature quantity extraction means for extracting the feature quantity of the specified object from the arranged feature quantities;
The data display device according to claim 1, further comprising threshold setting means for setting the extracted feature amount as the predetermined threshold.
前記複数のオブジェクトの特徴量を入力する特徴量入力ステップと、
前記入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、
前記配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理ステップと、
前記比較結果に基づいて、前記しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、
前記入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを備える、データ表示方法。 A data display method for displaying a plurality of objects in a data display device,
A feature amount input step of inputting feature amounts of the plurality of objects;
An array processing step of arranging the plurality of input feature quantities based on the size;
A comparison processing step for comparing the feature quantity of the arranged objects with a predetermined threshold;
An object input step of inputting an object having a feature amount larger than the threshold based on the comparison result;
A data display method comprising: a display processing step for performing processing for displaying the input object.
前記複数のオブジェクトの特徴量を入力する特徴量入力ステップと、
前記入力された複数の特徴量を、その大きさに基づいて配列する配列処理ステップと、
前記配列されたオブジェクトの特徴量と所定のしきい値とを比較する比較処理ステップと、
前記比較結果に基づいて、前記しきい値より大きい特徴量を持つオブジェクトを入力するオブジェクト入力ステップと、
前記入力されたオブジェクトを表示するための処理を行なう表示処理ステップとを実行させる、データ表示プログラム。 A program for causing a computer to execute a data display method for displaying a plurality of objects,
A feature amount input step of inputting feature amounts of the plurality of objects;
An array processing step of arranging the plurality of input feature quantities based on the size;
A comparison processing step for comparing the feature quantity of the arranged objects with a predetermined threshold;
An object input step of inputting an object having a feature amount larger than the threshold based on the comparison result;
A data display program for executing a display processing step for performing processing for displaying the input object.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003343431A JP4229796B2 (en) | 2003-10-01 | 2003-10-01 | DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003343431A JP4229796B2 (en) | 2003-10-01 | 2003-10-01 | DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005107397A JP2005107397A (en) | 2005-04-21 |
| JP4229796B2 true JP4229796B2 (en) | 2009-02-25 |
Family
ID=34537408
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003343431A Expired - Fee Related JP4229796B2 (en) | 2003-10-01 | 2003-10-01 | DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4229796B2 (en) |
-
2003
- 2003-10-01 JP JP2003343431A patent/JP4229796B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005107397A (en) | 2005-04-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5847714A (en) | Interpolation method and apparatus for fast image magnification | |
| US5943679A (en) | Multi-page document viewer having a focus image and recursively nested images of varying resolutions less than the resolution of the focus image | |
| US5335295A (en) | System and method for scaling a digital image | |
| EP0095501A1 (en) | Method and apparatus for representation of a two dimensional figure | |
| JP4371457B2 (en) | Image processing apparatus, method, and computer-readable storage medium | |
| EP1369818A1 (en) | Apparatus and method for image data interpolation | |
| EP1758093B1 (en) | Image processing device and method, recording medium, and program | |
| US6421134B1 (en) | Progressive display during image compression | |
| US6289136B1 (en) | Image processing method and apparatus | |
| US5844567A (en) | Computer graphics system and method for texture mapping using triangular interpolation | |
| JP4229796B2 (en) | DATA DISPLAY DEVICE, DATA DISPLAY METHOD, DATA DISPLAY PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| US5134572A (en) | Partitioned image processing system for an image processing device | |
| WO2018131105A1 (en) | Information processing device, information processing method and storage medium | |
| WO2022049657A1 (en) | Learning system, learning method, and computer program | |
| CN101583975A (en) | Anti-aliasing device | |
| JPH0253761B2 (en) | ||
| EP0318291B1 (en) | Apparatus and method for generating images from tomographic data | |
| JP4534564B2 (en) | Image processing apparatus and program | |
| JP2000194845A (en) | Image processing apparatus and method, and image processing system | |
| JP4827659B2 (en) | Image processing apparatus, image processing method, and computer program | |
| JPS63235986A (en) | character output device | |
| JP3054338B2 (en) | Image processing apparatus and method | |
| JP3603774B2 (en) | CAD data display device, method and computer-readable recording medium | |
| US7515306B2 (en) | Document display method and apparatus | |
| EP0339758B1 (en) | Image processing apparatus for performing projective transformations |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060125 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080409 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080909 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081030 |
|
| 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: 20081125 |
|
| 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: 20081202 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |