CN113824833A - Image quality adjusting method and device, terminal equipment and storage medium - Google Patents

Image quality adjusting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113824833A
CN113824833A CN202110890843.3A CN202110890843A CN113824833A CN 113824833 A CN113824833 A CN 113824833A CN 202110890843 A CN202110890843 A CN 202110890843A CN 113824833 A CN113824833 A CN 113824833A
Authority
CN
China
Prior art keywords
color temperature
adjusting
image quality
determining
current
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
CN202110890843.3A
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.)
Dongguan Jinruixian Digital Technology Co ltd
Original Assignee
Dongguan Jinruixian Digital Technology Co 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 Dongguan Jinruixian Digital Technology Co ltd filed Critical Dongguan Jinruixian Digital Technology Co ltd
Priority to CN202110890843.3A priority Critical patent/CN113824833A/en
Publication of CN113824833A publication Critical patent/CN113824833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The application is applicable to the technical field of images and provides an image quality adjusting method, an image quality adjusting device, terminal equipment and a storage medium. In the embodiment of the application, an environment variable is obtained, and a color temperature adjusting algorithm is determined according to the environment variable; acquiring the current moment, and determining the color temperature adjusting amplitude of the current moment according to the color temperature adjusting algorithm; and adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude, thereby improving the image quality adjusting effect.

Description

Image quality adjusting method and device, terminal equipment and storage medium
Technical Field
The present application belongs to the field of image technologies, and in particular, to a method and an apparatus for adjusting image quality, a terminal device, and a storage medium.
Background
With the development of society, display devices such as televisions, computers, mobile phones and the like are more and more common in life of people, and at present, many display devices are set in an eye protection mode, and generally, the color temperature of image quality in the display devices is adjusted to be warmer, the brightness of the image quality is reduced a little, but manual adjustment steps are complicated, the adjusted image quality is generally yellow, the image quality is not bright and beautiful, and therefore, the image quality adjustment effect cannot be guaranteed.
Disclosure of Invention
The embodiment of the application provides a picture quality adjusting method, a picture quality adjusting device, terminal equipment and a storage medium, and can solve the problem of poor picture quality adjusting effect.
In a first aspect, an embodiment of the present application provides a method for adjusting image quality, including:
acquiring an environment variable, and determining a color temperature adjusting algorithm according to the environment variable;
acquiring the current moment, and determining the color temperature adjusting amplitude of the current moment according to the color temperature adjusting algorithm;
and adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude.
In a second aspect, an embodiment of the present application provides an image quality adjustment apparatus, including:
the algorithm determining module is used for acquiring an environment variable and determining a color temperature adjusting algorithm according to the environment variable;
the amplitude determining module is used for acquiring the current moment and determining the color temperature adjusting amplitude of the current moment according to the color temperature adjusting algorithm;
and the color temperature adjusting module is used for adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements any of the steps of the image quality adjustment method when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the image quality adjustment methods.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute any one of the image quality adjustment methods in the first aspect.
In the embodiment of the application, an environment variable is acquired, a color temperature adjusting algorithm is determined according to the environment variable, so that a color temperature adjusting algorithm in image quality suitable for the current environment is determined, the actual display effect of the image quality is improved, the current moment is acquired, the color temperature adjusting amplitude of the current moment is determined according to the color temperature adjusting algorithm, the amplitude of color temperature to be adjusted is further determined according to time, the color temperature of the current image quality of a display device is adjusted according to the color temperature adjusting amplitude, and the image quality adjusting effect is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a first flowchart illustrating an image quality adjustment method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a color temperature curve provided by an embodiment of the present application;
fig. 3 is a second flowchart illustrating an image quality adjustment method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a color temperature compensation curve provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of an image quality adjustment apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Fig. 1 is a schematic flowchart illustrating a method for adjusting image quality according to an embodiment of the present disclosure, where an execution subject of the method may be a terminal device, and as shown in fig. 1, the method for adjusting image quality may include the following steps:
and S101, acquiring an environment variable, and determining a color temperature adjusting algorithm according to the environment variable.
In this embodiment, since the display effect of the image quality is also affected under different environmental conditions, the terminal device determines the color temperature adjustment algorithm of the image quality of the display device suitable for the current environment, that is, the color temperature adjustment algorithm, by adding the environmental variables to participate in the comprehensive consideration of the image quality adjustment of the display device, and then adjusts the current image quality of the display device according to the color temperature adjustment algorithm, so as to improve the display effect of the image quality. Wherein the environmental variables include, but are not limited to, season, time zone, weather, geography, holidays, etc. The geographical variable can be obtained from a network IP; the weather and seasonal variables may be obtained from a network, such as overcast, sunny, rainy, and snowy weather.
Specifically, the determining a color temperature adjustment algorithm according to the environment variable may include: the terminal device determines a color temperature chart corresponding to the environment variable according to the environment variable, the color temperature icon can be displayed in a color temperature curve mode, as shown in fig. 2, a solid line in fig. 2 is a color temperature curve chart corresponding to the environment variable in summer; the dotted line is a graph of the color temperature corresponding to the environmental variable in winter, and the horizontal axis in fig. 2 is time and the vertical axis is color temperature. It can be understood that, the image quality effects exhibited at different times in the same environment are different, so the color temperature image can be designed by using time as a main adjustment variable, that is, the color temperature chart includes target variation ranges respectively corresponding to the preset times in the first preset time interval, and the target variation range is a variation range of a standard color temperature corresponding to the best effect exhibited by the image quality of the display device at a certain time, where the target variation range is a variation range of R, G, B corresponding to the color temperature, and the color temperature of the display device is changed by changing R, G, B three color channels.
After the color temperature chart is obtained, the terminal device may perform fitting processing on each target variation amplitude in the color temperature chart according to a preset rule to obtain the color temperature adjustment algorithm, where the preset rule may be to divide the first preset time interval into at least two time sub-intervals according to image quality trends in different environments, so as to perform fitting processing on data of the at least two time sub-intervals. The first preset time interval may be 24 hours, and the preset times are 0, 1, 2, 3, … …, and 24 times, which are 24 times in total, that is, the image quality of the display device is adjusted every other hour in a unit of one day.
As a specific example, but not by way of limitation, the first preset time interval is set to be 24 hours, and the first preset time interval is divided into 5 time sub-intervals by 0 hour, 6 hours, 13 hours, 14 hours, 20 hours, and 24 hours based on the current environment, and then each target variation amplitude in the color temperature chart is fitted to obtain color temperature adjustment algorithms respectively corresponding to different time sub-intervals, for example, the color temperature adjustment algorithm obtained after fitting is:
when X is 0 ≦ 6, Y is 200;
wherein X is the current time and Y is B.
6< X ≦ 13, Y ═ p1+ p2 × + p3 ≦ Ln (X)) < 2+ p4/(Ln (X)) + p5/X ^ 1.5;
wherein the coefficient p1 is 1172824.576; the above coefficient p2 is 11333.11753; the above coefficient p3 is-66762.79867; the above coefficient p4 is-2602127.68; the above coefficient p5 is 6260708.368.
13< X ≦ 14, Y ≦ 0;
14< X ≦ 20, Y ═ p1+ p 2X + p3 exp (X) + p4 ln (X) + p5 ln (X)/X;
wherein the coefficient p1 is-395192.164384701000; the above coefficient p2 is-1926.743851460720; the above coefficient p3 is-0.000000029583; the above coefficient p4 is 109583.656034310000; the above coefficient p5 is 705391.165829471000.
20< X <24, Y is 200.
In an embodiment, before determining the corresponding color temperature chart according to the environment variable, the terminal device needs to determine target variation ranges corresponding to the preset times, and the specific terminal device may adjust the color temperature of the display device to a standard color temperature by controlling at least two testing machines, and test the respective corresponding color temperature variation ranges of the at least two testing machines in an environment based on the environment variable, where the color temperature variation ranges are the variation ranges for adjusting the standard color temperature to a preset target color temperature, so as to calculate and calculate an average value of the respective corresponding color temperature variation ranges of the at least two testing machines, and determine the average value as the target variation range, so as to improve the accuracy of the target variation range. The standard color temperature can be set according to the user requirement, and is generally 9300.
In an embodiment, before testing the color temperature variation amplitudes corresponding to the at least two testing machines respectively based on the environment variables, the color temperature value of the preset target color temperature for adjusting the standard color temperature may specifically include: and the terminal equipment determines a color temperature regulation principle corresponding to each variable parameter in the environment variables, and then determines a target color temperature corresponding to the environment variables according to the color temperature regulation principle.
Optionally, the target color temperature may be set by user according to user requirements.
By way of specific example and not limitation, if the current environment is determined to be in winter according to seasons in the environment variables, the current situation corresponding to winter, such as shorter time in the daytime, faster color temperature change in the evening, and longer warm color temperature in the morning, is added to the color temperature adjustment principle for determining the target color temperature; if the current environment is determined to be in summer according to the seasons in the environment variables, adding the current conditions corresponding to summer, such as the time of day is increased, the change speed of the color temperature is reduced in the evening, the temperature of the warm color in the morning is continuously reduced, and the like, into the color temperature adjustment principle for determining the target color temperature. If the current environment is determined to be in the holiday period according to the holiday period in the environment variable, adding the corresponding current situation such as stronger eye protection effect and the like in the holiday period into the color temperature adjustment principle of determining the target color temperature according to the slightly reduced color temperature minimum value; if the current environment is determined not to be in the holiday according to the holiday in the environment variable, the corresponding current situation such as eye protection, more compatible with the effect of a master pipe and the like is added into the color temperature adjustment principle of determining the target color temperature according to the slightly increased color temperature minimum value. If the current environment is determined to be in the southern hemisphere according to the geography in the environment variable, adding the current situation corresponding to the southern hemisphere, such as the current season opposite to the northern hemisphere, into the color temperature adjustment principle of determining the target color temperature; the north hemisphere is vice versa. If the current environment is determined to be in a cloudy day or a rainy day according to the weather in the environment variables, slightly reducing the brightness of the display device according to the lower external brightness, adjusting the color temperature of the display device to be warmer, accelerating the color temperature change speed in the evening and the like, and adding the current situations corresponding to the cloudy day or the rainy day into the color temperature adjustment principle for determining the target color temperature; if the current environment is determined to be in a cloudy or clear day according to the weather in the environment variables, slightly increasing the brightness of the display device according to the higher external brightness, adjusting the color temperature of the display device to be cold, reducing the color temperature change speed in the evening and the like, and adding the current situation corresponding to the cloudy or clear day into the color temperature adjustment principle for determining the target color temperature; and if the current environment is determined to be in the snow day according to the weather in the environment variable, adjusting the current situation corresponding to the snow day such as the warmer color temperature of the display device and the like, and adding the current situation into the color temperature adjustment principle for determining the target color temperature.
And S102, acquiring the current time, and determining the color temperature adjusting amplitude of the current time according to the color temperature adjusting algorithm.
And step S103, adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude.
In this embodiment, the terminal device may obtain the current time from the router, the network, or the code stream, and substitute the current time into the obtained color temperature adjustment algorithm to determine the color temperature adjustment range corresponding to the current time, so as to adjust the color temperature of the current image quality of the display device according to the obtained color temperature adjustment range, so that the display device can have the best image quality effect while protecting eyes in the current environment. For example, according to the color temperature adjustment algorithm after fitting in the above embodiment, if the current time is 6, the amplitude of B to be adjusted in the corresponding color temperature adjustment amplitude is 200. Since the adjustment range of the color temperature of G can be determined based on the adjustment range determined by B, and the adjustment of the R range is not performed in this embodiment, the range corresponding to the standard color temperature of the display device can be adjusted to the color temperature corresponding to the best image quality of the display device based on the color temperature adjustment range corresponding to B, G, that is, the color temperature corresponding to the best image quality of the display device can be obtained by subtracting the color temperature adjustment range from the range corresponding to the standard color temperature, so as to achieve the effect of adjusting the color temperature of the current image quality of the display device. It can be understood that the color temperature of the current image quality of the display device is dynamically changed along with the lapse of time, so that sudden change is avoided, and the display device is more suitable for the visual effect of human eyes. When the network is disconnected or the user is not connected to the network, the router is normally in a normally open state, so that the time is stable, and the time can be directly obtained from the router under the condition that the time cannot be saved after the display device is turned off; for a low-end router without time setting, the low-end router can be obtained from a network, and if the network is disconnected, a time-free fixed algorithm is called.
In one embodiment, as shown in fig. 3, further comprising:
and S301, acquiring the display duration of the display device in a second preset time interval.
And S302, determining the color temperature to be compensated corresponding to the display time according to a preset color temperature compensation curve.
And step S303, performing color temperature compensation on the current image quality according to the color temperature to be compensated.
In this embodiment, at midday, since the external light is warmed up, and the light received by the eyes is mainly generated by superimposing the light emitted by the display device and the diffuse reflection of the external light, although the color temperature does not change much, if the user watches too long, the eyes are still tired, so a color temperature compensation curve is drawn in advance, the color temperature compensation curve is composed of the duration displayed by the display device and the color temperature corresponding to each duration, as shown in fig. 4, the horizontal axis in fig. 4 is the display duration, the vertical axis in fig. 4 is the color temperature corresponding to each duration, the color temperature to be compensated can be determined according to the color temperature corresponding to each duration, and the color temperature compensation is performed on the current image quality according to the color temperature to be compensated.
In an embodiment, the detection may be performed after the display device is started, and if the current time is within the second preset time interval, the color temperature of the display device is adjusted according to the obtained color temperature adjustment algorithm after the color temperature compensation according to the preset color temperature compensation curve, so as to avoid that the eyes of the user are too tired.
In one embodiment, in addition to adjusting the color temperature of the image quality displayed by the display device, other parameters of the image quality may be adjusted. Generally, as the color temperature decreases, the brightness decreases, the overall saturation of the picture increases, and the hue tends to be yellow, so that the saturation needs to be reduced by a proper amount, and the hue tends to be red by a proper amount. For daytime, the ambient brightness is high, and the image layering needs to be improved, so that the nonlinear brightness needs to be reduced to improve the nonlinear contrast. For night, the non-linear brightness is improved, the non-linear contrast is reduced, and the picture can be softer.
Exemplarily, after determining the color temperature adjustment amplitude at the current time, the method further includes: determining a saturation adjusting value and a hue adjusting value according to the product of the color temperature adjusting amplitude and a preset compensation coefficient; and adjusting the saturation and the hue of the current image according to the saturation adjustment value and the hue adjustment value respectively.
Specifically, a saturation adjustment value is determined according to an adjustment range of G in the color temperature adjustment range and a first preset compensation coefficient, where the formula for determining the saturation adjustment value is as follows:
Δ saturation ═ Δ G × a
Wherein the delta saturation is a saturation adjustment value; Δ G is the adjustment range of G; a is a first predetermined compensation coefficient.
Specifically, a hue adjustment value is determined according to the adjustment range of G in the color temperature adjustment range and a second preset compensation coefficient, and the formula for determining the hue adjustment value is as follows:
delta hue-delta G B
Wherein the delta hue is a saturation adjustment value; Δ G is the adjustment range of G; b is a second predetermined compensation coefficient.
Illustratively, after obtaining the current time, the method further includes: determining a brightness adjusting value and a contrast adjusting value according to the current moment and a preset compensation coefficient; and respectively adjusting the brightness and the contrast of the current image according to the brightness adjustment value and the contrast adjustment value.
Specifically, a brightness adjustment value is determined according to the current time and a third preset compensation coefficient, where the formula for determining the brightness adjustment value is as follows:
delta brightness (t-12)/6C
Wherein, the delta brightness is a brightness adjusting value; t is the current time; c is a third predetermined compensation coefficient.
Specifically, a contrast adjustment value is determined according to the current time and a fourth preset compensation coefficient, where the formula for determining the contrast adjustment value is as follows:
Δ contrast- (((t-16)/4) × D)
Wherein the delta contrast is a contrast adjustment value; t is the current time; d is a fourth predetermined compensation coefficient.
In the embodiment of the application, an environment variable is acquired, a color temperature adjusting algorithm is determined according to the environment variable, so that a color temperature adjusting algorithm in image quality suitable for the current environment is determined, the actual display effect of the image quality is improved, the current moment is acquired, the color temperature adjusting amplitude of the current moment is determined according to the color temperature adjusting algorithm, the amplitude of color temperature to be adjusted is further determined according to time, the color temperature of the current image quality of a display device is adjusted according to the color temperature adjusting amplitude, and the image quality adjusting effect is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In view of the above, fig. 5 is a schematic structural diagram of an image quality adjusting apparatus according to an embodiment of the present application, and as shown in fig. 5, the image quality adjusting apparatus may include:
and an algorithm determining module 501, configured to obtain an environment variable, and determine a color temperature adjusting algorithm according to the environment variable.
The amplitude determining module 502 is configured to obtain a current time, and determine a color temperature adjusting amplitude of the current time according to the color temperature adjusting algorithm.
And a color temperature adjusting module 503, configured to adjust a color temperature of the current image quality of the display device according to the color temperature adjusting range.
In one embodiment, the algorithm determining module 501 may include:
the chart determining unit is used for determining a corresponding color temperature chart according to the environment variable; the color temperature chart comprises target variation amplitudes corresponding to all preset moments in a first preset time interval.
And the fitting unit is used for fitting the target change amplitude according to a preset rule to obtain the color temperature adjusting algorithm.
In one embodiment, the image quality adjusting apparatus may further include:
the first adjusting module is used for adjusting the color temperature of the display device to the standard color temperature through at least two testing machines.
The test module is used for testing the color temperature change amplitudes corresponding to the at least two test machines respectively based on the environment variables; the color temperature variation range is a variation range for adjusting the standard color temperature to a preset target color temperature.
And the mean value calculating module is used for determining the mean value of the color temperature change amplitudes as the target change amplitude.
In one embodiment, the image quality adjusting apparatus may further include:
and the principle determining module is used for determining the color temperature adjusting principle corresponding to each variable parameter in the environment variables.
And the first color temperature determining module is used for determining the target color temperature corresponding to the environment variable according to the color temperature adjusting principle.
In one embodiment, the image quality adjusting apparatus may further include:
and the duration acquisition module is used for acquiring the display duration of the display device in a second preset time interval.
And the second color temperature determining module is used for determining the color temperature to be compensated corresponding to the display duration according to a preset color temperature compensation curve.
And the color temperature compensation module is used for performing color temperature compensation on the current image quality according to the color temperature to be compensated.
In one embodiment, the image quality adjusting apparatus may further include:
and the first adjusting value determining module is used for determining a saturation adjusting value and a hue adjusting value according to the product of the color temperature adjusting amplitude and a preset compensation coefficient.
And the second adjusting module is used for adjusting the saturation and the hue of the current image according to the saturation adjusting value and the hue adjusting value respectively.
In one embodiment, the image quality adjusting apparatus may further include:
and the second adjusting value determining module is used for determining a brightness adjusting value and a contrast adjusting value according to the current moment and a preset compensation coefficient.
And the third adjusting module is used for respectively adjusting the brightness and the contrast of the current image quality according to the brightness adjusting value and the contrast adjusting value.
In the embodiment of the application, an environment variable is acquired, a color temperature adjusting algorithm is determined according to the environment variable, so that a color temperature adjusting algorithm in image quality suitable for the current environment is determined, the actual display effect of the image quality is improved, the current moment is acquired, the color temperature adjusting amplitude of the current moment is determined according to the color temperature adjusting algorithm, the amplitude of color temperature to be adjusted is further determined according to time, the color temperature of the current image quality of a display device is adjusted according to the color temperature adjusting amplitude, and the image quality adjusting effect is improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the module described above may refer to corresponding processes in the foregoing system embodiments and method embodiments, and are not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For convenience of explanation, only portions related to the embodiments of the present application are shown.
As shown in fig. 6, the terminal device 6 of this embodiment includes: at least one processor 600 (only one is shown in fig. 6), a memory 601 connected to the processor 600, and a computer program 602, such as a picture quality adjustment program, stored in the memory 601 and executable on the at least one processor 600. The processor 600 executes the computer program 602 to implement the steps in the embodiments of the image quality adjustment method, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 600 executes the computer program 602 to implement the functions of the modules in the device embodiments, such as the functions of the modules 501 to 503 shown in fig. 5.
Illustratively, the computer program 602 may be divided into one or more modules, and the one or more modules are stored in the memory 601 and executed by the processor 600 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 602 in the terminal device 6. For example, the computer program 602 may be divided into an obtaining module 501, a calculating module 502, a selecting module 503, and a path planning module 504, and the specific functions of each module are as follows:
an algorithm determining module 501, configured to obtain an environment variable, and determine a color temperature adjusting algorithm according to the environment variable;
an amplitude determining module 502, configured to obtain a current time, and determine a color temperature adjusting amplitude of the current time according to the color temperature adjusting algorithm;
and a color temperature adjusting module 503, configured to adjust a color temperature of the current image quality of the display device according to the color temperature adjusting range.
The terminal device 6 may include, but is not limited to, a processor 600 and a memory 601. Those skilled in the art will appreciate that fig. 6 is merely an example of the terminal device 6, and does not constitute a limitation to the terminal device 6, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, a bus, etc.
The Processor 600 may be a Central Processing Unit (CPU), and the Processor 600 may be other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 601 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6 in some embodiments. In other embodiments, the memory 601 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device 6. Further, the memory 601 may include both an internal storage unit and an external storage device of the terminal device 6. The memory 601 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer programs. The memory 601 described above may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An image quality adjustment method, comprising:
acquiring an environment variable, and determining a color temperature adjusting algorithm according to the environment variable;
acquiring the current moment, and determining the color temperature adjusting amplitude of the current moment according to the color temperature adjusting algorithm;
and adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude.
2. The image quality adjustment method according to claim 1, wherein the determining a color temperature adjustment algorithm according to the environment variable comprises:
determining a corresponding color temperature chart according to the environment variable; the color temperature chart comprises target variation amplitudes corresponding to all preset moments in a first preset time interval;
and fitting the target change amplitude according to a preset rule to obtain the color temperature adjusting algorithm.
3. The image quality adjustment method according to claim 2, before determining the corresponding color temperature chart according to the environment variable, comprising:
adjusting the color temperature of the display device to a standard color temperature through at least two testing machines;
testing the color temperature change amplitudes corresponding to the at least two testing machines respectively based on the environment variables; the color temperature variation range is the variation range of adjusting the standard color temperature to a preset target color temperature;
and determining the average value of the color temperature change amplitudes as the target change amplitude.
4. The image quality adjustment method of claim 3, before testing the color temperature variation amplitudes corresponding to the at least two testing machines based on the environment variables, comprising:
determining a color temperature adjusting principle corresponding to each variable parameter in the environment variables;
and determining the target color temperature corresponding to the environment variable according to the color temperature regulation principle.
5. The image quality adjustment method according to claim 1, further comprising:
acquiring the display duration of the display device in a second preset time interval;
determining the color temperature to be compensated corresponding to the display time length according to a preset color temperature compensation curve;
and performing color temperature compensation on the current image quality according to the color temperature to be compensated.
6. The image quality adjustment method according to claim 1, further comprising, after determining the color temperature adjustment magnitude at the current time according to the color temperature adjustment algorithm:
determining a saturation adjusting value and a hue adjusting value according to the product of the color temperature adjusting amplitude and a preset compensation coefficient;
and respectively adjusting the saturation and the hue of the current image quality according to the saturation adjusting value and the hue adjusting value.
7. The image quality adjustment method according to claim 1, further comprising, after acquiring the current time:
determining a brightness adjusting value and a contrast adjusting value according to the current moment and a preset compensation coefficient;
and respectively adjusting the brightness and the contrast of the current image quality according to the brightness adjustment value and the contrast adjustment value.
8. An image quality adjustment apparatus, comprising:
the algorithm determining module is used for acquiring an environment variable and determining a color temperature adjusting algorithm according to the environment variable;
the amplitude determining module is used for acquiring the current moment and determining the color temperature adjusting amplitude of the current moment according to the color temperature adjusting algorithm;
and the color temperature adjusting module is used for adjusting the color temperature of the current image quality of the display device according to the color temperature adjusting amplitude.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the image quality adjustment method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of a method of adjusting a picture quality as claimed in any one of claims 1 to 7.
CN202110890843.3A 2021-08-04 2021-08-04 Image quality adjusting method and device, terminal equipment and storage medium Pending CN113824833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110890843.3A CN113824833A (en) 2021-08-04 2021-08-04 Image quality adjusting method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110890843.3A CN113824833A (en) 2021-08-04 2021-08-04 Image quality adjusting method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113824833A true CN113824833A (en) 2021-12-21

Family

ID=78912920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110890843.3A Pending CN113824833A (en) 2021-08-04 2021-08-04 Image quality adjusting method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113824833A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793275A (en) * 2022-03-09 2022-07-26 深圳康佳电子科技有限公司 Image signal processing method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200947008A (en) * 2008-03-21 2009-11-16 Sony Corp Camera module
US20180098403A1 (en) * 2016-03-11 2018-04-05 Gooee Limited Devices, systems, and methods for maintaining luminaire color temperature levels in a gateway based system
CN108376539A (en) * 2018-04-09 2018-08-07 青岛海信电器股份有限公司 A kind of color compensation method and equipment of image
CN111599298A (en) * 2019-02-21 2020-08-28 奇酷互联网络科技(深圳)有限公司 Color temperature adjusting method, wearable device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200947008A (en) * 2008-03-21 2009-11-16 Sony Corp Camera module
US20180098403A1 (en) * 2016-03-11 2018-04-05 Gooee Limited Devices, systems, and methods for maintaining luminaire color temperature levels in a gateway based system
CN108376539A (en) * 2018-04-09 2018-08-07 青岛海信电器股份有限公司 A kind of color compensation method and equipment of image
CN111599298A (en) * 2019-02-21 2020-08-28 奇酷互联网络科技(深圳)有限公司 Color temperature adjusting method, wearable device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793275A (en) * 2022-03-09 2022-07-26 深圳康佳电子科技有限公司 Image signal processing method, device, terminal and storage medium
CN114793275B (en) * 2022-03-09 2024-01-23 深圳康佳电子科技有限公司 Image signal processing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105185301B (en) Brightness of display screen adjusting method
CN109361866A (en) A kind of automatic exposure control method and system
CN104538005A (en) Method for adjusting screen brightness
CN103281436A (en) Method for adjusting brightness of mobile terminal screen and mobile terminal
CN106548765A (en) Screen luminance adjustment method and device
CN106251831A (en) A kind of screen display lightness regulating method based on ambient light and system
CN113286094B (en) Automatic image exposure method, device, equipment and medium
CN113824833A (en) Image quality adjusting method and device, terminal equipment and storage medium
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
CN110278643B (en) Weather-based solar street lamp control method and device and terminal equipment
US20200243044A1 (en) Brightness adjustment method and apparatus
CN111372139A (en) Image parameter adjusting method, television and storage medium
CN111599298A (en) Color temperature adjusting method, wearable device and storage medium
CN113271422B (en) Brightness adjusting method and device, television and computer readable storage medium
CN112783460B (en) Display control method and device, electronic equipment and readable storage medium
CN107507601A (en) A kind of method and system of the camera supervised interface display effect of adjust automatically
CN112669769A (en) Display screen box body parameter correction method and device, equipment and storage medium
CN116774598A (en) Method and device for adjusting indoor brightness and intelligent lamp
CN104182188A (en) Screen display regulating method and screen display regulating device
CN114564132A (en) Display control method and device, display equipment and storage medium
CN113870800B (en) Backlight adjusting method and device, terminal equipment and storage medium
CN112233631A (en) Device and method for automatically adjusting screen brightness of all-solid-state tablet personal computer
CN116208754A (en) Screen, control method and device thereof, and storage medium
CN114339028B (en) Photographing method, electronic device and computer readable storage medium
CN111376682A (en) Method, system and terminal device for preventing high beam

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211221

RJ01 Rejection of invention patent application after publication