In-vehicle warning light fault diagnosis device and in-vehicle warning light fault diagnosis method
The vehicle-mounted warning light failure diagnosis system addresses incorrect failure determinations by calculating correlation values for icon and background areas within the composite image, using threshold values and filtering, to accurately diagnose icon image malfunctions despite image processing-induced quality issues.
Patent Information
- Application Number
- PCT/JP2024/004378
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-01
- Filing Date
- 2024-02-08
- Publication Date
- 2024-09-06
AI Technical Summary
Conventional vehicle-mounted warning light failure diagnosis systems incorrectly determine failures in icon images due to image quality deterioration and hue changes caused by image processing, such as decompression, leading to erroneous failure determinations.
The system generates a composite image by combining a background image and an icon image, calculates correlation values for both the icon and background areas with reference correct images, and uses threshold values and filtering processes to determine failures independently for each area, thereby reducing incorrect failure determinations.
This approach effectively suppresses erroneous failure determinations by accounting for image quality deterioration and hue changes, ensuring accurate diagnosis of icon image malfunctions.
Smart Images

Figure JP2024004378_06092024_PF_FP
Abstract
Description
Vehicle warning light fault diagnosis device and vehicle warning light fault diagnosis method
[0001] The present disclosure relates to an in-vehicle warning light fault diagnosis device and an in-vehicle warning light fault diagnosis method.
[0002] Patent Document 1 discloses a method for determining whether an icon image is faulty by calculating a correlation value between an icon image serving as a warning light, extracted from a composite image, and a reference correct icon image read from a storage means. The correct icon image is a reference icon image stored in advance in a memory, and refers to an icon image that is intended to be displayed under normal operation. Patent Document 2 discloses a method for determining whether an icon image is faulty by comparing the results of a calculation process for a cyclic redundancy check with an expected value in a comparison controller that performs a cyclic redundancy check on an arbitrary region of an icon image serving as a warning light. Patent Document 3, like Patent Document 2, also claims a vehicle.
[0003] Japanese Patent Publication No. 2020-177058 Japanese Patent No. 5670117 Japanese Patent No. 5970055
[0004] The conventional technologies described in Patent Documents 1, 2, and 3 make it possible to determine whether an icon image is faulty by correlating it with a reference correct icon image. However, if the image quality of the icon image being processed deteriorates and the hue changes due to noise generated during image processing such as expanding a compressed icon image, even a normal icon image may differ from the assumed reference correct icon image, and these conventional technologies may result in erroneous fault determinations.
[0005] The present disclosure provides an in-vehicle warning light fault diagnosis device and an in-vehicle warning light fault diagnosis method that can suppress erroneous fault determination of an icon image as a warning light even when image quality degradation and hue changes occur due to image processing.
[0006] an icon image cutout unit that cuts out an icon image from the composite image output from the image combiner; an icon correlation calculator that calculates a first correlation value between an icon in the icon image cut out by the icon image cutout unit and an icon in the reference correct icon image stored in the correct icon area memory controller; a background correlation calculator that calculates a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon failure determiner and a background failure determiner that determine a failure of the icon and the background portion in the cut-out icon image, respectively, based on the first correlation value calculated by the icon correlation calculator and the second correlation value calculated by the background correlation calculator.
[0007] a background correlation calculation step of calculating a second correlation value between an icon in the icon image cut out by the icon image cutout step and an icon in the reference correct icon image stored in the correct icon area memory control step; a background correlation calculation step of calculating a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon correlation calculation step of calculating a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color.
[0008] An automotive warning light fault diagnosis device and an automotive warning light fault diagnosis method according to one aspect of the present disclosure can suppress erroneous fault determination of an icon image as a warning light even when image quality degradation and hue changes occur due to image processing.
[0009] 4B is a diagram showing the configuration of an automotive warning light fault diagnosis device according to a reference example. FIG. 4C is a flowchart showing the operation of reading out a correct icon image by the automotive warning light fault diagnosis device according to the reference example. FIG. 4D is a flowchart showing the operation of determining a fault in an icon image by the automotive warning light fault diagnosis device according to the reference example. FIG. 4E is a conceptual diagram showing an example of a correct icon image stored in a correct icon area memory controller according to the reference example and the embodiment. FIG. 4F is a conceptual diagram showing parameters arranged in an icon area memory according to the reference example and the embodiment. FIG. 4G is a conceptual diagram showing an example of a correct icon image before image processing of a character information image according to the reference example and the embodiment. FIG. 4H is a conceptual diagram showing mosquito noise caused by quantization error when image processing (image compression) of a character information image is performed according to the reference example and the embodiment. FIG. 4H is a conceptual diagram showing information obtained by calculating the difference between the correct icon image of FIG. 4A and the image after image processing (image compression) of FIG. 4B according to the reference example and the embodiment. FIG. 4H is a diagram showing the maximum values of positive and negative differences in the entire area, the icon area, and the background area for the 16×16 pixel block of FIG. 4C according to the reference example and the embodiment. FIG. 4I is a block diagram showing the configuration of an automotive warning light fault diagnosis device according to the embodiment. 4 is a flowchart showing the operation of the in-vehicle warning light fault diagnosis device according to the embodiment for determining whether an icon and background are faulty.
[0010] In recent years, functional safety compliance has become essential for icon images generated by in-vehicle image processing devices for warning lights. Accordingly, a mechanism for determining whether the generated icon images are faulty is required. However, when in-vehicle image processing devices perform image processing such as decompressing compressed icon images, noise generated during image processing can cause image quality degradation and hue changes in the icon images. This can lead to cases where the decompressed normal icon image does not necessarily match the expected correct icon image. As a result, conventional in-vehicle warning light fault diagnosis devices can erroneously determine whether the icon images are faulty.
[0011] Therefore, for example, a fault diagnosis device for an in-vehicle warning light according to Technology 1 of the present disclosure is a fault diagnosis device for an in-vehicle warning light that diagnoses a fault in an icon image generated by an in-vehicle image processing device that includes a background image generator that generates a background image, an icon image generator that generates an icon image as a warning light, and an image synthesizer that generates a composite image by synthesizing the generated icon image and the background image, and includes a correct icon area memory controller that acquires and stores a reference correct icon image, an icon image cutter that cuts out an icon image from the composite image output from the image synthesizer, and and an icon in the reference correct icon image stored in the correct icon area memory controller; a background correlation calculator that calculates a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon failure determiner and a background failure determiner that determine a failure in the icon and background portion in the cut-out icon image, respectively, based on the first correlation value calculated by the icon correlation calculator and the second correlation value calculated by the background correlation calculator.
[0012] In this way, the automotive warning light fault diagnosis device determines whether an icon image has a fault based on correlation values calculated independently for the icon and background in the icon image, and for the background, which is susceptible to image quality degradation and hue changes due to noise generated in image processing, the correlation value is calculated by comparing it with similar colors, making it easy to adjust the determination criteria to mitigate the effects of noise. Therefore, the automotive warning light fault diagnosis device can suppress erroneous fault determinations in which the icon image to be processed does not turn out to be the expected correct icon image, even if the image quality degradation and hue changes occur due to image processing.
[0013] Furthermore, for example, an automotive warning light fault diagnosis device according to Technology 2 is the automotive warning light fault diagnosis device according to Technology 1, wherein the reference correct icon image includes, as area information, an icon region, a background region, and an anti-aliased region located on the boundary between the icon region and the background region, and the icon correlation calculator calculates the first correlation value for the icon region of the correct icon image, and the background correlation calculator calculates the second correlation value for the background region of the correct icon image.
[0014] This allows the automotive warning light fault diagnosis device to easily identify the icon and background of the target icon image by referencing the area information of the correct icon image, thereby reducing memory capacity and enabling fault diagnosis in a short time.
[0015] Furthermore, for example, an automotive warning light fault diagnosis device according to Technology 3 is the automotive warning light fault diagnosis device according to Technology 1 or 2, in which the icon fault determiner determines whether the first correlation value calculated on a pixel-by-pixel basis by the icon correlation calculator is within a first threshold value and thus has a low correlation, and further determines whether the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than a first predetermined number, and determines that the icon image may be faulty if it is determined that the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than the first predetermined number. As a result, since it is determined that the icon of the icon image may be faulty if the number of pixels for which the first correlation value is within the first threshold value and thus has a low correlation is equal to or greater than the first predetermined number, a filter process is added that allows for cases in which image processing may cause image quality degradation and hue changes in the icon image to be processed, thereby suppressing erroneous fault determination.
[0016] Furthermore, for example, an in-vehicle warning light fault diagnosis device according to Technology 4 is the in-vehicle warning light fault diagnosis device according to Technology 3, in which the first threshold value is a variable value. As a result, by adjusting the first threshold value, it is possible to adjust the criterion for erroneous fault determination of an icon of an icon image according to the level of noise that may occur during image processing, etc.
[0017] Furthermore, for example, an automotive warning light fault diagnosis device according to Technology 5 is the automotive warning light fault diagnosis device according to Technology 1 or 2, in which the background fault determiner determines whether the second correlation value calculated on a pixel-by-pixel basis by the background correlation calculator is within a second threshold value and thus has low correlation, and further determines whether the number of pixels for which the second correlation value is determined to be within the second threshold value is equal to or greater than a second predetermined number, and determines that the icon image may be faulty if it is determined that the number of pixels for which the second correlation value is determined to be within the second threshold value is equal to or greater than the second predetermined number. As a result, if the number of pixels for which the second correlation value is within the second threshold value and thus has low correlation is equal to or greater than the second predetermined number, it is determined that the background of the icon image may be faulty. This adds a filter process that allows for cases in which image processing may cause image quality degradation and hue changes in the icon image to be processed, thereby suppressing erroneous fault determination.
[0018] Furthermore, for example, an in-vehicle warning light fault diagnosis device according to Technology 6 is the in-vehicle warning light fault diagnosis device according to Technology 5, in which the second threshold value is a variable value. As a result, by adjusting the second threshold value, it is possible to adjust the criterion for erroneous fault determination for the background of the icon image according to the level of noise that may occur during image processing, etc.
[0019] Further, for example, an automotive warning light fault diagnosis device according to Technology 7 is the automotive warning light fault diagnosis device according to Technology 3, in which the composite image is a moving image, and the icon fault determiner determines, for each frame included in the composite image, whether the number of pixels for which the first correlation value is determined to be within the first threshold is equal to or greater than the first predetermined number, and determines that the icon image is faulty if the number of frames for which the first correlation value is determined to be within the first threshold is equal to or greater than the first predetermined number of consecutive frames. As a result, the icon of the icon image is determined to be faulty only if the number of frames for which the first correlation value is determined to be within the first threshold is equal to or greater than the first predetermined number of consecutive frames. Therefore, a second filter process is added to the icon of the icon image, which allows for cases in which image processing may cause image quality degradation and hue changes in the icon image to be processed, thereby reliably suppressing erroneous fault determinations.
[0020] Furthermore, for example, an in-vehicle warning light fault diagnosis device according to Technology 8 is the in-vehicle warning light fault diagnosis device according to Technology 7, in which the first predetermined number of frames is a variable value. As a result, by adjusting the first predetermined number of frames that serves as a threshold, it is possible to adjust the criterion for erroneous fault determination of an icon of an icon image according to the level of noise that may occur during image processing, etc.
[0021] Further, for example, an automotive warning light fault diagnosis device according to Technology 9 is the automotive warning light fault diagnosis device according to Technology 5, in which the composite image is a moving image, and the background fault determiner determines, for each frame included in the composite image, whether the number of pixels for which the second correlation value is determined to be within the second threshold is equal to or greater than the second predetermined number, and determines that the icon image is faulty if the number of frames for which the second correlation value is determined to be within the second threshold is equal to or greater than the second predetermined number of consecutive frames. As a result, the background portion of the icon image is determined to be faulty only if the number of frames for which the second correlation value is determined to be within the second threshold is equal to or greater than the second predetermined number of consecutive frames. Therefore, a second filter process is added to the background portion of the icon image, which allows for cases in which image processing of the icon image may cause image quality degradation and hue changes, thereby reliably suppressing erroneous fault determinations.
[0022] Furthermore, for example, an in-vehicle warning light fault diagnosis device according to Technology 10 is the in-vehicle warning light fault diagnosis device according to Technology 9, in which the second predetermined number of frames is a variable value. Thus, by adjusting the second predetermined number of frames that serves as a threshold, it is possible to adjust the criterion for erroneous fault determination for the background of the icon image in accordance with the level of noise that may occur during image processing, etc.
[0023] Furthermore, for example, a fault diagnosis method for an in-vehicle warning light according to Technology 11 is a fault diagnosis method for an in-vehicle warning light that diagnoses a fault in an icon image generated by an in-vehicle image processing device that includes a background image generator that generates a background image, an icon image generator that generates an icon image as a warning light, and an image synthesizer that generates a composite image by synthesizing the generated icon image with a background image, and includes: a correct icon area memory control step that acquires and stores a reference correct icon image; an icon image cutout step that cuts out an icon image from the composite image output from the image synthesizer; an icon correlation calculation step that calculates a first correlation value between an icon in the icon image cut out by the icon image cutout step and an icon in the reference correct icon image stored in the correct icon area memory control step; a background correlation calculation step that calculates a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon fault determination step and a background fault determination step that determine a fault in the icon and the background portion in the cut-out icon image, respectively, based on the first correlation value calculated in the icon correlation calculation step and the second correlation value calculated in the background correlation calculation step.
[0024] In this way, the in-vehicle warning light fault diagnosis method determines whether an icon image has a fault based on correlation values calculated independently for the icon and background in the icon image, and because the correlation value for the background, which is prone to image quality degradation and hue changes due to noise generated in image processing, is calculated by comparing it with similar colors, the determination criteria for mitigating the effects of noise are easily adjusted. Therefore, the in-vehicle warning light fault diagnosis method can suppress erroneous fault determinations in which the icon image to be processed does not turn out to be the expected correct icon image, even if the image quality degradation and hue changes occur due to image processing.
[0025] Below, with reference to the drawings, an automotive warning light fault diagnosis device having a minimum configuration capable of achieving the objective will be described as a reference example, and then an automotive warning light fault diagnosis device that can more reliably achieve the objective will be described as an embodiment. Note that the reference example and embodiment described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component arrangement and connection forms, steps, step order, etc. shown in the reference example and embodiment are merely examples and are not intended to limit the scope of the claims.
[0026] 1 is a block diagram showing the configuration of an in-vehicle warning light fault diagnosis device 140 according to a reference example. Also shown is an in-vehicle image processing device 90 that generates a composite image including an icon image that is the target of fault diagnosis by the in-vehicle warning light fault diagnosis device 140.
[0027] The in-vehicle image processing device 90 includes a background image generator 100 that generates a background image, an icon image generator 110 that generates an icon image as a warning light, an image synthesizer 130 that generates a synthesized image by synthesizing the generated icon image with the background image, and a memory 120 that stores a correct icon image for reference.
[0028] The background image generator 100 is an in-vehicle camera or the like that captures a background image and transmits the captured background image line by line to the image synthesizer 130. Each image is composed of a plurality of pixels. Each pixel that makes up the background image is composed of a plurality of components such as RGB.
[0029] The icon image generator 110 generates an icon image for a warning light and transmits the generated icon image line by line to the image synthesizer 130. Each icon image is made up of a plurality of pixels. Each pixel constituting the icon image is made up of a plurality of components such as RGB.
[0030] The image synthesizer 130 synthesizes the background image and the icon image by superimposing the background image transmitted line by line from the background image generator 100 and the icon image transmitted line by line from the icon image generator 110. Each pixel constituting the synthesized image is made up of multiple components such as RGB. The image synthesizer 130 transmits the generated image line by line to a display (not shown) or the like.
[0031] In this embodiment, the memory 120 stores area information and correct images of each area indicated by the area information as a reference correct icon image. The area information is mapping data that indicates three types of areas in the icon image: the icon area, the background area, and the anti-aliased area located on the boundary between the icon area and the background area. The correct images for each of the three types of areas are a collection of pixels composed of multiple components such as RGB.
[0032] In this specification, an "icon image" is composed of an image of the icon region (this image is also simply referred to as an "icon"), an image of the background region (this image is also simply referred to as a "background portion"), and an image of the anti-aliased region (this image is also simply referred to as an "anti-aliased portion"). In addition, when all pixels in the region are composed of pixels of the same color, each of the correct image of the icon and the correct image of the background portion may be composed of only one color data that specifies that same color.
[0033] The automotive warning light fault diagnosis device 140 receives the composite image outputted from the image combiner 130 of the automotive image processing device 90 in units of lines. Each composite image is composed of a plurality of pixels. Each pixel constituting the composite image is composed of a plurality of components such as RGB.
[0034] When receiving the composite image line by line, the automotive warning light fault diagnosis device 140 acquires only the necessary area, for example, a block of 64 × 64 pixels. The automotive warning light fault diagnosis device 140 notifies the fault determination result from the icon image extracted by the icon image extractor 141 according to the icon correlation calculator 143 and the background correlation calculator 144.
[0035] Specifically, the automotive warning light fault diagnosis device 140 includes an icon image cutter 141 that cuts out an icon image from the composite image output from the image combiner 130, a correct icon area memory controller 142 that acquires and stores a reference correct icon image from the memory 120, an icon correlation calculator 143 that calculates a first correlation value between an icon in the icon image cut out by the icon image cutter 141 and an icon in the reference correct icon image stored in the correct icon area memory controller 142, and a background correlation calculator 144 that calculates a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color. For example, these components are electric circuits. More specifically, they may be realized by semiconductor logic circuits, processors that perform processing according to a program, or the like.
[0036] The icon image extractor 141 extracts an icon image from the data of each component constituting a pixel in the composite image output from the image combiner 130 in the target block. This extracts multiple pixels of the component corresponding to the target block. For example, a 64x64 pixel icon block is extracted as the target block, i.e., the icon image.
[0037] The correct icon area memory controller 142 reads out the correct icon image including the area information stored in the memory 120 in synchronization with the icon image extractor 141 and stores it in its internal memory, and based on the correct icon image including the area information, notifies the icon correlation calculator 143 and the background correlation calculator 144 of information regarding the icon area (information regarding the icon area and the correct image of the icon) and information regarding the background area (information regarding the background area and the correct image of the background part).
[0038] As a result, by obtaining information regarding the icon area and information regarding the background area, the icon correlation calculator 143 and the background correlation calculator 144 can respectively calculate the first correlation value and the second correlation value in real time for the icon and background included in the block to be processed (i.e., the icon image to be processed), thereby making a fault determination.
[0039] That is, the icon correlation calculator 143 calculates a first correlation value between an icon included in the extracted data of each component of the target block (i.e., the target icon image) and an icon in the correct icon image. More specifically, the icon correlation calculator 143 calculates the first correlation value between the correct icon image and the target block only for the icon area notified by the correct icon area memory controller 142, and notifies the determination result of the calculated first correlation value. The calculation of the first correlation value may be based on the difference between corresponding pixels in each component of the icon in the correct icon image and the icon included in the target block, in pixel units. A larger first correlation value indicates a higher correlation (higher degree of match). Furthermore, the determination may be based on whether the difference is equal to or greater than a first threshold. The determination result may also be notified for each frame.
[0040] Furthermore, the background correlation calculator 144 calculates a second correlation value between the background portion of the correct icon image and the background portion of the target block, with respect to the background portion included in the extracted data of each component of the target block (i.e., the target icon image). More specifically, the background correlation calculator 144 calculates the second correlation value between the correct icon image and the target block only for the background region notified by the correct icon area memory controller 142, and notifies the determination result of the calculated second correlation value. The second correlation value may be calculated based on the difference between the average values of the background regions of the correct icon image and the background region included in the target block, or may be calculated based on the difference between corresponding pixels on a pixel-by-pixel basis. A larger second correlation value indicates a higher correlation (higher degree of match). Furthermore, the determination may be based on whether the difference is equal to or greater than a second threshold. The determination result may be notified for each frame.
[0041] This allows a determination to be made as to whether the icon image to be processed is correct (i.e., whether it is faulty) according to the correct icon image.
[0042] Note that the correct image for the correct icon image may be a register setting value preset in the automotive warning light fault diagnosis device 140, instead of being read from the memory 120 to the correct icon area memory controller 142. For example, if the correct image of the icon is the same red icon for all pixels, setting values indicating R=255, G=0, and B=0 may be stored in the register of the correct icon area memory controller 142 or the icon correlation calculator 143 as the correct image of the icon and used to calculate the correlation value. Similarly, if the correct image of the background portion is, for example, a black background portion for all pixels, setting values indicating R=0, G=0, and B=0 may be stored in the register of the correct icon area memory controller 142 or the background correlation calculator 144 as the correct image of the background portion. In such a modified example, fault diagnosis is performed on data of each component in the processing target block according to the correct image of the icon and the correct image of the background portion stored in the correct icon area memory controller 142, etc.
[0043] 2A is a flowchart showing the operation of reading out a correct icon image by the automotive warning light fault diagnosis device 140 shown in Fig. 1. As a preprocessing step, a process of writing a reference correct icon image to the memory 120 is performed, and thereafter, the correct icon area memory controller 142 acquires and stores the reference correct icon image from the memory 120 (S100).
[0044] 2B is a flowchart showing the operation of determining a fault in an icon image by the automotive warning light fault diagnosis device 140 shown in FIG. 1. First, in the automotive image processing device 90, the image synthesizer 130 synthesizes an icon image and a background image (S101). Note that this synthesis process (S101) may or may not be performed on the input image to the automotive warning light fault diagnosis device 140. Thereafter, in the automotive warning light fault diagnosis device 140, the icon image cutter 141 cuts out icon images from the composite image output from the image synthesizer 130 in units of any 64 x 64 pixel processing target block (S102).
[0045] Based on the extracted icon image and information regarding the icon area of the correct icon image notified by the correct icon area memory controller 142, the icon correlation calculator 143 calculates, for each component, a first correlation value between the icon in the correct icon image and the icon contained in the data of that component in the block to be processed (i.e., the icon image to be processed) (S103).
[0046] In addition, based on the extracted icon image and information regarding the background area of the correct icon image notified by the correct icon area memory controller 142, the background correlation calculator 144 calculates, for each component, a second correlation value between the background portion in the correct icon image and the background portion contained in the data of that component in the block to be processed (i.e., the icon image to be processed) (S104).
[0047] Here, for each component, if there is no difference between the icon in the correct icon image of that component in the processing target block and the icon in the icon image to be processed (that is, the first correlation value is greater than the first threshold and the correlation is high) (No in S105), the icon correlation calculator 143 determines that the icon image to be processed is not faulty and terminates processing of that block. On the other hand, if there is a difference between the icon in the correct icon image and the icon in the icon image to be processed (that is, the first correlation value is within the first threshold and the correlation is low) (Yes in S105), the icon image to be processed is determined to be faulty, and the icon correlation calculator 143 notifies the result of the NG determination (S107).
[0048] In addition, for each component, if the background portion of the correct icon image of that component in the processing target block is no different from the background portion of the icon image being processed (that is, the second correlation value is greater than the second threshold and the correlation is high) (No in S106), the background correlation calculator 144 determines that the icon image being processed is not faulty, and ends processing of that block.On the other hand, if the background portion of the correct icon image is different from the background portion of the icon image being processed (that is, the second correlation value is within the second threshold and the correlation is low) (Yes in S106), the background correlation calculator 144 determines that the icon image being processed is faulty, and notifies the result of NG judgment (S107).
[0049] As a result, it is determined that the icon and background of the target block are normal according to the correct icon image. The automotive warning light fault diagnosis device 140 calculates a first correlation value (S103), calculates a second correlation value (S104), and notifies the result of NG determination (S107) for each of the multiple components that make up a pixel.
[0050] FIG. 3A shows an example of a correct icon image stored in the correct icon area memory controller 142 in the reference example and the embodiment described below. The correct icon area memory controller 142 determines (i.e., reserves and prepares) the icon area memory for storing area information based on the size of the correct icon image. Specifically, the icon area is a block consisting of 64 x 64 pieces of information, but the block size can be varied as desired. Furthermore, if there are multiple correct icons to be displayed, the required number of icon areas can be determined. As shown in FIG. 3B, the icon area memory stores parameters for distinguishing three types of area information: the icon area, the background area, and the anti-aliased area. This allows for three types of area determination by using only two bits to distinguish between the three types, rather than eight bits of information, as the area information of the correct icon image, thereby shortening processing time and reducing memory capacity. The correct images of the icon area and background area are stored separately from the area information in the correct icon area memory controller 142, or the icon correlation calculator 143 and the background correlation calculator 144.
[0051] 3B is a conceptual diagram showing parameters allocated to the icon area memory based on the correct icon image of FIG. 3A in the reference example and the embodiments described below. As shown in the figure, the icon area is a 64 x 64 pixel area having information indicating one of three types, more specifically, information indicating an icon area, a background area, or an anti-aliased area. The correct icon area memory controller 142 references the area information and notifies the icon correlation calculator 143 of the icon area, thereby causing the icon correlation calculator 143 to check whether there is a difference between the correct icon image and the icon image to be processed in the icon area of each component in the block to be processed.
[0052] In addition, the correct icon area memory controller 142 refers to the area information and notifies the background correlation calculator 144 of the background area, thereby checking whether there is a difference between the correct icon image and the icon image to be processed in the background area of each component in the block to be processed.
[0053] In the example shown in Figure 3B, the area information specifically contains 64 x 64 pieces of information, but the size can be changed as desired, and if there are multiple correct icon images, the required number of area information may be prepared.
[0054] FIG. 4A is a conceptual diagram showing an example of a correct icon image before image processing of a text information image in a reference example and an embodiment to be described later.
[0055] 4B is a conceptual diagram showing, as an example of image processing in the reference example and the embodiments described below, mosquito noise caused by quantization error when image compression is performed on the correct icon image shown in FIG. 4A. In the encoding process for compressing the image and the decoding process for decompressing it, frequency transform, quantization, inverse quantization, and inverse frequency transform are performed. Specifically, frequency transform and quantization are performed in the image encoding process, and inverse quantization and inverse frequency transform are performed in the image decoding process. Here, an example is shown in which frequency transform, quantization, inverse quantization, and inverse frequency transform are performed on a 16x16 pixel block of the image.
[0056] In blocks of an image after image compression and decompression, quantization errors can cause mosquito noise, which can degrade image quality. Mosquito noise is particularly noticeable in flat areas around edges.
[0057] Fig. 4C shows, for a 16x16 pixel block of an image, information on the difference between the correct icon image before image processing shown in Fig. 4A and the image after image processing shown in Fig. 4B in a reference example and an embodiment described below. As can be seen from the values shown in Fig. 4C, as mentioned above, image processing tends to cause mosquito noise, resulting in deterioration of image quality and increasing the difference between Fig. 4A and Fig. 4B. In particular, the background of the icon image is large and prone to mosquito noise.
[0058] 4D is a diagram showing the maximum values of positive and negative differences (maximum pixel difference (+) and maximum pixel difference (−)) in the entire area (all regions), icon region, and background region for the 16×16 pixel block of FIG. 4C in a reference example and an embodiment described later. As can be seen from FIG. 4D , if image processing has been performed in advance on the icon image to be processed, that image processing may result in a fault diagnosis of the icon image to be processed being performed based on a correct icon image that is different from the expected correct icon image shown in FIG. 4A , which may result in an unexpected erroneous fault diagnosis.
[0059] As described above, in the automotive warning light fault diagnosis device 140 according to the reference example, a fault in an icon image is determined based on a correlation value calculated independently for the icon and background in the icon image. Therefore, by adjusting the determination criteria to mitigate the effects of noise, it is possible to suppress, to a certain extent, erroneous fault determinations that do not result in the expected correct icon image, even if the image quality and hue of the icon image being processed are deteriorated by image processing and the hue is changed. However, it may not be possible to say that this can be sufficiently suppressed.
[0060] Therefore, below, we will explain an embodiment of an automotive warning light fault diagnosis device that can reliably suppress erroneous fault determination of an icon image as a warning light, even if image processing results in deterioration of the image quality and change in hue of the icon image being processed.
[0061] 5 is a block diagram showing the configuration of an automotive warning light fault diagnosis device 240 according to the embodiment. Also shown here is an in-vehicle image processing device 90 that generates a composite image including an icon image that is the target of fault diagnosis by the automotive warning light fault diagnosis device 240. The automotive warning light fault diagnosis device 240 shown in FIG. 5 has a configuration in which an icon fault determiner 245 and a background fault determiner 246 are added to the components included in the automotive warning light fault diagnosis device 140 according to the reference example. Hereinafter, the same components as those in the automotive warning light fault diagnosis device 140 according to the reference example are denoted by the same reference numerals, and their description will be omitted or simplified. The following description will focus on the differences from the automotive warning light fault diagnosis device 140 according to the reference example.
[0062] In this embodiment, the correct image for the background of an icon image is composed of a collection of pixels that represent predetermined similar colors that have the same hue but different lightness or saturation. This correct image for the background is read from memory 120 to the correct icon area memory controller 142, or is previously stored in the correct icon area memory controller 142 and used to calculate the second correlation value in the background correlation calculator 144. In other words, the determination by the background correlation calculator 144 calculates the second correlation value between the background of the icon image to be processed and the predetermined similar color.
[0063] The icon failure determiner 245 determines whether the first correlation value calculated pixel by pixel by the icon correlation calculator 143 is within a first threshold value and thus indicates a low correlation (i.e., whether the degree of match between the icon of the icon image and the correct icon image is low), and further determines whether the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than a first predetermined number. If it determines that the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than the first predetermined number, it provisionally determines that the icon image may be malfunctioning and is therefore NG. The first predetermined value is, for example, a value obtained by multiplying the number of pixels constituting the icon area by a fixed ratio. The first threshold value is also variable.
[0064] Here, when the composite image is a moving image, the icon failure determiner 245 determines, for each frame included in the composite image, whether or not the number of pixels whose first correlation value is determined to be within a first threshold and thus has low correlation is equal to or greater than a first predetermined number, and if the number of frames whose first correlation value is determined to be within the first threshold and thus has been provisionally determined to be NG occurs for a first predetermined number of consecutive frames, the icon failure determiner 245 determines as a final result that the icon image is faulty. The first predetermined number of frames is a variable value.
[0065] The background fault determiner 246 determines whether the second correlation value calculated on a pixel-by-pixel basis by the background correlation calculator 144 is within a second threshold and thus has a low correlation (i.e., the degree of match between the background portion of the icon image and the correct icon image is low), and further determines whether the number of pixels for which the second correlation value is determined to be within the second threshold is equal to or greater than a second predetermined number. If it determines that the number of pixels for which the second correlation value is determined to be within the second threshold is equal to or greater than the second predetermined number, it provisionally determines that the icon image may be faulty and is therefore NG. The second predetermined value is, for example, a value obtained by multiplying the number of pixels constituting the background region by a fixed ratio. The second threshold is also a variable value.
[0066] Here, if the composite image is a moving image, the background fault determiner 246 determines for each frame included in the composite image whether or not the number of pixels whose second correlation value is determined to be within the second threshold and whose correlation is determined to be low is equal to or greater than a second predetermined number, and if the number of consecutive frames for which the number of pixels whose second correlation value is determined to be within the second threshold and that are provisionally determined to be NG occurs for the second predetermined number of frames, the background fault determiner 246 determines as a final result that the icon image is faulty. The second predetermined number of frames is a variable value.
[0067] In this way, when a frame based on the first correlation value calculated by the icon correlation calculator 143 is provisionally judged as NG (i.e., it is judged that the number of pixels in the frame whose first correlation value is judged to be within the first threshold value is a first predetermined number or more), the icon failure determiner 245 counts how many consecutive frames have been provisionally judged as NG, has a threshold for the number of judged frames (i.e., a first predetermined number of frames), and when this threshold is exceeded, notifies the final result that the icon image (strictly speaking, the icon of the icon image) is judged to be faulty.
[0068] Furthermore, when a frame based on the second correlation value calculated by the background correlation calculator 144 is provisionally judged as NG (i.e., when it is judged that the number of pixels in the frame whose second correlation value is judged to be within the second threshold value is a second predetermined number or more), the background fault determiner 246 counts how many consecutive frames have been provisionally judged as NG, has a threshold for the number of judged frames (i.e., a second predetermined number of frames), and when this threshold is exceeded, notifies the final result that the icon image (strictly speaking, the background part of the icon image) is faulty.
[0069] As a result, it is determined whether the icon image to be processed is correct or not according to the correct icon image.
[0070] More specifically, the icon failure determiner 245 and the background failure determiner 246 are realized by a semiconductor logic circuit, a processor that performs processing according to a program, or the like.
[0071] 6 is a flowchart showing the operation of the automotive warning light fault diagnosis device 240 shown in FIG. First, in the automotive image processing device 90, the image synthesizer 130 synthesizes an icon image and a background image (S201). Note that this synthesis process (S201) may or may not be performed on the input image to the automotive warning light fault diagnosis device 240. After that, a frame-by-frame loop process (S202a to S202b) is started. First, in the automotive warning light fault diagnosis device 240, the icon image extractor 141 extracts icon images from the composite image output from the image synthesizer 130 in units of any 64×64 pixel processing target block (S202).
[0072] Next, loop processing (S203a to S203b) is started for each pixel in the icon area, and for each pixel, based on the extracted icon image and information about the icon area of the correct icon image notified by the correct icon area memory controller 142, the icon correlation calculator 143 repeatedly calculates, for each component, the first correlation value between the icon included in the data of that component in the block to be processed (i.e., the icon image to be processed) and the icon in the correct icon image (S203).
[0073] At the same time, loop processing (S204a to S204b) is started for each pixel in the background area, and for each pixel, based on the extracted icon image and information regarding the background area of the correct icon image notified by the correct icon area memory controller 142, the background correlation calculator 144 repeatedly calculates, for each component, the second correlation value between the background portion in the correct icon image and the background portion contained in the data of that component in the block to be processed (i.e., the icon image to be processed) (S204).
[0074] Here, based on the first correlation value calculated by the icon correlation calculator 143, if there is no difference of N pixels or more between the icon of the correct icon image of that component in the block to be processed and the icon of the icon image to be processed for each component (i.e., the number of pixels in the frame for which the first correlation value is determined to be within the first threshold value is not more than a first predetermined number) (No in S205), the icon failure determiner 245 determines that the icon image to be processed is not faulty, and processing of the block to be processed is terminated.
[0075] On the other hand, if a provisional NG judgment is made that there is a difference of N or more pixels between the correct icon image and the icon of the icon image to be processed (i.e., the number of pixels in the frame for which the first correlation value is determined to be within the first threshold is a first predetermined number or more) (Yes in S205), and if the provisional NG judgment is made for N or more consecutive frames between the correct icon image and the icon of the icon image to be processed (i.e., the first predetermined number of consecutive frames for which the provisional NG judgment is made) (Yes in S209), the icon failure determiner 245 determines that the icon image to be processed is faulty and notifies the result of the NG judgment as the final result (S211). On the other hand, if there are not N or more consecutive provisional NG judgments between the correct icon image and the icon of the icon image to be processed (No in S209), the icon failure determiner 245 determines that the icon image to be processed is not faulty as the final result, and continues checking the icon image of the next frame (S202a to S202b).
[0076] In addition, based on the second correlation value calculated by the background correlation calculator 144, if there is no difference of N pixels or more between the background part of the correct icon image of that component in the processing target block and the background part of the icon image to be processed for each component (i.e., the number of pixels in the frame for which the second correlation value is determined to be within the second threshold value is not more than a second predetermined number) (No in S206), the background fault determiner 246 determines that the icon image to be processed is not faulty, and processing of that block to be processed is terminated.
[0077] On the other hand, if a provisional NG judgment is made that there is a difference of N or more pixels between the background of the correct icon image and the background of the icon image to be processed (i.e., the number of pixels in the frame for which the second correlation value is determined to be within the second threshold is a second predetermined number or more) (Yes in S206), and if the background of the correct icon image and the background of the icon image to be processed have had provisional NG judgments for N or more consecutive frames (i.e., the second predetermined number of consecutive frames have had provisional NG judgments) (Yes in S210), the background failure determiner 246 determines that the icon image to be processed has a malfunction and notifies the final result of the NG judgment (S211). On the other hand, if there have not been N or more consecutive provisional NG judgments between the background of the correct icon image and the background of the icon image to be processed (No in S210), the background failure determiner 246 determines that the icon image to be processed has no malfunction, and continues checking the icon image of the next frame (S202a to S202b).
[0078] In this way, according to the automotive warning light fault diagnosis device 240 of this embodiment, for the icon image to be processed, the first correlation value and the second correlation value with the correct icon image are calculated for each frame for the icon and background portion, and if a provisional NG judgment is made that the number of pixels for which the first correlation value and the second correlation value are determined to be within the first threshold value and the second threshold value, respectively, is equal to or greater than a first predetermined number and a second predetermined number, it is further determined whether the provisional NG judgment continues for a first predetermined number of frames and a second predetermined number of frames, respectively, and if so, it is determined that the icon image is faulty.
[0079] Therefore, even if image processing such as compression and expansion causes deterioration in image quality and changes in hue of the icon image being processed, the effects of random noise such as mosquito noise can be removed by using a two-stage filter process that allows for noise: threshold judgment using correlation values and threshold judgment using the number of consecutive frames, and fault determination of the icon image can be accurately performed.
[0080] The icon failure determiner 245 can change the first threshold, the first predetermined number, and the first predetermined number of frames used for failure determination. For example, when the icon image to be processed has undergone encoding processing for compression and decoding processing for expansion, the icon failure determiner 245 may obtain information on the compression rate from a decoding processing unit or the like, and predict that the higher the obtained compression rate, the greater the amount of noise, and adjust at least one of the first threshold, the first predetermined number, and the first predetermined number of frames to be larger.
[0081] Similarly, the background fault determiner 246 can change the second threshold, the second predetermined number, and the second predetermined number of frames used for fault determination. For example, when the icon image to be processed has undergone encoding processing for compression and decoding processing for expansion, the background fault determiner 246 may obtain information on the compression rate from a decoding processing unit or the like, and predict that the higher the obtained compression rate, the greater the amount of noise, and adjust at least one of the second threshold, the second predetermined number, and the second predetermined number of frames to be larger.
[0082] Although the aspects of the in-vehicle warning light fault diagnosis device according to the present disclosure have been described above in accordance with the reference examples and embodiments, the aspects of the in-vehicle warning light fault diagnosis 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.
[0083] For example, in the above embodiment, the background portion of the correct icon image is composed of a collection of pixels showing a predetermined similar color, and the background correlation calculator 144 calculates the second correlation value with the background portion of the icon image to be processed pixel by pixel. However, the calculation is not limited to this. For example, the background portion of the correct icon image may be the same single color for all pixels in the background region, and the average value within the background region for each color component may be calculated for the background portion of the icon image to be processed. A second correlation value showing a high correlation value may be calculated when the correct single color and the background color of the icon image to be processed represented by the average value are similar colors. In this way, a fault diagnosis of the icon image to be processed is performed depending on whether the background portion is similar in color to the correct image.
[0084] Furthermore, in the above embodiment, a provisional NG judgment was made when there was a difference of N pixels or more between the background portion of the correct icon image and the background portion of the icon image to be processed (i.e., when the first correlation value is within the first threshold and the correlation is low), but conversely, a provisional NG judgment may be made when there is no difference of N pixels or more between the background portion of the correct icon image and the background portion of the icon image to be processed (i.e., when the first correlation value is equal to or greater than the first threshold and the correlation is high). As a result, if the failure pattern of the background portion (for example, all pixels are white) is known in advance, by setting an image of the known failure pattern as the background portion of the correct icon image, it is possible to determine that a failure has occurred if the correlation with such a failure pattern is high.
[0085] Furthermore, in the above embodiment, two-stage filtering is performed on the icon and background of the target icon image, namely, threshold judgment using a correlation value and threshold judgment using the number of consecutive frames. However, two-stage filtering is not necessarily required. A fault determination may be made as a final result using only one-stage filtering (i.e., threshold judgment using a correlation value). This allows the determination method according to this embodiment to be applied even when the icon image is a still image.
[0086] Furthermore, in the above embodiment, if a predetermined condition is not met for at least one of the icon and background of the icon image to be processed, the icon image is determined to be faulty. However, the determination conditions are not limited to such conditions, and for example, the icon image may be determined to be faulty only if a predetermined condition is not met for both the icon and background of the icon image to be processed.
[0087] Furthermore, the processing performed by a specific component in the embodiments may be performed by another component instead of the specific component. 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 automotive warning light fault diagnosis method including the steps performed by each component of the automotive warning light fault diagnosis device may be executed by any device or system. For example, part or all of the automotive warning light fault diagnosis method may be executed by a computer including a processor, a memory, an input / output circuit, etc. In this case, the automotive warning light fault diagnosis method may be executed by the computer executing a program for causing the computer to execute the automotive warning light fault diagnosis 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 automotive warning light fault diagnosis device 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 that stores the programs 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, a dedicated processor, etc. For example, the dedicated processor may execute the above-described automotive warning light fault diagnosis method by referring to a memory for recording data.
[0092] Each component of the automotive warning light fault diagnosis device 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 program, etc.
[0093] The in-vehicle warning light fault diagnosis device according to the present disclosure is useful, for example, as an in-vehicle warning light fault diagnosis device that diagnoses faults in icon images generated by an in-vehicle image processing device that uses image processing such as compression and expansion, and is applicable to in-vehicle image processing systems, etc.
[0094] 90 In-vehicle image processing device 100 Background image generator 110 Icon image generator 120 Memory 130 Image synthesizer 140, 240 In-vehicle warning light fault diagnosis device 141 Icon image extractor 142 Correct icon area memory controller 143 Icon correlation calculator 144 Background correlation calculator 245 Icon fault determiner 246 Background fault determiner
Claims
1. An in-vehicle warning light fault diagnosis device for diagnosing faults in an icon image generated by an in-vehicle image processing device comprising: a background image generator for generating a background image, an icon image generator for generating an icon image as a warning light, and an image synthesizer for generating a composite image by synthesizing the generated icon image with a background image, the in-vehicle warning light fault diagnosis device comprising: a correct icon area memory controller for acquiring and storing a reference correct icon image; an icon image cutout device for cutout an icon image from the composite image output from the image synthesizer; an icon correlation calculator for calculating a first correlation value between an icon in the icon image cut out by the icon image cutout device and an icon in the reference correct icon image stored in the correct icon area memory controller; a background correlation calculator for calculating a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon fault determiner and a background fault determiner for respectively determining faults in the icon and background portion of the cut-out icon image based on the first correlation value calculated by the icon correlation calculator and the second correlation value calculated by the background correlation calculator.
2. The automotive warning light fault diagnosis device according to claim 1, wherein the reference correct icon image includes, as area information, an icon region, a background region, and an anti-aliased region located on the boundary between the icon region and the background region, the icon correlation calculator calculates the first correlation value for the icon region of the correct icon image, and the background correlation calculator calculates the second correlation value for the background region of the correct icon image.
3. The automotive warning light fault diagnosis device according to claim 1, wherein the icon fault determiner determines whether the first correlation value calculated on a pixel-by-pixel basis by the icon correlation calculator is within a first threshold value and has a low correlation, and further determines whether the number of pixels for which the first correlation value is determined to be within the first threshold value is a first predetermined number or more, and determines that there is a possibility that the icon image is faulty if it determines that the number of pixels for which the first correlation value is determined to be within the first threshold value is the first predetermined number or more.
4. The vehicle warning light fault diagnosis device according to claim 3, wherein the first threshold value is a variable value.
5. The automotive warning light fault diagnosis device according to claim 1, wherein the background fault determiner determines whether the second correlation value calculated on a pixel-by-pixel basis by the background correlation calculator is within a second threshold value and has a low correlation, and further determines whether the number of pixels for which the second correlation value is determined to be within the second threshold value is a second predetermined number or more, and determines that there is a possibility that the icon image is faulty if it determines that the number of pixels for which the second correlation value is determined to be within the second threshold value is the second predetermined number or more.
6. The vehicle warning light fault diagnosis device according to claim 5, wherein the second threshold value is a variable value.
7. The automotive warning light fault diagnosis device according to claim 3, wherein the composite image is a moving image, and the icon fault determiner determines, for each frame included in the composite image, whether or not the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than the first predetermined number, and determines that the icon image is faulty when the number of frames for which the number of pixels for which the first correlation value is determined to be within the first threshold value is equal to or greater than the first predetermined number of frames continues to be equal to or greater than the first predetermined number.
8. The vehicle warning light fault diagnosis device according to claim 7, wherein the first predetermined number of frames is a variable value.
9. The automotive warning light fault diagnosis device as described in claim 5, wherein the composite image is a moving image, and the background fault determiner determines, for each frame included in the composite image, whether or not the number of pixels whose second correlation value is determined to be within the second threshold value is equal to or greater than the second predetermined number, and determines that the icon image is faulty when the number of frames whose second correlation value is determined to be within the second threshold value is equal to or greater than the second predetermined number of frames continues.
10. The vehicle warning light fault diagnosis device according to claim 9, wherein the second predetermined number of frames is a variable value.
11. A fault diagnosis method for an in-vehicle warning light for diagnosing a fault in an icon image generated by an in-vehicle image processing device equipped with a background image generator for generating a background image, an icon image generator for generating an icon image as a warning light, and an image synthesizer for generating a composite image by synthesizing the generated icon image with a background image, the method comprising: a correct icon area memory control step for acquiring and storing a reference correct icon image; an icon image cutting out step for cutting out an icon image from the composite image output from the image synthesizer; an icon correlation calculation step for calculating a first correlation value between an icon in the icon image cut out by the icon image cutting out step and an icon in the reference correct icon image stored in the correct icon area memory control step; a background correlation calculation step for calculating a second correlation value between a background portion other than the icon in the cut-out icon image and a predetermined similar color; and an icon fault determination step and a background fault determination step for determining a fault in the icon and the background portion of the cut-out icon image, respectively, based on the first correlation value calculated in the icon correlation calculation step and the second correlation value calculated in the background correlation calculation step.
Citation Information
Patent Citations
Image display device
JP2021051175A
Circuit arrangement, electronic apparatus, and error detection method
JP2022037952A
Display driver, electronic apparatus, and moving object
JP2022069826A
Multi-information display software switch strategy
US20180059905A1
Vehicle display
WO2008076914A1
Cited By
Image failure diagnostic device and image failure diagnostic method
WO2026225563A1
