CN114793275B - Image signal processing method, device, terminal and storage medium - Google Patents
Image signal processing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN114793275B CN114793275B CN202210233435.5A CN202210233435A CN114793275B CN 114793275 B CN114793275 B CN 114793275B CN 202210233435 A CN202210233435 A CN 202210233435A CN 114793275 B CN114793275 B CN 114793275B
- Authority
- CN
- China
- Prior art keywords
- amplitude
- signal
- interval
- standard
- image signal
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims description 23
- 230000006870 function Effects 0.000 claims description 100
- 238000004321 preservation Methods 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 17
- 230000014759 maintenance of location Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Receiver Circuits (AREA)
Abstract
The invention discloses an image signal processing method, a device, a terminal and a storage medium. In the prior art, when the image signal contains the signal amplitude outside the standard amplitude interval of the signal processing system, the signal processing system can carry out amplitude limiting processing on the signal amplitude outside the standard amplitude interval, so that the television is difficult to completely display the image details corresponding to the image signal.
Description
Technical Field
The present invention relates to the field of signal processing, and in particular, to an image signal processing method, apparatus, terminal, and storage medium.
Background
According to the broadcast television transmission protocol, the transmission amplitude of the TV signal is: the signal amplitude is more than or equal to 0% and less than or equal to 100%, so that the standard amplitude interval corresponding to the signal processing system of the television is also generally set to be 0% and 100%. When the image signal contains signal amplitude outside the standard amplitude interval, the signal processing system will limit the amplitude of the signal outside the standard amplitude interval, resulting in difficulty in displaying the image details corresponding to the image signal.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention aims to solve the technical problems that aiming at the defects in the prior art, an image signal processing method, an image signal processing device, a terminal and a storage medium are provided, and aims to solve the problems that in the prior art, when an image signal contains signal amplitude outside a standard amplitude interval of a signal processing system, the signal processing system carries out amplitude limiting processing on the signal amplitude outside the standard amplitude interval, so that a television is difficult to completely display image details corresponding to the image signal.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides an image signal processing method, where the method includes:
acquiring an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal;
determining the amplitude of a signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval;
and executing amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval.
In one embodiment, the performing an amplitude adjustment operation on the signal amplitude to be adjusted includes:
acquiring an objective function corresponding to the image signal;
inputting each signal amplitude to be adjusted into the objective function to obtain a target signal amplitude corresponding to each signal amplitude to be adjusted, wherein the target signal amplitude is positioned in the standard amplitude interval;
and executing the amplitude adjustment operation on each signal amplitude to be adjusted according to the target signal amplitude corresponding to each signal amplitude to be adjusted.
In one embodiment, when the minimum signal amplitude is outside the standard amplitude interval and the maximum signal amplitude is inside the standard amplitude interval, the maximum value of the amplitude reservation interval is equal to the maximum value of the standard amplitude interval, the minimum value of the amplitude reservation interval is greater than the minimum value of the standard amplitude interval, and the objective function is determined based on the correspondence between the minimum signal amplitude and the minimum value of the standard amplitude interval, and the correspondence between the minimum value of the amplitude reservation interval and itself.
In one embodiment, when the minimum signal amplitude is within the standard amplitude interval and the maximum signal amplitude is outside the standard amplitude interval, the minimum value of the amplitude reservation interval is equal to the minimum value of the standard amplitude interval, the maximum value of the amplitude reservation interval is smaller than the maximum value of the standard amplitude interval, and the objective function is determined based on the correspondence between the maximum signal amplitude and the maximum value of the standard amplitude interval, and the correspondence between the maximum value of the amplitude reservation interval and itself.
In one embodiment, when the minimum signal amplitude and the maximum signal amplitude are both located outside the standard amplitude interval, the minimum value of the amplitude preservation interval is greater than the minimum value of the standard amplitude interval, the maximum value of the amplitude preservation interval is smaller than the maximum value of the standard amplitude interval, the objective function includes a first objective function and a second objective function, wherein the first objective function is determined based on a correspondence between the minimum signal amplitude and the minimum value of the standard amplitude interval, and a correspondence between the minimum value of the amplitude preservation interval and itself, the second objective function is determined based on a correspondence between the maximum signal amplitude and the maximum value of the standard amplitude interval, and a correspondence between the maximum value of the amplitude preservation interval and itself, and the inputting each of the signal amplitudes to be adjusted into the objective function includes:
inputting the signal amplitude to be adjusted into the first objective function when the signal amplitude to be adjusted is smaller than or equal to the minimum value of the amplitude preservation interval;
and inputting the signal amplitude to be adjusted into the second objective function when the signal amplitude to be adjusted is greater than or equal to the maximum value of the amplitude retention interval.
In one embodiment, the objective function is a curved function.
In one embodiment, the method further comprises the steps of:
and inputting the target image signal into the signal processing system to display a picture corresponding to the target image signal.
In a second aspect, an embodiment of the present invention further provides an image signal processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal;
the determining module is used for determining the amplitude of the signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval;
and the adjusting module is used for executing amplitude adjusting operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a memory and one or more processors; the memory stores one or more programs; the program contains instructions for executing the image signal processing method as described in any one of the above; the processor is configured to execute the program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded and executed by a processor to implement the steps of any of the above-mentioned image signal processing methods.
The invention has the beneficial effects that: the embodiment of the invention adjusts the partial signal amplitude of the image signal with the maximum signal amplitude/the minimum signal amplitude not in the standard amplitude interval, so that the adjusted image signal is input into a signal processing system and cannot be subjected to amplitude limiting processing. In the prior art, when the image signal contains the signal amplitude outside the standard amplitude interval of the signal processing system, the signal processing system can carry out amplitude limiting processing on the signal amplitude outside the standard amplitude interval, so that the television is difficult to completely display the image details corresponding to the image signal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
Fig. 1 is a flowchart of an image signal processing method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram showing the details of an image after adjusting the signal amplitude by more than 100% by using the method according to the embodiment of the present invention.
FIG. 3 is a schematic diagram showing the details of an image after adjusting the signal amplitude by less than 0% by using the method according to the embodiment of the present invention.
Fig. 4 is a schematic diagram showing details of an image after the signal amplitude greater than 100% provided by the embodiment of the present invention is limited by the signal processing system.
Fig. 5 is a schematic diagram showing details of an image after the signal amplitude of less than 0% provided by the embodiment of the present invention is limited by the signal processing system.
Fig. 6 is a schematic diagram of the system operation of the present invention after adding the method of the present invention to the existing television system.
Fig. 7 is a schematic diagram of a standard amplitude interval of a conventional signal processing system according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of an amplitude preservation interval and an objective function provided by an embodiment of the present invention.
Fig. 9 is a logic diagram of an image signal processing apparatus according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of an internal module of an image signal processing apparatus according to an embodiment of the present invention.
Fig. 11 is a schematic block diagram of a terminal provided in an embodiment of the present invention.
Detailed Description
The invention discloses an image signal processing method, an image signal processing device, a terminal and a storage medium, and in order to make the purposes, the technical scheme and the effects of the invention clearer and more clear, the invention is further described in detail below by referring to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, 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 will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
According to the broadcast television transmission protocol, the transmission amplitude of the TV signal is: the signal amplitude is more than or equal to 0% and less than or equal to 100%, so that the standard amplitude interval corresponding to the signal processing system of the television is also generally set to be 0% and 100%. When the image signal contains signal amplitude outside the standard amplitude interval, the signal processing system will limit the amplitude of the signal outside the standard amplitude interval, resulting in difficulty in displaying the image details corresponding to the image signal.
In view of the above-mentioned drawbacks of the prior art, the present invention provides an image signal processing method, where an image signal is obtained, where a maximum signal amplitude and/or a minimum signal amplitude corresponding to the image signal is located outside a standard amplitude interval, where the standard amplitude interval is used to reflect a signal amplitude range of a signal processing system corresponding to the image signal; determining the amplitude of a signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval; and executing amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval. The invention adjusts the partial signal amplitude of the image signal with the maximum signal amplitude/the minimum signal amplitude not in the standard amplitude interval, so that the adjusted image signal is input into the signal processing system and cannot be subjected to amplitude limiting processing. In the prior art, when the image signal contains the signal amplitude outside the standard amplitude interval of the signal processing system, the signal processing system can carry out amplitude limiting processing on the signal amplitude outside the standard amplitude interval, so that the television is difficult to completely display the image details corresponding to the image signal.
As shown in fig. 1, the method comprises the steps of:
step S100, obtaining an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal.
Specifically, the image signal in this embodiment is an image signal that satisfies a specific condition, that is, the maximum value of the signal amplitude is greater than the maximum value or the minimum value of the preset standard amplitude interval, and is smaller than the minimum value of the standard amplitude interval, where the system for processing the image signal is the signal processing system in this embodiment, and the standard amplitude interval is used for reflecting the signal amplitude range that can be processed by the signal processing system. The signal processing system in this embodiment has a clipping property (as shown in fig. 7), that is, it can effectively process only signal amplitudes within a standard amplitude interval, and when the signal amplitude of an image signal input to the signal processing system exceeds the standard amplitude interval, the image signal is difficult to effectively process. It should be emphasized that the image signal whose all signal amplitudes lie within the standard amplitude interval is a standard image signal, and the standard image signal does not need to execute the image signal processing method corresponding to the present invention, and can be directly input into the signal processing system for signal processing.
For example, assuming that the signal processing system in this embodiment is applied to a television, the standard amplitude interval is [0%,100% ], and the image signal a includes 107% of signal amplitude, as shown in fig. 4, when the input signal amplitude is greater than 100%, the television cannot display all details of the image, and is specifically shown in the "Super White" word. The image signal B contains a signal amplitude of-7%, and when the input signal amplitude is less than 0%, as shown in fig. 5, the television cannot display all details of the image, and is specifically shown in the "Super Black" word. Therefore, the image signals A, B are all the processing objects of the present invention, and the image signal processing method of the present invention needs to be implemented before the input of the processing objects to the signal processing system.
As shown in fig. 1, the method further comprises the steps of:
step 200, determining the amplitude of the signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval.
When the embodiment determines that the image signal has a signal amplitude beyond the standard amplitude interval, in order to enable the image signal to be input into a corresponding signal processing system for effective processing, the embodiment needs to adjust a part of signal amplitudes in the image signal, wherein the part of signal amplitudes are the signal amplitudes to be adjusted. Specifically, in this embodiment, an amplitude retention section is set in advance in a standard amplitude section, and the signal amplitude located in the amplitude retention section in the image signal remains unchanged, and the signal amplitude located outside the amplitude retention section is used as the signal amplitude to be adjusted.
For example, assuming that the standard amplitude interval is [0%,100% ], the amplitude retention interval is (10%, 85%) and the image signal C includes 107% and-7% of signal amplitudes, the signal amplitudes less than or equal to 10% and greater than or equal to 85% in the image signal C are all signal amplitudes to be adjusted, and the signal amplitudes greater than 10% and less than 85% remain unchanged.
As shown in fig. 1, the method further comprises the steps of:
and step S300, performing amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is within the standard amplitude interval.
Specifically, the number of signal amplitudes to be adjusted in the image signal may be one or more, and since the signal amplitudes to be adjusted include signal amplitudes outside the standard amplitude interval, an amplitude adjustment operation needs to be performed on each signal amplitude to be adjusted, and all the signal amplitudes to be adjusted are adjusted to be within the standard amplitude interval, so as to obtain a new image signal, that is, a target image signal. Since the signal amplitudes contained in the target image signal are all within the standard amplitude interval, the target image signal can be effectively processed after being input to the signal processing system.
In one implementation manner, the step S300 specifically includes the following steps:
step S301, obtaining an objective function corresponding to the image signal;
step S302, inputting each signal amplitude to be adjusted into the objective function to obtain a target signal amplitude corresponding to each signal amplitude to be adjusted, wherein the target signal amplitude is located in the standard amplitude interval;
step S303, executing the amplitude adjustment operation on each signal amplitude to be adjusted according to the target signal amplitude corresponding to each signal amplitude to be adjusted.
Specifically, the amplitude adjustment operation in this embodiment is implemented based on an objective function, where each signal amplitude to be adjusted may be an input of the objective function, and the output of the objective function is the corresponding target signal amplitude of each signal amplitude to be adjusted, and the input of the objective function may be a signal amplitude outside the standard amplitude interval, but the output of the objective function is a signal amplitude within the standard amplitude interval. And for each signal amplitude to be adjusted, performing amplitude adjustment operation on the signal according to the target signal amplitude corresponding to the signal amplitude to be adjusted, so that all signal amplitudes of the image signals can be adjusted to be within a standard amplitude interval.
In one implementation, when the minimum signal amplitude is outside the standard amplitude interval and the maximum signal amplitude is inside the standard amplitude interval, the maximum value of the amplitude reservation interval is equal to the maximum value of the standard amplitude interval, the minimum value of the amplitude reservation interval is greater than the minimum value of the standard amplitude interval, and the objective function is determined based on the correspondence between the minimum signal amplitude and the minimum value of the standard amplitude interval, and the correspondence between the minimum value of the amplitude reservation interval and itself.
Specifically, the image signal in the present embodiment may be an image signal in which the minimum signal amplitude is located outside the standard amplitude interval and the maximum signal amplitude is located inside the standard amplitude interval. It will be appreciated that since the minimum signal amplitude of the image signal is outside the standard amplitude interval, the signal amplitude range from the minimum signal amplitude in the image signal to the minimum value of the standard amplitude interval is difficult to effectively process by the signal processing system. For this case, the present embodiment sets the maximum value of the amplitude retention section to the maximum value of the standard amplitude section, and the minimum value of the amplitude retention section to be larger than the minimum value of the standard amplitude section. The minimum value of the amplitude preservation interval mainly depends on the requirement of a user on image quality. The higher the requirement of the user on the image quality is, the closer the minimum value of the amplitude preservation interval is to the minimum value of the standard amplitude interval; the lower the user's requirement for image quality, the further the minimum value of the amplitude preservation interval is from the minimum value of the standard amplitude interval. It follows that in addition to the signal amplitude lying outside the standard amplitude interval in the image signal, the signal amplitude lying partly within the standard amplitude interval also needs to be adjusted. For the case where the minimum signal amplitude of the image signal is outside the standard amplitude interval and the maximum signal amplitude is inside the standard amplitude interval, the objective function in this embodiment needs to satisfy two input-output relationships, the first is that when the minimum signal amplitude of the image signal is taken as the input of the objective function, the output of the objective function is the minimum value of the standard amplitude interval; the second is when the minimum value of the amplitude preservation interval is taken as the input of the objective function, the output of the objective function is the minimum value of the amplitude preservation interval itself.
For example, as shown in fig. 8, the abscissa in the figure is the input of the objective function, and the ordinate is the output of the objective function. Assuming that the standard amplitude interval is [0%,100% ], the minimum signal amplitude of the image signal is less than 0%, the coordinates of the point D are (Xd, yd), and the coordinates of the point C are (Xc, yc), then Xd is the minimum signal amplitude of the image signal, yd is the minimum value of the standard amplitude interval, xc and Yc are the minimum value of the amplitude retaining interval, the signal amplitude to be regulated is in the range between the point C and the point D, and the range above the point C retains the original signal amplitude. From the graph, it can be seen that the two data points of point C and point D both satisfy the functional relationship of the objective function, so that a specific formula of the objective function can be determined based on point C and point D:
in another implementation, when the minimum signal amplitude is within the standard amplitude interval and the maximum signal amplitude is outside the standard amplitude interval, the minimum value of the amplitude reservation interval is equal to the minimum value of the standard amplitude interval, the maximum value of the amplitude reservation interval is smaller than the maximum value of the standard amplitude interval, and the objective function is determined based on the correspondence between the maximum signal amplitude and the maximum value of the standard amplitude interval, and the correspondence between the maximum value of the amplitude reservation interval and itself.
Specifically, the image signal in the present embodiment may be an image signal in which the minimum signal amplitude is located within the standard amplitude interval and the maximum signal amplitude is located outside the standard amplitude interval. It will be appreciated that since the maximum signal amplitude of the image signal is outside the standard amplitude interval, the signal amplitude range from the maximum signal amplitude to the maximum value of the standard amplitude interval in the image signal is difficult to be effectively processed by the signal processing system. For this case, the present embodiment sets the minimum value of the amplitude retention section to the minimum value of the standard amplitude section, and the maximum value of the amplitude retention section to be smaller than the maximum value of the standard amplitude section. The maximum value of the amplitude preservation interval mainly depends on the requirement of a user on image quality. The higher the requirement of the user on the image quality is, the closer the maximum value of the amplitude retention interval is to the maximum value of the standard amplitude interval; the lower the user's requirement for image quality, the further the maximum value of the amplitude preservation interval is from the maximum value of the standard amplitude interval. It follows that in addition to the signal amplitude lying outside the standard amplitude interval in the image signal, the signal amplitude lying partly within the standard amplitude interval also needs to be adjusted. For the case where the minimum signal amplitude of the image signal is located within the standard amplitude interval and the maximum signal amplitude is located outside the standard amplitude interval, the objective function in this embodiment needs to satisfy two input-output relationships, the first is that when the maximum signal amplitude of the image signal is taken as the input of the objective function, the output of the objective function is the maximum value of the standard amplitude interval; the second is when the maximum value of the amplitude-preserving interval is taken as the input of the objective function, the output of which is the maximum value of the amplitude-preserving interval itself.
For example, as shown in fig. 8, the abscissa in the figure is the input of the objective function, and the ordinate is the output of the objective function. Assuming that the standard amplitude interval is [0%,100% ], the maximum signal amplitude of the image signal is greater than 100%, the coordinates of point a are (Xa, ya), and the coordinates of point C are (Xb, yb), xa and Ya are the maximum values of the amplitude reservation interval, xb is the maximum signal amplitude of the image signal, yb is the maximum value of the standard amplitude interval, the signal amplitude to be adjusted is in the range between point a and point B, and the range below point a reserves the original signal amplitude. It can be seen from the graph that the two data points of the point a and the point B satisfy the functional relation of the objective function, so that a specific formula of the objective function can be determined based on the point a and the point B:
in one implementation, when the minimum signal amplitude and the maximum signal amplitude are both located outside the standard amplitude interval, the minimum value of the amplitude preservation interval is greater than the minimum value of the standard amplitude interval, the maximum value of the amplitude preservation interval is smaller than the maximum value of the standard amplitude interval, the objective function includes a first objective function and a second objective function, wherein the first objective function is determined based on a correspondence between the minimum signal amplitude and the minimum value of the standard amplitude interval, and a correspondence between the minimum value of the amplitude preservation interval and itself, the second objective function is determined based on a correspondence between the maximum signal amplitude and the maximum value of the standard amplitude interval, and a correspondence between the maximum value of the amplitude preservation interval and itself, and the inputting each of the signal amplitudes to be adjusted into the objective function includes:
step S3021, inputting the signal amplitude to be adjusted into the first objective function when the signal amplitude to be adjusted is less than or equal to the minimum value of the amplitude preservation interval;
step S3023, inputting the signal amplitude to be adjusted into the second objective function when the signal amplitude to be adjusted is greater than or equal to the maximum value of the amplitude preservation interval.
Specifically, the image signal in the present embodiment may also be an image signal in which the minimum signal amplitude is outside the standard amplitude section and the maximum signal amplitude is also outside the standard amplitude section. It will be appreciated that since the maximum signal amplitude and the minimum signal amplitude of the image signal are both outside the standard amplitude interval, the signal amplitude range from the maximum signal amplitude to the maximum value of the standard amplitude interval and the signal amplitude range from the minimum signal amplitude to the minimum value of the standard amplitude interval in the image signal are difficult to be effectively processed by the signal processing system. For this case, the present embodiment sets the minimum value of the amplitude retention section to be larger than the minimum value of the standard amplitude section, and the maximum value of the amplitude retention section to be smaller than the maximum value of the standard amplitude section. The maximum value/minimum value of the amplitude preservation interval mainly depends on the requirement of a user on image quality. The higher the requirement of the user on the image quality is, the closer the maximum value of the amplitude preservation interval is to the maximum value of the standard amplitude interval/the closer the minimum value of the amplitude preservation interval is to the minimum value of the standard amplitude interval; the lower the user's requirement for image quality, the further the maximum value of the amplitude preservation interval is from the maximum value of the standard amplitude interval/the further the minimum value of the amplitude preservation interval is from the minimum value of the standard amplitude interval. It follows that in addition to the signal amplitude lying outside the standard amplitude interval in the image signal, the signal amplitude lying partly within the standard amplitude interval also needs to be adjusted. It is understood that, for the case where the minimum signal amplitude of the image signal is located outside the standard amplitude interval and the maximum signal amplitude is also located outside the standard amplitude interval, the signal amplitudes to be adjusted in the present embodiment will be classified into two types, the first type being signal amplitudes to be adjusted that are greater than or equal to the maximum value of the amplitude reservation interval, and the second type being signal amplitudes to be adjusted that are less than or equal to the minimum value of the amplitude reservation interval. Aiming at the first class of signal amplitude to be regulated, the corresponding objective function is a first objective function, wherein the first objective function needs to meet two input-output relations, the first is that when the maximum signal amplitude of the image signal is taken as the input of the objective function, the output of the objective function is the maximum value of a standard amplitude interval; the second is when the maximum value of the amplitude-preserving interval is taken as the input of the objective function, the output of which is the maximum value of the amplitude-preserving interval itself. Aiming at the second class of signal amplitude to be regulated, the corresponding objective function is a second objective function, wherein the second objective function needs to meet two input-output relations, and the first is that when the minimum signal amplitude of the image signal is taken as the input of the objective function, the output of the objective function is the minimum value of a standard amplitude interval; the second is when the minimum value of the amplitude preservation interval is taken as the input of the objective function, the output of the objective function is the minimum value of the amplitude preservation interval itself. For the first class of signal amplitude to be adjusted, the first class of signal amplitude to be adjusted is input into a first objective function to obtain a corresponding objective signal amplitude, and for the second class of signal amplitude to be adjusted, the second class of signal amplitude to be adjusted is input into a second objective function to obtain a corresponding objective signal amplitude. Because the outputs of the first objective function and the second objective function are both located in the standard amplitude interval, after the amplitude adjustment operation is performed on each signal amplitude to be adjusted based on the corresponding target signal amplitude, all signal amplitudes in the image signal are located in the standard amplitude interval, and the target image signal is obtained.
For example, as shown in fig. 8, the abscissa in the figure is the input of the objective function, and the ordinate is the output of the objective function. Assuming that the standard amplitude interval is [0%,100% ], the maximum signal amplitude of the image signal is greater than 100%, the signal amplitude to be adjusted is in the range between the point A and the point B and in the range between the point C and the point D, and the original signal amplitude is reserved in the range between the point A and the point C. It can be seen from the graph that the two data points of the point C and the point D both satisfy the functional relation of the first objective function, and the two data points of the point a and the point B both satisfy the second functional relation of the second objective function, so that the specific formula of the first objective function can be determined based on the point C and the point D, and the specific formula of the second objective function can be determined by the point a and the point B:
in one implementation, the objective function is a curved function.
Specifically, the objective function in the present embodiment is a curve function, that is, the objective function appears as a curve on a plane rectangular coordinate system. As shown in fig. 8, in the range from point C to point D in the graph, as the input of the objective function decreases, the output of the objective function gently reaches the minimum value of the standard amplitude interval. Similarly, in the range from point a to point B in the graph, as the input of the objective function increases, the output of the objective function smoothly reaches the maximum value of the standard amplitude interval. The embodiment adopts the curve function as the objective function, can be compatible with a brighter picture/darker picture, and displays more highlight details/dark field details.
In one implementation, the algorithm for generating the objective function may be any one of a linear algorithm, a gaussian algorithm, and a cubic spline difference algorithm.
In one implementation, the method further comprises the steps of:
and step S10, inputting the target image signal into the signal processing system so as to display a picture corresponding to the target image signal.
Specifically, since all signal amplitudes of the target image signal are within the standard amplitude interval, they can be effectively processed by the signal processing system after being input into the signal processing system. As shown in fig. 6, the processing signal output by the signal processing system enters a brightness, contrast and Gamma related module, and the signal output by the brightness, contrast and Gamma related module acts on a screen, so that a picture corresponding to the target image signal is displayed, and the picture can display the picture details corresponding to the image signal, and as shown in fig. 2 and 3, the Super White word and the Super Black word can be completely displayed.
Based on the above embodiments, the present invention also provides an image signal processing apparatus, as shown in fig. 10, including:
the acquisition module 01 is used for acquiring an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal;
a determining module 02, configured to determine a signal amplitude to be adjusted in the image signal, where the signal amplitude to be adjusted is located outside a preset amplitude preservation interval, and the amplitude preservation interval is located inside the standard amplitude interval;
and the adjusting module 03 is configured to perform an amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, where signal amplitudes included in the target image signal are all within the standard amplitude interval.
In one implementation, the operating logic of the image signal processing device is as shown in fig. 9.
Based on the above embodiment, the present invention also provides a terminal, and a functional block diagram thereof may be shown in fig. 11. The terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal is adapted to provide computing and control capabilities. The memory of the terminal includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the terminal is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an image signal processing method. The display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the functional block diagram shown in fig. 11 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one implementation, one or more programs are stored in a memory of the terminal and configured to be executed by one or more processors, the one or more programs including instructions for performing an image signal processing method.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses an image signal processing method, an image signal processing device, a terminal and a storage medium, wherein the method is characterized in that an image signal is obtained, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal; determining the amplitude of a signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval; and executing amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval. The invention adjusts the partial signal amplitude of the image signal with the maximum signal amplitude/the minimum signal amplitude not in the standard amplitude interval, so that the adjusted image signal is input into the signal processing system and cannot be subjected to amplitude limiting processing. In the prior art, when the image signal contains the signal amplitude outside the standard amplitude interval of the signal processing system, the signal processing system can carry out amplitude limiting processing on the signal amplitude outside the standard amplitude interval, so that the television is difficult to completely display the image details corresponding to the image signal.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (9)
1. An image signal processing method, characterized in that the method comprises:
acquiring an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal;
determining the amplitude of a signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval;
performing amplitude adjustment operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval;
the performing an amplitude adjustment operation on the signal amplitude to be adjusted includes:
acquiring an objective function corresponding to the image signal;
inputting each signal amplitude to be adjusted into the objective function to obtain a target signal amplitude corresponding to each signal amplitude to be adjusted, wherein the target signal amplitude is positioned in the standard amplitude interval;
and executing the amplitude adjustment operation on each signal amplitude to be adjusted according to the target signal amplitude corresponding to each signal amplitude to be adjusted.
2. The image signal processing method according to claim 1, wherein when the minimum signal amplitude is outside the standard amplitude section and the maximum signal amplitude is inside the standard amplitude section, a maximum value of the amplitude reservation section is equal to a maximum value of the standard amplitude section, a minimum value of the amplitude reservation section is larger than a minimum value of the standard amplitude section, and the objective function is determined based on a correspondence between the minimum signal amplitude and a minimum value of the standard amplitude section, and a correspondence between a minimum value of the amplitude reservation section and itself.
3. The image signal processing method according to claim 1, wherein when the minimum signal amplitude is within the standard amplitude section and the maximum signal amplitude is outside the standard amplitude section, a minimum value of the amplitude reservation section is equal to a minimum value of the standard amplitude section, a maximum value of the amplitude reservation section is smaller than a maximum value of the standard amplitude section, and the objective function is determined based on a correspondence between the maximum signal amplitude and the maximum value of the standard amplitude section, and a correspondence between the maximum value of the amplitude reservation section and itself.
4. The image signal processing method according to claim 1, wherein when the minimum signal amplitude and the maximum signal amplitude are both outside the standard amplitude section, the minimum value of the amplitude reservation section is larger than the minimum value of the standard amplitude section, the maximum value of the amplitude reservation section is smaller than the maximum value of the standard amplitude section, the objective function includes a first objective function and a second objective function, wherein the first objective function is determined based on a correspondence between the minimum signal amplitude and the minimum value of the standard amplitude section, and a correspondence between the minimum value of the amplitude reservation section and itself, the second objective function is determined based on a correspondence between the maximum signal amplitude and the maximum value of the standard amplitude section, and a correspondence between the maximum value of the amplitude reservation section and itself, the inputting each of the signal amplitudes to be adjusted into the objective function includes:
inputting the signal amplitude to be adjusted into the first objective function when the signal amplitude to be adjusted is smaller than or equal to the minimum value of the amplitude preservation interval;
and inputting the signal amplitude to be adjusted into the second objective function when the signal amplitude to be adjusted is greater than or equal to the maximum value of the amplitude retention interval.
5. The image signal processing method according to claim 1, wherein the objective function is a curve function.
6. The image signal processing method according to claim 1, characterized in that the method further comprises the steps of:
and inputting the target image signal into the signal processing system to display a picture corresponding to the target image signal.
7. An image signal processing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring an image signal, wherein the maximum signal amplitude and/or the minimum signal amplitude corresponding to the image signal are/is located outside a standard amplitude interval, and the standard amplitude interval is used for reflecting the signal amplitude range of a signal processing system corresponding to the image signal;
the determining module is used for determining the amplitude of the signal to be adjusted in the image signal, wherein the amplitude of the signal to be adjusted is located outside a preset amplitude reserved interval, and the amplitude reserved interval is located inside the standard amplitude interval;
the adjusting module is used for executing amplitude adjusting operation on each signal amplitude to be adjusted to obtain a target image signal corresponding to the image signal, wherein the signal amplitude contained in the target image signal is located in the standard amplitude interval;
the performing an amplitude adjustment operation on the signal amplitude to be adjusted includes:
acquiring an objective function corresponding to the image signal;
inputting each signal amplitude to be adjusted into the objective function to obtain a target signal amplitude corresponding to each signal amplitude to be adjusted, wherein the target signal amplitude is positioned in the standard amplitude interval;
and executing the amplitude adjustment operation on each signal amplitude to be adjusted according to the target signal amplitude corresponding to each signal amplitude to be adjusted.
8. A terminal comprising a memory and one or more processors; the memory stores one or more programs; the program contains instructions for executing the image signal processing method according to any one of claims 1 to 6; the processor is configured to execute the program.
9. A computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor for carrying out the steps of the image signal processing method according to any of the preceding claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210233435.5A CN114793275B (en) | 2022-03-09 | 2022-03-09 | Image signal processing method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210233435.5A CN114793275B (en) | 2022-03-09 | 2022-03-09 | Image signal processing method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114793275A CN114793275A (en) | 2022-07-26 |
CN114793275B true CN114793275B (en) | 2024-01-23 |
Family
ID=82460190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210233435.5A Active CN114793275B (en) | 2022-03-09 | 2022-03-09 | Image signal processing method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114793275B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4459613A (en) * | 1979-07-16 | 1984-07-10 | Faroudja Y C | Method and apparatus for automatic adjustment with pilot signal of television image processing system |
JP2007171586A (en) * | 2005-12-22 | 2007-07-05 | Toshiba Corp | Information processor and image signal amplitude control method |
JP2008306656A (en) * | 2007-06-11 | 2008-12-18 | Sony Corp | Image signal processing apparatus, image signal processing method, and program |
CN103227889A (en) * | 2008-08-22 | 2013-07-31 | 夏普株式会社 | Image signal processing apparatus, image signal processing method, image display apparatus, television receiver, and electronic device |
CN110555794A (en) * | 2018-05-31 | 2019-12-10 | 北京市商汤科技开发有限公司 | image processing method and device, electronic equipment and storage medium |
CN111062897A (en) * | 2019-12-06 | 2020-04-24 | Oppo广东移动通信有限公司 | Image equalization method, terminal and storage medium |
CN111062884A (en) * | 2019-12-05 | 2020-04-24 | Oppo广东移动通信有限公司 | Image enhancement method and device, storage medium and terminal equipment |
CN113824833A (en) * | 2021-08-04 | 2021-12-21 | 东莞市金锐显数码科技有限公司 | Image quality adjusting method and device, terminal equipment and storage medium |
CN113852893A (en) * | 2020-06-28 | 2021-12-28 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
-
2022
- 2022-03-09 CN CN202210233435.5A patent/CN114793275B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4459613A (en) * | 1979-07-16 | 1984-07-10 | Faroudja Y C | Method and apparatus for automatic adjustment with pilot signal of television image processing system |
JP2007171586A (en) * | 2005-12-22 | 2007-07-05 | Toshiba Corp | Information processor and image signal amplitude control method |
JP2008306656A (en) * | 2007-06-11 | 2008-12-18 | Sony Corp | Image signal processing apparatus, image signal processing method, and program |
CN103227889A (en) * | 2008-08-22 | 2013-07-31 | 夏普株式会社 | Image signal processing apparatus, image signal processing method, image display apparatus, television receiver, and electronic device |
CN110555794A (en) * | 2018-05-31 | 2019-12-10 | 北京市商汤科技开发有限公司 | image processing method and device, electronic equipment and storage medium |
CN111062884A (en) * | 2019-12-05 | 2020-04-24 | Oppo广东移动通信有限公司 | Image enhancement method and device, storage medium and terminal equipment |
CN111062897A (en) * | 2019-12-06 | 2020-04-24 | Oppo广东移动通信有限公司 | Image equalization method, terminal and storage medium |
CN113852893A (en) * | 2020-06-28 | 2021-12-28 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
CN113824833A (en) * | 2021-08-04 | 2021-12-21 | 东莞市金锐显数码科技有限公司 | Image quality adjusting method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114793275A (en) | 2022-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733336B (en) | Page display method and device | |
CN108924525B (en) | Image brightness adjusting method and device, computer equipment and storage medium | |
CN108074220A (en) | A kind of processing method of image, device and television set | |
US10783837B2 (en) | Driving method and driving device of display device, and related device | |
CN113099201B (en) | Video signal processing method and device and electronic equipment | |
US8125569B2 (en) | Dynamic contrast on displays using average picture level and histogram analysis | |
CN110580693B (en) | Image processing method, image processing device, computer equipment and storage medium | |
US20200013149A1 (en) | Image processing apparatus, image processing method, and storage medium | |
CN107862671A (en) | A kind of processing method of image, device and television set | |
US20220398997A1 (en) | Method for Adjusting Display Attribute, and Related Device | |
CN109817170A (en) | Pixel compensation method, device and terminal device | |
CN113079362B (en) | Video signal processing method and device and electronic equipment | |
US8390542B2 (en) | Apparatus, method, and program for processing image | |
US11710220B2 (en) | Compressing dynamic range in images using darkness gamma transfer function | |
US9571744B2 (en) | Video processing method and apparatus | |
WO2025020636A1 (en) | Pixel brightness compensation method and apparatus, and computer medium and display device | |
CN114793275B (en) | Image signal processing method, device, terminal and storage medium | |
WO2019165791A1 (en) | Image conversion method and apparatus, terminal, and storage medium | |
CN114399442A (en) | Nonlinear image enhancement method and system based on parameter self-adaption | |
CN117974420A (en) | Image processing method, device, computer equipment and storage medium | |
CN113808045B (en) | Image brightness adjusting method and device | |
CN116844495A (en) | Pixel gray level compensation method and device, computer medium and display equipment | |
CN111698442B (en) | Image contrast adjusting method, display device and storage medium | |
US20060274937A1 (en) | Apparatus and method for adjusting colors of a digital image | |
CN117389672B (en) | Page self-adaption method, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |