Video monitoring device and video monitoring method
The video monitoring device and method address the limitation of conventional technologies by extracting color information and calculating specific color differences to detect a broader range of abnormalities, improving the monitoring of video displays and ensuring driver safety.
Patent Information
- Application Number
- PCT/JP2024/005410
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-22
- Filing Date
- 2024-02-16
- Publication Date
- 2024-09-26
AI Technical Summary
Conventional video monitoring technologies can only detect simple image abnormalities like black fixation, failing to address issues caused by various colors that obstruct a driver's view due to ambient light, limiting the types of abnormalities that can be monitored in video displays.
A video monitoring device and method that extracts color information for each pixel, calculates specific color differences, and generates an abnormality signal when the frequency of pixels in certain difference intervals exceeds a threshold, enabling detection of abnormalities beyond brightness-based issues.
This approach allows for the detection of a wider range of video abnormalities, including those caused by abnormal colors, thereby enhancing the monitoring of video displays and ensuring functional safety in in-vehicle systems by increasing the types of abnormalities that can be identified.
Smart Images

Figure JP2024005410_26092024_PF_FP
Abstract
Description
Video monitoring device and video monitoring method
[0001] The present disclosure relates to a video monitoring device and a video monitoring method.
[0002] Patent Literature 1 discloses a technology that uses a memory for storing a reference image, compares a surveillance camera image with the reference image to calculate a brightness difference for each pixel, extracts and counts pixels whose brightness difference is equal to or greater than a first threshold as changed pixels, and detects sudden changes in the image to determine various acts of interference with the surveillance camera based on the presence or absence of both. Patent Literature 2 discloses a technology that continuously acquires images continuously acquired from an external source or images continuously generated based on the above images as inspection images, calculates a sum total, which is the sum of pixel values of all pixels in the acquired inspection images, and calculates a difference between the sum totals calculated by a sum total calculation unit from both the previous and current acquired inspection images, thereby determining whether the image is frozen based on the difference detected for a predetermined number of consecutive times. Patent Literature 3 discloses a technology that associates multiple color identifiers with specific objects and stores them, and determines which color identifiers are abnormal based on the brightness of target parts present in a detection area based on the association between the color identifiers and brightness ranges, assigns color identifiers to target parts according to the brightness of the target parts, and groups them.
[0003] JP 2008-077517 A JP 2009-278340 A JP 2012-238244 A
[0004] The conventional techniques described in Patent Documents 1, 2, and 3 can calculate the sum of pixel values based on luminance information for a specific region and detect image anomalies, but because they extract only luminance information, they can only extract the sum and feature values of brightness and darkness in the image. As a result, there is a problem in that they can only detect simple image anomalies such as fixed black.
[0005] The present disclosure provides a video monitoring device and a video monitoring method that can avoid video abnormalities caused by various colors, such as abnormal colors caused by ambient light that block the driver's view.
[0006] A video monitoring device according to one aspect of the present disclosure is a video monitoring device that monitors video data received from a video display device that receives a video signal from a camera and displays the video, and is equipped with: a video extractor that extracts color information for each pixel that constitutes an image represented by the received video data; a specific color difference calculator that calculates, for each pixel, difference information between the color represented by the extracted color information and a predetermined specific color; a histogram calculator that classifies the difference information calculated for each pixel to calculate a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency; and an abnormality detector that generates and outputs a signal indicating that the video data is abnormal if the frequency of pixels belonging to the predetermined difference interval in the calculated histogram is equal to or greater than a first threshold value.
[0007] A video monitoring method according to one aspect of the present disclosure is a video monitoring method for monitoring video data received from a video display device that receives and displays a video signal from a camera, and includes: a video extraction step for extracting color information for each pixel that constitutes an image represented by the received video data from the video data; a specific color difference calculation step for calculating, for each pixel, difference information between the color represented by the extracted color information and a predetermined specific color; a histogram calculation step for classifying the difference information calculated for each pixel to calculate a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency; and an abnormality detection step for generating and outputting a signal indicating that the video data is abnormal if the frequency of pixels belonging to the predetermined difference interval in the calculated histogram is equal to or greater than a first threshold value.
[0008] A video monitoring device and a video monitoring method according to one aspect of the present disclosure can avoid image abnormalities caused by various colors, such as abnormal colors caused by ambient light that obstruct the driver's view, thereby increasing the types of abnormalities that can be monitored in the video display.
[0009] 1 is a block diagram showing the configuration of a video monitoring device in a reference example. FIG. 2 is a flowchart showing a video monitoring method of the video monitoring device in a reference example. FIG. 3 is a conceptual diagram of an example of a histogram calculation method in a reference example. FIG. 4 is a conceptual diagram showing an example of an abnormality detection method in a reference example. FIG. 5 is a conceptual diagram showing an image abnormality of a head-up display in a reference example. FIG. 6 is a block diagram showing the configuration of a video monitoring device in an embodiment. FIG. 7 is a flowchart showing a video monitoring method of the video monitoring device in an embodiment. FIG. 8 is a conceptual diagram of a histogram calculation method in an embodiment. FIG. 9 is a conceptual diagram showing a video monitoring method in an embodiment.
[0010] In recent years, functional safety compliance for image processing has become essential for in-vehicle head-up displays. Accordingly, a mechanism for determining whether a video signal is abnormal is required. However, conventional technology can detect image abnormalities by calculating the sum of pixel values based on luminance information for a specific area. However, because it only extracts luminance information, it can only extract the sum and feature values of brightness and darkness in the image. This can sometimes prevent image abnormalities caused by various colors, such as abnormalities in the image information or obstructions to the driver's view due to ambient light. In other words, conventional technology has the problem of only being able to detect simple image abnormalities, such as a fixed black screen.
[0011] Therefore, the present disclosure provides a video monitoring device and a video monitoring method that can avoid image abnormalities caused by various colors, such as abnormal colors caused by ambient light blocking the driver's view.
[0012] To this end, for example, a video monitoring device relating to technique 1 of the present disclosure is a video monitoring device that monitors video data received from a video display device that receives a video signal from a camera and displays the video, and is equipped with: a video extractor that extracts color information for each pixel that constitutes an image represented by the received video data from the video data; a specific color difference calculator that calculates, for each pixel, difference information between the color represented by the extracted color information and a predetermined specific color; a histogram calculator that classifies the difference information calculated for each pixel to calculate a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency; and an abnormality detector that generates and outputs a signal indicating that the video data is abnormal if the frequency of pixels belonging to the predetermined difference interval in the calculated histogram is equal to or greater than a first threshold value.
[0013] This allows the video monitoring device to directly receive video data and detect video anomalies, eliminating the need for memory and achieving low latency. Furthermore, the video extractor and specific color difference calculator can extract the sum and feature values of color information, such as RGB or YUV, other than the brightness and darkness of the image, to detect video anomalies. Therefore, the video monitoring device can avoid video anomalies caused by various colors, such as abnormal colors caused by ambient light that obstruct the driver's view, thereby increasing the types of anomalies monitored in the video display.
[0014] Here, the video monitoring device according to Technology 2 is the video monitoring device according to Technology 1, further comprising a signal determiner that determines for each pixel whether it belongs to a video monitoring area, which is an area to be monitored, and the histogram calculator calculates the histogram for pixels that the signal determiner determines belong to the video monitoring area. This allows video abnormalities to be detected only within the video monitoring area, enabling high-speed detection.
[0015] Furthermore, a video monitoring device according to Technology 3 is the video monitoring device according to Technology 1 or 2, further comprising a luminance extractor that extracts, from the received video data, luminance information for each pixel that constitutes an image represented by the video data, and an extracted component selector that selects either the luminance information extracted by the luminance extractor or the difference information calculated by the specific color difference calculator, and the histogram calculator calculates the histogram based on the luminance information or the difference information selected by the extracted component selector. This makes it possible to selectively detect video anomalies based on luminance information as in the past, or video anomalies caused by various colors.
[0016] Furthermore, a video monitoring device relating to technology 4 is a video monitoring device relating to any of technologies 1 to 3, in which, for example, the video data includes RGB or YUV component data for each pixel, the specific color includes RGB or YUV component data, and the specific color difference calculator calculates the difference between the video data and the specific color for each RGB or YUV component data.
[0017] As a result, even when the video monitoring device takes the difference from the extracted RGB or YUV reference color information, the amount of difference information can be reduced from 8 x 3 = 24 bits to 8 bits, thereby making it possible to make a judgment while reducing the amount of hardware without using many calculators.
[0018] Furthermore, a video monitoring device according to technology 5 is a video monitoring device according to any one of technologies 1 to 4, and, for example, the signal determiner determines, on the path from the camera to the video display device, whether or not each pixel belongs to the video monitoring area using one intermediate video data selected from a plurality of intermediate video data generated in the process of generating the video data.
[0019] As a result, the video monitoring device determines whether or not a video belongs to a video monitoring area using one intermediate video data selected from multiple intermediate video data after video processing, so that the video monitoring area can be determined from intermediate video data that is different from the video data input to the video extractor, and video abnormalities can be detected for various types of video processing systems.
[0020] Furthermore, a video monitoring device according to Technique 6 is a video monitoring device according to any one of Techniques 1 to 5, in which, for example, the histogram calculator has a plurality of first thresholds and calculates the histogram based on a first threshold selected from the plurality of first thresholds.
[0021] This allows the video monitoring device to calculate the trend of the gradual difference results using a histogram based on a first threshold value selected from multiple first threshold values, thereby allowing the detection conditions for video abnormalities to be adjusted depending on the characteristics of the target video processing system.
[0022] Furthermore, for example, a video monitoring device according to technique 7 of the present disclosure is a video monitoring device according to any of techniques 1 to 6, wherein the video data is a moving image, and the anomaly detector determines, for each frame constituting the moving image, whether the frequency of frames belonging to the predetermined difference interval in the histogram is equal to or greater than the first threshold, and when the number of consecutive frames determined to have a frequency of belonging to the predetermined difference interval in the histogram equal to or greater than the first threshold is equal to or greater than a second threshold, generates and outputs a signal indicating that the video data is abnormal.
[0023] As a result, the video monitoring device can reduce the probability of erroneous determination when determining video abnormalities and perform highly accurate determinations by setting a determination criterion based on the number of abnormality detections on a frame-by-frame basis.
[0024] Furthermore, a video monitoring device according to Technology 8 is the video monitoring device according to Technology 7, in which the second threshold is a variable value. This makes it possible to adjust the threshold for the number of consecutive frames showing signs of video abnormalities, and therefore to adjust the conditions for detecting video abnormalities depending on the noise environment of the target video processing system.
[0025] Furthermore, a video monitoring method according to technique 9 of the present disclosure is a video monitoring method for monitoring video data received from a video display device that receives and displays a video signal from a camera, and includes: a video extraction step of extracting, from the received video data, color information for each pixel that constitutes an image represented by the video data; a specific color difference calculation step of calculating, for each pixel, difference information between the color represented by the extracted color information and a predetermined specific color; a histogram calculation step of classifying the difference information calculated for each pixel to calculate a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency; and an abnormality detection step of generating and outputting a signal indicating that the video data is abnormal if the frequency of pixels belonging to a predetermined difference interval in the calculated histogram is equal to or greater than a first threshold value.
[0026] As a result, the image extraction step and the specific color difference calculation step enable the extraction of the sum and feature amounts of color information, such as RGB or YUV, other than the brightness and darkness of the image, and the detection of image abnormalities. Therefore, the image monitoring method can avoid image abnormalities caused by various colors, such as abnormal colors caused by ambient light that obstruct the driver's view, and thereby increase the types of abnormalities to be monitored in the image display.
[0027] Below, using the drawings, we will explain a video monitoring device according to a reference example to explain the purpose of the present application, and then we will explain a video monitoring device according to an embodiment that can achieve the purpose of the present application. Note that the reference example and embodiment described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component placement and connection forms, steps, step order, etc. shown in the reference example and embodiment below are examples and are not intended to limit the scope of the claims.
[0028] Fig. 1 is a block diagram showing the configuration of a video monitoring device 130 according to a reference example. The diagram also shows a video processing system (i.e., a camera 90, a video imaging device 100, a memory 110, and a video display device 120) that is the subject of video monitoring by the video monitoring device 130. The video imaging device 100 shown in Fig. 1 has a video input device 101, which decodes video captured by the camera 90 and transmits the decoded video to the memory 110 line by line. Here, the video is composed of a plurality of pixels, such as RGB.
[0029] The memory 110 takes in and temporarily stores the video decoded by the video imaging device 100 .
[0030] The video display device 120 is an in-vehicle head-up display or the like, and has a video output device 121 and an LCD (Liquid Crystal Display) driver 122. The video read from the memory 110 is processed for video output by the video output device 121, and converted by the LCD driver 122 into video compatible with an interface for outputting LCD video, and the converted video is sent to the LCD (not shown). Here, the video sent to the LCD (not shown) is also made up of a plurality of pixels such as RGB.
[0031] The video monitoring device 130 is a device that monitors video data received from a video display device 120 that receives a video signal from a camera 90 and displays the video, and includes a luminance extractor 131, a signal determiner 132, a histogram calculator 133, and an anomaly detector 140. For example, these components are electric circuits. More specifically, they are realized by a logic circuit using semiconductors, a processor that performs processing according to a program, or the like.
[0032] The video monitoring device 130 captures intermediate video data output by the video output device 121 of the video display device 120 and monitors the video status. In this specification, video data is also simply referred to as "video." Also, video data generated in the process of generating video data on the path from the camera 90 to the video display device 120 that is ultimately transmitted from the video display device 120 to an LCD (not shown) is also referred to as "intermediate video data."
[0033] In this reference example, the intermediate video data that the video monitoring device 130 captures from the video display device 120 is transmitted line by line and is composed of pixels containing only luminance components.
[0034] The luminance extractor 131 extracts luminance information from the intermediate video data input from the video display device 120 in units of lines in synchronization with the signal determiner 132 .
[0035] The intermediate video data input to the luminance extractor 131 may be intermediate video data generated on the path from the camera 90 to the video display device 120 after undergoing any of a plurality of video processes, or may be extracted from a plurality of video regions within the same frame. In this reference example, the intermediate video data generated inside the video display device 120 is extracted into the luminance extractor 131.
[0036] The signal determiner 132 determines whether or not each pixel in the captured intermediate video data belongs to a video monitoring area, which is an area to be monitored (i.e., acquires an extracted area). This process is performed in synchronization with the extraction of luminance information from the intermediate video data by the luminance extractor 131.
[0037] The intermediate video data input to the signal determiner 132 may be intermediate video data generated on the path from the camera 90 to the video display device 120 after undergoing one of a plurality of video processes, or may be drawn from a plurality of video regions within the same frame. In this embodiment, intermediate video data generated within the video display device 120 is drawn into the signal determiner 132.
[0038] The histogram calculator 133 classifies the luminance information extracted by the luminance extractor 131 for each pixel, and calculates a histogram in which the number of pixels belonging to each of a plurality of luminance intervals is used as a frequency. In this reference example, when a pixel is determined by the signal determiner 132 to belong to the video monitoring area for the video data (i.e., luminance information) extracted by the luminance extractor 131, the histogram calculator 133 has a plurality of specific thresholds for the luminance information, calculates a histogram indicating the frequency of pixels belonging to each luminance interval based on the thresholds, and transmits the calculated histogram result to the anomaly detector 140.
[0039] This allows the trend of gradual difference results to be calculated for the brightness information, making it possible to make highly accurate judgments regarding brightness abnormalities in the video data based on the proportion of the brightness information to be extracted that exists in the specified video area.
[0040] The anomaly detector 140 monitors the histogram result information transmitted from the histogram calculator 133 on a frame-by-frame basis, and if it detects a tendency toward an anomaly for several consecutive frames, it ultimately determines that an image anomaly has occurred and notifies an external CPU or ECU (Engine Control Unit) (neither of which are shown) that an anomaly has occurred. Here, the "tendency toward an anomaly" refers to a case in which the frequency of a predetermined section in the histogram calculated by the histogram calculator 133 is equal to or greater than a threshold. The predetermined section may be one or more. If there are multiple predetermined sections, a threshold for determining an anomaly may be set for each of the multiple sections.
[0041] By setting a judgment criterion based on the number of consecutive abnormality detections on a frame-by-frame basis, the probability of erroneous judgment can be reduced and highly accurate judgment can be made in judging video abnormalities.
[0042] 2 is a flowchart showing the operation of the video monitoring device 130 shown in FIG. 1. First, a loop process is performed in units of frames (100a-100b). In the loop process, first, the luminance extractor 131 extracts luminance information (S101) and the signal determiner 132 acquires an extracted region (S102) in real time, synchronized with each other.
[0043] Next, a histogram is calculated (S103) for the extracted luminance information on a pixel-by-pixel basis only if the extraction area is valid (i.e., if it belongs to the video monitoring area). Here, the histogram is calculated by dividing the luminance information into 16 parts, with the histogram ranging from 0 to 15 in ascending order. The luminance information is calculated by dividing the luminance information into 16 parts and assigning a threshold value. For example, when extracting a histogram for the lowest luminance, if histogram 0 of histograms 0 to 15 shows a frequency greater than or equal to the threshold, it is determined that the image contains a lot of information about the lowest luminance. On the other hand, when extracting a histogram for the highest luminance, if histogram 15 of histograms 0 to 15 shows a frequency greater than or equal to the threshold, it is determined that the image contains a lot of information about the highest luminance. In other words, if there is a lot of information about the lowest luminance, the target image data is a black image, and if there is a lot of information about the highest luminance, the target image data is a white image.
[0044] After the above frame-by-frame loop processing is completed, the anomaly detector 140 performs video anomaly detection (S104). Here, assuming that an image containing a large amount of information on the lowest luminance is an example of an image that tends to be abnormal, if the frequency of histogram 0 is N% or more of the histogram calculation result of the entire luminance information (i.e., the total frequency) (Yes in S105), a black image that tends to be abnormal has been detected. On the other hand, if the frequency is less than N% (No in S105), a black image that tends to be abnormal has not been detected. Note that N in N% is an integer that can be changed as a threshold value.
[0045] After the determination in the histogram calculation, if the histogram calculation result is N% or more (Yes in S105) and continues for M frames or more (Yes in S106), the anomaly detector 140 determines that a black image continues (i.e., an image anomaly has occurred) and notifies the outside that an image anomaly has occurred (S107). On the other hand, if the number is less than M frames (No in S106), the loop processing (100a-100b) continues on a frame-by-frame basis. Note that M in M frames is an integer and can be changed as a threshold value.
[0046] 3 is a conceptual diagram showing an example of a histogram calculation method used by the histogram calculator 133. Here, an example is shown in which the histogram is calculated by dividing the histogram into 16 parts. That is, the luminance information on the horizontal axis is calculated by dividing the luminance information into 16 parts and setting a threshold value. For example, when extracting a histogram of the lowest luminance, if histogram 0 of histograms 0 to 15 shows a frequency greater than or equal to the threshold, the target video data is determined to be an image containing a lot of information on the lowest luminance. On the other hand, when extracting a histogram of the highest luminance, if histogram 15 of histograms 0 to 15 shows a frequency greater than or equal to the threshold, the target video data is determined to be an image containing a lot of information on the highest luminance. That is, if there is a lot of information on the lowest luminance, the target video data is a black image, and if there is a lot of information on the highest luminance, the target video data is a white image.
[0047] It should be noted that the histogram does not necessarily have to be calculated for the entire video monitoring area obtained by the signal determiner 132, and it may be calculated for only 1 / 2, 1 / 4, or 1 / 8 pixels of the video monitoring area. Also, although the histogram is shown with the horizontal axis divided into 16 sections, it may be divided into 32 sections to further improve detection accuracy.
[0048] 4 is a conceptual diagram showing an example of an anomaly detection method by anomaly detector 140. In this example, a histogram is calculated by dividing it into 16 parts. The histogram obtained by histogram calculator 133 is tabulated (i.e., the luminance information is divided into histograms HIST0 to HIST15, each divided into "area Min" to "area Max"), and histogram 0 ("HIST0"), which is determined to be an image containing a large amount of information of the lowest luminance, accounts for, for example, 30% or more ("32%" in the figure), and therefore it is determined that a black image has been detected.
[0049] If histogram 15 ("HIST15"), which is determined to be an image containing a large amount of information at the highest brightness, occupies, for example, 30% or more, it is determined that a white image has been detected. In this reference example, histogram 15 ("HIST15") is 0%, so it is determined that a white image has not been detected ("not detected").
[0050] Furthermore, after the histogram calculation, if the histogram calculation results are 30% or more for 10 or more consecutive frames, it is determined that a black or white image continues (i.e., an image abnormality has occurred).If not, monitoring continues.
[0051] It should be noted that the abnormality detection does not necessarily have to be performed at 30% or more, and may be varied depending on the application.
[0052] 5A and 5B are conceptual diagrams showing a white image, a black image, and a specific color image as examples of image abnormalities when using a head-up display for in-vehicle use. Fig. 5A shows an example of a normal vehicle information display, Fig. 5B shows an example of an abnormal vehicle information display resulting in a white image, Fig. 5C shows an example of an abnormal vehicle information display resulting in a black image, and Fig. 5D shows an example of an abnormal vehicle information display resulting in a specific color image.
[0053] The video monitoring device 130 according to this embodiment extracts only brightness information, and therefore can only extract a histogram of brightness of the image. Specifically, if the video information becomes abnormal due to some influence, the abnormality can only be detected in a white image (FIG. 5(b)) and a black image (FIG. 5(c)). For this reason, for example, when ambient light (yellow light, orange light, etc.) while driving a car causes the image on the head-up display to appear abnormally colored and difficult to see, which interferes with the driver's driving (FIG. 5(d)), the video monitoring device 130 according to this embodiment cannot detect the image abnormality.
[0054] Fig. 6 is a block diagram showing the configuration of a video monitoring device 230 according to this embodiment. This diagram also shows a video processing system (i.e., camera 90, video imaging device 100, memory 110, and video display device 120) that is the subject of video monitoring by the video monitoring device 230. The configuration of this video processing system is the same as that shown in Fig. 1. Below, components similar to those in the reference example shown in Fig. 1 are given the same reference numerals, and descriptions thereof will be simplified or omitted, with the focus being on components different from those in the reference example shown in Fig. 1.
[0055] The video monitoring device 230 is a device that monitors video data received from the video display device 120, which receives a video signal from the camera 90 and displays the video, and includes a luminance extractor 131, a signal determiner 132, a histogram calculator 233, a video extractor 234, a specific color difference calculator 235, an extracted component selector 236, and an anomaly detector 240. For example, these components are electric circuits. More specifically, they are realized by semiconductor logic circuits, processors that perform processing according to a program, or the like.
[0056] The video monitoring device 230 captures the intermediate video data output by the video output device 121 of the video display device 120 and monitors the video status.
[0057] In this embodiment, the intermediate video data that the video monitoring device 230 captures from the video display device 120 is transmitted line by line and is made up of pixels of RGB or YUV components.
[0058] The luminance extractor 131 extracts luminance information from the intermediate video data input from the video display device 120 in units of lines in synchronization with the signal determiner 132 .
[0059] The intermediate video data input to the luminance extractor 131 may be intermediate video data generated on the path from the camera 90 to the video display device 120 after undergoing one of a plurality of video processes, or may be extracted from a plurality of video regions within the same frame. In this embodiment, the intermediate video data generated within the video display device 120 is extracted into the luminance extractor 131.
[0060] The video extractor 234 extracts color information for each pixel constituting the image represented by the intermediate video data received from the video display device 120 (i.e., performs video information extraction). Specifically, the video extractor 234 extracts video information line by line in synchronization with the signal determiner 132. For example, the video extractor 234 extracts RGB or YUV components from the intermediate video data.
[0061] The intermediate video data input to the video extractor 234 may be not only intermediate video data from the camera 90 after undergoing one of a plurality of video processes in the video display device 120, but also data extracted from a plurality of video regions within the same frame. In this embodiment, intermediate video data generated within the video display device 120 is extracted into the video extractor 234.
[0062] The specific color difference calculator 235 calculates, for each pixel, the difference between the color indicated by the color information extracted by the image extractor 234 and a predetermined specific color as difference information. That is, the specific color difference calculator 235 calculates the difference between the specific color (i.e., the reference image) and each pixel composed of RGB or YUV components extracted by the image extractor 234. Specifically, assuming an example in which pixels are composed of RGB components, and the specific color (i.e., the reference image) for a certain pixel is Rs, Gs, and Bs, and the color information extracted by the image extractor 234 is Ri, Gi, and Bi, the difference value can be calculated as ABS(Rs-Ri)+ABS(Gs-Gi)+ABS(Bs-Bi)>>2. Here, ABS means absolute value. ">>2" means a 2-bit shift to the right.
[0063] In this way, the specific color difference calculator 235 calculates the difference between the video data and the specific color for each RGB or YUV component data, and when calculating the difference between the extracted color information and the reference color information, the amount of difference information is reduced from 8 x 3 = 24 bits to 8 bits, thereby making it possible to make a judgment while reducing the amount of hardware without using many calculators.
[0064] The signal determiner 132 determines whether or not each pixel in the captured intermediate video data belongs to a video monitoring area, which is an area to be monitored (i.e., extracts an extracted area). This process is performed in synchronization with the extraction of luminance information from the intermediate video data by the luminance extractor 131 and the extraction of color information from the intermediate video data by the video extractor 234.
[0065] The extracted component selector 236 selects either the luminance information extracted by the luminance extractor 131 or the difference information calculated by the specific color difference calculator 235. For example, the extracted component selector 236 selects either the luminance information or the difference information based on a control signal provided from an external CPU or the like.
[0066] The intermediate video data input to the signal determiner 132 may be intermediate video data generated on the path from the camera 90 to the video display device 120 after undergoing one of a plurality of video processes, or may be drawn from a plurality of video regions within the same frame. In this embodiment, the intermediate video data generated within the video display device 120 is drawn into the signal determiner 132.
[0067] The histogram calculator 233 classifies the luminance information or difference information selected by the extracted component selector 236 for each pixel, and calculates a histogram in which the number of pixels belonging to each of a plurality of luminance intervals or difference intervals is used as a frequency. In this embodiment, when a pixel is determined by the signal determiner 132 to belong to the video monitoring area for the luminance information or difference information selected by the extracted component selector 236, the histogram calculator 233 has a plurality of specific thresholds for the luminance information or difference information, and calculates a histogram indicating the frequency of pixels belonging to each luminance interval or difference interval based on the thresholds, and transmits the calculated histogram result to the anomaly detector 240.
[0068] This allows for the calculation of the gradual trend of the difference results for the difference information with a specific color, and makes it possible to make highly accurate judgments regarding abnormalities for a specific color in the video data based on the proportion of the difference information to be extracted that exists in the specified video area.
[0069] The anomaly detector 240 monitors the histogram result information transmitted from the histogram calculator 233 on a frame-by-frame basis, and if there is a tendency for an anomaly to occur for several consecutive frames, determines that an anomaly has occurred and notifies an external CPU or ECU (neither of which are shown) that an anomaly has occurred. Here, the "tendency to become an anomaly" refers to a case in which the frequency of a predetermined section in the histogram calculated by the histogram calculator 133 is equal to or greater than a threshold. The predetermined section may be one or more. If there are multiple predetermined sections, a threshold for determining an anomaly may be set for each of the multiple sections.
[0070] By setting a judgment criterion based on the number of abnormality detections per frame, the probability of erroneous judgment can be reduced and highly accurate judgment can be made in judging video abnormalities.
[0071] Fig. 7 is a flowchart showing the operation of the video monitoring device 230 shown in Fig. 6. The same process steps as those in the flowchart according to the reference example of Fig. 2 are denoted by the same reference numerals as those in Fig. 2.
[0072] First, loop processing is performed on a frame-by-frame basis (200a-200b). In the loop processing, the extraction of luminance information by the luminance extractor 131 (S101), the extraction of video information by the video extractor 234 (video extraction step S207), and the acquisition of an extracted region by the signal determiner 132 (S102) are performed synchronously in real time. More specifically, in the video extraction step S207, the video extractor 234 extracts, from the intermediate video data retrieved from the video display device 120, color information for each pixel constituting an image represented by the video data.
[0073] The specific color difference calculator 235 calculates the difference between the specific color (i.e., the reference image) and the image data composed of RGB or YUV components extracted in the image information extraction (S207) for each pixel as difference information (specific color difference calculation step S208).
[0074] The extracted component selector 236 selects either the luminance information extracted by the luminance extractor 131 or the difference information composed of RGB or YUV components calculated by the specific color difference calculator 235 (S209). Note that this is just one example, and it is also possible to select both (i.e., both) of the luminance information and the difference information composed of RGB or YUV components by switching between them.
[0075] The histogram calculator 233 then performs histogram calculation (histogram calculation step S203) only when the signal determiner 132 determines that the extracted region is valid for the selected luminance information or difference information (i.e., when the target pixel is determined to belong to the video monitoring region). Here, the histogram is calculated by dividing the luminance information or difference information into 16 parts. The luminance information or difference information is calculated by dividing the luminance information or difference information into 16 parts and setting a threshold value. For example, when extracting a histogram of the lowest luminance, if a large number of histograms 0 to 15 are accumulated among histograms 0 to 15, it is determined that the image contains a large amount of information about the lowest luminance or the lowest difference. When extracting a histogram of the highest luminance or maximum difference, if a large number of histograms 15 are accumulated among histograms 0 to 15, it is determined that the image contains a large amount of information about the highest luminance or the highest difference. For example, when luminance information is selected by the extracted component selector 236, if a large number of information about the lowest luminance is accumulated, the target video data is a black image, whereas if a large number of information about the highest luminance is accumulated, the target video data is a white image. Furthermore, in cases where difference information is selected by the extracted component selector 236, if there is a lot of information on the minimum difference, the target image data is an image of a color close to the specified specific color, whereas if there is a lot of information on the maximum difference, the target image data is an image of a color different from the specified specific color.
[0076] After the above frame-by-frame loop processing is completed, the anomaly detector 240 performs video anomaly detection (anomaly detection step S204). Here, assuming that difference information has been selected by the extracted component selector 236 and that an image containing a large amount of minimum difference information is an example of an image prone to anomaly, if the frequency of histogram 0, which is an example of a predetermined difference section, is equal to or greater than N% (first threshold) of the histogram calculation result of the entire difference information (i.e., total frequency) (Yes in S205), an image prone to anomaly (i.e., a specific color or a color close to the specific color) has been detected. On the other hand, if the frequency is less than N% (No in S205), an image prone to anomaly (i.e., a specific color or a color close to the specific color) has not been detected. Note that N in N% is an integer and is a variable value used as the first threshold.
[0077] After the histogram calculation, if the histogram calculation result is equal to or greater than N% (Yes in S205) and continues for M frames or more (Yes in S206), which is an example of a second threshold, the anomaly detector 240 determines that an image with a tendency to become abnormal is continuing (i.e., an image anomaly has occurred), and notifies the outside that an image anomaly has occurred (S207). On the other hand, if the number is less than M frames (No in S206), the frame-by-frame loop processing (200a-200b) continues. Note that M in M frames is an integer and can be changed as a threshold.
[0078] FIG. 8 is a conceptual diagram illustrating a histogram calculation method used by histogram calculator 233. Here, an example is shown in which the histogram is calculated by dividing the histogram into 16 parts. That is, difference information from a specific RGB or YUV color (i.e., a reference image) on the horizontal axis is calculated by dividing the histogram into 16 parts and assigning a threshold value. For example, when extracting a histogram with a small difference from the reference image, if histogram 0 of histograms 0 to 15 shows a frequency equal to or greater than a first threshold, the target image data is determined to be an image containing a lot of information with a small difference from the reference image. On the other hand, when extracting a histogram with a large difference from the reference image, if histogram 15 of histograms 0 to 15 shows a frequency equal to or greater than the first threshold, the target image data is determined to be an image containing a lot of information with a large difference from the reference image. That is, when the difference from the reference image is small, the target image data is a specific color image (i.e., an image of a specific color or a color similar to the specific color), and when the difference from the reference image is large, the target image data is an unspecific color image (i.e., an image of a color not similar to the specific color).
[0079] It should be noted that the histogram does not necessarily have to be calculated for the entire video monitoring area obtained by the signal determiner 132, and it may be calculated for only 1 / 2, 1 / 4, or 1 / 8 pixels of the video monitoring area. Also, although the histogram is shown with the horizontal axis divided into 16 segments, it may be divided into 24 or 32 segments to further improve detection accuracy.
[0080] 9 is a conceptual diagram showing an anomaly detection method by anomaly detector 240. Here, an example is shown in which a histogram is calculated by dividing it into 16 parts. The histogram obtained by histogram calculator 233 is tabulated (i.e., the luminance information is divided into histograms HIST0 to HIST15, each divided into "area Min" to "area Max"), and histogram 0 ("HIST0"), which is determined to be an image containing a large amount of information with a small difference from the reference image, accounts for, for example, 30% or more ("32%" in the figure), and therefore it is determined that an image of a specific color has been detected.
[0081] If histogram 15 ("HIST15"), which is determined to be an image containing a large amount of information with a large difference from the reference image, accounts for, for example, 30% or more, it is determined that an unspecified color image has been detected. In this embodiment, since histogram 15 ("HIST15") is 0%, it is determined that an unspecified color image has not been detected ("not detected").
[0082] Furthermore, after the histogram calculation, if the histogram calculation results are 30% or more for 10 or more consecutive frames, it is determined that a specific color image continues (i.e., an image abnormality has occurred). Otherwise, the image is an unspecified color image, and video monitoring continues.
[0083] In this embodiment, an image abnormality is determined when a series of frames includes many frames that contain a specific color or colors close to the specific color, but the determination criteria are not limited to this. Conversely, an image abnormality may be determined when a series of frames includes many frames that are significantly different from the specific color (i.e., images of an unspecified color).
[0084] Furthermore, the threshold value (first threshold value) for determining an abnormality does not necessarily have to be 30% or more, and may be variable depending on the application.
[0085] Furthermore, the criteria for determining an image abnormality when luminance information is used may be different from the criteria for determining an image abnormality when a specific color difference is used. For example, when luminance information is used, an image abnormality may be determined when the number of consecutive frames in which histogram 0 is equal to or greater than the first threshold is equal to or greater than the second threshold, as in the embodiment. On the other hand, when a specific color difference is used, an image abnormality may be determined when the number of consecutive frames in which histogram 0 is less than the first threshold is equal to or greater than the second threshold, as opposed to the embodiment. In this way, an image abnormality is determined when a black image or an image different from the specific color is displayed in succession.
[0086] Although the aspects of the video monitoring device have been described above in accordance with the reference examples and embodiments, the aspects of the video monitoring device are not limited to the reference examples and embodiments. Modifications that come to mind by those skilled in the art may be applied to the reference examples and embodiments, and multiple components in the reference examples and embodiments may be combined in any manner.
[0087] For example, a process performed by a specific component in the embodiment may be performed by another component instead of the specific component. Furthermore, the order of multiple processes may be changed, or multiple processes may be performed in parallel. Furthermore, multiple modified examples may be combined and applied.
[0088] Furthermore, the video monitoring method including the steps performed by each component of the video monitoring device according to the embodiment may be executed by any device or system. For example, a part or all of the video monitoring method may be executed by a computer including a processor, a memory, an input / output circuit, etc. In this case, the video monitoring method may be executed by the computer executing a program for causing the computer to execute the video monitoring method.
[0089] The above program may also be recorded on a non-transitory computer-readable recording medium such as a CD-ROM.
[0090] Furthermore, each component of the video monitoring device according to the embodiment may be configured with dedicated hardware, general-purpose hardware that executes the above-mentioned programs, or a combination of these. The general-purpose hardware may be configured with a memory in which the programs are recorded and a general-purpose processor that reads and executes the programs from the memory. Here, the memory may be a semiconductor memory or a hard disk, and the general-purpose processor may be a CPU.
[0091] Furthermore, the dedicated hardware may be configured with a memory and a dedicated processor, etc. For example, the dedicated processor may execute the above-described video monitoring method by referring to a memory for recording data.
[0092] Furthermore, each component of the video monitoring device according to the embodiment may be an electric circuit. These electric circuits may form a single electric circuit as a whole, or may be separate electric circuits. These electric circuits may correspond to dedicated hardware or general-purpose hardware that executes the above-mentioned programs, etc.
[0093] The present disclosure is useful as a video monitoring device, for example, as a video monitoring device that monitors video data generated by a video processing device, and is applicable to video monitoring devices that monitor video from video processing devices for in-vehicle use, such as in-vehicle head-up displays.
[0094] 90 Camera 100 Video imaging device 101 Video input device 110 Memory 120 Video display device 121 Video output device 122 LCD driver 130, 230 Video monitoring device 131 Luminance extractor 132 Signal determiner 133, 233 Histogram calculator 234 Video extractor 235 Specific color difference calculator 236 Extracted component selector 140, 240 Anomaly detector
Claims
1. A video surveillance device that monitors video data received from a video display device that receives a video signal from a camera and displays the video, comprising: an image extractor that extracts color information for each pixel that constitutes an image represented by the received video data from the video data; a specific color difference calculator that calculates, for each pixel, difference information between the color represented by the extracted color information and a specific color; a histogram calculator that calculates a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency by classifying the difference information calculated for each pixel; and an anomaly detector that generates and outputs a signal indicating that the video data is abnormal if the frequency of pixels belonging to a specific difference interval in the calculated histogram is equal to or greater than a first threshold value.
2. The video surveillance device according to claim 1, further comprising a signal determiner for determining whether or not each of the pixels belongs to a video surveillance area, which is an area to be monitored, and the histogram calculator calculates the histogram for pixels determined by the signal determiner to belong to the video surveillance area.
3. The video surveillance device of claim 1, further comprising: a luminance extractor that extracts luminance information for each pixel that constitutes an image represented by the received video data from the video data; and an extracted component selector that selects either the luminance information extracted by the luminance extractor or the difference information calculated by the specific color difference calculator, wherein the histogram calculator calculates the histogram based on the luminance information or the difference information selected by the extracted component selector.
4. The video surveillance device of claim 1, wherein the video data includes RGB or YUV component data for each pixel, the specific color includes RGB or YUV component data, and the specific color difference calculator calculates the difference between the video data and the specific color for each RGB or YUV component data.
5. The video surveillance device of claim 2, wherein the signal determiner determines, on a path from the camera to the video display device, whether or not each pixel belongs to the video surveillance area using one intermediate video data selected from a plurality of intermediate video data generated in the process of generating the video data.
6. The video monitoring device according to claim 1, wherein the histogram calculator has a plurality of the first thresholds and calculates the histogram based on a first threshold selected from the plurality of first thresholds.
7. The video surveillance device of claim 1, wherein the video data is a moving image, and the anomaly detector determines, for each frame constituting the moving image, whether the frequency of frames belonging to the specified difference interval in the histogram is equal to or greater than the first threshold, and when the number of consecutive frames whose frequency of frames belonging to the specified difference interval in the histogram is determined to be equal to or greater than the first threshold is equal to or greater than a second threshold, generates and outputs a signal indicating that the video data is abnormal.
8. The video monitoring device according to claim 7, wherein the second threshold is a variable value.
9. A video surveillance method for monitoring video data received from a video display device that receives and displays a video signal from a camera, comprising: a video extraction step for extracting color information for each pixel constituting an image represented by the received video data from the video data; a specific color difference calculation step for calculating, for each pixel, difference information between the color represented by the extracted color information and a specific color; a histogram calculation step for calculating a histogram in which the number of pixels belonging to each of a plurality of difference intervals is used as a frequency by classifying the difference information calculated for each pixel; and an abnormality detection step for generating and outputting a signal indicating that the video data is abnormal if the frequency of pixels belonging to a specific difference interval in the calculated histogram is equal to or greater than a first threshold value.
Citation Information
Patent Citations
Monitoring device and method
JP1999284982A
Imaging device, warning method, and program
JP2011182387A
Image analysis system, method, computer program and computer readable recording medium to analyze whether electronic sign board is malfunctioning
KR102486562B1
Method and system for preventing and detecting hazardously misleading information on safety-critical display
US20190286115A1
