CN106791414B - 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
CN106791414B
CN106791414B CN201611246677.9A CN201611246677A CN106791414B CN 106791414 B CN106791414 B CN 106791414B CN 201611246677 A CN201611246677 A CN 201611246677A CN 106791414 B CN106791414 B CN 106791414B
Authority
CN
China
Prior art keywords
combining unit
photo
edge
coordinate points
default 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.)
Active
Application number
CN201611246677.9A
Other languages
Chinese (zh)
Other versions
CN106791414A (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)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to technical field of mobile terminals, disclose a kind of take pictures synthesizer and method based on edge input, which includes: the first acquisition module, for obtaining default picture;Second obtains module, for obtaining real-time imaging by camera;The first edge touch control operation for obtaining the first edge region of mobile terminal screen, obtains the first coordinate points;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, which form straight line for default picture cutting,;It obtains shooting instruction and shoots photo, photo cutting is the second combining unit and the second cancellation portion by straight line;Synthesis module, the second combining unit merging for obtaining the first combining unit and photo of default picture becomes target picture, the real-time imaging of camera is carried out cutting with already present picture by edge input to synthesize, synthesis processing is carried out to photo while taking pictures, improves user 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 technique
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 Row, during using 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 movement of phase processing, however, these movements for taking pictures or posture be particularly likely that be unable to normal photographing come out or The essential of exercise of person's shooting is excessively complicated, it is difficult to imitate, therefore, it is necessary to users to carry out photo synthesis, and general photo synthesis is all It is to be synthesized again after shooting, and cannot be synthesized when shooting.
Summary 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, pass through edge The real-time imaging of camera is carried out cutting with already present picture and synthesized by input, is carried out at synthesis while taking pictures to photo Reason, improves user experience.
To achieve the above object, a kind of synthesizer of taking pictures based on edge input provided by the invention, comprising:
First acquisition module shows the default picture in view-finder for obtaining default picture in the form of blurring;
Second obtains module, for obtaining real-time imaging by camera and being shown in view-finder;
First coordinate points obtain module, the first edge touch-control behaviour in the first edge region for obtaining mobile terminal screen Make, obtains the first coordinate points;
Second coordinate points obtain module, for obtaining second on the corresponding second edge region in the first edge region Coordinate points;
First cutting module forms straight line for the default picture for first coordinate points and the second coordinate points Cutting is that the first combining unit and the first cancellation portion, the straight line are shown in view-finder;
Second cutting module, for obtaining shooting instruction and shooting photo, 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, which merges, becomes target picture.
Optionally, the second coordinate points acquisition module includes:
Using first coordinate points as starting point, and to prolong perpendicular to the first edge region to the second edge region It stretches to form straight line, takes 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 for obtaining the second edge region, obtains the second coordinate points.
Optionally, further includes:
Judgment module, the second edge for obtaining the second edge region input operation, judge the second edge Whether input operation is preset edge input action, if so, by the first combining unit of the default picture and the photo The second combining unit merge become target picture.
Optionally, the preset edge input action is to slide up and down.
Optionally, the first cutting module includes:
The default picture is judged whether in the upper half of the view-finder, if so, by the upper half of the default picture Portion is 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 upper 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 upper half, if so, by the lower half of the photo Portion is as the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper 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, provide it is a kind of based on edge input synthetic method of taking pictures, comprising:
Default picture is obtained, the default picture is shown in view-finder in the form of blurring;
Real-time imaging is obtained by camera and is shown in view-finder;
The first edge touch control operation for obtaining the first edge region of mobile terminal screen, obtains the first coordinate points;Institute It states and obtains 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, which form straight line for the default picture cutting, With the first cancellation portion, the straight line is shown in view-finder;
It obtains shooting instruction and shoots 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 One combining unit and the second combining unit of the photo, which merge, becomes target picture.
Optionally, obtaining the second coordinate points on the corresponding second edge region in the first edge region includes:
Using first coordinate points as starting point, and to prolong perpendicular to the first edge region to the second edge region It stretches to form straight line, takes 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 for obtaining the second edge region, obtains the second coordinate points.
Optionally, merge by the second combining unit of the first combining unit of the default picture and the photo as target Before photo further include:
The second edge input operation for obtaining the second edge region, judge second edge input operation whether be Preset edge input action, if so, the first combining unit of the default picture and the second combining unit of the photo are closed And become target picture.
Optionally, the preset edge input action is to slide up and down.
Optionally, it is first that first coordinate points and the second coordinate points, which form straight line for the default picture cutting, Combining unit and the first cancellation portion include:
The default picture is judged whether in the upper half of the view-finder, if so, by the upper half of the default picture Portion is 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 upper half of the default picture as First cancellation portion;
Correspondingly, the photo cutting is the second combining unit by the straight line and the second cancellation portion includes:
Judge first combining unit whether be the default picture the upper half, if so, by the lower half of the photo Portion is as the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper 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, which includes: the first acquisition Module shows the default picture in view-finder for obtaining default picture in the form of blurring;Second obtains module, uses It real-time imaging and is shown in view-finder in being obtained by camera;First coordinate points obtain 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 obtain module, are used for The first edge region obtains the second coordinate points on corresponding second edge region;First cutting module is used for described first It is the first combining unit and the first cancellation portion that coordinate points and the second coordinate points, which form straight line for the default picture cutting, described Straight line is shown in view-finder;Second cutting module, for obtaining shooting instruction and shooting photo, 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 first combining unit of the default picture and the second combining unit of the photo, which are merged, becomes target The real-time imaging of camera is carried out cutting with already present picture by edge input and synthesized by photo, control while taking pictures Piece carries out synthesis processing, improves user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached 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 provides Figure;
Fig. 2 is that a kind of screen area for mobile terminal that the embodiment of the present invention one provides divides schematic diagram;
Fig. 3 is a kind of left hand edge input schematic diagram that the embodiment of the present invention one provides;
Fig. 4 is another left hand edge input schematic diagram that the embodiment of the present invention one provides;
Fig. 5 is a kind of edge input decomposition diagram that the embodiment of the present invention one provides;
Fig. 6 is another edge input decomposition diagram that the embodiment of the present invention one provides;
Fig. 7 is a kind of edge input overall schematic that the embodiment of the present invention one provides;
Fig. 8 is a kind of left hand edge input schematic diagram provided by Embodiment 2 of the present invention;
Fig. 9 is another left hand edge input schematic diagram provided by Embodiment 2 of the present invention;
Figure 10 is a kind of edge input decomposition diagram provided by Embodiment 2 of the present invention;
Figure 11 is another edge input decomposition diagram provided by Embodiment 2 of the present invention;
Figure 12 is a kind of edge input overall schematic provided by Embodiment 2 of the present invention;
Figure 13 is a kind of synthetic method flow diagram of taking pictures based on edge input that the embodiment of the present invention three provides;
Figure 14 is another synthetic method flow diagram of taking pictures based on edge input that the embodiment of the present invention three provides.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail A 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, comprising:
First acquisition module 10 shows the default picture in the form of blurring in view-finder for obtaining default picture It is interior;
Second obtains module 20, for obtaining real-time imaging by camera and being shown in view-finder;
First coordinate points obtain 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 obtain module 40, for obtaining the on the corresponding second edge region in the first edge region Two coordinate points;
First cutting module 50 forms straight line for the default figure for first coordinate points and the second coordinate points Piece cutting is that the first combining unit and the first cancellation portion, the straight line are shown in view-finder;
Second cutting module 60, for obtaining shooting instruction and shooting photo, the photo cutting is the by the straight line Two combining units and the second cancellation portion;
Synthesis module 70 will for obtaining the first combining unit of the default picture and the second combining unit of the photo First combining unit of the default picture and the second combining unit of the photo, which merge, becomes target picture.
In the present embodiment, it is inputted by edge and synthesizes the real-time imaging of camera with the progress cutting of already present picture, Synthesis processing is carried out to photo while taking pictures, improves user experience.
As shown in Fig. 2, the screen area for the mobile terminal of the embodiment of the present invention one divides schematic diagram, wherein the area A is positive Normal display area, the area C is fringe region, and is divided into left border region and right border region, and the area B is no-input zone.
In the present embodiment, the present invention is mainly suitable for photo synthesis processing when taking pictures, the default picture be can be User's photo, the photo of a certain scenic spot or the picture downloaded on the net, before user is satisfied in picture 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 the image that can be taken is synthesized with the parts of images in picture before, the technical solution in this case can be used.
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, the area A is the view-finder of camera, can be used for placing default picture, the default picture It can be already present picture, photo in mobile terminal, be also possible to the photo temporarily shot by the camera on mobile terminal, User can voluntarily select, and when the picture chosen is placed in view-finder by user, user can carry out dragging behaviour to picture Make, the more favorite part of user in picture (top half, lower half portion or the middle section of such as photo) is dragged to and is taken The corresponding position of scape frame, for example, wanting when the top half of the more favorite photo of user by the top half of this photo Lower half portion as target picture (user shoots the photo after synthesis), so that it may which photo is dragged to the lower half of view-finder Point, and the photo is set and is preferentially shown on screen in institute overlay area, that is, when there is real-time imaging in view-finder, it is described The part of real-time imaging and the default overlaying graphics is shown as the photo content, in order to avoid default picture shelters from real time Image, the form that default picture can be blurred are shown in view-finder.
User triggers the camera starting of camera, and camera obtains real-time imaging by view-finder, is shown in shown in Fig. 2 The area A shows the photo by the region that above-mentioned photo is covered in a manner of blurring, and user can see live view simultaneously Content;As another embodiment, the content of live view is not shown, by the region that above-mentioned photo is covered in order to user The pre- judgement synthesized, both display methods can voluntarily be selected by user, only need to avoid in later approach Real-time imaging is completely covered in default picture.
In the present embodiment, fixed form division or customized division can be used in the area fringe region C.Fixed partition exists Mobile terminal screen area setting regular length, fixed broadband region as the area C.The area C includes 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, position are fixed at mobile terminal Both sides of the edge, as shown in Figure 2.Certainly, the area C can also be only divided at the one side edge of mobile terminal.
Customized division, the i.e. number in the region in the area C, position and size, the setting that can customize, for example, can be by user It is set, quantity, position and the size in the region in the area C can also be adjusted by mobile terminal according to self-demand.In general, the area C Fundamental figure is designed as rectangle, as long as two apex coordinates of tablet pattern diagonally are position and the size that can determine the area C.
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 when mobile terminal receives first edge touch control operation, the first edge touch control operation is obtained, the first coordinate is obtained Then point obtains the second coordinate points on the corresponding second edge region in the first edge region, passes through first coordinate Point and the second coordinate points form straight line and carry out cutting with the photo to default picture and shooting.
In the present embodiment, the method that the method for obtaining the second coordinate points obtains the straight line in other words has two, the first Method, as shown in figure 3, using first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, 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 to take from the line segment a little all can be used 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 using first coordinate points as starting point, and with perpendicular to the first edge region to institute It states this straight line that second edge region extends to form to carry out cutting to the photo of default picture and shooting, does not need first to ask the Two coordinate points re-form straight line;The default picture D cutting is the first combining unit and the first cancellation portion by the straight line, described straight The photo E cutting is also the second combining unit and the second cancellation portion by line.
Second method obtains second as shown in figure 4, obtaining the second edge touch control operation in the second edge region Coordinate points, namely right hand touch second edge region generation of second coordinate points by user at this time, the second seat obtained in this way The straight line that punctuate and the first coordinate points are formed can be more flexible, in addition to as being generated in above-mentioned first method perpendicular to two sides , can also be with two fringe regions in the unspecified angle within the scope of other angles, such as 60 ° -90 ° outside the straight line in edge region, it can To be freely arranged by user, good experience is provided the user with, for example, not generating temporarily vertical after determining the first coordinate points In the straight line of fringe region, but touch control operation is carried out by the right hand, according to the content of default picture or photo, chooses one the Two coordinate points generate straight line as shown in Figure 4.
As another embodiment, second coordinate points can also touch second edge region by the left hand of user and produce It is raw, such as the index finger touch first edge region generation first edge touch control operation of left hand, obtain the first coordinate points, the thumb of left hand Refer to that touching second edge region generates second edge touch control operation, obtains the second coordinate points.
As another embodiment, the straight line also could alternatively be curve, can be by normal defeated in view-finder Enter region to be adjusted, to meet the needs of user is more changeable.
As shown in figure 5, presetting picture D in order to make it easy to understand, only showing in Fig. 5, the photo E, In in view-finder are not shown In the present embodiment, the straight line is the first combining unit by the default picture D cutting and the first cancellation portion includes:
Position of the default picture in the view-finder can drag adjustment;
The default picture is judged whether in the upper half of the view-finder, if so, by the upper half of the default picture Portion is 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 be in the lower half of the view-finder, will be described The lower half of default picture is as the first combining unit, using the upper half of the default picture as the first cancellation portion;
When user can not judge that the photo is the lower half or the upper half in the view-finder easily, 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, do not show default picture D, In In the present embodiment, the photo E points are included: by the straight line for the second combining unit and the second cancellation portion
Judge first combining unit whether be the default picture the upper half, if so, by the lower half of the photo Portion is as the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Since this programme is the synthesis for photo, after the first combining unit for determining default picture, so that it may really Determine the second combining unit of photo.
As another embodiment, the second combining unit that can also first determine photo is come further according to second combining unit Determine the first combining unit.
It in the present embodiment, further include judgment module, the second edge for obtaining the second edge region inputs behaviour Make, judge whether second edge input operation is preset edge input action, if so, by the of the default picture One combining unit and the second combining unit of the photo, which merge, becomes target picture.
As shown in fig. 7, after determining the first combining unit and the second combining unit, so that it may be existed by the right hand shown in Fig. 7 The second edge input operation in second edge region judges whether the second edge input operation is pre- to carry out photo synthesis If edge input action, if so, first combining unit and second combining unit are synthesized target picture, and pass through Camera exports the target picture.
In the present embodiment, the preset 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 when mobile terminal receives first edge touch control operation, the first edge touch control operation is obtained, the first coordinate is obtained Then point obtains the second coordinate points on the corresponding second edge region in the first edge region, passes through first coordinate Point and the second coordinate points form straight line and carry out cutting with the photo to default picture and shooting.
In the present embodiment, the method that the method for obtaining the second coordinate points obtains the straight line in other words has two, the first Method, as shown in figure 8, using first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, 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 to take from the line segment a little all can be used 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 using first coordinate points as starting point, and with perpendicular to the first edge region to institute It states this straight line that second edge region extends to form to carry out cutting to the photo of default picture and shooting, does not need first to ask the Two coordinate points re-form straight line;The default picture D cutting is the first combining unit and the first cancellation portion by the straight line, described straight The photo E cutting is also the second combining unit and the second cancellation portion by line.
Second method obtains second as shown in figure 9, obtaining the second edge touch control operation in the second edge region Coordinate points, namely left hand touch second edge region generation of second coordinate points by user at this time, the second seat obtained in this way The straight line that punctuate and the first coordinate points are formed can be more flexible, in addition to as being generated in above-mentioned first method perpendicular to two sides , can also be with two fringe regions in the unspecified angle within the scope of other angles, such as 60 ° -90 ° outside the straight line in edge region, it can To be freely arranged by user, good experience is provided the user with, for example, not generating temporarily vertical after determining the first coordinate points In the straight line of fringe region, but touch control operation is carried out by left hand, according to the content of default picture or photo, chooses one the Two coordinate points generate straight line as shown in Figure 9.
As another embodiment, second coordinate points can also touch second edge region by the right hand of user and produce It is raw, such as the index finger touch first edge region generation first edge touch control operation of the right hand, obtain the first coordinate points, the thumb of the right hand Refer to that touching second edge region generates second edge touch control operation, obtains the second coordinate points.
As another embodiment, the straight line also could alternatively be curve, can be by normal defeated in view-finder Enter region to be adjusted, to meet the needs of user is more changeable.
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, the default picture D cutting is the first combining unit by the straight line and the first cancellation portion includes:
Position of the default picture in the view-finder can drag adjustment;
The default picture is judged whether in the upper half of the view-finder, if so, by the upper half of the default picture Portion is 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 upper half of the default picture as the first cancellation portion;
When user can not judge that the photo is the lower half or the upper half in the view-finder easily, 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 are included: by the straight line for the second combining unit and the second cancellation portion
Judge first combining unit whether be the default picture the upper half, if so, by the lower half of the photo Portion is as the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Since this programme is the synthesis for photo, after the first combining unit for determining default picture, so that it may really Determine the second combining unit of photo.
As another embodiment, the second combining unit that can also first determine photo is come further according to second combining unit Determine the first combining unit.
It in the present embodiment, further include judgment module, the second edge for obtaining the second edge region inputs behaviour Make, judge whether second edge input operation is preset edge input action, if so, by the of the default picture One combining unit and the second combining unit of the photo, which merge, becomes target picture.
As shown in figure 12, after determining the first combining unit and the second combining unit, so that it may pass through left hand shown in Figure 12 Second edge input operation in second edge region carries out photo synthesis, judge the second edge input operation whether be Preset edge input action if so, first combining unit and second combining unit are synthesized target picture, and leads to It crosses camera and exports 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, comprising:
S10, default picture is obtained, the default picture is shown in view-finder in the form of blurring;
S20, real-time imaging is obtained by camera and is shown in view-finder;
The first edge touch control operation in the first edge region of S30, acquisition mobile terminal screen, obtains 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, which form straight line for the default picture cutting, At portion and the first cancellation portion, the straight line is shown in view-finder;
S50, it obtains shooting instruction and shoots photo, the photo cutting is that the second combining unit and second takes by the straight line Disappear portion;
The 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 become target picture.
In the present embodiment, it is inputted by edge and synthesizes the photo of camera with the progress cutting of already present picture, clapped Synthesis processing is carried out to picture while photograph, improves user experience.
As shown in Fig. 2, the screen area for the mobile terminal of the embodiment of the present invention one divides schematic diagram, wherein the area A is positive Normal display area, the area C is fringe region, and is divided into left border region and right border region, and the area B is no-input zone.
In the present embodiment, the present invention is mainly suitable for photo synthesis processing when taking pictures, the default picture be can be User's photo, the photo of a certain scenic spot or the picture downloaded on the net, before user is satisfied in picture 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 the image that can be taken is synthesized with the parts of images in picture before, the technical solution in this case can be used.
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, the area A is the view-finder of camera, can be used for placing default picture, the default picture It can be already present picture, photo in mobile terminal, be also possible to the photo temporarily shot by the camera on mobile terminal, User can voluntarily select, and when the picture chosen is placed in view-finder by user, user can carry out dragging behaviour to picture Make, the more favorite part of user in picture (top half, lower half portion or the middle section of such as photo) is dragged to and is taken The corresponding position of scape frame, for example, wanting when the top half of the more favorite photo of user by the top half of this photo Lower half portion as target picture (user shoots the photo after synthesis), so that it may which photo is dragged to the lower half of view-finder Point, and the photo is set and is preferentially shown on screen in institute overlay area, that is, when there is real-time imaging in view-finder, it is described The part of real-time imaging and the default overlaying graphics is shown as the photo content, in order to avoid default picture shelters from real time Image, the form that default picture can be blurred are shown in view-finder.
User triggers the camera starting of camera, and camera obtains real-time imaging by view-finder, is shown in shown in Fig. 2 The area A shows the photo by the region that above-mentioned photo is covered in a manner of blurring, and user can see live view simultaneously Content;As another embodiment, the content of live view is not shown, by the region that above-mentioned photo is covered in order to user The pre- judgement synthesized, both display methods can voluntarily be selected by user, only need to avoid in later approach Real-time imaging is completely covered in default picture.
In the present embodiment, fixed form division or customized division can be used in the area fringe region C.Fixed partition exists Mobile terminal screen area setting regular length, fixed broadband region as the area C.The area C includes 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, position are fixed at mobile terminal Both sides of the edge, as shown in Figure 2.Certainly, the area C can also be only divided at the one side edge of mobile terminal.
Customized division, the i.e. number in the region in the area C, position and size, the setting that can customize, for example, can be by user It is set, quantity, position and the size in the region in the area C can also be adjusted by mobile terminal according to self-demand.In general, the area C Fundamental figure is designed as rectangle, as long as two apex coordinates of tablet pattern diagonally are position and the size that can determine the area C.
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 when mobile terminal receives first edge touch control operation, the first edge touch control operation is obtained, the first coordinate is obtained Then point obtains the second coordinate points on the corresponding second edge region in the first edge region, passes through first coordinate Point and the second coordinate points form straight line and carry out cutting with the photo to default picture and shooting.
In the present embodiment, the method that the method for obtaining the second coordinate points obtains the straight line in other words has two, the first Method, as shown in figure 3, using first coordinate points as starting point, and with perpendicular to the first edge region to second side Edge region extends to form straight line, 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 to take from the line segment a little all can be used 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 using first coordinate points as starting point, and with perpendicular to the first edge region to institute It states this straight line that second edge region extends to form to carry out cutting to the photo of default picture and shooting, does not need first to ask the Two coordinate points re-form straight line;The default picture D cutting is the first combining unit and the first cancellation portion by the straight line, described straight The photo E cutting is also the second combining unit and the second cancellation portion by line.
Second method obtains second as shown in figure 4, obtaining the second edge touch control operation in the second edge region Coordinate points, namely right hand touch second edge region generation of second coordinate points by user at this time, the second seat obtained in this way The straight line that punctuate and the first coordinate points are formed can be more flexible, in addition to as being generated in above-mentioned first method perpendicular to two sides , can also be with two fringe regions in the unspecified angle within the scope of other angles, such as 60 ° -90 ° outside the straight line in edge region, it can To be freely arranged by user, good experience is provided the user with, for example, not generating temporarily vertical after determining the first coordinate points In the straight line of fringe region, but touch control operation is carried out by the right hand, according to the content of default picture or photo, chooses one the Two coordinate points generate straight line as shown in Figure 4.
As another embodiment, second coordinate points can also touch second edge region by the left hand of user and produce It is raw, such as the index finger touch first edge region generation first edge touch control operation of left hand, obtain the first coordinate points, the thumb of left hand Refer to that touching second edge region generates second edge touch control operation, obtains the second coordinate points.
As another embodiment, the straight line also could alternatively be curve, can be by normal defeated in view-finder Enter region to be adjusted, to meet the needs of user is more changeable.
As shown in figure 5, presetting picture D in order to make it easy to understand, only showing in Fig. 5, the photo E, In in view-finder are not shown In the present embodiment, the straight line is the first combining unit by the default picture D cutting and the first cancellation portion includes:
Position of the default picture in the view-finder can drag adjustment;
The default picture is judged whether in the upper half of the view-finder, if so, by the upper half of the default picture Portion is 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 be in the lower half of the view-finder, will be described The lower half of default picture is as the first combining unit, using the upper half of the default picture as the first cancellation portion;
When user can not judge that the photo is the lower half or the upper half in the view-finder easily, 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, do not show default picture D, In In the present embodiment, the photo E points are included: by the straight line for the second combining unit and the second cancellation portion
Judge first combining unit whether be the default picture the upper half, if so, by the lower half of the photo Portion is as the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper half of the photo as the second combining unit, cancel the lower half of the photo as second Portion.
Since this programme is the synthesis for photo, after the first combining unit for determining default picture, so that it may really Determine the second combining unit of photo.
As another embodiment, the second combining unit that can also first determine photo is 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, further include judgment step S51, obtain described the The second edge of two fringe regions inputs operation, judges whether the second edge input operation is that preset edge input is dynamic Make, if so, entering step S60 becomes the first combining unit of the default picture and the merging of the second combining unit of the photo Otherwise target picture enters step S52, ignores the second edge input operation.
As shown in fig. 7, after determining the first combining unit and the second combining unit, so that it may be existed by the right hand shown in Fig. 7 The second edge input operation in second edge region judges whether the second edge input operation is pre- to carry out photo synthesis If edge input action, if so, first combining unit and second combining unit are synthesized target picture, and pass through Camera exports the target picture.
In the present embodiment, the preset edge input action is to slide up and down.
As another embodiment, left border region can be made using right border region as first edge region For second edge region, the straight line for being used for cutting can be thus 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 It is interpreted as, expression includes the steps that one or more codes for realizing specific logical function or the executable instruction of process Module, segment or part, and the range of embodiment of the present invention includes other realization, wherein can not by shown or The sequence of discussion, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this is answered By the embodiment of the present invention, the technical personnel in the technical field understand.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (8)

1. a kind of synthesizer of taking pictures based on edge input characterized by comprising
First acquisition module shows the default picture in view-finder for obtaining default picture in the form of blurring;
Second obtains module, for obtaining real-time imaging by camera and being shown 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 obtain module, for obtaining the second coordinate on the corresponding second edge region in the first edge region Point;
First cutting module forms straight line for the default picture cutting for first coordinate points and the second coordinate points For the first combining unit and the first cancellation portion, the straight line is shown in view-finder;
Second cutting module, for obtaining shooting instruction and shooting photo, the photo cutting is the second synthesis by the straight line Portion and the second cancellation portion;
Synthesis module will be described pre- for obtaining the first combining unit of the default picture and the second combining unit of the photo If the first combining unit of picture and the second combining unit of the photo, which merge, becomes target picture;
The first cutting module includes:
The default picture is judged whether in the upper half of the view-finder, if so, the upper half of the default picture is made For 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 upper half of the default picture as first Cancellation portion;
Correspondingly, the second cutting module includes:
Judge whether first combining unit is the upper half of the default picture, if so, the lower half of the photo is made For the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper half of the photo as the second combining unit, using the lower half of the photo as the second cancellation portion.
2. a kind of synthesizer of taking pictures based on edge input according to claim 1, which is characterized in that described second sits Punctuate obtains module
Using first coordinate points as starting point, and to extend shape to the second edge region 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 takes a little as the second coordinate points;Or
The second edge touch control operation for obtaining the second edge region, obtains the second coordinate points.
3. a kind of synthesizer of taking pictures based on edge input according to claim 2, which is characterized in that further include:
Judgment module, the second edge for obtaining the second edge region input operation, judge the second edge input Whether operation is preset edge input action, if so, by the of the first combining unit of the default picture and the photo Two combining units, which merge, becomes target picture.
4. a kind of synthesizer of taking pictures based on edge input according to claim 3, which is characterized in that described preset Edge input action is to slide up and down.
5. a kind of synthetic method of taking pictures based on edge input characterized by comprising
Default picture is obtained, the default picture is shown in view-finder in the form of blurring;
Real-time imaging is obtained by camera and is shown in view-finder;
The first edge touch control operation for obtaining the first edge region of mobile terminal screen, obtains the first coordinate points;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, which form straight line for the default picture cutting, One cancellation portion, the straight line are shown in view-finder;
It obtains shooting instruction and shoots 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, the first of the default picture is closed Merging at the second combining unit of portion and the photo becomes target picture;
It is the first combining unit and that first coordinate points and the second coordinate points, which form straight line for the default picture cutting, One cancellation portion includes:
The default picture is judged whether in the upper half of the view-finder, if so, the upper half of the default picture is made For 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 upper half of the default picture as first Cancellation portion;
Correspondingly, the photo cutting is the second combining unit by the straight line and the second cancellation portion includes:
Judge whether first combining unit is the upper half of the default picture, if so, the lower half of the photo is made For the second combining unit, using the upper half of the photo as the second cancellation portion;
Otherwise, using the upper half of the photo as the second combining unit, using the lower half of the photo as the second cancellation portion.
6. a kind of synthetic method of taking pictures based on edge input according to claim 5, which is characterized in that described first Obtaining the second coordinate points on the corresponding second edge region of fringe region includes:
Using first coordinate points as starting point, and to extend shape to the second edge region 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 takes a little as the second coordinate points;Or
The second edge touch control operation for obtaining the second edge region, obtains the second coordinate points.
7. a kind of synthetic method of taking pictures based on edge input according to claim 6, which is characterized in that will be described pre- If the first combining unit of picture and the second combining unit of the photo merge before becoming target picture further include:
The second edge input operation for obtaining the second edge region judges whether the second edge input operation is default Edge input action, if so, the second combining unit of the first combining unit of the default picture and the photo is merged into For target picture.
8. a kind of synthetic method of taking pictures based on edge input according to claim 7, which is characterized in that described preset Edge input action is to slide up and down.
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 CN106791414A (en) 2017-05-31
CN106791414B true 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)

Families Citing this family (1)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100631610B1 (en) * 2004-11-26 2006-10-09 엘지전자 주식회사 Image signal synthesizing apparatus and method of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106791414A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
WO2015122108A1 (en) Information processing device, information processing method and program
JP5564384B2 (en) Image generation program, imaging apparatus, imaging system, and image generation method
CN109196558A (en) For be directed at image and show a series of alignments image camera system and method
CN111726536A (en) Video generation method and device, storage medium and computer equipment
US20110273369A1 (en) Adjustment of imaging property in view-dependent rendering
CN107358656A (en) The AR processing systems and its processing method of a kind of 3d gaming
KR102461232B1 (en) Image processing method and apparatus, electronic device, and storage medium
JP2014238731A (en) Image processor, image processing system, and image processing method
CN115917474A (en) Rendering avatars in three-dimensional environments
KR102407190B1 (en) Image capture apparatus and method for operating the image capture apparatus
JP2004186994A (en) Method, device, and program for compositing object image
WO2009035199A1 (en) Virtual studio posture correction machine
JP2008004045A (en) Image processor, image processing system, control method of computer and program
CN106200916B (en) Control method, device and the terminal device of augmented reality image
CN104580918A (en) Image processing method and device and electronic device
JP7446754B2 (en) Image processing device, image processing method, and program
CN106791414B (en) A kind of take pictures synthesizer and method based on edge input
JP2022183213A (en) Head-mounted display
KR20190074911A (en) Method for providing realistic type image contents and server using the same
US11212502B2 (en) Method of modifying an image on a computational device
CN106851117A (en) A kind of method and electronic equipment for obtaining distant view photograph
WO2021109764A1 (en) Image or video generation method and apparatus, computing device and computer-readable medium
CN106780346A (en) A kind of picture splicing apparatus and method based on edge input
JP6799468B2 (en) Image processing equipment, image processing methods and computer programs
CN112991157B (en) Image processing method, image processing device, electronic equipment and storage medium

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