JP7615979B2 - Method, information processing device, and program - Google Patents
Method, information processing device, and program Download PDFInfo
- Publication number
- JP7615979B2 JP7615979B2 JP2021151598A JP2021151598A JP7615979B2 JP 7615979 B2 JP7615979 B2 JP 7615979B2 JP 2021151598 A JP2021151598 A JP 2021151598A JP 2021151598 A JP2021151598 A JP 2021151598A JP 7615979 B2 JP7615979 B2 JP 7615979B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- axis
- line
- image
- region
- 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.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Character Input (AREA)
Description
本開示は、方法、情報処理装置、及びプログラムに関する。 The present disclosure relates to a method, an information processing device, and a program.
従来、グラフ又は地図等を含む画像を情報処理装置が読み込んでデータベースを作成する技術が知られている。例えば特許文献1には、イメージ画像として入力されたグラフ情報から格子を用いながらグラフを抽出するデータ読取り装置が開示されている。
Conventionally, there is known a technology in which an information processing device reads images including graphs or maps to create a database. For example,
しかしながら、従来技術では、省略線が含まれている画像について十分に考慮されていなかった。したがって、省略線が活用されている画像から必要な情報を読み取ることが困難であった。 However, conventional technology does not fully consider images that contain ellipsis lines. As a result, it is difficult to read the necessary information from images that contain ellipsis lines.
本開示は、省略線が活用されている画像から必要な情報を精度良く読み取ることを可能にする技術を提供する。 This disclosure provides technology that makes it possible to accurately read necessary information from images that utilize ellipsis lines.
本開示の一実施形態に係る方法は、
情報処理装置が実行する方法であって、
対象情報を含む画像を取得すること、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定すること、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得すること、
前記対象情報に沿って示されている軸に関する第2情報を取得すること、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出すること、及び
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定すること、
を含む。
According to one embodiment of the present disclosure, the method comprises:
A method executed by an information processing device, comprising:
Obtaining an image containing target information;
determining whether the image includes an omission line superimposed on the target information;
When it is determined that the image includes the omission line, first information regarding the omission line is obtained;
obtaining second information relating to an axis indicated along the object information;
calculating a positional relationship between the omitted line and the axis based on the acquired first information and the acquired second information; and setting a value related to the axis for the axis based on the acquired second information.
Includes.
本開示の一実施形態に係る情報処理装置は、
制御部を備える情報処理装置であって、前記制御部は、
対象情報を含む画像を取得し、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定し、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得し、
前記対象情報に沿って示されている軸に関する第2情報を取得し、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出し、
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定する。
An information processing device according to an embodiment of the present disclosure includes:
An information processing device including a control unit,
Acquire an image containing the target information;
determining whether the image includes an ellipsis line superimposed on the target information;
When it is determined that the image includes the ellipsis line, first information regarding the ellipsis line is obtained;
obtaining second information relating to an axis indicated along the object information;
Calculating a positional relationship between the omitted line and the axis based on the acquired first information and second information;
A value associated with the axis is set for the axis based on the second information obtained.
本開示の一実施形態に係るプログラムは、
情報処理装置に、
対象情報を含む画像を取得すること、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定すること、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得すること、
前記対象情報に沿って示されている軸に関する第2情報を取得すること、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出すること、及び
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定すること、
を含む動作を実行させる。
A program according to an embodiment of the present disclosure includes:
In the information processing device,
Obtaining an image containing target information;
determining whether the image includes an omission line superimposed on the target information;
When it is determined that the image includes the omission line, first information regarding the omission line is obtained;
obtaining second information relating to an axis indicated along the object information;
calculating a positional relationship between the omitted line and the axis based on the acquired first information and the acquired second information; and setting a value related to the axis for the axis based on the acquired second information.
The method executes an operation including:
本開示の一実施形態に係る方法、情報処理装置、及びプログラムによれば、省略線が活用されている画像から必要な情報を精度良く読み取ることが可能になる。 The method, information processing device, and program according to one embodiment of the present disclosure make it possible to accurately read necessary information from an image that uses ellipsis lines.
以下、本開示の実施形態について、図面を参照して説明する。 Embodiments of the present disclosure are described below with reference to the drawings.
図1は、本開示の一実施形態に係る情報処理装置10の概略構成を示す機能ブロック図である。図1を参照しながら、情報処理装置10の構成の一例について主に説明する。
FIG. 1 is a functional block diagram showing a schematic configuration of an
情報処理装置10は、PC(Personal Computer)又はスマートフォン等の任意の汎用の電子機器である。情報処理装置10は、所定のユーザが使用する電子機器である。情報処理装置10は、これらに限定されず、1つ又は互いに通信可能な複数のサーバ装置であってもよい。
The
一実施形態の概要として、情報処理装置10は、対象情報を含む画像を取得する。本明細書において、「画像」は、例えば対象情報がその中に示されている任意の画像を含む。「対象情報」は、例えばグラフを含む。グラフは、2次元、すなわち2つのX軸及びY軸に沿って描かれる任意のグラフを含む。
As an overview of one embodiment, the
情報処理装置10は、対象情報に重ねて示されている省略線が画像に含まれているか否かを判定する。本明細書において、「省略線」は、例えば画像において対象情報に重ねて示されている、当該対象情報の省略を意味する任意の線を含む。省略線は、例えば画像においてグラフと重なるように描かれている、互いに並列する2つの波線を含む。情報処理装置10は、画像に省略線が含まれていると判定すると、省略線に関する第1情報を取得する。本明細書において、「第1情報」は、例えば画像における省略線の位置、形状、及び数等を含む。第1情報は、これらの情報を数値として含む。
The
情報処理装置10は、対象情報に沿って示されている軸に関する第2情報を取得する。本明細書において、「第2情報」は、例えば画像におけるグラフのX軸の位置及びX軸の目盛りの数値範囲、並びに画像におけるグラフのY軸の位置及びY軸の目盛りの数値範囲等を含む。加えて、第2情報は、例えばグラフのX軸の目盛りの数値間隔及びY軸の目盛りの数値間隔を含む。情報処理装置10は、取得された第1情報及び第2情報に基づいて省略線と軸との位置関係を算出する。情報処理装置10は、取得された第2情報に基づいて軸に関連する数値を軸に対して設定する。本明細書において、「軸に関連する数値」は、例えばグラフのX軸に沿って付される目盛りの数値、及びグラフのY軸に沿って付される目盛りの数値等を含む。
The
図1に示すとおり、情報処理装置10は、通信部11、記憶部12、入力部13、出力部14、及び制御部15を有する。
As shown in FIG. 1, the
通信部11は、例えば移動体通信網及びインターネットを含むネットワークに接続する通信モジュールを含む。例えば、通信部11は、4G(4th Generation)及び5G(5th Generation)等の移動体通信規格又はインターネット規格に対応する通信モジュールを含む。一実施形態において、情報処理装置10は、通信部11を介してネットワークに接続されている。通信部11は、ネットワークを介して多様な情報を送信及び受信する。
The communication unit 11 includes a communication module that connects to a network including, for example, a mobile communication network and the Internet. For example, the communication unit 11 includes a communication module that supports mobile communication standards or Internet standards such as 4G (4th Generation) and 5G (5th Generation). In one embodiment, the
記憶部12は、例えば半導体メモリ、磁気メモリ、又は光メモリ等であるが、これらに限定されない。記憶部12は、例えば主記憶装置、補助記憶装置、又はキャッシュメモリとして機能する。記憶部12は、情報処理装置10の動作に用いられる任意の情報を記憶する。例えば、記憶部12は、システムプログラム、アプリケーションプログラム、及び通信部11により受信又は送信される各種情報等を記憶する。記憶部12に記憶された情報は、例えば通信部11を介してネットワークから受信される情報で更新可能である。
The
入力部13は、ユーザ入力を検出して、ユーザの操作に基づく入力情報を取得する1つ以上の入力インタフェースを含む。例えば、入力部13は、物理キー、静電容量キー、マウス、出力部14のディスプレイと一体的に設けられたタッチスクリーン、当該タッチスクリーンと共に機能するタッチペン、及び音声入力を受け付けるマイクロフォン等を含む。
The
出力部14は、情報を出力してユーザに通知する1つ以上の出力インタフェースを含む。例えば、出力部14は、情報を映像で出力するディスプレイ、又は情報を音声で出力するスピーカ等であるが、これらに限定されない。
The
制御部15は、1つ以上のプロセッサを含む。一実施形態において「プロセッサ」は、汎用のプロセッサ、又は特定の処理に特化した専用のプロセッサであるが、これらに限定されない。制御部15は、情報処理装置10を構成する各構成部と通信可能に接続され、情報処理装置10全体の動作を制御する。
The
(第1実施形態)
図2は、図1の情報処理装置10により実行される情報処理方法の第1実施形態を説明するためのフローチャートである。図2を参照しながら、図1の情報処理装置10が実行する情報処理方法の第1実施形態について説明する。図2に示すフローチャートは、情報処理装置10により実行される情報処理方法の基本的な処理の流れの一例を示す。
First Embodiment
Fig. 2 is a flowchart for explaining a first embodiment of an information processing method executed by the
ステップS100では、情報処理装置10の制御部15は、対象情報を含む画像を取得する。
In step S100, the
ステップS101では、制御部15は、ステップS100において取得された画像に、対象情報に重ねて示されている省略線が含まれているか否かを判定する。制御部15は、画像に省略線が含まれていると判定すると、ステップS102の処理を実行する。制御部15は、画像に省略線が含まれていないと判定すると、処理を終了する。
In step S101, the
ステップS102では、制御部15は、ステップS101において画像に省略線が含まれていると判定すると、省略線に関する第1情報を取得する。
In step S102, if the
ステップS103では、制御部15は、ステップS100において取得された画像に含まれる、対象情報に沿って示されている軸に関する第2情報を取得する。例えば、制御部15は、グラフのX軸の位置及びX軸の目盛りの数値範囲、並びにグラフのY軸の位置及びY軸の目盛りの数値範囲を第2情報として取得する。
In step S103, the
ステップS104では、制御部15は、ステップS102及びステップS103においてそれぞれ取得された第1情報及び第2情報に基づいて省略線と軸との位置関係を算出する。
In step S104, the
ステップS105では、制御部15は、ステップS104において算出された位置関係に基づき、省略線を境界とする第1領域及び第2領域の2つに画像を切り分けて識別する。
In step S105, the
ステップS106では、制御部15は、ステップS100において取得された画像に含まれる、対象情報に沿って示されている軸に関する第2情報を取得する。例えば、制御部15は、ステップS105において識別した第1領域及び第2領域のそれぞれにおいて、軸の目盛りの数値間隔を第2情報として取得する。
In step S106, the
ステップS107では、制御部15は、ステップS103及びステップS106において取得された第2情報に基づいて軸に関連する数値を軸に対して設定する。
In step S107, the
図3は、図2に示す情報処理方法をステップごとに具体的に説明するための第1図である。図3を参照しながら、図2のステップS100における制御部15の処理内容をより詳細に説明する。
Figure 3 is the first diagram for specifically explaining each step of the information processing method shown in Figure 2. With reference to Figure 3, the processing contents of the
制御部15は、入力部13を用いたユーザの操作に基づいて、記憶部12に記憶されている任意のファイル形式の電子ファイルを参照する。例えば、制御部15は、PDFファイルを参照する。続いて、制御部15は、参照したPDFファイルに含まれている任意の画像を取得する。このとき、制御部15は、PDFファイルに含まれている、対象情報を含む画像に対して画像領域IMを指定するユーザ入力を入力部13により受け付ける。制御部15は、入力部13を用いてユーザにより指定された画像領域IMを抽出することで、対象情報を含む画像を取得する。
The
図4は、図2に示す情報処理方法をステップごとに具体的に説明するための第2図である。図4は、図2のステップS100において制御部15により取得された画像の一例を示す。図4を参照しながら、図2のステップS101における制御部15の処理内容をより詳細に説明する。
Figure 4 is a second diagram for specifically explaining each step of the information processing method shown in Figure 2. Figure 4 shows an example of an image acquired by the
制御部15により取得された画像には、2次元のグラフGが対象情報として含まれている。このような画像には、グラフGに加えて、グラフGのX軸及びY軸、並びにX軸の目盛りM1及びY軸の目盛りM2が示されている。さらに、このような画像には、グラフGと重なるように、互いに並列する2つの波線が省略線Lとして示されている。省略線Lは、上下方向に互いに並列する上側波線L1と下側波線L2とを含む。省略線Lは、グラフGにおけるY軸に沿った一部分を省略していることを表している。グラフGは、Y軸に沿って上下方向に2つの領域に区別することが可能である。
The image acquired by the
制御部15は、図2のステップS100において取得された画像に対して画像認識等の技術を用いることで図2のステップS101の判定処理を実行する。すなわち、制御部15は、ステップS100において取得された画像においてグラフGと重なる省略線Lが含まれているか否かを判定する。
The
図5は、図2に示す情報処理方法をステップごとに具体的に説明するための第3図である。図5を参照しながら、図2のステップS102における制御部15の処理内容をより詳細に説明する。
Figure 5 is a third diagram for specifically explaining each step of the information processing method shown in Figure 2. The processing contents of the
制御部15は、省略線Lを囲む範囲R0を指定するユーザ入力を入力部13により受け付ける。範囲R0は、例えば省略線Lの周囲を矩形状に囲む。制御部15は、画像認識等の技術を用いることで、このような矩形状の範囲R0の中で省略線Lを読み取る。すなわち、制御部15は、画像における省略線Lの位置、形状、及び数等の数値情報を上側波線L1及び下側波線L2のそれぞれに対し第1情報として取得する。
The
図6は、図2に示す情報処理方法をステップごとに具体的に説明するための第4図である。図6を参照しながら、図2のステップS103における制御部15の処理内容をより詳細に説明する。
Figure 6 is a fourth diagram for specifically explaining each step of the information processing method shown in Figure 2. The processing contents of the
制御部15は、X軸の目盛りM1の数値範囲における最小値0と最大値5とを数値情報として指定するユーザ入力を入力部13により受け付ける。制御部15は、Y軸の目盛りM2の数値範囲における最小値0と最大値2000とを数値情報として指定するユーザ入力を入力部13により受け付ける。制御部15は、ユーザにより指定された各軸の目盛りの数値範囲における最小値及び最大値に基づいて、各軸の目盛りの数値範囲を第2情報として取得する。
The
制御部15は、X軸を指定するユーザ入力を入力部13により受け付ける。例えば、ユーザは、出力部14に表示された画像中のX軸上の一部でマウスをクリックすることで、画像中のX軸を指定する。例えば、ユーザは、マウスをクリックしながら画像中のX軸に沿ってポインタを移動させることで、画像中のX軸を指定する。例えば、ユーザは、画像中のX軸に沿ってタッチペンを移動させることで、画像中のX軸を指定する。
The
制御部15は、Y軸を指定するユーザ入力を入力部13により受け付ける。例えば、ユーザは、出力部14に表示された画像中のY軸上の一部でマウスをクリックすることで、画像中のY軸を指定する。例えば、ユーザは、マウスをクリックしながら画像中のY軸に沿ってポインタを移動させることで、画像中のY軸を指定する。例えば、ユーザは、画像中のY軸に沿ってタッチペンを移動させることで、画像中のY軸を指定する。
The
制御部15は、ユーザによるX軸の指定に基づいて、画像におけるグラフGのX軸の位置を第2情報として取得する。同様に、制御部15は、ユーザによるY軸の指定に基づいて、画像におけるグラフGのY軸の位置を第2情報として取得する。
The
図7は、図2に示す情報処理方法をステップごとに具体的に説明するための第5図である。図7を参照しながら、図2のステップS104乃至S107における制御部15の処理内容をより詳細に説明する。
Figure 7 is a fifth diagram for specifically explaining each step of the information processing method shown in Figure 2. With reference to Figure 7, the processing contents of the
制御部15は、取得された第1情報及び第2情報に基づいて省略線Lと軸との位置関係を算出する。制御部15は、省略線LとX軸及びY軸との位置関係、より具体的にはY軸上の省略線Lの位置を算出する。これにより、制御部15は、省略線Lが上下方向に沿ってY軸の中央部に位置し、かつY軸の目盛り200と目盛り1000との間に位置すると識別する。
The
制御部15は、このようにして算出された位置関係に基づき、省略線Lを境界とする第1領域R1及び第2領域R2の2つに画像を切り分けて識別する。図7に示す画像において、第1領域R1は省略線Lの上側波線L1から上側の領域を含み、第2領域R2は省略線Lの下側波線L2から下側の領域を含む。
Based on the positional relationship calculated in this manner, the
ここで、第1領域R1ではY軸の目盛りM2の数値間隔は1000である一方で、第2領域R2ではY軸の目盛りM2の数値間隔は100である。第1領域R1及び第2領域R2において、Y軸の目盛りM2の数値間隔は互いに異なる。制御部15は、Y軸に沿った目盛りM2の数値間隔を第1領域R1及び第2領域R2のそれぞれについて画像認識等の技術を用いることで識別し、第2情報として取得する。制御部15は、第1領域R1ではY軸の目盛りM2の数値間隔が1000であり、第2領域R2ではY軸の目盛りM2の数値間隔が100であることを識別する。
Here, the numerical interval of the Y-axis scale M2 in the first region R1 is 1000, while the numerical interval of the Y-axis scale M2 in the second region R2 is 100. The numerical intervals of the Y-axis scale M2 in the first region R1 and the second region R2 are different from each other. The
制御部15は、第2情報に基づいて軸に関連する数値を軸に対して設定する。例えば、制御部15は、X軸の位置及びX軸の目盛りM1の数値範囲を用いて、X軸に沿って付される目盛りM1の数値をX軸に対して設定する。制御部15は、識別した第1領域R1及び第2領域R2のそれぞれのY軸の目盛りM2の数値間隔と共に、Y軸の位置及びY軸の目盛りM2の数値範囲を用いて、Y軸に沿って付される目盛りM2の数値をY軸に対して設定する。
The
以上により、制御部15は、図3に示すように電子ファイル内で画像として取り込まれていたグラフGを、各軸、各軸の目盛り、及び省略線Lと共に精度良く読み取る。
As a result, the
以上のような一実施形態によれば、省略線が活用されている画像から必要な情報を精度良く読み取ることが可能になる。情報処理装置10は、画像に含まれるグラフを読み取るときに、値の省略を意味する省略線がグラフと重なるように画像に含まれていて、軸上での目盛りの値の一貫性が崩れていたとしても、グラフ、各軸、各軸の目盛り、及び省略線を精度良く読み取ることが可能になる。
According to the embodiment described above, it becomes possible to accurately read necessary information from an image in which ellipsis lines are used. When reading a graph included in an image, the
情報処理装置10は、ユーザ入力及び画像認識等の技術により第1情報を取得することで情報を補完することが可能となる。これにより、情報処理装置10は、省略線に関する第1情報を精度良く読み取ることが可能となる。
The
情報処理装置10は、ユーザ入力又は画像認識等の技術により第2情報を取得することで情報を補完することが可能となる。これにより、情報処理装置10は、省略線を境界とする第1領域R1及び第2領域R2の両方で軸に関する第2情報を精度良く読み取ることが可能となる。例えば、図7において、第2領域R2での目盛りM2の数値間隔100が第1領域R1においても続けて適用されて、目盛りM2において本来2000の数値として読み取るべき部分が1100として読み取られるような誤認識が抑制される。
The
情報処理装置10は、省略線を境界とする第1領域及び第2領域の2つに画像を切り分けて識別することで、第1領域及び第2領域において軸の目盛りの数値間隔が互いに異なるような場合であっても、領域ごとに個別に軸の目盛りの数値間隔を識別可能である。これにより、情報処理装置10は、省略線が活用されている画像から、省略線近傍の軸に関する第2情報を精度良く読み取ることが可能である。
By dividing the image into two regions, a first region and a second region, with the ellipsis line as the boundary, and identifying them, the
情報処理装置10は、省略線を囲む範囲を指定するユーザ入力を受け付けて、当該範囲の中で省略線を読み取ることで、省略線に関する第1情報を画像から精度良く読み取ることが可能である。
The
(第2実施形態)
図8は、図1の情報処理装置10により実行される情報処理方法の第2実施形態を説明するためのフローチャートである。図8を参照しながら、図1の情報処理装置10が実行する情報処理方法の第2実施形態について説明する。図8に示すフローチャートは、情報処理装置10により実行される情報処理方法の基本的な処理の流れの一例を示す。
Second Embodiment
Fig. 8 is a flowchart for explaining a second embodiment of an information processing method executed by the
以下の説明において、図2に示す情報処理方法の第1実施形態と共通する処理内容については、第1実施形態において図3乃至図7を参照しながら上述した具体的な処理内容と同様の説明が当てはまる。以下では、第1実施形態と共通する処理内容については概要のみを述べ、第1実施形態と異なる処理内容について詳細に説明する。 In the following explanation, the processing contents common to the first embodiment of the information processing method shown in FIG. 2 are the same as the specific processing contents described above with reference to FIG. 3 to FIG. 7 in the first embodiment. In the following, only an overview of the processing contents common to the first embodiment will be provided, and processing contents different from the first embodiment will be described in detail.
ステップS200では、情報処理装置10の制御部15は、対象情報を含む画像を取得する。
In step S200, the
ステップS201では、制御部15は、ステップS200において取得された画像に、対象情報に重ねて示されている省略線が含まれているか否かを判定する。制御部15は、画像に省略線が含まれていると判定すると、ステップS202の処理を実行する。制御部15は、画像に省略線が含まれていないと判定すると、処理を終了する。
In step S201, the
ステップS202では、制御部15は、ステップS201において画像に省略線が含まれていると判定すると、省略線を境界とする、図7に示すような第1領域R1及び第2領域R2を画像においてそれぞれ指定するユーザ入力を受け付ける。制御部15は、画像において第1領域R1及び第2領域R2をユーザ入力により識別する。
In step S202, if the
ステップS203では、制御部15は、省略線に関する第1情報を取得する。制御部15は、ステップS202において識別された第1領域R1において第2領域R2に隣接する縁部に沿って示されている上側波線L1を省略線Lとして識別する。同様に、制御部15は、ステップS202において識別された第2領域R2において第1領域R1に隣接する縁部に沿って示されている下側波線L2を省略線Lとして識別する。制御部15は、上側波線L1及び下側波線L2を含む省略線Lに関する第1情報を取得する。
In step S203, the
ステップS204では、制御部15は、ステップS200において取得された画像に含まれる、対象情報に沿って示されている軸に関する第2情報を取得する。例えば、制御部15は、第1実施形態と同様に、グラフのX軸の位置及びX軸の目盛りの数値範囲、並びにグラフのY軸の位置及びY軸の目盛りの数値範囲をユーザ入力により第2情報として取得する。
In step S204, the
第2実施形態では、これに加えて、制御部15は、軸に関連する数値について、軸に沿った数値間隔を第1領域R1及び第2領域R2のそれぞれについて指定するユーザ入力を受け付ける。制御部15は、Y軸に沿った目盛りM2の数値間隔を第1領域R1及び第2領域R2のそれぞれについてユーザ入力により識別し、第2情報として取得する。制御部15は、第1領域R1ではY軸の目盛りM2の数値間隔が1000であり、第2領域R2ではY軸の目盛りM2の数値間隔が100であることを識別する。
In the second embodiment, in addition to this, the
ステップS205では、制御部15は、ステップS203及びステップS204においてそれぞれ取得された第1情報及び第2情報に基づいて省略線と軸との位置関係を算出する。
In step S205, the
ステップS206では、制御部15は、ステップS204において取得された第2情報に基づいて軸に関連する数値を軸に対して設定する。
In step S206, the
以上のような第2実施形態によれば、第1実施形態と同様の効果を奏する。 The second embodiment described above provides the same effects as the first embodiment.
加えて、情報処理装置10は、省略線を境界とする第1領域及び第2領域を画像においてそれぞれ指定するユーザ入力を受け付けることで、第1領域及び第2領域を画像から精度良く読み取ることが可能である。同様に、情報処理装置10は、軸に関連する数値について、軸に沿った数値間隔を第1領域及び第2領域のそれぞれについて指定するユーザ入力を受け付けることで、軸に沿った目盛りの数値間隔を第1領域及び第2領域のそれぞれにおいて第2情報として画像から精度良く読み取ることが可能である。
In addition, the
本開示を諸図面及び実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形及び改変を行うことが可能であることに注意されたい。したがって、これらの変形及び改変は本開示の範囲に含まれることに留意されたい。例えば、各構成又は各ステップ等に含まれる機能等は論理的に矛盾しないように再配置可能であり、複数の構成又はステップ等を1つに組み合わせたり、或いは分割したりすることが可能である。 Although the present disclosure has been described based on various drawings and examples, it should be noted that a person skilled in the art would be able to make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included in the scope of the present disclosure. For example, the functions included in each configuration or step can be rearranged so as not to cause logical inconsistencies, and multiple configurations or steps can be combined into one or divided.
例えば、スマートフォン又はコンピュータ等の汎用の電子機器を、上述した実施形態に係る情報処理装置10として機能させる構成も可能である。具体的には、実施形態に係る情報処理装置10等の各機能を実現する処理内容を記述したプログラムを、電子機器のメモリに格納し、電子機器のプロセッサにより当該プログラムを読み出して実行させる。したがって、一実施形態に係る開示は、プロセッサが実行可能なプログラムとしても実現可能である。
For example, a general-purpose electronic device such as a smartphone or a computer can be configured to function as the
又は、一実施形態に係る開示は、実施形態に係る情報処理装置10等に各機能を実行させるために1つ又は複数のプロセッサにより実行可能なプログラムを記憶した非一時的なコンピュータ読取可能な媒体としても実現し得る。本開示の範囲には、これらも包含されると理解されたい。
Alternatively, the disclosure according to one embodiment may also be realized as a non-transitory computer-readable medium storing a program executable by one or more processors to cause the
上記実施形態では、画像に含まれる対象情報は2次元のグラフであると説明したが、これに限定されない。対象情報は、3次元、すなわち3つのX軸、Y軸、及びZ軸に沿って描かれる任意のグラフを含んでもよい。対象情報は、2次元又は3次元の任意の地図を含んでもよい。対象情報は、CAD(Computer-Aided Design)に基づく2次元又は3次元の任意の図面を含んでもよい。 In the above embodiment, the target information included in the image is described as a two-dimensional graph, but is not limited to this. The target information may include any graph drawn in three dimensions, i.e., along three axes: X, Y, and Z. The target information may include any two-dimensional or three-dimensional map. The target information may include any two-dimensional or three-dimensional drawing based on CAD (Computer-Aided Design).
上記実施形態では、省略線は、グラフをY軸方向の2つの領域に切り分ける、互いに並列する2つの波線を含むと説明したが、これに限定されない。省略線は、グラフをY軸方向ではなくX軸方向の2つの領域に切り分けてもよい。省略線は、波線とは異なる任意の他の形状の線を含んでもよい。省略線は、2つではなく、1つ又は3つ以上の線を含んでもよい。省略線は、グラフではなく地図と重なるように描かれている任意の線を含んでもよい。省略線は、グラフ及び地図ではなくCAD図面と重なるように描かれている任意の線を含んでもよい。 In the above embodiment, the omitted lines are described as including two parallel wavy lines that divide the graph into two regions in the Y-axis direction, but are not limited to this. The omitted lines may also divide the graph into two regions in the X-axis direction instead of the Y-axis direction. The omitted lines may include lines of any other shape other than wavy lines. The omitted lines may include one or more lines instead of two. The omitted lines may include any lines that are drawn to overlap with a map rather than a graph. The omitted lines may include any lines that are drawn to overlap with a CAD drawing rather than a graph and a map.
上記実施形態では、対象情報に沿って示されている軸は、グラフのX軸及びY軸であると説明したが、これに限定されない。対象情報に沿って示されている軸は、グラフのX軸、Y軸、及びZ軸であってもよい。対象情報に沿って示されている軸は、地図上の位置を示す任意の座標軸であってもよい。対象情報に沿って示されている軸は、CAD図面上の位置を示す任意の座標軸であってもよい。 In the above embodiment, the axes shown along the object information are described as the X-axis and Y-axis of the graph, but are not limited to this. The axes shown along the object information may be the X-axis, Y-axis, and Z-axis of the graph. The axes shown along the object information may be any coordinate axis indicating a position on a map. The axes shown along the object information may be any coordinate axis indicating a position on a CAD drawing.
上記第1実施形態では、情報処理装置10は、算出された位置関係に基づき、省略線を境界とする第1領域及び第2領域の2つに画像を切り分けて識別すると説明したが、これに限定されない。情報処理装置10は、このような識別処理に代えて、又は加えて、第2実施形態のように第1領域及び第2領域を画像においてそれぞれ指定するユーザ入力を受け付けてもよい。情報処理装置10は、例えばY軸に沿った各領域の目盛りの数値間隔が同一であるような場合、これらの処理を実行しなくてもよい。すなわち、情報処理装置10は、画像を複数の領域に切り分けなくてもよい。
In the first embodiment, the
上記第1実施形態では、情報処理装置10は、目盛りの数値間隔を第1領域及び第2領域のそれぞれについて画像認識等の技術を用いることで識別し、第2情報として取得すると説明したが、これに限定されない。情報処理装置10は、このような処理に代えて、又は加えて、第2実施形態のように、軸に関連する数値について、軸に沿った数値間隔を第1領域及び第2領域のそれぞれについて指定するユーザ入力を受け付けてもよい。
In the above first embodiment, the
上記第1実施形態では、情報処理装置10は、省略線を囲む範囲を指定するユーザ入力を受け付け、かつ当該範囲の中で省略線を読み取ることで第1情報を取得すると説明したが、これに限定されない。情報処理装置10は、このような処理に代えて、又は加えて、第2実施形態のように、先に第1領域及び第2領域がユーザにより指定された状態でこれらの領域の中から省略線を読み取ってもよい。情報処理装置10は、これらの処理に代えて、画像に含まれる省略線を画像認識のみにより読み取ることで第1情報を取得してもよい。これにより、ユーザは、情報処理装置10が省略線を読み取るために入力部13を用いて任意の入力操作を行う必要がない。したがって、情報処理装置10を使用するときのユーザの利便性が向上する。
In the first embodiment, the
情報処理装置10は、以上の処理に代えて、又は加えて省略線の少なくとも一部を指定するユーザ入力を受け付けることで第1情報を取得してもよい。例えば、ユーザは、出力部14に表示された画像中の省略線の少なくとも一部に沿ってマウスをクリックしながらポインタを移動させることで、省略線の少なくとも一部を指定してもよい。例えば、ユーザは、画像中の省略線の少なくとも一部に沿ってタッチペンを移動させることで、省略線の少なくとも一部を指定してもよい。情報処理装置10は、ユーザが省略線の一部のみを指定した場合、省略線の残りの部分を画像認識等の技術を用いることで識別してもよい。
Instead of or in addition to the above processes, the
上記実施形態では、情報処理装置10は、グラフのX軸の位置及びX軸の目盛りの数値範囲、並びにグラフのY軸の位置及びY軸の目盛りの数値範囲をユーザ入力により第2情報として取得すると説明したが、これに限定されない。情報処理装置10は、グラフのX軸の位置及びX軸の目盛りの数値範囲、並びにグラフのY軸の位置及びY軸の目盛りの数値範囲の少なくとも1つを画像認識等の技術を用いて識別することで第2情報として取得してもよい。情報処理装置10は、グラフのY軸全体の目盛りの数値範囲に代えて、第1領域における目盛りの最小値及び最大値、並びに第2領域における目盛りの最小値及び最大値を個別に指定するユーザ入力により、各領域における目盛りの数値範囲を第2情報として個別に取得してもよい。
In the above embodiment, the
上記第1実施形態では、情報処理装置10は、算出された位置関係に基づき、省略線を境界とする第1領域及び第2領域の2つに画像を切り分けて識別してから、目盛りの数値間隔を第1領域及び第2領域のそれぞれについて画像認識等の技術を用いることで識別し、第2情報として取得すると説明したが、これに限定されない。情報処理装置10は、第1領域及び第2領域の2つに画像を切り分けることなく、軸全体の目盛りの各数値を画像認識等の技術を用いて識別することで、図2のステップS103において第2情報としてまとめて取得してもよい。
In the first embodiment described above, the
上記実施形態では、情報処理装置10は、入力部13を用いてユーザにより指定された画像領域IMを抽出することで、対象情報を含む画像を取得すると説明したが、これに限定されない。情報処理装置10は、画像認識等の技術を用いることで対象情報を含む画像を取得してもよい。
In the above embodiment, the
図9は、図1の情報処理装置10により実行される情報処理方法の他の例を示す模式図である。上記実施形態では、情報処理装置10は、ユーザにより指定された目盛りの数値範囲内で軸に沿って付される目盛りの数値を軸に対して設定すると説明したが、これに限定されない。図9に示すように、対象情報が省略線と共に複数の軸に沿って描かれたグラフを含むような場合に、情報処理装置10の制御部15は、グラフに対して外挿された情報が含まれる外挿領域R3で軸に関連する数値を軸に対して設定してもよい。すなわち、制御部15は、元のグラフに対してユーザにより追加された外挿データと共に、対応する目盛りの数値を、元の数値範囲の最小値又は最大値を超えて設定してもよい。図9では一例として、制御部15は、元のグラフに対してY軸の値がより大きい外挿領域R3に追加された外挿データに対して、3000及び4000の目盛りの数値をY軸に対して設定する。
9 is a schematic diagram showing another example of the information processing method executed by the
10 情報処理装置
11 通信部
12 記憶部
13 入力部
14 出力部
15 制御部
G グラフ
IM 画像領域
L 省略線
L1 上側波線
L2 下側波線
M1 目盛り
M2 目盛り
R0 範囲
R1 第1領域
R2 第2領域
R3 外挿領域
REFERENCE SIGNS
Claims (20)
対象情報を含む画像を取得すること、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定すること、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得すること、
前記対象情報に沿って示されている軸に関する第2情報を取得すること、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出すること、及び
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定すること、
を含む、
方法。 A method executed by an information processing device, comprising:
Obtaining an image containing target information;
determining whether the image includes an omission line superimposed on the target information;
When it is determined that the image includes the omission line, first information regarding the omission line is obtained;
obtaining second information relating to an axis indicated along the object information;
calculating a positional relationship between the omitted line and the axis based on the acquired first information and the acquired second information; and setting a value related to the axis for the axis based on the acquired second information.
Including,
method.
算出された前記位置関係に基づき、前記省略線を境界とする第1領域及び第2領域の2つに前記画像を切り分けて識別することをさらに含む、
方法。 2. The method of claim 1 ,
The method further includes dividing the image into two areas, a first area and a second area, with the omission line as a boundary, based on the calculated positional relationship, and identifying the divided areas.
method.
前記省略線を境界とする第1領域及び第2領域を前記画像においてそれぞれ指定するユーザ入力を受け付けることをさらに含む、
方法。 3. The method according to claim 1 or 2,
and receiving a user input specifying a first region and a second region in the image, the first region and the second region being bounded by the omission line.
method.
前記第2情報を取得することは、前記軸に関連する数値について、前記軸に沿った数値間隔を前記第1領域及び前記第2領域のそれぞれについて指定するユーザ入力を受け付けることを含む、
方法。 4. The method of claim 3,
obtaining the second information includes accepting user input specifying a numerical interval along the axis for each of the first region and the second region with respect to a numerical value associated with the axis;
method.
前記第1情報を取得することは、前記省略線を囲む範囲を指定するユーザ入力を受け付けること、及び前記範囲の中で前記省略線を読み取ること、を含む、
方法。 5. The method according to claim 1 , further comprising the steps of:
The acquiring of the first information includes accepting a user input specifying a range surrounding the ellipsis line, and reading the ellipsis line within the range.
method.
前記第1情報を取得することは、前記画像に含まれる前記省略線を画像認識のみにより読み取ることを含む、
方法。 5. The method according to claim 1 , further comprising the steps of:
The acquiring of the first information includes reading the omission line included in the image by image recognition alone.
method.
前記対象情報は、前記省略線と共に複数の前記軸に沿って描かれたグラフを含み、
前記軸に関連する数値を前記軸に対して設定することは、前記グラフに対して外挿された情報が含まれる外挿領域で前記軸に関連する数値を前記軸に対して設定することを含む、
方法。 7. The method according to any one of claims 1 to 6, comprising:
the target information includes a graph drawn along a plurality of the axes with the omitted lines;
setting the axis-associated values for the axis includes setting the axis-associated values for the axis in an extrapolation region that includes information extrapolated to the graph.
method.
対象情報を含む画像を取得し、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定し、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得し、
前記対象情報に沿って示されている軸に関する第2情報を取得し、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出し、
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定する、
情報処理装置。 An information processing device including a control unit,
Acquire an image containing the target information;
determining whether the image includes an ellipsis line superimposed on the target information;
When it is determined that the image includes the ellipsis line, first information regarding the ellipsis line is obtained;
obtaining second information relating to an axis indicated along the object information;
Calculating a positional relationship between the omitted line and the axis based on the acquired first information and second information;
setting a value for the axis related to the axis based on the acquired second information;
Information processing device.
前記制御部は、算出された前記位置関係に基づき、前記省略線を境界とする第1領域及び第2領域の2つに前記画像を切り分けて識別する、
情報処理装置。 9. The information processing device according to claim 8,
The control unit divides the image into two areas, a first area and a second area, with the omission line as a boundary, based on the calculated positional relationship, and identifies the divided areas.
Information processing device.
前記制御部は、前記省略線を境界とする第1領域及び第2領域を前記画像においてそれぞれ指定するユーザ入力を受け付ける、
情報処理装置。 10. The information processing device according to claim 8,
The control unit accepts a user input for designating a first region and a second region in the image, the first region and the second region being bounded by the omission line.
Information processing device.
前記制御部は、前記軸に関連する数値について、前記軸に沿った数値間隔を前記第1領域及び前記第2領域のそれぞれについて指定するユーザ入力を受け付けることで前記第2情報を取得する、
情報処理装置。 The information processing device according to claim 10,
the control unit acquires the second information by accepting a user input specifying a numerical interval along the axis for each of the first region and the second region with respect to a numerical value related to the axis.
Information processing device.
前記制御部は、前記省略線を囲む範囲を指定するユーザ入力を受け付け、かつ前記範囲の中で前記省略線を読み取ることで前記第1情報を取得する、
情報処理装置。 12. The information processing device according to claim 8,
the control unit receives a user input specifying a range surrounding the ellipsis line, and acquires the first information by reading the ellipsis line within the range.
Information processing device.
前記制御部は、前記画像に含まれる前記省略線を画像認識のみにより読み取ることで前記第1情報を取得する、
情報処理装置。 12. The information processing device according to claim 8,
The control unit acquires the first information by reading the omission line included in the image only by image recognition.
Information processing device.
前記対象情報は、前記省略線と共に複数の前記軸に沿って描かれたグラフを含み、
前記制御部は、前記グラフに対して外挿された情報が含まれる外挿領域で前記軸に関連する数値を前記軸に対して設定する、
情報処理装置。 14. The information processing device according to claim 8,
the target information includes a graph drawn along a plurality of the axes with the omitted lines;
The control unit sets a numerical value associated with the axis in an extrapolation region including information extrapolated to the graph, for the axis.
Information processing device.
対象情報を含む画像を取得すること、
前記対象情報に重ねて示されている省略線が前記画像に含まれているか否かを判定すること、
前記画像に前記省略線が含まれていると判定すると、前記省略線に関する第1情報を取得すること、
前記対象情報に沿って示されている軸に関する第2情報を取得すること、
取得された前記第1情報及び前記第2情報に基づいて前記省略線と前記軸との位置関係を算出すること、及び
取得された前記第2情報に基づいて前記軸に関連する数値を前記軸に対して設定すること、
を含む動作を実行させる、
プログラム。 In the information processing device,
Obtaining an image containing target information;
determining whether the image includes an omission line superimposed on the target information;
When it is determined that the image includes the omission line, first information regarding the omission line is obtained;
obtaining second information relating to an axis indicated along the object information;
calculating a positional relationship between the omitted line and the axis based on the acquired first information and the acquired second information; and setting a value related to the axis for the axis based on the acquired second information.
performing an action including
program.
前記動作は、算出された前記位置関係に基づき、前記省略線を境界とする第1領域及び第2領域の2つに前記画像を切り分けて識別することをさらに含む、
プログラム。 The program according to claim 15,
The operation further includes dividing the image into two areas, a first area and a second area defined by the omission line, based on the calculated positional relationship, and identifying the divided areas.
program.
前記動作は、前記省略線を境界とする第1領域及び第2領域を前記画像においてそれぞれ指定するユーザ入力を受け付けることをさらに含む、
プログラム。 17. The program according to claim 15 or 16,
The operations further include accepting user input specifying a first region and a second region in the image, the first region and the second region being bounded by the omission line.
program.
前記第2情報を取得することは、前記軸に関連する数値について、前記軸に沿った数値間隔を前記第1領域及び前記第2領域のそれぞれについて指定するユーザ入力を受け付けることを含む、
プログラム。 18. The program according to claim 17,
obtaining the second information includes accepting user input specifying a numerical interval along the axis for each of the first region and the second region with respect to a numerical value associated with the axis;
program.
前記第1情報を取得することは、前記省略線を囲む範囲を指定するユーザ入力を受け付けること、及び前記範囲の中で前記省略線を読み取ること、を含む、
プログラム。 19. The program according to any one of claims 15 to 18,
The acquiring of the first information includes accepting a user input specifying a range surrounding the ellipsis line, and reading the ellipsis line within the range.
program.
前記第1情報を取得することは、前記画像に含まれる前記省略線を画像認識のみにより読み取ることを含む、
プログラム。 19. The program according to any one of claims 15 to 18,
The acquiring of the first information includes reading the omission line included in the image by image recognition alone.
program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021151598A JP7615979B2 (en) | 2021-09-16 | 2021-09-16 | Method, information processing device, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021151598A JP7615979B2 (en) | 2021-09-16 | 2021-09-16 | Method, information processing device, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023043794A JP2023043794A (en) | 2023-03-29 |
| JP7615979B2 true JP7615979B2 (en) | 2025-01-17 |
Family
ID=85725380
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021151598A Active JP7615979B2 (en) | 2021-09-16 | 2021-09-16 | Method, information processing device, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7615979B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2581353B2 (en) * | 1991-08-23 | 1997-02-12 | 株式会社日立製作所 | Graph image registration system |
-
2021
- 2021-09-16 JP JP2021151598A patent/JP7615979B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023043794A (en) | 2023-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR20210015972A (en) | Lesion detection method, apparatus, device and storage medium | |
| CN111290684B (en) | Image display method, image display device and terminal device | |
| US20230367473A1 (en) | Ink data generation apparatus, method, and program | |
| US20150170384A1 (en) | Apparatus and method for creating drawing data superimposing grouped data on a screen | |
| JP6055065B1 (en) | Character recognition program and character recognition device | |
| JP2017182302A (en) | Image processing program, image processing apparatus, and image processing method | |
| CN109656652B (en) | Webpage chart drawing method, device, computer equipment and storage medium | |
| CN112487883A (en) | Intelligent pen writing behavior characteristic analysis method and device and electronic equipment | |
| JP7522514B1 (en) | Drawing processing device and drawing processing method | |
| CN101499179B (en) | Image processing apparatus, and image processing method | |
| JP4681527B2 (en) | Height-restricted area information creation device, height-restricted area information creation method, and height-restricted area information creation program | |
| JP7615979B2 (en) | Method, information processing device, and program | |
| CN115797182A (en) | Feature map interpolation method, device, equipment and storage medium | |
| JP2008084211A (en) | Shape refinement device, shape refinement method, shape refinement program, machine CAD device, and manufacturing method of three-dimensional structure | |
| CN116134476B (en) | Plane correction method and device, computer readable medium and electronic device | |
| CN111521127B (en) | Measuring method, measuring apparatus, and recording medium | |
| JP4888013B2 (en) | Height limit calculation device, height limit calculation method, and height limit calculation program | |
| CN101727675B (en) | System and method for dynamically previewing insertion positions of graphic elements | |
| CN114519213B (en) | Automating computer-aided graph drawing from tags using machine learning. | |
| CN115526993A (en) | Three-dimensional model construction method and device, electronic equipment and storage medium | |
| JP2006059014A (en) | Device for calculating distance of three-dimensional cad data and measured three-dimensional data, distance calculating method, and its program | |
| CN113343973A (en) | Depth estimation method, storage medium, and computer device | |
| JP2019082927A (en) | Information processing apparatus, information processing method, and program | |
| CN115376154A (en) | A method, device, electronic device, and storage medium for identifying electronic drawings | |
| JP5760827B2 (en) | Object recognition device, object recognition method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240212 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241114 |
|
| 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: 20241203 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241216 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7615979 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |