CN108093164A - A kind of method and device for realizing image procossing - Google Patents

A kind of method and device for realizing image procossing Download PDF

Info

Publication number
CN108093164A
CN108093164A CN201611032083.8A CN201611032083A CN108093164A CN 108093164 A CN108093164 A CN 108093164A CN 201611032083 A CN201611032083 A CN 201611032083A CN 108093164 A CN108093164 A CN 108093164A
Authority
CN
China
Prior art keywords
image
burnt
processing
intake
center
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
CN201611032083.8A
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 CN201611032083.8A priority Critical patent/CN108093164A/en
Publication of CN108093164A publication Critical patent/CN108093164A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

A kind of method and device for realizing image procossing, including:Determine one or more centers that coke is drawn to handle of intake image;Intake image is carried out drawing burnt processing according to the center of the definite burnt processing of drawing.The embodiment of the present invention carries out drawing burnt processing according to the center of the burnt effect of the drawing determined to intake image, in the case of without the photographic device of specialty, obtains the drawing coke effect of intake image, improves the experience that user carries out image taking using mobile terminal.

Description

A kind of method and device for realizing image procossing
Technical field
Present document relates to but be not limited to image processing techniques, espespecially a kind of method and device for realizing image procossing.
Background technology
When being shot by the camera (such as slr camera) of specialty, user sometimes by draw burnt shooting come Enhance the display effect of image;Burnt shooting is drawn to include:During shooting, camera lens is moved to nearly coke or by mirror from remote coke Head shifts remote coke onto from nearly coke, realizes the display processing of image by the movement of camera lens, two kinds are drawn burnt processing to be taken the photograph in display processing Lines extending direction is different when the pixel of image being taken to spread, i.e. the dispersal direction of pixel is different;Fig. 1 is drawn in correlation technique The schematic diagram of coke shooting, as shown in Figure 1, when pixel is spread in intake image lines extension methods be by distance camera shooting user compared with Far extend to the nearer direction of distance intake user, realize by remote burnt to the burnt processing of nearly burnt drawing.
At present, draw burnt shooting that can only be obtained by the capture apparatus of specialty, and professional equipment is of high cost, portability is poor, The daily shooting demand of user can not be met;And it is accustomed to carrying out image by portable mobile terminal (including mobile phone, tablet etc.) The user of shooting, can not although image taking can be realized by portable mobile terminal under conditions of cost is controllable Realize the shooting experience that the mobile terminal of burnt processing is drawn to affect user.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not, It encloses.
The embodiment of the present invention provides a kind of method and device for realizing image procossing, and mobile terminal can be used to realize and draw coke Processing improves user and shoots experience.
An embodiment of the present invention provides a kind of device for realizing image procossing, including:Determination unit and processing unit;Its In,
The determination unit is used for, and determines one or more centers that coke is drawn to handle of intake image;
The processing unit is used for, and drawing Jiao Chu is carried out to the intake image according to the center of the burnt processing of the definite drawing Reason.
Optionally, the intake image includes:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
Optionally, the determination unit is specifically used for,
One or more are preset to the intake image and carries out the center for drawing burnt processing;Or,
According to the external command of reception determine to carry out the intake image it is described draw burnt processing one or more Center.
Optionally, the processing unit is specifically used for,
To determine the intake image to be carried out the burnt center handled is drawn as initial position according to default to be prolonged It stretches direction and the pixel of the intake image is diffused processing;
By the image superposition that pixel DIFFUSION TREATMENT obtains into the intake image, the burnt processing of the drawing is completed.
Optionally, the pixel of the intake image is diffused place by the processing unit according to default extending direction Reason includes:
To determine draw the burnt center handled as initial position to the intake image, according to described default Extending direction, extend the pixel to default amplification factor or diminution percentage with reference to the degree information of default line;
The degree information of the line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of the line includes:According to the colouring information of linear function variation or according to non-linear The colouring information of function variation.
On the other hand, the embodiment of the present invention also provides a kind of method for realizing image procossing, including:
Determine one or more centers that coke is drawn to handle of intake image;
The intake image is carried out drawing burnt processing according to the center of the burnt processing of the definite drawing.
Optionally, the intake image includes:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
Optionally, one or more centers that coke is drawn to handle of the definite intake image include:
One or more are preset to the intake image and carries out the center for drawing burnt processing;Or,
According to the external command of reception determine to carry out the intake image it is described draw burnt processing one or more Center.
Optionally, described pair of intake image carries out that burnt processing is drawn to include:
To determine the intake image to be carried out the burnt center handled is drawn as initial position according to default to be prolonged It stretches direction and the pixel of the intake image is diffused processing;
By the image superposition that pixel DIFFUSION TREATMENT obtains into the intake image, the burnt processing of the drawing is completed.
Optionally, it is described that the pixel of the intake image is diffused processing and included according to default extending direction:
To determine draw the burnt center handled as initial position to the intake image, according to described default Extending direction, extend the pixel to default amplification factor with reference to the degree information of default line;
The degree information of the line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of the line includes:According to the colouring information of linear function variation or according to non-linear The colouring information of function variation.
Compared with correlation technique, technical scheme includes:Determine one or more drawings Jiao Chu of intake image The center of reason;Intake image is carried out drawing burnt processing according to the center of the definite burnt processing of drawing.The embodiment of the present invention is according to definite The center of the burnt effect of drawing intake image is carried out drawing burnt processing, in the case of without the photographic device of specialty, taken the photograph The drawing coke effect of image is taken, improves the experience that user carries out image taking using mobile terminal.
After reading and understanding attached drawing and being described in detail, it can be appreciated that other aspects.
Description of the drawings
Fig. 1 is the schematic diagram that burnt shooting is drawn in correlation technique;
The hardware architecture diagram of Fig. 2 mobile terminals of each embodiment to realize the present invention;
Fig. 3 is the block diagram of the essential electrical structure of the camera of the embodiment of the present invention;
Fig. 4 is the flow chart for the method that the embodiment of the present invention realizes image procossing;
Fig. 5 is the parameter setting interface schematic diagram that the embodiment of the present invention draws burnt processing;
Fig. 6 is the diffusion schematic diagram of pixel when a kind of drawing coke of the embodiment of the present invention is handled;
Fig. 7 is the diffusion schematic diagram of pixel when another embodiment of the present invention draws burnt processing;
Fig. 8 is the curve synoptic diagram of nonlinear function of the embodiment of the present invention;
Fig. 9 is the flow chart for the method that another embodiment of the present invention realizes image procossing;
Figure 10 is the structure diagram for the device that the embodiment of the present invention realizes image procossing.
Specific embodiment
Understand to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application Feature can mutually be combined.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For representing the suffix of such as " module ", " component " or " unit " of element only for being conducive to the explanation of the present 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 can 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), guider 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 except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 2 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 can include A/V (audio/video) input unit 120, user input unit 130, output unit 150th, memory 160, controller 180 and power supply unit 190 etc..Fig. 2 shows the mobile terminal with various assemblies, still It should be understood that, it is not required that implement all components shown.More or fewer components can alternatively be implemented.It will be below The element of mobile terminal is described in detail.
A/V input units 120 are used to receive audio or video signal.A/V input units 120 can include camera 121, phase Machine 121 in video acquisition mode or image capture mode by image capture apparatus obtain static images or video image Data are handled.Treated, and picture frame may be displayed on display unit 151.Through camera 121, treated that picture frame can To be stored in memory 160 (or other storage mediums), two or more cameras can be provided according to the construction of mobile terminal 1210。
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user Kind operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, sensitive component of detection variation of resistance, pressure, capacitance etc. caused by by contact), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch-screen can be formed.
Output unit 150 is configured to provide output signal (for example, audio is believed with vision, audio and/or tactile manner Number, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151.
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 be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch-screen when, display unit 151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence so that user to be allowed to be watched 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 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch Input pressure and touch input position and touch input area.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can be stored on the vibrations of various modes and audio signal exported when touching and be applied to touch-screen Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can be with performing memory by network connection The network storage device cooperation of 160 store function.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 performs and voice communication, data Communication, video calling etc. relevant control and processing.Controller 180 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.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Appropriate electric power needed for part and component.
Various embodiments described herein can with use such as computer software, hardware or any combination thereof calculating Machine readable medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, microcontroller, microprocessor, are designed to perform function described herein controller 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 be with allowing to perform 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 appropriate programming language Lai Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.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 2 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.
Fig. 3 is the block diagram of the essential electrical structure of the camera of the embodiment of the present invention.Phtographic lens 701 is shot by being used to be formed Multiple optical lens of body image are formed, and are single-focus lens or zoom lens, wherein in the present embodiment, phtographic lens 701 is Two.Phtographic lens 701 can in the direction of the optical axis be moved by lens driving portion 711, according to from lens driving control unit 712 control signal controls the focal position of phtographic lens 701, in the case of zoom lens, also controls focal length.Mirror Head drive control circuit 712 carries out the drive control in lens driving portion 711 according to the control command from microcomputer 707.
It is formed on the optical axis of phtographic lens 701, by phtographic lens 701 near the position of shot object image and is configured with camera shooting member Part 702.Photographing element 702 is played as being imaged to shot object image and obtain the function of the image pickup part of image data.It is taking the photograph The photodiode for forming each pixel is two-dimensionally arranged in a matrix on element 702.Each photodiode generates and light Corresponding opto-electronic conversion electric current is measured, which carries out charge accumulation by the capacitor being connected with each photodiode. The front surface of each pixel is configured with the RGB colour filters of bayer arrangement.
Photographing element 702 is connected with imaging circuit 703, which carries out charge accumulation in photographing element 702 Control and picture signal read control, and the picture signal (analog picture signal) of the reading is reduced and resets the laggard traveling wave shape of noise Shaping, and then gain raising etc. is carried out to become appropriate signal level.Imaging circuit 703 turns with Analog-digital Converter (A/D) It changes portion 704 to connect, which carries out analog-to-digital conversion to analog picture signal, to 199 output digital image of bus believes Number (hereinafter referred to as image data).
Bus 199 is for being transmitted in the transmitting path for the various data that the inside of camera reads or generates.In bus 199 Be connected to above-mentioned A/D converter sections 704, be additionally connected to image processor 705, jpeg processor 706, microcomputer 707, Dynamic RAM (SDRAM, Synchronous DRAM) 708, memory interface (hereinafter referred to as memory I/F) 709th, liquid crystal display (LCD, Liquid Crystal Display) driver 710.
Image processor 705 carries out OB to the image data of the output based on photographing element 702 and subtracts each other processing, white balance tune Whole, color matrix computing, gamma conversion, colour difference signal processing, noise removal process while to change processing, edge treated etc. various Image procossing.Jpeg processor 706 when by Imagery Data Recording in recording medium 715, according to JPEG compression mode compress from The image data that SDRAM 708 is read.In addition, jpeg processor 706 carries out jpeg image in order to which image reproducing is carried out to show The decompression of data.When unziping it, the file being recorded in recording medium 715 is read, is implemented in jpeg processor 706 After decompression, the image data of decompression is temporarily stored in SDRAM708 and is shown on LCD716.Separately Outside, in the present embodiment, mode is decompressed using JPEG modes as compression of images, however compressed and decompressed mode is unlimited In this, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 707 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera Sequence.Microcomputer 707 is connected to operating unit 713 and flash memory 714.
Operating unit 713 includes but not limited to physical button or virtual key, and the entity or virtual key can be electricity Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, The operation portions material such as the various load buttons such as large buttons and various enter keys detects the mode of operation of these operation portion materials.
Testing result is exported to microcomputer 707.In addition, the LCD716 as display unit front surface be equipped with touch Panel is touched, detects the touch location of user, which is exported to microcomputer 707.Microcomputer 707 is according to next From the testing result of the operation portion material of operating unit 713, various processing sequences corresponding with the operation of user are performed.Equally, this Place can be testing result of the computer 707 according to the touch panel before LCD716, perform corresponding with the operation of user each Kind processing sequence.)
Flash memory 714 stores to perform the program of the various processing sequences of microcomputer 707.Microcomputer 707 The control of camera entirety is carried out according to the program.In addition, flash memory 714 stores the various adjusted values of camera, microcomputer 707 is read Adjusted value carries out the control of camera according to the adjusted value.
SDRAM 708 be for image data etc. temporarily stored can electricity rewrite volatile memory.It should SDRAM708 temporarily storages are from the image data of the output of A/D converter sections 704 and in image processor 705, jpeg processor 706 etc. In the image data that carried out that treated.
Memory interface 709 is connected with recording medium 715, into the file be about to image data He be attached in image data First-class data write-in recording medium 715 and the control read from recording medium 715.Recording medium 715 is, for example, can be in phase The recording mediums such as memory card of disassembled and assembled freely on owner's body, however it is without being limited thereto or be built in camera main-body Hard disk etc..
LCD driver 710 is connected with LCD716, will treated that image data is stored in by image processor 705 SDRAM reads the image data of SDRAM storages and is shown on LCD716, alternatively, jpeg processor 706 is pressed, it is necessary to when showing The image data to contract is stored in SDRAM, and when needing display, jpeg processor 706 reads the compressed picture number of SDRAM According to, then unzip it, the image data after decompression is shown by LCD716.
LCD716 is configured on back side of camera main-body etc., is performed image display.The LCD716 is equipped with touching for detection user Touch the touch panel of operation.In addition, as display unit, what is configured in the present embodiment is that liquid crystal represents panel (LCD716), so And it is without being limited thereto, the various display panels such as organic EL can also be used.
Based on above-mentioned mobile terminal hardware configuration and camera, each embodiment of the method for the present invention is proposed.
Fig. 4 is the flow chart for the method that the embodiment of the present invention realizes image procossing, as shown in figure 4, including:
Step 400, one or more centers that coke is drawn to handle for determining intake image;
Optionally, intake of embodiment of the present invention image can include:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
It should be noted that carrying out example using mobile phone as the terminal comprising camera, the embodiment of the present invention is being absorbed Image can include camera it is in running order when, the content of shooting that is obtaining;The image preserved after having been taken can To include:By the image preserved after shooting button completion shooting, handled after image taking by picture and apply processed figure Picture, such as through the one of which such as overexposure, acutance, clarity, transparency or the processed image of multinomial method.Shooting is completed The image preserved afterwards can also download the image obtained.
Optionally, the embodiment of the present invention, determining one or more centers that coke is drawn to handle of intake image includes:
One or more are preset to intake image to carry out drawing the burnt center handled;Or,
According to the external command of reception determine that intake image is carried out to draw burnt one or more centers handled.
It carries out drawing burnt one or more centers handled can it should be noted that the embodiment of the present invention is preset To be the center of default setting, the center of default setting can include the corresponding center set respectively for different scenes;Example As, using nine grids absorb image when, if shooting main center position horizontal level up 1/3rd lean-with Put, then carry out drawing the burnt center handled can be defaulted as horizontal level up 1/3rd middle position;If shooting Main center position horizontal level up 2/3rds middle position, then carry out drawing the burnt center handled can write from memory Think horizontal level up 2/3rds middle position;The main body of different scenes shooting can carry out true according to user setting It is fixed.The embodiment of the present invention can also determine the main body of shooting by the mode of focusing, by the center of the main body determined in focus process Position is as the center for drawing burnt processing;When including multiple main bodys in intake image of the embodiment of the present invention, focus process can be passed through Center of the center of definite main body as the burnt processing of each drawing.The embodiment of the present invention only draws burnt processing comprising one During center, the center of burnt processing is drawn to can also be the center of intake image, determined after drawing the center of burnt processing, all lines are all It can extend and mutually be sent to this center;At this moment, carry out drawing the burnt drawing coke effect handled using the embodiment of the present invention, it is special with using The center of the burnt effect of drawing when the photographic device of industry carries out image taking and lines extension mode are not had any different.
In addition, the embodiment of the present invention can also determine to carry out drawing burnt one or one handled by the external command of reception More than center;By taking the device for absorbing image includes touch screen as an example, drawing Jiao Chu is carried out by the instruction selection of touch screen input selection One or more centers of reason.
Step 401 carries out drawing burnt processing according to the center of the burnt processing of the drawing determined to intake image.
Optionally, intake image is carried out that burnt processing is drawn to include:
It, will according to default extending direction to determine draw the burnt center handled as initial position to intake image The pixel of intake image is diffused processing;
By the image superposition that pixel DIFFUSION TREATMENT obtains into intake image, complete to draw burnt processing.
It should be noted that extending direction of the embodiment of the present invention can move camera lens closely from remote coke to according in correlation technique Camera lens from nearly coke is shifted onto the drawing coke process of remote coke and is configured by coke, moves camera lens closely from remote coke to if necessary to realize Burnt drawing coke effect, then extending direction can be the direction to draw near or can be understood as progressively becoming near from user's sight Direction;Camera lens is shifted to the drawing coke effect of remote coke if necessary to realize from nearly coke onto, then extending direction can be from the close-by examples to those far off Direction can be understood as progressively becoming remote direction from user's sight.
Optionally, the pixel for absorbing image being diffused processing according to default extending direction can include:
To determine intake image draw the burnt center handled as initial position, according to default extending direction, Extend pixel to default amplification factor with reference to the degree information of default line;
The degree information of line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
Fig. 5 is the parameter setting interface schematic diagram that the embodiment of the present invention draws burnt processing, as shown in figure 5, passing through parameter setting The drawing coke effect for moving nearly coke to from remote coke can be selected still to shift remote burnt drawing coke effect onto from nearly coke;Boolean's switch is in it It represents to move nearly burnt drawing coke effect to from remote coke during middle one side;It represents to shift remote coke onto from nearly coke when boolean's switch is in opposite side Draw burnt effect;Amplification factor can carry out stroke confirmation with numeral input or by a scale column;The length of line can be digital defeated Enter or stroke confirmation is carried out by a scale column;The embodiment of the present invention, can be to taking the photograph after the parameter for drawing burnt processing is set Image is taken to be directly realized by the burnt effect of drawing to show.While burnt effect is drawn in display, user further includes adjusting parameter, and acquisition is more managed The drawing coke effect thought.
The embodiment of the present invention, default amplification factor can according to by camera lens from remote coke move to nearly burnt processing or by camera lens from When nearly coke shifts remote burnt processing onto, the ratio for absorbing the pixel in image and completing the pixel of diffusion is determined;It is default Amplification factor can according to by camera lens from remote coke move nearly burnt processing to when, absorb the pixel in image and complete to spread and be superimposed Ratio to the pixel of intake image is determined;If draw burnt processing, the pixel for having 1/3rd in image is absorbed The intake image that spreads and be added to is completed, then default amplification factor can be 3.Fig. 6 draws coke for the embodiment of the present invention is a kind of The diffusion schematic diagram of pixel during processing, as shown in fig. 6, the drawing coke effect of remote coke is shifted in signal onto from nearly coke in figure, pixel 1 Size is multiplied by 1 unit length for 1 unit length;To achieve the effect that shift remote coke onto from nearly coke, pixel 1 is diffused as diffusion pixel After point 1, the size of diffusion pixel 1 is multiplied by 2 unit lengths for 2 unit lengths;I.e. amplification factor is 4, it is assumed that pixel 1 is spread When line length for L, extending direction, to direction extends farther out apart from user, passes through arrow table in figure from apart from user closer location Show.Fig. 7 is the diffusion schematic diagram of pixel when another embodiment of the present invention draws burnt processing, as shown in fig. 7, illustrating in figure from remote coke Move the drawing coke effect of nearly coke to, the size of pixel 2 is multiplied by 1 unit length for 1 unit length;Remote coke is shifted onto to reach from nearly coke Effect, after pixel 2 is diffused as diffusion pixel 2, the size of diffusion pixel 2 is multiplied by 2 unit lengths for 2 unit lengths; As original four times, it is assumed that when pixel 1 is spread the length of line for L, extending direction from apart from user farther out position to distance The nearlyer direction extension of user, is represented by arrow in figure.
The degree information of line of the embodiment of the present invention can include simultaneously:The length information of line and the color change information of line; The length information of line or the color change information of line can be set as default value, if the length information of line is default value, line Degree information is only it needs to be determined that the color change information of line;Similarly, if the color change information of line is according to default function The information of variation;Then the degree information of line is only it needs to be determined that the length information of line;The length information of line and the color of line become Corresponding default value can also be concurrently set by changing information, and when carrying out drawing burnt handle, the degree information of line is set without adjusting.This hair Length information, default amplification factor and the default extending direction of bright embodiment line define the parameter for drawing burnt processing, root The drawing coke effect of needs can be obtained according to above- mentioned information, the length information of line is drawn with camera shooting user using professional photographic device The push-and-pull of camera lens, can be by setting the technical staff that carry out drawing burnt effect shooting using specialty camera shooting apart from directly proportional during coke processing It is set based on experience value;The embodiment of the present invention, the color change information of line can be the variations defined according to linear function Information;Assuming that the starting point of definition wires is A, terminal is B (length of line is fixed at this time);The pixel brightness of starting point A is known as a (being exactly the colour brightness for absorbing image) at this moment can adjust the pixel brightness b of B points;And the face of the pixel between AB Colour brightness then takes the brightness value of AB points to carry out interpolation calculation and obtains;The colouring information changed according to nonlinear function can include: Gradual change relation function variation color, such as, negative exponential function;Fig. 8 is the curve synoptic diagram of nonlinear function of the embodiment of the present invention, As shown in figure 8, in Fig. 8 two nonlinear functions curve, transverse axis represent distance, the longitudinal axis represent change of color brightness speed, The variation of two nonlinear functions at the beginning is obvious, wherein, for 1 color of curve before crossing with curve 2, variation is very fast Soon, 2 color of curve changes very fast after crossing, and curve 1 and 2 colour switching of curve are increasingly slower, the embodiment of the present invention Only with colour brightness as an example, color change can also include the variations such as acutance, saturation degree, this will not be repeated here.
The embodiment of the present invention carries out drawing burnt processing according to the center of the burnt effect of the drawing determined to intake image, without specialty Photographic device in the case of, obtain intake image drawing coke effect, improve user using mobile terminal carry out image bat The experience taken the photograph.
Fig. 9 is the flow chart for the method that another embodiment of the present invention realizes image procossing, as shown in figure 9, including:
Step 900, the camera for enabling mobile terminal, and obtain intake image;
It should be noted that the embodiment of the present invention carries out example using mobile phone as the mobile terminal comprising camera;Intake Image can also include:By the image preserved after shooting button completion shooting, handled after image taking by picture at application The image managed, such as through the one of which such as overexposure, acutance, clarity, transparency or the processed image of multinomial method; Download the image obtained.
Step 901, one or more centers that coke is drawn to handle for determining intake image;
Optionally, the embodiment of the present invention determines that one or more centers that coke is drawn to handle of intake image include:
One or more are preset to intake image to carry out drawing the burnt center handled;Or,
According to the external command of reception determine that intake image is carried out to draw burnt one or more centers handled.
It carries out drawing burnt one or more centers handled can it should be noted that the embodiment of the present invention is preset To be the center of default setting, the center of default setting can include the corresponding center set respectively for different scenes;Example As, using nine grids absorb image when, if shooting main center position horizontal level up 1/3rd lean-with Put, then carry out drawing the burnt center handled can be defaulted as horizontal level up 1/3rd middle position;If shooting Main center position horizontal level up 2/3rds middle position, then carry out drawing the burnt center handled can write from memory Think horizontal level up 2/3rds middle position;The main body of different scenes shooting can carry out true according to user setting It is fixed.The embodiment of the present invention can also determine the main body of shooting by the mode of focusing, by the center of the main body determined in focus process Position is as the center for drawing burnt processing;When including multiple main bodys in intake image of the embodiment of the present invention, focus process can be passed through Center of the center of definite main body as the burnt processing of each drawing.The embodiment of the present invention only draws burnt processing comprising one During center, the center of burnt processing is drawn to can also be the center of intake image, determined after drawing the center of burnt processing, all lines are all It can extend and mutually be sent to this center;At this moment, carry out drawing the burnt drawing coke effect handled using the embodiment of the present invention, it is special with using The center of the burnt effect of drawing when the photographic device of industry carries out image taking and lines extension mode are not had any different.
In addition, the embodiment of the present invention can also determine to carry out drawing burnt one or one handled by the external command of reception More than center;By taking the device for absorbing image includes touch screen as an example, drawing Jiao Chu is carried out by the instruction selection of touch screen input selection One or more centers of reason.
Step 902, the center for draw burnt processing to intake image to determine are prolonged as initial position according to default It stretches direction and the pixel for absorbing image is diffused processing;
Step 903, by the image superposition that pixel DIFFUSION TREATMENT obtains into intake image, complete to draw burnt processing.
It should be noted that extending direction of the embodiment of the present invention can move camera lens closely from remote coke to according in correlation technique Camera lens from nearly coke is shifted onto the drawing coke process of remote coke and is configured by coke, moves camera lens closely from remote coke to if necessary to realize Burnt drawing coke effect, then extending direction can be the direction to draw near or can be understood as progressively becoming near from user's sight Direction;Camera lens is shifted to the drawing coke effect of remote coke if necessary to realize from nearly coke onto, then extending direction can be from the close-by examples to those far off Direction can be understood as progressively becoming remote direction from user's sight.
Optionally, the pixel for absorbing image being diffused processing according to default extending direction can include:
To determine intake image draw the burnt center handled as initial position, according to default extending direction, Extend pixel to default amplification factor with reference to the degree information of default line;
The degree information of line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
The embodiment of the present invention can determine that selection moves the drawing coke effect of nearly coke to still near from remote coke by parameter setting Coke shifts the drawing coke effect of remote coke onto;Such as boolean switchs the drawing coke effect for representing to move nearly coke to from remote coke when being in wherein one side; It represents to shift remote burnt drawing coke effect onto from nearly coke when boolean's switch is in opposite side;Amplification factor with numeral input or can pass through one A scale column carries out stroke confirmation;The length of line can carry out stroke confirmation with numeral input or by a scale column;The present invention Embodiment can be directly realized by intake image the burnt effect of drawing and show after the parameter for drawing burnt processing is set.It is drawn in display burnt While effect, user further includes adjusting parameter, obtains and more preferably draws burnt effect.
The embodiment of the present invention, default amplification factor can according to by camera lens from remote coke move nearly burnt processing to when, intake figure The ratio of the pixel of pixel and completion diffusion as in is determined;Default amplification factor can according to by camera lens from remote When coke moves nearly burnt processing to, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;If draw burnt processing, absorbing has 1/3rd pixel to complete the intake image that spreads and be added in image, Then default amplification factor can be 3.Similarly, the embodiment of the present invention, default diminution percentage can according to by camera lens near When coke shifts remote burnt processing onto, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;Default diminution percentage can according to by camera lens from it is near it is burnt to it is remote it is burnt handle when, absorb pixel in image and It completes diffusion and the ratio of the pixel for the intake image that is added to is determined;If draw burnt processing, absorbing in image has three / mono- pixel completes diffusion, then default diminution percentage can be 1/3rd.
The degree information of line of the embodiment of the present invention can include simultaneously:The length information of line and the color change information of line; The length information of line or the color change information of line can be set as default value, if the length information of line is default value, line Degree information is only it needs to be determined that the color change information of line;Similarly, if the color change information of line is according to default function The information of variation;Then the degree information of line is only it needs to be determined that the length information of line;The length information of line and the color of line become Corresponding default value can also be concurrently set by changing information, and when carrying out drawing burnt handle, the degree information of line is set without adjusting.This hair Length information, default amplification factor and the default extending direction of bright embodiment line define the parameter for drawing burnt processing, root The drawing coke effect of needs can be obtained according to above- mentioned information, the length information of line is drawn with camera shooting user using professional photographic device The push-and-pull of camera lens, can be by setting the technical staff that carry out drawing burnt effect shooting using specialty camera shooting apart from directly proportional during coke processing It is set based on experience value;The embodiment of the present invention, the color change information of line can be the variations defined according to linear function Information;Assuming that the starting point of definition wires is A, terminal is B (length of line is fixed at this time);The pixel brightness of starting point A is known as a (being exactly the colour brightness for absorbing image) at this moment can adjust the pixel brightness b of B points;And the face of the pixel between AB Colour brightness then takes the brightness value of AB points to carry out interpolation calculation and obtains;The colouring information changed according to nonlinear function can include: Gradual change relation function variation color, such as, negative exponential function;
The embodiment of the present invention carries out drawing burnt processing according to the center of the burnt effect of the drawing determined to intake image, without specialty Photographic device in the case of, obtain intake image drawing coke effect, improve user using mobile terminal carry out image bat The experience taken the photograph.
Figure 10 is the structure diagram for the device that the embodiment of the present invention realizes image procossing, as shown in Figure 10, including:It determines single Member and processing unit;Wherein,
Determination unit is used for, and determines one or more centers that coke is drawn to handle of intake image;
Optionally, intake image includes:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
It should be noted that carrying out example using mobile phone as the terminal comprising camera, the embodiment of the present invention is being absorbed Image can include camera it is in running order when, the content of shooting that is obtaining;The image preserved after having been taken can To include:By the image preserved after shooting button completion shooting, handled after image taking by picture and apply processed figure Picture, such as through the one of which such as overexposure, acutance, clarity, transparency or the processed image of multinomial method.Shooting is completed The image preserved afterwards can also download the image obtained.
Optionally, determination unit is specifically used for,
One or more are preset to intake image to carry out drawing the burnt center handled;Or,
According to the external command of reception determine that intake image is carried out to draw burnt one or more centers handled.
Processing unit is used for, and intake image is carried out drawing burnt processing according to the center of the definite burnt processing of drawing.
It carries out drawing burnt one or more centers handled can it should be noted that the embodiment of the present invention is preset To be the center of default setting, the center of default setting can include the corresponding center set respectively for different scenes;Example As, using nine grids absorb image when, if shooting main center position horizontal level up 1/3rd lean-with Put, then carry out drawing the burnt center handled can be defaulted as horizontal level up 1/3rd middle position;If shooting Main center position horizontal level up 2/3rds middle position, then carry out drawing the burnt center handled can write from memory Think horizontal level up 2/3rds middle position;The main body of different scenes shooting can carry out true according to user setting It is fixed.The embodiment of the present invention can also determine the main body of shooting by the mode of focusing, by the center of the main body determined in focus process Position is as the center for drawing burnt processing;When including multiple main bodys in intake image of the embodiment of the present invention, focus process can be passed through Center of the center of definite main body as the burnt processing of each drawing.The embodiment of the present invention only draws burnt processing comprising one During center, the center of burnt processing is drawn to can also be the center of intake image, determined after drawing the center of burnt processing, all lines are all It can extend and mutually be sent to this center;At this moment, carry out drawing the burnt drawing coke effect handled using the embodiment of the present invention, it is special with using The center of the burnt effect of drawing when the photographic device of industry carries out image taking and lines extension mode are not had any different.
In addition, the embodiment of the present invention can also determine to carry out drawing burnt one or one handled by the external command of reception More than center;By taking the device for absorbing image includes touch screen as an example, drawing Jiao Chu is carried out by the instruction selection of touch screen input selection One or more centers of reason.
Optionally, processing unit is specifically used for,
It, will according to default extending direction to determine draw the burnt center handled as initial position to intake image The pixel of intake image is diffused processing;
By the image superposition that pixel DIFFUSION TREATMENT obtains into intake image, complete to draw burnt processing.
It should be noted that extending direction of the embodiment of the present invention can move camera lens closely from remote coke to according in correlation technique Camera lens from nearly coke is shifted onto the drawing coke process of remote coke and is configured by coke, moves camera lens closely from remote coke to if necessary to realize Burnt drawing coke effect, then extending direction can be the direction to draw near or can be understood as progressively becoming near from user's sight Direction;Camera lens is shifted to the drawing coke effect of remote coke if necessary to realize from nearly coke onto, then extending direction can be from the close-by examples to those far off Direction can be understood as progressively becoming remote direction from user's sight.
Optionally, the pixel for absorbing image is diffused processing according to default extending direction and included by processing unit:
To determine intake image draw the burnt center handled as initial position, according to default extending direction, Extend pixel to default amplification factor with reference to the degree information of default line;
The degree information of line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
The embodiment of the present invention can determine that selection moves the drawing coke effect of nearly coke to still near from remote coke by parameter setting Coke shifts the drawing coke effect of remote coke onto;Such as boolean switchs the drawing coke effect for representing to move nearly coke to from remote coke when being in wherein one side; It represents to shift remote burnt drawing coke effect onto from nearly coke when boolean's switch is in opposite side;Amplification factor with numeral input or can pass through one A scale column carries out stroke confirmation;The length of line can carry out stroke confirmation with numeral input or by a scale column;The present invention Embodiment can be directly realized by intake image the burnt effect of drawing and show after the parameter for drawing burnt processing is set.It is drawn in display burnt While effect, user further includes adjusting parameter, obtains and more preferably draws burnt effect.
The embodiment of the present invention, default amplification factor can according to by camera lens from remote coke move nearly burnt processing to when, intake figure The ratio of the pixel of pixel and completion diffusion as in is determined;Default amplification factor can according to by camera lens from remote When coke moves nearly burnt processing to, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;If draw burnt processing, absorbing has 1/3rd pixel to complete the intake image that spreads and be added in image, Then default amplification factor can be 3.Similarly, the embodiment of the present invention, default diminution percentage can according to by camera lens near When coke shifts remote burnt processing onto, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;Default diminution percentage can according to by camera lens from it is near it is burnt to it is remote it is burnt handle when, absorb pixel in image and It completes diffusion and the ratio of the pixel for the intake image that is added to is determined;If draw burnt processing, absorbing in image has three / mono- pixel completes diffusion, then default diminution percentage can be 1/3rd.
The degree information of line of the embodiment of the present invention can include simultaneously:The length information of line and the color change information of line; The length information of line or the color change information of line can be set as default value, if the length information of line is default value, line Degree information is only it needs to be determined that the color change information of line;Similarly, if the color change information of line is according to default function The information of variation;Then the degree information of line is only it needs to be determined that the length information of line;The length information of line and the color of line become Corresponding default value can also be concurrently set by changing information, and when carrying out drawing burnt handle, the degree information of line is set without adjusting.This hair Length information, default amplification factor and the default extending direction of bright embodiment line define the parameter for drawing burnt processing, root The drawing coke effect of needs can be obtained according to above- mentioned information, the length information of line is drawn with camera shooting user using professional photographic device The push-and-pull of camera lens, can be by setting the technical staff that carry out drawing burnt effect shooting using specialty camera shooting apart from directly proportional during coke processing It is set based on experience value;The embodiment of the present invention, the color change information of line can be the variations defined according to linear function Information;Assuming that the starting point of definition wires is A, terminal is B (length of line is fixed at this time);The pixel brightness of starting point A is known as a (being exactly the colour brightness for absorbing image) at this moment can adjust the pixel brightness b of B points;And the face of the pixel between AB Colour brightness then takes the brightness value of AB points to carry out interpolation calculation and obtains;The colouring information changed according to nonlinear function can include: Gradual change relation function variation color, such as, negative exponential function;
The embodiment of the present invention carries out drawing burnt processing according to the center of the burnt effect of the drawing determined to intake image, without specialty Photographic device in the case of, obtain intake image drawing coke effect, improve user using mobile terminal carry out image bat The experience taken the photograph.
The embodiment of the present invention also provides a kind of device for realizing image procossing, including:Camera, determination unit and processing are single Member;Wherein,
Camera is used for, and intake carries out drawing the burnt image handled;
It should be noted that carrying out example using mobile phone as the mobile terminal comprising camera, the embodiment of the present invention needs It can be the image preserved after having been taken to carry out drawing the burnt image handled, including:It is preserved after completing shooting by shooting button Image;It is handled after image taking by picture and applies processed image, such as through overexposure, acutance, clarity, transparent One of which or the processed images of multinomial method such as degree;It can also download the figure obtained to shoot the image preserved after finishing Picture.
Determination unit is used for, and determines one or more centers that coke is drawn to handle of intake image;
Optionally, determination unit is specifically used for,
One or more are preset to intake image to carry out drawing the burnt center handled;Or,
According to the external command of reception determine that intake image is carried out to draw burnt one or more centers handled.
Processing unit is used for, and intake image is carried out drawing burnt processing according to the center of the definite burnt processing of drawing.
It carries out drawing burnt one or more centers handled can it should be noted that the embodiment of the present invention is preset To be the center of default setting, the center of default setting can include the corresponding center set respectively for different scenes;Example As, using nine grids absorb image when, if shooting main center position horizontal level up 1/3rd lean-with Put, then carry out drawing the burnt center handled can be defaulted as horizontal level up 1/3rd middle position;If shooting Main center position horizontal level up 2/3rds middle position, then carry out drawing the burnt center handled can write from memory Think horizontal level up 2/3rds middle position;The main body of different scenes shooting can carry out true according to user setting It is fixed.The embodiment of the present invention can also determine the main body of shooting by the mode of focusing, by the center of the main body determined in focus process Position is as the center for drawing burnt processing;When including multiple main bodys in intake image of the embodiment of the present invention, focus process can be passed through Center of the center of definite main body as the burnt processing of each drawing.The embodiment of the present invention only draws burnt processing comprising one During center, the center of burnt processing is drawn to can also be the center of intake image, determined after drawing the center of burnt processing, all lines are all It can extend and mutually be sent to this center;At this moment, carry out drawing the burnt drawing coke effect handled using the embodiment of the present invention, it is special with using The center of the burnt effect of drawing when the photographic device of industry carries out image taking and lines extension mode are not had any different.
In addition, the embodiment of the present invention can also determine to carry out drawing burnt one or one handled by the external command of reception More than center;By taking the device for absorbing image includes touch screen as an example, drawing Jiao Chu is carried out by the instruction selection of touch screen input selection One or more centers of reason.
Optionally, processing unit is specifically used for,
It, will according to default extending direction to determine draw the burnt center handled as initial position to intake image The pixel of intake image is diffused processing;
By the image superposition that pixel DIFFUSION TREATMENT obtains into intake image, complete to draw burnt processing.
It should be noted that extending direction of the embodiment of the present invention can move camera lens closely from remote coke to according in correlation technique Camera lens from nearly coke is shifted onto the drawing coke process of remote coke and is configured by coke, moves camera lens closely from remote coke to if necessary to realize Burnt drawing coke effect, then extending direction can be the direction to draw near or can be understood as progressively becoming near from user's sight Direction;Camera lens is shifted to the drawing coke effect of remote coke if necessary to realize from nearly coke onto, then extending direction can be from the close-by examples to those far off Direction can be understood as progressively becoming remote direction from user's sight.
Optionally, the pixel for absorbing image is diffused processing according to default extending direction and included by processing unit:
To determine intake image draw the burnt center handled as initial position, according to default extending direction, Extend pixel to default amplification factor with reference to the degree information of default line;
The degree information of line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
The embodiment of the present invention can determine that selection moves the drawing coke effect of nearly coke to still near from remote coke by parameter setting Coke shifts the drawing coke effect of remote coke onto;Such as boolean switchs the drawing coke effect for representing to move nearly coke to from remote coke when being in wherein one side; It represents to shift remote burnt drawing coke effect onto from nearly coke when boolean's switch is in opposite side;Amplification factor with numeral input or can pass through one A scale column carries out stroke confirmation;The length of line can carry out stroke confirmation with numeral input or by a scale column;The present invention Embodiment can be directly realized by intake image the burnt effect of drawing and show after the parameter for drawing burnt processing is set.It is drawn in display burnt While effect, user further includes adjusting parameter, obtains and more preferably draws burnt effect.
The embodiment of the present invention, default amplification factor can according to by camera lens from remote coke move nearly burnt processing to when, intake figure The ratio of the pixel of pixel and completion diffusion as in is determined;Default amplification factor can according to by camera lens from remote When coke moves nearly burnt processing to, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;If draw burnt processing, absorbing has 1/3rd pixel to complete the intake image that spreads and be added in image, Then default amplification factor can be 3.Similarly, the embodiment of the present invention, default diminution percentage can according to by camera lens near When coke shifts remote burnt processing onto, absorb the pixel in image and intake image of completing to spread and be added to pixel ratio into Row determines;Default diminution percentage can according to by camera lens from it is near it is burnt to it is remote it is burnt handle when, absorb pixel in image and It completes diffusion and the ratio of the pixel for the intake image that is added to is determined;If draw burnt processing, absorbing in image has three / mono- pixel completes diffusion, then default diminution percentage can be 1/3rd.
The degree information of line of the embodiment of the present invention can include simultaneously:The length information of line and the color change information of line; The length information of line or the color change information of line can be set as default value, if the length information of line is default value, line Degree information is only it needs to be determined that the color change information of line;Similarly, if the color change information of line is according to default function The information of variation;Then the degree information of line is only it needs to be determined that the length information of line;The length information of line and the color of line become Corresponding default value can also be concurrently set by changing information, and when carrying out drawing burnt handle, the degree information of line is set without adjusting.This hair Length information, default amplification factor and the default extending direction of bright embodiment line define the parameter for drawing burnt processing, root The drawing coke effect of needs can be obtained according to above- mentioned information, the length information of line is drawn with camera shooting user using professional photographic device The push-and-pull of camera lens, can be by setting the technical staff that carry out drawing burnt effect shooting using specialty camera shooting apart from directly proportional during coke processing It is set based on experience value;The embodiment of the present invention, the color change information of line can be the variations defined according to linear function Information;Assuming that the starting point of definition wires is A, terminal is B (length of line is fixed at this time);The pixel brightness of starting point A is known as a (being exactly the colour brightness for absorbing image) at this moment can adjust the pixel brightness b of B points;And the face of the pixel between AB Colour brightness then takes the brightness value of AB points to carry out interpolation calculation and obtains;The colouring information changed according to nonlinear function can include: Gradual change relation function variation color, such as, negative exponential function;
The embodiment of the present invention carries out drawing burnt processing according to the center of the burnt effect of the drawing determined to intake image, without specialty Photographic device in the case of, obtain intake image drawing coke effect, improve user using mobile terminal carry out image bat The experience taken the photograph.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can be stored in computer readable storage medium, as read-only memory, Disk or CD etc..Optionally, all or part of step of above-described embodiment can also be come using one or more integrated circuits It realizes.Correspondingly, the form realization of hardware may be employed in each module/unit in above-described embodiment, such as passes through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution Program/instruction in memory realizes its corresponding function.The present invention is not limited to the hardware and softwares of any particular form With reference to.
Although disclosed herein embodiment as above, the content only for ease of understanding the present invention and use Embodiment is not limited to the present invention.Technical staff in any fields of the present invention is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of device for realizing image procossing, which is characterized in that including:Determination unit and processing unit;Wherein,
The determination unit is used for, and determines one or more centers that coke is drawn to handle of intake image;
The processing unit is used for, and the intake image is carried out drawing burnt processing according to the center of the burnt processing of the definite drawing.
2. the apparatus according to claim 1, which is characterized in that the intake image includes:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
3. the apparatus according to claim 1, which is characterized in that the determination unit is specifically used for,
One or more are preset to the intake image and carries out the center for drawing burnt processing;Or,
It is determined to carry out described one or more centers for drawing burnt processing to the intake image according to the external command of reception.
4. according to claims 1 to 3 any one of them device, which is characterized in that the processing unit is specifically used for,
To determine draw the burnt center handled as initial position to the intake image, according to default extension side Processing is diffused to by the pixel of the intake image;
By the image superposition that pixel DIFFUSION TREATMENT obtains into the intake image, the burnt processing of the drawing is completed.
5. device according to claim 4, which is characterized in that the processing unit is according to default extending direction by described in The pixel of intake image, which is diffused processing, to be included:
To determine the intake image draw the burnt center handled as initial position, default prolonged according to described Direction is stretched, the degree information with reference to default line extends the pixel to default amplification factor or reduces percentage;
The degree information of the line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of the line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
A kind of 6. method for realizing image procossing, which is characterized in that including:
Determine one or more centers that coke is drawn to handle of intake image;
The intake image is carried out drawing burnt processing according to the center of the burnt processing of the definite drawing.
7. according to the method described in claim 6, it is characterized in that, the intake image includes:
The image absorbed by camera;Or,
Shoot the image preserved after finishing.
8. according to the method described in claim 6, it is characterized in that, one or more of the definite intake image draw coke The center of processing includes:
One or more are preset to the intake image and carries out the center for drawing burnt processing;Or,
It is determined to carry out described one or more centers for drawing burnt processing to the intake image according to the external command of reception.
9. according to claim 6~8 any one of them method, which is characterized in that described pair of intake image carries out drawing burnt processing Including:
To determine draw the burnt center handled as initial position to the intake image, according to default extension side Processing is diffused to by the pixel of the intake image;
By the image superposition that pixel DIFFUSION TREATMENT obtains into the intake image, the burnt processing of the drawing is completed.
10. device according to claim 9, which is characterized in that described to be schemed the intake according to default extending direction The pixel of picture, which is diffused processing, to be included:
To determine the intake image draw the burnt center handled as initial position, default prolonged according to described Direction is stretched, extends the pixel to default amplification factor with reference to the degree information of default line;
The degree information of the line includes:The length information of line, and/or the color change information of line;
Wherein, the color change information of the line includes:According to the colouring information of linear function variation or according to nonlinear function The colouring information of variation.
CN201611032083.8A 2016-11-22 2016-11-22 A kind of method and device for realizing image procossing Pending CN108093164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611032083.8A CN108093164A (en) 2016-11-22 2016-11-22 A kind of method and device for realizing image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611032083.8A CN108093164A (en) 2016-11-22 2016-11-22 A kind of method and device for realizing image procossing

Publications (1)

Publication Number Publication Date
CN108093164A true CN108093164A (en) 2018-05-29

Family

ID=62169013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611032083.8A Pending CN108093164A (en) 2016-11-22 2016-11-22 A kind of method and device for realizing image procossing

Country Status (1)

Country Link
CN (1) CN108093164A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6480615B1 (en) * 1999-06-15 2002-11-12 University Of Washington Motion estimation within a sequence of data frames using optical flow with adaptive gradients
CN101047822A (en) * 2006-03-27 2007-10-03 三洋电机株式会社 Thumbnail generating apparatus and image shooting apparatus
US7787688B1 (en) * 2006-01-25 2010-08-31 Pixar Interactive depth of field using simulated heat diffusion
CN102801993A (en) * 2011-05-27 2012-11-28 日立民用电子株式会社 Image signal processing device and image signal processing method
CN104247574A (en) * 2013-03-06 2014-12-24 优志旺电机株式会社 Light source device and projector
CN106125744A (en) * 2016-06-22 2016-11-16 山东鲁能智能技术有限公司 The Intelligent Mobile Robot cloud platform control method of view-based access control model servo

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6480615B1 (en) * 1999-06-15 2002-11-12 University Of Washington Motion estimation within a sequence of data frames using optical flow with adaptive gradients
US7787688B1 (en) * 2006-01-25 2010-08-31 Pixar Interactive depth of field using simulated heat diffusion
CN101047822A (en) * 2006-03-27 2007-10-03 三洋电机株式会社 Thumbnail generating apparatus and image shooting apparatus
CN102801993A (en) * 2011-05-27 2012-11-28 日立民用电子株式会社 Image signal processing device and image signal processing method
CN104247574A (en) * 2013-03-06 2014-12-24 优志旺电机株式会社 Light source device and projector
CN106125744A (en) * 2016-06-22 2016-11-16 山东鲁能智能技术有限公司 The Intelligent Mobile Robot cloud platform control method of view-based access control model servo

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
_: "手机摄影后期教程", 《百度文库》 *

Similar Documents

Publication Publication Date Title
CN105516423A (en) Mobile terminal, data transmission system and mobile terminal shoot method
WO2016023406A1 (en) Shooting method for motion trace of object, mobile terminal and computer storage medium
US10419661B2 (en) Shooting method and shooting device
CN105357444B (en) focusing method and device
CN105430263A (en) Long-exposure panoramic image photographing device and method
CN105472246B (en) Camera arrangement and method
CN105791701A (en) Image photographing device and image photographing method
CN108012073A (en) A kind of method and device for realizing pan-shot
US20130070143A1 (en) Display apparatus and method
CN105407295B (en) Mobile terminal filming apparatus and method
CN104883494B (en) A kind of method and device of video capture
CN106028098A (en) Video recording method, device, and terminal
CN105513021A (en) Image noise reduction device and method
CN105915812A (en) Mobile terminal and exposing method and apparatus for the same
CN105744170A (en) Picture photographing device and method
CN105407275B (en) Photo synthesizer and method
CN107071169A (en) The processing unit and method of screen wallpaper
CN105611166A (en) Image photographing method and terminal
CN105808145A (en) Method and terminal for achieving image processing
CN105763810A (en) Photographing device and method based on human eyes
CN105357441B (en) A kind of image-pickup method and mobile terminal
CN107071277A (en) A kind of light paints filming apparatus, method and mobile terminal
CN107197138A (en) A kind of filming apparatus, method and mobile terminal
CN104967772B (en) Photographic method and device
CN106227868A (en) The classifying method of video file and device

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

Application publication date: 20180529

RJ01 Rejection of invention patent application after publication