Wave intrusion judgment system, wave intrusion judgment method, and wave intrusion judgment program

The wave intrusion determination system addresses the need for complex initial settings by using trained models to analyze image differences, allowing for immediate operation and cost-effective deployment.

JP7547127B2Active Publication Date: 2024-09-09ARITHMER INC +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020152213
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-10
Publication Date
2024-09-09
Estimated Expiration
2040-09-10

AI Technical Summary

Technical Problem

Existing wave intrusion monitoring systems require complex initial settings for each location, leading to high costs and barriers to their introduction, especially when multiple points need to be monitored along coastlines.

Method used

A wave intrusion determination system that uses a trained model to extract predetermined areas from images, determining wave intrusion by analyzing differences between captured images without requiring initial setup at each location.

Benefits of technology

Enables immediate operation of wave intrusion monitoring systems without complex initial settings, reducing installation costs and facilitating widespread deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547127000012
    Figure 0007547127000012
  • Figure 0007547127000006
    Figure 0007547127000006
  • Figure 0007547127000009
    Figure 0007547127000009
Patent Text Reader

Abstract

To provide a wave entrance determination system which can quickly start an operation after introduction without requiring complicated initial setting.SOLUTION: A wave entrance determination system comprises: an extraction unit which extracts a section region being a preset section using a learned model from a reference image; a decision unit which decides a difference region indicating the change of a wave region from a difference between plural images obtained by imaging a region including the section region with a set time difference; and a determination unit which determines entrance of the wave on the basis of the presence / absence of a common region of the section region and the difference region.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a wave intrusion judgment system, a wave intrusion judgment method, and a wave intrusion judgment program. [Background technology]

[0002] Facilities and equipment installed on land near the coast may require some kind of response when hit by waves during stormy weather. In stormy weather, a watchman may be forced to continuously monitor images from a surveillance camera capturing images of such facilities. To relieve watchmen from such work, a device is known that detects the intrusion of waves by, for example, using a surveillance image to determine the positional state of a predetermined reference line and the contour of a wave (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2006-52974 A Summary of the Invention [Problem to be solved by the invention]

[0004] It is rare that one point is sufficient to monitor the intrusion of waves, and in many cases monitoring at multiple points is required. For example, on roads along the coast where general vehicles run, there may be many points where waves may intrude. In such a situation, when introducing a monitoring device using the conventional technology, initial settings must be configured for each point according to the terrain, which increases costs and creates other high barriers to the introduction of the monitoring device.

[0005] The present invention has been made to solve such problems, and provides a wave intrusion judgment system etc. that can start operation quickly after installation without requiring complicated initial settings. [Means for solving the problem]

[0006] A wave intrusion judgment system in a first aspect of the present invention includes an extraction unit that extracts a zone area, which is a predetermined area, from a reference image using a trained model, a determination unit that determines a difference area that indicates a change in the wave area based on the difference between multiple images captured at a set time difference of an area including the zone area, and a judgment unit that judges wave intrusion based on the presence or absence of a common area between the zone area and the difference area.

[0007] A wave entry determination method in a second aspect of the present invention includes an extraction step of extracting a zone area, which is a predetermined area, from a reference image using a trained model, a determination step of determining a difference area indicating a change in the wave area based on the difference between multiple images captured at a set time difference of an area including the zone area, and a determination step of determining wave entry based on the presence or absence of a common area between the zone area and the difference area.

[0008] A wave intrusion determination program according to a third aspect of the present invention causes a computer to execute the wave intrusion determination method described above. Effect of the Invention

[0009] The present invention can provide a wave intrusion judgment system and the like that can start operation quickly after installation without requiring complicated initial settings. [Brief description of the drawings]

[0010] [Figure 1] 1 is a conceptual diagram showing an overall configuration of a wave intrusion determination system according to an embodiment of the present invention. [Diagram 2] 1 is a schematic diagram of a current image showing the state of an observation target at the present time. [Diagram 3] FIG. 13 is a schematic diagram showing a result of extracting a road area. [Figure 4] FIG. 13 is a schematic diagram showing a result of extracting an excluded region. [Diagram 5] FIG. 13 is a schematic diagram showing a determined comparison region. [Figure 6] 10 is a schematic diagram of a current image showing the state of an observation target at a set past point in time. [Figure 7] FIG. 13 is a schematic diagram showing the results of wave domain difference extraction. [Figure 8] FIG. 1 is a schematic diagram showing the determined overtopping area. [Figure 9] FIG. 11 is a flow chart showing a series of processes for wave intrusion determination. [Figure 10] FIG. 11 is a flowchart showing a series of processes for wave intrusion determination according to the second embodiment. [Figure 11] FIG. 13 is a diagram illustrating image processing according to a third embodiment. [Figure 12] 11A and 11B are diagrams illustrating an estimation process for estimating a correspondence relationship between labeling regions. [Figure 13] 11A and 11B are diagrams illustrating an example of a calculation process for estimating a wave region. [Figure 14] 11A and 11B are diagrams illustrating a process of determining a common area. [Figure 15] FIG. 11 is a flowchart showing a series of processes for wave intrusion determination according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The present invention will be described below through embodiments of the invention, but the invention according to the claims is not limited to the following embodiments. Furthermore, not all of the configurations described in the embodiments are necessarily essential as means for solving the problems.

[0012] FIG. 1 is a conceptual diagram showing the overall configuration of a wave entry judgment system according to this embodiment. The wave entry judgment system judges whether a predetermined area has been hit by a wave. In this embodiment, the wave entry judgment system is realized by a system server 100. The system server 100 has a processing unit 110 which is a processor (configured by a CPU, GPU or a combination of these) that performs control and program execution processing. The processing unit 110 reads out a wave entry judgment program stored in a storage unit 120 and executes various processes related to wave entry judgment.

[0013] When the processing unit 110 executes the process as the image acquisition unit 111, it acquires image data of an image of an observation target from a camera module that captures the observation target via the communication unit 130. When the processing unit 110 executes the process as the extraction unit 112, it extracts a zone area that is a preset zone from a reference image that is an image of reference image data acquired by the image acquisition unit 111. At this time, the extraction unit 112 uses a region extraction NN 121 that is a trained model read from the storage unit 120 for the extraction process.

[0014] When the processing unit 110 executes the process as the determination unit 113, it determines a difference region that indicates a change in the wave region based on the difference between multiple images captured at a set time difference in an area including the above-mentioned zonal area. The image data of each of the multiple images is acquired by the image acquisition unit 111, similar to the reference image data. When the processing unit 110 executes the process as the determination unit 114, it determines whether or not there is a common area between the zonal area extracted by the extraction unit 112 and the difference region determined by the determination unit 113.

[0015] When the processing unit 110 executes the process as the output unit 115, the determination result by the determination unit 114 is output via the communication unit 130. The specific process of each of these functional units will be described in detail later with reference to the drawings.

[0016] The storage unit 120 is a non-volatile storage medium, and is configured, for example, by a large-capacity HDD. The storage unit 120 stores programs for controlling and processing the system server 100, and also accumulates various lookup tables related to wave intrusion detection, image data acquired by the image acquisition unit 111 from the camera module, and the like. In this embodiment, the storage unit 120 stores a region extraction NN 121.

[0017] The communication unit 130 is responsible for connecting to the Internet and sending and receiving data with external devices, and is configured, for example, by a LAN. Note that in this embodiment, a configuration is described in which the system server 100 comprises the main components of the wave intrusion determination system, but the storage unit 120 may be configured, for example, as a network HDD directly connected to the Internet. In such a case, the wave intrusion determination system is constructed by the entirety of the distributed devices.

[0018] Next, several examples will be described on how the wave intrusion determination system according to the present embodiment determines whether or not there is a common area between the zone area and the wave area. In the following description, the zone area that is set in advance is referred to as a "road area". That is, it is assumed that a road along the coast on which general vehicles run is subject to waves coming from the sea in bad weather. A plurality of camera modules are installed along the road so as to overlook points that may be subject to waves. Image data of images periodically captured by each camera module is transmitted to the system server 100 via, for example, the Internet. In the following description, a process performed on image data sent from a camera module installed at a certain point will be described.

[0019] A first embodiment will be described. Fig. 2 is a schematic diagram of an image (current image IMc) of image data acquired at the present time by the image acquisition unit 111, showing the state of an observation target at the present time. The observation target is a road 310 that curves and extends along the seashore. A plurality of vehicles 320 are traveling on the road 310 with their headlights illuminating. Each headlight illuminates the road 310 as shown in the figure (headlight illumination 330).

[0020] On one side of the road 310, across the coast 340, there is the sea filled with seawater 350. In stormy weather, seawater may overflow the coast 340 and reach the road 310. The figure shows a situation in which seawater 350 flows over the coast 340 as waves (overtopping) and reaches part of the road 310.

[0021] 3 is a schematic diagram showing a result of extraction by the extraction unit 112 of a road region R1, which is a region occupied by a road 310 in the current image IMc. In the first embodiment, the current image IMc is used as a reference image, and the road region R1 is extracted as a district region.

[0022] The area extraction NN 121 is composed of two trained models: a road area extraction NN that extracts road areas, and an excluded area extraction NN that extracts an excluded area occupied by a preset excluded target. When the extraction unit 112 inputs a current image IMc to the road area extraction NN, the road area extraction NN outputs a road area R1.

[0023] Specifically, the road area extraction NN has a node in the output layer corresponding to each pixel of the current image IMc, and each node outputs the probability that the corresponding pixel belongs to a road area. The extraction unit 112 collects pixels showing a probability exceeding a threshold, and defines the aggregate area as the road area R1. Note that the road area extraction NN is put to practical use after learning a large amount of teacher data that combines image data of an image containing a road with a correct answer tag that indicates which area in the image is a road area, and adjusting the strength of the connections between neurons (after the learning stage).

[0024] As shown in the figure, the extraction unit 112 smoothly connects the contours of an area that brings together pixels for which the road area extraction NN has output a probability equal to or higher than a threshold, to determine the road area R1. The extraction unit 112 may also determine the current road area R1 by performing averaging processing or the like on the road area R1 extracted by inputting the current image IMc to the road area extraction NN and the road area R1' extracted by inputting a past image acquired from the same camera module to the road area extraction NN.

[0025] 4 is a schematic diagram showing the result of extraction by the extraction unit 112 of the exclusion region R2, which is the region occupied by the exclusion target in the current image IMc. When the extraction unit 112 inputs the current image IMc to the exclusion region extraction NN, the exclusion region extraction NN outputs the exclusion region R2. Specifically, the exclusion region extraction NN has a node corresponding to each pixel of the current image IMc in the output layer, and each node outputs the probability that the corresponding pixel belongs to the exclusion region. The extraction unit 112 collects pixels showing a probability exceeding a threshold, and defines the collection region as the exclusion region R2.

[0026] The excluded objects are objects that appear on the road and may be an obstacle to determining the overtopping area. In this embodiment, vehicles 320, headlight illumination 330, pedestrians, etc. are set as the excluded objects. The excluded area extraction NN used in combination with the road area extraction NN is a trained model trained to extract the areas of the excluded objects set in this way from the input image.

[0027] Specifically, the excluded region extraction NN is put to practical use after learning a large amount of teacher data that combines image data of an image containing a set excluded object with a correct answer tag that indicates which area in the image is the excluded region, and adjusting the strength of the connections between neurons (after the learning stage). The extraction unit 112 can smoothly connect the contours of an area where the excluded region extraction NN gathers pixels that have output a probability equal to or greater than a threshold, and determine the area as the excluded region R2. In this case, as shown in the figure, the area surrounded by the excluded region (in the example shown in the figure, the area surrounded by the vehicle 320 and the headlight illumination 330) may also be determined as the excluded region.

[0028] 5 is a schematic diagram showing the confirmed comparison area R3. The comparison area R3 is a region to be determined by the determination unit 114 after excluding the exclusion area R2 from the road area R1. That is, after the extraction unit 112 determines the road area R1 using the road area extraction NN and also determines the exclusion area R2 using the exclusion area extraction NN, the determination unit 114 determines the comparison area R3 by excluding the exclusion area R2 from the road area R1.

[0029] FIG. 6 is a schematic diagram of an image (comparison image IMp) of image data acquired by the image acquisition unit 111 at a certain time in the past, showing the state of the observation target at that time. Specifically, the comparison image IMp is an image captured at a time a preset elapsed time Td before the time when the current image IMc was captured, for example, an image captured 3 seconds ago. As shown in the figure, at this time, the seawater 350 has not crossed the coast 340. Note that the elapsed time Td should be set relatively short (for example, Td = 1 second to 5 seconds) when it is desired to continuously observe how the waves approaching the road 310 change, and relatively long (for example, Td = 5 seconds to 60 seconds) when it is desired to capture a large change and reliably observe the approach of the waves. It is also possible to observe the period of the waves at that time and set it to synchronize with that period. By comparing an image when the waves recede with an image when they wash up, it is possible to capture the change in a large scale.

[0030] FIG. 7 is a schematic diagram showing the result of the determination unit 113 comparing the current image IMc and the comparison image IMp to determine the difference region R4 indicating the change in the wave region. Specifically, the determination unit 113 performs binarization processing on the current image IMc and the comparison image IMp using a preset brightness value as a threshold. Since the wave region is a relatively bright white color, it becomes a white region after the binarization processing. Then, subtraction is performed for each corresponding pixel, and the pixel whose value is 1, that is, the pixel that has newly changed to white, is set as an element of the difference region R4. The determination unit 113 passes the determined difference region R4 to the judgment unit 114. The determination unit 113 can determine the difference region R4 by smoothly connecting the contours of the region where the pixels that output the difference value = 1 are gathered together.

[0031] Furthermore, since the change in the waves is discrete, pixels with a difference value of 1 may appear in a patchy pattern. In such a case, if the number of pixels with a difference value of 1 occupying a unit area (e.g., an area of ​​3 pixels x 3 pixels) is equal to or greater than a threshold value (e.g., more than half), the entire unit area may be included in the difference area R4. In other words, the difference area R4 may be defined so as to include an area in which pixels with a difference value of 1 occur at a predetermined density. Furthermore, the difference area R4 may be defined by performing a process to fill in the patchy area using morphological transformation. By treating the difference area R4 as a whole in this way, the difference area can be detected without being affected by noise that may occur in the image, shadows of white waves, etc.

[0032] It should be noted that, instead of relying on such image processing based on the difference in pixel values, a trained model may be used that outputs the wave difference region when the current image IMc and the comparison image IMp are input. If a trained model is used, an image containing waves can be trained as a teacher image, so that the wave difference region can be extracted more reliably.

[0033] FIG. 8 is a schematic diagram showing the determined overtopping region R5. When the comparison region R3 and the difference region R4 are determined, the determination unit 114 determines whether or not there is a common region between them, and if there is a common region, determines that region as the overtopping region R5. When the determination unit 114 determines that there is a common region, it determines whether or not the width of the common region exceeds a preset threshold. Specifically, for example, it determines how much of the overtopping region R5 is included in a unit region set corresponding to the width and depth of the road region R1 extracted by the road region extraction NN. That is, for an area of ​​the image that is far from the camera module in the actual environment, the unit region is set small, and for an area that is close to the camera module, the unit region is set large. Then, if any of the unit regions includes the overtopping region R5 at a predetermined rate (for example, 10%) or more, it outputs that fact as a determination result.

[0034] The determination unit 114 passes the determination result to the output unit 115. The output unit 115 outputs the determination result to a preset device (for example, a terminal of a management organization that monitors the road) via the communication unit. A user of the wave intrusion determination system (system server 100) can know, via the terminal he or she uses, whether or not the target road has been hit by a wave arriving from the sea.

[0035] Next, the flow of the wave intrusion determination process by the system server 100 will be described. Fig. 9 is a flow diagram showing a series of processes for wave intrusion determination. The system server 100 can also perform parallel processing on image data sent from multiple camera modules, but the following flow describes the processing performed on image data sent from a camera module installed at one location.

[0036] In step S101, the image acquisition unit 111 acquires image data from the camera module, and passes it to the extraction unit 112 and the determination unit 113. In addition, a copy of the image data acquired here is stored in the storage unit 120 so that the image can be used later as a comparison image IMp.

[0037] In step S102, the extraction unit 112 extracts a road region R1 from the image of the acquired image data using the road region extraction NN of the region extraction NN 121 read out from the storage unit 120. Then, in step S103, the extraction unit 112 extracts an exclusion region R2 from the image of the acquired image data using the exclusion region extraction NN.

[0038] In step S104, the extraction unit 112 judges whether the size of the exclusion area R2 is within a threshold value. If the exclusion area R2 is larger than the threshold value, there is a high possibility that the overtopping area R5 cannot be correctly determined. In this case, the extraction unit 112 gives up on determining the overtopping area R5 using the image data acquired in step S101, and returns to step S101 to acquire image data again. If the size is within the threshold value, the process proceeds to step S105.

[0039] When the determination unit 114 proceeds to step S105, the process excludes the exclusion region R2 from the road region R1 to determine the comparison region R3. Note that the process of extracting the road region R1 and the process of extracting the exclusion region R2 may be performed in the reverse order.

[0040] In step S106, the determination unit 113 reads out from the storage unit 120 image data of a comparison image IMp captured at a point in time prior to the elapsed time Td. After reading the image data of the comparison image IMp, the determination unit 113 proceeds to step S107, where the image of the image data acquired in step S101 is treated as a current image IMc, and a difference in the wave region is detected. The determination unit 113 determines the detected difference as a differential region R4, and passes this information to the judgment unit 114. Note that the process of determining the comparison region R3 and the process of detecting the differential region R4 may be performed in the opposite order.

[0041] In step S108, the determination unit 114 determines whether or not a common area exists between the comparison area R3 and the difference area R4, and if a common area exists, defines that area as the overtopping area R5. Then, in step S109, the size of the overtopping area R5 is calculated and it is determined whether or not the size is within a threshold value. If the size is within the threshold value or if the overtopping area R5 was not found in step S108, the process returns to step S101. If the size of the overtopping area R5 is larger than the threshold value, the process proceeds to step S110.

[0042] When the process proceeds to step S110, the output unit 115 receives the determination result from the determination unit 114 and outputs the determination result to a preset device. Then, in step S111, the processing unit 110 checks whether or not an instruction to end the wave intrusion determination has been received, and if not, the process returns to step S101, and if received, the process ends. Note that if the answer is YES in step S109, the output unit 115 may output a message indicating that no overtopping area was detected, and the process may proceed to step S111.

[0043] Next, a second embodiment will be described. In the first embodiment, the road area R1, which is a zone area, is extracted from the current image IMc, but in the second embodiment, the road area R1 is extracted when the camera module is installed, when specified by the user, or when updated at regular intervals. Fig. 10 is a flow diagram showing a series of processes for wave intrusion determination according to the second embodiment, and Fig. 10(a) shows the process flow for the extraction unit 112 to extract the road area R1.

[0044] The flow of FIG. 10(a) is executed when the camera module is installed, when specified by the user, or when updating at regular intervals, as described above. In step S201, the image acquisition unit 111 acquires image data from the camera module and transfers it to the extraction unit 112 as reference image data. In step S202, the extraction unit 112 extracts a road area R1 from the reference image of the acquired reference image data using the road area extraction NN of the area extraction NN 121 read from the storage unit 120. Then, the information of the road area R1 is digitized and stored in the storage unit 120, and a series of processes is terminated. Note that a plurality of reference image data may be acquired, road areas may be extracted for each, and the area obtained by performing a union or averaging process may be used as the road area R1. By obtaining the road area from a plurality of reference image data, the extraction unit 112 can accurately extract the road area R1 even when there is reference data in which a part of the road area is hidden due to the presence of a passing car. 10(a) to obtain multiple reference image data, the user may determine whether to repeat or end the process by checking the image, or the extraction unit 112 may determine the same according to preset reference conditions. The extraction unit 112 may first check the presence or absence of an excluded region R2 in the obtained image using an excluded region extraction NN, and may extract the road region R1 after determining an image without the excluded region R2 as the reference image.

[0045] Once the camera module is installed, the road area R1 in the image captured by the camera module does not change in position or shape in the image, so it can be extracted prior to the process of detecting overtopping. If the road area R1 is extracted prior to the process of detecting overtopping in this way, the process of detecting overtopping can be performed more easily than the process flow explained using Figure 9. Figure 10(b) shows the process flow of the process of detecting overtopping when the road area R1 has been extracted in advance. Processes that are almost the same as those in Figure 9 are given the same reference numbers as those in Figure 9.

[0046] Compared with the process flow of FIG. 9, the process flow of FIG. 10(b) is almost the same except that step S102 for determining the road area R1 is omitted and the process of step S105 for determining the comparison area R3 is slightly different. In step S105' of FIG. 10(b), the determination unit 114 reads out information on the road area R1 from the storage unit 120, and excludes the excluded area R2 extracted in step S103 from the read road area R1 to determine the comparison area R3. By processing in this way, it is not necessary to determine the road area R1 every time overtopping is detected, so that the detection process can be performed faster. In addition, since the current image IMc is not used as the reference image, it does not matter if there is an object in the current image IMc that may interfere with the determination of the road area R1. In addition, if the road area R1 is determined during the daytime when the surroundings are bright, the road area R1 with high accuracy can be used even when the overtopping detection process is performed during the nighttime. Furthermore, by limiting the time period during which the process of determining the road area R1 is performed to a specific time period, such as the daytime, it becomes possible to train the road area extraction NN with a small amount of data.

[0047] Next, a third embodiment will be described. In the first and second embodiments, the difference region showing the change in the wave region is estimated from the difference between two images by removing the exclusion region using the exclusion region extraction NN. However, in a dark environment such as at night, the contrast of the captured image is low, and the need to consider the influence of vehicle headlights and the like increases, so it may be difficult to extract the exclusion region or the difference region showing the change in the wave only by the method of estimating the contour from the image difference described above. Therefore, an embodiment that is effective even in a dark environment will be described. In the third embodiment, a first difference that is the difference between the first image and the second image, and a second difference that is the difference between the second image and the third image are calculated, and a wave region in which waves exist is determined based on the change from the first difference to the second difference.

[0048] Fig. 11 is a diagram for explaining image processing according to the third embodiment. Fig. 11(a) shows an example of captured images, which, from the top, show a first image Im1 captured at time T=t1, a second image Im2 captured at time T=t2, and a third image Im3 captured at time T=t3. As time passes from t1 to t3, it can be seen that waves are crashing onto the road.

[0049] FIG. 11(b) shows an example of the calculated difference frame, and from the top, it shows a first difference frame DF1 representing the difference between the first image and the second image, and a second difference frame DF2 representing the difference between the second image and the third image. The difference frame is generated, for example, by converting each of the two target acquired images to grayscale, performing preprocessing such as denoising and histogram flattening, and then calculating a difference value for each corresponding pixel. In this embodiment, since it is desired to recognize the change in the traveling direction of the wave region, the difference value is calculated only when the pixel value of the earlier acquired image is subtracted from the pixel value of the later acquired image to be positive (i.e., when the pixel value changes from dark to light), and the pixel values ​​of the other pixels are set to 0.

[0050] FIG. 11(c) shows an example of a labeling frame obtained by performing a labeling process on a difference frame, and from the top, shows a first labeling frame LF1 corresponding to the first difference frame DF1, and a second labeling frame LF2 corresponding to the second difference frame DF2. The labeling frame is generated by binarizing the difference frame using a preset threshold value, and setting a rectangle circumscribing a white (=1) aggregate area as a labeling area. The labeling area is a block that combines such aggregate areas to treat them as one aggregate. When there are multiple aggregates of white pixels in the labeling frame, a labeling area is defined for each aggregate. In the example shown, one labeling area is defined corresponding to each wave change area.

[0051] FIG. 12 is a diagram for explaining an estimation process for estimating the correspondence between labeling regions. Specifically, an example of a first labeling frame LF1 and a second labeling frame LF2 that are generated consecutively is shown. The first labeling frame LF1 includes three labeling regions L1 to L3, and the second labeling frame LF2 similarly includes three labeling regions L4 to L6. In the example of FIG. 11, the labeling regions generated from the change in the wave region are described with attention focused on, but since the actual acquired image may include a vehicle 320, etc., as described with reference to FIG. 2, labeling regions corresponding to these are also generated. That is, it is necessary to estimate which of the three labeling regions L1 to L3 included in the first labeling frame LF1 represents a wave region, and which of the three labeling regions L4 to L6 included in the second labeling frame LF2 represents a wave region.

[0052] When the first labeling frame LF1 and the second labeling frame LF2 as shown in the figure are generated, the determination unit 113 estimates the correspondence relationship of the labeling areas. Specifically, the determination unit 113 estimates whether each of the labeling areas L1, L2, and L3 of the first labeling frame LF1 has transitioned to one of the labeling areas L4, L5, and L6 of the second labeling frame LF2 by evaluating the validity of each combination. If the validity of the transition from L1 to L4 is higher than the validity of the transition from L1 to L5 and the validity of the transition from L1 to L6, the determination unit 113 estimates that L1 and L4 correspond to each other. For example, the determination unit 113 estimates the correspondence relationship of the labeling areas based on the movement direction of the blocks. Here, the determination unit 113 estimates the labeling area corresponding to the wave area by utilizing the positional relationship with the road area R1. Hereinafter, a specific description will be given with reference to FIG. 13.

[0053] 13A shows a state in which a road curve RC is determined for a road region R1 extracted by the extraction unit 112. The determination unit 113 determines the road curve RC by smoothly connecting midpoints in the width direction of the road region R1.

[0054] FIG. 13(b) shows the movement vector V L The movement vector V L is a vector from the center of the labeling area L to the center of the labeling area L'.

[0055] Figure 13(c) shows the road curve RC and the movement vector V L 1 is a diagram showing the concept of a calculation process for determining the movement direction from the relationship between the movement vector V and the labeling areas L and L′, and estimating whether the labeling areas L and L′ are labeling areas that represent a change in the wave area. L Then, the tangent to the road curve RC at the intersection point X is calculated, and the tangent and the movement vector V L Calculate the intersection angle.

[0056] 13(a), it is assumed that the waves approach from a direction approximately perpendicular to the extension direction of the road region R1. Therefore, the determination unit 113 estimates that the labeling regions L and L' are labeling regions that represent a change in the wave region when the calculated intersection angle is, for example, 90 degrees ± 30 degrees (estimate 1).

[0057] The determination unit 113 may also estimate the correspondence relationship between the labeling regions by referring to their moving distances. For example, since the wave labeling region is assumed to move at a slow speed, the determination unit 113 may estimate the correspondence relationship between the labeling regions by referring to the moving vector V L If the length (movement distance) of each labeling region is less than a threshold, the labeling region is estimated to be a labeling region that represents a change in the wave region (Estimation 2).

[0058] Furthermore, the determining unit 113 may estimate the correspondence relationship between the labeling regions by referring to their sizes. For example, since it is assumed that the size of the wave labeling region does not change abruptly, the determining unit 113 estimates that the labeling region is a labeling region that represents a change in the wave region when the change in size of the labeling region falls within a predetermined ratio (estimation 3).

[0059] Furthermore, the determination unit 113 may estimate the correspondence relationship of the labeling regions in consideration of the feature amount of the blocks. In general, it is assumed that the feature amount of the labeling regions does not change significantly. Therefore, when the change in the feature amount in the labeling regions is small, the determination unit 113 estimates that the labeling regions are labeling regions that represent changes in the wave region (Estimation 4). The feature amount is, for example, the amount of change in texture obtained by calculating the luminance average, luminance variance, CNN (Convolution Neural Network) feature amount, etc. from the pixel data (color information) of the labeling regions. The CNN feature amount is calculated, for example, using a model that has been trained in advance with ImageNet.

[0060] The determination of whether or not there is a change in the wave domain may be made based on one of the estimation results from the above-mentioned estimations 1 to 4, or based on a combination of estimation results. By making an evaluation based on a plurality of combinations, the accuracy of the determination is improved, particularly at night. Through such evaluation calculation, the determination unit 113 determines which labeling region represents a change in the wave region.

[0061] FIG. 14 is a diagram for explaining the process of determining the common region. FIG. 14(a) shows the second labeling frame LF2 including the labeling region L4 determined as the labeling region representing the change in the wave region as a result of the above-mentioned evaluation calculation. The determination unit 113 extracts the aggregation region D4 (the difference region indicating the change in the wave region) from which the labeling region L4 was generated, from the second difference frame DF2. FIG. 14(b) shows the second difference frame DF2 from which the second labeling frame LF2 was generated. The aggregation region D4 is a region defined by a contour that smoothly surrounds an aggregation of pixels having pixel values ​​equal to or greater than a threshold in the second difference frame DF2.

[0062] FIG. 14(c) shows the road area R1 extracted by the extraction unit 112. The determination unit 114 determines whether there is a common area between the collection area D4 shown in FIG. 14(b) and the road area R1 shown in FIG. 14(c). FIG. 14(d) shows the determination result, specifically showing the overtopping area R5 which is a common area. In other words, it shows the area where seawater has overtopped the road. When the determination unit 114 passes the determination result to the output unit 115, the output unit 115 outputs the determination result to a preset device via the communication unit. A user of the wave intrusion determination system (system server 100) can know whether the target road has been hit by waves coming from the sea through the terminal he or she uses.

[0063] FIG. 15 is a flow diagram showing a series of processes for wave intrusion determination according to the third embodiment. FIG. 15(a) shows a process flow for the extraction unit 112 to extract the road area R1, which is substantially the same as the process flow of FIG. 10(a). That is, the flow of FIG. 15(a) is executed when the camera module is installed, when specified by the user, or when updated at regular intervals, and the extraction unit 112 uses the road area extraction NN to extract the road area R1 from the reference image of the acquired reference image data. Then, the information of the road area R1 is digitized and stored in the storage unit 120. Note that by determining the road area R1 during the daytime when the surroundings are bright, the road area R1 with high accuracy can be used in the overtopping wave detection process during the nighttime. Furthermore, by limiting the time period during which the determination process of the road area R1 is performed to a specific time period, such as the daytime, the road area extraction NN can be trained with a small amount of data.

[0064] FIG. 15(b) shows a process flow of overtopping wave detection processing. This process flow is executed at preset times, at a timing instructed by a user, during stormy weather, etc. In step S301, the image acquisition unit 111 sequentially acquires the first image data, the second image data, and the third image data from the camera module, and passes them to the determination unit 113. In step S302, as described using FIG. 11, the determination unit 113 generates a first difference frame DF1 by calculating the difference between the first image of the first image data and the second image of the second image data. Similarly, it generates a second difference frame DF2 by calculating the difference between the second image of the second image data and the third image of the third image data.

[0065] In step S303, the determination unit 113 generates a first labeling frame LF1 from the first difference frame DF1, as described with reference to FIG. 11. Similarly, the determination unit 113 generates a second labeling frame LF2 from the second difference frame DF2. Next, in step S304, the determination unit 113 estimates how each of the labeling regions appearing in the first labeling frame LF1 and each of the labeling regions appearing in the second labeling frame LF2 correspond to each other, as described with reference to FIG. 12. Among them, the determination unit 113 classifies the labeling regions into those estimated to represent a change in the wave region (L4 in the example of FIG. 14(a)) and those estimated to represent the other excluded regions (L5, L6 in the example of FIG. 14(a)). For the labeling regions estimated to represent a change in the wave region, the determination unit 113 refers to the second difference frame DF2, determines a collection region as described with reference to FIG. 14, and determines the collection region as a difference region indicating a change in the wave region. In addition, the labeling region estimated to represent the excluded region is determined as the excluded region by referring to the second difference frame DF2. Note that the excluded region may appear in the same position as the wave region, but it is not considered to be a difference region indicating a change in the wave region.

[0066] When the determination unit 114 receives information on the difference area and the exclusion area indicating the change in the wave area from the determination unit 113, it performs a determination of the overtopping area in step S305. Specifically, it reads out information on the road area R1 extracted by the extraction unit 112 from the storage unit 120 and determines whether or not there is a common area between the road area R1 and the difference area. If there is a common area, it determines that the area is the overtopping area. Then, in step S306, it calculates the size of the overtopping area and determines whether or not the size is within a threshold value. If the size is within the threshold value or if no overtopping area was found in step S305, it returns to step S301. If the size of the overtopping area is greater than the threshold value, it proceeds to step S307.

[0067] When the process proceeds to step S307, the output unit 115 receives the determination result from the determination unit 114 and outputs the determination result to a preset device. Then, the processing unit 110 checks in step S308 whether or not an instruction to end the wave intrusion determination has been received, and if not, the process returns to step S301, and if so, the process ends. Note that if the answer is YES in step S306, the output unit 115 may output a message indicating that no overtopping area was detected, and the process may proceed to step S308.

[0068] In the third embodiment described above, the first difference frame DF1 is generated from the first image and the second image, and the second difference frame DF2 is generated from the second image and the third image. That is, two difference frames are generated from three images. However, the first difference frame DF1 may be generated from the first image and the second image, and the second difference frame DF2 may be generated from the third image and the fourth image, without using the second image in common. In other words, the third embodiment described above uses the same image for the second image for generating the first difference frame DF1 and the first image for generating the second difference frame DF2.

[0069] Next, a fourth embodiment will be described. The wave intrusion judgment system according to this embodiment may use each of the above-mentioned embodiments alone or in combination. For example, the wave intrusion judgment system according to the fourth embodiment further includes a switching unit for switching between the first condition and the second condition, and executes the process of the second embodiment when the first condition is met, and executes the process of the third embodiment when the second condition is met. That is, under the first condition, the wave intrusion judgment system extracts an exclusion area occupied by a preset exclusion target from at least one of the multiple images, and judges the presence or absence of wave intrusion based on an area obtained by excluding the exclusion area from the zone area and a difference area indicating a change in the wave area. Also, under the second condition, the wave intrusion judgment system calculates a first difference, which is the difference between the first image and the second image, and a second difference, which is the difference between the third image and the fourth image, among the multiple images, and determines a difference area indicating a change in the wave area based on the change from the first difference to the second difference, and judges the presence or absence of wave intrusion based on the zone area and the difference area indicating the change in the wave area.

[0070] With this configuration, for example, during daytime hours when the surroundings are bright, wave intrusion determination can be performed using the flow according to the second embodiment, and during nighttime hours when the surroundings are dark, wave intrusion determination can be performed by switching to the flow according to the third embodiment. Switching between the second and third embodiments can be performed, for example, based on data of sunrise and sunset times acquired in advance. Here, the switching time does not necessarily have to be set to the sunrise or sunset time. For example, the switching time can be set 30 minutes before sunset, and the flow according to the second embodiment can be switched to the third embodiment early during the time period when the determination accuracy is high.

[0071] As another processing method for switching, a model that has been previously trained on images during the daytime and images during the nighttime can be used to determine whether it is day or night from the images acquired by the image acquisition unit 111. Specifically, the processing unit 110 switches from the third embodiment to the second embodiment when a predetermined number of acquired images determined to be during the daytime are consecutive, and switches from the second embodiment to the third embodiment when a predetermined number of acquired images determined to be during the nighttime are consecutive. For example, by selecting "10" as the predetermined number, it is possible to prevent situations in which switching occurs frequently. In addition, by using a trained model, flexible switching is possible even in situations where it is daytime but dark like night.

[0072] Although the wave intrusion determination system according to the present embodiment has been described above, the embodiments that can be adopted are not limited to the above. For example, in the above embodiment, the exclusion area R2 is excluded from the road area R1 to exclude vehicles that are moving, but the overtopping area R5 can be evaluated with a certain degree of accuracy without considering the exclusion area R2. In addition, in the above embodiment, if the size of the overtopping area R5 is within a threshold value, the determination result is not output, but it is also possible to output whether or not the overtopping area R5 exists, and, if the overtopping area R5 exists, its size. Alternatively, it is also possible to output only the existence or absence of the overtopping area R5 as the determination result without determining the size of the overtopping area R5. In this case, it is preferable to also output image data of the current image IMc.

[0073] In the above embodiment, the case where a road along the coast is covered with seawater has been described, but the application example of the wave intrusion judgment system is not limited to this case. Railroad tracks laid along the coast or lake shore may be monitored, or buildings built in such places may be monitored. In that case, a trained model for extracting the target railroad tracks or buildings may be used instead of the road area extraction NN, and an excluded area extraction NN that has learned the excluded targets set according to each monitored target may be used. The wave intrusion judgment system according to this embodiment does not require complicated initial settings, and can be quickly started after introduction. [Explanation of symbols]

[0074] 100 system server, 110 processing unit, 111 image acquisition unit, 112 extraction unit, 113 decision unit, 114 judgment unit, 115 output unit, 120 memory unit, 121 region extraction NN, 130 communication unit, 310 road, 320 vehicle, 330 headlight irradiation, 340 coast, 350 seawater

Claims

1. An extraction unit that extracts a region that is a predetermined region from a reference image using a trained model; A determination unit that determines a difference region that indicates a change in a wave region based on a difference between a plurality of images captured at a set time difference in an area including the zone region; a determination unit that determines whether a wave has entered the area based on the presence or absence of a common area between the regional area and the differential area; Equipped with The determination unit calculates a first difference that is a difference between a first image and a second image and a second difference that is a difference between a third image and a fourth image among the multiple images, and determines the difference area based on a change from the first difference to the second difference.

2. The extraction unit extracts an exclusion area occupied by a preset exclusion target from at least one of the plurality of images, The wave intrusion determination system according to claim 1 , wherein the determination unit determines the common area by excluding the exclusion area from the zone area.

3. The wave intrusion judgment system according to claim 1 or 2, wherein the determination unit determines the wave region so as to include a region in which a difference occurs at a predetermined density.

4. The wave intrusion judgment system according to claim 1 , wherein, when the common area exists, the judgment unit judges the size of the common area.

5. 2. The wave intrusion judgment system according to claim 1, wherein the determination unit determines the difference area by grouping together collection areas of differences appearing in the first difference and the second difference into one or more blocks and estimating a correspondence relationship between the blocks of the first difference and the blocks of the second difference.

6. The wave intrusion determination system according to claim 5 , wherein the determination unit estimates the correspondence relationship based on at least one of a moving direction, a moving distance, a size, and a feature amount of the block.

7. An extraction unit that extracts a region that is a predetermined region from a reference image using a trained model; A determination unit that determines a difference region that indicates a change in a wave region based on a difference between a plurality of images captured at a set time difference in an area including the zone region; a determination unit that determines whether a wave has entered the area based on the presence or absence of a common area between the regional area and the differential area; a switching unit that switches between the first condition and the second condition; Equipped with Under the first condition, an exclusion area occupied by a preset exclusion target is extracted from at least one of the plurality of images, and the common area is determined by excluding the exclusion area from the zone area; The wave intrusion determination system calculates, under the second condition, a first difference which is a difference between a first image and a second image and a second difference which is a difference between a third image and a fourth image among the multiple images, determines the difference area based on a change from the first difference to the second difference, and determines the common area based on the zone area and the difference area.

8. An extraction step of extracting an area region, which is a predetermined area, from a reference image using a trained model; A determination step of determining a difference region indicating a change in a wave region based on a difference between a plurality of images captured at a set time difference in an area including the zone region; a determination step of determining whether a wave has entered based on the presence or absence of a common area between the zone area and the difference area; Equipped with The determination step is a wave entry determination method in which a first difference which is a difference between a first image and a second image and a second difference which is a difference between a third image and a fourth image are calculated from the plurality of images, and the difference area is determined based on a change from the first difference to the second difference.

9. An extraction step of extracting an area region, which is a predetermined area, from a reference image using a trained model; A determination step of determining a difference region indicating a change in a wave region based on a difference between a plurality of images captured at a set time difference in an area including the zone region; A determination step of determining whether a wave has entered based on the presence or absence of a common area between the zone area and the difference area; a switching step of switching to the first condition or the second condition; Equipped with Under the first condition, an exclusion area occupied by a preset exclusion target is extracted from at least one of the plurality of images, and the common area is determined by excluding the exclusion area from the zone area; The wave intrusion determination method, under the second condition, calculates a first difference which is the difference between a first image and a second image, and a second difference which is the difference between a third image and a fourth image, among the multiple images, determines the difference area based on the change from the first difference to the second difference, and determines the common area based on the area and the difference area.

10. A wave intrusion determination program that causes a computer to execute the wave intrusion determination method according to claim 8 or 9.

Citation Information

Patent Citations

  • Traffic trouble monitor

    JP1993028388A

  • Object Tracking in Video Sequences

    JP1995508633A

  • Overtopping wave detecting apparatus

    JP2006052974A

  • Monitoring device

    JP2018107578A

  • Monitoring system, monitoring device, and monitoring method

    JP2018130793A