JP2019090125A - Portable information processing device and program - Google Patents

Portable information processing device and program Download PDF

Info

Publication number
JP2019090125A
JP2019090125A JP2017218665A JP2017218665A JP2019090125A JP 2019090125 A JP2019090125 A JP 2019090125A JP 2017218665 A JP2017218665 A JP 2017218665A JP 2017218665 A JP2017218665 A JP 2017218665A JP 2019090125 A JP2019090125 A JP 2019090125A
Authority
JP
Japan
Prior art keywords
value
actual measurement
processor
correction
imaging data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017218665A
Other languages
Japanese (ja)
Other versions
JP7009171B2 (en
Inventor
俊明 宮脇
Toshiaki Miyawaki
俊明 宮脇
幸三 金田
Kozo Kaneda
幸三 金田
幸也 安久
Yukiya Aku
幸也 安久
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.)
Seiren Co Ltd
Original Assignee
Seiren Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiren Co Ltd filed Critical Seiren Co Ltd
Priority to JP2017218665A priority Critical patent/JP7009171B2/en
Publication of JP2019090125A publication Critical patent/JP2019090125A/en
Application granted granted Critical
Publication of JP7009171B2 publication Critical patent/JP7009171B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Treatment Of Fiber Materials (AREA)

Abstract

To provide a portable information processing device and a program capable of improving the accuracy of measuring the number of plural filaments.SOLUTION: A processor acquires first imaging data of a first reference image including first filaments the number of which is a first reference value, measures a first actual measurement value of the number of the first filaments, acquires second imaging data of a second reference image including second filaments the number of which is a second reference value, measures a second actual measurement value of the number of the second filaments, acquires third imaging data of a third reference image including third filaments the number of which is a third reference value, measures a third actual measurement value of the number of the third filaments, calculates a correction coefficient according to a first correction value corresponding to a first difference value between the first reference value and the first actual measurement value, a second correction value corresponding to a second difference value between the second reference value and the second actual measurement value, and a third correction value corresponding to a third difference value between the third reference value and the third actual measurement value, acquires fourth imaging data of a measurement target object including fourth filaments, measures a fourth actual measurement value of the number of the fourth filaments, calculates the corrected number obtained by correcting the fourth actual measurement value by the correction coefficient, and outputs the corrected number to a display device.SELECTED DRAWING: Figure 8

Description

本発明は、複数の線条の本数を計測する携帯型情報処理装置に関する。   The present invention relates to a portable information processing apparatus that measures the number of a plurality of filaments.

複数の線条の本数の計測に関する技術が提案されている。例えば、特許出願人は、特許文献1で、線条検査方法及び線条検査装置を提案している。線条検査方法及び線条検査装置では、織物の2次元空間的なテクスチャ特徴が抽出され、糸交差角度、経糸数及び緯糸数が数学的に求められる。前述のテクスチャ特徴の抽出アルゴリズムは、次の手順(1)〜手順(5)を含む。即ち、(1)デジタルスチルカメラから織物のデジタル画像データを取得する。(2)デジタル画像データに窓関数処理を施す。(3)窓関数処理されたデジタル画像データを高速フーリエ変換し、フーリエスペクトルを取得する。(4)フーリエスペクトルのピークを抽出する。(5)各ピークの情報(角度、周波数)を織物のテクスチャ特徴量(糸交差角度、経糸数及び緯糸数)に対応させる。線条検査方法及び線条検査装置は、織物の他、印刷又はエッチングによってメッシュ状の線条が形成されたフィルム、シート、スクリーン又はプレートを検査対象とする。例えば、線条検査方法及び線条検査装置は、プラズマディスプレイ用の電磁波シールドフィルタ、生化学用の分離フィルタ、印刷用のスクリーン紗又は網戸を検査対象とする。   Techniques for measuring the number of multiple filaments have been proposed. For example, the patent applicant has proposed a filament inspection method and a filament inspection apparatus in Patent Document 1. In the filament inspection method and the filament inspection apparatus, two-dimensional spatial texture features of the fabric are extracted, and the yarn crossing angle, the number of warps and the number of wefts are mathematically determined. The above-described texture feature extraction algorithm includes the following steps (1) to (5). That is, (1) Digital image data of fabric is acquired from a digital still camera. (2) Perform window function processing on digital image data. (3) Fast Fourier Transform the windowed digital image data to obtain a Fourier spectrum. (4) Extract the peak of the Fourier spectrum. (5) The information (angle, frequency) of each peak is made to correspond to the texture feature amount (thread crossing angle, number of warps and number of wefts) of the fabric. The filament inspection method and the filament inspection apparatus inspect a film, a sheet, a screen or a plate on which a mesh filament is formed by printing or etching, as well as the fabric. For example, the filament inspection method and the filament inspection apparatus inspect an electromagnetic wave shield filter for plasma display, a separation filter for biochemistry, a screen tile or screen door for printing.

非特許文献1には、高速フーリエ変換(FFT)に関する技術が開示されている。非特許文献2には、非線形最小二乗法(多項式近似)に関する技術が開示されている。   Non-Patent Document 1 discloses a technique related to fast Fourier transform (FFT). Non-Patent Document 2 discloses a technique related to nonlinear least squares method (polynomial approximation).

特許第4520794号公報Patent No. 4520794

酒井幸市著、「Visual Basic&Visual C++による デジタル画像処理入門」、CQ出版株式会社、2003年Koichi Sakai, "Introduction to Digital Image Processing with Visual Basic & Visual C ++", CQ Publishing Co., Ltd., 2003 金谷健一著、「これなら分かる最適化数学 基礎原理から計算手法まで」、共立出版株式会社、2005年Kanetani Kenichi, "From this basic theory of optimization mathematics to calculation methods that can be understood by this, calculation methods", Kyoritsu Publishing Co., Ltd., 2005

特許出願人が提案する上記の技術によれば、経糸及び緯糸のような特定の方向に互いに平行な複数の線条の本数を計測することができる。発明者は、大型の装置を用いることなく、携帯型情報処理装置を用いて、複数の線条の本数を計測できる技術について検討した。その際、発明者は、携帯型情報処理装置であっても、複数の線条を精度よく計測できるようにする点を考慮した。   According to the above-mentioned technique proposed by the patent applicant, it is possible to measure the number of a plurality of filaments parallel to one another in a specific direction such as warp and weft. The inventor examined a technology capable of measuring the number of a plurality of filaments using a portable information processing device without using a large-sized device. At that time, the inventor considered that even in the portable information processing apparatus, it was possible to measure a plurality of filaments with high accuracy.

本発明は、複数の線条の本数の計測精度を向上させることが可能な携帯型情報処理装置及びプログラムを提供することを目的とする。   An object of the present invention is to provide a portable information processing apparatus and program capable of improving the measurement accuracy of the number of a plurality of filaments.

本発明の一側面は、プロセッサを備え、前記プロセッサは、撮像装置によって撮像され且つ単位長さ当たりの本数が第一基準値に設定された設定方向に沿った互いに平行な複数の第一線条を含む第一基準画像に対応する第一撮像データを取得する第一取得処理と、前記第一撮像データを処理対象として、前記第一線条の前記単位長さ当たりの本数の実測値である第一実測値を計測する第一計測処理と、前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第一基準値より大きな第二基準値に設定された前記設定方向に沿った互いに平行な複数の第二線条を含む第二基準画像に対応する第二撮像データを取得する第二取得処理と、前記第二撮像データを処理対象として、前記第二線条の前記単位長さ当たりの本数の実測値である第二実測値を計測する第二計測処理と、前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第二基準値より大きな第三基準値に設定された前記設定方向に沿った互いに平行な複数の第三線条を含む第三基準画像に対応する第三撮像データを取得する第三取得処理と、前記第三撮像データを処理対象として、前記第三線条の前記単位長さ当たりの本数の実測値である第三実測値を計測する第三計測処理と、前記第一基準値と前記第一実測値との差である第一差値に応じた第一補正値と、前記第二基準値と前記第二実測値との差である第二差値に応じた第二補正値と、前記第三基準値と前記第三実測値との差である第三差値に応じた第三補正値と、に従い、補正係数を算出する第一算出処理と、前記撮像装置によって撮像され且つ前記設定方向に沿った互いに平行な複数の第四線条を含む計測対象物に対応する第四撮像データを取得する第四取得処理と、前記第四撮像データを処理対象として、前記第四線条の前記単位長さ当たりの本数の実測値である第四実測値を計測する第四計測処理と、前記補正係数によって前記第四実測値を補正した補正本数を算出する第二算出処理と、前記補正本数を表示する表示装置に前記補正本数を出力する出力処理と、を実行する、携帯型情報処理装置である。   One aspect of the present invention comprises a processor, wherein the processor is configured to capture a plurality of first filaments parallel to each other along a setting direction in which the number per unit length is set to a first reference value. A first acquisition process of acquiring first imaging data corresponding to a first reference image including the first image data, and an actual measurement value of the number of the first filament per unit length for the first imaging data as a processing target A first measurement process for measuring a first actual measurement value, and each other along the setting direction which is imaged by the imaging device and the number per unit length is set to a second reference value larger than the first reference value A second acquisition process for acquiring second imaging data corresponding to a second reference image including a plurality of parallel second filaments; and the unit length of the second filaments for processing the second imaging data It is the actual value of the number of hits Second measurement processing for measuring two actual measurement values; parallel to each other along the setting direction which is imaged by the imaging device and the number per unit length is set to a third reference value larger than the second reference value A third acquisition process for acquiring third imaging data corresponding to a third reference image including a plurality of third filaments, and the number per unit length of the third filaments for the third imaging data as a processing target A third measurement process for measuring a third actual measurement value which is an actual measurement value, a first correction value according to a first difference value which is a difference between the first reference value and the first actual measurement value, and the second A second correction value according to a second difference value which is a difference between a reference value and the second actual measurement value, and a third correction value according to a third difference value which is a difference between the third reference value and the third actual measurement value First calculation processing for calculating a correction coefficient according to three correction values, and imaging by the imaging device A fourth acquisition process for acquiring fourth imaging data corresponding to a measurement object including a plurality of parallel fourth parallel stripes along the setting direction; and the fourth line with the fourth imaging data as a processing target A fourth measurement process for measuring a fourth actual measurement value which is an actual measurement value of the number per unit length of the strip; and a second calculation process for calculating a correction number in which the fourth actual measurement value is corrected by the correction coefficient; It is a portable information processing apparatus which performs the output process which outputs the said correction number to the display apparatus which displays the said correction number.

この携帯型情報処理装置によれば、第一基準画像と第二基準画像と第三基準画像により補正係数を算出することができる。補正係数によって複数の第四線条の本数を補正することができる。補正本数を表示装置に表示することができる。   According to this portable information processing apparatus, the correction coefficient can be calculated from the first reference image, the second reference image, and the third reference image. The number of the plurality of fourth filaments can be corrected by the correction coefficient. The number of corrections can be displayed on the display device.

携帯型情報処理装置では、前記第一算出処理は、前記第一差値を前記第一実測値で除して前記第一補正値を算出する処理と、前記第二差値を前記第二実測値で除して前記第二補正値を算出する処理と、前記第三差値を前記第三実測値で除して前記第三補正値を算出する処理と、を含む、ようにしてもよい。この場合、前記第一算出処理は、前記第一実測値、前記第二実測値及び前記第三実測値と、前記第一補正値、前記第二補正値及び前記第三補正値と、を入力値としたガウスの消去法の実行により、前記補正係数を算出する処理である、ようにしてもよい。これらの構成によれば、複数の第四線条の本数の計測精度の向上に寄与する補正係数を算出することができる。   In the portable information processing apparatus, the first calculation processing is processing of calculating the first correction value by dividing the first difference value by the first actual measurement value, and the second measurement of the second difference value. A process of calculating the second correction value by dividing by a value, and a process of calculating the third correction value by dividing the third difference value by the third actual value may be included. . In this case, the first calculation process inputs the first actual measurement value, the second actual measurement value, and the third actual measurement value, and the first correction value, the second correction value, and the third correction value. The processing may be such that the correction coefficient is calculated by executing a Gaussian elimination method as a value. According to these configurations, it is possible to calculate the correction coefficient that contributes to the improvement of the measurement accuracy of the number of the plurality of fourth filaments.

前記携帯型情報処理装置は、前記プロセッサと、前記撮像装置と、前記表示装置と、を備える一体型の装置である、ようにしてもよい。この構成によれば、複数の第四線条の本数の計測を簡易且つスムーズに行うことができる。   The portable information processing device may be an integrated device including the processor, the imaging device, and the display device. According to this configuration, the measurement of the number of the plurality of fourth filaments can be performed easily and smoothly.

本発明の他の側面は、携帯型情報処理装置を制御するプロセッサに、撮像装置によって撮像され且つ単位長さ当たりの本数が第一基準値に設定された設定方向に沿った互いに平行な複数の第一線条を含む第一基準画像に対応する第一撮像データを取得する第一取得処理と、前記第一撮像データを処理対象として、前記第一線条の前記単位長さ当たりの本数の実測値である第一実測値を計測する第一計測処理と、前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第一基準値より大きな第二基準値に設定された前記設定方向に沿った互いに平行な複数の第二線条を含む第二基準画像に対応する第二撮像データを取得する第二取得処理と、前記第二撮像データを処理対象として、前記第二線条の前記単位長さ当たりの本数の実測値である第二実測値を計測する第二計測処理と、前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第二基準値より大きな第三基準値に設定された前記設定方向に沿った互いに平行な複数の第三線条を含む第三基準画像に対応する第三撮像データを取得する第三取得処理と、前記第三撮像データを処理対象として、前記第三線条の前記単位長さ当たりの本数の実測値である第三実測値を計測する第三計測処理と、前記第一基準値と前記第一実測値との差である第一差値に応じた第一補正値と、前記第二基準値と前記第二実測値との差である第二差値に応じた第二補正値と、前記第三基準値と前記第三実測値との差である第三差値に応じた第三補正値と、に従い、補正係数を算出する第一算出処理と、前記撮像装置によって撮像され且つ前記設定方向に沿った互いに平行な複数の第四線条を含む計測対象物に対応する第四撮像データを取得する第四取得処理と、前記第四撮像データを処理対象として、前記第四線条の前記単位長さ当たりの本数の実測値である第四実測値を計測する第四計測処理と、前記補正係数によって前記第四実測値を補正した補正本数を算出する第二算出処理と、前記補正本数を表示する表示装置に前記補正本数を出力する出力処理と、を実行させるプログラムである。   According to another aspect of the present invention, a processor for controlling a portable information processing apparatus is provided with a plurality of processors parallel to one another, which are imaged by an imaging apparatus and whose number per unit length is set to a first reference value. A first acquisition process of acquiring first imaging data corresponding to a first reference image including a first filament; and the number of the first imaging data per unit length of the first A first measurement process of measuring a first actual measurement value which is an actual measurement value; and the setting direction which is imaged by the imaging device and in which the number per unit length is set to a second reference value larger than the first reference value. A second acquisition process for acquiring second imaging data corresponding to a second reference image including a plurality of second filaments parallel to one another, and the second imaging data as a processing target Measurement of the number per unit length A second measurement process of measuring a second actual measurement value, and the setting direction in which an image is captured by the imaging device and the number per unit length is set to a third reference value larger than the second reference value A third acquisition process of acquiring third imaging data corresponding to a third reference image including a plurality of parallel parallel third filaments, and the unit length of the third filaments for processing the third imaging data A third measurement process for measuring a third actual measurement value which is an actual measurement value of the number of hits, a first correction value according to a first difference value which is a difference between the first reference value and the first actual measurement value; A second correction value corresponding to a second difference value which is a difference between the second reference value and the second actual measurement value, and a third difference value which is a difference between the third reference value and the third actual measurement value A first calculation process for calculating a correction coefficient according to a third correction value according to A fourth acquisition process for acquiring fourth imaging data corresponding to a measurement object including a plurality of parallel parallel fourth filaments along the set direction, and the fourth imaging data as a processing target; A fourth measurement process for measuring a fourth actual measurement value which is an actual measurement value of the number per unit length of the four filaments, and a second calculation process for calculating a correction number in which the fourth actual measurement value is corrected by the correction coefficient And an output process of outputting the number of corrections to a display device for displaying the number of corrections.

このプログラムによれば、携帯型情報処理装置で、第一基準画像と第二基準画像と第三基準画像により補正係数を算出することができる。補正係数によって複数の第四線条の本数を補正することができる。補正本数を表示装置に表示することができる。このプログラムは、更に、上記の携帯型情報処理装置と同様の事項により特定されたプログラムとすることもできる。   According to this program, the correction coefficient can be calculated from the first reference image, the second reference image, and the third reference image in the portable information processing apparatus. The number of the plurality of fourth filaments can be corrected by the correction coefficient. The number of corrections can be displayed on the display device. This program can also be a program specified by the same items as the above-mentioned portable information processing device.

本発明によれば、複数の線条の本数の計測精度を向上させることが可能な携帯型情報処理装置及びプログラムを得ることができる。   According to the present invention, it is possible to obtain a portable information processing apparatus and program capable of improving the measurement accuracy of the number of a plurality of filaments.

携帯型情報処理装置の概略構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic structure of a portable information processing apparatus. 上段は、撮像装置によって計測対象物を撮像している状態の一例を模式的に示す斜視図である。下段は、計測対象物の概略構成の一例を示す平面図である。計測対象物表面の部分拡大図を示す。The upper part is a perspective view schematically showing an example of a state in which the object to be measured is imaged by the imaging device. The lower part is a plan view showing an example of a schematic configuration of a measurement object. The elements on larger scale of a measurement object surface are shown. 上段は、撮像装置によって第一基準画像を撮像している状態の一例を模式的に示す斜視図である。下段は、第一サンプルの概略構成の一例を示す平面図である。第一基準画像の部分拡大図を示す。The upper part is a perspective view schematically showing an example of a state in which the first reference image is captured by the imaging device. The lower part is a plan view showing an example of a schematic configuration of the first sample. The partial enlarged view of a 1st reference | standard image is shown. 上段は、撮像装置によって第二基準画像を撮像している状態の一例を模式的に示す斜視図である。下段は、第二サンプルの概略構成の一例を示す平面図である。第二基準画像の部分拡大図を示す。The upper part is a perspective view schematically showing an example of a state in which the second reference image is captured by the imaging device. The lower part is a plan view showing an example of a schematic configuration of the second sample. The partial enlarged view of a 2nd reference | standard image is shown. 上段は、撮像装置によって第三基準画像を撮像している状態の一例を模式的に示す斜視図である。下段は、第三サンプルの概略構成の一例を示す平面図である。第三基準画像の部分拡大図を示す。The upper part is a perspective view schematically showing an example of a state in which the third reference image is captured by the imaging device. The lower part is a plan view showing an example of a schematic configuration of the third sample. The partial enlarged view of a 3rd reference | standard image is shown. 操作画面の概略構成の一例を示す図である。図3上段に対応し、撮像範囲に一致する第一基準画像の範囲がプレビュー領域に表示されている状態を示す。It is a figure which shows an example of schematic structure of an operation screen. 3 corresponds to the upper part of FIG. 3 and shows a state in which the range of the first reference image that matches the imaging range is displayed in the preview area. メイン処理の第一部分のフローチャートである。It is a flowchart of the 1st part of main processing. メイン処理の第二部分のフローチャートである。It is a flowchart of the 2nd part of main processing. 操作画面の概略構成の一例を示す図である。図2上段に対応し、撮像範囲に一致する計測対象物表面の範囲がプレビュー領域に表示されている状態を示す。操作画面は、計測対象物に含まれる複数の第四線条の単位長さ当たりの本数(補正本数)を含む。It is a figure which shows an example of schematic structure of an operation screen. It corresponds to the upper part of FIG. 2 and shows a state in which the range of the surface of the measurement object that matches the imaging range is displayed in the preview area. The operation screen includes the number (the number of corrections) per unit length of the plurality of fourth filaments included in the measurement object. 第一計測処理のフローチャートである。It is a flowchart of a 1st measurement process. 第二計測処理のフローチャートである。It is a flowchart of a 2nd measurement process. 第三計測処理のフローチャートである。It is a flowchart of 3rd measurement processing. 第四計測処理のフローチャートである。It is a flowchart of a 4th measurement process. 実測処理のフローチャートである。It is a flowchart of measurement processing. 第一算出処理のフローチャートである。It is a flowchart of a first calculation process.

本発明を実施するための実施形態について、図面を用いて説明する。本発明は、以下に記載の構成に限定されるものではなく、同一の技術的思想において種々の構成を採用することができる。例えば、以下に示す構成の一部は、省略し又は他の構成等に置換してもよい。他の構成を含むようにしてもよい。   Embodiments for carrying out the present invention will be described using the drawings. The present invention is not limited to the configurations described below, and various configurations can be adopted in the same technical idea. For example, part of the configuration described below may be omitted or replaced with another configuration or the like. Other configurations may be included.

<携帯型情報処理装置>
携帯型情報処理装置10について、図1〜図6を参照して説明する。携帯型情報処理装置10は、携帯型のコンピュータである。携帯型情報処理装置10は、プロセッサ11と、ストレージ12と、メモリ13と、操作装置14と、表示装置15と、撮像装置17を備える(図1参照)。携帯型情報処理装置10としては、例えば、スマートフォン、タブレット端末又はラップトップ型のパーソナルコンピュータが例示される。実施形態では、携帯型情報処理装置10として、スマートフォンを例示する(図2〜図5の各上段参照)。携帯型情報処理装置10としてのスマートフォンは、前述の各部を内蔵する一体型の装置である。
<Portable Information Processing Device>
The portable information processing apparatus 10 will be described with reference to FIGS. 1 to 6. The portable information processing apparatus 10 is a portable computer. The portable information processing device 10 includes a processor 11, a storage 12, a memory 13, an operation device 14, a display device 15, and an imaging device 17 (see FIG. 1). As the portable information processing apparatus 10, for example, a smartphone, a tablet terminal, or a laptop personal computer is exemplified. In the embodiment, a smart phone is illustrated as the portable information processing apparatus 10 (see upper stages in FIGS. 2 to 5). A smartphone as the portable information processing device 10 is an integrated device incorporating the above-described units.

プロセッサ11は、携帯型情報処理装置10を制御する制御装置である。プロセッサ11は、演算処理を実行し、携帯型情報処理装置10を制御する。プロセッサ11は、例えば、CPUである。   The processor 11 is a control device that controls the portable information processing device 10. The processor 11 executes arithmetic processing to control the portable information processing apparatus 10. The processor 11 is, for example, a CPU.

ストレージ12は、フラッシュメモリである。但し、ストレージ12は、フラッシュメモリとは異なる記憶媒体であってもよい。例えば、ストレージ12は、ハードディスクであってもよい。ストレージ12は、OS(Operating System)と、各種のプログラムを記憶する。ストレージ12に記憶されるプログラムは、メイン処理(図7及び図8参照)のプログラムを含む。メイン処理のプログラムは、図10〜図15に示す各処理のプログラムを含む。   The storage 12 is a flash memory. However, the storage 12 may be a storage medium different from the flash memory. For example, the storage 12 may be a hard disk. The storage 12 stores an OS (Operating System) and various programs. The program stored in the storage 12 includes the program of the main process (see FIGS. 7 and 8). The program of the main process includes the program of each process shown in FIGS.

メイン処理のプログラムは、ストレージ12に事前にインストールされる。携帯型情報処理装置10は、メイン処理のプログラムを、例えば、次のように取得する。即ち、携帯型情報処理装置10は、メイン処理のプログラムを、このプログラムを記憶する所定のサーバ装置からダウンロードする。前述のサーバ装置は、前述のプログラムを、コンピュータが読み取り可能な記憶媒体に記憶する。この他、携帯型情報処理装置10は、メイン処理のプログラムを、コンピュータが読み取り可能な記憶媒体から読み取るようにしてもよい。コンピュータが読み取り可能な記憶媒体は、非一時的な記憶媒体である。コンピュータが読み取り可能な記憶媒体は、一時的な記憶媒体を含まない。非一時的な記憶媒体としては、磁気ディスク、光ディスク又は半導体メモリが例示される。一時的な記憶媒体としては、伝送信号が例示される。   The main processing program is pre-installed on the storage 12. The portable information processing apparatus 10 acquires the program of the main process, for example, as follows. That is, the portable information processing device 10 downloads the program of the main process from a predetermined server device storing the program. The aforementioned server apparatus stores the aforementioned program in a computer readable storage medium. In addition to this, the portable information processing apparatus 10 may read the program of the main processing from a computer readable storage medium. The computer readable storage medium is a non-transitory storage medium. The computer readable storage medium does not include a temporary storage medium. As a non-temporary storage medium, a magnetic disk, an optical disk or a semiconductor memory is exemplified. A transmission signal is illustrated as a temporary storage medium.

メモリ13は、プロセッサ11がストレージ12に記憶されたOSと各種のプログラムを実行する際の記憶領域となる。メモリ13には、処理の実行途中に所定のデータが所定の記憶領域に記憶される。メモリ13は、例えば、RAMである。携帯型情報処理装置10では、プロセッサ11が、ストレージ12に記憶されたOSと各種のプログラムを実行する。これに伴い、携帯型情報処理装置10では、各種の処理が実行され、実行された処理に対応する機能が実現される。   The memory 13 is a storage area when the processor 11 executes the OS stored in the storage 12 and various programs. The memory 13 stores predetermined data in a predetermined storage area during execution of processing. The memory 13 is, for example, a RAM. In the portable information processing apparatus 10, the processor 11 executes the OS and various programs stored in the storage 12. Along with this, in the portable information processing apparatus 10, various types of processing are executed, and a function corresponding to the executed processing is realized.

操作装置14は、携帯型情報処理装置10に入力される各種の指示を受け付ける。携帯型情報処理装置10がスマートフォンである場合、操作装置14は、公知のスマートフォンと同様、タッチパッドを含む。携帯型情報処理装置10の操作者は、タッチパッドによる操作装置14に対して、例えば、タップ、ピンチ、フリック又はスワイプの各操作を行う。実施形態では、携帯型情報処理装置10の操作者を「ユーザ」という。操作装置14では、各操作に応じた指示が受け付けられる。実施形態では、操作装置14は、所定のハードキーを含むものであってもよい。プロセッサ11は、操作装置14で受け付けられた所定の指示を、操作装置14から取得する。   The controller device 14 receives various instructions input to the portable information processing apparatus 10. When the portable information processing device 10 is a smart phone, the operation device 14 includes a touch pad as in the case of a known smart phone. The operator of the portable information processing apparatus 10 performs, for example, each operation of tap, pinch, flick or swipe on the operation device 14 by the touch pad. In the embodiment, the operator of the portable information processing apparatus 10 is referred to as a "user". The operation device 14 receives an instruction corresponding to each operation. In the embodiment, the operation device 14 may include a predetermined hard key. The processor 11 acquires from the operating device 14 a predetermined instruction received by the operating device 14.

表示装置15は、所定の情報を表示する。例えば、表示装置15は、メイン処理の実行時、メイン処理用の操作画面30を表示する(図6参照)。図2〜図5の各上段では、操作画面30の図示は、省略されている。操作画面30については、後述する。表示装置15としては、液晶ディスプレイが例示される。携帯型情報処理装置10がタブレット端末である場合、タッチパッドによる操作装置14と表示装置15は一体とされ、タッチパネル16となる。   The display device 15 displays predetermined information. For example, when executing the main processing, the display device 15 displays the operation screen 30 for the main processing (see FIG. 6). In each upper stage of FIGS. 2 to 5, the illustration of the operation screen 30 is omitted. The operation screen 30 will be described later. As the display device 15, a liquid crystal display is exemplified. When the portable information processing device 10 is a tablet terminal, the operation device 14 and the display device 15 by a touch pad are integrated and become a touch panel 16.

撮像装置17は、カメラである。撮像装置17は、オートフォーカス機能を備える。撮像装置17は、外界を撮像する。撮像装置17によって撮像される画像は、カラーの静止画とする。従って、前述の画像に対応する撮像データは、カラーの静止画に対応する画像データである。実施形態では、撮像装置17は、計測対象物40を撮像する(図2上段参照)。更に、撮像装置17は、第一サンプル50の第一基準画像51を撮像し、第二サンプル60の第二基準画像61を撮像し、第三サンプル70の第三基準画像71を撮像する(図3〜図5の各上段参照)。計測対象物40と第一サンプル50と第二サンプル60と第三サンプル70については、後述する。   The imaging device 17 is a camera. The imaging device 17 has an autofocus function. The imaging device 17 images the outside world. An image captured by the imaging device 17 is a color still image. Therefore, the imaging data corresponding to the above-mentioned image is image data corresponding to a color still image. In the embodiment, the imaging device 17 images the measurement object 40 (see the upper part of FIG. 2). Furthermore, the imaging device 17 captures the first reference image 51 of the first sample 50, captures the second reference image 61 of the second sample 60, and captures the third reference image 71 of the third sample 70 (see FIG. 3 to 5 in each upper stage). The measurement object 40, the first sample 50, the second sample 60, and the third sample 70 will be described later.

携帯型情報処理装置10は、メイン処理のプログラムの起動に伴い、次の計測装置として機能する。前述の計測装置は、設定方向に沿った互いに平行な複数の第四線条の単位長さ当たりの本数を計測する装置である。設定方向は、任意の方向である。単位長さは、設定方向に直交する方向の寸法である。単位長さは、例えば、1インチである。実施形態では、単位長さは、1インチとする。但し、単位長さは、これとは異なる寸法としてもよい。複数の第四線条の単位長さ当たりの本数を計測する場合、携帯型情報処理装置10では、プロセッサ11は、出願人が特許文献1で提案する処理を実行する。第四線条については、計測対象物40と共に後述する。   The portable information processing device 10 functions as the next measuring device with the activation of the main processing program. The above-mentioned measuring device is a device which measures the number per unit length of a plurality of parallel parallel fourth filaments along the setting direction. The setting direction is an arbitrary direction. The unit length is a dimension in the direction orthogonal to the setting direction. The unit length is, for example, 1 inch. In an embodiment, the unit length is 1 inch. However, the unit length may be a dimension different from this. In the case of measuring the number per unit length of the plurality of fourth filaments, in the portable information processing apparatus 10, the processor 11 executes the processing proposed by the applicant in Patent Document 1. The fourth filament will be described later together with the measurement object 40.

携帯型情報処理装置10は、上述した複数の第四線条の単位長さ当たりの本数を計測するに際し、この計測のためのキャリブレーションを実行する。このキャリブレーションでは、携帯型情報処理装置10は、設定方向に沿った互いに平行な複数の第一線条の単位長さ当たりの本数を計測し、設定方向に沿った互いに平行な複数の第二線条の単位長さ当たりの本数を計測し、設定方向に沿った互いに平行な複数の第三線条の単位長さ当たりの本数を計測する。携帯型情報処理装置10では、前述のキャリブレーションは、第一線条、第二線条及び第三線条の各計測結果に従い行われる。第一線条と第二線条と第三線条については、第一サンプル50と第二サンプル60と第三サンプル70と共に後述する。   The portable information processing apparatus 10 executes calibration for this measurement when measuring the number of the plurality of fourth filaments per unit length. In this calibration, the portable information processing device 10 measures the number per unit length of the plurality of first filaments parallel to one another along the setting direction, and selects the plurality of second parallel plurality along the setting direction. The number per unit length of the filaments is measured, and the number per unit length of the plurality of parallel third filaments along the set direction is measured. In the portable information processing apparatus 10, the above-described calibration is performed in accordance with the measurement results of the first, second, and third filaments. The first, second and third filaments will be described later together with the first sample 50, the second sample 60 and the third sample 70.

携帯型情報処理装置10は、計測対象物40、第一サンプル50、第二サンプル60及び第三サンプル70との距離Lが一定の寸法となる状態で、例えば、計測対象物40、第一サンプル50、第二サンプル60及び第三サンプル70の鉛直方向の上側に設置される(図2〜図5の各上段参照)。距離Lは、撮像装置17と、計測対象物40、第一サンプル50、第二サンプル60及び第三サンプル70の各表面の間の距離である。図2〜図5の各上段で、四角錐状に配置された2点鎖線は、撮像装置17の撮像範囲Aを明示する説明用の図示である。距離Lは、撮像範囲Aの設定方向に直交する方向の幅Wが単位長さに一致する寸法となる距離に設定するとよい。実施形態では、撮像範囲Aの幅Wは、単位長さに一致する寸法とする。   In the state where the distance L between the measurement target object 40, the first sample 50, the second sample 60, and the third sample 70 becomes a fixed dimension, the portable information processing apparatus 10, for example, the measurement target object 40, the first sample 50 and the second sample 60 and the third sample 70 in the vertical direction (see the upper stages in FIGS. 2 to 5). The distance L is a distance between the imaging device 17 and the surfaces of the measurement object 40, the first sample 50, the second sample 60, and the third sample 70. In each upper stage of FIGS. 2 to 5, a two-dot chain line arranged in a quadrangular pyramid shape is an illustration for illustrating the imaging range A of the imaging device 17. The distance L may be set to a distance such that the width W in the direction orthogonal to the setting direction of the imaging range A matches the unit length. In the embodiment, the width W of the imaging range A is a dimension that matches the unit length.

携帯型情報処理装置10は、メイン処理のプログラムがストレージ12に記憶されている点が、公知の携帯型情報処理装置と相違する。但し、携帯型情報処理装置10は、ハードウェア的には、公知の携帯型情報処理装置と同じ装置である。携帯型情報処理装置10は、上述した各部の他、公知の携帯型情報処理装置が備える構成を備える。例えば、携帯型情報処理装置10は、所定の通信方式に対応した通信装置を備える。通信装置は、携帯型情報処理装置10を通信ネットワークに接続する。通信装置は、通信ネットワークに接続された他の情報処理装置との間でデータ通信を実行する。また、携帯型情報処理装置10は、読取装置を備えていてもよい。読取装置は、次の記憶媒体からのデータを読み取る。読取装置は、次の記憶媒体にデータを書き込む。前述の記憶媒体は、例えば、メモリカードである。例えば、携帯型情報処理装置10がスマートフォンとは異なる携帯型のコンピュータであるとする。このような場合、前述の記憶媒体は、光ディスク又は磁気ディスクであってもよい。更に、撮像装置17は、動画を撮像する機能を備えていてもよい。   The portable information processing apparatus 10 is different from a known portable information processing apparatus in that a program of main processing is stored in the storage 12. However, in terms of hardware, the portable information processing apparatus 10 is the same apparatus as a known portable information processing apparatus. The portable information processing apparatus 10 has a configuration provided in a known portable information processing apparatus in addition to the above-described units. For example, the portable information processing device 10 includes a communication device compatible with a predetermined communication method. The communication device connects the portable information processing device 10 to a communication network. The communication device performs data communication with another information processing device connected to the communication network. The portable information processing apparatus 10 may also include a reading device. The reader reads data from the next storage medium. The reader writes the data to the next storage medium. The aforementioned storage medium is, for example, a memory card. For example, it is assumed that the portable information processing apparatus 10 is a portable computer different from a smartphone. In such a case, the aforementioned storage medium may be an optical disc or a magnetic disc. Furthermore, the imaging device 17 may have a function of capturing a moving image.

<計測対象物・第一サンプル・第二サンプル・第三サンプル>
計測対象物40について、図2を参照して説明する。第一サンプル50について、図3を参照して説明する。第二サンプル60について、図4を参照して説明する。第三サンプル70について、図5を参照して説明する。
<Measurement object, first sample, second sample, third sample>
The measurement object 40 will be described with reference to FIG. The first sample 50 will be described with reference to FIG. The second sample 60 will be described with reference to FIG. The third sample 70 will be described with reference to FIG.

計測対象物40は、複数の第四線条が互いに設定方向に沿った状態で配置された各種の物を含む。計測対象物40としては、織物、編物、電磁波フィルタ、分離フィルタ、スクリーン紗又は網戸が例示される。例えば、計測対象物40が織物であるとする(図2参照)。この場合、第四線条は、経糸41又は緯糸42である(図2下段参照)。第四線条が経糸41である場合、設定方向は、経糸方向である。経糸方向は、経糸41に沿った方向である。第四線条が緯糸42である場合、設定方向は、緯糸方向である。緯糸方向は、緯糸42に沿った方向である。   The measurement object 40 includes various objects in which a plurality of fourth filaments are arranged along the setting direction. The measurement object 40 is exemplified by a woven fabric, a knitted fabric, an electromagnetic wave filter, a separation filter, a screen weir or a screen door. For example, it is assumed that the measurement object 40 is a fabric (see FIG. 2). In this case, the fourth filament is a warp yarn 41 or a weft yarn 42 (see the lower part of FIG. 2). When the fourth filament is a warp 41, the setting direction is a warp direction. The warp direction is a direction along the warp 41. When the fourth filament is the weft yarn 42, the setting direction is the weft yarn direction. The weft direction is a direction along the weft.

第一サンプル50は、第一基準画像51を含む(図3参照)。第一サンプル50は、第一基準画像51が所定の媒体上に撮像可能な状態で形成された標準試料である。例えば、第一サンプル50は、第一基準画像51が記録媒体の表面に撮像可能な状態で印刷された標準試料である。実施形態では、第一サンプル50は、第一基準画像51が記録媒体の表面に撮像可能な状態で印刷された標準試料とする。第一基準画像51は、設定方向に沿った互いに平行な複数の第一線条を含む画像である(図3下段参照)。第一基準画像51では、複数の第一線条の単位長さ当たりの本数は、第一基準値に設定される。実施形態では、第一基準値は、50本/インチとする。第一基準画像51は、撮像装置17によって撮像される(図3上段参照)。第一サンプル50では、第一基準画像51が形成される表面は、平面とされる。   The first sample 50 includes a first reference image 51 (see FIG. 3). The first sample 50 is a standard sample formed such that the first reference image 51 can be imaged on a predetermined medium. For example, the first sample 50 is a standard sample on which the first reference image 51 is printed so as to be imaged on the surface of the recording medium. In the embodiment, the first sample 50 is a standard sample on which the first reference image 51 is printed so as to be imaged on the surface of the recording medium. The first reference image 51 is an image including a plurality of parallel first parallel streaks along the setting direction (see the lower part of FIG. 3). In the first reference image 51, the number per unit length of the plurality of first filaments is set to a first reference value. In the embodiment, the first reference value is 50 lines / inch. The first reference image 51 is captured by the imaging device 17 (see the upper part of FIG. 3). In the first sample 50, the surface on which the first reference image 51 is formed is flat.

第二サンプル60は、第二基準画像61を含む(図4参照)。第二サンプル60は、第二基準画像61が所定の媒体上に撮像可能な状態で形成された標準試料である。例えば、第二サンプル60は、第二基準画像61が記録媒体の表面に撮像可能な状態で印刷された標準試料である。実施形態では、第二サンプル60は、第二基準画像61が記録媒体の表面に撮像可能な状態で印刷された標準試料とする。第二基準画像61は、設定方向に沿った互いに平行な複数の第二線条を含む画像である(図4下段参照)。第二基準画像61では、複数の第二線条の単位長さ当たりの本数は、第一基準値より大きな第二基準値に設定される。実施形態では、第二基準値は、100本/インチとする。第二基準画像61は、撮像装置17によって撮像される(図4上段参照)。第二サンプル60では、第二基準画像61が形成される表面は、平面とされる。   The second sample 60 includes a second reference image 61 (see FIG. 4). The second sample 60 is a standard sample formed such that the second reference image 61 can be imaged on a predetermined medium. For example, the second sample 60 is a standard sample printed with the second reference image 61 in an imageable state on the surface of the recording medium. In the embodiment, the second sample 60 is a standard sample printed with the second reference image 61 in an imageable state on the surface of the recording medium. The second reference image 61 is an image including a plurality of parallel second streaks along the setting direction (see the lower part of FIG. 4). In the second reference image 61, the number per unit length of the plurality of second filaments is set to a second reference value larger than the first reference value. In the embodiment, the second reference value is 100 pcs / inch. The second reference image 61 is captured by the imaging device 17 (see the upper part of FIG. 4). In the second sample 60, the surface on which the second reference image 61 is formed is flat.

第三サンプル70は、第三基準画像71を含む(図5参照)。第三サンプル70は、第三基準画像71が所定の媒体上に撮像可能な状態で形成された標準試料である。例えば、第三サンプル70は、第三基準画像71が記録媒体の表面に撮像可能な状態で印刷された標準試料である。実施形態では、第三サンプル70は、第三基準画像71が記録媒体の表面に撮像可能な状態で印刷された標準試料とする。第三基準画像71は、設定方向に沿った互いに平行な複数の第三線条を含む画像である(図5下段参照)。第三基準画像71では、複数の第三線条の単位長さ当たりの本数は、第二基準値より大きな第三基準値に設定される。実施形態では、第三基準値は、200本/インチとする。第三基準画像71は、撮像装置17によって撮像される(図5上段参照)。第三サンプル70では、第三基準画像71が形成される表面は、平面とされる。   The third sample 70 includes a third reference image 71 (see FIG. 5). The third sample 70 is a standard sample formed such that the third reference image 71 can be imaged on a predetermined medium. For example, the third sample 70 is a standard sample on which the third reference image 71 is printed so as to be imaged on the surface of the recording medium. In the embodiment, the third sample 70 is a standard sample printed with the third reference image 71 ready for imaging on the surface of the recording medium. The third reference image 71 is an image including a plurality of parallel parallel third streaks along the setting direction (see the lower part of FIG. 5). In the third reference image 71, the number per unit length of the plurality of third filaments is set to a third reference value larger than the second reference value. In the embodiment, the third reference value is 200 lines / inch. The third reference image 71 is captured by the imaging device 17 (see the upper part of FIG. 5). In the third sample 70, the surface on which the third reference image 71 is formed is flat.

ユーザは、第一サンプル50と第二サンプル60と第三サンプル70を事前に準備する。例えば、ユーザは、次のような作業を実施する。即ち、ユーザは、携帯型情報処理装置10又はこれとは異なる公知の情報処理装置を操作する。携帯型情報処理装置10又はこれとは異なる公知の情報処理装置は、第一基準画像51に対応する画像データと、第二基準画像61に対応する画像データと、第三基準画像71に対応する画像データを記憶する。前述の各画像データは、所定のサーバ装置からダウンロードしてもよい。携帯型情報処理装置10又はこれとは異なる公知の情報処理装置は、印刷装置に接続される。印刷装置は、ユーザによる前述の操作に対応し、第一基準画像51と第二基準画像61と第三基準画像71を、記録媒体に印刷する。   The user prepares the first sample 50, the second sample 60 and the third sample 70 in advance. For example, the user performs the following work. That is, the user operates the portable information processing apparatus 10 or a different known information processing apparatus. The portable information processing apparatus 10 or a known information processing apparatus different from this corresponds to the image data corresponding to the first reference image 51, the image data corresponding to the second reference image 61, and the third reference image 71. Store image data. Each image data described above may be downloaded from a predetermined server device. The portable information processing apparatus 10 or a known information processing apparatus different therefrom is connected to the printing apparatus. The printing apparatus prints the first reference image 51, the second reference image 61, and the third reference image 71 on the recording medium, corresponding to the above-described operation by the user.

実施形態では、第一サンプル50と第二サンプル60と第三サンプル70は、別体とされている(図3〜図5参照)。第一サンプル50と第二サンプル60と第三サンプル70は、第一基準画像51と第二基準画像61と第三基準画像71が1枚の記録媒体に適宜配置された形式としてもよい。記録媒体としては、用紙が例示される。但し、記録媒体は、用紙とは異なる媒体であってもよい。記録媒体としては、公知の記録媒体を採用できる。   In the embodiment, the first sample 50, the second sample 60 and the third sample 70 are separated (see FIGS. 3 to 5). The first sample 50, the second sample 60, and the third sample 70 may have a format in which the first reference image 51, the second reference image 61, and the third reference image 71 are appropriately arranged on one recording medium. A sheet is exemplified as the recording medium. However, the recording medium may be a medium different from the sheet. A well-known recording medium can be employ | adopted as a recording medium.

<操作画面>
メイン処理用の操作画面30について、図6を参照して説明する。図6に示す操作画面30は、携帯型情報処理装置10が図3上段に示す状態である場合に対応する。操作画面30は、プレビュー領域31と、AF(Auto Focus)ボタン32と、第一サンプルボタン33と、第二サンプルボタン34と、第三サンプルボタン35と、キャリブレーションボタン36と、計測指示枠37と、終了ボタン38を含む。プレビュー領域31は、撮像範囲Aに対応する画像が表示される領域である。
<Operation screen>
The operation screen 30 for main processing will be described with reference to FIG. The operation screen 30 shown in FIG. 6 corresponds to the case where the portable information processing apparatus 10 is in the state shown in the upper part of FIG. The operation screen 30 includes a preview area 31, an AF (Auto Focus) button 32, a first sample button 33, a second sample button 34, a third sample button 35, a calibration button 36, and a measurement instruction frame 37. And an end button 38. The preview area 31 is an area in which an image corresponding to the imaging range A is displayed.

AFボタン32は、撮像装置17でのオートフォーカスの実行を指示する操作ボタンである。AFボタン32は、AF指示に対応付けられる。ユーザは、例えば、携帯型情報処理装置10を図2〜図5の各上段に示す状態とした後、AFボタン32をタップ(押下)する。AFボタン32がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、AF指示を取得する。これに伴い、プロセッサ11は、AF指令を撮像装置17に出力する。AF指令は、撮像装置17に対するオートフォーカスの実行指令である。撮像装置17は、AF指令に従い、携帯型情報処理装置10に対して配置されている、第一サンプル50、第二サンプル60、第三サンプル70及び計測対象物40のうちの何れかの表面に自動的に焦点を合わせる。   The AF button 32 is an operation button for instructing execution of autofocus in the imaging device 17. The AF button 32 is associated with an AF instruction. For example, the user taps (presses) the AF button 32 after the portable information processing apparatus 10 is in the state illustrated in each upper stage of FIGS. 2 to 5. It is assumed that the AF button 32 is tapped and this tap is accepted by the operation device 14. In this case, the processor 11 acquires an AF instruction. Along with this, the processor 11 outputs an AF command to the imaging device 17. The AF command is an execution command of autofocus to the imaging device 17. The imaging device 17 is disposed on the surface of any of the first sample 50, the second sample 60, the third sample 70, and the measurement object 40, which is disposed with respect to the portable information processing device 10 according to the AF command. Automatically focus.

第一サンプルボタン33は、第一取得処理(図7のS17参照)の実行を指示する操作ボタンである。第一サンプルボタン33は、第一取得指示に対応付けられる。第一取得指示は、第一取得処理の実行指示である。ユーザは、携帯型情報処理装置10と第一サンプル50を図3上段に示す状態とした後、第一サンプルボタン33をタップする。第一サンプルボタン33がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、第一取得指示を取得する。これに伴い、プロセッサ11は、第一取得処理を開始する。   The first sample button 33 is an operation button for instructing execution of the first acquisition process (see S17 of FIG. 7). The first sample button 33 is associated with the first acquisition instruction. The first acquisition instruction is an execution instruction of the first acquisition process. The user taps the first sample button 33 after the portable information processing apparatus 10 and the first sample 50 are in the state shown in the upper part of FIG. It is assumed that the first sample button 33 is tapped and this tap is accepted by the operation device 14. In this case, the processor 11 acquires a first acquisition instruction. Along with this, the processor 11 starts the first acquisition process.

第二サンプルボタン34は、第二取得処理(図7のS23参照)の実行を指示する操作ボタンである。第二サンプルボタン34は、第二取得指示に対応付けられる。第二取得指示は、第二取得処理の実行指示である。ユーザは、携帯型情報処理装置10と第二サンプル60を図4上段に示す状態とした後、第二サンプルボタン34をタップする。第二サンプルボタン34がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、第二取得指示を取得する。これに伴い、プロセッサ11は、第二取得処理を開始する。   The second sample button 34 is an operation button for instructing execution of a second acquisition process (see S23 of FIG. 7). The second sample button 34 is associated with the second acquisition instruction. The second acquisition instruction is an execution instruction of the second acquisition process. The user taps the second sample button 34 after setting the portable information processing apparatus 10 and the second sample 60 in the state shown in the upper part of FIG. 4. It is assumed that the second sample button 34 is tapped and this tap is accepted by the controller device 14. In this case, the processor 11 acquires a second acquisition instruction. Along with this, the processor 11 starts the second acquisition process.

第三サンプルボタン35は、第三取得処理(図7のS29参照)の実行を指示する操作ボタンである。第三サンプルボタン35は、第三取得指示に対応付けられる。第三取得指示は、第三取得処理の実行指示である。ユーザは、携帯型情報処理装置10と第三サンプル70を図5上段に示す状態とした後、第三サンプルボタン35をタップする。第三サンプルボタン35がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、第三取得指示を取得する。これに伴い、プロセッサ11は、第三取得処理を開始する。   The third sample button 35 is an operation button for instructing execution of the third acquisition process (see S29 in FIG. 7). The third sample button 35 is associated with the third acquisition instruction. The third acquisition instruction is an execution instruction of the third acquisition process. The user taps the third sample button 35 after setting the portable information processing apparatus 10 and the third sample 70 in the upper part of FIG. It is assumed that the third sample button 35 is tapped and this tap is accepted by the operation device 14. In this case, the processor 11 acquires a third acquisition instruction. Along with this, the processor 11 starts the third acquisition process.

キャリブレーションボタン36は、第一算出処理(図8のS35及び図15参照)の実行を指示する操作ボタンである。キャリブレーションボタン36は、第一算出指示に対応付けられる。第一算出指示は、第一算出処理の実行指示である。ユーザは、例えば、第一サンプルボタン33と第二サンプルボタン34と第三サンプルボタン35をそれぞれタップした後、キャリブレーションボタン36をタップする。キャリブレーションボタン36がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、第一算出指示を取得する。これに伴い、プロセッサ11は、第一算出処理を開始する。   The calibration button 36 is an operation button for instructing execution of the first calculation process (see S35 of FIG. 8 and FIG. 15). The calibration button 36 is associated with the first calculation instruction. The first calculation instruction is an execution instruction of the first calculation process. The user taps the calibration button 36 after, for example, tapping the first sample button 33, the second sample button 34, and the third sample button 35, respectively. It is assumed that the calibration button 36 is tapped and this tap is accepted by the controller device 14. In this case, the processor 11 acquires a first calculation instruction. Along with this, the processor 11 starts the first calculation process.

計測指示枠37は、第四取得処理(図8のS39参照)の実行を指示する操作ボタンである。計測指示枠37は、第四取得指示に対応付けられる。第四取得指示は、第四取得処理の実行指示である。ユーザは、携帯型情報処理装置10と計測対象物40を図2上段に示す状態とした後、計測指示枠37内の任意の位置をタップする。計測指示枠37内の任意の位置がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、第四取得指示を取得する。これに伴い、プロセッサ11は、第四算出処理を開始する。実施形態では、第四取得指示に対応付けられる操作ボタンを、計測指示枠37とする。但し、第四取得指示に対応付けられる操作ボタンは、計測指示枠37のような枠形式とは異なる態様としてもよい。例えば、第一サンプルボタン33等と同様のボタン形式としてもよい。この場合、第四取得指示に対応付けられる操作ボタンは、操作画面30内の所定の位置に適宜配置される。計測指示枠37は、「タップして下さい」とのメッセージを含む。但し、前述のメッセージは、例示であり、これとは異なる記述としてもよい。前述のメッセージは、省略してもよい。   The measurement instruction frame 37 is an operation button for instructing execution of the fourth acquisition process (see S39 in FIG. 8). The measurement instruction frame 37 is associated with the fourth acquisition instruction. The fourth acquisition instruction is an execution instruction of the fourth acquisition process. The user taps an arbitrary position in the measurement instruction frame 37 after setting the portable information processing apparatus 10 and the measurement object 40 in the state shown in the upper part of FIG. It is assumed that an arbitrary position in the measurement instruction frame 37 is tapped, and the tap is accepted by the controller device 14. In this case, the processor 11 acquires a fourth acquisition instruction. Along with this, the processor 11 starts the fourth calculation process. In the embodiment, the operation button associated with the fourth acquisition instruction is referred to as a measurement instruction frame 37. However, the operation button associated with the fourth acquisition instruction may have a mode different from the frame format such as the measurement instruction frame 37. For example, a button format similar to the first sample button 33 or the like may be used. In this case, the operation button associated with the fourth acquisition instruction is appropriately disposed at a predetermined position in the operation screen 30. The measurement instruction frame 37 includes a message of "Please tap". However, the above-described message is an example, and may be described differently. The aforementioned messages may be omitted.

終了ボタン38は、メイン処理の終了を指示する操作ボタンである。終了ボタン38は、終了指示に対応付けられる。終了指示は、メイン処理の終了指示である。ユーザは、例えば、計測対象物40について、複数の第四線条の単位長さ当たりの本数の計測を終了する場合、終了ボタン38をタップする。終了ボタン38がタップされ、このタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、終了指示を取得する。これに伴い、プロセッサ11は、メイン処理を終了する。更に、操作画面30には、補正本数Dが表示される(後述する図9の「線密度:47.28本/インチ」参照)。この点については、後述する。実施形態では、複数の第四線条の単位長さ当たりの本数を「線密度」ともいう。   The end button 38 is an operation button for instructing the end of the main processing. The end button 38 is associated with the end instruction. The end instruction is an end instruction of the main process. The user taps the end button 38 when, for example, the measurement of the measurement target object 40 ends the measurement of the number per unit length of the plurality of fourth filaments. It is assumed that the end button 38 is tapped and this tap is accepted by the controller device 14. In this case, the processor 11 obtains an end instruction. Along with this, the processor 11 ends the main processing. Further, the correction number D is displayed on the operation screen 30 (see “Line density: 47.28 lines / inch” in FIG. 9 described later). This point will be described later. In the embodiment, the number per unit length of the plurality of fourth filaments is also referred to as “linear density”.

<メイン処理>
メイン処理について、図7及び図8を参照して説明する。ユーザは、メイン処理の開始指示を携帯型情報処理装置10に入力する。入力されたメイン処理の開始指示は、操作装置14で受け付けられる。プロセッサ11は、操作装置14を介してメイン処理の開始指示を取得する。この開始指示の取得に応じて、プロセッサ11は、ストレージ12に記憶されたメイン処理のプログラムを起動する。これに伴い、メイン処理が開始される。
<Main processing>
The main processing will be described with reference to FIGS. 7 and 8. The user inputs an instruction to start main processing to the portable information processing apparatus 10. The input start instruction of the main process is accepted by the operation device 14. The processor 11 acquires the start instruction of the main processing via the operation device 14. In response to the acquisition of the start instruction, the processor 11 activates the main processing program stored in the storage 12. Along with this, the main processing is started.

メイン処理を開始させたプロセッサ11は、操作画面30を表示させる(S11)。プロセッサ11は、操作画面30の表示指令を表示装置15に出力する。表示装置15は、この表示指令に従い、操作画面30を表示する。更に、プロセッサ11は、S11の実行に合わせ、撮像装置17を起動させる(S13)。プロセッサ11は、起動指令を撮像装置17に出力する。撮像装置17は、起動指令に従い起動し、撮像を開始する。プロセッサ11は、撮像装置17によって撮像された撮像画像に対応する撮像データを取得する。プロセッサ11は、前述の撮像データに対応する撮像画像を操作画面30のプレビュー領域31に含める。例えば、携帯型情報処理装置10と第一サンプル50が図3に示す状態に配置されているとする。この場合、プロセッサ11は、撮像範囲Aに一致する第一基準画像51の範囲をプレビュー領域31に含める。操作画面30では、プレビュー領域31に撮像範囲Aに一致する第一基準画像51の範囲が表示される(図6参照)。S11とS13の順序について、S13を実行後、S11を実行してもよい。   The processor 11 having started the main process displays the operation screen 30 (S11). The processor 11 outputs a display command of the operation screen 30 to the display device 15. The display device 15 displays the operation screen 30 in accordance with the display command. Further, the processor 11 activates the imaging device 17 in accordance with the execution of S11 (S13). The processor 11 outputs a start command to the imaging device 17. The imaging device 17 is activated according to the activation command and starts imaging. The processor 11 acquires imaging data corresponding to a captured image captured by the imaging device 17. The processor 11 includes the captured image corresponding to the above-described captured data in the preview area 31 of the operation screen 30. For example, it is assumed that the portable information processing apparatus 10 and the first sample 50 are arranged in the state shown in FIG. In this case, the processor 11 includes the range of the first reference image 51 matching the imaging range A in the preview area 31. On the operation screen 30, the range of the first reference image 51 that matches the imaging range A is displayed in the preview area 31 (see FIG. 6). Regarding the order of S11 and S13, S11 may be performed after S13 is performed.

次に、プロセッサ11は、第一取得指示を取得したか否かを判断する(S15)。ユーザは、第一サンプルボタン33をタップする。但し、携帯型情報処理装置10に対して第一サンプル50がセットされておらず、プレビュー領域31に第一基準画像51が表示されていないとする。この場合、ユーザは、第一サンプルボタン33をタップするに際し、携帯型情報処理装置10に対して第一サンプル50を図3上段に示す状態に配置する。第一サンプルボタン33のタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、操作装置14から第一取得指示を取得する。   Next, the processor 11 determines whether the first acquisition instruction has been acquired (S15). The user taps the first sample button 33. However, it is assumed that the first sample 50 is not set to the portable information processing apparatus 10 and the first reference image 51 is not displayed in the preview area 31. In this case, when the user taps the first sample button 33, the user places the first sample 50 in the state shown in the upper part of FIG. It is assumed that the tap of the first sample button 33 is accepted by the operation device 14. In this case, the processor 11 acquires a first acquisition instruction from the controller device 14.

第一取得指示が取得されていない場合(S15:No)、プロセッサ11は、処理をS21に移行する。第一取得指示が取得された場合(S15:Yes)、プロセッサ11は、第一取得処理を実行する(S17)。第一取得処理は、第一撮像データを取得する処理である。第一撮像データは、撮像範囲Aに一致する第一基準画像51の範囲に対応する画像データである。S17でプロセッサ11は、撮像指令を撮像装置17に出力する。撮像装置17は、撮像指令に従い、撮像範囲Aを撮像する。即ち、撮像装置17は、撮像範囲Aに一致する第一基準画像51の範囲を撮像する(図3上段参照)。プロセッサ11は、撮像範囲Aに一致する第一基準画像51の範囲の撮像画像から第一撮像データを生成する。これに伴い、プロセッサ11は、第一撮像データを取得する。プロセッサ11は、第一撮像データをメモリ13に記憶させる。   When the first acquisition instruction is not acquired (S15: No), the processor 11 shifts the processing to S21. When the first acquisition instruction is acquired (S15: Yes), the processor 11 executes a first acquisition process (S17). The first acquisition process is a process of acquiring first imaging data. The first imaging data is image data corresponding to the range of the first reference image 51 that matches the imaging range A. The processor 11 outputs an imaging command to the imaging device 17 in S17. The imaging device 17 captures an image of the imaging range A in accordance with an imaging command. That is, the imaging device 17 captures the range of the first reference image 51 that matches the imaging range A (see the upper stage in FIG. 3). The processor 11 generates first imaging data from the captured image of the range of the first reference image 51 that matches the imaging range A. Along with this, the processor 11 acquires the first imaging data. The processor 11 stores the first imaging data in the memory 13.

続けて、プロセッサ11は、第一計測処理を実行する(S19)。S19でプロセッサ11は、第一撮像データを処理対象とする。第一計測処理は、第一撮像データから複数の第一線条の単位長さ当たりの本数を計測する処理である。第一計測処理では、上述した特許文献1に開示された処理アルゴリズムが採用される。実施形態では、第一計測処理によって計測される複数の第一線条の単位長さ当たりの本数を「第一実測値X1」という。第一計測処理については、後述する。S19を実行した後、プロセッサ11は、処理をS15に戻す。その後、プロセッサ11は、S15以降の処理を繰り返して実行する。   Subsequently, the processor 11 executes a first measurement process (S19). In S19, the processor 11 sets the first imaging data as a processing target. The first measurement process is a process of measuring the number of a plurality of first filaments per unit length from the first imaging data. In the first measurement process, the processing algorithm disclosed in Patent Document 1 described above is employed. In the embodiment, the number per unit length of the plurality of first filaments measured by the first measurement process is referred to as “first measured value X1”. The first measurement process will be described later. After executing S19, the processor 11 returns the process to S15. After that, the processor 11 repeatedly executes the processing after S15.

S21でプロセッサ11は、第二取得指示を取得したか否かを判断する。ユーザは、携帯型情報処理装置10に対して第二サンプル60を図4上段に示す状態に配置する。これに伴い、操作画面30では、プレビュー領域31に撮像範囲Aに一致する第二基準画像61の範囲が表示される(不図示)。その後、ユーザは、第二サンプルボタン34をタップする。第二サンプルボタン34のタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、操作装置14から第二取得指示を取得する。   The processor 11 determines in S21 whether or not the second acquisition instruction has been acquired. The user arranges the second sample 60 in the state shown in the upper part of FIG. Along with this, on the operation screen 30, the range of the second reference image 61 matching the imaging range A is displayed in the preview area 31 (not shown). Thereafter, the user taps the second sample button 34. It is assumed that the tap of the second sample button 34 is accepted by the operating device 14. In this case, the processor 11 acquires the second acquisition instruction from the controller device 14.

第二取得指示が取得されていない場合(S21:No)、プロセッサ11は、処理をS27に移行する。第二取得指示が取得された場合(S21:Yes)、プロセッサ11は、第二取得処理を実行する(S23)。第二取得処理は、第二撮像データを取得する処理である。第二撮像データは、撮像範囲Aに一致する第二基準画像61の範囲に対応する画像データである。S23でプロセッサ11は、撮像指令を撮像装置17に出力する。撮像装置17は、撮像指令に従い、撮像範囲Aを撮像する。即ち、撮像装置17は、撮像範囲Aに一致する第二基準画像61の範囲を撮像する(図4上段参照)。プロセッサ11は、撮像範囲Aに一致する第二基準画像61の範囲の撮像画像から第二撮像データを生成する。これに伴い、プロセッサ11は、第二撮像データを取得する。プロセッサ11は、第二撮像データをメモリ13に記憶させる。   If the second acquisition instruction has not been acquired (S21: No), the processor 11 shifts the processing to S27. When the second acquisition instruction is acquired (S21: Yes), the processor 11 executes a second acquisition process (S23). The second acquisition process is a process of acquiring second imaging data. The second imaging data is image data corresponding to the range of the second reference image 61 that matches the imaging range A. In S23, the processor 11 outputs an imaging command to the imaging device 17. The imaging device 17 captures an image of the imaging range A in accordance with an imaging command. That is, the imaging device 17 captures the range of the second reference image 61 that matches the imaging range A (see the upper stage in FIG. 4). The processor 11 generates second imaging data from the captured image of the range of the second reference image 61 that matches the imaging range A. Along with this, the processor 11 acquires the second imaging data. The processor 11 stores the second imaging data in the memory 13.

続けて、プロセッサ11は、第二計測処理を実行する(S25)。S25でプロセッサ11は、第二撮像データを処理対象とする。第二計測処理は、第二撮像データから複数の第二線条の単位長さ当たりの本数を計測する処理である。第二計測処理では、上述した特許文献1に開示された処理アルゴリズムが採用される。実施形態では、第二計測処理によって計測される複数の第二線条の単位長さ当たりの本数を「第二実測値X2」という。第二計測処理については、後述する。S25を実行した後、プロセッサ11は、処理をS15に戻す。その後、プロセッサ11は、S15以降の処理を繰り返して実行する。   Subsequently, the processor 11 executes a second measurement process (S25). In S25, the processor 11 sets the second imaging data as a processing target. The second measurement process is a process of measuring the number of the plurality of second filaments per unit length from the second imaging data. In the second measurement process, the processing algorithm disclosed in Patent Document 1 described above is employed. In the embodiment, the number per unit length of the plurality of second filaments measured by the second measurement process is referred to as “second measured value X2”. The second measurement process will be described later. After executing S25, the processor 11 returns the process to S15. After that, the processor 11 repeatedly executes the processing after S15.

S27でプロセッサ11は、第三取得指示を取得したか否かを判断する。ユーザは、携帯型情報処理装置10に対して第三サンプル70を図5上段に示す状態に配置する。これに伴い、操作画面30では、プレビュー領域31に撮像範囲Aに一致する第三基準画像71の範囲が表示される(不図示)。その後、ユーザは、第三サンプルボタン35をタップする。第三サンプルボタン35のタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、操作装置14から第三取得指示を取得する。   In S27, the processor 11 determines whether a third acquisition instruction has been acquired. The user arranges the third sample 70 in the state shown in the upper part of FIG. Along with this, on the operation screen 30, the range of the third reference image 71 matching the imaging range A is displayed in the preview area 31 (not shown). Thereafter, the user taps the third sample button 35. It is assumed that the tap of the third sample button 35 is accepted by the operating device 14. In this case, the processor 11 acquires a third acquisition instruction from the controller device 14.

第三取得指示が取得されていない場合(S27:No)、プロセッサ11は、処理を図8のS33に移行する。第三取得指示が取得された場合(S27:Yes)、プロセッサ11は、第三取得処理を実行する(S29)。第三取得処理は、第三撮像データを取得する処理である。第三撮像データは、撮像範囲Aに一致する第三基準画像71の範囲に対応する画像データである。S29でプロセッサ11は、撮像指令を撮像装置17に出力する。撮像装置17は、撮像指令に従い、撮像範囲Aを撮像する。即ち、撮像装置17は、撮像範囲Aに一致する第三基準画像71の範囲を撮像する(図5上段参照)。プロセッサ11は、撮像範囲Aに一致する第三基準画像71の範囲の撮像画像から第三撮像データを生成する。これに伴い、プロセッサ11は、第三撮像データを取得する。プロセッサ11は、第三撮像データをメモリ13に記憶させる。   If the third acquisition instruction is not acquired (S27: No), the processor 11 shifts the processing to S33 of FIG. When the third acquisition instruction is acquired (S27: Yes), the processor 11 executes the third acquisition process (S29). The third acquisition process is a process of acquiring third imaging data. The third imaging data is image data corresponding to the range of the third reference image 71 that matches the imaging range A. In S29, the processor 11 outputs an imaging command to the imaging device 17. The imaging device 17 captures an image of the imaging range A in accordance with an imaging command. That is, the imaging device 17 captures the range of the third reference image 71 that matches the imaging range A (see the upper stage in FIG. 5). The processor 11 generates third imaging data from the captured image of the range of the third reference image 71 that matches the imaging range A. Along with this, the processor 11 acquires third imaging data. The processor 11 stores the third imaging data in the memory 13.

続けて、プロセッサ11は、第三計測処理を実行する(S31)。S31でプロセッサ11は、第三撮像データを処理対象とする。第三計測処理は、第三撮像データから複数の第三線条の単位長さ当たりの本数を計測する処理である。第三計測処理では、上述した特許文献1に開示された処理アルゴリズムが採用される。実施形態では、第三計測処理によって計測される複数の第三線条の単位長さ当たりの本数を「第三実測値X3」という。第三計測処理については、後述する。S31を実行した後、プロセッサ11は、処理をS15に戻す。その後、プロセッサ11は、S15以降の処理を繰り返して実行する。   Subsequently, the processor 11 executes a third measurement process (S31). At S31, the processor 11 sets the third imaging data as a processing target. The third measurement process is a process of measuring the number per unit length of the plurality of third filaments from the third imaging data. In the third measurement process, the processing algorithm disclosed in Patent Document 1 described above is employed. In the embodiment, the number per unit length of the plurality of third filaments measured by the third measurement process is referred to as “third measured value X3”. The third measurement process will be described later. After executing S31, the processor 11 returns the process to S15. After that, the processor 11 repeatedly executes the processing after S15.

図8のS33でプロセッサ11は、第一算出指示を取得したか否かを判断する。ユーザは、キャリブレーションボタン36をタップする。キャリブレーションボタン36のタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、操作装置14から第一算出指示を取得する。   The processor 11 determines in S33 of FIG. 8 whether or not the first calculation instruction has been acquired. The user taps the calibration button 36. It is assumed that the tap of the calibration button 36 is accepted by the operation device 14. In this case, the processor 11 obtains the first calculation instruction from the controller device 14.

第一算出指示が取得されていない場合(S33:No)、プロセッサ11は、処理をS37に移行する。第一取得指示が取得された場合(S33:Yes)、プロセッサ11は、第一算出処理を実行する(S35)。第一算出処理では、ガウスの消去法により多項式の係数が取得される。実施形態では、前述の多項式の次数は、4次である。前述の4次の多項式の係数を「補正係数」又は「4次の補正係数」という。第一算出処理については、後述する。S35を実行した後、プロセッサ11は、処理を図7のS15に戻す。その後、プロセッサ11は、S15以降の処理を繰り返して実行する。   When the first calculation instruction has not been acquired (S33: No), the processor 11 shifts the processing to S37. When the first acquisition instruction is acquired (S33: Yes), the processor 11 executes a first calculation process (S35). In the first calculation process, polynomial coefficients are obtained by Gaussian elimination. In an embodiment, the order of the aforementioned polynomial is fourth order. The coefficients of the fourth-order polynomial described above are referred to as "correction coefficients" or "fourth-order correction coefficients". The first calculation process will be described later. After executing S35, the processor 11 returns the process to S15 of FIG. After that, the processor 11 repeatedly executes the processing after S15.

S37でプロセッサ11は、第四取得指示を取得したか否かを判断する。ユーザは、携帯型情報処理装置10に対して計測対象物40を図2上段に示す状態に配置する。これに伴い、操作画面30では、プレビュー領域31に撮像範囲Aに一致する計測対象物40表面の範囲が表示される(不図示)。その後、ユーザは、計測指示枠37内の任意の位置をタップする。計測指示枠37内の任意の位置のタップが操作装置14で受け付けられたとする。この場合、プロセッサ11は、操作装置14から第四取得指示を取得する。   In S37, the processor 11 determines whether a fourth acquisition instruction has been acquired. The user arranges the measurement object 40 in the state shown in the upper part of FIG. Along with this, on the operation screen 30, the range of the surface of the measurement object 40 that matches the imaging range A is displayed in the preview area 31 (not shown). Thereafter, the user taps an arbitrary position in the measurement instruction frame 37. It is assumed that the tap at an arbitrary position in the measurement instruction frame 37 is accepted by the operation device 14. In this case, the processor 11 acquires a fourth acquisition instruction from the controller device 14.

第四取得指示が取得されていない場合(S37:No)、プロセッサ11は、処理をS47に移行する。第四取得指示が取得された場合(S37:Yes)、プロセッサ11は、第四取得処理を実行する(S39)。第四取得処理は、第四撮像データを取得する処理である。第四撮像データは、撮像範囲Aに一致する計測対象物40表面の範囲に対応する画像データである。S39でプロセッサ11は、撮像指令を撮像装置17に出力する。撮像装置17は、撮像指令に従い、撮像範囲Aを撮像する。即ち、撮像装置17は、撮像範囲Aに一致する計測対象物40表面の範囲を撮像する(図2上段参照)。プロセッサ11は、撮像範囲Aに一致する計測対象物40表面の範囲の撮像画像から第四撮像データを生成する。これに伴い、プロセッサ11は、第四撮像データを取得する。プロセッサ11は、第四撮像データをメモリ13に記憶させる。   If the fourth acquisition instruction is not acquired (S37: No), the processor 11 shifts the processing to S47. If the fourth acquisition instruction is acquired (S37: Yes), the processor 11 executes a fourth acquisition process (S39). The fourth acquisition process is a process of acquiring fourth imaging data. The fourth imaging data is image data corresponding to the range of the surface of the measurement target 40 that matches the imaging range A. In S39, the processor 11 outputs an imaging command to the imaging device 17. The imaging device 17 captures an image of the imaging range A in accordance with an imaging command. That is, the imaging device 17 images the range of the surface of the measurement target 40 that matches the imaging range A (see the upper stage in FIG. 2). The processor 11 generates fourth imaging data from the captured image of the range of the surface of the measurement target 40 that matches the imaging range A. Along with this, the processor 11 acquires fourth imaging data. The processor 11 stores the fourth imaging data in the memory 13.

続けて、プロセッサ11は、第四計測処理を実行する(S41)。S41でプロセッサ11は、第四撮像データを処理対象とする。第四計測処理は、第四撮像データから複数の第四線条の単位長さ当たりの本数を計測する処理である。第四計測処理では、上述した特許文献1に開示された処理アルゴリズムが採用される。実施形態では、第四計測処理によって計測される複数の第四線条の単位長さ当たりの本数を「第四実測値X4」という。第四計測処理については、後述する。   Subsequently, the processor 11 executes a fourth measurement process (S41). In S41, the processor 11 sets the fourth imaging data as a processing target. The fourth measurement process is a process of measuring the number per unit length of the plurality of fourth filaments from the fourth imaging data. In the fourth measurement process, the processing algorithm disclosed in Patent Document 1 described above is employed. In the embodiment, the number per unit length of the plurality of fourth filaments measured by the fourth measurement process is referred to as “fourth actual measurement value X4”. The fourth measurement process will be described later.

次に、プロセッサ11は、第二算出処理を実行する(S43)。第二算出処理は、補正率Rにより第四実測値X4を補正した補正本数Dを取得する処理である。補正率Rは、次の式(1)により算出される。補正本数Dは、次の式(2)により算出される。S43でプロセッサ11は、メモリ13から第四実測値X4と補正係数を取得し、式(1)により補正率Rを算出する。第四実測値X4は、後述する図13のS83でメモリ13に記憶される。補正係数は、後述する図15のS125でメモリ13に記憶される。更に、プロセッサ11は、式(2)により補正本数Dを算出する。これに伴い、プロセッサ11は、補正本数Dを取得する。
R=Coeff4×X4+Coeff3×X4+Coeff2×X4+Coeff1×X4+Coeff0 ・・・(1)
D=(R+1)×X4 ・・・(2)
S35が未実行である場合、S43では、補正本数Dは、第四実測値X4と同一値となる。補正率R又は後述する図15のS125でメモリ13に記憶される補正係数は、例えば、メイン処理のプログラムに登録するとよい。現在実行中のメイン処理を開始後、S35が未実行で、補正係数がメモリ13に記憶されていない場合、S43でプロセッサ11は、登録済みの補正率R又は補正係数を用いる。メイン処理のプログラムに登録される補正率Rの初期値は、0に設定される。式(2)により補正率Rが算出された場合、プロセッサ11は、メイン処理のプログラムに登録された補正率Rを、新たに算出された補正率Rへと更新する。
Next, the processor 11 executes a second calculation process (S43). The second calculation process is a process of acquiring a correction number D in which the fourth actual measurement value X4 is corrected by the correction factor R. The correction factor R is calculated by the following equation (1). The correction number D is calculated by the following equation (2). In S43, the processor 11 acquires the fourth actual measurement value X4 and the correction coefficient from the memory 13, and calculates the correction factor R by equation (1). The fourth actual measurement value X4 is stored in the memory 13 in S83 of FIG. 13 described later. The correction coefficient is stored in the memory 13 in S125 of FIG. 15 described later. Furthermore, the processor 11 calculates the number of corrections D by equation (2). Along with this, the processor 11 acquires the correction number D.
R = Coeff 4 x X 4 4 + Coeff 3 x X 4 3 + Coeff 2 x X 4 2 + Coeff 1 x X 4 + Coeff 0 (1)
D = (R + 1) × X4 (2)
When S35 has not been executed, the number D of corrections becomes the same value as the fourth actual measurement value X4 in S43. The correction factor R or the correction coefficient stored in the memory 13 in S125 of FIG. 15 described later may be registered in the program of the main processing, for example. If S35 is not executed and the correction coefficient is not stored in the memory 13 after the main processing currently being executed is started, the processor 11 uses the registered correction factor R or the correction coefficient in S43. The initial value of the correction factor R registered in the main processing program is set to 0. When the correction factor R is calculated by Equation (2), the processor 11 updates the correction factor R registered in the program of the main processing to the newly calculated correction factor R.

続けて、プロセッサ11は、出力処理を実行する(S45)。出力処理は、表示装置15に補正本数Dを出力する処理である。プロセッサ11は、補正本数Dの表示指令を表示装置15に出力する。表示装置15は、この表示指令に従い、補正本数Dを表示する。即ち、表示装置15では、線密度として補正本数Dを含む操作画面30が表示される(図9参照)。図9は、説明用の図である。従って、図9では、実際に図示された設定方向に沿った複数の線条(第四線条)の単位長さ当たりの本数と補正本数D「線密度:47.28本/インチ」の対応関係は、考慮されていない。   Subsequently, the processor 11 executes an output process (S45). The output process is a process of outputting the correction number D to the display device 15. The processor 11 outputs the display command of the correction number D to the display device 15. The display unit 15 displays the correction number D in accordance with the display command. That is, in the display device 15, the operation screen 30 including the correction number D as the linear density is displayed (see FIG. 9). FIG. 9 is a diagram for explanation. Therefore, in FIG. 9, the correspondence between the number per unit length of the plurality of filaments (fourth filaments) along the setting direction actually illustrated and the correction number D “linear density: 47.28 lines / inch” Relationships are not considered.

S47でプロセッサ11は、終了指示を取得したか否かを判断する。終了指示が取得されていない場合(S47:No)、プロセッサ11は、処理を図7のS15に戻す。その後、プロセッサ11は、S15以降の処理を繰り返して実行する。終了指示が取得された場合(S47:Yes)、プロセッサ11は、メイン処理を終了する。   In S47, the processor 11 determines whether an end instruction has been acquired. If the end instruction has not been acquired (S47: No), the processor 11 returns the process to S15 of FIG. After that, the processor 11 repeatedly executes the processing after S15. When the end instruction is acquired (S47: Yes), the processor 11 ends the main processing.

上記では、説明を省略したが、ユーザは、メイン処理が実行されている所定のタイミングで、AFボタン32をタップしてもよい。例えば、ユーザは、第一サンプルボタン33、第二サンプルボタン34及び第三サンプルボタン35のうちの何れかのボタン又は計測指示枠37内の任意の位置をタップする前に、AFボタン32をタップする。この場合、操作装置14は、AFボタン32のタップを受け付ける。プロセッサ11は、操作装置14からAF指示を取得する。その後、プロセッサ11は、AF指令を撮像装置17に出力する。撮像装置17は、AF指令に従い、そのタイミングで、携帯型情報処理装置10に対して配置されている、第一サンプル50、第二サンプル60、第三サンプル70及び計測対象物40のうちの何れかの表面に焦点を合わせる。   Although the description has been omitted in the above, the user may tap the AF button 32 at a predetermined timing at which the main processing is being performed. For example, the user taps the AF button 32 before tapping any one of the first sample button 33, the second sample button 34, and the third sample button 35 or an arbitrary position in the measurement instruction frame 37. Do. In this case, the controller device 14 receives the tap of the AF button 32. The processor 11 acquires an AF instruction from the controller device 14. Thereafter, the processor 11 outputs an AF command to the imaging device 17. The imaging device 17 is any of the first sample 50, the second sample 60, the third sample 70, and the measurement object 40, which is disposed with respect to the portable information processing device 10 at the timing according to the AF command. Focus on the surface of the body.

携帯型情報処理装置10では、メイン処理の起動が2回目以降で、既に、図7のS17、S19、S23、S25、S29及びS31と図8のS35が実行されていることもある。このような場合、ユーザは、第一サンプルボタン33、第二サンプルボタン34、第三サンプルボタン35及びキャリブレーションボタン36の各ボタンのタップを省略してもよい。ユーザは、前述の各ボタンをタップすることなく、携帯型情報処理装置10に対して計測対象物40を図2上段に示す状態に配置する。その後、ユーザは、計測指示枠37内の任意の位置をタップする。メイン処理では、プロセッサ11は、S15、S21、S27及びS33の各判断を何れも否定する(図7のS15,S21,S27,S33:No参照)。プロセッサ11は、S37を肯定し(図8のS37:Yes参照)、S39以降の処理を実行する。   In the portable information processing apparatus 10, S17, S19, S23, S25, S29, and S31 of FIG. 7 and S35 of FIG. 8 may have already been executed after the second start of the main processing. In such a case, the user may omit tapping on each of the first sample button 33, the second sample button 34, the third sample button 35, and the calibration button 36. The user arranges the measurement target object 40 in the state shown in the upper part of FIG. 2 with respect to the portable information processing apparatus 10 without tapping each of the above-described buttons. Thereafter, the user taps an arbitrary position in the measurement instruction frame 37. In the main process, the processor 11 negates any of the determinations of S15, S21, S27 and S33 (see S15, S21, S27, S33: No in FIG. 7). The processor 11 affirms S37 (see S37: Yes in FIG. 8), and executes the processing of S39 and thereafter.

<第一計測処理>
図7のS19で実行される第一計測処理について、図10を参照して説明する。第一計測処理を開始させたプロセッサ11は、実測処理を実行する(S51)。上記で第一計測処理にて計測されるとした第一実測値X1は、S51で実行される実測処理によって計測される。実測処理については、後述する。S51を実行した後、プロセッサ11は、実測処理にて計測された第一実測値X1をメモリ13に記憶させる(S53)。その後、プロセッサ11は、第一計測処理を終了する。
<First measurement processing>
The first measurement process executed in S19 of FIG. 7 will be described with reference to FIG. The processor 11 that has started the first measurement process executes the measurement process (S51). The first actual measurement value X1 measured in the first measurement process above is measured by the measurement process executed in S51. The measurement process will be described later. After executing S51, the processor 11 stores the first actual measurement value X1 measured in the actual measurement process in the memory 13 (S53). After that, the processor 11 ends the first measurement process.

<第二計測処理>
図7のS25で実行される第二計測処理について、図11を参照して説明する。第二計測処理を開始させたプロセッサ11は、実測処理を実行する(S61)。上記で第二計測処理にて計測されるとした第二実測値X2は、S61で実行される実測処理によって計測される。実測処理については、後述する。S61を実行した後、プロセッサ11は、実測処理にて計測された第二実測値X2をメモリ13に記憶させる(S63)。その後、プロセッサ11は、第二計測処理を終了する。
<Second measurement process>
The second measurement process executed in S25 of FIG. 7 will be described with reference to FIG. The processor 11 that has started the second measurement process executes a measurement process (S61). The second actual measurement value X2 that has been measured in the second measurement process above is measured by the actual measurement process performed in S61. The measurement process will be described later. After executing S61, the processor 11 stores the second actual measurement value X2 measured in the actual measurement process in the memory 13 (S63). After that, the processor 11 ends the second measurement process.

<第三計測処理>
図7のS31で実行される第三計測処理について、図12を参照して説明する。第三計測処理を開始させたプロセッサ11は、実測処理を実行する(S71)。上記で第三計測処理にて計測されるとした第三実測値X3は、S71で実行される実測処理によって計測される。実測処理については、後述する。S71を実行した後、プロセッサ11は、実測処理にて計測された第三実測値X3をメモリ13に記憶させる(S73)。その後、プロセッサ11は、第三計測処理を終了する。
<Third measurement process>
The third measurement process executed in S31 of FIG. 7 will be described with reference to FIG. The processor 11 that has started the third measurement process executes the measurement process (S71). The third actual measurement value X3 measured in the third measurement process above is measured by the actual measurement process executed in S71. The measurement process will be described later. After executing S71, the processor 11 stores the third actual measurement value X3 measured in the actual measurement process in the memory 13 (S73). After that, the processor 11 ends the third measurement process.

<第四計測処理>
図8のS41で実行される第四計測処理について、図13を参照して説明する。第四計測処理を開始させたプロセッサ11は、実測処理を実行する(S81)。上記で第四計測処理にて計測されるとした第四実測値X4は、S81で実行される実測処理によって計測される。実測処理については、後述する。S81を実行した後、プロセッサ11は、実測処理にて計測された第四実測値X4をメモリ13に記憶させる(S83)。その後、プロセッサ11は、第四計測処理を終了する。
<Fourth measurement process>
The fourth measurement process executed in S41 of FIG. 8 will be described with reference to FIG. The processor 11 that has started the fourth measurement process executes an actual measurement process (S81). The fourth actual measurement value X4 measured in the fourth measurement process above is measured by the measurement process executed in S81. The measurement process will be described later. After executing S81, the processor 11 stores the fourth actual measurement value X4 measured in the actual measurement process in the memory 13 (S83). After that, the processor 11 ends the fourth measurement process.

<実測処理>
図10のS51と図11のS61と図12のS71と図13のS81で実行される実測処理について、図14を参照して説明する。実施形態では、第一撮像データと第二撮像データと第三撮像データと第四撮像データを区別しない場合、又はこれらを総称する場合、単に「撮像データ」という。第一線条と第二線条と第三線条と第四線条を区別しない場合、又はこれらを総称する場合、単に「線条」という。
<Measurement process>
The measurement process performed in S51 of FIG. 10, S61 of FIG. 11, S71 of FIG. 12, and S81 of FIG. 13 will be described with reference to FIG. In the embodiment, when the first imaging data, the second imaging data, the third imaging data, and the fourth imaging data are not distinguished from one another or when they are collectively referred to, they are simply referred to as “imaging data”. When the first, second, third, and fourth filaments are not distinguished, or when they are collectively referred to, they are simply referred to as “filaments”.

従って、実測処理が図10のS51で実行されている場合、実測処理の説明中、撮像データは、第一撮像データを指す。この場合、実測処理で実際に計測される線条は、第一線条であり、線条の本数(実測値)は、第一実測値X1である。実測処理が図11のS61で実行されている場合、実測処理の説明中、撮像データは、第二撮像データを指す。この場合、実測処理で実際に計測される線条は、第二線条であり、線条の本数(実測値)は、第二実測値X2である。実測処理が図12のS71で実行されている場合、実測処理の説明中、撮像データは、第三撮像データを指す。この場合、実測処理で実際に計測される線条は、第三線条であり、線条の本数(実測値)は、第三実測値X3である。実測処理が図13のS81で実行されている場合、実測処理の説明中、撮像データは、第四撮像データを指す。この場合、実測処理で実際に計測される線条は、第四線条であり、線条の本数(実測値)は、第四実測値X4である。計測対象物40が織物である場合(図2及び図9参照)、前述の線条(第四線条)は、経糸41及び緯糸42の何れかである。経糸方向が設定方向である場合、前述の線条(第四線条)は、経糸41である。緯糸方向が設定方向である場合、前述の線条(第四線条)は、緯糸42である。   Therefore, when the measurement process is executed in S51 of FIG. 10, in the description of the measurement process, the imaging data indicates the first imaging data. In this case, the filaments actually measured in the measurement process are the first filaments, and the number of the filaments (measured value) is the first actually measured value X1. When the measurement process is executed in S61 of FIG. 11, in the description of the measurement process, the imaging data indicates the second imaging data. In this case, the filaments actually measured in the measurement process are the second filaments, and the number of the filaments (measured value) is the second actually measured value X2. In the case where the measurement process is executed in S71 of FIG. 12, the imaging data indicates third imaging data in the description of the measurement process. In this case, the filaments actually measured in the measurement process are the third filaments, and the number of the filaments (measured value) is the third actually measured value X3. When the measurement process is performed in S81 of FIG. 13, in the description of the measurement process, the imaging data indicates the fourth imaging data. In this case, the filaments actually measured in the measurement process are the fourth filaments, and the number of the filaments (measured value) is the fourth actually measured value X4. When the measurement object 40 is a woven fabric (see FIGS. 2 and 9), the above-mentioned streaks (fourth streaks) are any of the warp yarns 41 and the weft yarns 42. When the warp direction is the setting direction, the above-mentioned filament (fourth filament) is the warp 41. When the weft direction is the set direction, the above-mentioned line (fourth line) is the weft 42.

実測処理を開始させたプロセッサ11は、S91〜S99の各処理を順次実行する。即ち、S91では、プロセッサ11は、グレースケール処理を実行する。S93では、プロセッサ11は、S91で処理済みの撮像データを処理対象として、2次元FFT(Fast Fourier Transform)処理を実行する。S95では、プロセッサ11は、S93で処理済みの撮像データを処理対象として、パワースペクトル変換処理を実行する。S97では、プロセッサ11は、S95で処理済みの撮像データを処理対象として、象限入れ替え処理を実行する。S99では、プロセッサ11は、S97で処理済みの撮像データを処理対象として、正規化処理を実行する。   The processor 11 having started the measurement process sequentially executes each process of S91 to S99. That is, in S91, the processor 11 executes gray scale processing. In S93, the processor 11 executes a two-dimensional FFT (Fast Fourier Transform) process on the imaging data processed in S91 as a processing target. In S95, the processor 11 performs power spectrum conversion processing on the imaging data processed in S93 as a processing target. In S97, the processor 11 executes quadrant replacement processing with the imaging data processed in S95 as a processing target. In S99, the processor 11 executes a normalization process on the imaging data processed in S97 as a processing target.

S99を実行した後、プロセッサ11は、線条の本数(実測値)を計測する(S101)。S101でプロセッサ11は、閾値処理を実行する。この閾値処理では、閾値は、上位25位とされる。即ち、フーリエスペクトルで、上位25位までのレベルの周波数座標は、残される一方、26位以降のレベルの周波数座標は、0とされる。閾値として設定した前述の「上位25位」は、経験的に定められる。   After executing S99, the processor 11 measures the number of filaments (actually measured value) (S101). The processor 11 executes threshold processing in S101. In this threshold processing, the threshold is set to the top 25. That is, in the Fourier spectrum, the frequency coordinates of the top 25 levels are left, while the frequency coordinates of the 26 th and subsequent levels are 0. The above-mentioned “upper 25 ranks” set as the threshold is empirically determined.

閾値処理を実行した後、プロセッサ11は、閾値処理されたフーリエスペクトルを、原点を中心に偏角と動径で表される極座標に変換する。ここで、動径は、空間周波数に対応する。続けて、プロセッサ11は、フーリエスペクトルのレベル総和を算出する。レベル総和分布には、幾つかの鋭いピークが現れる。フーリエスペクトルの各ピークは、1つのデータ点で形成されることが好ましい。但し、実際には、フーリエスペクトルの各ピークは、多数の点で形成される。そのため、フーリエスペクトルの各ピークは、微小な幅を有する。フーリエスペクトルの各ピークを形成するデータ点の集合体(凸形状部分)をクラスターという。   After performing the thresholding, the processor 11 transforms the thresholded Fourier spectrum into polar coordinates represented by a declination and a radius centered on the origin. Here, the radius corresponds to the spatial frequency. Subsequently, the processor 11 calculates the level sum of the Fourier spectrum. Several sharp peaks appear in the level sum distribution. Preferably, each peak of the Fourier spectrum is formed by one data point. However, in practice, each peak of the Fourier spectrum is formed at a number of points. Therefore, each peak of the Fourier spectrum has a minute width. A collection (convex shaped portion) of data points forming each peak of the Fourier spectrum is called a cluster.

