CN105979156A - Panoramically photographing method and mobile terminal - Google Patents

Panoramically photographing method and mobile terminal Download PDF

Info

Publication number
CN105979156A
CN105979156A CN201610515352.XA CN201610515352A CN105979156A CN 105979156 A CN105979156 A CN 105979156A CN 201610515352 A CN201610515352 A CN 201610515352A CN 105979156 A CN105979156 A CN 105979156A
Authority
CN
China
Prior art keywords
image
photographic head
camera
mobile terminal
pixel region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610515352.XA
Other languages
Chinese (zh)
Inventor
卜祥玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610515352.XA priority Critical patent/CN105979156A/en
Publication of CN105979156A publication Critical patent/CN105979156A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/207Image signal generators using stereoscopic image cameras using a single 2D image sensor
    • H04N13/218Image signal generators using stereoscopic image cameras using a single 2D image sensor using spatial multiplexing
    • 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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2624Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects for obtaining an image which is composed of whole input images, e.g. splitscreen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

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

Abstract

The embodiment of the invention provides a panoramically photographing method and a mobile terminal. The mobile terminal comprises a first camera, a second camera and a third camera. The panoramically photographing method comprises the steps of acquiring a first image, a second image and a third image respectively collected by the first camera, the second camera and the third camera by controlling the first camera, the second camera and the third camera to synchronously collect images during a panoramic image photographing process; and when receiving a photographing command, splicing the first image, the second image and the third image to generate a target panoramic image. By using the panoramically photographing method provided by the embodiment of the invention, the panoramic image can be acquired by one time of photographing without horizontally rotating the mobile terminal, and the steps of acquiring the plurality of images by horizontally rotating the mobile terminal and splicing for many times during the panoramic image photographing process can be effectively simplified; and the mobile terminal does not need to be rotated during the one time of photographing, the generated panoramic image is smooth, and the photographing quality of the panoramic image is improved.

Description

A kind of method that panorama is taken pictures and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to method and mobile terminal that a kind of panorama is taken pictures.
Background technology
Along with the development of mobile terminal technology, mobile terminal has possessed increasing function so that mobile Termination set communication, shooting, the function such as audio-visual are in one.
Due to the technological break-through of high-definition camera hardware, mobile terminal camera take pictures pixel increasingly It is high so that the effect of taking pictures of transfer terminal can compare favourably with photographing unit, and mobile terminal is easy to carry, People increasingly tend to use mobile terminal, such as mobile phone in daily life and travelling, take pictures. And distant view photograph picture is big, larger range of scene can be shown, there is higher visual impact, more come The most by people as the first-selection taken pictures.
At present, mobile terminal is the most only equipped with front-facing camera and post-positioned pick-up head, due to single photographic head Limited viewing angle of taking pictures, people use mobile terminal take pictures distant view photograph time, photographic head can only be started, Hand-held mobile terminal faces toward photographing objective, from needing the starting point taken pictures horizontal rotation mobile terminal to end of taking pictures Point, during taking pictures, mobile phone users should keep mobile terminal to horizontally rotate, simultaneously need to control The speed that system rotates, but during reality is taken pictures, same scope of taking pictures, rotary speed is slow, just Multiple pictures can be produced, and make photo opporunity elongated, be less useful for keeping the level rotation of mobile terminal Turn so that two adjacent photos are not on same level line, cause follow-up splicing and generate panorama photograph During sheet, need repeatedly to splice, and the distant view photograph spliced is unsmooth, can not enter during taking pictures simultaneously Row real time panoramic preview, if the panorama photograph taken pictures is not the effect that user envisions, needs again to take pictures, Reduce user to take pictures experience.
Summary of the invention
The embodiment of the present invention provides a kind of method taken pictures of panorama and mobile terminal, complete to solve to take pictures at present When scape shines, need to horizontally rotate mobile terminal and obtain multiple images, and multiple images are repeatedly spliced, Generate the rough problem of panoramic picture obtained.
First aspect, it is provided that a kind of method that panorama is taken pictures, is applied to mobile terminal, described movement Terminal includes the first photographic head, second camera and the 3rd photographic head, and described method includes:
Described first photographic head, second camera and the 3rd photographic head is controlled during panoramic picture is taken pictures Synchronous acquisition image;
Obtain the first image that described first photographic head, second camera and the 3rd photographic head gather respectively, Second image and the 3rd image;
When receiving photographing instruction, described first image, the second image and the 3rd image are carried out image Splicing, generates target panoramic picture.
Second aspect, additionally provides a kind of mobile terminal, described mobile terminal include the first photographic head, the Two photographic head and the 3rd photographic head, described mobile terminal also includes:
Image capture module, for control during panoramic picture is taken pictures described first photographic head, second Photographic head and the 3rd photographic head synchronous acquisition image;
Image collection module, is used for obtaining described first photographic head, second camera and the 3rd photographic head and divides The first image, the second image and the 3rd image not gathered;
Target panoramic picture generation module, for when receiving photographing instruction, by described first image, Second image and the 3rd image carry out image mosaic, generate target panoramic picture.
So, in the embodiment of the present invention, mobile terminal passes through the first photographic head, second camera and the 3rd Photographic head synchronous acquisition image, and the image collected is carried out image mosaic, generate target panoramic picture, So, user is when panorama is taken pictures, it is not necessary to horizontal rotation mobile terminal, once photo taking is obtained with Panoramic picture, therefore, by the embodiment of the present invention, is effectively simplified when taking pictures panoramic picture at present, needs Mobile terminal to be horizontally rotated obtains multiple images, and the step repeatedly spliced multiple images, and And during taking pictures, need not terminal in rotary moving, generate the panoramic picture obtained and smooth, improve panorama The quality of taking pictures of image.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by the embodiment of the present invention In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness On the premise of laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method that a kind of panorama that the embodiment of the present invention one provides is taken pictures;
Fig. 2 is the flow chart of the method that a kind of panorama that the embodiment of the present invention two provides is taken pictures;
Fig. 3 is the flow chart of the method that a kind of panorama that the embodiment of the present invention three provides is taken pictures;
Fig. 4 is the flow chart of the method that a kind of panorama that the embodiment of the present invention four provides is taken pictures;
Fig. 5 is one of structured flowchart of a kind of mobile terminal of the embodiment of the present invention five offer;
Fig. 6 is the two of the structured flowchart of a kind of mobile terminal that the embodiment of the present invention five provides;
Fig. 6 a is the three of the structured flowchart of a kind of mobile terminal that the embodiment of the present invention five provides;
Fig. 7 is the four of the structured flowchart of a kind of mobile terminal that the embodiment of the present invention five provides;
Fig. 7 a is the five of the structured flowchart of a kind of mobile terminal that the embodiment of the present invention five provides;
Fig. 8 is the structured flowchart of the stitching image display sub-module that the embodiment of the present invention five provides;
Fig. 9 is the block diagram of a kind of mobile terminal of the embodiment of the present invention six;
Figure 10 is the structural representation of a kind of mobile terminal that the embodiment of the present invention seven provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Embodiment one
The flow chart of the method that Fig. 1 takes pictures for a kind of panorama that the embodiment of the present invention provides.
With reference to Fig. 1, the method that a kind of panorama that the embodiment of the present invention provides is taken pictures, it is applied to mobile terminal, This mobile terminal includes the first photographic head, second camera and the 3rd photographic head, the method that this panorama is taken pictures Specifically may include that
Step 101, control during panoramic picture is taken pictures described first photographic head, second camera and 3rd photographic head synchronous acquisition image.
Mobile terminal, when exposal model, when sending panorama photographing command by capturing user, switches to Panoramic photographing mode, opens the first photographic head, second camera and the 3rd photographic head simultaneously, and controls to be somebody's turn to do First photographic head, second camera and the 3rd photographic head synchronous acquisition image.In actual applications, user Send panorama photographing command, can be user when exposal model, by screen display exposal model Menu, selects panoramic photographing mode, it is also possible to being user is taken pictures software by panorama, is directly entered panorama Exposal model, after processor reception user sends panorama photographing command, to the first photographic head, the second shooting Head and the 3rd photographic head tranmitting data register, the first photographic head, second camera and the 3rd photographic head receive clock After, photographic head resets and starts working, in order to coordinate the first photographic head, second camera and the 3rd Photographic head synchronization process information, it is desirable to have identical timing reference signal, by the photographic head of mobile terminal Controller (FullyInteractive Mobile Camera, FIMC) is to the first photographic head, the second shooting Head and the 3rd photographic head send frame synchronizing signal, and the first photographic head, second camera and the 3rd photographic head connect After receiving frame synchronizing signal, synchronize respective timestamp according to frame synchronizing signal, and synchronize according to timestamp Gather image.
Step 102, obtains what described first photographic head, second camera and the 3rd photographic head gathered respectively First image, the second image and the 3rd image.
In the embodiment of the present invention, the first photographic head, second camera and the 3rd photographic head CCD (Charge Coupled Device, Charge Coupled Device (CCD) imageing sensor) sensing photo-object is passed through Camera light, transmits after converting light into the signal of telecommunication to digital signal converter, and output digit signals is extremely ISP (Image Signal Processing, image signal processing) carries out calculation process, finally draw through Cross linearity rectification, noise removal, bad point repairing, color interpolation, white balance correction, exposure correction etc. The first image, the second image and the 3rd image after reason, and export to mobile terminal processor process or Storage medium stores.
Step 103, when receiving photographing instruction, by described first image, the second image and the 3rd figure As carrying out image mosaic, generate target panoramic picture.
When mobile terminal detects the photographing instruction of user, by default merging algorithm for images, by first Image, the second image and the 3rd image carry out image mosaic, generate target panoramic picture.The image preset Stitching algorithm, can be the image spelling of merging algorithm for images based on phase correlation, feature based coupling Connect the one therein such as algorithm, it is also possible to be according to embodiments of the present invention in, mobile terminal first shooting Head, second camera and the relative position of the 3rd photographic head, determine the coated region of two adjacent images Splicing, generate target panoramic picture, the embodiment of the present invention is without limitation.
The panorama photographic method of the embodiment of the present invention, mobile terminal passes through the first photographic head, second camera With the 3rd photographic head synchronous acquisition image, and the image collected is carried out image mosaic, generate target complete Scape image, so, user is when panorama is taken pictures, it is not necessary to horizontal rotation mobile terminal, once photo taking is just Panoramic picture can be obtained, therefore, by the embodiment of the present invention, be effectively simplified panorama sketch of taking pictures at present During picture, need to horizontally rotate mobile terminal and obtain multiple images, and multiple images are repeatedly spliced Step, and need not terminal in rotary moving during taking pictures, generate the panoramic picture obtained and smooth, carry The high quality of taking pictures of panoramic picture.
Embodiment two
The flow chart of the method that Fig. 2 takes pictures for a kind of panorama that the embodiment of the present invention provides.
With reference to Fig. 2, the method that a kind of panorama that the embodiment of the present invention provides is taken pictures, it is applied to mobile terminal, This mobile terminal includes Curved screen, and this Curved screen includes main screen region, the first bent screen region and the second bent screen Region, this mobile terminal also includes being respectively arranged at main screen region, the first bent screen region and the second Qu Ping district First photographic head on top, territory, second camera and the 3rd photographic head, and this first photographic head, second take the photograph As head and the 3rd photographic head are respectively positioned on same level line, this first photographic head, second camera and the 3rd Photographic head is front-facing camera, or is post-positioned pick-up head, and the method that this panorama is taken pictures includes:
Step 201, control during panoramic picture is taken pictures described first photographic head, second camera and 3rd photographic head synchronous acquisition image.
Mobile terminal, when exposal model, when sending panorama photographing command by capturing user, switches to Panoramic photographing mode, opens the first photographic head, second camera and the 3rd photographic head simultaneously, and controls to be somebody's turn to do First photographic head, second camera and the 3rd photographic head synchronous acquisition image.
In the embodiment of the present invention, the first photographic head, second camera and the 3rd photographic head are respectively positioned on same water On horizontal line, the first photographic head, second camera and the 3rd photographic head can be front-facing camera, or first Photographic head, second camera and the 3rd photographic head can be post-positioned pick-up head, the first photographic head, second take the photograph As head and the 3rd photographic head can be with the rearmounted image of synchronous acquisition to mobile terminal or preposition images.
Step 202, obtains what described first photographic head, second camera and the 3rd photographic head gathered respectively First image, the second image and the 3rd image.
In the embodiment of the present invention, after the first photographic head, second camera and the 3rd camera collection image, After respective ISP carries out calculation process, by the first image collected, the second image and the 3rd image Export to mobile terminal processor and process or storage medium stores, the first image, the second image With the rearmounted image that the 3rd image is mobile terminal or preposition image.
Step 203, shows described first image taking pictures in preview interface.
In the embodiment of the present invention, the first photographic head is positioned at the upper position in main screen of mobile terminal region, permissible It is front-facing camera or the post-positioned pick-up head of mobile terminal.Actual take pictures, the mesozone of scene of taking pictures Territory, it is common that user compares the region of concern, can be by the first image of the first camera collection, through ISP Export the processor to mobile terminal after process, by processor output to the screen of mobile terminal, taking pictures The first image is shown in preview interface.
Step 204, caches described second image and the 3rd image.
In a particular application, each photographic head can be separate, and the most each photographic head has one Individual ISP, the image digital signal that can input corresponding CCD carries out calculation process, and by computing The result output of reason caches to the processor or caching medium of mobile terminal.
In embodiments of the present invention, by the second image and the 3rd image after ISP processes, output is to mobile The caching of terminal caches.
Step 205, when receiving photographing instruction, by described first image, the second image and the 3rd figure As carrying out image mosaic, generate target panoramic picture.
When mobile terminal detects the photographing instruction of user, by the first image of preview screen of currently taking pictures and The second image in caching, the 3rd image, carry out image mosaic by default merging algorithm for images, raw Become target panoramic picture.The merging algorithm for images preset, can be image mosaic based on phase correlation The one therein such as the merging algorithm for images of algorithm, feature based coupling, it is also possible to be real according to the present invention Execute in example, the first photographic head of mobile terminal, second camera and the relative position of the 3rd photographic head, really The coated region determining two adjacent images is spliced, and generates panoramic picture, and the embodiment of the present invention is to this Do not limit.
The panorama photographic method of the embodiment of the present invention, mobile terminal is by preposition or rearmounted same level First photographic head of position, second camera and the 3rd photographic head synchronous acquisition image, and will collect Image carries out image mosaic, generates target panoramic picture, and so, user is when panorama is taken pictures, it is not necessary to Horizontal rotation mobile terminal, once photo taking is obtained with panoramic picture, therefore, is implemented by the present invention Example, is effectively simplified when taking pictures panoramic picture at present, needs to horizontally rotate mobile terminal and obtains multiple images, And the step that multiple images are repeatedly spliced, and need not terminal in rotary moving during taking pictures, Generate the panoramic picture obtained to smooth, improve the quality of taking pictures of panoramic picture.Further, took pictures Cheng Zhong, by the preview interface of the first image output to mobile terminal screen, so, user can when taking pictures With the image of live preview the first camera collection, thus improve user further and take pictures experience.
Embodiment three
The flow chart of the method that Fig. 3 takes pictures for a kind of panorama that the embodiment of the present invention provides.
With reference to Fig. 3, the method that a kind of panorama that the embodiment of the present invention provides is taken pictures, it is applied to mobile terminal, This mobile terminal includes Curved screen, and this Curved screen includes main screen region, the first bent screen region and the second bent screen Region, this mobile terminal also includes being respectively arranged at main screen region, the first bent screen region and the second Qu Ping district First photographic head on top, territory, second camera and the 3rd photographic head, and this first photographic head, second take the photograph As head and the 3rd photographic head are respectively positioned on same level line, this first photographic head, second camera and the 3rd Photographic head is front-facing camera, or is post-positioned pick-up head, and the method that this panorama is taken pictures includes:
Step 301, control during panoramic picture is taken pictures described first photographic head, second camera and 3rd photographic head synchronous acquisition image.
Mobile terminal when panoramic picture exposal model, open simultaneously the first photographic head, second camera and 3rd photographic head, and control the first photographic head, second camera and the 3rd photographic head synchronous acquisition and move end Hold preposition or rearmounted image.
Step 302, obtains what described first photographic head, second camera and the 3rd photographic head gathered respectively First image, the second image and the 3rd image.
In the embodiment of the present invention, after the first photographic head, second camera and the 3rd camera collection image, After respective ISP carries out calculation process, by the first image collected, the second image and the 3rd image Export to mobile terminal processor and process or storage medium stores, the first image, the second image With the rearmounted image that the 3rd image is mobile terminal or preposition image.
Step 303, shows described first image taking pictures in preview interface.
In the embodiment of the present invention, by the first image of the first camera collection, export after ISP processes to The processor of mobile terminal, by the screen of processor output to mobile terminal, aobvious in preview interface taking pictures Show this first image.
Step 304, caches described second image and the 3rd image.
In embodiments of the present invention, the second image second camera gathered and the 3rd camera collection 3rd image is after ISP processes, and output caches to the caching of mobile terminal.
Step 305, receives the predetermined registration operation of mobile phone users.
In embodiments of the present invention, under the scene of the preview interface of current first image, user can be right Current preview interface operates.Can be such as user on current preview interface, do and double refer to that slip is leaned on Near action, it is also possible to be double actions referring to and sliding away from, or the default behaviour that other mobile terminal sets Making, mobile terminal receives predetermined registration operation by touch screen or other device, transmits to mobile terminal Reason device.
Step 306, according to preset order show in described preview interface of taking pictures described second image, One image and the 3rd image.
In implementing, when receiving the predetermined registration operation of user, such as, can be to receive user couple First image preview picture does double when referring to the close action of slip, by the second image, the first image, the 3rd figure As display is being taken pictures in preview interface.On mobile terminal screen, screen can be divided into three previews circle Face, by second camera, the first photographic head, the 3rd photographic head from left to right be respectively the second preview interface, First preview interface, the 3rd show preview interface, by the most real to the second image, the first image, the 3rd image Time display in the second preview interface, the first preview interface, the 3rd preview interface.
Step 307, when receiving photographing instruction, by described first image, the second image and the 3rd figure As carrying out image mosaic, generate target panoramic picture.
When mobile terminal detects the photographing instruction of user, by the first image of preview screen of currently taking pictures, Second image and the 3rd image, carry out image mosaic by default merging algorithm for images, generates target complete Scape image.
In the embodiment of the present invention, image mosaic can be carried out in the following manner:
First, respectively to the first image, the second image and the 3rd image carry out rim detection.
Rim detection refers to image is carried out Edge extraction, obtains the marginal information of image.Edge carries Take and refer in Digital Image Processing, for a process of picture profile.In the embodiment of the present invention, due to Adjacent two camera positions are relatively fixed, then its two images taken pictures have the pixel region limit of coincidence Edge detection can carry out Edge check, to reduce the amount of calculation of rim detection with regard to the pixel region overlapped.With First image and the second image are example, can from photographic head parameter, the such as first photographic head and The centre distance of second camera and visual angle of taking pictures, it is possible to determine that the first photographic head and second camera are clapped The scene region overlapped in illumination range, reflection is to the most permissible on the ISP of the first photographic head and second camera Obtain the overlapping region of image, only the overlapping region of image can be carried out rim detection, without right The Zone Full of image carries out rim detection.
Secondly, based on rim detection, determine the first image, capped between the second image and the 3rd image Pixel region;
For the image after rim detection, it may be determined that capped pixel region, this capped pixel Region is comparatively speaking, the such as second image and the first image, has identical pixel region, permissible Define that to have identical pixel region on the second image be capped pixel region, it is also possible to definition first Having identical pixel region on image is capped pixel region.
Finally, based on the first image, pixel region capped between the second image and the 3rd image, incite somebody to action First image, the second image and the 3rd image carry out image mosaic and become stitching image, in splicing, Remove this capped pixel region.
In embodiments of the present invention, the first image, the second image and the 3rd image are being carried out image mosaic During, capped pixel region can being removed, concrete implementation can be this to be capped The pixel in region is removed, and remaining pixel region and another image carries out splicing and merges generation spliced map Picture, it is also possible to be the initial shape that the information of the pixel of this coated region is set to not gather image State, directly merges with another image, generates stitching image.
The embodiment of the present invention, it is also possible to by merging algorithm for images based on phase correlation, feature based The one therein such as the merging algorithm for images of coupling carry out image mosaic, and this is not limited by the embodiment of the present invention System.
The panorama photographic method of the embodiment of the present invention, mobile terminal is by preposition or rearmounted same level First photographic head of position, second camera and the 3rd photographic head synchronous acquisition image, and will collect Image carries out image mosaic, generates target panoramic picture, therefore, by the embodiment of the present invention, and effectively letter Change when taking pictures panoramic picture at present, needed to horizontally rotate mobile terminal and obtain multiple images, and to multiple The step that image repeatedly splices, and need not terminal in rotary moving during taking pictures, generation obtains Panoramic picture smooth, improve the quality of taking pictures of panoramic picture, further, during taking pictures, logical Cross and the first image preview picture is carried out predetermined registration operation, by defeated to the first image, the second image, the 3rd image Going out the preview interface to mobile terminal screen, so, user can image with live preview first when taking pictures Head, second camera and the image of the 3rd camera collection, thus improve user further and take pictures experience.
Embodiment four
The flow chart of the method that Fig. 4 takes pictures for a kind of panorama that the embodiment of the present invention provides.
With reference to Fig. 4, the method that a kind of panorama that the embodiment of the present invention provides is taken pictures, it is applied to mobile terminal, This mobile terminal includes Curved screen, and this Curved screen includes main screen region, the first bent screen region and the second bent screen Region, this mobile terminal also includes being respectively arranged at main screen region, the first bent screen region and the second Qu Ping district First photographic head on top, territory, second camera and the 3rd photographic head, and this first photographic head, second take the photograph As head and the 3rd photographic head are respectively positioned on same level line, this first photographic head, second camera and the 3rd Photographic head is front-facing camera, or is post-positioned pick-up head, and the method that this panorama is taken pictures includes:
Step 401, control during panoramic picture is taken pictures described first photographic head, second camera and 3rd photographic head synchronous acquisition image.
Mobile terminal when panoramic picture exposal model, open simultaneously the first photographic head, second camera and 3rd photographic head, and control this first photographic head, second camera and the 3rd photographic head synchronous acquisition image.
Step 402, obtains what described first photographic head, second camera and the 3rd photographic head gathered respectively First image, the second image and the 3rd image.
In the embodiment of the present invention, the first photographic head, second camera and the 3rd photographic head are through respective ISP After carrying out calculation process, by the output of the first image collected, the second image and the 3rd image to mobile whole End processor processes or stores in storage medium, and the first image, the second image and the 3rd image are The rearmounted image of mobile terminal or preposition image.
Step 403, shows described first image taking pictures in preview interface.
In the embodiment of the present invention, by the first image of the first camera collection, export after ISP processes to The processor of mobile terminal, by the screen of processor output to mobile terminal, aobvious in preview interface taking pictures Show this first image.
Step 404, caches described second image and the 3rd image.
In embodiments of the present invention, the second image second camera gathered and the 3rd camera collection 3rd image is after ISP processes, and output caches to the caching of mobile terminal.
Step 405, receives the predetermined registration operation of mobile phone users.
In embodiments of the present invention, under the scene of the preview interface of current first image, user can be right Current preview interface operates.Can be such as user on current preview interface, do and double refer to that slip is leaned on Near action, it is also possible to be double actions referring to and sliding away from, or the default behaviour that other mobile terminal sets Making, mobile terminal receives predetermined registration operation by touch screen or other device, transmits to mobile terminal Reason device.
Step 406, carries out image mosaic by described first image, the second image and the 3rd image, generates Stitching image.
In the embodiment of the present invention, the first photographic head of mobile terminal, second camera and the 3rd photographic head position Putting and be relatively fixed, therefore, the visual angle part of taking pictures between adjacent two photographic head is also relatively fixed, reflection On the image gathered, the pixel region that the second image and the first image are capped, the 3rd image and first The capped pixel region of image is also relatively fixed, therefore, to by described first image, the second image and 3rd image carries out image mosaic, generates stitching image, can carry out in the following manner:
First, respectively to the first image, the second image and the 3rd image carry out rim detection.
Rim detection refers to image is carried out Edge extraction, obtains the marginal information of image.Edge carries Take and refer in Digital Image Processing, for a process of picture profile.In the embodiment of the present invention, due to Adjacent two camera positions are relatively fixed, then its two images taken pictures have the pixel region limit of coincidence Edge detection can carry out Edge check, to reduce the amount of calculation of rim detection with regard to the pixel region overlapped.With First image and the second image are example, can from photographic head parameter, the such as first photographic head and The centre distance of second camera and visual angle of taking pictures, it is possible to determine that the first photographic head and second camera are clapped The scene region overlapped in illumination range, reflection is to the most permissible on the ISP of the first photographic head and second camera Obtain the overlapping region of image, only the overlapping region of image can be carried out rim detection, without right The Zone Full of image carries out rim detection.
Secondly, based on rim detection, determine the first image, capped between the second image and the 3rd image Pixel region;
For the image after rim detection, it may be determined that capped pixel region, this capped pixel Region is comparatively speaking, the such as second image and the first image, has identical pixel region, permissible Define that to have identical pixel region on the second image be capped pixel region, it is also possible to definition first Having identical pixel region on image is capped pixel region.
Finally, based on the first image, pixel region capped between the second image and the 3rd image, incite somebody to action First image, the second image and the 3rd image carry out image mosaic and become stitching image, in splicing, Remove this capped pixel region.
In embodiments of the present invention, the first image, the second image and the 3rd image are being carried out image mosaic During, capped pixel region can being removed, concrete implementation can be by coating cover region The pixel in territory is removed, and remaining pixel region and another image carries out splicing and merges generation spliced map Picture, it is also possible to be the original state that the information of the pixel of coated region is set to not gather image, Directly merge with another image, generate stitching image.
The embodiment of the present invention, it is also possible to by merging algorithm for images based on phase correlation, feature based The one therein such as the merging algorithm for images of coupling carry out image mosaic, and this is not limited by the embodiment of the present invention System.
Step 407, shows described stitching image in described preview interface of taking pictures.
After processor completes the image mosaic to the first image, the second image and the 3rd image, by this splicing Image output shows to the preview interface of taking pictures of mobile terminal screen, and user can be with live preview.
Step 408, is defined as described target panoramic picture by described stitching image.
When taking pictures, user carries out live preview, if preview effect meets user's requirement, user sends bat According to instruction, then the stitching image at current preview interface is defined as target panoramic picture.
The panorama photographic method of the embodiment of the present invention, mobile terminal is by preposition or rearmounted same level First photographic head of position, second camera and the 3rd photographic head synchronous acquisition image, and will collect Image carries out image mosaic, generates target panoramic picture, therefore, by the embodiment of the present invention, and effectively letter Change when taking pictures panoramic picture at present, needed to horizontally rotate mobile terminal and obtain multiple images, and to multiple The step that image repeatedly splices, and need not terminal in rotary moving during taking pictures, generation obtains Panoramic picture smooth, improve the quality of taking pictures of panoramic picture, further, during taking pictures, logical Cross and the first image preview picture is carried out predetermined registration operation, the first image, the second image, the 3rd image are entered Row image mosaic generates stitching image and exports to preview interface, so, by the embodiment of the present invention, user With live preview panoramic mosaic image, thus user can be improved further and takes pictures experience when taking pictures.
Embodiment five
Fig. 5 is the block diagram of the mobile terminal of the embodiment of the present invention.
Shown in reference Fig. 5, the mobile terminal 500 of the present embodiment, include Curved screen including mobile terminal, Described Curved screen includes main screen region, the first bent screen region and the second bent screen region, described first photographic head, It is bent that second camera and the 3rd photographic head are respectively arranged at described main screen region, the first bent screen region and second Shield area top, and described first photographic head, second camera and the 3rd photographic head are respectively positioned on same level On line, described first photographic head, second camera and the 3rd photographic head are front-facing camera, or described First photographic head, second camera and the 3rd photographic head are post-positioned pick-up head, described mobile terminal 500 Also include image capture module 501, image collection module 502, target panoramic picture generation module 503.
Image capture module 501, for control during panoramic picture is taken pictures described first photographic head, Second camera and the 3rd photographic head synchronous acquisition image.
Image collection module 502, is used for obtaining described first photographic head, second camera and the 3rd shooting The first image, the second image and the 3rd image that head gathers respectively.
Target panoramic picture generation module 503, for when receiving photographing instruction, by described first figure Picture, the second image and the 3rd image carry out image mosaic, generate target panoramic picture.
With reference to shown in Fig. 6, in the mobile terminal 600 that another embodiment of the present invention provides, described mobile whole End 600 also includes the first image preview module 504, image buffer storage module 505.
First image preview module 504, for showing described first image taking pictures in preview interface.
It is specially the first image output image collection module 502 obtained to show to preview interface of taking pictures.
Image buffer storage module 505, for caching described second image and the 3rd image.
It is specially the second image image collection module 502 obtained and the output of the 3rd image to caching.
Shown in reference Fig. 6 a, in the mobile terminal 600 that another embodiment of the present invention provides, described target Panoramic picture generation module 503 includes that rim detection submodule 5031, capped pixel region determine submodule Block 5032, image mosaic submodule 5033.
Rim detection submodule 5031, for respectively to described first image, the second image and the 3rd image Carry out rim detection.
Capped pixel region determines submodule 5032, for examining based on described rim detection submodule edge Survey, determine described first image, pixel region capped between the second image and the 3rd image.
Image mosaic submodule 5033, for determining what submodule determined based on described capped pixel region Described first image, pixel region capped between the second image and the 3rd image, by described first figure Picture, the second image and the 3rd image carry out image mosaic and become target panoramic picture, in splicing, go Except described capped pixel region.
With reference to shown in Fig. 7, in the mobile terminal 700 that another embodiment of the present invention provides, described mobile whole End 700 also includes predetermined registration operation receiver module 506, the second image preview module 507.
Predetermined registration operation receiver module 506, for receiving the predetermined registration operation of mobile phone users.
Second image preview module 507, for responding the predetermined registration operation that predetermined registration operation receiver module receives, In described preview interface of taking pictures, described second image, the first image and the 3rd figure is shown according to preset order Picture.
With reference to shown in Fig. 7 a, in the mobile terminal 700 that another embodiment of the present invention provides, the second figure As previewing module 507 includes image mosaic submodule 5071, stitching image display sub-module 5072.
Image mosaic submodule 5071, for carrying out described first image, the second image and the 3rd image Image mosaic, generates stitching image.
Stitching image display sub-module 5072, for showing that described image is spelled in described preview interface of taking pictures Connect the stitching image that submodule is generated.
With reference to shown in Fig. 7 a, described target panoramic picture generation module 503 includes that target panoramic picture is true Stator modules 5034.
Target panoramic picture determines submodule 5034, complete for described stitching image is defined as described target Scape image.
With reference to shown in Fig. 8, in the mobile terminal 700 that another embodiment of the present invention provides, described splicing Image display sub-module 5072 includes that edge detection unit 50721, capped pixel region determine unit 50722, image mosaic unit 50723.
Edge detection unit 50721, for respectively to described first image, the second image and the 3rd image Carry out rim detection.
Capped pixel region determines unit 50722, examines for edge based on described edge detection unit Survey, determine described first image, pixel region capped between the second image and the 3rd image.
Image mosaic unit 50723, for determining, based on described capped pixel region, the institute that unit determines State the first image, pixel region capped between the second image and the 3rd image, by described first image, Second image and the 3rd image carry out image mosaic and become stitching image, in splicing, remove described quilt The pixel region covered.
Mobile terminal is capable of each mistake that in the embodiment of the method for Fig. 1 and Fig. 4, mobile terminal realizes Journey, for avoiding repeating, repeats no more here.
Embodiment of the present invention mobile terminal is synchronized by the first photographic head, second camera and the 3rd photographic head Gather image, and the image collected is carried out image mosaic, generate target panoramic picture, therefore, logical Cross the embodiment of the present invention, be effectively simplified when taking pictures panoramic picture at present, need to horizontally rotate mobile terminal Obtain multiple images, and the step that multiple images are repeatedly spliced, and need not during taking pictures Terminal in rotary moving, generates the panoramic picture obtained and smooths, improve the quality of taking pictures of panoramic picture, enter One step, can be by the first image output of the first camera collection to preview interface or by the first shooting The image of head, second camera and the 3rd camera collection exports to preview interface, or takes the photograph first Export to preview interface as the image of head, second camera and the 3rd camera collection splices in real time, User can carry out preview in real time, improves user and takes pictures experience.
Embodiment six
Fig. 9 is the block diagram of the mobile terminal of another embodiment of the present invention.
With reference to shown in Fig. 8, mobile terminal 1000 includes: at least one processor 1001, memorizer 1002, At least one network interface 1004 and user interface 1003, assembly 1006 of taking pictures.Mobile terminal 1000 In each assembly be coupled by bus system 1005.It is understood that bus system 1005 is used for Realize the connection communication between these assemblies.Bus system 1005, in addition to including data/address bus, is also wrapped Include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in fig .9 Various buses are all designated as bus system 1005, and assembly 1006 of taking pictures includes the first photographic head, second takes the photograph As head, the 3rd photographic head.
User interface 1003 can include display, keyboard or pointing device (such as, mouse, rail Mark ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 1002 being appreciated that in the embodiment of the present invention can be volatile memory or non-easily The property lost memorizer, maybe can include volatibility and nonvolatile memory.Wherein, non-volatile memories Device can be read only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (Random Access Memory, RAM), It is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can With, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (Synchlink DRAM, And direct rambus random access memory (Direct Rambus RAM, DRRAM) SLDRAM). The memorizer 1002 of the system and method that the embodiment of the present invention describes is intended to include but not limited to these and appoint The memorizer of other applicable type of anticipating.
In some embodiments, memorizer 1002 stores following element, executable module or Data structure, or their subset, or their superset: operating system 10021 and application journey Sequence 10022.
Wherein, operating system 10021, comprise various system program, such as ccf layer, core library layer, Drive layer etc., be used for realizing various basic business and processing hardware based task.Application program 10022, comprise various application program, such as camera application, media player (Media Player), Browsers (Browser) etc., are used for realizing various applied business.Realize the program of embodiment of the present invention method May be embodied in application program 10022.
It is in embodiments of the present invention, by calling program or the instruction of memorizer 1002 storage, concrete, Can be program or the instruction of storage in application program 10022, processor 1001 be at panoramic picture Described first photographic head, second camera and the 3rd photographic head synchronous acquisition image is controlled during taking pictures, Obtain the first image that described first photographic head, second camera and the 3rd photographic head gather respectively, second Image and the 3rd image, when receiving photographing instruction, by described first image, the second image and the 3rd Image carries out image mosaic, generates target panoramic picture.
The method that the invention described above embodiment discloses can apply in processor 1001, or by processing Device 1001 realizes.Processor 1001 is probably a kind of IC chip, has the disposal ability of signal. During realizing, each step of said method can be patrolled by the integrated of hardware in processor 1001 The instruction collecting circuit or software form completes.Above-mentioned processor 1001 can be general processor, Digital signal processor (Digital Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable GateArray, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform the disclosed each method in the embodiment of the present invention, step and Logic diagram.The place that general processor can be microprocessor or this processor can also be any routine Reason device etc..Step in conjunction with the method disclosed in the embodiment of the present invention can be embodied directly at hardware decoding Reason device has performed, or completes with the hardware in decoding processor and software module combination execution.Software Module may be located at random access memory, flash memory, read only memory, and programmable read only memory or electricity can In the storage medium that this areas such as erasable programmable storage, depositor are ripe.This storage medium is positioned at Memorizer 1002, processor 1001 reads the information in memorizer 1002, completes above-mentioned in conjunction with its hardware The step of method.
It is understood that these embodiments that the embodiment of the present invention describes can be used hardware, software, consolidate Part, middleware, microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one Individual or multiple special IC (Application Specific Integrated Circuits, ASIC), numeral Signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), on-the-spot Programmable gate array (Field-Programmable GateArray, FPGA), general processor, controller, Microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can by perform function described in the embodiment of the present invention module (such as process, Function etc.) realize the technology described in the embodiment of the present invention.Software code is storable in memorizer and leads to Cross processor to perform.Memorizer can within a processor or realize outside processor.
Alternatively, processor 1001 is additionally operable to show described first image in preview interface taking pictures;Will Described second image and the 3rd image cache.
Alternatively, processor 1001 is additionally operable to receive the predetermined registration operation of mobile phone users, according to presetting Order shows described second image, the first image and the 3rd image in described preview interface of taking pictures.
Alternatively, processor 1001 is additionally operable to enter described first image, the second image and the 3rd image Row image mosaic, generates stitching image;Described preview interface of taking pictures shows described stitching image.
Alternatively, processor 1001 is additionally operable to be defined as described stitching image described target panoramic picture.
Alternatively, processor 1001 is additionally operable to respectively to described first image, the second image and the 3rd figure As carrying out rim detection;Based on described rim detection, determine described first image, the second image and the 3rd Pixel region capped between image;Based on described first image, between the second image and the 3rd image Capped pixel region, carries out image mosaic one-tenth by described first image, the second image and the 3rd image Stitching image, in splicing, removes described capped pixel region.
Alternatively, processor 1001 is additionally operable to respectively to described first image, the second image and the 3rd figure As carrying out rim detection;Based on described rim detection, determine described first image, the second image and the 3rd Pixel region capped between image;Based on described first image, between the second image and the 3rd image Capped pixel region, carries out image mosaic one-tenth by described first image, the second image and the 3rd image Target panoramic picture, in splicing, removes described capped pixel region.
Mobile terminal 1000 is capable of each process that in previous embodiment, mobile terminal realizes, for keeping away Exempt to repeat, repeat no more here.
Embodiment of the present invention mobile terminal is synchronized by the first photographic head, second camera and the 3rd photographic head Gather image, and the image collected is carried out image mosaic, generate target panoramic picture, therefore, logical Cross the embodiment of the present invention, be effectively simplified when taking pictures panoramic picture at present, need to horizontally rotate mobile terminal Obtain multiple images, and the step that multiple images are repeatedly spliced, and need not during taking pictures Terminal in rotary moving, generates the panoramic picture obtained and smooths, improve the quality of taking pictures of panoramic picture, enter One step, can be by the first image output of the first camera collection to preview interface or by the first shooting Head, the image of second camera and the 3rd camera collection export respectively to preview interface, or by the The image of one photographic head, second camera and the 3rd camera collection splices output in real time to preview circle Face, user can carry out preview in real time, improves user and takes pictures experience.
Embodiment seven
Figure 10 is the structural representation of the mobile terminal of one embodiment of the invention.Specifically, Tu10Zhong Mobile terminal 1100 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 1100 in Figure 10 includes radio frequency (Radio Frequency, RF) circuit 1101, deposits Reservoir 1102, input block 1103, display unit 1104, processor 1106, voicefrequency circuit 1107, WiFi (Wireless Fidelity) module 1108, power supply 1109 and assembly 1105 of taking pictures.
Wherein, input block 1103 can be used for receiving numeral or the character information of user's input, and produces The raw signal input relevant with the user setup of mobile terminal 1100 and function control.Specifically, originally In inventive embodiments, this input block 1103 can include contact panel 11031.Contact panel 11031, Also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user use finger, Any applicable object such as stylus or adnexa operation on contact panel 11031), and according to presetting Formula drive corresponding attachment means.Optionally, contact panel 11031 can include touching detection dress Put and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine Survey the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touching detection Receive touch information on device, and be converted into contact coordinate, then give this processor 1106, and energy Receive the order sent of processor 1106 and performed.Furthermore, it is possible to use resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes contact panel 11031.Except contact panel 11031, Input block 1103 can also include other input equipments 11032, and other input equipments 11032 can wrap Include but be not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, One or more in mouse, action bars etc..
Wherein, display unit 1104 can be used for the information that display is inputted or the letter being supplied to user by user Breath and the various menu interfaces of mobile terminal 1100.Display unit 1104 can include display floater 11041, optionally, LCD or Organic Light Emitting Diode (Organic Light-Emitting can be used Diode, OLED) etc. form configure display floater 11041.
It should be noted that contact panel 11031 can cover display floater 11041, formed and touch display screen, When this touch display screen detects thereon or after neighbouring touch operation, send to processor 1106 with Determine the type of touch event, touch display screen with preprocessor 1106 according to the type of touch event The corresponding visual output of upper offer.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This application program circle The arrangement mode of viewing area, face and this conventional control viewing area does not limit, can be arranged above and below, left and right Arrangement etc. can distinguish the arrangement mode of two viewing areas.This Application Program Interface viewing area may be used for showing Show the interface of application program.Each interface can comprise at least one application program icon and/or The interface elements such as widget desktop control.This Application Program Interface viewing area can also be any interior for not comprising The empty interface held.This conventional control viewing area is for showing the control that utilization rate is higher, and such as, setting is pressed The application icons etc. such as button, interface numbering, scroll bar, phone directory icon.
Assembly 1105 of taking pictures includes the first photographic head, second camera and the 3rd photographic head, wherein processes Device 1106 is the control centre of mobile terminal 1100, utilizes various interface and the whole mobile phone of connection Various piece, is stored in the software program in first memory 11021 and/or mould by running or performing Block, and call the data being stored in second memory 11022, perform each of mobile terminal 1100 Plant function and process data, thus mobile terminal 1100 is carried out integral monitoring.Optionally, processor 1106 can include one or more processing unit.
In embodiments of the present invention, by call the software program stored in this first memory 11021 and / or module and/or this second memory 11022 in data, processor 1106 is at panoramic picture Described first photographic head, second camera and the 3rd photographic head synchronous acquisition image is controlled during taking pictures, Obtain the first image that described first photographic head, second camera and the 3rd photographic head gather respectively, second Image and the 3rd image, when receiving photographing instruction, by described first image, the second image and the 3rd Image carries out image mosaic, generates target panoramic picture.
Alternatively, processor 1106 is additionally operable to show described first image in preview interface taking pictures;Will Described second image and the 3rd image cache.
Alternatively, processor 1106 is additionally operable to receive the predetermined registration operation of mobile phone users, according to presetting Order shows described second image, the first image and the 3rd image in described preview interface of taking pictures.
Alternatively, processor 1106 is additionally operable to enter described first image, the second image and the 3rd image Row image mosaic, generates stitching image;Described preview interface of taking pictures shows described stitching image.
Alternatively, processor 1106 is additionally operable to be defined as described stitching image described target panoramic picture.
Alternatively, processor 1106 is additionally operable to respectively to described first image, the second image and the 3rd figure As carrying out rim detection;Based on described rim detection, determine described first image, the second image and the 3rd Pixel region capped between image;Based on described first image, between the second image and the 3rd image Capped pixel region, carries out image mosaic one-tenth by described first image, the second image and the 3rd image Stitching image, in splicing, removes described capped pixel region.
Alternatively, processor 1106 is additionally operable to respectively to described first image, the second image and the 3rd figure As carrying out rim detection;Based on described rim detection, determine described first image, the second image and the 3rd Pixel region capped between image;Based on described first image, between the second image and the 3rd image Capped pixel region, carries out image mosaic one-tenth by described first image, the second image and the 3rd image Target panoramic picture, in splicing, removes described capped pixel region.
Visible, in embodiments of the present invention, embodiment of the present invention mobile terminal by the first photographic head, the Two photographic head and the 3rd photographic head synchronous acquisition image, and the image collected is carried out image mosaic, raw Become target panoramic picture, therefore, by the embodiment of the present invention, be effectively simplified panoramic picture of taking pictures at present Time, need to horizontally rotate mobile terminal and obtain multiple images, and the step that multiple images are repeatedly spliced Suddenly, and need not terminal in rotary moving during taking pictures, generate the panoramic picture obtained and smooth, improve The quality of taking pictures of panoramic picture, further, can be by the first image output of the first camera collection To preview interface or by the most defeated for the image of the first photographic head, second camera and the 3rd camera collection Go out to preview interface, or by the first photographic head, second camera and the image of the 3rd camera collection Splicing output in real time to preview interface, user can carry out preview in real time, improves user and takes pictures body Test.
For mobile terminal embodiment, owing to it is with embodiment of the method basic simlarity, so describe Fairly simple, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, dress Put or computer program.Therefore, the embodiment of the present invention can use complete hardware embodiment, completely Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present invention Can use and can be situated between with storage at one or more computers wherein including computer usable program code The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of sequence product.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal unit (system) and meter The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer, The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce One machine so that performed by the processor of computer or other programmable data processing terminal equipment Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art being once Know basic creative concept, then these embodiments can be made other change and amendment.So, Claims are intended to be construed to include preferred embodiment and fall into the institute of range of embodiment of the invention There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art+ Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Process, method, article or terminal unit including a series of key elements not only include those key elements, and Also include other key elements being not expressly set out, or also include for this process, method, article or The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end End equipment there is also other identical element.

Claims (18)

1. the method that panorama is taken pictures, is applied to mobile terminal, it is characterised in that described shifting Dynamic terminal includes the first photographic head, second camera and the 3rd photographic head, and described method includes:
Described first photographic head, second camera and the 3rd photographic head is controlled during panoramic picture is taken pictures Synchronous acquisition image;
Obtain the first image that described first photographic head, second camera and the 3rd photographic head gather respectively, Second image and the 3rd image;
When receiving photographing instruction, described first image, the second image and the 3rd image are carried out image Splicing, generates target panoramic picture.
Method the most according to claim 1, it is characterised in that described mobile terminal includes curved surface Screen, described Curved screen includes main screen region, the first bent screen region and the second bent screen region, and described first takes the photograph As head, second camera and the 3rd photographic head be respectively arranged at described main screen region, the first bent screen region and Second song shields area top, and described first photographic head, second camera and the 3rd photographic head are respectively positioned on same On one horizontal line.
Method the most according to claim 1, it is characterised in that described first photographic head, second Photographic head and the 3rd photographic head are front-facing camera, or described first photographic head, second camera and Three photographic head are post-positioned pick-up head.
Method the most according to claim 1, it is characterised in that described first shooting of described acquisition The first image, the second image and the 3rd image that head, second camera and the 3rd photographic head gather respectively After step, described method also includes:
Described first image is shown in preview interface taking pictures;
Described second image and the 3rd image are cached.
Method the most according to claim 1, it is characterised in that described by described second image and After 3rd image carries out the step cached, described method also includes:
Receive the predetermined registration operation of mobile phone users;
In described preview interface of taking pictures, described second image, the first image and is shown according to preset order Three images.
Method the most according to claim 5, it is characterised in that described according to preset order clap Include according to the step showing described second image, the first image and the 3rd image in preview interface:
Described first image, the second image and the 3rd image are carried out image mosaic, generates stitching image;
Described preview interface of taking pictures shows described stitching image.
Method the most according to claim 6, it is characterised in that described when receiving photographing instruction Time, described first image, the second image and the 3rd image are carried out image mosaic, generates target panorama sketch The step of picture includes:
Described stitching image is defined as described target panoramic picture.
Method the most according to claim 6, it is characterised in that described by described first image, Second image and the 3rd image carry out image mosaic, and the step generating stitching image includes:
Respectively described first image, the second image and the 3rd image are carried out rim detection;
Based on described rim detection, determine described first image, coating between the second image and the 3rd image The pixel region of lid;
Based on described first image, pixel region capped between the second image and the 3rd image, by institute State the first image, the second image and the 3rd image to carry out image mosaic and become stitching image, in splicing, Remove described capped pixel region.
Method the most according to claim 1, described when receiving photographing instruction, by described One image, the second image and the 3rd image carry out image mosaic, and the step generating target panoramic picture includes:
Respectively described first image, the second image and the 3rd image are carried out rim detection;
Based on described rim detection, determine described first image, coating between the second image and the 3rd image The pixel region of lid;
Based on described first image, pixel region capped between the second image and the 3rd image, Described first image, the second image and the 3rd image are carried out image mosaic and becomes target panoramic picture, spelling In termination process, remove described capped pixel region.
10. a mobile terminal, it is characterised in that described mobile terminal include the first photographic head, second Photographic head and the 3rd photographic head, described mobile terminal also includes:
Image capture module, for control during panoramic picture is taken pictures described first photographic head, second Photographic head and the 3rd photographic head synchronous acquisition image;
Image collection module, is used for obtaining described first photographic head, second camera and the 3rd photographic head and divides The first image, the second image and the 3rd image not gathered;
Target panoramic picture generation module, for when receiving photographing instruction, by described first image, Second image and the 3rd image carry out image mosaic, generate target panoramic picture.
11. mobile terminals according to claim 10, it is characterised in that described mobile terminal bag Including Curved screen, described Curved screen includes main screen region, the first bent screen region and the second bent screen region, described First photographic head, second camera and the 3rd photographic head are respectively arranged at described main screen region, the first bent screen Region and the second bent screen area top, and described first photographic head, second camera and the 3rd photographic head are equal It is positioned on same level line.
12. mobile terminals according to claim 10, it is characterised in that described first photographic head, Second camera and the 3rd photographic head are front-facing camera, or described first photographic head, second camera It is post-positioned pick-up head with the 3rd photographic head.
13. mobile terminals according to claim 10, it is characterised in that described mobile terminal is also Including:
First image preview module, for showing described first image taking pictures in preview interface;
Image buffer storage module, for caching described second image and the 3rd image.
14. mobile terminals according to claim 10, it is characterised in that described mobile terminal is also Including:
Predetermined registration operation receiver module, for receiving the predetermined registration operation of mobile phone users;
Second image preview module, for responding the predetermined registration operation that predetermined registration operation receiver module receives, according to Preset order shows described second image, the first image and the 3rd image in described preview interface of taking pictures.
15. mobile terminals according to claim 14, it is characterised in that described second image is pre- Module of looking at includes:
Image mosaic submodule, for carrying out image by described first image, the second image and the 3rd image Splicing, generates stitching image;
Stitching image display sub-module, for showing described image mosaic in described preview interface of taking pictures The stitching image that module is generated.
16. mobile terminals according to claim 15, it is characterised in that described target panorama sketch As generation module includes:
Target panoramic picture determines submodule, for described stitching image is defined as described target panorama sketch Picture.
17. mobile terminals according to claim 15, it is characterised in that described image mosaic Module includes:
Edge detection unit, for carrying out limit to described first image, the second image and the 3rd image respectively Edge detects;
Capped pixel region determines unit, for rim detection based on described edge detection unit, really Fixed described first image, pixel region capped between the second image and the 3rd image;
Image mosaic unit, for determine that unit determines based on described capped pixel region described first Image, pixel region capped between the second image and the 3rd image, by described first image, second Image and the 3rd image carry out image mosaic and become stitching image, in splicing, remove described capped Pixel region.
18. mobile terminals according to claim 10, it is characterised in that described target panorama sketch As generation module includes:
Rim detection submodule, for carrying out described first image, the second image and the 3rd image respectively Rim detection;
Capped pixel region determines submodule, examines for edge based on described rim detection submodule Survey, determine described first image, pixel region capped between the second image and the 3rd image;
Based on described capped pixel region, image mosaic submodule, described in determining that submodule determines First image, pixel region capped between the second image and the 3rd image, by described first image, Second image and the 3rd image carry out image mosaic and become target panoramic picture, in splicing, remove institute State capped pixel region.
CN201610515352.XA 2016-06-30 2016-06-30 Panoramically photographing method and mobile terminal Pending CN105979156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610515352.XA CN105979156A (en) 2016-06-30 2016-06-30 Panoramically photographing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610515352.XA CN105979156A (en) 2016-06-30 2016-06-30 Panoramically photographing method and mobile terminal

Publications (1)

Publication Number Publication Date
CN105979156A true CN105979156A (en) 2016-09-28

Family

ID=56953765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610515352.XA Pending CN105979156A (en) 2016-06-30 2016-06-30 Panoramically photographing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105979156A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454152A (en) * 2016-12-02 2017-02-22 北京东土军悦科技有限公司 Video image splicing method, device and system
CN106534685A (en) * 2016-11-18 2017-03-22 维沃移动通信有限公司 Panoramic image generation method and mobile terminal
CN106803883A (en) * 2017-02-28 2017-06-06 努比亚技术有限公司 The movable prompt terminal of the depth of field and method in pan-shot
CN106961549A (en) * 2017-03-03 2017-07-18 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device based on dual camera
CN107105166A (en) * 2017-05-26 2017-08-29 努比亚技术有限公司 Image capturing method, terminal and computer-readable recording medium
CN107222680A (en) * 2017-06-30 2017-09-29 维沃移动通信有限公司 The image pickup method and mobile terminal of a kind of panoramic picture
WO2018076354A1 (en) * 2016-10-31 2018-05-03 华为技术有限公司 Image data frame synchronization method, image signal processing device and terminal
CN108418916A (en) * 2018-02-28 2018-08-17 努比亚技术有限公司 Image capturing method, mobile terminal based on double-sided screen and readable storage medium storing program for executing
CN108900763A (en) * 2018-05-30 2018-11-27 Oppo(重庆)智能科技有限公司 Filming apparatus, electronic equipment and image acquiring method
CN108900738A (en) * 2018-05-31 2018-11-27 Oppo(重庆)智能科技有限公司 Filming apparatus and electronic equipment
CN108933884A (en) * 2017-05-26 2018-12-04 富泰华工业(深圳)有限公司 Printed circuit board and lens control method
CN109995985A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Panoramic picture image pickup method, device and robot based on robot
CN110489040A (en) * 2019-08-15 2019-11-22 北京字节跳动网络技术有限公司 Method and device, terminal and the storage medium that characteristic model is shown
CN111327820A (en) * 2020-02-24 2020-06-23 维沃移动通信有限公司 Shooting method and electronic equipment
CN112004023A (en) * 2020-08-31 2020-11-27 深圳创维数字技术有限公司 Shooting method, multi-camera module and storage medium
CN114885087A (en) * 2021-02-05 2022-08-09 三赢科技(深圳)有限公司 Panoramic photographing device and panoramic image photographing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080043093A1 (en) * 2006-08-16 2008-02-21 Samsung Electronics Co., Ltd. Panorama photography method and apparatus capable of informing optimum photographing position
CN101378559A (en) * 2007-08-30 2009-03-04 联想移动通信科技有限公司 Mobile phone capable of panorama shooting by pick-up head combination
CN101540846A (en) * 2009-04-03 2009-09-23 浙江大华技术股份有限公司 Image synthesis method of hard disk video recorder and special equipment thereof
CN102984355A (en) * 2012-11-08 2013-03-20 深圳桑菲消费通信有限公司 Cell phone and dual-camera achieving method thereof
CN104333695A (en) * 2014-11-19 2015-02-04 北京奇虎科技有限公司 Method and device for processing split-screen shooting, and client
CN105376396A (en) * 2014-08-07 2016-03-02 Lg电子株式会社 Mobile terminal and controlling method thereof
CN105635566A (en) * 2015-12-22 2016-06-01 东莞酷派软件技术有限公司 Terminal shooting method and terminal shooting device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080043093A1 (en) * 2006-08-16 2008-02-21 Samsung Electronics Co., Ltd. Panorama photography method and apparatus capable of informing optimum photographing position
CN101378559A (en) * 2007-08-30 2009-03-04 联想移动通信科技有限公司 Mobile phone capable of panorama shooting by pick-up head combination
CN101540846A (en) * 2009-04-03 2009-09-23 浙江大华技术股份有限公司 Image synthesis method of hard disk video recorder and special equipment thereof
CN102984355A (en) * 2012-11-08 2013-03-20 深圳桑菲消费通信有限公司 Cell phone and dual-camera achieving method thereof
CN105376396A (en) * 2014-08-07 2016-03-02 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104333695A (en) * 2014-11-19 2015-02-04 北京奇虎科技有限公司 Method and device for processing split-screen shooting, and client
CN105635566A (en) * 2015-12-22 2016-06-01 东莞酷派软件技术有限公司 Terminal shooting method and terminal shooting device

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432228B (en) * 2016-10-31 2020-11-17 华为技术有限公司 Frame synchronization method of image data, image signal processing unit, device and terminal
US10841460B2 (en) 2016-10-31 2020-11-17 Huawei Technologies Co., Ltd. Frame synchronization method for image data, image signal processing apparatus, and terminal
WO2018076354A1 (en) * 2016-10-31 2018-05-03 华为技术有限公司 Image data frame synchronization method, image signal processing device and terminal
CN108432228A (en) * 2016-10-31 2018-08-21 华为技术有限公司 Frame synchornization method, image signal processing apparatus and the terminal of image data
CN106534685A (en) * 2016-11-18 2017-03-22 维沃移动通信有限公司 Panoramic image generation method and mobile terminal
CN106454152B (en) * 2016-12-02 2019-07-12 北京东土军悦科技有限公司 Video image joining method, device and system
CN106454152A (en) * 2016-12-02 2017-02-22 北京东土军悦科技有限公司 Video image splicing method, device and system
CN106803883A (en) * 2017-02-28 2017-06-06 努比亚技术有限公司 The movable prompt terminal of the depth of field and method in pan-shot
CN106803883B (en) * 2017-02-28 2019-08-30 努比亚技术有限公司 The prompt terminal and method that the depth of field is moved forward and backward in pan-shot
CN106961549A (en) * 2017-03-03 2017-07-18 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device based on dual camera
CN107105166A (en) * 2017-05-26 2017-08-29 努比亚技术有限公司 Image capturing method, terminal and computer-readable recording medium
CN108933884A (en) * 2017-05-26 2018-12-04 富泰华工业(深圳)有限公司 Printed circuit board and lens control method
CN107105166B (en) * 2017-05-26 2020-12-01 努比亚技术有限公司 Image photographing method, terminal, and computer-readable storage medium
CN107222680A (en) * 2017-06-30 2017-09-29 维沃移动通信有限公司 The image pickup method and mobile terminal of a kind of panoramic picture
CN109995985B (en) * 2017-12-29 2021-06-29 深圳市优必选科技有限公司 Panoramic image shooting method and device based on robot and robot
CN109995985A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Panoramic picture image pickup method, device and robot based on robot
CN108418916A (en) * 2018-02-28 2018-08-17 努比亚技术有限公司 Image capturing method, mobile terminal based on double-sided screen and readable storage medium storing program for executing
CN108900763B (en) * 2018-05-30 2022-03-22 Oppo(重庆)智能科技有限公司 Shooting device, electronic equipment and image acquisition method
CN108900763A (en) * 2018-05-30 2018-11-27 Oppo(重庆)智能科技有限公司 Filming apparatus, electronic equipment and image acquiring method
CN108900738B (en) * 2018-05-31 2021-01-15 Oppo(重庆)智能科技有限公司 Imaging device and electronic apparatus
CN108900738A (en) * 2018-05-31 2018-11-27 Oppo(重庆)智能科技有限公司 Filming apparatus and electronic equipment
CN110489040A (en) * 2019-08-15 2019-11-22 北京字节跳动网络技术有限公司 Method and device, terminal and the storage medium that characteristic model is shown
CN111327820A (en) * 2020-02-24 2020-06-23 维沃移动通信有限公司 Shooting method and electronic equipment
CN111327820B (en) * 2020-02-24 2021-11-26 维沃移动通信有限公司 Shooting method and electronic equipment
CN112004023A (en) * 2020-08-31 2020-11-27 深圳创维数字技术有限公司 Shooting method, multi-camera module and storage medium
CN114885087A (en) * 2021-02-05 2022-08-09 三赢科技(深圳)有限公司 Panoramic photographing device and panoramic image photographing method

Similar Documents

Publication Publication Date Title
CN105979156A (en) Panoramically photographing method and mobile terminal
CN105827952B (en) A kind of photographic method and mobile terminal removing specified object
CN106060398A (en) Method for automatically adjusting camera and mobile terminal
CN106791400B (en) A kind of image display method and mobile terminal
CN107465882B (en) A kind of image capturing method and mobile terminal
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN106027907B (en) A kind of method and mobile terminal of adjust automatically camera
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN105827951B (en) A kind of Moving Objects photographic method and mobile terminal
CN107222680A (en) The image pickup method and mobile terminal of a kind of panoramic picture
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN106534685A (en) Panoramic image generation method and mobile terminal
CN106937055A (en) A kind of image processing method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN107197169A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN106027900A (en) Photographing method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN107172296A (en) A kind of image capturing method and mobile terminal
CN105898143A (en) Moving object snapshotting method and mobile terminal
CN106416222A (en) Real-time capture exposure adjust gestures
CN103297699A (en) Method and terminal for shooting images
CN108737739B (en) Preview picture acquisition method, preview picture acquisition device and electronic equipment
CN106161943A (en) A kind of kinescope method and mobile terminal
CN106101553A (en) A kind of photographic method and mobile terminal
CN105959565A (en) Panoramic photographing method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928