CN116132644A - Automatic color saturation adjustment method and device and related equipment - Google Patents
Automatic color saturation adjustment method and device and related equipment Download PDFInfo
- Publication number
- CN116132644A CN116132644A CN202211700010.7A CN202211700010A CN116132644A CN 116132644 A CN116132644 A CN 116132644A CN 202211700010 A CN202211700010 A CN 202211700010A CN 116132644 A CN116132644 A CN 116132644A
- Authority
- CN
- China
- Prior art keywords
- color saturation
- compared
- difference value
- processing
- saturation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012545 processing Methods 0.000 claims abstract description 110
- 239000002131 composite material Substances 0.000 claims abstract description 22
- 238000005491 wire drawing Methods 0.000 claims description 25
- 230000003068 static effect Effects 0.000 claims description 16
- 238000012937 correction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000000926 separation method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 4
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 description 6
- 238000005070 sampling Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000009831 deintercalation Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3179—Video signal processing therefor
- H04N9/3182—Colour adjustment, e.g. white balance, shading or gamut
-
- 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/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/77—Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The invention relates to the field of image processing, and discloses a method and a device for automatically adjusting color saturation, computer equipment and a storage medium, wherein the method comprises the following steps: receiving a composite video signal, decoding the composite video signal to obtain an image signal, detecting the color saturation of the image signal, taking the color saturation as the color saturation to be compared, and calculating the difference between the color saturation to be compared and the standard color saturation; when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range, the color saturation to be compared is adjusted to obtain the target color saturation.
Description
Technical Field
The present invention relates to the field of image processing, and in particular, to a method and apparatus for automatically adjusting color saturation, and related devices.
Background
After receiving the source video signal, the display devices such as televisions and the like generally need to adjust and display the color saturation of the source video signal, wherein the color saturation reflects the degree of the color of the image, the color is too dark and can lack reality, and the color is too light and can lose the meaning of the color, so that the image has good color display effect only by properly adjusting the color saturation.
In the prior art, in order to improve the viewing experience of a user, a color saturation rotating knob is generally required to be set, the color saturation rotating knob is firstly rotated to a minimum position, then the user is required to manually adjust the color saturation of an image according to the preference of the user through rotating the knob amplitude, or the user is required to call out a color saturation adjusting interface on a remote controller, and the current color saturation is gradually increased or reduced according to the preference of the user, so that the existing color saturation adjustment has the problems of complex operation and low efficiency.
Disclosure of Invention
The embodiment of the invention provides a method, a device and related equipment for automatically adjusting color saturation, so as to improve the efficiency of color saturation adjustment.
In order to solve the above technical problems, an embodiment of the present application provides a method for automatically adjusting color saturation, including:
receiving the composite video signal, and decoding the composite video signal to obtain an image signal;
detecting the color saturation of the image signal as the color saturation to be compared;
calculating the difference between the saturation of the color to be compared and the saturation of the standard color;
and when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range, adjusting the color saturation to be compared to obtain the target color saturation.
Alternatively, the decoding process is a decoding process using Video decoding.
Optionally, when the difference between the color saturation to be compared and the standard color saturation is not in the preset difference range, adjusting the color saturation to be compared to obtain the target color saturation, including:
when the difference value between the color saturation to be compared and the standard color saturation is higher than the upper limit value of the preset difference value range, the adjustment difference value is reduced to the preset difference value range;
when the difference value between the color saturation to be compared and the standard color saturation is lower than the lower limit value of the preset difference value range, the saturation adjustment difference value is increased to the preset difference value range.
Optionally, before calculating the difference between the color saturation to be compared and the standard color saturation, the method further includes:
and selecting a target category from preset adjustment categories based on the detected type of the current playing sheet source, and taking the color saturation of the target category as the standard color saturation.
Optionally, adjusting the color saturation to be compared to obtain the target color saturation includes:
and sequentially performing Y/C separation, decryption processing, colorMatirx processing, white balance correction and gamma curve processing on the image signals to obtain target color saturation.
Optionally, the Deinterlace includes 2D Deinterlace processing and 3D Deinterlace processing, and the control main control chip detects the motion index of each pixel in real time, adopts 2D eiterlace processing for the pixels in motion, and adopts 3D Deinterlace processing for the pixels in static state.
Optionally, the de-interlacing process includes:
if the static picture has the jitter problem, judging that only 2D decryption processing is performed, and adopting 3D decryption processing to eliminate the jitter problem;
if the problems of wire drawing and wire plugging occur on the dynamic picture, the register is adopted to forcedly carry out 2D gap processing, whether the problems of wire drawing and wire plugging are eliminated is judged, if the problems of wire drawing and wire plugging are not eliminated, the 3D gap processing is continuously adopted until the problems of wire drawing and wire plugging are solved.
If the dynamic picture has the problem of saw teeth, judging that the dynamic picture is a problem of small-angle processing, and adopting the small-angle processing to eliminate the problem of saw teeth.
In order to solve the above technical problem, an embodiment of the present application further provides an automatic color saturation adjustment device, including:
the decoding module is used for receiving the composite video signal and decoding the composite video signal to obtain an image signal;
the detection module is used for detecting the color saturation of the image signal and taking the color saturation as the color saturation to be compared;
the calculating module is used for calculating the difference value between the color saturation to be compared and the standard color saturation;
and the adjusting module is used for adjusting the color saturation to be compared to obtain the target color saturation when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range.
Optionally, the adjusting module includes:
the first adjusting unit is used for adjusting the difference value to be reduced to a preset difference value range when the difference value between the color saturation to be compared and the standard color saturation is higher than the upper limit value of the preset difference value range;
and the second adjusting unit is used for adjusting the saturation difference to rise to a preset difference range when the difference between the color saturation to be compared and the standard color saturation is lower than the lower limit value of the preset difference range.
Optionally, the automatic color saturation adjusting device further includes:
the selecting module is used for selecting a target category from preset adjustment categories based on the detected type of the current playing sheet source, and taking the color saturation of the target category as the standard color saturation.
Optionally, the adjustment module further comprises:
and the image signal processing unit is used for sequentially carrying out Y/C separation, decryption processing, colorMatirx processing, white balance correction and gamma curve processing on the image signal to obtain target color saturation.
Optionally, the deinterace processing includes 2D deinterace processing and 3D deinterace processing, and the image signal processing unit further includes:
the deinterace processing mode selecting unit is used for controlling the main control chip to detect the motion index of each pixel in real time, adopting 2D deinterace processing for the moving pixels and adopting 3D deinterace processing for the static pixels.
Optionally, the image signal processing unit further includes:
the first processing unit is used for judging that only 2 DDeinterlaced processing is performed if the jitter problem occurs in the static picture, and eliminating the jitter problem by adopting 3D deinterlaced processing;
and the second processing unit is used for forcedly performing 2D deintercalation processing by adopting a register if the problems of wiredrawing and wire plugging occur in the dynamic picture, judging whether the problems of wiredrawing and wire plugging are eliminated, and continuously performing 3D deintercalation processing until the problems of wiredrawing and wire plugging are eliminated if the problems of wiredrawing and wire plugging are not eliminated.
And the third processing unit is used for judging that the dynamic picture is a problem of small-angle processing if the dynamic picture has the problem of saw teeth, and eliminating the problem of saw teeth by adopting the small-angle processing.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the steps of the above method for automatically adjusting color saturation are implemented when the processor executes the computer program.
In order to solve the above technical problem, the embodiments of the present application further provide a computer readable storage medium storing a computer program, where the computer program implements the steps of the above method for automatically adjusting color saturation when executed by a processor.
According to the color saturation automatic adjustment method, the device, the computer equipment and the storage medium, the composite video signal is received, decoding processing is carried out on the composite video signal to obtain an image signal, the color saturation of the image signal is detected and used as the color saturation to be compared, and the difference value between the color saturation to be compared and the standard color saturation is calculated; when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range, the color saturation to be compared is adjusted to obtain the target color saturation, the color saturation of the video signal to be played can be automatically adjusted to a proper range based on the standard color saturation, manual adjustment is not needed, and the efficiency of color saturation adjustment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a color saturation automatic adjustment method of the present application;
FIG. 3 is a schematic diagram of one embodiment of a color saturation robot according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, as shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the method for automatically adjusting color saturation provided in the embodiments of the present application is executed by a server, and accordingly, the device for automatically adjusting color saturation is disposed in the server.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks and servers may be provided according to implementation requirements, and the terminal devices 101, 102 and 103 in the embodiments of the present application may specifically correspond to application systems in actual production.
Referring to fig. 2, fig. 2 shows a method for automatically adjusting color saturation according to an embodiment of the present invention, and the method is applied to the server in fig. 1 for illustration, and is described in detail as follows:
s201: and receiving the composite video signal, and decoding the composite video signal to obtain an image signal.
The above-mentioned composite video signal is also called CVBS signal, which is a video signal formed by transmitting the spectrum of the chrominance signal (C) with the spectrum of the luminance signal (Y) interposed therebetween, and the principle of spectrum interleaving is utilized to solve the problem that the spectrum of the luminance signal (Y) is scattered in the video signal, which leads to the problem of broadband waste. Specifically, the embodiment receives the composite video signal to be played, and decodes the composite video signal to obtain the frame-by-frame image signal, which is beneficial to processing the image signal subsequently.
Preferably, in the present embodiment, the decoding process is performed by using a Video decoder, which is a Video decoder, and the composite Video signal is decoded by the Video decoder to obtain a frame-by-frame image signal.
S202: detecting the color saturation of the image signal as the color saturation to be compared;
specifically, for each frame of image signal, its color saturation is detected, and the color saturation is taken as the color saturation to be compared.
S203: calculating the difference between the saturation of the color to be compared and the saturation of the standard color;
specifically, the standard color saturation refers to an optimal color saturation that can be adapted to the image signal, and is preset in advance, and when the image signal is input, a difference between the color saturation corresponding to the image signal and the standard color saturation is calculated.
And S204, when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range, adjusting the color saturation to be compared to obtain the target color saturation.
Specifically, in order to improve the efficiency of automatic adjustment of color saturation, a difference range between the color saturation to be compared and the standard color saturation, for example, -2% -2%, may be preset, and in order to ensure a good display effect, the difference range should be set to be not more than 5% at maximum and not more than-5% at minimum. And if the difference value of the color saturation to be compared and the standard color saturation is within the difference value range, the color saturation to be compared is not required to be automatically adjusted, and if the difference value is not within the difference value range, the color saturation to be compared is automatically adjusted until the difference value of the color saturation to be compared and the standard color saturation is within the preset difference value range, and the color saturation to be compared after the automatic adjustment is taken as the target color saturation.
Specifically, step S204 includes:
when the difference value between the color saturation to be compared and the standard color saturation is higher than the upper limit value of the preset difference value range, the adjustment difference value is reduced to the preset difference value range;
when the difference value between the color saturation to be compared and the standard color saturation is lower than the lower limit value of the preset difference value range, the saturation adjustment difference value is increased to the preset difference value range.
For example, the preset difference range is-2% -2%, when the difference between the saturation of the color to be compared and the saturation of the standard color is higher than 2%, the automatic adjustment difference is reduced to-2% -2%, and when the difference between the saturation of the color to be compared and the saturation of the standard color is lower than-2%, the automatic adjustment difference is increased to-2% -2%.
In addition, in an alternative manner of the implementation, the color saturation to be compared can also be directly and automatically adjusted to the standard color saturation, when the color saturation to be compared is equal to the standard color saturation, the color saturation to be compared does not need to be adjusted, and when the color saturation to be compared is not equal to the standard color saturation, the color saturation to be compared is automatically adjusted to the standard color saturation.
In this embodiment, the color saturation to be compared is automatically adjusted to a suitable color saturation range according to the relationship between the input color saturation to be compared and the preset standard color saturation, so that the user does not need to manually adjust the color saturation, and the efficiency of adjusting the color saturation can be improved.
Further, in step S104, adjusting the color saturation to be compared to obtain the target color saturation includes:
and sequentially performing Y/C separation, decryption processing, colorMatirx processing, white balance correction and gamma curve processing on the image signals to obtain target color saturation.
The Y/C separation is performed in the decoding process, and is mainly realized by a 2D or 3D comb filter, which is used for separating the video signal into a brightness signal (Y) and a chrominance signal (C), so that the problems of color fly, flickering and the like of a picture of a CVBS channel can be avoided. After the composite video signal is decoded, AFE processing and ADC sampling are carried out through an AFE processing module and an ADC sampling module, and the AFE processing module is also connected with the YBPR interface and the VGA interface. The AEF processing refers to analog front-end amplification, can normalize signals before entering the ADC sampling module, is beneficial to ADC sampling, and the ADC sampling module is also connected with an HDMI.
After ADC sampling, the image signal is subjected to Deinterlace processing, colormatrix processing, white balance correction, and gamma curve processing.
The de-interlacing process is also called de-interlacing process, and is performed before all interlaced signals enter the main control chip (e.g., MSD 306). The de-interlacing process is to convert an interlaced image signal into a progressive image signal for display, so that the sharpness and smoothness of a broadcast video picture can be improved.
The colormatrix processing, white balance correction and gamma curve processing are all processed in a Scalar Processor (scaler Processor), and image signals are directly sent to a display screen after the gamma processing. Through ColorMatirx processing, white balance correction and gamma curve processing, the color saturation of the image signal can be automatically adjusted to be within a preset range, so that the output color saturation can be adapted to the viewing requirement of a user.
In this embodiment, the color saturation of the film source to be played can be automatically adjusted by means of image quality processing such as Y/C separation, decryption processing, colormatrix processing, white balance correction, gamma curve processing, and the like, so that the playing image quality of the film source to be played and the efficiency of color saturation adjustment can be improved.
Further, as an implementation manner of this embodiment, the Deinterlace processing includes 2D einterlaces processing and 3D deinterlaces processing, and the control main control chip detects the motion index of each pixel in real time, adopts 2D deinterlaces processing for the moving pixels, and adopts 3D deinterlaces processing for the static pixels.
The 2D display is completed in the frame, and the moving picture is not seen as a problem, but the static picture is "flickering", especially a thin horizontal line, the 3D display is completed between frames, and the static picture is very well performed, but when the moving picture is dynamic, due to different detection algorithms, a short non-smooth picture may appear, and the moving picture is most easily generated at the moment when the picture is changed from static to dynamic. Therefore, 2 ddeinterlaced processing is adopted for the moving pixels, and 3D deinterlaced processing is adopted for the static pixels, in this embodiment, by detecting the motion state of each pixel in real time, and adopting different deinterlaced processing modes for the pixels in different motion states, a good de-interlacing effect can be achieved, and the definition and fluency of video playing are improved.
Further, the de-interlacing process includes:
if the static picture has the jitter problem, judging that only 2D decryption processing is performed, and adopting 3D decryption processing to eliminate the jitter problem;
if the problems of wire drawing and wire plugging occur in the dynamic picture, a register is adopted to forcedly carry out 2D gap processing, whether the problems of wire drawing and wire plugging are eliminated is judged, if the problems of wire drawing and wire plugging are not eliminated, 3D gap processing is continuously adopted until the problems of wire drawing and wire plugging are eliminated;
if the dynamic picture has the problem of saw teeth, judging that the dynamic picture is a problem of small-angle processing, and adopting the small-angle processing to eliminate the problem of saw teeth.
Specifically, after the de-interlacing process is performed, the played picture may have problems such as jitter, wire drawing, wire insertion and saw tooth, whether the problems are caused is determined in advance, if the problems are caused, a reason for the problems is found, and the image signal is sent to the scalar processor for processing after the problems are eliminated.
Specifically, if the above problem occurs, comparing whether the P signal (e.g. 720P) has a similar problem, if so, correcting the P signal, and if the P signal does not have, locking the problem in the default processing. If the static picture has the problem of jitter, judging that only 2D einterlaces are processed, adopting 3D deinterlaces to process and eliminate the problem of jitter, if the dynamic picture has the problem of wire drawing and wire plugging, adopting a register to forcedly process 2D deinterlaces to judge whether the problem of wire drawing and wire plugging is eliminated, if the problem of wire drawing and wire plugging is not eliminated, continuing adopting 3D deinterlaces to process until the problem of wire drawing and wire plugging is eliminated, if the problem of saw tooth appears on the dynamic picture, judging that the problem of saw tooth processing is the problem of small angle processing, and adopting small angle processing to eliminate the problem of saw tooth.
In this embodiment, corresponding measures are taken to eliminate problems existing after de-interlacing processing, so that the display effect of the playing picture can be improved.
Preferably, in another embodiment of the present application, before step S203, further includes:
and selecting a target category from preset adjustment categories based on the detected type of the current playing sheet source, and taking the color saturation of the target category as the standard color saturation.
Specifically, considering different tile sources, the color saturation required for achieving good viewing effect is different, so in this embodiment, different adjustment categories are preset for different kinds of tile sources, and each adjustment category corresponds to one color saturation. Detecting the type of a currently played film source according to an input composite video signal, automatically selecting a target type corresponding to the currently played film source from preset adjustment types, and taking the color saturation of the target type as a standard color saturation, for example, when the type of the film source is an ancient drama, selecting the color saturation of the A type as the standard color saturation; when the film source type is love play, selecting the color saturation of the B type as the standard color saturation; when the source is news program, the color saturation of C category is selected as standard color saturation.
In this example, by selecting appropriate color saturation as standard color saturation according to different kinds of film source types, and then automatically adjusting the color saturation of the input film source based on the standard color saturation, the played film source can achieve a better display effect.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Fig. 3 shows a schematic block diagram of an automatic color saturation adjustment apparatus in one-to-one correspondence with the automatic color saturation adjustment method of the above embodiment. As shown in fig. 3, the automatic color saturation adjusting device includes a decoding module 31, a detecting module 32, a calculating module 33 and an adjusting module 34, and each functional module is described in detail as follows:
a decoding module 31, configured to receive the composite video signal, and decode the composite video signal to obtain an image signal;
a detection module 32 for detecting the color saturation of the image signal as the color saturation to be compared;
a calculating module 33, configured to calculate a difference between the color saturation to be compared and the standard color saturation;
the adjustment module 34 is configured to adjust the color saturation to be compared to obtain the target color saturation when the difference between the color saturation to be compared and the standard color saturation is not within the preset difference range.
Optionally, the adjustment module 34 includes:
the first adjusting unit is used for reducing the adjustment difference value to a preset difference value range when the difference value between the color saturation to be compared and the standard color saturation is positive;
and the second adjusting unit is used for adjusting the saturation difference to be increased to a preset difference range when the difference between the color saturation to be compared and the standard color saturation is negative.
Optionally, the automatic color saturation adjusting device further includes:
the selecting module is used for selecting a target category from preset adjustment categories based on the detected type of the current playing sheet source, and taking the color saturation of the target category as the standard color saturation.
Optionally, the adjustment module 34 further includes:
and the image signal processing unit is used for sequentially carrying out Y/C separation, decryption processing, colorMatirx processing, white balance correction and gamma curve processing on the image signal to obtain target color saturation.
Optionally, the deinterace processing includes 2D deinterace processing and 3D deinterace processing, and the image signal processing unit further includes:
the deinterace processing mode selecting unit is used for controlling the main control chip to detect the motion index of each pixel in real time, adopting 2D deinterace processing for the moving pixels and adopting 3D deinterace processing for the static pixels.
Optionally, the image signal processing unit further includes:
the first processing unit is used for judging that only 2 DDeinterlaced processing is performed if the jitter problem occurs in the static picture, and eliminating the jitter problem by adopting 3D deinterlaced processing;
and the second processing unit is used for forcedly performing 2D deintercalation processing by adopting a register if the problems of wiredrawing and wire plugging occur in the dynamic picture, judging whether the problems of wiredrawing and wire plugging are eliminated, and continuously performing 3D deintercalation processing until the problems of wiredrawing and wire plugging are eliminated if the problems of wiredrawing and wire plugging are not eliminated.
And the third processing unit is used for judging that the dynamic picture is a problem of small-angle processing if the dynamic picture has the problem of saw teeth, and eliminating the problem of saw teeth by adopting the small-angle processing.
For specific limitations of the color saturation automatic adjustment apparatus, reference may be made to the above limitations of the color saturation automatic adjustment method, and no further description is given here. The modules in the automatic color saturation adjusting device can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only a computer device 4 having a component connection memory 41, a processor 42, a network interface 43 is shown in the figures, but it is understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or D interface display memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used for storing an operating system and various application software installed on the computer device 4, such as program codes for controlling electronic files, etc. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute a program code stored in the memory 41 or process data, such as a program code for executing control of an electronic file.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
The present application also provides another embodiment, namely, a computer-readable storage medium storing an interface display program executable by at least one processor to cause the at least one processor to perform the steps of the color saturation automatic adjustment method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.
Claims (10)
1. An automatic color saturation adjustment method, comprising:
receiving a composite video signal, and decoding the composite video signal to obtain an image signal;
detecting the color saturation of the image signal as the color saturation to be compared;
calculating the difference value between the color saturation to be compared and the standard color saturation;
and when the difference value between the color saturation to be compared and the standard color saturation is not in the preset difference value range, adjusting the color saturation to be compared to obtain the target color saturation.
2. The method according to claim 1, wherein the decoding process is a decoding process using Video decoding.
3. The method for automatically adjusting color saturation according to claim 1, wherein when the difference between the color saturation to be compared and the standard color saturation is not within a preset difference range, adjusting the color saturation to be compared to obtain the target color saturation, comprising:
when the difference value between the color saturation to be compared and the standard color saturation is higher than the upper limit value of the preset difference value range, the difference value is adjusted to be reduced to the preset difference value range;
and when the difference value between the color saturation to be compared and the standard color saturation is lower than the lower limit value of the preset difference value range, adjusting the saturation difference value to rise to the preset difference value range.
4. The method of claim 1, wherein prior to calculating the difference between the color saturation to be compared and the standard color saturation, the method further comprises:
and selecting a target category from preset adjustment categories based on the detected type of the current playing sheet source, and taking the color saturation of the target category as the standard color saturation.
5. The method for automatically adjusting color saturation according to claim 1, wherein said adjusting the color saturation to be compared to obtain a target color saturation includes:
and sequentially performing Y/C separation, decryption processing, colorMatirx processing, white balance correction and gamma curve processing on the image signals to obtain target color saturation.
6. The method according to claim 5, wherein the color saturation automatic adjustment method includes 2D and 3D interpolation processes, and the control main control chip detects the motion index of each pixel in real time, and the 2D interpolation process is adopted for the moving pixel and the 3D interpolation process is adopted for the static pixel.
7. The method for automatically adjusting color saturation according to claim 6, wherein the de-interlacing process is followed by:
if the static picture has the jitter problem, judging that only 2D decryption processing is performed, and eliminating the jitter problem by adopting 3D decryption processing;
if the problems of wire drawing and wire plugging occur in the dynamic picture, a register is adopted to forcedly carry out 2D insertion processing, whether the problems of wire drawing and wire plugging are eliminated is judged, if the problems of wire drawing and wire plugging are not eliminated, 3D insertion processing is continuously adopted until the problems of wire drawing and wire plugging are eliminated;
if the dynamic picture has the problem of saw teeth, judging that the dynamic picture is the problem of small-angle processing, and adopting the small-angle processing to eliminate the problem of saw teeth.
8. An automatic color saturation adjustment apparatus, comprising:
the decoding module is used for receiving the composite video signal and decoding the composite video signal to obtain an image signal;
the detection module is used for detecting the color saturation of the image signal and taking the color saturation as the color saturation to be compared;
the calculating module is used for calculating the difference value between the color saturation to be compared and the standard color saturation;
and the adjustment module is used for adjusting the color saturation to be compared to obtain target color saturation when the difference value between the color saturation to be compared and the standard color saturation is not in a preset difference value range.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method for automatically adjusting color saturation according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the color saturation automatic adjustment method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211700010.7A CN116132644A (en) | 2022-12-28 | 2022-12-28 | Automatic color saturation adjustment method and device and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211700010.7A CN116132644A (en) | 2022-12-28 | 2022-12-28 | Automatic color saturation adjustment method and device and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116132644A true CN116132644A (en) | 2023-05-16 |
Family
ID=86305795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211700010.7A Pending CN116132644A (en) | 2022-12-28 | 2022-12-28 | Automatic color saturation adjustment method and device and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116132644A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116825038A (en) * | 2023-07-05 | 2023-09-29 | 广州文石信息科技有限公司 | Saturation adjusting method and device, storage medium and color ink screen equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1119816A (en) * | 1993-10-27 | 1996-04-03 | 德克萨斯仪器股份有限公司 | Digital television system |
CN1538748A (en) * | 2003-04-16 | 2004-10-20 | 华亚微电子(上海)有限公司 | Method of interleave and line by line conversion of mixing two dimensional and three dimensional |
JP2009188967A (en) * | 2008-02-08 | 2009-08-20 | Rigio Waki | Method of adjusting color of image |
CN102196232A (en) * | 2010-03-09 | 2011-09-21 | 富士通微电子(上海)有限公司 | Method for restoring missing lines in interlaced video image |
CN103686350A (en) * | 2013-12-27 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method and system for adjusting image quality |
CN113453082A (en) * | 2021-06-16 | 2021-09-28 | 深圳创维-Rgb电子有限公司 | Intelligent television image automatic adjustment processing method and device, intelligent television and medium |
CN113507572A (en) * | 2021-07-09 | 2021-10-15 | Oppo广东移动通信有限公司 | Video picture display method, device, terminal and storage medium |
-
2022
- 2022-12-28 CN CN202211700010.7A patent/CN116132644A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1119816A (en) * | 1993-10-27 | 1996-04-03 | 德克萨斯仪器股份有限公司 | Digital television system |
CN1538748A (en) * | 2003-04-16 | 2004-10-20 | 华亚微电子(上海)有限公司 | Method of interleave and line by line conversion of mixing two dimensional and three dimensional |
JP2009188967A (en) * | 2008-02-08 | 2009-08-20 | Rigio Waki | Method of adjusting color of image |
CN102196232A (en) * | 2010-03-09 | 2011-09-21 | 富士通微电子(上海)有限公司 | Method for restoring missing lines in interlaced video image |
CN103686350A (en) * | 2013-12-27 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method and system for adjusting image quality |
CN113453082A (en) * | 2021-06-16 | 2021-09-28 | 深圳创维-Rgb电子有限公司 | Intelligent television image automatic adjustment processing method and device, intelligent television and medium |
CN113507572A (en) * | 2021-07-09 | 2021-10-15 | Oppo广东移动通信有限公司 | Video picture display method, device, terminal and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116825038A (en) * | 2023-07-05 | 2023-09-29 | 广州文石信息科技有限公司 | Saturation adjusting method and device, storage medium and color ink screen equipment |
CN116825038B (en) * | 2023-07-05 | 2024-03-12 | 广州文石信息科技有限公司 | Saturation adjusting method and device, storage medium and color ink screen equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810649B (en) | Image quality adjusting method, intelligent television and storage medium | |
US10109228B2 (en) | Method and apparatus for HDR on-demand attenuation control | |
EP3751862B1 (en) | Display method and device, television set, and storage medium | |
US8581826B2 (en) | Dynamic backlight adaptation with reduced flicker | |
US7715481B2 (en) | System and method for allocation of resources for processing video | |
US8139081B1 (en) | Method for conversion between YUV 4:4:4 and YUV 4:2:0 | |
WO2020042350A1 (en) | Desktop screen projection method and device, apparatus, and storage medium | |
CN103841389B (en) | A kind of video broadcasting method and player | |
CN113055742B (en) | Video display method, device, terminal and storage medium | |
CN105872843B (en) | A kind of method and device playing video | |
CN112399123B (en) | Video definition adjusting method and device, electronic equipment and storage medium | |
CN111405339B (en) | Split screen display method, electronic equipment and storage medium | |
CN113240644B (en) | Display processing method of high dynamic range image and related device | |
WO2019033726A1 (en) | Smart television signal source-based method for displaying floating menu and smart television | |
CN111128082B (en) | Backlight adjusting method, display and storage medium | |
TW201331924A (en) | Backlight modulation over external display interfaces to save power | |
CN105898348A (en) | Method and device for reducing CPU temperature of video play terminal | |
US9161030B1 (en) | Graphics overlay system for multiple displays using compressed video | |
CN113825020B (en) | Video definition switching method, device, equipment, storage medium and program product | |
CN104702964A (en) | Image processing method and device | |
CN109600655A (en) | Method, applications client and the electronic equipment that barrage is shown in applications client | |
CN116132644A (en) | Automatic color saturation adjustment method and device and related equipment | |
US9053752B1 (en) | Architecture for multiple graphics planes | |
CN109587561B (en) | Video processing method and device, electronic equipment and storage medium | |
US8483389B1 (en) | Graphics overlay system for multiple displays using compressed video |
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 |