その後、プロセッサ11は、クラスター毎に、クラスターを形成する偏角範囲におけるレベル総和の総和を算出する。レベル総和の総和は、処理対象のクラスターの面積に相当する。続けて、プロセッサ11は、レベル総和の総和を降順に並べ替える。更に、プロセッサ11は、例えば、各クラスターにおける偏角の平均値(中央値)を算出する。レベル総和の総和における上位1位のクラスターにおける偏角の平均値を、設定方向に対応させることが可能である。   After that, the processor 11 calculates, for each cluster, the sum of the level sums in the declination range forming the cluster. The sum of level sums corresponds to the area of the cluster to be processed. Subsequently, the processor 11 rearranges the sum of level sums in descending order. Furthermore, the processor 11 calculates, for example, an average value (median value) of argument angles in each cluster. It is possible to make the setting direction correspond to the average value of the argument angles in the top one cluster in the sum of the level sums.

次に、プロセッサ11は、線条の本数を算出する。プロセッサ11は、次の方向における空間周波数に関するフーリエスペクトルのレベル総和の分布を算出する。前述の方向は、線条の角度の方向である。ここで、前述のレベル総和が一の空間周波数で大きくなるという事象は、処理対象の撮像データに対応する画像上で、その空間周波数に相当する規則的な濃淡の繰り返しが頻繁に行われていることを示唆する。更に、プロセッサ11は、各クラスターにおける空間周波数の平均値を算出する。   Next, the processor 11 calculates the number of filaments. The processor 11 calculates the distribution of the level sum of the Fourier spectrum with respect to the spatial frequency in the next direction. The aforementioned direction is the direction of the angle of the filament. Here, in the above-mentioned event that the level sum increases at one spatial frequency, the repetition of regular shading corresponding to the spatial frequency is frequently performed on the image corresponding to the imaging data to be processed. Suggest that. Furthermore, the processor 11 calculates the average value of the spatial frequency in each cluster.

処理対象の撮像データに対応する画像は、線条の有り又は無しに対応する0又は1のインパルス信号である。従って、インパルス信号を2次元FFT処理した場合、取得されるフーリエスペクトルは、倍周波数にピークが観測される。そのため、同一角度に多数のピークが存在する。プロセッサ11は、同一角度のクラスターのうち、最小の空間周波数の平均値を線条の本数(N’本)として取得する。実施形態では、撮像範囲Aの幅Wを単位長さ(1インチ)としている。従って、プロセッサ11は、前述の本数(N’本)を単位長さ当たりの本数(実測値,N本/インチ)として取得する。撮像範囲Aの幅Wが単位長さ(1インチ)とは異なる寸法(単位:インチ)に設定されているとする。この場合、プロセッサ11は、本数(N’本)と、単位長さを幅Wで除した値の積により、単位長さ当たりの本数(実測値,N本/インチ)を取得する。例えば、撮像範囲Aの幅Wが2インチに設定されているとする。この場合、プロセッサ11は、「N’×1/2」により本数(N本/インチ)を取得する。   The image corresponding to the imaging data to be processed is a 0 or 1 impulse signal corresponding to the presence or absence of the line. Therefore, when the impulse signal is subjected to two-dimensional FFT processing, a peak of the acquired Fourier spectrum is observed at a doubled frequency. Therefore, there are many peaks at the same angle. The processor 11 obtains the average value of the minimum spatial frequency among clusters at the same angle as the number of filaments (N '). In the embodiment, the width W of the imaging range A is a unit length (1 inch). Therefore, the processor 11 obtains the above-mentioned number (N ') as the number per unit length (actual value, N number / inch). It is assumed that the width W of the imaging range A is set to a dimension (unit: inch) different from the unit length (1 inch). In this case, the processor 11 obtains the number per unit length (actual value, N number / inch) by the product of the number (N ') and the value obtained by dividing the unit length by the width W. For example, it is assumed that the width W of the imaging range A is set to 2 inches. In this case, the processor 11 acquires the number (N / inch) by “N ′ × 1⁄2”.

即ち、S101でプロセッサ11は、上述した各処理により、線条の本数(実測値,N本/インチ)を計測する。S101を実行した後、プロセッサ11は、実測処理を終了する。実測処理は、公知の技術に基づく処理である。即ち、S91で実行されるグレースケール処理は、既に実用化された画像処理技術である。S91では、カラーの画像データをグレースケールの画像データに変換する公知の技術が採用される。S93〜S99の各処理では、公知のプログラムにおける所定の関数が適宜用いられる。S101で実行される処理は、S101に関する上述の記載から明らかな通り、特許文献1の上述した手順(4),(5)に関する技術に準じて実行される。S101に関する上述の記載では、特許文献1の関連する説明を一部省略し又は簡略化している。例えば、S101に関する上述の記載では、特許文献1に記載された数式は、省略している。但し、S101では、各種の値が特許文献1に記載された数式に準じた数式を用いて算出される。従って、実測処理に関するこの他の説明は、省略する。   That is, in step S101, the processor 11 measures the number of filaments (actually measured value: N / inch) by each process described above. After executing S101, the processor 11 ends the measurement process. The measurement process is a process based on known techniques. That is, the gray scale processing performed in S91 is an image processing technology that has already been put to practical use. In S91, a known technique for converting color image data into grayscale image data is employed. In each process of S93 to S99, a predetermined function in a known program is appropriately used. The processing executed in S101 is executed according to the technique relating to the above-described procedures (4) and (5) of Patent Document 1, as is apparent from the above description of S101. In the above description of S101, the related description of Patent Document 1 is partially omitted or simplified. For example, in the above description of S101, the mathematical expression described in Patent Document 1 is omitted. However, in S101, various values are calculated using a formula according to the formula described in Patent Document 1. Therefore, the other explanation regarding the measurement processing is omitted.

<第一算出処理>
図8のS35で実行される第一算出処理について、図15を参照して説明する。第一算出処理を開始させたプロセッサ11は、メモリ13から第一実測値X1を取得する(S111)。第一実測値X1は、図10のS53でメモリ13に記憶される。続けて、プロセッサ11は、第一補正値Y1を取得する(S113)。第一補正値Y1は、次の式(3)により算出される。式(3)で値「50本/インチ」は、第一基準値の50本/インチに対応する。プロセッサ11は、算出された値を第一補正値Y1として取得する。プロセッサ11は、第一補正値Y1をメモリ13に記憶させる。
Y1=(50−X1)/X1 ・・・(3)
S113を実行した後、プロセッサ11は、メモリ13から第二実測値X2を取得する(S115)。第二実測値X2は、図11のS63でメモリ13に記憶される。続けて、プロセッサ11は、第二補正値Y2を取得する(S117)。第二補正値Y2は、次の式(4)により算出される。式(4)で値「100本/インチ」は、第二基準値の100本/インチに対応する。プロセッサ11は、算出された値を第二補正値Y2として取得する。プロセッサ11は、第二補正値Y2をメモリ13に記憶させる。
Y2=(100−X2)/X2 ・・・(4)
S117を実行した後、プロセッサ11は、メモリ13から第三実測値X3を取得する(S119)。第三実測値X3は、図12のS73でメモリ13に記憶される。続けて、プロセッサ11は、第三補正値Y3を取得する(S121)。第三補正値Y3は、次の式(5)により算出される。式(5)で値「200本/インチ」は、第三基準値の200本/インチに対応する。プロセッサ11は、算出された値を第三補正値Y3として取得する。プロセッサ11は、第三補正値Y3をメモリ13に記憶させる。
Y3=(200−X3)/X3 ・・・(5)
次に、プロセッサ11は、補正係数を算出する(S123)。補正係数の算出には、上述した通り、ガウスの消去法が用いられる。ガウスの消去法では、行列Xの入力値として、第一実測値X1と第二実測値X2と第三実測値X3が用いられ、行列Yの入力値として、第一補正値Y1と第二補正値Y2と第三補正値Y3が用いられる。ここで、S123では、公知のプログラムにおける所定の関数が適宜用いられる。実施形態では、ガウスの消去法により、補正係数として、4次の配列が算出される。即ち、S123では、4次の補正係数が算出される。
<First calculation processing>
The first calculation process executed in S35 of FIG. 8 will be described with reference to FIG. The processor 11 that has started the first calculation process acquires the first actual measurement value X1 from the memory 13 (S111). The first actual measurement value X1 is stored in the memory 13 in S53 of FIG. Subsequently, the processor 11 obtains a first correction value Y1 (S113). The first correction value Y1 is calculated by the following equation (3). The value “50 lines / inch” in the equation (3) corresponds to 50 lines / inch of the first reference value. The processor 11 acquires the calculated value as the first correction value Y1. The processor 11 stores the first correction value Y1 in the memory 13.
Y1 = (50-X1) / X1 (3)
After executing S113, the processor 11 acquires the second actual measurement value X2 from the memory 13 (S115). The second actual measurement value X2 is stored in the memory 13 in S63 of FIG. Subsequently, the processor 11 obtains a second correction value Y2 (S117). The second correction value Y2 is calculated by the following equation (4). The value "100 pcs / inch" in the equation (4) corresponds to 100 pcs / inch as the second reference value. The processor 11 obtains the calculated value as a second correction value Y2. The processor 11 stores the second correction value Y2 in the memory 13.
Y2 = (100-X2) / X2 (4)
After executing S117, the processor 11 acquires the third actual measurement value X3 from the memory 13 (S119). The third actual measurement value X3 is stored in the memory 13 in S73 of FIG. Subsequently, the processor 11 obtains a third correction value Y3 (S121). The third correction value Y3 is calculated by the following equation (5). The value "200 pcs / inch" in the equation (5) corresponds to 200 pcs / inch as the third reference value. The processor 11 acquires the calculated value as a third correction value Y3. The processor 11 stores the third correction value Y3 in the memory 13.
Y3 = (200-X3) / X3 (5)
Next, the processor 11 calculates a correction coefficient (S123). As described above, Gaussian elimination is used to calculate the correction coefficient. In the Gaussian elimination method, the first actual measurement value X1, the second actual measurement value X2, and the third actual measurement value X3 are used as the input values of the matrix X, and the first correction value Y1 and the second correction are used as the input values of the matrix Y The value Y2 and the third correction value Y3 are used. Here, in S123, a predetermined function in a known program is appropriately used. In the embodiment, a fourth-order array is calculated as a correction coefficient by Gaussian elimination. That is, in S123, a fourth-order correction coefficient is calculated.

続けて、プロセッサ11は、S123で算出された補正係数「Coeff[5]=xx[5]」をメモリ13に記憶させる(S125)。Coeff[5]は、補正係数として、[Coeff0,Coeff1,Coeff2,Coeff3,Coeff4](0次、1次、2次,3次,4次)を含む。行列xx[5]は、[Coeff0,Coeff1,Coeff2,Coeff3,Coeff4]に対応する値として、[xx0,xx1,xx2,xx3,xx4](0次、1次、2次,3次,4次)を格納する。S125を実行した後、プロセッサ11は、第一算出処理を終了する。   Subsequently, the processor 11 stores the correction coefficient “Coeff [5] = xx [5]” calculated in S123 in the memory 13 (S125). Coeff [5] includes [Coeff0, Coeff1, Coeff2, Coeff3, Coeff4] (0th order, 1st order, 2nd order, 3rd order, 4th order) as correction coefficients. The matrix xx [5] is a value corresponding to [Coeff0, Coeff1, Coeff2, Coeff3, Coeff4], [xx0, xx1, xx2, xx3, xx4] (0th order, 1st order, 2nd order, 3rd order, 4th order Store). After executing S125, the processor 11 ends the first calculation process.

<実施例>
発明者は、メイン処理で実行される図7のS15〜図8のS35の有効性を確認するため、実験を行った。そこで、今回の実験により得られた実験結果を説明する。
<Example>
The inventor conducted an experiment to confirm the effectiveness of S15 of FIG. 7 to S35 of FIG. 7 to be executed in the main process. Then, the experimental result obtained by this experiment is demonstrated.

<携帯型情報処理装置>
携帯型情報処理装置10として、ファーウェイ・ジャパン製のスマートフォン(モデル:Y6)を用いた。
<Portable Information Processing Device>
As the portable information processing apparatus 10, a smartphone (Model: Y6) manufactured by Huawei Japan was used.

<計測対象物>
計測対象物40を、第二サンプル60と第三サンプル70とした。上述した通り、第二サンプル60は、第二線条の本数が100本/インチに設定された第二基準画像61を含み、第三サンプル70は、第三線条の本数が200本/インチに設定された第三基準画像71を含む。計測対象物40が第二サンプル60である場合、前述の第二線条は、第四線条でもある。計測対象物40が第三サンプル70である場合、前述の第三線条は、第四線条でもある。
<Measurement object>
The measurement object 40 was used as the second sample 60 and the third sample 70. As described above, the second sample 60 includes the second reference image 61 in which the number of second filaments is set to 100 / inch, and the third sample 70 has the number of third filaments of 200 / inch. The set third reference image 71 is included. When the measurement object 40 is the second sample 60, the above-mentioned second filament is also the fourth filament. When the measurement object 40 is the third sample 70, the above-mentioned third line is also the fourth line.

<評価対象及び評価方法>
評価対象として、次の2パターンを設定した。第一パターンは、図7のS11〜図8のS35を実行した後、図8のS39〜S45を実行する処理パターンである。第一パターンでは、ユーザは、S35が終了したタイミングで、計測指示枠37内の任意の位置をタップする。第一パターンでは、図8のS43で、図15のS125でメモリ13に記憶された補正係数による補正率Rによって第四実測値X4が補正される。第一パターンでは、前述の補正率Rによって補正された補正本数Dが取得される。計測対象物40が第二サンプル60である場合、前述の第四実測値X4は、第二実測値X2に対応し、計測対象物40が第三サンプル70である場合、前述の第四実測値X4は、第三実測値X3に対応する。
<Evaluation target and evaluation method>
The following two patterns were set as evaluation targets. The first pattern is a processing pattern in which S39 to S45 in FIG. 8 are performed after S15 to S35 in FIG. 7 are performed. In the first pattern, the user taps an arbitrary position in the measurement instruction frame 37 at the timing when S35 ends. In the first pattern, the fourth actual measurement value X4 is corrected with the correction factor R based on the correction coefficient stored in the memory 13 in S125 of FIG. 15 in S43 of FIG. In the first pattern, the correction number D corrected by the above-described correction factor R is acquired. When the measurement object 40 is the second sample 60, the aforementioned fourth actual value X4 corresponds to the second actual value X2, and when the measurement object 40 is the third sample 70, the aforementioned fourth actual value X4 corresponds to the third actual measurement value X3.

第二パターンは、図7のS11及びS13を実行した後、図7のS15、S21、S27及び図8のS33を全て否定(図7のS15,S21,S27,S33:No参照)した状態で、図8のS39〜S45を実行する処理パターンである。第二パターンでは、ユーザは、S13が終了したタイミングで、計測指示枠37内の任意の位置をタップする。第二パターンでは、図8のS43で、補正率Rとして初期値の0が用いられる。第二パターンでは、第四実測値X4と同一の補正本数Dが取得される。第二パターンでは、補正本数Dは、実質的には、未補正の本数といえる。実施形態では、補正率Rの値に関わらず、図8のS43で取得される単位長さ当たりの本数を「補正本数D」という。第一パターンの場合と同様、計測対象物40が第二サンプル60である場合、前述の第四実測値X4は、第二実測値X2に対応し、計測対象物40が第三サンプル70である場合、前述の第四実測値X4は、第三実測値X3に対応する。   In the second pattern, after S11 and S13 of FIG. 7 are executed, all of S15, S21, S27 of FIG. 7 and S33 of FIG. 8 are negated (see S15, S21, S27, S33: No of FIG. 7). It is a processing pattern which performs S39-S45 of FIG. In the second pattern, the user taps an arbitrary position in the measurement instruction frame 37 at the timing when S13 ends. In the second pattern, the initial value 0 is used as the correction factor R in S43 of FIG. In the second pattern, the same correction number D as the fourth actual measurement value X4 is acquired. In the second pattern, it can be said that the correction number D is substantially an uncorrected number. In the embodiment, regardless of the value of the correction factor R, the number per unit length obtained in S43 of FIG. As in the case of the first pattern, when the measurement target 40 is the second sample 60, the fourth actual measurement value X4 described above corresponds to the second actual measurement value X2, and the measurement target 40 is the third sample 70. In the case, the fourth actual measurement value X4 described above corresponds to the third actual measurement value X3.

ユーザは、第一パターン及び第二パターンの何れについても、第一サンプルボタン33、第二サンプルボタン34及び第三サンプルボタン35のうちの何れかのボタン又は計測指示枠37内の任意の位置をタップする前に、AFボタン32をタップした。即ち、撮像装置17による撮像は、焦点が合った状態で行った。第一パターン及び第二パターンでは、同一の計測対象物40を対象として、20回の計測を行った。   The user selects any one of the first sample button 33, the second sample button 34, and the third sample button 35 or any position within the measurement instruction frame 37 for any of the first pattern and the second pattern. I tapped the AF button 32 before tapping. That is, the imaging by the imaging device 17 was performed in a focused state. In the first pattern and the second pattern, 20 measurements were performed on the same measurement target 40.

<実験結果>
計測対象物40を第二サンプル60とした実験の結果を、表1に示す。第一パターンでは、補正本数Dの平均値が99.8245本/インチであり、第二基準画像61の100本/インチとの差(絶対値)が0.1755本/インチとなった。これに対し、第二パターンでは、補正本数Dの平均値が103.493本/インチであり、第二基準画像61の100本/インチとの差(絶対値)が3.493本/インチとなった。

Figure 2019090125
<Experimental result>
Table 1 shows the results of an experiment in which the measurement target 40 is the second sample 60. In the first pattern, the average value of the correction number D is 99.8245 pieces / inch, and the difference (absolute value) with 100 pieces / inch of the second reference image 61 is 0.1755 pieces / inch. On the other hand, in the second pattern, the average value of the correction number D is 103.493 per inch, and the difference (absolute value) with 100 per inch of the second reference image 61 is 3.493 per inch. became.
Figure 2019090125

計測対象物40を第三サンプル70とした実験の結果を、表2に示す。第一パターンでは、補正本数Dの平均値が199.2585本/インチであり、第三基準画像71の200本/インチとの差(絶対値)が0.7415本/インチとなった。これに対し、第二パターンでは、補正本数Dの平均値が209.486本/インチであり、第三基準画像71の200本/インチとの差(絶対値)が9.486本/インチとなった。

Figure 2019090125
Table 2 shows the result of the experiment in which the measurement object 40 is the third sample 70. In the first pattern, the average value of the correction number D is 199.2585 / inch, and the difference (absolute value) with 200 / inch of the third reference image 71 is 0.7415 / inch. On the other hand, in the second pattern, the average value of the correction number D is 209.486 lines / inch, and the difference (absolute value) with 200 lines / inch of the third reference image 71 is 9.486 lines / inch. became.
Figure 2019090125

第一パターンによれば、第二基準画像61の100本/インチとの差(絶対値)及び第三基準画像71の200本/インチとの差(絶対値)、何れについても第二パターンより小さくすることができた。これにより、図7のS15〜図8のS35の有効性が確認された。   According to the first pattern, the difference (absolute value) with 100 lines / inch of the second reference image 61 and the difference (absolute value) with 200 lines / inch of the third reference image 71 are both obtained from the second pattern It was possible to make it smaller. Thereby, the effectiveness of S35 of S15 of FIG. 7-FIG. 8 was confirmed.

発明者は、上記の実験とは別に、第二パターンに準じた処理パターンによる予備的な実験を行った。計測対象物40は、第四線条の本数が50本/インチ、100本/インチ、150本/インチ及び200本/インチに設定された4種類とした。その結果、50本/インチに設定された計測対象物40では、補正本数Dは、55本/インチ(補正値:−0.090909091)であった。100本/インチに設定された計測対象物40では、補正本数Dは、103本/インチ(補正値:−0.029126214)であった。150本/インチに設定された計測対象物40では、補正本数Dは、154本/インチ(補正値:−0.025974026)であった。200本/インチに設定された計測対象物40では、補正本数Dは、212本/インチ(補正値:−0.056603774)であった。これにより、図7のS15〜図8のS35の未実行により、単位長さ当たりの複数の第四線条の本数の計測について、計測精度が低下することが確認された。前述の各補正値は、上記の式(3)(4)(5)に準じた式により算出される。   The inventor conducted a preliminary experiment using a treatment pattern according to the second pattern, separately from the above experiment. The measurement object 40 had four types in which the number of the fourth filaments was set to 50 / inch, 100/150, 150/200, and 200 / inch. As a result, with the measurement object 40 set to 50 lines / inch, the correction number D was 55 lines / inch (correction value: −0.00909091). In the case of the measurement object 40 set to 100 pcs / inch, the correction number D was 103 pcs / inch (correction value: −0.029126214). For the measurement object 40 set to 150 pieces / inch, the correction number D was 154 pieces / inch (correction value: −0.025974026). In the measurement object 40 set to 200 pieces / inch, the correction number D was 212 pieces / inch (correction value: −0.056603774). Thereby, it was confirmed that measurement accuracy falls about measurement of the number of a plurality of the 4th filaments per unit length by unexecution of S35 of Drawing 15 of Drawing 7-Drawing 8. Each correction value described above is calculated according to the equations (3), (4) and (5) above.

<実施形態の効果>
実施形態によれば、次のような効果を得ることができる。
<Effect of the embodiment>
According to the embodiment, the following effects can be obtained.

(1)携帯型情報処理装置10では、プロセッサ11は、メイン処理(図7及び図8参照)を実行する。メイン処理では、プロセッサ11は、第一取得処理及び第一計測処理と、第二取得処理及び第二計測処理と、第三取得処理及び第三計測処理を実行し、第一算出処理を実行する(図7のS17,S19,S23,S25,S29,S31及び図8のS35参照)。   (1) In the portable information processing apparatus 10, the processor 11 executes main processing (see FIGS. 7 and 8). In the main process, the processor 11 executes a first acquisition process and a first measurement process, a second acquisition process and a second measurement process, a third acquisition process and a third measurement process, and executes a first calculation process. (See S17, S19, S23, S25, S29, S31 of FIG. 7 and S35 of FIG. 8).

第一取得処理では、撮像装置17は、撮像範囲Aに一致する第一基準画像51の範囲を撮像する(図3上段参照)。これに伴い、プロセッサ11は、第一撮像データを取得する。第一計測処理では、プロセッサ11は、実測処理(図10のS51参照)で第一実測値X1を計測し(図14のS101参照)、第一実測値X1をメモリ13に記憶させる(図10のS53参照)。第二取得処理では、撮像装置17は、撮像範囲Aに一致する第二基準画像61の範囲を撮像する(図4上段参照)。これに伴い、プロセッサ11は、第二撮像データを取得する。第二計測処理では、プロセッサ11は、実測処理(図11のS61参照)で第二実測値X2を計測し(図14のS101参照)、第二実測値X2をメモリ13に記憶させる(図11のS63参照)。第三取得処理では、撮像装置17は、撮像範囲Aに一致する第三基準画像71の範囲を撮像する(図5上段参照)。これに伴い、プロセッサ11は、第三撮像データを取得する。第三計測処理では、プロセッサ11は、実測処理(図12のS71参照)で第三実測値X3を計測し(図14のS101参照)、第三実測値X3をメモリ13に記憶させる(図12のS73参照)。第一算出処理では、プロセッサ11は、補正係数を算出し、算出された補正係数をメモリ13に記憶させる(図15のS123,S125参照)。   In the first acquisition process, the imaging device 17 images the range of the first reference image 51 that matches the imaging range A (see the upper stage in FIG. 3). Along with this, the processor 11 acquires the first imaging data. In the first measurement process, the processor 11 measures the first actual measurement value X1 (see S101 in FIG. 14) in the actual measurement process (see S51 in FIG. 10) and stores the first actual measurement value X1 in the memory 13 (FIG. 10). See S53). In the second acquisition process, the imaging device 17 images the range of the second reference image 61 that matches the imaging range A (see the upper stage in FIG. 4). Along with this, the processor 11 acquires the second imaging data. In the second measurement process, the processor 11 measures the second actual measurement value X2 (see S101 in FIG. 14) in the actual measurement process (see S61 in FIG. 11), and stores the second actual measurement value X2 in the memory 13 (FIG. 11). See S63). In the third acquisition process, the imaging device 17 images the range of the third reference image 71 that matches the imaging range A (see the upper stage in FIG. 5). Along with this, the processor 11 acquires third imaging data. In the third measurement process, the processor 11 measures the third actual measurement value X3 (see S101 in FIG. 14) in the actual measurement process (see S71 in FIG. 12) and stores the third actual measurement value X3 in the memory 13 (FIG. 12) See S73). In the first calculation process, the processor 11 calculates a correction coefficient, and stores the calculated correction coefficient in the memory 13 (see S123 and S125 in FIG. 15).

メイン処理では、プロセッサ11は、第四取得処理及び第四計測処理を実行し、第二算出処理及び出力処理を実行する(図8のS39〜S45参照)。第四取得処理では、撮像装置17は、撮像範囲Aに一致する計測対象物40表面の範囲を撮像する(図2上段参照)。これに伴い、プロセッサ11は、第四撮像データを取得する。第四計測処理では、プロセッサ11は、実測処理(図13のS81参照)で第二実測値X2を計測し(図14のS101参照)、第四実測値X4をメモリ13に記憶させる(図13のS83参照)。第二算出処理では、プロセッサ11は、補正係数と第四実測値X4から算出される補正率Rと、第四実測値X4から補正本数Dを算出する。出力処理では、プロセッサ11は、補正本数Dを表示装置15に出力する。   In the main process, the processor 11 executes a fourth acquisition process and a fourth measurement process, and executes a second calculation process and an output process (see S39 to S45 in FIG. 8). In the fourth acquisition process, the imaging device 17 images the range of the surface of the measurement target 40 that matches the imaging range A (see the upper stage in FIG. 2). Along with this, the processor 11 acquires fourth imaging data. In the fourth measurement process, the processor 11 measures the second actual measurement value X2 in the actual measurement process (see S81 in FIG. 13) (see S101 in FIG. 14) and stores the fourth actual measurement value X4 in the memory 13 (FIG. 13). See S83). In the second calculation process, the processor 11 calculates the correction number D from the correction coefficient R and the correction factor R calculated from the fourth actual measurement value X4 and the fourth actual measurement value X4. In the output process, the processor 11 outputs the correction number D to the display device 15.

そのため、第一基準画像51と第二基準画像61と第三基準画像71により算出された補正係数によって複数の第四線条の本数を補正することができる。補正本数Dを表示装置15に表示することができる(図9参照)。   Therefore, the number of the plurality of fourth streaks can be corrected by the correction coefficients calculated by the first reference image 51, the second reference image 61, and the third reference image 71. The correction number D can be displayed on the display device 15 (see FIG. 9).

(2)第一算出処理では、プロセッサ11は、第一補正値Y1と、第二補正値Y2と、第三補正値Y3を順次取得し、補正係数を算出する(図15のS113,S117,S121,S123参照)。第一算出処理は、図15のS123で、補正係数の算出にガウスの消去法を採用する。そのため、複数の第四線条の本数の計測精度の向上に寄与する補正係数を算出することができる。精度のよい補正本数Dを操作画面30に表示することができる。   (2) In the first calculation process, the processor 11 sequentially acquires the first correction value Y1, the second correction value Y2, and the third correction value Y3 to calculate correction coefficients (S113, S117, and FIG. 15). See S121 and S123). In the first calculation process, Gaussian elimination is employed to calculate the correction coefficient in S123 of FIG. Therefore, it is possible to calculate the correction coefficient that contributes to the improvement of the measurement accuracy of the number of the plurality of fourth filaments. The accurate correction number D can be displayed on the operation screen 30.

(3)携帯型情報処理装置10は、プロセッサ11と、ストレージ12と、メモリ13と、操作装置14と、表示装置15と、撮像装置17を備える(図1参照)。携帯型情報処理装置10は、前述の各部を内蔵する一体型の装置である。そのため、1台の携帯型情報処理装置10により、複数の第四線条の本数の計測を簡易且つスムーズに行うことができる。   (3) The portable information processing device 10 includes the processor 11, the storage 12, the memory 13, the operation device 14, the display device 15, and the imaging device 17 (see FIG. 1). The portable information processing apparatus 10 is an integrated apparatus incorporating the above-described units. Therefore, measurement of the number of the plurality of fourth filaments can be performed easily and smoothly by one portable information processing apparatus 10.

<変形例>
実施形態は、次のようにすることもできる。以下に示す変形例のうちの幾つかの構成は、適宜組み合わせて採用することもできる。以下では、上記とは異なる点を説明することとし、同様の点についての説明は、適宜省略する。
<Modification>
Embodiments can also be as follows. Several configurations of the modifications shown below can be combined appropriately and adopted. Hereinafter, points different from the above will be described, and the description of the same points will be appropriately omitted.

(1)携帯型情報処理装置10は、プロセッサ11とストレージ12とメモリ13と共に、操作装置14と表示装置15と撮像装置17を内蔵する一体型の装置である(図1参照)。携帯型情報処理装置では、撮像装置17は、省略してもよい。この場合、撮像装置は、携帯型情報処理装置に接続される。撮像装置によって撮像された撮像画像は、撮像装置から携帯型情報処理装置に送信される。この他、携帯型情報処理装置には、表示装置15とは異なる表示装置が接続されていてもよい。この場合、操作画面30は、この異なる表示装置に表示されてもよい。更に、携帯型情報処理装置には、操作装置14とは異なる操作装置が接続されていてもよい。この場合、この異なる操作装置として、例えば、キーボード及びマウスの一方又は両方を採用できる。ユーザは、上述したタップ操作と同様の入力操作を、前述のような操作装置を介して行う。撮像装置と表示装置は、携帯型情報処理装置に有線接続される。但し、操作装置、表示装置及び撮像装置の一部又は全部は、携帯型情報処理装置に無線接続されてもよい。   (1) The portable information processing device 10 is an integrated device incorporating the operation device 14, the display device 15, and the imaging device 17 together with the processor 11, the storage 12, and the memory 13 (see FIG. 1). In the portable information processing device, the imaging device 17 may be omitted. In this case, the imaging device is connected to the portable information processing device. The captured image captured by the imaging device is transmitted from the imaging device to the portable information processing device. In addition to this, a display device different from the display device 15 may be connected to the portable information processing device. In this case, the operation screen 30 may be displayed on this different display device. Furthermore, an operating device different from the operating device 14 may be connected to the portable information processing device. In this case, for example, one or both of a keyboard and a mouse can be adopted as the different operating device. The user performs the same input operation as the above-described tap operation via the operation device as described above. The imaging device and the display device are connected by wire to the portable information processing device. However, some or all of the operation device, the display device, and the imaging device may be wirelessly connected to the portable information processing device.

(2)標準試料として、第一サンプル50と第二サンプル60と第三サンプル70を例示し、メイン処理を、第一基準画像51と第二基準画像61と第三基準画像71に対応させた形式とした(図7及び図8参照)。この場合、操作画面30は、第一サンプルボタン33と、第二サンプルボタン34と、第三サンプルボタン35を含む(図6及び図9参照)。メイン処理は、S15〜S19と、S21〜S25と、S27〜S31を含む(図7参照)。図8のS35で実行される第一算出処理は、S111及びS113と、S115及びS117と、S119及びS121を含む(図15参照)。図15のS123では、第一実測値X1、第二実測値X2及び第三実測値X3を行列Xの入力値とし、且つ第一補正値Y1、第二補正値Y2及び第三補正値Y3を行列Yの入力値としたガウスの消去法が実行される。   (2) The first sample 50, the second sample 60, and the third sample 70 are illustrated as the standard samples, and the main processing is made to correspond to the first reference image 51, the second reference image 61, and the third reference image 71 It was in the form (see FIGS. 7 and 8). In this case, the operation screen 30 includes a first sample button 33, a second sample button 34, and a third sample button 35 (see FIGS. 6 and 9). The main processing includes S15 to S19, S21 to S25, and S27 to S31 (see FIG. 7). The first calculation process executed in S35 of FIG. 8 includes S111 and S113, S115 and S117, and S119 and S121 (see FIG. 15). In S123 of FIG. 15, the first actual measurement value X1, the second actual measurement value X2, and the third actual measurement value X3 are used as the input values of the matrix X, and the first correction value Y1, the second correction value Y2 and the third correction value Y3 are used. Gaussian elimination with input values of matrix Y is performed.

第一サンプル50、第二サンプル60及び第三サンプル70とは異なるサンプルを、標準試料として採用してもよい。例えば、標準試料としてのサンプルは、4種類以上としてもよい。この場合、各サンプルには、次の態様の基準画像がそれぞれ形成される。前述の態様は、単位長さ当たりの本数がそれぞれ異なる基準値に設定され且つ設定方向に沿った互いに平行な線条を含む状態である。メイン処理では、S15〜S19とS21〜S25とS27〜S31のそれぞれと同様の一連の処理が、標準試料の数だけ繰り返される。第一算出処理では、S111及びS113とS115及びS117とS119及びS121のそれぞれと同様の一連の処理が、標準試料の数だけ繰り返される。ガウスの消去法では、行列X及び行列Y共に、標準試料の数に一致する数の実測値及び補正値が入力値とされる。   A sample different from the first sample 50, the second sample 60 and the third sample 70 may be adopted as a standard sample. For example, four or more types of samples may be used as standard samples. In this case, a reference image of the following form is formed on each sample. The above-described aspect is a state in which the numbers per unit length are set to different reference values, and include parallel streaks along the setting direction. In the main process, a series of processes similar to S15 to S19, S21 to S25, and S27 to S31 are repeated by the number of standard samples. In the first calculation process, a series of processes similar to S111 and S113, S115, S117, S119, and S121 are repeated by the number of standard samples. In the Gaussian elimination method, for both the matrix X and the matrix Y, the actual measurement values and the correction values of the number corresponding to the number of standard samples are used as input values.

上述の3種類のサンプルに加え、第四サンプルが採用された場合を例として説明する。第四サンプルは、第四基準画像を含む。第四基準画像は、単位長さ当たりの本数が第四基準値に設定され且つ設定方向に沿った互いに平行な複数の第五線条を含む。操作画面は、第四サンプルボタンを含む。第四サンプルボタンは、第五取得指示に対応付けられる。この説明では、第四基準画像を含む第四サンプル及び第四サンプルボタンを含む操作画面の図示は、省略する。撮像範囲Aに一致する第四基準画像の範囲に対応する画像データを「第五撮像データ」という。   A case where a fourth sample is adopted in addition to the above three types of samples will be described as an example. The fourth sample includes a fourth reference image. The fourth reference image includes a plurality of fifth streaks in which the number per unit length is set to a fourth reference value and which is parallel to the setting direction. The operation screen includes a fourth sample button. The fourth sample button is associated with the fifth acquisition instruction. In this description, the illustration of the operation screen including the fourth sample including the fourth reference image and the fourth sample button is omitted. Image data corresponding to the range of the fourth reference image that matches the imaging range A is referred to as “fifth imaging data”.

メイン処理は、第五取得指示を取得したか否かを判断する処理と、第五取得処理と、第五計測処理を含む。第五取得処理は、第一取得処理(図7のS17参照)等に対応する処理である。第五計測処理は、第一計測処理(図7のS19及び図10参照)等に対応する処理である。プロセッサ11は、第一取得処理等と同様、第五取得処理を実行し、第一計測処理等と同様、第五計測処理を実行する。メイン処理では、例えば、S27が否定された場合(図7のS27:No参照)、プロセッサ11は、第五取得指示を取得したか否かを判断する。第五取得指示が取得されていない場合、プロセッサ11は、処理を図8のS33に移行する。第五取得指示が取得された場合、プロセッサ11は、第五取得処理と第五計測処理を順次実行する。第五取得処理では、撮像装置17は、撮像範囲Aに一致する第四基準画像の範囲を撮像する。これに伴い、プロセッサ11は、第五撮像データを取得する。第五計測処理では、プロセッサ11は、第五撮像データを処理対象として、実測処理(図15参照)を実行し、第五実測値X5をメモリ13に記憶させる。第五実測値X5は、実測処理によって計測される複数の第五線条の単位長さ当たりの本数(実測値)である。プロセッサ11は、第五計測処理を実行した後、処理を図7のS15に戻す。   The main processing includes processing for determining whether or not the fifth acquisition instruction has been acquired, fifth acquisition processing, and fifth measurement processing. The fifth acquisition process is a process corresponding to the first acquisition process (see S17 of FIG. 7) and the like. The fifth measurement process is a process corresponding to the first measurement process (see S19 in FIG. 7 and FIG. 10) and the like. The processor 11 executes the fifth acquisition process in the same manner as the first acquisition process and the like, and executes the fifth measurement process in the same manner as the first measurement process and the like. In the main process, for example, when S27 is denied (S27 in FIG. 7: refer to No), the processor 11 determines whether or not the fifth acquisition instruction has been acquired. If the fifth acquisition instruction has not been acquired, the processor 11 shifts the processing to S33 of FIG. When the fifth acquisition instruction is acquired, the processor 11 sequentially executes the fifth acquisition process and the fifth measurement process. In the fifth acquisition process, the imaging device 17 captures a range of the fourth reference image that matches the imaging range A. Along with this, the processor 11 acquires fifth imaging data. In the fifth measurement process, the processor 11 executes the measurement process (see FIG. 15) with the fifth imaging data as a processing target, and stores the fifth actual value X5 in the memory 13. The fifth actual measurement value X5 is the number (actual measurement value) per unit length of the plurality of fifth filaments measured by the actual measurement process. After executing the fifth measurement process, the processor 11 returns the process to S15 of FIG. 7.

第一算出処理は、第五実測値X5を取得する処理と、第四補正値Y4を取得する処理を含む。第五実測値X5を取得する処理は、図15のS111,S115,S119に対応する処理であり、プロセッサ11は、S111等と同様、この処理を実行する。第四補正値Y4を取得する処理は、図15のS113,S117,S121に対応する処理であり、プロセッサ11は、S113等と同様、この処理を実行する。第四補正値Y4は、第四基準値から第五実測値X5を差し引いた第四差値を第五実測値X5で除した値である。図15のS123では、第一実測値X1、第二実測値X2、第三実測値X3及び第五実測値X5を行列Xの入力値とし、且つ第一補正値Y1、第二補正値Y2、第三補正値Y3及び第四補正値Y4を行列Yの入力値としたガウスの消去法が実行される。即ち、プロセッサ11は、5次の補正係数を算出する。図8のS43では、プロセッサ11は、第二算出処理の実行に、この補正係数を用いる。この場合、上述の式(1)は、次の式(6)となる。
R=Coeff5×X4+Coeff4×X4+Coeff3×X4+Coeff2×X4+Coeff1×X4+Coeff0 ・・・(6)
(3)第一基準画像51では、第一基準値を50本/インチとした(図3参照)。第二基準画像61では、第二基準値を100本/インチとした(図4参照)。第三基準画像71は、第三基準値を200本/インチとした(図5参照)。第一基準画像51では、第一基準値は、50本/インチとは異なる値としてもよい。第二基準画像61では、第二基準値は、100本/インチとは異なる値としてもよい。第三基準画像71では、第三基準値は、200本/インチとは異なる値としてもよい。但し、第一基準値と第二基準値と第三基準値は、「第一基準値<第二基準値<第三基準値」の関係を有する。
The first calculation process includes a process of acquiring a fifth actual measurement value X5 and a process of acquiring a fourth correction value Y4. The process of acquiring the fifth actual measurement value X5 is a process corresponding to S111, S115, and S119 of FIG. 15, and the processor 11 executes this process as in S111 and the like. The process of acquiring the fourth correction value Y4 is a process corresponding to S113, S117, and S121 of FIG. 15, and the processor 11 executes this process as in S113 and the like. The fourth correction value Y4 is a value obtained by dividing the fourth difference value obtained by subtracting the fifth actual measurement value X5 from the fourth reference value by the fifth actual measurement value X5. In S123 of FIG. 15, the first actual measurement value X1, the second actual measurement value X2, the third actual measurement value X3 and the fifth actual measurement value X5 are used as the input values of the matrix X, and the first correction value Y1 and the second correction value Y2, Gaussian elimination is performed using the third correction value Y3 and the fourth correction value Y4 as input values of the matrix Y. That is, the processor 11 calculates the fifth order correction coefficient. In S43 of FIG. 8, the processor 11 uses this correction coefficient to execute the second calculation process. In this case, the above equation (1) becomes the following equation (6).
R = Coeff 5 x X 4 5 + Coeff 4 x X 4 4 + Coeff 3 x X 4 3 + Coeff 2 x X 4 2 + Coeff 1 x X 4 + Coeff 0 (6)
(3) In the first reference image 51, the first reference value is 50 lines / inch (see FIG. 3). In the second reference image 61, the second reference value is 100 lines / inch (see FIG. 4). The third reference image 71 has a third reference value of 200 lines / inch (see FIG. 5). In the first reference image 51, the first reference value may be a value different from 50 lines / inch. In the second reference image 61, the second reference value may be a value different from 100 per inch. In the third reference image 71, the third reference value may be a value different from 200 lines / inch. However, the first reference value, the second reference value, and the third reference value have a relationship of “first reference value <second reference value <third reference value”.

10 携帯型情報処理装置、 11 プロセッサ、 12 ストレージ
13 メモリ、 14 操作装置、 15 表示装置、 16 タッチパネル
17 撮像装置、 30 操作画面、 31 プレビュー領域、 32 AFボタン
33 第一サンプルボタン、 34 第二サンプルボタン
35 第三サンプルボタン、 36 キャリブレーションボタン
37 計測指示枠、 38 終了ボタン、 40 計測対象物、 41 経糸
42 緯糸、 50 第一サンプル、 51 第一基準画像、 60 第二サンプル
61 第二基準画像、 70 第三サンプル、 71 第三基準画像、A 撮像範囲
D 補正本数、 L 距離、 W 幅
DESCRIPTION OF SYMBOLS 10 Portable information processing device, 11 processor, 12 storage 13 memory, 14 operation device, 15 display device, 16 touch panel 17 imaging device, 30 operation screen, 31 preview area, 32 AF button 33 1st sample button, 34 2nd sample Button 35 third sample button, 36 calibration button 37 measurement instruction frame, 38 end button, 40 measurement object, 41 warp yarn 42 weft, 50 first sample, 51 first reference image, 60 second sample 61 second reference image , 70 third sample, 71 third reference image, A imaging range D number of corrections, L distance, W width

Claims (5)

プロセッサを備え、
前記プロセッサは、
撮像装置によって撮像され且つ単位長さ当たりの本数が第一基準値に設定された設定方向に沿った互いに平行な複数の第一線条を含む第一基準画像に対応する第一撮像データを取得する第一取得処理と、
前記第一撮像データを処理対象として、前記第一線条の前記単位長さ当たりの本数の実測値である第一実測値を計測する第一計測処理と、
前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第一基準値より大きな第二基準値に設定された前記設定方向に沿った互いに平行な複数の第二線条を含む第二基準画像に対応する第二撮像データを取得する第二取得処理と、
前記第二撮像データを処理対象として、前記第二線条の前記単位長さ当たりの本数の実測値である第二実測値を計測する第二計測処理と、
前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第二基準値より大きな第三基準値に設定された前記設定方向に沿った互いに平行な複数の第三線条を含む第三基準画像に対応する第三撮像データを取得する第三取得処理と、
前記第三撮像データを処理対象として、前記第三線条の前記単位長さ当たりの本数の実測値である第三実測値を計測する第三計測処理と、
前記第一基準値と前記第一実測値との差である第一差値に応じた第一補正値と、前記第二基準値と前記第二実測値との差である第二差値に応じた第二補正値と、前記第三基準値と前記第三実測値との差である第三差値に応じた第三補正値と、に従い、補正係数を算出する第一算出処理と、
前記撮像装置によって撮像され且つ前記設定方向に沿った互いに平行な複数の第四線条を含む計測対象物に対応する第四撮像データを取得する第四取得処理と、
前記第四撮像データを処理対象として、前記第四線条の前記単位長さ当たりの本数の実測値である第四実測値を計測する第四計測処理と、
前記補正係数によって前記第四実測値を補正した補正本数を算出する第二算出処理と、
前記補正本数を表示する表示装置に前記補正本数を出力する出力処理と、を実行する、携帯型情報処理装置。
Equipped with a processor,
The processor is
First imaging data corresponding to a first reference image captured by the imaging device and including a plurality of parallel parallel first streaks along the set direction in which the number per unit length is set to the first reference value The first acquisition process to
A first measurement process of measuring a first actual measurement value which is an actual measurement value of the number per unit length of the first filament with the first imaging data as a processing target;
A second reference including a plurality of parallel second stripes parallel to the setting direction which are imaged by the imaging device and whose number per unit length is set to a second reference value larger than the first reference value A second acquisition process of acquiring second imaging data corresponding to the image;
A second measurement process for measuring a second actual measurement value which is an actual measurement value of the number per unit length of the second filament with the second imaging data as a processing target;
A third reference image including a plurality of parallel parallel third streaks taken by the imaging device and having the number per unit length set to a third reference value greater than the second reference value Third acquisition processing for acquiring third imaging data corresponding to
A third measurement process of measuring a third actual measurement value which is an actual measurement value of the number per unit length of the third filament with the third imaging data as a processing target;
A first correction value according to a first difference value which is a difference between the first reference value and the first actual measurement value, and a second difference value which is a difference between the second reference value and the second actual measurement value A first calculation process for calculating a correction coefficient according to a second correction value according to a third correction value according to a third difference value which is a difference between the third reference value and the third actual measurement value;
A fourth acquisition process of acquiring fourth imaging data corresponding to a measurement object including a plurality of parallel fourth streaks taken by the imaging device and parallel to the setting direction;
A fourth measurement process of measuring a fourth actual measurement value which is an actual measurement value of the number per unit length of the fourth filament with the fourth imaging data as a processing target;
A second calculation process of calculating the number of corrections obtained by correcting the fourth measured value by the correction coefficient;
A portable information processing apparatus, which executes output processing for outputting the number of corrections to a display device for displaying the number of corrections.
前記第一算出処理は、
前記第一差値を前記第一実測値で除して前記第一補正値を算出する処理と、
前記第二差値を前記第二実測値で除して前記第二補正値を算出する処理と、
前記第三差値を前記第三実測値で除して前記第三補正値を算出する処理と、を含む、請求項1に記載の携帯型情報処理装置。
The first calculation process is
A process of calculating the first correction value by dividing the first difference value by the first actual measurement value;
A process of calculating the second correction value by dividing the second difference value by the second actual measurement value;
The portable information processing apparatus according to claim 1, further comprising: a process of dividing the third difference value by the third actual value to calculate the third correction value.
前記第一算出処理は、前記第一実測値、前記第二実測値及び前記第三実測値と、前記第一補正値、前記第二補正値及び前記第三補正値と、を入力値としたガウスの消去法の実行により、前記補正係数を算出する処理である、請求項2に記載の携帯型情報処理装置。   The first calculation process uses the first actual measurement value, the second actual measurement value, and the third actual measurement value, and the first correction value, the second correction value, and the third correction value as input values. The portable information processing apparatus according to claim 2, wherein the correction coefficient is calculated by performing Gaussian elimination. 前記携帯型情報処理装置は、前記プロセッサと、前記撮像装置と、前記表示装置と、を備える一体型の装置である、請求項1から請求項3の何れか1項に記載の携帯型情報処理装置。   The portable information processing device according to any one of claims 1 to 3, wherein the portable information processing device is an integrated device including the processor, the imaging device, and the display device. apparatus. 携帯型情報処理装置を制御するプロセッサに、
撮像装置によって撮像され且つ単位長さ当たりの本数が第一基準値に設定された設定方向に沿った互いに平行な複数の第一線条を含む第一基準画像に対応する第一撮像データを取得する第一取得処理と、
前記第一撮像データを処理対象として、前記第一線条の前記単位長さ当たりの本数の実測値である第一実測値を計測する第一計測処理と、
前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第一基準値より大きな第二基準値に設定された前記設定方向に沿った互いに平行な複数の第二線条を含む第二基準画像に対応する第二撮像データを取得する第二取得処理と、
前記第二撮像データを処理対象として、前記第二線条の前記単位長さ当たりの本数の実測値である第二実測値を計測する第二計測処理と、
前記撮像装置によって撮像され且つ前記単位長さ当たりの本数が前記第二基準値より大きな第三基準値に設定された前記設定方向に沿った互いに平行な複数の第三線条を含む第三基準画像に対応する第三撮像データを取得する第三取得処理と、
前記第三撮像データを処理対象として、前記第三線条の前記単位長さ当たりの本数の実測値である第三実測値を計測する第三計測処理と、
前記第一基準値と前記第一実測値との差である第一差値に応じた第一補正値と、前記第二基準値と前記第二実測値との差である第二差値に応じた第二補正値と、前記第三基準値と前記第三実測値との差である第三差値に応じた第三補正値と、に従い、補正係数を算出する第一算出処理と、
前記撮像装置によって撮像され且つ前記設定方向に沿った互いに平行な複数の第四線条を含む計測対象物に対応する第四撮像データを取得する第四取得処理と、
前記第四撮像データを処理対象として、前記第四線条の前記単位長さ当たりの本数の実測値である第四実測値を計測する第四計測処理と、
前記補正係数によって前記第四実測値を補正した補正本数を算出する第二算出処理と、
前記補正本数を表示する表示装置に前記補正本数を出力する出力処理と、を実行させるプログラム。
A processor for controlling the portable information processing apparatus;
First imaging data corresponding to a first reference image captured by the imaging device and including a plurality of parallel parallel first streaks along the set direction in which the number per unit length is set to the first reference value The first acquisition process to
A first measurement process of measuring a first actual measurement value which is an actual measurement value of the number per unit length of the first filament with the first imaging data as a processing target;
A second reference including a plurality of parallel second stripes parallel to the setting direction which are imaged by the imaging device and whose number per unit length is set to a second reference value larger than the first reference value A second acquisition process of acquiring second imaging data corresponding to the image;
A second measurement process for measuring a second actual measurement value which is an actual measurement value of the number per unit length of the second filament with the second imaging data as a processing target;
A third reference image including a plurality of parallel parallel third streaks taken by the imaging device and having the number per unit length set to a third reference value greater than the second reference value Third acquisition processing for acquiring third imaging data corresponding to
A third measurement process of measuring a third actual measurement value which is an actual measurement value of the number per unit length of the third filament with the third imaging data as a processing target;
A first correction value according to a first difference value which is a difference between the first reference value and the first actual measurement value, and a second difference value which is a difference between the second reference value and the second actual measurement value A first calculation process for calculating a correction coefficient according to a second correction value according to a third correction value according to a third difference value which is a difference between the third reference value and the third actual measurement value;
A fourth acquisition process of acquiring fourth imaging data corresponding to a measurement object including a plurality of parallel fourth streaks taken by the imaging device and parallel to the setting direction;
A fourth measurement process of measuring a fourth actual measurement value which is an actual measurement value of the number per unit length of the fourth filament with the fourth imaging data as a processing target;
A second calculation process of calculating the number of corrections obtained by correcting the fourth measured value by the correction coefficient;
A program for executing an output process of outputting the number of corrections on a display device for displaying the number of corrections.
JP2017218665A 2017-11-13 2017-11-13 Portable information processing equipment and programs Active JP7009171B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017218665A JP7009171B2 (en) 2017-11-13 2017-11-13 Portable information processing equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017218665A JP7009171B2 (en) 2017-11-13 2017-11-13 Portable information processing equipment and programs

Publications (2)

Publication Number Publication Date
JP2019090125A true JP2019090125A (en) 2019-06-13
JP7009171B2 JP7009171B2 (en) 2022-01-25

Family

ID=66837222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017218665A Active JP7009171B2 (en) 2017-11-13 2017-11-13 Portable information processing equipment and programs

Country Status (1)

Country Link
JP (1) JP7009171B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60209063A (en) * 1984-03-31 1985-10-21 工業技術院長 Measurement of density of knitted fabric
JP2001050902A (en) * 1999-05-31 2001-02-23 Japan Vilene Co Ltd Method and device for evaluating state of object to be measured
JP2004037387A (en) * 2002-07-05 2004-02-05 Toyobo Co Ltd Evaluation device, evaluation method, evaluation execution program and evaluation system
JP2006058185A (en) * 2004-08-20 2006-03-02 Seiren Co Ltd Filament inspection method and device
US20160273154A1 (en) * 2015-03-20 2016-09-22 Tda Research, Inc. Non-desrtructive evaluation of functional fabrics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60209063A (en) * 1984-03-31 1985-10-21 工業技術院長 Measurement of density of knitted fabric
JP2001050902A (en) * 1999-05-31 2001-02-23 Japan Vilene Co Ltd Method and device for evaluating state of object to be measured
JP2004037387A (en) * 2002-07-05 2004-02-05 Toyobo Co Ltd Evaluation device, evaluation method, evaluation execution program and evaluation system
JP2006058185A (en) * 2004-08-20 2006-03-02 Seiren Co Ltd Filament inspection method and device
US20160273154A1 (en) * 2015-03-20 2016-09-22 Tda Research, Inc. Non-desrtructive evaluation of functional fabrics

Also Published As

Publication number Publication date
JP7009171B2 (en) 2022-01-25

Similar Documents

Publication Publication Date Title
US10181202B2 (en) Control apparatus, robot, and control method
JP6055228B2 (en) Shape measuring device
JP2014115109A5 (en)
JP2013224833A (en) Visual inspection device, visual inspection method and computer program
JP6278842B2 (en) Inspection device, inspection method, and program
CN117058154B (en) Defect identification method, system and medium for 3DP metal printing powder spreading process
JP2012058978A (en) Image processor, image processing method and program
JP2015232482A (en) Inspection equipment, inspection method and program
KR101635309B1 (en) Apparatus and method of textrue filtering using patch shift
KR101653861B1 (en) Drawing data generating method, drawing method, drawing data generating apparatus and drawing apparatus
JP6599698B2 (en) Image measuring apparatus and control program therefor
JP2019090125A (en) Portable information processing device and program
CN112347837A (en) Image processing system
CN110136233B (en) Method, terminal and storage medium for generating nail effect map
KR20180034237A (en) Image processing apparatus, image processing method, storage medium, and program
JP2015170206A (en) detection device and detection method
JP2008294451A (en) Image forming method and image forming apparatus
JP6229134B2 (en) Measuring device
JP2017023474A (en) Skin pore analysis apparatus, skin pore analysis method and program for use in device
US20140064633A1 (en) Image processing apparatus and image processing method
JP2018197692A (en) Damage state processing system
JP2018049498A (en) Image processor, operation detection method, computer program, and storage medium
JP2017223512A (en) Surface state diagnosis device
JP2007104296A (en) Method, apparatus, and program for measuring resolution
CN108154184B (en) Personality type determining method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220112

R150 Certificate of patent or registration of utility model

Ref document number: 7009171

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150