State identifying device, state identifying method and state identifying program
Patent Information
- Application Number
- JP2023024416
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
【0009】 本発明によれば、対象物の状態を効率的に特定することができるという効果がある。
Smart Images

Figure 2024118151000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a state specifying device, a state specifying method, and a state specifying program. [Background technology]
[0002] There are known techniques for identifying the state of equipment in a plant, such as the position of a liquid interface in a pipe or the position of a crack in a rail. For example, techniques for identifying the position of a liquid interface in a pipe include a technique for detecting capacitance changes using a probe, a technique using multiple level sensors, and image recognition using a machine learning model such as deep learning. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2003-057096 A [Patent Document 2] Special Publication No. 2019-529095 Summary of the Invention [Problem to be solved by the invention]
[0004] However, it is difficult to efficiently identify the state of an object, including pipes, rails, etc. For example, the above technology requires time-consuming advance preparations for detecting the state of an object, such as preparing multiple measuring devices, preparing learning data, and training a machine learning model.
[0005] The present invention has been made in consideration of the above, and makes it possible to efficiently identify the state of an object, such as the position of a liquid interface in a pipe used in a plant or the position of a crack in a rail. [Means for solving the problem]
[0006] The present invention provides a condition identification device comprising an acquisition unit that acquires image data of an object, a detection unit that detects color differences contained in the image data based on each pixel value of the image data, and an identification unit that identifies the condition of the object based on the color differences.
[0007] The present invention also provides a condition identification method in which a computer executes processing to acquire image data of an object, detect color differences contained in the image data based on each pixel value of the image data, and identify the condition of the object based on the color differences.
[0008] The present invention also provides a condition identification program that causes a computer to execute a process of acquiring image data of an object, detecting color differences contained in the image data based on each pixel value of the image data, and identifying a condition of the object based on the color differences. Effect of the Invention
[0009] According to the present invention, there is an advantage that the state of an object can be efficiently specified. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating a configuration example and a processing example of a condition specifying system according to an embodiment; [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of each device of the condition specifying system according to the embodiment. [Diagram 3] FIG. 4 is a diagram illustrating an example of an image data storage unit of the condition specifying device according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a calculation data storage unit of the condition determining device according to the embodiment. [Diagram 5] 11A and 11B are diagrams illustrating an example of an image cropping process according to the embodiment. [Figure 6] 11A to 11C are diagrams illustrating an example of execution of image conversion processing according to the embodiment. [Figure 7] 11A and 11B are diagrams illustrating an example of an average value calculation process according to the embodiment; [Figure 8] 6A and 6B are diagrams showing specific examples of average brightness data according to the embodiment; [Figure 9] FIG. 11 is a diagram showing a specific example of smoothed data according to the embodiment. [Figure 10] FIG. 13 is a diagram showing a specific example of two-time difference value data according to the embodiment. [Figure 11] FIG. 4 is a diagram showing a specific example of a display screen according to the embodiment. [Figure 12] 10 is a flowchart illustrating an example of the overall flow of a condition specification process according to the embodiment. [Figure 13] FIG. 2 is a diagram illustrating an example of a hardware configuration according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, a state specifying device, a state specifying method, and a state specifying program according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiment described below.
[0012] [Embodiment] The configuration and processing of a condition specifying system according to the embodiment, the configuration and processing of a condition specifying device, etc., and the flow of each process will be described below in order, and finally, the effects of the embodiment will be described.
[0013] 1. Configuration and Processing of Condition Identification System 100 The configuration and processing of the condition identification system 100 according to the embodiment will be described in detail with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration and processing of the condition identification system 100 according to the embodiment. An example of the overall configuration of the condition identification system 100, an example of the processing of the condition identification system 100, and the effects of the condition identification system 100 will be described below. Note that in the embodiment, a condition identification device 10 that identifies the position of a liquid interface S in a pipe P and the position of a crack C on the surface of a rail R will be described as an example, but the object and field of use are not limited thereto.
[0014] (1-1. Example of the overall configuration of the condition identification system 100) The condition specifying system 100 includes a condition specifying device 10 and an imaging device 20. Here, the condition specifying device 10 and the imaging device 20 are connected to be able to communicate with each other by wire or wirelessly via a predetermined communication network (not shown). The condition specifying device 10 is an example of an information processing device that specifies the position of a liquid interface S or the position of a crack C. The imaging device 20 is an example of a camera that captures an image of a pipe P or a rail R. The condition specifying system 100 shown in FIG. 1 may include a plurality of condition specifying devices 10 or a plurality of imaging devices 20. In the example of FIG. 1, the condition specifying device 10 is realized by a desktop PC (Personal Computer), but may be realized by a server device, a cloud system, or the like.
[0015] (1-2. Processing Example 1 of the State Identification System 100: Liquid Interface Identification Processing of the Pipe P) As an example of processing by the above-described condition identification system 100, a process for identifying a liquid interface S in a pipe P installed in a plant will be described below. The following will be described in the order of object imaging processing, image acquisition processing, image conversion processing, average value calculation processing, object condition identification processing, and identification result display processing. Note that the following processes can also be executed in a different order. Also, some of the following processes may be omitted.
[0016] (1-2-1. Object Imaging Processing) The imaging device 20 captures an image of a pipe P, which is an object whose state is to be specified (step S1). For example, the imaging device 20 captures an image of the pipe P that contains a liquid among fluids, and generates RGB image data including the liquid interface S.
[0017] (1-2-2. Image acquisition process) The condition determining device 10 acquires image data captured by the imaging device 20 from the imaging device 20 (step S2). At this time, the condition determining device 10 acquires and stores the image data. In addition, the condition determining device 10 cuts out a portion including the pipe P from the acquired image data.
[0018] (1-2-3. Image conversion processing) The condition determining device 10 converts the cut-out image data acquired from the imaging device 20 into grayscale image data (step S3). For example, the condition determining device 10 converts RGB image data in which only the pipe P is cut out into grayscale image data and stores the converted data.
[0019] (1-2-4. Average calculation process) The condition specifying device 10 calculates an average value by using luminance as a pixel value of the grayscale image data (step S4). For example, the condition specifying device 10 calculates and stores an average value of luminance in the row direction of the grayscale image data. Note that the condition specifying device 10 may also calculate an average value of luminance in the column direction of the grayscale image data.
[0020] (1-2-5. Object state identification process) The state identification device 10 detects color differences in the image data using the average luminance values, and identifies the state of the object (step S5). For example, the state identification device 10 smoothes the average luminance values, calculates the double difference values in the column direction, and identifies the row with the maximum double difference value as the position of the liquid interface S. Note that, if the state identification device 10 has calculated the average luminance values in the column direction in the process of step S4 above, it smooths the average luminance values, calculates the double difference values in the row direction, and identifies the column with the maximum double difference value as the position of the liquid interface S.
[0021] (1-2-6. Specific result display processing) The condition identifying device 10 displays the identification result (step S6). For example, the condition identifying device 10 displays on a monitor the identified position of the liquid interface S and the liquid level in the pipe P estimated from the position. At this time, the condition identifying device 10 determines that an abnormality has occurred in the pipe P if the liquid level in the pipe P is equal to or higher than a predetermined value.
[0022] (1-3. Processing Example 2 of Condition Identification System 100: Rail R Crack Identification Processing) As an example of processing by the above-described condition identification system 100, a process for identifying cracks C on the surface of a metal rail R installed in a plant will be described. Note that a description of processes common to the above-described liquid interface identification process for a pipe P will be omitted. The processes described below may also be executed in a different order. Some of the processes described below may be omitted.
[0023] In the above processing of steps S1 to S6, the processing for identifying the liquid interface S of the piping P has been described, but the condition identification system 100 can also be applied to the processing for identifying cracks C in a metal rail R installed in a plant.
[0024] That is, in the above step S5, the condition specifying device 10 smoothes the average brightness value, calculates the double difference value in the column direction, and specifies the row with the maximum double difference value as the position of the crack C. In addition, in the above step S6, the condition specifying device 10 displays the position and size of the specified crack C on the monitor. At this time, the condition specifying device 10 determines that there is an abnormality in the rail R if the size of the crack C in the rail R is equal to or larger than a predetermined value.
[0025] (1-4. Effects of the condition identification system 100) In the following, the problems with Reference Techniques 1 to 3 will be described, and then the effects of the condition specifying system 100 will be described.
[0026] (1-4-1. Problems with Reference Technology 1) For example, in Reference Technology 1, which uses a probe, a change in capacitance when the probe touches an object interface is detected, and the object interface position is determined based on the detection signal. Reference Technology 1 has a problem in that the probe needs to be in contact with the liquid when measuring the water level at the liquid interface.
[0027] (1-4-2. Problems with Reference Technology 2) In addition, in Reference Technology 2, which uses multiple level sensors, the position of the liquid interface is determined from the sensing results of the multiple level sensors. Reference Technology 2 has the problem that multiple level sensors are required to measure the water level of the liquid interface.
[0028] (1-4-3. Problems with Reference Technology 3) In addition, in Reference Technology 3, which uses a machine learning model, a machine learning model is constructed and the position of the liquid interface is detected by deep learning image recognition. Reference Technology 3 has the problem that when measuring the water level of the liquid interface, it is necessary to prepare a learning dataset and a trained machine learning model, and it is necessary to retrain depending on the usage situation.
[0029] (1-4-4. Overview of condition identification system 100) In the condition identification system 100, the imaging device 20 captures an image of the pipe P, which is an object whose condition is to be identified, and transmits the image data to the condition identification device 10. The condition identification device 10 converts the image data obtained from the imaging device 20 and cutting out the portion of the pipe P into grayscale image data, calculates an average value using the luminance of the grayscale image data, detects a color difference based on a double difference value of the image data using the average luminance value after smoothing processing, and identifies the position of the liquid interface S as the state of the object. The condition identification device 10 can also display the identification result and determine an abnormality, etc. of the pipe P based on the identification result.
[0030] Moreover, in the condition specifying system 100, the imaging device 20 captures an image of the rail R, which is an object whose condition is to be specified, and transmits the image data to the condition specifying device 10. The condition specifying device 10 converts the image data obtained from the imaging device 20 and cutting out the rail R portion into grayscale image data, calculates an average value using the luminance of the grayscale image data, detects a color difference based on a double difference value of the image data using the average luminance value after smoothing processing, and specifies the position of the crack C on the surface of the rail R as the condition of the object. The condition specifying device 10 can also display the specification result and determine an abnormality, etc. of the rail R based on the specification result.
[0031] (1-4-5. Effects of the condition identification system 100) As described above, the condition specifying system 100 can efficiently specify the condition of the object. For example, first, the condition specifying system 100 does not require a device such as a sensor to be in contact with the liquid when measuring the water level of the liquid interface S, so that it can execute a simple and safe measurement process. Second, the condition specifying system 100 does not require a device such as a plurality of sensors when measuring the water level of the liquid interface S, so that it can execute a simple and inexpensive measurement process. Third, the condition specifying system 100 does not require training data to be prepared when measuring the water level of the liquid interface S, and does not require retraining even if additional data is available, so that it can execute a simple and rapid measurement process. Fourth, the condition specifying system 100 can perform real-time measurement processing for the equipment required to inspect the liquid interface S, so that it can reduce the inspection man-hours.
[0032] Furthermore, the condition identification system 100 can also obtain the same effect as the identification process for the liquid interface S of the pipe P with respect to the identification process for the crack C in the metal rail R installed in the plant.
[0033] 2. Configuration and Processing of Each Device of Condition Identification System 100 The configuration and processing of each device included in the condition identification system 100 shown in Fig. 1 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing an example of the configuration of each device of the condition identification system 100 according to the embodiment. Below, an example of the overall configuration of the condition identification system 100 according to the embodiment will be described, and then an example of the configuration and processing of the condition identification device 10 according to the embodiment, and an example of the configuration and processing of the imaging device 20 will be described in detail.
[0034] (2-1. Example of the Overall Configuration of the Condition Identification System 100) 2, the condition specifying system 100 includes a condition specifying device 10 and an imaging device 20. The condition specifying device 10 is communicably connected to the imaging device 20 via a predetermined communication network. Note that the predetermined communication network may be any of various communication networks such as the Internet or a dedicated line.
[0035] (2-2. Configuration and Processing Examples of State Identification Device 10) First, a configuration example and a processing example of the state determining device 10 will be described with reference to Fig. 2. The state determining device 10 has an input unit 11, an output unit 12, a communication unit 13, a storage unit 14, and a control unit 15.
[0036] (2-2-1. Input section 11) The input unit 11 is responsible for inputting various types of information to the state determining device 10. For example, the input unit 11 is realized by a mouse, a keyboard, or the like, and accepts input of setting information and the like to the state determining device 10.
[0037] (2-2-2. Output section 12) The output unit 12 controls the output of various information from the condition determining device 10. For example, the output unit 12 is realized by a display or the like, and displays setting information stored in the condition determining device 10, etc.
[0038] (2-2-3. Communications Department 13) The communication unit 13 manages data communication with other devices. For example, the communication unit 13 performs data communication with each communication device via a router, etc. The communication unit 13 can also perform data communication with an operator's terminal (not shown).
[0039] (2-2-4. Storage section 14) The storage unit 14 stores various information referenced when the control unit 15 operates and various information acquired when the control unit 15 operates. The storage unit 14 has an image data storage unit 14a and a calculated data storage unit 14b. Here, the storage unit 14 can be realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. Note that, in the example of FIG. 2, the storage unit 14 is installed inside the condition determining device 10, but it may be installed outside the condition determining device 10, or multiple storage units may be installed.
[0040] (2-2-4-1. Image data storage unit 14a) The image data storage unit 14a stores image data acquired by an acquisition unit 15a of the control unit 15 described later, image data converted by a detection unit 15b of the control unit 15 described later, etc. Here, an example of data stored in the image data storage unit 14a will be described with reference to FIG. 3. FIG. 3 is a diagram showing an example of the image data storage unit 14a of the condition identifying device 10 according to the embodiment. In the example of FIG. 3, the image data storage unit 14a has items such as "Plant", "Overall image data", "Pipe image data", "Converted image data", and "Display image data".
[0041] The "plant" indicates identification information for identifying a plant in which the target objects such as the pipe P and the rail R are installed, and is, for example, an identification number or an identification symbol of the plant. The "whole image data" indicates whole image data including the pipe P and the rail R acquired from the imaging device 20, and includes, for example, RGB image data of the whole image data, identification information, imaging time, identification information of the imaging device 20, and the like. The "piping image data" indicates target image data obtained by trimming only the target objects such as the pipe P and the rail R from the whole image data, and includes, for example, RGB image data of the target image data, identification information, imaging time, and identification information of the pipe P and the rail R, and the like. The "converted image data" indicates converted image data obtained by converting the whole image data or the target image data into a grayscale image, and includes, for example, grayscale image data of the converted image data, identification information, imaging time, and identification information of the pipe P and the rail R, and the like. The "display image data" indicates display image data that displays the results of identifying the pipe P, the rail R, and the like, and is, for example, image data that displays the position of the liquid interface S and the water level of the pipe P on the whole image data, and image data that displays the position and size of the crack C on the whole image data.
[0042] That is, Figure 3 shows an example in which, for a plant identified by "Plant PS001", {"overall image data OI001", "piping image data PI001", "converted image data CI001", "display image data DI001", ...}, {"overall image data OI002", "piping image data PI002", "converted image data CI002", "display image data DI002", ...}, {"overall image data OI003", "piping image data PI003", "converted image data CI003", "display image data DI003", ...}, etc. are stored in the image data storage unit 14a.
[0043] (2-2-4-2. Calculation data storage unit 14b) The calculation data storage unit 14b stores calculation data calculated by a detection unit 15b of the control unit 15 described later, calculation data calculated by a determination unit 15c of the control unit 15 described later, and the like. Here, an example of data stored in the calculation data storage unit 14b will be described with reference to FIG. 4. FIG. 4 is a diagram showing an example of the calculation data storage unit 14b of the condition determination device 10 according to the embodiment. In the example of FIG. 4, the calculation data storage unit 14b has items such as "plant", "piping", "average brightness data", "smoothing data", "two-times difference value data", and "interface position data".
[0044] "Plant" indicates identification information for identifying the plant in which the target object, such as a pipe P or rail R, is installed, such as the plant's identification number or identification symbol. "Average brightness data" indicates a numerical value obtained by arithmetically averaging the brightness in the row or column direction. "Smoothed data" indicates a numerical value obtained by smoothing the average brightness data using LOWESS (locally weighted scatter plot smooth). "Two-times difference value data" indicates a two-times difference value of the smoothed data. "Interface position data" indicates the results of identifying targets such as a pipe P or rail R, such as a numerical value representing the position of the liquid interface S or the water level of the pipe P, or a numerical value representing the position and size of a crack C.
[0045] That is, FIG. 4 shows an example in which, for a plant identified by "Plant PS001", {"Piping PID001", "Brightness average data BM001", "Smoothed data LS001", "Two-time difference value data TD001", "Interface position data SL001", ...}, {"Piping PID002", "Brightness average data BM002", "Smoothed data LS002", "Two-time difference value data TD002", "Interface position data SL002", ...}, {"Piping PID003", "Brightness average data BM003", "Smoothed data LS003", "Two-time difference value data TD003", "Interface position data SL003", ...} and the like are stored in the calculation data storage unit 14b.
[0046] (2-2-5. Control unit 15) The control unit 15 is responsible for controlling the entire state specifying device 10. The control unit 15 has an acquisition unit 15a, a detection unit 15b, a specifying unit 15c, and a determination unit 15d. Here, the control unit 15 can be realized by, for example, an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0047] (2-2-5-1. Acquisition part 15a) The acquiring unit 15a acquires image data of an object. At this time, the acquiring unit 15a can acquire image data captured by the imaging device 20 in real time, and can also acquire image data stored in an external database or the storage unit 14. The acquiring unit 15a stores the acquired image data in the image data storage unit 14a.
[0048] Regarding the object, for example, the acquisition unit 15a acquires image data of a pipe P containing a liquid, which is imaged by the imaging device 20 through a sight glass. The acquisition unit 15a also acquires image data of a solid surface such as a metal rail R, which is imaged by the imaging device 20. At this time, the acquisition unit 15a may acquire whole image data including objects other than the pipe P and the rail R, or may acquire object image data including only the pipe P and the rail R as the object.
[0049] Regarding the type of image data, for example, the acquiring unit 15a acquires RGB image data as the image data. Here, the RGB image data is image data expressed by an RGB color model using the three primary colors of R (Red), G (Green) and B (Blue). The acquiring unit 15a may also acquire grayscale image data as the image data. Here, the grayscale image data is image data converted from the RGB image data and expressed only in white and black and several levels of gray between them, and includes luminance as a pixel value. The acquiring unit 15a may also acquire, as the image data, a numerical value for specifying the hue, saturation and brightness of each pixel, or may acquire the luminance of each pixel.
[0050] To explain a specific example of piping P, the acquisition unit 15a acquires RGB image data of the piping P of the plant identified by "Plant PS001" and stores it in the image data memory unit 14a as {"overall image data OI001", "overall image data OI002", "overall image data OI003"}.
[0051] To explain a specific example of rail R, the acquisition unit 15a acquires RGB image data of rail R of a plant identified by "Plant PS011" and stores it in the image data storage unit 14a as {"overall image data OI011", "overall image data OI012", "overall image data OI013"}.
[0052] (2-2-5-2. Detection unit 15b) The detection unit 15b detects color differences based on the image data. Here, color differences are differences in hue, saturation, and brightness of each pixel used to identify the characteristics of an object. For example, the detection unit 15b detects color differences contained in the image data based on each pixel value of the image data acquired by the acquisition unit 15a. Below, the processing of the detection unit 15b will be described in the order of image cutting processing, image conversion processing, average value calculation processing, smoothing processing, and double difference value calculation processing.
[0053] (Image cropping) First, when the image data is the whole image data, the detection unit 15b executes an image cutting process. For example, the detection unit 15b cuts out (trimmes) the object part from the whole image data to generate target image data from which the part other than the object part has been removed. Note that, when the image data is the object image data, the detection unit 15b omits the execution of the image cutting process.
[0054] To explain a specific example of piping P, the detection unit 15b generates "piping image data PI001" from "overall image data OI001", generates "piping image data PI002" from "overall image data OI002", and generates "piping image data PI003" from "overall image data OI003", and stores them in the image data memory unit 14a.
[0055] To explain a specific example of rail R, the detection unit 15b generates "rail image data RI011" from "overall image data OI011", generates "rail image data RI012" from "overall image data OI012", and generates "rail image data RI013" from "overall image data OI013", and stores them in the image data storage unit 14a.
[0056] (Example of image cropping) Here, an example of the image cutting process executed by the detection unit 15b will be described with reference to Fig. 5. Fig. 5 is a diagram showing an example of the image cutting process according to the embodiment.
[0057] 5, the detection unit 15b generates the target image data by trimming the sight glass portion, i.e., the piping P portion, from the overall image data including the piping P. At this time, the detection unit 15b may trim the piping P portion by image recognition, or may trim the piping P portion based on an operation by an operator.
[0058] (Image conversion processing) Secondly, if the image data is RGB image data, the detection unit 15b executes an image conversion process. For example, the detection unit 15b converts the RGB image data into grayscale image data. If the image data is grayscale image data, the detection unit 15b omits the execution of the image change process.
[0059] To explain a specific example for piping P, the detection unit 15b converts the RGB image data "piping image data PI001" into grayscale image data "converted image data CI001", converts the RGB image data "piping image data PI002" into grayscale image data "converted image data CI002", and converts the RGB image data "piping image data PI003" into grayscale image data "converted image data CI003", and stores them in the image data memory unit 14a.
[0060] To provide a specific example for rail R, the detection unit 15b converts the RGB image data "rail image data RI011" into grayscale image data "converted image data CI011", converts the RGB image data "rail image data RI012" into grayscale image data "converted image data CI012", and converts the RGB image data "rail image data RI013" into grayscale image data "converted image data CI013", and stores them in the image data storage unit 14a.
[0061] (Example of image conversion processing) An example of the image conversion process executed by the detection unit 15b will now be described with reference to Fig. 6. Fig. 6 is a diagram showing an example of the image conversion process according to the embodiment.
[0062] In the example of Fig. 6, the detection unit 15b converts the RBG image data shown in Fig. 6(1) into grayscale image data shown in Fig. 6(2). At this time, the detection unit 15b selects the following as the luminance of each pixel: {1st row, 1st column: "93"}, {1st row, 2nd column: "92"}, {1st row, 3rd column: "85"}, {1st row, 4th column: "86"}, {2nd row, 1st column: "73"}, {2nd row, 2nd column: "77"}, {2nd row, 3rd column: "75"}, {2nd row, 4th column: "87"}, {2nd row, 5th column: "89"}, {2nd row, 6th column: "90"}, {2nd row, 7th column: "91"}, {2nd row, 8th column: "92"}, {2nd row, 9th column: "93"}, {2nd row, 10th column: "91"}, {2nd row, 11th column: "93"}, {2nd row, 12th column: "92"}, {2nd row, 13th column: "85"}, {2nd row, 14th column: "93"}, {2nd row, 14th column: "92"}, {2nd row, 15th column: "93"}, {2nd row, 16th column: "92"}, {2nd row, 17th column: "92"}, {2nd row, 18th column: "92"}, {2nd row, 19th column: "93"}, {2nd row, 20th column: "92"}, {2nd row, 21st column: "92"}, {2nd row, 22nd column: : "76"}, {3rd row, 1st column: "120"}, {3rd row, 2nd column: "117"}, {3rd row, 3rd column: "125"}, {3rd row, 4th column: "120" ”}, {4th row, 1st column: “124”}, {4th row, 2nd column: “134”}, {4th row, 3rd column: “140”}, {4th row, 4th column: “138”}, {4th row, 4th column: “138”} 5th row, 1st column: "134"}, {5th row, 2nd column: "135"}, {5th row, 3rd column: "136"}, {5th row, 4th column: "140"}, {6th row, 1st column: "136"}, {6th row, 2nd column: "134"}, {6th row, 3rd column: "138"}, {6th row, 4th column: "140"}, {7th row, 1st column: " 139"}, {7th row, 2nd column: "140"}, {7th row, 3rd column: "142"}, {7th row, 4th column: "141"}, {8th row, 1st column: "140"}, {8th row, 2nd column: "143"}, {8th row, 3rd column: "144"}, {8th row, 4th column: "146"}, ··· to obtain the luminance data.
[0063] (Average calculation process) Third, the detector 15b executes an average value calculation process. For example, the detector 15b calculates the average value of pixel values in one direction, either the row direction or the column direction, of the pixel values of the grayscale image data. The detector 15b stores the generated luminance average value data in the calculated data storage unit 14b.
[0064] To provide a specific example for the piping P, the detection unit 15b calculates "average brightness data BM001" from the "converted image data CI001" as a numerical value obtained by arithmetically averaging the brightness, which is the value of each pixel in the grayscale image data, in the row direction, calculates "average brightness data BM002" from the "converted image data CI002", and calculates "average brightness data BM003" from the "converted image data CI003", and stores these in the calculated data memory unit 14b.
[0065] To explain a specific example of rail R, the detection unit 15b calculates "average brightness data BM011" from the "converted image data CI011" as a numerical value obtained by arithmetically averaging the brightness, which is the value of each pixel in the grayscale image data, in the row direction, calculates "average brightness data BM012" from the "converted image data CI012", and calculates "average brightness data BM013" from the "converted image data CI013", and stores these in the calculated data storage unit 14b.
[0066] (Example of average calculation process) An example of the average value calculation process executed by the detection unit 15b will now be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of the average value calculation process according to the embodiment.
[0067] In the example of Fig. 7, the detection unit 15b calculates the average in the row direction from the luminance data of the grayscale image data shown in Fig. 7(1), and calculates the average luminance data shown in Fig. 7(2). At this time, the detection unit 15b calculates the average luminance data of each row as follows: {1st row: "89"}, {2nd row: "75.25"}, {3rd row: "120.5"}, {4th row: "134"}, {5th row: "136.25"}, {6th row: "137"}, {7th row: "140.5"}, {8th row: "143.25"}, ...
[0068] (Example of average brightness data) A specific example of the luminance average value data calculated by the detection unit 15b will be described with reference to Fig. 8. Fig. 8 is a diagram showing a specific example of the luminance average value data according to the embodiment.
[0069] The brightness average data shown in the graph of FIG. 8 is calculated as follows: the brightness average data in the first row B_R1(Ave)=Σ(B_R1) / N, the brightness average data in the second row B_R2(Ave)=Σ(B_R2) / N, the brightness average data in the third row B_R3(Ave)=Σ(B_R3) / N, the brightness average data in the fourth row B_R4(Ave)=Σ(B_R4) / N, the brightness average data in the fifth row B_R5(Ave)=Σ(B_R5) / N, the brightness average data in the sixth row B_R6(Ave)=Σ(B_R6) / N, the brightness average data in the seventh row B_R7(Ave)=Σ(B_R7) / N, the brightness average data in the eighth row B_R8(Ave)=Σ(B-R8) / N, ... Note that "B_R1", "B_R2", ... represent the luminance data of the first row, the luminance data of the second row, ..., "N" is the number of columns, and "Σ" represents the sum.
[0070] (Smoothing process) Fourth, the detection unit 15b executes a smoothing process. For example, the detection unit 15b performs LOWESS smoothing on the average pixel values in one of the row direction and the column direction. Here, the LOWESS smoothing is smoothing performed by performing data processing by locally weighted scatter plot smoothing, but the data processing used for the smoothing process is not particularly limited. The detection unit 15b stores the smoothed smoothed data in the calculation data storage unit 14b.
[0071] To provide a specific example for the piping P, the detection unit 15b generates "smoothed data LS001" from "average brightness data BM001" as numerical values obtained by smoothing the average brightness value in the row direction, generates "smoothed data LS002" from "average brightness data BM002", and generates "smoothed data LS003" from "average brightness data BM003", and stores them in the calculated data memory unit 14b.
[0072] To provide a specific example for rail R, the detection unit 15b generates "smoothed data LS011" from "average brightness data BM011" as numerical values obtained by smoothing the average brightness value in the row direction, generates "smoothed data LS012" from "average brightness data BM012", and generates "smoothed data LS013" from "average brightness data BM013", and stores them in the calculated data memory unit 14b.
[0073] (Example of average brightness data) Here, a specific example of the smoothed data calculated by the detection unit 15b will be described with reference to Fig. 9. Fig. 9 is a diagram showing a specific example of the smoothed data according to the embodiment.
[0074] The smoothed data shown in the graph of FIG. 9 is as follows: average luminance data B_R1(Ave) in the first row → smoothed data B_R1(Ave)' in the first row; average luminance data B_R2(Ave) in the second row → smoothed data B_R2(Ave)' in the second row; average luminance data B_R3(Ave) in the third row → smoothed data B_R3(Ave)' in the third row; average luminance data B_R4(Ave) in the fourth row → smoothed data B_R4(Ave)' in the fourth row; The data is smoothed as follows: the luminance average data B_R5(Ave) in the 5th row becomes the smoothed data B_R5(Ave)' in the 5th row, the luminance average data B_R6(Ave) in the 6th row becomes the smoothed data B_R6(Ave)' in the 6th row, the luminance average data B_R7(Ave) in the 7th row becomes the smoothed data B_R7(Ave)' in the 7th row, the luminance average data B_R8(Ave) in the 8th row becomes the smoothed data B_R8(Ave)' in the 8th row, etc. Note that "B_R1(Ave)", "B_R1(Ave)", etc. are the luminance average data in the 1st row, the luminance average data in the 2nd row, etc., and "'" indicates that the data has been smoothed.
[0075] In the example of Fig. 9, the luminance average data B_R2(Ave) of the second row is particularly smoothed and approximated to a smoothed linear form. When performing the above smoothing process, luminance average data corresponding to the ends may be added. By performing the above smoothing process, it is possible to realize a state specification process that is less susceptible to the influence of image noise.
[0076] (Two-time differential calculation process) Fifth, the detection unit 15b executes a two-time difference value calculation process. For example, the detection unit 15b detects color differences contained in the image data by calculating two-time difference values in the row direction or the column direction other than the direction in which the average value was calculated for the smoothed average value of luminance. Here, the detection unit 15b may calculate a one-time difference value of the smoothed average value to detect color differences contained in the image data. The detection unit 15b stores the calculated two-time difference value data in the calculation data storage unit 14b.
[0077] To explain a specific example for piping P, the detection unit 15b calculates "two-time difference value data TD001" from "smoothed data LS001" as two-time difference values in the row direction, calculates "two-time difference value data TD002" from "smoothed data LS002", and calculates "two-time difference value data TD003" from "smoothed data LS003", and stores them in the calculated data memory unit 14b.
[0078] To explain a specific example for rail R, the detection unit 15b calculates "two-time difference value data TD011" from "smoothed data LS011" as two-time difference values in the row direction, calculates "two-time difference value data TD012" from "smoothed data LS012", and calculates "two-time difference value data TD013" from "smoothed data LS013", and stores them in the calculated data memory unit 14b.
[0079] (Example of double difference data) Here, a specific example of the two-time difference value data calculated by the detection unit 15b will be described with reference to Fig. 10. Fig. 10 is a diagram showing a specific example of the two-time difference value data according to the embodiment.
[0080] The two-time difference value data shown in the graph of Fig. 10 are calculated as follows: First, the single-time difference value data TD_R1_0 in the first row = B_R2(Ave)'-B_R1(Ave)', the single-time difference value data TD_R2_0 in the second row = {B_R3(Ave)'-B_R1(Ave)'} / 2, the single-time difference value data TD_R3_0 in the third row = {B_R4(Ave)'-B_R2(Ave)'} / 2, the single-time difference value data TD_R4_0 in the fourth row = {B_R5(Ave)'-B_R3(Ave)'} / 2, the single-time difference value data TD_R The single difference value data is calculated as follows: value data TD_R5_0={B_R6(Ave)'-B_R4(Ave)'} / 2, single difference value data TD_R6_0 in the 6th row={B_R7(Ave)'-B_R5(Ave)'} / 2, single difference value data TD_R7_0 in the 7th row={B_R8(Ave)'-B_R6(Ave)'} / 2, and single difference value data TD_R8_0 in the 8th row=B_R8(Ave)'-B_R7(Ave)'. Note that "B_R1(Ave)'", "B_R2(Ave)'", and so on indicate the smoothed data of the first row and the smoothed data of the second row, respectively, and "TD_R1_0", "TD_R2_0", and so on indicate the single difference value data of the first row and the single difference value data of the second row. Here, for the first row, which is the starting end, the difference in smoothed data with the row immediately following (i.e., the second row) is calculated. For the eighth row, which is the ending end, the difference in smoothed data with the row immediately preceding (i.e., the seventh row) is calculated. For the remaining rows, from the second row to the seventh row, the median difference is calculated by dividing the difference in smoothed data with the previous and following rows by twice the width (i.e., two rows).
[0081] The two-time difference value data in the first row is TD_R1=TD_R2_0-TD_R1_0, the two-time difference value data in the second row is TD_R2=(TD_R3_0-TD_R1_0) / 2, the two-time difference value data in the third row is TD_R3=(TD_R4_0-TD_R2_0) / 2, the two-time difference value data in the fourth row is TD_R4=(TD_R5_0-TD_R3_0) / 2, and the two-time difference value data in the fifth row is TD_R5=TD_R5_0-TD_R3_0. The two-time difference value data is calculated as follows: TD_R5 = (TD_R6_0-TD_R4_0) / 2 for the minute value data, TD_R6 = (TD_R7_0-TD_R5_0) / 2 for the sixth row, TD_R7 = (TD_R8_0-TD_R6_0) / 2 for the seventh row, and TD_R8 = TD_R8_0-TD_R7_0 for the eighth row. Note that "TD_R1", "TD_R2", and... indicate the two-time difference value data for the first row, the two-time difference value data for the second row, and... Here, for the first row, which is the starting end, the difference between the single-time difference data and the row one row after (i.e., the second row) is calculated. For the eighth row, which is the ending end, the difference between the single-time difference data and the row one row before (i.e., the seventh row) is calculated. For the remaining rows, from the second row to the seventh row, the median difference is calculated by dividing the difference in the single difference data between the previous and next rows by twice the width (i.e., two rows).
[0082] 10, the second difference value data TD_R3 in the third row indicates the maximum value, and it is understood that a color difference, that is, a liquid interface S, exists in the third row. When performing the above-mentioned second difference value processing, smoothed data or average brightness data corresponding to the ends may be added.
[0083] (Other color difference detection processes) The above-mentioned double difference value calculation process is a process executed under the assumption that the position of the maximum rate of change in luminance indicates the state of the object, and is merely one example of a color difference detection process that detects the position of the largest color difference in the image data. For example, instead of the above-mentioned double difference value calculation process, color differences can also be detected from image data by processes such as HoG (Histogram of Gradients), Hough transform, and SIFT (Scale-Invariant Feature Transform).
[0084] (2-2-5-3. Specific part 15c) The specifying unit 15c specifies the state of the object. For example, the specifying unit 15c specifies the state of the object based on a color difference included in the image data.
[0085] To explain the identifying state, for example, the identifying unit 15c identifies the position of the liquid interface S in the pipe P based on the color difference of the liquid in the pipe P. The identifying unit 15c also identifies the position of a crack C on a solid surface based on the color difference of the solid surface such as a metal rail R.
[0086] To explain the process of identification, the identification unit 15c identifies the position where the color difference included in the image data is maximum as the position of the liquid interface S in the pipe P. At this time, the identification unit 15c may identify the position where the color difference in the pipe P is equal to or greater than a predetermined value as the positions of multiple liquid interfaces S in the pipe P. Furthermore, the identification unit 15c identifies the position where the color difference included in the image data is maximum as the position of a crack C on a solid surface such as a rail R. At this time, the identification unit 15c may identify the position where the color difference in the solid surface such as a rail R is equal to or greater than a predetermined value as the positions of multiple cracks C on the solid surface such as a rail R.
[0087] Regarding color difference, the identification unit 15c identifies that a liquid interface S, a crack C, or the like, which indicates the state of the object, is present in the row or column in which the two-time difference value data calculated by the detection unit 15b indicates the maximum value as a color difference contained in the image data.
[0088] The determination unit 15c also calculates a numerical value indicating the state of the object based on the color difference included in the image data. The determination unit 15c stores the determination results such as the calculated interface position data in the calculation data storage unit 14b.
[0089] Regarding the numerical values of the state that are the calculated identification results, for example, the identification unit 15c calculates the water level in height [m], volume [L], volume ratio [%], etc. as a numerical value indicating the position of the liquid interface S in the pipe P. In addition, the identification unit 15c calculates the position, range, depth, etc. of the crack C in coordinates or length [cm] as a numerical value indicating the size of the crack C on the surface of a solid such as a metal rail R.
[0090] To explain a specific example for piping P, the identification unit 15c identifies the row in which the two-time difference value shows the maximum value using the "two-time difference value data TD001", identifies the position of the liquid interface S of "piping PID001", calculates the water level of the liquid interface S in volume ratio [%], generates "interface position data SL001" including the coordinates of the position of the liquid interface S and the water level of the liquid interface S in volume ratio [%], and stores it in the calculated data memory unit 14b.
[0091] To give a specific example for rail R, the identification unit 15c uses the "two-time difference value data TD011" to identify the row where the two-time difference value shows the maximum value, identifies the position of crack C on "rail RID011", calculates the size of crack C in terms of the range length [cm], generates "crack position data CL011" including the coordinates of the position of crack C and the size of crack C in terms of the range length [cm], and stores it in the calculated data memory unit 14b.
[0092] Furthermore, the specification unit 15c generates image data in which a numerical value indicating the state or state of the object is displayed based on the color difference included in the image data. The specification unit 15c stores the specification result of the generated image data, etc. in the image data storage unit 14a.
[0093] Regarding the image data that is the generated identification result, for example, the identification unit 15c generates image data in which the water level height [m], volume [L], volume ratio [%], etc., as numerical values indicating the position of the liquid interface S in the pipe P, are superimposed on the overall image data including the pipe P. The identification unit 15c also generates image data in which the coordinates and length [cm], etc., indicating the position, range, and depth of the crack C, as numerical values indicating the size of the crack C on the surface of a solid such as a metal rail R, are superimposed on the overall image data including the rail R.
[0094] To explain a specific example of piping P, the identification unit 15c refers to the "interface position data SL001" which includes the coordinates of the position of the liquid interface S and the water level of the liquid interface S as a volume ratio [%], generates "display image data DI001" which superimposes and displays the coordinates of the position of the liquid interface S and the volume ratio [%] which is the water level of the liquid interface S on the image data of the "overall image data OI001", and stores it in the image data storage unit 14a.
[0095] To give a specific example of rail R, the identification unit 15c refers to the ``crack position data CL011'' which includes the coordinates of the position of crack C and the range length [cm] of the size of crack C, generates ``display image data DI011'' in which the coordinates of the position of crack C and the range length [cm] of the size of crack C are superimposed on the image data of the ``overall image data OI011'', and stores it in the image data memory unit 14a.
[0096] (Example of object state identification process) Here, an example of the object state identification process executed by the identification unit 15c will be described. In the following, a conversion process from coordinates indicating a position to a numerical value indicating a state, which is a prerequisite for the abnormality determination process executed by the determination unit 15d described later, will be described.
[0097] First, the determination unit 15c determines the coordinates of the liquid interface S on the image data. Second, the determination unit 15c converts the coordinates of the liquid interface S into a volume ratio [%] that is the water level of the liquid interface S. At this time, the determination unit 15c generates a conversion function using coordinates where the volume ratio is 100% and coordinates where the volume ratio is 0%. For example, the determination unit 15c generates, as the conversion function, a table that associates each of the preset coordinate values with the volume ratio [%], or a conversion formula that converts the coordinate values into the volume ratio [%].
[0098] (Example of display image data) Here, a specific example of the display image data generated by the specification unit 15c will be described with reference to Fig. 11. Fig. 11 is a diagram showing a specific example of the display image data according to the embodiment.
[0099] As shown in Figure 11 (1), based on the coordinates of the identified liquid interface S, the detection unit 15b generates display image data for the piping P identified by "piping PID001", in which a blue dashed line indicating the position of the liquid interface S is superimposed on the image data.
[0100] Furthermore, as shown in FIG. 11(2), based on the volume ratio [%], which is the water level of the identified liquid interface S, the detection unit 15b generates display image data for the pipe P identified by "piping PID001", which displays the volume ratio [%] of the liquid interface S by superimposing the green number "54.28" on the image data.
[0101] (2-2-5-4. Judgment section 15d) The determination unit 15d determines whether the object is abnormal. For example, the determination unit 15d determines whether the object is abnormal based on a numerical value indicating the state of the object. At this time, the determination unit 15d may transmit an alarm to notify the manager of the object of the abnormality of the object.
[0102] Regarding the abnormality to be judged, for example, the judgment unit 15d judges an abnormality in the pipe P when a numerical value indicating the position of the liquid interface S in the pipe P exceeds a predetermined value. In addition, the judgment unit 15d judges an abnormality in the solid surface when a numerical value indicating the size of a crack in the solid surface such as a metal rail R exceeds a predetermined value.
[0103] To give a specific example regarding piping P, the judgment unit 15d refers to the "interface position data SL001" which includes the coordinates of the position of the liquid interface S and the volume ratio [%] which is the water level of the liquid interface S, and if the volume ratio [%] which is the water level of the liquid interface S exceeds a predetermined value, it judges that an abnormality has occurred in "piping PID001" and notifies the administrator of "plant PS001" of the abnormality with an alarm.
[0104] To give a specific example for rail R, the judgment unit 15d refers to the ``crack position data CL011'' which includes the coordinates of the position of crack C and the length [cm] of the range which is the size of crack C, and if the length [cm] of the range which is the size of crack C exceeds a predetermined value, it judges that an abnormality has occurred in ``rail RID011'' and notifies the administrator of ``plant PS011'' of the abnormality with an alarm.
[0105] (Example of abnormality determination process) Here, an example of the abnormality determination process executed by the determination unit 15d will be described. In the following, the necessity of the abnormality determination process will be explained, and then the alarm notification process and the process control process will be described.
[0106] (Necessity of abnormality judgment processing) For example, in a plant, if the volume of liquid contained in a tank exceeds the upper limit, it may become dangerous due to adhesion to other equipment. On the other hand, if the volume of liquid contained in the tank falls below the lower limit, there is a risk of overheating or boiling dry. As described above, the determination unit 15d can determine an abnormality in the liquid in the pipe P based on the result of identifying the liquid interface S using image data.
[0107] (Alarm notification processing) The determination unit 15d executes an if-match determination using the volume ratio [%], which is the water level of the liquid interface S converted by the conversion function generated by the determination unit 15c. At this time, the determination unit 15d allows the plant to operate if the predetermined value is not exceeded. On the other hand, if the predetermined value is exceeded, the determination unit 15d executes processing for the abnormality, such as stopping the plant operation or recording the alarm order, in response to a request from the plant manager.
[0108] In other words, the abnormality determination process using the image data described above can realize an alarm system for liquids that can improve the productivity of processes.
[0109] (Process Control Processing) The determination unit 15d can also automatically control the water level based on the result of identifying the state using image data using PID (Proportional-Integral-Differential). That is, while the water level control system in the reference technology detects the water level position using a physical hardware sensor (such as a differential pressure transmitter) and realizes water level control by calculating the operation amount to the valve using a PID algorithm, the determination unit 15d can also realize PID control using the result of identifying the state using image data instead of a hardware sensor.
[0110] That is, the abnormality determination process using the image data has the advantage that the control function and the monitoring function for the plant equipment can be integrated.
[0111] (2-3. Configuration Example of Imaging Device 20) An example of the configuration and processing of the imaging device 20 will be described with reference to Fig. 2. For example, the imaging device 20 is realized by a camera installed in a plant.
[0112] The imaging device 20 generates image data. For example, the imaging device 20 captures an image of an object and generates image data. The imaging device 20 also stores the generated image data.
[0113] Regarding the object, for example, the imaging device 20 captures an image of a pipe P containing a liquid through a sight glass to generate image data. The imaging device 20 also captures an image of a solid surface such as a metal rail R to generate image data. At this time, the imaging device 20 may generate whole image data including objects other than the pipe P and the rail R, or may generate object image data including only the pipe P and the rail R as the object.
[0114] Regarding the type of image data, for example, the imaging device 20 generates RGB image data as the image data. Also, the imaging device 20 may generate grayscale image data as the image data.
[0115] To give a specific example of piping P, the imaging device 20 generates RGB image data {"overall image data OI001", "overall image data OI002", "overall image data OI003"} for the piping P of the plant identified by "Plant PS001".
[0116] To give a specific example of rail R, the imaging device 20 generates RGB image data {"overall image data OI011", "overall image data OI012", "overall image data OI013"} for the rail R of a plant identified by "Plant PS011".
[0117] 3. Processing flow of condition identification system 100 The flow of processing of the condition identification system 100 according to the embodiment will be described with reference to FIG. 12. FIG. 12 is a flowchart showing the flow of the entire condition identification processing according to the embodiment. The following describes the image acquisition processing, image cropping processing, image conversion processing, average value calculation processing, double difference value calculation processing, object condition identification processing, identification result display processing, and abnormality determination processing in that order. Note that the processing of steps S101 to S109 below can also be performed in a different order. Also, some of the processing of steps S101 to S109 below may be omitted.
[0118] (3-1. Image acquisition processing) First, the condition determining device 10 executes an image acquisition process (step S101). For example, the condition determining device 10 acquires image data of an image of the pipe P from the imaging device 20 and stores the image data. The condition determining device 10 also acquires image data of an image of the rail R from the imaging device 20 and stores the image data.
[0119] (3-2. Image cropping process) Secondly, the condition identifying device 10 executes an image cropping process (step S102). For example, the condition identifying device 10 crops out a portion of the acquired image data that includes the pipe P. The condition identifying device 10 also crops out a portion of the acquired image data that includes the rail R.
[0120] (3-3. Image conversion processing) Third, the condition determining device 10 executes an image conversion process (step S103). For example, the condition determining device 10 converts RGB image data obtained by cutting out only the pipe P into grayscale image data and stores the converted data. The condition determining device 10 also converts RGB image data obtained by cutting out only the rail R into grayscale image data and stores the converted data.
[0121] (3-4. Average calculation process) Fourth, the condition determining device 10 executes an average value calculation process (step S104). For example, the condition determining device 10 calculates and stores an average value of luminance in the row direction of the grayscale image data of the pipe P. For example, the condition determining device 10 calculates and stores an average value of luminance in the row direction of the grayscale image data of the rail R.
[0122] (3-5. Smoothing process) Fifth, the condition determining device 10 executes a smoothing process (step S105). For example, the condition determining device 10 performs LOWESS smoothing on the average value of luminance in the row direction of the pipe P. The condition determining device 10 also performs LOWESS smoothing on the average value of luminance in the row direction of the rail R.
[0123] (3-6. Two-time differential value calculation process) Sixth, the condition determining device 10 executes a two-time difference value calculation process (step S106). For example, the condition determining device 10 calculates a two-time difference value in the column direction for the smoothed average value of the luminance in the row direction of the pipe P, and sets it as a numerical value indicating the color difference of the pipe P. In addition, the condition determining device 10 calculates a two-time difference value in the column direction for the smoothed average value of the luminance in the row direction of the rail R, and sets it as a numerical value indicating the color difference of the rail R.
[0124] (3-7. Object State Identification Processing) Seventh, the condition identification device 10 executes an object condition identification process (step S107). For example, the condition identification device 10 identifies the row in which the two-time difference value calculated for the pipe P is maximum as the position of the liquid interface S. In addition, the condition identification device 10 identifies the row in which the two-time difference value calculated for the rail R is maximum as the position of the crack C.
[0125] (3-8. Specific result display processing) Eighth, the condition identifying device 10 executes an identifying result display process (step S108). For example, the condition identifying device 10 displays on a monitor the identified position of the liquid interface S and the liquid level in the pipe P calculated from the position. The condition identifying device 10 also displays on a monitor the identified position of the crack C and the size of the crack C in the rail R calculated from the position.
[0126] (3-9. Abnormality Judgment Processing) Ninth, the condition determining device 10 executes an abnormality determination process (step S109). For example, when the liquid level in the pipe P is equal to or higher than a predetermined value, the condition determining device 10 determines that an abnormality exists in the pipe P. Also, when the size of the crack C in the rail R is equal to or higher than a predetermined value, the condition determining device 10 determines that an abnormality exists in the rail R.
[0127] 4. Effects of the embodiment Finally, effects of the embodiment will be described below: Effects 1 to 8 corresponding to the processing according to the embodiment will be described below.
[0128] (4-1. Effect 1) First, in the process according to the embodiment described above, the condition identification device 10 acquires image data of an object, detects color differences contained in the image data based on pixel values of the image data, and identifies the state of the object based on the color differences. Therefore, in this process, the state of the object can be identified efficiently.
[0129] (4-2. Effect 2) Secondly, in the process according to the embodiment described above, the condition identifying device 10 acquires RGB image data as image data, converts the RGB image data into grayscale image data, and detects color differences based on pixel values of the grayscale image data. Therefore, in this process, the luminance of the grayscale image data can be used to efficiently identify the condition of the object.
[0130] (4-3. Effect 3) Thirdly, in the process according to the embodiment described above, the condition identification device 10 detects color difference by calculating an average value of pixel values in one direction, either row or column, of each pixel value of the grayscale image data, smoothing the average value, and calculating a double difference value in the other direction for the smoothed average value. Therefore, in this process, it is possible to efficiently identify the condition of the object after removing image noise.
[0131] (4-4. Effect 4) Fourth, in the process according to the embodiment described above, the condition identifying device 10 acquires image data of a pipe P containing a liquid, and identifies the position at which the color difference contained in the image data is maximum as the position of the liquid interface S in the pipe P. Therefore, in this process, the position of the liquid interface S in the pipe P can be efficiently identified as the state of the target object.
[0132] (4-5. Effect 5) Fifth, in the process according to the embodiment described above, the condition identifying device 10 acquires image data of a solid surface such as a rail R, and identifies the position at which the color difference contained in the image data is maximum as the position of the crack C on the solid surface such as the rail R. Therefore, in this process, the position of the crack C on the solid surface such as the rail R can be efficiently identified as the condition of the object.
[0133] (4-6. Effect 6) Sixth, in the process according to the embodiment described above, the condition identification device 10 determines that an abnormality exists in an object when a numerical value indicating the object condition calculated based on the position where the color difference is maximum exceeds a predetermined value. Therefore, in this process, the object condition can be efficiently identified and a quantitative numerical value can be output.
[0134] (4-7. Effect 7) Seventh, in the process according to the embodiment described above, the condition identifying device 10 identifies the position of the liquid interface S in the pipe P, and calculates a numerical value indicating the liquid level of the liquid interface S in the pipe P. Therefore, in this process, the condition of the target object is efficiently identified, and a quantitative numerical value is output, which can be used to determine an abnormality in the pipe P.
[0135] (4-8. Effect 8) Eighth, in the process according to the embodiment described above, the condition identifying device 10 identifies the position of the crack C on the surface of a solid such as the rail R, and calculates a numerical value indicating the size C of the crack on the surface of the solid such as the rail R. Therefore, in this process, the condition of the target object is efficiently identified, and a quantitative numerical value is output, which can be used for determining an abnormality in the rail R or the like.
[0136] 〔system〕 The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0137] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0138] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.
[0139] [Hardware] Next, a hardware configuration example of the state determining device 10, which is an information processing device, will be described. Note that other devices may have a similar hardware configuration. FIG. 13 is a diagram for explaining a hardware configuration example. As shown in FIG. 13, the state determining device 10 has a communication device 10a, a HDD (Hard Disk Drive) 10b, a memory 10c, and a processor 10d. Furthermore, each unit shown in FIG. 13 is connected to each other via a bus or the like.
[0140] The communication device 10a is a network interface card or the like, and communicates with other servers. The HDD 10b stores programs and DBs that operate the functions shown in FIG.
[0141] The processor 10d reads out a program that executes the same processes as the respective processing units shown in FIG. 2 from the HDD 10b or the like and loads it in the memory 10c, thereby operating a process that executes the respective functions described in FIG. 2 or the like. For example, this process executes the same functions as the respective processing units of the state identification device 10. Specifically, the processor 10d reads out a program having the same functions as the acquisition unit 15a, the detection unit 15b, the identification unit 15c, the determination unit 15d, or the like from the HDD 10b or the like. Then, the processor 10d executes a process that executes the same processes as the acquisition unit 15a, the detection unit 15b, the identification unit 15c, the determination unit 15d, or the like.
[0142] In this way, the condition determining device 10 operates as a device that executes various processing methods by reading and executing a program. The condition determining device 10 can also realize functions similar to those of the above-described embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in these other embodiments is not limited to being executed by the condition determining device 10. For example, the present invention can be similarly applied to cases where another computer or server executes a program, or where these execute a program in cooperation with each other.
[0143] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer.
[0144] 〔others〕 Some examples of combinations of the disclosed technical features are set out below.
[0145] (1) A condition identification device comprising: an acquisition unit that acquires image data of an object; a detection unit that detects color differences contained in the image data based on each pixel value of the image data; and an identification unit that identifies the condition of the object based on the color differences.
[0146] (2) The condition identification device described in (1), wherein the acquisition unit acquires RGB image data as the image data, and the detection unit converts the RGB image data into grayscale image data and detects the color difference based on each pixel value of the grayscale image data.
[0147] (3) The condition identification device described in (2), wherein the detection unit detects the color difference by calculating an average value of pixel values in one direction, either a row direction or a column direction, of each pixel value of the grayscale image data, smoothing the average value, and calculating a two-times difference value in the other direction for the smoothed average value.
[0148] (4) A condition determining device described in any one of (1) to (3), wherein the acquisition unit acquires image data in which a pipe containing a liquid is imaged, and the determination unit determines the position at which the color difference contained in the image data is maximum as the position of the liquid interface in the pipe.
[0149] (5) A condition identifying device described in any one of (1) to (3), wherein the acquisition unit acquires the image data in which a solid surface is imaged, and the identification unit identifies the position at which the color difference contained in the image data is maximum as the position of a crack on the solid surface.
[0150] (6) A condition identification device according to any one of (1) to (5), further comprising a judgment unit that judges that there is an abnormality in the object when a numerical value indicating the condition of the object calculated based on the position where the color difference is maximum exceeds a predetermined value.
[0151] (7) The identification unit identifies the position of the liquid interface in the piping and calculates a numerical value indicating the liquid level of the liquid interface in the piping, and the judgment unit judges an abnormality in the piping when the numerical value indicating the liquid level exceeds a predetermined value.
[0152] (8) The condition identification device described in (6), wherein the identification unit identifies the position of a crack on a solid surface and calculates a numerical value indicating the size of the crack on the solid surface, and the judgment unit judges that there is an abnormality in the solid surface if the numerical value indicating the size exceeds a predetermined value.
[0153] (9) A condition identification method in which a computer executes a process of acquiring image data of an object, detecting color differences contained in the image data based on pixel values of the image data, and identifying a condition of the object based on the color differences.
[0154] (10) A condition identification program that causes a computer to execute a process of acquiring image data of an object, detecting color differences contained in the image data based on each pixel value of the image data, and identifying a condition of the object based on the color differences. [Explanation of symbols]
[0155] 10. State Identification Device 11 Input section 12 Output section 13. Communications Department 14 Storage section 14a Image data storage unit 14b Calculation data storage unit 15 Control section 15a Acquisition part 15b Detection section 15c Specific part 15d Judgment section 20 Imaging device 100 State Identification System
Claims
1. An acquisition unit that acquires image data of an object; A detection unit that detects color differences included in the image data based on each pixel value of the image data; an identification unit that identifies a state of the object based on the color difference; A condition identification device comprising:
2. The acquisition unit is As the image data, RGB image data is acquired, The detection unit is converting the RGB image data into grayscale image data, and detecting the color difference based on each pixel value of the grayscale image data; The condition determining device according to claim 1 .
3. The detection unit is Calculating an average value of pixel values in one direction of a row direction or a column direction among the pixel values of the grayscale image data, and smoothing the average value; Detecting the color difference by calculating a difference value twice in another direction for the smoothed average value. The condition determining device according to claim 2 .
4. The acquisition unit is acquiring the image data of a pipe containing a liquid; The identification unit is identifying a position where the color difference included in the image data is maximum as a position of a liquid interface in the pipe; The condition determining device according to claim 1 .
5. The acquisition unit is acquiring image data of an image of a solid surface; The identification unit is identifying a position at which the color difference included in the image data is maximum as a position of a crack on the solid surface; The condition determining device according to claim 1 .
6. a determination unit that determines that the object is abnormal when a numerical value indicating the state of the object calculated based on the position where the color difference is maximum exceeds a predetermined value; The condition identifying device according to claim 1 , further comprising:
7. The identification unit is Identifying a position of a liquid interface in a pipe and calculating a value indicative of a liquid level of the liquid interface in the pipe; The determination unit is When the numerical value indicating the liquid level exceeds a predetermined value, an abnormality in the piping is determined. The condition determining device according to claim 6.
8. The identification unit is Identifying the location of a crack on a solid surface and calculating a value indicating the size of the crack on the solid surface; The determination unit is If the numerical value indicating the magnitude exceeds a predetermined value, an abnormality is determined on the solid surface. The condition determining device according to claim 6.
9. The computer Acquire image data of the object; Detecting color differences contained in the image data based on each pixel value of the image data; determining a state of the object based on the color difference; A state-specific method for performing an action.
10. On the computer, Acquire image data of the object; Detecting color differences contained in the image data based on each pixel value of the image data; determining a state of the object based on the color difference; A state-specific program that causes processing to occur.
Citation Information
Patent Citations
Picture display device
JP1985238705A
Liquid level recognition processing device and liquid level monitoring system
JP2003240622A
Information processor, information processing method, and program
JP2018031664A
Water level measurement program and ring-shaped indicator used therefor
JP2020056751A
Method for leakage detection of underground pipeline corridor based on dynamic infrared thermal image processing
US20190331301A1
