[go: up one dir, main page]

WO2024185071A1 - Component identification device, component identification method, and component identification program - Google Patents

Component identification device, component identification method, and component identification program Download PDF

Info

Publication number
WO2024185071A1
WO2024185071A1 PCT/JP2023/008786 JP2023008786W WO2024185071A1 WO 2024185071 A1 WO2024185071 A1 WO 2024185071A1 JP 2023008786 W JP2023008786 W JP 2023008786W WO 2024185071 A1 WO2024185071 A1 WO 2024185071A1
Authority
WO
WIPO (PCT)
Prior art keywords
parts
feature amount
feature
similar
similarity
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.)
Ceased
Application number
PCT/JP2023/008786
Other languages
French (fr)
Japanese (ja)
Inventor
英司 山本
尚吾 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to PCT/JP2023/008786 priority Critical patent/WO2024185071A1/en
Publication of WO2024185071A1 publication Critical patent/WO2024185071A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • This disclosure relates to a part identification device, a part identification method, and a part identification program.
  • Patent Document 1 discloses a design support system that has a database that stores the correspondence between part functions and the shapes that realize those functions, making it easy to search for and extract shape data that corresponds to required functions.
  • This disclosure has been made to solve the above-mentioned problems, and aims to show parts that have a similar arrangement of elements to the original parts.
  • the part identification device includes an input unit to which an image including a first part is input, a feature extraction unit that extracts, for the first part, feature amounts in the arrangement of elements that constitute the part from the image, a similarity calculation unit that reads out feature amounts for the second part from a database that stores a plurality of identification information, which is information for identifying parts, and feature amounts in association with each other for second parts, and calculates a similarity by comparing the feature amounts with the feature amounts extracted by the feature extraction unit, and an output unit that uses the similarity to identify similar parts that are similar to the first part from among the second parts, and reads out the identification information for the similar parts from the database and outputs it.
  • the part identification device extracts features of the arrangement of elements that make up a part from an image of a first part, reads the features from a database that stores multiple features related to a second part, calculates a similarity by comparing the extracted features, and identifies and outputs similar parts from among the second parts using the similarity. This makes it possible to show parts that are similar to the first part in terms of the arrangement of elements.
  • FIG. 2 is a hardware configuration diagram of the part identification device according to the first embodiment.
  • FIG. 2 is a functional configuration diagram of the part identifying device according to the first embodiment.
  • FIG. 2 is a diagram showing an original part and its elements according to the first embodiment.
  • FIG. 2 is a diagram showing the data structure of a feature DB according to the first embodiment.
  • 4 is a flowchart showing the operation of the part identifying device according to the first embodiment.
  • FIG. 13 is a diagram showing the data structure of a feature DB according to the second embodiment.
  • FIG. 13 is a diagram showing a linear meter according to a second embodiment and its elements.
  • FIG. 11 is a functional configuration diagram of a part identifying device according to a second embodiment.
  • Embodiment 1 the first embodiment will be described in detail with reference to the drawings.
  • a part identification device identifies parts (hereinafter, referred to as similar parts) similar to parts (hereinafter, referred to as original parts) constituting a control panel before replacement, and outputs the results.
  • a user can grasp the similar parts by viewing the information output by the part identification device, and can select which parts will actually replace the parts constituting the control panel before replacement.
  • the processor 101 may be, for example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), a GPU (Graphical Processing Unit), or an FPGA (Field-Programmable Gated Array).
  • a CPU Central Processing Unit
  • DSP Digital Signal Processor
  • GPU Graphics Processing Unit
  • FPGA Field-Programmable Gated Array
  • the memory 102 is, for example, a static random access memory (SRAM), a dynamic random access memory (DRAM), or a read-only memory (ROM). If the memory capacity of the memory 102 alone is insufficient, the part identification device 100 may include an auxiliary storage device (not shown) as necessary.
  • the auxiliary storage device is, for example, a hard disk drive (HDD) or a solid state drive (SSD).
  • the input/output IF 103 is an interface for inputting and outputting information from outside the part identification device 100.
  • a mouse, a keyboard, a display, an external memory, and a network cable are connected to the input/output IF 103.
  • FIG. 2 is a functional configuration diagram of part identification device 100 according to the first embodiment.
  • Part identification device 100 includes input unit 105, type identification unit 106, feature extraction unit 107, similarity calculation unit 108, output unit 110, and feature DB 109 (Data Base).
  • Part identification device 100 accepts input of an image of the control panel before replacement via input unit 105, and outputs information indicating parts whose element arrangement is similar to that of the original parts constituting the control panel before replacement from output unit 110.
  • the input/output IF 103 is implemented as an input unit 105 and an output unit 110.
  • the processor 101 is implemented as a type identification unit 106, a feature extraction unit 107, and a similarity calculation unit 108.
  • the memory 102 is implemented as a feature DB 109.
  • the input unit 105 accepts input of an image of the control panel before replacement. Note that the image input to the input unit 105 may be an image of the original component alone, rather than an image of the control panel.
  • the type identification unit 106 recognizes the original part shown in the image received by the input unit 105, and identifies the elements that make up the original part and the type of the original part.
  • FIG. 3 is a diagram showing an original part and its elements according to the first embodiment.
  • Original part 111 is composed of needle 111a, scale 111b, numeric display 111c, center circle 111d, and display board 111e.
  • type identification unit 106 is preset to identify the type of a part as an analog meter when the part is composed of a needle, scale, numeric display, center circle, and display board.
  • type identification unit 106 recognizes that original part 111 shown in the image is composed of five elements, namely needle 111a, scale 111b, numeric display 111c, center circle 111d, and display board 111e, and identifies the type of original part 111 as an analog meter.
  • the feature extraction unit 107 extracts features related to the arrangement of elements for the original part 111 recognized by the type identification unit 106.
  • the similarity calculation unit 108 calculates the similarity by comparing the features between the original part 111 and the candidate part.
  • the candidate part is a part that is selected as a part that constitutes the control panel after replacement, and a plurality of candidate parts are prepared in advance.
  • the similarity calculation unit 108 uses the feature DB 109 when making the comparison.
  • FIG. 4 is a diagram showing the data structure of the feature DB 109 according to the first embodiment.
  • the feature DB 109 stores, for three candidate parts whose type is an analog meter (part IDs 112 are A, B, and C, respectively), part IDs 112 and feature values 113 in association with each other.
  • the part IDs 112 correspond to identification information that is information for a user or device to identify each part.
  • the identification information may also be the name of the part or a thumbnail image of the part.
  • the feature DB 109 is not limited to the example of the first embodiment, and may store identification information and feature values 113 in association with each other.
  • the feature DB 109 in FIG. 4 is shown storing only three candidate parts whose type is analog meter, but in reality, the feature DB 109 also stores candidate parts whose type is other than analog meter, with part IDs and feature values associated with each other.
  • the feature values 113 indicate feature values for three points: the position of the center circle, the distance between the scale and the numerical display, and whether or not the scale is outside the numerical display.
  • the feature 113 of a candidate part whose part ID 112 is A indicates that the position where the central circle is located is coordinate (20, 15).
  • coordinates indicate a position based on a predetermined origin.
  • the origin is the top left pixel of the image of the cut-out part
  • coordinates (20, 15) indicate a point that is moved 20 pixels to the right and 15 pixels down from the origin.
  • the feature 113 may be a coordinate value that indicates where within the part an element is located.
  • the position of the origin is arbitrary, and may be, for example, the center of the part.
  • the unit of the coordinates is also arbitrary, and may be, for example, a relative value based on the dimensions of the part (e.g., vertical or horizontal width).
  • the feature amount 113 of the candidate part whose part ID 112 is A indicates that the distance between the scale and the numerical display is 5.
  • the feature amount 113 may be the relative distance between elements.
  • the feature amount 113 of the candidate part whose part ID 112 is A indicates that whether or not the scale is outside the numerical display is "True.” In this way, the feature amount 113 may indicate the relative positional relationship between elements. Furthermore, the feature amount 113 may be a multiple-choice value instead of a numerical value.
  • the feature 113 of the candidate part whose part ID 112 is B indicates that the position of the center circle is (20, 23), the distance between the scale and the numerical display is 7, and whether or not the scale is outside the numerical display is "False.”
  • the feature 113 of the candidate part whose part ID 112 is C indicates that the position of the center circle is (20, 17), the distance between the scale and the numerical display is 2, and whether or not the scale is outside the numerical display is "False.”
  • the part identification device 100 stores the feature amount DB 109 in advance.
  • the feature amount DB 109 may be created by a user, or may be generated by artificial intelligence such as machine learning.
  • the similarity calculation unit 108 compares the features of the original part 111 and the candidate parts to calculate the similarity.
  • the candidate parts that the similarity calculation unit 108 compares are of the same type as the original part 111. Since the type of the original part 111 is an analog meter, three candidate parts with part IDs 112 of A, B, and C are compared.
  • the similarity calculation unit 108 finds the difference between the feature values of the original part 111 and the feature values 113 of the candidate parts, and calculates a higher similarity the smaller the difference is.
  • the feature amount of the original part 111 indicates that the position of the center circle is (20, 18), the distance between the scale and the numerical display is 2, and whether or not the scale is outside the numerical display is "False". Also, consider an example in which a comparison is made with a candidate part with a part ID of A in FIG. 4.
  • the difference in the position of the center circle is a two-dimensional value, and since it cannot be added to other one-dimensional differences as it is, it may be converted to one dimension by calculating the norm as necessary.
  • the similarity calculation unit calculates the absolute value of each difference and adds them together to determine the overall difference. In other words, the overall difference is
  • the differences between multiple feature amounts are simply added up, but the differences between each feature amount may be multiplied by a predetermined coefficient before being added up. This allows you to set the degree to which each of the multiple feature amounts is weighted when calculating the similarity.
  • the output unit 110 uses the similarity calculated by the similarity calculation unit 108 to identify similar parts, which are parts similar to the original part 111, from among the candidate parts. Specifically, the output unit 110 determines that a candidate part whose similarity exceeds a predetermined threshold value is a similar part. The output unit 110 reads out identification information related to the similar parts from the feature DB 109 and outputs it.
  • the output unit 110 may output identification information related only to similar parts as a search result. This ensures that the parts output as a search result are similar parts, and the user can easily select similar parts.
  • the output unit 110 may also output a list of similar parts associated with similarity as a search result. This allows the user to understand the similarity of the similar parts and easily recognize similar parts with high similarity.
  • the output unit 110 may also display the search result so that parts with high similarity stand out. For example, the output unit 110 may list similar parts in descending order of similarity.
  • the output unit 110 may output similar parts together with candidate parts that are not similar parts, while displaying only similar parts in a way that makes them stand out (such as making the text bold or red, making the background color fluorescent, or surrounding them with a red line). This makes candidate parts with higher similarity more noticeable to the user, and the user can easily recognize candidate parts with higher similarity.
  • FIG. 5 is a flowchart showing the operation of the part identification device 100 according to the first embodiment.
  • the input unit 105 accepts input of an image of the control panel before replacement (step S101), and proceeds to step S102.
  • the type identification unit 106 recognizes the original part 111 shown in the image received by the input unit 105, identifies the elements that make up the original part 111 and the type of the original part 111 (step S102), and proceeds to step S103.
  • the feature extraction unit 107 extracts features related to the arrangement of elements for the original part 111 (step S103), and the process proceeds to step S104.
  • the similarity calculation unit 108 selects one candidate part of the same type as the original part 111 from among the candidate parts stored in the feature DB 109 (step S104), and proceeds to step S105.
  • the similarity calculation unit 108 calculates the similarity between the original part 111 and the candidate part selected in step S104 by comparing the features (step S105), and proceeds to step S106.
  • the similarity calculation unit 108 obtains the features 113 of the candidate part by reading them from the feature DB 109.
  • the similarity calculation unit 108 determines whether the calculation of similarities has been completed for all candidate parts of the same type among the candidate parts stored in the feature DB 109 (step S106), and if it is determined that the calculation is completed, proceeds to step S107, otherwise proceeds to step S104.
  • the output unit 110 uses the similarity calculated by the similarity calculation unit 108 to identify similar parts from among the candidate parts, reads out and outputs identification information related to the similar parts from the feature DB 109 (step S107), and ends the flowchart in FIG. 5.
  • the part identification device 100 extracts, for a first part, feature amounts in the arrangement of elements constituting a part from an image, reads out feature amounts 113 for the second part from a database that stores a plurality of identification information, which is information for identifying parts, and feature amounts 113 in association with each other for a second part, calculates a similarity by comparing it with the extracted feature amounts, identifies similar parts that are similar to the first part from among the second parts using the similarity, and reads out and outputs the identification information for the similar parts from the database.
  • the part identification device 100 can indicate parts that are similar to the first part in terms of element arrangement, and the user can select parts that are highly similar to the first part in terms of element arrangement.
  • the feature amount 113 related to the candidate part and the extracted feature amount indicate the position of the elements within the part, or the distance between the elements, or the positional relationship between the elements. This allows the part identification device 100 to indicate, as a similar part, a part that is similar to the original part 111 in terms of the position of the elements within the part, or the distance between the elements, or the positional relationship between the elements.
  • the information output by the output unit 110 can also be input information to another device.
  • the other device is, for example, a device that automatically replaces a control panel by automatically selecting similar parts.
  • the other device can automatically replace a control panel by selecting the part with the highest similarity from among the similar parts indicated in the information output by the part identification device 100.
  • FIG. 6 is a diagram showing the data structure of the feature DB 109 according to the second embodiment.
  • the difference from the first embodiment is that a group ID 114 is added.
  • the group ID 114 is a value for grouping candidate parts with similar element arrangements.
  • a candidate part with a component ID of A is associated with group 1 as the group ID 114
  • a candidate part with a component ID of B is associated with group 2 as the group ID 114
  • a candidate part with a component ID of C is associated with group 3 as the group ID 114.
  • group IDs 114 are also assigned to candidate parts of other types (for example, linear meters, which will be described later), and analog meters and linear meters that are similar to each other in terms of element arrangement are assigned the same group ID 114.
  • candidate parts associated with the same group ID 114 are preferentially output as candidate parts to replace the two, thereby making it possible to replace the control panel with a sense of unity as a whole.
  • FIG. 7 is a diagram showing a linear meter and its elements according to the second embodiment.
  • the linear meter 116 is composed of a meter 116a, a meter 116b, a scale 116c, and a numerical display 116d.
  • one of the features of the linear meter 116 is the distance between the scale 116c and the numerical display 116d. This feature can be considered to be the same as the feature 113 relating to the distance between the scale 111b and the numerical display 111c in the analog meter.
  • the feature of the distance between the scale and the numerical display is compared with each other, and the same group ID 114 is associated with an analog meter and a linear meter 116 whose difference is sufficiently small (for example, less than a predetermined threshold value).
  • the features are compared with each other, and if the difference is sufficiently small, the same group ID 114 is associated.
  • FIG. 8 is a functional configuration diagram of the part identification device 100 according to the second embodiment.
  • the difference from the first embodiment is that a group judgment unit 115 is added.
  • the group judgment unit 115 collects the group IDs 114 of the identified similar parts in the replacement of the control panel.
  • the group judgment unit 115 performs the above-mentioned process for each of the multiple original parts that make up the control panel before replacement.
  • the group judgment unit 115 counts the distribution of the collected group IDs 114 and judges the group ID that is suitable for the control panel before replacement.
  • the group judgment unit 115 may count the group IDs 114 of the similar parts with the highest similarity for each original part, and judge that the group ID 114 that is the most common as a result of the count is the most suitable for the control panel before replacement. This allows a majority vote to be taken on an original part basis, and the group IDs 114 that are considered suitable can be narrowed down to one.
  • the group determination unit 115 according to the present disclosure is not limited to the above operation, and may extract multiple group IDs 114 suitable for the control panel before replacement. This allows multiple groups to be presented to the user from the part identification device 100, allowing the user to have a wider range of parts to choose from. In this manner, the group determination unit 115 determines the group ID 114 suitable for the control panel before replacement, and passes the group ID 114 to the output unit 110.
  • the output unit 110 outputs information indicating candidate parts corresponding to group ID 114 suitable for the control panel before replacement. Specifically, the output unit 110 may output candidate parts corresponding to group ID 114 suitable for the control panel before replacement in addition to outputting similar parts as described in the first embodiment. Alternatively, the output unit 110 may output only those of the identified similar parts that correspond to group ID 114 suitable for the control panel before replacement.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

An input unit (105) inputs an image containing a first component. A feature amount extraction unit (107) extracts, for the first component, a feature amount in disposition of an element forming a component from the image. A similarity calculation unit (108) reads, from a database storing a plurality of pieces of identification information, which is information for identifying components and a plurality of feature amounts in association with each other for second components, a feature amount related to the second component and compares the read feature amount to the feature amount extracted by the feature amount extraction unit to calculate a similarity. The output section (110) uses the similarity to identify a similar component, which is a component similar to the first component, from among the second components, and then reads and outputs the identification information related to the similar component from the database.

Description

部品特定装置、部品特定方法、部品特定プログラムPART IDENTIFICATION DEVICE, PART IDENTIFICATION METHOD, AND PART IDENTIFICATION PROGRAM

 本開示は、部品特定装置、部品特定方法、部品特定プログラムに関する。 This disclosure relates to a part identification device, a part identification method, and a part identification program.

 過去に開発した部品の設計データを利用することで製品設計を効率化する設計支援システムが知られている。例えば特許文献1には、部品の機能とその機能を実現する形状との対応付けを格納するデータベースを備えることで、要求される機能に対応した形状データを容易に検索し抽出できる設計支援システムが開示されている。  There is a known design support system that makes product design more efficient by using design data for parts that were previously developed. For example, Patent Document 1 discloses a design support system that has a database that stores the correspondence between part functions and the shapes that realize those functions, making it easy to search for and extract shape data that corresponds to required functions.

特開2008-21159号公報JP 2008-21159 A

 機器を新しいものに置き換える際の製品設計では、既存の機器と類似した形状に設計することが望ましい場合がある。例えば、工場等で稼働しているハードウェアで実現された既存の制御盤をソフトウェアによって模したグラフィック画面で実現された制御盤に置き換える場合、メータといった部品を構成する要素(例えば目盛りや数値表示)の配置は元の部品に類似した配置である方が置き換え後にユーザが違和感なく使用を開始できるメリットがある。しかしながら、上述の従来技術では機能に対応した部品の形状データを抽出することは可能であるものの、元の部品と類似した配置にするためにはユーザが適切な形状データを選択する必要があり、設計負荷が高くなるという問題があった。 When designing a product to replace equipment with a new one, it is sometimes desirable to design it with a shape similar to that of the existing equipment. For example, when replacing an existing control panel implemented with hardware in operation at a factory, etc., with a control panel implemented with a graphic screen simulated by software, it is advantageous for the layout of the elements that make up a part such as a meter (for example, scales and numerical display) to be similar to that of the original part, so that users can start using it without feeling uncomfortable after the replacement. However, while the above-mentioned conventional technology makes it possible to extract shape data for parts corresponding to functions, there is a problem in that the user needs to select appropriate shape data to achieve a layout similar to that of the original part, which increases the design load.

 本開示は上述の課題を解決するためになされたもので、元の部品と要素の配置が類似する部品を示すことを目的とする。 This disclosure has been made to solve the above-mentioned problems, and aims to show parts that have a similar arrangement of elements to the original parts.

 本開示に係る部品特定装置は、第一の部品を含む画像が入力される入力部と、部品を構成する要素の配置における特徴量を、前記第一の部品に関して前記画像から抽出する特徴量抽出部と、部品を識別するための情報である識別情報と特徴量とを、第二の部品に関して対応付けて複数格納するデータベースから、前記第二の部品に関する特徴量を読み出し、前記特徴量抽出部が抽出した特徴量と比較することで類似度を算出する類似度算出部と、前記類似度を用いて前記第二の部品の中から前記第一の部品と類似する部品である類似部品を特定し、前記類似部品に関する前記識別情報を前記データベースから読み出して出力する出力部と、を備える。 The part identification device according to the present disclosure includes an input unit to which an image including a first part is input, a feature extraction unit that extracts, for the first part, feature amounts in the arrangement of elements that constitute the part from the image, a similarity calculation unit that reads out feature amounts for the second part from a database that stores a plurality of identification information, which is information for identifying parts, and feature amounts in association with each other for second parts, and calculates a similarity by comparing the feature amounts with the feature amounts extracted by the feature extraction unit, and an output unit that uses the similarity to identify similar parts that are similar to the first part from among the second parts, and reads out the identification information for the similar parts from the database and outputs it.

 本開示に係る部品特定装置は、部品を構成する要素の配置における特徴量を、第一の部品に関して画像から抽出し、第二の部品に関する特徴量を複数格納するデータベースから特徴量を読み出し、抽出した特徴量と比較することで類似度を算出し、上記類似度を用いて上記第二の部品の中から類似部品を特定して出力する。これにより、要素の配置に関して第一の部品と類似している部品を示すことができる。 The part identification device according to the present disclosure extracts features of the arrangement of elements that make up a part from an image of a first part, reads the features from a database that stores multiple features related to a second part, calculates a similarity by comparing the extracted features, and identifies and outputs similar parts from among the second parts using the similarity. This makes it possible to show parts that are similar to the first part in terms of the arrangement of elements.

実施の形態1に係る部品特定装置のハードウェア構成図。FIG. 2 is a hardware configuration diagram of the part identification device according to the first embodiment. 実施の形態1に係る部品特定装置の機能構成図。FIG. 2 is a functional configuration diagram of the part identifying device according to the first embodiment. 実施の形態1に係る元部品とその要素を示す図。FIG. 2 is a diagram showing an original part and its elements according to the first embodiment. 実施の形態1に係る特徴量DBのデータ構造を示す図。FIG. 2 is a diagram showing the data structure of a feature DB according to the first embodiment. 実施の形態1に係る部品特定装置の動作を示すフローチャート。4 is a flowchart showing the operation of the part identifying device according to the first embodiment. 実施の形態2に係る特徴量DBのデータ構造を示す図。FIG. 13 is a diagram showing the data structure of a feature DB according to the second embodiment. 実施の形態2に係るリニアメータとその要素を示す図。FIG. 13 is a diagram showing a linear meter according to a second embodiment and its elements. 実施の形態2に係る部品特定装置の機能構成図。FIG. 11 is a functional configuration diagram of a part identifying device according to a second embodiment.

実施の形態1.
 以下、実施の形態1を図面に基づいて詳細に説明する。実施の形態1では、部品特定装置が、置き換え前の制御盤を構成する部品(以降、元部品と呼ぶ)と類似する部品(以降、類似部品と呼ぶ)を特定し、その結果を出力する例を示す。つまり、ユーザは、部品特定装置が出力する情報を閲覧することで類似部品を把握でき、置き換え前の制御盤を構成する部品をいずれの部品へと実際に置き換えるのか選択することができる。
Embodiment 1.
Hereinafter, the first embodiment will be described in detail with reference to the drawings. In the first embodiment, an example will be shown in which a part identification device identifies parts (hereinafter, referred to as similar parts) similar to parts (hereinafter, referred to as original parts) constituting a control panel before replacement, and outputs the results. In other words, a user can grasp the similar parts by viewing the information output by the part identification device, and can select which parts will actually replace the parts constituting the control panel before replacement.

 なお、元部品は、請求項における第一の部品に対応する。 The original part corresponds to the first part in the claims.

 図1は、実施の形態1に係る部品特定装置のハードウェア構成図である。部品特定装置100は、プロセッサ101と、メモリ102と、入出力IF103(Interface)と、バス104とを備える。プロセッサ101と、メモリ102と、入出力IF103は、互いにバス104を介して通信可能に接続されている。 FIG. 1 is a hardware configuration diagram of a part identification device according to the first embodiment. The part identification device 100 includes a processor 101, a memory 102, an input/output IF 103 (interface), and a bus 104. The processor 101, the memory 102, and the input/output IF 103 are connected to each other via the bus 104 so as to be able to communicate with each other.

 プロセッサ101は、例えば、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphical Processing Unit)、FPGA(Field-Programmable Gated Array)である。 The processor 101 may be, for example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), a GPU (Graphical Processing Unit), or an FPGA (Field-Programmable Gated Array).

 メモリ102は、例えば、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、ROM(Read-Only Memory)である。メモリ102だけでは記憶容量が不足する場合には、部品特定装置100は、必要に応じて図示しない補助記憶装置を備えても良い。補助記憶装置は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)である。 The memory 102 is, for example, a static random access memory (SRAM), a dynamic random access memory (DRAM), or a read-only memory (ROM). If the memory capacity of the memory 102 alone is insufficient, the part identification device 100 may include an auxiliary storage device (not shown) as necessary. The auxiliary storage device is, for example, a hard disk drive (HDD) or a solid state drive (SSD).

 入出力IF103は、部品特定装置100の外部と情報を入出力するためのインタフェースである。入出力IF103は、例えば、マウス、キーボード、ディスプレイ、外部メモリ、ネットワークケーブルが接続される。 The input/output IF 103 is an interface for inputting and outputting information from outside the part identification device 100. For example, a mouse, a keyboard, a display, an external memory, and a network cable are connected to the input/output IF 103.

 図2は、実施の形態1に係る部品特定装置100の機能構成図である。部品特定装置100は、入力部105と、種別特定部106と、特徴量抽出部107と、類似度算出部108と、出力部110と、特徴量DB109(Data Base:データベース)とを備える。部品特定装置100は、置き換え前の制御盤の画像の入力を入力部105により受け付け、置き換え前の制御盤を構成する元部品と要素の配置が類似する部品を示す情報を出力部110から出力する。 FIG. 2 is a functional configuration diagram of part identification device 100 according to the first embodiment. Part identification device 100 includes input unit 105, type identification unit 106, feature extraction unit 107, similarity calculation unit 108, output unit 110, and feature DB 109 (Data Base). Part identification device 100 accepts input of an image of the control panel before replacement via input unit 105, and outputs information indicating parts whose element arrangement is similar to that of the original parts constituting the control panel before replacement from output unit 110.

 なお、入出力IF103は、入力部105と出力部110として実装される。また、プロセッサ101は、種別特定部106と特徴量抽出部107と類似度算出部108として実装される。また、メモリ102は、特徴量DB109として実装される。 The input/output IF 103 is implemented as an input unit 105 and an output unit 110. The processor 101 is implemented as a type identification unit 106, a feature extraction unit 107, and a similarity calculation unit 108. The memory 102 is implemented as a feature DB 109.

 入力部105は、置き換え前の制御盤の画像の入力を受け付ける。なお、入力部105に入力される画像は、制御盤の画像ではなく、元部品単体の画像でも良い。 The input unit 105 accepts input of an image of the control panel before replacement. Note that the image input to the input unit 105 may be an image of the original component alone, rather than an image of the control panel.

 種別特定部106は、入力部105が受け付けた画像に写っている元部品を認識し、元部品を構成する要素、および元部品の種別を特定する。 The type identification unit 106 recognizes the original part shown in the image received by the input unit 105, and identifies the elements that make up the original part and the type of the original part.

 図3は、実施の形態1に係る元部品とその要素を示す図である。元部品111は、針111a、目盛り111b、数値表示111c、中心円111d、表示板111eにより構成される。ここで、種別特定部106は、ある部品が針、目盛り、数値表示、中心円、表示板により構成される場合、当該部品の種別がアナログメータであると特定するよう予め設定されている。つまり、種別特定部106は、画像に写っている元部品111が針111a、目盛り111b、数値表示111c、中心円111d、表示板111eという5つの要素によって構成されることを認識した結果、元部品111の種別がアナログメータであると特定する。 FIG. 3 is a diagram showing an original part and its elements according to the first embodiment. Original part 111 is composed of needle 111a, scale 111b, numeric display 111c, center circle 111d, and display board 111e. Here, type identification unit 106 is preset to identify the type of a part as an analog meter when the part is composed of a needle, scale, numeric display, center circle, and display board. In other words, type identification unit 106 recognizes that original part 111 shown in the image is composed of five elements, namely needle 111a, scale 111b, numeric display 111c, center circle 111d, and display board 111e, and identifies the type of original part 111 as an analog meter.

 図2の説明に戻る。特徴量抽出部107は、種別特定部106が認識した元部品111について、要素の配置に関する特徴量を抽出する。 Returning to the explanation of FIG. 2, the feature extraction unit 107 extracts features related to the arrangement of elements for the original part 111 recognized by the type identification unit 106.

 類似度算出部108は、元部品111と候補部品との間で、特徴量を比較することで類似度を算出する。ここで、候補部品とは、置き換え後の制御盤を構成する部品として選択される候補となる部品であり、予め複数用意されている。類似度算出部108は、比較の際に特徴量DB109を用いる。 The similarity calculation unit 108 calculates the similarity by comparing the features between the original part 111 and the candidate part. Here, the candidate part is a part that is selected as a part that constitutes the control panel after replacement, and a plurality of candidate parts are prepared in advance. The similarity calculation unit 108 uses the feature DB 109 when making the comparison.

 図4は、実施の形態1に係る特徴量DB109のデータ構造を示す図である。特徴量DB109は、種別がアナログメータである候補部品3個(部品ID112がそれぞれA、B、Cである)に関して、部品ID112と特徴量113とを対応付けて記憶している。部品ID112は、ユーザまたは装置が各部品を識別するための情報である識別情報に相当する。識別情報は、他にも、部品の名称、または部品のサムネイル画像でも良い。特徴量DB109は、実施の形態1の例に限らず、識別情報と特徴量113とを対応付けて記憶すれば良い。 FIG. 4 is a diagram showing the data structure of the feature DB 109 according to the first embodiment. The feature DB 109 stores, for three candidate parts whose type is an analog meter (part IDs 112 are A, B, and C, respectively), part IDs 112 and feature values 113 in association with each other. The part IDs 112 correspond to identification information that is information for a user or device to identify each part. The identification information may also be the name of the part or a thumbnail image of the part. The feature DB 109 is not limited to the example of the first embodiment, and may store identification information and feature values 113 in association with each other.

 なお、説明をわかりやすくする都合上、図4における特徴量DB109は種別がアナログメータである候補部品3個についてのみ記憶している様子を示しているが、実際の特徴量DB109はアナログメータ以外の種別の候補部品についても部品IDと特徴量とを対応付けて記憶している。図4の例では、特徴量113は、中心円の位置、目盛りと数値表示との距離、目盛りが数値表示の外側にあるか否か、という3点についての特徴量を示している。 For ease of understanding, the feature DB 109 in FIG. 4 is shown storing only three candidate parts whose type is analog meter, but in reality, the feature DB 109 also stores candidate parts whose type is other than analog meter, with part IDs and feature values associated with each other. In the example of FIG. 4, the feature values 113 indicate feature values for three points: the position of the center circle, the distance between the scale and the numerical display, and whether or not the scale is outside the numerical display.

 例えば、部品ID112がAである候補部品の特徴量113は、中心円が配置されている位置が座標(20,15)であることを示している。ここで、座標とは、予め定められた原点を基準とした位置を示している。実施の形態1では、原点は部品を切り取った画像の最も左上のピクセルであり、座標(20,15)は原点から右に20、下に15だけピクセル単位で移動した地点を示している。このように、特徴量113は、部品の中のどの位置に要素が配置されているかを示す座標値であっても良い。なお、原点の位置は任意であり、例えば部品の中心であっても良い。また、座標の単位も任意であり、例えば部品の寸法(例えば縦幅または横幅)を基準とした相対値を単位としても良い。 For example, the feature 113 of a candidate part whose part ID 112 is A indicates that the position where the central circle is located is coordinate (20, 15). Here, coordinates indicate a position based on a predetermined origin. In the first embodiment, the origin is the top left pixel of the image of the cut-out part, and coordinates (20, 15) indicate a point that is moved 20 pixels to the right and 15 pixels down from the origin. In this way, the feature 113 may be a coordinate value that indicates where within the part an element is located. The position of the origin is arbitrary, and may be, for example, the center of the part. The unit of the coordinates is also arbitrary, and may be, for example, a relative value based on the dimensions of the part (e.g., vertical or horizontal width).

 また、部品ID112がAである候補部品の特徴量113は、目盛りと数値表示との距離が5であることを示している。このように、特徴量113は、要素同士の相対的な距離であっても良い。 Furthermore, the feature amount 113 of the candidate part whose part ID 112 is A indicates that the distance between the scale and the numerical display is 5. In this way, the feature amount 113 may be the relative distance between elements.

 また、部品ID112がAである候補部品の特徴量113は、目盛りが数値表示の外側にあるか否かは「True」であることを示している。このように、特徴量113は、要素同士の相対的な位置関係を示しても良い。また、特徴量113は、数値ではなく選択式の値であっても良い。 Furthermore, the feature amount 113 of the candidate part whose part ID 112 is A indicates that whether or not the scale is outside the numerical display is "True." In this way, the feature amount 113 may indicate the relative positional relationship between elements. Furthermore, the feature amount 113 may be a multiple-choice value instead of a numerical value.

 図4においては、他にも、部品ID112がBである候補部品の特徴量113は、中心円の位置が(20,23)であること、目盛りと数値表示との距離が7であること、目盛りが数値表示の外側にあるか否かは「False」であることを示している。また、部品ID112がCである候補部品の特徴量113は、中心円の位置が(20,17)であること、目盛りと数値表示との距離が2であること、目盛りが数値表示の外側にあるか否かは「False」であることを示している。 In FIG. 4, the feature 113 of the candidate part whose part ID 112 is B indicates that the position of the center circle is (20, 23), the distance between the scale and the numerical display is 7, and whether or not the scale is outside the numerical display is "False." Additionally, the feature 113 of the candidate part whose part ID 112 is C indicates that the position of the center circle is (20, 17), the distance between the scale and the numerical display is 2, and whether or not the scale is outside the numerical display is "False."

 なお、本開示においては、部品特定装置100は、予め特徴量DB109を記憶しているものとする。特徴量DB109は、ユーザにより作成されたものであっても良いし、機械学習等の人工知能により生成されたものであっても良い。 In the present disclosure, it is assumed that the part identification device 100 stores the feature amount DB 109 in advance. The feature amount DB 109 may be created by a user, or may be generated by artificial intelligence such as machine learning.

 類似度算出部108は、元部品111と候補部品との特徴量を比較し、類似度を算出する。類似度算出部108が比較対象とする候補部品は、元部品111と同じ種別のものである。元部品111の種別はアナログメータなので、部品ID112がそれぞれA、B、Cの3つの候補部品が比較対象となる。類似度算出部108は、元部品111の特徴量と候補部品の特徴量113との差を求め、その差が小さいほど類似度を高く算出する。 The similarity calculation unit 108 compares the features of the original part 111 and the candidate parts to calculate the similarity. The candidate parts that the similarity calculation unit 108 compares are of the same type as the original part 111. Since the type of the original part 111 is an analog meter, three candidate parts with part IDs 112 of A, B, and C are compared. The similarity calculation unit 108 finds the difference between the feature values of the original part 111 and the feature values 113 of the candidate parts, and calculates a higher similarity the smaller the difference is.

 例えば、元部品111の特徴量は、中心円の位置が(20,18)、目盛りと数値表示との距離が2、目盛りが数値表示の外側にあるか否かは「False」であることを示しているとする。また、図4中の部品IDがAの候補部品と比較を実施する例を考える。類似度算出部108は、中心円の位置に関して、差が(20,18)-(20,15)=(0,3)であると算出する。ここで、中心円の位置に関する差が2次元の数値となっており、このままでは他の一次元の差と合算することができないため、必要に応じてノルムを求めることで1次元化しても良い。例えば、中心円の位置に関する一次元化した差として、|0|+|3|=3を用いる。また、目盛りと数値表示との距離に関して、差が2-5=-3であると算出する。また、目盛りが数値表示の外側にあるか否かに関して、値が一致している場合は差が0、さもなければ差は1であると算出するものとし、つまり今回の例では差が1であると算出する。類似度算出部は、それぞれの差の絶対値を取り、合算することで全体としての差とする。すなわち、全体としての差は、|3|+|-3|+|1|=3+3+1=7となる。 For example, the feature amount of the original part 111 indicates that the position of the center circle is (20, 18), the distance between the scale and the numerical display is 2, and whether or not the scale is outside the numerical display is "False". Also, consider an example in which a comparison is made with a candidate part with a part ID of A in FIG. 4. The similarity calculation unit 108 calculates that the difference in the position of the center circle is (20, 18) - (20, 15) = (0, 3). Here, the difference in the position of the center circle is a two-dimensional value, and since it cannot be added to other one-dimensional differences as it is, it may be converted to one dimension by calculating the norm as necessary. For example, |0| + |3| = 3 is used as the one-dimensional difference in the position of the center circle. Furthermore, the difference in the distance between the scale and the numerical display is calculated to be 2 - 5 = -3. Furthermore, regarding whether or not the scale is outside the numerical display, if the values match, the difference is calculated to be 0, and otherwise the difference is calculated to be 1. In other words, in this example, the difference is calculated to be 1. The similarity calculation unit calculates the absolute value of each difference and adds them together to determine the overall difference. In other words, the overall difference is |3|+|-3|+|1|=3+3+1=7.

 なお、上述の例では、複数の特徴量の差について単純に合算する例を示したが、それぞれの特徴量の差に対して予め定められた係数を乗じてから合算しても良い。これにより、複数存在する特徴量それぞれをどの程度重みづけして類似度を算出するか設定できる。 In the above example, the differences between multiple feature amounts are simply added up, but the differences between each feature amount may be multiplied by a predetermined coefficient before being added up. This allows you to set the degree to which each of the multiple feature amounts is weighted when calculating the similarity.

 図2の説明に戻る。出力部110は、類似度算出部108が算出した類似度を用いて、候補部品の中から、元部品111と類似する部品である類似部品を特定する。具体的には、出力部110は、類似度が予め定められた閾値を超える候補部品について、類似部品であると判断する。出力部110は、類似部品に関する識別情報を特徴量DB109から読み出して出力する。 Returning to the explanation of FIG. 2, the output unit 110 uses the similarity calculated by the similarity calculation unit 108 to identify similar parts, which are parts similar to the original part 111, from among the candidate parts. Specifically, the output unit 110 determines that a candidate part whose similarity exceeds a predetermined threshold value is a similar part. The output unit 110 reads out identification information related to the similar parts from the feature DB 109 and outputs it.

 類似度を用いて類似部品に関する識別情報を出力する例を以下に記述する。例えば、出力部110は、類似部品のみに関する識別情報を検索結果として出力しても良い。これにより、検索結果として出力された部品は類似部品であることが保証され、ユーザは類似部品を容易に選択できる。また、出力部110は、類似部品と類似度とを対応付けたリストを検索結果として出力しても良い。これにより、ユーザは当該類似部品の類似度を把握でき、類似度が高い類似部品を容易に認知できる。また、出力部110は、類似度の高い部品を目立つように検索結果として表示しても良い。例えば、出力部110は、類似度が高い順に類似部品をリスト化しても良い。または、出力部110は、類似部品と、類似部品でない候補部品とを一緒に出力しつつも、類似部品のみに目立つための表示(文字の太字化・赤字化、背景色を蛍光色にする、赤色の線で囲う等)をしても良い。これにより、類似度の高い候補部品ほどユーザの目につきやすくなり、ユーザは類似度の高い候補部品を容易に認知できる。 An example of outputting identification information related to similar parts using similarity is described below. For example, the output unit 110 may output identification information related only to similar parts as a search result. This ensures that the parts output as a search result are similar parts, and the user can easily select similar parts. The output unit 110 may also output a list of similar parts associated with similarity as a search result. This allows the user to understand the similarity of the similar parts and easily recognize similar parts with high similarity. The output unit 110 may also display the search result so that parts with high similarity stand out. For example, the output unit 110 may list similar parts in descending order of similarity. Alternatively, the output unit 110 may output similar parts together with candidate parts that are not similar parts, while displaying only similar parts in a way that makes them stand out (such as making the text bold or red, making the background color fluorescent, or surrounding them with a red line). This makes candidate parts with higher similarity more noticeable to the user, and the user can easily recognize candidate parts with higher similarity.

 図5は、実施の形態1に係る部品特定装置100の動作を示すフローチャートである。 FIG. 5 is a flowchart showing the operation of the part identification device 100 according to the first embodiment.

 入力部105は、置き換え前の制御盤の画像の入力を受け付け(ステップS101)、ステップS102へと進む。 The input unit 105 accepts input of an image of the control panel before replacement (step S101), and proceeds to step S102.

 種別特定部106は、入力部105が受け付けた画像に写っている元部品111を認識し、元部品111を構成する要素、および元部品111の種別を特定し(ステップS102)、ステップS103へと進む。 The type identification unit 106 recognizes the original part 111 shown in the image received by the input unit 105, identifies the elements that make up the original part 111 and the type of the original part 111 (step S102), and proceeds to step S103.

 特徴量抽出部107は、元部品111について、要素の配置に関する特徴量を抽出し(ステップS103)、ステップS104へと進む。 The feature extraction unit 107 extracts features related to the arrangement of elements for the original part 111 (step S103), and the process proceeds to step S104.

 類似度算出部108は、特徴量DB109に記憶されている候補部品の中から、元部品111と同じ種別のものを1つ候補部品として選択し(ステップS104)、ステップS105へと進む。 The similarity calculation unit 108 selects one candidate part of the same type as the original part 111 from among the candidate parts stored in the feature DB 109 (step S104), and proceeds to step S105.

 類似度算出部108は、元部品111と、ステップS104にて選択した候補部品との間で、特徴量を比較することで類似度を算出し(ステップS105)、ステップS106へと進む。なお、類似度算出部108は、特徴量DB109から読み出すことで候補部品の特徴量113を得る。 The similarity calculation unit 108 calculates the similarity between the original part 111 and the candidate part selected in step S104 by comparing the features (step S105), and proceeds to step S106. The similarity calculation unit 108 obtains the features 113 of the candidate part by reading them from the feature DB 109.

 類似度算出部108は、特徴量DB109に記憶されている候補部品のうち、同じ種別のすべての候補部品に対して類似度の算出を完了したか判定し(ステップS106)、完了したと判定した場合はステップS107、さもなければステップS104へと進む。 The similarity calculation unit 108 determines whether the calculation of similarities has been completed for all candidate parts of the same type among the candidate parts stored in the feature DB 109 (step S106), and if it is determined that the calculation is completed, proceeds to step S107, otherwise proceeds to step S104.

 出力部110は、類似度算出部108が算出した類似度を用いて候補部品の中から類似部品を特定し、類似部品に関する識別情報を特徴量DB109から読み出して出力し(ステップS107)、図5のフローチャートを終了する。 The output unit 110 uses the similarity calculated by the similarity calculation unit 108 to identify similar parts from among the candidate parts, reads out and outputs identification information related to the similar parts from the feature DB 109 (step S107), and ends the flowchart in FIG. 5.

 以上のように、実施の形態1に係る部品特定装置100によれば、部品を構成する要素の配置における特徴量を、第一の部品に関して画像から抽出し、部品を識別するための情報である識別情報と特徴量113とを、第二の部品に関して対応付けて複数格納するデータベースから、上記第二の部品に関する特徴量113を読み出し、抽出した特徴量と比較することで類似度を算出し、上記類似度を用いて上記第二の部品の中から上記第一の部品と類似する部品である類似部品を特定し、上記類似部品に関する上記識別情報を上記データベースから読み出して出力する。これにより、部品特定装置100は、要素の配置に関して第一の部品と類似している部品を示すことができ、ユーザは第一の部品と要素の配置について類似度の高い部品を選択できる。 As described above, the part identification device 100 according to the first embodiment extracts, for a first part, feature amounts in the arrangement of elements constituting a part from an image, reads out feature amounts 113 for the second part from a database that stores a plurality of identification information, which is information for identifying parts, and feature amounts 113 in association with each other for a second part, calculates a similarity by comparing it with the extracted feature amounts, identifies similar parts that are similar to the first part from among the second parts using the similarity, and reads out and outputs the identification information for the similar parts from the database. In this way, the part identification device 100 can indicate parts that are similar to the first part in terms of element arrangement, and the user can select parts that are highly similar to the first part in terms of element arrangement.

 また、上記第一の部品は、置き換え前の制御盤を構成する元部品111であり、上記第二の部品は、グラフィック画面で実現された置き換え後の制御盤を構成する部品として選択される候補となる部品である候補部品である。これにより、部品特定装置100は、置き換え前の制御盤を構成する元部品111と類似する部品を示すことができ、グラフィック画面で実現された制御盤への置き換えを支援できる。 The first part is the original part 111 that constitutes the control panel before replacement, and the second part is a candidate part that is a part that is a candidate for selection as a part that constitutes the control panel after replacement realized on the graphic screen. This allows the part identification device 100 to indicate parts that are similar to the original part 111 that constitutes the control panel before replacement, and to assist in replacement with the control panel realized on the graphic screen.

 また、上記候補部品に関する特徴量113および上記抽出した特徴量は、部品内における要素の位置、または要素間の距離、または要素間の位置関係を示す。これにより、部品特定装置100は、部品内における要素の位置、または要素間の距離、または要素間の位置関係に関して、元部品111と類似した部品を類似部品として示すことができる。 Furthermore, the feature amount 113 related to the candidate part and the extracted feature amount indicate the position of the elements within the part, or the distance between the elements, or the positional relationship between the elements. This allows the part identification device 100 to indicate, as a similar part, a part that is similar to the original part 111 in terms of the position of the elements within the part, or the distance between the elements, or the positional relationship between the elements.

 なお、実施の形態1では、出力部110が出力する情報をユーザが閲覧する例を示したが、本開示に係る出力部110が出力する情報は、他の装置への入力情報とすることもできる。他の装置とは、例えば、類似部品を自動選択することで制御盤の置き換えを自動実行する装置である。単純な例として、他の装置は、部品特定装置100が出力した情報に示される類似部品のうち、類似度が最も高いものを選択することで、制御盤の置き換えを自動実行できる。 In the first embodiment, an example has been shown in which the user views the information output by the output unit 110, but the information output by the output unit 110 according to the present disclosure can also be input information to another device. The other device is, for example, a device that automatically replaces a control panel by automatically selecting similar parts. As a simple example, the other device can automatically replace a control panel by selecting the part with the highest similarity from among the similar parts indicated in the information output by the part identification device 100.

 実施の形態2.
 実施の形態2では、制御盤全体として統一感を持たせるよう部品を置き換える方法について説明する。
Embodiment 2.
In the second embodiment, a method of replacing parts to give a sense of unity to the entire control panel will be described.

 図6は、実施の形態2に係る特徴量DB109のデータ構造を示す図である。実施の形態1との違いは、グループID114が追加されている点である。グループID114は、要素の配置が類似する候補部品同士をグルーピングするための値である。部品IDがAである候補部品はグループID114としてグループ1が対応付けられており、部品IDがBである候補部品はグループID114としてグループ2が対応付けられており、部品IDがCである候補部品はグループID114としてグループ3が対応付けられている。図6ではアナログメータの候補部品3個についてしか図示していないが、実際には他の種別(例えば後述するリニアメータ等)の候補部品についてもグループID114が付与されており、要素の配置に関して互いに類似しているアナログメータおよびリニアメータは同じグループID114が付与されている。つまり、もし置き換え前の制御盤にアナログメータとリニアメータという2つの元部品が存在した場合、両者の置き換え先の候補部品として同じグループID114が対応付けられた候補部品を優先して出力させることで、制御盤全体として統一感を持たせた置き換えが可能となる。 6 is a diagram showing the data structure of the feature DB 109 according to the second embodiment. The difference from the first embodiment is that a group ID 114 is added. The group ID 114 is a value for grouping candidate parts with similar element arrangements. A candidate part with a component ID of A is associated with group 1 as the group ID 114, a candidate part with a component ID of B is associated with group 2 as the group ID 114, and a candidate part with a component ID of C is associated with group 3 as the group ID 114. Although only three candidate analog meter parts are shown in FIG. 6, in reality, group IDs 114 are also assigned to candidate parts of other types (for example, linear meters, which will be described later), and analog meters and linear meters that are similar to each other in terms of element arrangement are assigned the same group ID 114. In other words, if there are two original parts, an analog meter and a linear meter, in the control panel before replacement, candidate parts associated with the same group ID 114 are preferentially output as candidate parts to replace the two, thereby making it possible to replace the control panel with a sense of unity as a whole.

 図7は、実施の形態2に係るリニアメータとその要素を示す図である。リニアメータ116は、メータ116aと、メータ116bと、目盛り116cと、数値表示116dにより構成される。ここで、リニアメータ116の特徴量の1つとして、目盛り116cと数値表示116dとの距離がある。この特徴量は、アナログメータにおける目盛り111bと数値表示111cとの距離に関する特徴量113と同一であると見做せる。そこで、目盛りと数値表示との距離という特徴量を互いに比較し、差が十分に(例えば予め定めた閾値よりも)小さいアナログメータとリニアメータ116とに対して同じグループID114を対応付ける。このように、異なる種別の部品同士であっても、一部同じ要素があり、比較可能な特徴量が存在する場合がある。そのような場合、特徴量同士を比較し、差が十分に小さい場合には同一のグループID114を対応付ける。 FIG. 7 is a diagram showing a linear meter and its elements according to the second embodiment. The linear meter 116 is composed of a meter 116a, a meter 116b, a scale 116c, and a numerical display 116d. Here, one of the features of the linear meter 116 is the distance between the scale 116c and the numerical display 116d. This feature can be considered to be the same as the feature 113 relating to the distance between the scale 111b and the numerical display 111c in the analog meter. Therefore, the feature of the distance between the scale and the numerical display is compared with each other, and the same group ID 114 is associated with an analog meter and a linear meter 116 whose difference is sufficiently small (for example, less than a predetermined threshold value). In this way, even if the parts are of different types, there may be some common elements and comparable features. In such a case, the features are compared with each other, and if the difference is sufficiently small, the same group ID 114 is associated.

 図8は、実施の形態2に係る部品特定装置100の機能構成図である。実施の形態1との違いは、グループ判断部115が追加されている点である。ここで、ある制御盤の置き換えを考える。グループ判断部115は、当該制御盤の置き換えにおいて、特定された類似部品のグループID114を収集する。グループ判断部115は、上述の処理を、置き換え前の制御盤を構成する複数の元部品それぞれに対して行う。グループ判断部115は、収集したグループID114の分布を集計し、置き換え前の制御盤にとって相応しいグループIDを判断する。例えば、グループ判断部115は、元部品それぞれについて最も類似度が高かった類似部品のグループID114を集計し、集計結果として最も多かったグループID114が置き換え前の制御盤にとって最も相応しいと判断しても良い。これにより、元部品単位で多数決を取り、相応しいと考えられるグループID114を1つに絞ることができる。なお、本開示に係るグループ判断部115は上記の動作に限られるものではなく、置き換え前の制御盤にとって相応しいグループID114を複数抽出しても良い。これにより、複数のグループが部品特定装置100からユーザに対して提示され、ユーザは部品の選択の幅が広がる。以上のようにして、グループ判断部115は、置き換え前の制御盤にとって相応しいグループID114を判断し、当該グループID114を出力部110へと受け渡す。 FIG. 8 is a functional configuration diagram of the part identification device 100 according to the second embodiment. The difference from the first embodiment is that a group judgment unit 115 is added. Consider the replacement of a certain control panel. The group judgment unit 115 collects the group IDs 114 of the identified similar parts in the replacement of the control panel. The group judgment unit 115 performs the above-mentioned process for each of the multiple original parts that make up the control panel before replacement. The group judgment unit 115 counts the distribution of the collected group IDs 114 and judges the group ID that is suitable for the control panel before replacement. For example, the group judgment unit 115 may count the group IDs 114 of the similar parts with the highest similarity for each original part, and judge that the group ID 114 that is the most common as a result of the count is the most suitable for the control panel before replacement. This allows a majority vote to be taken on an original part basis, and the group IDs 114 that are considered suitable can be narrowed down to one. Note that the group determination unit 115 according to the present disclosure is not limited to the above operation, and may extract multiple group IDs 114 suitable for the control panel before replacement. This allows multiple groups to be presented to the user from the part identification device 100, allowing the user to have a wider range of parts to choose from. In this manner, the group determination unit 115 determines the group ID 114 suitable for the control panel before replacement, and passes the group ID 114 to the output unit 110.

 出力部110は、置き換え前の制御盤にとって相応しいグループID114に対応する候補部品を示す情報を出力する。具体的には、出力部110は、実施の形態1で説明した類似部品の出力と併せて、置き換え前の制御盤にとって相応しいグループID114に対応する候補部品を出力しても良い。または、特定された類似部品のうち、置き換え前の制御盤にとって相応しいグループID114に対応するものに限って出力しても良い。 The output unit 110 outputs information indicating candidate parts corresponding to group ID 114 suitable for the control panel before replacement. Specifically, the output unit 110 may output candidate parts corresponding to group ID 114 suitable for the control panel before replacement in addition to outputting similar parts as described in the first embodiment. Alternatively, the output unit 110 may output only those of the identified similar parts that correspond to group ID 114 suitable for the control panel before replacement.

 以上のように、実施の形態2に係る部品特定装置100によれば、データベースに候補部品の特徴量に対応付けて格納された、上記候補部品をグルーピングするグループID114を取得し、取得した上記グループID114を用いて置き換え前の制御盤に相応しい上記候補部品のグループを判断し、上記置き換え前の制御盤にとって相応しい上記グループに属する上記候補部品について識別情報を上記データベースから読み出して出力する。これにより、1つの部品ではなく制御盤全体として類似している候補部品を出力することができ、制御盤全体として統一感を持たせた置き換えができる。 As described above, the part identification device 100 according to the second embodiment obtains the group ID 114 for grouping the candidate parts stored in the database in association with the feature quantities of the candidate parts, determines the group of the candidate parts suitable for the control panel before replacement using the obtained group ID 114, and reads and outputs identification information from the database for the candidate parts belonging to the group suitable for the control panel before replacement. This makes it possible to output candidate parts that are similar not to a single part but to the entire control panel, enabling replacement with a sense of unity to the entire control panel.

 100 部品特定装置、101 プロセッサ、102 メモリ、103 入出力IF、104 バス、105 入力部、106 種別特定部、107 特徴量抽出部、108 類似度算出部、109 特徴量DB、110 出力部、111 元部品、111a 針、111b 目盛り、111c 数値表示、111d 中心円、111e 表示板、112 部品ID、113 特徴量、114 グループID、115 グループ判断部、116 リニアメータ、116a メータ、116b メータ、116c 目盛り、116d 数値表示 100 Part identification device, 101 Processor, 102 Memory, 103 Input/output IF, 104 Bus, 105 Input section, 106 Type identification section, 107 Feature extraction section, 108 Similarity calculation section, 109 Feature DB, 110 Output section, 111 Original part, 111a Needle, 111b Scale, 111c Numeric display, 111d Center circle, 111e Display panel, 112 Part ID, 113 Feature, 114 Group ID, 115 Group judgment section, 116 Linear meter, 116a Meter, 116b Meter, 116c Scale, 116d Numeric display

Claims (6)

 第一の部品を含む画像が入力される入力部と、
 部品を構成する要素の配置における特徴量を、前記第一の部品に関して前記画像から抽出する特徴量抽出部と、
 部品を識別するための情報である識別情報と特徴量とを、第二の部品に関して対応付けて複数格納するデータベースから、前記第二の部品に関する特徴量を読み出し、前記特徴量抽出部が抽出した特徴量と比較することで類似度を算出する類似度算出部と、
 前記類似度を用いて前記第二の部品の中から前記第一の部品と類似する部品である類似部品を特定し、前記類似部品に関する前記識別情報を前記データベースから読み出して出力する出力部と、
 を備える部品特定装置。
an input unit to which an image including a first part is input;
a feature extraction unit that extracts, from the image of the first part, a feature in an arrangement of elements that constitute the part;
a similarity calculation unit that reads out a feature amount related to a second part from a database that stores a plurality of identification information, which is information for identifying a part, and feature amounts associated with the second part, and calculates a similarity by comparing the feature amount with the feature amount extracted by the feature amount extraction unit;
an output unit that identifies a similar part that is a part similar to the first part from among the second parts using the similarity, and reads out the identification information related to the similar part from the database and outputs the identification information;
A part identification device comprising:
 前記第一の部品は、置き換え前の制御盤を構成する元部品であり、
 前記第二の部品は、グラフィック画面で実現された置き換え後の制御盤を構成する部品として選択される候補となる部品である候補部品である
 ことを特徴とする請求項1に記載の部品特定装置。
The first component is an original component constituting a control panel before replacement,
2. The part identification device according to claim 1, wherein the second part is a candidate part that is a part that is a candidate for selection as a part that constitutes a post-replacement control panel realized on a graphic screen.
 前記候補部品に関する特徴量および前記特徴量抽出部が抽出した特徴量は、部品内における要素の位置、または要素間の距離、または要素間の位置関係を示す
 ことを特徴とする請求項2に記載の部品特定装置。
3. The part identification device according to claim 2, wherein the feature amount related to the candidate part and the feature amount extracted by the feature amount extracting unit indicate the position of an element in the part, the distance between elements, or the positional relationship between elements.
 前記類似部品について、前記データベースに前記候補部品の特徴量に対応付けて格納された、前記候補部品をグルーピングするグループIDを取得し、取得した前記グループIDを用いて前記置き換え前の制御盤に相応しい前記候補部品のグループを判断するグループ判断部を備え、
 前記出力部は、前記置き換え前の制御盤にとって相応しい前記グループに属する前記候補部品について前記識別情報を前記データベースから読み出して出力する
 ことを特徴とする請求項2に記載の部品特定装置。
a group determination unit that obtains a group ID for grouping the candidate parts, the group ID being stored in the database in association with the feature quantities of the candidate parts, for the similar parts, and determines a group of the candidate parts suitable for the control panel before replacement using the obtained group ID;
3. The part identification device according to claim 2, wherein the output unit reads out from the database the identification information for the candidate parts belonging to the group suitable for the control panel before replacement, and outputs the identification information.
 第一の部品を含む画像が入力され、
 部品を構成する要素の配置における特徴量を、前記第一の部品に関して前記画像から抽出し、
 部品を識別するための情報である識別情報と特徴量とを、第二の部品に関して対応付けて複数格納するデータベースから、前記第二の部品に関する特徴量を読み出し、前記画像から抽出した特徴量と比較することで類似度を算出し、
 前記類似度を用いて前記第二の部品の中から前記第一の部品と類似する部品である類似部品を特定し、前記類似部品に関する前記識別情報を前記データベースから読み出して出力する
 部品特定方法。
An image including a first part is input;
extracting from the image a feature amount of an arrangement of elements constituting a part with respect to the first part;
reading out the feature amount for the second part from a database that stores a plurality of pieces of identification information, which is information for identifying a part, and feature amounts in association with each other for the second part, and calculating a similarity by comparing the feature amount with the feature amount extracted from the image;
a similar part that is a part similar to the first part is specified from among the second parts using the similarity, and the identification information relating to the similar part is read out from the database and output.
 第一の部品を含む画像が入力される入力処理と、
 部品を構成する要素の配置における特徴量を、前記第一の部品に関して前記画像から抽出する特徴量抽出処理と、
 部品を識別するための情報である識別情報と特徴量とを、第二の部品に関して対応付けて複数格納するデータベースから、前記第二の部品に関する特徴量を読み出し、前記特徴量抽出処理が抽出した特徴量と比較することで類似度を算出する類似度算出処理と、
 前記類似度を用いて前記第二の部品の中から前記第一の部品と類似する部品である類似部品を特定し、前記類似部品に関する前記識別情報を前記データベースから読み出して出力する出力処理と、
 を実行させるための部品特定プログラム。
an input process in which an image including a first part is input;
a feature extraction process for extracting, from the image of the first part, a feature in an arrangement of elements constituting a part;
a similarity calculation process of reading out a feature amount related to a second part from a database that stores a plurality of identification information, which is information for identifying a part, and feature amounts in association with each other for the second part, and calculating a similarity by comparing the feature amount with the feature amount extracted by the feature amount extraction process;
an output process of identifying similar parts, which are parts similar to the first part, from among the second parts using the similarity, and reading out the identification information related to the similar parts from the database and outputting the identification information;
A part identification program for executing the above.
PCT/JP2023/008786 2023-03-08 2023-03-08 Component identification device, component identification method, and component identification program Ceased WO2024185071A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2023/008786 WO2024185071A1 (en) 2023-03-08 2023-03-08 Component identification device, component identification method, and component identification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2023/008786 WO2024185071A1 (en) 2023-03-08 2023-03-08 Component identification device, component identification method, and component identification program

Publications (1)

Publication Number Publication Date
WO2024185071A1 true WO2024185071A1 (en) 2024-09-12

Family

ID=92674300

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/008786 Ceased WO2024185071A1 (en) 2023-03-08 2023-03-08 Component identification device, component identification method, and component identification program

Country Status (1)

Country Link
WO (1) WO2024185071A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE1032433B1 (en) * 2024-12-16 2025-09-25 Van Wezel Autoparts Computer-implemented method for measuring and classifying spare parts

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001505A1 (en) * 2000-06-26 2002-01-03 Iwane Laboratories, Ltd. Information converting system
JP2002228424A (en) * 2001-01-31 2002-08-14 Tochigi Prefecture Off-line teaching method of vision measuring machine by optimizing lighting conditions
JP2019045894A (en) * 2017-08-29 2019-03-22 富士通株式会社 Retrieval program, retrieval method and information processing apparatus operating retrieval program
JP2021103562A (en) * 2019-03-19 2021-07-15 株式会社明電舎 Change detection device, change detection method, and change detection program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001505A1 (en) * 2000-06-26 2002-01-03 Iwane Laboratories, Ltd. Information converting system
JP2002228424A (en) * 2001-01-31 2002-08-14 Tochigi Prefecture Off-line teaching method of vision measuring machine by optimizing lighting conditions
JP2019045894A (en) * 2017-08-29 2019-03-22 富士通株式会社 Retrieval program, retrieval method and information processing apparatus operating retrieval program
JP2021103562A (en) * 2019-03-19 2021-07-15 株式会社明電舎 Change detection device, change detection method, and change detection program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE1032433B1 (en) * 2024-12-16 2025-09-25 Van Wezel Autoparts Computer-implemented method for measuring and classifying spare parts

Similar Documents

Publication Publication Date Title
US12223570B2 (en) Systems and methods for high dimensional 3D data visualization
KR100432071B1 (en) Information processing system capable of indicating tendency to change
JP3747589B2 (en) Image feature amount comparison device and recording medium storing image feature amount comparison program
JP4467583B2 (en) Design support program, design support method, and design support apparatus
US5546572A (en) Method for retrieving database of image information
JP2816241B2 (en) Image information retrieval device
US7051025B2 (en) Method and system for displaying multidimensional aggregate patterns in a database system
EP0981098B1 (en) Method and apparatus for generating and displaying views of hierarchically clustered data
JP5665125B2 (en) Image processing method and image processing system
JP4173246B2 (en) Similar image display method and recording medium storing similar image display processing program
JP5103955B2 (en) Image search method, apparatus and program
US20090180690A1 (en) Image searching apparatus and image searching method
US7931602B2 (en) Gaze guidance degree calculation system, gaze guidance degree calculation program, storage medium, and gaze guidance degree calculation method
US20060110073A1 (en) Image processing apparatus, image processing method, program, and storage medium
WO2024185071A1 (en) Component identification device, component identification method, and component identification program
CN114283437A (en) Legend identification method, device, equipment and storage medium
JP4629280B2 (en) Knowledge discovery support apparatus and support method
JP6603194B2 (en) Screen recognition device, screen recognition method, and screen recognition program
JP3726442B2 (en) Image feature amount comparison device and recording medium on which image feature amount comparison program is recorded
WO2011039820A1 (en) Information processing apparatus and information processing method
JP7362568B2 (en) Image search device, image search method, and program
JP2005242587A (en) Program, method, and apparatus for cross tabulation
KR102179290B1 (en) Method for indentifying anomaly symptom about workload data
JP2002211099A (en) Trapping region generating method, trapping region generating device, trapping region generating program, and trapping region generating program storage medium
JP6992795B2 (en) Chart creation program and information processing device with chart creation function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23926284

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE