CN105430264B - Mobile terminal and its shooting processing method - Google Patents
Mobile terminal and its shooting processing method Download PDFInfo
- Publication number
- CN105430264B CN105430264B CN201510845401.1A CN201510845401A CN105430264B CN 105430264 B CN105430264 B CN 105430264B CN 201510845401 A CN201510845401 A CN 201510845401A CN 105430264 B CN105430264 B CN 105430264B
- Authority
- CN
- China
- Prior art keywords
- image
- mobile terminal
- camera
- mode
- concealed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
Abstract
The invention discloses a kind of mobile terminals, comprising: monitoring modular, for monitoring whether the camera in current mobile terminal is in concealed screening-mode;Processing module is shot, if being in concealed screening-mode for the camera in current mobile terminal, reference object image captured by the camera is subjected to sketch processing in real time, obtains the sketch image of reference object;Display module, for sketch image described in the real-time display on the screen of the mobile terminal.The invention also discloses a kind of shooting processing methods of mobile terminal.The concealment of concealed shooting and the effect of shooting are improved through the invention, to improve the usage experience that user carries out concealed shooting.
Description
Technical field
The present invention relates to field of communication technology more particularly to mobile terminal and its shooting processing methods.
Background technique
It is mostly to need to install third-party application in fact at present about the concealed method taken pictures is carried out on mobile terminals
It is existing, and third-party application is substantially also all to have invoked the camera function of mobile terminal itself to take pictures to carry out secret, only
In the concealed camera function used, third-party application is all by using nontransparent interface (for example using picture) to shelter from
Picture material captured by shown camera lens improves concealment on screen.Although such mode mentions to a certain extent
The high concealment of shooting, but cause user that can not be shown according to screen to adjust the reference object that camera lens is aligned, thus
It needs constantly to switch and shows that camera lens main interface adjusts camera site, the effect and user for thereby reducing concealed shooting make
With experience.
Summary of the invention
The main purpose of the present invention is to provide a kind of mobile terminal and its shooting processing methods, it is intended to solve how to improve
The technical issues of shooting effect and user experience of existing secret style of shooting.
To achieve the above object, a kind of mobile terminal provided by the invention, the mobile terminal include:
Monitoring modular, for monitoring whether the camera in current mobile terminal is in concealed screening-mode;
Processing module is shot, it, in real time will be described if being in concealed screening-mode for the camera in current mobile terminal
Reference object image captured by camera carries out sketch processing, obtains the sketch image of reference object;
Display module, for sketch image described in the real-time display on the screen of the mobile terminal.
Optionally, the shooting processing module includes:
Discoloration processing unit, the color image in real time being captured the camera carry out image decolorizing processing, obtain
To gray level image;
Inverse processing unit obtains inverse image for the gray level image to be carried out the processing of image inverse;
Gaussian Blur processing unit obtains Gaussian Blur image for the inverse image to be carried out Gaussian Blur processing;
Color dodge mixed processing unit, for the Gaussian Blur image and the gray level image to be carried out color dodge
Mixed processing obtains the sketch image.
Optionally, under the concealed screening-mode, the style of shooting of the camera includes at least photograph taking and/or view
Frequency is shot.
Optionally, under the concealed screening-mode, the store path of photo captured by the camera and/or video with
The store path of photo and/or video under non-secret screening-mode is different.
Optionally, under the concealed screening-mode, control is adjusted by the volume adjustment control mode of the mobile terminal
Make the shooting focal length of the camera.
Further, to achieve the above object, the present invention also provides a kind of shooting processing method of mobile terminal, the shiftings
The shooting processing method of dynamic terminal includes:
Whether the camera in monitoring current mobile terminal is in concealed screening-mode;
If the camera in current mobile terminal is in concealed screening-mode, in real time by shooting pair captured by the camera
As image progress sketch processing, the sketch image of reference object is obtained;
The sketch image described in real-time display on the screen of the mobile terminal.
Optionally, if the camera in the current mobile terminal is in concealed screening-mode, in real time by the camera institute
The image of shooting carries out sketch processing, and the sketch image for obtaining reference object includes:
The color image that the camera is captured in real time carries out image decolorizing processing, obtains gray level image;
The gray level image is subjected to the processing of image inverse, obtains inverse image;
The inverse image is subjected to Gaussian Blur processing, obtains Gaussian Blur image;
The Gaussian Blur image and the gray level image are subjected to color dodge mixed processing, obtain the sketch figure
Picture.
Optionally, under the concealed screening-mode, the style of shooting of the camera includes at least photograph taking and/or view
Frequency is shot.
Optionally, under the concealed screening-mode, the store path of photo captured by the camera and/or video with
The store path of photo and/or video under non-secret screening-mode is different.
Optionally, under the concealed screening-mode, control is adjusted by the volume adjustment control mode of the mobile terminal
Make the shooting focal length of the camera.
In the present invention, by setting corresponding concealed screening-mode with realize in camera shooting process in mobile terminal screen
Shown reference object image real-time perfoming sketchization processing on curtain, and after the progress sketch processing of real-time display reference object
Sketch image simultaneously as sketch image is corresponding with reference object, therefore use to achieve the purpose that hidden shooting
Family can carry out corresponding reference object according to sketch image shown on mobile terminal screen at the adjustment of camera site
Reason, to improve the usage experience that user carries out concealed shooting.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the functional block diagram of one embodiment of mobile terminal of the present invention;
Fig. 4 is the mobile terminal structure schematic diagram that one embodiment of concealed screening-mode is opened in triggering in the present invention;
Fig. 5 is the flow diagram in the present invention with concealed one embodiment of screening-mode camera control mode;
Fig. 6 is the refinement the functional block diagram that processing module is shot in Fig. 3;
Fig. 7 is shown on mobile terminals after reference object image progress sketch processing in one embodiment of the invention
The sketch image schematic diagram of reference object;
Fig. 8 is the flow diagram of one embodiment of shooting processing method of mobile terminal of the present invention;
Fig. 9 is the refinement flow diagram of step S20 in Fig. 8.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number 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 in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, output unit 140, memory 150, controller 160, and can also include in the present invention for concealed shooting
Monitoring modular 310, shooting processing module 320, display module 330 etc..Fig. 1 shows the mobile terminal with various assemblies,
It should be understood that being not required for implementing all components shown.More or fewer components can alternatively be implemented.It will be
The element of mobile terminal is described below in detail.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 150 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include camera 121, phase
Image of the machine 121 to the static images or video that are obtained in video acquisition mode or image capture mode by image capture apparatus
Data are handled.Treated, and picture frame may be displayed on display unit 141.Through camera 121, treated that picture frame can
It, can be according to shifting to be stored in memory 150 (or other storage mediums) or be sent via wireless communication unit 110
The construction of dynamic terminal provides two or more cameras 121.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 141, touch screen can be formed.
Output unit 140 is configured to provide output signal with vision, audio and/or tactile manner (for example, audio is believed
Number, vision signal, alarm signal, vibration signal etc.).Output unit 140 may include display unit 141 etc..
Display unit 141 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 141 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 141 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 141 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
141 may be used as input unit and output device.Display unit 141 may 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 to watch from outside, 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
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Memory 150 can store the software program etc. of the processing and control operation that are executed by controller 160, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 150 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 150 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 150 store function cooperates.
The overall operation of the usually control mobile terminal of controller 160.For example, controller 160 executes and voice communication, data
Communication, video calling etc. relevant control and processing.Controller 160 can be with execution pattern identifying processing, will be in touch screen
The handwriting input of upper execution or picture draw input and are identified as character or image.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.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), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 160.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 150 and be executed by controller 160.
In addition, further, the present invention is used to carry out in each module of concealed shooting, monitoring modular 310 is worked as monitoring
Whether the camera 121 in preceding mobile terminal 100 is in concealed screening-mode;Processing module 320 is shot, if for currently mobile whole
Camera 121 in end 100 is in concealed screening-mode, then in real time carries out reference object image captured by the camera 121
Sketchization processing, obtains the sketch image of reference object;Display module 330, for the screen in the mobile terminal 100
Sketch image described in real-time display on (namely display unit 141).
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.It substitutes GPS tracking technique or except GPS tracking technique, the position that can track mobile terminal can be used
The other technologies set.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
It is the functional block diagram of one embodiment of mobile terminal of the present invention referring to Fig. 3, Fig. 3.In the present embodiment, the shifting
Dynamic terminal includes:
Monitoring modular 310, for monitoring whether the camera in current mobile terminal is in concealed screening-mode;
It, can be in existing camera shooting mode for convenient for the camera in user's normal use mobile terminal in the present embodiment
Increase concealed screening-mode, and it is unlimited for the specific setting position of concealed screening-mode and Starting mode.
For example, default opens camera in a manner of standard camera, then again in standard when opening the camera in mobile terminal
Under camera mode, " concealed screening-mode " mode option is added in selection camera style of shooting menu option.Work as monitoring modular
After 310 monitor that user selects " concealed screening-mode " option, camera can then automatically switch to " concealed screening-mode " and be clapped
It takes the photograph.
In addition, it is optional, as shown in figure 4, when mobile terminal uses external pressure sensor, if detecting setting
Pressing operation, such as long-pressing touch control operation then can trigger and opens concealed screening-mode and carry out concealed shooting.
Processing module 320 is shot, if concealed screening-mode is in for the camera in current mobile terminal, in real time by institute
It states reference object image captured by camera and carries out sketch processing, obtain the sketch image of reference object;
To avoid being discovered by other people in shooting process, for example being collected evidence, shoot illegal activities etc., while being also convenient for using
Therefore angle, the position etc. of family adjustment shooting in the present embodiment, after starting concealed screening-mode, shoot processing module at this time
320 will be handled in real time current taken image using the real-time sketch technology of image of the invention.
In the present embodiment, sketch processing is carried out to reference object image captured by camera, to obtain reference object
Sketch image implementation it is unlimited.Different processing modes, the efficiency and effect handled are also not identical specific
It is configured according to actual needs.
For example, to reach better display effect the gradient processing of original image can be carried out first to generate rainbow effect
Fruit;Or the edge of image is smoothed finally, so that the sketch image generated is more natural.
Display module 330, for sketch image described in the real-time display on the screen of the mobile terminal.
In the present embodiment, by carrying out sketch processing to reference object image captured by camera, reference object is obtained
Sketch image, to further pass through the sketch figure described in real-time display on the screen of the mobile terminal of display module 330
Picture is to realize the concealment to shooting, while also achieving user can be according to the sketch image of real-time display on screen
The adjustment for carrying out shooting angle, position etc., to obtain more preferably shooting effect.
Furthermore, it is necessary to further illustrate, under concealed screening-mode, still can continue to mobile terminal camera into
Row control processing, the control processing include at least switching screening-mode, take pictures, start shooting, stop shooting, close camera,
The corresponding touch control operation of the control processing include at least click, double-click, long-pressing.
As shown in Figure 5, there is the flow diagram of one embodiment of camera control mode of concealed screening-mode.In this reality
In example, mobile terminal receives the touch control operation of user by screen accordingly to be controlled.
S1, starting camera, such as camera is opened in a manner of standard camera;
S2, user select concealed screening-mode to carry out concealed shooting;
S3, image shown on mobile terminal is handled using sketch mode;
S4, judge touch control operation type of the user on mobile terminal screen;
S5, if double-click, then prompt whether to close camera, if so then execute S8, if otherwise returning to S4;
S6, if long-pressing, then whether judgement is currently camera shooting mode, if so then execute S9, if otherwise executing S10;
S7, if clicking, then judgement currently whether be camera shooting mode, if so then execute S11, if otherwise executing S12;
S8, camera is closed;
S9, it is switched to shooting mode of camera;
S10, it is switched to camera shooting mode;
S11, it is taken pictures using camera;
Whether S12, judgement have currently been in shooting mode of camera, if so then execute S13, if otherwise executing S14;
S13, stop camera photography;
S14, camera photography is opened.
It is further alternative, to ensure shooting process completely and shooting the concealment of photo or video generated, because
This store path of the photo of shooting and/or video separately can be arranged, described in realizing under the concealed screening-mode
The storage road of the store path of photo captured by camera and/or video and photo and/or video under non-concealed screening-mode
Diameter is different.
It is further alternative, under the concealed screening-mode, the volume adjustment controlling party of the mobile terminal can be passed through
Formula adjusts the shooting focal length for controlling the camera.For example, the operation for increasing volume then will increase camera under concealed screening-mode
Shooting focal length, conversely, can then reduce the shooting focal length of camera.
Further alternative, under the concealed screening-mode, the style of shooting of the camera includes at least photograph taking
And/or video capture.Namely mobile terminal either shoots photo under concealed screening-mode and still shoots video, mobile whole
On the screen at end all can sketch image corresponding to reference object image captured by real-time display Current camera, thus to use
Family provides good concealment and shooting effect more preferably hidden style of shooting.
In the present embodiment, by setting corresponding concealed screening-mode with realize in camera shooting process in mobile terminal
Shown reference object image real-time perfoming sketchization processing on screen, and real-time display reference object carries out sketch processing
Sketch image afterwards, to achieve the purpose that hidden shooting, simultaneously as sketch image is corresponding with reference object, therefore
User can carry out the adjustment of camera site according to sketch image shown on mobile terminal screen to corresponding reference object
Processing, to improve the usage experience that user carries out concealed shooting.
It is the refinement the functional block diagram that processing module is shot in Fig. 3 referring to Fig. 6, Fig. 6.Based on the above embodiment, originally
In embodiment, the shooting processing module 320 includes:
Discoloration processing unit 3201, the color image in real time being captured the camera carry out at image decolorizing
Reason, obtains gray level image;
In the present embodiment, image decolorizing processing mainly removes the colour in current captured original image, in turn
The gray level image for only having brightness is obtained, specific processing mode is unlimited.For example, to RGB tri- of pixel each in original image
Color component carries out linear weighted function and is averaged, and obtained average value is as the gray value after the pixel discoloration.
For example gray value Y:Y=C1*R+C2*G+C3*B is calculated using following formula;
Wherein, C1, C2, C3 are weight, preferably C1=0.299 corresponding to respective color component, C1=0.587, C1=
0.114。
Inverse processing unit 3202 obtains inverse image for the gray level image to be carried out the processing of image inverse;
In the present embodiment, the processing of image inverse is exactly the RGB of each pixel in the gray level image that will be obtained after discoloration
Value carries out negating processing.
For example, it is assumed that original image is X, inverse treated image is Y, then for carrying out the same seat of inverse before and after the processing
Being designated as the pixel of (i, j), there are following relationships: Y (i, j)=255-X (i, j) namely Y (i, j)R=255-X (i, j)R, Y (i,
j)G=255-X (i, j)G, Y (i, j)B=255-X (i, j)B。
Gaussian Blur processing unit 3203 obtains Gaussian Blur for the inverse image to be carried out Gaussian Blur processing
Image;
Gaussian Blur mainly adjusts pixel color value according to Gaussian curve, to reduce the noise of image and reduce image
Level of detail.In the present embodiment, inverse image is had more by blur effect, Gauss in visual effect by Fuzzy Processing
Fuzzy specific processing mode is unlimited.Pixel each in image is converted for example, by using normal distribution mode.
Color dodge mixed processing unit 3204, for the Gaussian Blur image and the gray level image to be carried out color
Subtract light mixed processing, obtains the sketch image.
In the present embodiment, to obtain more preferably sketch display effect, therefore by the image obtained after Gaussian Blur and discoloration
The gray level image obtained afterwards carries out color dodge mixed processing.Wherein, color dodge mixed processing is exactly to pass through secondary colour and base
Each channel color value of color compares, to reduce the contrast of the two so that primary colours brighten to react secondary colour.Such as base
Color is A, secondary colour B, then mixed result color C=A+ (A*B)/(255-B).
In the present embodiment, passes sequentially through and discoloration processing, inverse processing, Gaussian Blur processing and face are carried out to original image
After color subtracts light mixed processing, obtain may be displayed on sketch figure corresponding to the current shooting object on mobile terminal screen
Picture, as shown in fig. 7, guaranteeing to provide concealment for user's shooting.
It is the flow diagram of one embodiment of shooting processing method of mobile terminal of the present invention referring to Fig. 8, Fig. 8.This implementation
In example, the shooting processing method of the mobile terminal includes:
Whether step S10, the camera monitored in current mobile terminal are in concealed screening-mode;
It, can be in existing camera shooting mode for convenient for the camera in user's normal use mobile terminal in the present embodiment
Increase concealed screening-mode, and it is unlimited for the specific setting position of concealed screening-mode and Starting mode.
For example, default opens camera in a manner of standard camera, then again in standard when opening the camera in mobile terminal
Under camera mode, " concealed screening-mode " mode option is added in selection camera style of shooting menu option.When user selects
After " concealed screening-mode " option, camera can then automatically switch to " concealed screening-mode " and be shot.
In addition, it is optional, as shown in figure 4, when mobile terminal uses external pressure sensor, if detecting setting
Pressing operation, such as long-pressing touch control operation then can trigger and opens concealed screening-mode and carry out concealed shooting.
Step S20 in real time will be captured by the camera if the camera in current mobile terminal is in concealed screening-mode
Reference object image carry out sketch processing, obtain the sketch image of reference object;
To avoid being discovered by other people in shooting process, for example being collected evidence, shoot illegal activities etc., while being also convenient for using
Angle, the position etc. of family adjustment shooting, therefore, in the present embodiment, after starting concealed screening-mode, camera will be using this at this time
The real-time sketch technology of the image of invention handles current taken image in real time.
In the present embodiment, sketch processing is carried out to reference object image captured by camera, to obtain reference object
Sketch image implementation it is unlimited.Different processing modes, the efficiency and effect handled are also not identical specific
It is configured according to actual needs.
For example, to reach better display effect the gradient processing of original image can be carried out first to generate rainbow effect
Fruit;Or the edge of image is smoothed finally, so that the sketch image generated is more natural.
Step S30, the sketch image described in real-time display on the screen of the mobile terminal.
In the present embodiment, by carrying out sketch processing to reference object image captured by camera, reference object is obtained
Sketch image, thus further by sketch image described in real-time display on the screen of the mobile terminal to realize to bat
The concealment taken the photograph, while also achieving user can be according to the sketch image progress shooting angle of real-time display on screen
The adjustment of degree, position etc., to obtain more preferably shooting effect.
Furthermore, it is necessary to further illustrate, under concealed screening-mode, still can continue to mobile terminal camera into
Row control processing, the control processing include at least switching screening-mode, take pictures, start shooting, stop shooting, close camera,
The corresponding touch control operation of the control processing include at least click, double-click, long-pressing.
As shown in Figure 5, there is the flow diagram of one embodiment of camera control mode of concealed screening-mode.In this reality
In example, mobile terminal is accordingly controlled by the touch control operation that screen receives user.
S1, starting camera, such as camera is opened in a manner of standard camera;
S2, user select concealed screening-mode to carry out concealed shooting;
S3, image shown on mobile terminal is handled using sketch mode;
S4, judge touch control operation type of the user on mobile terminal screen;
S5, if double-click, then prompt whether to close camera, if so then execute S8, if otherwise returning to S4;
S6, if long-pressing, then whether judgement is currently camera shooting mode, if so then execute S9, if otherwise executing S10;
S7, if clicking, then judgement currently whether be camera shooting mode, if so then execute S11, if otherwise executing S12;
S8, camera is closed;
S9, it is switched to shooting mode of camera;
S10, it is switched to camera shooting mode;
S11, it is taken pictures using camera;
Whether S12, judgement have currently been in shooting mode of camera, if so then execute S13, if otherwise executing S14;
S13, stop camera photography;
S14, camera photography is opened.
It is further alternative, to ensure shooting process completely and shooting the concealment of photo or video generated, because
This store path of the photo of shooting and/or video separately can be arranged, described in realizing under the concealed screening-mode
The storage road of the store path of photo captured by camera and/or video and photo and/or video under non-concealed screening-mode
Diameter is different.
It is further alternative, under the concealed screening-mode, the volume adjustment controlling party of the mobile terminal can be passed through
Formula adjusts the shooting focal length for controlling the camera.For example, the operation for increasing volume then will increase camera under concealed screening-mode
Shooting focal length, conversely, can then reduce the shooting focal length of camera.
Further alternative, under the concealed screening-mode, the style of shooting of the camera includes at least photograph taking
And/or video capture.Namely mobile terminal either shoots photo under concealed screening-mode and still shoots video, mobile whole
On the screen at end all can sketch image corresponding to reference object image captured by real-time display Current camera, thus to use
Family provides good concealment and shooting effect more preferably hidden style of shooting.
In the present embodiment, by setting corresponding concealed screening-mode with realize in camera shooting process in mobile terminal
Shown reference object image real-time perfoming sketchization processing on screen, and real-time display reference object carries out sketch processing
Sketch image afterwards, to achieve the purpose that hidden shooting, simultaneously as sketch image is corresponding with reference object, therefore
User can carry out the adjustment of camera site according to sketch image shown on mobile terminal screen to corresponding reference object
Processing, to improve the usage experience that user carries out concealed shooting.
It is the refinement flow diagram of step S20 in Fig. 8 referring to Fig. 9, Fig. 9.Based on the above embodiment, in the present embodiment,
When the camera in current mobile terminal is in concealed screening-mode, above-mentioned steps S20 includes:
Step S201, the color image in real time being captured the camera carry out image decolorizing processing, obtain grayscale image
Picture;
In the present embodiment, image decolorizing processing mainly removes the colour in current captured original image, in turn
The gray level image for only having brightness is obtained, specific processing mode is unlimited.For example, to RGB tri- of pixel each in original image
Color component carries out linear weighted function and is averaged, and obtained average value is as the gray value after the pixel discoloration.
For example gray value Y:Y=C1*R+C2*G+C3*B is calculated using following formula;
Wherein, C1, C2, C3 are weight, preferably C1=0.299 corresponding to respective color component, C1=0.587, C1=
0.114。
The gray level image is carried out the processing of image inverse, obtains inverse image by step S202;
In the present embodiment, the processing of image inverse is exactly the RGB of each pixel in the gray level image that will be obtained after discoloration
Value carries out negating processing.
For example, it is assumed that original image is X, inverse treated image is Y, then for carrying out the same seat of inverse before and after the processing
Being designated as the pixel of (i, j), there are following relationships: Y (i, j)=255-X (i, j) namely Y (i, j)R=255-X (i, j)R, Y (i,
j)G=255-X (i, j)G, Y (i, j)B=255-X (i, j)B。
The inverse image is carried out Gaussian Blur processing, obtains Gaussian Blur image by step S203;
Gaussian Blur mainly adjusts pixel color value according to Gaussian curve, to reduce the noise of image and reduce image
Level of detail.In the present embodiment, inverse image is had more by blur effect, Gauss in visual effect by Fuzzy Processing
Fuzzy specific processing mode is unlimited.Pixel each in image is converted for example, by using normal distribution mode.
The Gaussian Blur image and the gray level image are carried out color dodge mixed processing, obtain institute by step S204
State sketch image.
In the present embodiment, to obtain more preferably sketch display effect, therefore by the image obtained after Gaussian Blur and discoloration
The gray level image obtained afterwards carries out color dodge mixed processing.Wherein, color dodge mixed processing is exactly to pass through secondary colour and base
Each channel color value of color compares, to reduce the contrast of the two so that primary colours brighten to react secondary colour.Such as base
Color is A, secondary colour B, then mixed result color C=A+ (A*B)/(255-B).
In the present embodiment, passes sequentially through and discoloration processing, inverse processing, Gaussian Blur processing and face are carried out to original image
After color subtracts light mixed processing, obtain may be displayed on sketch figure corresponding to the current shooting object on mobile terminal screen
Picture, as shown in fig. 7, guaranteeing to provide concealment for user's shooting.
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 device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Monitoring modular, for monitoring whether the camera in current mobile terminal is in concealed screening-mode;
Processing module is shot, if concealed screening-mode is in for the camera in current mobile terminal, in real time by the camera
Captured reference object image carries out sketch processing, obtains the sketch image of reference object, wherein at the sketch
The step of reason includes: that the color image in real time being captured the camera carries out image decolorizing processing, obtains gray level image;It will
The gray level image carries out the processing of image inverse, obtains inverse image;The inverse image is subjected to Gaussian Blur processing, is obtained
Gaussian Blur image;The Gaussian Blur image and the gray level image are subjected to color dodge mixed processing, obtain the element
Retouching image;
Display module, for sketch image described in the real-time display on the screen of the mobile terminal.
2. mobile terminal as described in claim 1, which is characterized in that under the concealed screening-mode, the bat of the camera
Mode is taken the photograph including at least photograph taking and/or video capture.
3. mobile terminal as claimed in claim 2, which is characterized in that under the concealed screening-mode, the camera is clapped
The store path of the photo and/or video taken the photograph is different from the store path of photo and/or video under non-concealed screening-mode.
4. mobile terminal as claimed in claim 3, which is characterized in that under the concealed screening-mode, pass through the movement
The volume adjustment control mode of terminal adjusts the shooting focal length for controlling the camera.
5. a kind of shooting processing method of mobile terminal, which is characterized in that the shooting processing method of the mobile terminal includes:
Whether the camera in monitoring current mobile terminal is in concealed screening-mode;
If the camera in current mobile terminal is in concealed screening-mode, in real time by reference object figure captured by the camera
As carrying out sketch processing, the sketch image of reference object is obtained, wherein the step of sketchization is handled includes: real-time
The color image that the camera is captured carries out image decolorizing processing, obtains gray level image;The gray level image is carried out
The processing of image inverse, obtains inverse image;The inverse image is subjected to Gaussian Blur processing, obtains Gaussian Blur image;It will
The Gaussian Blur image and the gray level image carry out color dodge mixed processing, obtain the sketch image;
The sketch image described in real-time display on the screen of the mobile terminal.
6. the shooting processing method of mobile terminal as claimed in claim 5, which is characterized in that in the concealed screening-mode
Under, the style of shooting of the camera includes at least photograph taking and/or video capture.
7. the shooting processing method of mobile terminal as claimed in claim 6, which is characterized in that in the concealed screening-mode
Under, the store path of photo captured by the camera and/or video and photo under non-concealed screening-mode and/or video
Store path is different.
8. the shooting processing method of mobile terminal as claimed in claim 7, which is characterized in that in the concealed screening-mode
Under, the shooting focal length for controlling the camera is adjusted by the volume adjustment control mode of the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845401.1A CN105430264B (en) | 2015-11-26 | 2015-11-26 | Mobile terminal and its shooting processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845401.1A CN105430264B (en) | 2015-11-26 | 2015-11-26 | Mobile terminal and its shooting processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105430264A CN105430264A (en) | 2016-03-23 |
CN105430264B true CN105430264B (en) | 2019-03-05 |
Family
ID=55508167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510845401.1A Active CN105430264B (en) | 2015-11-26 | 2015-11-26 | Mobile terminal and its shooting processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430264B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229376B (en) * | 2016-03-26 | 2023-08-01 | 谭登峰 | Anti-interference method for automatic positioning |
CN112884639B (en) * | 2021-02-03 | 2022-10-11 | 上海艾麒信息科技股份有限公司 | Method, system and medium for converting photograph into pencil drawing |
CN113256785B (en) * | 2021-05-31 | 2023-04-04 | 北京字跳网络技术有限公司 | Image processing method, apparatus, device and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1484446A (en) * | 2002-09-05 | 2004-03-24 | 三洋电机株式会社 | Image data process device and method thereof |
CN102298162A (en) * | 2010-06-28 | 2011-12-28 | 深圳富泰宏精密工业有限公司 | Backlight regulating system and method |
CN102333155A (en) * | 2011-09-22 | 2012-01-25 | 康佳集团股份有限公司 | Method and mobilephone for automatically generating sketch pictures from mobilephone pictures |
CN103747182A (en) * | 2014-01-15 | 2014-04-23 | 北京百纳威尔科技有限公司 | Shooting control method for smart mobile phone |
CN104010129A (en) * | 2014-04-23 | 2014-08-27 | 小米科技有限责任公司 | Image processing method, device and terminal |
WO2014193136A1 (en) * | 2013-05-29 | 2014-12-04 | 최우혁 | Electronic device, control method of electronic device and computer readable recording medium |
CN104660913A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Focus length adjusting method and device |
-
2015
- 2015-11-26 CN CN201510845401.1A patent/CN105430264B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1484446A (en) * | 2002-09-05 | 2004-03-24 | 三洋电机株式会社 | Image data process device and method thereof |
CN102298162A (en) * | 2010-06-28 | 2011-12-28 | 深圳富泰宏精密工业有限公司 | Backlight regulating system and method |
CN102333155A (en) * | 2011-09-22 | 2012-01-25 | 康佳集团股份有限公司 | Method and mobilephone for automatically generating sketch pictures from mobilephone pictures |
WO2014193136A1 (en) * | 2013-05-29 | 2014-12-04 | 최우혁 | Electronic device, control method of electronic device and computer readable recording medium |
CN103747182A (en) * | 2014-01-15 | 2014-04-23 | 北京百纳威尔科技有限公司 | Shooting control method for smart mobile phone |
CN104010129A (en) * | 2014-04-23 | 2014-08-27 | 小米科技有限责任公司 | Image processing method, device and terminal |
CN104660913A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Focus length adjusting method and device |
Non-Patent Citations (1)
Title |
---|
把我的照片变素描;王梓恒;《电脑爱好者(普及版)》;20090630;全文 |
Also Published As
Publication number | Publication date |
---|---|
CN105430264A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8780258B2 (en) | Mobile terminal and method for generating an out-of-focus image | |
CN106791472B (en) | A kind of exposure method and terminal | |
CN106131450B (en) | Image processing method and device and terminal | |
CN105718027B (en) | The management method and mobile terminal of background application | |
CN105704282B (en) | Camera detection method and device | |
CN105141833B (en) | Terminal image pickup method and device | |
CN104735255B (en) | Multi-screen display method and system | |
CN105472241B (en) | Image split-joint method and mobile terminal | |
CN106097284B (en) | A kind of processing method and mobile terminal of night scene image | |
CN105631370B (en) | Region screen locking method and mobile terminal | |
CN106534552B (en) | Mobile terminal and its photographic method | |
CN105827866A (en) | Mobile terminal and control method | |
CN105430264B (en) | Mobile terminal and its shooting processing method | |
CN106375679A (en) | Exposure method and device | |
CN105791711A (en) | Shooting light supplement apparatus and method thereof | |
CN106385573A (en) | Picture processing method and terminal | |
CN105554382B (en) | A kind of mobile terminal and its method for realizing control of taking pictures | |
CN105245792A (en) | Mobile terminal and image shooting method | |
CN106231095B (en) | Picture synthesizer and method | |
CN105405108B (en) | Image sharpening method and mobile terminal | |
CN105741786A (en) | Method of eliminating display screen jitter and mobile terminal | |
CN106375602B (en) | Terminal photographic method and device | |
CN105744167B (en) | Image capturing method, device and mobile terminal | |
CN106603909B (en) | A kind of method and apparatus for realizing focusing | |
CN106803883B (en) | The prompt terminal and method that the depth of field is moved forward and backward in pan-shot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |