Video image processing device and display system

The video processing device addresses the issue of reduced data transfer rate by embedding frame numbers and CRC codes in data blocks, enabling effective image fixation detection without performance loss.

JP2024121714APending Publication Date: 2024-09-06LAPIS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023028964
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing video processing devices detect image fixation by adding frame numbers to video data, which results in a decrease in data transfer rate.

Method used

A video processing device that generates and embeds frame numbers and CRC codes within data blocks, allowing for detection of image fixation while maintaining data transfer efficiency by writing and reading data in frame order and performing error detection using CRC codes.

Benefits of technology

Detects image fixation without reducing data transfer rate by embedding frame numbers and CRC codes, ensuring efficient video processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024121714000001
    Figure 2024121714000001
Patent Text Reader

Abstract

To obtain a video image processing device and a display system, capable of detecting a video image fastening while suppressing deterioration of a data transfer rate.SOLUTION: A video image processing device expresses a frame to which a video image data belongs, and generates a frame number in which a value is changed to continuous frames. In each data block of a size to be previously defined to a video image data, the frame number is embedded into one pat of a data block. The video image data is written into a memory in a data block unit in order of the frame. The data block written into the memory is sequentially read, and an abnormal determination signal indicating a video image fastening is generated in the case where a state where the frame number in the data block to be read at the time is not changed from the frame number in the data block to be read at the previous time is continued at a predetermined times or more.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a video processing device and a display system. [Background technology]

[0002] In a display system, the image displayed on the display may become frozen. A frozen image occurs when, even though the display is driven based on a video signal representing a moving image, the image displayed does not represent the moving image represented by the video signal, but instead the same frame of image is repeatedly displayed, resulting in a still image. There are various causes for frozen images, including, for example, an abnormal operation of the image source such as a camera, and an abnormal operation of the graphics generation unit that generates the image data.

[0003] As a technique for detecting image freeze, Patent Document 1 discloses an image processing device that adds frame numbers to sequentially supplied image data and generates an abnormality determination signal indicative of image freeze based on the frame numbers. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2022-077197 A Summary of the Invention [Problem to be solved by the invention]

[0005] The technique described in Patent Document 1 has a problem in that the data transfer rate decreases because frame numbers are added to video data.

[0006] The present disclosure has been made in consideration of the above circumstances, and has an object to provide a video processing device and a display system that are capable of detecting video freeze while suppressing a decrease in data transfer rate. [Means for solving the problem]

[0007] The video processing device of the disclosed technology includes a generation unit that generates a frame number that indicates a frame to which video data belongs and whose value changes between consecutive frames; an embedding unit that embeds the frame number into a part of each data block of a predetermined size in the video data; a writing unit that writes the video data to a memory in data block units in frame order; a reading unit that sequentially reads out the data blocks written to the memory; and a judgment unit that generates an abnormality judgment signal indicative of video fixation if the frame number in the data block currently read by the reading unit remains unchanged from the frame number in the data block read previously for a predetermined number of times or more. Effect of the Invention

[0008] According to the present disclosure, it is possible to detect video freeze while suppressing a decrease in the data transfer rate. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing an example of a configuration of a display system. [Diagram 2] FIG. 2 is a block diagram showing an example of a functional configuration of a video processing device. [Diagram 3] 11 is a diagram for explaining a process of embedding a frame number and a CRC code. FIG. [Figure 4] FIG. 11 is a diagram for explaining an interpolation process. [Diagram 5] 13A and 13B are diagrams for explaining an interpolation process according to a modified example. [Figure 6] 13 is a flowchart illustrating an example of a video fixation detection process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, examples of embodiments for carrying out the technology of the present disclosure will be described in detail with reference to the drawings.

[0011] First, the configuration of a display system 10 according to this embodiment will be described with reference to Fig. 1. As shown in Fig. 1, the display system 10 includes a graphics generation unit 11, a video processing device 12, a frame memory 13, a display device 14, and an MCU (Micro Controller Unit) 15. The display system 10 is mounted on, for example, a vehicle.

[0012] The graphics generation unit 11 is connected to a video processing device 12. The video processing device 12 is connected to a frame memory 13 and a display device 14. The MCU 15 is connected to the graphics generation unit 11, the video processing device 12, and the frame memory 13.

[0013] The graphics generation unit 11 generates video data that graphically represents information such as navigation information required for vehicle travel. The graphics generation unit 11 sequentially supplies the video data of each frame to the video processing device 12 in frame order. The video data here refers to the image data of each frame.

[0014] The video processing device 12 includes a processor 20. An example of the processor 20 is a programmable logic device (PLD) whose circuit configuration can be changed after manufacture, such as a field programmable gate array (FPGA). The processor 20 may be a central processing unit (CPU) that is a general-purpose processor that executes software (programs). The processor 20 may also be a combination of two or more processors of the same type or different types.

[0015] The video processing device 12 acquires video data sequentially supplied from the graphics generation unit 11, divides the video data into data blocks of a predetermined size, and writes each data block to the frame memory 13. The video processing device 12 then sequentially reads out the data blocks written to the frame memory 13. The video processing device 12 is capable of changing the read frequency relative to the write frequency. The video processing device 12 performs burst transfer when writing data blocks to the frame memory 13 and when reading data blocks from the frame memory 13.

[0016] The frame memory 13 includes a RAM (Random Access Memory) having multiple storage areas so that data blocks of video data for multiple frames can be stored. The frame memory 13 is an example of a memory according to the disclosed technology.

[0017] The display device 14 includes a display (not shown), and is a device that displays an image based on the image data input from the image processing device 12 on the display.

[0018] The MCU 15 is a control unit that controls the entire display system 10. The contents of control by the MCU 15 include, for example, control of the operation timing of the graphics generation unit 11, the video processing device 12, and the display device 14, and the like.

[0019] The video processing device 12 has a function of detecting video fixation. A functional configuration of the video processing device 12 according to this embodiment will be described with reference to Fig. 2. As shown in Fig. 2, the video processing device 12 includes a number generating unit 40, an embedding unit 42, a writing unit 44, a timing controller 46, a reading unit 48, a determining unit 50, and an interpolating unit 52. The processor 20 executes preset logic to function as the number generating unit 40, the embedding unit 42, the writing unit 44, the timing controller 46, the reading unit 48, the determining unit 50, and the interpolating unit 52.

[0020] The number generator 40 generates frame numbers which indicate the frames to which the video data sequentially supplied from the graphics generator 11 belongs and whose values ​​change between successive frames. The number generator 40 assigns the same frame number to video data of the same frame and assigns a frame number incremented by +1 to video data of the frame following one frame.

[0021] The embedding unit 42 embeds the frame number generated by the number generating unit 40 into a part of each data block of a predetermined size in the video data. The embedding unit 42 also generates a CRC (Cyclic Redundancy Check) code using the data block, the frame number, and the address of the write destination frame memory 13, and embeds the CRC code in addition to the frame number for each data block.

[0022] The embedding process of the frame number and CRC code by the embedding unit 42 will be described in detail with reference to Fig. 3. Here, an example will be described in which the resolution of one frame of video data is 1920 pixels x 1080 pixels, the size of a data block is 128 bytes, the size of one pixel is 16 bits, the size of the frame number is 8 bits, and the size of the CRC code is 8 bits. That is, in the example of Fig. 3, one data block consists of 64 (=128 [byte] x 8 ÷ 16 [bit]) pixels.

[0023] As shown in FIG. 3, the writing unit 44, which will be described later, sequentially writes 128-byte data blocks from the upper left to the lower right of the video data by burst transfer to the frame memory 13. For each data block, the embedding unit 42 embeds a frame number and a CRC code. The embedding unit 42 embeds a bit string representing the frame number and the CRC code one bit at a time at equal pixel intervals into a plurality of pixels constituting the data block. In the example of FIG. 3, one data block is 64 pixels, and the frame number and the CRC code are 16 bits, so that one bit constituting the frame number or the CRC code is embedded in the pixel at three pixel intervals. At this time, the embedding unit 42 embeds the one bit by replacing the first bit of the pixel with the one bit constituting the frame number or the CRC code. The embedding unit 42 may embed the one bit constituting the frame number or the CRC code in a bit other than the first bit of the pixel.

[0024] The writing unit 44 writes the video data in data block units in frame order to the frame memory 13. The data blocks written to the frame memory 13 by the writing unit 44 are data blocks in which the frame number and CRC code have been embedded by the embedding unit 42. When the writing unit 44 completes writing one data block to one storage area of ​​the frame memory 13, it starts writing the next data block to another storage area of ​​the frame memory 13.

[0025] The timing controller 46 controls the timing at which the reading unit 48 reads the data blocks.

[0026] The reading unit 48 sequentially reads out the data blocks written to the frame memory 13 by the writing unit 44 .

[0027] The determination unit 50 extracts the frame number and the CRC code from the data block read by the read unit 48. The frame number and the CRC code are embedded in predetermined pixels at equal pixel intervals, for example, the first pixel, the fifth pixel, the ninth pixel, .... The frame number and the CRC code are also embedded in the first bit of the pixel. Therefore, the determination unit 50 can extract the frame number and the CRC code by extracting the first bit of the pixel in a predetermined order of the data block.

[0028] Next, the determination unit 50 determines whether or not a state in which the frame number in the data block currently read by the reading unit 48 does not change from the frame number in the data block previously read continues for a predetermined number of times or more. Furthermore, the determination unit 50 performs error detection based on the CRC code in the data block read by the reading unit 48. If a state in which the frame number in the data block currently read by the reading unit 48 does not change from the frame number in the data block previously read continues for a predetermined number of times or more and an error is detected based on the CRC code, the determination unit 50 detects video fixation. In this case, the determination unit 50 generates an abnormality determination signal indicative of video fixation and outputs the generated abnormality determination signal to the MCU 15.

[0029] The interpolation unit 52 interpolates the pixel value of a pixel in which the frame number and the CRC code are embedded in the data block read from the frame memory 13 by the readout unit 48, using the pixel values ​​of the pixels surrounding the pixel. In this embodiment, the interpolation unit 52 interpolates so that the pixel value of the pixel in which the frame number and the CRC code are embedded approaches the pixel values ​​of two adjacent pixels in the same data block as the pixel. The details of the interpolation process by the interpolation unit 52 will be described with reference to FIG. 4. D1 to D5 in FIG. 4 indicate the pixel values ​​of each pixel. Also, FIG. 4 shows an example in which a pixel with a pixel value of D3 is a pixel in which one bit of the bit string constituting the frame number and the bit string constituting the CRC code is embedded, that is, the pixel to be interpolated. Also, "D3 (bit[0]=0)" in FIG. 4 represents the pixel value D3 when the first bit is replaced with 0. As described above, this first bit is one bit of the bit string constituting the frame number and the bit string constituting the CRC code.

[0030] 4, when the average value of pixel values ​​D2 and D4 of two pixels adjacent to the pixel to be interpolated exceeds the pixel value D3 obtained when the leading bit is replaced with 0, the interpolation unit 52 replaces the leading bit of the pixel value D3 with 0. On the other hand, when the average value of pixel values ​​D2 and D4 of two pixels adjacent to the pixel to be interpolated is equal to or less than the pixel value D3 obtained when the leading bit is replaced with 0, the interpolation unit 52 replaces the leading bit of the pixel value D3 with 1. This makes the brightness of the pixel to be interpolated closer to the brightness of the two adjacent pixels.

[0031] The interpolation unit 52 may perform interpolation using a plurality of data blocks. Details of the interpolation process by the interpolation unit 52 in this embodiment will be described with reference to Fig. 5. Here, it is assumed that three or more rows of video data are read out by the readout unit 48. It is also assumed here that pixel A shown in Fig. 5 is the pixel to be interpolated. The blackened pixels in Fig. 5 indicate pixels in which a frame number or a CRC code is embedded.

[0032] As shown in Fig. 5, the interpolation unit 52 shifts the row above and the row below the pixel to be interpolated by two pixels so that there is no pixel with an embedded frame number or CRC code among the eight pixels adjacent to the pixel to be interpolated on the top, bottom, left, and right sides. After that, the interpolation unit 52 calculates the average value of the pixel value of the pixel to be interpolated and the pixel values ​​of the pixels surrounding the pixel to be interpolated. Then, the interpolation unit 52 replaces the pixel value of the pixel to be interpolated with the calculated average value. This brings the brightness of the pixel to be interpolated closer to that of the surrounding pixels.

[0033] Next, with reference to FIG. 6, a flow of operations of the determination unit 50 and the interpolation unit 52 when the video processing device 12 does not perform frame rate conversion, that is, when the writing frequency and the reading frequency for the frame memory 13 are the same, will be described.

[0034] 6, the determination unit 50 extracts the frame number and the CRC code from the read data block each time the reading unit 48 reads out a data block. The determination unit 50 then sets the extracted frame number as the new current frame number, and sets the previous current frame number as the previous frame number.

[0035] In step S12, the determination unit 50 determines whether the current frame number is +1 from the previous frame number. If this determination is positive, the process proceeds to step S14. In step S14, a same frame counter, which is a counter for counting the number of consecutive data blocks of the same frame, is cleared. The same frame counter is a counter that counts up by 1, and may be realized by either hardware or software.

[0036] In step S16, as described above, the interpolation unit 52 interpolates the pixel value of the pixel in which the frame number and CRC code are embedded in the data block read from the frame memory 13 by the reading unit 48, using the pixel values ​​of the pixels surrounding that pixel. The interpolation unit 52 outputs the data block that has been subjected to the interpolation process to the display device 14. The display device 14 displays an image based on the image data input from the image processing device 12 on a display.

[0037] On the other hand, if the determination in step S12 is a negative determination, the process proceeds to step S18. In step S18, the determination unit 50 determines whether or not the current frame number is the same as the previous frame number. If this determination is a positive determination, the process proceeds to step S20, and if this determination is a negative determination, the process proceeds to step S24. In step S20, the determination unit 50 counts up the same frame counter.

[0038] In step S22, the determination unit 50 determines whether the same frame counter is equal to or greater than n, thereby determining whether the state in which the current frame number does not change from the previous frame number has continued for n times or more. Here, n is a positive integer, which is the number of video data constituting one frame. When the write frequency and the read frequency are the same, if writing and reading are performed normally, the video data of the same frame will be read out continuously n-1 times, which is the number n of video data constituting one frame minus 1, and the next video data to be read out will be that of the next frame number. Therefore, the integer n is set as the value to be compared. In consideration of the allowable value, the integer n may be set to a value slightly larger than the number of video data constituting one frame.

[0039] In step S22, the determination unit 50 further performs error detection based on the CRC code and determines whether or not an error has been detected based on the CRC code. If the determination unit 50 determines that a state in which the current frame number does not change from the previous frame number has continued for n or more times and that an error has been detected based on the CRC code, the determination in step S22 becomes positive, and the process proceeds to step S24. Note that in step S22, the determination unit 50 may determine whether a state in which the current frame number does not change from the previous frame number has continued for n or more times and an error has been detected based on the CRC code.

[0040] In step S24, the determination unit 50 generates an abnormality determination signal indicating image fixation, and outputs the generated abnormality determination signal to the MCU 15. When the abnormality determination signal is input from the image processing device 12, the MCU 15 stops the operations of the graphic generation unit 11, the image processing device 12, and the display device 14. Note that when the abnormality determination signal is input from the image processing device 12, the MCU 15 may stop the operations of one or two of the graphic generation unit 11, the image processing device 12, and the display device 14. When the determination in step S22 is negative, the process proceeds to step S16.

[0041] When the video processing device 12 performs frame rate conversion, in step S12, the determination unit 50 determines whether the current frame number is +N from the previous frame number. In this case, the determination unit 50 also determines whether the same frame counter is equal to or smaller than M. Here, the numerical values ​​of N and M change according to the content of the frame rate conversion. N is a positive integer, and is the magnitude of change when the frame number of the data block read by the reading unit 48 changes normally. In the case of reading frames without thinning out in which the frame number increases by 1, N=1, and in the case of reading out the video data by thinning out only one frame, N=2. M is a value that is the number of times that the reading unit 48 should read out the data block of the same frame during frame rate conversion minus 1, or a value that is larger than the number of times that the reading unit 48 should read out the data block of the same frame minus 1 by an allowable value.

[0042] As a specific example of a case where the read frequency is higher than the write frequency for the frame memory 13, a case where the write frame rate is 30 fps and the read frame rate is 60 fps will be described. In this case, data blocks of each frame are repeatedly read twice from the frame memory 13. Therefore, in the judgment unit 50, when a state where the current frame number is not +1 higher than the previous frame number, that is, a state where the same frame number with a difference of 0 continues for, for example, 2n times or more (i.e., more than M times), is generated.

[0043] Assuming that the read frame rate is m (m is an integer equal to or greater than 2) times the write frame rate, the data block of each frame is repeatedly read m times from the frame memory 13. Therefore, in the judgment unit 50, if the state where the current frame number is not +N=+1 from the previous frame number, that is, the state where the difference between the current frame number and the previous frame number is 0, continues for more than M times, an abnormality judgment signal is generated.

[0044] As a specific example of a case where the read frequency is smaller than the write frequency for the frame memory 13, a case where the write frame rate is 30 fps and the read frame rate is 15 fps will be described. In this case, data blocks of each frame are read out from the frame memory 13 by skipping one frame. Therefore, in the judgment unit 50, when the current frame number is not +2 from the previous frame number, that is, when the state of 0 or +1 continues for n (=M+1) times or more, an abnormality judgment signal is generated.

[0045] When the read frame rate is 1 / m relative to the write frame rate in this manner, the data blocks of each frame are read out by thinning out m-1 frames from the frame memory 13. Therefore, in the judgment unit 50, when the current frame number is not +N=+m from the previous frame number, that is, when any of the states of 0, +1, . . ., +(m-1) continues for more than M times, an abnormality judgment signal is generated.

[0046] As described above, according to this embodiment, a frame number and a CRC code are embedded in the video data, and video freeze is detected based on the frame number and the CRC code. In the example of FIG. 3, when the frame number and the CRC code are added to the outside of the video data, 126 bytes of the 128-byte data become a data block constituting the video data, and 2 bytes become the frame number and the CRC code. That is, in this case, 63 (=126 [byte]×8÷16 [bit]) pixels of video data are transferred in one burst transfer to the frame memory 13. In contrast, in this embodiment, 64 pixels of video data are transferred in one burst transfer to the frame memory 13. Therefore, according to this embodiment, video freeze can be detected while suppressing a decrease in the data transfer rate.

[0047] In the above embodiment, the embedding unit 42 embeds a bit string representing a frame number and a CRC code one bit at a time at equal pixel intervals in a plurality of pixels constituting a data block, but the disclosed technology is not limited to this. For example, the embedding unit 42 may embed a bit string representing a frame number and a CRC code one bit at a time at random pixel intervals in a plurality of pixels constituting a data block using pseudo-random numbers or the like. In this case, the embedding unit 42 may output to the determination unit 50 and the interpolation unit 52 the position of the pixel in which the frame number and the CRC code are embedded and the position of the bit within that pixel.

[0048] In the above embodiment, the embedding unit 42 does not have to embed the CRC code, out of the frame number and the CRC code, in a part of the data block.

[0049] In the above embodiment, the frame numbers generated by the number generating unit 40 are incremented sequentially, but they may be decremented sequentially. Also, the frame numbers generated by the number generating unit 40 are incremented by +1 in the frame order of the video, but the frame numbers may change by a predetermined number other than +1 between consecutive frames.

[0050] Furthermore, in the above embodiment, the graphic generation unit 11 is used as the image source, but other image sources such as a camera may also be used. [Explanation of symbols]

[0051] 10 Display System 11 Graphics Generation Section 12 Image processing device 13 Frame Memory 14 Display device 15 MCU 20 processors 40 Number Generation Unit 42 Embedded part 44 Writing section 46 Timing Controller 48 Reading part 50 Judgment section 52 Interpolation section

Claims

1. a generation unit that generates a frame number that indicates a frame to which video data belongs and whose value changes between consecutive frames; an embedding unit that embeds the frame number into a part of each data block of a predetermined size in the video data; a writing unit that writes the video data into a memory in units of data blocks in frame order; a reading unit that sequentially reads the data blocks written in the memory; a determination unit that generates an abnormality determination signal indicating image fixation when a state in which the frame number in the data block currently read by the reading unit does not change from the frame number in the data block previously read continues for a predetermined number of times or more; and A video processing device comprising:

2. The embedding unit embeds a bit string representing the frame number bit by bit into a plurality of pixels constituting the data block. The video processing device according to claim 1 .

3. The embedding unit embeds a bit string representing the frame number into a plurality of pixels constituting the data block, one bit at a time, at equal pixel intervals. The image processing device according to claim 2 .

4. The embedding unit embeds a bit string representing the frame number bit by bit at random pixel intervals into a plurality of pixels constituting the data block. The image processing device according to claim 2 .

5. an interpolation unit that interpolates a pixel value of a pixel in the data block read from the memory by the reading unit, the pixel value being a pixel in which the frame number is embedded, using pixel values ​​of pixels surrounding the pixel; The image processing device according to claim 1 , further comprising:

6. the embedding unit embeds, in a part of the data block for each of the data blocks, in addition to the frame number, a CRC code generated from the data block, the frame number, and an address of the memory as a write destination; The determination unit performs error detection based on the CRC code, When the state in which the frame number in the data block currently read by the reading unit does not change from the frame number in the data block previously read continues for a predetermined number of times or more, and when an error is detected based on the CRC code, the abnormality determination signal is generated. The image processing device according to any one of claims 1 to 4.

7. The video processing device according to claim 1 ; a display device that displays an image based on the image data input from the image processing device; A display system including:

8. a control unit that stops operation of at least one of the video processing device and the display device when the abnormality determination signal is generated. The display system of claim 7 further comprising:

Citation Information

Patent Citations

  • Video processing apparatus, video freeze determination method, and display system

    JP2022077197A