[go: up one dir, main page]

CN109462727A - A kind of filter method of adjustment and mobile terminal - Google Patents

A kind of filter method of adjustment and mobile terminal Download PDF

Info

Publication number
CN109462727A
CN109462727A CN201811409891.0A CN201811409891A CN109462727A CN 109462727 A CN109462727 A CN 109462727A CN 201811409891 A CN201811409891 A CN 201811409891A CN 109462727 A CN109462727 A CN 109462727A
Authority
CN
China
Prior art keywords
color
pressing
filter
area
input
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
CN201811409891.0A
Other languages
Chinese (zh)
Other versions
CN109462727B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811409891.0A priority Critical patent/CN109462727B/en
Publication of CN109462727A publication Critical patent/CN109462727A/en
Application granted granted Critical
Publication of CN109462727B publication Critical patent/CN109462727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

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

Abstract

本发明提供了一种滤镜调整方法,方法包括:接收用户在预览图像上的按压输入;基于按压输入,确定色彩偏向和色彩饱和度;按照色彩偏向和色彩饱和度,调整目标区域的滤镜参数。能够在增加滤镜的适用性和灵活性,无需将预览图像再使用其他图像处理工具进行加工,操作简便。

The invention provides a filter adjustment method. The method includes: receiving a user's pressing input on a preview image; determining color bias and color saturation based on the pressing input; adjusting a filter in a target area according to the color bias and color saturation parameter. It can increase the applicability and flexibility of the filter, without the need to use other image processing tools to process the preview image, and the operation is simple.

Description

A kind of filter method of adjustment and mobile terminal
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of filter method of adjustment and mobile terminal.
Background technique
Currently, when mobile terminal user takes pictures, it is desirable to image is handled, be typically chosen in camera carry Some processing functions, such as filter, watermark, U.S. face function handle image.If still reached to not after these function treatments To expection, user then needs to be further processed image using image processing tool, this kind of mode operates consuming overlong time, and It is cumbersome.
In addition, institute in image taking software can only be selected since the filter algorithm that existing camera carries is fixed The filter of band, and cannot modify, therefore the adjusting of filtering effects can not be carried out according to the demand of user.
Summary of the invention
The embodiment of the present invention provides a kind of filter method of adjustment and mobile terminal, to solve in the prior art to image filters Adjust cumbersome problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of filter methods of adjustment, which comprises receive user pre- The pressing input look on image;It is inputted based on the pressing, determines color deviation and color saturation;It is biased to according to the color With the color saturation, the filter params of target area are adjusted
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: receiving module, For receiving pressing input of the user on preview image;First determining module determines color for inputting based on the pressing Deviation and color saturation;Module is adjusted, for adjusting target area according to color deviation and the color saturation Filter params.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the filter method of adjustment.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, and the step of the filter method of adjustment is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
Detailed description of the invention
Fig. 1 is one of the flow chart of filter method of adjustment provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of filter method of adjustment provided in an embodiment of the present invention;
Fig. 3 is the filter adjustment interface of filter method of adjustment provided in an embodiment of the present invention;
Fig. 4 is the three of the step flow chart of filter method of adjustment provided in an embodiment of the present invention;
Fig. 5 is one of the structural block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the hardware structural diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of filter method of adjustment provided in an embodiment of the present invention is shown.
Filter method of adjustment provided in an embodiment of the present invention the following steps are included:
Step 101: receiving pressing input of the user on preview image.
User executes the movement for opening camera, prepares to take pictures, and judge whether user enters customized filter mode, sentence Disconnected method can be whether monitoring user clicks some customized key.If so, into normal picture taking mode.
Under customized filter mode, camera obtains preview image, receives user and inputs to the pressing of preview image, presses Pressure input can for clicking operation, double click operation, the long press operation in somewhere etc. of preview image, the embodiment of the present invention to this not Make concrete restriction.
It should be noted that preview image can may be the image having been taken, Huo Zheyong for the image not shot The image that family voluntarily selects.
Step 102: based on pressing input, determining color deviation and color saturation.
According to pressing input, the color of the determining filter for needing to adjust is biased to and color saturation.
Such as: the color of filter is biased as partially red, partially blue, green etc. partially.It is color purity that color saturation is full.It is pure Degree is higher, and performance is distincter, and purity is lower, shows then dulller.
Step 103: according to color deviation and color saturation, adjusting the filter params of target area.
It is handled according to target area of the filter adjusted to preview image.Wherein, target area can be for pre- Look at image overall, or the regional area of preview image.
The filter of generation is customer satisfaction system filter, and increases the demand that the preview image after filter is more in line with user, User no longer needs to increase filter using image processing tool, and the filter generated is not limited to image taking application program and has Filter so that the filter of preview image is not single.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
Referring to Fig. 2, a kind of step flow chart of filter method of adjustment provided in an embodiment of the present invention is shown.
Filter method of adjustment provided in an embodiment of the present invention the following steps are included:
Step 201: receiving pressing input of the user on preview image.
User executes the movement for opening camera, prepares to take pictures, and judge whether user enters customized filter mode, sentence Disconnected method can be whether monitoring user clicks some customized key.If so, into normal picture taking mode.
Under customized filter mode, camera obtains preview image, receives user and inputs to the pressing of preview image, presses Pressure input can be clicking operation, double click operation, the long press operation etc. of the part to preview image, the embodiment of the present invention to this not Make concrete restriction.
It should be noted that preview image can may be the image having been taken, Huo Zheyong for the image not shot The image that family voluntarily selects.
Step 202: obtaining pressing area and the pressing duration of pressing input.
It determines that pressing inputs pressed pressing area, and determines the pressing duration to pressing area.Pass through pressing area Domain and pressing duration can determine color deviation and color saturation.
Step 203: the color that the color of pressing area is determined as filter is biased to.
User is biased to by the pressing area of pressing input to set the overall color of filter.
When user presses preview image, the color of pressing area is determined, if Fig. 3 is preview image, 301 are indicated The color of pressing area is green, and 3011 indicate clothes, and 302 indicate that the color of pressing area is red, and 3021 indicate lipstick, 303 indicate that the color of pressing area is blue, and 3031 indicate sofa.When user presses clothes 3011, due to clothes 3011 pairs of color is green, then the corresponding color in pressing area is green.When the color of pressing area is not solid color, Then determine the color as pressing area that color accounting is big in pressing area.The color that color is biased as filter is biased to, and is generated Filter be to press the corresponding color in part.
Step 204: according to compressing time, determining the color saturation in color of object channel.
By pressing duration, to set color saturation, the pressing more long then color saturation of duration is higher.
When user presses clothes 3011, then assert that user sets the color of filter as green, corresponding algorithm operating is " channel G of selected sensitive component ", while the time with this object of pressing is monitored, the time is longer, then green is that concentration is higher. Corresponding algorithm operating is " gain in the channel G of setting sensitive component is bigger ", and the ratio for setting gain is directly proportional with the time, Such as pressing 1s, then gain is 1 times of original gain, is pressed x seconds, then gain is x times of original gain, concurrently sets and most increases Beneficial multiple is not further added by then when being more than maximum gain multiple.
Using the adjustment multiple of the color to pressing area as the color saturation of filter, adjustment multiple is higher, and color is full It is denseer with spending.
Such as: color is biased as green, and color saturation is 2 times of green gray values.
It is inputted by pressing and determines color deviation and color saturation, without user using other image processing softwares to filter Mirror is configured, the use of easy to operate and more convenient user.
Step 205: all images region of preview image is determined as target area.
Alternatively, the selected image-region of the first input is determined as in the case where receiving the first input of user Target area.
The output intent option in preview image, the first option indicate that all images region of preview image is target area, the Two options indicate that the topography of preview image is target area, and user is after clicking the second option, to the part of preview image The first input is carried out, determines selected region according to the first input.
The step can choose all images or topography that target area is preview image, i.e., increases to preview image Add filter to be not restricted to increase filter to all images, increase the selection to topography, image procossing mode can be increased, And further beautifying picture.
Step 206: according to color deviation and color saturation, adjusting the filter params of target area.
Target area is handled according to filter adjusted.The filter of generation is customer satisfaction system filter, and is increased Preview image after filter is more in line with the demand of user, and user no longer needs to increase filter using image processing tool, and generates Filter be not limited to the filter that image taking application program has so that the filter of preview image is not single.
After the completion of adjusting to filter, system monitors user in real time whether to filter satisfaction, if it is not, can then continue to adjust The filter of preview image, and display is exported, so that whether user can be satisfied with real time inspection filter.
System saves the customized filter of active user, in order to subsequent use of taking pictures.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
Referring to Fig. 4, a kind of flow chart of filter method of adjustment provided in an embodiment of the present invention is shown.
Filter method of adjustment provided in an embodiment of the present invention the following steps are included:
Step 401: receiving pressing input of the user on preview image.
User executes the movement for opening camera, prepares to take pictures, and judge whether user enters customized filter mode, sentence Disconnected method can be whether monitoring user clicks some customized key.If so, into normal picture taking mode.
Under customized filter mode, camera obtains preview image, receives user and inputs to the pressing of preview image, presses Pressure input can be clicking operation, double click operation, the long press operation etc. of the part to preview image, the embodiment of the present invention to this not Make concrete restriction.
It should be noted that preview image can may be the image having been taken, Huo Zheyong for the image not shot The image that family voluntarily selects.
Step 402: obtaining pressing area and the pressing duration of pressing input.
It determines that pressing inputs pressed pressing area, and determines the pressing duration to pressing area.Pass through pressing area Domain and pressing duration can determine color deviation and color saturation.
The more long then color saturation of compressing time is higher.
Step 403: the color that the color of pressing area is determined as filter is biased to.
When user presses preview image, the color of pressing area is determined, if Fig. 3 is preview image, 301 are indicated The color of pressing area is green, and 3011 indicate clothes, and 302 indicate that the color of pressing area is red, and 3021 indicate lipstick, 303 indicate that the color of pressing area is blue, and 3031 indicate sofa.When user presses clothes 3011, due to clothes 3011 pairs of color is green, then the corresponding color in pressing area is green.When the color of pressing area is not solid color, Then determine the color as pressing area that color accounting is big in pressing area.The color that color is biased as filter is biased to, and is generated Filter be to press the corresponding color in part.
Step 404: according to compressing time, determining the white balance gains numerical value of the color of pressing area.
User is pressed by part to preview image, is biased to set the overall color of filter, by the time of pressing, Color saturation is biased to set this.
Such as: it is assumed that user has pressed the sofa 3031 in Fig. 3 screen lower right corner, since sofa 3031 is blue series, be then System thinks that the filter of user demand is also the effect embodiment of inclined blue series;I.e. color is biased as blue, while being pressed according to user Time, adjust blue white balance ratio.
The manifestation mode of white balance ratio be red sub-pixel white balance value and green sub-pixels white balance value ratio and The ratio of blue subpixels white balance value and green sub-pixels white balance value, after user selects blue series filter, then algorithm operating For the regulating object of the ratio of blue subpixels white balance value and green sub-pixels white balance value " selection " filter thus;Meanwhile Compressing time is converted into gain multiplying power in proportion: such as pressing 1s, then blue subpixels white balance value and green sub-pixels are white flat The ratio of weighing apparatus value be original scale, press x seconds, then the ratio of blue subpixels white balance value and green sub-pixels white balance value be X times of original scale.
Step 405: according to white balance gains numerical value, determining color saturation.
Using the adjustment multiple of the color to pressing area as the color saturation of filter, adjustment multiple is higher, and color is full It is denseer with spending.
It is inputted by pressing and determines color deviation and color saturation, without user using other image processing softwares to filter Mirror is configured, the use of easy to operate and more convenient user.
Step 406: all images region of preview image is determined as target area.
Alternatively, the selected image-region of the first input is determined as in the case where receiving the first input of user Target area.
Receive first input of the user to preview image, seat of the system according to the first available user pressing area of input Mark, while diagram technology is scratched using dual camera, obtain the profile of user pressing area object.Such as: as shown in figure 3, if user The sofa 303 in the preview image lower right corner is clicked, then can obtain the profile of sofa by scratching diagram technology.
The step can choose all images or topography that target area is preview image, i.e., increases to preview image Add filter to be not restricted to increase filter to all images, increase the selection to topography, image procossing mode can be increased, And further beautifying picture.
Step 407: according to color deviation and color saturation, adjusting the filter params of target area.
Target area is handled according to filter adjusted.The filter of generation is customer satisfaction system filter, and is increased Preview image after filter is more in line with the demand of user, and user no longer needs to increase filter using image processing tool, and generates Filter be not limited to the filter that image taking application program has so that the filter of preview image is not single.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
Referring to Fig. 5, a kind of structural block diagram of mobile terminal provided in an embodiment of the present invention is shown.
Mobile terminal provided in an embodiment of the present invention includes: receiving module 501, for receiving user on preview image Pressing input;First determining module 502 determines color deviation and color saturation for inputting based on the pressing;Adjust mould Block 503, for adjusting the filter params of target area according to color deviation and the color saturation.
Preferably, first determining module includes: that the first determining submodule is determined for being inputted based on the pressing The color of filter is biased to and the color saturation in color of object channel.
Preferably, described first determine that submodule includes: first acquisition unit, for obtaining the pressing of the pressing input Region and pressing duration;First determination unit, the color for the color of the pressing area to be determined as to filter are biased to;Second Determination unit, for determining the color saturation in color of object channel according to the compressing time.
Preferably, first determining module includes: acquisition submodule, for obtaining the pressing area of the pressing input With pressing duration;Second determines submodule, and the color for the color of the pressing area to be determined as to the filter is biased to;The Three determine submodule, for determining the white balance gains numerical value of the color of the pressing area according to the compressing time;4th Submodule is determined, for determining color saturation according to the white balance gains numerical value.
Preferably, the mobile terminal further include: the second determining module is used in the adjustment module according to the color It is biased to the color saturation, before the filter params for adjusting target area, by all images region of the preview image It is determined as target area;Alternatively, third determining module, in the case where receiving the first input of user, by described the The selected image-region of one input is determined as target area.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 and Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
Referring to a kind of hardware structural diagram of Fig. 6 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 600 includes but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, defeated Enter unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor The components such as 610 and power supply 611.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 610, for receiving pressing input of the user on preview image;It is inputted based on the pressing, determines color Coloured silk is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area are adjusted.
In embodiments of the present invention, it is inputted by receiving pressing of the user on preview image;It is inputted, is determined based on pressing Color is biased to and color saturation;According to color deviation and the color saturation, the filter params of target area, user are adjusted By to preview image interactive operation, the filtering effects of customized preview image can in the applicability for increasing filter and flexibly Property, it is processed it is not necessary that preview image is reused other image processing tools, it is easy to operate.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 600 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Mobile terminal 600 further includes at least one sensor 605, 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 6061, and proximity sensor can close when mobile terminal 600 is moved in one's ear Display panel 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071 Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area It manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with mobile terminal 600.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 600 or can be used in 600 He of mobile terminal Data are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it 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 610 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage Data in device 609 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Manage device, 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 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, and memory 609 is stored in On memory 609 and the computer program that can run on the processor 610, the computer program are executed by processor 610 Each process of the above-mentioned filter method of adjustment embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned filter method of adjustment embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magneticPerson's CD etc..
It should be noted that, in this document, term " including ", " include " or its any other variant be intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including There is also other identical elements in the process, method of the element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1.一种滤镜调整方法,应用于移动终端,其特征在于,所述方法包括:1. A filter adjustment method, applied to a mobile terminal, wherein the method comprises: 接收用户在预览图像上的按压输入;receiving a user's pressing input on the preview image; 基于所述按压输入,确定色彩偏向和色彩饱和度;determining color bias and color saturation based on the press input; 按照所述色彩偏向和所述色彩饱和度,调整目标区域的滤镜参数。According to the color bias and the color saturation, the filter parameters of the target area are adjusted. 2.根据权利要求1所述的方法,其特征在于,所述基于所述按压输入,确定色彩偏向和色彩饱和度,包括:2 . The method according to claim 1 , wherein the determining color bias and color saturation based on the pressing input comprises: 2 . 基于所述按压输入,确定滤镜的色彩偏向和目标颜色通道的色彩饱和度。Based on the press input, the color bias of the filter and the color saturation of the target color channel are determined. 3.根据权利要求2所述的方法,其特征在于,所述基于所述按压输入,确定滤镜的色彩偏向和目标颜色通道的色彩饱和度,包括:3. The method according to claim 2, wherein determining the color bias of the filter and the color saturation of the target color channel based on the pressing input, comprising: 获取所述按压输入的按压区域和按压时长;obtaining the pressing area and pressing duration of the pressing input; 将所述按压区域的颜色确定为滤镜的色彩偏向;determining the color of the pressed area as the color bias of the filter; 根据所述按压时间,确定目标颜色通道的色彩饱和度。According to the pressing time, the color saturation of the target color channel is determined. 4.根据权利要求1所述的方法,其特征在于,所述基于所述按压输入,确定色彩偏向和色彩饱和度,包括:4. The method according to claim 1, wherein the determining color bias and color saturation based on the pressing input comprises: 获取所述按压输入的按压区域和按压时长;obtaining the pressing area and pressing duration of the pressing input; 将所述按压区域的颜色确定为所述滤镜的色彩偏向;determining the color of the pressed area as the color bias of the filter; 根据所述按压时间,确定所述按压区域的颜色的白平衡增益数值;According to the pressing time, determine the white balance gain value of the color of the pressing area; 根据所述白平衡增益数值,确定色彩饱和度。Color saturation is determined according to the white balance gain value. 5.根据权利要求1所述的方法,其特征在于,所述按照所述色彩偏向和所述色彩饱和度,调整目标区域的滤镜参数之前,还包括:5. The method according to claim 1, wherein before adjusting the filter parameters of the target area according to the color bias and the color saturation, the method further comprises: 将所述预览图像的全部图像区域确定为目标区域;Determining the entire image area of the preview image as the target area; 或者,在接收到用户的第一输入的情况下,将所述第一输入所选取的图像区域确定为目标区域。Alternatively, when the first input from the user is received, the image area selected by the first input is determined as the target area. 6.一种移动终端,其特征在于,所述移动终端包括:6. A mobile terminal, wherein the mobile terminal comprises: 接收模块,用于接收用户在预览图像上的按压输入;a receiving module for receiving a user's pressing input on the preview image; 第一确定模块,用于基于所述按压输入,确定色彩偏向和色彩饱和度;a first determining module, configured to determine color bias and color saturation based on the pressing input; 调整模块,用于按照所述色彩偏向和所述色彩饱和度,调整目标区域的滤镜参数。The adjustment module is configured to adjust the filter parameters of the target area according to the color bias and the color saturation. 7.根据权利要求6所述的移动终端,其特征在于,所述第一确定模块包括:7. The mobile terminal according to claim 6, wherein the first determining module comprises: 第一确定子模块,用于基于所述按压输入,确定滤镜的色彩偏向和目标颜色通道的色彩饱和度。The first determination submodule is configured to determine the color bias of the filter and the color saturation of the target color channel based on the pressing input. 8.根据权利要求7所述的方法,其特征在于,所述第一确定子模块包括:8. The method according to claim 7, wherein the first determination submodule comprises: 第一获取单元,用于获取所述按压输入的按压区域和按压时长;a first acquiring unit, configured to acquire the pressing area and pressing duration of the pressing input; 第一确定单元,用于将所述按压区域的颜色确定为滤镜的色彩偏向;a first determining unit, configured to determine the color of the pressed area as the color bias of the filter; 第二确定单元,用于根据所述按压时间,确定目标颜色通道的色彩饱和度。The second determining unit is configured to determine the color saturation of the target color channel according to the pressing time. 9.根据权利要求6所述的移动终端,其特征在于,所述第一确定模块包括:9. The mobile terminal according to claim 6, wherein the first determining module comprises: 获取子模块,用于获取所述按压输入的按压区域和按压时长;an acquisition submodule for acquiring the pressing area and pressing duration of the pressing input; 第二确定子模块,用于将所述按压区域的颜色确定为所述滤镜的色彩偏向;a second determination submodule, configured to determine the color of the pressing area as the color bias of the filter; 第三确定子模块,用于根据所述按压时间,确定所述按压区域的颜色的白平衡增益数值;A third determination sub-module, configured to determine the white balance gain value of the color of the pressed area according to the pressing time; 第四确定子模块,用于根据所述白平衡增益数值,确定色彩饱和度。The fourth determination sub-module is configured to determine the color saturation according to the white balance gain value. 10.根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括:10. The mobile terminal according to claim 6, wherein the mobile terminal further comprises: 第二确定模块,用于在所述调整模块按照所述色彩偏向和所述色彩饱和度,调整目标区域的滤镜参数之前,将所述预览图像的全部图像区域确定为目标区域;a second determination module, configured to determine the entire image area of the preview image as the target area before the adjustment module adjusts the filter parameters of the target area according to the color bias and the color saturation; 或者,第三确定模块,用于在接收到用户的第一输入的情况下,将所述第一输入所选取的图像区域确定为目标区域。Alternatively, the third determining module is configured to, in the case of receiving the first input from the user, determine the image area selected by the first input as the target area. 11.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的滤镜调整方法的步骤。11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the filter adjustment method described in any one of requirements 1 to 5. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的滤镜调整方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the filter according to any one of claims 1 to 5 is implemented. The steps of the mirror adjustment method.
CN201811409891.0A 2018-11-23 2018-11-23 Filter adjusting method and mobile terminal Active CN109462727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811409891.0A CN109462727B (en) 2018-11-23 2018-11-23 Filter adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811409891.0A CN109462727B (en) 2018-11-23 2018-11-23 Filter adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109462727A true CN109462727A (en) 2019-03-12
CN109462727B CN109462727B (en) 2022-01-25

Family

ID=65611562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811409891.0A Active CN109462727B (en) 2018-11-23 2018-11-23 Filter adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109462727B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050050A (en) * 2019-12-30 2020-04-21 维沃移动通信有限公司 Filter adjusting method and electronic equipment
CN113986175A (en) * 2021-10-29 2022-01-28 北京光启元数字科技有限公司 Color selection method and device, electronic equipment and readable medium
CN114125285A (en) * 2021-11-18 2022-03-01 维沃移动通信有限公司 Shooting method and device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024624A1 (en) * 2006-07-25 2008-01-31 Fujifilm Corporation Photographing apparatus and exposure control method
CN101365065A (en) * 2007-08-09 2009-02-11 Hoya株式会社 camera device
US20090175500A1 (en) * 2008-01-07 2009-07-09 Victor Company Of Japan, Limited Object tracking apparatus
CN103533240A (en) * 2013-10-12 2014-01-22 深圳市中兴移动通信有限公司 Method and device for calibrating parameters in real time during photographing and photo post-processing
CN103777852A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Image obtaining method and device
CN104796594A (en) * 2014-01-16 2015-07-22 中兴通讯股份有限公司 Preview interface special effect real-time presenting method and terminal equipment
CN105141840A (en) * 2015-08-24 2015-12-09 联想(北京)有限公司 Information processing method and electronic device
CN105554364A (en) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN105872364A (en) * 2016-03-28 2016-08-17 广东欧珀移动通信有限公司 A method for adjusting camera parameters and a method and device for adjusting picture parameters
CN106354303A (en) * 2016-08-23 2017-01-25 维沃移动通信有限公司 Photographed method of mobile terminal and mobile terminal
CN106506945A (en) * 2016-11-02 2017-03-15 努比亚技术有限公司 A kind of control method and terminal
CN106657810A (en) * 2016-09-26 2017-05-10 维沃移动通信有限公司 Filter processing method and device for video image
CN106937049A (en) * 2017-03-09 2017-07-07 广东欧珀移动通信有限公司 The processing method of the portrait color based on the depth of field, processing unit and electronic installation
US20170302848A1 (en) * 2014-09-23 2017-10-19 Nubia Technology Co., Ltd. Photographing method, device and computer storage medium
CN107340909A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of image processing method, equipment and computer-readable recording medium
CN107948530A (en) * 2017-12-28 2018-04-20 努比亚技术有限公司 A kind of image processing method, terminal and computer-readable recording medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024624A1 (en) * 2006-07-25 2008-01-31 Fujifilm Corporation Photographing apparatus and exposure control method
CN101365065A (en) * 2007-08-09 2009-02-11 Hoya株式会社 camera device
US20090175500A1 (en) * 2008-01-07 2009-07-09 Victor Company Of Japan, Limited Object tracking apparatus
CN103777852A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Image obtaining method and device
CN103533240A (en) * 2013-10-12 2014-01-22 深圳市中兴移动通信有限公司 Method and device for calibrating parameters in real time during photographing and photo post-processing
CN104796594A (en) * 2014-01-16 2015-07-22 中兴通讯股份有限公司 Preview interface special effect real-time presenting method and terminal equipment
US20170302848A1 (en) * 2014-09-23 2017-10-19 Nubia Technology Co., Ltd. Photographing method, device and computer storage medium
CN105554364A (en) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN105141840A (en) * 2015-08-24 2015-12-09 联想(北京)有限公司 Information processing method and electronic device
CN105872364A (en) * 2016-03-28 2016-08-17 广东欧珀移动通信有限公司 A method for adjusting camera parameters and a method and device for adjusting picture parameters
CN106354303A (en) * 2016-08-23 2017-01-25 维沃移动通信有限公司 Photographed method of mobile terminal and mobile terminal
CN106657810A (en) * 2016-09-26 2017-05-10 维沃移动通信有限公司 Filter processing method and device for video image
CN106506945A (en) * 2016-11-02 2017-03-15 努比亚技术有限公司 A kind of control method and terminal
CN106937049A (en) * 2017-03-09 2017-07-07 广东欧珀移动通信有限公司 The processing method of the portrait color based on the depth of field, processing unit and electronic installation
CN107340909A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of image processing method, equipment and computer-readable recording medium
CN107948530A (en) * 2017-12-28 2018-04-20 努比亚技术有限公司 A kind of image processing method, terminal and computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050050A (en) * 2019-12-30 2020-04-21 维沃移动通信有限公司 Filter adjusting method and electronic equipment
CN113986175A (en) * 2021-10-29 2022-01-28 北京光启元数字科技有限公司 Color selection method and device, electronic equipment and readable medium
CN114125285A (en) * 2021-11-18 2022-03-01 维沃移动通信有限公司 Shooting method and device

Also Published As

Publication number Publication date
CN109462727B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN107580184B (en) A kind of image pickup method and mobile terminal
CN107665697B (en) A method for adjusting screen brightness and a mobile terminal
CN107580143B (en) A kind of display methods and mobile terminal
CN109688322A (en) A kind of method, device and mobile terminal generating high dynamic range images
CN109697494A (en) A kind of graphic code display methods and terminal device
CN109461117A (en) A kind of image processing method and mobile terminal
CN109361867A (en) A filter processing method and mobile terminal
CN109407921A (en) A kind of processing method and terminal device of application program
CN109710349A (en) Screen capture method and mobile terminal
CN109343788A (en) A kind of operation control method of mobile terminal and mobile terminal
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN109558046A (en) A kind of information display method and terminal device
CN109117240A (en) A kind of method of controlling operation thereof and mobile terminal
CN109462727A (en) A kind of filter method of adjustment and mobile terminal
CN109819166A (en) An image processing method and electronic device
CN109448069A (en) A kind of template generation method and mobile terminal
CN109727212A (en) An image processing method and mobile terminal
CN109286720A (en) Home screen selection method and device for multi-screen mobile terminal
CN109819188A (en) Video processing method and terminal device
CN109729280A (en) An image processing method and mobile terminal
CN109814974A (en) Application program interface adjustment method and mobile terminal
CN110099170B (en) Picture deleting method and mobile terminal
CN109445898A (en) A kind of application icon generation method and terminal device
CN110045889A (en) A kind of display methods and mobile terminal
CN109348366A (en) A method and mobile terminal for realizing volume adjustment using electrical parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant