CN106815809A - A kind of image processing method and device - Google Patents
A kind of image processing method and device Download PDFInfo
- Publication number
- CN106815809A CN106815809A CN201710207499.7A CN201710207499A CN106815809A CN 106815809 A CN106815809 A CN 106815809A CN 201710207499 A CN201710207499 A CN 201710207499A CN 106815809 A CN106815809 A CN 106815809A
- Authority
- CN
- China
- Prior art keywords
- picture
- splicing
- target object
- splicing picture
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000012545 processing Methods 0.000 claims abstract description 92
- 238000000034 method Methods 0.000 claims abstract description 17
- 230000008569 process Effects 0.000 abstract description 4
- 230000000694 effects Effects 0.000 description 13
- 230000001815 facial effect Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 238000007499 fusion processing Methods 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000155 melt Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The embodiment provides a kind of image processing method and device, the image processing method includes:At least two field pictures are obtained, and obtains at least one of every two field picture target object;Splicing is carried out at least two field pictures using the first processing mode, spliced splicing picture is obtained;Determine, corresponding to the first object object in the splicing picture designated area, to process the first object object using second processing mode, the second target object after being processed from least one target object;Second target object is merged with the splicing picture.
Description
Technical field
Embodiments of the invention are related to technical field of image processing, more particularly to a kind of image processing method and device.
Background technology
With the development and popularization of intelligent terminal technology, the image processing method based on intelligent terminal technology is also more and more general
Time.General than relatively limited in view of the single picture information content to be carried, in some application scenarios, user more wishes
Plurality of pictures can be spliced to form splicing picture and recorded or propagated.
In existing picture stitching algorithm, it is possible to use the similitude of overlaying graphics part respective pixel, by corresponding
Stitching algorithm, as far as possible formed naturally linking and transition, in the process, generally require to consider the rotation between each adjacent picture
Turn, the relation such as affine, perspective, and processed accordingly based on these relations, to reach seamless spliced purpose.But, it is existing
Having the various stitching algorithms in technology can still produce various types of deformation to distort, and have impact on the splicing effect of picture.
The content of the invention
According to an aspect of the invention, there is provided a kind of image processing method, including:At least two field pictures are obtained, and
Obtain at least one of every two field picture target object;Stitching portion is carried out at least two field pictures using the first processing mode
Reason, obtains spliced splicing picture;Determine that corresponding to the splicing picture specifies area from least one target object
First object object in domain, is processed the first object object using second processing mode, and after being processed
Two target objects;Second target object is merged with the splicing picture.
According to another aspect of the present invention, there is provided a kind of picture processing device, including:Acquiring unit, is configured to obtain
At least two field pictures are taken, and obtains at least one of every two field picture target object;Concatenation unit, is configured to using the first treatment
Mode carries out splicing at least two field pictures, obtains spliced splicing picture;Processing unit, is configured to from described
Determine at least one target object corresponding to the first object object in the splicing picture designated area, using second processing
Mode is processed the first object object, the second target object after being processed;Integrated unit, being configured to will be described
Second target object is merged with the splicing picture.
In the image processing method and device provided according to the present invention, it is possible to use different processing modes is pointed to spell
The object of the different zones of map interlinking piece carries out different treatment, and the result after treatment is merged with splicing picture, to reduce spelling
The torsional deformation of map interlinking piece, realizes seamless spliced effect.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be in embodiment or description of the prior art
The required accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only some realities of the 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 (a) and Fig. 1 (b) show that in different scenes based on plane projection splice the splicing picture for obtaining illustrates
Figure;
Fig. 2 (a) and Fig. 2 (b) show that in different scenes based on spherical projection splice the splicing picture for obtaining illustrates
Figure;
Fig. 3 shows the flow chart of image processing method according to embodiments of the present invention;
Fig. 4 shows the specific example of image processing method according to embodiments of the present invention;
Fig. 5 shows the block diagram of picture processing device according to embodiments of the present invention;
Fig. 6 shows the block diagram of picture processing device according to embodiments of the present invention.
Specific 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 a part of embodiment of the invention, rather than whole embodiments.
With the enhancing and the progress of camera technique of smart mobile phone operational capability, new exposal model is continued to bring out.Panorama
Auto heterodyne is a kind of brand-new exposal model based on the common front camera of smart mobile phone, and it can be by hand-held and rotating mobile reality
The automatic triggering now repeatedly taken pictures, and the photo of field range wide is obtained by technologies such as picture splicings.
When in view of the perspective relation between adjacent picture, using existing picture stitching algorithm to the plurality of pictures that is input into
When being projected and being merged, there can be a multiple choices for target projection face, such as common plane, sphere and circular conical surface etc.,
And the splicing picture for finally giving can then introduce different types of deformation distortion.
Fig. 1 (a) and Fig. 1 (b) show that plane (plane) projection is based in different scenes splice the spliced map for obtaining
Piece schematic diagram.This projection connecting method can preferably keep the vertical element in actual scene, i.e. naked eyes to see originally i.e.
It is linear object, the lane line in parking lot and parking stall line part, can also still protect after splicing in such as Fig. 1 (a)
Hold linear characteristic.However, in picture is spliced, got over closer to the tensile deformation of splicing picture corner areas and tend to obviousization, example
Such as, the white car in Fig. 1 (a) right hand edges region and the face of Fig. 1 (b) lower left corner regions are substantially elongated, and can so cause
Splicing effect is not ideal enough on the splicing picture of total visual field wider range.
Fig. 2 (a) and Fig. 2 (b) show that sphere (spherical) projection is based in different scenes splice the spelling for obtaining
Map interlinking piece schematic diagram.This projection connecting method can be using sphere as target to carry out splicing fusion, so as in final spelling
Object (the white car in such as Fig. 2 (a) right hand edges region and the people of Fig. 2 (b) lower left corner regions of the corner areas of map interlinking piece
Face) will not generally have such as Fig. 1 (a) and the projection based on plane shown in Fig. 1 (b) and significantly stretch.However, in splicing
In picture, as in Fig. 2 (a) lane line in parking lot and parking stall line etc. part be unable to image plane projection keep straight line well
Type.
Based on above mentioned problem, it is considered to propose following image processing method, Fig. 3 shows picture according to embodiments of the present invention
The flow chart of processing method 300, the image processing method can apply to electronic equipment, and electronic equipment can be used for
The various terminals of picture and treatment picture are obtained, such as mobile phone, PDA, panel computer and notebook etc. can be with
It is portable, pocket, hand-held, built-in computer or vehicle-mounted device.
As shown in figure 3, image processing method 300 can include step S301:At least two field pictures are obtained, and is obtained per frame
At least one of image target object.Wherein, at least two field pictures can be two width or several spliced for picture
Image, can have overlapping part so that stitching algorithm judges its relative position relation simultaneously in these images region adjacent two-by-two
Spliced.In at least two field pictures, the target object in described image can be obtained to every two field picture.To the figure
As the purpose for obtaining the target object is desirable to enter traveling one for these target objects in the picture processing step after
The treatment of step, to avoid its excessive deformation in the splicing picture for ultimately forming, influences splicing effect.Therefore, in described image
The target object of middle acquisition typically can be more important object or main photographic subjects thing in image.For example, the mesh
Mark object can be face, can also be various types of other objects such as vehicle, building.In an embodiment of the invention, exist
During obtaining the target object from every two field picture, can be obtained by way of image recognition, example
As facial image present in every two field picture can be obtained by recognition of face in described image.In another reality of the invention
Apply in example, can also be obtained by way of picture charge pattern the target object is obtained from every two field picture,
For example facial image present in every two field picture can be obtained by face tracking in described image.The present invention another
In embodiment, target object etc. can also be obtained by way of image detection and tracking are combined.In another reality of the invention
Apply in example, at least two field pictures can be also obtained when at least two field pictures are obtained and distinguishes corresponding depth information, so that
The depth information of image where target object can be utilized, this target object and other objects different from its field depth are entered
Row is distinguished, to choose target object, for example, the target object such as face may be located in the range of prospect, can be according to it
The depth of view information of place image makes a distinction this facial image and background, so as to obtain accurate facial image.Wherein, image
Depth of view information can be obtained using binocular camera, for example, when user is autodyned, can be using smart mobile phone
Dual camera obtains depth of view information.The acquisition methods of above target object and target object are merely illustrative, in reality of the invention
In, using any selected target object and arbitrary target object acquisition methods can be used, herein not
It is limited.
In step s 302, splicing is carried out at least two field pictures using the first processing mode, is spliced
Splicing picture afterwards.In this step, at least two field pictures to being obtained in step S301 are spliced, wherein it is possible to using the
One processing mode is spliced to these images.Specifically, the first processing mode can be foregoing plane projection mode.In profit
Can be target projection face with plane during being spliced to described image with plane projection mode, at least two by described in
Two field picture is projected on plane projection face, and so that the overlapping region between respective adjacent image is tried one's best and seamlessly transitted.
After using plane projection mode to image mosaic, spliced splicing picture can be obtained.The above first treatment side
Formula is merely illustrative for the saying of plane projection mode, in practical application of the invention, can be using any processing mode to figure
As being processed to obtain splicing picture, for example, it is also possible to using projection patterns pair such as spherical projection mode, conical projection modes
Image is projected and spliced.
In step S303, determine to correspond in the splicing picture designated area from least one target object
First object object, the first object object is processed using second processing mode, the second mesh after being processed
Mark object.
In this step, it is contemplated that when carrying out splicing to image using the first processing mode in step s 302, may
Larger torsional deformation being produced in the subregion of the splicing picture for being obtained, therefore, in step S303, can select another
Plant processing mode to process the target object in the region for producing torsional deformation in splicing picture so that the splicing after treatment
Picture effect is more preferable.Alternatively, when first processing mode is plane projection, the second processing mode can be selected to be
Such as spherical projection.Now, because plane projection can cause the torsional deformation of the splicing picture edge region larger, because
This, now the designated area of the splicing picture can be the fringe region of spliced map piece.The fringe region can be described
Splice the left and right edges of picture, or lower edges, or can be surrounding and/or corner of the splicing picture etc.
Deng.
After it is determined that needing the designated area for splicing picture processed with second processing mode, it is possible to use step S301
In acquired two field picture and the target object in every two field picture relevant position, obtain and specified in spliced splicing picture
The scope of the target object in region, and using these target objects as first object object using second processing mode at
Reason.For example, knowing the position for a certain two field picture of splicing positioned at the left side of spliced splicing picture, and some mesh
When mark object is located at the left side edge of this two field picture, it can be determined that this target object is located at the edge of spliced splicing picture
Region, and it can be processed using second processing mode.Wherein, when also obtaining the corresponding depth of image in step S301
During degree information, it is possible to use the depth information of image where the first object object, by the first object object and and its
Other different objects of field depth make a distinction, to choose the first object object.Above area is specified for splicing picture
The selection in domain, the acquisition of target image and example is to the first processing mode, second processing way choice, in practical application
In, the designated area of the splicing picture can be any region needed using second processing mode, the first processing mode and
Second processing mode can also be respectively the one kind in plane projection, spherical projection, face of cylinder projection, conical projection etc., for example,
First processing mode can be spherical projection mode, and correspondingly, second processing mode can be plane projection mode, now refer to
Determining region can also be changed according to the effect of splicing picture.
When being processed first object object in splicing picture designated area using second processing mode, will can divide
The first object object for coming is separated out to be projected using second processing mode or other operations, and the second target after being processed
Object.Second target object can further obviate the image after twist distortion for first object object.
In step s 304, second target object is merged with the splicing picture.In view of the second target
Object is the image after first object object is processed (such as project), and its size and shape is likely to occur certain change
Change, therefore, it can for the second target object second target object is adaptively adjusted into size, and by described in after adjustment
Second target object replaces the first object object in the splicing picture, is merged with the splicing picture.Final
In fusion process, softening operation can be carried out to combination of edge according to actual conditions, strengthen syncretizing effect.
Fig. 4 shows the specific example of image processing method according to embodiments of the present invention.As shown in figure 4, according to intelligent hand
Machine prospect dual camera gets the width image of left, center, right three in Fig. 4 upper left corners, and obtains the target object in every two field picture,
It is face in this example.Plane projection (the first processing mode) is carried out to this three width image.Further, it is also possible to according to each two field picture
Relative position in picture is spliced obtains the facial image of the fringe region positioned at splicing picture, by it according to the depth of image
Degree information is extracted, as first object object, as shown in Fig. 4 lower left corners, the left hand edge that will be located on the left of splicing picture
Facial image is extracted as first object object, and is carried out spherical projection (second processing mode) and obtained the second object
Body, as shown in Fig. 4 middle and lower parts, with after the splicing for having merged the second target object after spherical projection for obtaining Fig. 4 lower right corner
Splicing picture.Namely the ball that the splicing picture in Fig. 4 lower right corner is the plane projection and lower left corner face for combining three width images
Fused images after the projection of face.When the splicing picture after the second target object after by treatment is integrated into plane projection, can
The second target object is moderately amplified with the shared area in picture is spliced of the first object object according to before and position, and
Softening combination of edge after fusion.
In the image processing method provided according to the present invention, it is possible to use different processing modes is pointed to splice picture
The object of different zones carry out different treatment, and the result after treatment is merged with splicing picture, to reduce splicing picture
Torsional deformation, realize seamless spliced effect.
Below, reference picture 5 describes the block diagram of picture processing device according to embodiments of the present invention.The device can be performed
Above-mentioned image processing method.Operation due to the device and each step base above with reference to the image processing method described in Fig. 3
This is identical, therefore only carries out brief description to it herein, and omits the repeated description to identical content.
As shown in figure 5, picture processing device 500 includes acquiring unit 510, concatenation unit 520, processing unit 530 and melts
Close unit 540.It will be appreciated that Fig. 5 only shows the part related to embodiments of the invention, and miscellaneous part is eliminated, but
This is schematical, and as needed, device 500 can include miscellaneous part.
The electronic equipment where picture processing device 500 in Fig. 5 can be used for obtaining picture and treatment picture
Various terminals, such as mobile phone, PDA, panel computer and notebook etc. can also be portable, pocket, hand
Hold formula, built-in computer or vehicle-mounted device.
As shown in figure 5, acquiring unit 510 obtains at least two field pictures, and obtain at least one of every two field picture target
Object.Wherein, at least two field pictures can be two width or multiple image for picture splicing, and these images are adjacent two-by-two
Region in can have overlapping part so that stitching algorithm judges its relative position relation and is spliced.Acquiring unit 510
The target object in described image can be obtained to every two field picture.The purpose that described image obtains the target object is desirable to
It is further processed for these target objects in picture processing step after, to avoid it in the spelling for ultimately forming
Excessive deformation in map interlinking piece, influences splicing effect.Therefore, the target object that acquiring unit 510 is obtained in described image is general
Can be more important object or main photographic subjects thing in image.For example, the target object can be face, also may be used
Think various types of other object such as vehicle, building.In an embodiment of the invention, acquiring unit 510 from described per frame figure
During obtaining the target object as in, can be obtained by way of image recognition, for example can be described
Facial image present in every two field picture is obtained in image by recognition of face.In another embodiment, obtain
Unit 510 is obtained the target object and can also be obtained by way of picture charge pattern from every two field picture, example
As facial image present in every two field picture can be obtained by face tracking in described image.In another reality of the invention
Apply in example, acquiring unit 510 can also obtain target object etc. by way of image detection and tracking are combined.In the present invention
In another embodiment, acquiring unit 510 can also obtain at least two field pictures difference when at least two field pictures are obtained
Corresponding depth information, such that it is able to using the depth information of image where target object, by this target object and with its depth of field
Other different objects of scope make a distinction, to choose target object, for example, the target object is before for example face may be located at
In the range of scape, acquiring unit 510 can make a distinction this facial image and background according to the depth of view information of image where it, from
And obtain accurate facial image.Wherein, the depth of view information of image can be obtained using binocular camera, for example, work as using
When person is autodyned, depth of view information can be obtained using the dual camera of smart mobile phone.Above target object and acquiring unit 510
Acquisition methods to target object are merely illustrative, and in practical application of the invention, acquiring unit 510 can be using any selected
The target object selected and can be limited herein using arbitrary target object acquisition methods.
Concatenation unit 520 carries out splicing using the first processing mode at least two field pictures, after being spliced
Splicing picture.Concatenation unit 520 splices at least two field pictures obtained in acquiring unit 510, wherein, concatenation unit
520 can be spliced using the first processing mode to these images.Specifically, the first processing mode can be foregoing plane
Projection pattern.During concatenation unit 520 is spliced using plane projection mode to described image, can be with plane
Target projection face, at least two field pictures are projected on plane projection face, and so that between respective adjacent image
Overlapping region try one's best and seamlessly transit.After concatenation unit 520 utilizes plane projection mode to image mosaic, can be spelled
Splicing picture after connecing.The above first processing mode is merely illustrative for the saying of plane projection mode, in reality of the invention
In the application of border, concatenation unit 520 can use any processing mode to be processed image to obtain splicing picture, for example, also
Image can be projected and spliced using projection patterns such as spherical projection mode, conical projection modes.
Processing unit 530 determines to correspond in the splicing picture designated area from least one target object
First object object, is processed the first object object using second processing mode, the second target after being processed
Object.
In view of when concatenation unit 520 carries out splicing using the first processing mode to image, may obtained
The subregion of splicing picture produce larger torsional deformation, therefore, processing unit 530 can select another processing mode
Target object in the region that torsional deformation is produced in splicing picture is processed so that the splicing picture effect after treatment is more
It is good.Alternatively, when first processing mode is plane projection, the second processing mode can be selected to be thrown for such as sphere
Shadow.Now, because plane projection can cause the torsional deformation of the splicing picture edge region larger, therefore, it is now described
The designated area for splicing picture can be the fringe region of spliced map piece.The fringe region can be a left side for the splicing picture
Right hand edge, or lower edges, or can be surrounding and/or the corner of the splicing picture etc..
When it is determined that after the designated area of the splicing picture for needing to be processed with second processing mode, processing unit 530 can be with
Using the two field picture acquired in acquiring unit 510 and the relevant position of the target object in every two field picture, obtain after splicing
Splicing picture designated area in target object scope, and utilize second using these target objects as first object object
Processing mode is processed.For example, processing unit 530 is knowing that it is spliced that the position for a certain two field picture of splicing is located at
When splicing the left side of picture, and some target object positioned at the left side edge of this two field picture, it can be determined that this target object
Positioned at the fringe region of spliced splicing picture, and it can be processed using second processing mode.Wherein, it is single when obtaining
When unit 510 also obtains image corresponding depth information, processing unit 530 can be using image where the first object object
Depth information, the first object object and other objects different from its field depth are made a distinction, it is described to choose
First object object.Above for splicing the selection of picture designated area, the acquisition of target image and to the first processing mode, the
The selection of two processing modes is example, and in actual applications, the designated area of the splicing picture can be adopted for any needs
With the region of second processing mode, the first processing mode and second processing mode can also be respectively plane projection, spherical projection,
One kind in face of cylinder projection, conical projection etc., for example, the first processing mode can be spherical projection mode, and correspondingly, the
Two processing modes can be plane projection mode, and now designated area can also be changed according to the effect of splicing picture.
First object object in splicing picture designated area is processed using second processing mode in processing unit 530
When, the first object object that will can be separated is projected or other operations using second processing mode, and is processed
The second target object afterwards.Second target object can further obviate the image after twist distortion for first object object.
Integrated unit 540 is merged second target object with the splicing picture.In view of the second object
Body is the image after first object object is processed (such as project), and its size and shape is likely to occur certain change
Change, therefore, it can for the second target object second target object is adaptively adjusted into size, and by described in after adjustment
Second target object replaces the first object object in the splicing picture, is merged with the splicing picture.Final
In fusion process, integrated unit 540 can carry out softening operation to combination of edge according to actual conditions, strengthen syncretizing effect.
In the picture processing device provided according to the present invention, it is possible to use different processing modes is pointed to splice picture
The object of different zones carry out different treatment, and the result after treatment is merged with splicing picture, to reduce splicing picture
Torsional deformation, realize seamless spliced effect.
Below, reference picture 6 describes the block diagram of picture processing device according to embodiments of the present invention.The picture processing device
Above-mentioned image processing method can be performed.Due to the device operation with above with reference to each of the image processing method described in Fig. 3
Individual step is essentially identical, therefore only carries out brief description to it herein, and omits the repeated description to identical content.
Picture processing device 600 in Fig. 6 can include one or more processors 610 and memory 620, certainly, figure
Piece treating apparatus 600 can also including input block, output unit (not shown) etc. other every components, these components lead to
Cross bindiny mechanism's (not shown) interconnection of bus system and/or other forms.It should be noted that the picture processing device shown in Fig. 6
600 component and structure is illustrative, and not restrictive, and as needed, picture processing device 600 can also have it
His component and structure.
Processor 610 is control centre, using various interfaces and the various pieces of connection whole device, by operation
Or software program and/or module of the storage in memory 620 are performed, and data of the storage in memory 620 are called, hold
The various functions and processing data of row picture processing device 600, so as to carry out integral monitoring to picture processing device 600.Preferably
Ground, processor 610 may include one or more processing cores;Preferably, processor 610 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor
Main treatment radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Memory 620 can include one or more computer program products, and the computer program product can include
Various forms of computer-readable recording mediums, such as volatile memory and/or nonvolatile memory.The volatibility is deposited
Reservoir can for example include random access memory (RAM) and/or cache memory (cache) etc..It is described non-volatile
Memory for example can be including read-only storage (ROM), hard disk, flash memory etc..Can be with the computer-readable recording medium
Store one or more computer program instructions.
Processor 610 can run described program instruction, to realize following steps:At least two field pictures are obtained, and is obtained
At least one of every two field picture target object;Splicing is carried out at least two field pictures using the first processing mode,
Obtain spliced splicing picture;Determine to correspond in the splicing picture designated area from least one target object
First object object, the first object object is processed using second processing mode, the second mesh after being processed
Mark object;Second target object is merged with the splicing picture.
Unshowned input block can be used for receive input numeral or character information, and produce with user set and
The relevant keyboard of function control, mouse, action bars, optics or trace ball signal input.Specifically, input block may include to touch
Sensitive surfaces and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected thereon or
(such as user on Touch sensitive surface or is being touched using any suitable objects such as finger, stylus or annex for neighbouring touch operation
Operation near sensitive surfaces), and corresponding attachment means are driven according to formula set in advance.Preferably, Touch sensitive surface can be wrapped
Include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect
The signal that touch operation brings, transmits a signal to touch controller;Touch controller receives touch from touch detecting apparatus
Information, and be converted into contact coordinate, then give processor 610, and the order sent of receiving processor 610 and can be held
OK.Furthermore, it is possible to realize Touch sensitive surface using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touching
Sensitive surfaces, input block can also include other input equipments.Specifically, other input equipments can include but is not limited to physics
One or more in keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Output unit can export various information, such as image information, application control information etc. to outside (such as user).
For example, output unit can be display unit, can be used for show by user input information or be supplied to user information and
The various graphical user interface of picture processing device 600, these graphical user interface can by figure, text, icon, video and
It is combined to constitute.Display unit may include display panel, it is preferred that LCD (Liquid Crystal can be used
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes
Configuration display panel.Further, Touch sensitive surface can cover display panel, when Touch sensitive surface is detected thereon or neighbouring is touched
After touching operation, processor 610 is sent to determine the type of touch event, with preprocessor 610 according to the type of touch event
Corresponding visual output is provided on a display panel.Touch sensitive surface can be realized with display panel as two independent parts
Input and input function, in certain embodiments, it is also possible to by Touch sensitive surface and display panel it is integrated and realize input and export
Function.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the information of foregoing description
Implementing for processing method, may be referred to the correspondence description in product embodiments.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another equipment is closed or is desirably integrated into, or some features can be ignored, or do not perform.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location.Can select according to the actual needs therein some or all of
Unit realizes the purpose of this embodiment scheme.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of image processing method, including:
At least two field pictures are obtained, and obtains at least one of every two field picture target object;
Splicing is carried out at least two field pictures using the first processing mode, spliced splicing picture is obtained;
Determine from least one target object corresponding to the first object object in the splicing picture designated area, profit
The first object object is processed with second processing mode, the second target object after being processed;
Second target object is merged with the splicing picture.
2. the method for claim 1, wherein
The second processing mode is that spherical projection and/or the face of cylinder project.
3. the method for claim 1, wherein
The splicing picture designated area is the fringe region of the splicing picture.
4. the method for claim 1, wherein
The acquisition at least two field pictures include:At least two field pictures distinguish corresponding depth information described in obtaining;
It is described to determine from least one target object corresponding to the first object thing in the splicing picture designated area
Body includes:Using the depth information of image where the first object object, by the first object object and with its depth of field model
Enclose other different objects to make a distinction, to choose the first object object.
5. it is the method for claim 1, wherein described that second target object is merged with the splicing picture
Including:
Second target object is adaptively adjusted size;
Second target object after by adjustment replaces the first object object in the splicing picture, with the splicing picture
Merged.
6. a kind of picture processing device, including:
Acquiring unit, is configured to obtain at least two field pictures, and obtain at least one of every two field picture target object;
Concatenation unit, is configured to carry out splicing at least two field pictures using the first processing mode, after being spliced
Splicing picture;
Processing unit, is configured to determine to correspond in the splicing picture designated area from least one target object
First object object, is processed the first object object using second processing mode, the second target after being processed
Object;
Integrated unit, is configured to be merged second target object with the splicing picture.
7. device as claimed in claim 6, wherein,
The second processing mode is that spherical projection and/or the face of cylinder project.
8. device as claimed in claim 6, wherein,
The splicing picture designated area is the fringe region of the splicing picture.
9. device as claimed in claim 6, wherein,
At least two field pictures described in the acquiring unit acquisition distinguish corresponding depth information;
The processing unit using image where the first object object depth information, by the first object object and with
Other different objects of its field depth make a distinction, to choose the first object object.
10. device as claimed in claim 6, wherein,
Second target object is adaptively adjusted size by the integrated unit;
Second target object after by adjustment replaces the first object object in the splicing picture, with the splicing picture
Merged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710207499.7A CN106815809B (en) | 2017-03-31 | 2017-03-31 | Picture processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710207499.7A CN106815809B (en) | 2017-03-31 | 2017-03-31 | Picture processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106815809A true CN106815809A (en) | 2017-06-09 |
CN106815809B CN106815809B (en) | 2020-08-25 |
Family
ID=59116430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710207499.7A Active CN106815809B (en) | 2017-03-31 | 2017-03-31 | Picture processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106815809B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107369129A (en) * | 2017-06-26 | 2017-11-21 | 深圳岚锋创视网络科技有限公司 | A kind of joining method of panoramic picture, device and portable terminal |
CN111105347A (en) * | 2019-11-19 | 2020-05-05 | 贝壳技术有限公司 | Method, device and storage medium for generating panoramic image with depth information |
CN111124231A (en) * | 2019-12-26 | 2020-05-08 | 维沃移动通信有限公司 | Picture generation method and electronic equipment |
CN111414902A (en) * | 2019-01-08 | 2020-07-14 | 北京京东尚科信息技术有限公司 | Image annotation method and device |
US11055835B2 (en) | 2019-11-19 | 2021-07-06 | Ke.com (Beijing) Technology, Co., Ltd. | Method and device for generating virtual reality data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599247A (en) * | 2015-01-04 | 2015-05-06 | 深圳市腾讯计算机系统有限公司 | Image correction method and device |
CN106447602A (en) * | 2016-08-31 | 2017-02-22 | 浙江大华技术股份有限公司 | Image mosaic method and device |
CN106506795A (en) * | 2016-09-13 | 2017-03-15 | 努比亚技术有限公司 | A kind of mobile terminal and image processing method |
-
2017
- 2017-03-31 CN CN201710207499.7A patent/CN106815809B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599247A (en) * | 2015-01-04 | 2015-05-06 | 深圳市腾讯计算机系统有限公司 | Image correction method and device |
CN106447602A (en) * | 2016-08-31 | 2017-02-22 | 浙江大华技术股份有限公司 | Image mosaic method and device |
CN106506795A (en) * | 2016-09-13 | 2017-03-15 | 努比亚技术有限公司 | A kind of mobile terminal and image processing method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107369129A (en) * | 2017-06-26 | 2017-11-21 | 深圳岚锋创视网络科技有限公司 | A kind of joining method of panoramic picture, device and portable terminal |
CN107369129B (en) * | 2017-06-26 | 2020-01-21 | 深圳岚锋创视网络科技有限公司 | Panoramic image splicing method and device and portable terminal |
CN111414902A (en) * | 2019-01-08 | 2020-07-14 | 北京京东尚科信息技术有限公司 | Image annotation method and device |
CN111105347A (en) * | 2019-11-19 | 2020-05-05 | 贝壳技术有限公司 | Method, device and storage medium for generating panoramic image with depth information |
US11055835B2 (en) | 2019-11-19 | 2021-07-06 | Ke.com (Beijing) Technology, Co., Ltd. | Method and device for generating virtual reality data |
US11721006B2 (en) | 2019-11-19 | 2023-08-08 | Realsee (Beijing) Technology Co., Ltd. | Method and device for generating virtual reality data |
CN111124231A (en) * | 2019-12-26 | 2020-05-08 | 维沃移动通信有限公司 | Picture generation method and electronic equipment |
CN111124231B (en) * | 2019-12-26 | 2021-02-12 | 维沃移动通信有限公司 | Picture generation method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106815809B (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106815809A (en) | A kind of image processing method and device | |
CN110070056B (en) | Image processing method, image processing apparatus, storage medium, and device | |
US8135440B2 (en) | System for using mobile communication terminal as pointer and method and medium thereof | |
JP6095763B2 (en) | Gesture registration device, gesture registration program, and gesture registration method | |
US9734379B2 (en) | Guided fingerprint enrollment | |
CN101228477B (en) | Real-time preview system and method for panoramic images | |
CN105933607B (en) | A kind of take pictures effect method of adjustment and the mobile terminal of mobile terminal | |
JP5300825B2 (en) | Instruction receiving device, instruction receiving method, computer program, and recording medium | |
CN106981048B (en) | Picture processing method and device | |
CN106484351A (en) | A kind of display control method and mobile terminal | |
CN110490179B (en) | License plate recognition method and device and storage medium | |
CN105827952A (en) | Photographing method for removing specified object and mobile terminal | |
CN103596812A (en) | Parking assistance device | |
CN110136091B (en) | Image processing method and related product | |
CN112749613B (en) | Video data processing method, device, computer equipment and storage medium | |
CN1860433B (en) | Method and system for controlling a user interface, a corresponding device and software devices for implementing the method | |
CN111597953A (en) | Multi-path image processing method and device and electronic equipment | |
CN110570460A (en) | Target tracking method and device, computer equipment and computer readable storage medium | |
CN106973222A (en) | The control method and mobile terminal of a kind of Digital Zoom | |
CN107222737A (en) | The processing method and mobile terminal of a kind of depth image data | |
CN106096043A (en) | A kind of photographic method and mobile terminal | |
CN110163862B (en) | Image semantic segmentation method and device and computer equipment | |
CN104052977A (en) | Interactive image projection method and device | |
CN110533019A (en) | License plate locating method, device and storage medium | |
CN107223255A (en) | A kind of image preview method and device based on iris recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |