CN104822021B - Method and mobile terminal that a kind of panorama is taken pictures - Google Patents

Method and mobile terminal that a kind of panorama is taken pictures Download PDF

Info

Publication number
CN104822021B
CN104822021B CN201510155173.5A CN201510155173A CN104822021B CN 104822021 B CN104822021 B CN 104822021B CN 201510155173 A CN201510155173 A CN 201510155173A CN 104822021 B CN104822021 B CN 104822021B
Authority
CN
China
Prior art keywords
preset
mobile terminal
image
panoramic pictures
moved
Prior art date
Application number
CN201510155173.5A
Other languages
Chinese (zh)
Other versions
CN104822021A (en
Inventor
刘博�
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201510155173.5A priority Critical patent/CN104822021B/en
Publication of CN104822021A publication Critical patent/CN104822021A/en
Application granted granted Critical
Publication of CN104822021B publication Critical patent/CN104822021B/en

Links

Abstract

The embodiment of the invention discloses a kind of method that panorama is taken pictures, including:Start the panoramic photographing mode of mobile terminal;During the mobile terminal is moved with the first preset direction, the image in view-finder is acquired, and the image collected is synthesized into panoramic pictures;Again moved if detecting after the mobile terminal is moved according to the second preset direction with the first preset direction, the image in view-finder when being moved again with the first preset direction updates the panoramic pictures.The embodiment of the invention also discloses a kind of mobile terminal.The embodiment of the present invention is used to eliminate the stereovision in panoramic pictures according to preset direction movement to the panoramic picture of synthesis, so as to improve the whole structure of panoramic pictures.

Description

Method and mobile terminal that a kind of panorama is taken pictures
Technical field
The present embodiments relate to technical field of image processing, more particularly to a kind of method taken pictures of panorama and it is mobile eventually End.
Background technology
With the development of computer technology, the function of mobile terminal (such as mobile phone, tablet personal computer) is also stronger and stronger, Mobile terminal can realize communication, surf the Net, see a film, take pictures etc..Wherein, panning mode, which is taken pictures, also turns into a kind of popular bat According to method.
In the prior art, mobile terminal provides the function that panorama is taken pictures, and when progress panorama is taken pictures, mobile terminal needs Smoothly moved along default direction, if during taking pictures mobile terminal move direction occurred in that compared with default direction compared with Big deviation, then can make the panoramic pictures of synthesis has obvious stereovision, influences the whole structure of photo.
The content of the invention
The method and mobile terminal taken pictures the embodiments of the invention provide a kind of panorama, can eliminate the level in panoramic pictures Sense.
First aspect of the embodiment of the present invention provides a kind of method that panorama is taken pictures, including step:
Start the panoramic photographing mode of mobile terminal;
During the mobile terminal is moved with the first preset direction, the image in view-finder is adopted Collection, and the image collected is synthesized into panoramic pictures;
Moved again with the first preset direction if detecting after the mobile terminal is moved according to the second preset direction, Then the image in view-finder when being moved again with the first preset direction updates the panoramic pictures.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Start unit, the panoramic photographing mode for starting mobile terminal;
Synthesis unit, during being moved in the mobile terminal with the first preset direction, in view-finder Image be acquired, and by the image collected synthesize panoramic pictures;
Updating block, if default with first again after the mobile terminal is moved according to the second preset direction for detecting Direction is moved, then the image in view-finder when being moved again with the first preset direction updates the panorama sketch Piece.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention starts the panoramic photographing mode of mobile terminal;Entered in the mobile terminal with the first preset direction During row is mobile, the image in view-finder is acquired, and the image collected is synthesized into panoramic pictures;If detecting The mobile terminal is moved with the first preset direction again after being moved according to the second preset direction, then according to again with first Image when preset direction is moved in view-finder updates the panoramic pictures.Can be to synthesis using the embodiment of the present invention Panoramic picture according to preset direction movement to eliminate the stereovision in panoramic pictures, so as to improve the whole structure of panoramic pictures.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to required in embodiment, description The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the embodiment of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures;
Fig. 2 a are the schematic flow sheet of the second embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures;
Fig. 2 b are the specific demenstration method for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures;
Fig. 2 c are the another specific demenstration method for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures;
Fig. 3 is the schematic flow sheet of the 3rd embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures;
Fig. 4 a are a kind of structural representation of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 4 b are a kind of another structural representation of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of the 3rd embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of the fourth embodiment of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the embodiment of the present invention, those of ordinary skill in the art institute under the premise of creative work is not made The every other embodiment obtained, belongs to the scope of protection of the embodiment of the present invention.
In realization, in the embodiment of the present invention, mobile terminal can include but is not limited to:Notebook computer, mobile phone, flat board electricity Brain, intelligent wearable device etc..The system of mobile terminal refers to the operating system of equipment, can include but is not limited to:Android System, Saipan system, Windows systems, IOS (Mobile operating system of Apple Inc.'s exploitation), XP systems, windows 8 are System etc..It should be noted that Android mobile terminal refers to the mobile terminal of android system, Saipan mobile terminal refers to Saipan Mobile terminal of system, etc..Above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.
Method and movement that combination of embodiment of the present invention Fig. 1 to Fig. 6 takes pictures to a kind of panorama provided in an embodiment of the present invention Terminal is described.
Referring to Fig. 1, Fig. 1 is the flow of the first embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures Schematic diagram.The method that panorama described in the present embodiment is taken pictures, including step:
S101, the panoramic photographing mode for starting mobile terminal.
Wherein, mobile terminal can be under the instruction that the panning mode for receiving user's input is taken pictures, and mobile terminal carries out complete Scape exposal model.
S102, during the mobile terminal is moved with the first preset direction, the image in view-finder is entered Row collection, and the image collected is synthesized into panoramic pictures.
Wherein, during mobile terminal is moved with the first preset direction, mobile terminal can be in view-finder Image is acquired, and the image collected is synthesized into panoramic pictures.Specifically, moved in mobile terminal with the first preset direction In dynamic process, freshly harvested image can be constantly captured, mobile terminal, can be by freshly harvested figure on the basis of original image As carrying out image mosaic according to preset algorithm with original image, to synthesize panoramic pictures.Panoramic pictures have more wide regard Feel, preset algorithm can be merging algorithm for images, such as Scale invariant conversion (Scale Invariant Feature Transform, SIFT) method, SURF algorithm etc..
As a kind of possible embodiment, the first preset direction can be direction from left to right, or, the first default side The directions of Xiang Kewei from right to left.
If S103, detect the mobile terminal according to the second preset direction move after again with the first preset direction carry out Mobile, then the image in view-finder when being moved again with the first preset direction updates the panoramic pictures.
Wherein, moved again with the first preset direction if detecting after mobile terminal is moved according to the second preset direction Dynamic, image in view-finder when being moved again with the first preset direction updates panoramic pictures.Specifically, it is mobile Terminal can detect the movement of mobile terminal by gravity sensor, three-axis gyroscope, or, mobile terminal can be by view-finder Image change detection motion state of mobile terminal.
As a kind of possible embodiment, the second preset direction is the opposite direction of the first preset direction, and second presets Direction can be direction from left to right, or, the second preset direction can be direction from right to left.
The embodiment of the present invention starts the panoramic photographing mode of mobile terminal;Entered in the mobile terminal with the first preset direction During row is mobile, the image in view-finder is acquired, and the image collected is synthesized into panoramic pictures;If detecting The mobile terminal is moved with the first preset direction again after being moved according to the second preset direction, then according to again with first Image when preset direction is moved in view-finder updates the panoramic pictures.Can be to synthesis using the embodiment of the present invention Panoramic picture according to preset direction movement to eliminate the stereovision in panoramic pictures, so as to improve the whole structure of panoramic pictures.
Fig. 2 a are referred to, Fig. 2 a are the stream of the second embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures Journey schematic diagram.As a kind of possible embodiment, the method that the panorama described in the present embodiment is taken pictures is specific as follows:
S201, the panoramic photographing mode for starting mobile terminal.
Wherein, step S201 specific descriptions are shown in the step for the method that the panorama in Fig. 1 described by the embodiment of the present invention is taken pictures Rapid S101.
S202, during the mobile terminal is moved with the first preset direction, the image in view-finder is entered Row collection, and the image collected is synthesized into panoramic pictures.
Wherein, step S202 specific descriptions are shown in the step for the method that the panorama in Fig. 1 described by the embodiment of the present invention is taken pictures Rapid S102.
If S203, detect the mobile terminal according to the second preset direction move after, along second preset direction from Deleted in the panoramic pictures from region the first line of demarcation of the end boundary of the panoramic pictures to the panoramic pictures Image;Wherein, first line of demarcation is that the mobile terminal moves corresponding line of demarcation with second preset direction.
Wherein, if mobile terminal detects mobile terminal and moved to the second preset direction, mobile terminal can be default along second Deleted from panoramic pictures from region the first line of demarcation of the end boundary of panoramic pictures to the panoramic pictures in direction Image, wherein, the first line of demarcation is that mobile terminal moves corresponding line of demarcation, the end side of panoramic pictures with the second preset direction Boundary can be to detect the end boundary in the corresponding view-finder of mobile terminal stopping the first preset direction movement.Specifically, as schemed Shown in 2b, the direction of arrow can be the first preset direction in figure, and dotted portion is the first line of demarcation, detect mobile terminal along the Two preset directions are moved, and the first line of demarcation is may occur in which on the display interface of mobile terminal, are continued in mobile terminal according to the During two preset directions are moved, the first line of demarcation can be moved with the second preset direction.Mobile terminal can be from panorama The image in region the first line of demarcation from the end boundary of panoramic pictures to panoramic pictures is deleted in picture;Wherein, it is described First line of demarcation is that the mobile terminal moves corresponding line of demarcation with second preset direction.
As a kind of possible embodiment, as shown in Figure 2 c, the direction of arrow can be the first preset direction, dotted line part in figure The second line of demarcation can be included by being divided on the first line of demarcation, the display interface of mobile terminal, and the second line of demarcation is to start level occur The position of sense, when mobile terminal is moved with the second preset direction, can be weighed the first line of demarcation and the second line of demarcation Close, in this case, mobile terminal is moved with the first preset direction again, can eliminate stereovision in panoramic pictures compared with The image in strong region.It is still that mobile terminal is default square to second if in the process, occurring the stronger region of stereovision again To moving, the first line of demarcation can again be overlapped with the second line of demarcation, repeat said process, panoramic picture can be reduced In stereovision.
If S204, detecting mobile terminal and being moved again with the first preset direction, according to default with first again Image when direction is moved in view-finder updates the panoramic pictures.
Wherein, step S204 specific descriptions are shown in the step for the method that the panorama in Fig. 1 described by the embodiment of the present invention is taken pictures Rapid S103.
As a kind of possible embodiment, after mobile terminal is detected according to the movement of the second preset direction, and again Detect during mobile terminal moves with the first preset direction, mobile terminal is carried out again to the image in view-finder Collection, the image that mobile terminal can obtain not deleted image in panoramic pictures and resurveying synthesizes new panoramic pictures. During mobile terminal is moved with the second preset direction, the end boundaries of panoramic pictures can be deleted to the first of panoramic pictures The image in region between line of demarcation, then during mobile terminal is moved with the first preset direction again, can will be original Not deleted image and the image collected when being moved again with the first preset direction carry out image mosaic, so as to obtain new Panoramic pictures.
The embodiment of the present invention starts the panoramic photographing mode of mobile terminal;Entered in the mobile terminal with the first preset direction During row is mobile, the image in view-finder is acquired, and the image collected is synthesized into panoramic pictures;If detecting After the mobile terminal is moved according to the second preset direction, deleted along second preset direction from the panoramic pictures from institute The end boundary of panoramic pictures is stated to the image in region between the first line of demarcation of the panoramic pictures;Wherein, described first point Boundary line is that the mobile terminal moves corresponding line of demarcation with second preset direction;If detecting mobile terminal again with One preset direction is moved, then the image in view-finder when being moved again with the first preset direction is come described in updating Panoramic pictures.Unsatisfied image can be eliminated in panoramic pictures using the embodiment of the present invention or the image of stereovision occur.
Referring to Fig. 3, Fig. 3 is the flow of the 3rd embodiment for the method that a kind of panorama provided in an embodiment of the present invention is taken pictures Schematic diagram.The method that panorama described in the present embodiment is taken pictures is taken pictures for the panorama described by the embodiment of the present invention in Fig. 2 The step S203 of method specific refinement, it is occurred in step S202, moved in the mobile terminal with the first preset direction In dynamic process, the image in view-finder is acquired, and after the image collected synthesized into panoramic pictures, including step Suddenly:
S301, during the mobile terminal is moved with second preset direction, by the figure in view-finder As image corresponding with panoramic pictures carries out images match.
Wherein, during mobile terminal is moved with the second preset direction, mobile terminal can be by view-finder Image image corresponding with panoramic pictures carries out images match.Specifically, mobile terminal is in the mistake moved with the second preset direction Journey, mobile terminal is raw during can the picture of finding a view in view-finder be moved with previous mobile terminal with the first preset direction Into panoramic picture carry out images match.
S302, the described image boundary position that the match is successful is defined as first line of demarcation.
Wherein, mobile terminal can be moved the picture of finding a view in view-finder with previous mobile terminal with the first preset direction The boundary position that the panoramic picture generated during dynamic carries out images match is defined as the first line of demarcation.
S303, the end boundary of the panoramic pictures is removed to the figure in region between the first line of demarcation of the panoramic pictures Picture.
Wherein, mobile terminal can remove the end boundaries of panoramic pictures to region between the first line of demarcation of panoramic pictures Image.
The embodiment of the present invention is during the mobile terminal is moved with second preset direction, by view-finder In corresponding with the panoramic pictures image of image carry out images match;The described image boundary position that the match is successful is defined as institute State the first line of demarcation;The end boundary of the panoramic pictures is removed to the figure in region between the first line of demarcation of the panoramic pictures Picture.Unsatisfied image can be eliminated in panoramic pictures using the embodiment of the present invention or the image of stereovision occur.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of the first embodiment of mobile terminal provided in an embodiment of the present invention Figure.Mobile terminal described in the present embodiment is specific as follows:
Start unit 401, the panoramic photographing mode for starting mobile terminal.
Wherein, start unit 401 can be carried out panorama and taken pictures under the instruction that the panning mode for receiving user's input is taken pictures Pattern.
Synthesis unit 402, during being moved in the mobile terminal with the first preset direction, to view-finder In image be acquired, and by the image collected synthesize panoramic pictures.
Wherein, during mobile terminal is moved with the first preset direction, synthesis unit 402 can be in view-finder Image be acquired, by the image collected synthesize panoramic pictures.Specifically, carried out in mobile terminal with the first preset direction In mobile process, freshly harvested image can be constantly captured, mobile terminal, can will be freshly harvested on the basis of original image Image carries out image mosaic with original image according to preset algorithm, to synthesize panoramic pictures.Panoramic pictures have more wide Vision, preset algorithm can be merging algorithm for images, such as Scale invariant conversion (Scale Invariant Feature Transform, SIFT) method, SURF algorithm etc..
As a kind of possible embodiment, the first preset direction can be direction from left to right, or, the first default side The directions of Xiang Kewei from right to left.
Updating block 403, if for detecting after the mobile terminal is moved according to the second preset direction again with first Preset direction is moved, then the image in view-finder when being moved again with the first preset direction is described complete to update Scape picture.
Wherein, if detection unit (not marked in figure) detect mobile terminal according to the second preset direction move after again with First preset direction is moved, and updating block 403 is according in view-finder when being moved again with the first preset direction Image updates panoramic pictures.Specifically, detection unit can detect the shifting of mobile terminal by gravity sensor, three-axis gyroscope It is dynamic, or, mobile terminal can detect motion state of mobile terminal by the change of the image in view-finder.
As a kind of possible embodiment, the second preset direction is the opposite direction of the first preset direction, and second presets Direction can be direction from left to right, or, the second preset direction can be direction from right to left.
As a kind of possible embodiment, as shown in Figure 4 b, mobile terminal may also include deletion unit 404.
Unit 404 is deleted, for being deleted along second preset direction from the panoramic pictures from the panoramic pictures End boundary to region between the first line of demarcation of the panoramic pictures image;Wherein, first line of demarcation is described Mobile terminal moves corresponding line of demarcation with second preset direction.
Wherein, moved if detection unit (not marked in figure) detects mobile terminal to the second preset direction, delete unit 404 can delete along the second preset direction from panoramic pictures from the end boundary of panoramic pictures to first point of the panoramic pictures The image in region between boundary line, wherein, the first line of demarcation is that mobile terminal moves corresponding line of demarcation with the second preset direction, entirely The end boundary of scape picture can be to detect the end side in the corresponding view-finder of mobile terminal stopping the first preset direction movement Boundary.Specifically, detect mobile terminal in detection unit (not marking in figure) to move along the second preset direction, mobile terminal Display interface on may occur in which the first line of demarcation, mobile terminal continue according to the second preset direction move during, first Line of demarcation can be moved with the second preset direction.Mobile terminal can be deleted from panoramic pictures from the end side of panoramic pictures Image of the boundary to region between the first line of demarcation of panoramic pictures;Wherein, first line of demarcation is the mobile terminal with institute State the second preset direction and move corresponding line of demarcation.
As a kind of possible embodiment, the second line of demarcation, the second boundary can be included on the display interface of mobile terminal Line is the position for starting stereovision occur, when mobile terminal is moved with the second preset direction, can by the first line of demarcation with Second line of demarcation is overlapped, in this case, and mobile terminal is moved with the first preset direction again, deletes unit 404 can eliminate the image in the stronger region of stereovision in panoramic pictures.If in the process, occurring the stronger area of stereovision again Domain, mobile terminal is still moved, can be weighed in the first line of demarcation again with the second line of demarcation to the second preset direction Close, repeat said process, the stereovision in panoramic picture can be reduced.
As a kind of possible embodiment, mobile terminal is detected in detection unit (not marked in figure) pre- according to second After set direction movement, and detect again during mobile terminal moves with the first preset direction, updating block 403 can Image in view-finder is resurveyed, mobile terminal can obtain not deleted image in panoramic pictures and resurveying Image synthesize new panoramic pictures.During mobile terminal is moved with the second preset direction, panoramic pictures can be deleted End boundary then is entered in mobile terminal with the first preset direction again to the image in region between the first line of demarcation of panoramic pictures During row is mobile, the image that can be collected by original not deleted image and when being moved again with the first preset direction Image mosaic is carried out, so as to obtain new panoramic pictures.
Start unit of the embodiment of the present invention 401 starts the panoramic photographing mode of mobile terminal;Synthesis unit 402 is moved described During dynamic terminal is moved with the first preset direction, the image in view-finder is acquired, and by the figure collected As synthesis panoramic pictures;If detecting after the mobile terminal is moved according to the second preset direction with the first preset direction to enter again Row movement, the image of updating block 403 then in view-finder when being moved again with the first preset direction is come described in updating Panoramic pictures.The embodiment of the present invention is used to be eliminated to the panoramic picture of synthesis according to preset direction movement in panoramic pictures Stereovision, so as to improve the whole structure of panoramic pictures.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of the second embodiment of mobile terminal provided in an embodiment of the present invention Figure.Fig. 5 is the concrete structure of the deletion unit of the mobile terminal described in Fig. 4 b, the mobile terminal described in the present embodiment Deletion unit 404 may include:Matching unit 501, determining unit 502 and clearing cell 503, it is specific as follows:
Matching unit 501, during being moved in the mobile terminal with second preset direction, will take Image image corresponding with panoramic pictures in scape frame carries out images match.
Wherein, during mobile terminal is moved with the second preset direction, matching unit 501 can be by view-finder Corresponding with the panoramic pictures image of image carry out images match.Specifically, mobile terminal is being moved with the second preset direction Process, during mobile terminal can be moved the picture of finding a view in view-finder with previous mobile terminal with the first preset direction The panoramic picture of generation carries out images match.
Determining unit 502, for the described image boundary position that the match is successful to be defined as into first line of demarcation.
Wherein it is determined that unit 502 can be entered the picture of finding a view in view-finder with previous mobile terminal with the first preset direction The boundary position that the panoramic picture generated in row moving process carries out images match is defined as the first line of demarcation.
Clearing cell 503, for removing the end boundary of the panoramic pictures to the first line of demarcation of the panoramic pictures Between region image.
Wherein, clearing cell 503 can remove the end boundaries of panoramic pictures to area between the first line of demarcation of panoramic pictures The image in domain.
The process that matching unit of the embodiment of the present invention 501 is moved in the mobile terminal with second preset direction In, the image corresponding with panoramic pictures of the image in view-finder is subjected to images match;Determining unit 502 matches described image Successful boundary position is defined as first line of demarcation;Clearing cell 503 removes the end boundaries of the panoramic pictures to institute State the image in region between the first line of demarcation of panoramic pictures.It can eliminate unsatisfied in panoramic pictures using the embodiment of the present invention There is the image of stereovision in image.
Referring to Fig. 6, Fig. 6 is a kind of structural representation of the 3rd embodiment of mobile terminal provided in an embodiment of the present invention Figure.Mobile terminal described in the present embodiment includes:At least one input equipment 1000;At least one output equipment 2000; At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and memory 4000 connected by bus 5000.
Wherein, above-mentioned input equipment 1000 can be contact panel, common PC, liquid crystal display, touch screen, push button etc..
Above-mentioned memory 4000 can be high-speed RAM memory, or non-labile memory (non-volatile Memory), such as magnetic disk storage.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, performs following operation:
Above-mentioned processor 3000, is used for:Start the panoramic photographing mode of mobile terminal;
Above-mentioned processor 3000, also particularly useful for:
During the mobile terminal is moved with the first preset direction, the image in view-finder is adopted Collection, and the image collected is synthesized into panoramic pictures;
Above-mentioned processor 3000, also particularly useful for:
Moved again with the first preset direction if detecting after the mobile terminal is moved according to the second preset direction, Then the image in view-finder when being moved again with the first preset direction updates the panoramic pictures.
In some feasible embodiments, above-mentioned processor 3000 is moved in mobile terminal according to the second preset direction Afterwards, also particularly useful for:
Deleted along second preset direction from the panoramic pictures from the end boundaries of the panoramic pictures to described The image in region between first line of demarcation of panoramic pictures;Wherein, first line of demarcation is the mobile terminal with described the Two preset directions move corresponding line of demarcation.
In some feasible embodiments, above-mentioned processor 3000, also particularly useful for:
During the mobile terminal is moved with second preset direction, by the image in view-finder and entirely The corresponding image of scape picture carries out images match;
The described image boundary position that the match is successful is defined as first line of demarcation;
The end boundary of the panoramic pictures is removed to the image in region between the first line of demarcation of the panoramic pictures.
In some feasible embodiments, above-mentioned processor 3000, also particularly useful for:
During the mobile terminal is moved with first preset direction, the image in view-finder is carried out Resurvey, not deleted image in the panoramic pictures and the obtained image of resurveying are synthesized into new panorama sketch Piece.
In some feasible embodiments, the first preset direction is horizontal direction from left to right, and the second preset direction is Horizontal direction from right to left;Or, the second preset direction is horizontal direction from left to right, and the first preset direction is water from right to left Square to.
In the specific implementation, input equipment 1000, output equipment 2000 and processor described in the embodiment of the present invention Retouched in each embodiment for the method that panorama described in 3000 executable Fig. 1~Fig. 3 provided in an embodiment of the present invention is taken pictures In the implementation stated, each embodiment that also can perform the mobile terminal described in Fig. 4 or Fig. 5 provided in an embodiment of the present invention The implementation of described mobile terminal, will not be repeated here.
Module or submodule in all embodiments of the embodiment of the present invention, can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, application specific integrated circuit) realize.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program, which can be stored in a computer and can spend, takes storage medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
Above disclosed is only preferred embodiment of the embodiment of the present invention, can not be limited certainly with this of the invention real The interest field of example, therefore the equivalent variations made according to claim of the embodiment of the present invention are applied, still belongs to the embodiment of the present invention and is contained The scope of lid.

Claims (8)

1. a kind of method that panorama is taken pictures, it is characterised in that including:
The instruction that the panning mode of user's input is taken pictures is received, starts the panoramic photographing mode of mobile terminal;
During the mobile terminal is moved with the first preset direction, the image in view-finder is acquired, and The image collected is synthesized into panoramic pictures;
If detecting after the mobile terminal moves according to the second preset direction, along second preset direction from the panorama sketch The image from region the first line of demarcation of the end boundary of the panoramic pictures to the panoramic pictures is deleted in piece;Its In, first line of demarcation is that the mobile terminal moves corresponding line of demarcation with second preset direction;
Moved again with the first preset direction if detecting, basis is found a view when being moved again with the first preset direction Image in frame updates the panoramic pictures, and second preset direction is opposite with first preset direction.
2. according to the method described in claim 1, it is characterised in that described along second preset direction from the panoramic pictures The middle image deleted from region the first line of demarcation of the end boundary of the panoramic pictures to the panoramic pictures, including:
During the mobile terminal is moved with second preset direction, by the image and panorama sketch in view-finder The corresponding image of piece carries out images match;
The described image boundary position that the match is successful is defined as first line of demarcation;
The end boundary of the panoramic pictures is removed to the image in region between the first line of demarcation of the panoramic pictures.
3. the method according to any one of claim 1 or 2, it is characterised in that the basis is again with the first preset direction Image when moving in view-finder updates the panoramic pictures, including:
During the mobile terminal is moved with first preset direction, the image in view-finder is carried out again Collection, new panoramic pictures are synthesized by not deleted image in the panoramic pictures and the obtained image of resurveying.
4. according to the method described in claim 1, it is characterised in that first preset direction is horizontal direction from left to right, Second preset direction is horizontal direction from right to left;Or, second preset direction is horizontal direction, institute from left to right It is horizontal direction from right to left to state the first preset direction.
5. a kind of mobile terminal, it is characterised in that including:
Start unit, the instruction taken pictures of panning mode for receiving user's input, the panorama for starting mobile terminal is taken pictures mould Formula;
Synthesis unit, during being moved in the mobile terminal with the first preset direction, to the figure in view-finder Panoramic pictures are synthesized as being acquired, and by the image collected;
Delete unit, for along the second preset direction deleted from the panoramic pictures from the end boundaries of the panoramic pictures to The image in region between first line of demarcation of the panoramic pictures;Wherein, first line of demarcation is the mobile terminal with institute State the second preset direction and move corresponding line of demarcation, second preset direction is opposite with first preset direction;
Updating block, if for detecting after the mobile terminal is moved according to the second preset direction again with the first preset direction Move, then the image in view-finder when being moved again with the first preset direction updates the panoramic pictures.
6. mobile terminal according to claim 5, it is characterised in that the deletion unit includes:
Matching unit, during being moved in the mobile terminal with second preset direction, by view-finder Corresponding with the panoramic pictures image of image carry out images match;
Determining unit, for the described image boundary position that the match is successful to be defined as into first line of demarcation;
Clearing cell, for removing the end boundaries of the panoramic pictures to region between the first line of demarcation of the panoramic pictures Image.
7. the mobile terminal according to any one of claim 5 or 6, it is characterised in that the updating block specifically for:
During the mobile terminal is moved with first preset direction, the image in view-finder is carried out again Collection, new panoramic pictures are synthesized by not deleted image in the panoramic pictures and the obtained image of resurveying.
8. mobile terminal according to claim 5, it is characterised in that first preset direction is level side from left to right To second preset direction is horizontal direction from right to left;Or, second preset direction is level side from left to right To first preset direction is horizontal direction from right to left.
CN201510155173.5A 2015-04-02 2015-04-02 Method and mobile terminal that a kind of panorama is taken pictures CN104822021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510155173.5A CN104822021B (en) 2015-04-02 2015-04-02 Method and mobile terminal that a kind of panorama is taken pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510155173.5A CN104822021B (en) 2015-04-02 2015-04-02 Method and mobile terminal that a kind of panorama is taken pictures

Publications (2)

Publication Number Publication Date
CN104822021A CN104822021A (en) 2015-08-05
CN104822021B true CN104822021B (en) 2017-10-31

Family

ID=53732176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510155173.5A CN104822021B (en) 2015-04-02 2015-04-02 Method and mobile terminal that a kind of panorama is taken pictures

Country Status (1)

Country Link
CN (1) CN104822021B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639969B (en) * 2018-12-12 2021-01-26 维沃移动通信(杭州)有限公司 Image processing method, terminal and server
CN110418054A (en) * 2019-06-27 2019-11-05 维沃移动通信有限公司 Image processing method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176347A (en) * 2011-12-22 2013-06-26 百度在线网络技术(北京)有限公司 Method and device for shooting panorama and electronic device
CN103200365A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method for panorama shooting through mobile terminal and mobile terminal
CN103685952A (en) * 2013-12-06 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Terminal and image processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784176B1 (en) * 2011-05-25 2017-10-12 삼성전자주식회사 Image photographing device and control method thereof
US20140267589A1 (en) * 2013-03-14 2014-09-18 Dai Nippon Printing Co., Ltd. Free viewpoint video display apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176347A (en) * 2011-12-22 2013-06-26 百度在线网络技术(北京)有限公司 Method and device for shooting panorama and electronic device
CN103200365A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method for panorama shooting through mobile terminal and mobile terminal
CN103685952A (en) * 2013-12-06 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Terminal and image processing method

Also Published As

Publication number Publication date
CN104822021A (en) 2015-08-05

Similar Documents

Publication Publication Date Title
TWI554936B (en) Image processing device, image processing method and computer product program
KR101772177B1 (en) Method and apparatus for obtaining photograph
KR20170035237A (en) Mobile terminal and method for controlling the same
CN101046623B (en) Apparatus and method for taking panoramic photograph
JP6410923B2 (en) Tracking control device, tracking control method, tracking control program, and automatic tracking imaging system
US9998651B2 (en) Image processing apparatus and image processing method
CA2941469C (en) Method, device, and program for image processing
JP5259315B2 (en) Image search device, digital camera, image search method, and image search program
JP5359762B2 (en) Information processing apparatus, display control method, and display control program
EP2330812B1 (en) Apparatus for generating a panoramic image, method for generating a panoramic image, and computer-readable medium
US9485421B2 (en) Method and apparatus for operating camera function in portable terminal
CN105340267A (en) Method for generating picture and twin-lens device
US9159169B2 (en) Image display apparatus, imaging apparatus, image display method, control method for imaging apparatus, and program
CN106713768B (en) People's scape image composition method, system and computer equipment
US7315751B2 (en) Portable apparatus including improved pointing device
KR20080083525A (en) Method for stabilizing digital image which can correct the horizontal shear distortion and vertical scale distortion
JP6109413B2 (en) Image display method, image display apparatus, terminal, program, and recording medium
US20180103201A1 (en) Device and method for panoramic image processing
US20090034800A1 (en) Method Of Automatic Navigation Directed Towards Regions Of Interest Of An Image
US9479709B2 (en) Method and apparatus for long term image exposure with image stabilization on a mobile device
WO2014056440A1 (en) Method, device, and image pickup apparatus for converting focal distance of image pickup apparatus
US10055081B2 (en) Enabling visual recognition of an enlarged image
CN108629747B (en) Image enhancement method and device, electronic equipment and storage medium
US9025885B2 (en) Method of detecting global motion and global motion detector, and digital image stabilization (DIS) method and circuit including the same
US9516223B2 (en) Motion-based image stitching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

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

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

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