CN104410793A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN104410793A
CN104410793A CN201410785163.5A CN201410785163A CN104410793A CN 104410793 A CN104410793 A CN 104410793A CN 201410785163 A CN201410785163 A CN 201410785163A CN 104410793 A CN104410793 A CN 104410793A
Authority
CN
China
Prior art keywords
image
subgraph
pixel
environment
distance
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
Application number
CN201410785163.5A
Other languages
Chinese (zh)
Other versions
CN104410793B (en
Inventor
陈杰峰
徐立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410785163.5A priority Critical patent/CN104410793B/en
Publication of CN104410793A publication Critical patent/CN104410793A/en
Application granted granted Critical
Publication of CN104410793B publication Critical patent/CN104410793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image processing method applied to electronic equipment. The method comprises steps as follows: a first image which is acquired by a first image acquisition unit and comprises an object as well as a second image which is acquired by a second image acquisition unit and comprises the object are acquired; i ranges from 1 to N sequentially, the i<th> distance between an i<th> pixel point of N pixel points in an identical zone image of the first image and the second image and a first connecting line of the first image acquisition unit and the second image acquisition unit is acquired through calculation, and N distances are acquired totally when i is N; a third object sub-image corresponding to the object is acquired on the basis of the N distances as well as a first object sub-image and/or a second object sub-image; at least one third image different from a first environment sub-image and a second environment sub-image is acquired.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of image processing method and electronic equipment.
Background technology
Along with the reach of science, increasing electronic equipment enters the life of people, and such as, smart mobile phone, panel computer, notebook computer etc., these electronic equipments bring great change to the life of people.
At present, for smart mobile phone, utilizing front-facing camera or post-positioned pick-up head to carry out taking pictures is one of function of commonly using of people.Often, after user has taken photo, background subgraph in discovery image or prospect subgraph are not that oneself is expected, as when scenic spot shooting who object, there will be other visitors in the environment subgraph of photographic images, and don't want to allow these visitors become the environment subgraph of task object subgraph, at this moment will be processed by the environment subgraph of image processing techniques to image.
But present inventor is in the process realizing technical scheme in the embodiment of the present invention, find that above-mentioned prior art at least exists following technical problem:
In prior art, after electronic device user downloads and installs image processing software, the process that the environment subgraph of image processing software to image is replaced can be utilized, at present, except finding the technical scheme of the process except utilizing the environment subgraph of image processing software to image to replace, also do not find other technical scheme that environment subgraph is processed.
Visible, there is the technical problem single to the treatment technology of environment subgraph in electronic equipment of the prior art.
Due to the existence of above-mentioned technical problem, also cause the user of electronic equipment, when not downloading and installing image processing software, can not effectively process pictures taken, and reach customer satisfaction system image processing effect, and then, there is user in use electronic equipment process, the problem that user experience is not high.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and electronic equipment, there is the technical problem single to the treatment technology of environment subgraph for solving electronic equipment of the prior art, and then realize the diversified technique effect of the treatment technology of electronic equipment to environment subgraph.
According to a first aspect of the invention, a kind of image processing method is provided, be applied to an electronic equipment, described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, described method comprises: obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment obtained by described first image acquisition units collection, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment, get i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer, based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph, obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph, synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
Optionally, i-th pixel in the described N number of pixel calculated in the same area image obtaining described first image and described second image, to i-th distance of the first line between described first image acquisition units and described second image acquisition units, specifically comprises: obtain the first length that the first line between described first image acquisition units and described second image acquisition units is corresponding; Obtain the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line; Based on described first incident angle and described second incident angle and described first length, obtain i-th distance of described i-th vegetarian refreshments to described first line.
Optionally, described based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain the three object subgraph corresponding with described object, specifically comprise: based on described N number of distance, from described first image, extract described first object subgraph; And based on described N number of distance, from described second image, extract described second object subgraph; Based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 2D image, described based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph, specifically comprise: detect acquisition one and select operation; Respond described selection operation, determine that described first object subgraph or described second object subgraph are described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 3D rendering, described based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph, specifically comprise: synthesize described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
Optionally, described based on described N number of distance, described first object subgraph is extracted from described first image, specifically comprise: for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments; When described i-th judged result is for being, determining that described i-th pixel is described subject image vegetarian refreshments, when i is N, from the N number of pixel described first image, determining that M pixel is described subject image vegetarian refreshments; Extract the image that a described M pixel is corresponding, as described first object subgraph.
Optionally, described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, described method also comprises: when described i-th judged result is no, and described i-th distance is when being less than described first predeterminable range, determine that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph; When i is N, from the N number of pixel described first image, determine that K pixel is described first foreground pixel point; Extract the image that a described K pixel is corresponding, as the first prospect subgraph of described first prospect.
Optionally, described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, described method also comprises: when described i-th judged result is no, and described i-th distance is when being greater than described second predeterminable range, determine that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph; When i is N, from the N number of pixel described first image, determine that P pixel is described first background pixel point; Extract the image that a described P pixel is corresponding, as the first background subgraph of described first background.
According to a further aspect in the invention, a kind of electronic equipment is also provided, described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, described electronic equipment comprises: the first acquiring unit, for obtaining the first image comprising the first object subgraph of an object and the first environment subgraph of first environment obtained by described first image acquisition units collection, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment, first computing unit, for getting i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer, second acquisition unit, for based on described N number of distance and described first object subgraph and/or described second object subgraph, obtains with described as the 3rd corresponding object subgraph, 3rd acquiring unit, for obtaining at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph, first synthesis unit, for the synthesis of described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
Optionally, described first computing unit, specifically comprises: the first acquisition module, for obtaining the first length corresponding to the first line between described first image acquisition units and described second image acquisition units; Second acquisition module, for obtaining the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line; 3rd acquisition module, for based on described first incident angle and described second incident angle and described first length, obtains i-th distance of described i-th vegetarian refreshments to described first line.
Optionally, described second acquisition unit, specifically comprises: the first extraction module, for based on described N number of distance, extracts described first object subgraph from described first image; And second extraction module, for based on described N number of distance, from described second image, extract described second object subgraph; 4th acquisition module, for based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 2D image, described 4th acquisition module, specifically comprises: first obtains submodule, selects operation for detecting acquisition one; First determines submodule, for responding described selection operation, determines that described first object subgraph or described second object subgraph are described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 3D rendering, described 4th sub-acquisition module, specifically comprise: the first synthon module, for the synthesis of described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
Optionally, described first extraction module, specifically comprise: first judges submodule, for for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments; Second determines submodule, for when described i-th judged result is for being, determines that described i-th pixel is described subject image vegetarian refreshments, when i is N, determines that M pixel is described subject image vegetarian refreshments from the N number of pixel described first image; First extracts submodule, for extracting image corresponding to a described M pixel, as described first object subgraph.
Optionally, described first extraction module also comprises: the 3rd determines submodule, for when described i-th judged result be no, and described i-th distance is when being less than described first predeterminable range, determine that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph; 4th determines submodule, for when i is N, determines that K pixel is described first foreground pixel point from the N number of pixel described first image; Second extracts submodule, for extracting image corresponding to a described K pixel, as the first prospect subgraph of described first prospect.
Optionally, described first extraction module also comprises: the 5th determines submodule, for when described i-th judged result be no, and described i-th distance is when being greater than described second predeterminable range, determine that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph; 6th determines submodule, for when i is N, determines that P pixel is described first background pixel point from the N number of pixel described first image; 3rd extracts submodule, for extracting image corresponding to a described P pixel, as the first background subgraph of described first background.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
The first, because the electronic equipment in the technical scheme in the embodiment of the present application can based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph; Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph; Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.That is: the technical scheme in the embodiment of the present application, can store according to electronic equipment or from the 3rd image that network side obtains, electronic equipment be processed by the first image of image acquisition units and the environment subgraph of the second image, to reach the satisfied image effect of electronic device user, and in prior art, only after electronic device user downloads and installs image processing software, the process that the environment subgraph of image processing software to image is replaced could be utilized, so, technical scheme in the embodiment of the present application effectively can solve electronic equipment of the prior art and there is the technical problem single to the treatment technology of environment subgraph, and then realize the diversified technique effect of the treatment technology of electronic equipment to environment subgraph.
The second, because electronic equipment in the technical scheme in the embodiment of the present application can be stored according to electronic equipment or be processed by the first image of image acquisition units and the environment subgraph of the second image electronic equipment from the 3rd image that network side obtains.So, efficiently solve the user of electronic equipment in prior art, when not downloading and installing image processing software, effectively can not process pictures taken, and reach customer satisfaction system image processing effect, and then, there is user in use electronic equipment process, the problem that user experience is not high, thus reach saving user time, improve the effect of user experience.
Three, due to the electronic equipment in the technical scheme in the embodiment of the present application, while can accurately determining object subgraph, realize accurately determining the first prospect subgraph and the first background subgraph, like this, more convenient electronic device user is to the process of environment subgraph.So, achieve the effect improving electronic device user further and experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of image processing method in the embodiment of the present application;
Fig. 2 is the first image and the second image that in the embodiment of the present application, the first image acquisition units and the second image acquisition units gather;
Fig. 3 is the flow chart of the step S102 of a kind of image processing method of the embodiment of the present application;
Fig. 4 be in the step S102 of a kind of image processing method of the embodiment of the present application on subject a bit and the first image acquisition units of electronic equipment and the concrete schematic diagram of the second image acquisition units;
Fig. 5 is the realization flow figure of the first step in the step S103 of a kind of image processing method of the embodiment of the present application;
Fig. 6 is the first scheme realization flow figure in the 3rd step in the step S103 of a kind of image processing method of the embodiment of the present application;
The block diagram of a kind of electronic equipment that Fig. 7 provides for the embodiment of the present application two.
Embodiment
The embodiment of the present invention provides a kind of image processing method and electronic equipment, there is the technical problem single to the treatment technology of environment subgraph for solving electronic equipment of the prior art, and then realize the diversified technique effect of the treatment technology of electronic equipment to environment subgraph.
For solving the problems of the technologies described above and realizing above-mentioned technique effect, in the embodiment of the present application, the general thought of technical scheme is as follows:
A kind of image processing method, be applied to an electronic equipment, described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, and described method comprises:
Obtain by described first image acquisition units collection obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment;
Get i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
Based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph;
Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
Because the electronic equipment in the technical scheme in the embodiment of the present application can based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph; Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph; Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.That is: the technical scheme in the embodiment of the present application, can store according to electronic equipment or from the 3rd image that network side obtains, electronic equipment be processed by the first image of image acquisition units and the environment subgraph of the second image, to reach the satisfied image effect of electronic device user, and in prior art, only after electronic device user downloads and installs image processing software, the process that the environment subgraph of image processing software to image is replaced can be utilized, so, technical scheme in the embodiment of the present application effectively can solve electronic equipment of the prior art and there is the technical problem single to the treatment technology of environment subgraph, and then realize the diversified technique effect of the treatment technology of electronic equipment to environment subgraph.
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can combine mutually.
Please refer to Fig. 1, the embodiment of the present application provides a kind of image processing method, is applied in an electronic equipment, and described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, and described method comprises:
S101: obtain by described first image acquisition units collection obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment;
S102: get i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
S103: based on described N number of distance and described first object subgraph and/or described second object subgraph, obtains with described as the 3rd corresponding object subgraph;
S104: obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
S105: synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
In the embodiment of the present application, will be panel computer for the first electronic equipment, the implementation procedure of the method in the embodiment of the present application will be described in detail.Panel computer in the embodiment of the present application has different the first camera i.e. the first image acquisition units and second camera i.e. the second image acquisition units in two positions.Specifically, the first camera can be arranged on the left frame of panel computer, and second camera can be arranged on the left frame of panel computer; First camera can also be arranged on the upper side frame of panel computer, and second camera can also be arranged on the lower frame of panel computer.Certainly, in specific implementation process, those of ordinary skill in the art can also arrange the position of the first camera and second camera according to actual conditions, and at this, just differing in the application one schematically illustrates.
When being panel computer for the first electronic equipment, step S101 is implemented as:
The distance upper side frame of the embodiment of the present application middle plateform computer being provided with the first camera 10 and second camera 20, first camera 10 and second camera 20 is 65 millimeters.First camera 10 comprises the first image 40 of an object 30 with the primary importance collection at its place, and second camera 20 comprises the second image 50 of an object 30 with the second place collection at its place.Wherein, the first image 40 and the second image 50 all comprise object 30.Because the primary importance at the first camera 10 place is different from the second place at second camera 20 place, therefore, the first image 40 is different from the second image 50, please refer to Fig. 2.
Please refer to Fig. 3, in the embodiment of the present application, after execution of step S101, then the specific implementation process performing step S102, step S102 is as follows:
S201: obtain the first length that the first line between described first image acquisition units and described second image acquisition units is corresponding;
S202: obtain the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line;
S203: based on described first incident angle and described second incident angle and described first length, obtain i-th distance of described i-th vegetarian refreshments to described first line.
Continuing for the first electronic equipment is panel computer, is described the specific implementation of step S102:
Please refer to Fig. 4, the upper side frame of panel computer is provided with the first camera 10 and between second camera 20, first camera 10 and second camera 20, first line AB distance is 65 millimeters.The first convex lens in first camera 10 are 3.0 millimeters to the distance of imageing sensor, and equally, the second convex lens in second camera 20 are also 3.0 millimeters to the distance of imageing sensor.Further, suppose that the image that panel computer LCDs shows contains 800 pixels in the horizontal direction, the image of LCDs display is in vertical direction containing 600 pixels, and with the summit, the lower left corner of the image of LCDs display for initial point, set up LCDs image coordinate, the vertical centering control separated time that can obtain LCDs image is 400.
In first image 40, i-th pixel is (500 in the first LCDs image coordinate, 300), in the second image 50 in the second LCDs image coordinate (520,300), according to above-mentioned data, in first image 40, i-th pixel is 100 to the first distance of vertical centering control separated time, in second image, i-th pixel is 120 to the first distance that vertical centering control divides, and so according to the first distance 100, the first convex lens in second distance 120 first camera 10 are 3.0 millimeters to the distance of imageing sensor, utilize the triangle law of tangents, namely the first incidence angle θ=17 degree can be obtained according to this formula, according to same principle, the second incidence angle Φ=22 degree can be obtained, last based on the first incidence angle, the second incidence angle and the first line AB, according to similar triangles theorem, the vertical range H that can obtain between i-th pixel to the first line AB is 978 millimeters.When i is N, obtain the N number of vertical range between N number of pixel in the first image 40 and the second image 50 to the first line AB.
After execution of step S102, perform step S103: based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph.Step S103 specific implementation process is specially:
The first step, based on described N number of distance, extracts described first object subgraph from described first image 40; And
Second step, based on described N number of distance, extracts described second object subgraph from described second image 50;
3rd step, based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph.
Wherein, please refer to Fig. 5, the specific implementation process of first step comprises:
S301: for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments;
S302: when described i-th judged result is for being, determines that described i-th pixel is described subject image vegetarian refreshments, when i is N, determines that M pixel is described subject image vegetarian refreshments from the N number of pixel described first image 40;
S303: extract the image that a described M pixel is corresponding, as described first object subgraph.
After executing the first step, described method also comprises:
The first step: when described i-th judged result is no, and when described i-th distance is less than described first predeterminable range, determines that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph;
Second step: when i is N, determines that from the N number of pixel described first image 40 K pixel is described first foreground pixel point;
3rd step: extract the image that a described K pixel is corresponding, as the first prospect subgraph of described first prospect.
After executing the first step, described method also comprises:
4th step: when described i-th judged result is no, and when described i-th distance is greater than described second predeterminable range, determines that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph;
5th step: when i is N, determines that from the N number of pixel described first image 40 P pixel is described first background pixel point;
6th step: extract the image that a described P pixel is corresponding, as the first background subgraph of described first background.
In the embodiment of the present application, after in acquisition first image 40, i-th pixel is 978 millimeters to the vertical range of the first line AB, when preset range is 500-1000 millimeter, judge vertical range whether in a preset range 500-1000 millimeter, because 978 millimeters in preset range 500-1000 millimeter, obtain i-th judged result.
Wherein, in step S301-S302, object in the embodiment of the present application in the first image 40 is for a personage, when i-th judged result is for being, determine that i-th pixel is the pixel of target figure, when i is N, from N number of pixel of the first image 40, determine M the pixel of target figure;
After determining M pixel, from N number of pixel, extract the first object subgraph that M pixel is corresponding, extract by the personage's subgraph in the first image 40 and be saved in the memory of panel computer, use for successive image process.
In the first step in the 3rd step, object in the embodiment of the present application in the first image 40 is equally for the first personage, after in acquisition first image 40, in 800 × 600 pixels, i-th pixel is 450 millimeters to the vertical range of the first line AB, when preset range is 500-1000 millimeter, judge vertical range whether in a preset range 500-1000 millimeter, because 450 millimeters are less than preset range 500-1000 millimeter.
When i-th judged result is no, then illustrate that i-th pixel is not pixel corresponding to target figure, and when i-th pixel is less than predeterminable range to the vertical range of the first line AB, then illustrate that i-th pixel is the first foreground pixel point of target figure, as a pixel of the flower of in face of target task or a little cat.When i is N, from the first image 40, N number of pixel determines K the pixel belonging to the first prospect.
After determining M pixel, extract the first foreground image that K pixel is corresponding from N number of pixel, the first foreground image by the first image 40 extracts and is saved in the memory of panel computer, uses for successive image process.
In the 4th step in the 6th step, object in the embodiment of the present application in the first image 40 is equally for the first personage, after in acquisition first image 40, in 800 × 600 pixels, i-th pixel is 1500 millimeters to the vertical range of the first line AB, when preset range is 500-1000 millimeter, judge vertical range whether in a preset range 500-1000 millimeter, because 1500 millimeters are greater than preset range 500-1000 millimeter.
When i-th judged result is no, then illustrate that i-th pixel is not pixel corresponding to target figure, and when i-th pixel is greater than predeterminable range to the vertical range of the first line AB, then illustrate that the i-th pixel is not pixel corresponding to target figure, and when i-th pixel is greater than predeterminable range to the vertical range of the first line AB, then illustrate that i-th pixel is the first background pixel point of target figure, as the pixel of target figure's other personage or grids etc. behind.When i is N, from the first image 40, N number of pixel determines P the pixel belonging to the first background.
After determining P pixel, extract the first background image that P pixel is corresponding from N number of pixel, the first background image by the first image 40 extracts and is saved in the memory of panel computer, uses for successive image process.
In the embodiment of the present application, the same first step of implementation of second step, here repeats no more.After executing the first step and second step, perform the 3rd step, have two schemes in the specific implementation process of third step, wherein, the first scheme, please refer to Fig. 6, is specially:
S401: detect acquisition one and select operation;
S402: respond described selection operation, determine that described first object subgraph or described second object subgraph are described 3rd object subgraph.
In the embodiment of the present application, electronic device user can select one as the 3rd object subgraph according to oneself needing from the first object subgraph and the second object subgraph.
Have two schemes in the specific implementation process of third step, wherein, first scheme, is specially:
Synthesize described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
In the embodiment of the present application, suppose that the image that panel computer LCDs shows contains 800 pixels in the horizontal direction, the image of LCDs display is in vertical direction containing 600 pixels, and with the summit, the lower left corner of the image of LCDs display for initial point, set up LCDs image coordinate, each pixel length is in vertical direction 0.01 millimeter, and the ratio of the image captured by camera and the image shown by LCDs is 1:1.Computing module in panel computer is based on the first two-dimensional coordinate (500 pixels of i-th pixel in the first scene, 300 pixels), the second two-dimensional coordinate (520 pixels, 300 pixels), in the first image 40 a bit in the first LCDs image to first distance 100 pixels, the second image 50 of vertical centering control separated time a bit in second distance 120 pixel of the second LCDs image to vertical centering control separated time, the two-dimensional coordinate of point is converted to three dimensional space coordinate, the three-dimensional coordinate changing rear i-th pixel is (358.6mm, 0mm, 978mm).Because at least one point in object can be put corresponding with at least one in three dimensions by panel computer.Therefore, the computing module in panel computer can calculate according to the position relationship of at least one point in object and annexation each other the 3D rendering obtained for characterizing described object in three bit digital spaces.
After execution of step S103, perform step S104: obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph.
In the embodiment of the present application, because electronic device user is unsatisfied with the first foreground image or first background image of the first image 40 or the second image 50, and wish the first foreground image or the first background image that are replaced to expectation.Then electronic equipment can from the memory of electronic equipment, and memory can be the memory of electronic equipment internal, as: built-in hard disk; Also can be the external memory storage be connected with electronic equipment, as: portable hard drive, USB flash disk and CD etc.In addition, electronic equipment also can download the 3rd satisfied image of electronic device user from network side, and wherein, the 3rd image is different with second environment subgraph from first environment subgraph, and the 3rd image is the ambient image of electronic device user satisfaction.
After acquisition the 3rd image and execution of step S104, perform step S105: synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
In the embodiment of the present application, the 3rd object subgraph will be obtained, for the personage in the first image 40 and the second image 50, then the 3rd object subobject is personage's subobject, personage's subobject and the 3rd object subobject are synthesized, just obtaining the satisfied object of electronic device user is personage, and environment subgraph is the 3rd object subgraph, instead of the unsatisfied first prospect subgraph of electronic device user or background subgraph.
Embodiment two
Based on the inventive concept same with a kind of image processing method of the embodiment of the present application, please refer to Fig. 7, the embodiment of the present application provides a kind of electronic equipment, described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, and described electronic equipment comprises:
First acquiring unit 60, for obtain by described first image acquisition units collection obtain the first image 40 comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image 50 comprising the second object subgraph of described object and the second environment subgraph of second environment;
First computing unit 61, for getting i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image 40 and described second image 50 to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
Second acquisition unit 62, for based on described N number of distance and described first object subgraph and/or described second object subgraph, obtains with described as the 3rd corresponding object subgraph;
3rd acquiring unit 63, for obtaining at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
First synthesis unit 64, for the synthesis of described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
Optionally, described first computing unit 61, specifically comprises:
First acquisition module, for obtaining the first length corresponding to the first line between described first image acquisition units and described second image acquisition units;
Second acquisition module, for obtaining the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line;
3rd acquisition module, for based on described first incident angle and described second incident angle and described first length, obtains i-th distance of described i-th vegetarian refreshments to described first line.
Optionally, described second acquisition unit 62, specifically comprises:
First extraction module, for based on described N number of distance, extracts described first object subgraph from described first image 40; And
Second extraction module, for based on described N number of distance, extracts described second object subgraph from described second image 50;
4th acquisition module, for based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 2D image, described 4th acquisition module, specifically comprises:
First obtains submodule, selects operation for detecting acquisition one;
First determines submodule, for responding described selection operation, determines that described first object subgraph or described second object subgraph are described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 3D rendering, described 4th sub-acquisition module, specifically comprises:
First synthon module, for the synthesis of described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
Optionally, described first extraction module, specifically comprises:
First judges submodule, for for the N number of pixel in the described same area image in described first image 40, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments;
Second determines submodule, for when described i-th judged result is for being, determines that described i-th pixel is described subject image vegetarian refreshments, when i is N, determines that M pixel is described subject image vegetarian refreshments from the N number of pixel described first image 40;
First extracts submodule, for extracting image corresponding to a described M pixel, as described first object subgraph.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
The first, because the electronic equipment in the technical scheme in the embodiment of the present application can based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph; Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph; Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.That is: the technical scheme in the embodiment of the present application, can store according to electronic equipment or from the 3rd image that network side obtains, electronic equipment be processed by the first image of image acquisition units and the environment subgraph of the second image, to reach the satisfied image effect of electronic device user, and in prior art, only after electronic device user downloads and installs image processing software, the process that the environment subgraph of image processing software to image is replaced can be utilized, so, technical scheme in the embodiment of the present application effectively can solve electronic equipment of the prior art and there is the technical problem single to the treatment technology of environment subgraph, and then realize the diversified technique effect of the treatment technology of electronic equipment to environment subgraph.
The second, because electronic equipment in the technical scheme in the embodiment of the present application can be stored according to electronic equipment or be processed by the first image of image acquisition units and the environment subgraph of the second image electronic equipment from the 3rd image that network side obtains.So, efficiently solve the user of electronic equipment in prior art, when not downloading and installing image processing software, effectively can not process pictures taken, and reach customer satisfaction system image processing effect, and then, there is user in use electronic equipment process, the problem that user experience is not high, thus reach saving user time, improve the effect of user experience.
Three, due to the electronic equipment in the technical scheme in the embodiment of the present application, while can accurately determining object subgraph, realize accurately determining prospect subgraph and background subgraph, like this, more convenient electronic device user is to the process of environment subgraph.So, achieve the effect improving electronic device user further and experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
Obtain by described first image acquisition units collection obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment;
Get i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
Based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph;
Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
Optionally, that store in described storage medium and step: described calculating obtains i-th distance of i-th pixel in the N number of pixel in the same area image of described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Obtain the first length that the first line between described first image acquisition units and described second image acquisition units is corresponding;
Obtain the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line;
Based on described first incident angle and described second incident angle and described first length, obtain i-th distance of described i-th vegetarian refreshments to described first line.
Optionally, that store in described storage medium and step: described based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain the three object subgraph corresponding with described object, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Based on described N number of distance, from described first image, extract described first object subgraph;
And based on described N number of distance, from described second image, extract described second object subgraph;
Based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 2D image, storage in described storage medium and step: based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Detect acquisition one and select operation; Respond described selection operation, determine that described first object subgraph or described second object subgraph are described 3rd object subgraph.
Optionally, when described 3rd object subgraph is 3D rendering, storage in described storage medium and step: described based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Synthesize described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
Optionally, the storage in described storage medium and step: described based on described N number of distance, extract described first object subgraph from described first image, and corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
For the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments;
When described i-th judged result is for being, determining that described i-th pixel is described subject image vegetarian refreshments, when i is N, from the N number of pixel described first image, determining that M pixel is described subject image vegetarian refreshments;
Extract the image that a described M pixel is corresponding, as described first object subgraph.
Optionally, storage in described storage medium and step: described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, corresponding computer instruction is specifically being performed in process, and described method also comprises the steps:
When described i-th judged result is no, and when described i-th distance is less than described first predeterminable range, determine that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph;
When i is N, from the N number of pixel described first image, determine that K pixel is described first foreground pixel point;
Extract the image that a described K pixel is corresponding, as the first prospect subgraph of described first prospect.
Optionally, storage in described storage medium and step: described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, corresponding computer instruction is specifically being performed in process, and described method also comprises the steps:
When described i-th judged result is no, and when described i-th distance is greater than described second predeterminable range, determine that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph;
When i is N, from the N number of pixel described first image, determine that P pixel is described first background pixel point;
Extract the image that a described P pixel is corresponding, as the first background subgraph of described first background.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. an image processing method, is applied to an electronic equipment, and described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, and described method comprises:
Obtain by described first image acquisition units collection obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment;
Get i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
Based on described N number of distance and described first object subgraph and/or described second object subgraph, obtain with described as the 3rd corresponding object subgraph;
Obtain at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
Synthesize described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
2. the method for claim 1, it is characterized in that, i-th pixel in the described N number of pixel calculated in the same area image obtaining described first image and described second image, to i-th distance of the first line between described first image acquisition units and described second image acquisition units, specifically comprises:
Obtain the first length that the first line between described first image acquisition units and described second image acquisition units is corresponding;
Obtain the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line;
Based on described first incident angle and described second incident angle and described first length, obtain i-th distance of described i-th vegetarian refreshments to described first line.
3. method as claimed in claim 2, is characterized in that, described based on described N number of distance and described first object subgraph and/or described second object subgraph, obtains the three object subgraph corresponding with described object, specifically comprises:
Based on described N number of distance, from described first image, extract described first object subgraph; And
Based on described N number of distance, from described second image, extract described second object subgraph;
Based on described first object subgraph and/or described second object subgraph, obtain described 3rd object subgraph.
4. method as claimed in claim 3, is characterized in that, when described 3rd object subgraph is 2D image, described based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph, specifically comprises:
Detect acquisition one and select operation;
Respond described selection operation, determine that described first object subgraph or described second object subgraph are described 3rd object subgraph.
5. method as claimed in claim 3, is characterized in that, when described 3rd object subgraph is 3D rendering, described based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph, specifically comprises:
Synthesize described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
6. method as claimed in claim 3, is characterized in that, described based on described N number of distance, extracts described first object subgraph, specifically comprise from described first image:
For the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments;
When described i-th judged result is for being, determining that described i-th pixel is described subject image vegetarian refreshments, when i is N, from the N number of pixel described first image, determining that M pixel is described subject image vegetarian refreshments;
Extract the image that a described M pixel is corresponding, as described first object subgraph.
7. method as claimed in claim 6, it is characterized in that, described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, described method also comprises:
When described i-th judged result is no, and when described i-th distance is less than described first predeterminable range, determine that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph;
When i is N, from the N number of pixel described first image, determine that K pixel is described first foreground pixel point;
Extract the image that a described K pixel is corresponding, as the first prospect subgraph of described first prospect.
8. method as claimed in claim 6, it is characterized in that, described for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, after obtaining i-th judged result, described method also comprises:
When described i-th judged result is no, and when described i-th distance is greater than described second predeterminable range, determine that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph;
When i is N, from the N number of pixel described first image, determine that P pixel is described first background pixel point;
Extract the image that a described P pixel is corresponding, as the first background subgraph of described first background.
9. an electronic equipment, described electronic equipment is provided with the multiple image acquisition units at least comprising the first image acquisition units and the second image acquisition units, and described electronic equipment comprises:
First acquiring unit, for obtain by described first image acquisition units collection obtain the first image comprising the first object subgraph of an object and the first environment subgraph of first environment, and by described second image acquisition units collection obtain the second image comprising the second object subgraph of described object and the second environment subgraph of second environment;
First computing unit, for getting i successively from 1 to N, calculate i-th distance of i-th pixel in the N number of pixel in the same area image obtaining described first image and described second image to the first line between described first image acquisition units and described second image acquisition units, when i is N, obtain N number of distance altogether, wherein, N be more than or equal to 2 integer;
Second acquisition unit, for based on described N number of distance and described first object subgraph and/or described second object subgraph, obtains with described as the 3rd corresponding object subgraph;
3rd acquiring unit, for obtaining at least one the 3rd image, at least one the 3rd image described is different from described first environment subgraph and described second environment subgraph;
First synthesis unit, for the synthesis of described 3rd object subgraph and at least one the 3rd image described, obtain the 4th image, wherein, in described 4th image, at least one the 3rd image described is the ambient image of described 3rd object subgraph.
10. electronic equipment as claimed in claim 9, it is characterized in that, described first computing unit, specifically comprises:
First acquisition module, for obtaining the first length corresponding to the first line between described first image acquisition units and described second image acquisition units;
Second acquisition module, for obtaining the second line between described i-th pixel and described first image acquisition units and the first incidence angle between described first line, and the 3rd line between described i-th pixel and described second image acquisition units and the second incidence angle between described first line;
3rd acquisition module, for based on described first incident angle and described second incident angle and described first length, obtains i-th distance of described i-th vegetarian refreshments to described first line.
11. electronic equipments as claimed in claim 10, it is characterized in that, described second acquisition unit, specifically comprises:
First extraction module, for based on described N number of distance, extracts described first object subgraph from described first image; And
Second extraction module, for based on described N number of distance, extracts described second object subgraph from described second image;
4th acquisition module, for based on described first object subgraph and/or described second object subgraph, obtains described 3rd object subgraph.
12. electronic equipments as claimed in claim 11, is characterized in that, when described 3rd object subgraph is 2D image, described 4th acquisition module, specifically comprises:
First obtains submodule, selects operation for detecting acquisition one;
First determines submodule, for responding described selection operation, determines that described first object subgraph or described second object subgraph are described 3rd object subgraph.
13. electronic equipments as claimed in claim 11, is characterized in that, when described 3rd object subgraph is 3D rendering, described 4th sub-acquisition module, specifically comprises:
First synthon module, for the synthesis of described first object subgraph and described second object subgraph, obtain object 3D rendering, described object 3D rendering is described 3rd object subgraph.
14. electronic equipments as claimed in claim 11, it is characterized in that, described first extraction module, specifically comprises:
First judges submodule, for for the N number of pixel in the described same area image in described first image, judge described i-th distance whether in a preset range, obtain i-th judged result, wherein, described preset range comprises the first predeterminable range and is greater than the second predeterminable range of described first predeterminable range, and the pixel in described preset range is subject image vegetarian refreshments;
Second determines submodule, for when described i-th judged result is for being, determines that described i-th pixel is described subject image vegetarian refreshments, when i is N, determines that M pixel is described subject image vegetarian refreshments from the N number of pixel described first image;
First extracts submodule, for extracting image corresponding to a described M pixel, as described first object subgraph.
15. electronic equipments as claimed in claim 14, it is characterized in that, described first extraction module also comprises:
3rd determines submodule, for when described i-th judged result be no, and described i-th distance is when being less than described first predeterminable range, determine that described i-th pixel is the first foreground pixel point of the first prospect belonging to described first environment in described first environment subgraph;
4th determines submodule, for when i is N, determines that K pixel is described first foreground pixel point from the N number of pixel described first image;
Second extracts submodule, for extracting image corresponding to a described K pixel, as the first prospect subgraph of described first prospect.
16. electronic equipments as claimed in claim 14, it is characterized in that, described first extraction module also comprises:
5th determines submodule, for when described i-th judged result be no, and described i-th distance is when being greater than described second predeterminable range, determine that described i-th pixel is the first background pixel point of the first background belonging to described first environment in described first environment subgraph;
6th determines submodule, for when i is N, determines that P pixel is described first background pixel point from the N number of pixel described first image;
3rd extracts submodule, for extracting image corresponding to a described P pixel, as the first background subgraph of described first background.
CN201410785163.5A 2014-12-16 2014-12-16 A kind of image processing method and electronic equipment Active CN104410793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410785163.5A CN104410793B (en) 2014-12-16 2014-12-16 A kind of image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410785163.5A CN104410793B (en) 2014-12-16 2014-12-16 A kind of image processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104410793A true CN104410793A (en) 2015-03-11
CN104410793B CN104410793B (en) 2018-08-10

Family

ID=52648380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410785163.5A Active CN104410793B (en) 2014-12-16 2014-12-16 A kind of image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104410793B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076190A (en) * 2016-04-22 2018-12-21 株式会社S1 Detect the device and method of abnormal conditions

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245626A1 (en) * 2008-04-01 2009-10-01 Fujifilm Corporation Image processing method, image processing apparatus, and image processing program
CN103679788A (en) * 2013-12-06 2014-03-26 华为终端有限公司 3D image generating method and device in mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245626A1 (en) * 2008-04-01 2009-10-01 Fujifilm Corporation Image processing method, image processing apparatus, and image processing program
CN103679788A (en) * 2013-12-06 2014-03-26 华为终端有限公司 3D image generating method and device in mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刁茜: "《基于散集图的图像前景区域提取算法研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076190A (en) * 2016-04-22 2018-12-21 株式会社S1 Detect the device and method of abnormal conditions
US10853664B2 (en) 2016-04-22 2020-12-01 S-1 Corporation Device and method for detecting abnormal situation
CN109076190B (en) * 2016-04-22 2021-03-02 株式会社S1 Apparatus and method for detecting abnormal condition

Also Published As

Publication number Publication date
CN104410793B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN109242961B (en) Face modeling method and device, electronic equipment and computer readable medium
KR102149374B1 (en) Privacy-sensitive query for localization area description files
EP3099056B1 (en) Method and apparatus for displaying a light field based image on a user&#39;s device, and corresponding computer program product
CN111242908B (en) Plane detection method and device, plane tracking method and device
JP2018507476A (en) Screening for computer vision
KR102149463B1 (en) Electronic device and method for processing image
US10051180B1 (en) Method and system for removing an obstructing object in a panoramic image
KR20140122054A (en) converting device for converting 2-dimensional image to 3-dimensional image and method for controlling thereof
US10565726B2 (en) Pose estimation using multiple cameras
US11044398B2 (en) Panoramic light field capture, processing, and display
CN110084797B (en) Plane detection method, plane detection device, electronic equipment and storage medium
CN105554367A (en) Movement photographing method and mobile terminal
CN108616733B (en) Panoramic video image splicing method and panoramic camera
US20120105601A1 (en) Apparatus and method for creating three-dimensional panoramic image by using single camera
CN114663618A (en) Three-dimensional reconstruction and correction method, device, equipment and storage medium
CN105338238A (en) Photographing method and electronic device
CN111630523A (en) Image feature extraction method and device
CN104735356A (en) Panorama picture shooting method and device
CN111357034A (en) Point cloud generation method, system and computer storage medium
US20220013047A1 (en) Orientated display method and apparatus for audio device, and audio device
CN109791703B (en) Generating three-dimensional user experience based on two-dimensional media content
CN105744168A (en) Information processing method and electronic device
CN105827932A (en) Image synthesis method and mobile terminal
CN103512557B (en) Electric room is relative to location determining method and electronic equipment
CN104378620A (en) Image processing method and electronic device

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