Display setting method and system, electronic equipment and storage medium
By filtering and configuring the contrast parameters of the display screen, the problem of display effect differences on the same model of display screen is solved, the user experience is improved, and the display effect is consistent and close to the preset effect.
Patent Information
- Application Number
- CN202310335349.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the production process of electronic products, due to production process limitations, the display effects of multiple displays of the same model and batch are different, resulting in some displays failing to achieve the expected display effects, resulting in poor user experience.
By acquiring multiple test images, the target images that meet the display effect conditions are screened out, and their corresponding contrast parameters are configured to the display screen to ensure that the display effect reaches or is close to the preset effect. Specific steps include generating test images, identifying display effect parameters, calculating parameter differences, determining the image corresponding to the smallest parameter difference as the target image, and configuring its corresponding parameters to the display screen.
It reduces poor display effects caused by improper configuration of contrast parameters, improves user experience, and ensures that the display effects of multiple electronic products are consistent and close to the preset effect.
Smart Images

Figure CN118762622A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of software control, and in particular to a display setting method, system, electronic device and storage medium. Background Art
[0002] The display effect of the display screen of an electronic product is affected by the contrast parameter of the display screen. At present, in the production process of electronic products with display screens, workers can determine the value of the contrast parameter when the display effect of the display screen reaches the expected effect through experiments, and configure the contrast parameter obtained from the experiment to the display screen.
[0003] At present, due to the limitation of production technology, there are cases where the display effects of multiple display screens of the same model and the same batch are different. Therefore, when the contrast parameters obtained in the experiment are configured to multiple display screens indiscriminately, some display screens cannot achieve the expected display effect, resulting in the defect of poor display effect of some display screens. Summary of the invention
[0004] In view of the above, it is necessary to provide a display setting method, system, electronic device and storage medium, which can determine the contrast parameters adapted to the display screen according to the expected display effect, and configure the adapted contrast parameters to the display screen, which can reduce the situation where the display screen has poor display effect and improve the user experience.
[0005] In a first aspect, an embodiment of the present application provides a display setting method for setting contrast parameters of a display screen of an electronic product, the method comprising: obtaining a plurality of test images generated by the display screen according to a preset parameter group, wherein the preset parameter group comprises a plurality of preset parameters, and the plurality of preset parameters are contrast parameters; screening out a target image that meets display effect conditions from the plurality of test images; and configuring the preset parameters corresponding to the target image to the electronic product.
[0006] Optionally, screening out a target image that meets the display effect conditions from the multiple test images includes: identifying display effect parameters of the multiple test images; calculating multiple parameter differences based on the multiple display effect parameters and a target effect parameter; and determining that the test image corresponding to the parameter difference with the smallest numerical value is the target image.
[0007] Optionally, the method includes: in response to the absence of the display effect parameter equal to the target effect parameter, calculating multiple parameter differences based on multiple display effect parameters and the target effect parameter; in response to the existence of the display effect parameter equal to the target effect parameter, determining that the test image corresponding to the display effect parameter is the target image.
[0008] Optionally, the preset parameter group includes at least one first parameter and multiple second parameters, the absolute value of the difference between the second parameter and the first parameter is less than a preset interval threshold, the multiple test images include at least one first image and multiple second images, the first image corresponds to the first parameter, and the multiple second images correspond to the multiple second parameters respectively, and the identifying of the display effect parameters of the multiple test images includes: identifying the display effect parameters of the first image; in response to the display effect parameters of the first image being equal to the target effect parameters, determining that the first image is the target image; in response to the display effect parameters of the first image being not equal to the target effect parameters, identifying the display effect parameters of the multiple second images.
[0009] Optionally, identifying the display effect parameters of the multiple test images includes: obtaining RGB values corresponding to multiple pixel points of each test image; and determining an average value of the RGB values of the multiple pixel points as the display effect parameter of the test image.
[0010] Optionally, the display effect parameter and the target effect parameter are related to RGB values, the RGB value includes R value, B value and G value, and the parameter difference corresponding to the display effect parameter is the arithmetic square root of the R value calculation value, the G value calculation value and the B value calculation value; wherein, the R value calculation value is the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter, the G value calculation value is the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter, and the B value calculation value is the arithmetic square root of the sum of the squares of the differences between the B value in the display effect parameter and the B value in the target effect parameter.
[0011] Optionally, the display effect parameter and the target effect parameter are related to RGB values, the RGB value includes R value, B value and G value, and the parameter difference corresponding to the display effect parameter is the arithmetic square root of the R value calculation value, the G value calculation value and the B value calculation value; wherein the R value calculation value is the product of the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter and a preset first constant, the G value calculation value is the product of the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter and a preset second constant, and the B value calculation value is the product of the arithmetic square root of the sum of the squares of the differences between the B value in the display effect parameter and the B value in the target effect parameter and a preset third constant.
[0012] In a second aspect, an embodiment of the present application provides a display setting system for setting contrast parameters of a display screen of an electronic product, the display setting system comprising: an image acquisition module for acquiring a plurality of test images generated by the display screen according to a preset parameter group, wherein the preset parameter group comprises a plurality of preset parameters, and a plurality of the preset parameters are contrast parameters; a screening module for screening out a target image that meets display effect conditions from the plurality of the test images; and a configuration module for configuring the preset parameters corresponding to the target image to the electronic product.
[0013] In a third aspect, an embodiment of the present application provides an electronic device for setting contrast parameters of a display screen of an electronic product, the electronic device comprising: a storage device for storing a computer program; a processing device connected to the electronic product and used to execute the computer program stored in the storage device, when the computer program is executed, the processing device is used to execute the display setting method as described in any one of the above items; an image acquisition device connected to the processing device, used to acquire multiple test images for the display screen, and output the multiple test images to the processing device.
[0014] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium includes a computer program. When the computer program is executed on an electronic device, the electronic device executes the display setting method as described in any one of the above items.
[0015] The embodiment of the present application sets a display setting method, system, electronic device and storage medium, and can determine a preset parameter in the preset parameter group and configure it for the electronic product through a preset parameter group and a display effect parameter corresponding to a plurality of preset parameters in the preset parameter group as the contrast parameter of the display screen, so that the display effect of the display screen can reach or approach the preset display effect. In this way, the situation where the display effect of some display screens is poor when the same preset parameters are configured for multiple electronic products can be reduced, and the user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a schematic diagram of the structure of an electronic device and an electronic product according to an embodiment of the present application.
[0017] Figure 2 Flow chart of a display setting method according to an embodiment of the present application.
[0018] Figure 3 FIG. 4 is another flow chart of the display setting method according to an embodiment of the present application.
[0019] Figure 4 FIG. 4 is another flow chart of the display setting method according to an embodiment of the present application.
[0020] Figure 5 FIG. 4 is another flow chart of the display setting method according to an embodiment of the present application.
[0021] Figure 6 It is a structural diagram of a display setting system according to an embodiment of the present application.
[0022] Main component symbols
[0023] Electronic devices 100
[0024] Display setting system 200
[0025] Electronics 10
[0026] Display 11
[0027] Image acquisition device 20
[0028] Processing device 30
[0029] Storage device 40
[0030] Computer Program 41
[0031] Parameter output module 50
[0032] Image acquisition module 60
[0033] Screening module 70
[0034] Configuration module 80 DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0036] See also Figure 1 , Figure 1 The electronic device 100 and the electronic product 10 provided in the embodiment of the present application are schematic diagrams of the structure. The electronic device 100 is used to connect with the electronic product 10 and configure the contrast parameters of the display screen 11 of the electronic product 10.
[0037] It is understood that the electronic product 10 may include a display screen 11. The display screen 11 is used to display images. The electronic device 100 may control the display screen 11 to display images according to the configured contrast parameter, and the change of the contrast parameter may affect the display effect of the display screen 11.
[0038] It is understood that the parameter format of the contrast parameter can be a value or an array of multiple values, which is not limited in the embodiments of the present application. The parameter format of the contrast parameter can be adjusted according to different models of the electronic product 10.
[0039] In the embodiments of the present application, there is no specific limitation on the type of the electronic product 10. For example, the electronic product 10 may be, but is not limited to, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone with a display screen 11, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and / or a smart city device.
[0040] In this embodiment, the electronic device 100 may include an image acquisition device 20, a processing device 30 and a storage device 40. The image acquisition device 20, the processing device 30 and the storage device 40 may be communicatively connected via a bus.
[0041] The image acquisition device 20 is used to acquire the display screen 11 and the image displayed on the display screen 11. In the embodiment of the present application, there is no specific limitation on the type of the image acquisition device 20. For example, the image acquisition device 20 can be, but is not limited to, a camera, a webcam, etc.
[0042] The processing device 30 may be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
[0043] The storage device 40 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The storage device 40 may exist independently and be connected to the processing device 30 via a bus. The storage device 40 may also be integrated with the processing device 30.
[0044] It can be understood that the image acquisition device 20 is used to output the acquired image to the processing device 30. The storage device 40 is used to store the computer program 41. The processing device 30 is used to execute the computer program 41. When the processing device 30 executes the computer program 41, the processing device 30 runs a display setting method to determine a preset parameter according to the received image, and configures the preset parameter to the electronic product 10, so that the display screen 11 of the electronic product 10 can determine the contrast according to the preset parameter, so that the display effect of the display screen 11 reaches the specified effect.
[0045] The preset parameter may be a contrast parameter. The display effect may be reflected in the parameter content related to the image displayed on the display screen 11. For example, the image-related parameters may include, but are not limited to, RGB values.
[0046] It can be understood that the RGB value is related to the color elements of the three primary colors in the picture, including hue, saturation and lightness. The RGB value may include an R value, a G value and a B value. Among them, the numerical value of the R value is positively correlated with the red color element in the picture displayed on the display screen 11, the numerical value of the G value is positively correlated with the green color element in the picture displayed on the display screen 11, and the numerical value of the B value is positively correlated with the blue color element in the picture displayed on the display screen 11.
[0047] In the embodiments of the present application, the format of the RGB value is not specifically limited. For example, the format of the RGB value can be (R, G, B), where R is the value of the R value, G is the value of the G value, and B is the value of the B value.
[0048] In the embodiments of the present application, the manner in which the electronic product 10 determines the contrast of the display screen 11 is not specifically limited. For example, the electronic product 10 may include a processor (not shown), which is in communication with the processing device 30 and the display screen 11. The processor is used to control the display screen 11 to display an image. The processor may receive information output by the processing device 30, and configure the contrast of the display screen 11 according to the received information.
[0049] In the embodiments of the present application, there is no specific limitation on the type of the electronic device 100. For example, the electronic device 100 may be, but is not limited to, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook equipped with the image acquisition device 20, a cellular phone with a display screen 11, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device and / or a smart city device, etc.
[0050] See also Figure 2 , Figure 2 The display control method can be executed on the electronic device 100 .
[0051] The display setting method may include the following steps S21 to S24:
[0052] Step S21 : outputting the preset parameter set to the electronic product 10 .
[0053] It is understandable that before the display setting method is executed, the staff can preset a set of preset parameters in the electronic device 100. When the display setting method is executed, the processing device 30 outputs the preset parameter set to the electronic product 10.
[0054] In the embodiment of the present application, the storage location of the preset parameter group is not specifically limited. For example, the preset parameter group can be stored in the storage device 40.
[0055] In an embodiment of the present application, the preset parameter group may include multiple preset parameters. The preset parameters are all contrast parameters. Among them, the multiple preset parameters include a first parameter and multiple second parameters.
[0056] The first parameter may be a contrast parameter configured for the display screen 11 when the display effect parameter of the image displayed on the display screen 11 reaches the target effect parameter in the experiment. The display effect parameter may be the RGB value of the image captured by the image acquisition device 20 on the display screen 11 when the display screen 11 displays the preset image. The target effect parameter is the RGB value of the preset image displayed on the display screen 11 when the display effect of the display screen 11 reaches the preset effect.
[0057] The second parameter may be a contrast parameter whose difference with the first parameter is less than a preset interval threshold. In the embodiment of the present application, the value of the interval threshold is not specifically limited. For example, when the format of the preset parameter is a value from 0 to 100, the interval threshold may be 5.
[0058] In the embodiments of the present application, a plurality means two or more.
[0059] In an embodiment of the present application, when multiple second parameters in a preset parameter group are arranged from small to large or from large to small according to numerical values, the difference between adjacent second parameters in multiple second parameters greater than the first parameter may be equal, and the difference between adjacent second parameters in multiple second parameters less than the first parameter may be equal. For example, when the format of the preset parameter is a numerical value from 0 to 100, the multiple preset parameters in the preset parameter group may include 54, 50, 51, 52, 53, 55, 56, 57 and 58 in sequence, or may include 50, 51, 52, 53, 54, 55, 56, 57 and 58. Among them, 54 is the first parameter, and 50, 51, 52, 53, 55, 56, 57 and 58 are all second parameters; the difference between adjacent second parameters in multiple second parameters greater than the first parameter is 1, and the difference between adjacent second parameters in multiple second parameters less than the first parameter is 1.
[0060] It can be understood that when multiple second parameters in the preset parameter group are arranged from small to large or from large to small according to numerical values, the first parameter in the preset parameter group can be located at any preset position. For example, the first parameter can be located between the second parameter with the smallest numerical value among multiple second parameters greater than the first parameter and the second parameter with the largest numerical value among multiple second parameters less than the first parameter. For another example, the first parameter can be located at the first position among multiple preset parameters.
[0061] It is understandable that different preset parameter groups may correspond to different models of electronic products 10. The preset parameter group output to the electronic product 10 in step S21 is a preset parameter group obtained through experiments using the same model of the electronic product 10 as the electronic product 10 to be set.
[0062] It is understood that the electronic product 10 can receive a preset parameter group and display a plurality of preset images in sequence according to the plurality of preset parameter groups. The number of preset images can be equal to the number of preset parameters in the preset parameter group.
[0063] In the embodiments of the present application, the content of the preset image is not specifically limited. For example, the preset image may be a pure color image, and the color of the preset image may include one or more colors of the three optical primary colors. For another example, the preset image may be an image taken or drawn by a staff member or an external device, and the preset image includes multiple colors.
[0064] Step S22: Acquire a plurality of test images generated by the display screen 11 according to the preset parameter group.
[0065] It can be understood that the content of the test image at least includes a preset image displayed on the display screen 11. In some embodiments, the content of the test image may also include the hardware structure of the electronic product 10.
[0066] It can be understood that the electronic device 100 can acquire a test image corresponding to the preset image through the image acquisition device 20 each time a preset image is displayed on the display screen 11, that is, acquire multiple test images corresponding to multiple preset parameters respectively through the image acquisition device 20. The image acquisition device 20 is used to output the acquired test image to the processing device 30.
[0067] It can be understood that the electronic product 10 is used to set multiple preset parameters as contrast parameters of the display screen 11 at multiple time points, and is used to control the display screen 11 to display preset images at multiple time points. Therefore, the preset images displayed by the display screen 11 at multiple time points correspond to the multiple preset parameters one by one. The display screen 11 can use the preset parameters as contrast parameters in sequence to display the preset images according to the order of the preset parameters in the preset parameter group. The processing device 30 can obtain the order of multiple preset parameters in the preset parameter group before outputting the preset parameter group to the electronic product 10. In this way, the processing device 30 can determine the correspondence between the received test image and the preset parameters in the preset parameter group according to the order in which the test images are received. For example, the processing device 30 can know that the Nth received test image corresponds to the preset parameter ranked as the Nth in the preset parameter group, where N is a positive integer.
[0068] In some scenarios, the content of the test image includes a preset image displayed on the display screen 11. In other scenarios, the content of the test image may include a preset image displayed on the display screen 11 and a part of the hardware structure of the electronic product 10.
[0069] Step S23: Filtering out a target image that meets the display effect condition from a plurality of test images.
[0070] It can be understood that the processing device 30 of the electronic device 100 can determine a test image whose display effect meets the display effect condition from multiple test images. When the display screen 11 displays the preset image in the test image, the display effect of the display screen 11 reaches or approaches the preset display effect.
[0071] In the embodiments of the present application, the content of the display effect condition is not specifically limited. For example, the display effect condition may be that the RGB value of the test image is the test image with the smallest difference with a target RGB value among the RGB values of multiple test images.
[0072] Step S24 : configuring the preset parameters corresponding to the target image to the electronic product 10 .
[0073] It can be understood that after determining the target image, the processing device 30 can determine the order of the preset parameters corresponding to the target image in the preset parameter group according to the order of the target image in the multiple test images, and determine the preset parameters corresponding to the target image according to the order. The processing device 30 can configure the preset parameters corresponding to the target image to the electronic product 10, thereby completing the setting of the contrast parameters of the display screen 11, so that the display effect of the display screen 11 reaches or approaches the preset display effect.
[0074] In the embodiment of the present application, the manner in which the processing device 30 configures the preset parameters corresponding to the target image for the electronic product 10 is not specifically limited. For example, the processing device 30 may determine the order of the preset parameters in the preset parameter group according to the order of the target image in a plurality of test images, and output a setting instruction to the electronic product 10 according to the order of the preset parameters in the preset parameter group. After the electronic product 10 determines the order of the preset parameters corresponding to the target image according to the setting instruction, it obtains the preset parameters in the preset parameter group and uses the obtained preset parameters as the contrast parameters of the display screen 11. For another example, the processing device 30 may determine the order of the preset parameters in the preset parameter group according to the order of the target image in a plurality of test images, and obtain the corresponding preset parameters from the preset parameter group according to the order, and then output the obtained preset parameters to the electronic product 10; the electronic product 10 sets the received preset parameters as the contrast parameters of the display screen 11.
[0075] It can be understood that when setting contrast parameters for multiple electronic products 10 of the same model, the staff can use the electronic device 100 to perform the above steps S21 to S24 for each of the multiple electronic products 10, thereby setting contrast parameters for the multiple electronic products 10 that can enable the display screen 11 to achieve a preset display effect. In this way, when the same contrast parameters are uniformly configured for the same model, the situation where some display screens 11 have poor display effects due to differences between multiple display screens 11 caused by limitations of the production process can be reduced. This can improve user experience.
[0076] See also Figure 3 In some embodiments, the method of selecting a target image that meets the display effect condition from a plurality of test images may include the following steps S31 to S35. Among them, steps S31 to S35 are Figure 2 Sub-step of step S23.
[0077] Step S31: identifying display effect parameters of a plurality of test images.
[0078] In the embodiments of the present application, the type of display effect parameter is not specifically limited. For example, the display effect parameter may be the RGB value of the test image.
[0079] Please also read Figure 4 In some embodiments, the method of identifying display effect parameters for a test image may include the following steps S41 and S42. Steps S41 and S42 may be sub-steps of step S31.
[0080] Step S41: Obtain RGB values corresponding to a plurality of pixels of a test image.
[0081] Step S42: determining an average value of the RGB values of a plurality of pixels as a display effect parameter of the test image.
[0082] It can be understood that there are multiple pixels in the test image, and each of the multiple pixels has an independent RGB value. In the embodiment of the present application, the average value of multiple RGB values of multiple pixels in a test image is used as the display effect parameter of the test image, so that when the processing device 30 needs to compare the display effects of multiple test images through RGB values, the processing device 30 can directly obtain the display effect parameters of the multiple test images for comparison, thereby simplifying the process of comparing the display effects of multiple test images through RGB values.
[0083] It can be understood that the format of the display effect parameter can be in, is the average value of R value of each pixel in the test image, is the average value of G value of each pixel in the test image, is the average value of B value of each pixel in the test image.
[0084] Please continue reading Figure 3 , step S32: determine whether there is a display effect parameter equal to the target effect parameter among the multiple display effect parameters.
[0085] In which, in response to the existence of display effect parameters equal to the target effect parameters, the process proceeds to step S33; in response to the absence of display effect parameters equal to the target effect parameters, the process proceeds to step S34.
[0086] It can be understood that the target effect parameter can be a parameter related to the RGB value of the image displayed on the display screen 11. Exemplarily, the target effect parameter can be a display effect parameter of the image captured by the image acquisition device 20 on the display screen 11 when the display effect of the display screen 11 of the same model as the display screen 11 to be set reaches the best through experiments.
[0087] Step S33: determining the test image corresponding to the display effect parameter equal to the target effect parameter as the target image.
[0088] It can be understood that when there is a display effect parameter equal to the target effect parameter, it can be determined that there is a preset parameter in the preset parameter group, and when the preset parameter is used as the contrast parameter of the display screen 11, the display effect of the display screen 11 can achieve the preset display effect. At this time, the processing device 30 can configure the preset parameter to the electronic product 10, complete the setting of the contrast parameter of the display screen 11, and make the display effect of the display screen 11 reach the preset display effect.
[0089] It can be understood that after step S33 is executed, step S24 is entered.
[0090] Step S34: Calculating a plurality of parameter differences according to a plurality of display effect parameters and target effect parameters.
[0091] It can be understood that when there is no display effect parameter equal to the target effect parameter among the multiple display effect parameters, the processing device 30 runs step S34 to determine a display effect contrast parameter that can make the display effect of the display screen 11 close to the preset display effect contrast parameter through the multiple display effect parameters.
[0092] In the embodiments of the present application, the method for calculating the parameter difference is not specifically limited. For example, the parameter difference is the arithmetic square root of the R value calculation value, the G value calculation value and the B value calculation value.
[0093] Exemplarily, in the first scenario, when calculating the parameter difference of a display effect parameter, the calculated R value is the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter, the calculated G value is the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter, and the calculated B value is the arithmetic square root of the sum of the squares of the difference between the B value in the display effect parameter and the B value in the target effect parameter.
[0094] So, in the first scenario, we can use the formula Calculate the parameter difference, where Δ is the parameter difference, (ΔR) 2 is the calculated value of R, (ΔG) 2 is the calculated value of G, (ΔB) 2 Calculate the value of B.
[0095] Exemplarily, in the second scenario, when calculating the parameter difference of a display effect parameter, the calculated R value is the product of the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter and a preset first constant, the calculated G value is the product of the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter and a preset second constant, and the calculated B value is the product of the arithmetic square root of the sum of the squares of the differences between the B value in the display effect parameter and the B value in the target effect parameter and a preset third constant.
[0096] Thus, in the second scenario, we can use the formula Calculate the parameter difference, where Δ is the parameter difference, a is the first constant, b is the second constant, c is the third constant, and a(ΔR) 2 is the calculated value of R value, b(ΔG) 2 is the calculated value of G value, c(ΔB) 2 Calculate the value of B.
[0097] It can be understood that the first constant, the second constant and the third constant can be experimental data obtained by the staff when conducting experiments on the electronic device 100 of the same model as the electronic device 100 to be set. The first constant, the second constant and the third constant can be constants set by the staff in order to more clearly determine the numerical value of the parameter difference, or based on the importance of the influence of different colors in the three optical primary colors on the display effect of the display screen 11. In the embodiments of the present application, the values of the first constant, the second constant and the third constant are not specifically limited.
[0098] For electronic products 10 with display screens 11 of different models, or for electronic products 10 of different models, the first constant, the second constant and / or the third constant may be the same or different, and the embodiments of the present application are not limited to this.
[0099] Step S35: Determine the test image corresponding to the parameter difference with the smallest value as the target image.
[0100] It can be understood that when calculating the parameter difference, there are preset parameters corresponding to the parameter difference. Therefore, the processing device 30 can determine the test image corresponding to the parameter difference through the correspondence between the parameter difference and the preset parameters, and the correspondence between the preset parameters and the test image.
[0101] It can be understood that the smaller the value of the parameter difference is, the closer the display effect of the display screen 11 is to the preset display effect in the test image corresponding to the parameter difference. Therefore, when the electronic product 10 uses the preset parameter corresponding to the parameter difference with the smallest value as the contrast parameter of the display screen 11, the display effect of the display screen 11 can be close to the preset display effect.
[0102] It can be understood that after step S35 is executed, step S24 is entered.
[0103] It can be understood that before the electronic device 100 runs step S31, the image acquisition device 20 will acquire test images equal to the number of preset parameters and then output all acquired test images to the processing device 30. In some embodiments, when the electronic device 100 runs step S31, the processing device 30 identifies the display effect parameters of all received test images.
[0104] See also Figure 5 In some other embodiments, the method of identifying the display effect parameters of multiple test images may include the following steps S51 to S54. Among them, steps S51 to S54 may be Figure 3 Sub-step of step S31.
[0105] Step S51: Identify display effect parameters of the first image.
[0106] The first image is a test image corresponding to the first parameter. The electronic device 100 runs Figure 5 During steps S51 to S54 shown in FIG. 1 , the preset parameter at the first position in the preset parameter group received by the electronic product 10 is the first parameter.
[0107] It can be understood that the first parameter is a contrast parameter obtained by conducting an experiment on an electronic product 10 of the same model as the electronic product 10 to be set, which can make the display effect of the display screen 11 in the electronic product 10 to be tested reach the preset display effect. Therefore, when the electronic product 10 to be set adopts the first parameter as the contrast parameter of the display screen 11, it is highly likely that the display effect of the display screen 11 can reach the preset display effect. The processing device 30 can preferentially determine whether the first parameter can be configured for the electronic product 10 by preferentially determining the display effect parameter of the first image and comparing the display effect parameter corresponding to the first image with the target effect parameter.
[0108] Step S52: Determine whether the display effect parameter corresponding to the first image is equal to the target effect parameter.
[0109] In which, in response to the display effect parameter corresponding to the first image being equal to the target effect parameter, the process goes to step S53; in response to the display effect parameter corresponding to the first image being not equal to the target effect parameter, the process goes to step S54.
[0110] Step S53: Determine the first image as the target image.
[0111] It can be understood that when the display effect parameter corresponding to the first image is equal to the target effect parameter, the processing device 30 can directly configure the first parameter to the electronic product 10, so that the display effect of the display screen 11 is close to the preset display effect.
[0112] It can be understood that after step S53 is completed, step S24 is entered.
[0113] Step S54: identifying display effect parameters of a plurality of second images.
[0114] The second image is a test image corresponding to the second parameter.
[0115] It can be understood that when the display effect parameters corresponding to the first image are not equal to the target effect parameters, it can be determined that there is a difference between the electronic product 10 to be set and the same model electronic product 10 for the experiment. At this time, the processing device 30 needs to identify the display effect parameters of multiple second images and determine a contrast parameter that can be configured for the electronic product 10 based on the multiple display effect parameters.
[0116] It can be understood that after step S54 is completed, step S32 is entered.
[0117] Through Figures 2 to 5 In the display setting method shown, the electronic device 100 can obtain the preset parameter group through experiments, and the display effect parameters corresponding to the contrast parameters of the display screen 11 when the electronic product 10 uses multiple preset parameters in the preset parameter group as the contrast parameters of the display screen 11, and determine a preset parameter in the preset parameter group to configure for the electronic product 10, so that the display effect of the display screen 11 can reach or approach the preset display effect. In this way, the situation where the display effect of some display screens 11 is poor when the same preset parameters are configured for multiple electronic products 10 can be reduced; the user experience can be improved.
[0118] See also Figure 6 , Figure 6 A schematic diagram of a display setting system 200 provided in an embodiment of the present application.
[0119] The display setting system 200 provided in the embodiment of the present application may include a parameter output module 50 , an image acquisition module 60 , a screening module 70 and a configuration module 80 .
[0120] The parameter output module 50 is used to output a preset parameter group to the electronic product 10 .
[0121] It can be understood that the preset parameter group includes multiple preset parameters, and the multiple preset parameters are all contrast parameters.
[0122] The image acquisition module 60 is used to acquire a plurality of test images generated by the display screen 11 according to a preset parameter group.
[0123] It can be understood that the electronic product 10 can configure multiple preset parameters to the display screen 11 respectively, and the display screen 11 uses the multiple preset parameters as contrast parameters and displays multiple preset images respectively. The multiple test images acquired by the image acquisition module 60 can be multiple test images acquired by the image acquisition device 20 on the display screen 11. The test image can at least include the preset image displayed by the display screen 11.
[0124] The screening module 70 is used to screen out a target image that meets the display effect condition from a plurality of test images.
[0125] It can be understood that the screening module 70 can determine a target image by comparing and calculating the display effect parameters and the target effect parameters.
[0126] The configuration module 80 is used to configure the preset parameters corresponding to the target image to the electronic product 10 .
[0127] It can be understood that when the electronic product 10 configures the preset parameters to the display screen 11 as contrast parameters, the display effect of the display screen 11 can reach or approach the preset display effect.
[0128] It is understandable that the division of the various modules in the above-mentioned display setting system 200 is only for illustration. In other embodiments, the display setting system 200 can be divided into different modules as needed to complete all or part of the functions of the above-mentioned display setting system 200.
[0129] In the embodiment of the present application, the specific implementation of each module of the display setting system 200 can also correspond to reference Figures 2 to 5 The corresponding description of the method embodiment shown.
[0130] Based on the same concept, an embodiment of the present application further provides a storage medium. The readable storage medium stores a computer program 41, and when the computer program 41 is executed on the electronic device 100, the electronic device 100 can execute the display setting method provided in the above embodiment.
[0131] Among them, the electronic device 100, display setting system 200 and storage medium provided in the embodiment of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0132] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the attached claims rather than the above description, and therefore it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application.
Claims
1. A display setting method for setting the contrast parameter of a display screen of an electronic product, characterized in that: The method comprises: Acquire a plurality of test images generated by the display screen according to a preset parameter group, wherein the preset parameter group includes a plurality of preset parameters, and the plurality of preset parameters are contrast parameters; Filtering out a target image that meets a display effect condition from the plurality of test images; The preset parameters corresponding to the target image are configured to the electronic product.
2. The display setting method according to claim 1, wherein: The step of selecting a target image that meets the display effect condition from the plurality of test images comprises: Identifying display effect parameters of a plurality of the test images; Calculating a plurality of parameter differences according to a plurality of display effect parameters and a target effect parameter; The test image corresponding to the parameter difference with the smallest value is determined as the target image.
3. The display setting method according to claim 2, wherein: The method comprises: In response to the absence of the display effect parameter equal to the target effect parameter, calculating a plurality of parameter differences according to the plurality of display effect parameters and the target effect parameter; In response to the existence of the display effect parameter equal to the target effect parameter, the test image corresponding to the display effect parameter is determined to be the target image.
4. The display setting method according to claim 2, wherein: The preset parameter group includes at least one first parameter and multiple second parameters, the absolute value of the difference between the second parameter and the first parameter is less than a preset interval threshold, the multiple test images include at least one first image and multiple second images, the first image corresponds to the first parameter, and the multiple second images correspond to the multiple second parameters respectively, and the display effect parameters for identifying the multiple test images include: identifying the display effect parameters of the first image; In response to the display effect parameter of the first image being equal to the target effect parameter, determining the first image as the target image; In response to the display effect parameter of the first image not being equal to the target effect parameter, the display effect parameters of a plurality of the second images are identified.
5. The display setting method according to any one of claims 2 to 4, characterized in that: The step of identifying the display effect parameters of the plurality of test images comprises: Obtaining RGB values corresponding to a plurality of pixel points of each of the test images; An average value of the RGB values of the plurality of pixels is determined as the display effect parameter of the test image.
6. The display setting method according to any one of claims 2 to 4, characterized in that: The display effect parameter and the target effect parameter are related to RGB values, the RGB value includes R value, B value and G value, and the parameter difference corresponding to the display effect parameter is the arithmetic square root of the R value calculation value, the G value calculation value and the B value calculation value; Among them, the calculated value of the R value is the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter, the calculated value of the G value is the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter, and the calculated value of the B value is the arithmetic square root of the sum of the squares of the differences between the B value in the display effect parameter and the B value in the target effect parameter.
7. The display setting method according to any one of claims 2 to 4, characterized in that: The display effect parameter and the target effect parameter are related to RGB values, the RGB value includes R value, B value and G value, and the parameter difference corresponding to the display effect parameter is the arithmetic square root of the R value calculation value, the G value calculation value and the B value calculation value; Among them, the calculated R value is the product of the square of the difference between the R value in the display effect parameter and the R value in the target effect parameter and a preset first constant, the calculated G value is the product of the square of the difference between the G value in the display effect parameter and the G value in the target effect parameter and a preset second constant, and the calculated B value is the product of the arithmetic square root of the sum of the squares of the differences between the B value in the display effect parameter and the B value in the target effect parameter and a preset third constant.
8. A display setting system for setting contrast parameters of a display screen of an electronic product, characterized in that: The display setting system comprises: An image acquisition module, used for acquiring a plurality of test images generated by the display screen according to a preset parameter group, wherein the preset parameter group includes a plurality of preset parameters, and the plurality of preset parameters are contrast parameters; A screening module, used to screen out a target image that meets the display effect condition from the plurality of test images; A configuration module is used to configure the preset parameters corresponding to the target image to the electronic product.
9. An electronic device for setting the contrast parameter of a display screen of an electronic product, characterized in that: The electronic device comprises: A storage device for storing a computer program; a processing device connected to the electronic product and used to execute the computer program stored in the storage device, wherein when the computer program is executed, the processing device is used to execute the display setting method according to any one of claims 1 to 7; The image acquisition device is connected to the processing device and is used to acquire a plurality of test images for the display screen and output the plurality of test images to the processing device.
10. A storage medium, characterized in that: The storage medium includes a computer program, and when the computer program is executed on an electronic device, the electronic device executes the display setting method according to any one of claims 1 to 7.
