CN116450497A - Test image generation method and device, test image generator and electronic equipment - Google Patents

Test image generation method and device, test image generator and electronic equipment Download PDF

Info

Publication number
CN116450497A
CN116450497A CN202310239355.5A CN202310239355A CN116450497A CN 116450497 A CN116450497 A CN 116450497A CN 202310239355 A CN202310239355 A CN 202310239355A CN 116450497 A CN116450497 A CN 116450497A
Authority
CN
China
Prior art keywords
image
test image
frame rate
target
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310239355.5A
Other languages
Chinese (zh)
Inventor
谢勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zeku Technology Shanghai Corp Ltd
Original Assignee
Zeku Technology Shanghai Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202310239355.5A priority Critical patent/CN116450497A/en
Publication of CN116450497A publication Critical patent/CN116450497A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application discloses a test image generation method, a device, a test image generator and electronic equipment, wherein the electronic equipment comprises a test image generation module, a display module and an image signal processing module, the image generation module is respectively connected with the display module and the image signal processing module, and the method comprises the following steps: configuring an image generation module based on target requirements, wherein the target requirements are determined based on image information required by a test display module or an image signal processing module; and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module. The test image generation module can generate different test images based on different requirements of the display module or the image signal processing module, and the convenience of the test display module or the image signal processing module is improved.

Description

Test image generation method and device, test image generator and electronic equipment
Technical Field
The present invention relates to the field of image processing, and more particularly, to a test image generating method and apparatus, a test image generator, and an electronic device.
Background
Currently, with the development of electronic information technology, there is an increasing need for testing image signal processing modules and display modules of electronic devices that can capture images. Although the image signal processing module or the display module may be tested, the conventional method for testing the image signal processing module or the display module has low convenience.
Disclosure of Invention
The application provides a test image generation method and device, a test image generator and electronic equipment.
In a first aspect, an embodiment of the present application provides a test image generating method, which is applied to an electronic device, where the electronic device includes a test image generating module, a display module, and an image signal processing module, where the image generating module is connected to the display module and the image signal processing module, respectively, and the method includes: configuring the image generation module based on a target requirement, the target requirement being determined based on image information required to test the display module or the image signal processing module; and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
In a second aspect, an embodiment of the present application further provides a display brightness adjustment device, which is applied to an electronic device, where the electronic device includes a test image generating module, a display module, and an image signal processing module, where the image generating module is connected to the display module and the image signal processing module respectively, and the device includes: a configuration unit and a generation unit. The configuration unit is used for configuring the image generation module based on target requirements, wherein the target requirements are determined based on image information required by testing the display module or the image signal processing module; the generating unit is used for generating a target test image meeting the target requirement based on the configured image generating module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
In a third aspect, an embodiment of the present application further provides a test image generator, which is applied to an electronic device, where the electronic device includes a display module and an image signal processing module, and the test image generator is connected to the display module and the image signal processing module, and is configured to generate a target test image based on the method in the first aspect.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including an image generating module, a display module, and an image signal processing module, where the image generating module is connected to the display module and the image signal processing module respectively; the electronic device further comprises one or more processors for controlling the image generation module to generate a target test image based on the method of the first aspect.
In a fifth aspect, embodiments of the present application further provide a computer readable storage medium storing program code executable by a processor, the program code when executed by the processor causing the processor to perform the method of the first aspect.
The method is applied to the electronic equipment, the electronic equipment comprises a test image generation module, a display module and an image signal processing module, the image generation module is respectively connected with the display module and the image signal processing module, the image generation module is firstly configured based on target requirements, and then a target test image meeting the target requirements is generated based on the configured image generation module. Since the first test image for testing the display module and the second test image for testing the image signal processing module are not identical, the image generation module is configured based on target requirements, which are determined based on image information required for testing the display module or the image signal processing module. Therefore, the image generation module can generate test images based on different requirements of the display module and the image signal processing module, so that the convenience of testing the display module or the image signal processing module is improved, and the multiplexing of the image generation module is realized.
Additional features and advantages of embodiments of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of embodiments of the application. The objectives and other advantages of the embodiments of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a block diagram of an electronic device according to an embodiment of the present application;
FIG. 2 shows a method flowchart of a test image generation method provided by an embodiment of the present application;
FIG. 3 shows a schematic arrangement of providing an original image according to an embodiment of the present application;
FIG. 4 shows a method flow diagram of a test image generation method provided by a further embodiment of the present application;
FIG. 5 shows a schematic diagram of a target test image provided by an embodiment of the present application;
FIG. 6 shows a schematic diagram of a target test image provided in accordance with yet another embodiment of the present application;
FIG. 7 shows a schematic diagram of a target test image provided in accordance with yet another embodiment of the present application;
fig. 8 is a schematic diagram of one image in a moving image provided in an embodiment of the present application;
fig. 9 is a schematic diagram showing still another image in the moving images provided in the embodiment of the present application;
fig. 10 shows a schematic diagram of still another image in the moving images provided in the embodiment of the present application;
FIG. 11 is a flow chart illustrating a method of generating a test image according to a further embodiment of the present application;
FIG. 12 shows a timing diagram of a second test image provided by an embodiment of the present application;
fig. 13 shows a block diagram of a test image generating apparatus provided in an embodiment of the present application;
FIG. 14 shows a schematic diagram of a test image generator provided by an embodiment of the present application;
FIG. 15 shows a block diagram of a computer-readable storage medium provided by an embodiment of the present application;
fig. 16 shows a block diagram of a computer program product provided by an embodiment of the present application.
Detailed Description
In order to better understand the embodiments of the present application, the following description will clearly and completely describe the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Currently, with the development of electronic information technology, there is an increasing need for testing image signal processing modules and display modules of electronic devices that can capture images. Although the image signal processing module or the display module may be tested, the conventional method for testing the image signal processing module or the display module has low convenience. How to improve the convenience of testing an image signal processing module or a display module is a problem to be solved.
In the prior art, an electronic device capable of being used for acquiring an image can be provided with a sensor chip for acquiring an original (RAW) image, and an image processing module capable of being used for processing the original image, wherein the original image can be displayed through a display module after being processed by the image processing module. For example, the original image may be processed by the image processing module to obtain a red, green and blue (RGB/RGBA) image, and the red, green and blue image is displayed by the display module. For example, a display module may include Red (Red) pixels, green (Green) pixels, and Blue (Blue) pixels, and the electronic device may control an operating parameter of each pixel, such as individually adjusting an operating current, to control each pixel to emit light of a different intensity. Optionally, an a-channel, alpha channel, may be included to characterize the opacity of each pixel of red and green. For example, if the Alpha channel value of a pixel is 0%, then the pixel is completely transparent (i.e., invisible) and the Alpha channel value of a pixel is 100%, then the pixel is characterized as completely opaque (conventional digital image).
The image processing module can be used for performing linear correction, noise removal, dead pixel repair, color interpolation, white balance correction, exposure correction and the like on the original image acquired by the sensor chip. The image processing module may include an image processor (Image Signal Processor, ISP) which may be divided into an integrated and stand-alone one, with the current electronic devices mostly employing an integrated image processor attached to the processor. For example, the image processor may be integrated in a System On Chip (SOC) of the mobile phone. The independent image processor is independent of the system-in-chip, and has the characteristics of higher operation capability, better imaging quality and the like although the cost is higher.
In order to verify the performance or characteristic parameters of the display module and the image processing module, the test image can be input into the corresponding module, so as to realize the test of the module. For example, the test image may be input to an image processing module to enable testing of the image processing module; for example, the test image may also be input to the display module to enable testing of the display module.
At present, when an image signal processing module or a display module needs to be tested, a test image can be input from the outside, and then the image signal processing module or the display module is tested through the test image. For example, the test image may be manually selected and then input through some communication interface in the electronic device in which the image signal processing module or display module is located. The test image can be preset on the chip of the electronic equipment, and then the test image is directly called through the chip, so that the image signal processing module or the display module is tested. Wherein, the test image can be manually generated in advance based on the requirements of the processing module or the display module.
However, the inventor found in the study that, manually generating the test image based on the requirements of the processing module or the display module in advance consumes a large amount of human resources, and if the requirements of the processing module or the display module are changed, it is necessary to use again the human resources to generate the test image. Furthermore, the number of preset test images is small, so that the types of test images that can be used for testing are small, and the requirements of the processing module or the display module may not be met.
Accordingly, in order to overcome the above-mentioned drawbacks, the present application provides a test image generating method, apparatus, test image generator, and electronic device.
Referring to fig. 1, fig. 1 shows a block diagram of an electronic device 100 in an embodiment of the present application, where the electronic device 100 includes a processor 110, a test image generating module 120, a display module 130, and an image signal processing module 140, where the processor 110 is respectively connected to the image generating module 120, the display module 130, and the image signal processing module 140, and the image generating module 120 is respectively connected to the display module 130 and the image signal processing module 140.
The processor 110 may control the image generation module 120 to generate a test image so that the display module 130 or the image signal processing module 140 is tested by the test image. Specifically, the test image generated by the image generation module 120 may be transmitted to the display module 130 or the image signal processing module 140 through a communication link.
An exemplary communication link may be established between the processor 110 and the display module 130 and the image signal processing module 140 based on the mobile industry processor interface (Mobi le I ndustry Processor I nterface, MI PI) specification. For example, a camera-side high-speed serial interface (Camera Ser ia l I nterface, CSI) protocol may be used between the processor 110 and the image signal processing module 140 to establish a CSI communication link; a DSI communication link may be established between the processor 110 and the display module 130 based on a display side high speed serial interface (Di sp l aySer ia l I nterface, DSI) protocol. Still another exemplary, the image generation module 120 may also establish a DSI communication link with the display module 130; image generation module 120 may also establish a CSI communication link with image signal processing module 140. Thus, the test image generated by the image generation module 120 may be transmitted to the image signal processing module 140 based on the CSI communication link to implement a test on the image signal processing module 140; may also be transmitted to display module 130 based on the DSI communication link to enable testing of display module 130.
It is to be readily understood that when the processor 110 is in communication with the display module 130 and the image signal processing module 140, the image generating module 120 may send the generated test image to the processor 110 and then to the display module 130 and the image signal processing module 140 via the processor 110, respectively.
The power consumption of the display module 130 and the image signal processing module 140 may be tested by testing the image, or an algorithm may be verified, which is not limited in the embodiment of the present application.
Further, the image signal required by the display module 130 and the image information required by the image signal processing module 140 are not identical, for example, red green blue (RGB/RGBA) images are required by the display module 130, and original (RAW) images are required by the image signal processing module 140. Accordingly, to meet the different image information requirements of the display module 130 and the image processing module 140, the image generation module 120 may generate different test images. For a specific method, reference may be made to the description of the embodiments that follow.
Referring to fig. 2, fig. 2 illustrates a test image generating method according to an embodiment of the present application, where the test image generating method may be applied to the electronic device 100 illustrated in fig. 1, and in particular, may be applied to the processor 110 in the electronic device 100. The test image generation method includes step S110 and step S120.
Step S110: the image generation module is configured based on a target requirement, the target requirement being determined based on image information required to test the display module or the image signal processing module.
Because the image information required for testing the display module and the image signal processing module is not the same, it is generally not possible to directly test the display module and the image signal processing module directly through one and the same test image. If some test images are stored in advance, the stored test images are called when the test images need to be used, however, the pre-stored test images are difficult to meet the requirement of new image information when the requirement of the display module and the image signal processing module for the image information is changed. Therefore, different test images can be generated by the image generation module for testing the display module and the image signal processing module respectively based on different requirements of the display module and the image signal processing module. Thereby improving the convenience of testing the display module or the image signal processing module.
Wherein, the image generation module can comprise different parameter channels. The parameter channels may be configured to different values so that the test image generated by the image generation module may be controlled. The parameter channel may be an image type parameter channel, for example, to configure the image type parameter channel to determine the image type of the generated test image. Still another exemplary embodiment of the present invention further provides a first parameter channel, where the first parameter channel includes a parameter channel corresponding to each parameter of a frame rate parameter, an image status parameter, and a frame number parameter continuously displayed for each image, so that the parameter channel corresponding to each parameter is configured to determine a frame rate, an image status, and a frame number continuously displayed for each image of the generated test image. Still further exemplary, the parameter channel may be a second parameter channel, wherein the second parameter channel includes a parameter channel corresponding to a color configuration, so that the color of the generated test image may be determined by configuring the parameter channel corresponding to the color configuration. Reference may be made to the following embodiments for an introduction of a specific configuration method.
Thus, the image generation module may first be configured based on target requirements, wherein target requirements are determined based on image information required to test the display module or the image signal processing module. And the image information may include image type information, parameter information, color information, or the like. Wherein the image type information may be used to determine a type of the test image generated by the image generation module; the parameter information may be used to determine at least one of a frame rate parameter, an image status parameter, and a frame number parameter of each image continuously displayed for the test image generated by the image generation module; the color information may be used to determine the color of the test image generated by the image generation module.
Therefore, different parameter channels in the image generation module can be configured based on target requirements, so that the configuration of the image generation module is realized. In some implementations, the image generation module may be a test pattern generator (Test Pattern Generator, TPG). The configuration of the different parameter channels in the image generation module may be implemented, for example, by software running on the electronic device.
Step S120: and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
Further, after the image generating module is configured, a target test image meeting the target requirement can be generated based on the configured image generating module. Because the image generation module is configured based on the target requirements, the generated target test image can meet the target requirements.
Specifically, the display module may be tested using the first test image and the image signal processing module may be tested using the second test image. In some examples, the display module requires a first image type and the image signal processing module requires a second image type, and thus, the first test image may be an image having the first image type and the second side view image may be an image having the second image type. For example, the first image type required by the display module may be a red green blue (RGB/RGBA) image, and the second image type required by the image signal processing module may be an original (RAW) image, so that the first test image may be a red green blue (RGB/RGBA) image and the second side view image may be an image with an original (RAW) image.
For example, if the image processing module is to be tested, the image type of the generated target test image may be an original (RAW) image; the frame rate parameter may be 30 frames; the image state parameter may be a still image; the number of frames each image is continuously displayed may be 5 frames; the colors are configured as horizontal 8 color charts. Still another exemplary, if the display module is to be tested, the image type of the generated target test image may be a red green blue (RGB/RGBA) image; the frame rate parameter may be 30 frames; the image state parameter may be a still image; the number of frames each image is continuously displayed may be 5 frames; the colors are configured as horizontal 8 color charts.
It should be noted that the generated target test image is only one illustration, and different target test images may be actually obtained according to different configurations, which is not limited in the embodiment of the present application.
Herein, the RAW (RAW) image may be Bayer (Bayer) -based, and referring to fig. 3, fig. 3 shows an arrangement schematic diagram of the RAW image provided in the embodiment of the present application. Each pixel in Bayer (Bayer) arrangement is based on green, red or blue pixels, and human eyes are found to be sensitive to green by analyzing the perception of color by human eyes, so that the proportion of green pixels in a typical Bayer (Bayer) arrangement picture is the sum of the proportions of red and blue pixels. In the arrangement schematic shown in fig. 3, G represents a green pixel, B represents a blue pixel, and R represents a red pixel. Thus, the odd scan lines output red-green pixels, red pixels, green pixels, and red pixels, and the even scan lines output blue pixels, green pixels, blue pixels, and green pixels. In some embodiments, the original (RAW) image may include different formats, such as RAW8, RAW10, RAW12, RAW14, RAW16, RAW20, yuv420_8bit, yuv420_10bit, yuv422_8bit, yuv422_10bit, and the like.
While red green blue (RGB/RGBA) images are based on Red Green Blue (RGB) arrangements. Each pixel in a red, green and blue (RGB) arrangement is composed of three colors, red, green and blue. Red, green, blue (RGB/RGBA) images may include different formats, such as A8R8G8B8, R5G6B5, R8G8B8, etc. Wherein the original (RAW) image may be converted into a red green blue (RGB/RGBA) image, for example by interpolation.
The method is applied to electronic equipment, and the electronic equipment comprises a test image generation module, a display module and an image signal processing module, wherein the image generation module is respectively connected with the display module and the image signal processing module, the image generation module is firstly configured based on target requirements, and then a target test image meeting the target requirements is generated based on the configured image generation module. Since the first test image for testing the display module and the second test image for testing the image signal processing module are not identical, the image generation module is configured based on target requirements, which are determined based on image information required for testing the display module or the image signal processing module. Therefore, the image generation module can generate test images based on different requirements of the display module and the image signal processing module, so that the convenience of testing the display module or the image signal processing module is improved, and the multiplexing of the image generation module is realized.
Referring to fig. 4, fig. 4 illustrates a test image generating method according to an embodiment of the present application, where the test image generating method may be applied to the electronic device 100 illustrated in fig. 1, and in particular, may be applied to the processor 110 in the electronic device 100. The test image generation method includes step S210 and step S270.
Step S210: a first image type required for testing the display module or a second image type required for testing the image signal processing module is determined based on the image type information.
Step S220: and configuring an image type parameter channel in the image generation module based on the first image type or the second image type, wherein the image type parameter channel is used for determining the image type of the target test image.
Based on the foregoing analysis, the type of image required to test the display module is different. Thus, the image information may include image type information, and in turn, a first image type required to test the display module or a second image type required to test the image signal processing module may be determined based on the image type information. Wherein for some embodiments, the first image type may be a red green blue (RGB/RGBA) image and the second image type may be an original (RAW) image.
Further, an image type parameter channel in the image generation module may be configured based on the first image type or the second image type. The image type parameter channel is used for determining the image type of the target test image. Specifically, the image type parameter channel may be configured to different values, for example, 0 or 1, and the image type parameter channel configured to different values may control the image type of the generated target test image.
In some embodiments, the image type parameter channel may be characterized by a co lor_mode, so that different values may be configured for co lor_mode to control the image type of the generated target test image. For example, the image type parameter channel may be configured as co lor_mode:0 to characterize the second image type, i.e. the original (RAW) image, so that the image type of the generated target test image can be made to be the second image type, i.e. the original (RAW) image, to meet the requirements of the image processing module. For another example, the image type parameter channel may also be configured as co lor_mode:1, to characterize a first image type, i.e. a red green blue (RGB/RGBA) image, so that the image type of the generated target test image can be made to be the first image type, i.e. a red green blue (RGB/RGBA) image, to meet the requirements of the display module.
The configuration of the image type parameter channel can be realized based on software running on the electronic equipment. The specific values of the image type parameter channels are entered, for example, by software. The embodiments of the present application are not limited.
Step S230: at least one of a frame rate parameter, an image state parameter including a still image or a moving image, and a frame number parameter for which each image is continuously displayed is determined based on the parameter information.
Step S240: and configuring a first parameter channel in the image generation module based on at least one parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, wherein the first parameter channel comprises parameter channels corresponding to each parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, and the first parameter channel is used for determining the frame rate of the target test image, the image state of the target test image and the frame number continuously displayed by each image of the target test image.
Further, the image information may further include parameter information, and at least one of a frame rate parameter, an image state parameter, and a frame number parameter for which each image is continuously displayed may be determined based on the parameter information. Wherein the image state parameter includes a still image or a moving image.
It should be noted that the frame rate parameter may be used to characterize the frame rate of the generated target test image, for example, 30 frames representing a frame including 30 frames for 1 second. And the number of frames that each image of the target test image continuously displays is the number of frames that each image in the target test image displays, the longer the number of frames, the more the number of frames that generally continues. For example, 5 frames, then characterize the 5 frames displayed for each of the target test images, at which time 1 second may include 30/5=6 images if the frame rate is 30 frames in the example above.
It should be noted that the frame rate and the number of frames continuously displayed for each image are only one explanation, and may be flexibly set according to the need, and the embodiment of the present application is not limited thereto.
Further, the image generating module may include a first parameter channel, where the first parameter channel includes a parameter channel corresponding to each of a frame rate parameter, an image status parameter, and a frame number parameter continuously displayed by each image. The first parameter channel is used for determining the frame rate of the target test image, the image state of the target test image and the frame number of each image of the target test image continuously displayed. Therefore, parameter channels corresponding to the frame rate parameters in the image generation module can be configured based on the frame rate parameters; configuring a parameter channel corresponding to the image state parameter based on the image state parameter; and configuring a parameter channel corresponding to the frame number parameter continuously displayed by each image based on the frame number parameter continuously displayed by each image.
In some embodiments, the parameter channel corresponding to the frame rate parameter may be characterized by a switch_fps_mode, so that different values may be configured for the switch_fps_mode to control the frame rate of the generated target test image. For example, a parameter channel corresponding to a frame rate parameter may be configured as switch_fps_mode:00 to characterize 30 frame rate; switch_fps_mode:01 to characterize 60 frame rate; switch_fps_mode:10 to characterize 7.5 frame rate.
Optionally, after configuring switch_fps_mode, corresponding values may also be set for v_b l ank and h_b l ank, thereby matching the configured frame rate. Where v_b l ank is used to characterize the line blanking and h_b l ank is used to characterize the field blanking.
Further, the parameter channel corresponding to the image state parameter can be represented by the switch_draw_mode, so that different values can be configured for the switch_draw_mode to control the image state of the generated target test image. For example, the parameter channel corresponding to the image state parameter may be configured as switch_draw_mode:0 to characterize a still image; switch_draw_mode:1 to characterize the dynamic image.
Optionally, when the image state parameter is a dynamic image, an offset parameter and a rollback parameter of the target test image may also be set, so as to control a dynamic display mode of the target test image. For example, the offset parameter of the target test image may be configured by co lor_offset; the rollback parameters of the target test image may also be configured by co lor_wrap.
Furthermore, the parameter channel corresponding to the frame_gap parameter for continuously displaying each image can be further characterized by the frame_gap, so that different values can be configured for the frame_gap to control the frame number continuously displayed by each image in the generated target test image. For example, a parameter channel corresponding to a frame number parameter for continuous display of each image may be set to frame_gap:1, representing that each image continuously displays 1 frame; for another example, it may also be set to frame_gap:5, to characterize that each image is continuously displayed for 5 frames.
Step S250: a color configuration required to test the display module or the image information processing module is determined based on the color information.
Step S260: and configuring a second parameter channel in the image generation module based on the color configuration, wherein the second parameter channel comprises a parameter channel corresponding to the color configuration, and the second parameter channel is used for determining the color of the target test image.
In some embodiments, the image information may further include color information, and a color configuration required to test the display module or the image information processing module may be determined based on the color information.
Further, the image generating module may include a second parameter channel, where the second parameter channel includes a parameter channel corresponding to a color configuration, and the second parameter channel is used to determine a color of the target test image.
For the embodiment provided in the application, the second parameter channel may be 24 sets of registers, so that the target test image may display different colors by configuring the 24 sets of registers. For example, the color may include a color corresponding to a 24-color chart.
Step S270: and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
When the target test image is a still image, the target test image may be divided into a specified number of blocks, each of which displays any one of the colors, i.e., a color corresponding to any one of the 24-color cards, for example. For example, referring to fig. 5, fig. 5 shows a schematic diagram of a target test image provided in an embodiment of the present application. The target test image is divided into 8 blocks, the 8 blocks are vertically arranged, and the 8 blocks can be monochromatic, so that each block can correspond to different gray values; the 8 tiles may also be colored so that each tile may correspond to any one of the 24 color cards.
For another example, referring to fig. 6, fig. 6 is a schematic diagram of a target test image according to another embodiment of the present application. In fig. 6, the target test image is divided into 8 blocks, the 8 blocks are arranged laterally, and similar to fig. 5, the 8 blocks may be monochrome, so that each block may correspond to a different gray value; the 8 tiles may also be colored so that each tile may correspond to any one of the 24 color cards.
For another example, referring to fig. 7, fig. 7 is a schematic diagram of a target test image according to another embodiment of the present application. The target test image in fig. 7 is divided into 64 blocks, and similar to fig. 5, the 64 blocks may be monochrome, so that each block may correspond to a different gray value; the 64 tiles may also be colored such that each tile may correspond to any one of the 24 color cards. It should be noted that, instead of setting the color of each block separately by 64 sets of registers, the color of each block may be set by 24 sets of registers, and then the color of each block may be shifted and rewound by shifting and rewinding, so as to achieve the color corresponding to the required 64 blocks. Only through 24 groups of registers, a target test image formed by 64 blocks of color is obtained, and system resources are saved.
It should be noted that the target test image shown in fig. 7 is only an example, and is not limited to the embodiment of the present application.
Still further, as an example, when the target test image is a dynamic image, each image in the target test image may be shifted and scrolled. For example, please refer to fig. 8, 9 and 10 together, wherein fig. 8 shows a schematic view of an image in a moving image, and fig. 9 shows a schematic view of a further image in the moving image; fig. 10 shows a schematic diagram of still another image in the moving image. Specifically, one image of the target test image may be shown in fig. 8, the next adjacent image of the one image of the target test image may be shown in fig. 9, and the next adjacent image may be shown in fig. 10. The image shown in fig. 8 includes 16 segments, where the color corresponding to each segment in the upper half is U1, U2 … to U8 in turn from left to right, and the color corresponding to each segment in the lower half is D1, D2 … to D8 in turn from left to right. The image shown in fig. 9 also includes 16 blocks, where the color corresponding to each block in the upper half is U1, U2 … to U8 in order from left to right, and the color corresponding to each block in the lower half is U3, U4, U5, U6, U7, U8, U1, and U2 in order from left to right. The image shown in fig. 10 also includes 16 blocks, where the color corresponding to each block in the upper half is U1, U2 … to U8 in order from left to right, and the color corresponding to each block in the lower half is U5, U6, U7, U8, U1, U2, U3, and U4 in order from left to right.
As can be readily seen in conjunction with fig. 8, 9 and 10, the color of the tile in the upper half of the image in fig. 8 remains unchanged, the color of the tile in the lower half shifts to the left by two tile positions, and if the color of the leftmost tile needs to be shifted again, the tile is rewound to the rightmost tile position, thereby obtaining the image in fig. 9. Similarly, the color of the tiles in the image of fig. 9 is shifted and rewound to give the image of fig. 10. Thus, the target test image whose image state is a moving image can be obtained by combining the images in fig. 8, 9, and 10.
In other embodiments, the dynamic image may be obtained by dividing each image in the target test image into 64 segments, keeping the colors corresponding to the partial segments unchanged, shifting and rewinding the colors of the segments of the 64 segments except the segments with the unchanged colors, and using a plurality of images as the target test image.
The test image generation method is applied to electronic equipment, the electronic equipment comprises a test image generation module, a display module and an image signal processing module, the image generation module is respectively connected with the display module and the image signal processing module, a first image type required by testing the display module or a second image type required by testing the image signal processing module can be determined based on the image type information, and an image type parameter channel in the image generation module is configured based on the first image type or the second image type; the method can also determine at least one parameter of a frame rate parameter, an image state parameter and a frame number parameter continuously displayed by each image based on the parameter information, and configure a first parameter channel in the image generation module based on the at least one parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image; the color configuration required for testing the display module or the image information processing module can be determined based on the color information, and the second parameter channel in the image generation module is configured based on the color configuration; and then generating a target test image meeting the target requirement based on the configured image generation module. The requirements of different image types, different frame rates, different image states, different frame numbers of continuous display of each image and different colors can be met. Therefore, the image generation module can generate test images based on different requirements of the display module and the image signal processing module, so that the convenience of testing the display module or the image signal processing module is improved, and the multiplexing of the image generation module is realized.
Referring to fig. 11, fig. 11 illustrates a test image generating method according to an embodiment of the present application, where the test image generating method may be applied to the electronic device 100 illustrated in fig. 1, and in particular, may be applied to the processor 110 in the electronic device 100. The test image generation method includes step S310 and step S3100.
Step S310: the image generation module is configured based on a target requirement, the target requirement being determined based on image information required to test the display module or the image signal processing module.
Step S320: and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
As is clear from the description in the foregoing embodiment, the image processing module may be the image signal processor ISP, however, the timing of the required target test image may be different for different models of the image signal processor ISP. For example, referring to fig. 12, fig. 12 shows a timing chart of a second test image according to an embodiment of the present application.
Wherein pkt _ s ize can be used to characterize the number of pixels per row, i.e. the number of columns, in the second test image. pkt_s ize may be 14 bits in size, so that 16k is maximally supported, and pkt_s ize description specifies a minimum value of 8.hsa_t time is used to characterize the cyc le number of the horizontal sync activation region in the second test image. hsa_t time may be 12 bits in size such that the minimum value of hsa_t time is 1 and the corresponding maximum value of 12 bits is 4K. hbp _t time may characterize the cyc le number of the horizontal back porch region, and hbp _t time may be 12 bits in size, such that the minimum value of hbp _t time is 1 and the corresponding maximum value of 12 bits is 4K. h l ine_t time may be used to characterize the time of the full line time axis or (the time of the full line time divided by the time of the FS/FE removed), expressed mathematically as HS a + HBP + HACT + HFP, and may be 15 bits in size. vsa _l ines can be used to characterize the vertical sync activation area, measured in rows. The size of vsa _l indexes can be 10 bits, the minimum value of vsa_l indexes is 1, the reset value is 0, and the maximum value corresponding to 10 bits is 1K. The vbp_l indexes are used for representing the vertical back porch area, the size of the vbp_l indexes is 10 bits by adopting line numbers, the minimum value of the vbp_l indexes is 1, the solution reset value is 0, and the maximum value corresponding to the 10 bits is 1K. vfp _l ines are used for representing the vertical tail gallery area, and are measured by adopting the number of lines, the size of the vbp_l ines is 10 bits, the minimum value of the vbp_l ines is 1, the solution reset value is 0, and the maximum value corresponding to the 10 bits is 1K. vact ive_l ines can be used to characterize the vertical active area, and measured by the number of lines, the size of vact ive_l ines can be 14bit,vact ive_l ines with a minimum value of 8, the reset value of 0, and the maximum value corresponding to 14 bits of 16K. The bk_l indexes are used for representing a blank area of a frame and are measured by adopting line numbers, the size of the bk_l indexes can be 10 bits, the minimum value of the bk_l indexes is 0, the reset value is 0, and the maximum value corresponding to the 10 bits is 1K.
It should be noted that, the timing chart of the second test image shown in fig. 12 is only an example, and in practical application, the timing chart of the second test image may be adjusted according to the requirements of different image signal processing modules, which is not limited in the embodiments of the present application.
Step S330: and if the first updating frame rate for updating the frame rate of the target test image is detected, acquiring the current frame rate of the target test image.
Step S340: whether the current frame rate is different from the first updated frame rate.
In some embodiments, a default value defaults may be set for a parameter channel corresponding to a frame rate parameter in the image generating module, and the parameter channel corresponding to the frame rate parameter may be configured based on the default value when the image generating module is powered on. For example, the default value may be set to 30 frame rates, so that the default frame rate is 30 frame rates when the image generation module is powered on.
Further, it may be detected at this time whether a first update frame rate for updating the frame rate of the target test image is acquired. One exemplary method may determine whether the first update frame rate is obtained by looking at the value of switch fps mode. For example, if switch_fps_mode is 11, it may be characterized that the first update frame rate is not acquired; if switch_fps_mode is not 11, e.g., 00, 01, or 10, it may be characterized that the first update frame rate is obtained. The specific value of the first update frame rate corresponding to the specific value of the switch_fps_mode can be flexibly set according to the requirement. For example, switch_fps_mode:00 to characterize 30 frame rate; switch_fps_mode:01 to characterize 60 frame rate; switch_fps_mode:10 to characterize 7.5 frame rate.
If a first updating frame rate for updating the frame rate of the target test image is detected, acquiring the current frame rate of the target test image, and judging whether the current frame rate is different from the first updating frame rate. If not, step S350 may be skipped, and if not, step S360 may be skipped. For example, if the first update frame rate is 60 frame rates and the current frame rate is 30 frame rates, and the current frame rate is not the same as the first frame rate, the step S350 may be skipped.
Step S350: and if the current frame rate is different from the first updating frame rate, updating the frame rate of the target test image based on the first updating frame rate to obtain a target test image with updated frame rate.
When the current frame rate is different from the first updated frame rate, the frame rate of the target test image can be updated based on the first updated frame rate, so as to obtain a target test image with updated frame rate. As described in the foregoing example, if the first update frame rate is 60 frame rates and the current frame rate is 30 frame rates, the frame rate of the target test image may be updated based on the 60 frame rates, so as to obtain the target test image with 60 frame rates. The switching of the target test image frame rate can be realized, so that the requirements of a display module and an image processing module can be better met.
Alternatively, since the time when the first update frame rate is acquired may be at a position between the start and the end of a certain frame of the target test image, if the target test image is updated directly at the first update frame rate at this time, an error may be generated in the target test image, thereby reducing stability. Therefore, when step S350 is performed, steps S351 to S353 may also be included.
Step S351: and determining a current frame at a target moment based on the current frame rate, wherein the target moment comprises the moment when the first updated frame rate is acquired.
Step S352: and taking the next frame adjacent to the current frame as a target frame.
Step S353: and updating the frame rate of the target test image based on the first updating frame rate at the starting moment of the target frame to obtain an updated target test image.
In some embodiments, the current frame at which a target time instant is located may be determined based on the current frame rate, wherein the target time instant includes a time instant at which the first updated frame rate is obtained. The current frame may be continuously displayed at the current frame rate, and then the next frame adjacent to the current frame is used as the target frame. And updating the frame rate of the target test image based on the first updating frame rate at the starting moment of the target frame to obtain an updated target test image. Therefore, the frame rate of the target test image can be updated based on the first updated frame rate at the boundary between two frames, namely at the ending time of the current frame and the starting time of the next frame adjacent to the current frame, so that the updated target test image is obtained, and the stability of updating the frame rate is improved.
Step S360: and if the current frame rate is the same as the first updated frame rate, not updating the frame rate of the target test image.
When the current frame rate is the same as the first updated frame rate, the frame rate is not required to be updated, and the frame rate of the target test image is not required to be updated at this time, so that the power consumption of the electronic device can be saved.
Step S370: and if the second updating frame rate is detected, acquiring the updating state of the frame rate of the target test image, wherein the updating state comprises updating or updating completion.
Step S380: whether the update status is update complete.
It will be understood that a certain time is required for updating the frame rate of the target test image, so that if the second updated frame rate is detected, the updated state of the frame rate of the target test image can be obtained, and after the target test image has been updated, the subsequent steps are performed in response to the second updated frame rate, so that the stability of the frame rate update can be improved, and errors can be avoided.
The update status may include an update or an update completion, where the update may indicate that the frame rate of the target test image has not yet been updated, and the update completion may indicate that the frame rate of the target test image has been updated. An exemplary update state may be determined by a hint character of a flag bit, e.g., the flag bit may indicate a debug or doing to characterize the update; done is displayed to characterize the update completion.
Step S390: and if the updating state is that updating is completed, taking the second updating frame rate as a new first updating frame rate, and returning to execute the steps of acquiring the current frame rate and the follow-up steps of the target test image if the first updating frame rate used for updating the frame rate of the target test image is detected.
Step S3100: and if the update state is in the update process, continuously acquiring the update state until the update state is the update completion.
If the update status is that the update is completed, the second update frame rate may be used as a new first update frame rate and the steps S330 and the subsequent steps may be executed again. The second update frame rate may be acquired after the first update frame rate is acquired. If the update status is in the update process, the frame rate of the target test image may not be updated at this time, and the update status may be continuously obtained until the update status is completed.
The test image generation method is applied to electronic equipment, and the electronic equipment comprises a test image generation module, a display module and an image signal processing module, wherein the image generation module is respectively connected with the display module and the image signal processing module, and can be configured based on target requirements; generating a target test image meeting the target requirement based on the configured image generation module; if a first updating frame rate for updating the frame rate of the target test image is detected, acquiring the current frame rate of the target test image; and if the current frame rate is different from the first updating frame rate, updating the frame rate of the target test image based on the first updating frame rate to obtain a target test image with updated frame rate. The switching of the target test image frame rate can be realized, so that the requirements of a display module and an image processing module can be better met.
Referring to fig. 13, fig. 13 shows a block diagram of a test image generating apparatus 1100 according to an embodiment of the present application, which is applied to an electronic device, where the electronic device includes a test image generating module, a display module, and an image signal processing module, and the image generating module is respectively connected to the display module and the image signal processing module, and the apparatus includes: configuration unit 1110 and generation unit 1120.
A configuration unit 1110, configured to configure the image generation module based on a target requirement, where the target requirement is determined based on image information required for testing the display module or the image signal processing module.
Optionally, the configuration unit 1110 may be further configured to determine a first image type required for testing the display module or a second image type required for testing the image signal processing module based on the image type information; and configuring an image type parameter channel in the image generation module based on the first image type or the second image type, wherein the image type parameter channel is used for determining the image type of the target test image.
Optionally, the configuration unit 1110 may further be configured to determine at least one parameter of a frame rate parameter, an image status parameter, and a frame number parameter for each image to be continuously displayed, based on the parameter information, where the image status parameter includes a still image or a moving image; and configuring a first parameter channel in the image generation module based on at least one parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, wherein the first parameter channel comprises parameter channels corresponding to each parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, and the first parameter channel is used for determining the frame rate of the target test image, the image state of the target test image and the frame number continuously displayed by each image of the target test image.
Optionally, the configuration unit 1110 may be further configured to determine a color configuration required for testing the display module or the image information processing module based on the color information; and configuring a second parameter channel in the image generation module based on the color configuration, wherein the second parameter channel comprises a parameter channel corresponding to the color configuration, and the second parameter channel is used for determining the color of the target test image.
The generating unit 1120 is configured to generate, based on the configured image generating module, a target test image that meets the target requirement, where the target test image includes at least one of a first test image and a second test image, where the first test image is used to test the display module, and the second test image is used to test the image signal processing module. Wherein the image state parameters of the target test image comprise a static image or a dynamic image; the target test image is divided into a specified number of blocks, each of which displays any one color including a color corresponding to a 24-color chart. The first test image includes a red green blue (RGB/RGBA) image and is based on a Red Green Blue (RGB) arrangement, and the second test image includes an original (RAW) image and is based on a bayer arrangement.
Optionally, the test image generating apparatus 1100 may further include a frame rate updating unit 1130 for acquiring a current frame rate of the target test image if a first update frame rate for updating the frame rate of the target test image is detected; and if the current frame rate is different from the first updating frame rate, updating the frame rate of the target test image based on the first updating frame rate to obtain a target test image with updated frame rate.
Optionally, the frame rate updating unit 1130 may be further configured to determine, based on the current frame rate, a current frame at which a target time is located, where the target time includes a time when the first updated frame rate is acquired; taking the next frame adjacent to the current frame as a target frame; and updating the frame rate of the target test image based on the first updating frame rate at the starting moment of the target frame to obtain an updated target test image.
Optionally, the frame rate updating unit 1130 may be further configured to obtain an update status of the frame rate of the target test image if the second update frame rate is detected, where the update status includes in-update or update completion; if the updating state is that updating is completed, taking the second updating frame rate as a new first updating frame rate, and returning to execute the steps of acquiring the current frame rate and the follow-up steps of the target test image if the first updating frame rate for updating the frame rate of the target test image is detected; and if the update state is in the update process, continuously acquiring the update state until the update state is the update completion.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus and unit may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided herein, the coupling of the units to each other may be electrical, mechanical, or other.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Referring to fig. 14, fig. 14 is a schematic diagram of a test image generator 1200 provided in an embodiment of the present application, where the test image generator 1200 may be applied to an electronic device 100, and the electronic device includes a display module 130 and an image signal processing module 140, and the test image generator 1200 is respectively connected to the display module 130 and the image signal processing module 1400. The image generator may generate the target test image based on the test image generating method described in the foregoing embodiment, which will not be described herein.
Optionally, the test image generator 1200 may further include a register 1210, where the register 1210 may be used to configure the image signal processing module based on the target requirement, and the specific description refers to the foregoing embodiment.
With continued reference to FIG. 1, the processor 110 of FIG. 1 may include one or more processing cores. The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device 100, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 820, and invoking data stored in the memory 820. Alternatively, the processor 110 may be implemented in at least one hardware form of digital signal processing (Digita l Signa l Process ing, DSP), field programmable gate array (Fie ld-Programmab le Gate Array, FPGA), programmable logic array (Programmab le Logic Array, PLA). The processor 80 may integrate one or a combination of several of a central processing unit (Centra l Process ing Un it, CPU), an image processor (Graph ics Process ing Un it, GPU), and a modem, etc. Wherein, the CPU mainly processes an operating system, a user interface, a computer program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip. The method as described in the previous embodiments may be performed in particular by one or more processors 110.
For some embodiments, the electronic device 100 may also include Memory 150, which may include random access Memory (Random Access Memory, RAM) or Read-On-l-y Memory. Memory 150 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 150 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the electronic device 100 in use, and the like.
For some embodiments, the display module 130 may include a liquid crystal display (Liqu id Crysta l Di sp l ay, LCD), an electromechanical laser display (Organ ic E lectro l uminescence Di sp l ay, OLED), or a quantum dot light emitting diode (Quantum Dot Light Emitt ingDiodes, QLED), or the like. The image signal processing module 140 may be an image signal processor ISP.
Referring to fig. 15, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 1300 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments above.
The computer readable storage medium 1300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, computer readable storage medium 1300 includes non-volatile computer readable media (non-trans itory computer-readab le storage med ium). The computer readable storage medium 1300 has storage space for program code 1310 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 1310 may be compressed, for example, in a suitable form.
Referring to fig. 16, a block diagram of a computer program product 1400 provided in an embodiment of the present application is shown. Included in the computer program product 1400 are computer programs/instructions 1410 which when executed by a processor implement the steps of the methods described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A test image generating method, characterized in that it is applied to an electronic device, the electronic device includes a test image generating module, a display module, and an image signal processing module, the image generating module is connected with the display module and the image signal processing module, respectively, the method includes:
configuring the image generation module based on a target requirement, the target requirement being determined based on image information required to test the display module or the image signal processing module;
and generating a target test image meeting the target requirement based on the configured image generation module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
2. The method of claim 1, wherein the image information includes image type information, the configuring the image generation module based on target requirements, comprising:
determining a first image type required for testing the display module or a second image type required for testing the image signal processing module based on the image type information;
And configuring an image type parameter channel in the image generation module based on the first image type or the second image type, wherein the image type parameter channel is used for determining the image type of the target test image.
3. The method of claim 1, wherein the image information includes parameter information, the configuring the image generation module based on target requirements, comprising:
determining at least one of a frame rate parameter, an image state parameter, and a frame number parameter for which each image is continuously displayed, based on the parameter information, the image state parameter including a still image or a moving image;
and configuring a first parameter channel in the image generation module based on at least one parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, wherein the first parameter channel comprises parameter channels corresponding to each parameter of the frame rate parameter, the image state parameter and the frame number parameter continuously displayed by each image, and the first parameter channel is used for determining the frame rate of the target test image, the image state of the target test image and the frame number continuously displayed by each image of the target test image.
4. The method of claim 1, wherein the image information includes color information, the configuring the image generation module based on target requirements, comprising:
determining a color configuration required to test the display module or the image information processing module based on the color information;
and configuring a second parameter channel in the image generation module based on the color configuration, wherein the second parameter channel comprises a parameter channel corresponding to the color configuration, and the second parameter channel is used for determining the color of the target test image.
5. The method of claim 1, wherein the generating a target test image that meets the target requirement based on the configured image generation module further comprises:
if a first updating frame rate for updating the frame rate of the target test image is detected, acquiring the current frame rate of the target test image;
and if the current frame rate is different from the first updating frame rate, updating the frame rate of the target test image based on the first updating frame rate to obtain a target test image with updated frame rate.
6. The method of claim 5, wherein updating the frame rate of the target test image based on the first updated frame rate if the current frame rate is different from the first updated frame rate, comprises:
determining a current frame at a target time based on the current frame rate, wherein the target time comprises a time when the first updated frame rate is acquired;
taking the next frame adjacent to the current frame as a target frame;
and updating the frame rate of the target test image based on the first updating frame rate at the starting moment of the target frame to obtain an updated target test image.
7. The method according to claim 5 or 6, wherein updating the frame rate of the target test image based on the first updated frame rate, after obtaining the target test image with updated frame rate, further comprises:
if the second updating frame rate is detected, acquiring an updating state of the frame rate of the target test image, wherein the updating state comprises updating or updating completion;
if the updating state is that updating is completed, taking the second updating frame rate as a new first updating frame rate, and returning to execute the steps of acquiring the current frame rate and the follow-up steps of the target test image if the first updating frame rate for updating the frame rate of the target test image is detected;
And if the update state is in the update process, continuously acquiring the update state until the update state is the update completion.
8. The method of claim 1, wherein the image state parameter of the target test image comprises a still image or a moving image;
the target test image is divided into a specified number of tiles, each of which displays any one color.
9. The method of claim 8, wherein the colors comprise colors corresponding to 24 color cards.
10. The method of claim 1, wherein the first test image comprises a red green blue (RGB/RGBA) image and is based on a Red Green Blue (RGB) arrangement, and the second test image comprises a RAW (RAW) image and is based on a Bayer (Bayer) arrangement.
11. A test image generating apparatus, characterized in that it is applied to an electronic device, the electronic device includes a test image generating module, a display module, and an image signal processing module, the image generating module is connected to the display module and the image signal processing module, respectively, the apparatus includes:
a configuration unit configured to configure the image generation module based on a target requirement determined based on image information required to test the display module or the image signal processing module;
The generating unit is used for generating a target test image meeting the target requirement based on the configured image generating module, wherein the target test image comprises at least one of a first test image and a second test image, the first test image is used for testing the display module, and the second test image is used for testing the image signal processing module.
12. A test image generator for application to an electronic device comprising a display module and an image signal processing module, the test image generator being connected to the display module and the image signal processing module, respectively, the test image generator being adapted to generate a target test image based on the method of any one of claims 1-10.
13. The test image generator of claim 12, wherein the image generation module further comprises a register;
the register is used for configuring the image signal processing module based on target requirements.
14. The electronic equipment is characterized by comprising an image generation module, a display module and an image signal processing module, wherein the image generation module is respectively connected with the display module and the image signal processing module;
The electronic device further comprises one or more processors for controlling the image generation module to generate a target test image based on the method of any of claims 1-10.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for performing the method according to any one of claims 1-10.
CN202310239355.5A 2023-03-10 2023-03-10 Test image generation method and device, test image generator and electronic equipment Pending CN116450497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310239355.5A CN116450497A (en) 2023-03-10 2023-03-10 Test image generation method and device, test image generator and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310239355.5A CN116450497A (en) 2023-03-10 2023-03-10 Test image generation method and device, test image generator and electronic equipment

