Image processing apparatus, image processing method, and program

JP2023063112A5Active Publication Date: 2024-10-07CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021173413
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2024-10-07
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

Existing image processing methods for detecting deformations in structures, such as cracks in concrete, fail to accurately determine deformation attributes due to insufficient consideration of actual image size information, leading to inaccurate judgments when learning data similarity is low.

Method used

An image processing apparatus that acquires actual size information per pixel of the image and selects a learned model based on this information to determine deformation attributes, using a correction coefficient to enhance accuracy.

Benefits of technology

The apparatus accurately determines deformation attributes using actual size information, maintaining determination accuracy and improving the reliability and efficiency of inspection processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide an information processing apparatus, an information processing method, and a program which can determine an attribute of deformation by using actual size information, while keeping determination accuracy.SOLUTION: An image processing apparatus has: an acquiring unit for acquiring first actual size information of an image including deformation; a selection unit for selecting a leaned model and a parameter used in determination of an attribute of the deformation based on the image and actual size information acquired by the acquiring unit; and a determination unit for determining an attribute of the deformation included in the image by using the first actual size information and a model generated by advanced learning.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0006]

[0001] The present invention relates to an image processing technique for detecting abnormalities from an image obtained by photographing an inspection target.

Background Art

[0002] There is a method in which a computer device performs machine learning on an image obtained by photographing an inspection target such as the wall surface of a concrete structure to detect abnormalities such as cracks, or to determine the attributes of abnormalities such as the width of a crack. Also, when determining the attributes of an abnormality by machine learning, a learned model is created using learning data as input. However, if the content of the learning data is different, models with different characteristics are created. To improve the determination accuracy, it is desirable to create a plurality of models with different characteristics and select an appropriate model according to the determination target.

[0003] Patent Document 1 describes a method of selecting a learned model used for image analysis, which is to select a model learned from an image with imaging conditions similar to the imaging conditions consisting of the imaging position and imaging angle of the image.

Prior Art Documents

Patent Documents

[0004] <x000019> [[ID=Z7]]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] As described above, when there are a plurality of models with different learning data contents, it is desirable to select a model learned from learning data similar to the data of the determination target as much as possible. In particular, when determining the width of an abnormality or the like, since the determination result is the actual size (for example, mm), it is desirable to select a model learned from learning data in which the actual size per pixel of the image is similar. <00000x0> However, the selection criteria for the model in Patent Document 1 are based solely on the similarity of the image's shooting position and angle, and do not consider the actual size of the image. Furthermore, it is difficult to make accurate judgments when the similarity with the training data is low, and various models with different training data content are needed to judge various images.

[0007] This invention has been made in view of the above problems, and its purpose is to realize a technology that can determine the attributes of deformation using the actual size information of an image while maintaining judgment accuracy. [Means for solving the problem]

[0008] To solve the above problems and achieve the objective, the image processing apparatus of the present invention includes an acquisition means for acquiring first actual size information of an image including deformation, and a determination means for determining the attributes of the deformation included in the image using the first actual size information and a model that has been trained and generated in advance. [Effects of the Invention]

[0009] According to the present invention, it becomes possible to determine the attributes of deformation using the actual size information of an image while maintaining judgment accuracy. [Brief explanation of the drawing]

[0010] [Figure 1] Hardware configuration diagram of the image processing device of Embodiment 1. [Figure 2] Functional block diagram of the image processing apparatus of Embodiment 1. [Figure 3] A flowchart showing the process for determining the attributes of deformation in the image processing apparatus of Embodiment 1. [Figure 4] A diagram illustrating the UI screen of the image processing device of Embodiment 1. [Figure 5] A diagram illustrating the database generated by the image processing device of Embodiment 1. [Figure 6] A diagram illustrating the database generated by the image processing device of Embodiment 1. [Figure 7] Functional block diagram of the image processing apparatus of Embodiment 2. [Figure 8] Flowchart showing the processing of the image processing apparatus according to Embodiment 2. [Figure 9] Diagram exemplifying the database generated by the image processing apparatus according to Embodiment 2. [Figure 10] Diagram exemplifying the database generated by the image processing apparatus according to Embodiment 2. [Figure 11] Diagram exemplifying the UI screen of the image processing apparatus according to Embodiment 2.

