CN108156433A - A kind of image processing method, terminal and computer readable storage medium - Google Patents

A kind of image processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108156433A
CN108156433A CN201711459820.7A CN201711459820A CN108156433A CN 108156433 A CN108156433 A CN 108156433A CN 201711459820 A CN201711459820 A CN 201711459820A CN 108156433 A CN108156433 A CN 108156433A
Authority
CN
China
Prior art keywords
color lump
value
pending
brightness value
terminal
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.)
Granted
Application number
CN201711459820.7A
Other languages
Chinese (zh)
Other versions
CN108156433B (en
Inventor
张啸林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Mobile Information System Integration Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711459820.7A priority Critical patent/CN108156433B/en
Publication of CN108156433A publication Critical patent/CN108156433A/en
Application granted granted Critical
Publication of CN108156433B publication Critical patent/CN108156433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
    • H04N5/213Circuitry for suppressing or minimising impulsive noise

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses a kind of image processing method, terminal and computer readable storage mediums, can improve the clarity of picture, and this method can include:When receiving the picture process instruction to pending picture, pending picture is converted from RGB domains to YUV domains, pending picture is divided at least one color lump in pending domain;In YUV domains, the corresponding at least one brightness value of at least one color lump is obtained;When judging that the first color lump belongs to pending color lump, according to corresponding first brightness value of the first color lump, corresponding first weighted value of the first color lump is calculated, the first color lump is at least one color color lump in the block, and the first brightness value is the corresponding brightness value of the first color lump at least one brightness value;Noise reduction process is carried out to the first color lump using the first weighted value, to complete the processing procedure to pending picture.

Description

A kind of image processing method, terminal and computer readable storage medium
Technical field
The present invention relates to a kind of electronic application field more particularly to image processing method, terminal and computer-readable storages Medium.
Background technology
In recent years, with the fast development of the mobile terminals such as mobile phone, mobile terminal can not only be realized and be made a phone call Basic communication functions, can more realize photograph taking, and the additional functions such as video-see and instant messaging are carried out using mobile terminal During picture shooting, in order to enhance the display effect of shooting picture, reduce the noise in photo using image noise reduction algorithm.So And as shown in Figure 1a, the rgb value of white area should be 255, however after have passed through noise reduction process, R values become 245, As shown in Figure 1 b, black region is presented color and overlaps after zooming.Therefore the picture after noise reduction, it may appear that highlight regions Aberration either colour cast such as partially green or inclined powder, and the problem of dark areas color is overlapping.It to solve the above-mentioned problems, can be to figure Piece tries again noise reduction process.
However, in the first noise reduction process, in picture except highlight regions and other regions in addition to dark areas noise reduction into Work(, after the noise reduction that tries again to picture, other above-mentioned regions can cause clarity to be lower due to multiple noise reduction, so as to reduce The clarity of picture entirety.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of image processing method, terminal and computers Readable storage medium storing program for executing can improve the clarity of picture.
The embodiment of the present invention provides a kind of image processing method, the method includes:
When receiving the picture process instruction to pending picture, the pending picture is converted from RGB domains to YUV Domain, the pending picture are divided at least one color lump in the pending domain;
In the YUV domains, the corresponding at least one brightness value of at least one color lump is obtained;
When judging that the first color lump belongs to pending color lump, according to corresponding first brightness value of first color lump, meter Corresponding first weighted value of first color lump is calculated, first color lump is at least one color color lump in the block, First brightness value is the corresponding brightness value of the first color lump described at least one brightness value;
Noise reduction process is carried out to first color lump using first weighted value, to complete to the pending picture Processing procedure.
In the above-mentioned methods, it is described obtain the corresponding at least one brightness value of at least one color lump after, described According to corresponding first brightness value of first color lump, before calculating corresponding first weighted value of first color lump, the side Method further includes:
Judge whether at least one brightness value belongs to default pending brightness value section successively;
When the first brightness value at least one brightness value belongs to the default pending brightness value section, judge Go out corresponding first color lump of first brightness value and belong to the pending color lump.
In the above-mentioned methods, it is described according to corresponding first brightness value of first color lump, calculate first color lump Corresponding first weighted value, including:
According to predetermined luminance value and weighted value relationship, corresponding second weighted value of first brightness value is determined;
Obtain corresponding first chromatic value of first color lump;
According to default chromatic value and weighted value relationship, the corresponding third weighted value of first chromatic value is determined;
According to second weighted value, the third weighted value and default weighted value calculation formula, described first is calculated Weighted value.
In the above-mentioned methods, it is described that noise reduction process is carried out to first color lump using first weighted value, including:
According to first weighted value and first chromatic value, corresponding the first new color of first color lump is calculated Angle value;
First chromatic value is adjusted using the first new chromatic value, is completed at the noise reduction to first color lump Reason.
In the above-mentioned methods, after the corresponding pending picture according to picture process instruction acquisition, the side Method further includes:
When judging that first color lump is not belonging to the pending color lump, first color lump is not carried out at noise reduction Reason.
The embodiment of the present invention provides a kind of terminal, and the terminal includes:Processor, memory and communication bus, the place Reason device is used to perform the operation program stored in the memory, to realize following steps:
When receiving the picture process instruction to pending picture, the pending picture is converted from RGB domains to YUV Domain, the pending picture are divided at least one color lump in the pending domain;In the YUV domains, described in acquisition The corresponding at least one brightness value of at least one color lump;When judging that the first color lump belongs to pending color lump, according to described Corresponding first brightness value of one color lump calculates corresponding first weighted value of first color lump, and first color lump is described An at least one color color lump in the block, first brightness value are corresponded to for the first color lump described at least one brightness value Brightness value;Noise reduction process is carried out to first color lump using first weighted value, to complete to the pending picture Processing procedure.
In above-mentioned terminal, the processor is additionally operable to judge whether at least one brightness value belongs to default successively Pending brightness value section;Pending brightness value area is preset when the first brightness value at least one brightness value belongs to described Between when, judge that corresponding first color lump of first brightness value belongs to the pending color lump.
In above-mentioned terminal, the processor is additionally operable to according to predetermined luminance value and weighted value relationship, determines described Corresponding second weighted value of one brightness value;Obtain corresponding first chromatic value of first color lump;According to default chromatic value and power Weight values relationship determines the corresponding third weighted value of first chromatic value;According to second weighted value, the third weight Value and default weighted value calculation formula, calculate first weighted value.
In above-mentioned terminal, the processor is additionally operable to, according to first weighted value and first chromatic value, calculate Go out corresponding the first new chromatic value of first color lump;First chromatic value is adjusted using the first new chromatic value, Complete the noise reduction process to first color lump;It is not right when judging that first color lump is not belonging to the pending color lump First color lump carries out noise reduction process.
The embodiment of the present invention provides a kind of computer readable storage medium, computer program is stored thereon with, applied to end Such as image processing method described in any one of the above embodiments is realized at end when the computer program is executed by processor.
The embodiment of the present invention provides a kind of image processing method, terminal and computer readable storage medium, when receiving pair During the picture process instruction of pending picture, pending picture is converted from RGB domains to YUV domains, pending picture is pending It is divided at least one color lump in domain;In YUV domains, the corresponding at least one brightness value of at least one color lump is obtained;When sentencing Break when the first color lump and belonging to pending color lump, according to corresponding first brightness value of the first color lump, calculate the first color lump correspondence The first weighted value, the first color lump be at least one color color lump in the block, the first brightness value be at least one brightness value in The corresponding brightness value of first color lump;Noise reduction process is carried out to the first color lump using the first weighted value, to complete to pending picture Processing procedure.Using the above scheme, for terminal when getting pending picture, terminal converts pending picture from RGB domains Judge whether the corresponding at least one color lump of pending picture belongs to pending color lump successively to YUV domains, and in YUV domains, when extremely When a few color the first color lump in the block belongs to pending color lump, terminal calculates the according to corresponding first brightness value of the first color lump Then first weighted value of one color lump carries out noise reduction process according to the first weighted value to the first color lump, at this point, terminal is according to default Algorithm carries out different degrees of noise reduction process respectively at least one color lump, and the color lump that need not carry out noise reduction process is not needed to Multiple noise reduction is carried out, so as to improve the clarity of pending picture.
Description of the drawings
Display figures of Fig. 1 a for the white area after carrying out noise reduction in the prior art;
Display figures of Fig. 1 b for the black region after carrying out noise reduction in the prior art;
Fig. 2 to realize the present invention embodiment provide a kind of mobile terminal hardware architecture diagram;
Fig. 3 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of illustrative processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart one of image processing method provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of a kind of illustrative predetermined luminance value provided in an embodiment of the present invention and weighted value relationship;
Fig. 7 is a kind of illustrative default chromatic value provided in an embodiment of the present invention and the schematic diagram of weighted value relationship;
Fig. 8 is a kind of flowchart 2 of image processing method provided in an embodiment of the present invention;
Fig. 9 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special For moving except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 2, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wireless Fidelity (Wi-Fi, Wireless Fidelity) module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106th, the components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that mobile terminal structure shown in Figure 2 does not form the restriction to mobile terminal, and mobile terminal can be with Including either combining certain components or different components arrangement than illustrating more or fewer components.
The all parts of mobile terminal are specifically introduced with reference to Fig. 2:
Radio frequency unit 101 can be used for receive and send messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to processor 110;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates Frequency unit 101 can also communicate with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch by Wi-Fi module 102 Email, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 2 Show Wi-Fi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can basis It needs to omit in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, it is that radio frequency unit 101 or Wi-Fi module 102 are received or The audio data that person stores in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 can also provide performed with mobile terminal 100 the relevant audio output of specific function (for example, call signal receive sound, Message sink sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or Wi-Fi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Display panel 1061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 107 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch terminal With two parts of touch controller.Wherein, the touch orientation of touch terminal detection user, and detect the letter that touch operation is brought Number, transmit a signal to touch controller;Touch controller receives touch information from touch terminal, and is converted into contact Coordinate, then processor 110 is given, and the order that processor 110 is sent can be received and performed.Furthermore, it is possible to using resistance The multiple types such as formula, condenser type, infrared ray and surface acoustic wave realize touch panel 1071.In addition to touch panel 1071, user Input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to One kind or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. Kind, it does not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in fig. 2, touch panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 2 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 3, Fig. 3 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system The LTE system united as universal mobile communications technology, the LTE system include the UE (User Equipment, the use that communicate connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
The embodiment of the present invention provides a kind of image processing method, as shown in figure 5, this method can include:
S101, when receiving the picture process instruction to pending picture, by pending picture from RGB domains convert to YUV domains, pending picture are divided at least one color lump in pending domain.
A kind of image processing method provided in an embodiment of the present invention is suitable under the scene that terminal-pair picture carries out noise reduction.
In the embodiment of the present invention, user using terminal carry out photograph taking when or user in terminal to photo into During row optimization processing, user clicks shooting push button or optimization button on terminal interface, at this point, terminal receives picture processing Instruction, terminal obtain pending picture according to picture process instruction.
In the embodiment of the present invention, pending picture is made of at least one color lump, and noise reduction process is carried out to pending picture It is equivalent to and noise reduction process is carried out at least one color lump.
In the embodiment of the present invention, during picture signal handles (ISP, Image Signal Processing), meeting The image of original raw forms is transformed into RGB domains reconvert to YUV domains, finally generates a jpg picture by encoding and decoding, originally Inventive embodiments are handled when RGB domains are transformed into YUV domains, and " Y " represents brightness, that is, grayscale value;" U " and " V " table What is shown is then coloration, and effect is description colors of image and saturation degree, for the color of specified pixel.
In the embodiment of the present invention, the method that terminal carries out picture processing carries out on YCbCr, and YCbCr is in the world The part suggested in digital organizing video standard development process as ITU-RBT1601 is YUV in fact by scaling and offset Reprint;Wherein Y is consistent with the Y meanings in YUV, and Cb, Cr equally refer to color, only different on representation method. In YUV families, YCbCr is in computer systems using most members, and application field is very extensive, and JPEG, MPEG are adopted With this form.
Illustratively, as shown in figure 4, the flow of the picture approach in the embodiment of the present invention is:Terminal is by pending picture After being transformed into YCbCr domains from RGB domains, regional color noise reduction process is carried out to CbCr when carrying out ISP processes.
In the embodiment of the present invention, pending image is transformed into YCrCb skies by terminal using color space convert from rgb space Between, wherein, pending image from rgb space be transformed into YCrCb spaces after pixel brightness value calculation formula be Y= 0.30*R+0.59G+0.11B, wherein, Y be pending image from RGB be transformed into YCrCb spaces after pixel brightness value.
During the present invention is implemented, since image processing method carries out on YCbCr, therefore, at least one color is in the block every One color lump is corresponding with Y value (brightness value), Cb values and Cr values (the two has collectively constituted chromatic value).
Specifically, Cr, the Cb of image processing apparatus according to each color pixel in the block, it is corresponding to calculate each color lump The average value of Cr, Cb, and using the average value as the corresponding Cr values of color lump and Cb values.
S102, in YUV domains, obtain the corresponding at least one brightness value of at least one color lump.
After terminal converts pending picture to YUV domains from RGB domains, terminal will obtain at least one in YUV domains The corresponding at least one brightness value of a color lump.
In the embodiment of the present invention, terminal obtains the corresponding at least one Y value of at least one color lump, at least one Cb values and extremely A few Cr value.
S103, when judging that the first color lump belongs to pending color lump, according to corresponding first brightness value of the first color lump, meter Corresponding first weighted value of the first color lump is calculated, the first color lump is at least one color color lump in the block, and the first brightness value is The corresponding brightness value of first color lump at least one brightness value.
After terminal gets at least one color lump corresponding at least one brightness value, terminal will judge at least one Whether color lump belongs to pending color lump, when terminal judges that at least one color the first color lump in the block belongs to pending color lump When, terminal will calculate corresponding first weighted value of the first color lump according to corresponding first brightness value of the first color lump.
In the embodiment of the present invention, terminal judges whether at least one color lump belongs to and treats successively according at least one brightness value Color lump is handled, as shown in fig. 6, brightness value includes this 5 brightness value sections of 0-M1, M1-M2, M2-M3, M3-M4, M4-255, when The first brightness value at least one brightness value is in appointing in this four brightness value sections of 0-M1, M1-M2, M3-M4, M4-255 During one brightness value section of meaning, the brightness value of the first color lump of characterization belongs in non-normal range, and terminal judges the first color lump category In pending color lump, at this point, terminal calculates corresponding first weighted value of the first color lump according to preset algorithm.
In the embodiment of the present invention, when the first brightness value is in 0-M1 sections, the first color lump of characterization belongs to dark areas;When One brightness value is in M4-255 sections, and the first color lump of characterization belongs to highlight regions.
Further, when the first brightness value is in M2-M3 sections, the brightness value of the first color lump of characterization belongs to normal range (NR) It is interior, at this point, terminal does not carry out noise reduction process to the first color lump.
In the embodiment of the present invention, when terminal judges that the first color lump belongs to pending color lump, terminal obtains first respectively Then corresponding second weighted value of brightness value and the corresponding third weighted value of the first chromatic value are weighed according to the second weighted value and third Weight values calculate the first weighted value.
In the embodiment of the present invention, the default weighted value calculation formula for calculating the first weighted value is:R=(R_y*W_c)+1- (W_c), wherein, W_c is the corresponding third weighted value of the first chromatic value, and R_y is corresponding second weighted value of the first brightness value.
In the embodiment of the present invention, terminal determines the second weighted value according to predetermined luminance value and weighted value relationship, such as Fig. 6 institutes Showing, abscissa is the first brightness value Y of the first color lump, and ordinate is the corresponding second weighted value R_y of the first brightness value, wherein, The value of M1, M2, M3 and M4 are configured according to specific actual conditions, and the embodiment of the present invention does not do specific restriction.When Y exists During 0-M1 and M4-255 sections, the value of R_y is 0, and when Y is in M1-M2 or M3-M4 sections, the value of R_y is according to predetermined linear Relationship is calculated.
In the embodiment of the present invention, terminal determines third weighted value according to default chromatic value and weighted value relationship, such as Fig. 7 institutes Show, abscissa is Cb, Cr value maximum in the first color lump YUV values, and ordinate is third weighted value W_c, wherein mm1 and mm2 Specific value is configured by actual conditions, and the embodiment of the present invention does not do specific restriction.When maximum Cb, Cr value is in 0-mm1 During section, the value of W_c is 1, and when maximum Cb, Cr value is in mm1-mm2 sections, the value of W_c is according to predetermined linear relationship It is calculated, when maximum Cb, Cr value is in mm2-128 sections, the value of W_c is 0.
S104, noise reduction process is carried out to the first color lump using the first weighted value, to complete to process pending picture Journey.
After terminal calculates the first color lump corresponding first weighted value, terminal will utilize the first weighted value to first Color lump carries out noise reduction process, to complete the processing procedure to pending picture.
In the embodiment of the present invention, it is corresponding new to calculate the first color lump according to the first weighted value and the first chromatic value for terminal The first chromatic value, then terminal adjust the first chromatic value using the first new chromatic value, to complete the noise reduction to the first color lump Processing.
In the embodiment of the present invention, at least one color lump of terminal-pair carries out noise reduction process according to the method described above successively, with to whole A pending picture completes the process of noise reduction process.
In the embodiment of the present invention, terminal substitutes into the first weighted value R in Cb and Cr, obtains new Cb and Cr.
In the embodiment of the present invention, the formula for calculating new Cb is Cb_new=Cb-R*Cb.
In the embodiment of the present invention, the formula for calculating new Cr is Cr_new=Cr-R*Cr.
It is understood that terminal is when getting pending picture, terminal by pending picture from RGB domains convert to YUV domains, and judge whether the corresponding at least one color lump of pending picture belongs to pending color lump successively in YUV domains, when at least When one color the first color lump in the block belongs to pending color lump, terminal calculates first according to corresponding first brightness value of the first color lump Then first weighted value of color lump carries out noise reduction process according to the first weighted value to the first color lump, at this point, terminal is according to pre- imputation Method carries out different degrees of noise reduction process respectively at least one color lump, the color lump that need not carry out noise reduction process is not needed into The multiple noise reduction of row, so as to improve the clarity of pending picture.
Embodiment two
The embodiment of the present invention provides a kind of image processing method, as shown in figure 8, this method can include:
S201, when receiving the picture process instruction to pending picture, by pending picture from RGB domains convert to YUV domains, pending picture are divided at least one color lump in pending domain.
A kind of image processing method provided in an embodiment of the present invention is suitable under the scene that terminal-pair picture carries out noise reduction.
In the embodiment of the present invention, user using terminal carry out photograph taking when or user in terminal to photo into During row optimization processing, user clicks shooting push button or optimization button on terminal interface, at this point, terminal receives picture processing Instruction, terminal obtain pending picture according to picture process instruction.
In the embodiment of the present invention, pending picture is made of at least one color lump, and noise reduction process is carried out to pending picture It is equivalent to and noise reduction process is carried out at least one color lump.
In the embodiment of the present invention, during ISP, the image of original raw forms can be transformed into RGB domains reconvert and arrived YUV domains, finally by encoding and decoding generate a jpg picture, the embodiment of the present invention be when RGB domains are transformed into YUV domains at Reason, " Y " represent brightness, that is, grayscale value;What " U " and " V " was represented is then coloration, and effect is description colors of image and saturation Degree, for the color of specified pixel.
In the embodiment of the present invention, the method that terminal carries out picture processing carries out on YCbCr, and YCbCr is in the world The part suggested in digital organizing video standard development process as ITU-RBT1601 is YUV in fact by scaling and offset Reprint;Wherein Y is consistent with the Y meanings in YUV, and Cb, Cr equally refer to color, only different on representation method. In YUV families, YCbCr is in computer systems using most members, and application field is very extensive, and JPEG, MPEG are adopted With this form.
Illustratively, as shown in figure 4, the flow of the picture approach in the embodiment of the present invention is:Terminal is by pending picture After being transformed into YCbCr domains from RGB domains, regional color noise reduction process is carried out to CbCr when carrying out ISP processes.
S202, in YUV domains, terminal obtains the corresponding at least one brightness value of at least one color lump.
After terminal converts pending picture to YUV domains from RGB domains, terminal will obtain at least one in YUV domains The corresponding at least one brightness value of a color lump.
In the embodiment of the present invention, pending picture is made of at least one color lump, and noise reduction process is carried out to pending picture It is equivalent to and noise reduction process is carried out at least one color lump.
During the present invention is implemented, since image processing method carries out on YCbCr, therefore, at least one color is in the block every One color lump is corresponding with Y value (brightness value), Cb values and Cr values (the two has collectively constituted chromatic value).
In the embodiment of the present invention, terminal obtains the corresponding at least one Y value of at least one color lump, at least one Cb values and extremely A few Cr value.
S203, terminal judge whether at least one brightness value belongs to default pending brightness value section successively.
After terminal gets at least one color lump corresponding at least one brightness value, terminal will successively judge at least Whether one brightness value belongs to default pending brightness value section.
In the embodiment of the present invention, terminal judges whether at least one color lump belongs to and treats successively according at least one brightness value Color lump is handled, as shown in fig. 6, brightness value includes this 5 brightness value sections of 0-M1, M1-M2, M2-M3, M3-M4, M4-255, when When brightness value is in any one brightness value section in this four brightness value sections of 0-M1, M1-M2, M3-M4, M4-255, table The brightness value is levied to belong in non-normal range.
In the embodiment of the present invention, when the first brightness value is in 0-M1 sections, the first color lump of characterization belongs to dark areas;When One brightness value is in M4-255 sections, and the first color lump of characterization belongs to highlight regions.
S204, when the first brightness value at least one brightness value belongs to default pending brightness value section, terminal is sentenced Break and corresponding first color lump of the first brightness value and belong to pending color lump.
After the first brightness value that terminal is judged at least one brightness value belongs to default pending brightness value section, Terminal indicates that corresponding first color lump of the first brightness value belongs to pending color lump.
In the embodiment of the present invention, when the first brightness value that terminal is judged at least one brightness value is in 0-M1, M1- During any one brightness value section in this four brightness value sections of M2, M3-M4, M4-255, terminal judges the first brightness value When belonging in non-normal range, at this point, corresponding first color lump of the first brightness value belongs to pending color lump.
S205, when judging that the first color lump belongs to pending color lump, terminal according to predetermined luminance value and weighted value relationship, Determine corresponding second weighted value of the first brightness value.
After terminal judges that the first color lump belongs to pending color lump, terminal is closed according to predetermined luminance value and weighted value System, determines corresponding second weighted value of the first brightness value.
In the embodiment of the present invention, terminal determines the second weighted value according to predetermined luminance value and weighted value relationship, such as Fig. 6 institutes Showing, abscissa is the first brightness value Y of the first color lump, and ordinate is the corresponding second weighted value R_y of the first brightness value, wherein, The value of M1, M2, M3 and M4 are configured according to specific actual conditions, and the embodiment of the present invention does not do specific restriction.When Y exists During 0-M1 and M4-255 sections, the value of R_y is 0, and when Y is in M1-M2 or M3-M4 sections, the value of R_y is according to predetermined linear Relationship is calculated.
S206, terminal obtain corresponding first chromatic value of the first color lump.
After terminal determines the second weighted value, terminal obtains corresponding first chromatic value of the first color lump.
In the embodiment of the present invention, terminal obtains the corresponding Cb values of the first color lump and Cr values.
S207, terminal determine the corresponding third weighted value of the first chromatic value according to default chromatic value and weighted value relationship.
After terminal gets the first color lump corresponding first chromatic value, terminal is closed according to default chromatic value and weighted value System, determines the corresponding third weighted value of the first chromatic value.
In the embodiment of the present invention, terminal determines third weighted value according to default chromatic value and weighted value relationship, such as Fig. 7 institutes Show, abscissa is Cb, Cr value maximum in the first color lump YUV values, and ordinate is third weighted value W_c, wherein mm1 and mm2 Specific value is configured by actual conditions, and the embodiment of the present invention does not do specific restriction.When maximum Cb, Cr value is in 0-mm1 During section, the value of W_c is 1, and when maximum Cb, Cr value is in mm1-mm2 sections, the value of W_c is according to predetermined linear relationship It is calculated, when maximum Cb, Cr value is in mm2-128 sections, the value of W_c is 0.
S208, terminal calculate the first weight according to the second weighted value, third weighted value and default weighted value calculation formula Value.
After terminal determines the second weighted value and third weighted value, terminal is according to the second weighted value, third weighted value With default weighted value calculation formula, the first weighted value is calculated.
In the embodiment of the present invention, in the embodiment of the present invention, the default weighted value calculation formula for calculating the first weighted value is:R =(R_y*W_c)+1- (W_c), wherein, W_c is the corresponding third weighted value of the first chromatic value, and R_y is corresponded to for the first brightness value The second weighted value.
In the embodiment of the present invention, work as Y<During M1, the first color lump of characterization belongs to very dark region;Work as Y>During M4, the first color is characterized Block belongs to extreme bright regions.
In the embodiment of the present invention, work as Y<M1 or Y>During M4, R=1- (W_c), at this point, as the first chromatic value MaxC<mm1 When, (W_c)=1, R=0;As the first chromatic value MaxC>During mm4, (W_c)=0, R=1;
S209, terminal calculate corresponding the first new coloration of the first color lump according to the first weighted value and the first chromatic value Value.
After terminal calculates the first weighted value, terminal calculates the first color according to the first weighted value and the first chromatic value Corresponding the first new chromatic value of block.
In the embodiment of the present invention, terminal substitutes into the first weighted value R in Cb and Cr, obtains new Cb and Cr.
In the embodiment of the present invention, the formula for calculating new Cb is Cb_new=Cb-R*Cb.
In the embodiment of the present invention, the formula for calculating new Cr is Cr_new=Cr-R*Cr.
S210, terminal adjust the first chromatic value using the first new chromatic value, complete the noise reduction process to the first color lump, with Complete the processing procedure to pending picture.
After terminal calculates the first color lump corresponding new first chromatic value, terminal is completed pair using the first chromatic value The noise reduction process process of first color lump.
In the embodiment of the present invention, terminal adjusts the first chromatic value using the first new chromatic value, to complete to the first color lump Noise reduction process.
In the embodiment of the present invention, at least one color lump of terminal-pair carries out noise reduction process according to the method described above successively, with to whole A pending picture completes the process of noise reduction process.
It is understood that terminal is when getting pending picture, terminal by pending picture from RGB domains convert to YUV domains, and judge whether the corresponding at least one color lump of pending picture belongs to pending color lump successively in YUV domains, when at least When one color the first color lump in the block belongs to pending color lump, terminal calculates first according to corresponding first brightness value of the first color lump Then first weighted value of color lump carries out noise reduction process according to the first weighted value to the first color lump, at this point, terminal is according to pre- imputation Method carries out different degrees of noise reduction process respectively at least one color lump, the color lump that need not carry out noise reduction process is not needed into The multiple noise reduction of row, so as to improve the clarity of pending picture.
Embodiment three
Fig. 9 is the composition structure diagram one for the terminal that the embodiment of the present invention proposes, in practical applications, based on embodiment One and embodiment two same inventive concept under, as shown in figure 9, the terminal 1 of the embodiment of the present invention includes:Processor 10, storage Device 11 and communication bus 12.
In an embodiment of the present invention, above-mentioned communication bus 12 is used to implement the connection between processor 10 and memory 11 Communication;Above-mentioned processor 10 is used to perform the operation program stored in memory 11, to realize following steps:
Above-mentioned processor 10, for when receiving the picture process instruction to pending picture, by the pending figure Piece is converted from RGB domains to YUV domains, and the pending picture is divided at least one color lump in the pending domain;Institute It states in YUV domains, obtains the corresponding at least one brightness value of at least one color lump;When judging that the first color lump belongs to pending During color lump, according to corresponding first brightness value of first color lump, corresponding first weighted value of first color lump, institute are calculated The first color lump is stated as at least one color color lump in the block, first brightness value is at least one brightness value The corresponding brightness value of first color lump;Noise reduction process is carried out to first color lump using first weighted value, to complete To the processing procedure of the pending picture.
In embodiments of the present invention, further, above-mentioned processor 10 is additionally operable to judge at least one brightness successively Whether value belongs to default pending brightness value section;When the first brightness value at least one brightness value belongs to described default During pending brightness value section, judge that corresponding first color lump of first brightness value belongs to the pending color lump.
In embodiments of the present invention, further, above-mentioned processor 10 is additionally operable to be closed according to predetermined luminance value and weighted value System, determines corresponding second weighted value of first brightness value;Obtain corresponding first chromatic value of first color lump;According to Default chromatic value and weighted value relationship, determine the corresponding third weighted value of first chromatic value;According to second weight Value, the third weighted value and default weighted value calculation formula, calculate first weighted value.
In embodiments of the present invention, further, above-mentioned processor 10 is additionally operable to according to first weighted value and described First chromatic value calculates corresponding the first new chromatic value of first color lump;It is adjusted using the first new chromatic value First chromatic value completes the noise reduction process to first color lump.
In embodiments of the present invention, further, above-mentioned processor 10 is additionally operable to work as and judges that first color lump does not belong to When the pending color lump, noise reduction process is not carried out to first color lump.
During specific embodiment, above-mentioned processor 10 can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), Digital Signal Processing terminal (DSPD, Digital Signal Processing Device), programmable logic Terminal (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), CPU, controller, microcontroller, at least one of microprocessor.It is to be appreciated that different are set Standby, it can also be other to be used to implement the electronic device of above-mentioned processor function, and the embodiment of the present invention is not especially limited.
The terminal that the embodiment of the present invention proposes, will be pending when receiving the picture process instruction to pending picture Picture is converted from RGB domains to YUV domains, and pending picture is divided at least one color lump in pending domain;In YUV domains, Obtain the corresponding at least one brightness value of at least one color lump;When judging that the first color lump belongs to pending color lump, according to Corresponding first brightness value of one color lump, calculates corresponding first weighted value of the first color lump, and the first color lump is at least one color lump In a color lump, the first brightness value be at least one brightness value in the corresponding brightness value of the first color lump;Utilize the first weighted value Noise reduction process is carried out to the first color lump, to complete the processing procedure to pending picture.It can be seen that the embodiment of the present invention proposes Terminal, when getting pending picture, terminal converts pending picture to YUV domains from RGB domains, and in YUV domains successively Judge whether the corresponding at least one color lump of pending picture belongs to pending color lump, when at least one color the first color lump in the block When belonging to pending color lump, terminal calculates the first weighted value of the first color lump according to corresponding first brightness value of the first color lump, so Noise reduction process is carried out to the first color lump according to the first weighted value afterwards, at this point, terminal divides at least one color lump according to preset algorithm Different degrees of noise reduction process is not carried out, the color lump that need not carry out noise reduction process is not needed to carry out multiple noise reduction, so as to improve The clarity of pending picture.
The embodiment of the present invention provides a kind of computer readable storage medium, and above computer readable storage medium storing program for executing is stored with one A either multiple program said ones or multiple programs can be performed by one or more processor, applied in terminal, be somebody's turn to do The method such as embodiment one and embodiment two is realized when program is executed by processor.
Specifically, the corresponding program instruction of a kind of image processing method in the present embodiment read by an electronic equipment or It is performed, includes the following steps:
When receiving the picture process instruction to pending picture, the pending picture is converted from RGB domains to YUV Domain, the pending picture are divided at least one color lump in the pending domain;
In the YUV domains, the corresponding at least one brightness value of at least one color lump is obtained;
When judging that the first color lump belongs to pending color lump, according to corresponding first brightness value of first color lump, meter Corresponding first weighted value of first color lump is calculated, first color lump is at least one color color lump in the block, First brightness value is the corresponding brightness value of the first color lump described at least one brightness value;
Noise reduction process is carried out to first color lump using first weighted value, to complete to the pending picture Processing procedure.
In an embodiment of the present invention, further, acquisition at least one color lump is corresponding at least one bright After angle value, before corresponding first brightness value according to first color lump, said one or multiple programs are above-mentioned One or more processor performs, and also realizes following steps:
Judge whether at least one brightness value belongs to default pending brightness value section successively;
When the first brightness value at least one brightness value belongs to the default pending brightness value section, judge Go out corresponding first color lump of first brightness value and belong to the pending color lump.
In an embodiment of the present invention, further, it is described according to corresponding first brightness value of first color lump, it calculates Go out corresponding first weighted value of first color lump, said one either by said one or multiple processors held by multiple programs Row implements following steps:
According to predetermined luminance value and weighted value relationship, corresponding second weighted value of first brightness value is determined;
Obtain corresponding first chromatic value of first color lump;
According to default chromatic value and weighted value relationship, the corresponding third weighted value of first chromatic value is determined;
According to second weighted value, the third weighted value and default weighted value calculation formula, described first is calculated Weighted value.
In an embodiment of the present invention, further, noise reduction is carried out to first color lump using first weighted value Processing, either multiple programs are performed said one by said one or multiple processors, implement following steps:
According to first weighted value and first chromatic value, corresponding the first new color of first color lump is calculated Angle value;
First chromatic value is adjusted using the first new chromatic value, is completed at the noise reduction to first color lump Reason.
In an embodiment of the present invention, further, corresponding pending picture is obtained according to the picture process instruction Later, either multiple programs are performed said one by said one or multiple processors, also realize following steps:
When judging that first color lump is not belonging to the pending color lump, first color lump is not carried out at noise reduction Reason.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of image processing method, which is characterized in that the method includes:
When receiving the picture process instruction to pending picture, the pending picture is converted from RGB domains to YUV domains, The pending picture is divided at least one color lump in the pending domain;
In the YUV domains, the corresponding at least one brightness value of at least one color lump is obtained;
When judging that the first color lump belongs to pending color lump, according to corresponding first brightness value of first color lump, calculate Corresponding first weighted value of first color lump, first color lump is at least one color color lump in the block, described First brightness value is the corresponding brightness value of the first color lump described at least one brightness value;
Noise reduction process is carried out to first color lump using first weighted value, to complete the processing to the pending picture Process.
2. according to the method described in claim 1, it is characterized in that, described obtain at least one color lump corresponding at least one After a brightness value, before corresponding first brightness value according to first color lump, calculate first color lump and correspond to The first weighted value before, the method further includes:
Judge whether at least one brightness value belongs to default pending brightness value section successively;
When the first brightness value at least one brightness value belongs to the default pending brightness value section, institute is judged It states corresponding first color lump of the first brightness value and belongs to the pending color lump.
It is 3. according to the method described in claim 2, it is characterized in that, described according to corresponding first brightness of first color lump Value, calculates corresponding first weighted value of first color lump, including:
According to predetermined luminance value and weighted value relationship, corresponding second weighted value of first brightness value is determined;
Obtain corresponding first chromatic value of first color lump;
According to default chromatic value and weighted value relationship, the corresponding third weighted value of first chromatic value is determined;
According to second weighted value, the third weighted value and default weighted value calculation formula, first weight is calculated Value.
4. according to the method described in claim 1, it is characterized in that, described utilize first weighted value to first color lump Noise reduction process is carried out, including:
According to first weighted value and first chromatic value, corresponding the first new coloration of first color lump is calculated Value;
First chromatic value is adjusted using the first new chromatic value, completes the noise reduction process to first color lump.
5. according to the method described in claim 1, it is characterized in that, described obtain corresponding treat according to the picture process instruction After handling picture, the method further includes:
When judging that first color lump is not belonging to the pending color lump, noise reduction process is not carried out to first color lump.
6. a kind of terminal, which is characterized in that the terminal includes:Processor, memory and communication bus, the processor are used for The operation program stored in the memory is performed, to realize following steps:
When receiving the picture process instruction to pending picture, the pending picture is converted from RGB domains to YUV domains, The pending picture is divided at least one color lump in the pending domain;In the YUV domains, described in acquisition at least The corresponding at least one brightness value of one color lump;When judging that the first color lump belongs to pending color lump, according to first color Corresponding first brightness value of block, calculates corresponding first weighted value of first color lump, first color lump for it is described at least One color color lump in the block, first brightness value are corresponding bright for the first color lump described at least one brightness value Angle value;Noise reduction process is carried out to first color lump using first weighted value, to complete the place to the pending picture Reason process.
7. terminal according to claim 6, which is characterized in that
The processor is additionally operable to judge whether at least one brightness value belongs to default pending brightness value section successively; When the first brightness value at least one brightness value belong to it is described preset pending brightness value section when, judge described the Corresponding first color lump of one brightness value belongs to the pending color lump.
8. terminal according to claim 7, which is characterized in that
The processor is additionally operable to according to predetermined luminance value and weighted value relationship, determines first brightness value corresponding Two weighted values;Obtain corresponding first chromatic value of first color lump;According to default chromatic value and weighted value relationship, institute is determined State the corresponding third weighted value of the first chromatic value;According to second weighted value, the third weighted value and default weighted value meter Formula is calculated, calculates first weighted value.
9. terminal according to claim 6, which is characterized in that
The processor is additionally operable to, according to first weighted value and first chromatic value, calculate first color lump pair The the first new chromatic value answered;First chromatic value is adjusted using the first new chromatic value, is completed to first color The noise reduction process of block;When judging that first color lump is not belonging to the pending color lump, first color lump is not carried out Noise reduction process.
10. a kind of computer readable storage medium, is stored thereon with computer program, applied to terminal, which is characterized in that the meter Such as claim 1-5 any one of them methods are realized when calculation machine program is executed by processor.
CN201711459820.7A 2017-12-28 2017-12-28 Picture processing method, terminal and computer readable storage medium Active CN108156433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459820.7A CN108156433B (en) 2017-12-28 2017-12-28 Picture processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459820.7A CN108156433B (en) 2017-12-28 2017-12-28 Picture processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108156433A true CN108156433A (en) 2018-06-12
CN108156433B CN108156433B (en) 2020-01-14

Family

ID=62462586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459820.7A Active CN108156433B (en) 2017-12-28 2017-12-28 Picture processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108156433B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521695A (en) * 2003-02-13 2004-08-18 ��ʽ���綫֥ Image processing apparatus for reducing noise from image
US20050074224A1 (en) * 2002-04-11 2005-04-07 Fuji Photo Film Co., Ltd. Apparatus for modifying reproduction frequency band of video signal
CN1756300A (en) * 2004-09-30 2006-04-05 晨星半导体股份有限公司 Method and device for restraining color noise
US20060284989A1 (en) * 2005-06-08 2006-12-21 Samsung Electronics Co., Ltd. Method and apparatus for interpolation of interlaced CMYG color format
CN103020908A (en) * 2012-12-05 2013-04-03 华为技术有限公司 Image denoising method and device
CN104123699A (en) * 2013-04-26 2014-10-29 富士通株式会社 Method of reducing image noise and device
CN104486607A (en) * 2014-12-31 2015-04-01 上海富瀚微电子股份有限公司 Method and device for image chromaticity noise reduction
CN105227805A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN105282529A (en) * 2015-10-22 2016-01-27 浙江宇视科技有限公司 RAW space based digital wide dynamic method and device
CN107452348A (en) * 2017-08-15 2017-12-08 广州视源电子科技股份有限公司 Method and system for reducing noise of display picture, computer device and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050074224A1 (en) * 2002-04-11 2005-04-07 Fuji Photo Film Co., Ltd. Apparatus for modifying reproduction frequency band of video signal
CN1521695A (en) * 2003-02-13 2004-08-18 ��ʽ���綫֥ Image processing apparatus for reducing noise from image
CN1756300A (en) * 2004-09-30 2006-04-05 晨星半导体股份有限公司 Method and device for restraining color noise
US20060284989A1 (en) * 2005-06-08 2006-12-21 Samsung Electronics Co., Ltd. Method and apparatus for interpolation of interlaced CMYG color format
CN103020908A (en) * 2012-12-05 2013-04-03 华为技术有限公司 Image denoising method and device
CN104123699A (en) * 2013-04-26 2014-10-29 富士通株式会社 Method of reducing image noise and device
CN104486607A (en) * 2014-12-31 2015-04-01 上海富瀚微电子股份有限公司 Method and device for image chromaticity noise reduction
CN105227805A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN105282529A (en) * 2015-10-22 2016-01-27 浙江宇视科技有限公司 RAW space based digital wide dynamic method and device
CN107452348A (en) * 2017-08-15 2017-12-08 广州视源电子科技股份有限公司 Method and system for reducing noise of display picture, computer device and readable storage medium

Also Published As

Publication number Publication date
CN108156433B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN107302663A (en) A kind of brightness of image method of adjustment, terminal and computer-readable recording medium
CN108280813A (en) A kind of image processing method, terminal and computer readable storage medium
CN108200347A (en) A kind of image processing method, terminal and computer readable storage medium
CN107465881A (en) A kind of dual camera focusing method, mobile terminal and computer-readable recording medium
CN107809583A (en) Take pictures processing method, mobile terminal and computer-readable recording medium
CN107705247A (en) A kind of method of adjustment of image saturation, terminal and storage medium
CN108198146A (en) A kind of noise-reduction method, equipment and computer readable storage medium
CN108230270A (en) A kind of noise-reduction method, terminal and computer readable storage medium
CN108182028A (en) A kind of control method, terminal and computer readable storage medium
CN109453523A (en) A kind of game picture display processing method, terminal and computer readable storage medium
CN110417999A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN107315515A (en) Color change method, terminal and the computer-readable recording medium of status bar icon
CN107506163A (en) Adjust method, terminal and the computer-readable recording medium of screen display
CN108810264A (en) A kind of brightness adjusting method and terminal, computer readable storage medium
CN108182664A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN108182668A (en) A kind of enlarged drawing processing method, terminal and computer readable storage medium
CN107241504A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN108320265A (en) A kind of image processing method, terminal and computer readable storage medium
CN107911620A (en) Definite method, terminal and the computer-readable recording medium of a kind of white balance
CN108053383A (en) A kind of noise-reduction method, equipment and computer readable storage medium
CN108121762A (en) A kind of image processing method, mobile terminal and computer storage media
CN107911778A (en) A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing
CN107610057A (en) A kind of depth map restorative procedure, terminal and computer-readable recording medium
CN107483823A (en) A kind of image processing method and terminal
CN107920242B (en) A kind of optimization method of automatic white balance, terminal and computer readable storage 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191219

Address after: No.59 Huju Road, Nanjing, Jiangsu

Applicant after: Jiangsu Mobile Information System Integration Co Ltd

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: Nubian Technologies Ltd.

GR01 Patent grant
GR01 Patent grant