Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal, however, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 2 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 2 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for illustrating
Part, can alternatively implement more or less of component, will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module, mobile communication module, nothing
At least one of line the Internet module, short range communication module and location information module.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus
Or the view data of video is processed.Picture frame after process may be displayed on display module 151.Jing cameras 121 are processed
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or carry out sending out via wireless communication unit 110
Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so
Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can
The form output of mobile communication base station is sent to via mobile communication module.Microphone 122 can implement various types of noises
Eliminate (or suppression) algorithm to eliminate noise or the interference that (or suppression) produces during reception and transmission audio signal.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant slide.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome,
Touch pad (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, shake
Bar etc..Especially, when touch pad is superimposed upon in the form of layer on display module 151, touch-screen can be formed, user can be with
Operated with various gestures on the touchscreen, for example, user can be slided on the touch platen edge of terminal in the present invention
Dynamic operation.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape
State), the presence or absence of contact (that is, touch input), the mobile terminal of the position of mobile terminal 1 00, user for mobile terminal 1 00
100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of slide or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be with
Sense the sliding-type phone to open or close.In addition, sensing unit 140 can detect whether power subsystem 190 provides electricity
Whether power or interface unit 170 couple with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, 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..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for receive from
The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00
One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through it by electricity
Power from base provide to mobile terminal 1 00 path or can serve as allow from base be input into various command signals pass through its
It is transferred to the path of mobile terminal.Can serve as recognizing that mobile terminal is from the various command signals or electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).
Output unit 150 can include display module 151, dio Output Modules 152, alarm modules 153 etc..
Display module 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display module 151 can show and converse or other communicate (for example, text messaging, multimedia files
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display module 151 can show the image of capture and/or the image of reception, illustrate video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when the display module 151 and touch pad touch-screen with formation superposed on one another in the form of layer, display module
151 can serve as input unit and output device.Display module 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 1 00 can include two or more display modules (or other display devices), for example, move
Dynamic terminal can include outside display module (not shown) and internal display module (not shown).Touch-screen can be used for detection and touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm modules 153 can provide output so that event is notified to mobile terminal 1 00.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm modules
153 can in a different manner provide output with the generation of notification event.For example, alarm modules 153 can be in the form of vibrating
Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm mould
Block 153 can provide tactile output (that is, vibrating) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm modules 153
The output of the generation of notification event can be provided via display module 151 or dio Output Modules 152.
Memory 160 can store software program for the process and control slide performed by controller 180 etc., or
Person can temporarily store own Jing outputs or the data (for example, telephone directory, message, still image, video etc.) that will be exported.
And, memory 160 can be storing the vibration of various modes and audio signal with regard to exporting when touching and being applied to touch-screen
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection
The network storage device cooperation of 160 store function.
The overall slide of the generally control mobile terminal of controller 180.For example, controller 180 perform with voice call,
The related control of data communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback)
The multi-media module 181 of multi-medium data, multi-media module 181 can be constructed in controller 180, or be so structured that with
Controller 180 is separated.Controller 180 can with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or
Picture draws input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides slide
Appropriate electric power needed for each element and component.
Various embodiments described herein can be with using such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
Implementing, in some cases, such embodiment can be implemented at least one in electronic unit in controller 180.
For software is implemented, the embodiment of such as process or function can be with the list for allowing to perform at least one function or slide
Only software module is implementing.Software code can be by software application (or the journey write with any appropriate programming language
Sequence) implementing, software code can be stored in memory 160 and be performed by controller 180.
The electrical structure of the camera 121 shown in Fig. 2 may refer to shown in Fig. 3, wherein, the electrical structure of camera 121 includes
But the structure provided in the present embodiment is provided.Phtographic lens 1211 is by for forming multiple optical lens structures of shot object image
Into being single-focus lens or zoom lens.Phtographic lens 1211 can be in optical axis direction under the control of lens driver 1221
Upper movement, lens driver 1221 controls phtographic lens 1211 according to the control signal from lens driving control circuit 1222
Focal position, in the case of zoom lens, also can control focal length.Lens driving control circuit 1222 is according to from micro-
The control command of type computer 1217 carries out the drive control of lens driver 1221.
On the optical axis of phtographic lens 1211, it is configured near the position of shot object image that formed by phtographic lens 1211 and takes the photograph
Element 1212.Imaging apparatus 1212 is used to imaging shot object image and obtaining image data.On imaging apparatus 1212
Two dimension and it is arranged in a matrix the photodiode for constituting each pixel.Each photodiode produces photoelectricity corresponding with light income
Switching current, the opto-electronic conversion electric current carries out charge accumulation by the capacitor being connected with each photodiode.The front table of each pixel
Face is configured with the RGB colour filters of Bayer arrangement.
Imaging apparatus 1212 is connected with imaging circuit 1213, and the imaging circuit 1213 carries out electric charge in imaging apparatus 1212
Accumulation control and picture signal read control, and the picture signal (analog picture signal) to reading reduces resetting the laggard traveling wave of noise
Shape shaping, and then gain raising etc. is carried out to become appropriate signal level.
Imaging circuit 1213 is connected with A/D converter 1214, and the A/D converter 1214 carries out modulus to analog picture signal
Conversion, to the output digital image signal of bus 1227 (hereinafter referred to as view data).
Bus 1227 is the inside reading for being transmitted in camera or the transmitting path of the various data for generating.In bus
1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer
Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, SDRAM)
1218th, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display
Device) driver 1220.
Image processor 1215 pairs carries out OB and subtracts each other process, white balance based on the view data of the output of imaging apparatus 1212
Adjustment, color matrix computing, gamma conversion, colour difference signal process, noise removal process, while change process, edge treated etc. are each
Plant image procossing.Jpeg processor 1216 when by Imagery Data Recording in recording medium 1225, according to JPEG compression mode pressure
Contract the view data read from SDRAM1218.Additionally, jpeg processor 1216 carries out JPEG to carry out image reproducing to show
The decompression of view data.When being decompressed, file of the record in recording medium 1225 is read, in jpeg processor 1216
In implement after decompression, the view data of decompression is temporarily stored in SDRAM1218 and is carried out on LCD1226
Show.In addition, in the present embodiment, as compression of images decompression mode JPEG modes are used, but Compress softwares
Contracting mode not limited to this, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 1217 plays the function as the overall control unit of the camera, is uniformly controlled the various process of camera
Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but is not limited to physical button or virtual key, and the entity or virtual key can be electricity
Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button,
The operational controls such as the various load buttons such as large buttons and various enter keys, detect the mode of operation of these operational controls,.
Testing result is exported to microcomputer 1217.Additionally, the front surface in the LCD1226 as display is provided with
Touch panel, detects the touch location of user, and the touch location is exported to microcomputer 1217.Microcomputer 1217
According to the testing result of the operating position from operating unit 1223, various process sequences corresponding with the operation of user are performed.
Flash memory 1224 stores the program for performing the various process sequences of microcomputer 1217.Microcomputer 1217
The overall control of camera is carried out according to the program.Additionally, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217
Adjusted value is read, according to the adjusted value control of camera is carried out.
SDRAM1218 is can the volatile memory rewritten of electricity for carry out temporary transient storage to view data etc..
SDRAM1218 temporarily storages are from the view data of the output of A/D converter 1214 and in image processor 1215, jpeg processor
View data after being processed in 1216 grades.
Memory interface 1219 is connected with recording medium 1225, enters to be about to view data and the text being attached in view data
The first-class data write recording medium 1225 of part and the control read from recording medium 1225.Recording medium 1225 for example, can
The recording medium such as memory card of disassembled and assembled freely on camera main-body, but not limited to this, or it is built in camera main-body
In hard disk etc..
Lcd driver 1220 is connected with LCD1226, and the view data after being processed by image processor 1215 is stored in
SDRAM1218, when needing to show, reads the view data of SDRAM1218 storages and shows on LCD1226, or, at JPEG
The compressed view data of reason device 1216 is stored in SDRAM1218, and when needing to show, jpeg processor 1216 reads
The compressed view data of SDRAM1218, then decompressed, the view data after decompression is carried out by LCD1226
Show.
LCD1226 is configured in the back side of camera main-body to carry out image and shows.But not limited to this, it would however also be possible to employ organic EL
Etc. various display floaters (LCD1226).
Based on above-mentioned mobile terminal hardware configuration and the electrical structure schematic diagram of camera, propose that masking-out of the present invention processes control
Device processed, method and terminal.
It is described in detail below by way of specific embodiment.
First embodiment
Shown in Figure 4, the present embodiment provides a kind of masking-out process control method, including:
S401:Obtain and show the picture that masking-out set and pending masking-out are processed.
Wherein, at least one of each masking-out of masking-out set comprising itself offer, and masking-out set masking-out is provided with pass
Connection masking-out.The association masking-out of a masking-out is in the present embodiment:Other have the application offer of masking-out function in terminal system
In masking-out, at least one masking-out of default correlation rule is met compared with the masking-out.
It can be various third-party applications that other have the application of masking-out function in system in the present embodiment, such as U.S. figure is elegant
Show, changeable evil spirit figure, plays the application that figure, PS etc., or system are carried, such as camera.
It should be appreciated that can first obtain masking-out set in the present embodiment, it is also possible to first obtain pending masking-out and process
Picture, can also simultaneously obtain the picture that masking-out set and pending masking-out are processed, specifically, developer can be according to tool
The application scenarios of body are flexibly arranged.In the present embodiment, at least one of masking-out set masking-out is provided with association masking-out, and when one
When masking-out has association masking-out, its association masking-out is at least one, for example, it is also possible to be 2 or 3 etc..
Furthermore, it is necessary to explanation, the mode of the picture that pending masking-out is processed is obtained in the present embodiment various, for example
At least one of following acquisition modes can be included:
Call the camera applications in terminal system to be shot, pending masking-out is obtained in the picture obtained from shooting and is processed
Picture;
From the picture that network side download pictures are processed as pending masking-out;
The specified location of specified location or external memory storage from terminal local reads picture and processes as pending masking-out
Picture.
Wherein, when calling the camera applications in terminal system to be shot, obtain pending in the picture obtained from shooting
When the picture of masking-out process, its mode for obtaining the picture that pending masking-out is processed also has various, for example, it may be only clapping
One is taken the photograph, the picture that the pictures are processed as pending masking-out;Can also be and shoot multiple, according to the selection instruction of user
Or system calculates the corresponding image parameter of picture automatically so that it is determined that the picture that processes as pending masking-out of a pictures.
This, it should be noted that calculating the corresponding image parameter of picture automatically according to system so that it is determined that the figure of pending masking-out process
Piece, can calculate per pictures corresponding average brightness, and then system automatically selects brightness in the plurality of pictures of shooting and puts down
The picture that the maximum picture of average is processed as pending masking-out, wherein it is possible to each pixel in by calculating picture
After brightness value, then to the brightness value averaged of all of pixel in picture so as to obtaining the average brightness of picture.
S402:Select corresponding masking-out to carry out picture masking-out process from masking-out set according to masking-out selection instruction to obtain
Masking-out treatment effect figure, and when selected masking-out has association masking-out, process is carried out to picture by association masking-out and is obtained
Association masking-out treatment effect figure.
S403:The masking-out treatment effect figure for obtaining is shown with masking-out treatment effect figure is associated according to default display rule
Show.
It should be appreciated that the present embodiment S403 is that have association masking-out in selected masking-out, and by associating masking-out
Picture is carried out process obtain associate masking-out treatment effect figure on the premise of, just by the masking-out treatment effect figure for obtaining with associate illiteracy
Version treatment effect figure is shown according to default display rule.
The masking-out type that correlation rule in the present embodiment includes but is not limited to two masking-outs is identical.It should be appreciated that
Type identical masking-out, generic name is identical, now can judge whether masking-out type is identical by title, but for other
Situation, can pass through obtain masking-out type be judged in itself.However, it is to be understood that the association rule in the present embodiment
Then except according in addition to masking-out type association, position that can be to be arranged in each application according to the effect of each masking-out and each masking-out
Put and be associated, also support User Defined association.
Furthermore, it is necessary to explanation be when a masking-out has association masking-out, the masking-out associate as it simultaneously masking-out it
Association masking-out.
Illustrate so that the camera system that terminal is carried and the U.S. figure that third party downloads are elegant as an example, it is assumed that user is from camera
Masking-out set in select masking-out M to carry out masking-out process to a certain picture, and the association masking-out of its masking-out M is the elegant illiteracy of U.S. figure
Masking-out m in version set, when masking-out M carries out masking-out process to the picture masking-out treatment effect figure M is obtained1When, its association masking-out m
Also process can be carried out to the picture to obtain associating masking-out treatment effect figure m1If user selects from the elegant masking-out set of U.S. figure
Masking-out m carries out masking-out process to the picture, then now, masking-out M in the masking-out set of camera is just the masking-out collection of U.S. figure show show
The association masking-out of masking-out m in conjunction, when masking-out m carries out mask process to the picture masking-out treatment effect figure m is obtained1When, its pass
Connection masking-out M also can carry out process to the picture and obtain associating masking-out treatment effect figure M1。
Therefore, developer can arrange a set in system, and the masking-out of all of same type is set to mutually
For association.
Here, in addition it is also necessary to which the default display rule in the present embodiment is illustrated, by the masking-out treatment effect figure for obtaining
Show that rule carries out display and includes according to default with masking-out treatment effect figure is associated:
First masking-out treatment effect figure is shown in display window, when receiving switching command, then will be associated at masking-out
Reason design sketch is shown in display window;
Or,
Masking-out treatment effect figure is shown in display window simultaneously with masking-out treatment effect figure is associated.
For example, first masking-out treatment effect figure can be shown in display window, when receiving display window upwards or
During the operational order of person's slide downward, association masking-out treatment effect figure is shown in display window, it should be understood that, specifically
Switching command be that the developer how to trigger can flexibly be arranged.
Wherein, by masking-out treatment effect figure with associate masking-out treatment effect figure while carrying out display in display window and can be
Masking-out treatment effect figure is displayed side by side in display window simultaneously with masking-out treatment effect figure is associated, or masking-out treatment effect
Figure with associate masking-out treatment effect figure and show in display window point primary and secondary.
In the present embodiment, other applications with masking-out function in terminal system include:Camera applications and/or at least one
Third party's masking-out application of function.That is to say, it can be camera applications that other have the application of masking-out function in terminal system, or
It is at least one third party's masking-out application of function, or while should including camera applications and at least one third party's masking-out function
With.
For example, if carrying camera in terminal, and including using A, using B and apply C, wherein, camera, using A, application
B and be the application with masking-out function using C, user selects certain masking-out to carry out process to picture to be covered on using A
Version treatment effect figure, and the masking-out has association masking-out, then the illiteracy that the association masking-out of the masking-out can be provided only in camera applications
In version set, or there is the association masking-out at least one the provided masking-out set of application using B and using in C, or
The association masking-out of the masking-out is all provided in camera applications, the masking-out set provided respectively using B and using C.It should be appreciated that
In some cases, when the association masking-out at least two of a certain masking-out, in the illiteracy that same other mask applications are provided
In version set, there may be at least two association masking-outs being associated with the masking-out.
The masking-out process control method provided by the present embodiment so that user is by a certain masking-out pair of a certain masking-out application
When picture carries out process and obtains masking-out treatment effect figure, also simultaneously the picture can be processed by the association masking-out of the masking-out
Obtain associating masking-out treatment effect figure, therefore operation can be processed by a masking-out in a masking-out application, obtaining itself should
Masking-out treatment effect figure and the design sketch of other masking-out applications with association masking-out, simplify masking-out processing procedure,
It is easy to various association masking-out treatment effect figures of the user directly in one application to obtaining to be compared selection, allows user
Obtain more preferable operating experience.
Second embodiment
For the ease of being further understood by the present invention, the present embodiment also provides a kind of masking-out process control method, at this
In embodiment, the application with masking-out function in terminal system is camera applications and applies A, wherein, it is arbitrarily have using A
The third-party application of masking-out function, specific operating process is shown in Figure 5, including:
S501:User shows illiteracy after using the picture that pending masking-out is processed is selected on A, below the interface using A
Version option.
It should be appreciated that in the present embodiment, user selectes the picture of pending masking-out process can be:By applying A
Camera is called, after performing shooting operation, backstage preserves the picture for shooting picture and the picture being processed as pending masking-out;Or
By accessing the picture library in terminal using A, the picture for selecting picture to process as pending masking-out in picture library.
S502:Corresponding masking-out x is chosen from the masking-out set using A according to masking-out selection instruction.
S503:Accordingly show the masking-out treatment effect figure that the picture is processed through masking-out x on the interface using A.
In the present embodiment, masking-out selection instruction can be that user can click directly on the masking-out shown using A interfaces lower section
Option is issued, and the masking-out treatment effect figure processed through masking-out x is then shown on the interface using A;In addition, user
Obtain corresponding masking-out treatment effect figure to select different masking-outs 1 by horizontally slipping on the interface using A
2, specifically may refer to shown in Fig. 6, wherein " star " number represents that the masking-out is selected.For example, if user on the interface using A to
Right slip, then the masking-out 1 that user selects also to accordingly sliding to the right, so using the masking-out treatment effect shown on the interface of A
Fig. 2 can switch to the masking-out treatment effect Fig. 2 corresponding to the masking-out 1 after sliding, and specifically may refer to shown in Fig. 7.
Masking-out x chosen in the present embodiment S502 has association masking-out, wherein, the association masking-out of masking-out x is:Terminal system
Other have in the masking-out of application offer of masking-out function in system, and at least one of default correlation rule is met compared with the masking-out
Masking-out.So, in the present embodiment, the association masking-out of masking-out x is and the camera applications institute in the masking-out that camera applications are provided
At least one association masking-out of masking-out x, for ease of understanding, the illiteracy for being provided with camera applications below are provided in the masking-out of offer
Illustrate as a example by the association masking-out that there is masking-out x in version, wherein association of masking-out x in the masking-out that camera applications are provided
Masking-out is masking-out y.
Because the masking-out chosen in S502 has association masking-out in camera applications, terminal backstage can be answered using camera
Association masking-out with carries out process to the picture that S502 chooses and obtains associating masking-out treatment effect figure.
S504:Association masking-out y in camera applications carries out process to the picture chosen and obtains associating masking-out treatment effect figure.
It should be appreciated that in the present embodiment, the order of S503 and S504 can be exchanged.
S505:When receiving switching command, association masking-out treatment effect figure is shown in display window.
Receiving switching command in the present embodiment S505 is:Receive the operation that display window upwardly or downwardly slides to refer to
Order, specifically may refer to shown in Fig. 8, when the operational order for upwardly or downwardly sliding is received, using the masking-out shown in A
Treatment effect figure can switch to association masking-out treatment effect figure.
It should be appreciated that the masking-out treatment effect Fig. 2 in the present embodiment with associate masking-out treatment effect Fig. 3 can with
Display window shows, that is to say when switching command is received simultaneously, masking-out treatment effect Fig. 2 with associate masking-out treatment effect figure
3 can be displayed side by side or a point primary and secondary shows in display window.When masking-out treatment effect Fig. 2 associates masking-out treatment effect figure with it
3 when display window is displayed side by side, and may refer to shown in Fig. 9 and Figure 10, processes when masking-out treatment effect Fig. 2 associates masking-out with it
Effect Fig. 3 may refer to shown in Figure 11 when display window point primary and secondary shows.
In addition, it should be noted that when a masking-out has multiple association masking-outs, through the masking-out illiteracy for obtaining is processed
Version treatment effect figure there is also multiple association masking-out treatment effect figures, now can be in the masking-out treatment effect figure and its multiple pass
In connection masking-out treatment effect figure, arbitrarily choose at least two pictures and be displayed side by side in display window, or the masking-out is processed into effect
Fruit figure chooses any at least pictures in its multiple association masking-out treatment effect figure as secondary display as main display picture
Picture shows in display window point primary and secondary, it should be appreciated that in the present embodiment, masking-out treatment effect figure is associated at masking-out with it
Reason design sketch can flexibly be arranged in the specific display location of display window and the size for showing by developer.
In addition it is also necessary to illustrate, the correlation rule in the present embodiment includes that the masking-out type of two masking-outs is identical, should
When being understood by, type identical masking-out, generic name is identical, and masking-out type whether phase now can be judged by title
Together, but for other situations, it is necessary to which the type for obtaining masking-out is judged in itself.
It should be appreciated that when a masking-out has association masking-out, the masking-out associates the association of masking-out as it simultaneously
Masking-out.For example, in the present embodiment when when using selecting masking-out x that masking-out process is carried out to picture on A, the association of masking-out x is covered
Version is masking-out y in camera applications, when selecting masking-out y that masking-out process is carried out to picture in camera applications, using the illiteracy in A
Version x can also that is to say that masking-out x in the present embodiment has association masking-out y, then masking-out x as the association masking-out of masking-out y
Simultaneously also can be used as the association masking-out of masking-out y.Therefore, for the ease of the operation of user, developer can be arranged in system
One set, the masking-out of all of same type is set to associate each other, and in the present embodiment, developer can be just
One set is set in system, is set to masking-out x and masking-out y in this set to associate each other.
It should be understood that.In the present embodiment, masking-out x chosen in using A can be the masking-out set that provides using A
In any one masking-out.
By the masking-out process control method of the present embodiment offer, user is by selecting a certain answering with masking-out function
When masking-out with carries out process to picture and obtains masking-out treatment effect figure, the association masking-out of the masking-out also to the picture at
Reason obtains associating masking-out treatment effect figure, it is possible to show that rule is shown on a terminal screen according to default, so as to user
Processing operation by a masking-out can obtain various masking-out treatment effect figures, also easily facilitate user in masking-out treatment effect figure
Contrasted so as to select most favorite picture and its association masking-out treatment effect figure between.
3rd embodiment
Shown in Figure 12, the present embodiment provides a kind of masking-out processing control apparatus, including data obtaining module 1101, covers
Version processing module 1102 and display control module 1103, wherein, data obtaining module 1101 is used to obtaining and showing masking-out set
And the picture that pending masking-out is processed, each masking-out that masking-out set is provided comprising masking-out processing control apparatus;Masking-out set
At least one of masking-out be provided with association masking-out;The association masking-out of one masking-out is:Other have masking-out function in terminal system
The masking-out that provides of application in, at least one masking-out of default correlation rule is met compared with the masking-out;Masking-out processing module
1102 obtain masking-out for selecting corresponding masking-out that masking-out process is carried out to picture from masking-out set according to masking-out selection instruction
Treatment effect figure, and when selected masking-out has association masking-out, process is carried out to picture by association masking-out and is associated
Masking-out treatment effect figure;Display control module 1103 be used for by the masking-out treatment effect figure for obtaining with associate masking-out treatment effect figure
Shown according to default display rule.
It should be appreciated that the data obtaining module 1101 in the present embodiment can first obtain masking-out set, it is also possible to first
The picture that pending masking-out is processed is obtained, the picture that masking-out set and pending masking-out are processed can also be simultaneously obtained, specifically,
Developer can flexibly be arranged according to specific application scenarios.In the present embodiment, at least one of masking-out set masking-out sets
Relevant masking-out, and when a masking-out has association masking-out, its association masking-out is at least one, for example, it is also possible to for 2 or
Person 3 etc..
Data obtaining module 1101 in the present embodiment includes but is not limited to camera call unit, download unit and reads single
At least one of unit, wherein, camera call unit is used to call the camera applications in terminal system to be shot, from shooting
To picture in obtain and pending cover the special picture for processing;Download unit is used to cover special as pending from network side download pictures
The picture of process;Reading unit is used to read picture conduct from the specified location of terminal local or the specified location of external memory storage
It is pending to cover the special picture for processing.
Wherein, when data obtaining module 1101 includes camera call unit, camera call unit obtains pending masking-out
The mode of the picture of process also has various, for example, it may be only shooting one, the pictures is processed as pending masking-out
Picture;Can also be shooting multiple, according to the selection instruction or system of user calculate automatically the corresponding image parameter of picture from
And determine the picture that a pictures are processed as pending masking-out.Here, it should be noted that camera call unit is according to system
Automatically the corresponding image parameter of picture is calculated so that it is determined that the picture of pending masking-out process, can calculate corresponding per pictures
Average brightness, then system automatically select in the plurality of pictures of shooting the maximum picture of average brightness as pending illiteracy
The picture that version is processed, wherein it is possible in by calculating picture after the brightness value of each pixel, then to all of picture in picture
The brightness value averaged of vegetarian refreshments is so as to obtaining the average brightness of picture.
It should be appreciated that masking-out processing module 1102 is right from masking-out set according to masking-out selection instruction in the present embodiment
Answer selected masking-out have association masking-out when, the ability of display control module 1103 by the masking-out treatment effect figure for obtaining with associate illiteracy
Version treatment effect figure is shown according to default display rule.
In the present embodiment, the association masking-out of a masking-out is:Other applications with masking-out function in terminal system are provided
Masking-out in, at least one masking-out of default correlation rule is met compared with the masking-out.Wherein, other have illiteracy in terminal system
The application of version function includes:Camera applications and/or at least one third party's masking-out application of function.That is to say, in terminal system its
It can be camera applications that he has the application of masking-out function, or at least one third party's masking-out application of function, or together
When include camera applications and at least one third party's masking-out application of function.
For example, if carrying camera in terminal, and including using A, using B and apply C, wherein, camera, using A, application
B and be all the application with masking-out function using C.When user selects certain masking-out to carry out processing to picture in camera applications
During to masking-out treatment effect figure, the association masking-out of the masking-out can carried using A, using B and using at least one application in C
For masking-out set in.It should be appreciated that in some cases, when the association masking-out at least two of a certain masking-out,
In the masking-out set that same other mask applications are provided, there may be at least two associations being associated with the masking-out and cover
Version.
It should be noted that the masking-out type that the correlation rule in the present embodiment includes but is not limited to two masking-outs is identical.
It should be appreciated that type identical masking-out, generic name is identical, and masking-out type whether phase now can be judged by title
Together, but for other situations, the type that can pass through to obtain masking-out is judged in itself.However, it is to be understood that this enforcement
Correlation rule in example, can be respectively should except according in addition to masking-out type association according to the effect of each masking-out and each masking-out
It is associated with the position of middle setting, also supports User Defined association.
Furthermore, it is necessary to explanation be when a masking-out has association masking-out, the masking-out associate as it simultaneously masking-out it
Association masking-out.Therefore, developer can arrange a set in system, and the masking-out of all of same type is set to mutually
For association.
In the present embodiment, display control module 1103 by the masking-out treatment effect figure for obtaining with associate masking-out treatment effect figure
Shown according to default display rule, wherein showing that rule is included but is not limited to:
First masking-out treatment effect figure is shown in display window, when receiving switching command, then will be associated at masking-out
Reason design sketch is shown in display window;
Or,
Masking-out treatment effect figure is shown in display window simultaneously with masking-out treatment effect figure is associated.
For example, display control module 1103 can control first to be shown masking-out treatment effect figure in display window, when
When receiving the operational order that display window upwardly or downwardly slides, association masking-out treatment effect figure is carried out in display window
Show, it should be understood that, specific switching command is that the developer how to trigger can flexibly be arranged.
Wherein, it is that masking-out treatment effect figure is carried out in display window simultaneously with masking-out treatment effect figure is associated when rule is shown
It is specific to show that rule for masking-out treatment effect figure and associate masking-out treatment effect figure while in display window simultaneously during display
Row shows, or masking-out treatment effect figure shows with masking-out treatment effect figure is associated in display window point primary and secondary.
Here, it should be noted that the data obtaining module 1101 in the present embodiment, masking-out processing module 1102 and display
The function of control module 1103 can pass through the processor or controller realization in terminal, realize the software of above-mentioned functions module
Code can be stored and performed in memory and by processor or controller.
Based on the masking-out processing control apparatus that the present embodiment is provided, the present embodiment also provides a kind of terminal, referring to Figure 13 institutes
Show, including any one above-mentioned masking-out processing control apparatus 1200, it should be appreciated that the terminal in the present embodiment can be
Various smart mobile phones, panel computer, notebook computer etc..
The masking-out processing control apparatus provided by the present embodiment and terminal, are allow user to pass through a masking-out and process behaviour
Make, obtain the masking-out treatment effect figure of itself application and the design sketch of other masking-out applications with association masking-out, improve
Masking-out treatment effeciency, is easy to various association masking-out treatment effect figures of the user directly in one application to obtaining to be compared again
Select, improve the satisfaction of Consumer's Experience.
Fourth embodiment
In order to be better understood from the present invention, present invention also offers a kind of masking-out processing control apparatus, including acquisition of information
Module 1101, masking-out processing module 1102 and display control module 1103, wherein data obtaining module 1101 include that camera is adjusted
With unit 01, download unit 02 and reading unit 03, specifically may refer to shown in Figure 14.
Wherein, data obtaining module 1101 is used for the picture for obtaining and showing masking-out set and the process of pending masking-out,
Each masking-out that masking-out set is provided comprising masking-out processing control apparatus;At least one of masking-out set masking-out is provided with association and covers
Version;The association masking-out of one masking-out is:Other have in the masking-out of application offer of masking-out function, with the masking-out in terminal system
Compare at least one masking-out for meeting default correlation rule;Masking-out processing module 1102 is used for according to masking-out selection instruction from masking-out
Select corresponding masking-out that masking-out process is carried out to picture in set and obtain masking-out treatment effect figure, and have in selected masking-out
During association masking-out, process is carried out to picture by association masking-out and obtains associating masking-out treatment effect figure;Masking-out processing module 1102
When according to masking-out selection instruction, the selected masking-out of correspondence has association masking-out from masking-out set, display control module 1103 is used
In by the masking-out for obtaining treatment effect figure with associate masking-out treatment effect figure according to it is default display rule shown.Camera is called
Unit 01 is used to call the camera applications in terminal system to be shot, and pending illiteracy at spy is obtained in the picture obtained from shooting
The picture of reason;Download unit 02 is used to cover the special picture for processing as pending from network side download pictures;Reading unit 03 is used
Picture is read in the specified location of the specified location from terminal local or external memory storage cover the special picture for processing as pending.
Here, it should be noted that the data obtaining module 1101 in the present embodiment, masking-out processing module 1102 and display
The function of control module 1103 can pass through the processor or controller realization in terminal, realize the software of above-mentioned functions module
Code can be stored and performed in memory and by processor or controller.
In the present embodiment, camera call unit 01 obtains the mode of the picture that pending masking-out is processed also various, for example,
Can only shoot one, the picture that the pictures are processed as pending masking-out;Can also be and shoot multiple, according to user
Selection instruction or system calculate the corresponding image parameter of picture automatically so that it is determined that a pictures as pending masking-out at
The picture of reason.Here, it should be noted that camera call unit 01 according to system calculate automatically the corresponding image parameter of picture from
And determine the picture that pending masking-out is processed, and can calculate per the corresponding average brightness of pictures, then system is selected automatically
The picture that the maximum picture of average brightness is processed as pending masking-out in the plurality of pictures of shooting is selected, wherein it is possible to pass through
Calculate in picture after the brightness value of each pixel, then to the brightness value averaged of all of pixel in picture so as to
Obtain the average brightness of picture.
The association masking-out of one masking-out is:Other have in the masking-out of application offer of masking-out function in terminal system, with
The masking-out compares at least one masking-out for meeting default correlation rule.So, in addition it is also necessary to in the present embodiment other there is masking-out
The application of function is illustrated, wherein, other applications with masking-out function in terminal system include:Camera applications and/or extremely
Few third party's masking-out application of function.That is to say, it can be that camera should that other have the application of masking-out function in terminal system
With, or at least one third party's masking-out application of function, or while cover including camera applications and at least one third party
Version application of function.
It should be noted that the correlation rule in the present embodiment includes that the masking-out type of two masking-outs is identical.It should be understood that
, type identical masking-out, generic name is identical, now can judge whether masking-out type is identical by title, but right
In other situations, it is necessary to which the type for obtaining masking-out is judged in itself.
Furthermore, it is necessary to explanation be when a masking-out has association masking-out, the masking-out associate as it simultaneously masking-out it
Association masking-out.Therefore, developer can arrange a set in system, and the masking-out of all of same type is set to mutually
For association.
In the present embodiment, display control module 1103 by the masking-out treatment effect figure for obtaining with associate masking-out treatment effect figure
Shown according to default display rule, wherein showing that rule can first carry out masking-out treatment effect figure in display window
Show, when receiving switching command, then association masking-out treatment effect figure is shown in display window;Can also be by masking-out
Treatment effect figure is shown in display window simultaneously with masking-out treatment effect figure is associated.
Wherein, display control module 1103 can control by masking-out treatment effect figure with associate masking-out treatment effect figure simultaneously
It is displayed side by side in display window, it is also possible to which control divides masking-out treatment effect figure in display window with masking-out treatment effect figure is associated
Primary and secondary shows.
For example, display control module 1103 can control first to be shown masking-out treatment effect figure in display window, when
When receiving the operational order that display window upwardly or downwardly slides, association masking-out treatment effect figure is carried out in display window
Show, it should be understood that, specific switching command is that the developer how to trigger can flexibly be arranged.
Here, it should be noted that the data obtaining module 1101 in the present embodiment, masking-out processing module 1102 and display
The function of control module 1103 can pass through the processor or controller realization in terminal, realize the software of above-mentioned functions module
Code can be stored and performed in memory and by processor or controller.
The masking-out processing control apparatus provided by the present embodiment, when user selects certain masking-out to figure in certain application
When piece carries out masking-out process, the masking-out treatment effect figure processed through the masking-out not only can be obtained, can also be obtained and the illiteracy
The associated association masking-out treatment effect figure of version treatment effect figure, therefore, user processes operation and just can obtain by a masking-out
To various masking-out treatment effect figures, make the operation of user simpler, while easily facilitating user in various masking-out treatment effect figures
In carry out contrast selection.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row
His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
Also there is other identical element in the process of key 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 is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer takes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but be the invention is not limited in above-mentioned concrete
Embodiment, above-mentioned specific embodiment is only schematic, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of without departing from present inventive concept and scope of the claimed protection, can also make a lot
Form, these are belonged within the protection of the present invention.