Mode for Carrying Out the Invention

[0011] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiments, not all of these plurality of features are essential for the invention, and the plurality of features may be arbitrarily combined. Further, in the accompanying drawings, the same or similar configurations are denoted by the same reference numerals, and redundant descriptions are omitted.

[0012] [Embodiment 1] In Embodiment 1, an example will be described in which a computer device operates as an image processing apparatus and performs a process of performing machine learning based on an image (determination image) including a deformation of an inspection target and actual size information and a single determination model to determine the attribute of the deformation.

[0013] Note that the deformation refers to cracks or the like occurring on the concrete surface due to damage, deterioration, or other factors of concrete structures such as motorway, bridges, tunnels, dams, etc. The crack is a linear damage having a starting point, an ending point, a length, and a width that occur on the wall surface of the structure due to aging deterioration, earthquake shock, or the like.

[0014] <Hardware Configuration> First, referring to FIG. 1, the hardware configuration of the image processing apparatus according to Embodiment 1 will be described.

[0015] FIG. 1 is a block diagram showing the hardware configuration of the image processing apparatus 100 according to Embodiment 1.

[0016] In Embodiments 1 and 2 described below, the computer device operates as the image processing device 100. Note that the processing of the image processing device of the present embodiment may be realized by a single computer device, or each function may be distributed and realized by a plurality of computer devices as necessary. The plurality of computer devices are connected to each other so as to be communicable.

[0017] The image processing device 100 includes a control unit 101, a non-volatile memory 102, a work memory 103, a storage device 104, an input device 105, an output device 106, a network interface 107, and a system bus 108

[0018] The control unit 101 includes arithmetic processing processors such as a CPU and an MPU that comprehensively control the entire image processing device 100. The nonvolatile memory 102 is a ROM that stores programs and parameters executed by the processor of the control unit 101. Here, the program is a program for executing the processing of Embodiments 1 and 2 described later. The work memory 103 is a RAM that temporarily stores programs and data supplied from an external device or the like. The storage device is an internal device such as a hard disk or a memory card built in the image processing device 100 or an external device such as a hard disk or a memory card detachably connected to the image processing device 100. The storage device 104 includes a memory card or a hard disk composed of a semiconductor memory, a magnetic disk, or the like. Further, the storage device 104 includes a storage medium composed of a disk drive that reads and writes data to and from optical disks such as DVDs and Blue-ray Discs.

[0019] The input device 105 is an operating component such as a mouse, keyboard, or touch panel that accepts user input and outputs operation instructions to the control unit 101. The output device 106 is a display device such as a display or monitor made of an LCD or organic EL, which displays data held by the image processing device 100 or data supplied from external devices. The network interface 107 is connected to a network such as the Internet or a LAN (Local Area Network) for communication. The system bus 108 includes an address bus, a data bus, and a control bus that connect the components 101 to 107 of the image processing device 100 for data exchange.

[0020] The non-volatile memory 102 stores the operating system (OS), which is the basic software executed by the control unit 101, and applications that work in cooperation with the OS to realize advanced functions. In this embodiment, the non-volatile memory 102 also stores applications that enable the image processing device 100 to perform the process of determining the attributes of deformation from the judgment image, which will be described later.

[0021] The processing of the image processing device 100 in this embodiment is achieved by loading software provided by an application. The application is assumed to have software for utilizing the basic functions of the OS installed on the image processing device 100. The OS of the image processing device 100 may also have software for implementing the processing in this embodiment.

[0022] <Functional Configuration> Next, with reference to Figure 2, the functional blocks of the image processing apparatus of Embodiment 1 will be described.

[0023] Figure 2 is a functional block diagram of the image processing apparatus 200 of Embodiment 1.

[0024] The image processing device 200 comprises an acquisition unit 201, a selection unit 202, a determination unit 203, and a correction unit 204. Each function of the image processing device 200 is composed of hardware and software. Note that each functional unit may be composed of one or more computer devices or server devices, and the system may be configured as a network-connected system.

[0025] The acquisition unit 201 acquires a determination image for determining the attributes of the deformation, and actual size information per pixel of the determination image. The determination image and actual size information are read from the storage device 104 or input via the input device 105, but are also received from external devices via the network interface 107.

[0026] The selection unit 202 selects a trained model and parameters to be used to determine the attributes of the deformation based on the judgment image and actual size information acquired by the acquisition unit 201.

[0027] The determination unit 203 performs machine learning based on the determination image and actual size information acquired by the acquisition unit 201 and the determination model selected by the selection unit 202 to determine the attributes of the deformation.

[0028] The correction unit 204 corrects the deformation attributes based on the actual size information per pixel of the judgment image acquired by the acquisition unit 201 and the deformation attributes determined by the judgment unit 203.

[0029] The actual size information per pixel is a converted value representing the actual size (e.g., mm) of one pixel in the judgment image, and is the image size ratio (mm / pixel) that represents the ratio of pixels to the actual size. In addition to the image size ratio, the actual size information is also called the image size conversion, resolution, pixel size, or image size.

[0030] Furthermore, while this embodiment describes an example of determining the width of deformation as an attribute of deformation, it is not limited to this, and the length, depth, thickness, area, volume, etc. of the deformation may also be determined.

[0031] <Process for determining the attributes of the deformation> Next, referring to Figures 3 to 6, the process by which the image processing device 100 of Embodiment 1 determines the attributes of the deformation from the judgment image will be described.

[0032] Figure 3 is a flowchart showing the process by which the image processing device 100 of Embodiment 1 determines the attributes of deformation from the judgment image.

[0033] The process shown in Figure 3 is achieved when the control unit 101 of the image processing device 100 shown in Figure 1 loads the program stored in the non-volatile memory 102 into the work memory 103, executes it to control each component, and performs the function shown in Figure 2. The same applies to Figure 8, which will be described later.

[0034] In S301, the acquisition unit 201 acquires a determination image for determining the attributes of the deformation.

[0035] In S302, the acquisition unit 201 acquires the actual size information of the judgment image acquired in S301 (hereinafter referred to as image actual size information). Multiple image actual size information may be acquired, or image actual size information may be acquired separately for the vertical and horizontal directions.

[0036] Figure 4 illustrates a method for obtaining the actual size information of the judgment image, and shows an example of the display screen of the image processing device 100.

[0037] Image size information can be obtained, for example, by the user operating the input device 105 to input the actual size value into the input field 401 on the display screen shown in Figure 4(a). Alternatively, image size information can be obtained, for example, by the user operating the input device 105 to input a numerical value corresponding to the length of the line segment 403 displayed on the judgment image 402 into the input field 404 on the display screen shown in Figure 4(b). Furthermore, image size information can be obtained by displaying the drawing 405 associated with the judgment image 402 and its actual size value, as shown in the display screen of Figure 4(c), and by the user operating the input device 105 to establish the relationship 406 between the judgment image 402 and the drawing 405. In addition, image size information can be obtained by selecting a judgment image for which the actual size value 407 is known, as shown in the display screen of Figure 4(d). Note that multiple image size information sets may be obtained. For example, in the display screen shown in Figure 4(c), a drawing 405, which is associated with the judgment image 402 and the actual dimensions in the vertical and horizontal directions, may be displayed, and the relationship 406 between the judgment image 402 and the drawing 405 may be made corresponding to obtain the actual dimensions in the vertical and horizontal directions.

[0038] In S303, the selection unit 202 selects a determination model from the determination image to be used to determine the attributes of the deformation.

[0039] The judgment model is created in advance by learning actual size information and images containing deformations close to the actual size information (deformation images). The judgment model stores the actual size information of the deformation images used for learning in association with it. Figure 5 is an example of a part of the database of judgment models selected in S303. The judgment model database 501 shown in Figure 5 is stored in an external storage device that can be accessed via the storage device 104 or the network interface 107. In Figure 5, the judgment model database 501 stores a model ID 502, a model file name 503, and model actual size information 504 for each judgment model. The model ID 502 is the identification information of the judgment model. The model file name 503 is the name of the data file of the judgment model. The model actual size information 504 is the actual size information of the deformation images used for learning, and in this embodiment, it is the image actual size ratio.

[0040] The selection unit 202 selects the judgment model that is closest to the image size information acquired in S302 from the database shown in Figure 5.

[0041] The method for selecting the decision model is as follows:

[0042] First, the distance f(n) is calculated using the following equation 1. Rt is the actual image size information acquired in S302, and Rn is the actual model size information of the judgment model n. (Formula 1) f(n) = |Rt - Rn| Next, the judgment model with the smallest distance f(n) calculated using Equation 1 is selected. If there are multiple judgment models with the smallest distance, the judgment model with the smallest model size information may be selected. Also, if multiple image size information values ​​are obtained in S302, the average of these values ​​may be used as the image size information to select the judgment model.

[0043] In S304, the determination unit 203 performs machine learning based on the determination image and image size information acquired in S301 and S302, and the determination model selected in S303, to determine the attributes of the deformation. The determination unit 203 may also use the deformation location information in addition to the image size information to determine the attributes of the deformation. Here, the deformation location may be detected by the user from the determination image and input via the input device 105, or it may be detected by an external device and input via the network interface 107.

[0044] Figure 6(a) is an example of a part of the database of deformation attributes output as a result of the determination in S304. The deformation attribute database 601 shown in Figure 6(a) is stored in an external storage device accessible via the storage device 104 or the network interface 107. In Figure 6(a), the deformation attribute database 601 stores a deformation ID 602, a start point coordinate 603, an end point coordinate 604, and a deformation attribute 605 for each determined deformation. The deformation ID 602 ​​is the identification information of the determined deformation. The start point coordinate 603 is the start point coordinate of the determined deformation position. The end point coordinate 604 is the end point coordinate of the determined deformation position. The deformation attribute 605 is the attribute of the determined deformation, and in this embodiment, it is the deformation width.

[0045] In S305, the correction unit 204 corrects the attributes of the deformation determined in S304.

[0046] The method for correcting the attributes of the deformation is as follows:

[0047] First, the correction coefficient α is calculated using the following equation 2. Rt is the actual image size information acquired in S302, and Rn is the actual model size information of the judgment model n. (Formula 2) α = Rt / Rn Next, the attribute Cn of the deformation determined in S304 is corrected using the correction coefficient α calculated using Equation 2.

[0048] Then, the attribute C'n of the corrected deformation is calculated using the following equation 3. (Formula 3) C'n = α·Cn The above corrections are determined in S304 and performed for each attribute of the deformation registered in the database 601 shown in Figure 6(a). The attributes of the deformation after correction are registered in the database 606 of the attributes of the corrected deformation shown in Figure 6(b). Figure 6(b) is an example of a part of the database of attributes of the deformation corrected in S305. The database 606 of the attributes of the corrected deformation shown in Figure 6(b) is stored in an external storage device that can be accessed via the storage device 104 or the network interface 107. In Figure 6(b), the database 606 of the attributes of the corrected deformation stores the deformation ID 602, start coordinates 603, end coordinates 604, deformation attribute 605, and attributes of the corrected deformation 607 for each corrected deformation. The deformation ID 602 ​​is the identification information of the corrected deformation. The start coordinates 603 are the start coordinates of the corrected deformation position. The end coordinates 604 are the end coordinates of the corrected deformation position. The deformation attribute 605 is the attribute of the corrected deformation. The attribute 607 of the corrected deformation is the attribute of the corrected deformation, and in this embodiment, it is the deformation width.

[0049] If multiple image size data points are obtained in S302, the average value of these data points may be used to correct the deformation attributes.

[0050] As described above, according to Embodiment 1, the attributes of deformation can be determined using the actual size information of the determination image while maintaining judgment accuracy. This improves the reliability of the process for determining the attributes of deformation and makes it possible to streamline inspection work.

[0051] Note that steps S303 or S305 may be omitted. For example, the selection of the decision model in S303 may be omitted, and a predetermined representative decision model may be used. Also, the correction of the attribute of the deformation in S305 may be omitted.

[0052] Furthermore, in determining the deformation attributes in S304, the determination image may be scaled so that the actual size information of the determination image matches the actual size information of the determination model before determining the deformation attributes.

[0053] Furthermore, if multiple image size information sets are obtained, or if the image size information includes both vertical and horizontal image size information, the processing from S303 to S305 should be performed for each set of image size information sets.

[0054] [Embodiment 2] Next, Embodiment 2 will be described with reference to Figures 7 to 11.

[0055] Embodiment 1 was a process that performed machine learning based on a judgment image, image size information, and a single judgment model to determine the attributes of the deformation. In contrast, Embodiment 2 describes an example in which the attributes of the deformation are determined using multiple judgment models and the attributes of multiple deformations obtained using multiple judgment models are integrated.

[0056] <Device configuration> Figure 7 is a functional block diagram of the image processing apparatus of Embodiment 2. The image processing apparatus 700 of Embodiment 2 has an integration unit 701 added to the image processing apparatus 200 of Figure 2 described in Embodiment 1.

[0057] The integration unit 701 integrates the attributes of multiple deformations determined by the correction unit 204 using multiple determination models.

[0058] The hardware configuration of the image processing device 700 in Embodiment 2 is the same as that shown in Figure 1 of Embodiment 1.

[0059] <Process for determining the attributes of the deformation> Next, referring to Figures 8 to 11, the process by which the image processing apparatus of Embodiment 2 determines the attributes of deformation from the judgment image will be described.

[0060] Figure 8 is a flowchart showing the process by which the image processing device 700 of Embodiment 2 determines the attributes of deformation from the judgment image.

[0061] The processes S801 and S802 in Figure 8 are the same as the processes S301 and S302 in Figure 3 described in Embodiment 1. As described in Embodiment 1, multiple image size information can be acquired, or image size information can be acquired separately for the vertical and horizontal directions.

[0062] In S803, the selection unit 202 selects multiple determination models from the determination image to be used to determine the attributes of the deformation.

[0063] The selection unit 202 calculates the distance f(n) using Equation 1 described in Embodiment 1, and selects N (for example, N=2) judgment models from the database shown in Figure 5 in order of proximity to the calculated distance f(n). If multiple image size information is obtained in S802, the distance f(n) is calculated for each image size information, and the judgment model with the smallest distance f(n) is selected.

[0064] The selected judgment model (hereinafter referred to as the selected model) is stored in association with the image size information of the judgment image acquired in S802. Figure 9 is a diagram illustrating a part of the database of the selected model selected in S803. The database 901 of the selected model shown in Figure 9 is stored in an external storage device that can be accessed via the storage device 104 or the network interface 107. In Figure 9, the database 901 of the selected model stores a model ID 902, model size information 903, and image size information 904 for each selected model. The model ID 902 is the identification information of the selected model. The model size information 903 is the size information of the deformed image used for training, and the image size information 904 is the image size information of the judgment image acquired in S802, which in this embodiment is the image size ratio.

[0065] In S804, the determination unit 203 determines the attributes of the deformation using each selected model selected in S803. The method for determining the attributes of the deformation is the same as in S304 in Figure 3. Figure 10(a) is an example of a part of the database of deformation attributes output as a result of the determination in S804. The database of deformation attributes 1001 shown in Figure 10(a) is stored in an external storage device that can be accessed via the storage device 104 or the network interface 107. In Figure 10(a), the database of deformation attributes 1001 stores the deformation ID 1002, model ID 1003, starting point coordinates 1004, ending point coordinates 1005, and deformation attributes 1006 for each determined deformation. The deformation ID 1002 is the identification information of the determined deformation. The model ID 1003 is the identification information of the selected model used to determine the attributes of the deformation. The starting point coordinates 1004 are the starting point coordinates of the determined deformation location. The endpoint coordinate 1005 is the endpoint coordinate of the determined deformation position. The deformation attribute 1006 is the attribute of the determined deformation, and in this embodiment, it is the deformation width. In Figure 10(a), deformation 1007 and deformation 1008 have the same deformation ID 1002 and different model ID 1003 because the deformation attributes were determined using different determination models for deformations at the same position.

[0066] In S805, the correction unit 204 corrects the attributes of the deformation determined in S804. The correction unit 204 obtains the model size information and image size information of the selected model used to determine the attributes of the deformation by referring to the database 901 of selected models shown in Figure 9 for each model ID 1003 of the deformation ID in the database 1001 shown in Figure 10(a). The correction unit 204 also calculates a correction coefficient α using equation 2 described in Embodiment 1 and corrects the deformation attribute Cn using equation 3 described in Embodiment 1.

[0067] The above corrections are performed for each attribute of the deformation determined in S804 and registered in the database 1001 shown in Figure 10(a). The attributes of the deformation after correction are registered in the database of corrected deformation attributes 1009 shown in Figure 10(b). Figure 10(b) is an example diagram showing a part of the database of corrected deformation attributes in S805. The database of corrected deformation attributes 1009 shown in Figure 10(b) is stored in an external storage device that can be accessed via the storage device 104 or the network interface 107. In Figure 10(b), the database of corrected deformation attributes 1009 stores the deformation ID 1002, model ID 1003, start coordinates 1004, end coordinates 1005, deformation attribute 1006, and corrected deformation attribute 1010 for each corrected deformation. The deformation ID 1002 is the identification information of the corrected deformation. The model ID 1003 is the identification information of the selected model used to determine the deformation attribute. The starting coordinate 1004 is the starting coordinate of the corrected deformation position. The ending coordinate 1005 is the ending coordinate of the corrected deformation position. The deformation attribute 1006 is the attribute of the corrected deformation. The attribute of the corrected deformation 1010 is the attribute of the corrected deformation, and in this embodiment, it is the deformation width.

[0068] In S806, the integration unit 701 integrates the attributes of multiple corrected deformations determined using multiple selection models corrected in S805. For example, the integration unit 701 integrates the attributes of multiple corrected deformations determined using different selection models into the attributes of a corrected deformation specified by the user. Figure 11 is a diagram illustrating a method for integrating the attributes of multiple corrected deformations determined using multiple selection models. The integration screen 1101 shown in Figure 11(a) displays the determination image acquired in S801, each deformation registered in the database 1009 in Figure 10(b), and the attributes of the corrected deformations determined using different selection models for each deformation. Figure 11(a) shows the integration screen 1101 displaying, for example, a determination image 1102 containing the attributes of multiple corrected deformations determined using a selection model with model size information of 0.8 mm / pixel registered in the database 901 in Figure 9, and a determination image 1103 containing the attributes of multiple corrected deformations determined using a selection model with model size information of 1.0 mm / pixel. For example, in the judgment image 1102 of the integrated screen 1101 in Figure 11(a), when the user operates the input device 105 to select deformation 1104 and then operates the confirmation button 1105, the attributes of multiple deformations in the judgment image 1102 are integrated into the attributes of deformation 1104. By repeating the above process, a database is generated in which the attributes of each deformation are integrated for each deformation ID, as shown in Figure 10(b). The attributes before integration may also be appended to the integrated database.

[0069] Furthermore, if the image size information acquired in S802 includes both vertical and horizontal image size information, the database 901 in Figure 9 displays, as shown in the integrated screen 1106 in Figure 11(b), a judgment image 1107 containing the attributes of multiple corrected deformations determined using a selected model with 0.8 mm / pixel model size information selected from the vertical image size information, and a judgment image 1108 containing the attributes of multiple corrected deformations determined using a selected model with 1.0 mm / pixel model size information selected from the horizontal image size information. Then, for example, as shown in the integrated screen 1106 in Figure 11(b), if the user selects a vertical or horizontal deformation in judgment images 1107 and / or 1108 by operating the input device 105 and then operates the confirmation button 1105, the attributes of the multiple deformations in judgment images 1107 and / or 1108 are integrated. In this case, the direction of the deformation can be determined from the starting coordinates 1004 and ending coordinates 1005 registered in the database 1009 in Figure 10(b), and deformations whose direction matches the image size information may be displayed in the pre-selected state 1109. In this way, deformations in the selected state 1109 can be integrated without the user having to perform an operation to select deformations.

[0070] As described above, Embodiment 2 improves the accuracy of determining the attributes of the deformation and the range of the actual image size information of the determined image. This improves the reliability of the process for determining the attributes of the deformation and makes it possible to streamline inspection work.

[0071] Note that steps S803 or S805 may be omitted. For example, the selection of a selection model in S803 may be omitted, and all decision models may be used. Also, the correction of the attribute of the deformation in S805 may be omitted.

[0072] Furthermore, if multiple image size information is obtained, or if the image size information includes both vertical and horizontal image size information, the processing from S803 to S306 should be performed for each piece of image size information.

[0073] [Other embodiments] The present invention can also be realized by supplying a program that implements one or more functions of each embodiment to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. Furthermore, the present invention can also be realized by a circuit (e.g., an ASIC) that implements one or more functions.

[0074] The invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, claims are attached to disclose the scope of the invention. [Explanation of symbols]

[0075] 100, 200, 700...Image processing device, 101...Control unit, 102...Non-volatile memory, 104...Storage device, 201...Acquisition unit, 202...Selection unit, 203...Determination unit, 204...Correction unit, 701...Integration unit

Claims

1. An acquisition means for acquiring first actual size information of an image including a deformation; A selection means for selecting a model for determining an attribute of an anomaly included in the image based on the first actual size information and the second actual size information from a database that associates and stores a model generated by previously learning and the second actual size information used in learning the model; A determination means for determining an attribute of an abnormality included in the image by using the first actual size information and the model selected by the selection means, The image processing apparatus according to claim 1, wherein the selection means selects a model in which the first actual size information is closest to the second actual size information.

2. 2. The image processing apparatus according to claim 1, further comprising a correction unit for correcting an attribute of the abnormality based on the first actual size information and the second actual size information.

3. 3. The image processing apparatus according to claim 2, wherein the correction means corrects the attribute of the abnormality based on a ratio between the first actual size information and the second actual size information.

4. 4. The image processing device according to claim 2, further comprising a storage means for storing a database in which the deformation, the position of the deformation, an attribute of the deformation, and an attribute of the corrected deformation are associated with each other.

5. the selection means selects a plurality of models based on a difference between the first actual size information and the second actual size information; 2. The image processing apparatus according to claim 1, further comprising an integration unit that integrates attributes of the abnormality determined using the plurality of models.

6. The image processing device according to claim 5, further comprising a correction means for correcting attributes of the abnormality determined using the plurality of models based on the first actual size information and the second actual size information.

7. The image processing device according to claim 6, further comprising a storage means for storing a database associating the abnormality, the position of the abnormality, the attributes of the abnormality, the attributes of the abnormality after the correction, and a model used to determine the attributes of the abnormality.

8. 8. The image processing apparatus according to claim 1, wherein the first actual size information includes actual size information of the image in the vertical and horizontal directions.

9. 9. The image processing apparatus according to claim 8, wherein the selection means selects the model based on actual size information of the image in the vertical and horizontal directions.

10. 9. The image processing apparatus according to claim 8, wherein the selection means selects the model based on an average of actual size information in the vertical and horizontal directions of the image.

11. the first actual size information includes actual size information of the image in the vertical and horizontal directions; 4. The image processing apparatus according to claim 2, wherein the correction means corrects the attribute of the abnormality based on a ratio between actual size information in the vertical and horizontal directions of the image and the second actual size information.

12. the first actual size information includes actual size information of the image in the vertical and horizontal directions; 4. The image processing apparatus according to claim 2, wherein the correction means corrects the attribute of the abnormality based on a ratio between an average of actual size information in the vertical and horizontal directions of the image and the second actual size information.

13. the first actual size information includes actual size information of the image in the vertical and horizontal directions; 7. The image processing apparatus according to claim 6, wherein the integrating means integrates the attribute of the abnormality based on actual size information in the vertical and horizontal directions of the image and the direction of the abnormality.

14. The image processing apparatus according to claim 1 , wherein the determining means determines an attribute of the abnormality by changing the size of the image using the first actual size information.

15. The image processing device according to claim 1 , wherein the deformation is a crack.

16. 16. The image processing apparatus according to claim 15, wherein the attribute of the abnormality is a width of the crack.

17. 1. An image processing method, comprising: An acquisition means acquires first actual size information of an image including a deformation; A selection means selects a model for determining attributes of an anomaly included in the image based on the first actual size information and the second actual size information from a database that associates and stores a model generated in advance by learning and the second actual size information used in learning the model; A step in which a determination means determines an attribute of an anomaly included in the image using the first actual size information and the selected model, An image processing method, comprising the steps of: selecting a model in which the first actual size information is closest to the second actual size information;

18. A program for causing a computer to function as each of the means of the image processing device according to any one of claims 1 to 16.