CN108989685A - A kind of burnt processing method of drawing, terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN108989685A
CN108989685A CN201811009273.7A CN201811009273A CN108989685A CN 108989685 A CN108989685 A CN 108989685A CN 201811009273 A CN201811009273 A CN 201811009273A CN 108989685 A CN108989685 A CN 108989685A
Authority
CN
China
Prior art keywords
burnt
pixel
original image
center
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811009273.7A
Other languages
Chinese (zh)
Inventor
陈鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811009273.7A priority Critical patent/CN108989685A/en
Publication of CN108989685A publication Critical patent/CN108989685A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of burnt processing methods of drawing, are applied to terminal, and the terminal includes positive main screen and reverse side vice screen, which comprises obtains original image by cameras with fixed focus;The drawing coke center of the original image is determined in the positive main screen by the reverse side vice screen;According to the drawing burnt center, clear area is set;Other regions in the original image in addition to the clear area are carried out drawing burnt processing.It can computer readable storage medium the present invention also provides a kind of terminal, by implementing above scheme original image in prior art draw in burnt treatment process in the case where not influencing user's sight, it easily carries out drawing burnt processing, draws the burnt effect taken pictures to improve.

Description

A kind of burnt processing method of drawing, terminal and computer readable storage medium
Technical field
The present invention relates to electronic technology field more particularly to a kind of burnt processing methods of drawing, terminal and computer-readable storage Medium.
Background technique
It is to be realized in single-lens reflex camera using zoom camera that traditional drawing coke, which is taken pictures, i.e., user presses fastly behind the door, exposed Cheng Zhong, user hand turn move zoom ring and carry out zoom, ultimately form radial scene, there is very much innervation.However, due to movement Terminal will realize the burnt effect of drawing using tight shot, physically unrealistic.And use is not yet provided in the related technology Cameras with fixed focus, which is realized, draws the burnt effective ways taken pictures.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of burnt processing method of drawing, terminal and computer readable storage medium, solution The technical issues of drawing coke effect cannot be shot in prior art of having determined very well.
To solve the above problems, being applied to terminal the present invention provides a kind of burnt processing method of drawing, the terminal includes just Face main screen and reverse side vice screen, which comprises original image is obtained by cameras with fixed focus;By the reverse side vice screen in institute State the drawing coke center that the original image is determined in positive main screen;According to the drawing burnt center, clear area is set;To the original Other regions in beginning image in addition to the clear area carry out drawing burnt processing.
Optionally, which comprises when the reverse side vice screen described in the user's finger contacts, the positive main screen is made to generate one A cursor, the cursor are moved as user's finger moves in the reverse side vice screen.
Optionally, the drawing coke center for determining the original image in the positive main screen by the reverse side vice screen The step of after include: that certain point when user's finger in the reverse side vice screen stops preset time, the corresponding light of the finger The position being marked on the original image is the drawing coke center of the original image.
Optionally, the step of center setting clear area burnt according to the drawing includes: when user's finger is described anti- When sliding an enclosed region in the vice screen of face, then using the enclosed region that corresponding cursor is formed in the positive main screen as described clear Clear region.
Optionally, the step of center setting clear area burnt according to the drawing includes: to establish a pressure value and institute State the first linear relationship of the area of clear area;It obtains user's finger and is applied to the burnt supercentral pressure value of the drawing;According to The pressure value and first linear relationship confirm the area of the clear area;Area and institute based on the clear area It states drawing burnt center and the clear area is set.
Optionally, the step of center setting clear area burnt according to the drawing include: establish finger contact area with Second linear relationship of the area of the clear area, the finger contact area are the user's finger and the reverse side vice screen Contact area;Obtain contact area when user's finger is applied to described draw on burnt center with the reverse side vice screen;According to institute It states contact area and second linear relationship confirms the area of the clear area;Area and institute based on the clear area It states drawing burnt center and the clear area is set.
Optionally, described other regions in the original image in addition to the clear area carry out drawing burnt processing Step includes: one width size of creation image identical with the original image;The first picture of each of image for creation Element determines that the pixel value of first pixel is described original when judging that first pixel is in the clear area The pixel value of the second pixel in image;When judging first pixel not in the clear area, according to the drawing Burnt center draw burnt processing to obtain drawing burnt treated value the pixel value of the second pixel in the original image, determines institute The pixel value for stating the first pixel is drawings coke treated value;Wherein, first pixel is in the image of the creation Position is identical as position of second pixel in the original image.
Optionally, described that the pixel value of the second pixel in the original image is carried out to draw coke according to the drawing burnt center It includes: according to second pixel and the first distance drawn between coke center that processing, which obtains drawing the step of burnt treated value, It calculates and draws defocus distance;Determine the third pixel in the original image;Wherein, the third pixel is located across second picture On the plain and described straight line for drawing burnt center, and the second distance between the third pixel and the burnt center of the drawing is greater than or equal to The first distance and the difference drawn between defocus distance, and it is less than or equal to the first distance;According to the third picture The pixel value and the drawings defocus distance of element, which calculate drawings coke treated, to be worth.
Further, the present invention also provides a kind of terminals, including processor, memory and communication bus;The storage Device draws burnt processing routine for storing;The communication bus is for realizing the connection communication between processor and memory;It is described Processor is for executing the step of drawing burnt processing method as described above.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize As above the step of described in any item drawings coke processing methods.
By implementing above scheme, by the effect of reverse side vice screen, so that original image is drawn in prior art It in burnt treatment process in the case where not influencing user's sight, easily carries out drawing burnt processing, to improve what drawing coke was taken pictures Effect.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and Unrestricted mode generally shows each embodiment discussed herein.
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram for drawing burnt processing method of the present invention;
Fig. 4 is a kind of original image schematic diagram provided in an embodiment of the present invention;
Fig. 5 is that a kind of original image provided in an embodiment of the present invention draws burnt treated schematic diagram;
Fig. 6 is a kind of module diagram of terminal of the present invention;
Fig. 7 is that a kind of terminal of the present invention forms structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
1 describe to realize the mobile terminal of each embodiment of the present invention with reference to the drawings.In subsequent description, make With the suffix for indicating such as " module ", " component " or " unit " of element only for being conducive to explanation of the invention, There is no specific meanings for body.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 It is phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA), tablet computer (PAD), portable The fixation of the mobile terminal of formula multimedia player (PMP), navigation device etc. and such as number TV, desktop computer etc. 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 mobile mesh Element except, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, audio/video (A/V) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part can alternatively implement more or fewer components, the element of mobile terminal will be discussed in more detail below.
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, short range communication module 114 and location information module 115.
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), the Radio Data System of forward link media (MediaFLO@), 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 160 (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..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module 115 typical case is GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more The range information and correct time information of satellite and Information application triangulation for calculating, thus according to longitude, The three-dimensional current location information of latitude and highly accurately calculating.Currently, three are used for the method for calculating position and temporal information Satellite and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It 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 (audio data) is received via microphone 122 in record mode, speech recognition mode etc. operational mode, and can be by this The acoustic processing of sample is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model The format output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can be implemented various types of Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Interference.
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, touch tablet (example Such as, the sensitive component due to the variation of resistance, pressure, capacitor etc. caused by being contacted is detected) etc..Particularly, work as touching When template is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 170 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal and external device (ED).
Output unit 150 may include display module 151 and audio output module 152 etc..
Display unit 151 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 151 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 151 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 module 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display module 151 may be used as input unit and output device.Display module 151 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.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store the data that has exported or will export.Moreover, memory 160 can store about when touch is applied to touching The vibration of the various modes exported when touching screen and the data of audio signal.
Memory 160 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 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
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 180. 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 160 and be executed by controller 180.
So far, mobile terminal is described according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
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 BSC275 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.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used Technology.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 MSC280 and BSC275 form interface, and BSC275 controls BS270 correspondingly to believe forward link Number it is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
The embodiment of the present invention provides a kind of drawing burnt processing method, is applied to terminal, the terminal include positive main screen and Reverse side vice screen.Referring to shown in Fig. 3, method includes the following steps:
Step S301, original image is obtained by cameras with fixed focus.
Specifically, the terminal preferably can be mobile terminal, such as it can be the mobile phone with touch function The terminals such as (mobile phone), iPad, notebook, and so-called cameras with fixed focus is the camera for having fixed-focus function in terminal.
Terminal is also referred to as terminal device, is the equipment for being in network outermost in computer network, is mainly used for user information Input and the output of processing result etc..In early stage computer system, due to main frame valuableness, a host Multiple terminals can be generally configured, these terminals itself do not have computing capability, only undertake the work of information input output, operation It is completed with processing by host.In the personal computer epoch, personal computer can run the program of referred to as terminal emulator To imitate the work of a terminal.With the development of mobile network, mobile terminal (such as mobile phone, PAD) has obtained widely answering With.At this point, terminal can not only undertake the work of input and output, while also can be carried out certain operation and processing, realize that part is System function.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet computer, POS machine, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases Machine and tablet computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the processing capacity of mobile terminal is Have powerful processing capacity, mobile terminal becomes an integrated information processing platform from simple call tool.This Also more wide development space is increased to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service between a flash and mainly creates New platform, new media, e-commerce and information service platform, Internet resources, mobile network resource and environmental interaction resource Most important hinge, operating system and processor chips even become the strategy system of current entire information and communication technology (ICT) industry High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, usually carry each Kind operating system can customize various functions according to user demand.In life common intelligent terminal include mobile intelligent terminal, Vehicle intelligent terminal, smart television, wearable device etc..
Step S302, the drawing coke center of the original image is determined in the positive main screen by the reverse side vice screen.
Specifically, the drawing coke center selected on the terminal image, the touching instruction institute that can be inputted by receiving user Determining drawing coke center, or may be the drawing coke center of other input mode inputs.Wherein, terminal is double-sided screen terminal, Including positive main screen and reverse side vice screen, when the reverse side vice screen described in the user's finger contacts, the positive main screen is made to generate a light Mark, the cursor are moved as user's finger moves in the reverse side vice screen.
Preferably, after the certain point when user's finger in the reverse side vice screen stops preset time (such as 2 seconds), at this time Position of the corresponding cursor of finger on the original image is the drawing coke center of original image.It should be noted that due to User's finger can do the stop of preset time by any point in reverse side vice screen, then corresponding cursor can also appear in original graph As upper any position, that is, draw burnt center that can be determined in the movement of reverse side vice screen in the original image according to user's finger On any position.
Step S303, clear area is arranged according to the burnt center of the drawing.
It preferably, then will be in the positive main screen when user's finger slides an enclosed region in the reverse side vice screen The enclosed region that corresponding cursor is formed is as the clear area.And the clear area can be border circular areas, pros Shape region or other arbitrary shapes, those skilled in the art utilize technical idea of the invention, are proposed according to its specific requirements Other figures be within the scope of the invention, herein without exhaustive one by one.
Preferably, the step of center setting clear area burnt according to the drawing can also include: to establish a pressure First linear relationship of value and the area of the clear area;It obtains user's finger and is applied to the burnt supercentral pressure of the drawing Value;The area of the clear area is confirmed according to the pressure value and first linear relationship;Based on the clear area The clear area is arranged in area and the burnt center of the drawing.Specifically, a pressure value F and the clear area can be pre-established Area S linear relationship, i.e. S=KF, wherein K be positive number.Therefore at above-mentioned determining clear area, reverse side can be utilized simultaneously The pressure sensor configured under vice screen obtains the pressure F that user's finger is applied in the reverse side vice screen, further according to above-mentioned linear Relationship S=KF obtains the area S of the clear area.Using the burnt center of the drawing as the center of clear area, then can determine The clear area out.
Preferably, the step of center setting clear area burnt according to the drawing can also include: to establish finger contact Second linear relationship of the area of area and the clear area, the finger contact area are the user's finger and described anti- The contact area of face vice screen;Obtain contact area when user's finger is applied to described draw on burnt center with the reverse side vice screen; The area of the clear area is confirmed according to the contact area and second linear relationship;Face based on the clear area The clear area is arranged in the long-pending and described burnt center of drawing.Specifically, finger contact area s and described clear can be pre-established The linear relationship of the area S in region, i.e. S=Ks, wherein K is positive number.Therefore at above-mentioned determining clear area, it can utilize simultaneously The capacitance variations sensed under reverse side vice screen determine the contact area s of finger Yu reverse side vice screen, further according to above-mentioned linear relationship S =Ks obtains the area S of the clear area.Using the burnt center of the drawing as the center of clear area, then can determine described Clear area.
Step S304, other regions in the original image in addition to the clear area are carried out drawing burnt processing.Ginseng See Fig. 4, be the demonstration effect figure of original image, Fig. 5 is to carry out drawing burnt treated effect picture to original image.It is specific:
Create width size image identical with original image;
The first pixel of each of image for creation is determined when judging that the first pixel is in clear area The pixel value of first pixel is the pixel value of the second pixel in original image;
When judging the first pixel not in clear area, according to the burnt center of drawing to the second pixel in original image Pixel value draw burnt processing to obtain drawing burnt treated value, determines the pixel value of the first pixel to draw coke treated value;
Wherein, position of first pixel in the image of creation is identical as position of second pixel in original image.
Wherein, the image of creation can be gray level image, be also possible to color image, specific sum of the grayscale values value of color with Meaning setting.For example, width size blank image identical with original image, the i.e. picture of all pixels of blank image can be created Plain value is any one in 0~255.
Wherein, it draws burnt center to can be any one pixel in original image, can be the center of original image, It can not be the center of original image.Clear area is the region in original image centered on drawing burnt center.It clear area can To be arbitrary shape, such as circle, square, rectangle, ellipse etc..
Wherein, when original image is grayscale image, pixel value includes gray value;The pixel value for then determining the first pixel is original The pixel value of the second pixel in beginning image includes:
The gray value for determining the first pixel is the gray value of the second pixel in original image.
When original image is cromogram, pixel value includes R value, G value, B value;The pixel value for then determining the first pixel is original The pixel value of the second pixel in beginning image includes:
The R value for determining the first pixel is the R value of the second pixel in original image;
The G value for determining the first pixel is the G value of the second pixel in original image;
The B value for determining the first pixel is the B value of the second pixel in original image.
Wherein, the pixel value of the second pixel in original image is carried out burnt processing is drawn to obtain drawing Jiao Chu according to drawing burnt center Value after reason includes:
According to the second pixel and the first distance between burnt center is drawn to calculate drawing defocus distance;
Burnt treated value is drawn according to drawing defocus distance to calculate.
Wherein, calculating drawing defocus distance according to the first distance between the second pixel and the burnt center of drawing includes:
According to formulaIt calculates and draws defocus distance;
Wherein,D is to draw defocus distance, and L is the second pixel and draws between burnt center First distance, k be original image amplification factor square root, x1i be row of i-th of second pixels in original image Number, y1i are columns of i-th of second pixels in original image, and xO is the line number for drawing burnt center in original image, and yO is to draw Columns of the burnt center in original image.
Wherein, draw that burnt treated that value includes: according to drawing defocus distance to calculate
Determine the third pixel in original image;Wherein, third pixel is located across the straight of the second pixel and the center La Jiao On line, and the second distance between third pixel and the burnt center of drawing is greater than or equal to first distance and draws the difference between defocus distance Value, and it is less than or equal to first distance;
According to the pixel value of third pixel and draw defocus distance to calculate to draw burnt treated value.
Wherein it is determined that the third pixel in original image includes:
According to formulaWith Determine third pixel;
Alternatively, according to formulaWith Determine third pixel;
Wherein, x2j is line number of j-th of third pixel in original image, and y2j is j-th of third pixel in original graph Columns as in.
Wherein, it according to the pixel value of third pixel and draws defocus distance to calculate to draw that burnt treated that value includes:
According to formulaIt calculates and draws burnt treated value;
Wherein, piFor burnt treated the gray value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th The gray value of third pixel;
Alternatively, piFor burnt treated the R value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th of third The R value of pixel;
Alternatively, piFor burnt treated the G value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th of third The G value of pixel;
Alternatively, piFor burnt treated the B value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th of third The B value of pixel.
Wherein, Wj can also can take different values for the second different pixels with value for 1.
Wherein, when original image is grayscale image, pixel value includes gray value;The pixel value for then determining the first pixel is to draw It is burnt that treated that value includes:
The gray value of the first pixel is determined to draw burnt treated gray value.
When original image is cromogram, pixel value includes R value, G value, B value;The pixel value for then determining the first pixel is to draw It is burnt that treated that value includes:
The R value of the first pixel is determined to draw burnt treated R value;
The G value of the first pixel is determined to draw burnt treated G value;
The B value of the first pixel is determined to draw burnt treated B value.
Wherein, position of first pixel in the image of creation packet identical as position of second pixel in original image It includes:
Line number of first pixel in the image of creation is identical as line number of second pixel in original image, and the first picture Columns of the element in the image of creation is identical as columns of second pixel in original image.
Burnt processing method is drawn provided by the embodiment of the present invention, by the effect of reverse side vice screen, so that prior art side Original image draw in burnt treatment process in the case where not influencing user's sight in case, easily carries out drawing burnt processing, from And it improves and draws the burnt effect taken pictures.
Fig. 6 is a kind of module diagram of terminal of the present invention, the terminal include obtain module 601, determining module 602, Setup module 603 draws burnt module 604, memory 605 and processor 606, above-mentioned functional module depositing actually with program code It is stored in memory 605, and is executed by processor 606, to realize the step or method in above-described embodiment.It needs to illustrate It is that the terminal is double-sided screen terminal, there is positive main screen and reverse side vice screen.
It obtains module 601 and original image is obtained by cameras with fixed focus.
Specifically, the terminal preferably can be mobile terminal, such as it can be the mobile phone with touch function The terminals such as (mobile phone), iPad, notebook, and so-called cameras with fixed focus is the camera for having fixed-focus function in terminal.
Terminal is also referred to as terminal device, is the equipment for being in network outermost in computer network, is mainly used for user information Input and the output of processing result etc..In early stage computer system, due to main frame valuableness, a host Multiple terminals can be generally configured, these terminals itself do not have computing capability, only undertake the work of information input output, operation It is completed with processing by host.In the personal computer epoch, personal computer can run the program of referred to as terminal emulator To imitate the work of a terminal.With the development of mobile network, mobile terminal (such as mobile phone, PAD) has obtained widely answering With.At this point, terminal can not only undertake the work of input and output, while also can be carried out certain operation and processing, realize that part is System function.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet computer, POS machine, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases Machine and tablet computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the processing capacity of mobile terminal is Have powerful processing capacity, mobile terminal becomes an integrated information processing platform from simple call tool.This Also more wide development space is increased to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service between a flash and mainly creates New platform, new media, e-commerce and information service platform, Internet resources, mobile network resource and environmental interaction resource Most important hinge, operating system and processor chips even become the strategy system of current entire information and communication technology (ICT) industry High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, usually carry each Kind operating system can customize various functions according to user demand.In life common intelligent terminal include mobile intelligent terminal, Vehicle intelligent terminal, smart television, wearable device etc..
Determining module 602 is determined by the reverse side vice screen in the positive main screen in the drawing coke of the original image The heart.
Specifically, the drawing coke center selected on the terminal image, the touching instruction institute that can be inputted by receiving user Determining drawing coke center, or may be the drawing coke center of other input mode inputs.Wherein, terminal is double-sided screen terminal, Including positive main screen and reverse side vice screen, when the reverse side vice screen described in the user's finger contacts, the positive main screen is made to generate a light Mark, the cursor are moved as user's finger moves in the reverse side vice screen.
Preferably, after the certain point when user's finger in the reverse side vice screen stops preset time (such as 2 seconds), at this time Position of the corresponding cursor of finger on the original image is the drawing coke center of original image.It should be noted that due to User's finger can do the stop of preset time by any point in reverse side vice screen, then corresponding cursor can also appear in original graph As upper any position, that is, draw burnt center that can be determined in the movement of reverse side vice screen in the original image according to user's finger On any position.
Clear area is arranged according to the burnt center of the drawing in setup module 603.
It preferably, then will be in the positive main screen when user's finger slides an enclosed region in the reverse side vice screen The enclosed region that corresponding cursor is formed is as the clear area.And the clear area can be border circular areas, pros Shape region or other arbitrary shapes, those skilled in the art utilize technical idea of the invention, are proposed according to its specific requirements Other figures be within the scope of the invention, herein without exhaustive one by one.
Preferably, the step of center setting clear area burnt according to the drawing can also include: to establish a pressure First linear relationship of value and the area of the clear area;It obtains user's finger and is applied to the burnt supercentral pressure of the drawing Value;The area of the clear area is confirmed according to the pressure value and first linear relationship;Based on the clear area The clear area is arranged in area and the burnt center of the drawing.Specifically, a pressure value F and the clear area can be pre-established Area S linear relationship, i.e. S=KF, wherein K be positive number.Therefore at above-mentioned determining clear area, reverse side can be utilized simultaneously The pressure sensor configured under vice screen obtains the pressure F that user's finger is applied in the reverse side vice screen, further according to above-mentioned linear Relationship S=KF obtains the area S of the clear area.Using the burnt center of the drawing as the center of clear area, then can determine The clear area out.
Preferably, the step of center setting clear area burnt according to the drawing can also include: to establish finger contact Second linear relationship of the area of area and the clear area, the finger contact area are the user's finger and described anti- The contact area of face vice screen;Obtain contact area when user's finger is applied to described draw on burnt center with the reverse side vice screen; The area of the clear area is confirmed according to the contact area and second linear relationship;Face based on the clear area The clear area is arranged in the long-pending and described burnt center of drawing.Specifically, finger contact area s and described clear can be pre-established The linear relationship of the area S in region, i.e. S=Ks, wherein K is positive number.Therefore at above-mentioned determining clear area, it can utilize simultaneously The capacitance variations sensed under reverse side vice screen determine the contact area s of finger Yu reverse side vice screen, further according to above-mentioned linear relationship S =Ks obtains the area S of the clear area.Using the burnt center of the drawing as the center of clear area, then can determine described Clear area.
Burnt module 604 is drawn to carry out drawing burnt processing to other regions in the original image in addition to the clear area. It referring to fig. 4, is the demonstration effect figure of original image, Fig. 5 is to carry out drawing burnt treated effect picture to original image.Specifically :
Create width size image identical with original image;
The first pixel of each of image for creation is determined when judging that the first pixel is in clear area The pixel value of first pixel is the pixel value of the second pixel in original image;
When judging the first pixel not in clear area, according to the burnt center of drawing to the second pixel in original image Pixel value draw burnt processing to obtain drawing burnt treated value, determines the pixel value of the first pixel to draw coke treated value;
Wherein, position of first pixel in the image of creation is identical as position of second pixel in original image.
Wherein, the image of creation can be gray level image, be also possible to color image, specific sum of the grayscale values value of color with Meaning setting.For example, width size blank image identical with original image, the i.e. picture of all pixels of blank image can be created Plain value is any one in 0~255.
Wherein, it draws burnt center to can be any one pixel in original image, can be the center of original image, It can not be the center of original image.Clear area is the region in original image centered on drawing burnt center.It clear area can To be arbitrary shape, such as circle, square, rectangle, ellipse etc..
Wherein, when original image is grayscale image, pixel value includes gray value;The pixel value for then determining the first pixel is original The pixel value of the second pixel in beginning image includes:
The gray value for determining the first pixel is the gray value of the second pixel in original image.
When original image is cromogram, pixel value includes R value, G value, B value;The pixel value for then determining the first pixel is original The pixel value of the second pixel in beginning image includes:
The R value for determining the first pixel is the R value of the second pixel in original image;
The G value for determining the first pixel is the G value of the second pixel in original image;
The B value for determining the first pixel is the B value of the second pixel in original image.
Wherein, the pixel value of the second pixel in original image is carried out burnt processing is drawn to obtain drawing Jiao Chu according to drawing burnt center Value after reason includes:
According to the second pixel and the first distance between burnt center is drawn to calculate drawing defocus distance;
Burnt treated value is drawn according to drawing defocus distance to calculate.
Wherein, calculating drawing defocus distance according to the first distance between the second pixel and the burnt center of drawing includes:
According to formulaIt calculates and draws defocus distance;
Wherein,D is to draw defocus distance, and L is the second pixel and draws between burnt center First distance, k be original image amplification factor square root, x1i be row of i-th of second pixels in original image Number, y1i are columns of i-th of second pixels in original image, and xO is the line number for drawing burnt center in original image, and yO is to draw Columns of the burnt center in original image.
Wherein, draw that burnt treated that value includes: according to drawing defocus distance to calculate
Determine the third pixel in original image;Wherein, third pixel is located across the straight of the second pixel and the center La Jiao On line, and the second distance between third pixel and the burnt center of drawing is greater than or equal to first distance and draws the difference between defocus distance Value, and it is less than or equal to first distance;
According to the pixel value of third pixel and draw defocus distance to calculate to draw burnt treated value.
Wherein it is determined that the third pixel in original image includes:
According to formulaWithReally Determine third pixel;
Alternatively, according to formulaWith Determine third pixel;
Wherein, x2j is line number of j-th of third pixel in original image, and y2j is j-th of third pixel in original graph Columns as in.
Wherein, it according to the pixel value of third pixel and draws defocus distance to calculate to draw that burnt treated that value includes:
According to formulaIt calculates and draws burnt treated value;
Wherein, piFor burnt treated the gray value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th The gray value of third pixel;
Alternatively, piFor burnt treated the R value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th of third The R value of pixel;
Alternatively, piFor burnt treated the G value of drawing of i-th second pixels, Wj is weight, p (x2j,y2 j) it is j-th of third The G value of pixel;
Alternatively, piFor burnt treated the B value of drawing of i-th second pixels, Wj is weight, p (x2j,y2j) it is j-th of third The B value of pixel.
Wherein, Wj can also can take different values for the second different pixels with value for 1.
Wherein, when original image is grayscale image, pixel value includes gray value;The pixel value for then determining the first pixel is to draw It is burnt that treated that value includes:
The gray value of the first pixel is determined to draw burnt treated gray value.
When original image is cromogram, pixel value includes R value, G value, B value;The pixel value for then determining the first pixel is to draw It is burnt that treated that value includes:
The R value of the first pixel is determined to draw burnt treated R value;
The G value of the first pixel is determined to draw burnt treated G value;
The B value of the first pixel is determined to draw burnt treated B value.
Wherein, position of first pixel in the image of creation packet identical as position of second pixel in original image It includes:
Line number of first pixel in the image of creation is identical as line number of second pixel in original image, and the first picture Columns of the element in the image of creation is identical as columns of second pixel in original image.
Burnt processing method is drawn provided by the embodiment of the present invention, by the effect of reverse side vice screen, so that prior art side Original image draw in burnt treatment process in the case where not influencing user's sight in case, easily carries out drawing burnt processing, from And it improves and draws the burnt effect taken pictures.
Fig. 7 is the composed structure schematic diagram of terminal of the present invention, as shown in fig. 7, the terminal includes at least: memory 701, Communication bus 702 and processor 703, the terminal are double-sided screen terminal, including positive main screen and reverse side vice screen, in which:
The memory 701 draws burnt processing routine for storing;
The communication bus 702, for realizing the connection communication between processor and memory;
The processor 703, for executing the drawing coke processing routine stored in memory, to realize as described in above-mentioned Fig. 3 Step.
The present invention also provides a kind of computer readable storage mediums.It is burnt that drawing is stored on the computer readable storage medium Processing routine, the drawing burnt processing routine realize step as described above when being executed by processor.
It should be noted that the description of the above terminal embodiment, be with the description of above method embodiment it is similar, have The similar beneficial effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing above-mentioned drawing Jiao Chu in the form of software function module Reason method, and when sold or used as an independent product, it also can store in a computer readable storage medium.Base In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a calculating equipment (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention does not limit It is combined in any specific hardware and software.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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 present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
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 (10)

1. a kind of burnt processing method of drawing, is applied to terminal, the terminal includes positive main screen and reverse side vice screen, which is characterized in that The described method includes:
Original image is obtained by cameras with fixed focus;
The drawing coke center of the original image is determined in the positive main screen by the reverse side vice screen;
According to the drawing burnt center, clear area is set;
Other regions in the original image in addition to the clear area are carried out drawing burnt processing.
2. as described in claim 1 draw burnt processing method, which is characterized in that the described method includes:
When the reverse side vice screen described in the user's finger contacts, the positive main screen is set to generate a cursor, the cursor is with user Finger is moved in the reverse side vice screen and is moved.
3. as claimed in claim 2 draw burnt processing method, which is characterized in that it is described by the reverse side vice screen in the front The step of drawing coke center of the determining original image, includes: in main screen
After certain point of the user's finger in the reverse side vice screen stops preset time, the corresponding cursor of the finger is described Position on original image is the drawing coke center of the original image.
4. as claimed in claim 2 draw burnt processing method, which is characterized in that described that circle of good definition is arranged according to the burnt center of the drawing The step of domain includes:
When user's finger slides an enclosed region in the reverse side vice screen, then by corresponding cursor shape in the positive main screen At enclosed region as the clear area.
5. as claimed in claim 3 draw burnt processing method, which is characterized in that described that circle of good definition is arranged according to the burnt center of the drawing The step of domain includes:
Establish the first linear relationship of the area of a pressure value and the clear area;
It obtains user's finger and is applied to the burnt supercentral pressure value of the drawing;
The area of the clear area is confirmed according to the pressure value and first linear relationship;
The clear area is arranged in the burnt center of area and the drawing based on the clear area.
6. as claimed in claim 3 draw burnt processing method, which is characterized in that described that circle of good definition is arranged according to the burnt center of the drawing The step of domain includes:
The second linear relationship of the area of finger contact area and the clear area is established, the finger contact area is described The contact area of user's finger and the reverse side vice screen;
Obtain contact area when user's finger is applied to described draw on burnt center with the reverse side vice screen;
The area of the clear area is confirmed according to the contact area and second linear relationship;
The clear area is arranged in the burnt center of area and the drawing based on the clear area.
7. as described in claim 1 draw burnt processing method, which is characterized in that described described clear to being removed in the original image Other regions except region draw burnt the step of handling to include:
Create width size image identical with the original image;
The first pixel of each of image for creation, when judging that first pixel is in the clear area, The pixel value for determining first pixel is the pixel value of the second pixel in the original image;
When judging first pixel not in the clear area, according to the burnt center of the drawing in the original image The pixel value of the second pixel draw burnt processing to obtain drawing burnt treated value, determine the pixel value of first pixel for institute State burnt treated the value of drawing;
Wherein, first pixel in the image of the creation position and second pixel in the original image Position is identical.
8. as claimed in claim 7 draw burnt processing method, which is characterized in that it is described according to drawings coke center to described original The step of pixel value of the second pixel in image draw burnt processing to obtain drawing burnt treated value include:
It calculates according to second pixel and the first distance drawn between burnt center and draws defocus distance;
Determine the third pixel in the original image;Wherein, the third pixel is located across second pixel and described On the straight line for drawing burnt center, and the third pixel and the second distance drawn between burnt center are more than or equal to described first Distance and the difference drawn between defocus distance, and it is less than or equal to the first distance;
Calculating drawings according to the pixel value of the third pixel and the drawing defocus distance, burnt treated is worth.
9. a kind of terminal, which is characterized in that the terminal includes at least: memory, communication bus and processor, in which:
The memory draws burnt processing routine for storing;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the drawing coke processing routine stored in memory, to realize as described in claim 1 to 8 The step of drawing burnt processing method.
10. a kind of computer readable storage medium, the burnt processing routine of drawing is stored on the computer readable storage medium, it is described The step of drawing burnt processing routine to realize the drawing coke processing method as described in claim 1 to 8 when being executed by processor.
CN201811009273.7A 2018-08-31 2018-08-31 A kind of burnt processing method of drawing, terminal and computer readable storage medium Pending CN108989685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811009273.7A CN108989685A (en) 2018-08-31 2018-08-31 A kind of burnt processing method of drawing, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811009273.7A CN108989685A (en) 2018-08-31 2018-08-31 A kind of burnt processing method of drawing, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108989685A true CN108989685A (en) 2018-12-11

Family

ID=64547784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811009273.7A Pending CN108989685A (en) 2018-08-31 2018-08-31 A kind of burnt processing method of drawing, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108989685A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872271A (en) * 2019-01-28 2019-06-11 努比亚技术有限公司 A kind of image processing method, terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014104034A1 (en) * 2012-12-25 2014-07-03 京セラ株式会社 Portable terminal device, lock release method and program
CN105045502A (en) * 2015-06-29 2015-11-11 努比亚技术有限公司 Image processing method and image processing device
CN105183236A (en) * 2015-10-19 2015-12-23 上海交通大学 Touch screen input device and method
CN106791403A (en) * 2016-12-23 2017-05-31 努比亚技术有限公司 It is a kind of to realize drawing the burnt method and apparatus taken pictures
CN107526515A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of method and electronic equipment of focusing of taking pictures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014104034A1 (en) * 2012-12-25 2014-07-03 京セラ株式会社 Portable terminal device, lock release method and program
CN105045502A (en) * 2015-06-29 2015-11-11 努比亚技术有限公司 Image processing method and image processing device
CN105183236A (en) * 2015-10-19 2015-12-23 上海交通大学 Touch screen input device and method
CN107526515A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of method and electronic equipment of focusing of taking pictures
CN106791403A (en) * 2016-12-23 2017-05-31 努比亚技术有限公司 It is a kind of to realize drawing the burnt method and apparatus taken pictures

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872271A (en) * 2019-01-28 2019-06-11 努比亚技术有限公司 A kind of image processing method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106572302B (en) A kind of image information processing method and equipment
CN106453941B (en) Double screen operating method and mobile terminal
CN106249988A (en) A kind of display packing and terminal
CN106909274A (en) A kind of method for displaying image and device
CN106569596A (en) Gesture control method and equipment
CN109040370A (en) A kind of fingerprint identification method, terminal and computer readable storage medium
CN106569709A (en) Device and method for controlling mobile terminal
CN105898264B (en) A kind of acquisition apparatus and method of image procossing mode
CN106535228A (en) System upgrading device and method
CN108989674A (en) A kind of browsing video method, terminal and computer readable storage medium
CN107092418A (en) The terminal and method of operation application suspension windows
CN106095264B (en) Special display effect device and method
CN105302441B (en) A kind of screen size adjusting method and terminal device
CN107133508A (en) Application management method and mobile terminal
CN106875347A (en) A kind of picture processing device and method
CN107132967A (en) Startup method and device, storage medium, the terminal of a kind of application
CN108848272A (en) A kind of camera call method, flexible terminal and computer readable storage medium
CN106973226A (en) A kind of image pickup method and terminal
CN106658288A (en) Method for controlling playing of loudspeaker, and mobile terminal
CN107071161A (en) The aggregation display method and mobile terminal of icon in a kind of status bar
CN108668085A (en) A kind of auxilary focusing method, terminal and computer readable storage medium
CN106547674A (en) A kind of fingerprint input method, device and terminal
CN106125898A (en) The method and device of screen rotation
CN106227454B (en) A kind of touch trajectory detection system and method
CN107071275A (en) A kind of image combining method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211