Image processing apparatus and display system

By embedding the frame number and CRC code in the image data, and detecting the change of the frame number in the image processing device, the problem of data transmission rate decrease during image fixed detection in the existing technology is solved, and accurate data transmission is achieved while maintaining efficient The detection image is fixed.

CN118555397APending Publication Date: 2024-08-27LAPIS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410186529.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-27
Filing Date
2024-02-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing technology has the problem of reduced data transmission rate when detecting image fixation.

Method used

By generating a frame number and embedding the frame number and CRC code in each data block of the image data, writing and reading the data blocks in frame order, determining the change of the frame number and generating an abnormality determination signal to detect image fixation.

Benefits of technology

Effectively detects image fixation while suppressing data transfer rate drops, and avoids still image display caused by image fixation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555397A
    Figure CN118555397A
Patent Text Reader

Abstract

The invention provides an image processing device and a display system capable of detecting image fixation while suppressing a decrease in data transmission rate. The image processing apparatus generates a frame number indicating a frame to which image data belongs and having a value changing between consecutive frames, embeds the frame number in a portion of a data block for each data block of a predetermined size in the image data, and writes the image data to a memory in units of data blocks in the order of frames. The data blocks written in the memory are sequentially read out, and when a state in which the frame number in the data block read this time does not change from the frame number in the data block read last time continues for a predetermined number of times or more, an abnormality determination signal indicating that the image is fixed is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an image processing device and a display system. Background Art

[0002] In a display system, an image displayed on a display may become fixed (frozen). The so-called image fixation means that although the display is driven based on an image signal representing a dynamic image, the image does not become the dynamic image represented by the image signal, and the same frame of image is repeatedly displayed, resulting in a static image. There are various reasons for image fixation, for example, abnormal operation of an image source such as a camera, and abnormal operation of a graphics generation unit that generates image data.

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

[0004] [Prior art literature]

[0005] [Patent Document]

[0006] [Patent Document 1] Japanese Patent Application Publication No. 2022-077197 Summary of the invention

[0007] [Problems to be solved by the invention]

[0008] The technology described in Patent Document 1 has a problem in that the data transmission rate decreases because frame numbers are added to image data.

[0009] The present disclosure has been made in view of the above circumstances, and an object thereof is to provide an image processing device and a display system that can detect image fixation while suppressing a decrease in data transmission rate.

[0010] [Technical means to solve the problem]

[0011] The image processing device of the disclosed technology includes: a generating unit, which generates a frame number, wherein the frame number indicates the frame to which the image data belongs and the value changes between consecutive frames; an embedding unit, which embeds the frame number in a part of each data block of a predetermined size in the image data; a writing unit, which writes the image data to a memory in units of the data blocks in frame order; a reading unit, which reads the data blocks written to the memory in sequence; and a judging unit, which generates an abnormal judgment signal indicating that the image is fixed when the state in which the frame number in the data block read out this time by the reading unit does not change from the frame number in the data block read out last time continues for more than a specified number of times.

[0012] [Effects of the Invention]

[0013] According to the present disclosure, image fixation can be detected while suppressing a decrease in data transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a block diagram showing an example of the structure of a display system.

[0015] Figure 2 This is a block diagram showing an example of the functional structure of the image processing device.

[0016] Figure 3 This is a diagram for explaining the embedding process of the frame number and the CRC code.

[0017] Figure 4 This is a diagram for explaining the interpolation process.

[0018] Figure 5 It is a diagram for explaining the interpolation processing of the modification example.

[0019] Figure 6 : is a flowchart showing an example of image fixation detection processing.

[0020] [Explanation of Symbols]

[0021] 10: Display system

[0022] 11: Graphics generation unit

[0023] 12: Image processing device

[0024] 13: Frame memory

[0025] 14: Display device

[0026] 15: MCU

[0027] 20: Processor

[0028] 40: Number generation department

[0029] 42: Embedded part

[0030] 44: Writing Department

[0031] 46: Timing controller

[0032] 48: Reading unit

[0033] 50: Judgment Department

[0034] 52: Interpolation Department DETAILED DESCRIPTION

[0035] Hereinafter, examples of embodiments for implementing the technology disclosed herein will be described in detail with reference to the drawings.

[0036] First, refer to Figure 1 The structure of the display system 10 of this embodiment is described. Figure 1 As shown, the display system 10 includes a graphic generator 11, an image processing device 12, a frame memory 13, a display device 14, and a microcontroller unit (MCU) 15. The display system 10 is mounted on a vehicle, for example.

[0037] The graphic generation unit 11 is connected to the image processing device 12. The image processing device 12 is connected to the frame memory 13 and the display device 14. The MCU 15 is connected to the graphic generation unit 11, the image processing device 12, and the frame memory 13.

[0038] The graphic generator 11 generates image data that graphically represents information such as navigation information required for vehicle travel. The graphic generator 11 sequentially supplies the image data of each frame to the image processor 12 in frame order. The image data referred to here refers to the image data of each frame.

[0039] The image processing device 12 includes a processor 20. Examples of the processor 20 include a programmable logic device (PLD) whose circuit structure can be changed after manufacturing, such as a field programmable gate array (FPGA). The processor 20 may be a general-purpose processor that executes software (program), i.e., a central processing unit (CPU). In addition, the processor 20 may be a combination of two or more processors of the same or different types.

[0040] The image processing device 12 obtains the image data sequentially supplied from the graphic generation unit 11, divides the image data into data blocks of a predetermined size, and writes each of the data blocks into the frame memory 13. Then, the image processing device 12 sequentially reads out the data blocks written into the frame memory 13. The image processing device 12 can change the reading frequency relative to the writing frequency. The image processing device 12 performs burst transmission when writing a data block into the frame memory 13 and when reading a data block from the frame memory 13.

[0041] The frame memory 13 is composed of a random access memory (RAM) having a plurality of storage areas so as to store a data block of a plurality of frames of image data. The frame memory 13 is an example of a memory related to the disclosed technology.

[0042] 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.

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

[0044] The image processing device 12 has a function of detecting image fixation. Figure 2 , the functional structure of the image processing device 12 of this embodiment is described. Figure 2 As shown, the image 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 determination unit 50, and an interpolation unit 52. The processor 20 functions as the number generating unit 40, the embedding unit 42, the writing unit 44, the timing controller 46, the reading unit 48, the determination unit 50, and the interpolation unit 52 by executing a preset logic.

[0045] The number generating unit 40 generates a frame number indicating the frame to which the image data sequentially supplied from the graphic generating unit 11 belongs and whose value changes between consecutive frames. The number generating unit 40 assigns the same frame number to the image data of the same frame and assigns the frame number increased by +1 to the image data of the next frame.

[0046] The embedding unit 42 embeds the frame number generated by the number generating unit 40 in a part of each data block of a predetermined size in the image data. In addition, the embedding unit 42 generates a cyclic redundancy check (CRC) code using the data block, the frame number, and the address of the frame memory 13 to be written, and embeds the CRC code in addition to the frame number for each data block.

[0047] Reference Figure 3 The following describes the details of the embedding process of the frame number and the CRC code by the embedding unit 42. Here, the following describes the case where the resolution of the image data of one frame is 1920 pixels × 1080 pixels, the size of the 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. Figure 3 In the example shown in FIG. 1 , a data block includes 64 (=128 [byte]×8÷16 [bit]) pixels.

[0048] like Figure 3As shown in FIG. 1 , the writing unit 44 described later writes 128-byte data blocks sequentially into the frame memory 13 from the upper left to the lower right of the image data by burst transmission. For each of the data blocks, the embedding unit 42 embeds the frame number and the CRC code. The embedding unit 42 embeds the bit stream representing the frame number and the CRC code into the plurality of pixels constituting the data block in units of one bit and at equal pixel intervals. Figure 3 In the example of , since one data block is 64 pixels and the frame number and CRC code are 16 bits, one bit constituting the frame number or CRC code is embedded into the pixel at intervals of 3 pixels. At this time, the embedding unit 42 embeds the one bit by replacing the leading bit of the pixel with the one bit constituting the frame number or CRC code. In addition, the embedding unit 42 may embed the one bit constituting the frame number or CRC code into a bit at a position other than the leading bit of the pixel.

[0049] The writing unit 44 writes the image data into the frame memory 13 in units of data blocks in the frame sequence. The data blocks written into the frame memory 13 by the writing unit 44 are data blocks into which the frame numbers and CRC codes are embedded by the embedding unit 42. When the writing unit 44 completes writing of one data block into one storage area of ​​the frame memory 13, it starts writing the next data block of the data block into another storage area of ​​the frame memory 13.

[0050] The timing controller 46 controls the timing of reading out a data block by the reading unit 48 .

[0051] The reading section 48 sequentially reads the data blocks written in the frame memory 13 by the writing section 44 .

[0052] 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 such as the first pixel, the fifth pixel, the ninth pixel, etc. In addition, the frame number and the CRC code are embedded in the leading bit of the pixel. Therefore, the determination unit 50 can extract the frame number and the CRC code by extracting the leading bit of the pixels in a predetermined order of the data block.

[0053] Next, the determination unit 50 determines whether the state in which the frame number in the data block read out this time by the reading unit 48 does not change from the frame number in the data block read out last time has continued for more than a predetermined number of times. Furthermore, the determination unit 50 performs error detection based on the CRC code in the data block read out by the reading unit 48. When the state in which the frame number in the data block read out this time by the reading unit 48 does not change from the frame number in the data block read out last time has continued for more than a predetermined number of times and an error is detected based on the CRC code, the determination unit 50 detects image fixation. In this case, the determination unit 50 generates an abnormality determination signal indicating image fixation, and outputs the generated abnormality determination signal to the MCU 15.

[0054] The interpolation unit 52 interpolates the pixel value of the pixel in which the frame number and the CRC code in the data block read out by the reading unit 48 from the frame memory 13 are embedded, using the pixel values ​​of the surrounding pixels of the pixel. In the present embodiment, the interpolation unit 52 interpolates the pixel value of the pixel in which the frame number and the CRC code are embedded so that the pixel value of the pixel is close to the pixel values ​​of two adjacent pixels in the same data block as the pixel. Figure 4 , the details of the interpolation processing performed by the interpolation unit 52 are described. Figure 4 D1 to D5 in represent the pixel values ​​of each pixel. Figure 4 , it is shown that the pixel whose pixel value is D3 is a pixel in which one bit of the bit stream constituting the frame number and the bit stream constituting the CRC code is embedded, that is, an example of an interpolation target pixel. Figure 4 "D3 (bit [0] = 0)" in represents the pixel value D3 when the leading bit is replaced with 0. As described above, the leading bit is one bit in the bit stream constituting the frame number and the bit stream constituting the CRC code.

[0055] like Figure 4 As shown, when the average value of the pixel value D2 and the pixel value D4 of two pixels adjacent to the interpolation target pixel exceeds the pixel value D3 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 the pixel value D2 and the pixel value D4 of two pixels adjacent to the interpolation target pixel is less than the pixel value D3 when the leading bit is replaced with 0, the interpolation unit 52 replaces the leading bit of the pixel value D3 with 1. As a result, the brightness of the interpolation target pixel approaches the brightness of the two adjacent pixels.

[0056] In addition, the interpolation unit 52 may perform interpolation using a plurality of data blocks. Figure 5 The details of the interpolation processing performed by the interpolation unit 52 in the above-mentioned embodiment will be described. Here, it is assumed that the image data of three or more lines is read by the reading unit 48. Figure 5 The pixel A shown is the interpolation target pixel. Figure 5 The blackened pixels in represent pixels in which the frame number or CRC code is embedded.

[0057] like Figure 5 As shown in FIG. 1 , the interpolation unit 52 shifts the rows above and below the interpolation target pixel by 2 pixels so that the pixel in which the frame number or CRC code is embedded does not exist in the 8 pixels adjacent to the upper, lower, left, and right sides of the interpolation target pixel. Thereafter, the interpolation unit 52 calculates the average value of the pixel value of the interpolation target pixel and the pixel values ​​of the pixels surrounding the interpolation target pixel. Then, the interpolation unit 52 replaces the pixel value of the interpolation target pixel with the calculated average value. As a result, the brightness of the interpolation target pixel approaches that of the surrounding pixels.

[0058] Next, refer to Figure 6 The following describes the operation flow of the determination unit 50 and the interpolation unit 52 when the image processing device 12 does not perform frame rate conversion, that is, when the writing frequency and the reading frequency to the frame memory 13 are the same.

[0059] exist Figure 6 In step S10, each time a data block is read out by the reading unit 48, the determination unit 50 extracts the frame number and the CRC code from the read data block. Then, the determination unit 50 sets the extracted frame number as the new current frame number, and sets the current frame number so far as the previous frame number.

[0060] In step S12, the determination unit 50 determines whether the current frame number is +1 greater than the previous frame number. If the determination is positive, the process moves to step S14. In step S14, the counter for counting the number of times the data block of the same frame continues, that is, the same frame counter, is cleared. The same frame counter is a counter that counts up one by one and can be implemented by either hardware or software.

[0061] In step S16, as described above, the interpolation unit 52 interpolates the pixel values ​​of the pixels in which the frame number and the 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 surrounding pixels of the pixel. The interpolation unit 52 outputs the interpolated data block 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 the display.

[0062] On the other hand, if the determination in step S12 is negative, the process moves to step S18. In step S18, the determination unit 50 determines whether the current frame number is the same as the previous frame number. If the determination is positive, the process moves to step S20, and if it is negative, the process moves to step S24. In step S20, the determination unit 50 increments the same frame counter.

[0063] In step S22, the determination unit 50 determines whether the state in which the current frame number does not change from the previous frame number has continued for more than n times by determining whether the same frame counter is greater than n. Here, n is a positive integer, which is the number of image data constituting one frame. When the write frequency is the same as the read frequency, when writing and reading are performed normally, the image data of the same frame is continuously read within the range of n-1 times, which is the number of times n-1 compared to the number of image data constituting one frame, and the next image data read is the next frame number. Therefore, the integer n is set as the value of the comparison object. In addition, considering the allowable value, the integer n can also be set to a value slightly larger than the number of image data constituting one frame.

[0064] In step S22, the determination unit 50 further performs error detection based on the CRC code to determine whether an error is detected based on the CRC code. If the determination unit 50 determines that the current frame number does not change from the previous frame number for more than n times and an error is detected based on the CRC code, the determination in step S22 is an affirmative determination, and the process is transferred to step S24. In addition, in step S22, the determination unit 50 may also determine whether the current frame number does not change from the previous frame number for more than n times and whether the error is detected based on the CRC code for more than n times.

[0065] In step S24, the determination unit 50 generates an abnormality determination signal indicating that the image is fixed, 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 operation of the graphic generation unit 11, the image processing device 12, and the display device 14. In addition, when the abnormality determination signal is input from the image processing device 12, the MCU 15 may stop the operation 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 transfers to step S16.

[0066] Furthermore, when the image processing device 12 performs frame rate conversion, in step S12, the determination unit 50 determines whether the current frame number is greater than the previous frame number + N. Moreover, in this case, the determination unit 50 determines whether the same frame counter is less than M. Here, each value of N and M changes according to the content of the frame rate conversion. N is a positive integer, which is the magnitude of the change when the frame number of the data block read by the reading unit 48 changes normally. In the case of reading frames whose frame numbers increase one by one without culling, N=1, and in the case of reading image data with culling of one frame, N=2. M is a value that is a permissible value greater than -1 compared to the number of times the data block of the same frame should be read when the reading unit 48 performs frame rate conversion.

[0067] As a specific example of the case where the read frequency of the frame memory 13 is greater than the write frequency, the case where the write frame rate is 30fps and the read frame rate is 60fps is described as an example. In this case, the data blocks of each frame are repeatedly read twice from the frame memory 13. Therefore, in the determination unit 50, when the current frame number is not +1 higher than the previous frame number, that is, the state of the same frame number whose difference is 0 continues for more than 2n times (that is, more than M times), an abnormal determination signal is generated.

[0068] Thus, if the read frame rate is set to be m (m is an integer greater than or equal to 2) times the write frame rate, the data blocks of each frame are repeatedly read m times from the frame memory 13. Therefore, in the determination unit 50, if the current frame number is not +N=+1 higher than the previous frame number, that is, the same frame number whose difference is 0 continues for more than M times, an abnormal determination signal is generated.

[0069] As a specific example of the read frequency of the frame memory 13 being lower than the write frequency, the case where the write frame rate is 30fps and the read frame rate is 15fps is described. In this case, the data blocks of each frame are removed from the frame memory 13 at intervals of one frame. Therefore, in the determination unit 50, when the current frame number is not +2 higher than the previous frame number, that is, the state of 0 or +1 continues for n (= M + 1) times or more, an abnormal determination signal is generated.

[0070] Thus, when the read frame rate is 1 / m relative to the written frame rate, the data blocks of each frame are removed at intervals of m-1 frames from the frame memory 13. Therefore, in the determination unit 50, when the current frame number is not the state of +N=+m of the previous frame number, that is, when the state of any one of 0, +1, ..., +(m-1) continues for more than M times, an abnormal determination signal is generated.

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

[0072] In addition, in the above embodiment, the embedding unit 42 embeds the bit stream representing the frame number and the CRC code into the multiple pixels constituting the data block in units of one bit and at equal pixel intervals, but the disclosed technology is not limited to the above embodiment. For example, the embedding unit 42 may also use pseudo-random numbers, etc. to embed the bit stream representing the frame number and the CRC code into the multiple pixels constituting the data block in units of one bit and at random pixel intervals. In this case, the embedding unit 42 may also output the position of the pixel in which the frame number and the CRC code are embedded and the position of the bit in the pixel to the determination unit 50 and the interpolation unit 52.

[0073] In addition, in the above-described embodiment, the embedding unit 42 may not embed the CRC code of the frame number and the CRC code into a part of the data block.

[0074] In the above-described embodiment, the frame numbers generated by the number generating unit 40 increase sequentially, but may decrease sequentially. In addition, the frame numbers generated by the number generating unit 40 increase sequentially by +1 in the order of the frames of the image, but may also be frame numbers that change by a predetermined number other than +1 between consecutive frames.

[0075] In the above-described embodiment, the graphic generation unit 11 is used as an image source, but another image source such as a camera may be used.

Claims

1. An image processing device, comprising: a generating unit that generates a frame number, wherein the frame number indicates a frame to which the image data belongs and the value of which changes between consecutive frames; an embedding unit, for each data block of a predetermined size in the image data, embedding the frame number in a part of the data block; A writing unit, writing the image data into a memory in units of the data blocks in a frame order; a reading unit, which sequentially reads the data blocks written to the memory; as well as The determination unit generates an abnormality determination signal indicating image fixation when a state in which the frame number in the data block read out this time by the reading unit does not change from the frame number in the data block read out last time continues for a predetermined number of times or more.

2. The image processing device according to claim 1, wherein: The embedding unit embeds a bit stream indicating the frame number into a plurality of pixels constituting the data block in units of one bit.

3. The image processing device according to claim 2, wherein: The embedding unit embeds the bit stream indicating the frame number into a plurality of pixels constituting the data block in units of one bit and at equal pixel intervals.

4. The image processing device according to claim 2, wherein: The embedding unit embeds a bit stream indicating the frame number into a plurality of pixels constituting the data block in units of one bit and at random pixel intervals.

5. The image processing device according to any one of claims 1 to 4, further comprising an interpolation unit, The interpolation unit interpolates the pixel value of the pixel having the frame number embedded in the data block read out by the reading unit from the memory using the pixel values ​​of the neighboring pixels of the pixel.

6. The image processing device according to any one of claims 1 to 4, wherein: The embedding unit embeds, for each data block, a cyclic redundancy check code generated based on the data block, the frame number, and the address of the memory to be written in a part of the data block in addition to the frame number. The determination unit performs error detection based on the cyclic redundancy check code, The abnormality determination signal is generated when the frame number in the data block read this time by the reading unit does not change from the frame number in the data block read last time for more than a predetermined number of times and when an error is detected based on the cyclic redundancy check code.

7. A display system comprising: The image processing device according to claim 1; and The display device displays an image based on the image data input from the image processing device.

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

Citation Information

Cited By

  • Picture freezing detection method and aircraft display

    CN121053874A