Publications (1)

Publication Number Publication Date
CN116450497A true CN116450497A (en) 2023-07-18

Family

ID=87131098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310239355.5A Pending CN116450497A (en) 2023-03-10 2023-03-10 Test image generation method and device, test image generator and electronic equipment

Country Status (1)

Country Link
CN (1) CN116450497A (en)

Similar Documents

Publication Publication Date Title
KR100747488B1 (en) Image signal display device
JP4845825B2 (en) Multicolor display device
CN114913814B (en) Display panel driving method, display driving device and electronic equipment
KR101735583B1 (en) A method for reducing a visibility of false contours in a display device
CN113495709B (en) Color correction method, AP chip, terminal and storage medium
WO2021068795A1 (en) Image display method and device, image identification method and device, medium, apparatus, and system
KR20060109211A (en) Av system and bitmap font outline producing method of the av system
US20140118406A1 (en) Display control device and data processing system
CN106935213B (en) Low-delay display system and method
CN106657985B (en) The method and system of flying-spot video generator custom images
CN116450497A (en) Test image generation method and device, test image generator and electronic equipment
EP1770682B1 (en) Method for enhancing colour resolution and device exploiting the method
WO2019239914A1 (en) Control device, display device, and control method
US20220138901A1 (en) Image display method, image processing method, image processing device, display system and computer-readable storage medium
JP6045138B2 (en) Image display apparatus and control method thereof
CN115689926A (en) Color correction method, device, electronic equipment and storage medium
KR100545855B1 (en) Driving circuit for data display and driving method for data display using same
CN112150345A (en) Image processing method and device, video processing method and sending card
KR102065515B1 (en) Display apparatus for only displaying valid images of augmented reality and method for only displaying valid images of augmented reality
JP2014203034A (en) Display control device
WO2017084038A1 (en) Image display method and apparatus, electronic device and storage medium
KR102657176B1 (en) Image Generating Device For Collecting Lighting Information On LED Display
CN114464124B (en) Display device, display method thereof, processor and computer storage medium
CN118075549A (en) Image processing method, device, computer equipment and image display method
WO2023070362A1 (en) Display control method and apparatus, and display device and computer-readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination