CN106791414A - A kind of take pictures synthesizer and method based on edge input - Google Patents

A kind of take pictures synthesizer and method based on edge input Download PDF

Info

Publication number
CN106791414A
CN106791414A CN201611246677.9A CN201611246677A CN106791414A CN 106791414 A CN106791414 A CN 106791414A CN 201611246677 A CN201611246677 A CN 201611246677A CN 106791414 A CN106791414 A CN 106791414A
Authority
CN
China
Prior art keywords
combining unit
photo
edge
coordinate points
picture
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.)
Granted
Application number
CN201611246677.9A
Other languages
Chinese (zh)
Other versions
CN106791414B (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.)
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 CN201611246677.9A priority Critical patent/CN106791414B/en
Publication of CN106791414A publication Critical patent/CN106791414A/en
Application granted granted Critical
Publication of CN106791414B publication Critical patent/CN106791414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

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

Abstract

The present invention relates to technical field of mobile terminals, a kind of take pictures synthesizer and method based on edge input are disclosed, the device includes:First acquisition module, for obtaining default picture;Second acquisition module, for obtaining real-time imaging by camera;The first edge touch control operation in the first edge region of mobile terminal screen is obtained, the first coordinate points are obtained;The second coordinate points are obtained on the corresponding second edge region in first edge region;It is the first combining unit and the first cancellation portion that first coordinate points and the second coordinate points form straight line by default picture cutting;Obtain shooting to instruct and shoot photo, photo cutting is the second combining unit and the second cancellation portion by straight line;Synthesis module, second combining unit of the first combining unit and photo for obtaining default picture merges turns into target picture, be input into by edge carries out cutting synthesis by the real-time imaging of camera with already present picture, and synthesis treatment is carried out to photo while taking pictures, and improves Consumer's Experience.

Description

A kind of take pictures synthesizer and method based on edge input
Technical field
The present invention relates to technical field of mobile terminals, more specifically to a kind of synthesis of taking pictures based on edge input Device and method.
Background technology
With the development of electronic technology, the performance of taking pictures of various terminals is become better and better, and is also increasingly flowed using mobile phone photograph OK, using during mobile phone photograph, people it is more or less like imitating various film scenes, video display star or warp after Take pictures posture and the action of phase treatment, however, these actions for taking pictures or posture be particularly likely that be unable to normal photographing out or The essential of exercise that person shoots is excessively complicated, it is difficult to imitate, accordingly, it would be desirable to user carries out photo synthesis, general photo synthesis is all It is to be synthesized again after shooting is finished, and can not be synthesized when shooting.
The content of the invention
It is a primary object of the present invention to propose a kind of take pictures synthesizer and method based on edge input, by edge The real-time imaging of camera is carried out cutting synthesis by input with already present picture, and photo is carried out at synthesis while taking pictures Reason, improves Consumer's Experience.
To achieve the above object, a kind of synthesizer of taking pictures based on edge input that the present invention is provided, including:
First acquisition module, for obtaining default picture, the default picture is included in view-finder with blurring form;
Second acquisition module, for obtaining real-time imaging by camera and being displayed in view-finder;
First coordinate points acquisition module, the first edge touch-control behaviour in the first edge region for obtaining mobile terminal screen Make, obtain the first coordinate points;
Second coordinate points acquisition module, for obtaining second on the corresponding second edge region in the first edge region Coordinate points;
First cutting module, straight line is formed by the default picture for first coordinate points and the second coordinate points Cutting is the first combining unit and the first cancellation portion, and the straight line is displayed in view-finder;
Second cutting module, is instructed and shoots photo for obtaining shooting, and the photo cutting is second by the straight line Combining unit and the second cancellation portion;
Synthesis module, for obtaining the first combining unit of the default picture and the second combining unit of the photo, by institute Second combining unit of the first combining unit and the photo of stating default picture merges turns into target picture.
Alternatively, the second coordinate points acquisition module includes:
With first coordinate points as starting point, and prolong to the second edge region with perpendicular to the first edge region Stretch to form straight line, take up an official post from line segment of the straight line in the second edge region and take a little as the second coordinate points; Or
The second edge touch control operation in the second edge region is obtained, the second coordinate points are obtained.
Alternatively, also include:
Judge module, the second edge input operation for obtaining the second edge region, judges the second edge Whether input operation is default edge input action, if so, then by first combining unit and the photo of the default picture The second combining unit merge turn into target picture.
Alternatively, the default edge input action is to slide up and down.
Alternatively, the first cutting module includes:
Judge the default picture whether the view-finder the first half, if so, then by the upper half of the default picture Portion as the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, using the lower half of the default picture as the first combining unit, using the first half of the default picture as First cancellation portion;
Correspondingly, the second cutting module includes:
Judge first combining unit whether be the default picture the first half, if so, then by the lower half of the photo Portion as the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
As another aspect of the present invention, there is provided it is a kind of based on edge input synthetic method of taking pictures, including:
Default picture is obtained, the default picture is included in view-finder with blurring form;
Real-time imaging is obtained by camera and is displayed in view-finder;
The first edge touch control operation in the first edge region of mobile terminal screen is obtained, the first coordinate points are obtained;Institute State and obtain the second coordinate points on the corresponding second edge region in first edge region;
It is the first combining unit that first coordinate points and the second coordinate points form straight line by the default picture cutting With the first cancellation portion, the straight line is displayed in view-finder;
Obtain shooting to instruct and shoot photo, the photo cutting is that the second combining unit and second are cancelled by the straight line Portion;
The first combining unit of the default picture and the second combining unit of the photo are obtained, by the of the default picture Second combining unit of one combining unit and the photo merges turns into target picture.
Alternatively, obtaining the second coordinate points on the corresponding second edge region in the first edge region includes:
With first coordinate points as starting point, and prolong to the second edge region with perpendicular to the first edge region Stretch to form straight line, take up an official post from line segment of the straight line in the second edge region and take a little as the second coordinate points; Or
The second edge touch control operation in the second edge region is obtained, the second coordinate points are obtained.
Alternatively, merge as target by the second combining unit of the first combining unit of the default picture and the photo Also include before photo:
Obtain the second edge input operation in the second edge region, judge the second edge input operation whether be Default edge input action, if so, then closing the second combining unit of the first combining unit of the default picture and the photo And as target picture.
Alternatively, the default edge input action is to slide up and down.
Alternatively, it is first that first coordinate points and the second coordinate points form straight line by the default picture cutting Combining unit and the first cancellation portion include:
Judge the default picture whether the view-finder the first half, if so, then by the upper half of the default picture Portion as the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, using the lower half of the default picture as the first combining unit, using the first half of the default picture as First cancellation portion;
Correspondingly, the photo cutting is that the second combining unit and the second cancellation portion include by the straight line:
Judge first combining unit whether be the default picture the first half, if so, then by the lower half of the photo Portion as the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
A kind of take pictures synthesizer and method based on edge input proposed by the present invention, the device include:First obtains Module, for obtaining default picture, the default picture is included in view-finder with blurring form;Second acquisition module, uses Real-time imaging and it is displayed in view-finder in being obtained by camera;First coordinate points acquisition module, for obtaining mobile terminal The first edge touch control operation in the first edge region of screen, obtains the first coordinate points;Second coordinate points acquisition module, for The first edge region obtains the second coordinate points on corresponding second edge region;First cutting module, for described first It is the first combining unit and the first cancellation portion that coordinate points and the second coordinate points form straight line by the default picture cutting, described Straight line is displayed in view-finder;Second cutting module, instructs and shoots photo for obtaining shooting, and the straight line is by the photo Cutting is the second combining unit and the second cancellation portion;Synthesis module, for obtaining the first combining unit of the default picture and described Second combining unit of photo, the second combining unit of the first combining unit of the default picture and the photo is merged turns into target Photo, be input into by edge carries out cutting synthesis by the real-time imaging of camera with already present picture, is compareed while taking pictures Piece carries out synthesis treatment, improves Consumer's Experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is a kind of synthesizer demonstrative structure frame of taking pictures based on edge input that the embodiment of the present invention one is provided Figure;
Fig. 2 is that a kind of screen area of mobile terminal that the embodiment of the present invention one is provided divides schematic diagram;
Fig. 3 is a kind of left hand edge input schematic diagram that the embodiment of the present invention one is provided;
Fig. 4 is another left hand edge input schematic diagram that the embodiment of the present invention one is provided;
Fig. 5 is a kind of edge input decomposing schematic representation that the embodiment of the present invention one is provided;
Fig. 6 is another edge input decomposing schematic representation that the embodiment of the present invention one is provided;
Fig. 7 is a kind of edge input overall schematic that the embodiment of the present invention one is provided;
Fig. 8 is a kind of left hand edge input schematic diagram that the embodiment of the present invention two is provided;
Fig. 9 is another left hand edge input schematic diagram that the embodiment of the present invention two is provided;
Figure 10 is a kind of edge input decomposing schematic representation that the embodiment of the present invention two is provided;
Figure 11 is another edge input decomposing schematic representation that the embodiment of the present invention two is provided;
Figure 12 is a kind of edge input overall schematic that the embodiment of the present invention two is provided;
Figure 13 is a kind of synthetic method schematic flow sheet of taking pictures based on edge input that the embodiment of the present invention three is provided;
Figure 14 is the synthetic method schematic flow sheet of taking pictures that the another kind that the embodiment of the present invention three is provided is based on edge input.
Specific embodiment
In order to be more clearly understood to technical characteristic of the invention, purpose and effect, now compare accompanying drawing and describe in detail Specific embodiment of the invention.
Embodiment one
As shown in figure 1, in the present embodiment, a kind of synthesizer of taking pictures based on edge input, including:
First acquisition module 10, for obtaining default picture, the default picture is included in view-finder with blurring form It is interior;
Second acquisition module 20, for obtaining real-time imaging by camera and being displayed in view-finder;
First coordinate points acquisition module 30, the first edge touch-control in the first edge region for obtaining mobile terminal screen Operation, obtains the first coordinate points;
Second coordinate points acquisition module 40, for obtaining on the corresponding second edge region in the first edge region Two coordinate points;
First cutting module 50, straight line is formed by the default figure for first coordinate points and the second coordinate points Piece cutting is the first combining unit and the first cancellation portion, and the straight line is displayed in view-finder;
Second cutting module 60, is instructed and shoots photo for obtaining shooting, and the photo cutting is the by the straight line Two combining units and the second cancellation portion;
Synthesis module 70, for obtaining the first combining unit of the default picture and the second combining unit of the photo, will First combining unit of the default picture and the second combining unit of the photo merge turns into target picture.
In the present embodiment, be input into by edge carries out cutting synthesis by the real-time imaging of camera with already present picture, Synthesis treatment is carried out to photo while taking pictures, Consumer's Experience is improve.
As shown in Fig. 2 for the screen area of the mobile terminal of the embodiment of the present invention one divides schematic diagram, wherein, A areas are for just Normal viewing area, C areas are fringe region, and left border region and right border region are divided into again, and B areas are no-input zone.
In the present embodiment, the present invention is mainly suitable for photo synthesis treatment when taking pictures, the default picture can be User's photo, the photo of a certain scenic spot or the online picture downloaded, when in picture before user is satisfied Certain part landscape in shooting effect, the posture put when taking pictures or photo, wants the current of user (or other persons of being taken) When parts of images in the image to be photographed and before picture is synthesized, can be using the technical scheme in this case.
In the present embodiment, the camera can be the camera in the mobile terminal with edge input function, It can be the camera in the camera apparatus with edge input function.
In the present embodiment, A areas are the view-finder of camera, it is also possible to for placing default picture, the default picture Can be already present picture, photo, or the photo by the shooting temporarily of the camera on mobile terminal in mobile terminal, User can voluntarily select, and when the picture that user will choose is placed in view-finder, user can carry out dragging behaviour to picture Make, the more favorite part of user in picture (such as top half of photo, the latter half or center section) is dragged to and is taken The relevant position of scape frame, for example, when the top half of the more favorite photo of user, wanting the top half of this photo As the latter half of target picture (user shoots the photo after synthesis), it is possible to which photo is dragged to the lower half of view-finder Divide, and the photo is set and be preferentially shown on screen in institute overlay area, that is, when there is real-time imaging in view-finder, it is described Real-time imaging is shown as the photo content with the part of the default overlaying graphics, in order to avoid default picture is sheltered from real time Image, can include in view-finder default picture in the form of blurring.
The camera of user's triggering camera starts, and camera obtains real-time imaging by view-finder, is displayed in shown in Fig. 2 A areas, the region covered by above-mentioned photo shows the photo in the way of blurring, and user can simultaneously see live view Content;Used as another embodiment, the region covered by above-mentioned photo does not show the content of live view, in order to user The pre- judgement for being synthesized, both display methods can voluntarily be selected by user, simply need to avoid in later approach Default picture is completely covered real-time imaging.
In the present embodiment, fringe region C areas can be divided or self-defined division using fixed form.Fixed partition, that is, exist The screen area of mobile terminal sets regular length, the region of fixed broadband as C areas.C areas include being located at a mobile terminal screen left side The left border region of side and the right border region on the right side of mobile terminal screen, its position is fixed at mobile terminal Both sides of the edge, as shown in Figure 2.Certainly, also C areas only can be divided in the side edge of mobile terminal.
Self-defined division, the i.e. number in the region in C areas, position and size, the setting that can customize, for example, can be by user Set, also can be adjusted quantity, position and the size in the region in C areas by mobile terminal according to self-demand.Generally, C areas Fundamental figure is designed as rectangle, simply enters position and size that two diagonal apex coordinates of figure can determine that C areas.
In the present embodiment, it is contemplated that the use habit of user, the first edge region is left border region, described Second edge region is right border region.
As shown in figure 3, in the present embodiment, when the left hand of user carries out touch-control behaviour in the left border region of mobile terminal When making, namely mobile terminal is when receiving first edge touch control operation, obtains the first edge touch control operation, obtains the first coordinate Point, then obtains the second coordinate points, by first coordinate on the corresponding second edge region in the first edge region Point and the second coordinate points form straight line and carry out cutting with to the photo for presetting picture and shoot.
In the present embodiment, the method for obtaining the second coordinate points obtains the method for the straight line and has two in other words, the first Method, as shown in figure 3, with first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, and this straight line is the above-mentioned straight line for cutting, the linear extension to second edge Region, can form a line segment in second edge region, and taking up an official post from the line segment, take a little all can be as the second coordinate points, at this In embodiment, as shown in figure 3, being the intersection point in the left side boundary line using the straight line Yu second edge region as the second coordinate points; In the method, can directly by with first coordinate points as starting point, and with perpendicular to the first edge region to institute State second edge region to extend this to be formed straight line to carry out cutting to the photo for presetting picture and shoot, it is not necessary to first ask the Two coordinate points re-form straight line;Default picture D cuttings are the first combining unit and the first cancellation portion by the straight line, described straight Photo E cuttings are also the second combining unit and the second cancellation portion by line.
Second method, as shown in figure 4, obtaining the second edge touch control operation in the second edge region, obtains second Coordinate points, namely the second coordinate points now touch second edge region and produce by the right hand of user, the second seat for so obtaining The straight line that punctuate and the first coordinate points are formed can be with more flexible, except as being produced in above-mentioned first method perpendicular to two sides Can also be in other angles with two fringe regions outside the straight line in edge region, such as the unspecified angle in the range of 60 ° -90 ° can Freely set with by user, provide the user with good experience, such as, when it is determined that after the first coordinate points, not generating temporarily vertical In the straight line of fringe region, but touch control operation is carried out by the right hand, according to default picture or the content of photo, choose one the Two coordinate points, generate straight line as shown in Figure 4.
Used as another embodiment, second coordinate points can also touch second edge region and produce by the left hand of user Raw, such as the forefinger of left hand touches first edge region and produces first edge touch control operation, obtains the first coordinate points, the thumb of left hand Refer to that touching second edge region produces second edge touch control operation, obtains the second coordinate points.
Used as another embodiment, the straight line can also replace with curve, can be by normal defeated in view-finder Enter region to be adjusted, the demand more changeable to meet user.
As shown in figure 5, presetting picture D in order to make it easy to understand, only being shown in Fig. 5, the photo E in view-finder is not shown, In the present embodiment, default picture D cuttings are that the first combining unit and the first cancellation portion include by the straight line:
Position of the default picture in the view-finder can drag adjustment;
Judge the default picture whether the view-finder the first half, if so, then by the upper half of the default picture Portion as the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, as shown in figure 5, it can clearly be seen that the default picture is in the lower half of the view-finder, will be described The lower half of picture is preset as the first combining unit, using the first half of the default picture as the first cancellation portion;
When it is in the lower half of the view-finder or the first half that user cannot easily judge the photo, such as described Photo is placed in the middle, then the first combining unit and the first cancellation portion are independently selected by user.
As shown in fig. 6, in order to make it easy to understand, in Fig. 6 only display view-finder in photo E, default picture D is not shown, In the present embodiment, the photo E points is that the second combining unit and the second cancellation portion include by the straight line:
Judge first combining unit whether be the default picture the first half, if so, then by the lower half of the photo Portion as the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Because this programme is the synthesis for photo, therefore, it is determined that after the first combining unit of default picture, it is possible to really Determine the second combining unit of photo.
As another embodiment, it is also possible to first determine the second combining unit of photo, come further according to second combining unit Determine the first combining unit.
In the present embodiment, also including judge module, the second edge for obtaining the second edge region is input into behaviour Make, judge whether the second edge input operation is default edge input action, if so, then by the of the default picture Second combining unit of one combining unit and the photo merges turns into target picture.
As shown in fig. 7, after the first combining unit and the second combining unit is determined, it is possible to existed by the right hand shown in Fig. 7 The second edge input operation in second edge region carries out photo synthesis, judges whether the second edge input operation is pre- If edge input action, if so, first combining unit and second combining unit then are synthesized into target picture, and pass through Camera exports the target picture.
In the present embodiment, the default edge input action is to slide up and down.
Embodiment two
In the present embodiment, using right border region as first edge region, using left border region as the second side Edge region.
As shown in figure 8, in the present embodiment, when the right hand of user carries out touch-control behaviour in the right border region of mobile terminal When making, namely mobile terminal is when receiving first edge touch control operation, obtains the first edge touch control operation, obtains the first coordinate Point, then obtains the second coordinate points, by first coordinate on the corresponding second edge region in the first edge region Point and the second coordinate points form straight line and carry out cutting with to the photo for presetting picture and shoot.
In the present embodiment, the method for obtaining the second coordinate points obtains the method for the straight line and has two in other words, the first Method, as shown in figure 8, with first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, and this straight line is the above-mentioned straight line for cutting, the linear extension to second edge Region, can form a line segment in second edge region, and taking up an official post from the line segment, take a little all can be as the second coordinate points, at this In embodiment, as shown in figure 8, being the intersection point in the right boundary line using the straight line Yu second edge region as the second coordinate points; In the method, can directly by with first coordinate points as starting point, and with perpendicular to the first edge region to institute State second edge region to extend this to be formed straight line to carry out cutting to the photo for presetting picture and shoot, it is not necessary to first ask the Two coordinate points re-form straight line;Default picture D cuttings are the first combining unit and the first cancellation portion by the straight line, described straight Photo E cuttings are also the second combining unit and the second cancellation portion by line.
Second method, as shown in figure 9, obtaining the second edge touch control operation in the second edge region, obtains second Coordinate points, namely the second coordinate points now touch second edge region and produce by the left hand of user, the second seat for so obtaining The straight line that punctuate and the first coordinate points are formed can be with more flexible, except as being produced in above-mentioned first method perpendicular to two sides Can also be in other angles with two fringe regions outside the straight line in edge region, such as the unspecified angle in the range of 60 ° -90 ° can Freely set with by user, provide the user with good experience, such as, when it is determined that after the first coordinate points, not generating temporarily vertical In the straight line of fringe region, but touch control operation is carried out by left hand, according to default picture or the content of photo, choose one the Two coordinate points, generate straight line as shown in Figure 9.
Used as another embodiment, second coordinate points can also touch second edge region and produce by the right hand of user Raw, such as the forefinger of the right hand touches first edge region and produces first edge touch control operation, obtains the first coordinate points, the thumb of the right hand Refer to that touching second edge region produces second edge touch control operation, obtains the second coordinate points.
Used as another embodiment, the straight line can also replace with curve, can be by normal defeated in view-finder Enter region to be adjusted, the demand more changeable to meet user.
As shown in Figure 10, in order to make it easy to understand, only showing default picture D in Figure 10, the photo E in view-finder is not shown, In the present embodiment, default picture D cuttings are that the first combining unit and the first cancellation portion include by the straight line:
Position of the default picture in the view-finder can drag adjustment;
Judge the default picture whether the view-finder the first half, if so, then by the upper half of the default picture Portion as the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, as shown in Figure 10, hence it is evident that as can be seen that the default picture is in the lower half of the view-finder, by institute The lower half of default picture is stated as the first combining unit, using the first half of the default picture as the first cancellation portion;
When it is in the lower half of the view-finder or the first half that user cannot easily judge the photo, such as described Photo is placed in the middle, then the first combining unit and the first cancellation portion are independently selected by user.
As shown in figure 11, in order to make it easy to understand, only showing the photo E in view-finder in Figure 11, default picture D is not shown, In the present embodiment, the photo E points is that the second combining unit and the second cancellation portion include by the straight line:
Judge first combining unit whether be the default picture the first half, if so, then by the lower half of the photo Portion as the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Because this programme is the synthesis for photo, therefore, it is determined that after the first combining unit of default picture, it is possible to really Determine the second combining unit of photo.
As another embodiment, it is also possible to first determine the second combining unit of photo, come further according to second combining unit Determine the first combining unit.
In the present embodiment, also including judge module, the second edge for obtaining the second edge region is input into behaviour Make, judge whether the second edge input operation is default edge input action, if so, then by the of the default picture Second combining unit of one combining unit and the photo merges turns into target picture.
As shown in figure 12, after the first combining unit and the second combining unit is determined, it is possible to by the left hand shown in Figure 12 Carry out photo synthesis in the second edge input operation in second edge region, judge the second edge input operation whether be Default edge input action, if so, first combining unit and second combining unit then are synthesized into target picture, and leads to Cross camera and export the target picture.
Embodiment three
As shown in figure 13, in the present embodiment, a kind of synthetic method of taking pictures based on edge input, including:
S10, the default picture of acquisition, the default picture is included in view-finder with blurring form;
S20, obtained by camera and real-time imaging and be displayed in view-finder;
S30, the first edge touch control operation in the first edge region of acquisition mobile terminal screen, obtain the first coordinate points; The second coordinate points are obtained on the corresponding second edge region in the first edge region;
It is the first conjunction that S40, first coordinate points and the second coordinate points form straight line by the default picture cutting Into portion and the first cancellation portion, the straight line is displayed in view-finder;
S50, acquisition shooting are instructed and shoot photo, and the straight line is by the photo cutting for the second combining unit and second takes Disappear portion;
Second combining unit of S60, the first combining unit for obtaining the default picture and the photo, by the default picture The first combining unit and the photo the second combining unit merge turn into target picture.
In the present embodiment, be input into by edge carries out cutting synthesis by the photo of camera with already present picture, is clapping Synthesis treatment is carried out to picture while photograph, Consumer's Experience is improve.
As shown in Fig. 2 for the screen area of the mobile terminal of the embodiment of the present invention one divides schematic diagram, wherein, A areas are for just Normal viewing area, C areas are fringe region, and left border region and right border region are divided into again, and B areas are no-input zone.
In the present embodiment, the present invention is mainly suitable for photo synthesis treatment when taking pictures, the default picture can be User's photo, the photo of a certain scenic spot or the online picture downloaded, when in picture before user is satisfied Certain part landscape in shooting effect, the posture put when taking pictures or photo, wants the current of user (or other persons of being taken) When parts of images in the image to be photographed and before picture is synthesized, can be using the technical scheme in this case.
In the present embodiment, the camera can be the camera in the mobile terminal with edge input function, It can be the camera in the camera apparatus with edge input function.
In the present embodiment, A areas are the view-finder of camera, it is also possible to for placing default picture, the default picture Can be already present picture, photo, or the photo by the shooting temporarily of the camera on mobile terminal in mobile terminal, User can voluntarily select, and when the picture that user will choose is placed in view-finder, user can carry out dragging behaviour to picture Make, the more favorite part of user in picture (such as top half of photo, the latter half or center section) is dragged to and is taken The relevant position of scape frame, for example, when the top half of the more favorite photo of user, wanting the top half of this photo As the latter half of target picture (user shoots the photo after synthesis), it is possible to which photo is dragged to the lower half of view-finder Divide, and the photo is set and be preferentially shown on screen in institute overlay area, that is, when there is real-time imaging in view-finder, it is described Real-time imaging is shown as the photo content with the part of the default overlaying graphics, in order to avoid default picture is sheltered from real time Image, can include in view-finder default picture in the form of blurring.
The camera of user's triggering camera starts, and camera obtains real-time imaging by view-finder, is displayed in shown in Fig. 2 A areas, the region covered by above-mentioned photo shows the photo in the way of blurring, and user can simultaneously see live view Content;Used as another embodiment, the region covered by above-mentioned photo does not show the content of live view, in order to user The pre- judgement for being synthesized, both display methods can voluntarily be selected by user, simply need to avoid in later approach Default picture is completely covered real-time imaging.
In the present embodiment, fringe region C areas can be divided or self-defined division using fixed form.Fixed partition, that is, exist The screen area of mobile terminal sets regular length, the region of fixed broadband as C areas.C areas include being located at a mobile terminal screen left side The left border region of side and the right border region on the right side of mobile terminal screen, its position is fixed at mobile terminal Both sides of the edge, as shown in Figure 2.Certainly, also C areas only can be divided in the side edge of mobile terminal.
Self-defined division, the i.e. number in the region in C areas, position and size, the setting that can customize, for example, can be by user Set, also can be adjusted quantity, position and the size in the region in C areas by mobile terminal according to self-demand.Generally, C areas Fundamental figure is designed as rectangle, simply enters position and size that two diagonal apex coordinates of figure can determine that C areas.
In the present embodiment, it is contemplated that the use habit of user, the first edge region is left border region, described Second edge region is right border region.
As shown in figure 3, in the present embodiment, when the left hand of user carries out touch-control behaviour in the left border region of mobile terminal When making, namely mobile terminal is when receiving first edge touch control operation, obtains the first edge touch control operation, obtains the first coordinate Point, then obtains the second coordinate points, by first coordinate on the corresponding second edge region in the first edge region Point and the second coordinate points form straight line and carry out cutting with to the photo for presetting picture and shoot.
In the present embodiment, the method for obtaining the second coordinate points obtains the method for the straight line and has two in other words, the first Method, as shown in figure 3, with first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, and this straight line is the above-mentioned straight line for cutting, the linear extension to second edge Region, can form a line segment in second edge region, and taking up an official post from the line segment, take a little all can be as the second coordinate points, at this In embodiment, as shown in figure 3, being the intersection point in the left side boundary line using the straight line Yu second edge region as the second coordinate points; In the method, can directly by with first coordinate points as starting point, and with perpendicular to the first edge region to institute State second edge region to extend this to be formed straight line to carry out cutting to the photo for presetting picture and shoot, it is not necessary to first ask the Two coordinate points re-form straight line;Default picture D cuttings are the first combining unit and the first cancellation portion by the straight line, described straight Photo E cuttings are also the second combining unit and the second cancellation portion by line.
Second method, as shown in figure 4, obtaining the second edge touch control operation in the second edge region, obtains second Coordinate points, namely the second coordinate points now touch second edge region and produce by the right hand of user, the second seat for so obtaining The straight line that punctuate and the first coordinate points are formed can be with more flexible, except as being produced in above-mentioned first method perpendicular to two sides Can also be in other angles with two fringe regions outside the straight line in edge region, such as the unspecified angle in the range of 60 ° -90 ° can Freely set with by user, provide the user with good experience, such as, when it is determined that after the first coordinate points, not generating temporarily vertical In the straight line of fringe region, but touch control operation is carried out by the right hand, according to default picture or the content of photo, choose one the Two coordinate points, generate straight line as shown in Figure 4.
Used as another embodiment, second coordinate points can also touch second edge region and produce by the left hand of user Raw, such as the forefinger of left hand touches first edge region and produces first edge touch control operation, obtains the first coordinate points, the thumb of left hand Refer to that touching second edge region produces second edge touch control operation, obtains the second coordinate points.
Used as another embodiment, the straight line can also replace with curve, can be by normal defeated in view-finder Enter region to be adjusted, the demand more changeable to meet user.
As shown in figure 5, presetting picture D in order to make it easy to understand, only being shown in Fig. 5, the photo E in view-finder is not shown, In the present embodiment, default picture D cuttings are that the first combining unit and the first cancellation portion include by the straight line:
Position of the default picture in the view-finder can drag adjustment;
Judge the default picture whether the view-finder the first half, if so, then by the upper half of the default picture Portion as the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, as shown in figure 5, it can clearly be seen that the default picture is in the lower half of the view-finder, will be described The lower half of picture is preset as the first combining unit, using the first half of the default picture as the first cancellation portion;
When it is in the lower half of the view-finder or the first half that user cannot easily judge the photo, such as described Photo is placed in the middle, then the first combining unit and the first cancellation portion are independently selected by user.
As shown in fig. 6, in order to make it easy to understand, in Fig. 6 only display view-finder in photo E, default picture D is not shown, In the present embodiment, the photo E points is that the second combining unit and the second cancellation portion include by the straight line:
Judge first combining unit whether be the default picture the first half, if so, then by the lower half of the photo Portion as the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Because this programme is the synthesis for photo, therefore, it is determined that after the first combining unit of default picture, it is possible to really Determine the second combining unit of photo.
As another embodiment, it is also possible to first determine the second combining unit of photo, come further according to second combining unit Determine the first combining unit.
In the present embodiment, as shown in figure 14, before the step S60, also including judging step S51, obtaining described the The second edge input operation of two fringe regions, judges whether the second edge input operation is that default edge input is dynamic Make, if so, then merge the second combining unit of the first combining unit of the default picture and the photo into step S60 turning into Target picture, otherwise, into step S52, ignores the second edge input operation.
As shown in fig. 7, after the first combining unit and the second combining unit is determined, it is possible to existed by the right hand shown in Fig. 7 The second edge input operation in second edge region carries out photo synthesis, judges whether the second edge input operation is pre- If edge input action, if so, first combining unit and second combining unit then are synthesized into target picture, and pass through Camera exports the target picture.
In the present embodiment, the default edge input action is to slide up and down.
As another embodiment, left border region can be made in right border region as first edge region It is second edge region, thus straight line for cutting can be generated by the right hand, synthetic operation is triggered by left hand.
Any process described otherwise above or method description can be by flow chart or in an embodiment of the present invention Be interpreted as, expression include it is one or more for realizing specific logical function or process the step of executable instruction code Module, fragment or part, and the scope of embodiment of the present invention includes other realization, wherein can not by shown or The order of discussion, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should Those skilled in the art understand described in embodiments of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Implementation method, above-mentioned specific embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under enlightenment of the invention, in the case of present inventive concept and scope of the claimed protection is not departed from, can also make a lot Form, these are belonged within protection of the invention.

Claims (10)

1. it is a kind of based on edge input synthesizer of taking pictures, it is characterised in that including:
First acquisition module, for obtaining default picture, the default picture is included in view-finder with blurring form;
Second acquisition module, for obtaining real-time imaging by camera and being displayed in view-finder;
First coordinate points acquisition module, the first edge touch control operation in the first edge region for obtaining mobile terminal screen, Obtain the first coordinate points;
Second coordinate points acquisition module, for obtaining the second coordinate on the corresponding second edge region in the first edge region Point;
First cutting module, straight line is formed by the default picture cutting for first coordinate points and the second coordinate points It is the first combining unit and the first cancellation portion, the straight line is displayed in view-finder;
Second cutting module, is instructed and shoots photo for obtaining shooting, and the photo cutting is the second synthesis by the straight line Portion and the second cancellation portion;
Synthesis module, for obtaining the first combining unit of the default picture and the second combining unit of the photo, will be described pre- If the second combining unit of the first combining unit of picture and the photo merges turns into target picture.
2. it is according to claim 1 it is a kind of based on edge input synthesizer of taking pictures, it is characterised in that it is described second sit Punctuate acquisition module includes:
With first coordinate points as starting point, and extend shape to the second edge region with perpendicular to the first edge region It is in alignment, take up an official post from line segment of the straight line in the second edge region and take a little as the second coordinate points;Or
The second edge touch control operation in the second edge region is obtained, the second coordinate points are obtained.
3. it is according to claim 2 it is a kind of based on edge input synthesizer of taking pictures, it is characterised in that also include:
Judge module, the second edge input operation for obtaining the second edge region judges the second edge input Whether operation is default edge input action, if so, then by the of the first combining unit of the default picture and the photo Two combining units merge turns into target picture.
4. it is according to claim 3 it is a kind of based on edge input synthesizer of taking pictures, it is characterised in that it is described default Edge input action is to slide up and down.
5. it is according to claim 1 it is a kind of based on edge input synthesizer of taking pictures, it is characterised in that described first cuts Sub-module includes:
Judge the default picture whether the view-finder the first half, if so, then the first half of the default picture is made It is the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, using the lower half of the default picture as the first combining unit, using the first half of the default picture as first Cancellation portion;
Correspondingly, the second cutting module includes:
Judge whether first combining unit is the first half of the default picture, if so, then making the lower half of the photo It is the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, using the lower half of the photo as the second cancellation portion.
6. it is a kind of based on edge input synthetic method of taking pictures, it is characterised in that including:
Default picture is obtained, the default picture is included in view-finder with blurring form;
Real-time imaging is obtained by camera and is displayed in view-finder;
The first edge touch control operation in the first edge region of mobile terminal screen is obtained, the first coordinate points are obtained;Described One fringe region obtains the second coordinate points on corresponding second edge region;
It is the first combining unit and that first coordinate points and the second coordinate points form straight line by the default picture cutting One cancellation portion, the straight line is displayed in view-finder;
Obtain shooting to instruct and shoot photo, the photo cutting is the second combining unit and the second cancellation portion by the straight line;
The first combining unit of the default picture and the second combining unit of the photo are obtained, by the first conjunction of the default picture The second combining unit into portion and the photo merges as target picture.
7. it is according to claim 6 it is a kind of based on edge input synthetic method of taking pictures, it is characterised in that described first Obtaining the second coordinate points on the corresponding second edge region of fringe region includes:
With first coordinate points as starting point, and extend shape to the second edge region with perpendicular to the first edge region It is in alignment, take up an official post from line segment of the straight line in the second edge region and take a little as the second coordinate points;Or
The second edge touch control operation in the second edge region is obtained, the second coordinate points are obtained.
8. a kind of synthetic method of taking pictures based on edge input according to claim 7, it is characterised in that will be described pre- If the second combining unit merging of the first combining unit of picture and the photo also includes before turning into target picture:
The second edge input operation in the second edge region is obtained, judges whether the second edge input operation is default Edge input action, if so, then the second combining unit of the first combining unit of the default picture and the photo is merged into It is target picture.
9. it is according to claim 8 it is a kind of based on edge input synthetic method of taking pictures, it is characterised in that it is described default Edge input action is to slide up and down.
10. it is according to claim 6 it is a kind of based on edge input synthetic method of taking pictures, it is characterised in that described first It is that the first combining unit and the first cancellation portion include that coordinate points and the second coordinate points form straight line by the default picture cutting:
Judge the default picture whether the view-finder the first half, if so, then the first half of the default picture is made It is the first combining unit, using the lower half of the default picture as the first cancellation portion;
Otherwise, using the lower half of the default picture as the first combining unit, using the first half of the default picture as first Cancellation portion;
Correspondingly, the photo cutting is that the second combining unit and the second cancellation portion include by the straight line:
Judge whether first combining unit is the first half of the default picture, if so, then making the lower half of the photo It is the second combining unit, using the first half of the photo as the second cancellation portion;
Otherwise, using the first half of the photo as the second combining unit, using the lower half of the photo as the second cancellation portion.
CN201611246677.9A 2016-12-29 2016-12-29 A kind of take pictures synthesizer and method based on edge input Active CN106791414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611246677.9A CN106791414B (en) 2016-12-29 2016-12-29 A kind of take pictures synthesizer and method based on edge input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611246677.9A CN106791414B (en) 2016-12-29 2016-12-29 A kind of take pictures synthesizer and method based on edge input

Publications (2)

Publication Number Publication Date
CN106791414A true CN106791414A (en) 2017-05-31
CN106791414B CN106791414B (en) 2019-11-08

Family

ID=58929042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611246677.9A Active CN106791414B (en) 2016-12-29 2016-12-29 A kind of take pictures synthesizer and method based on edge input

Country Status (1)

Country Link
CN (1) CN106791414B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780346A (en) * 2017-01-19 2017-05-31 努比亚技术有限公司 A kind of picture splicing apparatus and method based on edge input

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060114363A1 (en) * 2004-11-26 2006-06-01 Lg Electronics Inc. Apparatus and method for combining images in a terminal device
CN103491298A (en) * 2013-09-13 2014-01-01 惠州Tcl移动通信有限公司 Multi-region real-time synthesis photographing method and touch control terminal
CN104580918A (en) * 2015-02-02 2015-04-29 联想(北京)有限公司 Image processing method and device and electronic device
CN105808145A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Method and terminal for achieving image processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060114363A1 (en) * 2004-11-26 2006-06-01 Lg Electronics Inc. Apparatus and method for combining images in a terminal device
CN103491298A (en) * 2013-09-13 2014-01-01 惠州Tcl移动通信有限公司 Multi-region real-time synthesis photographing method and touch control terminal
CN104580918A (en) * 2015-02-02 2015-04-29 联想(北京)有限公司 Image processing method and device and electronic device
CN105808145A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Method and terminal for achieving image processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780346A (en) * 2017-01-19 2017-05-31 努比亚技术有限公司 A kind of picture splicing apparatus and method based on edge input
CN106780346B (en) * 2017-01-19 2021-08-03 努比亚技术有限公司 Image splicing device and method based on edge input

Also Published As

Publication number Publication date
CN106791414B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
US9791933B2 (en) Projection type image display apparatus, image projecting method, and computer program
CN108377334B (en) Short video shooting method and device and electronic terminal
CN105812650A (en) Image obtaining method and electronic device
JP4131929B2 (en) Object image composition method
US9747870B2 (en) Method, apparatus, and computer-readable medium for superimposing a graphic on a first image generated from cut-out of a second image
US20130113789A1 (en) Information processing apparatus, display control method, and program
JP6691529B2 (en) Eyebrow shape guide device and method thereof
JP5564384B2 (en) Image generation program, imaging apparatus, imaging system, and image generation method
CN107358656A (en) The AR processing systems and its processing method of a kind of 3d gaming
KR102407190B1 (en) Image capture apparatus and method for operating the image capture apparatus
CN105100625A (en) Figure image auxiliary shooting method and system based on image aesthetics
CN104580918B (en) Image processing method, image processing apparatus and electronic equipment
JP2019037746A (en) Eyeliner application guide and method
WO2009035199A1 (en) Virtual studio posture correction machine
TW201333837A (en) Image capture method and mobile camera device thereof
KR20170002598A (en) Photographing method, device and terminal
JP5684507B2 (en) Imaging apparatus, program, information storage medium, and imaging method
CN106888333A (en) A kind of image pickup method and device
CN106780346A (en) A kind of picture splicing apparatus and method based on edge input
CN106791414A (en) A kind of take pictures synthesizer and method based on edge input
US9667936B2 (en) Creating and customizing a colorable image of a user
JP6575085B2 (en) Photo sticker creation apparatus and image generation method
JP2006309774A (en) Method and device for creating texture and border line of digital image
CN113507575B (en) Human body self-photographing lens generation method and system
CN105847771A (en) Image processing method and electronic 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
GR01 Patent grant
GR01 Patent grant