CN105657256B - A kind of image processing method and electronic equipment - Google Patents
A kind of image processing method and electronic equipment Download PDFInfo
- Publication number
- CN105657256B CN105657256B CN201511021589.4A CN201511021589A CN105657256B CN 105657256 B CN105657256 B CN 105657256B CN 201511021589 A CN201511021589 A CN 201511021589A CN 105657256 B CN105657256 B CN 105657256B
- Authority
- CN
- China
- Prior art keywords
- image
- picture
- electronic equipment
- described image
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the invention discloses a kind of image processing methods, are applied to electronic equipment, and the electronic equipment includes at least two image acquisition units, which comprises obtains multiple images by described two image acquisition units;Obtain the first parameter of described image, wherein first parameter can characterize the depth of view information of described image;Described image is handled according to first parameter, and the image after processing is synthesized, obtains the Target Photo with Dynamically Announce effect.The embodiment of the present invention further simultaneously discloses a kind of electronic equipment.
Description
Technical field
The present invention relates to the picture Processing Techniques more particularly to a kind of image processing method and electronics in field of image processing
Equipment.
Background technique
With the popularization of electronic product, universal and development, electronic product function is more and more, performance is increasingly stronger, experience
It is more and more abundant, many conveniences are brought to people's lives.Currently, there are double front cameras to configure on some mobile phones,
User can carry out self-timer using double front cameras.
But these functions of foregoing description only may be implemented in the function of existing double front cameras.For user
For function it is fairly simple, the experience effect of user is also poor.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of image processing method and electronic equipment, solution
The problem of electronic equipment in the prior art with dual camera of having determined can not achieve the image with Dynamically Announce effect, subtracts
Lack operating process, the more conducively operation of user, improves the interaction capabilities of user and electronic equipment.
The technical scheme of the present invention is realized as follows:
A kind of image processing method is applied to electronic equipment, and the electronic equipment includes at least two image acquisition units,
The described method includes:
Multiple images are obtained by described two image acquisition units;
Obtain the first parameter of described image, wherein first parameter can characterize the depth of view information of described image;
Described image is handled according to first parameter, and the image after processing is synthesized, is had
There is the Target Photo of Dynamically Announce effect.
Optionally, first parameter is used to identify foreground part and the background part of described image.
Optionally, described that described image is handled according to first parameter, and the image after processing is carried out
Synthesis, obtains the Target Photo with Dynamically Announce effect, comprising:
It is handled according to first parameter described image is obtained, obtains foreground part and the background portion of described image
Point;
The background part of described image is handled, and according to the foreground part of described image and treated it is described after
Scape part obtains the Target Photo with Dynamically Announce effect.
Optionally, the background part to described image is handled, and according to the foreground part of described image and place
The background part after reason, obtains the Target Photo with Dynamically Announce effect, comprising:
Described image is handled, is obtained for the first picture set of the foreground part and for the background portion
The second picture set divided;Wherein, the first picture set includes multiple first pictures, and the second picture set includes more
Zhang Suoshu second picture;
To in the second picture set the second picture carry out stereoscopic effect processing, and according to described image before
Scape part and treated the background part, obtain the Target Photo with Dynamically Announce effect.
Optionally, the second picture progress stereoscopic effect processing in the second picture set, and according to
The foreground part of described image and treated the background part, obtain the Target Photo with Dynamically Announce effect, comprising:
The second picture is divided at least two parts, and adds secondary graphics at the division;
The second picture after first picture and processing is subjected to synthesis processing, and uses picture handling implement
It is handled, obtains the Target Photo with Dynamically Announce effect.
Optionally, the acquisition angle of the acquisition angle Yu other described images of at least one image in multiple described images
It is different.
A kind of electronic equipment, the electronic equipment include at least: two image acquisition units, the electronic equipment also wrap
It includes: acquiring unit and processing unit, in which:
Described two image acquisition units, for obtaining multiple images;
The acquiring unit, for obtaining the first parameter of described image, wherein first parameter can characterize described
The depth of view information of image;
The processing unit, for being handled according to first parameter described image, and by the figure after processing
As being synthesized, the Target Photo with Dynamically Announce effect is obtained.
Optionally, first parameter is used to identify foreground part and the background part of described image.
Optionally, the processing unit includes: to obtain module and processing module, in which:
The acquisition module obtains the figure for handling according to first parameter obtained described image
The foreground part of picture and background part;
The processing module is handled for the background part to described image, and according to the foreground portion of described image
Point and treated the background part, obtain the Target Photo with Dynamically Announce effect.
Optionally, the processing module is specifically used for:
The picture is handled, is obtained for the first picture set of the foreground part and for the background portion
The second picture set divided;Wherein, the first picture set includes multiple first pictures, and the second picture set includes more
Zhang Suoshu second picture;
To in the second picture set the second picture carry out stereoscopic effect processing, and according to described image before
Scape part and treated the background part, obtain the Target Photo with Dynamically Announce effect.
Optionally, the processing module is specifically also used to:
The second picture is divided at least two parts, and is added secondary graphics at the division;
The second picture after first picture and processing is handled, and is carried out using picture handling implement
Processing, obtains with Target Photo described in Dynamically Announce effect.
Optionally, the acquisition angle of the acquisition angle Yu other described images of at least one image in multiple described images
It is different.
Image processing method and electronic equipment provided by the embodiment of the present invention are obtained by two image acquisition units
First parameter of multiple images and image, the first parameter can characterize the depth of view information of image, and according to the first parameter to image
It is handled, and the image after processing is synthesized, obtain the Target Photo with Dynamically Announce effect;In this way, camera shooting
Head can directly handle collected picture to obtain the picture with Dynamically Announce effect, solve in the prior art
Electronic equipment with dual camera can not achieve the problem of image with Dynamically Announce effect, reduce operating process, more
Conducive to the operation of user, the interaction capabilities of user and electronic equipment are improved.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for image processing method that the embodiment of the present invention provides;
Fig. 2 is the flow diagram for another image processing method that the embodiment of the present invention provides;
Fig. 3 is the flow diagram for another image processing method that the embodiment of the present invention provides;
Fig. 4 is a kind of flow diagram for image processing method that another embodiment of the present invention provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention provides;
Fig. 6 is the structural schematic diagram for another electronic equipment that the embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
The embodiment of the present invention provides a kind of image processing method, and this method is applied in electronic equipment, and electronic equipment is extremely
It less include two image acquisition units, it is shown referring to Fig.1, method includes the following steps:
Step 101 obtains multiple images by two image acquisition units.
It can be specifically, step obtains multiple images by two image acquisition units by electronic equipment realization.Two
A image acquisition units preferably can be the same face positioned at electronic equipment, and two image acquisition units can be electronic equipment
On the same face positioned at electronic equipment two cameras, i.e. two front cameras or two rear cameras.Multiple figures
Image as can be the different acquisition angle for same target.
Step 102, the first parameter for obtaining image.
Wherein, the first parameter can characterize the depth of view information of image.
Specifically, the first parameter that step obtains image can be by electronic equipment and realize.Multiple images can be
Shot by an image acquisition units in two image acquisition units, obtain image the first parameter can be by
What another elementary area for not shooting image in two image acquisition units was realized.
Step 103 handles image according to the first parameter, and the image after processing is synthesized, and is had
There is the Target Photo of Dynamically Announce effect.
Specifically, step is handled image according to the first parameter, and the image after processing is synthesized, obtain
Target Photo with Dynamically Announce effect, which can be by electronic equipment, to be realized.It can be according to the first of obtained image the ginseng
Number, obtains foreground part and the background part of image, and handle the background part of image, by the image after processing
The synthesis of the foreground part of background part and image, finally obtains the Target Photo with Dynamically Announce effect.
Image processing method provided by the embodiment of the present invention, by two image acquisition units obtain multiple images and
First parameter of image, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and
Image after processing is synthesized, the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly right
Collected picture is handled to obtain the picture with Dynamically Announce effect, is solved in the prior art with dual camera
Electronic equipment the problem of can not achieve the image with Dynamically Announce effect, reduce operating process, the more conducively behaviour of user
Make, improves the interaction capabilities of user and electronic equipment.
The embodiment of the present invention provides a kind of image processing method, and this method is applied in electronic equipment, and electronic equipment is extremely
It less include two image acquisition units, two image acquisition units can be the first image acquisition units and the second Image Acquisition list
Member, referring to shown in Fig. 2, method includes the following steps:
Step 201, electronic equipment obtain multiple images by two image acquisition units.
Wherein, electronic equipment can obtain at least four images by two image acquisition units, in this way, what is obtained has
The dynamic effect of the Target Photo of dynamic effect is more preferable.
Step 202, electronic equipment obtain the first parameter of image.
Wherein, the first parameter can characterize the depth of view information of image, for identifying foreground part and the background part of image.
Specifically, the first image acquisition units are for obtaining figure for two image acquisition units of electronic equipment
Picture, the second image acquisition units are analyzed and processed the every image got, respectively obtain first parameter of every image,
In order to identify the foreground part and background part of every image.
Step 203, electronic equipment are handled obtained image according to the first parameter, obtain image foreground part and
Background part.
Specifically, can be in electronic equipment without acquire image the second image acquisition units to the first Image Acquisition
First Parameter analysis of every image in multiple images that unit is got is handled, and respectively obtains the foreground part of every image
With background part.
Step 204, electronic equipment handle the background part of image, and according to the foreground part and processing of image after
Background part, obtain the Target Photo with Dynamically Announce effect.
Specifically, can be in electronic equipment without acquire image the second image acquisition units to the first Image Acquisition
Every image in multiple images that unit is got carries out separating treatment, obtain about foreground part picture set and about
Then the picture set of background part is handled every picture in the picture set about background part, later will place
Every picture in the picture set about background part after reason in the corresponding picture set about foreground part
Picture carries out synthesis processing, finally obtains the Target Photo with Dynamically Announce effect.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Image processing method provided by the embodiment of the present invention, by two image acquisition units obtain multiple images and
First parameter of image, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and
Image after processing is synthesized, the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly right
Collected picture is handled to obtain the picture with Dynamically Announce effect, is solved in the prior art with dual camera
Electronic equipment the problem of can not achieve the image with Dynamically Announce effect, reduce operating process, the more conducively behaviour of user
Make, improves the interaction capabilities of user and electronic equipment.
The embodiment of the present invention provides a kind of image processing method, and this method is applied in electronic equipment, and electronic equipment is extremely
It less include two image acquisition units, referring to shown in Fig. 3, method includes the following steps:
Step 301, electronic equipment obtain multiple images by two image acquisition units.
Wherein, the acquisition angle of at least one image in multiple images is different from the acquisition angle of other images.It is preferred that
, there may be the difference of default degree between the acquisition angle of each image in multiple images, it is particularly possible to be each
It opens the acquisition angle of image and there may be the difference of default degree between the acquisition angle for obtaining sequentially adjacent image.
Specifically, obtain multiple images at least one image shooting angle and other images shooting angle not
Together, it can be the difference with default degree.Preferably, the shooting angle of each image in multiple images with it is other every
The shooting angle of one image is different, in this way, what is obtained has dynamic aobvious after finally handling multiple obtained images
Show that the dynamic effect of the Target Photo of effect can be more clear.Wherein, default degree can be user according to can obtain
The difference of the shooting angle allowed between the picture of Dynamically Announce effect with preferable effect is arranged in the electronic device in advance
's.For example, one group of image with different shape or movement can be shot for same target, used at this time using reorganization image
After image processing method provided in the present invention is handled, obtained dynamic effect can be more cheer and bright.
Step 302, electronic equipment obtain the first parameter of image.
Wherein, the first parameter can characterize the depth of view information of image, for identifying foreground part and the background part of image.
Step 303, electronic equipment are handled obtained image according to the first parameter, obtain image foreground part and
Background part.
Step 304, electronic equipment handle image, after obtaining the first picture set for foreground part and being directed to
The second picture set of scape part.
Wherein, the first picture set includes multiple first pictures, and second picture set includes multiple second pictures.
Specifically, the second image acquisition units without acquiring image in electronic equipment obtain the first image acquisition units
Every image in multiple images got carries out separating treatment, respectively obtains the first figure of the foreground part for every image
The second picture set of piece set and the background part for every image.The quantity of the first picture in first picture set and
The quantity of second picture in second picture set can be identical, it is preferred that include at least four in the first picture set
First picture, likewise, including at least four second pictures in second picture set.
Step 305, electronic equipment carry out stereoscopic effect processing to the second picture in second picture set, and according to image
Foreground part and treated background part, obtain the Target Photo with Dynamically Announce effect.
Specifically, electricity, which can be electronic equipment, carries out dynamic three-dimensional effect to every second picture in second picture set
Processing can be by the way that every second picture is split processing, and realize in segmentation portion increase secondary graphics;It
Afterwards, every second picture after progress stereoscopic effect processing can be closed with the first picture corresponding in the first picture set
At, and multiple images after synthesis can be carried out by dynamic effect using image processing tool and handle to obtain with dynamic effect
Target Photo.It is of course also possible to be that electronic equipment itself handles to obtain to multiple images progress dynamic effect after synthesis
Target Photo with dynamic effect, had for specifically handling multiple images progress dynamic effect after synthesis
The mode of the Target Photo of dynamic effect does not limit uniquely herein, and any in the prior art may be implemented will be at multiple images
It is feasible for managing and obtain the scheme of the picture with dynamic effect.Preferably, the lattice of the Target Photo with dynamic effect
Formula can be GIF format, and certainly, the format for being merely illustrative Target Photo herein can be GIF format, and there is no limit mesh
The format of piece of marking on a map can only be GIF format, any to be ok with the picture format that picture is presented in Dynamically Announce effect.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Image processing method provided by the embodiment of the present invention, by two image acquisition units obtain multiple images and
First parameter of image, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and
Image after processing is synthesized, the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly right
Collected picture is handled to obtain the picture with Dynamically Announce effect, is solved in the prior art with dual camera
Electronic equipment the problem of can not achieve the image with Dynamically Announce effect, reduce operating process, the more conducively behaviour of user
Make, improves the interaction capabilities of user and electronic equipment.
The embodiment of the present invention provides a kind of image processing method, and this method is applied in electronic equipment, and electronic equipment is extremely
It less include two image acquisition units, referring to shown in Fig. 4, method includes the following steps:
Step 401, electronic equipment obtain multiple images by two image acquisition units.
Wherein, the acquisition angle of at least one image in multiple images is different from the acquisition angle of other images.It is preferred that
, there may be the difference of default degree between the acquisition angle of each image in multiple images, it is particularly possible to be each
It opens the acquisition angle of image and there may be the difference of default degree between the acquisition angle for obtaining sequentially adjacent image.
Specifically, obtain multiple images at least one image shooting angle and other images shooting angle not
Together, it can be the difference with default degree.Preferably, the shooting angle of each image in multiple images with it is other every
The shooting angle of one image is different, in this way, what is obtained has dynamic aobvious after finally handling multiple obtained images
Show that the dynamic effect of the Target Photo of effect can be more clear.Wherein, default degree can be user according to can obtain
The difference of the shooting angle allowed between the picture of Dynamically Announce effect with preferable effect is arranged in the electronic device in advance
's.For example, one group of image with different shape or movement can be shot for same target, used at this time using reorganization image
After image processing method provided in the present invention is handled, obtained dynamic effect can be more cheer and bright.
Step 402, electronic equipment obtain the first parameter of image.
Wherein, the first parameter can characterize the depth of view information of image, for identifying foreground part and the background part of image.
Step 403, electronic equipment are handled obtained image according to the first parameter, obtain image foreground part and
Background part.
Step 404, electronic equipment handle image, after obtaining the first picture set for foreground part and being directed to
The second picture set of scape part.
Wherein, the first picture set includes multiple first pictures, and second picture set includes multiple second pictures.
Second picture is divided at least two parts by step 405, electronic equipment, and secondary graphics are added at division.
Specifically, every second picture in obtained second picture set can be split processing by electronic equipment,
So that every second picture is divided at least two parts, it is preferred that every second picture can be divided into three parts, at this time
The stereoscopic effect of presentation is best.Later, secondary graphics are formed in the segmentation portion of every second picture, it can be at every second
The segmentation portion of picture carries out setting-out processing.
Second picture after first picture and processing is carried out synthesis processing by step 406, electronic equipment, and uses picture
Handling implement is handled, and the Target Photo with Dynamically Announce effect is obtained.
Specifically, electronic equipment can will be split and form every second after assistant images are handled in segmentation portion
Picture is synthesized with corresponding every first picture, and certainly, the second picture after the first picture of synthesis and processing can be
It is realized using picture handling implement.Later, multiple images after synthesis can be carried out by dynamic using image processing tool
Effect process obtains the Target Photo with dynamic effect.It is of course also possible to be electronic equipment itself to multiple after synthesis
Image carries out dynamic effect and handles to obtain the Target Photo with dynamic effect, for specifically by multiple images after synthesis
The mode that progress dynamic effect handles to obtain the Target Photo with dynamic effect does not limit uniquely herein, in the prior art
It is any to may be implemented multiple image procossings and to obtain the scheme of the picture with dynamic effect be feasible.Preferably, have
There is the format of the Target Photo of dynamic effect to can be GIF format, certainly, the format for being merely illustrative Target Photo herein can
Think GIF format, can only be GIF format there is no the format for limiting Target Photo, it is any to be presented with Dynamically Announce effect
The picture format of picture is ok.
Following electronic equipment is to be illustrated for the mobile phone with preposition dual camera: preposition being taken the photograph using double on mobile phone
It is the picture on iceberg, specifically, four pictures can be mobile phone as head obtains the squirrels that four have different shape and Background
On the first front camera shooting shine, later the second front camera on mobile phone obtain respectively the first front camera bat
First parameter of the every picture in four pictures taken the photograph, and corresponding picture is obtained according to the first parameter of every picture
Foreground part and background part;Wherein, the foreground part of every picture can be squirrel, and the background part of every picture can be
Iceberg;Then the foreground part of every image and background are partially separated, are obtained for the foreground part i.e. squirrel of different shape
The first picture set and for background part, that is, iceberg second picture set;There are four squirrels in first picture set
Picture, with the picture on four icebergs in second picture set;By the second picture on every iceberg in second picture set point
Be segmented into three parts, and carry out pencilling processing in segmentation portion, later, by the picture of every squirrel with it is every after corresponding processing
The picture of Zhang Bingshan is synthesized, and can show white line on the background part of the picture after synthesizing, but foreground part
White line will not show appearance, and four pictures after synthesis have very strong stereoscopic effect;It can be by the tool after synthesis
There are four pictures of stereoscopic effect to carry out image procossing, obtains the picture with Dynamically Announce effect, the Dynamically Announce effect
Picture can be the picture of GIF format.Wherein it is possible to be will there is stereoscopic effect after synthesis using image processing tool
Four pictures carry out image procossing, obtain the picture with Dynamically Announce effect.It is of course also possible to be that electronic equipment itself is right
Multiple images after synthesis carry out dynamic effect and handle to obtain the Target Photo with dynamic effect, for will specifically synthesize
The mode that multiple images progress dynamic effect later handles to obtain the Target Photo with dynamic effect is not done uniquely herein
Limit, in the prior art it is any may be implemented by multiple image procossings and obtain the picture with dynamic effect scheme be can
Capable.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Image processing method provided by the embodiment of the present invention, by two image acquisition units obtain multiple images and
First parameter of image, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and
Image after processing is synthesized, the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly right
Collected picture is handled to obtain the picture with Dynamically Announce effect, is solved in the prior art with dual camera
Electronic equipment the problem of can not achieve the image with Dynamically Announce effect, reduce operating process, the more conducively behaviour of user
Make, improves the interaction capabilities of user and electronic equipment.
The embodiment of the present invention provides a kind of electronic equipment, can be applied to one kind that the corresponding embodiment in Fig. 1~4 provides
In image processing method, referring to Figure 5, which includes: the first image acquisition units 51, the second image acquisition units
52, acquiring unit 53 and processing unit 54, in which:
First image acquisition units 51 and the second image acquisition units 52, are used to obtain multiple images.
Wherein, the first parameter can characterize the depth of view information of image.
Acquiring unit 53, for obtaining the first parameter of image.
Processing unit 54 for being handled according to the first parameter image, and the image after processing is synthesized,
Obtain the Target Photo with Dynamically Announce effect.
Electronic equipment provided by the embodiment of the present invention obtains multiple images and image by two image acquisition units
The first parameter, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and will place
Image after reason is synthesized, and the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly to acquisition
To picture handled to obtain the picture with Dynamically Announce effect, solve the electricity in the prior art with dual camera
Sub- equipment can not achieve the problem of image with Dynamically Announce effect, reduces operating process, the more conducively operation of user, mentions
The high interaction capabilities of user and electronic equipment.
Specifically, the first parameter is used to identify foreground part and the background part of image.
Further, referring to shown in Fig. 6, processing unit 54 includes: to obtain module 541 and processing module 542, in which:
Module 541 is obtained, for handling according to the first parameter image is obtained, obtains the foreground part of image with after
Scape part.
Processing module 542 is handled for the background part to image, and according to the foreground part and processing of image after
Background part, obtain the Target Photo with Dynamically Announce effect.
Specifically, processing module 542 is specifically used for executing following steps:
Picture is handled, the second picture for the first picture set of foreground part and for background part is obtained
Set.
Wherein, the first picture set includes multiple first pictures, and second picture set includes multiple second pictures.
Stereoscopic effect processing is carried out to the second picture in second picture set, and according to the foreground part and processing of image
Background part afterwards, obtains the Target Photo with Dynamically Announce effect.
Further, processing module 542 specifically is also used to execute following steps:
Second picture is divided at least two parts, and is added secondary graphics at division.
Second picture after first picture and processing is handled, and is handled using picture handling implement, is obtained
To with Dynamically Announce effect Target Photo.
Wherein, the acquisition angle of at least one image in multiple images is different from the acquisition angle of other images.
Preferably, there may be the difference of default degree between the acquisition angle of each image in multiple images, especially
Its acquisition angle that can be each image and there may be pre- between the acquisition angle for obtaining sequentially adjacent image
If the difference of degree.
It is corresponded to it should be noted that the interactive process in the present embodiment between each unit and module is referred to Fig. 1~4
Embodiment provide a kind of image processing method in interactive process, details are not described herein again.
Electronic equipment provided by the embodiment of the present invention obtains multiple images and image by two image acquisition units
The first parameter, the first parameter can characterize the depth of view information of image, and be handled according to the first parameter image, and will place
Image after reason is synthesized, and the Target Photo with Dynamically Announce effect is obtained;In this way, camera can be directly to acquisition
To picture handled to obtain the picture with Dynamically Announce effect, solve the electricity in the prior art with dual camera
Sub- equipment can not achieve the problem of image with Dynamically Announce effect, reduces operating process, the more conducively operation of user, mentions
The high interaction capabilities of user and electronic equipment.
In practical applications, the first image acquisition unit 51, the second image acquisition units 52, acquiring unit 53, place
Manage unit 54, obtain module 541 and processing module 542 can by central processing unit (Central Processing Unit,
CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal
Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of image processing method, is applied to electronic equipment, the electronic equipment includes at least two image acquisition units, institute
The method of stating includes:
Multiple images are obtained by image acquisition units;
Obtain the first parameter of described image, wherein first parameter can characterize the depth of view information of described image;
Described image is handled according to first parameter, obtains foreground part and the background part of described image;
The background part of described image is handled, and according to the foreground part of described image and treated the background portion
Point, obtain the Target Photo with Dynamically Announce effect.
2. the method according to claim 1, wherein
First parameter is used to identify foreground part and the background part of described image.
3. the method according to claim 1, wherein the background part to described image is handled, and
According to the foreground part of described image and treated the background part, the Target Photo with Dynamically Announce effect is obtained,
Include:
Described image is handled, is obtained for the first picture set of the foreground part and for the background part
Second picture set;Wherein, the first picture set includes multiple first pictures, and the second picture set includes multiple institutes
State second picture;
Stereoscopic effect processing is carried out to the second picture in the second picture set, and according to the foreground portion of described image
Point and treated the background part, obtain the Target Photo with Dynamically Announce effect.
4. according to the method described in claim 3, it is characterized in that, second figure in the second picture set
Piece carries out stereoscopic effect processing, and according to the foreground part of described image and treated the background part, obtains having dynamic
The Target Photo of state display effect, comprising:
The second picture is divided at least two parts, and adds secondary graphics at the division;
The second picture after first picture and processing is subjected to synthesis processing, and is carried out using picture handling implement
Processing, obtains the Target Photo with Dynamically Announce effect.
5. method according to any one of claims 1 to 4, which is characterized in that
The acquisition angle of at least one image in multiple described images is different from the acquisition angle of other described images.
6. a kind of electronic equipment, which is characterized in that the electronic equipment includes at least: two image acquisition units, the electronics
Equipment further include: acquiring unit and processing unit, in which:
Image acquisition units, for obtaining multiple images;
The acquiring unit, for obtaining the first parameter of described image, wherein first parameter can characterize described image
Depth of view information;
The processing unit obtains the foreground portion of described image for handling according to first parameter described image
Divide and background part;
The processing unit is handled for the background part to described image, and according to the foreground part of described image and
Treated the background part, obtains the Target Photo with Dynamically Announce effect.
7. electronic equipment according to claim 6, which is characterized in that
First parameter is used to identify foreground part and the background part of described image.
8. electronic equipment according to claim 6, which is characterized in that the processing unit includes processing module, the place
Reason module is specifically used for:
The picture is handled, is obtained for the first picture set of the foreground part and for the background part
Second picture set;Wherein, the first picture set includes multiple first pictures, and the second picture set includes multiple institutes
State second picture;
Stereoscopic effect processing is carried out to the second picture in the second picture set, and according to the foreground portion of described image
Point and treated the background part, obtain the Target Photo with Dynamically Announce effect.
9. electronic equipment according to claim 8, which is characterized in that the processing module is specifically also used to:
The second picture is divided at least two parts, and is added secondary graphics at the division;
The second picture after first picture and processing is handled, and using at picture handling implement
Reason, obtains with Target Photo described in Dynamically Announce effect.
10. according to any electronic equipment of claim 6~9, which is characterized in that at least one in multiple described images
The acquisition angle of image and the acquisition angle of other described images are different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021589.4A CN105657256B (en) | 2015-12-30 | 2015-12-30 | A kind of image processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021589.4A CN105657256B (en) | 2015-12-30 | 2015-12-30 | A kind of image processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105657256A CN105657256A (en) | 2016-06-08 |
CN105657256B true CN105657256B (en) | 2019-03-29 |
Family
ID=56490112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511021589.4A Active CN105657256B (en) | 2015-12-30 | 2015-12-30 | A kind of image processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105657256B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5133816B2 (en) * | 2008-08-22 | 2013-01-30 | オリンパスイメージング株式会社 | Camera, image composition method, and program |
CN104113682B (en) * | 2013-04-22 | 2018-08-31 | 联想(北京)有限公司 | A kind of image acquiring method and electronic equipment |
CN103984944B (en) * | 2014-03-06 | 2017-08-22 | 北京播点文化传媒有限公司 | The method and apparatus that target object in one group of image is extracted and continuously played |
CN104618572B (en) * | 2014-12-19 | 2018-02-16 | 广东欧珀移动通信有限公司 | The photographic method and device of a kind of terminal |
CN105120256A (en) * | 2015-07-31 | 2015-12-02 | 努比亚技术有限公司 | Mobile terminal and method and device for synthesizing picture by shooting 3D image |
-
2015
- 2015-12-30 CN CN201511021589.4A patent/CN105657256B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105657256A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106355153B (en) | A kind of virtual objects display methods, device and system based on augmented reality | |
KR102458339B1 (en) | Electronic Apparatus generating 360 Degrees 3D Stereoscopic Panorama Images and Method thereof | |
CN107682688B (en) | Video real-time recording method and recording equipment based on augmented reality | |
CN104376545B (en) | A kind of method and a kind of electronic equipment of information processing | |
WO2015070668A1 (en) | Image processing method and apparatus | |
JP2010522469A (en) | System and method for region classification of 2D images for 2D-TO-3D conversion | |
KR102149463B1 (en) | Electronic device and method for processing image | |
US20230274471A1 (en) | Virtual object display method, storage medium and electronic device | |
CN102467756A (en) | Perspective method used for a three-dimensional scene and apparatus thereof | |
CN110866977A (en) | Augmented reality processing method, device and system, storage medium and electronic equipment | |
CN105898138A (en) | Panoramic video play method and device | |
CN110505471A (en) | One kind wearing display equipment and its screen capture method, apparatus | |
EP4178194A1 (en) | Video generation method and apparatus, and readable medium and electronic device | |
CN107610239B (en) | Virtual try-on method and device for facial makeup | |
CN103634588A (en) | Image composition method and electronic apparatus | |
CN105701762A (en) | Picture processing method and electronic equipment | |
CN106201259A (en) | A kind of method and apparatus sharing full-view image in virtual reality system | |
KR20120046802A (en) | Apparatus and method of creating 3 dimension panorama image by using a camera | |
CN105872521A (en) | 2D video playing method and device | |
CN111612878A (en) | Method and device for making static photo into three-dimensional effect video | |
CN110192391B (en) | Processing method and equipment | |
CN104539868A (en) | Information processing method and electronic equipment | |
US20140198177A1 (en) | Realtime photo retouching of live video | |
CN111223169A (en) | Three-dimensional animation post-production method and device, terminal equipment and cloud rendering platform | |
CN115048954A (en) | Retina-imitating target detection method and device, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |