JP2015156219A - Electronic apparatus and program - Google Patents

Electronic apparatus and program Download PDF

Info

Publication number
JP2015156219A
JP2015156219A JP2015044689A JP2015044689A JP2015156219A JP 2015156219 A JP2015156219 A JP 2015156219A JP 2015044689 A JP2015044689 A JP 2015044689A JP 2015044689 A JP2015044689 A JP 2015044689A JP 2015156219 A JP2015156219 A JP 2015156219A
Authority
JP
Japan
Prior art keywords
graph
line segment
length
image
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015044689A
Other languages
Japanese (ja)
Other versions
JP5958582B2 (en
Inventor
宏美 山口
Hiromi Yamaguchi
宏美 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2015044689A priority Critical patent/JP5958582B2/en
Publication of JP2015156219A publication Critical patent/JP2015156219A/en
Application granted granted Critical
Publication of JP5958582B2 publication Critical patent/JP5958582B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic apparatus which can learn a graph shape represented by an object, an event or the like in an image, in association with a graph expression expressed by real size of the graph shape.
SOLUTION: A scientific calculator 1 comprises: a display 3 for displaying an image; a CPU 11 for detecting a graph figure corresponding to a predetermined graph shape in the image to draw a graph on the graph figure in a superposed manner; and an input unit 14 for specifying an optional line segment in the image as a line segment of a length input target and also inputting length of the line segment of the length input target. The CPU 11 sets origin coordinates in the image according to a position and a shape of the graph, and calculates a display coordinate range which is to be set on the image based on the length of the line segment of the length input target. Also, the CPU 11 calculates a graph expression of the graph based on the display range to display the graph expression on the display 3.
COPYRIGHT: (C)2015,JPO&INPIT

Description

本発明は、電子機器及びプログラムに関する。   The present invention relates to an electronic device and a program.

従来、撮影画像を表示する電子機器においては、移動物体の撮影画像を背景として表示させつつ、当該移動物体の測定データをグラフ化して描画することにより、グラフの形状と物理的な事象とを関連付けて学習できるようになっている(例えば、特許文献1参照)。   Conventionally, in an electronic device that displays a captured image, while displaying the captured image of the moving object as a background, the measurement data of the moving object is graphed and drawn, thereby associating the shape of the graph with a physical event. (For example, refer patent document 1).

特開2003−131665号公報JP 2003-131665 A

しかしながら、従来の技術では、測定データに基づくプロット点を結んでグラフが描画されるに過ぎず、画像中のグラフ形状と、当該グラフ形状を実サイズに即して表現したグラフ式とを関連付けて学習することはできない。   However, in the conventional technique, a graph is simply drawn by connecting plot points based on measurement data, and the graph shape in the image is associated with a graph expression that represents the graph shape in accordance with the actual size. I can't learn.

本発明の課題は、画像中の物体や事象などで表されるグラフ形状と、当該グラフ形状を実サイズに即して表現したグラフ式とを関連付けて学習することのできる電子機器及びプログラムを提供することである。   An object of the present invention is to provide an electronic device and a program capable of learning by associating a graph shape represented by an object or an event in an image and a graph expression expressing the graph shape in accordance with an actual size. It is to be.

上記課題を解決するため、請求項1に記載の発明は、電子機器において、
画像を表示させる表示手段と、
前記画像中から所定のグラフ形状に合致するグラフ図形を検出し、当該グラフ図形に重ねてグラフを描画するグラフ描画手段と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定手段と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力手段と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定手段と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出手段と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出手段と、
を備えることを特徴とする。
In order to solve the above-described problem, the invention according to claim 1 is an electronic device.
Display means for displaying an image;
A graph drawing means for detecting a graph figure matching a predetermined graph shape from the image and drawing a graph superimposed on the graph figure;
Length input line segment specifying means for specifying an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input means for inputting a length for the length input target line segment;
Origin setting means for setting an origin of a coordinate system in the image according to the position and shape of the graph;
Display range calculation means for calculating a display range of a coordinate system set to be superimposed on the image based on the length of the line segment of the length input target;
Based on the display range, calculating a graph formula of the graph, and displaying the graph formula on the display means;
It is characterized by providing.

本発明によれば、画像中の物体や事象などで表されるグラフ形状と、当該グラフ形状を実サイズに即して表現したグラフ式とを関連付けて学習することができる。   According to the present invention, it is possible to learn by associating a graph shape represented by an object or an event in an image and a graph expression expressing the graph shape in accordance with the actual size.

関数電卓の概略構成を示す平面図である。It is a top view which shows schematic structure of a scientific calculator. 関数電卓の機能構成を示すブロック図である。It is a block diagram which shows the function structure of a scientific calculator. 画像表示処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an image display process. 画像表示処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an image display process. 原点位置の設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a setting process of an origin position. 長さ設定対象の線分の設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a setting process of the line segment of length setting object. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display.

以下、添付図面を参照して本発明に係る実施の形態の一例を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。   Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

[1.関数電卓の構成]
[1−1.外観構成]
図1は、関数電卓1の概略構成を示す概念図である。
この図に示すように、関数電卓1は、各種キー群を有する入力キー群2と、ディスプレイ3と、を備えている。
[1. Structure of scientific calculator]
[1-1. Appearance configuration]
FIG. 1 is a conceptual diagram showing a schematic configuration of the scientific calculator 1.
As shown in the figure, the scientific calculator 1 includes an input key group 2 having various key groups and a display 3.

入力キー群2は、ユーザから数値や演算記号等の数式構成要素の入力操作を受けたり、各種処理の指示操作を受けたりするためのキー群であり、それぞれ固有の機能を割り当てられた複数のキーを備えている。本実施の形態においては、入力キー群2は、テンキー20や演算記号キー21、カーソルキー22、EXEキー23、削除キー24等を備えている。   The input key group 2 is a key group for receiving an input operation of a mathematical expression component such as a numerical value or an arithmetic symbol from a user or an instruction operation of various processes, and a plurality of keys each assigned a unique function. Has a key. In the present embodiment, the input key group 2 includes a numeric keypad 20, an operation symbol key 21, a cursor key 22, an EXE key 23, a delete key 24, and the like.

このうち、テンキー20は数値の入力操作を受けるキーであり、演算記号キー21は四則演算の記号や括弧、分数の括線、根号(√)、対数記号、定数(円周率「π」や光速度「c」等)、三角関数記号など、各種演算記号の入力操作を受けるキーである。   Among these keys, the numeric keypad 20 is a key for receiving a numerical input operation, and the arithmetic symbol key 21 is a symbol for arithmetic operations, parentheses, a tie line for fractions, a root sign (√), a logarithmic symbol, a constant (circumference ratio “π”). And the speed of light “c”, etc.), a key for receiving input operations of various arithmetic symbols such as a trigonometric function symbol.

カーソルキー22は、ディスプレイ3内で編集対象位置や選択対象位置を示すカーソルを所定の方向に移動させる場合等に押下されるキーであり、本実施の形態においては、上下左右の4方向について入力可能に構成されている。   The cursor key 22 is a key that is pressed when the cursor indicating the editing target position or the selection target position is moved in a predetermined direction in the display 3. In the present embodiment, the cursor key 22 is input in four directions, up, down, left, and right. It is configured to be possible.

は、処理の実行指示や決定指示の入力操作を受けるキーであり、例えば数式の入力後に演算処理の実行を指示するキーとして機能するようになっている。削除キー24は、ディスプレイ3に表示されている数値や演算記号などの削除操作を受けるキーである。 Is a key that receives an input operation of a process execution instruction or a determination instruction, and functions as a key for instructing execution of a calculation process after a mathematical expression is input. The delete key 24 is a key for receiving a delete operation such as a numerical value or a calculation symbol displayed on the display 3.

ディスプレイ3は、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等により構成されており、入力キー群2などの操作に応じた文字や符号、数式、演算結果、座標軸、グラフなどの他、関数電卓1を使用するために必要な各種データを複数のドットにより表示するようになっている。なお、本実施の形態におけるディスプレイ3では、横方向にX軸、縦方向にY軸が表示され、当該XY軸によりXY座標系が表示されるようになっており、Y軸方向,X軸方向のドット数は「186」,「378」となっている。また、本実施の形態においては、各ドットは正方形であり、縦横の長さが同一となっている。更に、本実施の形態におけるディスプレイ3には、タッチパネル30が表示画面全面に亘って一体的に設けられている。   The display 3 is composed of an LCD (Liquid Crystal Display), an ELD (Electronic Luminescent Display), etc. In addition to characters and signs, mathematical expressions, calculation results, coordinate axes, graphs, etc. according to the operation of the input key group 2, etc. Various data necessary for using the scientific calculator 1 are displayed by a plurality of dots. In the display 3 according to the present embodiment, the X axis is displayed in the horizontal direction, the Y axis is displayed in the vertical direction, and the XY coordinate system is displayed by the XY axis. The Y axis direction and the X axis direction are displayed. The number of dots is “186” and “378”. Further, in the present embodiment, each dot is a square and has the same length in the vertical and horizontal directions. Furthermore, the display 3 in the present embodiment is integrally provided with a touch panel 30 over the entire display screen.

[1−2.機能構成]
続いて、関数電卓1の機能構成を説明する。
図2は、関数電卓1の概略的な機能構成を示すブロック図である。
[1-2. Functional configuration]
Next, the functional configuration of the scientific calculator 1 will be described.
FIG. 2 is a block diagram illustrating a schematic functional configuration of the scientific calculator 1.

この図に示すように、関数電卓1は、入力部14と、表示部15と、通信部16と、記録媒体読取部17と、RAM(Random Access Memory)12と、記憶部13と、CPU(Central Processing Unit)11と、を備えて構成されている。   As shown in the figure, the scientific calculator 1 includes an input unit 14, a display unit 15, a communication unit 16, a recording medium reading unit 17, a RAM (Random Access Memory) 12, a storage unit 13, and a CPU ( Central Processing Unit) 11.

入力部14は、上述の入力キー群2及びタッチパネル30を備えており、押下されたキーやタッチパネル30の位置に対応する信号をCPU11に出力するようになっている。   The input unit 14 includes the input key group 2 and the touch panel 30 described above, and outputs a signal corresponding to the pressed key or the position of the touch panel 30 to the CPU 11.

表示部15は、上述のディスプレイ3を備えており、CPU11からの表示信号に従って各種情報をディスプレイ3に表示するようになっている。   The display unit 15 includes the display 3 described above, and displays various types of information on the display 3 in accordance with display signals from the CPU 11.

通信部16は、インターネットに接続可能となっており、これにより、インターネットに接続される外部機器との通信が可能となっている。
記録媒体読取部17は、着脱自在に装着されるUSBメモリ等の外部情報記憶媒体17Aから情報を読み取るものである。
The communication unit 16 can be connected to the Internet, thereby enabling communication with an external device connected to the Internet.
The recording medium reading unit 17 reads information from an external information storage medium 17A such as a USB memory that is detachably mounted.

RAM12は、情報を一時的に格納する揮発性のメモリであり、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納する複数のワークエリアを有する。   The RAM 12 is a volatile memory that temporarily stores information, and has a plurality of work areas that store various programs to be executed and data related to these various programs.

記憶部13は、ROM(Read Only Memory)等により構成される不揮発性のメモリであり、各種プログラム及び各種データを記憶している。具体的には、記憶部13は、本発明に係るプログラムとしての画像表示プログラム130と、画像ファイル群131とを記憶している。   The storage unit 13 is a non-volatile memory composed of a ROM (Read Only Memory) or the like, and stores various programs and various data. Specifically, the storage unit 13 stores an image display program 130 as a program according to the present invention and an image file group 131.

画像表示プログラム130は、後述の画像表示処理(図3〜図4参照)をCPU11に実行させるためのプログラムである。   The image display program 130 is a program for causing the CPU 11 to execute an image display process (see FIGS. 3 to 4) described later.

画像ファイル群131は、ディスプレイ3に表示可能な画像についての画像ファイル100を複数記憶している。これらの画像ファイル100は、通信部16を介して受信されるようになっている。   The image file group 131 stores a plurality of image files 100 for images that can be displayed on the display 3. These image files 100 are received via the communication unit 16.

CPU11は、関数電卓1の各部を中央制御する。具体的には、CPU11は、記憶部13に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM12に展開し、RAM12に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each part of the scientific calculator 1. Specifically, the CPU 11 expands a program specified from the system program and various application programs stored in the storage unit 13 in the RAM 12 and performs various processes in cooperation with the program expanded in the RAM 12. Run.

[2.関数電卓の動作]
続いて、関数電卓1の動作について、図3〜図4を参照しつつ説明する。
図3〜図4は、CPU11が記憶部13から画像表示プログラム130を読み出して実行する画像表示処理の動作を説明するためのフローチャートである。
[2. Operation of scientific calculator]
Next, the operation of the scientific calculator 1 will be described with reference to FIGS.
3 to 4 are flowcharts for explaining the operation of the image display process that the CPU 11 reads out and executes the image display program 130 from the storage unit 13.

図3に示すように、画像表示処理においてまずCPU11は、記憶部13から画像ファイル100を読み出す旨の操作が行われるか否かを判定し(ステップS1)、行われたと判定した場合(ステップS1;Yes)には、ユーザ操作によって指定される画像ファイル100を記憶部13から読み出し、ディスプレイ3に背景画像として表示させ(ステップS2)、後述のステップS5に移行する。   As shown in FIG. 3, in the image display process, first, the CPU 11 determines whether or not an operation for reading the image file 100 from the storage unit 13 is performed (step S1), and when it is determined that the operation has been performed (step S1). ; Yes), the image file 100 designated by the user operation is read from the storage unit 13 and displayed on the display 3 as a background image (step S2), and the process proceeds to step S5 described later.

また、ステップS1において記憶部13から画像ファイル100を読み出す旨の操作が行われないと判定した場合(ステップS1;No)には、CPU11は、インターネット上から画像ファイル100をダウンロードする旨の操作が行われるか否かを判定し(ステップS3)、行われないと判定した場合(ステップS3;No)には他の処理へ移行する。   If it is determined in step S1 that an operation for reading the image file 100 from the storage unit 13 is not performed (step S1; No), the CPU 11 performs an operation for downloading the image file 100 from the Internet. It is determined whether or not it is performed (step S3), and when it is determined that it is not performed (step S3; No), the process proceeds to another process.

また、ステップS3において画像ファイル100をダウンロードする旨の操作が行われたと判定した場合(ステップS3;Yes)には、CPU11は、ユーザ操作によって指定される画像ファイル100をダウンロードして記憶部13に記憶させるとともに、ディスプレイ3に背景画像として表示させる(ステップS4)。   If it is determined in step S3 that an operation to download the image file 100 has been performed (step S3; Yes), the CPU 11 downloads the image file 100 specified by the user operation and stores it in the storage unit 13. While being memorize | stored, it displays on a display 3 as a background image (step S4).

次に、CPU11は、グラフ式のタイプを選択する旨の操作が行われるか否かを判定し(ステップS5)、行われたと判定した場合(ステップS5;Yes)には、ディスプレイ3にグラフ式のタイプ(本実施の形態においてはグラフの一般式及びグラフ形状)を一覧表示させ(ステップS6)、ユーザ操作に基づいて何れかのグラフ式のタイプを選択する(ステップS7)。   Next, the CPU 11 determines whether or not an operation for selecting the type of the graph expression is performed (step S5). When it is determined that the operation is performed (step S5; Yes), the graph expression is displayed on the display 3. Are displayed in a list (step S6), and one of the graph expression types is selected based on a user operation (step S7).

次に、CPU11は、選択されたグラフ式タイプのグラフ形状に合致するグラフ図形を、ディスプレイ3に表示されている背景画像から検出した後(ステップS8)、後述のステップS21に移行する。   Next, the CPU 11 detects a graph figure that matches the graph type of the selected graph type from the background image displayed on the display 3 (step S8), and then proceeds to step S21 described later.

また、上述のステップS5においてグラフ式のタイプを選択する旨の操作が行われないと判定した場合(ステップS5;No)には、CPU11は、グラフ図形をサーチさせる旨の操作が行われるか否かを判定し(ステップS11)、行われないと判定した場合(ステップS11;No)には、後述のステップS24に移行する。   Further, when it is determined in step S5 that the operation for selecting the graph type is not performed (step S5; No), the CPU 11 determines whether or not the operation for searching the graph figure is performed. If it is determined (step S11) that it is not performed (step S11; No), the process proceeds to step S24 described later.

また、ステップS11においてグラフ図形をサーチさせる旨の操作が行われたと判定した場合(ステップS11;Yes)には、CPU11は、円、楕円及び放物線の各グラフ図形を、ディスプレイ3に表示されている背景画像から検出する(ステップS12)。   If it is determined in step S11 that an operation to search for a graph figure has been performed (step S11; Yes), the CPU 11 displays the circle, ellipse, and parabola graph figures on the display 3. It detects from a background image (step S12).

次に、CPU11は、背景画像から検出した各グラフ図形に重ねてグラフを描画するとともに、当該グラフの表示色と同じ色で、そのグラフ式を表示させる(ステップS21)。   Next, the CPU 11 draws a graph superimposed on each graph figure detected from the background image, and displays the graph expression in the same color as the display color of the graph (step S21).

次に、CPU11は、ユーザ操作に基づいて、何れかのグラフ図形を選択グラフ図形として選択するとともに、選択されなかったグラフ図形のグラフ及びグラフ式をディスプレイ3から消去した後(ステップS22)、原点位置の設定処理を行う(ステップS23)。   Next, the CPU 11 selects one of the graph figures as the selected graph figure based on the user operation, erases the graph and the graph expression of the unselected graph figure from the display 3 (step S22), and then returns to the origin. A position setting process is performed (step S23).

具体的には、図5に示すように、この原点位置の設定処理においてまずCPU11は、ディスプレイ3における表示領域の中央位置を原点位置に仮設定した後(ステップT1)、選択グラフ図形が円または楕円であるか否かを判定する(ステップT2)。   Specifically, as shown in FIG. 5, in the origin position setting process, the CPU 11 first temporarily sets the center position of the display area on the display 3 to the origin position (step T1), and then the selected graph figure is a circle or It is determined whether it is an ellipse (step T2).

このステップT2において選択グラフ図形が円または楕円であると判定した場合(ステップT2;Yes)には、CPU11は、当該グラフ図形の最下部の位置を原点位置に設定し直した後(ステップT3)、設定処理を終了する。   If it is determined in step T2 that the selected graph figure is a circle or an ellipse (step T2; Yes), the CPU 11 resets the lowest position of the graph figure to the origin position (step T3). The setting process is terminated.

また、ステップT2において選択グラフ図形が円または楕円でないと判定した場合(ステップT2;No)には、CPU11は、選択グラフ図形が放物線のうち、上方または下方に開いた放物線であるか否かを判定する(ステップT5)。   When it is determined in step T2 that the selected graph figure is not a circle or an ellipse (step T2; No), the CPU 11 determines whether the selected graph figure is a parabola that opens upward or downward among the parabolas. Determine (step T5).

このステップT5において選択グラフ図形が放物線のうち、上方または下方に開いた放物線であると判定した場合(ステップT5;Yes)には、CPU11は、選択グラフ図形は概ね左右対称であるか否か、つまり頂点に対して左右一方の側に偏っていないか否かを判定する(ステップT6)。   If it is determined in step T5 that the selected graph graphic is a parabola that opens upward or downward among the parabolas (step T5; Yes), the CPU 11 determines whether or not the selected graph graphic is generally symmetrical. That is, it is determined whether or not it is biased to the left or right side with respect to the vertex (step T6).

このステップT6において選択グラフ図形が概ね左右対称であると判定した場合(ステップT6;Yes)には、CPU11は、選択グラフ図形が上開きであるか否かを判定する(ステップT7)。   When it is determined in step T6 that the selected graph graphic is substantially symmetric (step T6; Yes), the CPU 11 determines whether the selected graph graphic is open upward (step T7).

このステップT7において選択グラフ図形が上開きであると判定した場合(ステップT7;Yes)には、CPU11は、頂点位置(最下部の位置)を原点位置に設定し直した後(ステップT8)、設定処理を終了する。   When it is determined in step T7 that the selected graph figure is open upward (step T7; Yes), the CPU 11 resets the vertex position (lowermost position) to the origin position (step T8), The setting process ends.

また、ステップT7において選択グラフ図形が上開きでないと判定した場合、つまり下開きであると判定した場合(ステップT7;No)には、CPU11は、頂点位置(最上部の位置)のX座標位置を原点のX座標位置に設定し直すとともに(ステップT9)、選択グラフ図形の最下部のY座標位置を原点のY座標位置に設定し直し(ステップT10)、設定処理を終了する。   Further, when it is determined in step T7 that the selected graph figure is not opened upward, that is, when it is determined that the selected graph figure is opened downward (step T7; No), the CPU 11 determines the X coordinate position of the vertex position (topmost position). Is reset to the X coordinate position of the origin (step T9), the Y coordinate position at the bottom of the selected graph figure is reset to the Y coordinate position of the origin (step T10), and the setting process is terminated.

また、ステップT6において選択グラフ図形が概ね左右対称でないと判定した場合(ステップT6;No)には、CPU11は、選択グラフ図形が放物線の頂点から片側の部分のみであるか否かを判定し(ステップT11)、片側の部分のみではないと判定した場合(ステップT11;No)には、ステップT1での仮設定の通りに原点位置を設定し、設定処理を終了する。   When it is determined in step T6 that the selected graph graphic is not substantially symmetrical (step T6; No), the CPU 11 determines whether or not the selected graph graphic is only a part on one side from the apex of the parabola ( If it is determined in step T11) that it is not only on one side (step T11; No), the origin position is set according to the provisional setting in step T1, and the setting process is terminated.

また、ステップT11において選択グラフ図形が放物線の頂点から片側の部分のみであると判定した場合(ステップT11;Yes)には、CPU11は、選択グラフ図形を囲んだ長方形における左下の角の位置を原点位置に設定し直し(ステップT12)、設定処理を終了する。   If it is determined in step T11 that the selected graph figure is only one part from the apex of the parabola (step T11; Yes), the CPU 11 sets the position of the lower left corner in the rectangle surrounding the selected graph figure as the origin. The position is reset (step T12), and the setting process is terminated.

また、ステップT5において選択グラフ図形が放物線のうち、上方または下方に開いた放物線でないと判定した場合(ステップT5;No)には、CPU11は、選択グラフ図形が放物線のうち、右または左に開いた放物線であるか否かを判定し(ステップT15)、右または左に開いた放物線ではないと判定した場合(ステップT15;No)には、ステップT1での仮設定の通りに原点位置を設定し、設定処理を終了する。   If it is determined in step T5 that the selected graph figure is not a parabola that opens upward or downward in the parabola (step T5; No), the CPU 11 opens the selected graph figure to the right or left in the parabola. Is determined to be a parabola (step T15), and if it is determined that the parabola is not opened to the right or left (step T15; No), the origin position is set according to the temporary setting in step T1. Then, the setting process ends.

このステップT15において選択グラフ図形が右または左に開いた放物線であると判定した場合(ステップT15;Yes)には、CPU11は、選択グラフ図形の頂点位置を原点位置に設定し直し(ステップT16)、設定処理を終了する。   If it is determined in step T15 that the selected graph figure is a parabola opened to the right or left (step T15; Yes), the CPU 11 resets the vertex position of the selected graph figure to the origin position (step T16). The setting process is terminated.

以上のステップT2〜T16により、選択グラフ図形(ディスプレイ3に描画されているグラフ)の位置及び形状に応じて、画像中(表示領域中)に座標系の原点が設定されることとなる。
そして、原点位置の設定処理が終了したら、図3に示すように、次にCPU11は、原点位置を修正する旨の操作が行われるか否かを判定し(ステップS24)、行われたと判定した場合(ステップS24;Yes)には、現時点で設定されている原点位置に原点を表示させる(ステップS25)。
Through the above steps T2 to T16, the origin of the coordinate system is set in the image (in the display area) in accordance with the position and shape of the selected graph figure (graph drawn on the display 3).
When the origin position setting process is completed, as shown in FIG. 3, the CPU 11 next determines whether or not an operation for correcting the origin position is performed (step S24), and determines that it has been performed. In the case (step S24; Yes), the origin is displayed at the origin position set at the present time (step S25).

次に、CPU11は、選択グラフ図形が円または楕円であるか否かを判定し(ステップS26)、円または楕円であると判定した場合(ステップS26;Yes)には、原点位置の設定メニューを表示させる(ステップS27)。ここで、このステップS27で表示される設定メニューとしては、「現在位置でOK」と、「円の中心に設定」と、「ユーザ指定位置に変更」との3つが用いられるようになっている。そして、「現在位置でOK」のメニューが選択されると、現時点で設定されている原点位置が変更されずに維持される。また、「円の中心に設定」のメニューが選択されると、選択グラフ図形(円または楕円)の中心位置が原点位置に設定される。また、「ユーザ指定位置に変更」のメニューが選択されると、ユーザ操作に基づく指定位置が原点位置に設定される。   Next, the CPU 11 determines whether or not the selected graph figure is a circle or an ellipse (step S26). If it is determined that the selected graph figure is a circle or an ellipse (step S26; Yes), the origin position setting menu is displayed. It is displayed (step S27). Here, as the setting menu displayed in this step S27, the following three are used: "OK at current position", "Set to circle center", and "Change to user specified position". . When the menu “OK at current position” is selected, the origin position set at the present time is maintained without being changed. When the menu “set to circle center” is selected, the center position of the selected graph figure (circle or ellipse) is set to the origin position. When the menu “change to user designated position” is selected, the designated position based on the user operation is set as the origin position.

次に、CPU11は、ユーザにより選択されるメニューに応じて原点位置を設定し直し(ステップS28)、上述のステップS24に移行する。   Next, the CPU 11 resets the origin position according to the menu selected by the user (step S28), and proceeds to the above-described step S24.

また、ステップS26において選択グラフ図形が円または楕円でないと判定した場合(ステップS26;No)には、CPU11は、原点位置の設定メニューを表示させ(ステップS29)、上述のステップS28に移行する。ここで、このステップS29で表示される設定メニューとしては、「現在位置でOK」と、「図形の頂点に設定」と、「ユーザ指定位置に変更」との3つが用いられるようになっている。そして、「図形の頂点位置に設定」のメニューが選択されると、選択グラフ図形(放物線)の頂点位置が原点位置に設定される。   If it is determined in step S26 that the selected graph figure is not a circle or an ellipse (step S26; No), the CPU 11 displays an origin position setting menu (step S29), and proceeds to the above-described step S28. Here, as the setting menu displayed in this step S29, the following three are used: "OK at current position", "Set to vertex of figure", and "Change to user specified position". . Then, when the menu “set to graphic vertex position” is selected, the vertex position of the selected graph graphic (parabola) is set to the origin position.

また、上述のステップS24において原点位置を修正する旨の操作が行われないと判定した場合(ステップS24;No)には、図4に示すように、CPU11は、背景画像内の線分に長さを設定する旨の操作が行われるか否かを判定し(ステップS31)、行われないと判定した場合(ステップS31;No)には他の処理へ移行する。   If it is determined in step S24 that the operation for correcting the origin position is not performed (step S24; No), as shown in FIG. 4, the CPU 11 adds a long line segment to the background image. It is determined whether or not an operation for setting the length is performed (step S31). When it is determined that the operation is not performed (step S31; No), the process proceeds to another process.

また、ステップS31において背景画像内の線分に長さを設定する旨の操作が行われたと判定した場合(ステップS31;Yes)には、CPU11は、長さ設定対象の線分の設定処理を行う(ステップS32)。   If it is determined in step S31 that an operation for setting the length of the line segment in the background image has been performed (step S31; Yes), the CPU 11 performs the process for setting the line segment for length setting. It performs (step S32).

具体的には、図6に示すように、この長さ設定対象の線分の設定処理においてまずCPU11は、原点からX軸の正方向に1目盛りまでの線分を、長さ設定対象の線分として仮設定する(ステップU1)。なお、X軸の目盛りの間隔はデフォルトで設定されている。   Specifically, as shown in FIG. 6, in this length setting target line segment setting process, the CPU 11 first converts a line segment from the origin to one scale in the positive direction of the X axis into a length setting target line. Temporarily set as minutes (step U1). Note that the interval between the scales on the X axis is set by default.

次に、CPU11は、選択グラフ図形が円または楕円であるか否かを判定し(ステップU2)、円または楕円であると判定した場合(ステップU2;Yes)には、円の中心から最下部までの線分を、長さ設定対象の線分として設定し直した後(ステップU3)、設定処理を終了する。   Next, the CPU 11 determines whether or not the selected graph figure is a circle or an ellipse (step U2). If it is determined that the selected graph figure is a circle or an ellipse (step U2; Yes), the lowermost part from the center of the circle is displayed. The line segment up to is reset as the length setting target line segment (step U3), and the setting process is terminated.

また、ステップU2において選択グラフ図形が円または楕円でないと判定した場合(ステップU2;No)には、CPU11は、選択グラフ図形が放物線のうち、上方または下方に開いた放物線であるか否かを判定する(ステップU5)。   If it is determined in step U2 that the selected graph graphic is not a circle or an ellipse (step U2; No), the CPU 11 determines whether the selected graph graphic is a parabola that opens upward or downward among the parabolas. Determine (step U5).

このステップU5において選択グラフ図形が放物線のうち、上方または下方に開いた放物線でないと判定した場合(ステップU5;No)には、CPU11は、ステップU1での仮設定の通りに長さ設定対象の線分を設定し、設定処理を終了する。   If it is determined in step U5 that the selected graph figure is not a parabola that opens upward or downward among the parabolas (step U5; No), the CPU 11 sets the length setting target as the temporary setting in step U1. Set the line and finish the setting process.

また、ステップU5において選択グラフ図形が放物線のうち、上方または下方に開いた放物線であると判定した場合(ステップU5;Yes)には、CPU11は、選択グラフ図形は概ね左右対称であるか否かを判定する(ステップU6)。   If it is determined in step U5 that the selected graph figure is a parabola that opens upward or downward among the parabolas (step U5; Yes), the CPU 11 determines whether or not the selected graph figure is generally symmetrical. Is determined (step U6).

このステップU6において選択グラフ図形が概ね左右対称であると判定した場合(ステップU6;Yes)には、CPU11は、選択グラフ図形を囲んだ長方形における上辺を、長さ設定対象の線分として設定し直し(ステップU7)、設定処理を終了する。   When it is determined in step U6 that the selected graph graphic is substantially symmetric (step U6; Yes), the CPU 11 sets the upper side of the rectangle surrounding the selected graph graphic as a line segment for length setting. It corrects (step U7) and ends the setting process.

また、ステップU6において選択グラフ図形が概ね左右対称でないと判定した場合(ステップU6;No)には、CPU11は、選択グラフ図形が放物線の頂点から片側の部分のみであるか否かを判定し(ステップU8)、片側の部分のみではないと判定した場合(ステップU8;No)には、ステップU1での仮設定の通りに長さ設定対象の線分を設定し、設定処理を終了する。   When it is determined in step U6 that the selected graph graphic is not substantially symmetrical (step U6; No), the CPU 11 determines whether the selected graph graphic is only a part on one side from the apex of the parabola ( If it is determined in step U8) that it is not only on one side (step U8; No), the length setting target line segment is set as in the temporary setting in step U1, and the setting process ends.

また、ステップU8において選択グラフ図形が放物線の頂点から片側の部分のみであると判定した場合(ステップU8;Yes)には、CPU11は、選択グラフ図形を囲んだ長方形における左辺を、長さ設定対象の線分として設定し直し(ステップU9)、設定処理を終了する。   When it is determined in step U8 that the selected graph figure is only one part from the apex of the parabola (step U8; Yes), the CPU 11 sets the left side of the rectangle surrounding the selected graph figure as the length setting target. The line segment is reset (step U9), and the setting process is terminated.

以上の長さ設定対象の線分の設定処理が終了したら、図4に示すように、次にCPU11は、設定対象の線分を修正する旨の操作が行われるか否かを判定し(ステップS33)、行われないと判定した場合(ステップS33;No)には、後述のステップS36に移行する。   When the above length setting target line segment setting process is completed, as shown in FIG. 4, the CPU 11 next determines whether or not an operation for correcting the setting target line segment is performed (step S <b> 4). If it is determined that the process is not performed (step S33; No), the process proceeds to step S36 described later.

また、ステップS33において設定対象の線分を修正する旨の操作が行われたと判定した場合(ステップS33;Yes)には、CPU11は、ユーザ操作に基づいて、背景画像内の任意の線分を長さ設定対象の線分に設定し直す(ステップS35)。   If it is determined in step S33 that an operation for correcting the line segment to be set has been performed (step S33; Yes), the CPU 11 selects an arbitrary line segment in the background image based on the user operation. The line is again set to the length setting target (step S35).

次に、長さ設定対象の線分の長さがユーザによって入力されると(ステップS36)、CPU11は、入力された数値を当該線分のドット数で割ることにより、1ドット当たりの長さ(Ld)を算出する(ステップS37)。   Next, when the length of the line segment to be length-set is input by the user (step S36), the CPU 11 divides the input numerical value by the number of dots of the line segment to obtain the length per dot. (Ld) is calculated (step S37).

次に、CPU11は、以下の式からXY座標系の表示レンジを算出する(ステップS38)。なお、式中、Xd0とは、X軸方向における原点のドット位置(表示領域の左端からのドット数)であり、Yd0とは、Y軸方向における原点のドット位置(表示領域の下端からのドット数)である。
Xmin=−Xd0×Ld
Xmax=(X方向の総ドット数−Xd0)×Ld
Ymin=−Yd0×Ld
Ymax=(Y方向の総ドット数−Yd0)×Ld
Next, the CPU 11 calculates the display range of the XY coordinate system from the following formula (step S38). In the equation, Xd0 is the dot position of the origin in the X-axis direction (number of dots from the left end of the display area), and Yd0 is the dot position of the origin in the Y-axis direction (dots from the lower end of the display area) Number).
Xmin = −Xd0 × Ld
Xmax = (total number of dots in the X direction−Xd0) × Ld
Ymin = −Yd0 × Ld
Ymax = (total number of dots in Y direction−Yd0) × Ld

次に、CPU11は、算出された表示レンジをディスプレイ3の表示領域に設定した後(ステップS41)、この表示レンジに基づいて選択グラフ図形のグラフ式を最小二乗法で算出し、算出結果をディスプレイ3に表示させる(ステップS42)。   Next, after setting the calculated display range in the display area of the display 3 (step S41), the CPU 11 calculates the graph expression of the selected graph figure by the least square method based on this display range, and displays the calculation result on the display. 3 is displayed (step S42).

次に、CPU11は、背景画像内の線分について長さを計算する旨の操作が行われるか否かを判定する(ステップS51)。   Next, the CPU 11 determines whether or not an operation for calculating the length of the line segment in the background image is performed (step S51).

このステップS51において長さを計算する旨の操作が行われたと判定した場合(ステップS51;Yes)には、CPU11は、ユーザ操作に基づいて背景画像中の任意の線分を長さ算出対象の線分として指定し(ステップS52)、指定線分のドット数に、1ドット当たりの長さ(Ld=長さ設定対象の線分のドット数/当該線分の長さ)を掛けることにより当該指定線分の長さを算出し(ステップS53)、算出した長さをディスプレイ3に表示させた後(ステップS54)、上述のステップS51に移行する。   When it is determined in step S51 that the operation for calculating the length has been performed (step S51; Yes), the CPU 11 selects an arbitrary line segment in the background image as a length calculation target based on the user operation. It is designated as a line segment (step S52), and the number of dots of the designated line segment is multiplied by the length per dot (Ld = the number of dots of the line segment for length setting / the length of the line segment). After calculating the length of the designated line segment (step S53) and displaying the calculated length on the display 3 (step S54), the process proceeds to the above-described step S51.

また、ステップS51において長さを計算する旨の操作が行われないと判定した場合(ステップS51;No)には、CPU11は、選択グラフ図形のトレースを実行する旨の操作が行われるか否かを判定し(ステップS55)、行われないと判定した場合(ステップS55;No)には他の処理へ移行する。   When it is determined in step S51 that the operation for calculating the length is not performed (step S51; No), the CPU 11 determines whether or not the operation for executing the trace of the selected graph figure is performed. Is determined (step S55), and if it is determined not to be performed (step S55; No), the process proceeds to another process.

また、ステップS55において選択グラフ図形のトレースを実行する旨の操作が行われたと判定した場合(ステップS55;Yes)には、CPU11は、選択グラフ図形のグラフ式を表示させ、選択グラフ図形上の所定点(例えば原点)にトレースカーソルT(図9(b)など参照)を表示させるとともに、当該トレースカーソルTの座標を表示させる(ステップS56)。   Further, when it is determined in step S55 that an operation for executing tracing of the selected graph figure has been performed (step S55; Yes), the CPU 11 displays the graph expression of the selected graph figure and displays the selected graph figure on the selected graph figure. A trace cursor T (see FIG. 9B, etc.) is displayed at a predetermined point (for example, the origin), and the coordinates of the trace cursor T are displayed (step S56).

次に、CPU11は、ユーザによるカーソル操作に応じてトレースカーソルTを選択グラフ図形上で移動させるとともに、移動後のトレースカーソルTの座標を表示させる(ステップS57)。   Next, the CPU 11 moves the trace cursor T on the selected graph figure according to the cursor operation by the user, and displays the coordinates of the trace cursor T after the movement (step S57).

そして、CPU11は、トレース実行前の処理に戻る旨の操作が行われるか否かを判定し(ステップS58)、行われないと判定した場合(ステップS58;No)には上述のステップS57に移行する一方、行われたと判定した場合(ステップS58;Yes)には上述のステップS51に移行する。   Then, the CPU 11 determines whether or not an operation for returning to the process before the trace execution is performed (step S58), and when it is determined that the operation is not performed (step S58; No), the process proceeds to the above-described step S57. On the other hand, if it is determined that the process has been performed (step S58; Yes), the process proceeds to step S51 described above.

[3.動作例]
続いて、図面を参照しつつ、上述の動作を具体的に説明する。
[3. Example of operation]
Subsequently, the above-described operation will be specifically described with reference to the drawings.

(動作例(1))
まず、記憶部13から画像ファイル100を読み出す旨の操作をユーザが行い(ステップS1;Yes)、画像ファイル100を指定すると、図7(a)に示すように、指定された画像ファイル100が記憶部13から読み出され、ディスプレイ3に背景画像として表示される(ステップS2)。なお、本動作例においては、河川に架けられたアーチ橋の撮影画像が背景画像として表示される。
(Operation example (1))
First, when the user performs an operation to read the image file 100 from the storage unit 13 (step S1; Yes) and designates the image file 100, the designated image file 100 is stored as shown in FIG. It is read from the unit 13 and displayed as a background image on the display 3 (step S2). In this operation example, a photographed image of the arch bridge over the river is displayed as a background image.

次に、グラフ式のタイプを選択する旨の操作をユーザが行うと(ステップS5;Yes)、図7(b)に示すように、グラフ式のタイプ(グラフの一般式及びグラフ形状)がディスプレイ3に一覧表示される(ステップS6)。   Next, when the user performs an operation for selecting the type of the graph expression (step S5; Yes), as shown in FIG. 7B, the type of the graph expression (general expression and graph shape) is displayed. 3 is displayed as a list (step S6).

次に、ユーザが「Y=A(X−H)2+K」(上開き,下開きの放物線)のグラフ式のタイプを選択すると(ステップS7)、図7(c),(d)に示すように、選択されたグラフ式タイプのグラフ形状に合致するグラフ図形(ここではアーチ橋における2本のアーチ部分)が背景画像から検出されて(ステップS8)、検出された各グラフ図形に重ねてグラフが描画されるとともに、当該グラフの表示色と同じ色で、そのグラフ式が表示される(ステップS21)。なお、図7(d)において、上側のアーチ部分に重ねられたグラフと、上側のグラフ式「Y=A(X−H)2+K」とは青色で表示されており、下側のアーチ部分に重ねられたグラフと、下側のグラフ式「Y=A(X−H)2+K」とは赤色で表示されている。   Next, when the user selects the graph type of “Y = A (X−H) 2 + K” (upper opening, lower opening parabola) (step S7), as shown in FIGS. 7 (c) and 7 (d). In addition, a graph figure (in this case, two arch portions in the arch bridge) that matches the graph type of the selected graph type is detected from the background image (step S8), and is superimposed on each detected graph figure. Is drawn and the graph expression is displayed in the same color as the display color of the graph (step S21). In FIG. 7D, the graph superimposed on the upper arch portion and the upper graph expression “Y = A (X−H) 2 + K” are displayed in blue, and the lower arch portion is displayed on the lower arch portion. The superimposed graph and the lower graph expression “Y = A (X−H) 2 + K” are displayed in red.

次に、ユーザが上側のアーチ形状のグラフ図形を選択グラフ図形として選択すると、図7(e)に示すように、下側のグラフ図形のグラフ及びグラフ式がディスプレイ3から消去される(ステップS22)。   Next, when the user selects the upper arch-shaped graph graphic as the selected graph graphic, as shown in FIG. 7E, the lower graph graphic and the graph formula are deleted from the display 3 (step S22). ).

次に、選択グラフ図形が放物線のうち上方または下方に開いた放物線であり(ステップT5;Yes)、概ね左右対称であり(ステップT6;Yes)、上開きでないと判定され(ステップT7;No)、頂点位置(最上部の位置)のX座標位置が原点のX座標位置に設定され(ステップT9)、選択グラフ図形の最下部のY座標位置が原点のY座標位置に設定される(ステップT10)。なお、図7(e)では、便宜上、このとき設定された原点位置に黒点を図示している(図中の略中央参照)。   Next, it is determined that the selected graph figure is a parabola that opens upward or downward in the parabola (step T5; Yes), is generally symmetrical (step T6; Yes), and is not open upward (step T7; No). The X coordinate position of the vertex position (top position) is set as the X coordinate position of the origin (step T9), and the lowest Y coordinate position of the selected graph figure is set as the Y coordinate position of the origin (step T10). ). In FIG. 7E, for the sake of convenience, a black dot is illustrated at the origin position set at this time (refer to the approximate center in the figure).

次に、背景画像内の線分に長さを設定する旨の操作をユーザが行い(ステップS31;Yes)、設定対象の線分を修正する旨の操作を行った後(ステップS33;Yes)、図7(f)に示すように、背景画像における原点位置からグラフ図形の頂点までの線分、つまりアーチ部分の高さに相当する線分を長さ設定対象の線分に設定し直す(ステップS35)。   Next, after the user performs an operation for setting the length of the line segment in the background image (step S31; Yes), and performs an operation for correcting the line segment to be set (step S33; Yes). As shown in FIG. 7 (f), the line segment from the origin position to the vertex of the graph figure in the background image, that is, the line segment corresponding to the height of the arch portion is reset as the line segment for length setting. Step S35).

次に、図8(a),(b)に示すように、画像中のアーチ橋の実際の高さに基づいて、長さ設定対象の線分の長さ「30」をユーザが入力すると(ステップS36)、入力された数値「30」を当該線分のドット数(ここでは「45」)で割ることにより、1ドット当たりの長さ(Ld=0.667…)が算出され(ステップS37)、XY座標系の表示レンジ(Xmin=−126、Xmax=126、Ymin=−80、Ymax=44)が算出される(ステップS38)。   Next, as shown in FIGS. 8A and 8B, when the user inputs the length “30” of the length setting target line segment based on the actual height of the arch bridge in the image ( In step S36), the length (Ld = 0.667...) Per dot is calculated by dividing the input numerical value “30” by the number of dots of the line segment (here, “45”) (step S37). ), The display range of the XY coordinate system (Xmin = −126, Xmax = 126, Ymin = −80, Ymax = 44) is calculated (step S38).

そして、算出された表示レンジがディスプレイ3の表示領域に設定された後(ステップS41)、この表示レンジに基づいて選択グラフ図形のグラフ式が最小二乗法で算出され、図8(c)に示すように、算出結果「Y=−0.002X2+30」がディスプレイ3に表示される(ステップS42)。   Then, after the calculated display range is set in the display area of the display 3 (step S41), the graph expression of the selected graph figure is calculated by the least square method based on this display range, and is shown in FIG. 8 (c). Thus, the calculation result “Y = −0.002 × 2 + 30” is displayed on the display 3 (step S42).

次に、図8(d),(e)に示すように、背景画像内の線分について長さを計算する旨の操作をユーザが行い(ステップS51;Yes)、橋長に相当する線分を長さ算出対象の線分として指定すると(ステップS52)、図8(f),図9(a)に示すように、指定線分のドット数に1ドット当たりの長さ(Ld=0.667…)を掛けることにより当該指定線分の長さ「220」が算出され表示される(ステップS53,S54)。   Next, as shown in FIGS. 8D and 8E, the user performs an operation to calculate the length of the line segment in the background image (step S51; Yes), and the line segment corresponding to the bridge length. Is designated as the length calculation target line segment (step S52), as shown in FIGS. 8 (f) and 9 (a), the length per dot (Ld = 0. 667...), The length “220” of the designated line segment is calculated and displayed (steps S53, S54).

次に、選択グラフ図形のトレースを実行する旨の操作をユーザが行うと(ステップS55;Yes)、図9(b)に示すように、選択グラフ図形上の所定点(ここでは頂点)にトレースカーソルTが表示されるとともに、当該トレースカーソルTの座標「X=0,Y=30」が表示される(ステップS56)。   Next, when the user performs an operation to execute tracing of the selected graph figure (step S55; Yes), as shown in FIG. 9B, tracing is performed to a predetermined point (here, a vertex) on the selected graph figure. The cursor T is displayed, and the coordinates “X = 0, Y = 30” of the trace cursor T are displayed (step S56).

次に、ユーザがカーソル操作を行ってトレースカーソルTを選択グラフ図形上で移動させると、図9(c),(d)に示すように、移動後のトレースカーソルTの座標が表示される(ステップS57)。   Next, when the user performs a cursor operation to move the trace cursor T on the selected graph figure, the coordinates of the trace cursor T after the movement are displayed as shown in FIGS. Step S57).

(動作例(2))
まず、記憶部13から画像ファイル100を読み出す旨の操作をユーザが行い(ステップS1;Yes)、画像ファイル100を指定すると、図10(a)に示すように、指定された画像ファイル100が記憶部13から読み出され、ディスプレイ3に背景画像として表示される(ステップS2)。なお、本動作例においては、放物線状に水を噴き出すマーライオンと、観覧車との撮影画像が背景画像として表示される。
(Operation example (2))
First, when the user performs an operation of reading the image file 100 from the storage unit 13 (step S1; Yes) and designates the image file 100, the designated image file 100 is stored as shown in FIG. It is read from the unit 13 and displayed as a background image on the display 3 (step S2). In this operation example, a photographed image of a merlion that blows water in a parabolic shape and a ferris wheel is displayed as a background image.

次に、グラフ図形をサーチさせる旨の操作をユーザが行うと(ステップS11;Yes)、円、楕円及び放物線の各グラフ図形が背景画像から検出され(ステップS12)、図10(b)に示すように、検出された各グラフ図形に重ねてグラフが描画されるとともに、当該グラフの表示色と同じ色で、そのグラフ式が表示される(ステップS21)。なお、図10(b)において、マーライオンから噴き出された水の放物線部分に重ねられたグラフと、上側のグラフ式「Y=A(X−H)2+K」とは青色で表示されており、観覧車の円形部分に重ねられたグラフと、下側のグラフ式「(X−H)2+(Y−K)2=R2」とは赤色で表示されている。   Next, when the user performs an operation for searching the graph figure (step S11; Yes), each of the circle, ellipse, and parabola graph figures is detected from the background image (step S12), as shown in FIG. 10B. As described above, a graph is drawn on each detected graph figure, and the graph expression is displayed in the same color as the display color of the graph (step S21). In addition, in FIG.10 (b), the graph overlaid on the parabola part of the water spouted from Merlion, and the upper graph type | formula "Y = A (XH) 2 + K" are displayed in blue. The graph superimposed on the circular part of the ferris wheel and the lower graph expression “(X−H) 2+ (Y−K) 2 = R2” are displayed in red.

次に、ユーザが円形状のグラフ図形を選択グラフ図形として選択すると、図10(c)に示すように、放物線形状のグラフ及びグラフ式がディスプレイ3から消去される(ステップS22)。   Next, when the user selects a circular graph as a selected graph, the parabolic graph and the graph formula are deleted from the display 3 as shown in FIG. 10C (step S22).

次に、選択グラフ図形が円または楕円であると判定され(ステップT2;Yes)、当該グラフ図形の最下部の位置が原点位置に設定される(ステップT3)。   Next, it is determined that the selected graph figure is a circle or an ellipse (step T2; Yes), and the lowest position of the graph figure is set as the origin position (step T3).

次に、原点位置を修正する旨の操作をユーザが行うと(ステップS24;Yes)、図10(d)に示すように、現時点で設定されている原点位置(グラフ図形の最下部の位置)に原点が表示される(ステップS25)。   Next, when the user performs an operation to correct the origin position (step S24; Yes), as shown in FIG. 10D, the origin position set at the present time (the lowermost position of the graph figure). The origin is displayed at (step S25).

次に、選択グラフ図形が円または楕円であると判定され(ステップS26;Yes)、原点位置の設定メニュー「現在位置でOK」、「円の中心に設定」、「ユーザ指定位置に変更」が表示される(ステップS27)。そして、ユーザが「現在位置でOK」を選択すると、原点位置が変更されずに維持される(ステップS28)。   Next, it is determined that the selected graph figure is a circle or an ellipse (step S26; Yes), and the origin position setting menus “OK at current position”, “Set to center of circle”, and “Change to user specified position” are displayed. It is displayed (step S27). When the user selects “OK at current position”, the origin position is maintained without being changed (step S28).

次に、背景画像内の線分に長さを設定する旨の操作をユーザが行い(ステップS31;Yes)、設定対象の線分を修正する旨の操作を行った後(ステップS33;Yes)、図11(a)に示すように、背景画像における原点位置からグラフ図形(円)の中心までの線分、つまり観覧車の半径に相当する線分を長さ設定対象の線分に設定し直す(ステップS35)。   Next, after the user performs an operation for setting the length of the line segment in the background image (step S31; Yes), and performs an operation for correcting the line segment to be set (step S33; Yes). As shown in FIG. 11A, a line segment from the origin position in the background image to the center of the graph figure (circle), that is, a line segment corresponding to the radius of the ferris wheel is set as the length setting target line segment. Correct (step S35).

次に、図11(b)に示すように、画像中の観覧車の実際の半径に基づいて、長さ設定対象の線分の長さ「80」をユーザが入力すると(ステップS36)、入力された数値「80」を当該線分のドット数(ここでは「30」)で割ることにより、1ドット当たりの長さ(Ld=2.667…)が算出され(ステップS37)、XY座標系の表示レンジ(Xmin=−800、Xmax=208、Ymin=−160、Ymax=336)が算出される(ステップS38)。   Next, as shown in FIG. 11 (b), when the user inputs the length “80” of the segment to be set based on the actual radius of the Ferris wheel in the image (step S36), the input By dividing the numerical value “80” by the number of dots of the line segment (here, “30”), the length (Ld = 2.667...) Per dot is calculated (step S37), and the XY coordinate system (Xmin = −800, Xmax = 208, Ymin = −160, Ymax = 336) is calculated (step S38).

そして、算出された表示レンジがディスプレイ3の表示領域に設定された後(ステップS41)、この表示レンジに基づいて選択グラフ図形のグラフ式が最小二乗法で算出され、図11(c)に示すように、算出結果「X2+(Y−80)2=6400」がディスプレイ3に表示される(ステップS42)。   Then, after the calculated display range is set in the display area of the display 3 (step S41), the graph expression of the selected graph figure is calculated by the least square method based on this display range, and is shown in FIG. 11 (c). Thus, the calculation result “X2 + (Y−80) 2 = 6400” is displayed on the display 3 (step S42).

次に、選択グラフ図形のトレースを実行する旨の操作をユーザが行うと(ステップS55;Yes)、図11(d)に示すように、選択グラフ図形上の所定点にトレースカーソルTが表示されるとともに、当該トレースカーソルTの座標「X=80,Y=80」が表示される(ステップS56)。   Next, when the user performs an operation to execute tracing of the selected graph figure (step S55; Yes), as shown in FIG. 11D, the trace cursor T is displayed at a predetermined point on the selected graph figure. At the same time, the coordinates “X = 80, Y = 80” of the trace cursor T are displayed (step S56).

また、上述の図10(b)に示した状態から、ユーザが放物線形状のグラフ図形を選択グラフ図形として選択すると、図12(a)に示すように、円形状のグラフ及びグラフ式がディスプレイ3から消去される(ステップS22)。   When the user selects a parabola-shaped graph figure as the selected graph figure from the state shown in FIG. 10B, a circular graph and a graph expression are displayed on the display 3 as shown in FIG. (Step S22).

次に、選択グラフ図形が放物線のうち、上方または下方に開いた放物線であり(ステップT5;Yes)、概ね左右対称でなく(ステップT6;No)、放物線の頂点から片側の部分のみであると判定され(ステップT11;Yes)、選択グラフ図形を囲んだ長方形における左下の角の位置が原点位置に設定される(ステップT12)。なお、図12(a)では、便宜上、このとき設定された原点位置に黒点を図示している(図中の左下参照)。   Next, the selected graph figure is a parabola that opens upward or downward among the parabolas (step T5; Yes), is not substantially symmetrical (step T6; No), and is only a portion on one side from the apex of the parabola. The determination is made (step T11; Yes), and the position of the lower left corner of the rectangle surrounding the selected graph figure is set as the origin position (step T12). In FIG. 12A, for the sake of convenience, a black dot is illustrated at the origin position set at this time (see the lower left in the figure).

次に、背景画像内の線分に長さを設定する旨の操作をユーザが行い(ステップS31;Yes)、設定対象の線分を修正する旨の操作を行った後(ステップS33;Yes)、図12(b)に示すように、背景画像における原点位置からグラフ図形の上端までの線分、つまり放物線部分の高さに相当する線分を長さ設定対象の線分に設定し直す(ステップS35)。   Next, after the user performs an operation for setting the length of the line segment in the background image (step S31; Yes), and performs an operation for correcting the line segment to be set (step S33; Yes). As shown in FIG. 12B, the line segment from the origin position in the background image to the upper end of the graph figure, that is, the line segment corresponding to the height of the parabola portion is reset to the length setting target line segment ( Step S35).

次に、図12(c)に示すように、画像中の放物線の実際の高さに基づいて、長さ設定対象の線分の長さ「8」をユーザが入力すると(ステップS36)、入力された数値「8」を当該線分のドット数(ここでは「90」)で割ることにより、1ドット当たりの長さ(Ld=0.0889)が算出され(ステップS37)、XY座標系の表示レンジ(Xmin=−7.8、Xmax=25.6、Ymin=−2.2、Ymax=14.3)が算出される(ステップS38)。   Next, as shown in FIG. 12C, when the user inputs the length “8” of the line segment to be set based on the actual height of the parabola in the image (step S36), the input By dividing the numerical value “8” by the number of dots of the line segment (here, “90”), the length (Ld = 0.0889) per dot is calculated (step S37), and the XY coordinate system The display range (Xmin = −7.8, Xmax = 25.6, Ymin = −2.2, Ymax = 14.3) is calculated (step S38).

そして、算出された表示レンジがディスプレイ3の表示領域に設定された後(ステップS41)、この表示レンジに基づいて選択グラフ図形のグラフ式が最小二乗法で算出され、図12(d)に示すように、算出結果「Y=−0.03X2+11」がディスプレイ3に表示される(ステップS42)。   Then, after the calculated display range is set in the display area of the display 3 (step S41), the graph expression of the selected graph figure is calculated by the least square method based on this display range, and is shown in FIG. 12 (d). As described above, the calculation result “Y = −0.03X2 + 11” is displayed on the display 3 (step S42).

次に、選択グラフ図形のトレースを実行する旨の操作をユーザが行うと(ステップS55;Yes)、図12(e)に示すように、選択グラフ図形上の所定点にトレースカーソルTが表示されるとともに、当該トレースカーソルTの座標「X=0,Y=11」が表示される(ステップS56)。   Next, when the user performs an operation to execute tracing of the selected graph figure (step S55; Yes), as shown in FIG. 12E, the trace cursor T is displayed at a predetermined point on the selected graph figure. At the same time, the coordinates “X = 0, Y = 11” of the trace cursor T are displayed (step S56).

次に、ユーザがカーソル操作を行ってトレースカーソルTを選択グラフ図形上で移動させると、図12(f)に示すように、移動後のトレースカーソルTの座標が表示される(ステップS57)。   Next, when the user performs a cursor operation to move the trace cursor T on the selected graph graphic, the coordinates of the trace cursor T after the movement are displayed as shown in FIG. 12 (f) (step S57).

以上のように、本実施形態の関数電卓1によれば、図3のステップS8,S12,S21〜S23,S32〜S42や、図7〜図8(c)、図10〜図12等に示したように、画像中から所定のグラフ形状に合致するグラフ図形が検出されて、当該グラフ図形に重ねてグラフが描画されるとともに、グラフの位置及び形状に応じて画像中に座標系の原点が設定され、ユーザ操作に基づいて、画像中の任意の線分が長さ入力対象の線分として指定されて長さが入力されると、入力された長さに基づいて、画像に重ねて設定される座標系の表示レンジが算出され、この表示レンジに基づいて、グラフの式が算出されて表示されるので、画像中の物体や事象などで表されるグラフ形状と、当該グラフ形状を実サイズに即して表現したグラフ式とを関連付けて学習することができる。   As described above, according to the scientific calculator 1 of the present embodiment, it is shown in steps S8, S12, S21 to S23, S32 to S42 of FIG. 3, FIGS. 7 to 8 (c), FIGS. As described above, a graph figure that matches a predetermined graph shape is detected from the image, and a graph is drawn on the graph figure, and the origin of the coordinate system is set in the image according to the position and shape of the graph. When an arbitrary line segment in the image is specified as the length input target line segment and the length is input based on the user's operation, it is set to overlap the image based on the input length The display range of the coordinate system to be calculated is calculated, and the graph formula is calculated and displayed based on this display range, so that the graph shape represented by the object or event in the image and the graph shape are realized. It is related to the graph expression expressed according to the size. Put in can be learned.

また、図4のステップS52〜S54や、図8(d)〜図9(a)等に示したように、ユーザ操作に基づいて画像中の任意の線分が長さ算出対象の線分として指定されると、長さ入力対象の線分の長さに基づいて長さ算出対象の線分の長さが算出されて表示されるので、グラフ式の理解を助け、学習効果を高めることができる。   Also, as shown in steps S52 to S54 in FIG. 4, FIG. 8D to FIG. 9A, etc., any line segment in the image is set as a length calculation target line segment based on a user operation. When specified, the length of the length calculation target line segment is calculated and displayed based on the length of the length input target line segment, which helps to understand the graph expression and enhance the learning effect. it can.

また、図3のステップS21〜S22や、図7(d)、図10(b)等に示したように、画像中から所定のグラフ形状に合致するグラフ図形が複数検出され、検出された複数のグラフ図形から、何れかのグラフ図形がユーザ操作に基づいて選択されると、選択されたグラフ図形に重ねてグラフが描画されるので、グラフ図形が画像中に複数含まれる場合であっても、所望のグラフ図形についてのグラフを描画させ、そのグラフ形状と、グラフ式とを関連付けて学習することができる。更に、図10〜図12に示したように、撮影画像中に遠近2種類の被写体が存在する場合には、各被写体について、グラフ形状と、当該グラフ形状を実サイズに即して表現したグラフ式とを関連付けて学習することができる。   Further, as shown in steps S21 to S22 of FIG. 3, FIG. 7D, FIG. 10B, etc., a plurality of graph figures matching a predetermined graph shape are detected from the image, and the detected plurality of graph figures are detected. If one of the graph figures is selected based on the user operation, the graph is drawn over the selected graph figure, so even if there are multiple graph figures in the image Then, it is possible to draw a graph for a desired graph figure, and learn by associating the graph shape with the graph expression. Furthermore, as shown in FIGS. 10 to 12, when two types of perspective objects exist in the captured image, the graph shape and the graph expressing the graph shape in accordance with the actual size for each subject. You can learn by associating with an expression.

また、図3のステップS6〜S8や図7(b)〜(d)等に示したように、ユーザ操作に基づいてグラフ形状の種類が選択されると、選択されたグラフ形状に合致するグラフ図形が画像中から検出されるので、所望のグラフ形状と、グラフ式とを関連付けて学習することができる。   Further, as shown in steps S6 to S8 of FIG. 3 and FIGS. 7B to 7D, when a graph shape type is selected based on a user operation, a graph that matches the selected graph shape. Since the figure is detected from the image, it is possible to learn by associating a desired graph shape with a graph expression.

なお、上記の実施の形態における関数電卓1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能であることは勿論である。   In addition, it is needless to say that the detailed configuration and detailed operation of each component of the scientific calculator 1 in the above embodiment can be appropriately changed without departing from the gist of the present invention.

例えば、本発明に係る画像表示装置を関数電卓等として説明したが、本発明が適用可能なものは、このような製品に限定されず、携帯電話、パソコン、PDA(Personal Digital Assistant)、ゲーム機などの電子機器全般に適用可能である。また、本発明に係る画像表示プログラム130は、関数電卓1に対して着脱可能なメモリカード、CD等に記憶されることとしてもよい。   For example, the image display device according to the present invention has been described as a scientific calculator or the like, but those to which the present invention is applicable are not limited to such products, but are mobile phones, personal computers, PDAs (Personal Digital Assistants), game machines It can be applied to all electronic devices. The image display program 130 according to the present invention may be stored in a memory card, a CD, or the like that can be attached to and detached from the scientific calculator 1.

また、座標系の縦軸をY軸、横軸をX軸として説明したが、他の座標軸名としても良い。更に、座標系を直交座標系として説明したが、斜交座標系や極座標系など、他の種類の座標系としても良い。   Moreover, although the vertical axis of the coordinate system has been described as the Y axis and the horizontal axis as the X axis, other coordinate axis names may be used. Furthermore, although the coordinate system has been described as an orthogonal coordinate system, other types of coordinate systems such as an oblique coordinate system and a polar coordinate system may be used.

以上、本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
画像を表示させる表示手段と、
前記画像中から所定のグラフ形状に合致するグラフ図形を検出し、当該グラフ図形に重ねてグラフを描画するグラフ描画手段と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定手段と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力手段と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定手段と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出手段と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出手段と、
を備えることを特徴とする電子機器。
<請求項2>
請求項1記載の電子機器において、
ユーザ操作に基づいて前記画像中の任意の線分を長さ算出対象の線分として指定する長さ算出線分指定手段と、
前記長さ入力対象の線分の長さに基づいて、前記長さ算出対象の線分の長さを算出して表示させる線分長さ算出手段と、
を備えることを特徴とする電子機器。
<請求項3>
請求項1または2記載の電子機器において、
前記グラフ描画手段は、
前記画像中から所定のグラフ形状に合致するグラフ図形を複数検出するグラフ図形検出手段と、
前記グラフ図形検出手段により検出された複数のグラフ図形から、何れかのグラフ図形をユーザ操作に基づいて選択するグラフ図形選択手段と、
前記グラフ図形選択手段により選択されたグラフ図形に重ねてグラフを描画する選択図形グラフ描画手段と、
を有することを特徴とする電子機器。
<請求項4>
請求項1〜3の何れか一項に記載の電子機器において、
前記グラフ描画手段は、
ユーザ操作に基づいてグラフ形状の種類を選択するグラフ形状選択手段と、
前記グラフ形状選択手段により選択されたグラフ形状に合致するグラフ図形を前記画像中から検出する選択形状グラフ図形検出手段と、
を有することを特徴とする電子機器。
<請求項5>
画像を表示させる表示手段を備えるコンピュータに、
前記画像中から所定のグラフ形状に合致するグラフ図形を検出し、当該グラフ図形に重ねてグラフを描画するグラフ描画機能と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定機能と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力機能と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定機能と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出機能と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出機能と、
を実現させることを特徴とするプログラム。
As mentioned above, although several embodiment of this invention was described, the scope of the present invention is not limited to the above-mentioned embodiment, The range of the invention described in the claim, and its equivalent range Including.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
Display means for displaying an image;
A graph drawing means for detecting a graph figure matching a predetermined graph shape from the image and drawing a graph superimposed on the graph figure;
Length input line segment specifying means for specifying an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input means for inputting a length for the length input target line segment;
Origin setting means for setting an origin of a coordinate system in the image according to the position and shape of the graph;
Display range calculation means for calculating a display range of a coordinate system set to be superimposed on the image based on the length of the line segment of the length input target;
Based on the display range, calculating a graph formula of the graph, and displaying the graph formula on the display means;
An electronic device comprising:
<Claim 2>
The electronic device according to claim 1,
Length calculation line segment designation means for designating an arbitrary line segment in the image as a length calculation target line segment based on a user operation;
A line segment length calculation means for calculating and displaying the length of the length calculation target line segment based on the length of the length input target line segment;
An electronic device comprising:
<Claim 3>
The electronic device according to claim 1 or 2,
The graph drawing means includes:
A graph graphic detection means for detecting a plurality of graph graphics matching a predetermined graph shape from the image;
A graph figure selecting means for selecting any graph figure from a plurality of graph figures detected by the graph figure detecting means based on a user operation;
A selected figure graph drawing means for drawing a graph superimposed on the graph figure selected by the graph figure selection means;
An electronic device comprising:
<Claim 4>
In the electronic device as described in any one of Claims 1-3,
The graph drawing means includes:
A graph shape selecting means for selecting a graph shape type based on a user operation;
A selected shape graph graphic detecting means for detecting a graph graphic matching the graph shape selected by the graph shape selecting means from the image;
An electronic device comprising:
<Claim 5>
In a computer having display means for displaying an image,
A graph drawing function for detecting a graph figure matching a predetermined graph shape from the image, and drawing a graph superimposed on the graph figure;
A length input line segment designation function for designating an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input function for inputting a length for the length input target line segment;
An origin setting function for setting the origin of a coordinate system in the image according to the position and shape of the graph;
A display range calculation function for calculating a display range of a coordinate system set to be superimposed on the image, based on the length of the length-input target line segment;
Based on the display range, a graph formula calculation function for calculating the graph formula of the graph and displaying the graph formula on the display means;
A program characterized by realizing.

1 関数電卓
2 入力キー群
3 ディスプレイ
11 CPU
12 RAM
13 記憶部
14 入力部
15 表示部
130 画像表示プログラム
1 Scientific calculator 2 Input key group 3 Display 11 CPU
12 RAM
13 Storage Unit 14 Input Unit 15 Display Unit 130 Image Display Program

上記課題を解決するため、請求項1に記載の発明は、電子機器において、
画像を表示させる表示手段と、
前記画像に重ねてグラフを描画するグラフ描画手段と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定手段と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力手段と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定手段と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出手段と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出手段と、
を備えることを特徴とする。
In order to solve the above-described problem, the invention according to claim 1 is an electronic device.
Display means for displaying an image;
A graph drawing unit for drawing a graph superimposed on the image picture,
Length input line segment specifying means for specifying an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input means for inputting a length for the length input target line segment;
Origin setting means for setting an origin of a coordinate system in the image according to the position and shape of the graph;
Display range calculation means for calculating a display range of a coordinate system set to be superimposed on the image based on the length of the line segment of the length input target;
Based on the display range, calculating a graph formula of the graph, and displaying the graph formula on the display means;
It is characterized by providing.

Claims (5)

画像を表示させる表示手段と、
前記画像中から所定のグラフ形状に合致するグラフ図形を検出し、当該グラフ図形に重ねてグラフを描画するグラフ描画手段と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定手段と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力手段と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定手段と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出手段と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出手段と、
を備えることを特徴とする電子機器。
Display means for displaying an image;
A graph drawing means for detecting a graph figure matching a predetermined graph shape from the image and drawing a graph superimposed on the graph figure;
Length input line segment specifying means for specifying an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input means for inputting a length for the length input target line segment;
Origin setting means for setting an origin of a coordinate system in the image according to the position and shape of the graph;
Display range calculation means for calculating a display range of a coordinate system set to be superimposed on the image based on the length of the line segment of the length input target;
Based on the display range, calculating a graph formula of the graph, and displaying the graph formula on the display means;
An electronic device comprising:
請求項1記載の電子機器において、
ユーザ操作に基づいて前記画像中の任意の線分を長さ算出対象の線分として指定する長さ算出線分指定手段と、
前記長さ入力対象の線分の長さに基づいて、前記長さ算出対象の線分の長さを算出して表示させる線分長さ算出手段と、
を備えることを特徴とする電子機器。
The electronic device according to claim 1,
Length calculation line segment designation means for designating an arbitrary line segment in the image as a length calculation target line segment based on a user operation;
A line segment length calculation means for calculating and displaying the length of the length calculation target line segment based on the length of the length input target line segment;
An electronic device comprising:
請求項1または2記載の電子機器において、
前記グラフ描画手段は、
前記画像中から所定のグラフ形状に合致するグラフ図形を複数検出するグラフ図形検出手段と、
前記グラフ図形検出手段により検出された複数のグラフ図形に重ねてグラフを描画することによって、当該検出された複数のグラフ図形を識別表示するグラフ図形識別表示手段と、
前記グラフ図形識別表示手段により識別表示された複数のグラフ図形から、何れかのグラフ図形をユーザ操作に基づいて選択するグラフ図形選択手段と、
前記グラフ図形選択手段により選択されたグラフ図形以外のグラフ図形に重ねて描画されたグラフを消去する非選択グラフ消去手段と、
を有することを特徴とする電子機器。
The electronic device according to claim 1 or 2,
The graph drawing means includes:
A graph graphic detection means for detecting a plurality of graph graphics matching a predetermined graph shape from the image;
Graph graphic identification display means for identifying and displaying the detected plurality of graph figures by drawing a graph superimposed on the plurality of graph figures detected by the graph figure detection means;
A graph figure selecting means for selecting any graph figure from a plurality of graph figures identified and displayed by the graph figure identification display means, based on a user operation;
A non-selected graph erasing unit for erasing a graph drawn on top of a graph figure other than the graph figure selected by the graph figure selecting unit;
An electronic device comprising:
請求項1又は2に記載の電子機器において、
前記グラフ描画手段は、
ユーザ操作に基づいてグラフ形状の種類を選択するグラフ形状選択手段と、
前記グラフ形状選択手段により選択されたグラフ形状に合致するグラフ図形を前記画像中から検出する選択形状グラフ図形検出手段と、
前記選択形状グラフ図形検出手段により検出されたグラフ図形に重ねてグラフを描画する選択形状グラフ描画手段と、
を有することを特徴とする電子機器。
The electronic device according to claim 1 or 2,
The graph drawing means includes:
A graph shape selecting means for selecting a graph shape type based on a user operation;
A selected shape graph graphic detecting means for detecting a graph graphic matching the graph shape selected by the graph shape selecting means from the image;
A selected shape graph drawing means for drawing a graph superimposed on the graph figure detected by the selected shape graph figure detecting means;
An electronic device comprising:
画像を表示させる表示手段を備えるコンピュータに、
前記画像中から所定のグラフ形状に合致するグラフ図形を検出し、当該グラフ図形に重ねてグラフを描画するグラフ描画機能と、
ユーザ操作に基づいて、前記画像中の任意の線分を長さ入力対象の線分として指定する長さ入力線分指定機能と、
ユーザ操作に基づいて、前記長さ入力対象の線分について長さを入力する線分長さ入力機能と、
前記グラフの位置及び形状に応じて、前記画像中に座標系の原点を設定する原点設定機能と、
前記長さ入力対象の線分の長さに基づいて、前記画像に重ねて設定される座標系の表示レンジを算出する表示レンジ算出機能と、
前記表示レンジに基づいて、前記グラフのグラフ式を算出し、前記表示手段に表示させるグラフ式算出機能と、
を実現させることを特徴とするプログラム。
In a computer having display means for displaying an image,
A graph drawing function for detecting a graph figure matching a predetermined graph shape from the image, and drawing a graph superimposed on the graph figure;
A length input line segment designation function for designating an arbitrary line segment in the image as a length input target line segment based on a user operation;
Based on a user operation, a line segment length input function for inputting a length for the length input target line segment;
An origin setting function for setting the origin of a coordinate system in the image according to the position and shape of the graph;
A display range calculation function for calculating a display range of a coordinate system set to be superimposed on the image, based on the length of the length-input target line segment;
Based on the display range, a graph formula calculation function for calculating the graph formula of the graph and displaying the graph formula on the display means;
A program characterized by realizing.
JP2015044689A 2015-03-06 2015-03-06 Electronic device and program Active JP5958582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015044689A JP5958582B2 (en) 2015-03-06 2015-03-06 Electronic device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015044689A JP5958582B2 (en) 2015-03-06 2015-03-06 Electronic device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011066886A Division JP5716479B2 (en) 2011-03-25 2011-03-25 Electronic device and program

Publications (2)

Publication Number Publication Date
JP2015156219A true JP2015156219A (en) 2015-08-27
JP5958582B2 JP5958582B2 (en) 2016-08-02

Family

ID=54775461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015044689A Active JP5958582B2 (en) 2015-03-06 2015-03-06 Electronic device and program

Country Status (1)

Country Link
JP (1) JP5958582B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001084274A (en) * 1999-07-14 2001-03-30 Fuji Photo Film Co Ltd Image retrieval method and image processing method
JP2002541950A (en) * 1999-04-20 2002-12-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and apparatus for collectively configuring related geometric objects
JP2005010850A (en) * 2003-06-16 2005-01-13 Casio Comput Co Ltd Learning support device and program
JP2006120173A (en) * 2005-11-04 2006-05-11 Casio Comput Co Ltd Graphic display controller and graphic display control program
JP2011210209A (en) * 2010-03-31 2011-10-20 Casio Computer Co Ltd Information display device and program
JP2012168921A (en) * 2011-01-26 2012-09-06 Casio Comput Co Ltd Electronic apparatus and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002541950A (en) * 1999-04-20 2002-12-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and apparatus for collectively configuring related geometric objects
JP2001084274A (en) * 1999-07-14 2001-03-30 Fuji Photo Film Co Ltd Image retrieval method and image processing method
JP2005010850A (en) * 2003-06-16 2005-01-13 Casio Comput Co Ltd Learning support device and program
JP2006120173A (en) * 2005-11-04 2006-05-11 Casio Comput Co Ltd Graphic display controller and graphic display control program
JP2011210209A (en) * 2010-03-31 2011-10-20 Casio Computer Co Ltd Information display device and program
JP2012168921A (en) * 2011-01-26 2012-09-06 Casio Comput Co Ltd Electronic apparatus and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中川 裕介 外2名: ""高ノイズレベルにおける最尤楕円当てはめ"", 情報処理学会研究報告, vol. 第2008巻,第27号, JPN6016001962, 10 March 2008 (2008-03-10), pages 53 - 60, ISSN: 0003309029 *

Also Published As

Publication number Publication date
JP5958582B2 (en) 2016-08-02

Similar Documents

Publication Publication Date Title
JP5716479B2 (en) Electronic device and program
US8576230B2 (en) Graph display apparatus, recording medium on which program is recorded, and graph display method
US20140080104A1 (en) Kanji stroke order learning device, kanji stroke order learning support method, kanji stroke order learning system and recording medium in which kanji stroke order learning program is recorded
AU2005202910A1 (en) A computer method controlling a display, and graphical tools for on-screen analysis
JP2014182531A (en) Graph display device and graph display program
US11899918B2 (en) Method, apparatus, electronic device and storage medium for invoking touch screen magnifier
JP5768533B2 (en) Electronic device and program
JP2014182677A (en) Graph display control device, graph display control method and graph display control program
US9047707B2 (en) Graph display device
CN111242712B (en) Commodity display method and device
JP5958582B2 (en) Electronic device and program
JP5287588B2 (en) Graphic display device and program
JP6149916B2 (en) Display method, display device, and program
US10080963B2 (en) Object manipulation method, object manipulation program, and information processing apparatus
US9098394B2 (en) Information display apparatus, information display method, and storage medium storing program for displaying information
JP5459015B2 (en) Graph display device and program
JP5617961B2 (en) Graphic display device and program
JP5392343B2 (en) Electronic device and program
JP2015005095A (en) Information processor, information processing method, information processing program, and storage medium
JP2016110349A (en) Information processing device, control method therefor, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160414

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: 20160524

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160606

R150 Certificate of patent or registration of utility model

Ref document number: 5958582

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150