CN108012073A - A kind of method and device for realizing pan-shot - Google Patents
A kind of method and device for realizing pan-shot Download PDFInfo
- Publication number
- CN108012073A CN108012073A CN201610962352.4A CN201610962352A CN108012073A CN 108012073 A CN108012073 A CN 108012073A CN 201610962352 A CN201610962352 A CN 201610962352A CN 108012073 A CN108012073 A CN 108012073A
- Authority
- CN
- China
- Prior art keywords
- pan
- shot
- shooting
- image
- picture frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/2228—Video assist systems used in motion picture production, e.g. video cameras connected to viewfinders of motion picture cameras or related video signal processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/2624—Studio 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
A kind of method and device for realizing pan-shot, including:Shooting trace information when recording pan-shot by presetting sensor;Splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, to obtain pan-shot image.The embodiment of the present invention reduces the time loss of splicing, avoids the unnatural of splicing, improve the quality and user experience of pan-shot image by the shooting trace information of record.
Description
Technical field
Present document relates to but be not limited to image processing techniques, espespecially a kind of method and device for realizing pan-shot.
Background technology
Pan-shot be exactly using a point of setting as center carry out certain angle shooting (such as, carry out level 360
The shooting of degree;Or carry out the shooting of horizontal 360-degree and vertical 180 degree), several pictures of shooting are spliced into a Zhang Quanjing figure
Picture.The basic principle of spliced panoramic image is to search for the marginal portion of two pictures, and by the closest region of imaging effect
Overlapped, non-coincidence region is spliced to obtain panoramic picture.
Need to be overlapped in the closest region of imaging effect before the splicing of above-mentioned panoramic picture, it realizes main
Realized by characteristic matching technology, characteristic matching, which takes, causes splicing to grow, in addition, in join domain, using characteristic matching
When being spliced, due to characteristic matching precision problem, also there are bonding pad it is unnatural the problem of, have impact on pan-shot image
Quality.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not,
Enclose.
The embodiment of the present invention provides a kind of method and device for realizing pan-shot, and the time that can reduce splicing disappears
Consumption, improves pan-shot picture quality.
An embodiment of the present invention provides a kind of device for realizing pan-shot, including:Recording unit and concatenation unit;Its
In,
Recording unit is used for, shooting trace information when recording pan-shot by presetting sensor;
Concatenation unit is used for, and splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, with
Obtain pan-shot image.
Optionally, the recording unit is specifically used for,
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by described in mark
All coding informations of picture frame are as the shooting trace information.
Optionally, described device further includes:Direction processing unit is used for,
Determine that cam movement direction is different with the first direction of progress pan-shot according to the shooting trace information
Second direction, and when the movement duration of the second direction is less than preset duration threshold value, continue the pan-shot;
Determine that cam movement direction is different from carrying out the first direction of pan-shot according to the shooting trace information
Second direction, and when the movement duration of second direction is greater than or equal to the preset duration threshold value, stops the panorama and clap
Take the photograph.
Optionally, the concatenation unit is specifically used for,
The sequence rule of coding information is determined according to the pre-arranged code mode;
Determine the coding information not being inconsistent with the sequence rule, and delete the coding information institute not being inconsistent with the sequence rule
Corresponding picture frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains the pan-shot image.
Optionally, described device further includes:
Display unit is cached, for being carried out according to the coding information for splicing the pan-shot image to pan-shot image
Parsing, the pan-shot image after caching parsing;The pan-shot after the parsing of caching is read according to terminal move angle
Image, to be shown to the pan-shot image.
On the other hand, the embodiment of the present invention also provides a kind of method for realizing pan-shot, including:
Shooting trace information when recording pan-shot by presetting sensor;
Splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, to obtain pan-shot figure
Picture.
Optionally, the shooting trace information by when presetting sensor record pan-shot includes:
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by described in mark
All coding informations of picture frame are as the shooting trace information.
Optionally, the method further includes:
Determine that cam movement direction is different with the first direction of progress pan-shot according to the shooting trace information
Second direction, and when the movement duration of the second direction is less than preset duration threshold value, continue the pan-shot;
Determine that cam movement direction is different from carrying out the first direction of pan-shot according to the shooting trace information
Second direction, and when the movement duration of second direction is greater than or equal to the preset duration threshold value, stops the panorama and clap
Take the photograph.
Optionally, the shooting trace information according to record carries out splicing to the picture frame of pan-shot includes:
The sequence rule of coding information is determined according to the pre-arranged code mode;
Determine the coding information not being inconsistent with the sequence rule, and delete the coding information institute not being inconsistent with the sequence rule
Corresponding picture frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains the pan-shot image.
Optionally, the method further includes:
Coding information according to the pan-shot image is spliced parses pan-shot image, after caching parsing
Pan-shot image;
The pan-shot image after the parsing of caching is read according to terminal move angle, with to the pan-shot figure
As being shown.
Compared with correlation technique, technical scheme includes:Shooting when recording pan-shot by presetting sensor
Trace information;Splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, to obtain pan-shot
Image.The embodiment of the present invention is reduced the time loss of splicing, is avoided and spliced by the shooting trace information of record
Journey it is unnatural, improve the quality and user experience of pan-shot image.
After reading and understanding attached drawing and being described in detail, it can be appreciated that other aspects.
Brief description of the drawings
Fig. 1 is the hardware configuration signal for the optional mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the block diagram of the essential electrical structure of the camera of the embodiment of the present invention;
Fig. 3 is the flow chart for the method that the embodiment of the present invention realizes pan-shot;
Fig. 4 is the operating coordinates schematic diagram of gyro sensor of the embodiment of the present invention;
Fig. 5 is the panoramic picture schematic diagram for not deleting picture frame in correlation technique;
Fig. 6 is that the embodiment of the present invention deletes the panoramic picture schematic diagram after picture frame;
Fig. 7 is the schematic diagram that the embodiment of the present invention adjusts the angle ratio;
Fig. 8 is the flow chart for the method that another embodiment of the present invention realizes pan-shot;
Fig. 9 is the structure diagram for the device that the embodiment of the present invention realizes pan-shot.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application
Feature can mutually be combined.
Describe to realize the mobile terminal of each embodiment of the present invention referring now to attached drawing.In follow-up description, use
For represent element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that except being used in particular for moving
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal for the optional mobile terminal for realizing each embodiment of the present invention.
Mobile terminal 100 can include A/V (audio/video) input unit 120, user input unit 130, output unit
150th, memory 160, controller 180 and power supply unit 190 etc..Fig. 2 shows the mobile terminal with various assemblies, still
It should be understood that, it is not required that implement all components shown.More or fewer components can alternatively be implemented.Will be below
The element of mobile terminal is described in detail.
A/V input units 120 are used to receive audio or video signal.A/V input units 120 can include camera 121, phase
Machine 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus or the image of video
Data are handled.Picture frame after processing may be displayed on display unit 151.Picture frame after the processing of camera 121 can
To be stored in memory 160 (or other storage mediums), two or more cameras can be provided according to the construction of mobile terminal
1210。
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user
Kind operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (for example, sensitive component of detection change of resistance, pressure, capacitance etc. caused by by contact), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Output unit 150 is configured to provide output signal (for example, audio is believed with vision, audio and/or tactile manner
Number, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151.
Display unit 151 may be displayed in mobile terminal 100 information handled.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file
Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 can include two or more display units (or other display devices), for example, moving
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch
Input pressure and touch input position and touch input area.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can be with performing memory by network connection
The network storage device cooperation of 160 store function.
Controller 180 usually controls the overall operation of mobile terminal.For example, controller 180 performs and voice communication, data
Communication, video calling etc. relevant control and processing.Controller 180 can be with execution pattern identifying processing, will be in touch-screen
The handwriting input of upper execution or picture draw input and are identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Appropriate electric power needed for part and component.
Various embodiments described herein can with using such as computer software, hardware or any combination thereof calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Fig. 2 is the block diagram of the essential electrical structure of the camera of the embodiment of the present invention.Phtographic lens 701 is by shot for being formed
Multiple optical lens of body image are formed, and are single-focus lens or zoom lens, wherein in the present embodiment, phtographic lens 701 is
Two.Phtographic lens 701 can be moved in the direction of the optical axis by lens driving portion 711, according to from lens driving control unit
712 control signal, controls the focal position of phtographic lens 701, in the case of zoom lens, also controls focal length.Mirror
Head drive control circuit 712 carries out the drive control in lens driving portion 711 according to the control command from microcomputer 707.
Formed on the optical axis of phtographic lens 701, by phtographic lens 701 near the position of shot object image and be configured with shooting member
Part 702.Photographing element 702 is played as being imaged to shot object image and obtain the function of the image pickup part of image data.Taking the photograph
The photodiode for forming each pixel is two-dimensionally arranged in a matrix on element 702.Each photodiode produces and light
Corresponding opto-electronic conversion electric current is measured, which carries out charge accumulation by the capacitor being connected with each photodiode.
The front surface of each pixel is configured with the RGB colour filters of bayer arrangement.
Photographing element 702 is connected with imaging circuit 703, which carries out charge accumulation in photographing element 702
Control and picture signal read control, and picture signal (analog picture signal) reduction to the reading resets the laggard traveling wave shape of noise
Shaping, and then gain raising etc. is carried out with as appropriate signal level.Imaging circuit 703 turns with Analog-digital Converter (A/D)
Change portion 704 to connect, which carries out analog-to-digital conversion to analog picture signal, to 199 output digital image of bus believes
Number (hereinafter referred to as view data).
Bus 199 is the transmitting path for the various data for reading or generating for being transmitted in the inside of camera.In bus 199
Be connected to above-mentioned A/D converter sections 704, be additionally connected to image processor 705, jpeg processor 706, microcomputer 707,
Dynamic RAM (SDRAM, Synchronous DRAM) 708, memory interface (hereinafter referred to as memory I/F)
709th, liquid crystal display (LCD, Liquid Crystal Display) driver 710.
Image processor 705 carries out OB to the view data of the output based on photographing element 702 and subtracts each other processing, white balance tune
Whole, color matrix computing, gamma conversion, colour difference signal processing, noise removal process while to change processing, edge treated etc. various
Image procossing.Jpeg processor 706 when by Imagery Data Recording in recording medium 715, according to JPEG compression mode compress from
The view data that SDRAM 708 is read.In addition, jpeg processor 706 carries out jpeg image to carry out image reproducing to show
The decompression of data.When unziping it, the file being recorded in recording medium 715 is read, is implemented in jpeg processor 706
After decompression, the view data of decompression is temporarily stored in SDRAM708 and is shown on LCD716.Separately
Outside, in the present embodiment, mode is decompressed using JPEG modes as compression of images, but compressed and decompressed mode is unlimited
In this, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 707 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera
Sequence.Microcomputer 707 is connected to operating unit 713 and flash memory 714.
Operating unit 713 includes but not limited to physical button or virtual key, and the entity or virtual key can be electricity
Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button,
The operation portion material such as the various load buttons such as large buttons and various enter keys, detects the mode of operation of these operation portion materials.
Testing result is exported to microcomputer 707.In addition, the LCD716 as display unit front surface be equipped with touch
Panel is touched, detects the touch location of user, which is exported to microcomputer 707.Microcomputer 707 is according to next
From the testing result of the operation portion material of operating unit 713, various processing sequences corresponding with the operation of user are performed.Equally, this
Place can be testing result of the computer 707 according to the touch panel before LCD716, perform corresponding with the operation of user each
Kind processing sequence.)
The storage of flash memory 714 is used for the program for performing the various processing sequences of microcomputer 707.Microcomputer 707
The control of camera entirety is carried out according to the program.In addition, flash memory 714 stores the various adjusted values of camera, microcomputer 707 is read
Adjusted value, the control of camera is carried out according to the adjusted value.
SDRAM 708 is can the electric volatile memory rewritten for what is temporarily stored to view data etc..Should
SDRAM708 temporarily storages are from the view data of the output of A/D converter sections 704 and in image processor 705, jpeg processor 706 etc.
It is middle handled after view data.
Memory interface 709 is connected with recording medium 715, into the file be about to view data He be attached in view data
First-class data write-in recording medium 715 and the control read from recording medium 715.Recording medium 715 is, for example, can be in phase
The recording medium such as memory card of disassembled and assembled freely on owner's body, but not limited to this or be built in camera main-body
Hard disk etc..
LCD driver 710 is connected with LCD716, and the view data after being handled by image processor 705 is stored in
SDRAM reads the view data of SDRAM storages and is shown on LCD716, alternatively, jpeg processor 706 is pressed, it is necessary to when showing
The view data to contract is stored in SDRAM, and when needing display, jpeg processor 706 reads the compressed picture number of SDRAM
According to, then unzip it, the view data after decompression is shown by LCD716.
LCD716 is configured on back side of camera main-body etc., is performed image display.The LCD716 is equipped with touching for detection user
Touch the touch panel of operation.In addition, as display unit, what is configured in the present embodiment is that liquid crystal represents panel (LCD716), so
And not limited to this, the various display panels such as organic EL can also be used.
Based on above-mentioned mobile terminal hardware configuration and camera, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow chart for the method that the embodiment of the present invention realizes pan-shot, as shown in figure 3, including:
Step 300, by preset sensor record pan-shot when shooting trace information;
Optionally, the embodiment of the present invention, shooting trace information when recording pan-shot by presetting sensor include:
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by identification image
All coding informations of frame are as shooting trace information.
Optionally, the embodiment of the present invention further includes:
After opening camera, the accumulative change of the shooting angle of camera in a first direction is determined according to shooting trace information
When the number of degrees are more than default activation threshold value, start pan-shot;
Wherein, starting pan-shot includes:The pan-shot started according to first direction as camera moving direction.
It should be noted that the present invention, which implements activation threshold value, can include horizontal direction angle change threshold value and/or vertical
The angle change threshold value in direction.Fig. 4 is the operating coordinates schematic diagram of gyro sensor of the embodiment of the present invention, as shown in figure 4, X
Axis represents horizontal direction, and Y-axis represents vertical direction.Exemplified by carrying out 360 degree of shootings around M, activation threshold value can be level side
To angle change threshold value.Here, activation threshold value of the embodiment of the present invention can be an angle value between 3 degree~20 degree, triggering
The size of threshold value can be determined according to actual conditions, and activation threshold value is smaller to be, the picture frame of collection is generally more;Firing level
When being worth larger, the picture frame of collection is fewer.
Step 301, according to the shooting trace information of record carry out splicing to the picture frame of pan-shot, complete to obtain
Scape shooting image.
Optionally, present invention method further includes:
Determine that cam movement direction is the different with carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is less than preset duration threshold value, continue pan-shot;
Determine that cam movement direction is the different from carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is greater than or equal to preset duration threshold value, stop pan-shot.
Optionally, the embodiment of the present invention can also include:When receiving default stopping shooting instruction, stop panorama and clap
Take the photograph.
Optionally, carrying out splicing to the picture frame of pan-shot according to the shooting trace information of record includes:
The sequence rule of coding information is determined according to pre-arranged code mode;
Determine the coding information not being inconsistent with sequence rule, delete the image corresponding to the coding information not being inconsistent with sequence rule
Frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains above-mentioned pan-shot image.
Refer to it should be noted that meeting sequence rule with reference to coding mode according to fixed size sequence or according to solid
Fixed coded sequence is ranked up;Assuming that picture frame is compiled according to the positive integer of 1,2,3,4,5,6,7,8 ... N of positive integer
Code, then if during pan-shot, camera moving direction moves along the first direction always, then picture frame during pan-shot
Coding and sorting order is 1,2,3,4,5,6,7,8 ... N;If camera is into first direction moving process, due to operational
Slip up after the picture frame for being 5 is numbered, the second direction opposite to first direction moves certain angle, and recovers thereafter
The angle moved for the mobile hypothesis second direction of first direction corresponds to three picture frames, then picture frame during pan-shot
Coding and sorting order is 1,2,3,4,5,4,3,2,3,4,5 ... N;Fig. 5 is that the panoramic picture for not deleting picture frame in correlation technique shows
It is intended to, as shown in figure 5, in figure in addition to the picture frame marked as 1 is complete image, the second two field picture and the first two field picture are misaligned
Part by numbering be 2 rectangle represent;Similarly, the 3rd two field picture part misaligned with the second two field picture is by numbering
3 rectangle represents;4th two field picture and the misaligned part of the 3rd two field picture are represented by the rectangle that numbering is 4;5th frame figure
As the rectangle expression that the part misaligned with the 4th two field picture is 5 by numbering;Since camera moves three to second direction
A picture frame, follow-up splicing according to coding and sorting order show should be the rectangle of numbering 5, the rectangle of numbering 4, numbering 3 rectangle;
Then after camera recovers the movement of first direction, the rectangle of numbering 3, the rectangle of numbering 4, the rectangle of numbering 5 are continued;Fig. 6 is
The embodiment of the present invention deletes the panoramic picture schematic diagram after picture frame, as shown in fig. 6, except the picture frame marked as 1 has been in figure
Outside whole image, the second two field picture and the misaligned part of the first two field picture are represented by the rectangle that numbering is 2;3rd two field picture with
The misaligned part of second two field picture is represented by the rectangle that numbering is 3;4th two field picture and the misaligned portion of the 3rd two field picture
The rectangle for being 4 by numbering is divided to represent;The rectangle table that 5th two field picture and the misaligned part of the 4th two field picture are 5 by numbering
Show;Due to after the coding information that is not inconsistent of sequence rule, deleting the image corresponding to the coding information not being inconsistent with sequence rule
Frame, therefore, after carrying out delete processing, coding information is to meet sequence rule:1、2、3、4、5、6、7、8……N;I.e. splicing is compiled
After numbers 5 part, continue the 6th two field picture that splicing represented by the rectangle that numbering is 6 and the misaligned portion of the 5th two field picture
Divide, the misaligned part ... of the 7th two field picture and the 6th two field picture that the rectangle for being 7 by numbering represents.Using of the invention real
Apply a mode to be spliced, avoid causes splicing not during photographing panorama picture since camera moving direction changes
Natural situation, improves the picture quality of pan-shot.
Optionally, the embodiment of the present invention further includes:
According to the coding information of spliced panoramic shooting image, pan-shot image is shown according to terminal move angle
Show.
It should be noted that the embodiment of the present invention, can be according to playing process when carrying out the display of pan-shot image
The broadcasting of move angle pan-shot image;Move angle and the ratio of shooting angle can be 1, i.e., when 1 degree mobile, to panorama
The change that shooting image carries out 1 degree is shown;Shooting angle of the embodiment of the present invention add up change be more than 360 degree, then move angle and
The ratio of shooting angle can be less than 1, and the pan-shot of all shooting angle is completed when general move angle reaches 360 degree
The display of image;Move angle and the ratio of shooting angle can be adjusted according to actual conditions.Fig. 7 is the embodiment of the present invention
The schematic diagram of ratio is adjusted the angle, as shown in fig. 7, the expression of angle ratio is move angle and the ratio of shooting angle, is passed through
Upright triangle virtual key can increase angle ratio according to default step-length;Can be with by the triangle virtual key of handstand
Reduce angle ratio according to default step-length;It can be a fixed value set in advance to here preset at step-length, such as, 0.05;Such as
Fruit can not obtain required angle ratio by presetting the adjustment of step-length, can change default step-length or the side manually inputted
Formula determines the numerical values recited of angle ratio.
Optionally, present invention method further includes:
Pan-shot image is parsed according to the coding information of spliced panoramic shooting image, the panorama after caching parsing
Shooting image, the pan-shot image after the parsing of caching is read according to terminal move angle, to be carried out to pan-shot image
Display.
It should be noted that in correlation technique, the display of pan-shot image generally comprises below scheme:Panorama is obtained to clap
Take the photograph image, parsing pan-shot image, output pan-shot image;The embodiment of the present invention is right after pan-shot image is parsed
The pan-shot image of parsing is cached, and when being shown, is directly read data cached, is improved display efficiency;
In addition, if also generating audio-frequency information when generating pan-shot image, then audio-frequency information has no effect on the reality of the above process
Apply, it is only necessary to audio processing process is added in output procedure is resolved to.
The embodiment of the present invention reduces the time loss of splicing, avoids spelling by the shooting trace information of record
Termination process it is unnatural, improve the quality and user experience of pan-shot image.
Fig. 8 is the flow chart for the method that another embodiment of the present invention realizes pan-shot, as shown in figure 8, including:
Step 800, by preset sensor record pan-shot when shooting trace information;
Optionally, shooting trace information when recording pan-shot by presetting sensor includes:
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by identification image
All coding informations of frame are as shooting trace information.
Optionally, the embodiment of the present invention further includes:
After opening camera, the accumulative change of the shooting angle of camera in a first direction is determined according to shooting trace information
When the number of degrees are more than default activation threshold value, start pan-shot;
Starting pan-shot includes:The pan-shot started according to first direction as camera moving direction.
It should be noted that the present invention, which implements activation threshold value, can include horizontal direction angle change threshold value and/or vertical
The angle change threshold value in direction.Exemplified by carrying out 360 degree of shootings around M, activation threshold value can be horizontally oriented angle change threshold
Value.Here, activation threshold value can be an angle value between 3 degree~20 degree, and the size of activation threshold value can be according to actual feelings
Condition is determined, and activation threshold value is smaller to be, the picture frame of collection is generally more;When activation threshold value is larger, the picture frame ratio of collection
It is less.
Optionally, present invention method further includes:
Determine that cam movement direction is the different with carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is less than preset duration threshold value, continue pan-shot;
Determine that cam movement direction is the different from carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is greater than or equal to preset duration threshold value, stop pan-shot.
Optionally, the embodiment of the present invention can also include:When receiving default stopping shooting instruction, stop panorama and clap
Take the photograph.
Step 801, according to the shooting trace information of record carry out splicing to the picture frame of pan-shot, complete to obtain
Scape shooting image.
Optionally, the embodiment of the present invention carries out stitching portion according to the shooting trace information of record to the picture frame of pan-shot
Reason includes:
The sequence rule of coding information is determined according to pre-arranged code mode;
Determine the coding information not being inconsistent with sequence rule, and delete the figure corresponding to the coding information not being inconsistent with sequence rule
As frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains pan-shot image.
Refer to it should be noted that meeting sequence rule with reference to coding mode according to fixed size sequence or according to solid
Fixed coded sequence is ranked up;Assuming that picture frame is compiled according to the positive integer of 1,2,3,4,5,6,7,8 ... N of positive integer
Code, then if during pan-shot, camera moving direction moves along the first direction always, then picture frame during pan-shot
Coding and sorting order is 1,2,3,4,5,6,7,8 ... N;If camera is into first direction moving process, due to operational
Slip up after the picture frame for being 5 is numbered, the second direction opposite to first direction moves certain angle, and recovers thereafter
The angle moved for the mobile hypothesis second direction of first direction corresponds to three picture frames, then picture frame during pan-shot
Coding and sorting order is 1,2,3,4,5,4,3,2,3,4,5 ... N;After deleting the coding information not being inconsistent with sequence rule, meet sequence
Rule coding information is:1、2、3、4、5、6、7、8……N;Spliced using mode of the embodiment of the present invention, it is complete to avoid shooting
Cause to splice unnatural situation since camera moving direction changes in scape image process, improve the figure of pan-shot
Image quality amount.
Step 802, the coding information according to spliced panoramic shooting image, to pan-shot image according to terminal move angle
Shown.
It should be noted that the embodiment of the present invention, can be according to playing process when carrying out the display of pan-shot image
The broadcasting of move angle pan-shot image;Move angle and the ratio of shooting angle can be 1, i.e., when 1 degree mobile, to panorama
The change that shooting image carries out 1 degree is shown;Shooting angle of the embodiment of the present invention add up change be more than 360 degree, then move angle and
The ratio of shooting angle can be less than 1, and the pan-shot of all shooting angle is completed when general move angle reaches 360 degree
The display of image;Move angle and the ratio of shooting angle can be adjusted according to actual conditions.The embodiment of the present invention is with angle
What degree ratio represented is move angle and the ratio of shooting angle, can adjust the angle ratio according to default step-length;Here preset at
Step-length can be a fixed value set in advance, such as, 0.05;If can not be by presetting needed for the adjustment acquisition of step-length
Angle ratio, can change default step-length or the mode that manually inputs determines the numerical values recited of angle ratio.
Optionally, carrying out display according to terminal move angle to pan-shot image includes:
Pan-shot image is parsed according to the coding information of spliced panoramic shooting image, the panorama after caching parsing
Shooting image, the pan-shot image after the parsing of caching is read according to terminal move angle, to be carried out to pan-shot image
Display.
It should be noted that the display of pan-shot image generally comprises below scheme in correlation technique:Panorama is obtained to clap
Take the photograph image, parsing pan-shot image, output pan-shot image;The embodiment of the present invention is right after pan-shot image is parsed
The pan-shot image of parsing is cached, and when being shown, is directly read data cached, is improved display efficiency;
In addition, if also generating audio-frequency information when generating pan-shot image, then audio-frequency information has no effect on the reality of the above process
Apply, it is only necessary to audio processing process is added in output procedure is resolved to.
The embodiment of the present invention reduces the time loss of splicing, avoids spelling by the shooting trace information of record
Termination process it is unnatural, improve the quality and user experience of pan-shot image.
Fig. 9 is the structure diagram for the device that the embodiment of the present invention realizes pan-shot, as shown in figure 9, including:Recording unit
And concatenation unit;Wherein,
Recording unit is used for, shooting trace information when recording pan-shot by presetting sensor;
Optionally, recording unit is specifically used for,
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by identification image
All coding informations of frame are as shooting trace information.
Optionally, the embodiment of the present invention further includes:
After opening camera, the accumulative change of the shooting angle of camera in a first direction is determined according to shooting trace information
When the number of degrees are more than default activation threshold value, start pan-shot;
Starting pan-shot includes:The pan-shot started according to first direction as camera moving direction.
It should be noted that the present invention, which implements activation threshold value, can include horizontal direction angle change threshold value and/or vertical
The angle change threshold value in direction.Exemplified by carrying out 360 degree of shootings around M, activation threshold value can be horizontally oriented angle change threshold
Value.Here, activation threshold value of the embodiment of the present invention can be an angle value between 3 degree~20 degree, the big I of activation threshold value
To be determined according to actual conditions, activation threshold value is smaller to be, the picture frame of collection is generally more;When activation threshold value is larger, adopt
The picture frame of collection is fewer.
Concatenation unit is used for, and splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, with
Obtain pan-shot image.
Optionally, device of the embodiment of the present invention further includes:Direction processing unit is used for,
Determine that cam movement direction is the different with carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is less than preset duration threshold value, continue pan-shot;
Determine that cam movement direction is the different from carrying out the first direction of pan-shot according to shooting trace information
Two directions, and when the movement duration of second direction is greater than or equal to preset duration threshold value, stop pan-shot.
Optionally, the embodiment of the present invention can also include:When receiving default stopping shooting instruction, stop panorama and clap
Take the photograph.
Optionally, concatenation unit is specifically used for,
The sequence rule of coding information is determined according to pre-arranged code mode;
Determine the coding information not being inconsistent with sequence rule, and delete the figure corresponding to the coding information not being inconsistent with sequence rule
As frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains pan-shot image.
It should be noted that meeting sequence rule is included according to fixed size sequence or according to fixed coded sequence
It is ranked up;Assuming that picture frame is encoded according to the positive integer of 1,2,3,4,5,6,7,8 ... N of positive integer, then it is if complete
When scape is shot, camera moving direction moves along the first direction always, then the coding and sorting order of picture frame is during pan-shot
1、2、3、4、5、6、7、8……N;If camera is into first direction moving process, since operational error is being numbered
After 5 picture frame, the second direction opposite to first direction moves certain angle, and reverts to first direction thereafter
Mobile hypothesis second direction movement angle correspond to three picture frames, then the coding and sorting order of picture frame is during pan-shot
1、2、3、4、5、4、3、2、3、4、5……N;After deleting the coding information not being inconsistent with sequence rule, meet sequence rule coding letter
Cease and be:1、2、3、4、5、6、7、8……N;Spliced using mode of the embodiment of the present invention, avoid photographing panorama picture process
In cause to splice unnatural situation since camera moving direction changes, improve the picture quality of pan-shot.
Optionally, the embodiment of the present invention further includes:
According to the coding information of spliced panoramic shooting image, pan-shot image is shown according to terminal move angle
Show.
It should be noted that the embodiment of the present invention, can be according to playing process when carrying out the display of pan-shot image
The broadcasting of move angle pan-shot image;Move angle and the ratio of shooting angle can be 1, i.e., when 1 degree mobile, to panorama
The change that shooting image carries out 1 degree is shown;Shooting angle of the embodiment of the present invention add up change be more than 360 degree, then move angle and
The ratio of shooting angle can be less than 1, and the pan-shot of all shooting angle is completed when general move angle reaches 360 degree
The display of image;Move angle and the ratio of shooting angle can be adjusted according to actual conditions.The embodiment of the present invention is with angle
What degree ratio represented is move angle and the ratio of shooting angle, can adjust the angle ratio according to default step-length;Here preset at
Step-length can be a fixed value set in advance, such as, 0.05;If can not be by presetting needed for the adjustment acquisition of step-length
Angle ratio, can change default step-length or the mode that manually inputs determines the numerical values recited of angle ratio.
Optionally, device of the embodiment of the present invention further includes caching display unit, for according to spliced panoramic shooting image
Coding information sequence parses pan-shot image, the pan-shot image after caching parsing, according to terminal move angle
The pan-shot image after the parsing of caching is read, to be shown to pan-shot image.
It should be noted that in correlation technique, the display of pan-shot image generally comprises below scheme:Panorama is obtained to clap
Take the photograph image, parsing pan-shot image, output pan-shot image;The embodiment of the present invention is right after pan-shot image is parsed
The pan-shot image of parsing is cached, and when being shown, is directly read data cached, is improved display efficiency;
In addition, if also generating audio-frequency information when generating pan-shot image, then audio-frequency information has no effect on the reality of the above process
Apply, it is only necessary to audio processing process is added in output procedure is resolved to.
The embodiment of the present invention reduces the time loss of splicing, avoids spelling by the shooting trace information of record
Termination process it is unnatural, improve the quality and user experience of pan-shot image.
The embodiment of the present invention additionally provides a kind of device for realizing pan-shot, including:Recording unit, direction processing are single
Member, concatenation unit and caching display unit;Wherein,
Recording unit is used for, shooting trace information when recording pan-shot by presetting sensor;
Optionally, recording unit is specifically used for,
The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, by pan-shot when, are every
The shooting angle of one picture frame is respectively converted into corresponding coding information according to pre-arranged code mode;
Each corresponding picture frame of each coding information mark pan-shot obtained using conversion, by identification image
All coding informations of frame are as shooting trace information.
Optionally, the embodiment of the present invention further includes:
After opening camera, the accumulative change of the shooting angle of camera in a first direction is determined according to shooting trace information
When the number of degrees are more than default activation threshold value, start pan-shot;
Starting pan-shot includes:The pan-shot started according to first direction as camera moving direction.
It should be noted that the present invention, which implements activation threshold value, can include horizontal direction angle change threshold value and/or vertical
The angle change threshold value in direction.Exemplified by carrying out 360 degree of shootings around M, activation threshold value can be horizontally oriented angle change threshold
Value.Here, activation threshold value of the embodiment of the present invention can be an angle value between 3 degree~20 degree, the big I of activation threshold value
To be determined according to actual conditions, activation threshold value is smaller to be, the picture frame of collection is generally more;When activation threshold value is larger, adopt
The picture frame of collection is fewer.
Concatenation unit is used for, and splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, with
Obtain pan-shot image.
Optionally, concatenation unit is specifically used for,
The sequence rule of coding information is determined according to pre-arranged code mode;
Determine the coding information not being inconsistent with sequence rule, and delete the figure corresponding to the coding information not being inconsistent with sequence rule
As frame;
The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains pan-shot image.
It should be noted that meeting sequence rule is included according to fixed size sequence or according to fixed coded sequence
It is ranked up;Assuming that picture frame is encoded according to the positive integer of 1,2,3,4,5,6,7,8 ... N of positive integer, then it is if complete
When scape is shot, camera moving direction moves along the first direction always, then the coding and sorting order of picture frame is during pan-shot
1、2、3、4、5、6、7、8……N;If camera is into first direction moving process, since operational error is being numbered
After 5 picture frame, the second direction opposite to first direction moves certain angle, and reverts to first direction thereafter
Mobile hypothesis second direction movement angle correspond to three picture frames, then the coding and sorting order of picture frame is during pan-shot
1、2、3、4、5、4、3、2、3、4、5……N;After deleting the coding information not being inconsistent with sequence rule, meet sequence rule coding letter
Cease and be:1、2、3、4、5、6、7、8……N;Spliced using mode of the embodiment of the present invention, avoid photographing panorama picture process
In cause to splice unnatural situation since camera moving direction changes, improve the picture quality of pan-shot.
Direction processing unit is used for, and determines that cam movement direction is with carrying out pan-shot according to shooting trace information
The different second direction of first direction, and when the movement duration of second direction is less than preset duration threshold value, continue pan-shot;
Determine that cam movement direction is the second directions different from carrying out the first direction of pan-shot according to shooting trace information, and
When the movement duration of second direction is greater than or equal to preset duration threshold value, stop pan-shot.
Optionally, the embodiment of the present invention can also include:When receiving default stopping shooting instruction, stop panorama and clap
Take the photograph.
Optionally, the embodiment of the present invention further includes:
According to the coding information of spliced panoramic shooting image, pan-shot image is shown according to terminal move angle
Show.
It should be noted that the embodiment of the present invention, can be according to playing process when carrying out the display of pan-shot image
The broadcasting of move angle pan-shot image;Move angle and the ratio of shooting angle can be 1, i.e., when 1 degree mobile, to panorama
The change that shooting image carries out 1 degree is shown;Shooting angle of the embodiment of the present invention add up change be more than 360 degree, then move angle and
The ratio of shooting angle can be less than 1, and the pan-shot of all shooting angle is completed when general move angle reaches 360 degree
The display of image;Move angle and the ratio of shooting angle can be adjusted according to actual conditions.The embodiment of the present invention is with angle
What degree ratio represented is move angle and the ratio of shooting angle, can adjust the angle ratio according to default step-length;Here preset at
Step-length can be a fixed value set in advance, such as, 0.05;If can not be by presetting needed for the adjustment acquisition of step-length
Angle ratio, can change default step-length or the mode that manually inputs determines the numerical values recited of angle ratio.
Display unit is cached, for being carried out according to the sequence of the coding information of spliced panoramic shooting image to pan-shot image
Parsing, the pan-shot image after caching parsing, the pan-shot image after the parsing of caching is read according to terminal move angle,
To be shown to pan-shot image.
It should be noted that in correlation technique, the display of pan-shot image generally comprises below scheme:Panorama is obtained to clap
Take the photograph image, parsing pan-shot image, output pan-shot image;The embodiment of the present invention is right after pan-shot image is parsed
The pan-shot image of parsing is cached, and when being shown, is directly read data cached, is improved display efficiency;
In addition, if also generating audio-frequency information when generating pan-shot image, then audio-frequency information has no effect on the reality of the above process
Apply, it is only necessary to audio processing process is added in output procedure is resolved to.
The embodiment of the present invention reduces the time loss of splicing, avoids spelling by the shooting trace information of record
Termination process it is unnatural, improve the quality and user experience of pan-shot image.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage,
Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits
Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricity
Its corresponding function is realized on road, can also be realized in the form of software function module, such as is performed and be stored in by processor
Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form
With reference to.
Although disclosed herein embodiment as above, the content be only readily appreciate the present invention and use
Embodiment, is not limited to the present invention.Technical staff in any fields of the present invention, is taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
- A kind of 1. device for realizing pan-shot, it is characterised in that including:Recording unit and concatenation unit;Wherein,Recording unit is used for, shooting trace information when recording pan-shot by presetting sensor;Concatenation unit is used for, and splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, to obtain Pan-shot image.
- 2. device according to claim 1, it is characterised in that the recording unit is specifically used for,The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, each figure during by pan-shot As the shooting angle of frame is respectively converted into corresponding coding information according to pre-arranged code mode;Each the corresponding picture frame of each coding information mark pan-shot obtained using conversion, will identify described image All coding informations of frame are as the shooting trace information.
- 3. device according to claim 1, it is characterised in that described device further includes:Direction processing unit is used for,Determine that cam movement direction is the different with carrying out the first direction of pan-shot according to the shooting trace information Two directions, and when the movement duration of the second direction is less than preset duration threshold value, continue the pan-shot;Determine that cam movement direction is the different from carrying out the first direction of pan-shot according to the shooting trace information Two directions, and when the movement duration of second direction is greater than or equal to the preset duration threshold value, stop the pan-shot.
- 4. the device according to Claims 2 or 3, it is characterised in that the concatenation unit is specifically used for,The sequence rule of coding information is determined according to the pre-arranged code mode;Determine the coding information not being inconsistent with the sequence rule, and delete corresponding to the coding information not being inconsistent with the sequence rule Picture frame;The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains the pan-shot image.
- 5. device according to claim 4, it is characterised in that described device further includes:Display unit is cached, for being solved according to the coding information for splicing the pan-shot image to pan-shot image Analysis, the pan-shot image after caching parsing;The pan-shot figure after the parsing of caching is read according to terminal move angle Picture, to be shown to the pan-shot image.
- A kind of 6. method for realizing pan-shot, it is characterised in that including:Shooting trace information when recording pan-shot by presetting sensor;Splicing is carried out to the picture frame of pan-shot according to the shooting trace information of record, to obtain pan-shot image.
- 7. the according to the method described in claim 6, it is characterized in that, bat by presetting during sensor record pan-shot Taking the photograph trace information includes:The shooting angle of each picture frame when recording pan-shot respectively by gyro sensor, each figure during by pan-shot As the shooting angle of frame is respectively converted into corresponding coding information according to pre-arranged code mode;Each the corresponding picture frame of each coding information mark pan-shot obtained using conversion, will identify described image All coding informations of frame are as the shooting trace information.
- 8. according to the method described in claim 6, it is characterized in that, the method further includes:Determine that cam movement direction is the different with carrying out the first direction of pan-shot according to the shooting trace information Two directions, and when the movement duration of the second direction is less than preset duration threshold value, continue the pan-shot;Determine that cam movement direction is the different from carrying out the first direction of pan-shot according to the shooting trace information Two directions, and when the movement duration of second direction is greater than or equal to the preset duration threshold value, stop the pan-shot.
- 9. the method according to claim 7 or 8, it is characterised in that the shooting trace information according to record is to panorama The picture frame of shooting, which carries out splicing, to be included:The sequence rule of coding information is determined according to the pre-arranged code mode;Determine the coding information not being inconsistent with the sequence rule, and delete corresponding to the coding information not being inconsistent with the sequence rule Picture frame;The corresponding picture frame of coding information for meeting sequence rule is spliced, obtains the pan-shot image.
- 10. according to the method described in claim 9, it is characterized in that, the method further includes:Coding information according to the pan-shot image is spliced parses pan-shot image, the panorama after caching parsing Shooting image;According to terminal move angle read caching the parsing after pan-shot image, with to the pan-shot image into Row display.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610962352.4A CN108012073B (en) | 2016-10-28 | 2016-10-28 | Method and device for realizing panoramic shooting |
PCT/CN2017/101125 WO2018076941A1 (en) | 2016-10-28 | 2017-09-08 | Method and device for implementing panoramic photographing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610962352.4A CN108012073B (en) | 2016-10-28 | 2016-10-28 | Method and device for realizing panoramic shooting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108012073A true CN108012073A (en) | 2018-05-08 |
CN108012073B CN108012073B (en) | 2020-05-19 |
Family
ID=62024342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610962352.4A Active CN108012073B (en) | 2016-10-28 | 2016-10-28 | Method and device for realizing panoramic shooting |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108012073B (en) |
WO (1) | WO2018076941A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007056A (en) * | 2021-10-28 | 2022-02-01 | 幻境虚拟现实科技(广州)有限公司 | Method and device for generating three-dimensional panoramic image |
CN114945088A (en) * | 2022-05-11 | 2022-08-26 | 北京有竹居网络技术有限公司 | Three-dimensional model generation method and device, shooting terminal and terminal equipment |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874699B (en) * | 2018-08-31 | 2024-02-09 | 杭州海康机器人股份有限公司 | Method, device and system for recording logistics information of article |
CN112683244B (en) * | 2020-12-18 | 2023-01-24 | 广东电网有限责任公司 | Cable channel positioning method and system based on panoramic photos |
CN114827472B (en) * | 2022-04-29 | 2023-05-30 | 北京城市网邻信息技术有限公司 | Panoramic shooting method and device, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070081081A1 (en) * | 2005-10-07 | 2007-04-12 | Cheng Brett A | Automated multi-frame image capture for panorama stitching using motion sensor |
CN102207674A (en) * | 2010-03-30 | 2011-10-05 | 鸿富锦精密工业(深圳)有限公司 | Panorama image shooting apparatus and method |
CN102385747A (en) * | 2010-09-06 | 2012-03-21 | 佳能株式会社 | Method for generating panoramic image |
CN102420898A (en) * | 2011-09-27 | 2012-04-18 | 惠州Tcl移动通信有限公司 | Mobile phone-based panoramic photographing realization method and mobile phone |
CN103176347A (en) * | 2011-12-22 | 2013-06-26 | 百度在线网络技术(北京)有限公司 | Method and device for shooting panorama and electronic device |
CN105120155A (en) * | 2015-08-21 | 2015-12-02 | 小米科技有限责任公司 | Panoramic photograph generation method and device |
CN105262948A (en) * | 2015-10-14 | 2016-01-20 | 广东欧珀移动通信有限公司 | Panorama capturing method and mobile terminal |
CN105847673A (en) * | 2016-03-21 | 2016-08-10 | 广东欧珀移动通信有限公司 | Photograph display method, device and mobile terminal |
CN105847851A (en) * | 2016-04-19 | 2016-08-10 | 北京金山安全软件有限公司 | Panoramic video live broadcast method, device and system and video source control equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101663321B1 (en) * | 2010-07-30 | 2016-10-17 | 삼성전자주식회사 | Method for photographing panorama picture |
US9282242B2 (en) * | 2011-08-24 | 2016-03-08 | Htc Corporation | Method and electric device for taking panoramic photograph |
CN104660897A (en) * | 2013-11-20 | 2015-05-27 | 浪潮乐金数字移动通信有限公司 | Acquisition method of 360-degree panoramic image based on mobile terminal |
CN103795924B (en) * | 2014-02-07 | 2018-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Panorama camera arrangement and method |
-
2016
- 2016-10-28 CN CN201610962352.4A patent/CN108012073B/en active Active
-
2017
- 2017-09-08 WO PCT/CN2017/101125 patent/WO2018076941A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070081081A1 (en) * | 2005-10-07 | 2007-04-12 | Cheng Brett A | Automated multi-frame image capture for panorama stitching using motion sensor |
CN102207674A (en) * | 2010-03-30 | 2011-10-05 | 鸿富锦精密工业(深圳)有限公司 | Panorama image shooting apparatus and method |
CN102385747A (en) * | 2010-09-06 | 2012-03-21 | 佳能株式会社 | Method for generating panoramic image |
CN102420898A (en) * | 2011-09-27 | 2012-04-18 | 惠州Tcl移动通信有限公司 | Mobile phone-based panoramic photographing realization method and mobile phone |
CN103176347A (en) * | 2011-12-22 | 2013-06-26 | 百度在线网络技术(北京)有限公司 | Method and device for shooting panorama and electronic device |
CN105120155A (en) * | 2015-08-21 | 2015-12-02 | 小米科技有限责任公司 | Panoramic photograph generation method and device |
CN105262948A (en) * | 2015-10-14 | 2016-01-20 | 广东欧珀移动通信有限公司 | Panorama capturing method and mobile terminal |
CN105847673A (en) * | 2016-03-21 | 2016-08-10 | 广东欧珀移动通信有限公司 | Photograph display method, device and mobile terminal |
CN105847851A (en) * | 2016-04-19 | 2016-08-10 | 北京金山安全软件有限公司 | Panoramic video live broadcast method, device and system and video source control equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007056A (en) * | 2021-10-28 | 2022-02-01 | 幻境虚拟现实科技(广州)有限公司 | Method and device for generating three-dimensional panoramic image |
CN114945088A (en) * | 2022-05-11 | 2022-08-26 | 北京有竹居网络技术有限公司 | Three-dimensional model generation method and device, shooting terminal and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2018076941A1 (en) | 2018-05-03 |
CN108012073B (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100609B (en) | The adjusting method of mobile terminal and acquisition parameters | |
CN105430295B (en) | Image processing apparatus and method | |
CN105959543B (en) | It is a kind of to remove reflective filming apparatus and method | |
CN108012073A (en) | A kind of method and device for realizing pan-shot | |
CN104902185B (en) | Image pickup method and device | |
US11949978B2 (en) | Image content removal method and related apparatus | |
CN104660903B (en) | Image pickup method and filming apparatus | |
CN105791701B (en) | Image capturing device and method | |
CN105516423A (en) | Mobile terminal, data transmission system and mobile terminal shoot method | |
CN105472246B (en) | Camera arrangement and method | |
CN105357444B (en) | focusing method and device | |
CN105872361A (en) | Shooting guidance device, system and method | |
CN105407295B (en) | Mobile terminal filming apparatus and method | |
CN106028098A (en) | Video recording method, device, and terminal | |
CN104751488B (en) | Photographing method for moving track of moving object and terminal equipment | |
CN105744170A (en) | Picture photographing device and method | |
CN105427369A (en) | Mobile terminal and method for generating three-dimensional image of mobile terminal | |
CN103795937A (en) | Information processing apparatus, display apparatus, control method for an information processing apparatus, and program | |
CN105407275B (en) | Photo synthesizer and method | |
CN105513021A (en) | Image noise reduction device and method | |
CN107071169A (en) | The processing unit and method of screen wallpaper | |
CN105357441B (en) | A kind of image-pickup method and mobile terminal | |
CN105763810A (en) | Photographing device and method based on human eyes | |
CN104967772B (en) | Photographic method and device | |
CN107197138A (en) | A kind of filming apparatus, method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |