JP2018088113A - Computer program for area comparison - Google Patents

Computer program for area comparison Download PDF

Info

Publication number
JP2018088113A
JP2018088113A JP2016230791A JP2016230791A JP2018088113A JP 2018088113 A JP2018088113 A JP 2018088113A JP 2016230791 A JP2016230791 A JP 2016230791A JP 2016230791 A JP2016230791 A JP 2016230791A JP 2018088113 A JP2018088113 A JP 2018088113A
Authority
JP
Japan
Prior art keywords
area
areas
image
comparison
data
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.)
Pending
Application number
JP2016230791A
Other languages
Japanese (ja)
Inventor
徳一 佐藤
Tokuichi Sato
徳一 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to JP2016230791A priority Critical patent/JP2018088113A/en
Publication of JP2018088113A publication Critical patent/JP2018088113A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To select an image stored in a computer to display the same on a display, and display comparison data of areas of a number of areas selected in the image by a size of a simple graphic.SOLUTION: An area comparison program for a computer displaying a ratio between areas of a number of specific areas in an image by a simple graphic causes a computer to work as graphic display drive means for displaying the image on a display, area selection means for selecting a specific area in the image, area contour creation means for creating a contour of the selected area, area specification means for specifying the area, area calculation means for calculating areas of a specified first area and another area, and area comparison data graphic display drive means for displaying comparison data between the first area and another area by a graphic.SELECTED DRAWING: Figure 1

Description

本発明は、面積比較用コンピュータプログラムに関する。   The present invention relates to an area comparison computer program.

ユーザ端末に対し、通信ネットワーク経由でのアクセスに応じて地図を表示し、ユーザ端末からの要求に応じ、面積の比較を直感的に把握できる図形で表示する地図表示装置及び方法が従来知られている(例えば特許文献1参照)。   2. Description of the Related Art A map display device and method for displaying a map for a user terminal in response to access via a communication network and displaying a map in a manner that allows intuitive comparison of area in response to a request from the user terminal are conventionally known. (For example, refer to Patent Document 1).

特許第4884458号公報Japanese Patent No. 4884458

従来の面積グラフ表示装置は、地図データその他の画像データは、利用者のコンピュータ端末に、ウエブサイト側からインターネットで提供されるものであり、自己のパソコンなどのコンピュータに、デジタルカメラやスキャナ等で予め読み込んだ画像や、CADで作成した図面等の画像を用いて、画像中の任意のエリアの面積比較のグラフ表示の操作をオフラインで行うことができなかった。
本発明は、自己のコンピュータに予め保管している画像を用いて、オフラインで、画像中の選択したエリアの面積の比較を円などの単純な図形で表示できるようにし、学習用、教材用あるいはプレゼンテーション用として利用できるようにすることを目的とするものである。
In the conventional area graph display device, map data and other image data are provided to the user's computer terminal from the website side via the Internet, and to a computer such as a personal computer with a digital camera, scanner, etc. Using a pre-read image or an image such as a drawing created by CAD, an area comparison graph display operation of an arbitrary area in the image cannot be performed offline.
The present invention enables the comparison of the areas of selected areas in an image to be displayed in a simple figure such as a circle offline using an image stored in advance in its own computer. The purpose is to make it available for presentation.

上記目的を達成するため、本発明は、画像中の特定の複数のエリアの面積の比を単純な図形で表示するコンピュータ用面積比較プログラムであって、コンピュータを、画像データを保管する画像保管手段、選択された画像をディスプレイに表示する図形表示駆動手段、画像中の特定のエリアを選択するエリア選択手段、選択したエリアの輪郭を生成するエリア輪郭生成手段、生成された輪郭の内部を着色するエリア着色手段、第1のエリアとこれと比較する他のエリアとを特定するエリア特定手段、特定された第1のエリアと他のエリアの面積を演算する面積演算手段、第1のエリアと他のエリアのデータを格納するエリアデータ格納手段、第1のエリアと他のエリアの面積の比較データを生成する面積比較データ生成手段、第1のエリアと他のエリアの面積の比較データを図形化して表示する面積比較データ図形化表示駆動手段、として機能させたことを特徴とする。
また本発明は、画像保管部に保管する画像の形式をあらかじめ規定された形式に変換する画像形式処理手段を備えたことを特徴とする。
また本発明は、前記エリア特定手段は、前記第1のエリアと比較される他のエリアを複数特定するようにしたことを特徴とする。
また本発明は、複数のエリアを加算して第1のエリアを構成し、複数のエリアを加算して他のエリアを構成するエリア加算手段を備えたことを特徴とする。
また本発明は、前記エリア輪郭生成手段は、コンピュータのディスプレイ上の、ポインタにより指示される1つ又は複数のポイント入力に基づいて該ポイントを含むエリアの輪郭線を生成するようにしたことを特徴とする。
また本発明は、前記エリア輪郭生成手段は、コンピュータのディスプレイ上の、ポインタの移動軌跡が描く線に基づいてエリアの輪郭線を生成するようにしたことを特徴とするものである。
In order to achieve the above object, the present invention provides an area comparison program for a computer that displays a ratio of areas of a plurality of specific areas in an image as a simple graphic, and the computer stores image data. Graphic display driving means for displaying the selected image on the display, area selecting means for selecting a specific area in the image, area contour generating means for generating a contour of the selected area, and coloring the generated contour Area coloring means, area specifying means for specifying the first area and other areas to be compared with this, area calculating means for calculating the areas of the specified first area and other areas, the first area and others Area data storage means for storing data of the area, area comparison data generation means for generating comparison data of the area of the first area and other areas, and the first area Area comparison data graphically display driving means for displaying graphically the comparing the area data of the area, characterized in that to function as a.
Further, the present invention is characterized by comprising image format processing means for converting the format of an image stored in the image storage unit into a predetermined format.
Further, the present invention is characterized in that the area specifying means specifies a plurality of other areas to be compared with the first area.
In addition, the present invention is characterized by comprising area addition means for adding a plurality of areas to form a first area and adding the plurality of areas to form another area.
In the invention, it is preferable that the area outline generating means generates an outline of an area including the point based on one or more point inputs indicated by a pointer on a computer display. And
According to the present invention, the area contour generation means generates an area contour line based on a line drawn by a movement locus of a pointer on a computer display.

本発明は、コンピュータに保管された画像を選択し、選択した画像中の特定の複数のエリアを選択し、選択した各エリアの面積の比較データを直感的に把握できる図形で表示することができ、学習用、教材用、プレゼンテーション用として使用できる。   The present invention can select an image stored in a computer, select a plurality of specific areas in the selected image, and display comparison data of the area of each selected area in a figure that can be intuitively grasped. Can be used for learning, teaching materials, and presentations.

本プログラムの構成を示す機能ブロック説明図である。It is functional block explanatory drawing which shows the structure of this program. 本プログラムの動作の概略を示すフローチャートである。It is a flowchart which shows the outline | summary of operation | movement of this program. 画像データの一例を示す説明図である。It is explanatory drawing which shows an example of image data. 面積の比較グラフの一例を示す説明図である。It is explanatory drawing which shows an example of the comparison graph of an area. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program. 本プログラムのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of this program.

以下に本発明に係るコンピュータ用面積比較プログラムの構成を添付した図面を参照して詳細に説明する。
図1は、本発明のプログラムの構成を示すブロック説明図である。本発明に係るプログラムは、スキャナやデジタルカメラ、インターネット等から読み込んだ地図などの画像データやCADで作成した建築図面等を保管する画像保管部2、画像保管部2に保管された画像データを所定の形式例えばJPG形式に統一する画像形式処理部4、画像データをコンピュータのディスプレイに表示する画像表示駆動部6、ディスプレイに表示された画像データのエリアを選択するエリア選択部8、選択されたエリアを加算するエリア加算部10、選択されたエリアを比較用の面積として特定するエリア特定部12、選択されたエリアの輪郭線を生成するエリア輪郭生成部14、選択されたエリアの輪郭線の内部を着色するエリア着色部16、画像データの縮尺率に基づき、着色されたエリアの色のピクセル数からエリアの面積を演算する面積演算部18、面積データ格納部20、特定した第1のエリアの面積のデータを格納する第1エリアデータ格納部22、第2エリアデータ格納部24、第3エリアデータ格納部26、第4エリアデータ格納部28、第5エリアデータ格納部30、面積比較データ生成部32、エリアの面積比較データを円や四角形などの単純な形状の図形の大小で表示する面積比較データ図形化表示駆動部34、インターネット接続部36と、これらを制御する制御部38とから構成されている。
Hereinafter, the configuration of a computer area comparison program according to the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram showing the configuration of the program of the present invention. The program according to the present invention stores image data such as a map read from a scanner, a digital camera, the Internet, or the like, an architectural drawing created by CAD, and the image data stored in the image storage unit 2 in a predetermined manner. For example, an image format processing unit 4 for unifying to a JPG format, an image display driving unit 6 for displaying image data on a computer display, an area selecting unit 8 for selecting an area of image data displayed on the display, and a selected area Area adding unit 10 for adding, area specifying unit 12 for specifying the selected area as an area for comparison, area outline generating unit 14 for generating the outline of the selected area, the inside of the outline of the selected area The area coloring unit 16 for coloring the image, and based on the scale ratio of the image data, the area is colored from the number of pixels of the colored area. An area calculation unit 18, an area data storage unit 20, a first area data storage unit 22, a second area data storage unit 24, and a third area data storage for storing the area data of the identified first area. Section 26, fourth area data storage section 28, fifth area data storage section 30, area comparison data generation section 32, area comparison data for displaying area comparison data of areas in the form of simple shapes such as circles and rectangles The graphic display drive unit 34, the Internet connection unit 36, and a control unit 38 that controls them are configured.

面積比較データ図形化表示駆動部34には、比較の基準となる円の図形と基準の円に対して所定の倍率の円の図形が多数用意され、これらの図形は面積比較データに応じて選択され、ディスプレイに表示されるように構成されている。
次に、パソコンなどのコンピュータにインストールされた本プログラムの動作の概略を図2に示すフローチャートを参照して説明する。
本プログラムをスタートさせると(ステップ1)、画像保管部2に保管された画像データが、操作者の指示により選択されてディスプレイに表示される(ステップ2)。本実施形態では、図3に示す世界地図の画像データ40を、ディスプレイに表示し、日本と中国との面積を比較する場合について説明する。
The area comparison data graphic display drive unit 34 has a circle figure as a reference for comparison and a large number of circle figures with a predetermined magnification with respect to the reference circle, and these figures are selected according to the area comparison data. And configured to be displayed on the display.
Next, an outline of the operation of the program installed in a computer such as a personal computer will be described with reference to the flowchart shown in FIG.
When the program is started (step 1), the image data stored in the image storage unit 2 is selected according to an instruction from the operator and displayed on the display (step 2). In the present embodiment, a case will be described in which the image data 40 of the world map shown in FIG. 3 is displayed on a display and the areas of Japan and China are compared.

操作者は、マウスなどでポインタを操作し、日本の輪郭線の複数のポイントを指示し、画像中の日本のエリアを特定するとともに、更に中国の輪郭線の複数のポイントを指示し、中国のエリアを特定する(ステップ3)。 次に選択された日本と中国のエリアを着色する(ステップ4)。次に、面積演算部18は、日本と中国の面積を演算し、図4に示すように日本と中国の面積比を円でグラフ表示する(ステップ6)。   The operator operates the pointer with a mouse or the like to indicate a plurality of points on the outline of Japan, specifies a Japanese area in the image, and further specifies a plurality of points on the outline of China. An area is specified (step 3). Next, the selected areas of Japan and China are colored (step 4). Next, the area calculation unit 18 calculates the areas of Japan and China, and displays the area ratio of Japan and China as a circle as shown in FIG. 4 (step 6).

次に、図5〜図13に示すフローチャートを参照して本プログラムの動作を、日本と中国の面積比をグラフ化する場合を一例として詳細に説明する。
図5において、プログラムをスタートさせ(ステップ1)、画像データ40を選択するとコンピュータのディスプレイに画像保管部2に保管されている画像データ40が画像表示駆動部6により表示される(ステップ2)。まず、プログラムは、第1エリア作成モードに移行する(ステップ3)。プログラムの操作者が、例えば世界地図の日本の本州の輪郭の3点をマウスの操作で指示すると、エリア選択部8は、指示された3点を含む輪郭線で囲まれた1つのエリア即ち日本の本州を選択する(ステップ4)。エリアが選択されると、エリア輪郭生成部14は、指示された3点3を含む輪郭線を生成する(ステップ5)。
Next, the operation of this program will be described in detail with reference to flowcharts shown in FIGS. 5 to 13 by taking as an example a case where the area ratio between Japan and China is graphed.
In FIG. 5, when the program is started (step 1) and the image data 40 is selected, the image data 40 stored in the image storage unit 2 is displayed on the display of the computer by the image display driving unit 6 (step 2). First, the program shifts to the first area creation mode (step 3). When the operator of the program designates, for example, three points of the outline of Honshu of Japan on the world map by operating the mouse, the area selection unit 8 selects one area surrounded by the outline including the designated three points, that is, Japan. Is selected (step 4). When the area is selected, the area contour generation unit 14 generates a contour including the designated three points 3 (step 5).

次に、エリア着色部16が選択したエリアの輪郭線の内部を、例えば緑色に着色する(ステップ6)。次に、制御部38は、操作者からの指示に基づきエリアの追加を続けるか否か判断する(判断ステップ7)。肯定を判断すると、ステップ4に戻り、操作者の指示した3点のポイントに基づいて他のエリアである九州を選択し(ステップ4)、指示されたポイントを含む輪郭線を生成し(ステップ5)、輪郭線で囲まれた九州のエリアを緑色に着色する(ステップ6)。このようにして順次、四国、北海道のエリアを選択し着色する。選択されたエリアは、エリア加算部10によって順次加算される。 Next, the inside of the outline of the area selected by the area coloring unit 16 is colored, for example, green (step 6). Next, the control unit 38 determines whether or not to continue adding an area based on an instruction from the operator (determination step 7). If the determination is affirmative, the process returns to step 4 to select Kyushu, which is another area based on the three points designated by the operator (step 4), and a contour line including the designated points is generated (step 5). ), The area of Kyushu surrounded by the outline is colored green (step 6). In this way, Shikoku and Hokkaido areas are selected and colored sequentially. The selected areas are sequentially added by the area adding unit 10.

次に、制御部38は、操作者からの指示に基づきエリアの追加を続けるか否か判断し(ステップ7)、否定を判断すると、エリア特定部12は、本州、九州、四国、北海道の各エリアからなる日本を第1のエリアAとして特定し、第1エリアデータ格納部22は、エリアAのデータを保管する(ステップ8)。次に、制御部38は、第2のエリア作成モードに移行する(ステップ9)。操作者からの輪郭線上の3点のポイントの指示に基づき、エリア選択部8は、例えば中国のエリアを選択する(ステップ10)。次に選択したエリアの輪郭を例えば赤に着色する(ステップ11)。 Next, the control unit 38 determines whether or not to continue adding an area based on an instruction from the operator (step 7). If the determination is negative, the area specifying unit 12 determines each of Honshu, Kyushu, Shikoku, and Hokkaido. Japan consisting of areas is specified as the first area A, and the first area data storage unit 22 stores the data of area A (step 8). Next, the control unit 38 shifts to the second area creation mode (step 9). Based on an instruction from the operator on three points on the contour line, the area selection unit 8 selects, for example, an area in China (step 10). Next, the outline of the selected area is colored, for example, red (step 11).

次に、判断ステップ12でエリアの追加を続けるか否か判断し、肯定を判断した場合は、ステップ10に戻り、否定を判断すると中国を第2エリアBとして特定し、第2エリアデータ格納部24は、エリアBのデータを保管する(ステップ13)。
日本と中国のように、特定した第1と第2の2つのエリアを比較する場合は、図6に示す判断ステップ14で否定を判断する。判断ステップ14で否定を判断すると、図7のフローチャートに示すように、面積演算部18により、エリアAとBの各面積を演算し(ステップ32)、演算された面積データは、面積データ格納部20により保管され、保管された面積データは、面積比較データ生成部32により処理され、面積比較データが生成される。
Next, it is determined whether or not the area addition is continued in the determination step 12, and if the determination is affirmative, the process returns to step 10, and if the determination is negative, China is specified as the second area B, and the second area data storage unit 24 stores the data of area B (step 13).
When comparing the identified first and second areas as in Japan and China, a negative is determined in the determination step 14 shown in FIG. If the determination at step 14 is negative, as shown in the flowchart of FIG. 7, the area calculation unit 18 calculates the areas A and B (step 32), and the calculated area data is stored in the area data storage unit. The area data stored in the storage 20 is processed by the area comparison data generation unit 32 to generate area comparison data.

面積比較データ図形化表示駆動部34は、面積比較データに基づき、図4に示すようにエリアA即ち日本とエリアB即ち中国の面積の比を単純な円からなるグラフで表示する(ステップ33)。
次に、3カ国以上の国の面積を比較する場合について説明する。この場合は、図6に示す判断ステップ14で第3のエリアを作成するか否か判断し、肯定を判断した場合は、図8に示す第3のエリア作成モードに移行する。
Based on the area comparison data, the area comparison data graphic display drive unit 34 displays the area ratio of area A, that is, Japan and area B, that is, China, as a simple circle graph as shown in FIG. 4 (step 33). .
Next, the case where the areas of three or more countries are compared will be described. In this case, it is determined whether or not the third area is to be created in the determination step 14 shown in FIG. 6. If the determination is affirmative, the process proceeds to the third area creation mode shown in FIG.

第3のエリア作成モードに移行すると(ステップ15)、次に1つのエリアを選択して輪郭線を生成し(ステップ16)、選択したエリアの輪郭内を着色する(ステップ17)。次に、判断ステップ18でエリアの追加を続けるか否か判断し、肯定を判断した場合は、ステップ16に戻り、否定を判断した場合は第3のエリアを特定し、第3エリア格納部26は、特定した第3のエリアをエリアCとして保管する(ステップ19)。次に、判断ステップ20で第4のエリアを作成するか否か判断し、肯定を判断した場合は、図10に示す第4のエリア作成モードに移行する(ステップ21)。 When the mode is shifted to the third area creation mode (step 15), next, one area is selected to generate an outline (step 16), and the inside of the outline of the selected area is colored (step 17). Next, it is determined whether or not to continue adding an area in the determination step 18. If the determination is affirmative, the process returns to step 16. If the determination is negative, the third area is specified, and the third area storage unit 26. Stores the specified third area as area C (step 19). Next, it is determined whether or not the fourth area is to be created in the determination step 20, and if the determination is affirmative, the process proceeds to the fourth area creation mode shown in FIG. 10 (step 21).

第4のエリア作成モードに移行すると、次に1つのエリアを選択し(ステップ22)、選択したエリアの輪郭線内を着色する(ステップ23)。次に、判断ステップ24でエリアの追加を続けるか否か判断し、肯定を判断した場合はステップ22に戻り、否定を判断した倍は、第4のエリアを特定し、第4エリアデータ格納部28は、特定したエリアのデータをエリアDとして保管する(ステップ25)。次に、判断ステップ26で第5のエリアを作成するか否か判断し、肯定を判断した場合は図12に示す第5のエリア作成モードに移行する(ステップ27)。 After shifting to the fourth area creation mode, one area is next selected (step 22), and the outline of the selected area is colored (step 23). Next, it is determined whether or not to continue adding an area in the determination step 24. If the determination is affirmative, the process returns to step 22, and the determination of negative is that the fourth area is specified and the fourth area data storage unit 28 stores the data of the specified area as area D (step 25). Next, it is determined whether or not the fifth area is to be created in the determination step 26, and if the determination is affirmative, the process proceeds to the fifth area creation mode shown in FIG. 12 (step 27).

第5のエリア作成モードに移行すると、次に1つのエリアを選択し(ステップ28)、選択したエリアの輪郭線内を着色する(ステップ29)。次に、判断ステップ30でエリアの追加を続けるか否か判断し、肯定を判断した場合はステップ28に戻り、否定を判断した場合は、各選択したエリアを加算して第5のエリアとして加算エリアを特定し、第5エリアデータ格納部30は、特定したエリアのデータをエリアEとして保管する(ステップ31)。 After shifting to the fifth area creation mode, next, one area is selected (step 28), and the outline of the selected area is colored (step 29). Next, it is determined whether or not the area addition is continued in the determination step 30. If the determination is affirmative, the process returns to step 28. If the determination is negative, each selected area is added and added as a fifth area. The area is specified, and the fifth area data storage unit 30 stores the data of the specified area as area E (step 31).

本プログラムでは、第5のエリアを特定した後は、それ以上のエリアの特定を行うことができないように構成されている。しかし第6のエリアや、それ以上のエリアを更に特定するプログラムとすることは可能であり、本発明は、第5のエリアの特定を限界とする実施形態に特に限定されるものではない。
図8に示す判断ステップ20で、否定を判断した場合は、図9に示すようにエリアAとBとCの各面積を演算し(ステップ34)、エリアAとBとCの面積の比をグラフで表示する(ステップ35)。また、図10において判断ステップ26で否定を判断した場合には、図11に示すようにエリアAとBとCとDの各面積を演算し(ステップ36)、エリアAとBとCとDの面積の比を円の図形でグラフ表示する(ステップ37)。
In this program, after the fifth area is specified, no more areas can be specified. However, it is possible to use a program that further specifies the sixth area or more areas, and the present invention is not particularly limited to the embodiment that limits the specification of the fifth area.
If the determination at step 20 shown in FIG. 8 is negative, the areas of areas A, B, and C are calculated as shown in FIG. 9 (step 34), and the area ratio of areas A, B, and C is calculated. A graph is displayed (step 35). In addition, when a negative determination is made in determination step 26 in FIG. 10, the areas A, B, C, and D are calculated as shown in FIG. 11 (step 36), and areas A, B, C, and D are calculated. The area ratio is graphically displayed in the form of a circle (step 37).

図12において、第5のエリアEのデータを特定し、第5エリアデータ格納部30により、エリアEのデータを保管した場合には(ステップ31)、図13に示すように エリアAとBとCとDとEの各面積を演算し(ステップ38)、エリアAとBとCとDとEの面積の比を円の図形でグラフ表示する(ステップ39)。
本プログラムで処理する画像データは、JPGなどの特定の形式が採用されている。
In FIG. 12, when the data of the fifth area E is specified and the data of the area E is stored by the fifth area data storage unit 30 (step 31), as shown in FIG. The areas of C, D, and E are calculated (step 38), and the ratio of the areas A, B, C, D, and E is graphically displayed as a circle (step 39).
The image data processed by this program adopts a specific format such as JPG.

本プログラムでは、エリア輪郭生成部14が、ポインタからの3点の位置情報に基づいて、輪郭線を生成する構成としているが、輪郭トレースの手法による、ポインタのエリアの輪郭に沿った移動軌跡線情報に基づいて、エリア輪郭生成部14が、エリアの輪郭線を生成するオプション機能をも備えている。画像中の輪郭線が不明瞭であり、ポイント位置情報では輪郭の特定に不適当である場合、あるいは、画像中に、任意のエリアを作成したい場合に、操作者はこのオプション機能を利用することができる。なお、本プログラムは、エリア輪郭生成部14が、ポインタからの3点の位置情報に基づいて、輪郭線を生成する構成に特に限定されるものではなく、エリア輪郭生成部14が、ポインタからの1点又は複数点の位置情報に基づいて、輪郭線を生成する構成としても良い。
本プログラムには、CADデータなどの他の形式のデータを、本プログラムの採用する特定のJPGなどの形式に変換して処理するための画像形式処理部4が構築されている。
In this program, the area contour generation unit 14 is configured to generate a contour line based on the position information of three points from the pointer. However, the movement trace line along the contour of the pointer area by the contour tracing method is used. Based on the information, the area outline generation unit 14 also has an optional function of generating an area outline. The operator should use this optional function when the contour line in the image is unclear and the point position information is inappropriate for specifying the contour, or when creating an arbitrary area in the image. Can do. The program is not particularly limited to the configuration in which the area contour generation unit 14 generates a contour line based on the position information of the three points from the pointer. An outline may be generated based on position information of one point or a plurality of points.
In this program, an image format processing unit 4 for converting and processing data in other formats such as CAD data into a format such as a specific JPG adopted by the program is constructed.

2 画像保管部
4 画像形式処理部
6 画像表示駆動部
8 エリア選択部
10 エリア加算部
12 エリア特定部
14 エリア輪郭生成部
16 エリア着色部
18 面積演算部
20 面積データ格納部
22 第1エリアデータ格納部
24 第2エリアデータ格納部
26 第3エリアデータ格納部
28 第4エリアデータ格納部
30 第5エリアデータ格納部
32 面積比較データ生成部
34 面積比較データ図形化表示駆動部
36 インターネット接続部
38 制御部
40 画像データ
2 Image storage unit 4 Image format processing unit 6 Image display drive unit 8 Area selection unit 10 Area addition unit 12 Area specification unit 14 Area contour generation unit 16 Area coloring unit 18 Area calculation unit 20 Area data storage unit 22 First area data storage Unit 24 second area data storage unit 26 third area data storage unit 28 fourth area data storage unit 30 fifth area data storage unit 32 area comparison data generation unit 34 area comparison data graphic display drive unit 36 internet connection unit 38 control Part 40 Image data

第4のエリア作成モードに移行すると、次に1つのエリアを選択し(ステップ22)、選択したエリアの輪郭線内を着色する(ステップ23)。次に、判断ステップ24でエリアの追加を続けるか否か判断し、肯定を判断した場合はステップ22に戻り、否定を判断した場合は、第4のエリアを特定し、第4エリアデータ格納部28は、特定したエリアのデータをエリアDとして保管する(ステップ25)。次に、判断ステップ26で第5のエリアを作成するか否か判断し、肯定を判断した場合は図12に示す第5のエリア作成モードに移行する(ステップ27)。 After shifting to the fourth area creation mode, one area is next selected (step 22), and the outline of the selected area is colored (step 23). Next, it is determined whether or not continue adding areas in decision step 24, the process returns to step 22 If it is determined positive, if it is determined negative, identifying the fourth area, the fourth area data storage unit 28 stores the data of the specified area as area D (step 25). Next, it is determined whether or not the fifth area is to be created in the determination step 26, and if the determination is affirmative, the process proceeds to the fifth area creation mode shown in FIG. 12 (step 27).

Claims (6)

画像中の特定の複数のエリアの面積の比を単純な図形で表示するコンピュータ用面積比較プログラムであって、コンピュータを、画像データを保管する画像保管手段、選択された画像をディスプレイに表示する図形表示駆動手段、画像中の特定のエリアを選択するエリア選択手段、選択したエリアの輪郭を生成するエリア輪郭生成手段、生成された輪郭の内部を着色するエリア着色手段、第1のエリアとこれと比較する他のエリアとを特定するエリア特定手段、特定された第1のエリアと他のエリアの面積を演算する面積演算手段、第1のエリアと他のエリアのデータを格納するエリアデータ格納手段、第1のエリアと他のエリアの面積の比較データを生成する面積比較データ生成手段、第1のエリアと他のエリアの面積の比較データを図形化して表示する面積比較データ図形化表示駆動手段、として機能させたことを特徴とする面積比較用コンピュータプログラム。   An area comparison program for a computer that displays a ratio of areas of a plurality of specific areas in an image as a simple graphic, the computer storing image data for storing image data, and a graphic for displaying a selected image on a display Display driving means, area selecting means for selecting a specific area in the image, area contour generating means for generating the contour of the selected area, area coloring means for coloring the inside of the generated contour, the first area and this Area specifying means for specifying other areas to be compared, area calculating means for calculating the areas of the specified first area and other areas, and area data storage means for storing data of the first area and other areas , Area comparison data generating means for generating comparison data of the area of the first area and the other area, the comparison data of the area of the first area and the other area in the form of a graphic And an area comparison data graphically display driving means for displaying an area comparison computer program characterized in that to function as a. 画像保管部に保管する画像の形式をあらかじめ規定された形式に変換する画像形式処理手段を備えたことを特徴とする請求項1に記載の面積比較用コンピュータプログラム。   2. The area comparison computer program according to claim 1, further comprising image format processing means for converting the format of an image stored in the image storage unit into a predetermined format. 前記エリア特定手段は、前記第1のエリアと比較される他のエリアを複数特定するようにしたことを特徴とする請求項1に記載の面積比較用コンピュータプログラム。   2. The area comparison computer program according to claim 1, wherein the area specifying unit specifies a plurality of other areas to be compared with the first area. 複数のエリアを加算して第1のエリアを構成し、複数のエリアを加算して他のエリアを構成するエリア加算手段を備えたことを特徴とする請求項1に記載の面積比較用コンピュータプログラム。   The area comparison computer program according to claim 1, further comprising area addition means for adding a plurality of areas to form a first area and adding the plurality of areas to form another area. . 前記エリア輪郭生成手段は、コンピュータのディスプレイ上の、ポインタにより指示される1つ又は複数のポイント入力に基づいて該ポイントを含むエリアの輪郭線を生成するようにしたことを特徴とする請求項1に記載の面積比較用コンピュータプログラム。   2. The area contour generation means generates a contour line of an area including the point based on one or more point inputs indicated by a pointer on a computer display. The computer program for area comparison as described in. 前記エリア輪郭生成手段は、コンピュータのディスプレイ上の、ポインタの移動軌跡が描く線に基づいてエリアの輪郭線を生成するようにしたことを特徴とする請求項1に記載の面積比較用コンピュータプログラム。   2. The computer program for area comparison according to claim 1, wherein the area contour generation means generates an area contour line based on a line drawn by a movement locus of a pointer on a computer display.
JP2016230791A 2016-11-29 2016-11-29 Computer program for area comparison Pending JP2018088113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016230791A JP2018088113A (en) 2016-11-29 2016-11-29 Computer program for area comparison

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016230791A JP2018088113A (en) 2016-11-29 2016-11-29 Computer program for area comparison

