CN106204423B - A kind of picture-adjusting method based on augmented reality, device and terminal - Google Patents

A kind of picture-adjusting method based on augmented reality, device and terminal Download PDF

Info

Publication number
CN106204423B
CN106204423B CN201610503709.2A CN201610503709A CN106204423B CN 106204423 B CN106204423 B CN 106204423B CN 201610503709 A CN201610503709 A CN 201610503709A CN 106204423 B CN106204423 B CN 106204423B
Authority
CN
China
Prior art keywords
augmented reality
adjusted
target
picture
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610503709.2A
Other languages
Chinese (zh)
Other versions
CN106204423A (en
Inventor
卓世杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610503709.2A priority Critical patent/CN106204423B/en
Publication of CN106204423A publication Critical patent/CN106204423A/en
Application granted granted Critical
Publication of CN106204423B publication Critical patent/CN106204423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of picture-adjusting method based on augmented reality, device and terminals.This method comprises: identifying that targeted object region, the targeted object region are the corresponding image-region of object to be adjusted from Target Photo according to the identification point that user inputs;Obtain the corresponding augmented reality content of the object to be adjusted;By the augmented reality fills to the target adjustment position of the object to be adjusted.The embodiment of the present invention can the controllability based on augmented reality content by augmented reality fills to target adjustment position, user only needs to select the corresponding object region of object to be adjusted and simple drag operation by identification point in Target Photo, the angles of display of object to be adjusted and the adjustment of position can be realized, it is easy to operate, improve ease for use and user experience.

Description

A kind of picture-adjusting method based on augmented reality, device and terminal
Technical field
The present embodiments relate to image processing techniques more particularly to a kind of picture-adjusting method based on augmented reality, Device and terminal.
Background technique
As the camera function on the intelligent terminals such as smart phone reaches its maturity, user uses the intelligent terminals such as smart phone The frequency taken pictures and recorded a video is higher and higher.
When taking pictures, after intelligent terminal shows that the frame picture that camera obtains, user click button of taking pictures by display screen It is stored the frame picture currently obtained as a photo.After obtaining photo, user can by photo carry out brightness or The adjusting of the color parameters such as person's contrast.
However, user needs the image with profession when the placement position of object in photo and the expectation of user are not inconsistent Processing technical ability can be modified by existing graphics process tool, and ease for use is poor.For example, thering is Yishanmen not have in the photo of parlor There is closing, user then needs using complicated image procossing skill if it is desired to door to be revised as to the door closed by post-production Art is handled, and cumbersome ease for use is poor.
Summary of the invention
The present invention provides a kind of picture-adjusting method based on augmented reality, device and terminal, and realization passes through augmented reality Technology realizes easily operated picture material adjustment, user-friendly.
In a first aspect, the embodiment of the invention provides a kind of picture-adjusting methods based on augmented reality, comprising:
Identify targeted object region from Target Photo according to the identification point that user inputs, the targeted object region be to The corresponding image-region of regulating object;
Obtain the corresponding augmented reality content of the object to be adjusted;
By the augmented reality fills to the target adjustment position of the object to be adjusted.
Second aspect, the embodiment of the invention also provides a kind of picture regulating devices based on augmented reality, comprising:
Targeted object region acquiring unit, the identification point for being inputted according to user identify target object from Target Photo Region, the targeted object region are the corresponding image-region of object to be adjusted;
Augmented reality contents acquiring unit, for obtaining the corresponding augmented reality content of the object to be adjusted;
Fills unit, augmented reality fills for obtaining the augmented reality contents acquiring unit to institute State the target adjustment position of object to be adjusted.
The third aspect, the embodiment of the invention also provides a kind of terminals, including augmented reality is based on shown in second aspect Picture regulating device.
The embodiment of the present invention can determine object to be adjusted according to the identification point that user inputs, object to be adjusted is corresponding Augmented reality content be added to Target Photo after, since the angles of display of augmented reality content, display size are adjustable, because This can replace object to be adjusted by augmented reality content, realize the adjustability of object to be adjusted in Target Photo.The prior art It is middle to need by realizing the rotation of certain object, image stretch to two-dimensional picture progress image procossing, such as image stretch operation It is easily distorted afterwards and cumbersome ease for use is poor.The embodiment of the present invention can the controllability based on augmented reality content will enhancing it is existing To target adjustment position, user only needs to select object to be adjusted by identification point in Target Photo corresponding real fills Object region and simple drag operation, the angles of display of object to be adjusted and the adjustment of position can be realized, repair Positive photo flaw, it is easy to operate, improve ease for use and user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention one;
Fig. 2 is the schematic diagram for the contour line that the user in the embodiment of the present invention one sketches the contours;
Fig. 3 is the effect diagram adjusted in the embodiment of the present invention one;
Fig. 4 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention two;
Fig. 5 is that the profile point in the embodiment of the present invention two sketches the contours schematic diagram;
Fig. 6 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention three;
Fig. 7 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention four;
Fig. 8 is the effect diagram after the stingy figure in the embodiment of the present invention four;
Fig. 9 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention five;
Figure 10 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention six;
Figure 11 is the flow chart of the picture-adjusting method based on augmented reality in the embodiment of the present invention seven;
Figure 12 is the structural schematic diagram of the picture regulating device based on augmented reality in the embodiment of the present invention eight;
Figure 13 is the structural schematic diagram of the mobile terminal in the embodiment of the present invention nine.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for picture-adjusting method based on augmented reality that the embodiment of the present invention one provides, this reality It applies example and is applicable to the case where being taken pictures using intelligent terminal, this method can be by the intelligence such as smart phone, tablet computer eventually End specifically comprises the following steps: to execute
Step 110 identifies targeted object region according to the identification point that user inputs from Target Photo.
Wherein, targeted object region is the corresponding image-region of object to be adjusted.Target object be not limited to personage, animal or Object (also known as still life).
User shows Target Photo on the display screen of terminal in browsing pictures.It is defeated that user is received in Target Photo The sliding trace entered, which is made of multiple continuous identification points, for indicating the contour line of targeted object region.Such as Shown in Fig. 2, which is closed trajectory, or forms closed trajectory with display platen edge.In Fig. 2, user is along the side of door For the sliding trace and display screen that frame is sketched the contours of to constitute with a closed trajectory, the image-region which sketches the contours of is mesh Logo image region.Further, if the outer turning of object to be adjusted is more, user is caused to be sketched the contours with finger more numerous It is trivial, such as the desk in Fig. 2, then sketched the contours of by user only include desk image-region, then lead in the image-region It crosses the modes such as lines identification and obtains object region.
After obtaining object region, target figure is determined according to the shape feature of object region and color characteristic As the corresponding object to be adjusted in region.Further, if according to shape feature and color characteristic can not determine uniquely to Regulating object, then at least one alternative objects that will likely become object to be adjusted are shown, by the alternative right of user's selection As being determined as object to be adjusted.
Step 120 obtains the corresponding augmented reality content of object to be adjusted.
It can be by presetting the corresponding augmented reality content of augmented reality database purchase object to be adjusted.Augmented reality content It can may be 3-D image for two dimensional image.Two dimensional image such as clip art, photo etc..Default augmented reality database can position In local, may be alternatively located in network side server.In addition, also object pair to be adjusted can be obtained by drawing augmented reality content The augmented reality content answered.When drafting, the model of object to be adjusted can be determined according to the classification of object to be adjusted, then according to mesh The size of object to be adjusted in piece of marking on a map determines the size of the profile of the model of object to be adjusted.Further, according to target figure The model that colouring information in piece treats regulating object is painted.Colouring information can be brightness value, contrast etc..It draws out Model and the size and color of model can be adjusted by user.
Further, the attribute information of the object to be adjusted of user's input is received, attribute information is title, color or model Deng passing through network and obtain the corresponding augmented reality model of attribute information.
Step 130, by the target adjustment position of augmented reality fills to object to be adjusted.
The target adjustment position of object to be adjusted can be determined by user.Illustratively, augmented reality content is filled out first It is charged to targeted object region, target adjustment position is then determined according to the adjustment instruction that the user inputs.Adjustment instruction is used for Adjust display position, display direction or display scale that augmented reality content is done.For example, it is assumed that the desk in Fig. 2 is rectangle Desk, augmented reality content is the oblong table, referred to as augmented reality desk.It can be by pulling and sliding by user Dynamic operation, adjustment augmented reality desk display position, display defence line and display scale, to reach the desired layout of user. Fig. 3 gives a kind of adjustment effect schematic diagram, and wherein augmented reality desk is rotated clockwise 90 degree.
It should be noted that inputting adjustment instruction except through display screen, it can also pass through audio instructions or aerial gesture Input corresponding adjustment instruction.
The embodiment of the present invention can determine object to be adjusted according to the identification point that user inputs, object to be adjusted is corresponding Augmented reality content be added to Target Photo after, since the angles of display of augmented reality content, display size are adjustable, because This can replace object to be adjusted by augmented reality content, realize the adjustability of object to be adjusted in Target Photo.The prior art It is middle to need by realizing the rotation of certain object, image stretch to two-dimensional picture progress image procossing, such as image stretch operation It is easily distorted afterwards and cumbersome ease for use is poor.The embodiment of the present invention can the controllability based on augmented reality content will enhancing it is existing To target adjustment position, user only needs to select object to be adjusted by identification point in Target Photo corresponding real fills Object region and simple drag operation, the angles of display of object to be adjusted and the adjustment of position can be realized, grasp Make simple, raising ease for use, improvement user experience.
Embodiment two
Fig. 4 is a kind of flow chart of the picture-adjusting method based on augmented reality provided by Embodiment 2 of the present invention, as Further explanation to embodiment one, for inventor's discovery when the profile of object to be adjusted has straight line, user uses finger Outlining is easy wave occur because of shake, and object outline is caused to be distorted.Based on this, step 110, according to user input knowledge Other point identifies targeted object region from Target Photo, can be implemented by following manner:
Step 111a, at least one the outline identification point inputted in Target Photo according to user determines contour identification.
Receive the outline identification point that user inputs on line segment endpoint.As shown in figure 5, being used by taking the profile of door in Fig. 2 as an example Family can be clicked clockwise on four vertex of door, obtain 4 outline identification points (respectively profile point 1,2,3,4).It presses Outline identification point is ranked up according to time sequencing, obtains outline identification point sequence, such as [profile point 1, profile point 2, profile point 3, Profile point 4].Using two outline identification points adjacent in straight line connection profile identification point sequence, contour identification is obtained.
Step 112a, targeted object region is determined according to contour identification.
Image-region in contour identification is determined as targeted object region.
The present embodiment can carry out straight line to the profile with longer line segment and sketch the contours, and improve the accuracy sketched the contours, while letter Change user's operation, improves user experience.
Embodiment three
Fig. 6 is the picture-adjusting method based on augmented reality that the embodiment of the present invention three provides, as to above-described embodiment Further explanation, step 110, according to user input identification point targeted object region is identified from Target Photo, can pass through Following manner is implemented:
Step 111b, at least one contour area in target image is obtained.
At least one contour line is found out from target image, each contour line is closed line, in each contour line Region is contour area.After getting at least one contour area, each contour line can be carried out to highlight display or flashing is aobvious Show, so that user intuitively knows contour line.
Step 112b, target object is determined from least one described contour area according to the profile selected element of user's input Region.
Contour area where the profile selected element of user's input is determined as targeted object region.Alternatively, user is defeated The corresponding contour area of contour line where the profile point entered is determined as targeted object region.
Technical solution provided in this embodiment can be further simplified user's operation, and user only needs to select from intelligent terminal The corresponding contour area of object to be adjusted is selected at least one contour area out, is carried out profile in person without user and is sketched the contours, Improve operating efficiency and user experience.
Example IV
Fig. 7 is the picture-adjusting method based on augmented reality that the embodiment of the present invention four provides, as to above-described embodiment Further explanation also wrapped before step 130, by the target adjustment position of augmented reality fills to object to be adjusted It includes:
Step 140 carries out FIG pull handle to targeted object region.
Optionally, FIG pull handle is to pluck out targeted object region from target image.Default setting: default background color with The background colour of target object is identical in Target Photo.At this time by targeted object region after being plucked out in target image, former target pair As region shows the default background color of default setting.Illustratively, default background color is white, and the background colour in Fig. 2 is also white Color, targeted object region are that the corresponding image-region of desk obtains after then plucking out the corresponding targeted object region of desk such as Fig. 8 Shown in effect picture.
The present embodiment can be deducted targeted object region by FIG pull handle from Target Photo, and then avoid step 130 when being filled augmented reality content, causes since the profile of augmented reality content and subject area to be adjusted is inconsistent Ghost image or extra profile are generated, or still is able to see target object after leading to filling since the color of augmented reality content is shallower Region, the problem of causing color difference, optimize the filling effect of augmented reality content.
Embodiment five
Fig. 9 is the picture-adjusting method based on augmented reality that the embodiment of the present invention five provides, as to above-described embodiment Further explanation, step 140, to targeted object region carry out FIG pull handle after, further includes:
Step 150 is filled the white space generated after FIG pull handle.
If the background color of default background color and Target Photo does not have to, after plucking out targeted object region, can go out The white space of existing respective area.At this point, the background color of Target Photo can be filled into the white space.If Target Photo Background color have lines, then by splicing comparison will be matched through the lines with the lines of white space edge, make It obtains the lines of white space edge and the lines being filled into white space is coherent.
The present embodiment is filled white space after plucking out targeted object region, so that image is more aesthetically pleasing, improves User experience.
Embodiment six
Figure 10 is the picture-adjusting method based on augmented reality that the embodiment of the present invention six provides, as to above-described embodiment Further explanation, step 130, by the target adjustment position of augmented reality fills to object to be adjusted, comprising:
Step 131 obtains target adjustment location information.
Obtain the corresponding references object of image-region around targeted object region.According to references object object to be adjusted Target adjustment location information.Such as: if object to be adjusted is door, references object is doorframe, then target adjustment location information is When door is fastened with doorframe, the corresponding location information of door.Another example is: references object is desk, then if object to be adjusted is chair When target adjustment location information is that chair is inserted into desk, the corresponding location information of chair.
Step 132, the attribute information that augmented reality content is determined according to target adjustment location information.
Wherein, attribute information is at least one following information: location information, display direction information, display scale information.
Target adjustment location information includes the coordinate information of each vertex correspondence of object to be adjusted, is determined according to the coordinate information Display position, display direction and the display scale of augmented reality content.Optionally, it is that xy is put down that coordinate information, which can be with ground, Face, the coordinate in coordinate system established perpendicular to the ground for z-axis.
Step 133, according to attribute information by augmented reality fills to target adjustment position.
The present embodiment can be estimated the attribute information of augmented reality content by intelligent terminal, and realization is automatically performed image tune It is whole, improve automation.
Further, in step 133, target adjustment position is filled into according to attribute information after, further includes:
Step 134 is adjusted the attribute information of augmented reality content according to the adjustment instruction that user inputs.
If the picture layout that step 133 obtains is not that user is expected, user can be by input adjustment instruction to increasing Strong real content carries out secondary adjustment, realizes customized augmented reality content, improves operability and user experience.
Embodiment seven
Figure 11 is the picture-adjusting method based on augmented reality that the embodiment of the present invention seven provides, as to above-described embodiment Further explanation, Target Photo be target frame picture, step 110, according to user input identification point know from Target Photo Other targeted object region, it is implementable are as follows:
Step 110 ' if, starting camera function, according to user input identification point know from the target frame picture Other targeted object region.
Starting camera function can be the plug-in unit of taking pictures started in take pictures application or starting application.
Step 120 obtains the corresponding augmented reality content of object to be adjusted.
Step 140 ', to target frame picture carry out FIG pull handle.
Step 130, by the target adjustment position of augmented reality fills to object to be adjusted.
Correspondingly, after step 130, by the target adjustment position of augmented reality fills to object to be adjusted, also Include:
Step 160 is taken pictures according to the photographing instruction that user inputs.
User inputs photographing instruction by virtual button of taking pictures.
The embodiment of the present invention can be adjusted during taking pictures, and improve regulated efficiency, improve user experience.
Embodiment eight
Figure 12 is a kind of structural schematic diagram for picture regulating device based on augmented reality that the embodiment of the present invention eight provides, Above-mentioned apparatus includes: for realizing the picture-adjusting method provided by the above embodiment based on augmented reality, the device
Targeted object region acquiring unit 11, the identification point for being inputted according to user identify target pair from Target Photo As region, the targeted object region is the corresponding image-region of object to be adjusted;
Augmented reality contents acquiring unit 12, for obtaining the corresponding augmented reality content of the object to be adjusted;
Fills unit 13, the augmented reality fills for obtaining the augmented reality contents acquiring unit 12 To the target adjustment position of the object to be adjusted.
Further, the targeted object region acquiring unit 11 is specifically used for:
At least one the outline identification point inputted in Target Photo according to user determines contour identification;
Targeted object region is determined according to the contour identification.
Further, the targeted object region acquiring unit 11 is specifically used for:
Obtain at least one contour area in target image;
Targeted object region is determined from least one described contour area according to the profile selected element of user's input.
Further, further includes:
Figure unit 14 is scratched, the targeted object region for obtaining to the targeted object region acquiring unit 11 carries out FIG pull handle.
Further, further includes:
Fills unit 15, the white space for generate after FIG pull handle to the stingy figure unit 14 are filled.
Further, the fills unit 13 is specifically used for:
Obtain target adjustment location information;
Determine that the attribute information of augmented reality content, the attribute information are following according to the target adjustment location information At least one information: location information, display direction information, display scale information;
The augmented reality fills are filled into target adjustment position according to the attribute information.
Further, further includes:
Receiving unit 16, for receiving the adjustment instruction of user's input;
Adjustment unit 17 is used for according to the received adjustment instruction of the receiving unit 16 to the augmented reality content Attribute information be adjusted.
Further, the Target Photo is target frame picture, and the targeted object region acquiring unit 11 is specifically used for, If starting camera function, targeted object region is identified from the target frame picture according to the identification point that user inputs;
Correspondingly, described device further include: photographing unit 18, the photographing instruction for being inputted according to user are taken pictures.
Optionally, which can be also used for executing the present invention times when being executed by computer processor The technical solution of the photographic method of augmented reality provided by embodiment of anticipating.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
Embodiment nine
Figure 13 is a kind of structural schematic diagram for terminal that the embodiment of the present invention nine provides, and the terminal includes seven institute of embodiment The picture regulating device based on augmented reality shown.Terminal is mobile terminal in one implementation, such as smart phone or flat Plate computer.The mobile terminal may include communication unit 21, include at least one computer readable storage medium memory 22, input unit 23, display unit 24, sensor 25, voicefrequency circuit 26, WIFI (Wireless Fidelity, Wireless Fidelity) Module 27 includes the components such as processor 28 and the power supply 29 of at least one processing core.Those skilled in the art can manage It solves, mobile terminal structure shown in figure does not constitute the restriction to mobile terminal, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.It is specific:
Communication unit 21 can be used for receiving and sending messages or communication process in, signal sends and receivees, which can Think RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipments.Particularly, when logical When believing that unit 21 is RF circuit, after the downlink information of base station is received, one or the processing of more than one processor 28 are transferred to;Separately Outside, the data for being related to uplink are sent to base station.RF circuit usually as communication unit includes but is not limited to antenna, at least One amplifier, tuner, one or more oscillators, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 21 can also be by wireless communication It is communicated with network and other equipment.Any communication standard or agreement, including but not limited to GSM can be used in the wireless communication (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..Memory 22 can be used for storing software program and module, and processor 28 is stored in the software program and mould of memory 22 by operation Block, thereby executing various function application and data processing.Memory 22 can mainly include storing program area and storage data area, Wherein, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, figure As playing function etc.) etc.;Storage data area can store according to mobile terminal use created data (such as audio data, Phone directory etc.) etc..In addition, memory 22 may include high-speed random access memory, it can also include nonvolatile memory, A for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 22 is gone back It may include Memory Controller, to provide the access of processor 28 and input unit 23 to memory 22.
Input unit 23 can be used for receiving the number or character information of input, and generate and user setting and function control Make related keyboard, mouse, operating stick, optics or trackball signal input.Preferably, input unit 23 may include touch-sensitive table Face 231 and other input equipments 232.Touch sensitive surface 231, also referred to as touch display screen or Trackpad collect user and exist On or near it touch operation (such as user using any suitable object or attachment such as finger, stylus in touch sensitive surface 231 The upper or operation near touch sensitive surface 231), and corresponding attachment device is driven according to preset formula.Optionally, it touches Sensitive surfaces 231 may include both touch detecting apparatus and touch controller.Wherein, the touching of touch detecting apparatus detection user Orientation is touched, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller is filled from touch detection Reception touch information is set, and is converted into contact coordinate, then gives processor 28, and the life that processor 28 is sent can be received It enables and is executed.Furthermore, it is possible to be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves touch-sensitive Surface 231.In addition to touch sensitive surface 231, input unit 23 can also include other input equipments 232.Preferably, other inputs are set Standby 232 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse One of mark, operating stick etc. are a variety of.
Display unit 24 can be used for showing information input by user or the information and mobile terminal that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 24 may include display panel 241, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 241.Further, touch sensitive surface 231 can cover display panel 241, when touch sensitive surface 231 detects touching on it or nearby After touching operation, processor 28 is sent to determine the type of touch event, is followed by subsequent processing device 28 and is existed according to the type of touch event Corresponding visual output is provided on display panel 241.Although touch sensitive surface 231 and display panel 241 are as two in Figure 13 A independent component realizes input and input function, but in some embodiments it is possible to by touch sensitive surface 231 and display surface Plate 241 is integrated and realizes and outputs and inputs function.
Mobile terminal may also include at least one sensor 25, such as optical sensor, motion sensor and other sensings Device.Optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light The brightness of display panel 241 secretly is adjusted, proximity sensor can close display panel 241 when mobile terminal is moved in one's ear And/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Mobile terminal is also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 26, loudspeaker 261, microphone 262 can provide the audio interface between user and mobile terminal.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 261, be converted to sound by loudspeaker 261 by circuit 26 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 262, after being received by voicefrequency circuit 26 Audio data is converted to, then by after the processing of audio data output processor 28, such as another movement is sent to through RF circuit 21 Terminal, or audio data is exported to memory 22 to be further processed.Voicefrequency circuit 26 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and mobile terminal.
In order to realize wireless communication, wireless communication unit 27, the wireless communication can be configured in the first movement terminal Unit 27 can be WIFI module.WIFI belongs to short range wireless transmission technology, and unit 27 can by wireless communication for mobile terminal To help user to send and receive e-mail, browse webpage and access streaming video etc., it provides wireless broadband for user and interconnects Net access.Although showing wireless communication unit 27 in figure, but it is understood that, and it is not belonging to the necessary of mobile terminal It constitutes, can according to need in the range for not changing disclosed essence and omit completely.
Processor 28 can utilize the various pieces of various interfaces and connection whole mobile phone, by running or executing storage Software program and/or module in memory 22, and the data being stored in memory 22 are called, execute mobile terminal Various functions and processing data, to carry out integral monitoring to mobile phone.Optionally, processor 28 may include one or more processing Core;Preferably, processor 28 can integrate application processor and modem processor, wherein application processor is mainly handled Operating system, user interface and application program etc., modem processor mainly handle wireless communication.On it is understood that Stating modem processor can not also be integrated into processor 28.
Mobile terminal further includes the power supply 29 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 28 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Power supply 29 can also include one or more direct current or AC power source, recharging system, power failure inspection The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
It should be noted that mobile terminal can also include camera, bluetooth module etc., details are not described herein.
In the present embodiment, the processor 28 is used for:
Identify targeted object region from Target Photo according to the identification point that user inputs, the targeted object region be to The corresponding image-region of regulating object;
Obtain the corresponding augmented reality content of the object to be adjusted;
By the augmented reality fills to the target adjustment position of the object to be adjusted.
Further, the identification point according to user's input identifies targeted object region from Target Photo, comprising:
At least one the outline identification point inputted in Target Photo according to user determines contour identification;
Targeted object region is determined according to the contour identification.
Further, the identification point according to user's input identifies targeted object region from Target Photo, comprising:
Obtain at least one contour area in target image;
Targeted object region is determined from least one described contour area according to the profile selected element of user's input.
Further, before by the augmented reality fills to the target adjustment position of the object to be adjusted, Further include:
FIG pull handle is carried out to the targeted object region.
Further, after carrying out FIG pull handle to the targeted object region, further includes:
The white space generated after FIG pull handle is filled.
Further, described by the augmented reality fills to the target adjustment position of the object to be adjusted, packet It includes:
Obtain target adjustment location information;
Determine that the attribute information of augmented reality content, the attribute information are following according to the target adjustment location information At least one information: location information, display direction information, display scale information;
Target adjustment position is filled into according to the attribute information.
Further, after being filled into target adjustment position according to the attribute information, further includes:
The attribute information of the augmented reality content is adjusted according to the adjustment instruction that the user inputs.
Further, the Target Photo is target frame picture, and the identification point according to user's input is from Target Photo Middle identification targeted object region, comprising:
If starting camera function, target object is identified from the target frame picture according to the identification point that user inputs Region;
Correspondingly, after by the augmented reality fills to the target adjustment position of the object to be adjusted, also Include:
It is taken pictures according to the photographing instruction that user inputs.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (15)

1. a kind of picture-adjusting method based on augmented reality characterized by comprising
Identify that targeted object region, the targeted object region are to be adjusted from Target Photo according to the identification point that user inputs The corresponding image-region of object;
It is obtained in the corresponding augmented reality of the object to be adjusted according to the classification, size and colouring information of the object to be adjusted Hold;
The augmented reality content is replaced to the picture material at the target adjustment position of the object to be adjusted;
Picture material at the target adjustment position that the augmented reality content is replaced to the object to be adjusted, comprising:
Obtain target adjustment location information;
Determine the attribute information of augmented reality content according to the target adjustment location information, the attribute information be it is following at least One information: location information, display direction information, display scale information;
According to the attribute information by the augmented reality content replace target adjustment position at picture material;
The target adjustment location information that obtains includes: the corresponding reference pair of image-region obtained around targeted object region As determining the target adjustment location information of object to be adjusted according to references object;
It is obtained in the corresponding augmented reality of the object to be adjusted according to the classification, size and colouring information of the object to be adjusted Hold, comprising: the model of object to be adjusted is determined according to the classification of object to be adjusted, then according to object to be adjusted in Target Photo Size determine object to be adjusted model profile size.
2. the picture-adjusting method according to claim 1 based on augmented reality, which is characterized in that described defeated according to user The identification point entered identifies targeted object region from Target Photo, comprising:
At least one the outline identification point inputted in Target Photo according to user determines contour identification;
Targeted object region is determined according to the contour identification.
3. the picture-adjusting method according to claim 1 based on augmented reality, which is characterized in that described defeated according to user The identification point entered identifies targeted object region from Target Photo, comprising:
Obtain at least one contour area in target image;
Targeted object region is determined from least one described contour area according to the profile selected element of user's input.
4. the picture-adjusting method according to claim 1 based on augmented reality, which is characterized in that the enhancing is existing Real content is replaced before the picture material at the target adjustment position of the object to be adjusted, further includes:
FIG pull handle is carried out to the targeted object region.
5. the picture-adjusting method according to claim 4 based on augmented reality, which is characterized in that the target pair After region progress FIG pull handle, further includes:
The white space generated after FIG pull handle is filled.
6. the picture-adjusting method according to claim 1 based on augmented reality, which is characterized in that according to the attribute Information replaces the augmented reality content after the picture material at target adjustment position, further includes:
The attribute information of the augmented reality content is adjusted according to the adjustment instruction that the user inputs.
7. the picture-adjusting method according to claim 1 to 6 based on augmented reality, which is characterized in that described Target Photo is target frame picture, and the identification point according to user's input identifies targeted object region from Target Photo, is wrapped It includes:
If starting camera function, target object area is identified from the target frame picture according to the identification point that user inputs Domain;
Correspondingly, picture material at the target adjustment position that the augmented reality content is replaced the object to be adjusted it Afterwards, further includes:
It is taken pictures according to the photographing instruction that user inputs.
8. a kind of picture regulating device based on augmented reality characterized by comprising
Targeted object region acquiring unit, the identification point for being inputted according to user identify target object area from Target Photo Domain, the targeted object region are the corresponding image-region of object to be adjusted;
Augmented reality contents acquiring unit, for according to the acquisition of the classification of the object to be adjusted, size and colouring information The corresponding augmented reality content of object to be adjusted;
Fills unit, the augmented reality content replacement for obtaining the augmented reality contents acquiring unit are described wait adjust Picture material at the target adjustment position of whole object;
The fills unit is specifically used for:
Obtain target adjustment location information;
Determine the attribute information of augmented reality content according to the target adjustment location information, the attribute information be it is following at least One information: location information, display direction information, display scale information;
According to the attribute information by the augmented reality content replace target adjustment position at picture material;
The target adjustment location information that obtains includes: the corresponding reference pair of image-region obtained around targeted object region As determining the target adjustment location information of object to be adjusted according to references object;
Augmented reality contents acquiring unit is used for: the model of object to be adjusted is determined according to the classification of object to be adjusted, then root The size of the profile of the model of object to be adjusted is determined according to the size of object to be adjusted in Target Photo.
9. the picture regulating device according to claim 8 based on augmented reality, which is characterized in that the target object area Domain acquiring unit is specifically used for:
At least one the outline identification point inputted in Target Photo according to user determines contour identification;
Targeted object region is determined according to the contour identification.
10. the picture regulating device according to claim 8 based on augmented reality, which is characterized in that the target object Area acquisition unit is specifically used for:
Obtain at least one contour area in target image;
Targeted object region is determined from least one described contour area according to the profile selected element of user's input.
11. the picture regulating device according to claim 8 based on augmented reality, which is characterized in that further include:
Figure unit is scratched, the targeted object region for obtaining to the targeted object region acquiring unit scratch at figure Reason.
12. the picture regulating device according to claim 11 based on augmented reality, which is characterized in that further include:
Fills unit, the white space for generate after FIG pull handle to the stingy figure unit are filled.
13. the picture regulating device according to claim 8 based on augmented reality, which is characterized in that further include:
Receiving unit, for receiving the adjustment instruction of user's input;
Adjustment unit, for being believed according to attribute of the received adjustment instruction of the receiving unit to the augmented reality content Breath is adjusted.
14. the picture regulating device based on augmented reality according to any one of claim 8-13, which is characterized in that institute Stating Target Photo is target frame picture, and the targeted object region acquiring unit is specifically used for, if starting camera function, root Targeted object region is identified from the target frame picture according to the identification point that user inputs;
Correspondingly, described device further include: photographing unit, the photographing instruction for being inputted according to user are taken pictures.
15. a kind of terminal, which is characterized in that the terminal includes described in any one of claim 8-14 based on augmented reality Picture regulating device.
CN201610503709.2A 2016-06-28 2016-06-28 A kind of picture-adjusting method based on augmented reality, device and terminal Active CN106204423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610503709.2A CN106204423B (en) 2016-06-28 2016-06-28 A kind of picture-adjusting method based on augmented reality, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610503709.2A CN106204423B (en) 2016-06-28 2016-06-28 A kind of picture-adjusting method based on augmented reality, device and terminal

Publications (2)

Publication Number Publication Date
CN106204423A CN106204423A (en) 2016-12-07
CN106204423B true CN106204423B (en) 2019-09-27

Family

ID=57464008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610503709.2A Active CN106204423B (en) 2016-06-28 2016-06-28 A kind of picture-adjusting method based on augmented reality, device and terminal

Country Status (1)

Country Link
CN (1) CN106204423B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851098A (en) * 2017-01-20 2017-06-13 努比亚技术有限公司 A kind of image processing method and mobile terminal
CN107481327B (en) * 2017-09-08 2019-03-15 腾讯科技(深圳)有限公司 About the processing method of augmented reality scene, device, terminal device and system
CN108109100B (en) * 2017-12-19 2019-11-22 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN108521545B (en) * 2018-03-26 2020-02-11 Oppo广东移动通信有限公司 Image adjusting method and device based on augmented reality, storage medium and electronic equipment
CN109727320A (en) * 2018-12-29 2019-05-07 三星电子(中国)研发中心 A kind of generation method and equipment of avatar
CN111435282A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Image processing method and device and electronic equipment
CN110347261A (en) * 2019-07-11 2019-10-18 Oppo广东移动通信有限公司 Information display method, device, storage medium and augmented reality equipment
CN111669657A (en) * 2020-06-08 2020-09-15 咪咕文化科技有限公司 Video comment method and device, electronic equipment and storage medium
CN112672185B (en) * 2020-12-18 2023-07-07 脸萌有限公司 Augmented reality-based display method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002033906A (en) * 2000-05-10 2002-01-31 Fuji Photo Film Co Ltd Image-correcting method
KR20120086810A (en) * 2011-01-27 2012-08-06 삼성전자주식회사 Terminal and method for processing image thereof
US9385324B2 (en) * 2012-05-07 2016-07-05 Samsung Electronics Co., Ltd. Electronic system with augmented reality mechanism and method of operation thereof
CN104318218A (en) * 2014-10-29 2015-01-28 百度在线网络技术(北京)有限公司 Image recognition method and device

Also Published As

Publication number Publication date
CN106204423A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106204423B (en) A kind of picture-adjusting method based on augmented reality, device and terminal
CN106778585B (en) A kind of face key point-tracking method and device
CN105630298B (en) A kind of management method and equipment of file
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN106933525B (en) A kind of method and apparatus showing image
CN105828145B (en) Interactive approach and device
CN104967790B (en) Method, photo taking, device and mobile terminal
CN106959761B (en) A kind of terminal photographic method, device and terminal
CN107770451A (en) Take pictures method, apparatus, terminal and the storage medium of processing
CN107817939A (en) A kind of image processing method and mobile terminal
CN104281600B (en) The method and apparatus of Intelligent Selection word
CN106371086B (en) A kind of method and apparatus of ranging
CN104021129B (en) Show the method and terminal of group picture
CN105957544B (en) Lyric display method and device
CN108921941A (en) Image processing method, device, storage medium and electronic equipment
CN107295251B (en) Image processing method, device, terminal and storage medium
CN104991699B (en) A kind of method and apparatus of video display control
CN106127829A (en) The processing method of a kind of augmented reality, device and terminal
CN106504303B (en) A kind of method and apparatus playing frame animation
CN104820546B (en) Function information methods of exhibiting and device
CN106200897B (en) A kind of method and apparatus of display control menu
CN109871358A (en) A kind of management method and terminal device
CN109683802A (en) A kind of icon moving method and terminal
CN106210510B (en) A kind of photographic method based on Image Adjusting, device and terminal
CN108228902A (en) A kind of document display method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant