JP2016212044A - Pointer value reading device and pointer value reading program - Google Patents

Pointer value reading device and pointer value reading program Download PDF

Info

Publication number
JP2016212044A
JP2016212044A JP2015098226A JP2015098226A JP2016212044A JP 2016212044 A JP2016212044 A JP 2016212044A JP 2015098226 A JP2015098226 A JP 2015098226A JP 2015098226 A JP2015098226 A JP 2015098226A JP 2016212044 A JP2016212044 A JP 2016212044A
Authority
JP
Japan
Prior art keywords
pointer
point position
pointer value
coordinates
value
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
JP2015098226A
Other languages
Japanese (ja)
Other versions
JP6527386B2 (en
Inventor
庸聡 栗原
Nobuaki Kurihara
庸聡 栗原
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.)
Taisei Corp
Original Assignee
Taisei Corp
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 Taisei Corp filed Critical Taisei Corp
Priority to JP2015098226A priority Critical patent/JP6527386B2/en
Publication of JP2016212044A publication Critical patent/JP2016212044A/en
Application granted granted Critical
Publication of JP6527386B2 publication Critical patent/JP6527386B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To correctly read a pointer value of an indicator without being influenced by imaging conditions.SOLUTION: A pointer value reading device 1 for reading a pointer value indicated by a pointer of an indicator 2 from a captured image of the indicator 2 captured by imaging means 10, comprises: position information acquisition means 44 by which an origin position of a scale M of the indicator 2 displayed by display means 20, a maximum point position, a rotation center point position of the pointer, and a pointer point position indicated by the pointer are acquired on the basis of a selection operation through a user; and pointer value calculation means 45 for calculating a ratio between a virtual first rotation angle of the pointer from a coordinate at the origin position with a coordinate of the rotation center point position as a center to a coordinate at the maximum point position and a second rotation angle of the pointer from the coordinate at the origin position with the coordinate of the rotation center point position as a center to a coordinate at the pointer point position, and calculating the pointer value from the maximum value of the scale M acquired by storage means.SELECTED DRAWING: Figure 1

Description

本発明は、指針値読取装置および指針値読取プログラムに関する。   The present invention relates to a pointer value reading device and a pointer value reading program.

例えば、建設現場では、コンクリートの品質試験や土質試験が行われており、工事担当者には、これらの試験の書類作成業務が大きな負担となる。   For example, concrete quality tests and soil quality tests are performed at construction sites, and the work of preparing documents for these tests is a heavy burden on construction personnel.

従来、品質試験等で用いる計器の撮影画像から画像認識技術を用いて指針値を自動で読み取る技術が開発されている(特許文献1,2参照)。
この技術を用いれば、測定結果を自動的にデータ化することが可能であり、書類作成業務を軽減することができる。
2. Description of the Related Art Conventionally, a technique for automatically reading a pointer value from an image taken by a meter used in a quality test or the like using an image recognition technique has been developed (see Patent Documents 1 and 2).
If this technique is used, the measurement result can be automatically converted into data, and the document creation work can be reduced.

特開平3−100424号公報Japanese Patent Laid-Open No. 3-100424 特許第3998215号公報Japanese Patent No. 3998215

しかしながら、特許文献1,2に記載される技術を用いた装置では、計器の指針値を正しく読み取ることができない場合がある。例えば、屋外の建設現場では、屋内とは異なり撮影条件が一定にならないので、撮影条件によっては指針値を正確に読み取ることができない場合もある。   However, the apparatus using the techniques described in Patent Documents 1 and 2 may not be able to correctly read the indicator value of the instrument. For example, in outdoor construction sites, the shooting conditions are not constant, unlike indoors, and the guideline values may not be accurately read depending on the shooting conditions.

本発明は、前記問題に鑑みてなされたものであり、撮影条件に影響されずに計器の指針値を正確に読み取ることができる指針値読取装置および指針値読取プログラムを提供することを課題とする。   The present invention has been made in view of the above problems, and it is an object of the present invention to provide a pointer value reading device and a pointer value reading program capable of accurately reading a pointer value of a meter without being influenced by photographing conditions. .

前記課題を解決するため、本発明に係る指針値読取装置は、撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取装置であって、二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、前記表示手段に表示された前記計器の目盛の原点位置、最大点位置、前記指針の回転中心点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、前記回転中心点位置の座標を中心とした前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の回転角度と前記回転中心点位置の座標を中心とした前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の回転角度との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段と、を備えることを特徴とする。   In order to solve the above-mentioned problem, a pointer value reading device according to the present invention is a pointer value reading device that reads a pointer value indicated by a pointer of a meter from a photographed image of the meter photographed by photographing means, and has two-dimensional coordinates. The photographed image display means for displaying the photographed image on the set display means, the origin position of the scale of the instrument displayed on the display means, the maximum point position, the rotation center point position of the pointer, and the pointer indicate Position information acquisition means for acquiring a pointer point position based on a user's selection operation, and a virtual position of the pointer from the origin position coordinate to the maximum point position coordinate centered on the rotation center point position coordinate A ratio between the first rotation angle and the second rotation angle of the pointer from the coordinates of the origin position to the coordinates of the pointer point position centered on the coordinates of the rotation center point position, and from the storage means A guideline value calculating means for calculating the pointer value from the maximum value of the scale which is characterized in that it comprises a.

本発明に係る指針値読取装置においては、ユーザによって選択された目盛の原点位置の座標、最大点位置の座標、回転中心点位置の座標および指針点位置の座標から指針値を算出する。したがって、撮影画像の状態によらずに、目盛が円弧上に配置されている計器(例えば、丸型メータ)の指針値を正確に読み取ることができる。なお、目盛が無端状に配置されることで目盛の原点と最大点とが同じ位置にある場合には、ユーザは、目盛の端境点(目盛の原点および最大点)、回転中心点および指針点の3箇所を選択する場合もある。また、ユーザは、目盛の原点、回転中心点および指針点の3箇所を選択し、選択された目盛の原点と回転中心点との位置関係から最大点の位置を算出することも可能である。   In the pointer value reading device according to the present invention, the pointer value is calculated from the coordinates of the origin position of the scale selected by the user, the coordinates of the maximum point position, the coordinates of the rotation center point position, and the coordinates of the pointer point position. Therefore, it is possible to accurately read the pointer value of a meter (for example, a round meter) whose scale is arranged on an arc regardless of the state of the captured image. Note that if the graduation is placed endlessly and the origin of the graduation and the maximum point are at the same position, the user can specify the end points of the graduation (the origin and maximum point of the graduation), the rotation center point, and the pointer. There are cases where three points are selected. The user can also select the three points of the scale origin, the rotation center point, and the pointer point, and calculate the position of the maximum point from the positional relationship between the origin of the selected scale and the rotation center point.

また、本発明に係る指針値読取装置は、撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取装置であって、二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、前記表示手段に表示された前記計器の目盛の原点位置、最大点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の移動距離と前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の移動距離との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段と、を備えることを特徴とする。   The pointer value reading device according to the present invention is a pointer value reading device that reads a pointer value indicated by a pointer of the instrument from a photographed image of the instrument photographed by the photographing means, and is a display in which two-dimensional coordinates are set. A photographed image display means for displaying the photographed image on the means, and an origin position, a maximum point position of the scale of the instrument displayed on the display means, and a pointer point position indicated by the pointer are acquired based on a user selection operation. Position information acquisition means, and a first virtual movement distance of the pointer from the coordinate of the origin position to the coordinate of the maximum point position and a position of the pointer from the coordinate of the origin position to the coordinate of the pointer point position And a pointer value calculating means for calculating the pointer value from a ratio to the second moving distance and a maximum value of the scale obtained from the storage means.

本発明に係る指針値読取装置においては、ユーザによって選択される目盛の原点位置の座標、最大点位置の座標、指針点位置の座標から指針値を算出する。したがって、撮影画像の状態によらずに、目盛が直線上に配置されている計器(例えば、標尺)の指針値を正確に読み取ることができる。   In the pointer value reading device according to the present invention, the pointer value is calculated from the coordinates of the origin position of the scale selected by the user, the coordinates of the maximum point position, and the coordinates of the pointer point position. Therefore, it is possible to accurately read the pointer value of an instrument (for example, a scale) in which the scale is arranged on a straight line regardless of the state of the captured image.

本発明によれば、撮影条件に影響されずに計器の指針値を正確に読み取ることができる。   According to the present invention, it is possible to accurately read the pointer value of the instrument without being affected by the photographing conditions.

本発明の第1実施形態に係る指針値読取装置のブロック図である。It is a block diagram of the pointer value reading device according to the first embodiment of the present invention. タッチディスプレイの画面例であり、(a)は計器を撮影する際の状態を示し、(b)はユーザ(以下、観測者と称す)がタッチ操作によりデータ入力を行う際の状態を示す。It is a screen example of a touch display, (a) shows a state when photographing an instrument, and (b) shows a state when a user (hereinafter referred to as an observer) inputs data by a touch operation. 観測者のタッチ操作により入力された位置情報の例示である。It is an example of the positional information input by the observer's touch operation. 入力された位置情報を用いて計器の指針値を算出する処理を説明するための図である。It is a figure for demonstrating the process which calculates the pointer value of a meter using the input positional information. 本発明の第1実施形態に係る指針値読取装置の処理の流れを示すフローチャートの例示である。It is an illustration of the flowchart which shows the flow of a process of the pointer value reading apparatus which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係る指針値読取装置のブロック図である。It is a block diagram of a pointer value reading device according to a second embodiment of the present invention. タッチディスプレイの画面例であり、(a)は計器を撮影する際の状態を示し、(b)は観測者がタッチ操作によりデータ入力を行う際の状態を示す。It is an example of a screen of a touch display, (a) shows the state at the time of imaging | photography of a meter, (b) shows the state at the time of an observer performing data input by touch operation. 観測者のタッチ操作により入力された位置情報の例示である。It is an example of the positional information input by the observer's touch operation. 本発明の第2実施形態に係る指針値読取装置の処理の流れを示すフローチャートの例示である。It is an illustration of the flowchart which shows the flow of a process of the pointer value reading apparatus which concerns on 2nd Embodiment of this invention.

以下、本発明の実施をするための形態を、適宜図面を参照しながら詳細に説明する。
各図は、本発明を十分に理解できる程度に、概略的に示してあるに過ぎない。よって、本発明は、図示例のみに限定されるものではない。また、参照する図面において、各部材の寸法は、説明を明確にするために誇張して表現されている場合がある。なお、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。
DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings as appropriate.
Each figure is only schematically shown so that the invention can be fully understood. Therefore, the present invention is not limited to the illustrated example. In the drawings to be referred to, the dimensions of each member may be exaggerated for the sake of clarity. In addition, in each figure, about the same component or the same component, the same code | symbol is attached | subjected and those overlapping description is abbreviate | omitted.

[第1実施形態]
≪第1実施形態に係る指針値読取装置の構成について≫
図1を参照して、第1実施形態に係る指針値読取装置1の構成について説明する。以下では、本発明に関連する機能の説明を行うことにし、関連しない機能については説明を省略する。指針値読取装置1は、指針を有するアナログ式の計器2の指針値をデジタル値として読み取るものである。ここでの指針値読取装置1は、持ち運び可能な板状のタブレット端末を想定しており、デジタルカメラ10と、タッチディスプレイ20と、記憶手段30と、制御手段40とを備えて構成されている。
[First Embodiment]
≪About the configuration of the guideline value reading device according to the first embodiment≫
With reference to FIG. 1, the structure of the pointer value reading apparatus 1 according to the first embodiment will be described. In the following, functions related to the present invention will be described, and descriptions of functions not related will be omitted. The pointer value reading device 1 reads a pointer value of an analog meter 2 having a pointer as a digital value. The pointer value reading device 1 here is assumed to be a portable tablet terminal, and includes a digital camera 10, a touch display 20, a storage unit 30, and a control unit 40. .

デジタルカメラ10は、共に図示しないレンズとイメージセンサ(撮像素子)とを内蔵しており、被写体(ここでは、計器2)から放射される光をレンズで屈折させ、屈折させた光をイメージセンサで電気信号に変換する。デジタルカメラ10は、例えば、CCDカメラやCMOSカメラであってよく、計器2を撮影した所定のフレームレートの撮影画像Gnを制御手段40に出力する。ここで、撮影対象の計器2は、指針を有するアナログ式のものであればよく、用途や種類などは特に限定されない。本実施形態では、計器2として丸型のアナログメータを想定する。計器2は、目盛Mが円弧上に付された目盛板2aと、目盛板2aの中心に回転自在に固定された指針2bとを備えている。指針2bの先端は、目盛M上の任意の位置を指し示す。   The digital camera 10 incorporates a lens (not shown) and an image sensor (imaging device). The digital camera 10 refracts light emitted from a subject (in this case, the instrument 2) by the lens, and uses the image sensor to refract the refracted light. Convert to electrical signal. The digital camera 10 may be a CCD camera or a CMOS camera, for example, and outputs a photographed image Gn of a predetermined frame rate obtained by photographing the meter 2 to the control means 40. Here, the meter 2 to be photographed may be an analog type having a pointer, and its use and type are not particularly limited. In the present embodiment, a round analog meter is assumed as the meter 2. The meter 2 includes a scale plate 2a having a scale M on an arc, and a pointer 2b that is rotatably fixed to the center of the scale plate 2a. The tip of the pointer 2b points to an arbitrary position on the scale M.

タッチディスプレイ20は、液晶表示装置であるディスプレイの表面にタッチパネルが積層されたものである。タッチディスプレイ20には、任意の位置を原点とする直交座標系(例えば、横方向をX軸、縦方向をY軸)が設定されており、タッチ操作により選択された位置情報を座標値として出力することができる。タッチディスプレイ20に表示される内容や観測者のタッチ操作によるデータ入力の内容については後記する。なお、指針値読取装置1は、タッチディスプレイ20に換えて、ディスプレイ等の表示手段とキーボードやマウス等の入力手段とを別々の装置として備えていてもよい。   The touch display 20 is a liquid crystal display device in which a touch panel is laminated on the surface of a display. The touch display 20 is set with an orthogonal coordinate system (for example, the horizontal direction is the X axis and the vertical direction is the Y axis), and the position information selected by the touch operation is output as the coordinate value. can do. The contents displayed on the touch display 20 and the contents of data input by the observer's touch operation will be described later. The pointer value reading device 1 may include a display unit such as a display and an input unit such as a keyboard and a mouse as separate devices instead of the touch display 20.

記憶手段30は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。記憶手段30は、撮影画像記憶手段31と、目盛情報記憶手段32と、指針値情報記憶手段33とからなる。撮影画像記憶手段31は、デジタルカメラ10が撮影した所定のフレームレートの撮影画像Gn(動画像)のうちで観測者が撮影を指示した一枚の撮影画像G(静止画像)を記憶する。この撮影画像Gは、計器2の指針値の算出に用いられる。目盛情報記憶手段32は、撮影対象である計器2の目盛Mの最大値を記憶する。指針値情報記憶手段33は、撮影画像Gから算出された計器2の指針値を記憶する。指針値の算出方法については後記する。   The storage unit 30 includes a storage medium such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash memory. The storage unit 30 includes a captured image storage unit 31, a scale information storage unit 32, and a pointer value information storage unit 33. The photographed image storage means 31 stores one photographed image G (still image) instructed by the observer from among photographed images Gn (moving images) of a predetermined frame rate photographed by the digital camera 10. This captured image G is used for calculation of the pointer value of the meter 2. The scale information storage means 32 stores the maximum value of the scale M of the meter 2 that is the subject of photographing. The pointer value information storage unit 33 stores the pointer value of the meter 2 calculated from the captured image G. The calculation method of the guideline value will be described later.

制御手段40は、CPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。制御手段40がプログラム実行処理により実現する場合、記憶手段30には、制御手段40の機能を実現するためのプログラムが格納される。制御手段40は、撮影補助手段41と、撮影画像取得手段42と、撮影画像表示手段43と、位置情報取得手段44と、指針値算出手段45とからなる。撮影補助手段41と、撮影画像取得手段42とは、撮影画像Gを取得するまでの処理を行い、撮影画像表示手段43と、位置情報取得手段44と、指針値算出手段45とは、撮影画像Gから指針値を算出する処理を行う。以下、各機能の処理の内容を説明する。   The control means 40 is realized by a program execution process by a CPU (Central Processing Unit), a dedicated circuit, or the like. When the control means 40 is realized by a program execution process, the storage means 30 stores a program for realizing the function of the control means 40. The control means 40 includes a photographing assist means 41, a photographed image acquisition means 42, a photographed image display means 43, a position information acquisition means 44, and a pointer value calculation means 45. The photographing assist means 41 and the photographed image acquisition means 42 perform processing until the photographed image G is obtained, and the photographed image display means 43, the position information acquisition means 44, and the pointer value calculation means 45 include the photographed image. A process for calculating a guideline value from G is performed. Hereinafter, the contents of processing of each function will be described.

撮影補助手段41は、観測者による計器2の撮影を補助する。撮影補助手段41は、デジタルカメラ10から撮影画像Gnを取得し、取得した撮影画像Gnに計器2の撮影を補助するガイドgを重ねた撮影画像G(n+g)をタッチディスプレイ20に表示させる。ガイドgは、計器2を傾きなく正面から撮影を行えるようにするためのものであればよい。本実施形態では、図2(a)に示すように、撮影補助手段41は、タッチディスプレイ20の中央部分にリング状のガイドgを表示させる。なお、撮影補助手段41は、計器2の中心位置を示す十字状のガイド(図示せず)等を表示させるものでもよい。   The imaging assistance means 41 assists the imaging of the instrument 2 by the observer. The photographing assisting unit 41 acquires the photographed image Gn from the digital camera 10 and causes the touch display 20 to display the photographed image G (n + g) in which the acquired photographed image Gn is overlapped with a guide g that assists photographing with the instrument 2. The guide g may be any as long as the instrument 2 can be photographed from the front without tilting. In the present embodiment, as illustrated in FIG. 2A, the photographing assistance unit 41 displays a ring-shaped guide g on the center portion of the touch display 20. Note that the photographing assistance means 41 may display a cross-shaped guide (not shown) indicating the center position of the meter 2 or the like.

撮影画像取得手段42は、指針値の算出に用いる撮影画像Gを決定する。撮影画像取得手段42には、撮影補助手段41から撮影画像Gnを取得すると共に、観測者からの撮影指示がタッチディスプレイ20を介して入力される。撮影指示はどのようなものでもあってよく、その種類は特に限定されない。撮影画像取得手段42は、撮影画像Gnのなかから観測者からの撮影指示があった時点の撮影画像Gを静止画像として取得し、取得した撮影画像Gを撮影画像記憶手段31に記憶させる。撮影画像記憶手段31に記憶された撮影画像Gは、この後の指針値の算出に用いられる。   The captured image acquisition unit 42 determines the captured image G used for calculating the pointer value. The captured image acquisition unit 42 acquires the captured image Gn from the imaging auxiliary unit 41 and inputs an imaging instruction from the observer via the touch display 20. Any kind of shooting instruction may be used, and the type thereof is not particularly limited. The captured image acquisition unit 42 acquires, as a still image, a captured image G at the time when an imaging instruction is received from the observer from the captured image Gn, and stores the acquired captured image G in the captured image storage unit 31. The captured image G stored in the captured image storage unit 31 is used for the calculation of the pointer value thereafter.

撮影画像表示手段43は、撮影画像Gを撮影画像記憶手段31から取得し、取得した撮影画像Gをタッチディスプレイ20に表示させる。ここで、撮影画像表示手段43は、撮影画像Gを拡大してタッチディスプレイ20に表示させてもよい。   The captured image display unit 43 acquires the captured image G from the captured image storage unit 31 and displays the acquired captured image G on the touch display 20. Here, the captured image display means 43 may enlarge the captured image G and display it on the touch display 20.

位置情報取得手段44は、観測者の選択操作(以下、タッチ操作と称す)によって指示された点の位置情報(座標)を取得する。タッチディスプレイ20には、図2(b)に示すように、撮影画像表示手段43によって計器2の撮影画像Gが表示されている。図2(b)では、指針2bの初期状態(計測する前の状態)を破線で示している。指針2bは、初期状態において目盛の原点M0を指し示す。観測者は、撮影画像Gとして映し出された計器2の原点M0、指針2bの回転中心点Oおよび指針2bの指針点Miの合計3点を順番に選択する。タッチディスプレイ20の選択されたところには印が表示される。ここで、観測者は、撮影画像Gを選択する位置や順番を操作マニュアルなどにより事前に知らされているものとする。なお、位置情報取得手段44は、撮影画像Gを表示することに加えて文字や音声等で観測者に対して選択する位置や順番を指示するようにしてもよい。位置情報取得手段44は、観測者によって選択された原点M0の座標(X1,Y1)、回転中心点の座標(X2,Y2)および指針点Miの座標(X3,Y3)をタッチディスプレイ20から取得し、取得した3点の座標を指針値算出手段45に出力する。   The position information acquisition unit 44 acquires position information (coordinates) of a point designated by an observer's selection operation (hereinafter referred to as touch operation). On the touch display 20, as shown in FIG. 2B, the captured image G of the instrument 2 is displayed by the captured image display means 43. In FIG.2 (b), the initial state (state before a measurement) of the pointer 2b is shown with the broken line. The pointer 2b indicates the origin M0 of the scale in the initial state. The observer sequentially selects a total of three points including the origin M0 of the meter 2 displayed as the captured image G, the rotation center point O of the pointer 2b, and the pointer point Mi of the pointer 2b. A mark is displayed at a selected place on the touch display 20. Here, it is assumed that the observer is informed beforehand of the position and order of selecting the captured image G by an operation manual or the like. In addition to displaying the captured image G, the position information acquisition unit 44 may instruct the observer on the position and order of selection with characters, voices, and the like. The position information acquisition unit 44 acquires the coordinates (X1, Y1) of the origin M0, the coordinates (X2, Y2) of the rotation center point, and the coordinates (X3, Y3) of the pointer point Mi selected by the observer from the touch display 20. Then, the obtained coordinates of the three points are output to the pointer value calculation means 45.

指針値算出手段45は、観測者のタッチ操作により選択された位置情報から計器2の指針値を算出する。指針値算出手段45には、位置情報取得手段44から出力された3点の座標(X1,Y1)、座標(X2,Y2)、座標(X3,Y3)が入力される。また、指針値算出手段45は、目盛情報記憶手段32から目盛Mの最大値を取得する。指針値算出手段45は、原点M0から指針点Miまでの角度θを3点の座標から算出し、算出した角度θを目盛Mの最大値を用いて指針値に換算する。   The pointer value calculation means 45 calculates the pointer value of the meter 2 from the position information selected by the observer's touch operation. The pointer value calculation unit 45 receives the three-point coordinates (X1, Y1), coordinates (X2, Y2), and coordinates (X3, Y3) output from the position information acquisition unit 44. The pointer value calculation unit 45 acquires the maximum value of the scale M from the scale information storage unit 32. The pointer value calculation means 45 calculates an angle θ from the origin M0 to the pointer point Mi from the coordinates of the three points, and converts the calculated angle θ into a pointer value using the maximum value of the scale M.

例えば、指針値算出手段45は、図3に示すように、原点M0から回転中心点Oを通る鉛直線Kまでの角度θ1と、回転中心点Oを通る鉛直線Kから指針点Miまでの角度θ2とをそれぞれ算出し、「θ1+θ2」を原点M0から指針点Miまでの角度θとして算出する。そして、指針値算出手段45は、「θ×係数÷目盛の最大角度」を指針値として算出する。ここで、係数は目盛Mの最大値であり、最大角度は目盛Mの原点M0〜最大点Mmaxの角度である。なお、目盛Mを無端状(環状)に配置されることで目盛Mの原点M0と最大点Mmaxとが同じ位置にある場合には、最大角度は360°となる。指針値算出手段45は、算出した指針値を指針値情報記憶手段33に記憶させると共に、指針値をタッチディスプレイ20に表示する。なお、計器2の目盛の間隔が一定でない場合には、近似式を用いるようにするとよい。   For example, as shown in FIG. 3, the pointer value calculation unit 45 includes an angle θ1 from the origin M0 to the vertical line K passing through the rotation center point O, and an angle from the vertical line K passing through the rotation center point O to the pointer point Mi. θ2 is calculated, and “θ1 + θ2” is calculated as an angle θ from the origin M0 to the pointer point Mi. Then, the pointer value calculation means 45 calculates “θ × coefficient ÷ maximum scale angle” as the pointer value. Here, the coefficient is the maximum value of the scale M, and the maximum angle is the angle from the origin M0 to the maximum point Mmax of the scale M. When the scale M is arranged endlessly (annular) and the origin M0 of the scale M and the maximum point Mmax are at the same position, the maximum angle is 360 °. The pointer value calculating unit 45 stores the calculated pointer value in the pointer value information storage unit 33 and displays the pointer value on the touch display 20. In addition, when the interval of the scale of the meter 2 is not constant, an approximate expression may be used.

次に、図4を参照して、角度θ1,θ2を算出する方法について説明する。図4は、角度θ1を算出する処理を示すフローチャートの例示である。なお、角度θ2を算出する方法については説明を省略するが、回転中心点Oの座標(X2,Y2)および指針点Miの座標(X3,Y3)を用いることで、以下説明する角度θ1と同様に算出することができる。   Next, a method for calculating the angles θ1 and θ2 will be described with reference to FIG. FIG. 4 is an example of a flowchart showing a process for calculating the angle θ1. Although explanation of the method of calculating the angle θ2 is omitted, using the coordinates (X2, Y2) of the rotation center point O and the coordinates (X3, Y3) of the pointer point Mi, the same as the angle θ1 described below. Can be calculated.

指針値算出手段45は、X1とX2との差分(ΔX)を計算し(ステップS1)、また、Y1とY2との差分(ΔY)を計算する(ステップS2)。次に、指針値算出手段45は、算出した差分ΔX,ΔYがゼロでないか否かを判定する(ステップS3)。差分ΔXまたはΔYがゼロである場合には、指針値算出手段45は、ステップS4に処理を進めてタッチディスプレイ20にエラーを表示させて(ステップS4)、処理を終了する。一方、差分ΔXまたはΔYがゼロでない場合には、指針値算出手段45は、処理をステップS5に進める。   The pointer value calculation means 45 calculates the difference (ΔX) between X1 and X2 (step S1), and calculates the difference (ΔY) between Y1 and Y2 (step S2). Next, the pointer value calculation unit 45 determines whether or not the calculated differences ΔX and ΔY are not zero (step S3). If the difference ΔX or ΔY is zero, the pointer value calculation unit 45 advances the process to step S4 to display an error on the touch display 20 (step S4), and ends the process. On the other hand, if the difference ΔX or ΔY is not zero, the guideline value calculation unit 45 advances the process to step S5.

差分ΔXまたはΔYがゼロでない場合(ステップS3で“Yes”)には、指針値算出手段45は、タンジェントの逆関数の式「θ1=tan-1(|ΔY|/|ΔX|)」を用いて角度θ1を算出する(ステップS5)。次に、指針値算出手段45は、ステップS5で求めた角度θ1に「180/π」を掛けて、角度θ1の単位をラジアン(rad)から度(°)に変更する(ステップS6)。 If the difference ΔX or ΔY is not zero (“Yes” in step S3), the pointer value calculation unit 45 uses the equation “θ1 = tan −1 (| ΔY | / | ΔX |)” of the inverse tangent function. To calculate the angle θ1 (step S5). Next, the pointer value calculation unit 45 multiplies the angle θ1 obtained in step S5 by “180 / π” to change the unit of the angle θ1 from radians (rad) to degrees (°) (step S6).

次に、指針値算出手段45は、原点M0(X1,Y1)と回転中心点(X2,Y2)との位置関係により、ステップS6で算出した値に所定の角度を加減する(ステップS7〜ステップS12)。例えば、指針値算出手段45は、差分ΔXおよびΔYが共にプラス値の場合(ステップS7で“Yes”)には、「90」からステップS6で算出した値θ1を減算したものを新たな角度θ1とする(ステップS8)。また、指針値算出手段45は、差分ΔXがプラス値、ΔYがマイナス値の場合(ステップS9で“Yes”)には、「90」にステップS6で算出した値θ1を加算したものを新たな角度θ1とする(ステップS10)。   Next, the pointer value calculation means 45 adds or subtracts a predetermined angle to the value calculated in step S6 based on the positional relationship between the origin M0 (X1, Y1) and the rotation center point (X2, Y2) (step S7 to step S7). S12). For example, when the differences ΔX and ΔY are both positive values (“Yes” in step S7), the pointer value calculation unit 45 subtracts the value θ1 calculated in step S6 from “90” to obtain a new angle θ1. (Step S8). Further, when the difference ΔX is a positive value and ΔY is a negative value (“Yes” in step S9), the pointer value calculation unit 45 newly adds “90” to the value θ1 calculated in step S6. The angle θ1 is set (step S10).

また、指針値算出手段45は、差分ΔXおよびΔYが共にマイナス値の場合(ステップS11で“Yes”)には、「270」からステップS6で算出した値θ1を減算したものを新たな角度θ1とする(ステップS12)。また、指針値算出手段45は、ステップS7,S9,S11で何れも“No”と判定された場合(つまり、差分ΔXがマイナス値、ΔYがプラス値の場合)には、「270」にステップS6で算出した値θ1を加算したものを新たな角度θ1とする(ステップS13)。   In addition, when the differences ΔX and ΔY are both negative values (“Yes” in step S11), the pointer value calculation unit 45 obtains a new angle θ1 by subtracting the value θ1 calculated in step S6 from “270”. (Step S12). Further, the pointer value calculating means 45 steps to “270” when all of “No” is determined in steps S7, S9, and S11 (that is, when the difference ΔX is a negative value and ΔY is a positive value). A value obtained by adding the value θ1 calculated in S6 is set as a new angle θ1 (step S13).

次に、指針値算出手段45は、ステップS8,S10,S12,S13で算出した値θ1が「180」以下であるか否かを判定する(ステップ14)。「180」以下である場合(ステップS14で“Yes”)には処理をそのまま終了し、一方、「180」よりも大きい場合(ステップS14で“No”)にはステップS8,S10,S12,S13で算出した値θ1から360を減算したものを新たな角度θ1とする(ステップS15)。   Next, the pointer value calculation unit 45 determines whether or not the value θ1 calculated in steps S8, S10, S12, and S13 is “180” or less (step 14). If it is “180” or less (“Yes” in step S14), the process is terminated as it is. If it is greater than “180” (“No” in step S14), steps S8, S10, S12, S13 are performed. A value obtained by subtracting 360 from the value θ1 calculated in step S1 is set as a new angle θ1 (step S15).

≪第1実施形態に係る指針値読取装置の使用方法について≫
図5を参照して(適宜、図1ないし図4参照)、第1実施形態に係る指針値読取装置1の使用方法について説明する。図5は、第1実施形態に係る指針値読取装置1の処理の流れを示すフローチャートの例示である。図5に示す処理は、例えば、観測者によってデジタルカメラ10の電源をONされた場合に開始する。
<< About the usage method of the guideline value reading apparatus according to the first embodiment >>
With reference to FIG. 5 (refer to FIGS. 1 to 4 as appropriate), a method of using the pointer value reading device 1 according to the first embodiment will be described. FIG. 5 is an example of a flowchart showing a flow of processing of the pointer value reading device 1 according to the first embodiment. The process shown in FIG. 5 starts when the digital camera 10 is turned on by an observer, for example.

撮影補助手段41は、ガイドg(図2(a)参照)をタッチディスプレイ20に表示する(ステップS21)。観測者は、表示されるガイドgに合わせて計器2の撮影を行う。撮影された撮影画像Gは、撮影画像取得手段42によって撮影画像記憶手段31に記憶される。撮影画像Gは、試験内容を検証する場合の証拠資料となるので、このようにして撮影画像記憶手段31に記憶しておくのがよい。   The photographing assistance means 41 displays the guide g (see FIG. 2A) on the touch display 20 (step S21). The observer takes an image of the meter 2 in accordance with the displayed guide g. The captured image G is stored in the captured image storage unit 31 by the captured image acquisition unit 42. Since the photographed image G serves as evidence for verifying the test contents, it is preferable to store the photographed image G in the photographed image storage means 31 in this way.

次に、撮影画像表示手段43は、撮影画像Gをタッチディスプレイ20に拡大して表示する(ステップS22)。観測者は、タッチディスプレイ20に表示された撮影画像Gの計器2の原点M0をタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段44は、選択された原点M0の座標(X1,Y1)を取得する(ステップS23)。ここで、観測者は、例えば、操作マニュアルによってタッチする位置や順番を事前に知らされているものとする。   Next, the captured image display means 43 enlarges and displays the captured image G on the touch display 20 (step S22). The observer selects the origin M0 of the meter 2 of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 44 acquires the coordinates (X1, Y1) of the selected origin M0 (step S23). Here, it is assumed that the observer is informed in advance of the position and order of touching by an operation manual, for example.

次に、観測者は、タッチディスプレイ20に表示された撮影画像Gの指針2bの回転中心点Oをタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段44は、選択された回転中心点Oの座標(X2,Y2)を取得する(ステップS24)。続けて、観測者は、タッチディスプレイ20に表示された撮影画像Gの指針2bの指針点Miをタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段44は、選択された指針点Miの座標(X3,Y3)を取得する(ステップS25)。ここで、撮影画像表示手段43は、観測者によるデータ入力を正確なものにするために、観測者によって次にタッチされる部分を拡大して表示するようにしてもよい。また、観測者による確認作業を容易にするために、観測者によってタッチされた部分の周辺を拡大して表示するようにしてもよい。   Next, the observer selects the rotation center point O of the pointer 2b of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 44 acquires the coordinates (X2, Y2) of the selected rotation center point O (step S24). Subsequently, the observer selects the pointer point Mi of the pointer 2b of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 44 acquires the coordinates (X3, Y3) of the selected pointer point Mi (step S25). Here, the captured image display means 43 may enlarge and display the part touched next by the observer in order to make the data input by the observer accurate. Further, in order to facilitate the confirmation work by the observer, the periphery of the part touched by the observer may be enlarged and displayed.

次に、指針値算出手段45は、原点M0から回転中心点Oを通る鉛直線Kまでの角度θ1を、原点M0の座標(X1,Y1)と回転中心点Oの座標(X2,Y2)とを用いて算出する(ステップS26)。ステップS26に示す処理は、図4を参照して前記説明した通りである。続いて、指針値算出手段45は、回転中心点Oを通る鉛直線Kから指針点Miまでの角度θ2を、回転中心点Oの座標(X2,Y2)と指針点Miの座標(X3,Y3)とを用いて角度θ1の場合と同様に算出する(ステップS27)。   Next, the pointer value calculation means 45 determines the angle θ1 from the origin M0 to the vertical line K passing through the rotation center point O as the coordinates (X1, Y1) of the origin M0 and the coordinates (X2, Y2) of the rotation center point O. (Step S26). The process shown in step S26 is as described above with reference to FIG. Subsequently, the pointer value calculation means 45 determines the angle θ2 from the vertical line K passing through the rotation center point O to the pointer point Mi, the coordinates (X2, Y2) of the rotation center point O, and the coordinates (X3, Y3) of the pointer point Mi. ) And the same as in the case of the angle θ1 (step S27).

次に、指針値算出手段45は、原点M0から指針点Miまでの角度θを「θ=θ1+θ2」により算出する(ステップS28)。続いて、指針値算出手段45は、指針値を「指針値=θ×係数÷360(目盛の最大角度)」により算出する(ステップS29)。ここで、係数は、目盛Mの最大値である。そして、指針値算出手段45は、ステップS29で算出した指針値を指針値情報記憶手段33に記憶すると共に、タッチディスプレイ20に表示する(ステップS30)。   Next, the pointer value calculating means 45 calculates the angle θ from the origin M0 to the pointer point Mi by “θ = θ1 + θ2” (step S28). Subsequently, the pointer value calculating unit 45 calculates the pointer value by “pointer value = θ × coefficient ÷ 360 (maximum angle of scale)” (step S29). Here, the coefficient is the maximum value of the scale M. The pointer value calculating unit 45 stores the pointer value calculated in step S29 in the pointer value information storage unit 33 and displays it on the touch display 20 (step S30).

以上のように、第1実施形態に係る指針値読取装置1は、観測者によって選択される目盛Mの原点M0の座標(X1,Y1)、回転中心点Oの座標(X2,Y2)および指針点(X3,Y3)の座標から指針値を算出する。したがって、撮影画像の状態によらずに、目盛Mが円弧上に配置されている計器2(例えば、丸型メータ)の指針値を正確に読み取ることができる。なお、目盛Mの最大角度θmaxの範囲を「0<θmax<360°」とすることで目盛Mの原点M0と最大点Mmaxとが違う位置になる場合(例えば、目盛Mの最大角度が180°の場合)には、目盛Mの最大点Mmaxの座標をさらに取得し、原点M0〜指針点Miの角度θと原点M0〜最大点Mmaxまでの最大角度θmaxとの比率により指針値を算出してもよい。   As described above, the pointer value reading device 1 according to the first embodiment includes the coordinates (X1, Y1) of the origin M0 of the scale M selected by the observer, the coordinates (X2, Y2) of the rotation center point O, and the pointer. A pointer value is calculated from the coordinates of the point (X3, Y3). Therefore, it is possible to accurately read the pointer value of the meter 2 (for example, a round meter) in which the scale M is arranged on the arc, regardless of the state of the captured image. When the range of the maximum angle θmax of the scale M is “0 <θmax <360 °”, the origin M0 of the scale M and the maximum point Mmax are different from each other (for example, the maximum angle of the scale M is 180 °). In this case, the coordinates of the maximum point Mmax of the scale M are further acquired, and the pointer value is calculated by the ratio between the angle θ of the origin M0 to the pointer point Mi and the maximum angle θmax from the origin M0 to the maximum point Mmax. Also good.

[第2実施形態]
≪第2実施形態に係る指針値読取装置の構成について≫
図6を参照して、第2実施形態に係る指針値読取装置101の構成について説明する。以下では、本発明に関連する機能の説明を行うことにし、関連しない機能については説明を省略する。指針値読取装置101は、指針を有するアナログ式の計器3の指針値をデジタル値として読み取るものである。ここでの指針値読取装置101は、第1実施形態と同様に持ち運び可能な板状のタブレット端末を想定している。指針値読取装置101は、デジタルカメラ10と、タッチディスプレイ20と、記憶手段30と、制御手段140とを備えて構成されている。
[Second Embodiment]
≪About the configuration of the guideline value reading apparatus according to the second embodiment≫
With reference to FIG. 6, the structure of the pointer value reading apparatus 101 according to the second embodiment will be described. In the following, functions related to the present invention will be described, and descriptions of functions not related will be omitted. The pointer value reading device 101 reads the pointer value of the analog type instrument 3 having the pointer as a digital value. Here, the pointer value reading device 101 is assumed to be a portable tablet terminal similar to the first embodiment. The pointer value reading device 101 includes a digital camera 10, a touch display 20, a storage unit 30, and a control unit 140.

第2実施形態では、デジタルカメラ10の撮影対象である計器3として、据え置き型の標尺を想定している。計器3は、直線上に目盛Mが付された目盛板3aと、目盛板3aの左側に上下動自在に設置された指針3bとを備えている。指針3bの先端は、目盛M上の任意の位置を指し示す。   In the second embodiment, a stationary type staff is assumed as the meter 3 that is a subject to be photographed by the digital camera 10. The meter 3 includes a scale plate 3a with a scale M on a straight line, and a pointer 3b installed on the left side of the scale plate 3a so as to freely move up and down. The tip of the pointer 3b points to an arbitrary position on the scale M.

制御手段140は、CPUによるプログラム実行処理や、専用回路等により実現される。制御手段140がプログラム実行処理により実現する場合、記憶手段30には、制御手段140の機能を実現するためのプログラムが格納される。制御手段140は、撮影補助手段141と、撮影画像取得手段42と、撮影画像表示手段43と、位置情報取得手段144と、指針値算出手段145とからなる。以下、第1実施形態と異なる機能の内容を説明する。   The control unit 140 is realized by a program execution process by a CPU, a dedicated circuit, or the like. When the control unit 140 is realized by a program execution process, the storage unit 30 stores a program for realizing the function of the control unit 140. The control unit 140 includes a photographing assist unit 141, a photographed image acquisition unit 42, a photographed image display unit 43, a position information acquisition unit 144, and a pointer value calculation unit 145. Hereinafter, the contents of functions different from those of the first embodiment will be described.

撮影補助手段141は、観測者による計器3の撮影を補助する。撮影補助手段141は、デジタルカメラ10から撮影画像Gnを取得し、取得した撮影画像Gnに計器3の撮影を補助するガイドgを重ねた撮影画像G(n+g)をタッチディスプレイ20に表示させる。ガイドgは、計器3を傾きなく正面から撮影を行えるようにするためのものであればよい。本実施形態では、図7(a)に示すように、撮影補助手段141は、タッチディスプレイ20の中央部分に矩形状のガイドgを表示させる。なお、撮影補助手段141は、計器3の底部や上部の位置を示すガイド(図示せず)等を表示させるものでもよい。   The imaging assistance unit 141 assists the imaging of the instrument 3 by the observer. The imaging assistance unit 141 acquires the captured image Gn from the digital camera 10 and causes the touch display 20 to display the captured image G (n + g) in which the acquired captured image Gn is overlapped with a guide g that assists the capturing of the instrument 3. The guide g may be any as long as the instrument 3 can be photographed from the front without tilting. In the present embodiment, as illustrated in FIG. 7A, the photographing assisting unit 141 displays a rectangular guide g on the center portion of the touch display 20. Note that the photographing assistance unit 141 may display a guide (not shown) indicating the position of the bottom or top of the meter 3 or the like.

位置情報取得手段144は、観測者のタッチ操作によって指示された点の位置情報(座標)を取得する。タッチディスプレイ20には、図7(b)に示すように、撮影画像表示手段43によって計器3の撮影画像Gが表示されている。観測者は、撮影画像Gとして映し出された計器3の原点M0、計器3の最大点Mmaxおよび指針3bの指針点Miの合計3点を順番に選択する。タッチディスプレイ20の選択されたところには印が表示される。ここで、観測者は、撮影画像Gを選択する位置や順番を操作マニュアルなどにより事前に知らされているものとする。位置情報取得手段144は、観測者よって選択された計器3の原点M0の座標(X1,Y1)、計器3の最大点Mmaxの座標(X2,Y2)、指針3bの指針点Miの座標(X3,Y3)をタッチディスプレイ20から取得し、取得した3点の座標を指針値算出手段145に出力する。   The position information acquisition unit 144 acquires position information (coordinates) of a point designated by the observer's touch operation. On the touch display 20, as shown in FIG. 7B, the captured image G of the instrument 3 is displayed by the captured image display means 43. The observer sequentially selects a total of three points including the origin M0 of the meter 3, the maximum point Mmax of the meter 3, and the pointer point Mi of the pointer 3b displayed as the captured image G. A mark is displayed at a selected place on the touch display 20. Here, it is assumed that the observer is informed beforehand of the position and order of selecting the captured image G by an operation manual or the like. The position information acquisition means 144 is the coordinates (X1, Y1) of the origin M0 of the meter 3 selected by the observer, the coordinates (X2, Y2) of the maximum point Mmax of the meter 3, and the coordinates (X3) of the pointer point Mi of the pointer 3b. , Y3) is acquired from the touch display 20, and the acquired three coordinates are output to the pointer value calculation means 145.

指針値算出手段145は、観測者のタッチ操作により選択された位置情報から計器3の指針値を算出する。指針値算出手段145には、位置情報取得手段144から出力された3点の座標(X1,Y1)、座標(X2,Y2)、座標(X3,Y3)が入力される。また、指針値算出手段145は、目盛情報記憶手段32から目盛Mの最大値を取得する。指針値算出手段145は、原点M0の座標(X1,Y1)から最大点Mmaxの座標(X2,Y2)までの最大距離Hmax(図8参照)および原点M0の座標(X1,Y1)から指針点Miの座標(X3,Y3)までの距離H(図8参照)を算出し、その比率「H/Hmax」および目盛Mの最大値から指針値を算出する。指針値算出手段145は、算出した指針値を指針値情報記憶手段33に記憶させると共に、指針値をタッチディスプレイ20に表示する。   The pointer value calculation means 145 calculates the pointer value of the meter 3 from the position information selected by the observer's touch operation. The pointer value calculation means 145 receives the coordinates (X1, Y1), coordinates (X2, Y2), and coordinates (X3, Y3) of the three points output from the position information acquisition means 144. In addition, the pointer value calculating unit 145 acquires the maximum value of the scale M from the scale information storage unit 32. The pointer value calculation means 145 calculates the pointer point from the maximum distance Hmax (see FIG. 8) from the coordinates (X1, Y1) of the origin M0 to the coordinates (X2, Y2) of the maximum point Mmax and the coordinates (X1, Y1) of the origin M0. A distance H (see FIG. 8) to the coordinates (X3, Y3) of Mi is calculated, and a pointer value is calculated from the ratio “H / Hmax” and the maximum value of the scale M. The pointer value calculating unit 145 stores the calculated pointer value in the pointer value information storage unit 33 and displays the pointer value on the touch display 20.

≪第2実施形態に係る指針値読取装置の使用方法について≫
図9を参照して(適宜、図6ないし図8参照)、第2実施形態に係る指針値読取装置101の使用方法について説明する。図9は、第2実施形態に係る指針値読取装置101の処理の流れを示すフローチャートの例示である。図9に示す処理は、例えば、観測者によってデジタルカメラ10の電源をONされた場合に開始する。
<< About the usage method of the guideline value reading apparatus according to the second embodiment >>
With reference to FIG. 9 (refer to FIGS. 6 to 8 as appropriate), a method of using the pointer value reading device 101 according to the second embodiment will be described. FIG. 9 is an example of a flowchart showing a flow of processing of the pointer value reading apparatus 101 according to the second embodiment. The process shown in FIG. 9 is started when the digital camera 10 is turned on by an observer, for example.

撮影補助手段141は、ガイドgをタッチディスプレイ20に表示する(ステップS41)。観測者は、表示されるガイドgに合わせて計器3の撮影を行う。撮影された撮影画像Gは、撮影画像取得手段42によって撮影画像記憶手段31に記憶される。撮影画像Gは、試験内容を検証する場合の証拠資料となるので、このようにして撮影画像記憶手段31に記憶しておくのがよい。   The imaging assistance unit 141 displays the guide g on the touch display 20 (step S41). The observer takes an image of the instrument 3 in accordance with the displayed guide g. The captured image G is stored in the captured image storage unit 31 by the captured image acquisition unit 42. Since the photographed image G serves as evidence for verifying the test contents, it is preferable to store the photographed image G in the photographed image storage means 31 in this way.

次に、撮影画像表示手段43は、撮影画像Gをタッチディスプレイ20に拡大して表示する(ステップS42)。観測者は、タッチディスプレイ20に表示された撮影画像Gの計器3の原点M0をタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段144は、選択された原点M0の座標(X1,Y1)を取得する(ステップS43)。ここで、観測者は、例えば、操作マニュアルによってタッチする位置や順番を事前に知らされているものとする。   Next, the captured image display means 43 enlarges and displays the captured image G on the touch display 20 (step S42). The observer selects the origin M0 of the meter 3 of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 144 acquires the coordinates (X1, Y1) of the selected origin M0 (step S43). Here, it is assumed that the observer is informed in advance of the position and order of touching by an operation manual, for example.

次に、観測者は、タッチディスプレイ20に表示された撮影画像Gの計器3の最大点Mmaxをタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段144は、選択された最大点Mmaxの座標(X2,Y2)を取得する(ステップS44)。続けて、観測者は、タッチディスプレイ20に表示された撮影画像Gの指針3bの指針点Miをタッチ操作により選択する。タッチディスプレイ20に対してタッチ操作がなされると、位置情報取得手段144は、選択された指針点Miの座標(X3,Y3)を取得する(ステップS45)。ここで、撮影画像表示手段43は、観測者によるデータ入力を正確なものにするために、観測者によって次にタッチされる部分を拡大して表示するようにしてもよい。また、観測者による確認作業を容易にするために、観測者によってタッチされた部分の周辺を拡大して表示するようにしてもよい。   Next, the observer selects the maximum point Mmax of the meter 3 of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 144 acquires the coordinates (X2, Y2) of the selected maximum point Mmax (step S44). Subsequently, the observer selects the pointer point Mi of the pointer 3b of the captured image G displayed on the touch display 20 by a touch operation. When a touch operation is performed on the touch display 20, the position information acquisition unit 144 acquires the coordinates (X3, Y3) of the selected pointer point Mi (step S45). Here, the captured image display means 43 may enlarge and display the part touched next by the observer in order to make the data input by the observer accurate. Further, in order to facilitate the confirmation work by the observer, the periphery of the part touched by the observer may be enlarged and displayed.

次に、指針値算出手段145は、指針値を「指針値=(Y3−Y2)×係数÷(Y1−Y2)」により算出する(ステップS46)。ここで、係数は、目盛Mの最大値である。そして、指針値算出手段145は、ステップS26で算出した指針値を指針値情報記憶手段33に記憶すると共に、タッチディスプレイ20に表示する(ステップS47)。   Next, the guideline value calculation means 145 calculates the guideline value by “guideline value = (Y3−Y2) × coefficient ÷ (Y1−Y2)” (step S46). Here, the coefficient is the maximum value of the scale M. The pointer value calculation unit 145 stores the pointer value calculated in step S26 in the pointer value information storage unit 33 and displays it on the touch display 20 (step S47).

以上のように、第2実施形態に係る指針値読取装置101は、観測者によって選択される計器3の原点M0の座標(X1,Y1)、最大点Mmaxの座標(X2,Y2)および指針点(X3,Y3)の座標から指針値を算出する。したがって、撮影画像の状態によらずに、目盛Mが直線上に配置されている計器(例えば、標尺)の指針値を正確に読み取ることができる。   As described above, the pointer value reading device 101 according to the second embodiment includes the coordinates (X1, Y1) of the origin M0, the coordinates (X2, Y2) of the maximum point Mmax, and the pointer point of the meter 3 selected by the observer. A pointer value is calculated from the coordinates of (X3, Y3). Therefore, it is possible to accurately read the pointer value of an instrument (for example, a scale) in which the scale M is arranged on a straight line, regardless of the state of the captured image.

[変形例]
以上、本発明の実施形態について説明したが、本発明はこれに限定されるものではなく、特許請求の範囲の趣旨を変えない範囲で実施することができる。実施形態の変形例を以下に示す。
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to this, It can implement in the range which does not change the meaning of a claim. The modification of embodiment is shown below.

第1実施形態の指針値読取装置1は、タブレット端末を想定しデジタルカメラ10を有していた。しかしながら、指針値読取装置1の構成はこれに限定されず、デジタルカメラ10を有しない装置(例えば、据え置き型のPC(Personal Computer))であってもよい。その場合、指針値読取装置1は、撮影補助手段41および撮影画像取得手段42を備えていなくてもよく、撮影画像Gを他の装置から通信により取得すればよい。第2実施形態についても同様である。   The pointer value reading device 1 of the first embodiment has a digital camera 10 assuming a tablet terminal. However, the configuration of the pointer value reading device 1 is not limited to this, and may be a device that does not include the digital camera 10 (for example, a stationary PC (Personal Computer)). In that case, the pointer value reading device 1 does not need to include the photographing auxiliary means 41 and the photographed image acquisition means 42, and it is sufficient to obtain the photographed image G from another device by communication. The same applies to the second embodiment.

1,101 指針値読取装置
2,3 計器
10 デジタルカメラ(撮影手段)
20 タッチディスプレイ(入力手段、表示手段)
30 記憶手段
31 撮影画像記憶手段
32 目盛情報記憶手段
33 指針値情報記憶手段
40 制御手段
41,141 撮影補助手段
42 撮影画像取得手段
43 撮影画像表示手段
44,144 位置情報取得手段
45,145 指針値算出手段
M 目盛
g ガイド
G 撮影画像
1,101 Pointer value reading device 2,3 Instrument 10 Digital camera (photographing means)
20 Touch display (input means, display means)
Reference Signs List 30 storage means 31 photographed image storage means 32 scale information storage means 33 pointer value information storage means 40 control means 41, 141 photographing auxiliary means 42 photographed image acquisition means 43 photographed image display means 44, 144 position information acquisition means 45, 145 pointer value Calculation means M Scale g Guide G Photographed image

Claims (4)

撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取装置であって、
二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、
前記表示手段に表示された前記計器の目盛の原点位置、最大点位置、前記指針の回転中心点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、
前記回転中心点位置の座標を中心とした前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の回転角度と前記回転中心点位置の座標を中心とした前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の回転角度との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段と、
を備えることを特徴とする指針値読取装置。
A pointer value reading device that reads a pointer value indicated by a pointer of the meter from a captured image of the meter photographed by the photographing means,
A captured image display means for displaying the captured image on a display means in which two-dimensional coordinates are set;
Position information acquisition means for acquiring an origin position, a maximum point position of the scale displayed on the display means, a rotation center point position of the pointer, and a pointer point position indicated by the pointer based on a user's selection operation; ,
A virtual first rotation angle of the pointer from a coordinate of the origin position to a coordinate of the maximum point position centered on the coordinates of the rotation center point position and the origin centered on the coordinates of the rotation center point position A ratio of the second rotation angle of the pointer from the coordinate of the position to the coordinate of the pointer point position, and a pointer value calculating means for calculating the pointer value from the maximum value of the scale acquired from the storage means;
A pointer value reading device comprising:
撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取装置であって、
二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、
前記表示手段に表示された前記計器の目盛の原点位置、最大点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、
前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の移動距離と前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の移動距離との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段と、
を備えることを特徴とする指針値読取装置。
A pointer value reading device that reads a pointer value indicated by a pointer of the meter from a captured image of the meter photographed by the photographing means,
A captured image display means for displaying the captured image on a display means in which two-dimensional coordinates are set;
Position information acquisition means for acquiring the origin position of the scale of the instrument displayed on the display means, the maximum point position, and the pointer point position indicated by the pointer based on a user's selection operation;
A virtual first movement distance of the pointer from the coordinates of the origin position to the coordinates of the maximum point position and a second movement distance of the pointer from the coordinates of the origin position to the coordinates of the pointer point position A guideline value calculation means for calculating the guideline value from the ratio and the maximum value of the scale acquired from the storage means;
A pointer value reading device comprising:
撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取プログラムであって、
コンピュータを、
二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、
前記表示手段に表示された前記計器の目盛の原点位置、最大点位置、前記指針の回転中心点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、
前記回転中心点位置の座標を中心とした前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の回転角度と前記回転中心点位置の座標を中心とした前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の回転角度との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段として機能させるための指針値読取プログラム。
A pointer value reading program for reading a pointer value indicated by a pointer of the instrument from a photographed image of the instrument photographed by the photographing means,
Computer
A captured image display means for displaying the captured image on a display means in which two-dimensional coordinates are set;
Position information acquisition means for acquiring an origin position, a maximum point position of the scale displayed on the display means, a rotation center point position of the pointer, and a pointer point position indicated by the pointer based on a user's selection operation; ,
A virtual first rotation angle of the pointer from a coordinate of the origin position to a coordinate of the maximum point position centered on the coordinates of the rotation center point position and the origin centered on the coordinates of the rotation center point position A ratio of the second rotation angle of the pointer from the coordinate of the position to the coordinate of the pointer point position and the maximum value of the scale acquired from the storage unit, and the pointer value calculating unit for calculating the pointer value Guideline value reading program.
撮影手段によって撮影された計器の撮影画像から当該計器の指針が示す指針値を読み取る指針値読取プログラムであって、
コンピュータを、
二次元座標が設定されている表示手段に前記撮影画像を表示する撮影画像表示手段と、
前記表示手段に表示された前記計器の目盛の原点位置、最大点位置および前記指針が示す指針点位置を、ユーザの選択操作に基づいて取得する位置情報取得手段と、
前記原点位置の座標から前記最大点位置の座標までの前記指針の仮想的な第1の移動距離と前記原点位置の座標から前記指針点位置の座標までの前記指針の第2の移動距離との比率、および記憶手段から取得する目盛の最大値から前記指針値を算出する指針値算出手段として機能させるための指針値読取プログラム。
A pointer value reading program for reading a pointer value indicated by a pointer of the instrument from a photographed image of the instrument photographed by the photographing means,
Computer
A captured image display means for displaying the captured image on a display means in which two-dimensional coordinates are set;
Position information acquisition means for acquiring the origin position of the scale of the instrument displayed on the display means, the maximum point position, and the pointer point position indicated by the pointer based on a user's selection operation;
A virtual first movement distance of the pointer from the coordinates of the origin position to the coordinates of the maximum point position and a second movement distance of the pointer from the coordinates of the origin position to the coordinates of the pointer point position A pointer value reading program for functioning as a pointer value calculating means for calculating the pointer value from the ratio and the maximum value of the scale acquired from the storage means.
JP2015098226A 2015-05-13 2015-05-13 Pointer value reader and pointer value reading program Active JP6527386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015098226A JP6527386B2 (en) 2015-05-13 2015-05-13 Pointer value reader and pointer value reading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015098226A JP6527386B2 (en) 2015-05-13 2015-05-13 Pointer value reader and pointer value reading program

Publications (2)

Publication Number Publication Date
JP2016212044A true JP2016212044A (en) 2016-12-15
JP6527386B2 JP6527386B2 (en) 2019-06-05

Family

ID=57550893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015098226A Active JP6527386B2 (en) 2015-05-13 2015-05-13 Pointer value reader and pointer value reading program

Country Status (1)

Country Link
JP (1) JP6527386B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204238A (en) * 2018-05-22 2019-11-28 富士通コンポーネント株式会社 Instrument reading device and instrument reading method
CN111325164A (en) * 2020-02-25 2020-06-23 北京眸视科技有限公司 Pointer indication number identification method and device and electronic equipment
EP3719650A1 (en) 2019-03-15 2020-10-07 Yazaki Corporation Vehicle communication system
JP2020181464A (en) * 2019-04-26 2020-11-05 Gmoクラウド株式会社 Meter reading system, meter reading method, and program
JP2021109173A (en) * 2020-01-10 2021-08-02 株式会社大気社 Quality management system, quality management method, and quality management program
JP2022058266A (en) * 2020-09-30 2022-04-11 デンカ アドバンテック プライベート リミテッド Measuring instrument reader and automatic control system
JP2023010338A (en) * 2021-07-09 2023-01-20 株式会社東芝 Information processing apparatus and computer program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279699A (en) * 1988-09-16 1990-03-20 Hitachi Ltd Remote measuring instrument
JP2003223693A (en) * 2002-01-30 2003-08-08 Kyushu Electric Power Co Inc Instrument indication reader
JP2005267365A (en) * 2004-03-19 2005-09-29 Ntt Power & Building Facilities Inc Method for reading pointer value of pointer rotary meter, device for reading pointer value of pointer rotary meter and program for reading meter pointer value
JP2006084418A (en) * 2004-09-17 2006-03-30 Kurita Water Ind Ltd Automatic reading apparatus for measuring instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279699A (en) * 1988-09-16 1990-03-20 Hitachi Ltd Remote measuring instrument
JP2003223693A (en) * 2002-01-30 2003-08-08 Kyushu Electric Power Co Inc Instrument indication reader
JP2005267365A (en) * 2004-03-19 2005-09-29 Ntt Power & Building Facilities Inc Method for reading pointer value of pointer rotary meter, device for reading pointer value of pointer rotary meter and program for reading meter pointer value
JP2006084418A (en) * 2004-09-17 2006-03-30 Kurita Water Ind Ltd Automatic reading apparatus for measuring instrument

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204238A (en) * 2018-05-22 2019-11-28 富士通コンポーネント株式会社 Instrument reading device and instrument reading method
EP3719650A1 (en) 2019-03-15 2020-10-07 Yazaki Corporation Vehicle communication system
JP2020181464A (en) * 2019-04-26 2020-11-05 Gmoクラウド株式会社 Meter reading system, meter reading method, and program
JP2021109173A (en) * 2020-01-10 2021-08-02 株式会社大気社 Quality management system, quality management method, and quality management program
JP7217256B2 (en) 2020-01-10 2023-02-02 株式会社大気社 Quality control system, quality control method and quality control program
CN111325164A (en) * 2020-02-25 2020-06-23 北京眸视科技有限公司 Pointer indication number identification method and device and electronic equipment
CN111325164B (en) * 2020-02-25 2023-11-21 北京眸视科技有限公司 Pointer representation number identification method and device and electronic equipment
JP2022058266A (en) * 2020-09-30 2022-04-11 デンカ アドバンテック プライベート リミテッド Measuring instrument reader and automatic control system
JP2023010338A (en) * 2021-07-09 2023-01-20 株式会社東芝 Information processing apparatus and computer program

Also Published As

Publication number Publication date
JP6527386B2 (en) 2019-06-05

Similar Documents

Publication Publication Date Title
JP6527386B2 (en) Pointer value reader and pointer value reading program
JP6412474B2 (en) Crack width measurement system
AU2012352520B2 (en) Multiple-angle imagery of physical objects
US10277889B2 (en) Method and system for depth estimation based upon object magnification
EP2189835A1 (en) Terminal apparatus, display control method, and display control program
TW201743602A (en) Image processing device, image processing method, non-transitory computer readable recording medium and photographing assist equipment
CN1630304A (en) Gradient displaying method of mobile terminal
US9683833B2 (en) Surveying apparatus having a range camera
JP2013228267A (en) Display device, display method, and program
JP2011022112A (en) System, apparatus and method of displaying point of interest
WO2012092167A1 (en) Mobile postural screening method and system
JP6332568B2 (en) Information processing apparatus, control method, and program
JP5016443B2 (en) Camera installation simulator program
JP2016085102A (en) Surveying instrument and program
KR101571096B1 (en) User Adaptive Interface Providing System and Method
JP2009217115A (en) Camera picture simulator program
US11489998B2 (en) Image capturing apparatus and method of controlling image capturing apparatus
JP6817527B1 (en) Information processing equipment, programs and information processing systems
US10469673B2 (en) Terminal device, and non-transitory computer readable medium storing program for terminal device
JP4513580B2 (en) Image processing program and digital camera
JP2013250477A (en) Computer device and program
JP2013257830A (en) Information processor
JP2017090422A (en) Measuring apparatus
TWI516744B (en) Distance estimation system, method and computer readable media
JP2016015549A (en) Information processing device, information processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190510

R150 Certificate of patent or registration of utility model

Ref document number: 6527386

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150