State identification apparatus, state identification method, and state identification program
The state identification system efficiently identifies object states by analyzing image data to detect color differences, eliminating the need for physical contact and multiple sensors, thus improving measurement efficiency and safety.
Patent Information
- Application Number
- PCT/JP2024/005796
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2024-02-19
- Publication Date
- 2024-08-29
AI Technical Summary
Existing techniques for identifying states of objects such as liquid interfaces in piping and cracks in rails are inefficient due to the need for advance preparation, including multiple measurement devices and training data for machine learning models, and often require physical contact or multiple sensors.
A state identification system that captures images of objects, converts them to grayscale, calculates average brightness values, detects color differences using second-order difference values, and identifies object states without the need for physical contact or multiple sensors, enabling efficient and safe measurement.
The system allows for convenient, safe, and prompt identification of object states, reducing man-hours and eliminating the need for retraining with new data, while providing real-time inspection capabilities.
Smart Images

Figure JP2024005796_29082024_PF_FP_ABST
Abstract
Description
STATE IDENTIFICATION APPARATUS, STATE IDENTIFICATION METHOD, AND STATE IDENTIFICATION PROGRAM
[0001] The present invention relates to a state identification apparatus, a state identification method, and a state identification program.
[0002] Techniques for identifying states of facilities in plants have been known, the states being, for example, positions of liquid interfaces in piping and positions of cracks in rails. For example, a technique for detecting a change in capacitance using a probe, a technique using plural level sensors, and image recognition using a machine learning model, such as deep learning, have been known as techniques for identifying positions of liquid interfaces in piping.
[0003] Japanese Laid-open Patent Publication No. 2003-057096Japanese National Publication of International Patent Application No. 2019-529095
[0004] However, efficient identification of states of objects including piping and rails is difficult. For example, in the above mentioned techniques, advance preparation for detecting states of objects takes time, the advance preparation including preparing plural measurement devices, preparing training data, and training machine learning models.
[0005] The present invention has been made in view of the above, and allows states of objects to be efficiently identified, the states being, for example, positions of liquid interfaces in piping used in plants and positions of cracks in rails used in plants.
[0006] According to an aspect of the embodiments, a state identification apparatus includes an acquisition unit that acquires image data on an image having an object captured therein, a detection unit that detects a color difference included in the image data, on the basis of pixel values in the image data, and an identification unit that identifies a state of the object, on the basis of the color difference.
[0007] According to an aspect of the embodiments, a state identification method, wherein a computer executes processing includes acquiring image data on an image having an object captured therein, detecting a color difference included in the image data, on the basis of pixel values in the image data, and identifying a state of the object, on the basis of the color difference.
[0008] According to an aspect of the embodiments, a state identification program that causes a computer to execute processing includes acquiring image data on an image having an object captured therein, detecting a color difference included in the image data, on the basis of pixel values in the image data, and identifying a state of the object, on the basis of the color difference.
[0009] The present invention has an effect of enabling efficient identification of states of objects.
[0010] Fig. 1 is a diagram illustrating an example of a configuration of the state identification system according to the embodiment and an example of processing by the state identification system.Fig. 2 is a block diagram illustrating an example of a configuration of each device in the state identification system according to the embodiment.Fig. 3 is a diagram illustrating an example of an image data storage unit of a state identification apparatus according to the embodiment.Fig. 4 is a diagram illustrating an example of a calculated data storage unit of the state identification apparatus according to the embodiment.Fig. 5 is a diagram illustrating an example of execution of an image trimming process according to the embodiment.Fig. 6 is a diagram illustrating an example of execution of an image conversion process according to the embodiment.Fig. 7 is a diagram illustrating an example of execution of an average value calculation process according to the embodiment.Fig. 8 is a diagram illustrating a specific example of average brightness value data according to the embodiment.Fig. 9 is a diagram illustrating a specific example of smoothed data according to the embodiment.Fig. 10 is a diagram illustrating a specific example of second-order difference value data according to the embodiment.Fig. 11 is a diagram illustrating a specific example of a display screen according to the embodiment.Fig. 12 is a flowchart illustrating an example of a flow of the overall state identification process according to the embodiment.Fig. 13 is a diagram illustrating an example of a hardware configuration according to the embodiment.
[0011] A state identification apparatus, a state identification method, and a state identification program, according to one embodiment of the present invention will hereinafter be described in detail by reference to the drawings. The present invention is not limited by the embodiment described hereinafter.
[0012] Embodiment A configuration of and processing by a state identification system, configurations of and processing by devices including a state identification apparatus, and flows of the processing, according to the embodiment, will hereinafter be described in order and effects of the embodiment will be described lastly.
[0013] 1. Configuration of and Processing by State Identification System 100 A configuration of and processing by a state identification system 100 according to the embodiment will now be described in detail by use of Fig. 1. Fig. 1 is a diagram illustrating an example of a configuration of the state identification system 100 according to the embodiment and an example of processing by the state identification system 100. The description hereinafter is on the example of the overall configuration of the state identification system 100, the example of the processing by the state identification system 100, and effects of the state identification system 100. A state identification apparatus 10 that identifies a position of a liquid interface S in piping P and a position of a crack C on a surface of a rail R will be described as an example for this embodiment, but the example does not limit the objects to be inspected and the field of use.
[0014] 1-1. Example of Overall Configuration of State Identification System 100 The state identification system 100 has the state identification apparatus 10 and an imaging device 20. The state identification apparatus 10 and the imaging device 20 are connected to each other by wire or wirelessly to be able to communicate with each other via a predetermined communication network not illustrated in the drawings. The state identification apparatus 10 is an example of an information processing apparatus that identifies a position of a liquid interface S and a position of a crack C. The imaging device 20 is an example of a camera that captures images of piping P and rails R. The state identification system 100 illustrated in Fig. 1 may include a plurality of the state identification apparatuses 10 or a plurality of the imaging devices 20. In the example of Fig. 1, the state identification apparatus 10 is implemented by a desktop personal computer (PC) but the state identification apparatus 10 may be implemented by, for example, a server apparatus or a cloud system.
[0015] 1-2. First Example of Processing by State Identification System 100: Liquid Interface Identification Process for Piping P A process of identifying a liquid interface S in piping P installed in a plant will now be described as an example of processing by the state identification system 100 described above. An object imaging process, an image acquisition process, an image conversion process, an average value calculation process, an object state identification process, and an identification result display process will hereinafter be described in this order. The following processes may be executed in a different sequence. Furthermore, any of the following processes may be omitted.
[0016] 1-2-1. Object Imaging Process The imaging device 20 captures an image of piping P that is an object, of which a state is to be identified (Step S1). For example, the imaging device 20 captures an image of piping P having fluid, for example, liquid therein and generates RGB image data including a liquid interface S.
[0017] 1-2-2. Image Acquisition Process The state identification apparatus 10 acquires image data captured by the imaging device 20, from the imaging device 20 (Step S2). The state identification apparatus 10 stores the image data acquired. The state identification apparatus 10 cuts out a portion including the piping P, from the image data acquired.
[0018] 1-2-3. Image Conversion Process The state identification apparatus 10 converts the cut out portion of the image data acquired from the imaging device 20 and converts the cut out portion of the image data to gray scale image data (Step S3). For example, the state identification apparatus 10 converts RGB image data on the cut out portion with just the piping P therein into gray scale image data and stores the gray scale image data.
[0019] 1-2-4. Average Value Calculation Process The state identification apparatus 10 calculates average values by using brightness as pixel values of the gray scale image data (Step S4). For example, the state identification apparatus 10 calculates average values of brightness in a row direction of the gray scale image data and stores the average values. The state identification apparatus 10 may calculate average values of brightness in a column direction of the gray scale image data.
[0020] 1-2-5. Object State Identification Process The state identification apparatus 10 detects color differences in the image data by using the average values of brightness and identifies a state of the object (Step S5). For example, the state identification apparatus 10 calculate second-order difference values in the column direction after smoothing the average values of brightness and identifies a position of the liquid interface S, the position being a row having the largest second-order difference value. In a case where the state identification apparatus 10 has calculated the average values of brightness in the column direction in the above described process at Step S4, the state identification apparatus 10 calculates second-order difference values in the row direction after smoothing the average values of brightness and identifies the position of the liquid interface S, the position being a column having the largest second-order difference value.
[0021] 1-2-6. Identification Result Display Process The state identification apparatus 10 displays an identification result (Step S6). For example, the state identification apparatus 10 displays the position of the liquid interface S identified and / or the level of the liquid in the piping P estimated from that position, on a monitor. In a case where the level of the liquid in the piping P is equal to or higher than a predetermined value, the state identification apparatus 10 determines that there is abnormality in the piping P.
[0022] 1-3. Second Example of Processing by State Identification System 100: Crack Identification Process for Rail R A process of identifying a crack C on a surface of a rail R made of metal and installed in a plant will now be described as an example of processing performed by the state identification system 100 described above. Description of any process that is the same as that in the above described liquid interface identification process for the piping P will be omitted. The following processes may be executed in a different sequence. Furthermore, any of the following processes may be omitted.
[0023] The process of identifying the liquid interface S in the piping P has been described above by reference to Steps S1 to S6, but the state identification system 100 is also applicable to a process of identifying a crack C in a rail R made of metal and installed in a plant.
[0024] That is, at Step S5 described above, the state identification apparatus 10 calculates second-order difference values in the column direction after smoothing average values of brightness and identifies a position of the crack C, the position being a row having the largest second-order difference value. At Step S6 described above, the state identification apparatus 10 displays the position and / or size of the crack C identified, on a monitor. In a case where the size of the crack C in the rail R is equal to or larger than a predetermined value, the state identification apparatus 10 determines that there is abnormality in the rail R.
[0025] 1-4. Effects of State Identification System 100 Effects of the state identification system 100 will hereinafter be described after description of problems in a first reference technique to a third reference technique.
[0026] 1-4-1. Problem in First Reference Technique For example, in the first reference technique using a probe, a change in capacitance upon contact between the probe and an object interface is detected, and the position of the object interface is determined on the basis of the detected signal. The first reference technique has a problem of needing contact between the probe and the liquid in measurement of the level of the liquid interface.
[0027] 1-4-2. Problem in Second Reference Technique In the second reference technique using plural level sensors, the position of a liquid interface is determined from results of sensing by the plural level sensors. The second reference technique has a problem of needing the plural level sensors in the measurement of the level of the liquid interface.
[0028] 1-4-3. Problem in Third Reference Technique Furthermore, in the third reference technique using a machine learning model, the machine learning model is built and the position of a liquid interface is detected by deep learning image recognition. The third reference technique 3 has a problem of needing preparation of a training data set and the machine learning model that has been trained, for measurement of the level of the liquid interface, and needing retraining as the situation of use changes.
[0029] 1-4-4. Outline of State Identification System 100 In the state identification system 100, the imaging device 20 captures an image of piping P that is an object, of which a state is to be identified, and transmits image data to the state identification apparatus 10. The state identification apparatus 10 converts a portion cut out from the image data acquired from the imaging device 20 into gray scale image data, the portion corresponding to the piping P, calculates average values using brightness of the gray scale image data, detects color differences on the basis of second-order difference values in the image data by using the average values of brightness that have been subjected to smoothing, and identifies a position of a liquid interface S as the state of the object. The state identification apparatus 10 is also capable of displaying a determination result and determining that there is abnormality in the piping P, for example, on the basis of the determination result.
[0030] Furthermore, in the state identification system 100, the imaging device 20 captures an image of a rail R that is an object, of which a state is to be identified, and transmits image data to the state identification apparatus 10. The state identification apparatus 10 converts a portion cut out from the image data acquired from the imaging device 20 into gray scale image data, the portion corresponding to the rail R, calculates average values using brightness of the gray scale image data, detects color differences on the basis of second-order difference values in the image data by using the average values of brightness that have been subjected to smoothing, and identifies a position of a crack C on a surface of the rail R as the state of the object. The state identification apparatus 10 is also capable of displaying a determination result and determining that there is abnormality in the rail R, for example, on the basis of the determination result.
[0031] 1-4-5. Effects of State Identification System 100 As described above, the state identification system 100 is capable of efficiently identifying states of objects. Firstly, for example, in measurement of the level of a liquid interface S, the state identification system 100 does not require a device to be brought into contact with liquid, such as a sensor, and thus enables a convenient and safe measurement process to be executed. Secondly, when measuring the level of the liquid interface S, the state identification system 100 does not require devices, such as plural sensors, and thus enables a convenient and safe measurement process to be executed. Thirdly, in measurement of the level of the liquid interface S in the state identification system 100, preparation of teacher data for training is not required, no retraining is needed even if additional data are available, and thus a convenient and prompt measurement process is able to be executed. Fourthly, the state identification system 100 enables measurement in real time for a facility that needs inspection of a liquid interface S and thus enables man-hours to be reduced.
[0032] Furthermore, for the process of identifying a crack C in a rail R made of metal and installed in a plant, the state identification system 100 also achieves effects similar to those for the process of identifying a liquid interface S in piping P.
[0033] 2. Configurations of and Processing by Devices in State Identification System 100 Configurations of and processing by the devices included in the state identification system 100 illustrated in Fig. 1 will now be described by use of Fig. 2. Fig. 2 is a block diagram illustrating an example of the configurations of the devices in the state identification system 100 according to the embodiment. After description of an example of the overall configuration of the state identification system 100 according to the embodiment, an example of a configuration of and processing by the state identification apparatus 10 according to the embodiment and an example of a configuration of and processing by the imaging device 20 will hereinafter be described in detail.
[0034] 2-1. Example of Overall Configuration of State Identification System 100 As illustrated in Fig. 2, the state identification system 100 has the state identification apparatus 10 and the imaging device 20. The state identification apparatus 10 and the imaging device 20 are connected to each other to be able to communicate with each other via a predetermined communication network. Any of various communication networks, such as the Internet and a dedicated line, may be adopted as the predetermined communication network.
[0035] 2-2. Example of Configuration of and Processing by State Identification Apparatus 10 Firstly, the example of the configuration of and the processing by the state identification apparatus 10 will be described by use of Fig. 2. The state identification apparatus 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 Unit 11 The input unit 11 governs input of various types of information to the state identification apparatus 10. For example, the input unit 11 is implemented by a mouse and a keyboard and receives input of setting information for the state identification apparatus 10.
[0037] 2-2-2. Output Unit 12 The output unit 12 governs output of various types of information from the state identification apparatus 10. For example, the output unit 12 is implemented by a display and displays setting information stored in the state identification apparatus 10.
[0038] 2-2-3. Communication Unit 13 The communication unit 13 governs data communication with another device. For example, the communication unit 13 performs data communication with each communication device via a router. Furthermore, the communication unit 13 is capable of performing data communication with a terminal used by an operator, the terminal not being illustrated in the drawings.
[0039] 2-2-4. Storage Unit 14 The storage unit 14 stores various types of information that the control unit 15 refers to in operation of the control unit 15 and various types of information that the control unit 15 obtains in the operation of the control unit 15. The storage unit 14 has an image data storage unit 14a and a calculated data storage unit 14b. The storage unit 14 may be implemented 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. In the example of Fig. 2, the storage unit 14 has been installed inside the state identification apparatus 10, but the storage unit 14 may be installed outside the state identification apparatus 10, or plural storage units may be installed instead.
[0040] 2-2-4-1. Image Data Storage Unit 14a The image data storage unit 14a stores, for example, image data acquired by a later described acquisition unit 15a of the control unit 15 and image data converted by a later described detection unit 15b of the control unit 15. An example of data stored in the image data storage unit 14a will now be described by use of Fig. 3. Fig. 3 is a diagram illustrating an example of the image data storage unit 14a in the state identification apparatus 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", "piping image data", "converted image data", and "display image data".
[0041] The item, "plant", indicates identification information for identifying the plant where the piping P or rail R, which is an object, is installed, and is for example, an identification number or an identification symbol of the plant. The item, "overall image data", indicates overall image data including the piping P or rail R and acquired from the imaging device 20 and includes, for example, identification information and the imaging time for the overall image data and identification information on the imaging device 20, in addition to RGB image data of the overall image data. The item, "piping image data", indicates object image data on a portion cut out from the overall image data, the portion corresponding to an object only, such as the piping P or rail R, and includes, for example, identification information and the imaging time for the object image data and identification information on the piping P or rail R, in addition to RGB image data of the object image data. The item, "converted image data", indicates converted image data resulting from conversion of the overall image data or object image data to a gray scale image, and includes, for example, identification information and the imaging time for the converted image data and the identification information on the piping P or rail R, in addition to gray scale image data of the converted image data. The item, "display image data", indicates display image data for display of a determination result of the piping P or rail R and is, for example, image data for display of the position of a liquid interface S and / or the water level in the piping P on the overall image data or image data for display of the position and size of a crack C on the overall image data.
[0042] That is, Fig. 3 illustrates an example where the image data storage unit 14a stores therein, for a plant identified by "plant PS001", for example: "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", ...; and so on.
[0043] 2-2-4-2. Calculated Data Storage Unit 14b The calculated data storage unit 14b stores, for example, calculated data calculated by a later described detection unit 15b of the control unit 15 and calculated data calculated by a later described identification unit 15c of the control unit 15. An example of data stored in the calculated data storage unit 14b will now be described by use of Fig. 4. Fig. 4 is a diagram illustrating an example of the calculated data storage unit 14b in the state identification apparatus 10 according to the embodiment. In the example of Fig. 4, the calculated data storage unit 14b has items, such as "plant", "piping", "average brightness value data", "smoothed data", "second-order difference value data", and "interface position data".
[0044] The item, "plant", indicates identification information for identifying the plant where the piping P or rail R, which is an object, is installed, and is for example, an identification number or an identification symbol of the plant. The item, "average brightness value data", indicates numerical values that are the arithmetic means of brightness in the row direction or column direction. The item, "smoothed data", indicates numerical values resulting from locally weighted scatterplot smoothing (LOWESS) of the average brightness value data. The item, "second-order difference value data", indicates second-order difference values of the smoothed data. The item, "interface position data", indicates a determination result for the object, such as the piping P or rail R, and is, for example, a numerical value representing the position of a liquid interface S or the water level in the piping P, or a numerical value representing the position or size of a crack C.
[0045] That is, Fig. 4 illustrates an example where the calculated data storage unit 14b stores, for a plant identified by "plant PS001": "piping PID001", "average brightness value data BM001", "smoothed data LS001", "second-order difference value data TD001", "interface position data SL001", ...; "piping PID002", "average brightness value data BM002", "smoothed data LS002", "second-order difference value data TD002", "interface position data SL002", ...; "piping PID003", "average brightness value data BM003", "smoothed data LS003", "second-order difference value data TD003", "interface position data SL003", ...; and so on.
[0046] 2-2-5. Control Unit 15 The control unit 15 governs the overall control of the state identification apparatus 10. The control unit 15 has the acquisition unit 15a, the detection unit 15b, the identification unit 15c, and a determination unit 15d. The control unit 15 is implemented by, for example, an electronic circuit, such as a central processing unit (CPU) or a micro processing unit (MPU), or an integrated circuit, such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0047] 2-2-5-1. Acquisition Unit 15a The acquisition unit 15a acquires image data on an image having an object captured therein. The acquisition unit 15a may acquire image data captured by the imaging device 20 in real time or acquire image data that have been accumulated in an external database or the storage unit 14, for example. The acquisition unit 15a stores the acquired image data into the image data storage unit 14a.
[0048] The acquisition unit 15a acquires image data on an image of an object that is, for example, piping P having liquid therein, the image having been captured by the imaging device 20 through a sight glass. Furthermore, the acquisition unit 15a acquires image data on an image of a solid surface of, for example, a rail R made of metal, the image having been captured by the imaging device 20. The acquisition unit 15a may acquire overall image data including any object other than the piping P or rail R or may acquire object image data including only the piping P or rail R as an object.
[0049] As to the type of the image data, for example, the acquisition unit 15a acquires RGB image data as the image data. The RGB image data are image data represented by an RGB color model using the three primary colors, red (R), green (G), and blue (B). The acquisition unit 15a may acquire gray scale image data as the image data. The gray scale image data are image data converted from RGB image data, represented only by white, black, and some gray colors of different scales between white and black, and including brightness as pixel values. The acquisition unit 15a may acquire, as the image data, numerical values for identifying the hue, chroma, and brightness of each pixel, or brightness of each pixel.
[0050] In a specific example for piping P, the acquisition unit 15a acquires RGB image data on piping P in a plant identified by "plant PS001" and stores the RGB image data as "overall image data OI001", "overall image data OI002", and "overall image data OI003", into the image data storage unit 14a.
[0051] In a specific example for rails R, the acquisition unit 15a acquires RGB image data on rails R in a plant identified by "plant PS011" and stores the RGB image data as "overall image data OI011", "overall image data OI012", and "overall image data OI013", into the image data storage unit 14a.
[0052] 2-2-5-2. Detection Unit 15b The detection unit 15b detects color differences on the basis of image data. The color differences are used to identify features of an object and are hue, chroma, and brightness differences between pixels. For example, on the basis of each pixel value in image data acquired by the acquisition unit 15a, the detection unit 15b detects color differences included in the image data. An image trimming process, an image conversion process, an average value calculation process, a smoothing process, and a second-order difference value calculation process performed by the detection unit 15b will hereinafter be described in this order.
[0053] Image Trimming Process Firstly, in a case where image data are overall image data, the detection unit 15b executes the image trimming process. For example, by executing trimming for an object portion of the overall image data, the detection unit 15b generates object image data with the other portion removed, the other portion being other than the object portion. In a case where the image data are object image data, the detection unit 15b omits execution of the image trimming process.
[0054] In a specific example for piping P, the detection unit 15b generates "piping image data PI001" from "overall image data OI001", "piping image data PI002" from "overall image data OI002", and "piping image data PI003" from "overall image data OI003" and stores these sets of piping image data generated, into the image data storage unit 14a.
[0055] In a specific example for rails R, the detection unit 15b generates "rail image data RI011" from "overall image data OI011", "rail image data RI012" from "overall image data OI012", and "rail image data RI013" from "overall image data OI013" and stores these sets of rail image data generated, into the image data storage unit 14a.
[0056] Example of Execution of Image Trimming Process An example of execution of the image trimming process executed by the detection unit 15b will now be described by use of Fig. 5. Fig. 5 is a diagram illustrating the example of the execution of the image trimming process according to the embodiment.
[0057] In the example of Fig. 5, object image data are generated by cutting out a sight glass portion, that is, a piping P portion, from overall image data including piping P. The detection unit 15b may perform trimming by image recognition for the piping P portion or may perform trimming on the basis of operation by an operator.
[0058] Image Conversion Process Secondly, in a case where the image data are RGB image data, the detection unit 15b executes the image conversion process. For example, the detection unit 15b converts the RGB image data into gray scale image data. In a case where the image data are gray scale image data, the detection unit 15b omits execution of the image conversion process.
[0059] In a specific example for piping P, the detection unit 15b converts "piping image data PI001" that are RGB image data, into "converted image data CI001" that are gray scale image data, "piping image data PI002" that are RGB image data into "converted image data CI002" that are gray scale image data, and "piping image data PI003" that are RGB image data into "converted image data CI003" that are gray scale image data, and stores the resultant sets of converted image data into the image data storage unit 14a.
[0060] In a specific example for rails R, the detection unit 15b converts "rail image data RI011" that are RGB image data into "converted image data CI011" that are gray scale image data, "rail image data RI012" that are RGB image data into "converted image data CI012" that are gray scale image data, and "rail image data RI013" that are RGB image data into "converted image data CI013" that are gray scale image data, and stores the resultant sets of converted image data into the image data storage unit 14a.
[0061] Example of Execution of Image Conversion Process An example of execution of the image conversion process executed by the detection unit 15b will now be described by use of Fig. 6. Fig. 6 is a diagram illustrating the example of the execution of the image conversion process according to the embodiment.
[0062] In the example of Fig. 6, the detection unit 15b performs conversion of RGB image data (1) illustrated in Fig. 6 into gray scale image data (2) illustrated in Fig. 6. In this conversion, the detection unit 15b acquires, as brightness of each pixel, brightness data, such as "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: '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'"; "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'", ....
[0063] Average Value Calculation Process Thirdly, the detection unit 15b executes the average value calculation process. For example, the detection unit 15b calculates average values of pixel values in one of the row direction or column direction, the pixel values being pixel values in gray scale image data. The detection unit 15b stores the generated average brightness value data into the calculated data storage unit 14b.
[0064] In a specific example for piping P, the detection unit 15b calculates, as numerical values that are the arithmetic means of brightness in the row direction, the brightness being pixel values in gray scale image data: "average brightness value data BM001" from "converted image data CI001"; "average brightness value data BM002" from "converted image data CI002"; and "average brightness value data BM003" from "converted image data CI003", and stores the calculated sets of average brightness value data, into the calculated data storage unit 14b.
[0065] In a specific example for rails R, the detection unit 15b calculates, as numerical values that are the arithmetic means of brightness in the row direction, the brightness being pixel values in gray scale image data: "average brightness value data BM011" from "converted image data CI011"; "average brightness value data BM012" from "converted image data CI012"; "average brightness value data BM013" from "converted image data CI013", and stores the calculated sets of average brightness value data into the calculated data storage unit 14b.
[0066] Example of Execution of Average Value Calculation Process An example of execution of the average value calculation process executed by the detection unit 15b will now be described by use of Fig. 7. Fig. 7 is a diagram illustrating the example of the execution of the average value calculation process according to the embodiment.
[0067] In the example of Fig. 7, the detection unit 15b calculates average brightness value data (2) illustrated in Fig. 7 by calculating the averages in the row direction from brightness data of gray scale image data (1) illustrated in Fig. 7. In this calculation, the detection unit 15b calculates, as the average value of brightness of each row, average brightness value data for each row, like: "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] Specific Example of Average Brightness Value Data A specific example of average brightness value data calculated by the detection unit 15b will now be described by use of Fig. 8. Fig. 8 is a diagram illustrating the specific example of the average brightness value data according to the embodiment.
[0069] The average brightness value data illustrated by the graph in Fig. 8 are calculated like: 1st row's average brightness value data B_R1(Ave) = Σ(B_R1) / N; 2nd row's average brightness value data B_R2(Ave) = Σ(B_R2) / N; 3rd row's average brightness value data B_R3(Ave) = Σ(B_R3) / N; 4th row's average brightness value data B_R4(Ave) = Σ(B_R4) / N; 5th row's average brightness value data B_R5(Ave) = Σ(B_R5) / N; 6th row's average brightness value data B_R6(Ave) = Σ(B_R6) / N; 7th row's average brightness value data B_R7(Ave) = Σ(B_R7) / N; 8th row's average brightness value data B_R8(Ave) = Σ(B_R8) / N, .... These sets of data, "B_R1", "B_R2", ... are brightness data on the first row, brightness data on the second row, ..., and "N" is the number of columns and "Σ" indicates the sum total.
[0070] Smoothing Process Fourthly, the detection unit 15b executes the smoothing process. For example, the detection unit 15b performs smoothing, LOWESS, of average values in one of the row direction or column direction. LOWESS is smoothing by data processing through smoothing of a scatter diagram that has been locally weighted but the data processing used in the smoothing process is not particularly limited. The detection unit 15b stores smoothed data resulting from the smoothing, into the calculated data storage unit 14b.
[0071] In a specific example for piping P, the detection unit 15b generates, as numerical values resulting from smoothing of average values of brightness in the row direction, "smoothed data LS001" from "average brightness value data BM001", "smoothed data LS002" from "average brightness value data BM002", and "smoothed data LS003" from "average brightness value data BM003" and stores these generated sets of smoothed data into the calculated data storage unit 14b.
[0072] In a specific example for rails R, the detection unit 15b generates, as numerical values resulting from smoothing of average values of brightness in the row direction, "smoothed data LS011" from "average brightness value data BM011", "smoothed data LS012" from "average brightness value data BM012", and "smoothed data LS013" from "average brightness value data BM013" and stores these generated sets of smoothed data into the calculated data storage unit 14b.
[0073] Specific Example of Average Brightness Value Data A specific example of smoothed data calculated by the detection unit 15b will now be described by use of Fig. 9. Fig. 9 is a diagram illustrating the specific example of the smoothed data according to the embodiment.
[0074] The smoothed data illustrated by the graph in Fig. 9 are smoothed data B_R1(Ave)' of the first row resulting from smoothing of average brightness value data B_R1(Ave) of the first row, smoothed data B_R2(Ave)' of the second row resulting from smoothing of average brightness value data B_R2(Ave) of the second row, smoothed data B_R3(Ave)' of the third row resulting from smoothing of average brightness value data B_R3(Ave) of the third row, smoothed data B_R4(Ave)' of the fourth row resulting from smoothing of average brightness value data B_R4(Ave) of the fourth row, smoothed data B_R5(Ave)' of the fifth row resulting from smoothing of average brightness value data B_R5(Ave) of the fifth row, smoothed data B_R6(Ave)' of the sixth row resulting from smoothing of average brightness value data B_R6(Ave) of the sixth row, smoothed data B_R7(Ave)' of the seventh row resulting from smoothing of average brightness value data B_R7(Ave) of the seventh row, and smoothed data B_R8(Ave)' of the eighth row resulting from smoothing of average brightness value data B_R8(Ave) of the eighth row, .... Herein, " B_R1(Ave)", "B_R2(Ave)", ... are the average brightness value data of the first row, the average brightness value data of the second row, ... and "'" indicates that the data have been smoothed.
[0075] In the example of Fig. 9, the average brightness value data B_R2(Ave) of the second row have been smoothed in particular and approximated by a smoothed line. In executing the above described smoothing process, corresponding average brightness value data may be added at the ends. Executing the above described smoothing process enables implementation of a state identification process that is less affected by noise in images.
[0076] Second-Order Difference Value Calculation Process Fifthly, the detection unit 15b executes the second-order difference value calculation process. For example, for average brightness values that have been smoothed, by calculating second-order difference values in a direction different from the direction the average values have been calculated in, the direction being one of the row direction or column direction, the detection unit 15b detects color differences included in the image data. The detection unit 15b may detect color differences included in the image data by calculating first-order difference values of the smoothed average values. The detection unit 15b stores the second-order difference value data calculated, into the calculated data storage unit 14b.
[0077] In a specific example for piping P, the detection unit 15b calculates, as second-order difference values in the row direction, "second-order difference value data TD001" from "smoothed data LS001", "second-order difference value data TD002" from "smoothed data LS002", and "second-order difference value data TD003" from "smoothed data LS003" and stores the calculated sets of second-order difference value data into the calculated data storage unit 14b.
[0078] In a specific example for rails R, the detection unit 15b calculates, as second-order difference values in the row direction, "second-order difference value data TD011" from "smoothed data LS011", "second-order difference value data TD012" from "smoothed data LS012", and "second-order difference value data TD013" from "smoothed data LS013" and stores the calculated sets of second-order difference value data into the calculated data storage unit 14b.
[0079] Specific Example of Second-Order Difference Value Data A specific example of second-order difference value data calculated by the detection unit 15b will now be described by use of Fig. 10. Fig. 10 is a diagram illustrating the specific example of the second-order difference value data according to the embodiment.
[0080] The second-order difference value data illustrated by the graph in Fig. 10 are calculated as follows. Firstly, the first row's first-order difference value data TD_R1_0 = B_R2(Ave)' - B_R1(Ave)', the second row's first-order difference value data TD_R2_0 = {B_R3(Ave)' - B_R1(Ave)'} / 2, the third row's first-order difference value data TD_R3_0 = {B_R4(Ave)' - B_R2(Ave)'} / 2, the fourth row's first-order difference value data TD_R4_0 = {B_R5(Ave)' - B_R3(Ave)'} / 2, the fifth row's first-order difference value data TD_R5_0 = {B_R6(Ave)' - B_R4(Ave)'} / 2, the sixth row's first-order difference value data TD_R6_0 = {B_R7(Ave)' - B_R5(Ave)'} / 2, the seventh row's first-order difference value data TD_R7_0 = {B_R8(Ave)' - B_R6(Ave)'} / 2, and the eighth row's first-order difference value data TD_R8_0 = B_R8(Ave)' - B_R7(Ave)' are calculated as first-order difference value data. Herein, "B_R1(Ave)'", "B_R2( )'", ... are the smoothed data of the first row, the smoothed data of the second row, ..., and "TD_R1_0", "TD_R2_0", ... are the first-order difference value data of the first row, the first-order difference value data of the second row, .... For the first row that is a starting end, a difference in the smoothed data from a row that is one row after the first row (that is, the second row) is found. For the eighth row that is an ending end, a difference in the smoothed data from a row that is one row before the eighth row (that is, the seventh row) is found. For the other second row to seventh row, central differences that each result from division of a difference between the sets of smoothed data of the previous row and subsequent row by twice the width (corresponding to two rows) are found.
[0081] The first row's second-order difference value data TD_R1 = TD_R2_0 - TD_R1_0, the second row's second-order difference value data TD_R2 = (TD_R3_0 - TD_R1_0) / 2, the third row's second-order difference value data TD_R3 = (TD_R4_0 - TD_R2_0) / 2, the fourth row's second-order difference value data TD_R4 = (TD_R5_0 - TD_R3_0) / 2, the fifth row's second-order difference value data TD_R5 = (TD_R6_0 - TD_R4_0) / 2, the sixth row's second-order difference value data TD_R6 = (TD_R7_0 - TD_R5_0) / 2, the seventh row's second-order difference value data TD_R7 = (TD_R8_0 - TD_R6_0) / 2, and the eighth row's second-order difference value data TD_R8 = TD_R8_0 - TD_R7_0 are calculated as second-order difference value data. Herein, "TD_R1", "TD_R2", ... are the first row's second-order difference value data, the second row's second-order difference value data, .... For the first row that is a starting end, a difference in the first-order difference value data from a row that is one row after the first row (that is, the second row) is found. For the eighth row that is an ending end, a difference in the first-order difference value data from a row that is one row before the eighth row (that is, the seventh row) is found. For the other second row to seventh row, central differences that each result from division of a difference between the sets of first-order difference value data of the previous row and subsequent row by twice the width (corresponding to two rows) are found.
[0082] In the example of Fig. 10, the third row's second-order difference value data TD_R3 have the largest value, indicating that a color difference, that is, a liquid interface S is present in the third row. In executing the above described second-order difference value calculation process, corresponding smoothed data and average brightness value data may be added at the ends.
[0083] Other Color Difference Detection Processes The above described second-order difference value calculation process is a process executed on the premise that the position where the rate of change in brightness is largest indicates the state of an object, and is just an example of a color difference detection process of detecting the position where the color difference is largest in the image data. For example, instead of the above described second-order difference value calculation process, Histogram of Gradients (HoG), Hough transform, or Scale-Invariant Feature Transform (SIFT) may be used to detect color differences from the image data.
[0084] 2-2-5-3. Identification Unit 15c The identification unit 15c identifies a state of an object. For example, on the basis of color differences included in image data, the identification unit 15c identifies a state of an object.
[0085] As to a state to be identified, for example, the identification unit 15c identifies a position of a liquid interface S in piping P, on the basis of a color difference in liquid in the piping P. Furthermore, the identification unit 15c identifies a position of a crack C on a solid surface of, for example, a rail R made of metal, on the basis of a color difference on the solid surface.
[0086] As to a flow of this identification, the identification unit 15c identifies a position of a liquid interface S in piping P, the position being a position having the largest color difference in the image data. The identification unit 15c may identify positions of plural liquid interfaces S in piping, the positions being positions in the piping and having color differences equal to or larger than a predetermined value. Furthermore, the identification unit 15c identifies a position of a crack C on a solid surface of, for example, a rail R, the position being a position having the largest color difference in the image data. The identification unit 15c may identify positions of plural cracks C on a solid surface of, for example, a rail R, the positions being positions having color differences equal to or larger than a predetermined value, the positions being on the solid surface of the rail R.
[0087] As to the color differences, the identification unit 15c identifies presence of, for example, a liquid interface S or a crack C that indicates a state of an object in a row or column where the second-order difference value data calculated by the detection unit 15b as the color difference included in the image data have the largest value.
[0088] Furthermore, on the basis of a color difference included in image data, the identification unit 15c calculates a numerical value indicating a state of an object. The identification unit 15c stores a result of the identification, such as interface position data that have been calculated, into the calculated data storage unit 14b.
[0089] As to a numerical value for a state, the numerical value being an identification result to be calculated, for example, the identification unit 15c calculates a numerical value indicating a position of a liquid interface S in piping P, the numerical value indicating a water level by a height (m), a volume (L) or a volume ratio (%). Furthermore, the identification unit 15c calculates a numerical value indicating a size of a crack C on a solid surface, such as a rail R made of metal, the numerical value indicating a position, a range, or a depth of the crack C by coordinates or a length (cm).
[0090] In a specific example for piping P, the identification unit 15c identifies a row where the second-order difference value has the largest value by using "second-order difference value data TD001" to identify a position of a liquid interface S in "piping PID001", calculates a water level of the liquid interface S as a volume ratio (%), generates "interface position data SL001" including coordinates of the position of the liquid interface S and the water level of the liquid interface S, and stores the generated "interface position data SL001" into the calculated data storage unit 14b.
[0091] In a specific example for a rail R, the identification unit 15c identifies a row where the second-order difference value has the largest value by using "second-order difference value data TD011" to identify a position of a crack in "rail RID011", calculates a size of the crack C as a length of its range (cm), generates "crack position data CL011" including coordinates of the position of the crack C and the length (cm) of the range of the crack C, the length being the size of the crack C, and stores the generated "crack position data CL011" into the calculated data storage unit 14b.
[0092] Furthermore, the identification unit 15c generates image data for display of a state of an object or a numerical value indicating the state, on the basis of a color difference included in image data. The identification unit 15c stores an identification result, such as the generated image data, into the image data storage unit 14a.
[0093] As to the generated image data that are an identification result, for example, the identification unit 15c generates image data having a numerical value superimposed on overall image data including piping P, the numerical value indicating a water level that is a position of a liquid interface S in the piping P and being, for example, a height (m), a volume (L), or a volume ratio (%). Furthermore, the identification unit 15c generates image data having a numerical value superimposed on overall image data including a rail R made of metal, the numerical value indicating a size of a crack C on a solid surface of the rail R and being, for example, coordinates or a length (cm) indicating a position, a range, or a depth of the crack C.
[0094] In a specific example for piping P, the identification unit 15c refers to "interface position data SL001" including coordinates of a position of a liquid interface S and a volume ratio (%) that is a water level of the liquid interface S, generates "display image data DI001" for display of an image having the coordinates of the position of the liquid interface S and the volume ratio (%) that is the water level of the liquid interface S, the coordinates and volume ratio (%) having been superimposed on an image of "overall image data OI001", and stores the generated "display image data DI001" into the image data storage unit 14a.
[0095] In a specific example for a rail R, the identification unit 15c refers to "crack position data CL011" including coordinates of a position of a crack C and a length (cm) of a range that is a size of the crack C, generates "display image data DI011" for display of an image having the coordinates of the position of the crack C and the length (cm) of the range that is the size of the crack C, the coordinates and the length (cm) having been superimposed on an image of "overall image data OI011", and stores the generated "display image data DI011" into the image data storage unit 14a.
[0096] Example of Execution of Object State Identification Process The following description is on an example of execution of the object state identification process executed by the identification unit 15c. A conversion process for conversion of coordinates indicating a position into a numerical value indicating a state will hereinafter be described, the conversion process being what a later described abnormality determination process executed by the determination unit 15d is premised on.
[0097] Firstly, the identification unit 15c identifies coordinates of a liquid interface S in image data. Secondly, the identification unit 15c converts the coordinates of the liquid interface S to a volume ratio (%) that is a water level of the liquid interface S. The identification 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 identification unit 15c generates a conversion function that is a table having preset coordinate values and numerical values of the volume ratios (%) in association with each other or a conversion equation for converting coordinate values into a volume ratio (%).
[0098] Specific Example of Display Image Data A specific example of display image data generated by the identification unit 15c will now be described by use of Fig. 11. Fig. 11 is a diagram illustrating the specific example of the display image data according to the embodiment.
[0099] As illustrated by "(1)" in Fig. 11, on the basis of identified coordinates of a liquid interface S, the detection unit 15b generates, for piping P identified by "piping PID001", display image data for display of an image having a blue broken line indicating a position of the liquid interface S, the blue broken line being superimposed on image data.
[0100] Furthermore, as illustrated by "(2)" in Fig. 11, on the basis of a volume ratio (%) that is a water level of the liquid interface S, the water level having been identified, the detection unit 15b generates, for the piping P identified by "piping PID001", display image data for display of an image having a numerical value, "54.28" in green, the numerical value being the volume ratio (%) for the liquid interface S, the numerical value being superimposed on image data.
[0101] 2-2-5-4. Determination Unit 15d The determination unit 15d makes a determination for any abnormality in an object. For example, the determination unit 15d makes a determination for any abnormality in an object, on the basis of a numerical value indicating a state of the object. In this determination, the determination unit 15d may transmit an alarm to a person responsible for the object to notify the person of any abnormality in the object.
[0102] As to determination for any abnormality, for example, in a case where a numerical value indicating a position of a liquid interface S in piping P has exceeded a predetermined value, the determination unit 15d determines that there is abnormality in the piping P. Furthermore, in a case where a numerical value indicating a size of a crack on a solid surface of, for example, a rail R made of metal, the determination unit 15d determines that there is abnormality on the solid surface.
[0103] In a specific example for piping P, the determination unit 15d refers to "interface position data SL001" including coordinates of a position of a liquid interface S and a volume ratio (%) that is a water level of the liquid interface S, determines that there is abnormality in "piping PID001" in a case where the volume ratio (%) that is the water level of the liquid interface S has exceeded a predetermined value, and transmits an alarm to a person responsible for "plant PS001", the alarm notifying the person of the abnormality.
[0104] In a specific example for a rail R, the determination unit 15d refers to "crack position data CL011" including coordinates of a position of a crack C and a length (cm) of a range that is a size of the crack C, and in a case where the length (cm) of the range that is the size of the crack C is larger than a predetermined value, the determination unit 15d determines that there is abnormality in "rail RID011" and notifies a person responsible for "plant PS011" of an alarm to let the person know of the abnormality.
[0105] Example of Execution of Abnormality Determination Process An example of execution of the abnormality determination process executed by the determination unit 15d will now be described. An alarm notification process and a process control process will hereinafter be described after description of the necessity for the abnormality determination process.
[0106] Necessity of Abnormality Determination Process For example, in a case where the volume of liquid contained in a tank at a plant exceeds the upper limit, the liquid may adhere to another device and cause danger. On the contrary, in a case where the volume of liquid contained in a tank becomes less than the lower limit, there is a risk of overheating or heating of the tank that is empty. As described above, on the basis of a result of identification of a liquid interface S using image data, the determination unit 15d is able to make a determination for any abnormality related to liquid in piping P.
[0107] Alarm Notification Process The determination unit 15d executes a determination using a volume ratio (%) that is a water level of a liquid interface S, the volume ratio (%) having been converted by a conversion function generated by the identification unit 15c. In a case where the volume ratio (%) does not exceed a predetermined value, the determination unit 15d permits operation of the plant. On the contrary, in a case where the volume ratio (%) exceeds the predetermined value, the determination unit 15d stops the operation of the plant according to a request by a person responsible for the plant or executes a process for the abnormality, such as recording of the order of the alarm.
[0108] That is, the above described abnormality determination process using the image data enables implementation of an alarm system related to liquid for improving productivity.
[0109] Process Control Process The determination unit 15d is also capable of automatically controlling, by proportional-integral-differential (PID) control, the water level from a result of identification of a state using image data. That is, in the reference techniques, a water level control system detects a water level position using a hardware sensor (such as a differential pressure transmitter) and calculates the amount of operation on a valve by a PID algorithm to implement water level control, but the determination unit 15d is also capable of implementing PID control using a result of identification of a state using image data, without using a hardware sensor.
[0110] That is, the above described abnormality determination process using image data has an advantage that a control function and a monitoring function are able to be integrated into the plant facility.
[0111] 2-3. Example of Configuration of Imaging Device 20 An example of a configuration of the imaging device 20 and an example of processing by the imaging device 20 will now be described by use of Fig. 2. For example, the imaging device 20 is implemented 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. Furthermore, the imaging device 20 stores the image data generated.
[0113] As to the object, for example, the imaging device 20 captures an image of piping P having liquid therein through a sight glass and thereby generates image data. Furthermore, the imaging device 20 captures an image of a solid surface of, for example, a rail R made of metal, and thereby generates image data. The imaging device may generate overall image data including an object other than the piping P or rail R or may generate object image data including only the piping P or rail R as an object.
[0114] As to the type of the image data, for example, the imaging device 20 generates RGB image data as the image data. The imaging device 20 may generate gray scale image data as the image data.
[0115] In a specific example for piping P, the imaging device 20 generates, for piping P in a plant identified by "plant PS001", "overall image data OI001", "overall image data OI002", and "overall image data OI003", that are sets of RGB image data.
[0116] In a specific example for rails R, the imaging device 20 generates, for a rail R in a plant identified by "plant PS011", "overall image data OI011", " overall image data I012", and " overall image data OI013" that are sets of RGB image data.
[0117] 3. Flow of Processing by State Identification System 100 A flow of processing by the state identification system 100 according to the embodiment will now be described by use of Fig. 12. Fig. 12 is a flowchart illustrating a flow of the overall state identification process according to the embodiment. The image acquisition process, the image trimming process, the image conversion process, the average value calculation process, the second-order difference value calculation process, the object state identification process, the identification result display process, and the abnormality determination process will hereinafter be described in this order. The processing at Steps S101 to S109 described below may be executed in a different sequence. Furthermore, any of the processing at Steps S101 to S109 described below may be omitted.
[0118] 3-1. Image Acquisition Process Firstly, the state identification apparatus 10 executes the image acquisition process (Step S101). For example, the state identification apparatus 10 acquires image data on an image having piping P captured therein, from the imaging device 20 and stores the image data. Furthermore, the state identification apparatus 10 acquires image data on an image having a rail R captured therein, from the imaging device 20 and stores the image data.
[0119] 3-2. Image Trimming Process Secondly, the state identification apparatus 10 executes the image trimming process (Step S102). For example, the state identification apparatus 10 cuts out a portion of the image data acquired, the portion including the piping P. Furthermore, the state identification apparatus 10 cuts out a portion of the image data acquired, the portion including the rail R.
[0120] 3-3. Image Conversion Process Thirdly, the state identification apparatus 10 executes the image conversion process (Step S103). For example, the state identification apparatus 10 converts RGB image data corresponding to the cut out portion including only the piping P, into gray scale image data and stores the gray scale image data. Furthermore, the state identification apparatus 10 converts RGB image data corresponding to the cut out portion including only the rail R, into gray scale image data and stores the gray scale image data.
[0121] 3-4. Average Value Calculation Process Fourthly, the state identification apparatus 10 executes the average value calculation process (Step S104). For example, the state identification apparatus 10 calculates average values of brightness in the row direction of the gray scale image data on the piping P and stores the average values. For example, the state identification apparatus 10 calculates average values of brightness in the row direction of the gray scale image data on the rail R and stores the average values.
[0122] 3-5. Smoothing Process Fifthly, the state identification apparatus 10 executes the smoothing process (Step S105). For example, the state identification apparatus 10 performs smoothing, LOWESS, of the average values of brightness in the row direction for the piping P. Furthermore, the state identification apparatus 10 performs smoothing, LOWESS, of the average values of brightness in the row direction for the rail R.
[0123] 3-6. Second-Order Difference Value Calculation Process Sixthly, the state identification apparatus 10 executes the second-order difference value calculation process (Step S106). For example, the state identification apparatus 10 calculates numerical values indicating color differences in the piping P, the numerical values being second-order difference values in the column direction for the smoothed average values of brightness in the row direction for the piping P. Furthermore, the state identification apparatus 10 calculates numerical values indicating color differences in the rail R, the numerical values being second-order difference values in the column direction for the smoothed average values of brightness in the row direction for the rail R.
[0124] 3-7. Object State Identification Process Seventhly, the state identification apparatus 10 executes the object state identification process (Step S107). For example, the state identification apparatus 10 identifies, as a position of a liquid interface S, a row having the largest second-order difference value calculated for the piping P. Furthermore, the state identification apparatus 10 identifies, as a position of a crack C, a row having the largest second-order difference value calculated for the rail R.
[0125] 3-8. Identification Result Display Process Eighthly, the state identification apparatus 10 executes the identification result display process (Step S108). For example, the state identification apparatus 10 displays the identified position of the liquid interface S and the level of the liquid in the piping P on a monitor, the level being calculated from the identified position. Furthermore, the state identification apparatus 10 displays the identified position of the crack C and the size of the crack C in the rail R on a monitor, the size being calculated from the identified position.
[0126] 3-9. Abnormality Determination Process Ninthly, the state identification apparatus 10 executes the abnormality determination process (Step S109). For example, the state identification apparatus 10 determines that there is abnormality in the piping P in a case where the level of the liquid in the piping P is equal to or higher than a predetermined value. Furthermore, in a case where the size of the crack C in the rail R is equal to or larger than a predetermined value, the state identification apparatus 10 determines that there is abnormality in the rail R.
[0127] 4. Effects of Embodiment Effects of the embodiment will now be described lastly. That following description is on first to eighth effects corresponding to the processing according to the embodiment.
[0128] 4-1. First Effect Firstly, in the above described processing according to the embodiment, the state identification apparatus 10 acquires image data on an image having an object captured therein, detects color differences included in image data on the basis of each pixel value in the image data, and identifies a state of the object on the basis of the color differences. Therefore, the processing enables the state of the object to be identified efficiently.
[0129] 4-2. Second Effect Secondly, in the above described processing according to the embodiment, the state identification apparatus 10 acquires image data that are RGB image data, converts the RGB image data into gray scale image data, and detects color differences on the basis of each pixel value in the gray scale image data. Therefore, the processing enables a state of an object to be identified efficiently using brightness in the gray scale image data.
[0130] 4-3. Third Effect Thirdly, in the above described processing according to the embodiment, the state identification apparatus 10 calculates average values of pixel values in one of the row direction or column direction, the pixel values being pixel values of gray scale image data, smooths the average values, calculates second-order difference values in the other one of the row direction or column direction for the average values that have been smoothed, and thereby detects a color difference. Therefore, the processing enables a state of an object to be identified efficiently after removal of noise in the image.
[0131] 4-4. Fourth Effect Fourthly, in the above described processing according to the embodiment, the state identification apparatus 10 acquires image data on an image having piping P captured therein, the piping P having liquid therein, and identifies a position of a liquid interface S in the piping P, the position being a position where the color difference included in the image data is largest. Therefore, the processing enables the position of the liquid interface S in the piping P to be identified efficiently as a state of an object.
[0132] 4-5. Fifth Effect Fifthly, in the above described processing according to the embodiment, the state identification apparatus 10 acquires image data on an image having, captured therein, a solid surface of, for example, a rail R, and identifies a position of a crack C on the solid surface of the rail R, the position being a position where the color difference included in the image data is largest. Therefore, the processing enables the position of the crack C to be identified efficiently as a state of an object, the crack C being on the solid surface of the rail R.
[0133] 4-6. Sixth Effect Sixthly, in the above described processing according to the embodiment, the state identification apparatus 10 determines that there is abnormality in an object, in a case where a numerical value exceeds a predetermined value, the numerical value indicating a state of the object and having been calculated on the basis of a position where the color difference is largest. Therefore, the processing enables the state of the object to be identified efficiently and a quantitative numerical value to be output.
[0134] 4-7. Seventh Effect Seventhly, in the above described processing according to the embodiment, the state identification apparatus 10 identifies the position of the liquid interface S in the piping P and calculates a numerical value indicating the level of the liquid interface S in the piping P. Therefore, the processing enables the state of the object to be identified efficiently, and a quantitative numerical value to be output and used for abnormality determination for the piping P.
[0135] 4-8. Eighth Effect Eighthly, in the above described processing according to the embodiment, the state identification apparatus 10 identifies the position of the crack C on the solid surface of the rail R and calculates a numerical value indicating a size of the crack C on the solid surface of the rail R. Therefore, the processing enables the state of the object to be identified efficiently, and a quantitative numerical value to be output and used for abnormality determination for the rail R.
[0136] System The sequences of the processing and control, specific names, and information including various data and parameters, which have been described above and illustrated in the drawings may be modified in any way unless particularly stated otherwise.
[0137] Furthermore, the components of each apparatus or device in the drawings have been illustrated functionally and / or conceptually, and do not need to be physically configured as illustrated in the drawings. That is, specific modes of separation and integration of each apparatus or device are not limited to those illustrated in the drawings. Therefore, all or a part of each apparatus or device may be configured by functional or physical separation or integration in any units according to various loads and use situations.
[0138] Furthermore, all or any part of the processing functions performed in each apparatus or device may be implemented by a CPU and a program analyzed and executed by the CPU or may be implemented as hardware by wired logic.
[0139] Hardware An example of a hardware configuration of the state identification apparatus 10 that is an information processing apparatus will be described next. The other devices may have a hardware configuration similar to that of the state identification apparatus 10. Fig. 13 is a diagram illustrating the example of the hardware configuration. As illustrated in Fig. 13, the state identification apparatus 10 has a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. These components illustrated in Fig. 13 are connected to one another via a bus, for example.
[0140] The communication device 10a is, for example, a network interface card and performs communication with another server. The HDD 10b stores a DB and a program that causes the functions illustrated in Fig. 2 to operate.
[0141] The processor 10d causes processes to be operated, the processes being for execution of the functions described by reference to Fig. 2, for example, by reading, from the HDD 10b, the program for executing the same processing as the processing units illustrated in Fig. 2 and loading the program into the memory 10c. For example, these processes implement the same functions as the processing units included in the state identification apparatus 10. Specifically, the processor 10d reads the program from the HDD 10b, for example, the program having the same functions as the acquisition unit 15a, the detection unit 15b, the identification unit 15c, and the determination unit 15d. The processor 10d then executes the processes for executing the same processing as the acquisition unit 15a, the detection unit 15b, the identification unit 15c, and the determination unit 15d.
[0142] As described above, by reading and executing the program, the state identification apparatus 10 operates as an apparatus that executes various processing methods. Furthermore, the state identification apparatus 10 may implement the same functions as those according to the above described embodiment by reading the program from a recording medium by means of a medium reading device and executing the program read. The program referred to herein is not limited to being executed by the state identification apparatus 10. For example, the present invention may be similarly applied to a case where another computer or server executes the program, or a case where a computer and a server execute the program in corporation with each other.
[0143] The program may be distributed via a network, such as the Internet. Furthermore, the program may be executed by being recorded in 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 disc (DVD), and being read from the recording medium by a computer.
[0144] 10 State identification apparatus 11 Input unit 12 Output unit 13 Communication unit 14 Storage unit 14a Image data storage unit 14b Calculated data storage unit 15 Control unit 15a Acquisition unit 15b Detection unit 15c Identification unit 15d Determination unit 20 Imaging device 100 State identification system
Claims
1. A state identification apparatus comprising: an acquisition unit that acquires image data on an image having an object captured therein; a detection unit that detects a color difference included in the image data, on the basis of pixel values in the image data; and an identification unit that identifies a state of the object, on the basis of the color difference.
2. The state identification apparatus according to claim 1, wherein the acquisition unit acquires RGB image data as the image data, and the detection unit converts the RGB image data to gray scale image data, and detects, on the basis of pixel values in the gray scale image data, the color difference.
3. The state identification apparatus according to claim 2, wherein the detection unit calculates average values of pixel values in one of a row direction or a column direction and smooths the average values, the pixel values being among the pixel values of the gray scale image data, and detects the color difference by calculating second-order difference values in the other one of the row direction or column direction for the average values that have been smoothed.
4. The state identification apparatus according to claim 1, wherein the acquisition unit acquires the image data on an image having piping captured therein, the piping having liquid therein, and the identification unit identifies a position of a liquid interface in the piping, the position being where the color difference included in the image data is largest.
5. The state identification apparatus according to claim 1, wherein the acquisition unit acquires the image data on an image having a solid surface captured therein, and the identification unit identifies a position of a crack on the solid surface, the position being where the color difference included in the image data is largest.
6. The state identification apparatus according to claim 1, further comprising: a determination that determines that there is abnormality in the object in a case where a numerical value indicating the state of the object has exceeded a predetermined value, the numerical value having been calculated on the basis of the position where the color difference is largest.
7. The state identification apparatus according to claim 6, wherein the identification unit identifies a position of a liquid interface in piping and calculates a numerical value indicating a liquid level of the liquid interface in the piping, and the determination unit determines that there is abnormality in the piping in a case where the numerical value indicating the liquid level has exceeded a predetermined value.
8. The state identification apparatus according to claim 6, wherein the identification unit identifies a position of a crack on a solid surface and calculates a numerical value indicating a size of the crack on the solid surface, and the determination unit determines that there is abnormality on the solid surface in a case where the numerical value indicating the size has exceeded a predetermined value.
9. A state identification method, wherein a computer executes processing comprising: acquiring image data on an image having an object captured therein; detecting a color difference included in the image data, on the basis of pixel values in the image data; and identifying a state of the object, on the basis of the color difference.
10. A state identification program that causes a computer to execute processing comprising: acquiring image data on an image having an object captured therein; detecting a color difference included in the image data, on the basis of pixel values in the image data; and identifying a state of the object, on the basis of the color difference.
Citation Information
Patent Citations
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
