CN106101552B - A kind of panorama photographic method and mobile terminal - Google Patents
A kind of panorama photographic method and mobile terminal Download PDFInfo
- Publication number
- CN106101552B CN106101552B CN201610605514.9A CN201610605514A CN106101552B CN 106101552 B CN106101552 B CN 106101552B CN 201610605514 A CN201610605514 A CN 201610605514A CN 106101552 B CN106101552 B CN 106101552B
- Authority
- CN
- China
- Prior art keywords
- frame image
- image
- distant view
- mobile terminal
- view photograph
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a kind of panorama photographic method and mobile terminals.The method is applied to mobile terminal, which comprises when receiving the panorama photographing instruction of mobile terminal user's input, controls a camera continuous collecting at least frame image;During the camera continuous collecting image, record acquires the azimuth information of mobile terminal when every frame image in an at least frame image;An at least frame image is subjected to image mosaic, generates distant view photograph, every frame image in the distant view photograph carries corresponding azimuth information.Due in the resulting distant view photograph of the embodiment of the present invention, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, the azimuth information that can be carried according to every frame image, determine the display mode of distant view photograph, and then the problem of controlling the bending display effect of panoramic picture, making the panoramic picture of display be more in line with practical scenery, overcome image wrapping distortion.
Description
Technical field
The present embodiments relate to technical field of image processing more particularly to a kind of panorama photographic methods and mobile terminal.
Background technique
With the continuous development of terminal technology, camera has become one of basic configuration of terminal, and being taken pictures based on panorama can
To obtain the wider array of image in the visual field, therefore many terminals are configured with panorama camera function.
User is when progress panorama is taken pictures, multiple parts of fan-shaped mobile terminal camera head shooting generally centered on certain point
Multiple local pictures are spliced into Zhang Quanjing's picture presentation to user by picture, terminal.Since panoramic pictures are that user pinpoints fan
Shape shooting, and be not with scenery keeping parallelism follow shot, therefore resulting panoramic pictures are there are image wrapping distortion,
The problem of being unable to get true scene shot effect.
Summary of the invention
The embodiment of the invention provides a kind of panorama photographic methods, to solve resulting panorama sketch present in background technique
There are image wrapping distortion in piece, the problem of being unable to get true scene shot effect.
In a first aspect, providing a kind of panorama photographic method, which comprises
When receiving the panorama photographing instruction of mobile terminal user's input, the camera continuous collecting is controlled extremely
A few frame image;
During the camera continuous collecting image, when record acquires every frame image in an at least frame image
The azimuth information of the mobile terminal;
An at least frame image is subjected to image mosaic, generates distant view photograph, every frame image in the distant view photograph
Carry corresponding azimuth information.
Second aspect, provides a kind of mobile terminal, and the mobile terminal has camera, comprising:
Image capture module, for controlling institute when receiving the panorama photographing instruction of mobile terminal user's input
State a camera continuous collecting at least frame image;
Azimuth information logging modle, for controlling the mistake of the camera continuous collecting image in described image acquisition module
Cheng Zhong, record acquire the orientation of mobile terminal when every frame image in an at least frame image for described image acquisition module acquisition
Information;
Distant view photograph generation module carries out image for an at least frame image described in acquiring described image acquisition module
Splicing, generates distant view photograph, and every frame image in the distant view photograph carries pair of the azimuth information logging modle record
The azimuth information answered.
Embodiment according to the present invention, during panorama is taken pictures, using a camera continuous collecting at least frame image, together
An at least frame image is carried out image mosaic, generated complete by the azimuth information of mobile terminal when Shi Jilu acquires every frame image
Scape photo, every frame image in the distant view photograph carry corresponding azimuth information.Since the embodiment of the present invention is resulting complete
In scape photo, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can be according to every frame
The azimuth information that image carries determines the display mode of distant view photograph, and then controls the bending display effect of panoramic picture, makes to show
The problem of panoramic picture shown is more in line with practical scenery, overcomes image wrapping distortion.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the panorama photographic method of one embodiment of the invention;
Fig. 2 is the flow chart of the panorama photographic method of another embodiment of the present invention;
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 is the flow chart of the panorama photographic method of one embodiment of the invention.Panorama photographic method packet shown in FIG. 1
It includes:
Step 101, when receiving the panorama photographing instruction of mobile terminal user input, control the camera and hold
A continuous acquisition at least frame image.
In the embodiment of the present invention, mobile terminal includes mobile phone, plate, laptop etc..
Camera is installed on mobile terminal, photograph taking and video record can be carried out by camera, configured higher
Mobile terminal pan-shot can be carried out by camera, and the multiple image of shooting is spliced, to obtain visual angle
Wider distant view photograph.
User selection panorama can take pictures entrance in a certain menu for the camera software that mobile terminal loads, make it is mobile eventually
End enters panoramic photographing mode.After mobile terminal receives the panorama photographing instruction of user's input, control camera is directed to target
A scenery continuous collecting at least frame image.
The embodiment of the present invention is during using camera continuous collecting image, using being mounted on inside mobile terminal
Relevant device, the azimuth information of mobile terminal when record acquires every frame image, wherein the azimuth information of mobile terminal may include
Diversified forms, such as directional information, displacement information, location information etc..
Mobile terminal can take pictures panorama in fixed position, and can also movably take pictures panorama.When mobile terminal is pinpointing
When position pans, the directional information for the compass acquisition mobile terminal being placed in inside mobile terminal can be used;Work as shifting
Dynamic terminal movably take pictures panorama when, the directional information of compass acquisition mobile terminal can be used, at the same using gyroscope or
GPS positioning device acquires the displacement information or location information of mobile terminal, other suitable devices can also be used to acquire mobile whole
The azimuth information at end.
Further, to every frame image of acquisition and when acquiring every frame image, the azimuth information of mobile terminal is recorded, will
The azimuth information of every frame image and corresponding record is combined preservation.
An at least frame image is carried out image mosaic by step 103, generates distant view photograph, in the distant view photograph
Every frame image carries corresponding azimuth information.
It completes to collect an at least frame image to after the taking pictures of panorama, an at least frame image for acquisition is subjected to image spelling
It connects, generates distant view photograph.In the distant view photograph of generation, each frame image carries corresponding azimuth information.To multiple image
Concatenation is the prior art, and the present invention no longer repeats herein.
Since in resulting distant view photograph, each frame image carries corresponding azimuth information, therefore can be according to each frame figure
The azimuth information of mobile terminal, controls the display effect of distant view photograph when shooting each frame image as entrained azimuth information,
The display effect of distant view photograph is set to be more in line with practical scenery.
Embodiment according to the present invention, during panorama is taken pictures, using a camera continuous collecting at least frame image, together
An at least frame image is carried out image mosaic, generated complete by the azimuth information of mobile terminal when Shi Jilu acquires every frame image
Scape photo, every frame image in the distant view photograph carry corresponding azimuth information.Since the embodiment of the present invention is resulting complete
In scape photo, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can be according to every frame
The azimuth information that image carries determines the display mode of distant view photograph, and then controls the bending display effect of panoramic picture, makes to show
The problem of panoramic picture shown is more in line with practical scenery, overcomes image wrapping distortion.
Embodiment 2
Fig. 2 is the flow chart of the panorama photographic method of another embodiment of the present invention.Panorama photographic method packet shown in Fig. 2
It includes:
Azimuth information may include one of directional information and displacement information or a variety of.Using camera continuous collecting
During image, position movement whether can occur according to mobile terminal, selectively record acquires mobile when every frame image
The directional information of terminal or the directional information of mobile terminal and displacement information.
An at least frame image is carried out image mosaic by step 203, generates distant view photograph, in the distant view photograph
Every frame image carries corresponding azimuth information.
During acquiring image, if mobile terminal does not occur, position is mobile, and every frame image in distant view photograph is taken
Directional information with mobile terminal when shooting the frame image;If mobile terminal moves, usual mobile terminal and scenery are protected
It holds and moves in parallel, then every frame image in distant view photograph carries the directional information and displacement of mobile terminal when shooting the frame image
Information.
What step 204, the reception mobile terminal user inputted checks instruction to the distant view photograph.
User can check distant view photograph by clicking the distant view photograph contract drawing in picture library;Or it is checked entirely in other positions
Scape photo.
In the embodiment of the present invention, screen type includes flexible screen and non-flexible screen, and non-flexible screen is that plane is non-deformable
Screen.
Receive to distant view photograph check instruction after, need the display screen for first determining mobile terminal be flexible screen or
The non-deformable screen in face.
Screen type based on display screen is different, and correspondingly, the display mode of distant view photograph is different.
If the screen type of display screen is flexible screen, in at least frame image based on acquisition entrained by every frame image
Azimuth information, the i.e. azimuth information based on mobile terminal when acquiring every frame image, determine each screen area of the flexible screen
Bending degree;The flexible screen is further controlled to be bent according to the bending degree of each screen area;Finally by distant view photograph
It is shown in flexible screen after bending.
Specifically, multiple driving devices can be installed on the inside of flexible screen, believed according to the orientation as entrained by every frame image
The bending degree for ceasing determining each screen area, the movement of corresponding driving device, example are controlled according to determining bending degree
As being moved forward and backward, to realize that the bending to flexible screen controls.The distant view photograph more adjunction of flexible screen display upon bending
Nearly practical scenery.
After controlling flexible screen bending, the center of flexible screen after bending can be calculated, it is mobile relative to other positions
Terminal user watches at the over center position can obtain more true panorama bandwagon effect.
If the screen type of display screen is the non-deformable screen of plane, every frame in at least frame image based on acquisition
Azimuth information entrained by image determines the three-dimensional model for showing panoramic picture;Further distant view photograph is shown true
On fixed three-dimensional model.
In the prior art, for make shooting photo have stereo display effect, photo can be shown on three-dimensional model, into
One step is shown to user.Three-dimensional model is usually space structure, X-axis, the Y-axis in indicated altitude direction including indicating horizontal direction
With instruction Z axis in the front-back direction.The embodiment of the present invention can the azimuth information according to entrained by every frame image, adjust Z axis data
Size, adjustment to three-dimensional model is realized, to realize the control to the display effect of panoramic picture.
During camera continuous collecting image, every frame figure in an at least frame image for lasting shooting can also be recorded
The depth of view information of picture.Correspondingly, if the screen type that this step may include: display screen is flexible screen, it is based on continuous collecting
An at least frame image in every frame image depth of view information, determine the layer of image-region corresponding with depth of view information in distant view photograph
Secondary information, i.e. the front-rear position relationship in different images region;Further during showing distant view photograph, based on determining layer
Secondary information, control flexible screen are deformed.The embodiment of the present invention can carry out flexible screen according to the depth of view information of every frame image
Bending control, so that the panoramic picture of display be made to be more nearly practical scenery.
During showing distant view photograph, clicking operation of the mobile terminal user on distant view photograph can also be received,
Such as the single-click operation for a certain image-region is based on the depth of field if image-region where single-click operation includes depth of view information
Information executes Deep Canvas corresponding with depth of view information to image-region where single-click operation and handles.Specifically, it receives mobile whole
End subscriber is based on depth of view information in the single-click operation of image-region, and the image in the image-region is apparent from, correspondingly,
He thickens at the image of image-region.The above method can satisfy user and check demand to topography, the office being to look at
Portion's image is more clear.
Embodiment according to the present invention, during panorama is taken pictures, using a camera continuous collecting at least frame image, together
An at least frame image is carried out image mosaic, generated complete by the azimuth information of mobile terminal when Shi Jilu acquires every frame image
Scape photo, every frame image in the distant view photograph carry corresponding azimuth information.Since the embodiment of the present invention is resulting complete
In scape photo, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can be according to every frame
The azimuth information that image carries determines the display mode of distant view photograph, and then controls the bending display effect of panoramic picture, makes to show
The problem of panoramic picture shown is more in line with practical scenery, overcomes image wrapping distortion.
Embodiment 3
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal shown in Fig. 3 includes:
Azimuth information logging modle 302, for controlling the camera continuous collecting image in described image acquisition module
During, mobile terminal when every frame image in an at least frame image for record acquisition described image acquisition module acquisition
Azimuth information.
Distant view photograph generation module 303 is carried out for an at least frame image described in acquiring described image acquisition module
Image mosaic, generates distant view photograph, and every frame image in the distant view photograph carries the azimuth information logging modle record
Corresponding azimuth information.
Referring to Fig. 4, on the basis of Fig. 3, the submodule and its effect that other modules, module to mobile terminal include are carried out
Explanation.
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal shown in Fig. 4 includes:
Azimuth information logging modle 402, for controlling the camera continuous collecting image in described image acquisition module
During, mobile terminal when every frame image in an at least frame image for record acquisition described image acquisition module acquisition
Azimuth information.
Distant view photograph generation module 403 is carried out for an at least frame image described in acquiring described image acquisition module
Image mosaic, generates distant view photograph, and every frame image in the distant view photograph carries the azimuth information logging modle record
Corresponding azimuth information.
Screen type obtains module 405, the screen type of the display screen for obtaining the mobile terminal.
Distant view photograph display module 406 determines institute for obtaining the screen type that module obtains based on the screen type
The display mode for stating distant view photograph shows the distant view photograph according to the display mode.
In the embodiment of the present invention, it is preferable that the distant view photograph display module 406 includes:
Bending degree determines submodule 4061, if obtaining the screen type that module obtains for the screen type is flexibility
Screen, then based on azimuth information entrained by every frame image in an at least frame image, determine each screen of the flexible screen
The bending degree in region;
It is bent control submodule 4062, determines what submodule determined according to the bending degree for controlling the flexible screen
The bending degree of each screen area is bent;
First distant view photograph shows submodule 4063, is controlling submodule by the bending for showing the distant view photograph
In the flexible screen after bending that block controls.
In the embodiment of the present invention, it is preferable that the distant view photograph display module 406 includes:
Three-dimensional model determines submodule 4064, if obtaining the screen type that module obtains for the screen type is plane
Non-deformable screen is determined then based on azimuth information entrained by every frame image in an at least frame image for showing
The three-dimensional model of the panoramic picture;
Second distant view photograph shows submodule 4065, determines for showing the distant view photograph by the three-dimensional model
On the three-dimensional model that submodule determines.
In the embodiment of the present invention, it is preferable that the mobile terminal further include:
Depth of view information logging modle 407, for controlling the camera continuous collecting image in described image acquisition module
During, record the depth of view information of every frame image in an at least frame image.
In the embodiment of the present invention, it is preferable that the distant view photograph display module 406 includes:
Hierarchical information confirms submodule 4066, if obtaining the screen type that module obtains for the screen type is flexibility
Screen, the then depth of view information based on every frame image in an at least frame image determine in the distant view photograph and believe with the depth of field
Cease the hierarchical information of corresponding image-region;
In the embodiment of the present invention, it is preferable that the mobile terminal further include:
Clicking operation receiving module 408, for showing institute according to the display mode in the distant view photograph display module
After the step of stating distant view photograph, during showing the distant view photograph, the mobile terminal user is received described complete
Clicking operation on scape photo;
Deep Canvas handles execution module 409, if for where the received clicking operation of the clicking operation receiving module
Image-region includes the depth of view information, then is based on the depth of view information, to image-region where the clicking operation execute with
The corresponding Deep Canvas processing of the depth of view information.
In the embodiment of the present invention, it is preferable that the azimuth information includes directional information and displacement information.
Embodiment according to the present invention, during panorama is taken pictures, using a camera continuous collecting at least frame image, together
An at least frame image is carried out image mosaic, generated complete by the azimuth information of mobile terminal when Shi Jilu acquires every frame image
Scape photo, every frame image in the distant view photograph carry corresponding azimuth information.Since the embodiment of the present invention is resulting complete
In scape photo, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can be according to every frame
The azimuth information that image carries determines the display mode of distant view photograph, and then controls the bending display effect of panoramic picture, makes to show
The problem of panoramic picture shown is more in line with practical scenery, overcomes image wrapping distortion.
Embodiment 4
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in fig. 5 includes: at least
One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500
Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components
Letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 5, the mobile terminal 500 further includes camera
506。
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application
The program or instruction stored in program 5022, processor 501 are used to clap when the panorama for receiving mobile terminal user's input
When according to instruction, a camera continuous collecting at least frame image is controlled;During the camera continuous collecting image,
Record acquires the azimuth information of mobile terminal when every frame image in an at least frame image;It will an at least frame image
Image mosaic is carried out, distant view photograph is generated, every frame image in the distant view photograph carries corresponding azimuth information.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App
LicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function
In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 501 is also used to that an at least frame image is carried out image mosaic described, generates photo
After step, receive mobile terminal user's input checks instruction to the distant view photograph;
Obtain the screen type of the display screen of the mobile terminal;
Based on the screen type, determine the display mode of the distant view photograph, show according to the display mode described in
Distant view photograph.
Optionally, processor 501 is also used to: if the screen type is flexible screen, based on an at least frame image
In azimuth information entrained by every frame image, determine the bending degree of each screen area of the flexible screen;
The flexible screen is controlled to be bent according to the bending degree of each screen area;
The distant view photograph is shown in the flexible screen after bending.
Optionally, processor 501 is also used to: if the screen type is the non-deformable screen of plane, based on described
Azimuth information entrained by every frame image, determines the three-dimensional model for showing the panoramic picture in an at least frame image;
The distant view photograph is shown on the three-dimensional model.
Optionally, processor 501 is also used to: during the camera continuous collecting image, record is described at least
The depth of view information of every frame image in one frame image.
Optionally, processor 501 is also used to: if the screen type is flexible screen, based on an at least frame image
In every frame image depth of view information, determine image-region corresponding with the depth of view information in the distant view photograph level letter
Breath;
During showing the distant view photograph, it is based on the hierarchical information, the flexible screen is controlled and is deformed.
Optionally, processor 501 is also used to: during showing the distant view photograph, being received the mobile terminal and is used
Clicking operation of the family on the distant view photograph;
If image-region where the clicking operation includes the depth of view information, it is based on the depth of view information, to described
Image-region where clicking operation executes Deep Canvas processing corresponding with the depth of view information.
Optionally, processor 501 is also used to: the azimuth information includes directional information and displacement information.
Embodiment according to the present invention, during panorama is taken pictures, using a camera continuous collecting at least frame image, together
An at least frame image is carried out image mosaic, generated complete by the azimuth information of mobile terminal when Shi Jilu acquires every frame image
Scape photo, every frame image in the distant view photograph carry corresponding azimuth information.Since the embodiment of the present invention is resulting complete
In scape photo, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can be according to every frame
The azimuth information that image carries determines the display mode of distant view photograph, and then controls the bending display effect of panoramic picture, makes to show
The problem of panoramic picture shown is more in line with practical scenery, overcomes image wrapping distortion.
Embodiment 5
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6
600 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer
Deng.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit
630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage
Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 are used to take pictures when the panorama for receiving mobile terminal user's input
When instruction, a camera continuous collecting at least frame image is controlled;During the camera continuous collecting image, note
Record acquires the azimuth information of mobile terminal when every frame image in an at least frame image;Will an at least frame image into
Row image mosaic, generates distant view photograph, and every frame image in the distant view photograph carries corresponding azimuth information.
Optionally, processor 660 is also used to: an at least frame image being carried out image mosaic described, generates photo
The step of after, receive mobile terminal user input checks instruction to the distant view photograph;
Obtain the screen type of the display screen of the mobile terminal;
Based on the screen type, determine the display mode of the distant view photograph, show according to the display mode described in
Distant view photograph.
Optionally, processor 660 is also used to: if the screen type is flexible screen, based on an at least frame image
In azimuth information entrained by every frame image, determine the bending degree of each screen area of the flexible screen;
The flexible screen is controlled to be bent according to the bending degree of each screen area;
The distant view photograph is shown in the flexible screen after bending.
Optionally, processor 660 is also used to: if the screen type is the non-deformable screen of plane, based on described
Azimuth information entrained by every frame image, determines the three-dimensional model for showing the panoramic picture in an at least frame image;
The distant view photograph is shown on the three-dimensional model.
Optionally, processor 660 is also used to: during the camera continuous collecting image, record is described at least
The depth of view information of every frame image in one frame image.
Optionally, processor 660 is also used to: if the screen type is flexible screen, based on an at least frame image
In every frame image depth of view information, determine image-region corresponding with the depth of view information in the distant view photograph level letter
Breath;
During showing the distant view photograph, it is based on the hierarchical information, the flexible screen is controlled and is deformed.
Optionally, processor 660 is also used to: during showing the distant view photograph, being received the mobile terminal and is used
Clicking operation of the family on the distant view photograph;
If image-region where the clicking operation includes the depth of view information, it is based on the depth of view information, to described
Image-region where clicking operation executes Deep Canvas processing corresponding with the depth of view information.
Optionally, processor 660 is also used to: the azimuth information includes directional information and displacement information.
As it can be seen that embodiment according to the present invention uses a camera continuous collecting at least frame figure during panorama is taken pictures
Picture, while the azimuth information of mobile terminal when acquiring every frame image is recorded, an at least frame image is subjected to image mosaic, it is raw
At distant view photograph, every frame image in the distant view photograph carries corresponding azimuth information.Due to obtained by the embodiment of the present invention
Distant view photograph in, each frame image carries corresponding azimuth information, therefore in the distant view photograph that display generates, can basis
The azimuth information that every frame image carries determines the display mode of distant view photograph, and then the bending display effect of control panoramic picture,
The problem of making the panoramic picture of display be more in line with practical scenery, overcoming image wrapping distortion.
Since the mobile terminal embodiment essentially corresponds to earlier figures 1- embodiment of the method shown in Fig. 2, therefore this implementation
Not detailed place in the description of example, may refer to the related description in previous embodiment, i will not repeat them here.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (16)
1. a kind of panorama photographic method, applied to the mobile terminal with camera, which is characterized in that the described method includes:
When receiving the panorama photographing instruction of mobile terminal user's input, the camera continuous collecting at least one is controlled
Frame image;
During the camera continuous collecting image, when record acquires every frame image in an at least frame image described in
The azimuth information of mobile terminal;
An at least frame image is subjected to image mosaic, generates distant view photograph, every frame image in the distant view photograph carries
There is corresponding azimuth information;
Wherein, after described the step of carrying out image mosaic, generate photo an at least frame image, the method is also wrapped
It includes:
Receive mobile terminal user's input checks instruction to the distant view photograph;
Obtain the screen type of the display screen of the mobile terminal;
Based on the screen type, the display mode of the distant view photograph is determined, show the panorama according to the display mode
Photo;
It is described to be based on the screen type, determine the display mode of the distant view photograph, show according to the display mode described in
The step of distant view photograph, comprising:
If the screen type is flexible screen, based on azimuth information entrained by every frame image in an at least frame image,
Determine the bending degree of each screen area of the flexible screen;
The flexible screen is controlled to be bent according to the bending degree of each screen area;
The distant view photograph is shown in the flexible screen after bending.
2. determining that the panorama shines the method according to claim 1, wherein described be based on the screen type
The display mode of piece, the step of showing the distant view photograph according to the display mode, comprising:
If the screen type is the non-deformable screen of plane, based on entrained by every frame image in an at least frame image
Azimuth information, determine the three-dimensional model for showing the panoramic picture;
The distant view photograph is shown on the three-dimensional model.
3. the method according to claim 1, wherein the method also includes:
During the camera continuous collecting image, the depth of field letter of every frame image in an at least frame image is recorded
Breath.
4. according to the method described in claim 3, it is characterized in that, during showing the distant view photograph, the method
Further include:
Receive clicking operation of the mobile terminal user on the distant view photograph;
If image-region where the clicking operation includes the depth of view information, it is based on the depth of view information, to the click
Image-region where operation executes Deep Canvas processing corresponding with the depth of view information.
5. the method according to claim 1, wherein the azimuth information includes directional information and displacement information.
6. a kind of panorama photographic method, applied to the mobile terminal with camera, which is characterized in that the described method includes:
When receiving the panorama photographing instruction of mobile terminal user's input, the camera continuous collecting at least one is controlled
Frame image;
During the camera continuous collecting image, when record acquires every frame image in an at least frame image described in
The azimuth information of mobile terminal;
An at least frame image is subjected to image mosaic, generates distant view photograph, every frame image in the distant view photograph carries
There is corresponding azimuth information;
After described the step of carrying out image mosaic, generate photo an at least frame image, the method also includes:
Receive mobile terminal user's input checks instruction to the distant view photograph;
Obtain the screen type of the display screen of the mobile terminal;
Based on the screen type, the display mode of the distant view photograph is determined, show the panorama according to the display mode
Photo;
During the camera continuous collecting image, the depth of field letter of every frame image in an at least frame image is recorded
Breath;
It is described to be based on the screen type, determine the display mode of the distant view photograph, show according to the display mode described in
The step of distant view photograph, comprising:
If the screen type determines institute based on the depth of view information of every frame image in an at least frame image for flexible screen
State the hierarchical information of image-region corresponding with the depth of view information in distant view photograph;
During showing the distant view photograph, it is based on the hierarchical information, the flexible screen is controlled and is deformed.
7. according to the method described in claim 6, it is characterized in that, during showing the distant view photograph, the method
Further include:
Receive clicking operation of the mobile terminal user on the distant view photograph;
If image-region where the clicking operation includes the depth of view information, it is based on the depth of view information, to the click
Image-region where operation executes Deep Canvas processing corresponding with the depth of view information.
8. according to the method described in claim 6, it is characterized in that, the azimuth information includes directional information and displacement information.
9. a kind of mobile terminal, the mobile terminal has camera characterized by comprising
Image capture module, for being taken the photograph described in control when receiving the panorama photographing instruction of mobile terminal user's input
As a head continuous collecting at least frame image;
Azimuth information logging modle, for controlling the process of the camera continuous collecting image in described image acquisition module
In, the orientation of the mobile terminal is believed when every frame image in an at least frame image for record acquisition described image acquisition module acquisition
Breath;
Distant view photograph generation module carries out image spelling for an at least frame image described in acquiring described image acquisition module
It connects, generates distant view photograph, every frame image in the distant view photograph carries the correspondence of the azimuth information logging modle record
Azimuth information;
Command reception module is checked, for an at least frame image to be carried out image spelling in the distant view photograph splicing module
After the step of connecing, generating photo, receive mobile terminal user's input checks instruction to the distant view photograph;
Screen type obtains module, the screen type of the display screen for obtaining the mobile terminal;
Distant view photograph display module determines the panorama for obtaining the screen type that module obtains based on the screen type
The display mode of photo shows the distant view photograph according to the display mode;
Bending degree determines submodule, if obtaining the screen type that module obtains for the screen type is flexible screen, base
Azimuth information entrained by every frame image, determines the curved of each screen area of the flexible screen in an at least frame image
Qu Chengdu;
It is bent control submodule, determines the determining each screen of submodule according to the bending degree for controlling the flexible screen
The bending degree in region is bent;
First distant view photograph shows submodule, controls for showing the distant view photograph by the bending control submodule
To flexible screen after bending on.
10. mobile terminal according to claim 9, which is characterized in that the distant view photograph display module includes:
Three-dimensional model determines submodule, if obtaining the screen type that module obtains for the screen type is that plane is non-deformable
Screen determine then based on azimuth information entrained by every frame image in an at least frame image for showing the panorama
The three-dimensional model of image;
Second distant view photograph shows submodule, is determining that submodule is true by the three-dimensional model for showing the distant view photograph
On fixed three-dimensional model.
11. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Depth of view information logging modle, for controlling the process of the camera continuous collecting image in described image acquisition module
In, record the depth of view information of every frame image in an at least frame image.
12. mobile terminal according to claim 11, which is characterized in that the mobile terminal further include:
Clicking operation receiving module, for showing that the panorama shines according to the display mode in the distant view photograph display module
After the step of piece, during showing the distant view photograph, the mobile terminal user is received on the distant view photograph
Clicking operation;
Deep Canvas handles execution module, if for image-region where the received clicking operation of the clicking operation receiving module
Comprising the depth of view information, then it is based on the depth of view information, image-region where the clicking operation is executed and the depth of field
The corresponding Deep Canvas processing of information.
13. mobile terminal according to claim 9, which is characterized in that the azimuth information includes directional information and displacement
Information.
14. a kind of mobile terminal, the mobile terminal has camera characterized by comprising
Image capture module, for being taken the photograph described in control when receiving the panorama photographing instruction of mobile terminal user's input
As a head continuous collecting at least frame image;
Azimuth information logging modle, for controlling the process of the camera continuous collecting image in described image acquisition module
In, the orientation of the mobile terminal is believed when every frame image in an at least frame image for record acquisition described image acquisition module acquisition
Breath;
Distant view photograph generation module carries out image spelling for an at least frame image described in acquiring described image acquisition module
It connects, generates distant view photograph, every frame image in the distant view photograph carries the correspondence of the azimuth information logging modle record
Azimuth information;
Command reception module is checked, for an at least frame image to be carried out image spelling in the distant view photograph splicing module
After the step of connecing, generating photo, receive mobile terminal user's input checks instruction to the distant view photograph;
Screen type obtains module, the screen type of the display screen for obtaining the mobile terminal;
Distant view photograph display module determines the panorama for obtaining the screen type that module obtains based on the screen type
The display mode of photo shows the distant view photograph according to the display mode;
Depth of view information logging modle, for controlling the process of the camera continuous collecting image in described image acquisition module
In, record the depth of view information of every frame image in an at least frame image;
The distant view photograph display module includes:
Hierarchical information confirms submodule, if obtaining the screen type that module obtains for the screen type is flexible screen, base
The depth of view information of every frame image, determines corresponding with the depth of view information in the distant view photograph in an at least frame image
The hierarchical information of image-region;
Deformation control submodule, for confirming submodule based on the hierarchical information during showing the distant view photograph
The hierarchical information of confirmation controls the flexible screen and is deformed.
15. mobile terminal according to claim 14, which is characterized in that the mobile terminal further include:
Clicking operation receiving module, for showing that the panorama shines according to the display mode in the distant view photograph display module
After the step of piece, during showing the distant view photograph, the mobile terminal user is received on the distant view photograph
Clicking operation;
Deep Canvas handles execution module, if for image-region where the received clicking operation of the clicking operation receiving module
Comprising the depth of view information, then it is based on the depth of view information, image-region where the clicking operation is executed and the depth of field
The corresponding Deep Canvas processing of information.
16. mobile terminal according to claim 14, which is characterized in that the azimuth information includes directional information and displacement
Information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610605514.9A CN106101552B (en) | 2016-07-27 | 2016-07-27 | A kind of panorama photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610605514.9A CN106101552B (en) | 2016-07-27 | 2016-07-27 | A kind of panorama photographic method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106101552A CN106101552A (en) | 2016-11-09 |
CN106101552B true CN106101552B (en) | 2019-10-15 |
Family
ID=57479193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610605514.9A Active CN106101552B (en) | 2016-07-27 | 2016-07-27 | A kind of panorama photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106101552B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791437B (en) * | 2017-01-20 | 2020-02-14 | 维沃移动通信有限公司 | Panoramic image shooting method and mobile terminal |
KR102314594B1 (en) | 2017-03-03 | 2021-10-18 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Image display method and electronic device |
US11522732B2 (en) * | 2018-08-02 | 2022-12-06 | Lutron Technology Company Llc | Camera-based commissioning |
CN114007056A (en) * | 2021-10-28 | 2022-02-01 | 幻境虚拟现实科技(广州)有限公司 | Method and device for generating three-dimensional panoramic image |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585412A (en) * | 2003-08-23 | 2005-02-23 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with camera and image taking method thereof |
CN102572258A (en) * | 2010-09-29 | 2012-07-11 | 卡西欧计算机株式会社 | Image playback apparatus capable of playing back panoramic image |
CN104363372A (en) * | 2014-10-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Image processing method and image processing terminal |
CN104375713A (en) * | 2013-08-14 | 2015-02-25 | 华为终端有限公司 | Data processing method and mobile device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020025301A (en) * | 2000-09-28 | 2002-04-04 | 오길록 | Apparatus and Method for Furnishing Augmented-Reality Graphic using Panoramic Image with Supporting Multiuser |
US7456823B2 (en) * | 2002-06-14 | 2008-11-25 | Sony Corporation | User interface apparatus and portable information apparatus |
JP5428210B2 (en) * | 2008-06-11 | 2014-02-26 | ソニー株式会社 | Information processing apparatus, imaging system, recording control method, and program |
-
2016
- 2016-07-27 CN CN201610605514.9A patent/CN106101552B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585412A (en) * | 2003-08-23 | 2005-02-23 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with camera and image taking method thereof |
CN102572258A (en) * | 2010-09-29 | 2012-07-11 | 卡西欧计算机株式会社 | Image playback apparatus capable of playing back panoramic image |
CN104375713A (en) * | 2013-08-14 | 2015-02-25 | 华为终端有限公司 | Data processing method and mobile device |
CN104363372A (en) * | 2014-10-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Image processing method and image processing terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106101552A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107317993B (en) | A kind of video call method and mobile terminal | |
CN106101553B (en) | A kind of photographic method and mobile terminal | |
CN106791450B (en) | A kind of photographic method and mobile terminal | |
US10136069B2 (en) | Apparatus and method for positioning image area using image sensor location | |
CN107172361B (en) | A kind of method and mobile terminal of pan-shot | |
CN107181913B (en) | A kind of photographic method and mobile terminal | |
CN107040722B (en) | A kind of image pickup method and mobile terminal | |
CN105959544B (en) | A kind of image processing method and mobile terminal of mobile terminal | |
CN106101552B (en) | A kind of panorama photographic method and mobile terminal | |
CN106534685A (en) | Panoramic image generation method and mobile terminal | |
CN106227488B (en) | A kind of display methods and mobile terminal of reminder message | |
CN106027900A (en) | Photographing method and mobile terminal | |
CN107155064B (en) | A kind of image pickup method and mobile terminal | |
US20110298940A1 (en) | Method and apparatus for operating camera function in portable terminal | |
CN105979157B (en) | A kind of screening-mode switching method and mobile terminal | |
CN107407945A (en) | From the system and method for screen locking capture images | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106973237B (en) | A kind of image pickup method and mobile terminal | |
CN106791375B (en) | A kind of shooting focusing method and mobile terminal | |
CN106162150B (en) | A kind of photographic method and mobile terminal | |
CN106131397A (en) | A kind of method that multi-medium data shows and electronic equipment | |
CN106713747A (en) | Focusing method and mobile terminal | |
CN106097398B (en) | A kind of detection method and mobile terminal of Moving Objects | |
CN106454086A (en) | Image processing method and mobile terminal | |
CN106161932B (en) | A kind of photographic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |