Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7387346B2 - Image processing device, its control method, program - Google Patents
[go: Go Back, main page]

JP7387346B2 - Image processing device, its control method, program - Google Patents

Image processing device, its control method, program Download PDF

Info

Publication number
JP7387346B2
JP7387346B2 JP2019166873A JP2019166873A JP7387346B2 JP 7387346 B2 JP7387346 B2 JP 7387346B2 JP 2019166873 A JP2019166873 A JP 2019166873A JP 2019166873 A JP2019166873 A JP 2019166873A JP 7387346 B2 JP7387346 B2 JP 7387346B2
Authority
JP
Japan
Prior art keywords
decimal point
detection
digit
numerical value
image processing
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
Application number
JP2019166873A
Other languages
Japanese (ja)
Other versions
JP2021043836A (en
Inventor
千明 三河
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019166873A priority Critical patent/JP7387346B2/en
Publication of JP2021043836A publication Critical patent/JP2021043836A/en
Application granted granted Critical
Publication of JP7387346B2 publication Critical patent/JP7387346B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

本発明は、表示装置に表示された数値を読取るための技術に関する。 The present invention relates to a technique for reading numerical values displayed on a display device.

複数セグメントを用いて文字や数字を表現する表示器に表示された数字を認識するための各種技術が知られている。特に、昔から使われている古い機器の測定値などをデジタル化するために、セグメント表示された文字や数字を撮像し、撮像された画像に含まれる文字や数字を認識技術を用いて認識することが考えられている。このような認識を行うための技術として、特許文献1には、横線およびまたは縦線から対象領域を抽出して、その対象領域を含むように数字表示領域を切り出す画像処理装置が開示されている。 Various techniques are known for recognizing numbers displayed on a display device that expresses letters and numbers using multiple segments. In particular, in order to digitize measurements of old equipment that has been used for a long time, characters and numbers displayed in segments are imaged, and the characters and numbers contained in the captured image are recognized using recognition technology. That is what is being considered. As a technique for performing such recognition, Patent Document 1 discloses an image processing device that extracts a target area from horizontal lines and/or vertical lines and cuts out a number display area to include the target area. .

特開2017-010170号公報Japanese Patent Application Publication No. 2017-010170

しかしながら、特許文献1に記載の技術では、小数点つきの複数セグメント数字の表示器から数値を読み取る際に、複数セグメント文字の1文字を内包する矩形毎に読み取るため、小数点が含まれていても小数点を正しく検出できないことがあった。 However, with the technology described in Patent Document 1, when reading a numerical value from a multi-segment number display with a decimal point, it is read for each rectangle that includes one character of the multi-segment characters, so even if the decimal point is included, the decimal point is not read. There were times when it could not be detected correctly.

本発明に係る画像処理装置は、表示器に点灯した複数セグメントの組み合わせで示された数値を検出する画像処理装置であって、前記表示器を撮像した画像を取得する取得手段と、取得手段により得た画像における検出範囲を特定する特定手段と、前記検出範囲を桁毎の領域に分割する分割手段と、前記桁毎の領域ごとに、点灯状態から数値を検出する数値検出手段と、前記検出範囲のうち、複数の前記桁毎の領域に跨る領域を対象として点灯状態から小数点を検出する小数点検出手段と、前記小数点検出手段により検出された小数点の位置と、前記桁毎の領域との位置関係とに基づき、前記数値全体における前記小数点の位置を決定する決定手段と、を有する。 An image processing device according to the present invention is an image processing device that detects a numerical value indicated by a combination of a plurality of segments lit on a display, and includes an acquisition means for acquiring an image of the display, and an acquisition means for acquiring an image of the display. a specifying means for specifying a detection range in the obtained image; a dividing means for dividing the detection range into regions for each digit; a numerical value detection means for detecting a numerical value from a lighting state for each region for each digit; A decimal point detection means for detecting a decimal point from a lighting state in an area spanning a plurality of the areas for each digit within the range, and a position of the decimal point detected by the decimal point detection means and a position of the area for each digit. determining means for determining the position of the decimal point in the entire numerical value based on the relationship .

本発明によれば、表示の検出精度を向上させることができる。 According to the present invention, display detection accuracy can be improved.

本発明の一実施形態に係るシステムの全体構成図Overall configuration diagram of a system according to an embodiment of the present invention 本発明の一実施形態に係る画像処理装置のユーザーインターフェイスの一例An example of a user interface of an image processing device according to an embodiment of the present invention 本発明の一実施形態に係る画像処理装置のユーザーインターフェイスの一例An example of a user interface of an image processing device according to an embodiment of the present invention 本発明の一実施形態に係る小数点つきの複数セグメント数字の表示器から数値を読み取る工程を示すフローチャート図Flowchart diagram illustrating the process of reading a numeric value from a multi-segment numeric display with decimal point according to an embodiment of the present invention. 本発明の一実施形態に係る7セグの一桁を示す図A diagram showing one digit of 7 segments according to an embodiment of the present invention 本発明の一実施形態に係るセグメントの点灯と消灯の検出結果と対応する出力値を示すテーブルの概念図Conceptual diagram of a table showing detection results of lighting and turning off of segments and corresponding output values according to an embodiment of the present invention 本発明の一実施形態に係る小数点読み取り範囲を示す図A diagram showing a decimal point reading range according to an embodiment of the present invention 本発明の一実施形態に係る小数点の位置および小数点以下の桁数を算出する工程を示すフローチャート図A flowchart diagram showing a process of calculating the position of the decimal point and the number of digits after the decimal point according to an embodiment of the present invention. 本発明の一実施形態に係る画像処理装置において運転時の複数セグメント数字の表示器から数値を読み取る工程を示すフローチャート図A flowchart diagram showing a process of reading numerical values from a multi-segment numerical display during operation in an image processing apparatus according to an embodiment of the present invention.

<第1の実施形態>
本実施形態において小数点つきの複数セグメント数字の表示器から数値を読み取る画像処理装置について説明する。複数セグメントの表示器は、色々な種類があるが、本実施形態では、7つのセグメントの点灯状態で数値を表示する表示器を読み取り対象とする。
<First embodiment>
In this embodiment, an image processing apparatus that reads numerical values from a multi-segment numerical display with a decimal point will be described. There are various types of multi-segment display devices, but in this embodiment, a display device that displays numerical values with seven segments lit is used as a reading target.

なお、本実施形態において、画像処理対象とする画像は非圧縮もしくは解凍済みのグレースケールの8bit深度の画像であるものとする。画像上の座標の原点は左上に存在するものとし、X座標は右方向に行くほど増加し、Y座標は下方向に行くほど増加するものとする。角度は、画像の中心からY座標が同一値でX座標のプラス方向に直線を引いた角度が0度であるものとし、X座標が同一値で、Y座標のマイナス方向に直線を引いた角度が90度。Y座標が同一値で、X座標のマイナス方向に直線を引いた角度が180度。X座標が同一値で、Y座標のプラス方向に直線を引いた角度が270度、であるものとする。以降、7つのセグメントの点灯状態で数値を表示したものを、7セグと記す。また、本発明の一実施形態に係る画像処理装置において、7セグ表示器からの数値読取りを実現するためには、設定モードと運転モードと2つのモードがあるものとする。設定モードでは、7セグ表示器の数値の読取りを実現するための各種設定を行う。運転モードでは、所定の間隔で撮影を行い、設定モードで設定された情報に基づいて、7セグ表示器の撮影された画像データから数値を読み取る。 In this embodiment, it is assumed that the image to be subjected to image processing is an uncompressed or decompressed grayscale 8-bit depth image. It is assumed that the origin of the coordinates on the image exists at the upper left, the X coordinate increases as it goes to the right, and the Y coordinate increases as it goes downward. The angle is assumed to be 0 degrees when a straight line is drawn from the center of the image in the positive direction of the X coordinate with the same Y coordinate value, and the angle when a straight line is drawn in the negative direction of the Y coordinate with the same X coordinate value. is 90 degrees. The Y coordinate is the same value, and the angle of a straight line drawn in the negative direction of the X coordinate is 180 degrees. Assume that the X coordinates have the same value and the angle of a straight line drawn in the positive direction of the Y coordinate is 270 degrees. Hereinafter, the display of numerical values in the lighting state of seven segments will be referred to as 7 segments. Further, in the image processing apparatus according to an embodiment of the present invention, there are two modes, a setting mode and an operation mode, in order to realize numerical reading from a 7-segment display. In the setting mode, various settings are made to read numerical values on the 7-segment display. In the driving mode, images are taken at predetermined intervals, and numerical values are read from the image data taken on the 7-segment display based on the information set in the setting mode.

[システム構成]
図1は、本発明の一実施形態に係る画像処理装置100を含む全体構成図である。
[System configuration]
FIG. 1 is an overall configuration diagram including an image processing apparatus 100 according to an embodiment of the present invention.

図1において、100は画像処理装置として動作するコンピュータである。コンピュータにおいて所定の制御プログラムを実行することにより以下に説明する画像処理を行い、画像処理装置として機能する。 In FIG. 1, 100 is a computer that operates as an image processing device. By executing a predetermined control program in a computer, the computer performs the image processing described below and functions as an image processing device.

101は画像処理装置100全体の制御を司るCPUであり、各部からの信号や各種プログラムに基づき、表示制御、記録制御、入出力制御、各種画像処理などを行う。なお、CPUは必ずしも1つのハードウェアで構成されている必要はなく、GPUなどを組み合わせた複数のハードウェアが協働して1つの手段として機能してもよい。また、1つのハードウェアが異なる処理を制御することで複数の手段を兼ねてもよい。 A CPU 101 controls the entire image processing apparatus 100, and performs display control, recording control, input/output control, various image processing, etc. based on signals from various parts and various programs. Note that the CPU does not necessarily need to be composed of one piece of hardware, and a plurality of pieces of hardware such as a GPU may work together to function as one unit. Further, one piece of hardware may serve as a plurality of means by controlling different processes.

102はCPU101の動作処理手順(例えばコンピュータの立ち上げ処理や基本入出力処理等のプログラム)を記憶しているROMである。 Reference numeral 102 denotes a ROM that stores operational processing procedures for the CPU 101 (for example, programs for computer startup processing, basic input/output processing, etc.).

103はRAMであり、CPU101のメインメモリとして機能する。RAM103には後述の処理を実現するための制御プログラムを含む各種プログラムがハードディスクドライブ105等からロードされCPU101によって実行される。また、RAM103はCPU101が各種処理を実行する際のワークエリアを提供する。 103 is a RAM, which functions as the main memory of the CPU 101. Various programs including control programs for realizing the processes described below are loaded into the RAM 103 from the hard disk drive 105 and the like, and are executed by the CPU 101. Further, the RAM 103 provides a work area when the CPU 101 executes various processes.

104はディスプレイでありCPU101の制御下で各種表示を行う。 A display 104 performs various displays under the control of the CPU 101.

105はハードディスクドライブ(以下、HDD)を示し、アプリケーションプログラムやデータ、ライブラリなどの保存及び読み込み用に用いられる。 A hard disk drive (hereinafter referred to as HDD) 105 is used for storing and reading application programs, data, libraries, and the like.

106はポインティングデバイスやキーボード等の入力装置である。 106 is an input device such as a pointing device or a keyboard.

107は記憶媒体装着ユニット(メディアドライブ)であり、着脱可能な記憶媒体を装着し、デジタルスチルカメラで撮影され記憶されたデータを読み出すことを可能とする。 A storage medium mounting unit (media drive) 107 allows a removable storage medium to be mounted and data captured and stored with a digital still camera to be read out.

108はネットワークインターフェイスであり、通信回線110を介してコンピュータネットワーク111と接続される。このネットワークインターフェイス108により通信可能な機器からデータを送受信する。本実施形態においては、このネットワークインターフェイスを介して撮像装置112と接続し、CPU101が撮像装置112へ撮影指示を行い、撮像装置112から撮影した画像を取得し、HDD105へ記録する。 A network interface 108 is connected to a computer network 111 via a communication line 110. This network interface 108 transmits and receives data from communicable devices. In this embodiment, the CPU 101 connects to the imaging device 112 via this network interface, issues a shooting instruction to the imaging device 112, acquires a shot image from the imaging device 112, and records it on the HDD 105.

109は上述した各ユニット間を接続するシステムバス(アドレスバス、データバスおよび制御バスからなる)である。 Reference numeral 109 denotes a system bus (consisting of an address bus, a data bus, and a control bus) that connects the units described above.

112は撮像装置として動作するデジタルカメラである。通信回路113を介してコンピュータネットワーク111と接続される。 112 is a digital camera that operates as an imaging device. It is connected to the computer network 111 via a communication circuit 113.

114は計測対象となるセグメント表示器である。本実施形態においては、温度、圧力、回転数、距離などの物理量を7セグの数字として表示する表示器であるものとする。デジタルカメラ112は、表示器114を定期的に撮影し、グレースケールの画像データを生成する。そして、コンピュータネットワーク111を介して画像処理装置100へ転送する。 114 is a segment display device to be measured. In this embodiment, it is assumed that the display device displays physical quantities such as temperature, pressure, rotation speed, and distance as 7-segment numbers. The digital camera 112 periodically photographs the display 114 and generates grayscale image data. Then, it is transferred to the image processing apparatus 100 via the computer network 111.

本実施形態の画像処理装置において、処理対象とする画像データは、HDD105に保存されているものとする。 In the image processing apparatus of this embodiment, it is assumed that image data to be processed is stored in the HDD 105.

図2および図3は、本発明の一実施形態に係る画像処理装置のユーザーインターフェイスの一例である。図2、図3は、共に、設定モードにおけるユーザーインターフェイスである。図2および図3を用いて、ユーザーがメーターの値の読み取りを行うための設定方法と表示方法について、説明する。図2において検出領域を設定した後の状態が図3であるものとする。図2と図3で同じ動作をする部材については、番号を併記し、説明する。 2 and 3 are examples of user interfaces of an image processing apparatus according to an embodiment of the present invention. Both FIGS. 2 and 3 are user interfaces in the setting mode. A setting method and display method for a user to read meter values will be explained using FIGS. 2 and 3. Assume that the state after setting the detection area in FIG. 2 is as shown in FIG. 3. Components that perform the same operations in FIGS. 2 and 3 will be described with reference numbers.

201と301は、画像表示エリアである。読取りの対象とする7セグ表示器の画像をユーザーの操作に応じてCPU101がRAM103に読み込み表示する。またユーザーの設定操作を補助する線や検出したエッジ箇所を画像に重畳して表示する。 201 and 301 are image display areas. The CPU 101 reads the image of the 7-segment display to be read into the RAM 103 and displays it in response to the user's operation. It also displays lines and detected edges superimposed on the image to assist the user in setting operations.

202と302は、撮影ボタンである。ユーザーの押下に応じて、CPU101はネットワークインターフェイス108を介してデジタルカメラ112に撮影指示を行い、撮影画像を取得して、HDD105に記憶する。そして、CPU101が、HDD105からRAM103に読み込み画像表示エリア201に撮影した画像を表示する。 202 and 302 are shooting buttons. In response to the user's press, the CPU 101 instructs the digital camera 112 to take a photograph via the network interface 108, acquires a photographed image, and stores it in the HDD 105. Then, the CPU 101 reads the captured image from the HDD 105 into the RAM 103 and displays the photographed image in the image display area 201.

203と303は、ファイル読込みボタンである。ユーザーが押下した場合、CPU101はユーザーからファイル指定操作が行われたものと判定し、一般的なファイルオープンダイアログを表示する。そして、ファイルオープンダイアログでユーザーが指定したファイルをHDD105からRAM103に読み込み画像表示エリア201に表示する。 203 and 303 are file read buttons. If the user presses the button, the CPU 101 determines that the user has performed a file designation operation, and displays a general file open dialog. Then, the file specified by the user in the file open dialog is read from the HDD 105 into the RAM 103 and displayed in the image display area 201.

204と304は、検出領域指定ボタンである。ユーザーの押下に応じて、CPU101はユーザーから検出領域の指定開始操作があったものと判定し、画像表示エリア201におけるポインティングデバイス106による操作に応じて、検出領域(検出範囲)指定のための矩形を描画する。検出領域指定後のユーザーインターフェイスを図3に示す。図3における320の矩形で囲まれた領域が検出領域である。 204 and 304 are detection area designation buttons. In response to the user's press, the CPU 101 determines that the user has performed an operation to start specifying a detection area, and in response to the operation using the pointing device 106 in the image display area 201, a rectangle for specifying the detection area (detection range) is created. Draw. Figure 3 shows the user interface after specifying the detection area. The area surrounded by a rectangle 320 in FIG. 3 is the detection area.

205と305は、文字読み取り角度ボックスである。検出領域をユーザーが指定した後に、その矩形の長辺の角度を初期値として表示する。図3における326の読み取り方向を示す矢印の角度が0度に指定されている場合の例である。ユーザーが数値を変更した場合、CPU101はユーザーから変更指示があったものとして、入力値に従って、読み取り方向の矢印326および検出領域320の長辺の角度を変更して描画を更新する。その際、検出領域320は、矩形の中心を基準に回転するものとする。 205 and 305 are character reading angle boxes. After the user specifies the detection area, the angle of the long side of the rectangle is displayed as an initial value. This is an example in which the angle of the arrow 326 in FIG. 3 indicating the reading direction is specified as 0 degrees. When the user changes the numerical value, the CPU 101 assumes that the user has given a change instruction and updates the drawing by changing the reading direction arrow 326 and the angle of the long side of the detection area 320 according to the input value. At this time, it is assumed that the detection area 320 rotates about the center of the rectangle.

206と306は、輝度閾値ボックスである。検出領域320で数字検出(認識)のための二値化を行う際の輝度閾値を指定するボックスである。初期値は128とし、0から255の範囲の値を受け付けるものとする。ユーザーが数値を変更した場合、CPU101はユーザーから輝度閾値変更指示があったものとして、二値化の閾値を変更する。 206 and 306 are brightness threshold boxes. This is a box for specifying a brightness threshold when performing binarization for number detection (recognition) in the detection area 320. The initial value is 128, and values in the range 0 to 255 are accepted. When the user changes the numerical value, the CPU 101 assumes that the user has given an instruction to change the brightness threshold and changes the threshold for binarization.

207と307は、7セグ桁数ボックスである。初期値は4とし、1以上の整数値を受け付けるものとする。そして、検出領域320における文字読み取り角度ボックス205の方向の辺を等分に分割し、その分割した領域を1桁の数字の検出領域とする。ユーザーが数値を変更した場合、CPU101はユーザーから桁数変更指示があったものとして、検出領域320の分割数を変更して表示を更新する。7セグ桁数ボックス207に8が指定された後のユーザーインターフェイスを図3に示す。図3において検出領域320を読取方向の辺を点線321,322,323,324,325に示す通り6等分に分割して表示する。 207 and 307 are 7-segment digit boxes. The initial value is 4, and an integer value of 1 or more is accepted. Then, the side of the detection area 320 in the direction of the character reading angle box 205 is divided into equal parts, and the divided area is used as a detection area for a one-digit number. When the user changes the numerical value, the CPU 101 assumes that the user has given an instruction to change the number of digits, changes the number of divisions of the detection area 320, and updates the display. FIG. 3 shows the user interface after 8 is specified in the 7-seg digit number box 207. In FIG. 3, the detection area 320 is divided into six equal parts along the sides in the reading direction as indicated by dotted lines 321, 322, 323, 324, and 325.

208と308は、セグメント幅閾値ボックスである。初期値は3とし、1以上の200以下の整数値を受け付けるものとする。そして、数字を数値として認識する際に、指定されたピクセル数分連続した画素が二値化の閾値以上であるか否かにより、検出対象のセグメントが点灯状態にあるか否かを判定する。7セグの点灯状態から数字および記号を読み取り、数値に置き換える方法については、後述する。 208 and 308 are segment width threshold boxes. The initial value is 3, and an integer value between 1 and 200 is accepted. Then, when recognizing a number as a numerical value, it is determined whether or not the segment to be detected is in a lighting state based on whether or not a specified number of consecutive pixels are equal to or greater than a binarization threshold. A method of reading numbers and symbols from the lighting state of the 7-segment and replacing them with numerical values will be described later.

209と309は、文字色リストボックスである。明るい背景に暗い文字、暗い背景に明るい文字がリストされる。画像上の検出領域において、輝度閾値ボックス206の値以上の輝度値を数字の認識対象とするか、輝度閾値ボックス206の値未満を数字の認識の対象とするかを切り換える。ユーザーが明るい背景に暗い文字を選択した場合には、輝度閾値ボックス206の値未満を数字の認識対象とする。ユーザーが暗い背景に明るい文字を選択した場合には、輝度閾値ボックス206の値以上を数字の認識対象とする。検出領域320において、輝度閾値ボックス206と文字色リストボックス209で数字の認識対象となる二値化後の輝度の値が1の画素をグレースケールの画像上に着色して重畳して表示する。その状態を図3の327に示す。 209 and 309 are text color list boxes. Lists dark text on a light background and light text on a dark background. In the detection area on the image, it is switched whether the brightness value greater than or equal to the value in the brightness threshold box 206 is to be recognized as a number, or the brightness value less than the value in the brightness threshold box 206 is to be recognized as a number. When the user selects dark characters on a bright background, numbers less than the value in the brightness threshold box 206 are targeted for recognition. When the user selects bright characters on a dark background, numbers equal to or higher than the value in the brightness threshold box 206 are targeted for recognition. In the detection area 320, pixels with a luminance value of 1 after binarization, which are targets for number recognition, are colored and superimposed on the grayscale image and displayed in the luminance threshold box 206 and the character color list box 209. This state is shown at 327 in FIG.

210と310は、小数点処理設定チェックボックスである。出力値に対して小数点に関わる処理をするかしないかを指定する。初期値はOFFとし、OFFの場合には後述の小数点に関わる部材211から215乃至311から315はDisableにし、ユーザー操作を受け付けないものとする。ユーザーの操作により、ONになった場合には、CPU101は、出力値に小数点が含まれる可能性があるものと判定し、部材211から215乃至311から315をEnableにし、ユーザー操作を受け付ける。OFFの場合には、CPU101は、出力値に小数点はないものとして、出力値は整数値のみとする。 210 and 310 are decimal point processing setting check boxes. Specify whether or not to perform processing related to the decimal point on the output value. The initial value is OFF, and when it is OFF, members 211 to 215 to 311 to 315 related to the decimal point, which will be described later, are disabled and do not accept user operations. When turned on by a user's operation, the CPU 101 determines that the output value may include a decimal point, enables the members 211 to 215 to 311 to 315, and accepts the user's operation. In the case of OFF, the CPU 101 assumes that there is no decimal point in the output value and outputs only integer values.

211と311は、小数点以下の桁数選択ラジオボタンである。初期値はOFFとする。ユーザーがONにした場合には、CPU101は小数点以下の桁数があるものと判定し、後述する小数点以下桁数ボックス213で指定された数値分小数点以下の桁数があるものとして、出力値に小数点を付与する。そして、後述の小数点検出ラジオボタン212もしくは312をOFFにする。 211 and 311 are radio buttons for selecting the number of digits below the decimal point. The initial value is OFF. When the user turns it on, the CPU 101 determines that there are digits below the decimal point, and outputs the output value as having the number of digits below the decimal point equal to the number specified in the number of digits below the decimal point box 213, which will be described later. Add a decimal point. Then, the decimal point detection radio button 212 or 312, which will be described later, is turned off.

212と312は、小数点検出ラジオボタンである。初期値はONとする。ONの場合、CPU101は小数点の検出処理を行う必要があるものと判定し、後述の小数点検出処理を行う。 212 and 312 are decimal point detection radio buttons. The initial value is ON. If ON, the CPU 101 determines that it is necessary to perform decimal point detection processing, and performs decimal point detection processing, which will be described later.

213と313は、小数点以下桁数ボックスである。初期値は1とし、1から7セグ桁数ボックス207もしくは307以下の整数値を受け付けるものとする。7セグ桁数ボックス207もしくは307にて6が指定されており、小数点以下桁数が2である場合に、必ず下2桁目と3桁目の間に小数点があるものとして、出力値を算出する。6桁の値が168753と検出した場合、1687.53とする。6桁の値が168750である場合、6桁の値が1687.5とする。6桁の値が上位2桁は検出なしで、3桁目から8753と検出した場合、87.53とする。 213 and 313 are decimal places boxes. The initial value is 1, and an integer value of 1 to 7 segment digit number box 207 or 307 or less is accepted. When 6 is specified in the 7-segment digit box 207 or 307 and the number of digits after the decimal point is 2, the output value is calculated assuming that the decimal point is always between the second and third digit. do. If the 6-digit value is detected as 168753, it is set as 1687.53. If the 6-digit value is 168750, the 6-digit value is 1687.5. If the upper two digits of the six-digit value are not detected and 8753 is detected from the third digit, it is set as 87.53.

214と314は、小数点サイズ指定手段の一例である、小数点の最小サイズボックスである。初期値は40とし、1以上最大サイズ未満の整数値を受け付けるものとする。 214 and 314 are minimum size boxes for decimal points, which are examples of decimal point size designation means. The initial value is 40, and an integer value greater than or equal to 1 and less than the maximum size is accepted.

215と315は、小数点の最大サイズボックスである。初期値は300とし、最小サイズより大きく300以下の整数値を受け付けるものとする。そして、小数点の画像上のサイズが最小サイズと最大サイズの範囲のピクセル数分あるものとして、後述の数値検出処理において、小数点の検出を行う。 215 and 315 are the maximum size boxes for the decimal point. The initial value is 300, and an integer value greater than the minimum size and less than or equal to 300 is accepted. Then, the decimal point is detected in the numerical value detection process described later, assuming that the size of the decimal point on the image is equal to the number of pixels in the range between the minimum size and the maximum size.

216と316は、設定画面終了ボタンである。ユーザーが押下した場合には、CPU101がユーザーから設定に関する終了指示があったと判定し、一連の設定処理を終了する。それと同時に設定モードから運転モードに切り替えたものとする。 216 and 316 are setting screen exit buttons. If the user presses the button, the CPU 101 determines that the user has given an instruction to end the settings, and ends the series of settings processing. At the same time, it is assumed that the setting mode is switched to the operation mode.

217と317は、通知閾値ボックスである。初期値を1000とし、ユーザーから数値入力があった場合には、CPU101は通知する閾値の指定がユーザーからあったものと判定し、RAM103にその値を記憶する。 217 and 317 are notification threshold boxes. The initial value is 1000, and when a numerical value is input by the user, the CPU 101 determines that the user has specified a threshold value to be notified, and stores the value in the RAM 103.

328は、結果出力領域である。設定画面における各種設定に応じて検出した結果を画像表示エリア301に表示する。305から315までの各種設定部材の設定内容に従って後述の数値検出処理を実行し、検出に成功した場合には、検出結果の数値を表示する。 328 is a result output area. The detected results are displayed in the image display area 301 according to various settings on the setting screen. Numerical value detection processing, which will be described later, is executed according to the settings of the various setting members 305 to 315, and if the detection is successful, the numerical value of the detection result is displayed.

[数値検出処理]
図4は、本発明の一実施形態に係る小数点つきの複数セグメント数字の表示器から数値を読み取る工程を示すフローチャート図である。なお、図4の処理は、CPU101がRAM103に格納された制御プログラムを実行することにより実行される。設定モードで画像読み込みおよび検出領域320の指定が完了した後に、初期値の設定およびユーザーが各種部材により設定変更をした都度、実行されるものとする。また、運転モードに切り替えた場合にも実行されるものとする。図2と図3における共通の部材については、図3に付した番号で説明する。
[Numeric value detection processing]
FIG. 4 is a flowchart diagram illustrating the process of reading a numeric value from a multi-segment numeric display with decimal point according to one embodiment of the present invention. Note that the process in FIG. 4 is executed by the CPU 101 executing a control program stored in the RAM 103. After reading the image and specifying the detection area 320 in the setting mode, setting of initial values and each time the user changes settings using various members are performed. It is also assumed that this is executed when switching to the driving mode. Common members in FIGS. 2 and 3 will be explained using the numbers assigned to FIG. 3.

ステップS400にて、CPU101は、検出領域320内のグレースケールの画像データをRAM103へ読み込む。 In step S400, CPU 101 reads grayscale image data within detection area 320 into RAM 103.

ステップS401にて、CPU101は、図2乃至図3にて説明したユーザーインターフェイスにおける各種設定をRAM103へ読み込む。 In step S401, the CPU 101 reads into the RAM 103 various settings on the user interface described in FIGS. 2 and 3.

ステップS402にて、CPU101は、輝度閾値ボックス306の値および文字色リストボックス309の設定に従いRAM103に保持した画像データに対して二値化処理を行い、数値検出対象画像を生成する。そしてRAM103に保持する。 In step S402, the CPU 101 performs binarization processing on the image data held in the RAM 103 according to the value of the brightness threshold box 306 and the setting of the character color list box 309, and generates a numerical value detection target image. Then, it is held in the RAM 103.

ステップS403にて、CPU101は、桁毎に数字とマイナス記号を読み取る処理を実行するためのカウンタiに1を代入する。 In step S403, the CPU 101 assigns 1 to a counter i for executing a process of reading a number and a minus sign for each digit.

ステップS404にて、CPU101は、カウンタiが桁数以下か否かを判定する。小さいと判定した場合には、ステップS407へと進む。カウンタiが桁数より大きいと判定した場合には、桁数毎の数字マイナス記号読み取り処理が完了したものとして、ステップS410へと進む。 In step S404, the CPU 101 determines whether the counter i is less than or equal to the number of digits. If it is determined that it is small, the process advances to step S407. If it is determined that the counter i is larger than the number of digits, it is assumed that the numeric minus sign reading process for each number of digits has been completed, and the process advances to step S410.

ステップS405にて、CPU101は、ステップS403にて二値化した数値検出対象画像を読取方向に桁数で分割する。数値検出対象の画像データの幅がimgW、高さがimgH、読取方向はx軸のプラス方向、桁数がNumDigitsとしてi桁目の数値検出対象画像における左上の座標(sepX0[i],sepY0[i])を式1に示す。右下の座標(sepX1[i],sepY1[i])を式2に示す。中心座標(sepCenterX[i],sepCenterY[i])を式3に示す。
sepX0[i]=(imgW÷NumDigits)×(i-1)
sepY0[i]=0 ….式1
sepX1[i]=(imgW÷NumDigits)×(i)
sepY1[i]=imgH ….式2
sepCenterX[i]= (sepX0[i]+ sepX1[i])÷2
sepCenterY[i]= (sepY0[i]+ sepY1[i])÷2 ….式3
In step S405, the CPU 101 divides the numerical value detection target image binarized in step S403 by the number of digits in the reading direction. The width of the image data for numerical detection is imgW, the height is imgH, the reading direction is the positive direction of the x-axis, the number of digits is NumDigits, and the upper left coordinates (sepX0[i], sepY0[ i]) is shown in Equation 1. The lower right coordinates (sepX1[i], sepY1[i]) are shown in Equation 2. The center coordinates (sepCenterX[i], sepCenterY[i]) are shown in Equation 3.
sepX0[i]=(imgW÷NumDigits)×(i-1)
sepY0[i]=0…. Formula 1
sepX1[i]=(imgW÷NumDigits)×(i)
sepY1[i]=imgH…. Formula 2
sepCenterX[i] = (sepX0[i]+sepX1[i])÷2
sepCenterY[i] = (sepY0[i]+sepY1[i])÷2... Formula 3

桁毎に分割した画像にカウンタiを付して、RAM103に保持する。このとき数値検出対象画像も破棄せずにRAM103に保持し続ける。 A counter i is attached to the image divided into each digit and the image is stored in the RAM 103. At this time, the numerical value detection target image is not discarded but continues to be held in the RAM 103.

ステップS406にて、CPU101は、数値検出対象画像における桁毎の分割領域の中心座標(sepCenterX[i],sepCenterY[i])をRAM103に記憶する。 In step S406, the CPU 101 stores in the RAM 103 the center coordinates (sepCenterX[i], sepCenterY[i]) of the divided area for each digit in the numerical value detection target image.

ステップS407にて、CPU101は、i桁目の分割画像データから数字とマイナス記号を読み取る。数字マイナス記号読み取り処理は、図5、図6を用いて後述する。 In step S407, the CPU 101 reads a number and a minus sign from the i-th digit divided image data. The numeric minus sign reading process will be described later using FIGS. 5 and 6.

ステップS420にて、CPU101は、読み取りが成功したか否かを判定する。読み取りに成功した場合には、ステップS408へと進む。失敗した場合には、ステップS419へと進む。 In step S420, the CPU 101 determines whether the reading was successful. If the reading is successful, the process advances to step S408. If unsuccessful, the process advances to step S419.

ステップS408にて、CPU101は、桁毎の結果を保持する配列のi番目に検出結果を代入し、RAM103に保持する。 In step S408, the CPU 101 assigns the detection result to the i-th array that holds the results for each digit, and stores it in the RAM 103.

ステップS409にて、CPU101は、カウンタiをインクリメントし、ステップS404へと戻る。 In step S409, the CPU 101 increments the counter i, and returns to step S404.

ステップS410にて、CPU101は、小数点設定がONになっているか否かを判定する。小数点処理設定チェックボックス310がONの場合には、CPU101は小数点設定がONであるものと判定し、ステップS411へと進む。小数点処理設定チェックボックス310がOFFの場合には、CPU101は小数点設定がONではないと判定し、ステップS421へと進む。 In step S410, the CPU 101 determines whether the decimal point setting is turned on. If the decimal point processing setting check box 310 is ON, the CPU 101 determines that the decimal point setting is ON, and proceeds to step S411. If the decimal point processing setting check box 310 is OFF, the CPU 101 determines that the decimal point setting is not ON, and proceeds to step S421.

ステップS411にて、CPU101は、小数点検出をするか否かを判定する。小数点検出ラジオボタン312がONの場合には、CPU101は小数点検出するものと判定し、ステップS412へと進む。小数点検出ラジオボタン312がOFFの場合には、CPU101は小数点検出をしないものと判定し、ステップS416へと進む。 In step S411, the CPU 101 determines whether or not to perform decimal point detection. If the decimal point detection radio button 312 is ON, the CPU 101 determines that the decimal point is to be detected, and proceeds to step S412. If the decimal point detection radio button 312 is OFF, the CPU 101 determines that decimal point detection is not to be performed, and proceeds to step S416.

ステップS412にて、CPU101は、ステップS402にて二値化した数値検出対象画像を桁毎に分割せずに小数点検出を行う。小数点検出処理は図7を用いて後述する。小数点検出処理の出力値は、小数点の検出数と検出領域320における小数点の中心のXY座標とする。 In step S412, the CPU 101 performs decimal point detection without dividing the numerical value detection target image binarized in step S402 into digits. The decimal point detection process will be described later using FIG. The output values of the decimal point detection process are the number of detected decimal points and the XY coordinates of the center of the decimal point in the detection area 320.

ステップS413にて、CPU101は、小数点の検出数が複数だったか否かを判定する。小数点検出数が2以上であった場合には、CPU101は小数点検出が正常に実行されなかったものとして、ステップS419へと進む。 In step S413, the CPU 101 determines whether a plurality of decimal points have been detected. If the number of decimal points detected is 2 or more, the CPU 101 determines that decimal point detection has not been executed normally and proceeds to step S419.

ステップS414にて、CPU101は、小数点検出数が1だったか否かを判定する。小数点検出が1であった場合には、ステップS415へと進む。小数点検出が0であった場合には、CPU101は小数点の検出がなかったものと判定しステップS417へと進む。 In step S414, the CPU 101 determines whether the number of decimal points detected is one. If the decimal point detected is 1, the process advances to step S415. If the decimal point detected is 0, the CPU 101 determines that no decimal point has been detected, and proceeds to step S417.

ステップS415にて、CPU101は、小数点以下の桁数を算出する。算出方法は図8を用いて後述する。 In step S415, the CPU 101 calculates the number of digits below the decimal point. The calculation method will be described later using FIG.

ステップS416にて、CPU101は、小数点以下桁数ボックス313の値を小数点以下の桁数として読み込む。 In step S416, the CPU 101 reads the value in the number of digits below the decimal point box 313 as the number of digits below the decimal point.

ステップS421にて、CPU101は、小数点以下の桁数を0とする。 In step S421, the CPU 101 sets the number of digits below the decimal point to zero.

ステップS417にて、CPU101は、ステップS408にて検出した各桁の数値およびマイナス記号を並べた結果、数値として成り立つか否かを判定する。マイナス記号が検出された場合には先頭に1つのみであること。図6にて後述するNULLの桁があったとして、それが桁の先頭か末尾のみに連続していること。を条件とする。数値として成り立つ場合には、ステップS418へと進む。数値として成り立たない場合には、ステップS419へと進む。 In step S417, the CPU 101 determines whether the result of arranging the numerical value of each digit and the minus sign detected in step S408 constitutes a numerical value. If a minus sign is detected, there must be only one at the beginning. Even if there is a NULL digit (described later) in FIG. 6, it must be continuous only at the beginning or end of the digit. subject to the following conditions. If the value holds true as a numerical value, the process advances to step S418. If the value does not hold true, the process advances to step S419.

ステップS418にて、CPU101は、数値に変換する。NULLの桁に関しては、0として、下1桁目の数値には1、下2桁目の数値には10、下3桁目の数値には100という風に、10ずつ掛けた値を検出した桁数分掛けて、合算する。その後、小数点以下の桁数に応じて割る。小数点以下の桁数が1であれば、10で割る。小数点以下の桁数が2であれば、100で割るという風に10ずつ掛けた値で割る。小数点以下の桁数が0の場合には、割り算を行わず、整数値のままとする。 In step S418, the CPU 101 converts it into a numerical value. Regarding the NULL digit, we detected the value multiplied by 10 as 0, 1 for the first lower digit, 10 for the second lower digit, 100 for the third lower digit, etc. Multiply by the number of digits and add up. Then divide according to the number of digits after the decimal point. If the number of digits after the decimal point is 1, divide by 10. If the number of digits after the decimal point is 2, divide by 10, and so on. If the number of digits after the decimal point is 0, no division is performed and the value remains as an integer.

ステップS419にて、CPU101は、数値読み取りに失敗したものとし、結果をNGとする。そして、一連の読み取り処理を終了する。 In step S419, the CPU 101 assumes that the reading of the numerical value has failed and sets the result as NG. Then, the series of reading processing ends.

ステップS419にて、CPU101は、数値読み取りに成功したものとし、ステップS418の数値を出力値とすると共に、結果をOKとする。そして、一連の読み取り処理を終了する。 In step S419, the CPU 101 determines that the reading of the numerical value has been successful, sets the numerical value in step S418 as an output value, and accepts the result as OK. Then, the series of reading processing ends.

[数字マイナス記号読み取り処理]
図5は、本発明の一実施形態に係る7セグの一桁を示す図である。本実施形態において、検出対象とする画像データは、図4のステップS405でRAM103に保持した桁毎に分割した二値化済みの画像とする。二値化済みのため、画像データを構成する画素の輝度の値は、0か1のどちらかの値となっているものとする。
[Number minus sign reading process]
FIG. 5 is a diagram showing one digit of 7 segments according to an embodiment of the present invention. In this embodiment, the image data to be detected is a binarized image divided into digits stored in the RAM 103 in step S405 of FIG. Since the image data has already been binarized, it is assumed that the luminance value of the pixels constituting the image data is either 0 or 1.

図6は、本発明の一実施形態に係る、検出されたセグメントの点灯状況及び消灯状況と対応する出力値を示すテーブルの概念図である。図6はRAM103に保持されているものとする。 FIG. 6 is a conceptual diagram of a table showing output values corresponding to detected lighting statuses and extinguishing statuses of segments, according to an embodiment of the present invention. It is assumed that FIG. 6 is held in the RAM 103.

図5および図6を用いて、各セグメントの点灯と消灯を検出する方法と、その結果から出力値を得る方法を説明する。図2と図3における共通の部材については、図3に付した番号で説明する。 A method of detecting lighting and extinction of each segment and a method of obtaining an output value from the result will be explained using FIGS. 5 and 6. Common members in FIGS. 2 and 3 will be explained using the numbers assigned to FIG. 3.

図5において、501,502,503,504,505,506,507は7セグを構成するセグメントである。以降、501~507のセグメントをそれぞれsegNo.1~segNo.7、とする。 In FIG. 5, 501, 502, 503, 504, 505, 506, and 507 are segments forming 7 segments. Thereafter, segments 501 to 507 are assigned segNo. 1~segNo. 7.

508は、一桁の画像データを構成する上辺を二等分に分割する点である。 508 is a point that divides the upper side of one-digit image data into two equal parts.

509と510は、一桁の画像データを構成する右辺を三等分に分割する点である。上側を509、下側を510とする。 Points 509 and 510 are points that divide the right side of one-digit image data into thirds. The upper side is 509 and the lower side is 510.

511は、一桁の画像データを構成する下辺を二等分に分割する点である。 511 is a point that divides the lower side of one-digit image data into two equal parts.

512と513は、一桁の画像データを構成する右辺を三等分に分割する点である。上側を513、下側を512とする。 Points 512 and 513 are points that divide the right side of one-digit image data into thirds. The upper side is 513 and the lower side is 512.

514は、点508と点511を結ぶ直線と、点513と点509を結ぶ直線の交点である。 514 is the intersection of the straight line connecting points 508 and 511 and the straight line connecting points 513 and 509.

515は、点508と点511を結ぶ直線と、点512と点510を結ぶ直線の交点である。 515 is the intersection of the straight line connecting the points 508 and 511 and the straight line connecting the points 512 and 510.

segNo.1が点灯しているか消灯しているかを判別する場合、CPU101は点509から点514へと画素の値を順次読み込み1の値が連続して、セグメント幅閾値ボックス308で設定された個数以上出現するか否かを判定する。セグメント幅閾値ボックス308で設定された個数以上出現すると判定した場合には、CPU101はsegNo.1が点灯しているものとして、segNo.1と関連付けてRAM103に記憶する。セグメント幅閾値ボックス308で設定された個数未満であった場合には、segNo.1が消灯しているものとして、segNo.1と関連付けてRAM103に記憶する。 segNo. When determining whether 1 is on or off, the CPU 101 sequentially reads the pixel values from point 509 to point 514 and determines whether the value of 1 consecutively appears more than the number set in the segment width threshold box 308. Determine whether or not to do so. If it is determined that the segment width threshold box 308 has more than the number of segments set in the segment width threshold box 308, the CPU 101 selects segNo. Assuming that 1 is lit, segNo. 1 and stored in the RAM 103. If the number is less than the number set in the segment width threshold box 308, segNo. Assuming that segNo. 1 is off, segNo. 1 and stored in the RAM 103.

同様に、segNo.2については点514から点515へ、segNo.3については点510から点515へ、segNo.4については点511から点515へ、segNo.5については点512から点515へ、segNo.6については点513から点514へ、segNo.7については点508から点514へ、画素の値を順次読み込み前述の方法で、点灯しているか否かを判定し、その結果をsegNo.と関連付けてRAM103に記憶する。 Similarly, segNo. 2, from point 514 to point 515, segNo. 3, from point 510 to point 515, segNo. 4, from point 511 to point 515, segNo. 5, from point 512 to point 515, segNo. 6, from point 513 to point 514, segNo. Regarding 7, the pixel values are sequentially read from point 508 to point 514, and the above method is used to determine whether or not it is lit, and the result is set to segNo. It is stored in the RAM 103 in association with.

601は、テーブルのデータを一意に特定するための管理番号列である。602は、点灯状態を示す図である。 601 is a management number string for uniquely identifying table data. 602 is a diagram showing a lighting state.

603から609は、segNo毎の点灯条件を示す列である。603はsegNo.1に、604はsegNo.2に、605はsegNo.3に、606はsegNo.4に、607はsegNo.5に、608はsegNo.6に、609はsegNo.7に、対応する。 603 to 609 are columns indicating lighting conditions for each segNo. 603 is segNo. 1, 604 is segNo. 2, 605 is segNo. 3, 606 is segNo. 4, 607 is segNo. 5, 608 is segNo. 6, 609 is segNo. Corresponds to 7.

610は、出力値の列である。 610 is a column of output values.

611から625までは、各セグメントの点灯条件と対応する出力値を示す行である。 Lines 611 to 625 indicate the lighting conditions of each segment and the corresponding output values.

segNo.1からsegNo.7まですべてONである場合には、622が一致する行であり、その出力値は8となる。 segNo. 1 to segNo. If all rows up to 7 are ON, 622 is the matching row and its output value is 8.

segNo2のみがONであり、他のセグメントが全てOFFの場合には、624が一致する行であり、その出力値は、-(マイナス)となる。 If only segNo. 2 is ON and all other segments are OFF, 624 is the matching row, and its output value is - (minus).

CPU101は図4のステップS407において、図5の検出方法を用いて各セグメントの点灯結果をRAM103に保持する。そして、点灯結果と一致する点灯条件の行を図6のテーブルを用いて探索する。そして、一致する行があった場合には、その行の出力値列610の値を数字マイナス記号読み取り結果としてRAM103に保持する。見つからなかった場合には、読み取り失敗として、RAM103に保持する。 In step S407 of FIG. 4, the CPU 101 stores the lighting results of each segment in the RAM 103 using the detection method of FIG. Then, the table of FIG. 6 is used to search for a row of lighting conditions that match the lighting result. If there is a matching row, the value of the output value column 610 of that row is held in the RAM 103 as the result of reading the numeric minus sign. If it is not found, it is held in the RAM 103 as a reading failure.

[小数点検出処理]
図7は、本発明の一実施形態に係る小数点読み取り範囲を示す図である。図4のステップS412における小数点の検出方法について図7を用いて説明する。本実施形態において、検出対象とする画像データは、図4のステップS402でRAM103に保持した検出領域320の二値化済みの画像とする。二値化済みのため、画像データを構成する画素の輝度の値は、0か1のどちらかの値となっているものとする。
[Decimal point detection processing]
FIG. 7 is a diagram showing a decimal point reading range according to an embodiment of the present invention. The method for detecting the decimal point in step S412 in FIG. 4 will be explained using FIG. 7. In this embodiment, the image data to be detected is the binarized image of the detection area 320 held in the RAM 103 in step S402 of FIG. Since the image data has already been binarized, it is assumed that the luminance value of the pixels constituting the image data is either 0 or 1.

700、701、702、703の頂点で構成される二重線の矩形は、小数点読み取り領域である。本実施形態において、検出領域320の下部三分の一の領域であるものとする。 The double-lined rectangle formed by the vertices 700, 701, 702, and 703 is the decimal point reading area. In this embodiment, the detection area 320 is assumed to be the lower one-third area.

ステップS412において、CPU101は、小数点読み取り領域を700、701方向から読み取り方向へと画素値を読み込む。そして小数点の最小サイズボックス314と小数点の最大サイズボックス315で指定されたピクセル数分隣り合う画素が連続して1であり、且つ、形状が円に近似している箇所を探索する。円に近似しているかは、連続して1である箇所の幅と高さの比率が、1:0.8~1.2の範囲に含まれるか否かにより判定を行う。探索した結果、該当箇所が見つかった場合、中心となる点のx座標y座標をRAM103に保持する。そして、702、703まで探索した結果、該当箇所が複数ある場合、その個数と対応するx座標y座標を全てRAM103に保持する。そして、ステップS413以降の処理にその結果を利用する。 In step S412, the CPU 101 reads pixel values in the decimal point reading area from the 700 and 701 directions in the reading direction. Then, a search is made for a location where the number of adjacent pixels specified by the minimum decimal point size box 314 and the maximum decimal point size box 315 are consecutively 1, and where the shape approximates a circle. Whether the shape is approximated to a circle is determined based on whether the ratio of the width to the height of a portion that is continuously 1 is within the range of 1:0.8 to 1.2. If a corresponding location is found as a result of the search, the x and y coordinates of the central point are held in the RAM 103. Then, as a result of searching up to 702 and 703, if there are a plurality of corresponding locations, all the x and y coordinates corresponding to the number of locations are held in the RAM 103. Then, the results are used in the processing from step S413 onwards.

[小数点の位置および小数点以下の桁数算出処理]
図8は、本発明の一実施形態に係る小数点の位置および小数点以下の桁数を算出する工程を示すフローチャート図である。
[Decimal point position and number of digits below the decimal point calculation process]
FIG. 8 is a flowchart showing the process of calculating the position of the decimal point and the number of digits to the right of the decimal point according to an embodiment of the present invention.

本実施形態において、読み取り方向の矢印326がx座標のプラス方向と一致しているものとして、説明を行う。 In this embodiment, the explanation will be given assuming that the arrow 326 in the reading direction coincides with the positive direction of the x coordinate.

ステップS801にて、CPU101は、小数点の入る桁の位置を探索するためのカウンタiに1を代入する。 In step S801, the CPU 101 assigns 1 to a counter i for searching the position of the digit where the decimal point is placed.

ステップS802にて、CPU101は、小数点の中心座標xをpXに代入する。 In step S802, the CPU 101 assigns the center coordinate x of the decimal point to pX.

ステップS803にて、CPU101は、i桁目の分割領域の中心座標よりpXの値が小さいか否かを判定する。小さいと判定した場合、CPU101は、i桁目とi-1桁目の間に小数点が入るものとして、ステップS807へと進む。 In step S803, the CPU 101 determines whether the value of pX is smaller than the center coordinates of the i-th divided region. If it is determined that the number is small, the CPU 101 assumes that a decimal point is inserted between the i-th digit and the i-1 digit, and proceeds to step S807.

ステップS804にて、CPU101は、カウンタiが桁数未満の値であるか否かを判定する。カウンタiが桁数未満の場合には、ステップS805へと進む。カウンタiが桁数以上の場合には、CPU101は、小数点が一番末尾の桁の右につくものと判定し、ステップS806へと進む。 In step S804, the CPU 101 determines whether the counter i has a value less than the number of digits. If the counter i is less than the number of digits, the process advances to step S805. If the counter i is greater than or equal to the number of digits, the CPU 101 determines that the decimal point is placed to the right of the last digit, and proceeds to step S806.

ステップS805にて、CPU101は、i桁目の分割領域の中心座標とi+1桁目の分割領域の中心座標の間にpXが入るかを判定する。入ると判定した場合には、ステップS806へと進む。入らないと判定した場合には、ステップS808へと進む。 In step S805, the CPU 101 determines whether pX falls between the center coordinates of the i-th digit divided area and the center coordinates of the i+1-th digit divided area. If it is determined that it is entered, the process advances to step S806. If it is determined that it does not enter, the process advances to step S808.

ステップS806にて、CPU101は、小数点の桁の位置を保持するnにiを代入する。小数点の桁の位置は、nとn+1の桁数の間であることを示す。 In step S806, the CPU 101 substitutes i for n, which holds the position of the decimal point. The position of the decimal point indicates between n and n+1 digits.

ステップS807にて、CPU101は、nに0を代入する。この場合、小数点の桁の位置は、1桁目の数値の左側、つまり最上位の桁の前にあることになる。 In step S807, the CPU 101 assigns 0 to n. In this case, the decimal point position will be to the left of the first digit, that is, before the most significant digit.

ステップS808にて、CPU101は、カウンタiをインクリメントする。そして、ステップS804へと戻る。 In step S808, the CPU 101 increments the counter i. Then, the process returns to step S804.

ステップS809にて、CPU101は、小数点以下の桁数を算出する。7セグ桁数ボックス307で指定された桁数がNumDigitsとして、小数点以下の桁数NumDeciを式4に示す。
NumDeci = NumDigits - n ….式4
In step S809, the CPU 101 calculates the number of digits below the decimal point. Assuming that the number of digits specified in the 7-segment number of digits box 307 is NumDigits, the number of digits below the decimal point NumDeci is shown in Equation 4.
NumDeci = NumDigits - n…. Formula 4

[運転時の数値読み取り方法]
図9は、本発明の一実施形態に係る画像処理装置において、運転時の複数セグメント数字の表示器から数値を読み取る工程を示すフローチャート図である。なお、図9の処理は、CPU101がRAM103に格納された制御プログラムを実行することにより実行される。図2および図3は、本実施形態の画像処理装置における設定モードにおけるユーザーインターフェイスを説明した。対して、図9の処理は、運転モードにおける処理である。設定時と同じ位置から計測対象とする複数セグメント数字の表示器を定期的に撮影し、その都度、表示器から値を読み取る。そして、読み取った値を随時HDD105に記録したり、ユーザーが指定した閾値以上の値の場合に、ユーザーに通知したりする。
[How to read numerical values during operation]
FIG. 9 is a flowchart showing a process of reading numerical values from a multi-segment numerical display during operation in the image processing apparatus according to an embodiment of the present invention. Note that the process in FIG. 9 is executed by the CPU 101 executing a control program stored in the RAM 103. 2 and 3 illustrate the user interface in the setting mode of the image processing apparatus of this embodiment. On the other hand, the process in FIG. 9 is a process in the driving mode. Periodically photograph the multi-segment numeric display to be measured from the same position as when setting, and read the value from the display each time. Then, the read value is recorded in the HDD 105 at any time, and the user is notified if the value is equal to or higher than a threshold value specified by the user.

ステップS901にて、CPU101は、ユーザーから読取開始操作があったか否かを判定する。読取開始操作は、設定画面終了ボタン316の押下であるものとする。 In step S901, the CPU 101 determines whether the user has performed a reading start operation. It is assumed that the reading start operation is a press of the setting screen end button 316.

ステップS902にて、CPU101は、通信回線110を介してコンピュータネットワーク111の先のデジタルカメラ112に撮影指示を行う。 In step S902, the CPU 101 issues a shooting instruction to the digital camera 112 connected to the computer network 111 via the communication line 110.

ステップS903にて、CPU101は、デジタルカメラ112にて撮影された画像データを、通信回線110を介して取得し、HDD105に記憶する。 In step S903, the CPU 101 acquires image data taken by the digital camera 112 via the communication line 110, and stores it in the HDD 105.

ステップS904にて、CPU101は、数値を読み取り、結果をRAM103に保持する。値の読み取り方法は、図4から図8までで説明した方法である。 In step S904, the CPU 101 reads the numerical value and stores the result in the RAM 103. The value reading method is the method explained in FIGS. 4 to 8.

ステップS905にて、CPU101は、読み取り成功したか否かを判定する。読み取りに成功した場合には、ステップS906へと進む。読み取りに失敗した場合には、ステップS910へと進む。 In step S905, the CPU 101 determines whether reading is successful. If the reading is successful, the process advances to step S906. If reading fails, the process advances to step S910.

ステップS906にて、CPU101は、通知閾値ボックス317で指定された値以上か否かを判定する。通知閾値ボックス317で指定された値以上の場合には、通知が必要な値を表示器が指していると判定し、ステップS907へと進む。通知閾値ボックス317で指定された値未満の場合には、通知は不要と判定し、ステップS909へと進む。 In step S906, the CPU 101 determines whether the notification threshold value is equal to or greater than the value specified in the notification threshold box 317. If the value is greater than or equal to the value specified in the notification threshold box 317, it is determined that the display indicates a value that requires notification, and the process advances to step S907. If it is less than the value specified in the notification threshold box 317, it is determined that notification is unnecessary, and the process advances to step S909.

ステップS907にて、CPU101は、ユーザーに通知する。通知とは、ディスプレイ104への警告ダイアログの表示である。警告ダイアログには、「閾値外の値が検出されました。読取を継続しますか?終了しますか?」というメッセージとともに継続ボタンと終了ボタンを表示する。また、警告ダイアログの下に測定対象となった画像に重畳して、結果出力領域328に読み取り結果を表示するものとする。 In step S907, the CPU 101 notifies the user. The notification is the display of a warning dialog on the display 104. The warning dialog displays the message "A value outside the threshold has been detected. Do you want to continue reading? Do you want to end?" along with a continue button and an end button. Further, the reading result is displayed in the result output area 328, superimposed on the image to be measured under the warning dialog.

ステップS908にて、CPU101は、ユーザー操作があるか判定する。ユーザー操作とは警告ダイアログの継続ボタンもしくは終了ボタン押下とする。ユーザーによるボタン操作があった場合には、ステップS909へと進む。 In step S908, the CPU 101 determines whether there is a user operation. User operation is defined as pressing the continue button or end button in the warning dialog. If the user has operated a button, the process advances to step S909.

ステップS909にて、CPU101は、ユーザーから終了操作があるか否かを判定する。終了操作とは、ステップS907もしくはステップS910における警告ダイアログ内の終了ボタン押下である。終了ボタンが押下された場合には、CPU101はユーザーから終了操作があったものと判定し、表示器読み取りの一連の処理を終了し、設定モードへと移行する。終了操作がないと判定した場合には、ステップS902へと戻る。 In step S909, the CPU 101 determines whether there is a termination operation from the user. The end operation is pressing the end button in the warning dialog in step S907 or step S910. When the end button is pressed, the CPU 101 determines that the user has performed an end operation, ends the series of processes for reading the display, and shifts to the setting mode. If it is determined that there is no end operation, the process returns to step S902.

ステップS910にて、CPU101は、CPU101は、ユーザーに通知する。通知とは、ディスプレイ104への警告ダイアログの表示である。警告ダイアログには、正常に値読取ができませんでした。読取を継続しますか?終了しますか?というメッセージとともに継続ボタンと終了ボタンを表示する。 In step S910, the CPU 101 notifies the user. The notification is the display of a warning dialog on the display 104. The warning dialog box shows that the value could not be read correctly. Do you want to continue reading? Do you want to quit? The message "Continue button" and "End button" are displayed.

ステップS911にて、CPU101は、ユーザー操作があるか判定する。ユーザー操作とは警告ダイアログの継続ボタンもしくは終了ボタン押下とする。ユーザーによるボタン操作があった場合には、ステップS909へと進む。 In step S911, the CPU 101 determines whether there is a user operation. User operation is defined as pressing the continue button or end button in the warning dialog. If the user has operated a button, the process advances to step S909.

尚、本実施形態の画像処理装置において、運転モードにおいて、数値読み取りが失敗した場合に、計測を中断し、警告を表示したが、警告を表示せずに再度撮影指示を行い、計測を継続してもよい。用途に応じては、計測と値の記録を中断しない方がよいからである。 In addition, in the image processing device of this embodiment, when numerical reading fails in the operation mode, measurement is interrupted and a warning is displayed, but the imaging instruction is issued again without displaying the warning and measurement is continued. You can. This is because depending on the application, it is better not to interrupt measurement and recording of values.

尚、本実施形態の画像処理装置において、小数点の検出を検出領域320の下部三分の一の領域としたが、検出領域全体としても良いし、小数点の表示範囲が下部の四分の一乃至五分の一に含まれるようであれば、その範囲にしてもよい。小数点の検出領域を少なくするほどに検出にかかる時間を短くしたり、ノイズを拾いにくくしたり、することが可能となる。また、上部に描画されることのある桁区切りのカンマを、小数点として誤検出することを防ぐことができる。 In the image processing apparatus of this embodiment, the decimal point is detected in the lower third of the detection area 320, but it may be detected in the entire detection area, or the decimal point can be displayed in the lower quarter to If it falls within one-fifth of the total, it may be within that range. The smaller the detection area of the decimal point, the shorter the time required for detection and the less likely it is to pick up noise. Furthermore, it is possible to prevent a comma, which is a digit separator sometimes drawn at the top, from being mistakenly detected as a decimal point.

尚、本実施形態の画像処理装置において、7セグの表示器を処理の対象として説明をしたが、セグメントの数が異なっても適用可能である。この場合は、図5および図6における、各セグメントの点灯と消灯を検出する方法と出力値を対応付けするテーブルを、検出するセグメントの位置および本数に対応すればよい。 Although the image processing apparatus of this embodiment has been described using a 7-segment display as a processing target, the present invention is applicable even if the number of segments is different. In this case, the table shown in FIGS. 5 and 6 that associates the method of detecting lighting and unlighting of each segment with the output value may correspond to the position and number of segments to be detected.

尚、本実施形態の画像処理装置において、縦のセグメントの傾きがない7セグの表示器を処理の対象として説明をしたが、傾いていても桁区切りの領域を縦のセグメントの傾きと同じ角度で傾けて読み取れば、数値の読み取りは可能である。また小数点の入る桁の位置も桁毎の中心座標と小数点を検出した位置の中心座標との比較により決定するため、傾きによらず適切な位置となる。 Furthermore, in the image processing apparatus of this embodiment, a 7-segment display with no tilted vertical segments has been described as a processing target. It is possible to read numerical values by tilting the screen. Furthermore, since the position of the digit where the decimal point is placed is determined by comparing the center coordinates of each digit with the center coordinates of the position where the decimal point is detected, the position is appropriate regardless of the inclination.

尚、本実施形態の画像処理装置において、円に近似しているかは、連続して1である箇所の画像上の幅と高さの比率が、1:0.8~1.2の範囲に含まれるか否かにより判定を行った。これに対し、表示器における小数点の形状が円であれば、小数点検出領域において円の形状で探索し、小数点を検出してもよい。小数点の形状がカンマである場合には、小数点検出領域においてカンマの形状で探索し、小数点を検出してもよい。 In the image processing device of this embodiment, whether the approximation to a circle is determined by determining whether the width and height ratio of consecutive 1 points on the image is in the range of 1:0.8 to 1.2. Judgment was made based on whether it was included or not. On the other hand, if the shape of the decimal point on the display is a circle, the decimal point may be detected by searching in the shape of a circle in the decimal point detection area. If the shape of the decimal point is a comma, the decimal point may be detected by searching the decimal point detection area in the shape of a comma.

尚、本実施形態の画像処理装置において、検出領域320をユーザーの指定した座標により決定したが、場所を特定するためのマークを検出し、そのマークからの相対的な位置で検出領域を変更してもよい。そうすることにより、表示器と撮像装置の相対的な位置がずれても被写体像上に表示器とマークがあれば、補正することが可能となる。 In the image processing device of this embodiment, the detection area 320 is determined by the coordinates specified by the user, but it is also possible to detect a mark for specifying the location and change the detection area based on the relative position from the mark. You can. By doing so, even if the relative positions of the display and the imaging device are shifted, it can be corrected as long as the display and the mark are on the subject image.

尚、本実施形態の画像処理装置において、小数点の個数による数値としての妥当性の検証と、数字とマイナス記号の相対的な位置関係による数値としての妥当性の検証を異なるステップで行った。これに対し、読み取った数字とマイナス記号と小数点を全て並べて妥当性の検証を行ってもよい。文字を数値に変換する既存の機能があったならば、その入力として数字とマイナス記号と小数点を入力し、数値変換エラーとなるか否かで判定してもよい。処理が簡素化したり高速化したりする可能性がある。 In the image processing apparatus of this embodiment, the validity of the numerical value is verified by the number of decimal points, and the validity of the numerical value by the relative positional relationship between the number and the minus sign is verified in different steps. On the other hand, the validity may be verified by arranging all the read numbers, minus signs, and decimal points. If there is an existing function that converts characters into numerical values, a number, a minus sign, and a decimal point may be input as input, and the determination can be made based on whether or not a numerical value conversion error occurs. Processing may be simplified or speeded up.

以上説明した通り、本実施形態の画像処理装置によれば、小数点の検出数に応じて数値として妥当か否かを判定するため、誤検出を防ぐことができる。 As described above, according to the image processing apparatus of this embodiment, it is determined whether or not a numerical value is valid according to the number of detected decimal points, so that false detection can be prevented.

以上説明した通り、本実施形態の画像処理装置によれば、小数点の画像上のサイズの範囲を指定し、前記サイズの条件にあった場合にのみ小数点として検出するため、ノイズによる誤検出を防ぐことができる。 As explained above, according to the image processing device of the present embodiment, the size range of the decimal point on the image is specified and the decimal point is detected only when the size condition is met, thereby preventing false detection due to noise. be able to.

以上説明した通り、本実施形態の画像処理装置によれば、読み取った数値、マイナス記号の相対的な位置関係から、数値として妥当か否かを判定するため、誤検出を防ぐことができる。 As described above, according to the image processing apparatus of this embodiment, it is determined whether or not the numerical value is valid based on the relative positional relationship between the read numerical value and the minus sign, so that false detection can be prevented.

以上説明した通り、本実施形態の画像処理装置によれば、小数点を桁の末尾に検出した場合には、整数値として、小数点を桁の先頭に検出した場合には、1未満の値として数値を出力することができる。 As explained above, according to the image processing apparatus of this embodiment, when the decimal point is detected at the end of a digit, the value is treated as an integer value, and when the decimal point is detected at the beginning of the digit, the value is treated as a value less than 1. can be output.

以上説明した通り、本実施形態の画像処理装置によれば、小数点を検出しなかった場合に、読み取り結果を整数値として出力することができる。 As described above, according to the image processing apparatus of this embodiment, when a decimal point is not detected, the reading result can be output as an integer value.

以上説明した通り、本実施形態の画像処理装置によれば、セグメント幅閾値ボックス308においてセグメントの幅を指定するため、太いセグメントでも細いセグメントでもユーザー操作に従って検出が可能となる。 As described above, according to the image processing apparatus of this embodiment, since the width of the segment is specified in the segment width threshold box 308, it is possible to detect both thick and thin segments according to the user's operation.

以上説明した通り、本実施形態の画像処理装置によれば、上位の桁が点灯していない場合、下位の桁が0である場合、上位にマイナス記号が付与されている場合でも、適切な数値を読み取ることが可能となる。 As explained above, according to the image processing apparatus of the present embodiment, even if the upper digit is not lit, the lower digit is 0, or the upper digit is given a minus sign, an appropriate value is displayed. It becomes possible to read.

以上説明した通り、本実施形態の画像処理装置によれば、桁毎に分割された領域で数値やマイナス記号を読み取ると共に、桁毎に分割しない領域で小数点を検出する。したがって、小数点が隣り合った桁毎の分割領域両方にまたがっていたとしても、重複した検出や検出漏れを防ぐことができる。 As described above, according to the image processing apparatus of this embodiment, numerical values and minus signs are read in areas divided into digits, and decimal points are detected in areas that are not divided into digits. Therefore, even if the decimal point straddles both divided regions of adjacent digits, duplicate detections and missed detections can be prevented.

以上説明した通り、本実施形態の画像処理装置によれば、小数点つきの複数セグメント数字の表示器から数値を読み取る際に、小数点の読み取りを可能にし、誤認識を軽減できるようになる。 As described above, according to the image processing device of the present embodiment, when reading a numerical value from a multi-segment number display with a decimal point, it is possible to read the decimal point and reduce misrecognition.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。 Although the present invention has been described above in detail based on its preferred embodiments, the present invention is not limited to these specific embodiments, and the present invention may take various forms without departing from the gist of the present invention. included. Some of the embodiments described above may be combined as appropriate.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 Further, the present invention can also be realized by executing the following processing. That is, the software (program) that realizes the functions of the embodiments described above is supplied to a system or device via a network or various storage media, and the computer (or CPU, MPU, etc.) of the system or device reads the program. This is the process to be executed.

Claims (9)

表示器に点灯した複数セグメントの組み合わせで示された数値を検出する画像処理装置であって、
前記表示器を撮像した画像を取得する取得手段と、
取得手段により得た画像における検出範囲を特定する特定手段と、
前記検出範囲を桁毎の領域に分割する分割手段と、
前記桁毎の領域ごとに、点灯状態から数値を検出する数値検出手段と、
前記検出範囲のうち、複数の前記桁毎の領域に跨る領域を対象として点灯状態から小数点を検出する小数点検出手段と、
前記小数点検出手段により検出された小数点の位置と、前記桁毎の領域との位置関係とに基づき、前記数値全体における前記小数点の位置を決定する決定手段と、
を有する画像処理装置。
An image processing device that detects a numerical value indicated by a combination of multiple segments lit on a display,
acquisition means for acquiring an image of the display;
identification means for identifying a detection range in the image obtained by the acquisition means;
dividing means for dividing the detection range into areas for each digit;
Numerical value detection means for detecting a numerical value from a lighting state for each area of each digit;
decimal point detection means for detecting a decimal point from a lighting state in an area spanning a plurality of digit-based areas within the detection range;
determining means for determining the position of the decimal point in the entire numerical value based on the position of the decimal point detected by the decimal point detecting means and the positional relationship between the area for each digit;
An image processing device having:
小数点を検出するか否かを指定する指定手段を有し、前記小数点を検出すると指定された場合に、前記小数点検出手段を用いて小数点を検出することを特徴とする請求項1に記載の画像処理装置。 The image according to claim 1, further comprising designation means for designating whether or not to detect a decimal point, and when it is designated to detect the decimal point, the decimal point is detected using the decimal point detection means. Processing equipment. 前記数値検出手段による前記桁毎の領域ごとの検出結果の相対的な位置関係から、数値としての正しさを判定する手段をさらに有することを特徴とする請求項1または2のいずれか1項に記載の画像処理装置。 3. The method according to claim 1, further comprising means for determining the correctness of the numerical value based on the relative positional relationship of the detection results for each region of each digit by the numerical value detection means. The image processing device described. 前記小数点検出手段の結果、複数の小数点が検出された場合は検出に失敗したと判定する手段をさらに有することを特徴とする請求項1乃至のいずれか1項に記載の画像処理装置。 4. The image processing apparatus according to claim 1, further comprising means for determining that detection has failed when a plurality of decimal points are detected as a result of the decimal point detection means. 前記小数点検出手段における小数点検出数に応じて、前記表示器に表示された数値が整数値か否かを判定することを特徴とする請求項1乃至のいずれか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 4 , wherein it is determined whether the numerical value displayed on the display device is an integer value according to the number of decimal points detected by the decimal point detection means. . 小数点の画像上の大きさを指定する小数点サイズ指定手段をさらに有し、
前記小数点検出手段は、前記小数点サイズ指定手段において指定されたサイズに応じて、前記小数点の検出を制御することを特徴とする請求項1乃至のいずれか1項に記載の画像処理装置。
further comprising decimal point size designation means for designating the size of the decimal point on the image;
6. The image processing apparatus according to claim 1, wherein the decimal point detection means controls detection of the decimal point according to the size specified by the decimal point size specification means.
前記小数点検出手段の検出対象とする領域は、前記特定手段により特定された検出範囲のうち、画面の下側の領域であることを特徴とする請求項1乃至のいずれか1項に記載の画像処理装置。 7. The area to be detected by the decimal point detecting means is a lower area of the screen within the detection range specified by the specifying means. Image processing device. 表示器に点灯した複数セグメントの組み合わせで示された数値を検出する画像処理装置の制御方法であって、
前記表示器を撮像した画像を取得する取得工程と、
取得工程で得た画像における検出範囲を特定する特定工程と、
前記検出範囲を桁毎の領域に分割する分割工程と、
前記桁毎の領域ごとに、点灯状態から数値を検出する数値検出工程と、
前記検出範囲のうち、複数の前記桁毎の領域に跨る領域を対象として点灯状態から小数点を検出する小数点検出工程と、
前記小数点検出工程で検出された小数点の位置と、前記桁毎の領域との位置関係とに基づき、前記数値全体における前記小数点の位置を決定する決定工程と、
を有する制御方法。
A method for controlling an image processing device that detects a numerical value indicated by a combination of a plurality of segments lit on a display, the method comprising:
an acquisition step of acquiring an image of the display;
an identification step of identifying a detection range in the image obtained in the acquisition step;
a dividing step of dividing the detection range into areas for each digit;
a numerical value detection step of detecting a numerical value from a lighting state for each area of each digit;
A decimal point detection step of detecting a decimal point from a lighting state in a region spanning a plurality of digit regions within the detection range ;
a determining step of determining the position of the decimal point in the entire numerical value based on the position of the decimal point detected in the decimal point detection step and the positional relationship with the area for each digit;
A control method having
コンピュータを、請求項1乃至のいずれか1項に記載の画像処理装置として機能させる、コンピュータが実行することが可能なプログラム。 A program executable by a computer that causes the computer to function as the image processing apparatus according to any one of claims 1 to 7 .
JP2019166873A 2019-09-13 2019-09-13 Image processing device, its control method, program Active JP7387346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019166873A JP7387346B2 (en) 2019-09-13 2019-09-13 Image processing device, its control method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019166873A JP7387346B2 (en) 2019-09-13 2019-09-13 Image processing device, its control method, program

Publications (2)

Publication Number Publication Date
JP2021043836A JP2021043836A (en) 2021-03-18
JP7387346B2 true JP7387346B2 (en) 2023-11-28

Family

ID=74863385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019166873A Active JP7387346B2 (en) 2019-09-13 2019-09-13 Image processing device, its control method, program

Country Status (1)

Country Link
JP (1) JP7387346B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023129943A (en) * 2022-03-07 2023-09-20 日鉄ソリューションズ株式会社 Information processing system, information processing device, information processing method, and program
CN114998887B (en) * 2022-08-08 2022-10-11 山东精惠计量检测有限公司 Intelligent identification method for electric energy meter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233657A (en) 2007-03-22 2008-10-02 Yaskawa Electric Corp Parameter display device
JP2015197851A (en) 2014-04-02 2015-11-09 大成建設株式会社 Image processor, program for image processing and information management system
JP2016173760A (en) 2015-03-17 2016-09-29 富士電機株式会社 Numerical value recognition apparatus, numerical value recognition method, and numerical value recognition program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2760549B2 (en) * 1989-03-07 1998-06-04 三洋電機株式会社 Information processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233657A (en) 2007-03-22 2008-10-02 Yaskawa Electric Corp Parameter display device
JP2015197851A (en) 2014-04-02 2015-11-09 大成建設株式会社 Image processor, program for image processing and information management system
JP2016173760A (en) 2015-03-17 2016-09-29 富士電機株式会社 Numerical value recognition apparatus, numerical value recognition method, and numerical value recognition program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
画像処理技術を用いた設備自動監視判定システム,画像ラボ 第30巻 第8号,2019年08月10日

Also Published As

Publication number Publication date
JP2021043836A (en) 2021-03-18

Similar Documents

Publication Publication Date Title
US11900316B2 (en) Information processing apparatus, control method, and program
US11024036B2 (en) Extracting an object region from an extraction target image including a display surface
CN112041906B (en) Reading system, reading method, program, and storage medium
JP5311143B2 (en) Measuring apparatus and method, and program
US8483859B2 (en) Image processing device and image processing method
US20200265256A1 (en) Device and method for analyzing state of manual work by worker, and work analysis program
CN108475431B (en) Image processing apparatus, image processing system, image processing method, and recording medium
JP7387346B2 (en) Image processing device, its control method, program
US11386934B2 (en) Method and device for displaying target object
JP2016194834A (en) Conformity determination method, conformity determination program, and conformity determination system
US20030174253A1 (en) Object detection method using an image-pickup device with easy detection masking region setting and object detection apparatus using the method
JP7187265B2 (en) Image processing device and its control method and program
CN110730345B (en) Image display method, image recognition device, image display medium, image recognition device, and image recognition system
JP6516884B2 (en) Connection inspection work support system
US20120237118A1 (en) Image processing device, image processing method, and image processing program
JP2952673B2 (en) Region of interest extraction method and cutout method
CN112071246B (en) Method and device for positioning sub-pixels of display panel and compensation method of display panel
JPH0779429A (en) Image monitoring device
JP2023058726A (en) Data generation device, data generation method and program
JP7466303B2 (en) Image processing device, control method thereof, program, and image processing system
JP2023058726A5 (en)
JP2021064300A (en) Information processing apparatus, information processing method, and program
US10706315B2 (en) Image processing device, image processing method, and computer program product
US6549655B1 (en) Image binarization method and image processing system using the same
JP2004235768A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220906

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231115

R151 Written notification of patent or utility model registration

Ref document number: 7387346

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151