Publications (1)

Publication Number Publication Date
JP2018088113A true JP2018088113A (en) 2018-06-07

Family

ID=62493656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016230791A Pending JP2018088113A (en) 2016-11-29 2016-11-29 Computer program for area comparison

Country Status (1)

Country Link
JP (1) JP2018088113A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03266171A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Automatic area graph generating method for graphic processor
JPH04155474A (en) * 1990-10-19 1992-05-28 Hitachi Ltd Method and device for processing image
JPH11161679A (en) * 1997-11-28 1999-06-18 Nec Home Electron Ltd Generating method for map coordinate-to-administrative section collating table
JP2003177736A (en) * 2001-12-10 2003-06-27 Online Application Systems Kk Image display system, image display program and image display method
JP2004118280A (en) * 2002-09-24 2004-04-15 Cross Culture Ltd Information providing service system and server
JP2008181168A (en) * 2007-01-23 2008-08-07 System Run:Kk Colored drawing creation device and method, and program therefor
JP2010134887A (en) * 2008-12-02 2010-06-17 Yahoo Japan Corp Map display device and method for displaying area using comparison object

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03266171A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Automatic area graph generating method for graphic processor
JPH04155474A (en) * 1990-10-19 1992-05-28 Hitachi Ltd Method and device for processing image
JPH11161679A (en) * 1997-11-28 1999-06-18 Nec Home Electron Ltd Generating method for map coordinate-to-administrative section collating table
JP2003177736A (en) * 2001-12-10 2003-06-27 Online Application Systems Kk Image display system, image display program and image display method
JP2004118280A (en) * 2002-09-24 2004-04-15 Cross Culture Ltd Information providing service system and server
JP2008181168A (en) * 2007-01-23 2008-08-07 System Run:Kk Colored drawing creation device and method, and program therefor
JP2010134887A (en) * 2008-12-02 2010-06-17 Yahoo Japan Corp Map display device and method for displaying area using comparison object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
越田啓太, 外3名: ""メンタルマップを改善する地図学習支援システムの開発"", 情報処理学会研究報告, vol. 第2005巻, 第123号, JPN6018000238, 10 December 2005 (2005-12-10), JP, pages 91 - 98 *

Similar Documents

Publication Publication Date Title
JP5429060B2 (en) Display control apparatus, display control method, display control program, and recording medium on which this display control program is recorded
WO2016145832A1 (en) Method of operating terminal and device utilizing same
JP2009505242A (en) Associating objects in a computer-generated drawing environment
US9105094B2 (en) Image layers navigation
JP5862103B2 (en) Electronic blackboard device, screen display method and program
US20140040789A1 (en) Tool configuration history in a user interface
US10817148B2 (en) Display control method of communication device, control method of server, and recording medium
EP2960763A1 (en) Computerized systems and methods for cascading user interface element animations
JP2013008127A (en) Information processing apparatus, program, and coordination processing method
KR20210057943A (en) Method, apparatus and computer program for conducting automatic driving data labeling
KR20140117979A (en) Method for selecting items using a touch screen and system thereof
US9495124B1 (en) Device for displaying a remote display according to a monitor geometry
CN105094365A (en) Drawing-type input method and device and input method system
JP6448500B2 (en) Image processing apparatus and image processing method
CN110580397A (en) display system for engineering project centralized display platform
JP2018088113A (en) Computer program for area comparison
CN109800039A (en) A kind of user interface presentation method, apparatus, electronic equipment and storage medium
US10025485B2 (en) Non-transitory storage medium storing display program and display device
JP5883936B2 (en) Programmable controller system
JP2015095055A (en) Image processing apparatus, image processing method, and program
JP2015194854A (en) Input area creating method, creating device, and creating program
TW201621610A (en) Desktop navigation system and method
TWI439962B (en) Intuitive image depth generation system and image depth generation method
JP2020013390A (en) Information processing apparatus, information processing program, and information processing method
JP5997718B2 (en) Lighting space evaluation method, lighting space evaluation program, and lighting space evaluation apparatus

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180319