CN104735353A - Method and device for taking panoramic photo - Google Patents

Method and device for taking panoramic photo Download PDF

Info

Publication number
CN104735353A
CN104735353A CN201510106142.0A CN201510106142A CN104735353A CN 104735353 A CN104735353 A CN 104735353A CN 201510106142 A CN201510106142 A CN 201510106142A CN 104735353 A CN104735353 A CN 104735353A
Authority
CN
China
Prior art keywords
pictures
sub
spliced
benchmark
window
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
CN201510106142.0A
Other languages
Chinese (zh)
Other versions
CN104735353B (en
Inventor
岳闯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510106142.0A priority Critical patent/CN104735353B/en
Publication of CN104735353A publication Critical patent/CN104735353A/en
Application granted granted Critical
Publication of CN104735353B publication Critical patent/CN104735353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention relates to the technical field of cameras, in particular to a method and device for taking a panoramic photo. The method includes the steps that pictures are obtained and serve as reference sub-pictures, and the boundaries, to be spliced, on the reference sub-pictures are determined; a reference window and a view finding window which are connected are displayed on a display interface of a camera, and the reference sub-pictures are displayed in the reference window; the camera is controlled to take images in the view finding window, at least one picture to be selected is generated, and one picture is selected from the at least one picture to be selected to serve as a sub-picture to be spliced; finally, the sub-picture to be spliced and the reference sub-pictures are spliced, and the spliced pictures are formed. Due to the adoption of the technical scheme, a user can splice the pictures like playing a jigsaw puzzle, finally, the camera on a mobile terminal automatically generates the spliced panoramic photo, entertainment is improved, and better shooting experience is obtained while the user can conveniently and fast take the panoramic photo.

Description

A kind of method of the photo that pans and device
Technical field
The embodiment of the present invention relates to camera technique field, particularly relates to a kind of method and device of the photo that pans.
Background technology
Camera of the prior art is not when being equipped with wide-angle lens, and usually cannot photograph large and complete photo because wide-angle is not enough, camera built-in in the mobile terminal that especially people such as panel computer and smart mobile phone commonly use is difficult to reach this object especially.But, for domestic consumer, they can not carry with heavy slr camera and wide-angle lens as shutterbugs, they to like using under the mobile terminal records such as panel computer easy to carry or smart mobile phone image at one's side, so, when domestic consumer need use mobile terminal pan photo time, existing mobile terminal is difficult to meet consumers' demand.Improve with the object reaching the photo that pans if made at the hardware aspect of camera, then need the performance increasing electronic devices and components or improve relative electronic components, the increase of cost will inevitably be caused.
In prior art, some mobile terminal is provided with panorama photographing mode, but operation is more difficult usually for domestic consumer, and takes the photo come and have distortion to a certain degree and distortion.In addition, most panorama photographing mode of the prior art only allows user to pass through to move horizontally camera to pan photo, so the width of distant view photograph is the same with the width of the photo taken under general mode, the demand that user takes large and complete photo can not be met.
Summary of the invention
The object of the invention is the method and the device that propose a kind of photo that pans, use mobile terminal to pan easily the demand of photo to meet user.
On the one hand, embodiments provide a kind of method of the photo that pans, comprising:
Obtain picture as benchmark sub-pictures, and determine the border to be spliced on described benchmark sub-pictures;
Camera display interface shows the benchmark window and viewfinder window that connect, and show described benchmark sub-pictures in described benchmark window, make the border to be spliced on described benchmark sub-pictures be positioned at the boundary line place of described benchmark window and described viewfinder window;
Control the image in camera shooting viewfinder window and generate at least one picture to be selected, in described at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at described boundary line place on wherein said sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on described benchmark sub-pictures;
Described sub-pictures to be spliced and described benchmark sub-pictures are spliced, is formed and splice picture.
On the other hand, embodiments provide a kind of device of the photo that pans, comprising:
Border to be spliced determination module, for obtaining picture as benchmark sub-pictures, and determines the border to be spliced on described benchmark sub-pictures;
Display module, for showing the benchmark window and viewfinder window that connect on camera display interface, and described benchmark sub-pictures is shown in described benchmark window, make the border to be spliced on described benchmark sub-pictures be positioned at the boundary line place of described benchmark window and described viewfinder window;
Control module, take the image in viewfinder window for controlling camera and generate at least one picture to be selected, in described at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at described boundary line place on wherein said sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on described benchmark sub-pictures;
Concatenation module, for described sub-pictures to be spliced and described benchmark sub-pictures being spliced, being formed and splicing picture.
The method of the photo that pans provided in the embodiment of the present invention and device, can user use mobile terminal to pan easily photo.The method of the photo that pans provided in the embodiment of the present invention, first obtains picture as benchmark sub-pictures, and determines the border to be spliced on benchmark sub-pictures; Camera display interface shows the benchmark window and viewfinder window that connect, and show benchmark sub-pictures in benchmark window, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window; Control the image in camera shooting viewfinder window and generate at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on benchmark sub-pictures; Finally, sub-pictures to be spliced and benchmark sub-pictures are spliced, formed and splice picture.By using this technical scheme, user can be spliced by comparison film as object for appreciation picture arrangement game, finally automatically generate spliced distant view photograph by the camera on mobile terminal, increase recreational, user is obtained while the photo that pans quickly and easily and better takes experience.
Accompanying drawing explanation
The schematic flow sheet of the method for a kind of photo that pans that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the method for a kind of photo that pans that Fig. 2 provides for the embodiment of the present invention two;
The distant view photograph splicing schematic diagram that Fig. 3 provides for the embodiment of the present invention two;
The schematic flow sheet of the method for a kind of photo that pans that Fig. 4 provides for the embodiment of the present invention three;
The schematic flow sheet of the method for a kind of photo that pans that Fig. 5 provides for the embodiment of the present invention four;
The schematic flow sheet of the method for a kind of photo that pans that Fig. 6 provides for the embodiment of the present invention five;
The structured flowchart of the device of a kind of photo that pans that Fig. 7 provides for the embodiment of the present invention six.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
Embodiment one
The schematic flow sheet of the method for a kind of photo that pans that Fig. 1 provides for the embodiment of the present invention one, the method can be performed by the device of the photo that pans, wherein this device can by software and/or hardware implementing, and the part that can be used as mobile terminal is built in mobile terminal.As shown in Figure 1, the method comprises:
Step 101, acquisition picture as benchmark sub-pictures, and determine the border to be spliced on benchmark sub-pictures.
In the present embodiment, can by acquisition for mobile terminal picture.Described mobile terminal is specifically as follows the mobile device such as smart mobile phone and panel computer with camera function, also can be the digital camera being provided with display screen.Described sub-pictures specifically can refer to the picture of the part forming whole Zhang Quanjing photo.Described benchmark sub-pictures specifically can refer to the sub-pictures that can be used as reference when splicing photo.Exemplary, obtain picture as benchmark sub-pictures, specifically can refer to from the picture library of mobile terminal, obtain a picture taken as benchmark sub-pictures, can obtain according to user operation, also can by the system automatic acquisition of mobile terminal; Also can refer to the camera pictures taken on user operation mobile terminal, obtain the picture of current shooting as benchmark sub-pictures.
Benchmark sub-pictures usually have top, below, the left side and border, four, the right, need to determine that one of them border is as border to be spliced.Exemplary, determine that the mode on border to be spliced can be freely chosen by user, concrete, user directly can click the boundary needing to carry out splicing on the touch-screen of mobile terminal, can determine that this border is border to be spliced; Can also be automatically chosen by the system of mobile terminal, such as, user is before the photo that pans, setting needs the number of sub-pictures and the arrangement mode of sub-pictures of splicing on mobile terminals, as 2 sub-pictures, arrange according to the mode of 1 row 2 row, so can by system using the first pictures of shooting as benchmark sub-pictures, determine that the right is for border to be spliced, then carries out follow-up splicing step simultaneously.
Step 102, on camera display interface, show the benchmark window and viewfinder window that connect, and show benchmark sub-pictures in benchmark window, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window.
The relative position relation of benchmark window and viewfinder window can be determined by the border to be spliced on benchmark sub-pictures.Such as, when border to be spliced is the right, viewfinder window can on the right side of benchmark window; When border to be spliced is the left side, viewfinder window can in the left side of benchmark window; When border to be spliced is top, viewfinder window can on benchmark window; When border to be spliced is top, viewfinder window can below benchmark window.
Benchmark window is adjacent with viewfinder window, and the border to be spliced of the benchmark sub-pictures shown in benchmark window is positioned at the boundary line place of datum windows mouth and viewfinder window, facilitates user to be aimed at benchmark sub-pictures by the image in viewfinder window like this.
Image in step 103, control camera shooting viewfinder window also generates at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
Show benchmark window and viewfinder window on the display interface of mobile terminal after, just can control the image in camera captured in real-time viewfinder window and generate picture to be selected.Preferably, when close with pixel value in the benchmark sub-pictures pixel comprising some being detected in the image in viewfinder window, the image controlled in camera captured in real-time viewfinder window also generates picture to be selected.In picture to be selected, choose one as sub-pictures to be spliced, the foundation choosing sub-pictures to be spliced is: the pixel value being positioned at boundary line place on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
User in use, can refer to benchmark sub-pictures in benchmark window to adjust the position of mobile terminal, makes the image that shows in viewfinder window and benchmark sub-pictures meet splicing condition.As carried out picture arrangement game, when user's naked eyes judge, close to when meeting splicing condition, slowly to finely tune mobile terminal locations, be convenient to mobile terminal and choose sub-pictures to be spliced more fast.After completing the selecting step of sub-pictures to be spliced, mobile terminal can stop shooting.
Step 104, sub-pictures to be spliced and benchmark sub-pictures to be spliced, formed and splice picture.
Exemplary, according to preset algorithm, the sub-pictures to be spliced chosen and benchmark sub-pictures can be spliced by mobile terminal, be formed and splice picture.After completing splicing, can show on the display interface of mobile terminal and splice picture, check for user.
The method that the embodiment of the present invention one provides, first obtains picture as benchmark sub-pictures, and determines the border to be spliced on benchmark sub-pictures; Camera display interface shows the benchmark window and viewfinder window that connect, and show benchmark sub-pictures in benchmark window, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window; Control the image in camera shooting viewfinder window and generate at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on benchmark sub-pictures; Finally, sub-pictures to be spliced and benchmark sub-pictures are spliced, formed and splice picture.By using this technical scheme, user can be spliced by comparison film as object for appreciation picture arrangement game, finally automatically generate spliced distant view photograph by the camera on mobile terminal, increase recreational, user is obtained while the photo that pans quickly and easily and better takes experience.
Embodiment two
The schematic flow sheet of the method for a kind of photo that pans that Fig. 2 provides for the embodiment of the present invention two, the present embodiment is optimized based on above-described embodiment.In the present embodiment, after the step of picture has been spliced in formation, add to show in the preview window of camera display interface and spliced picture and choose the step of sub-pictures as new benchmark sub-pictures from splicing picture.
Accordingly, the method for the present embodiment comprises the steps:
Step 201, acquisition picture as benchmark sub-pictures, and determine the border to be spliced on benchmark sub-pictures.
Step 202, on camera display interface, show the benchmark window and viewfinder window that connect, and show benchmark sub-pictures in benchmark window, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window.
Image in step 203, control camera shooting viewfinder window also generates at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
Step 204, sub-pictures to be spliced and benchmark sub-pictures to be spliced, formed and splice picture.
Step 205, show in the preview window of camera display interface and splice picture.
In order to obtain large and complete distant view photograph, usually need to splice multiple sub-pictures.Show in the preview window of camera display interface and splice photo, facilitate user to view to complete whole sub-pictures of splicing.
Step 206, choose sub-pictures as new benchmark sub-pictures from splicing picture.
Exemplary, can choose according to user operation, user directly can directly click the boundary needing to carry out splicing on the touch-screen of mobile terminal, sub-pictures so belonging to this border is new benchmark sub-pictures, step simple and fast, can be spliced arbitrarily by user subsequently, until splicing quantity reaches user's satisfaction.Also automatically can be chosen by the system of mobile terminal.Such as, the distant view photograph splicing schematic diagram that Fig. 3 provides for the embodiment of the present invention two, Fig. 3 the latter half shows the distant view photograph spliced, and this distant view photograph is spliced by 9 sub-pictures.User is before the photo that pans, the number of sub-pictures and the arrangement mode of sub-pictures that need splicing can be set on mobile terminals, as 9 sub-pictures, arrange according to the mode of 3 row 3 row, so can by system using shooting the first pictures as benchmark sub-pictures (sub-pictures 5 namely in Fig. 3), determine that the right is border to be spliced simultaneously, complete the step of first time splicing subsequently, define the photo of splicing including 2 sub-pictures (i.e. sub-pictures 5 and sub-pictures 6).Afterwards, system can give tacit consent to new benchmark sub-pictures and benchmark sub-pictures is same pictures (sub-pictures 5), but border to be spliced is defined as the left side, and then completes the splicing of middle row 3 sub-pictures (i.e. sub-pictures 4, sub-pictures 5 and sub-pictures 6).Then complete the splicing of middle column 3 sub-pictures (i.e. sub-pictures 2, sub-pictures 5 and sub-pictures 8) again, now splice picture for a picture (as shown in Fig. 3 the first half) in " ten " font.The last splicing completing the sub-photo this distant view photograph being positioned at 4 drift angle places successively.Can automatically determine that sub-pictures 4 is for benchmark sub-pictures by camera, the top of sub-pictures 4 is border to be spliced, thus completes the splicing of sub-pictures 1 and sub-pictures 4; Also can automatically determine that sub-pictures 2 is for benchmark sub-pictures by camera, the left side of sub-pictures 2 is border to be spliced, thus completes the splicing of sub-pictures 1 and sub-pictures 2.In like manner, sub-pictures 3, sub-pictures 7 and sub-pictures 9 and the splicing of " ten " font picture can be completed successively, finally splice and generate whole Zhang Quanjing photo.
The method of the present embodiment, on the basis of embodiment one, allows user multiple sub-pictures to be spliced into arbitrarily larger more full distant view photograph, meets consumers' demand further.
Embodiment three
The schematic flow sheet of the method for a kind of photo that pans that Fig. 4 provides for the embodiment of the present invention three, the present embodiment is optimized based on above-described embodiment, in the present embodiment, step is shown in described benchmark window described benchmark sub-pictures to be optimized for: in described benchmark window, show described benchmark sub-pictures according to the displaying ratio preset; The displaying ratio of image in described viewfinder window is adjusted, to make the displaying ratio of image in described viewfinder window identical with to the displaying ratio of described benchmark sub-pictures according to described displaying ratio.
Accordingly, the method for the present embodiment comprises the steps:
Step 401, acquisition picture as benchmark sub-pictures, and determine the border to be spliced on benchmark sub-pictures.
Step 402, on camera display interface, show the benchmark window and viewfinder window that connect, in benchmark window, show benchmark sub-pictures according to the displaying ratio preset, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window.
Step 403, according to the displaying ratio of image in displaying ratio adjustment viewfinder window, to make the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures.
Generally, viewfinder window during shooting common photo can take the whole display interface of camera, and need to show benchmark window and viewfinder window on display interface in method in the present embodiment simultaneously, viewfinder window under so using the viewfinder window under the panorama photographing mode of the method in the present embodiment will be less than common screening-mode, the displaying ratio how controlling image in the displaying ratio of benchmark sub-pictures and viewfinder window seems particularly important.
Exemplary, benchmark window is identical with the size of viewfinder window, takies the half of display interface respectively, is described at left, viewfinder window for benchmark window on the right side.Described default displaying ratio by camera system Lookup protocol or adjustment, also can be adjusted by user voluntarily.In order to the effect enabling user see spliced two photos in advance, can arrange displaying ratio is 0.5, then the content that benchmark sub-pictures shows on display interface is the full content of picture.Accordingly, according to the displaying ratio of image in the displaying ratio adjustment viewfinder window of 0.5, make the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures, namely be also 0.5, the content that the image so in viewfinder window shows on display interface is the full content of the picture to be selected after shooting.In order to the details enabling user see more border to be spliced when splicing, reduce user and splice difficulty, so can arrange displaying ratio is 1 (also can be the numerical value being greater than 1, scene of finding a view depending on concrete), the partial content of the image in benchmark sub-pictures now and viewfinder window can not show on display interface.
Preferably, the size of benchmark window is less than the size of viewfinder window, facilitates user to see picture material in more viewfinder window when splicing.
Preferably, user can adjust according to the displaying ratio of the gesture motion of oneself to benchmark sub-pictures, in the displaying ratio adjustment viewfinder window of the benchmark sub-pictures that camera system adjusts according to user, the displaying ratio of image, makes the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures.
Image in step 404, control camera shooting viewfinder window also generates at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
Step 405, sub-pictures to be spliced and benchmark sub-pictures to be spliced, formed and splice picture.
Step 406, show in the preview window of camera display interface and splice picture.
Step 407, choose sub-pictures as new benchmark sub-pictures from splicing picture.
The method of the present embodiment is on the basis of above-described embodiment, the displaying ratio of benchmark sub-pictures can be adjusted flexibly, adjust the displaying ratio of the image in viewfinder window simultaneously, make the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures, promote the user's experience in splicing further.
Embodiment four
The schematic flow sheet of the method for a kind of photo that pans that Fig. 5 provides for the embodiment of the present invention four, the present embodiment is optimized based on above-described embodiment, in the present embodiment, when step controls the image in camera shooting viewfinder window, also comprise the moving parameter of detection camera, when detecting that described moving parameter exceeds default threshold range, provide information to the step of user.
Accordingly, the method for the present embodiment comprises the steps:
Step 501, acquisition picture as benchmark sub-pictures, and determine the border to be spliced on benchmark sub-pictures;
Step 502, on camera display interface, show the benchmark window and viewfinder window that connect, in benchmark window, show benchmark sub-pictures according to the displaying ratio preset, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window.
Step 503, according to the displaying ratio of image in displaying ratio adjustment viewfinder window, to make the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures.
The moving parameter of step 504, detection camera, when detecting that moving parameter exceeds default threshold range, provides information to user; Control the image in camera shooting viewfinder window and generate at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
Described moving parameter specifically can comprise moving direction, the displacement and move angle etc. of camera.When detecting that moving parameter exceeds default threshold range, illustrating that user have left position when taking benchmark sub-pictures, will be difficult to splicing, so information now can be provided to user, prompting user gets back to position during shooting benchmark sub-pictures.Described information specifically can be prompt tone, indicator light lights or prompting point flicker etc. on screen.
Step 505, sub-pictures to be spliced and benchmark sub-pictures to be spliced, formed and splice picture.
Step 506, show in the preview window of camera display interface and splice picture.
Step 507, choose sub-pictures as new benchmark sub-pictures from splicing picture.
The method of the present embodiment is on the basis of above-described embodiment, can detect the moving parameter of camera, when user have left position when taking benchmark sub-pictures, can, in time by information reminding user, user be avoided because of the position left when taking benchmark sub-pictures, splicing to be difficult to.
Embodiment five
The schematic flow sheet of the method for a kind of photo that pans that Fig. 6 provides for the embodiment of the present invention five, the present embodiment is optimized based on above-described embodiment, in the present embodiment, boundary line is provided with adjustment point, before step controls the image in camera shooting viewfinder window, also comprise the step adjusting the displaying ratio of image in described viewfinder window according to the gesture motion of user to described adjustment point.
Accordingly, the method for the present embodiment comprises the steps:
Step 601, acquisition picture as benchmark sub-pictures, and determine the border to be spliced on benchmark sub-pictures.
Step 602, on camera display interface, show the benchmark window and viewfinder window that connect, and show benchmark sub-pictures in benchmark window, make the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window.
Step 603, boundary line are provided with adjustment point, according to the displaying ratio of user to image in the gesture motion adjustment viewfinder window of described adjustment point.
Wishing to take the demand of the personnalité special efficacy photo of tool in order to meet user, user can be allowed to adjust the displaying ratio of image in viewfinder window.Exemplary, when the background in benchmark sub-pictures is single, as blue sky, user wishes an aerial airplane shooting to become three airplanes, then user can drag adjustment point with finger, makes the displaying ratio of image in viewfinder window become 1/3rd.Preferably, be that integral multiple can carry out flash for prompting minute for the moment when adjustment point is dragged to displaying ratio.Preferably, user also can drag the position of image in viewfinder window, adjusts the relative position of the benchmark sub-pictures on display screen and the image in viewfinder window.If the picture comprising blue sky as benchmark sub-pictures is on the left of display screen, viewfinder window, on right side, makes the top of the top of the image in viewfinder window and benchmark sub-pictures be on same straight line by adjustment.
Image in step 604, control camera shooting viewfinder window also generates at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures.
Exemplary, adjusted the displaying ratio of image in viewfinder window by user after, programmable button can be pressed by user, as key of taking pictures, control the image in camera shooting viewfinder window.Can repeatedly press programmable button by user to take, finally generate at least one picture to be selected by camera.In at least one picture to be selected, one is chosen as sub-pictures to be spliced according to user operation.
Step 605, sub-pictures to be spliced and benchmark sub-pictures to be spliced, formed and splice picture.
Exemplary, splice according to the relative position of the benchmark sub-pictures on display screen and the image in viewfinder window.As illustrated in step 603, the top comprising the image in the viewfinder window of aircraft is on same straight line with the top of the benchmark sub-pictures comprising blue sky, be first then that the sub-pictures to be spliced of aircraft and benchmark sub-pictures splice by content according to this position relationship, again according to user operation, splicing is repeated twice below the sub-pictures to be spliced spliced, finally synthesize a photo by camera, reach the object of shooting three airplane of user.
Step 606, show in the preview window of camera display interface and splice picture.
Step 607, choose sub-pictures as new benchmark sub-pictures from splicing picture.
The method of the present embodiment, on the basis of above-described embodiment, can allow user to adjust the displaying ratio of image in viewfinder window, and user can give full play to the invention shooting of oneself and splice the personnalité special efficacy photo of tool, promotes the experience of user further.
Embodiment six
The structured flowchart of the device of a kind of photo that pans that Fig. 7 provides for the embodiment of the present invention six, this device can by software and/or hardware implementing, the part that can be used as mobile terminal is built in mobile terminal, to pan photo by performing the method for photo of panning.As shown in Figure 7, this device comprises:
Border to be spliced determination module 701, for obtaining picture as benchmark sub-pictures, and determines the border to be spliced on benchmark sub-pictures; Display module 702, for showing the benchmark window and viewfinder window that connect on camera display interface, and showing benchmark sub-pictures, making the border to be spliced on benchmark sub-pictures be positioned at the boundary line place of datum windows mouth and viewfinder window in benchmark window; Control module 703, take the image in viewfinder window for controlling camera and generate at least one picture to be selected, in at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at boundary line place wherein on sub-pictures to be spliced mates with the pixel value being positioned at boundary line place on benchmark sub-pictures; Concatenation module 704, for sub-pictures to be spliced and benchmark sub-pictures being spliced, being formed and splicing picture.
The device of a kind of photo that pans that the embodiment of the present invention six provides, obtains picture as benchmark sub-pictures by border to be spliced determination module 701, and determines the border to be spliced on benchmark sub-pictures; Display module 702 shows the benchmark window and viewfinder window that connect on camera display interface; Control module 703 controls the image in camera shooting viewfinder window and generates at least one picture to be selected, chooses one as sub-pictures to be spliced at least one picture to be selected; Finally by concatenation module 704, sub-pictures to be spliced and benchmark sub-pictures are spliced, formed and splice picture.User can be spliced by comparison film as object for appreciation picture arrangement game, finally automatically generates spliced distant view photograph by the camera on mobile terminal, increases recreational, user is obtained while the photo that pans quickly and easily and better takes experience.
On the basis of above-described embodiment, display module 702, also for formation spliced picture after, show in the preview window of camera display interface and splice picture; Border to be spliced determination module 701, also for choosing sub-pictures as new benchmark sub-pictures from described splicing in picture.
On the basis of above-described embodiment, display module 702 can comprise benchmark sub-pictures display unit and viewfinder image adjustment unit.Wherein, benchmark sub-pictures display unit, for showing benchmark sub-pictures according to the displaying ratio preset in benchmark window; Viewfinder image adjustment unit, for the displaying ratio according to image in displaying ratio adjustment viewfinder window, to make the displaying ratio of image in viewfinder window identical with the displaying ratio of benchmark sub-pictures.
On the basis of above-described embodiment, control module 703 comprises mobility detect unit, for when controlling the image in camera shooting viewfinder window, and the moving parameter of detection camera, when detecting that moving parameter exceeds default threshold range, provide information to user.
On the basis of above-described embodiment, adjustment point can be set on boundary line, this device also can comprise gesture adjusting module (not shown), for before controlling the image in camera shooting viewfinder window, exchange the displaying ratio of image in the gesture motion adjustment viewfinder window of integral point according to user.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (10)

1. pan the method for photo, it is characterized in that, comprising:
Obtain picture as benchmark sub-pictures, and determine the border to be spliced on described benchmark sub-pictures;
Camera display interface shows the benchmark window and viewfinder window that connect, and show described benchmark sub-pictures in described benchmark window, make the border to be spliced on described benchmark sub-pictures be positioned at the boundary line place of described benchmark window and described viewfinder window;
Control the image in camera shooting viewfinder window and generate at least one picture to be selected, in described at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at described boundary line place on wherein said sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on described benchmark sub-pictures;
Described sub-pictures to be spliced and described benchmark sub-pictures are spliced, is formed and splice picture.
2. method according to claim 1, is characterized in that, after formation has spliced picture, also comprises:
Picture is spliced described in display in the preview window of camera display interface;
Sub-pictures is chosen as new benchmark sub-pictures from described splicing picture.
3. method according to claim 1, is characterized in that, shows described benchmark sub-pictures, comprising in described benchmark window:
In described benchmark window, described benchmark sub-pictures is shown according to the displaying ratio preset;
The displaying ratio of image in described viewfinder window is adjusted, to make the displaying ratio of image in described viewfinder window identical with the displaying ratio of described benchmark sub-pictures according to described displaying ratio.
4. method according to claim 1, is characterized in that, when controlling the image in camera shooting viewfinder window, also comprises:
The moving parameter of detection camera, when detecting that described moving parameter exceeds default threshold range, provides information to user.
5. method according to claim 1, is characterized in that, described boundary line is provided with adjustment point, before controlling the image in camera shooting viewfinder window, also comprises:
The displaying ratio of image in described viewfinder window is adjusted according to the gesture motion of user to described adjustment point.
6. pan the device of photo, it is characterized in that, comprising:
Border to be spliced determination module, for obtaining picture as benchmark sub-pictures, and determines the border to be spliced on described benchmark sub-pictures;
Display module, for showing the benchmark window and viewfinder window that connect on camera display interface, and described benchmark sub-pictures is shown in described benchmark window, make the border to be spliced on described benchmark sub-pictures be positioned at the boundary line place of described benchmark window and described viewfinder window;
Control module, take the image in viewfinder window for controlling camera and generate at least one picture to be selected, in described at least one picture to be selected, choose one as sub-pictures to be spliced, the pixel value being positioned at described boundary line place on wherein said sub-pictures to be spliced mates with the pixel value being positioned at described boundary line place on described benchmark sub-pictures;
Concatenation module, for described sub-pictures to be spliced and described benchmark sub-pictures being spliced, being formed and splicing picture.
7. device according to claim 6, is characterized in that,
Described display module, also for formation spliced picture after, in the preview window of camera display interface display described in splice picture;
Described border to be spliced determination module, also for choosing sub-pictures as new benchmark sub-pictures from described splicing in picture.
8. device according to claim 6, is characterized in that, described display module comprises:
Benchmark sub-pictures display unit, for showing described benchmark sub-pictures according to the displaying ratio preset in described benchmark window;
Viewfinder image adjustment unit, for adjusting the displaying ratio of image in described viewfinder window according to described displaying ratio, to make the displaying ratio of image in described viewfinder window identical with the displaying ratio of described benchmark sub-pictures.
9. device according to claim 6, is characterized in that, described control module comprises:
Mobility detect unit, for when controlling the image in camera shooting viewfinder window, the moving parameter of detection camera, when detecting that described moving parameter exceeds default threshold range, provides information to user.
10. device according to claim 6, it is characterized in that, described boundary line is provided with adjustment point, this device also comprises: gesture adjusting module, for before controlling the image in camera shooting viewfinder window, adjust the displaying ratio of image in described viewfinder window according to the gesture motion of user to described adjustment point.
CN201510106142.0A 2015-03-11 2015-03-11 A kind of method and device for the photo that pans Active CN104735353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510106142.0A CN104735353B (en) 2015-03-11 2015-03-11 A kind of method and device for the photo that pans

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510106142.0A CN104735353B (en) 2015-03-11 2015-03-11 A kind of method and device for the photo that pans

Publications (2)

Publication Number Publication Date
CN104735353A true CN104735353A (en) 2015-06-24
CN104735353B CN104735353B (en) 2018-07-17

Family

ID=53458743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510106142.0A Active CN104735353B (en) 2015-03-11 2015-03-11 A kind of method and device for the photo that pans

Country Status (1)

Country Link
CN (1) CN104735353B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107595310A (en) * 2016-07-18 2018-01-19 上海联影医疗科技有限公司 Image information display interactive device and method
CN107861436A (en) * 2017-12-01 2018-03-30 上海市环境科学研究院 A kind of multi-rotor unmanned aerial vehicle high altitude environment detecting system
CN111294515A (en) * 2020-02-25 2020-06-16 维沃软件技术有限公司 Image acquisition method and first electronic device
WO2023116669A1 (en) * 2021-12-22 2023-06-29 华为技术有限公司 Video generation system and method, and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080050038A1 (en) * 2006-08-28 2008-02-28 Srinivasan Lakshamanan Systems and methods for panoramic image construction using small sensor array
CN101674409A (en) * 2008-09-12 2010-03-17 Lg电子株式会社 Mobile terminal having panorama photographing function and method for controlling operation thereof
CN102420898A (en) * 2011-09-27 2012-04-18 惠州Tcl移动通信有限公司 Mobile phone-based panoramic photographing realization method and mobile phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080050038A1 (en) * 2006-08-28 2008-02-28 Srinivasan Lakshamanan Systems and methods for panoramic image construction using small sensor array
CN101674409A (en) * 2008-09-12 2010-03-17 Lg电子株式会社 Mobile terminal having panorama photographing function and method for controlling operation thereof
CN102420898A (en) * 2011-09-27 2012-04-18 惠州Tcl移动通信有限公司 Mobile phone-based panoramic photographing realization method and mobile phone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107595310A (en) * 2016-07-18 2018-01-19 上海联影医疗科技有限公司 Image information display interactive device and method
CN107595310B (en) * 2016-07-18 2020-12-15 上海联影医疗科技股份有限公司 Image information display interaction device and method
CN107861436A (en) * 2017-12-01 2018-03-30 上海市环境科学研究院 A kind of multi-rotor unmanned aerial vehicle high altitude environment detecting system
CN111294515A (en) * 2020-02-25 2020-06-16 维沃软件技术有限公司 Image acquisition method and first electronic device
WO2023116669A1 (en) * 2021-12-22 2023-06-29 华为技术有限公司 Video generation system and method, and related apparatus

Also Published As

Publication number Publication date
CN104735353B (en) 2018-07-17

Similar Documents

Publication Publication Date Title
JP6388673B2 (en) Mobile terminal and imaging method thereof
US9667888B2 (en) Image capturing apparatus and control method thereof
KR102045957B1 (en) Method and apparatus for photographing of a portable terminal
EP3346329B1 (en) Image processing method and apparatus
US9838609B2 (en) Image capturing apparatus, control apparatus and control method for controlling zooming function
US20140022415A1 (en) Imaging apparatus
EP2840445A1 (en) Photograph shooting method and electronic device
US9609224B2 (en) Imaging device and image display method
JP2007194819A (en) Camera device, and photography condition setting method
CN103986872A (en) Terminal and terminal shooting method
US9113074B2 (en) Imaging apparatus, imaging method, and computer readable storage medium for applying special effects processing to an automatically set region of a stereoscopic image
US20140300688A1 (en) Imaging apparatus and method of controlling the same
JP2016066978A (en) Imaging device, and control method and program for the same
KR20120119794A (en) Method and apparatus for photographing using special effect
CN112637515B (en) Shooting method and device and electronic equipment
CN104735353A (en) Method and device for taking panoramic photo
US9635247B2 (en) Method of displaying a photographing mode by using lens characteristics, computer-readable storage medium of recording the method and an electronic apparatus
JP2017163191A (en) Image processing apparatus, imaging apparatus, image processing method, and program
US9232133B2 (en) Image capturing apparatus for prioritizing shooting parameter settings and control method thereof
CN106488128B (en) Automatic photographing method and device
TW201616213A (en) Panorama photographing method
JP2015204516A (en) Imaging device, control method and control program thereof
JP5718502B2 (en) Image creating apparatus and image creating method
US20150249792A1 (en) Image processing device, imaging device, and program
KR20200070611A (en) Formation and Application Method of Virtual Camera Image for Smartphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder