CN105657239A - Image processing method and device - Google Patents
Image processing method and device Download PDFInfo
- Publication number
- CN105657239A CN105657239A CN201510204311.4A CN201510204311A CN105657239A CN 105657239 A CN105657239 A CN 105657239A CN 201510204311 A CN201510204311 A CN 201510204311A CN 105657239 A CN105657239 A CN 105657239A
- Authority
- CN
- China
- Prior art keywords
- preview
- region
- image
- preview image
- camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides an image processing method and device. The method comprises the following steps of: starting image acquisition functions of a first camera and a second camera of electronic equipment while detecting a preset instruction; obtaining a first preview image acquired by the first camera and a second preview image acquired by the second camera; and splitting the first preview image with the second preview image to form a synthetic image while detecting an image grabbing instruction. By means of the method and the device, the image grabbing flexibility of the electronic equipment can be improved.
Description
Technical field
The application relates to technical field of image processing, says more specifically and relates to a kind of image processing method and device.
Background technology
At present, the electronics such as mobile phone, panel computer generally all have former and later two cameras. User can utilize front camera to autodyne, and utilize after camera be that other people make a video recording or take the landscape on this user opposite. But it being limited to the setting of electronics own dimensions and camera, in a lot of situation, user oneself cannot utilize electronics to absorb this user and other people or other scenery group photo. As, when user wishes to take pictures souvenir in certain tourist attractions, then other visitors that need to seek help take pictures for this user; And for example, when two or more user present positions, scope can not be in the image pickup scope of same camera, and cannot realize group photo.
Summary of the invention
In view of this, this application provides a kind of image processing method and device, it is possible to improve the handiness that electronics carries out image capture.
For achieving the above object, the application provides following technical scheme: a kind of image processing method, comprising:
When preset instructions being detected, starting the first camera of electronics and the image collecting function of second camera, wherein, described first camera and described second camera are on two panels being parallel to each other of described electronics respectively;
Obtain the first preview image that described first camera collection arrives, and the 2nd preview image that described second camera collects;
When image capture instruction being detected, described first preview image and described 2nd preview image are spliced into composograph.
Preferably, at the first preview image that described first camera collection of described acquisition arrives, and after the 2nd preview image that collects of described second camera, also comprise:
The first preview area that described first preview image is displayed in display screen, and described 2nd preview image is displayed in the 2nd preview area of described display screen, wherein, described first preview area is different from described 2nd preview area.
Preferably, described first preview image is being displayed in the first preview area of display screen, and while described 2nd preview image is displayed in the 2nd preview area of described display screen, is also comprising:
Preset connection picture is shown in the 3rd preview area of described display screen; Wherein, described 3rd preview area is different from described first preview area and described 2nd preview area, and described 3rd preview area is adjacent with described 2nd preview area with described first preview area.
Preferably, described described first preview image and described 2nd preview image are spliced into composograph, comprising:
Described first preview image is arranged on the first of described composograph to be synthesized and represents region, described 2nd preview image is arranged on the 2nd of described composograph to be synthesized and represents region, and represent, based on described first, the relative position relation that region and the described 2nd represents region, described first preview image and described 2nd preview image are spliced into described composograph;Wherein, described first represents region to represent region from the described 2nd different.
Preferably, represent, based on described first, the relative position relation that region and the described 2nd represents region described, before described first preview image and described 2nd preview image are spliced into described composograph, also comprise:
Preset connection picture is arranged on the 3rd of described image to be synthesized and represents region, wherein, described 3rd represents region and described first represents region and the described 2nd to represent region all not identical, and the described 3rd represents region and represent region and the described 2nd with described first to represent region adjacent;
Then described represent, based on described first, the position relation that region and the described 2nd represents region, described first preview image and described 2nd preview image be spliced into described composograph, comprising:
The relative position relation that region, the 2nd represents region and the described 3rd and represent region is represented based on described first, respectively described first preview image and described 2nd preview image are spliced with the described picture that is connected, splice, to obtain, the described composograph having described first preview image, the 2nd preview image and described connection picture.
Preferably, after getting the first preview image and the 2nd preview image, described first preview image is displayed in the first preview area of display screen, and described first preview image is displayed in the 2nd preview area of described display screen, and the 3rd of display screen represent region show described connection picture time, described first preview area, the relative position relation of the 2nd preview area and the 3rd preview area and described first represents region, 2nd to represent region identical with the 3rd relative position relation representing between region, and described 3rd preview area represent the shape in region with the described 3rd identical.
On the other hand, present invention also provides a kind of image processing apparatus, comprising:
Camera control unit, for when preset instructions being detected, starting the first camera of electronics and the image collecting function of second camera, wherein, described first camera and described second camera are on two panels being parallel to each other of described electronics respectively;
Image acquisition unit, for obtaining the first preview image that described first camera collection arrives, and the 2nd preview image that described second camera collects;
Concatenation unit, for when image capture instruction being detected, being spliced into composograph by described first preview image and described 2nd preview image.
Preferably, also comprise:
First preview display unit, for the first preview image arrived at described image acquisition unit described first camera collection of acquisition, and after the 2nd preview image that collects of described second camera, described first preview image is displayed in the first preview area of display screen, and described 2nd preview image is displayed in the 2nd preview area of described display screen, wherein, described first preview area is different from described 2nd preview area.
Preferably, also comprise:
2nd preview display unit, for described first preview image being displayed at described first preview display unit the first preview area of display screen, and while being displayed in the 2nd preview area of described display screen by described 2nd preview image, in the 3rd preview area of described display screen, show preset connection picture; Wherein, described 3rd preview area is different from described first preview area and described 2nd preview area, and described 3rd preview area is adjacent with described 2nd preview area with described first preview area.
Preferably, described concatenation unit, comprising:
First location setting unit, represents region for described first preview image is arranged on the first of described composograph to be synthesized, described 2nd preview image is arranged on the 2nd of described composograph to be synthesized and represents region;
Splicing subelement, for representing, based on described first, the relative position relation that region and the described 2nd represents region, is spliced into described composograph by described first preview image and described 2nd preview image; Wherein, described first represents region to represent region from the described 2nd different.
Preferably, also comprise:
Second position setting unit, region is represented for preset connection picture is arranged on the 3rd of described image to be synthesized, wherein, described 3rd represents region and described first represents region and the described 2nd to represent region all not identical, and the described 3rd represents region and represent region and the described 2nd from described first to represent region different;
Then described splicing subelement, comprising:
Three splicing subelements, for representing, based on described first, the relative position relation that region, the 2nd represents region and the described 3rd and represent region, respectively described first preview image and described 2nd preview image are spliced with the described picture that is connected, splice, to obtain, the described composograph having described first preview image, the 2nd preview image and described connection picture.
Preferably, when comprising described first preview display unit and the 2nd preview display unit when described device, then the relative position relation of described first preview area, the 2nd preview area and the 3rd preview area represents region, the 2nd to represent region identical with the 3rd relative position relation representing between region with described first, and described 3rd preview area represent the shape in region with the described 3rd identical.
Known via above-mentioned technical scheme, in this application, when preset instructions being detected, control this first camera and second camera is in opened condition simultaneously, and when image capture instruction being detected, by this first camera collection to the first preview image and the 2nd preview image that collects of second camera splice, obtain the composograph including the first preview image and the 2nd preview image, achieve and different for two places being in different camera image pickup scope scenery is absorbed in piece image simultaneously, so that user can with the group photo being in the people outside the image pickup scope at this user place or scenery, improve the handiness of shooting, avoid and need other people to take pictures for user, reduce the complexity of shooting.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present application, below the accompanying drawing used required in embodiment being described is briefly described, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 shows the schematic flow sheet of an a kind of image processing method embodiment of the application;
Fig. 2 a and Fig. 2 b respectively illustrates the first preview image that the first camera gets and the 2nd preview image that second camera gets;
It is a kind of schematic diagram of composograph by the image mosaic of Fig. 2 a and Fig. 2 b that Fig. 2 c shows;
It is another kind of schematic diagram of composograph by the image mosaic of Fig. 2 a and Fig. 2 b that Fig. 2 d shows;
Fig. 3 shows the schematic flow sheet of a kind of another embodiment of image processing method of the application;
Fig. 4 shows the structural representation of an a kind of image processing apparatus embodiment of the application.
Embodiment
This application provides a kind of image processing method and device, to improve the flexibility ratio of image capture, it is to increase the convenience that user and other people or scenery are taken a group photo.
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making other embodiments all obtained under creative work prerequisite, all belong to the scope of the application's protection.
See Fig. 1, it illustrates the schematic flow sheet of an a kind of image processing method embodiment of the application, the method for the present embodiment can comprise:
101, when preset instructions being detected, start the first camera of electronics and the image collecting function of second camera.
Wherein, this first camera and described second camera are on two panels being parallel to each other of this electronics respectively. That is, this first camera is not overlapping with the image acquisition region of second camera, as mobile phone, this first camera and second camera can be respectively the front camera of this mobile phone and rear camera.
Wherein, this preset instructions can set as required, this preset instructions is for triggering electronics control unlatching this first camera and second camera, while making the first camera carry out image collection in its image pickup scope, this second camera carries out image collection too in its image pickup scope
As, this preset instructions can be the camera of unlocking electronic equipment. Such as, for mobile phone, it is possible to be the camera icon clicked on mobile phone, trigger electronics and open camera.
And for example, this presets appointment can also be touch the specified button preset by this electronics. Such as, when this first camera and second camera are not all unlocked, when touching by after this specified button, then open this first camera and second camera simultaneously; Can also being after in the first camera and second camera a camera is opened, if touched by this specified button, then controlling this first camera and second camera is in opened condition simultaneously.
102, obtain the first preview image that this first camera collection arrives, and the 2nd preview image that this second camera collects.
Before image capture instruction being detected, this first camera and the 2nd picked-up head can gather image, but the image now collected not is the image finally absorbing imaging. For the ease of distinguishing the image that this two camera collections arrive, by this first camera collection to image be called the first preview image, the image that this second camera collects is called the 2nd preview image.
103, when image capture instruction being detected, this first preview image and the 2nd preview image are spliced into composograph.
Different from existing, when image capture instruction being detected in the embodiment of the present application, the composograph this first preview image and the 2nd preview image being spliced into is as finally absorbing the image arrived.
Wherein, when image capture instruction being detected, it is possible to be directly obtain this first preview image collected and the 2nd preview image and splice; Can also be after this image capture instruction being detected, control this first camera and second camera carries out image capture simultaneously, after picked-up to this first preview image and the 2nd preview image, then this first preview image and the 2nd preview image are spliced, obtain this composograph.
It should be appreciated that by by the first camera collection to the first preview image and the 2nd preview image that collects of this second camera splice, it is possible to different for two places scenery are absorbed in same piece image simultaneously. Like this, user just can absorb user based on this electronics a camera, and another camera absorbs other target persons to be captured outside this user or scenery, thus realizes user and other people or scenery group photo.
As, if user goes sight-seeing in hope wishes to take pictures in excursion centre souvenir in scenery process, then can pass through two cameras of unlocking electronic equipment while of the method for the application, make a camera just to user, and another camera is just treating photographed, when this user triggers image capture, then this electronics can by these two picked-ups to image splice, so that splice, the image contains this user and this scenery, reach the object of souvenir of taking pictures in this excursion centre.
And for example, for mobile phone, when user A and another user B has a meal in dining room, if when these two users sit relatively, if user A wishes to take a group photo with user B, then can trigger mobile phone starts former and later two cameras simultaneously, and gather user A and the image of user B respectively by these two cameras, after user A triggers mobile phone pickup image, the image that front camera and rear camera is collected by mobile phone splices, thus generates the group photo image of user A and user B.
In the embodiment of the present application, after preset instructions being detected, control this first camera and second camera is in opened condition simultaneously, and when image capture instruction being detected, by this first camera collection to the first preview image and the 2nd preview image that collects of second camera splice, obtain the composograph including the first preview image and the 2nd preview image, achieve and different for two places being in different camera image pickup scope scenery is absorbed in piece image simultaneously, so that user and the group photo being in the people outside the image pickup scope at this user place or scenery, improve the handiness of shooting, avoid and seek help that other people take pictures for user, reduce the complexity of shooting.
It is understandable that, in the embodiment of the present application, before this first preview image and the 2nd preview image are spliced into composograph, the position of the composograph that this first preview image synthesizes at these needs with the 2nd preview image can be set as required, as, this the first preview image can be arranged on the first of composograph to be synthesized and represent region, 2nd preview image is arranged on the 2nd of this composograph to be synthesized and represents region, and first represent the phase place position relation that region and the 2nd represents region based on this, undertaken being spliced into this composograph by this first preview image and the 2nd preview image. visible, in the present embodiment, the first of composograph represents the image that region correspond to this first camera and absorbs, and the 2nd represents region and correspond to second camera and absorb image, so that the represent position of the image that absorbs of two cameras in this composograph is fixed, so that user adjusts the target of the required picked-up of these two cameras as required.
Wherein, this first represents region and the 2nd and represents two different zones that region is this composograph. As, it is possible to composograph to be synthesized is divided into two symmetrical regions in left and right, and the region on the left side can be first represent region, and the region on the right can be the 2nd represent region. This first preview image just first can represent region to being arranged on this, and the 2nd preview image just can represent region to being arranged on the 2nd, and this first represents the image that region represents region with the 2nd and carry out merging and just obtain this composograph. As see Fig. 2 a-2c, wherein, Fig. 2 a it illustrates the schematic diagram of the first preview image that the first camera absorbs;Fig. 2 a, shows the schematic diagram of the 2nd preview image that second camera absorbs; Fig. 2 c shows the schematic diagram of the composograph being spliced into by the first preview image and the 2nd preview image. As can be seen from Fig. 2 a-2c, first preview image and the 2nd preview image all include the image of a personage, but the background of this two width image is not identical, and by splicing, make the personage contained in this composograph in the first preview image and the 2nd preview image, thus the group photo between achieving the personage being in different positions region.
It should be noted that, this first represents region and the 2nd and represents region and can not have overlap, in the case, it is possible to direct splicing first represents the image that region and the 2nd represents region and shows.
Certainly, this first represents region and the 2nd and represents region and can also have overlap, and this first represents the area of overlapping region that region and the 2nd represents region and be less than this and first represent the area that region and the 2nd represents any one region in region. In the case, if this first preview image being arranged on this first represent region, 2nd preview image is arranged on the 2nd when representing region, then this first preview image can exist overlapping with the 2nd preview image, then when splicing, after the part that can belong to this first preview image in cutting overlapping region or the part belonging to the 2nd preview image, then this first preview image and the 2nd preview image are spliced.
It is understandable that, owing to this first preview image and the 2nd preview image are respectively the image that two cameras absorb, and between the image capture scope of these two cameras, there is not common factor, make difference between the background of this two width image excessive, if directly this first preview image and the 2nd preview image spliced, then the stitching portion display of this two width picture can be made too lofty. In order to solve this problem, optionally, in the embodiment of the present application before this first preview image and the 2nd preview image are spliced, preset connection picture can also be arranged on the 3rd of this image to be synthesized and represent region, then first the relative position relation that region, the 2nd represents region and the 3rd and represent region is represented based on this, respectively with this, this first preview image and the 2nd preview image are connected picture to splice, splice, to obtain, the composograph having this first preview image, the 2nd preview image and connecting picture.
Wherein, the 3rd represents region and this first represents region and the 2nd to represent region all not identical, and the 3rd represents region first represents region and the 2nd with this to represent region adjacent. 3rd represents region can for regular figure, it is also possible to be irregular figure. And the 3rd represents region and first represent region and the 2nd with this to represent region adjacent, but the 3rd represents region and first represents region and the 2nd with this and represent that region is adjacent multiple situation.
As, the 3rd represents region can represent region and the 2nd to represent the shape in region identical with first, is a regular tetragon, then the 3rd represents region and can be in this and first represent the centre that region and the 2nd represents region. Accordingly, this is in the 3rd connection picture representing region can also be a regular picture, but the content on this picture can have multiple, specifically can arrange as required.
And for example, the 3rd represents region can for irregular figure, and this irregular figure surrounds this and first represent region and the 2nd and represent region, and accordingly, the shape that the shape of this connection picture represents region with the 3rd is identical. Such as, the 3rd to represent the shape in region can be a phase frame, or spectacle-frame. The form of shape as a spectacle-frame in region is represented for the 3rd, it is respectively this first to represent region and the 2nd in two picture frame inside of this spectacle-frame and represent region, and can have decorative pattern on this cell mount, thus the conflict existed between two width images after this image mosaic can being weakened by this spectacle-frame.
Can show the first preview image, the 2nd preview image and the schematic diagram connecting the composograph that picture is spliced into see Fig. 2 d for the ease of understanding. From this Fig. 2 d, 3rd to represent region be shape of photo holder frame formula, this phase frame is that centre has a cross bar, cross bar both sides show two width preview images, phase frame is this connection picture 21, respectively illustrate the first preview image 22 shown in Fig. 2 a and the 2nd preview image 23 shown in Fig. 2 b in two phase frame display spaces of this phase frame, this few width image mosaic just can be obtained the effect of the synthesising picture of this Fig. 2 d.
Certainly, representing region the 3rd and first represent under region and the 2nd represents the adjacent prerequisite in region with this, the 3rd represents region first can also represent region and the 2nd with this and represent in region a region or two regions and have overlapping.
Optionally, in any one embodiment above, after obtaining the first preview image and the 2nd preview image, it is also possible to: the first preview area that this first preview image is displayed in display screen, and the 2nd preview image is displayed in the 2nd preview area of this display screen. Wherein, this first preview area is different from described 2nd preview area. Display screen demonstrates this first preview image and the 2nd preview image whether be conducive to user to determine currently to absorb the parameter such as light, picked-up direction reasonable, thus be conducive to collecting the image more meeting customer need.
Further, after avoiding directly demonstrating this first preview image and the 2nd preview image, this first preview image and the 2nd preview image junction can seem lofty, it is possible to show preset connection picture in the 3rd preview area of this display screen; Wherein, the 3rd preview area is different from this first preview area and the 2nd preview area, and the 3rd preview area is adjacent with this first preview area and the 2nd preview area. Wherein, the shape of the 3rd preview area can have multiple, specifically can represent the shape having in region see the 3rd. If the 3rd preview area can be the form of phase frame or spectacle-frame.
Optionally, knowing the effect of this composograph finally splicing for the ease of user, it is corresponding that this first preview area represents region with first of this composograph in preceding embodiment, and it is corresponding that the 2nd preview area represents region with the 2nd of this composograph. When including the 3rd preview area in display screen, the 3rd in this composograph represents region can be corresponding with the 3rd preview area. For the ease of understanding, see Fig. 3, it illustrates the schematic flow sheet of a kind of another embodiment of image processing method of the application, the method for the present embodiment can comprise:
301, when preset instructions being detected, start the first camera of electronics and the image collecting function of second camera.
302, obtain the first preview image that this first camera collection arrives, and the 2nd preview image that this second camera collects.
303, this first preview image is displayed in the first preview area of display screen, the 2nd preview image is displayed in the 2nd preview area of this display screen, and in the 3rd preview area, show preset connection picture.
Wherein, this first preview area, the 2nd preview area and the 3rd preview area are different, and the 3rd preview area is adjacent with the 2nd preview area with described first preview area.
304, based on described first preview image demonstrated in display screen, the 2nd preview image and the position relation connecting picture, this first preview image, the 2nd preview image and this connection picture are spliced so that this first preview image, the 2nd preview image and connect picture and be in the first of this composograph respectively and represent region, the 2nd and represent region and the 3rd and represent region.
Wherein, the relative position relation of the first preview area, the 2nd preview area and the 3rd preview area first represents region, the 2nd with this to represent region identical with the 3rd relative position relation representing between region, and the 3rd preview area represent the shape in region with the 3rd identical.
In the present embodiment, the image effect of display screen preview is the effect of the composograph finally splicing, user can adjust the shooting angle of electronics according to preview image, point out person to be captured to adjust position etc., so that the preview image collected is connected picture total tune with this.
A kind of image processing method of corresponding the application, present invention also provides a kind of image processing apparatus. See Fig. 4, it illustrates the schematic flow sheet of an a kind of image processing apparatus embodiment of the application, the device of the present embodiment can comprise:
Camera control unit 401, for when preset instructions being detected, starting the first camera of electronics and the image collecting function of second camera, wherein, described first camera and described second camera are on two panels being parallel to each other of described electronics respectively;
Image acquisition unit 402, for obtaining the first preview image that described first camera collection arrives, and the 2nd preview image that described second camera collects;
Concatenation unit 403, for when image capture instruction being detected, being spliced into composograph by described first preview image and described 2nd preview image.
Wherein, in the present embodiment, this camera control unit detects that this preset instructions may be used for triggering electronics control and opens this first camera and second camera, while making the first camera carry out image collection in its image pickup scope, this second camera carries out image collection too in its image pickup scope. This preset instructions can set as required, as. This preset instructions can be the camera of unlocking electronic equipment. Such as, for mobile phone, it is possible to be the camera icon clicked on mobile phone, trigger electronics and open camera. And for example, this presets appointment can also be touch the specified button preset by this electronics.
In the embodiment of the present application, after camera control unit detects preset instructions, control this first camera and second camera is in opened condition simultaneously, and when concatenation unit detects image capture instruction, by this first camera collection to the first preview image and the 2nd preview image that collects of second camera splice, obtain the composograph including the first preview image and the 2nd preview image, achieve and different for two places scenery is absorbed in piece image simultaneously, so that user and the group photo being in the people outside the image pickup scope at this user place or scenery, improve the handiness of shooting, avoiding other people for user takes pictures, reduce the complexity of shooting.
Optionally, the device of the embodiment of the present application can also comprise:
First preview display unit, for getting, at described image acquisition unit, the first preview image that described first camera collection arrives, and after the 2nd preview image that collects of described second camera, described first preview image is displayed in the first preview area of display screen, and described 2nd preview image is displayed in the 2nd preview area of described display screen, wherein, described first preview area is different from described 2nd preview area.
Optionally, the device in the embodiment of the present application comprises on the basis of the first preview display unit, and this device can also comprise:
2nd preview display unit, for at described first preview display unit at the first preview area that described first preview image is displayed in display screen, and while being displayed in the 2nd preview area of described display screen by described 2nd preview image, in the 3rd preview area of described display screen, show preset connection picture; Wherein, described 3rd preview area is different from described first preview area and described 2nd preview area, and described 3rd preview area is between described first preview area and described 2nd preview area.
Optionally, more than the application on the basis of any one embodiment, the concatenation unit in this device can comprise:
First location setting unit, represents region for described first preview image is arranged on the first of described composograph to be synthesized, described 2nd preview image is arranged on the 2nd of described composograph to be synthesized and represents region;
Splicing subelement, for representing, based on described first, the relative position relation that region and the described 2nd represents region, is spliced into described composograph by described first preview image and described 2nd preview image; Wherein, described first represents region to represent region from the described 2nd different.
Further, this device can also comprise:
Second position setting unit, represents region for preset connection picture is arranged on the 3rd of described image to be synthesized, and wherein, the described 3rd represents region and described first represents region and the described 2nd to represent region all not identical;
Then described splicing subelement, comprising:
Three splicing subelements, for representing, based on described first, the relative position relation that region, the 2nd represents region and the described 3rd and represent region, respectively described first preview image and described 2nd preview image are spliced with the described picture that is connected, splice, to obtain, the described composograph having described first preview image, the 2nd preview image and described connection picture.
Optionally, in the embodiment of above device, when comprising described first preview display unit and the 2nd preview display unit when described device, then the relative position relation of described first preview area, the 2nd preview area and the 3rd preview area represents region, the 2nd to represent region identical with the 3rd relative position relation representing between region with described first, and described 3rd preview area represent the shape in region with the described 3rd identical.
In this specification sheets, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment emphasis illustrated is the difference with other embodiments, between each embodiment identical similar portion mutually see. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are enable to realize or use the application. To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments. Therefore, the application can not be limited in these embodiments shown in this article, but be met the widest scope consistent with principle disclosed herein and features of novelty.
Claims (12)
1. an image processing method, it is characterised in that, comprising:
When preset instructions being detected, starting the first camera of electronics and the image collecting function of second camera, wherein, described first camera and described second camera are on two panels being parallel to each other of described electronics respectively;
Obtain the first preview image that described first camera collection arrives, and the 2nd preview image that described second camera collects;
When image capture instruction being detected, described first preview image and described 2nd preview image are spliced into composograph.
2. method according to claim 1, it is characterised in that, at the first preview image that described first camera collection of described acquisition arrives, and after the 2nd preview image that collects of described second camera, also comprise:
The first preview area that described first preview image is displayed in display screen, and described 2nd preview image is displayed in the 2nd preview area of described display screen, wherein, described first preview area is different from described 2nd preview area.
3. method according to claim 2, it is characterised in that, described first preview image is being displayed in the first preview area of display screen, and while described 2nd preview image is displayed in the 2nd preview area of described display screen, is also comprising:
Preset connection picture is shown in the 3rd preview area of described display screen; Wherein, described 3rd preview area is different from described first preview area and described 2nd preview area, and described 3rd preview area is adjacent with described 2nd preview area with described first preview area.
4. method according to the arbitrary item of claims 1 to 3, it is characterised in that, described described first preview image and described 2nd preview image are spliced into composograph, comprising:
Described first preview image is arranged on the first of described composograph to be synthesized and represents region, described 2nd preview image is arranged on the 2nd of described composograph to be synthesized and represents region, and represent, based on described first, the relative position relation that region and the described 2nd represents region, described first preview image and described 2nd preview image are spliced into described composograph; Wherein, described first represents region to represent region from the described 2nd different.
5. method according to claim 4, it is characterized in that, represent, based on described first, the relative position relation that region and the described 2nd represents region described, before described first preview image and described 2nd preview image are spliced into described composograph, also comprise:
Preset connection picture is arranged on the 3rd of described image to be synthesized and represents region, wherein, described 3rd represents region and described first represents region and the described 2nd to represent region all not identical, and the described 3rd represents region and represent region and the described 2nd with described first to represent region adjacent;
Then described represent, based on described first, the position relation that region and the described 2nd represents region, described first preview image and described 2nd preview image be spliced into described composograph, comprising:
The relative position relation that region, the 2nd represents region and the described 3rd and represent region is represented based on described first, respectively described first preview image and described 2nd preview image are spliced with the described picture that is connected, splice, to obtain, the described composograph having described first preview image, the 2nd preview image and described connection picture.
6. method according to claim 5, it is characterized in that, after getting the first preview image and the 2nd preview image, described first preview image is displayed in the first preview area of display screen, and described first preview image is displayed in the 2nd preview area of described display screen, and the 3rd of display screen represent region show described connection picture time, described first preview area, the relative position relation of the 2nd preview area and the 3rd preview area and described first represents region, 2nd to represent region identical with the 3rd relative position relation representing between region, and described 3rd preview area represent the shape in region with the described 3rd identical.
7. an image processing apparatus, it is characterised in that, comprising:
Camera control unit, for when preset instructions being detected, starting the first camera of electronics and the image collecting function of second camera, wherein, described first camera and described second camera are on two panels being parallel to each other of described electronics respectively;
Image acquisition unit, for obtaining the first preview image that described first camera collection arrives, and the 2nd preview image that described second camera collects;
Concatenation unit, for when image capture instruction being detected, being spliced into composograph by described first preview image and described 2nd preview image.
8. device according to claim 7, it is characterised in that, also comprise:
First preview display unit, for the first preview image arrived at described image acquisition unit described first camera collection of acquisition, and after the 2nd preview image that collects of described second camera, described first preview image is displayed in the first preview area of display screen, and described 2nd preview image is displayed in the 2nd preview area of described display screen, wherein, described first preview area is different from described 2nd preview area.
9. device according to claim 8, it is characterised in that, also comprise:
2nd preview display unit, for described first preview image being displayed at described first preview display unit the first preview area of display screen, and while being displayed in the 2nd preview area of described display screen by described 2nd preview image, in the 3rd preview area of described display screen, show preset connection picture; Wherein, described 3rd preview area is different from described first preview area and described 2nd preview area, and described 3rd preview area is adjacent with described 2nd preview area with described first preview area.
10. device according to the arbitrary item of claim 7 to 9, it is characterised in that, described concatenation unit, comprising:
First location setting unit, represents region for described first preview image is arranged on the first of described composograph to be synthesized, described 2nd preview image is arranged on the 2nd of described composograph to be synthesized and represents region;
Splicing subelement, for representing, based on described first, the relative position relation that region and the described 2nd represents region, is spliced into described composograph by described first preview image and described 2nd preview image; Wherein, described first represents region to represent region from the described 2nd different.
11. devices according to claim 10, it is characterised in that, also comprise:
Second position setting unit, region is represented for preset connection picture is arranged on the 3rd of described image to be synthesized, wherein, described 3rd represents region and described first represents region and the described 2nd to represent region all not identical, and the described 3rd represents region and represent region and the described 2nd from described first to represent region different;
Then described splicing subelement, comprising:
Three splicing subelements, for representing, based on described first, the relative position relation that region, the 2nd represents region and the described 3rd and represent region, respectively described first preview image and described 2nd preview image are spliced with the described picture that is connected, splice, to obtain, the described composograph having described first preview image, the 2nd preview image and described connection picture.
12. devices according to claim 11, it is characterized in that, when comprising described first preview display unit and the 2nd preview display unit when described device, then the relative position relation of described first preview area, the 2nd preview area and the 3rd preview area represents region, the 2nd to represent region identical with the 3rd relative position relation representing between region with described first, and described 3rd preview area represent the shape in region with the described 3rd identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204311.4A CN105657239B (en) | 2015-04-27 | 2015-04-27 | A kind of image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204311.4A CN105657239B (en) | 2015-04-27 | 2015-04-27 | A kind of image processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105657239A true CN105657239A (en) | 2016-06-08 |
CN105657239B CN105657239B (en) | 2018-05-15 |
Family
ID=56481711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510204311.4A Active CN105657239B (en) | 2015-04-27 | 2015-04-27 | A kind of image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105657239B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106937045A (en) * | 2017-02-23 | 2017-07-07 | 华为机器有限公司 | The display methods and terminal device of a kind of preview image |
CN107820014A (en) * | 2017-11-27 | 2018-03-20 | 努比亚技术有限公司 | A kind of image pickup method, mobile terminal and computer-readable storage medium |
WO2018113203A1 (en) * | 2016-12-24 | 2018-06-28 | 华为技术有限公司 | Photographing method and mobile terminal |
CN108769511A (en) * | 2018-05-07 | 2018-11-06 | 北京金山安全软件有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN110489040A (en) * | 2019-08-15 | 2019-11-22 | 北京字节跳动网络技术有限公司 | Method and device, terminal and the storage medium that characteristic model is shown |
CN111083371A (en) * | 2019-12-27 | 2020-04-28 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
CN116048436A (en) * | 2022-06-17 | 2023-05-02 | 荣耀终端有限公司 | Application interface display method, electronic device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938825A (en) * | 2012-11-12 | 2013-02-20 | 北京小米科技有限责任公司 | Method and device for shooting pictures and recording videos |
CN104423946A (en) * | 2013-08-30 | 2015-03-18 | 联想(北京)有限公司 | Image processing method and electronic device |
-
2015
- 2015-04-27 CN CN201510204311.4A patent/CN105657239B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938825A (en) * | 2012-11-12 | 2013-02-20 | 北京小米科技有限责任公司 | Method and device for shooting pictures and recording videos |
CN104423946A (en) * | 2013-08-30 | 2015-03-18 | 联想(北京)有限公司 | Image processing method and electronic device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018113203A1 (en) * | 2016-12-24 | 2018-06-28 | 华为技术有限公司 | Photographing method and mobile terminal |
CN106937045A (en) * | 2017-02-23 | 2017-07-07 | 华为机器有限公司 | The display methods and terminal device of a kind of preview image |
CN106937045B (en) * | 2017-02-23 | 2020-08-14 | 华为机器有限公司 | Display method of preview image, terminal equipment and computer storage medium |
US10911682B2 (en) | 2017-02-23 | 2021-02-02 | Huawei Technologies Co., Ltd. | Preview-image display method and terminal device |
US11196931B2 (en) | 2017-02-23 | 2021-12-07 | Huawei Technologies Co., Ltd. | Preview-image display method and terminal device |
US11539891B2 (en) | 2017-02-23 | 2022-12-27 | Huawei Technologies Co., Ltd. | Preview-image display method and terminal device |
CN107820014A (en) * | 2017-11-27 | 2018-03-20 | 努比亚技术有限公司 | A kind of image pickup method, mobile terminal and computer-readable storage medium |
CN108769511A (en) * | 2018-05-07 | 2018-11-06 | 北京金山安全软件有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN110489040A (en) * | 2019-08-15 | 2019-11-22 | 北京字节跳动网络技术有限公司 | Method and device, terminal and the storage medium that characteristic model is shown |
CN111083371A (en) * | 2019-12-27 | 2020-04-28 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
CN116048436A (en) * | 2022-06-17 | 2023-05-02 | 荣耀终端有限公司 | Application interface display method, electronic device and storage medium |
CN116048436B (en) * | 2022-06-17 | 2024-03-08 | 荣耀终端有限公司 | Application interface display method, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105657239B (en) | 2018-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105657239A (en) | Image processing method and device | |
CN102938825B (en) | A kind ofly to take pictures and the method for video and device | |
JP6106764B2 (en) | Imaging apparatus and time-lapse imaging method | |
WO2021213477A1 (en) | Viewfinding method for multichannel video recording, graphic user interface, and electronic device | |
CN104333698B (en) | Image processing method, image processing apparatus and electronic equipment | |
JP6205070B2 (en) | Camera initial position setting method, camera and camera system | |
CN103634555B (en) | A kind of method and system of panoramic video communication | |
BR112016014905B1 (en) | MOBILE PHONE AND METHOD TO START CAPTURING IMAGES ON A MOBILE PHONE | |
JP6266799B2 (en) | Imaging control apparatus, imaging apparatus, imaging control method, and program | |
WO2016035423A1 (en) | Moving image editing device, moving image editing method, and moving image editing program | |
CN103795933B (en) | A kind of image processing method and electronic equipment | |
CN109348020A (en) | A kind of photographic method and mobile terminal | |
CN111083371A (en) | Shooting method and electronic equipment | |
CN105376554B (en) | 3D cameras mechanism, the mobile device with the mechanism and control method | |
CN105513030A (en) | Information processing method and apparatus, and electronic equipment | |
CN104023197A (en) | Information processing method and information processing device | |
CN103685958A (en) | Information processing method and electronic equipment | |
JP5687803B2 (en) | Image processing apparatus and method, and imaging apparatus | |
CN113840070A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN108628814A (en) | A kind of method and device of quick insertion identification word | |
CN104427242B (en) | Image split-joint method, device and electronic equipment | |
CN105827934A (en) | Image processing method of electronic device and electronic device | |
JP3472770B2 (en) | Automatic photography equipment | |
CN104869283B (en) | A kind of image pickup method and electronic equipment | |
KR101672268B1 (en) | Exhibition area control system and control method thereof |
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 |