CN105933613A - Image processing method and apparatus and mobile terminal - Google Patents
Image processing method and apparatus and mobile terminal Download PDFInfo
- Publication number
- CN105933613A CN105933613A CN201610503138.2A CN201610503138A CN105933613A CN 105933613 A CN105933613 A CN 105933613A CN 201610503138 A CN201610503138 A CN 201610503138A CN 105933613 A CN105933613 A CN 105933613A
- Authority
- CN
- China
- Prior art keywords
- preliminary election
- image
- outdoor scene
- image frame
- depth
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses an image processing method and apparatus and a mobile terminal. The method comprises the steps of: after the mobile terminal is in a shooting mode, based on a live-action picture frame in a camera preview interface, determining a pre-selected object; based on a field depth value of the pre-selected object in the live-action picture frame, determining an object type of the pre-selected object; if the object type of the pre-selected object accords with a preset type, determining the pre-selected object as a target object to be processed; based on augmented reality, carrying out effect augment processing on the target object. By utilizing the method, the target object which accords with preset conditions can be selected from a shot image, and an augmented reality technology is fused into a shooting function of the mobile terminal, so that the aim of carrying out effect augment on the selected target object in real time on the basis of the augmented reality technology is fulfilled, thereby not only simplifying the image processing process, but also enabling the shot image to achieve a desired effect of a user and promoting user experience.
Description
Technical field
The present embodiments relate to technical field of image processing, particularly relate to a kind of method of image procossing, dress
Put and mobile terminal.
Background technology
Along with the development innovation of electronic technology, increasing electronic product occurs in the life of people, moves
Dynamic terminal becomes one of welcome electronic product of people, along with the extensive application of mobile terminal, is integrated in shifting
Function application in dynamic terminal also gets more and more, e.g., the shoot function of mobile terminal, navigation feature, many matchmakers
Body playing function etc..
Usually, when shoot function based on mobile terminal carries out image taking, a lot of in the case of actual clap
The image taken out can not reach the Expected Results of user, generally requires and image is carried out landscaping treatment, thus
Create the image beautification method that image can be carried out landscaping treatment.
But, often the image shot can only be carried out the later stage based on existing image beautification method
Landscaping treatment, can not carry out image in real time in shooting image process and beautify, additionally, can not be only to institute
The parts of images that in shooting image, user is interested carries out effect enhancing.
Summary of the invention
The purpose of the present invention is to propose to a kind of method of image procossing, device and mobile terminal, to reach at figure
As destination object pending in captured image being carried out in real time during shooting the purpose of effect enhancing.
On the one hand, a kind of method embodiments providing image procossing, including:
After mobile terminal is in screening-mode, determine preliminary election based on the outdoor scene image frame in camera preview interface
Object;
The object of described preliminary election object is determined based on described preliminary election object depth of field value in described outdoor scene image frame
Type;
If the object type of described preliminary election object meets preset kind, then it is defined as treating by described preliminary election object
The destination object processed;
Based on augmented reality, described destination object is carried out effect enhancement process.
On the other hand, embodiments provide the device of a kind of image procossing, including:
Preliminary election object determines module, for after mobile terminal is in screening-mode, based on camera preview interface
In outdoor scene image frame determine preliminary election object;
Object type determination module, for based on described preliminary election object depth of field value in described outdoor scene image frame
Determine the object type of described preliminary election object;
Destination object determines module, is used for when the object type of described preliminary election object meets preset kind, will
Described preliminary election object is defined as pending destination object;
Augmented reality processing module, for carrying out effect enhancement process based on augmented reality to described destination object.
Another aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and this mobile terminal is integrated with this
The device of the image procossing that bright embodiment provides.
Embodiments provide a kind of method of image procossing, device and mobile terminal, the side of the present invention
Method may be summarized to be: first after mobile terminal is in screening-mode, based on display in camera preview interface
Outdoor scene image frame determine preliminary election object, be then based on depth of field value and determine the object type of preliminary election object, and base
Object type in preliminary election object is determined for compliance with the destination object of condition, finally to the destination object determined based on
Augmented reality carries out enhancement process.Utilize the method, it is possible to choose in captured image and meet default bar
The destination object of part, and augmented reality has been fused in the shoot function of mobile terminal, thus reach
In real time the destination object chosen is carried out based on augmented reality the purpose of effect enhancing, is thus
Simplifying image processing process makes again captured image reach user's Expected Results, improves Consumer's Experience.
Accompanying drawing explanation
The schematic flow sheet of the method for a kind of image procossing that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the method for a kind of image procossing that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of the method for a kind of image procossing that Fig. 3 a provides for the embodiment of the present invention three;
Fig. 3 b is the exemplary plot determining destination object in the outdoor scene image frame at camera preview interface;
Fig. 3 c is another exemplary plot determining destination object in the outdoor scene image frame at camera preview interface;
The structured flowchart of the device of a kind of image procossing that Fig. 4 provides for the embodiment of the present invention four.
Detailed description of the invention
Further illustrate technical scheme below in conjunction with the accompanying drawings and by detailed description of the invention.Permissible
Being understood by, specific embodiment described herein is used only for explaining the present invention, rather than the limit to the present invention
Fixed.It also should be noted that, for the ease of describing, accompanying drawing illustrate only portion related to the present invention
Divide rather than entire infrastructure.
Embodiment one
The schematic flow sheet of the method for a kind of image procossing that Fig. 1 provides for the embodiment of the present invention one.The method
It is applicable to, when user uses mobile terminal to shoot, captured image carry out the feelings of effect enhancement process
Condition, can be performed by the device of image procossing, and wherein this device can be realized by software and/or hardware, and typically
It is integrated in mobile terminal.
As it is shown in figure 1, the method for a kind of image procossing of the embodiment of the present invention one offer, specifically include as follows
Operation:
S101, after mobile terminal is in screening-mode, true based on the outdoor scene image frame in camera preview interface
Determine preliminary election object.
In the present embodiment, described mobile terminal specifically can refer to that mobile phone, notebook and panel computer etc. have
The intelligent electronic device of camera function.At the present embodiment, mobile terminal is in screening-mode and specifically can be regarded as
Carry out the pattern of image taking based on photographic head after mobile terminal startup camera application.Described camera preview interface
Specifically can be regarded as showing in real time the interface of the caught outdoor scene of mobile terminal camera.General, caught
The outdoor scene caught shows in camera preview interface with the form of image frame.
In the present embodiment, described preliminary election object specifically can be regarded as in outdoor scene image frame based on the choosing that imposes a condition
The fixed image that can carry out effect enhancing as destination object.Wherein, described preliminary election object can be one
Or it is multiple.The described characteristics of image that can be to preset destination object to be reinforced that imposes a condition (is such as treated
Strengthen the characteristic points such as the color of object, shape or size), thereby determining that can pre-as destination object
Select object.
S102, determine described preliminary election object based on described preliminary election object depth of field value in described outdoor scene image frame
Object type.
In the present embodiment, there is the size of depth of field value in the outdoor scene image frame in camera preview interface.Concrete,
Image frame when catching outdoor scene based on photographic head can clearly showing, the depth value of outdoor scene is defined as being caught
Catch the depth of field value of outdoor scene image frame, when the depth value that can clearly show scenery is less, it is believed that caught
The depth of field value catching outdoor scene image frame is less, otherwise, it is possible to when the depth value of clear display scenery is bigger, permissible
Think that the depth of field value of caught outdoor scene image frame is bigger.Usually, the adjustment to depth of field value size can be passed through
Focusing during image taking adjusts and realizes, it is also possible to by drawing at least two of the same outdoor scene caught
Face frame carries out synthesizing to realize.
In the present embodiment, for the outdoor scene image frame with depth of field value, may further determine that described outdoor scene is drawn
The depth of field value of shown image in the frame of face, usually, the depth of field value of shown image in described outdoor scene image frame
Can be regarded as this image and show the depth value in described outdoor scene image frame, draw in described outdoor scene when image shows
When depth of field value in the frame of face exceedes setting value, it is believed that this image is a stereo-picture, and its object type is
Solid type;When image shows the depth value in described outdoor scene image frame less than setting value, it is believed that should
Image is a plane picture, and its object type is plane.It should be noted that outdoor scene image frame is had
Some depth of field value are the highest, the most easily determine the depth of field value of shown image in outdoor scene image frame.
Additionally, for the image in outdoor scene image frame, if this image is a true thing in reality
Body, then this image is shown generically stereogenic in outdoor scene image frame and depth of field value is higher than preset value, if
This image is present in photo or poster, when the most again the image being present in photo or poster being caught,
Then this image is shown as plane form and depth of field value less than preset value in outdoor scene image frame.Thus can pass through
Determine that image depth of field value in outdoor scene image frame is to determine the object type of image.
If the object type of S103 described preliminary election object meets preset kind, then by true for described preliminary election object
It is set to pending destination object.
In the present embodiment, pending destination object needs to preset, concrete, can preset
The selected condition of described pending destination object, described selected condition can be used for determining preliminary election object, then
Can also preset the object type of pending destination object, follow-up can be by judging preliminary election object
Object type determines whether described pre-selected images is pending destination object.Exemplary, if preset
The object type of pending destination object be solid type, then can be in the object type determining preliminary election object
No for solid type after, determine whether this preliminary election object is pending destination object.
S104, based on augmented reality, described destination object is carried out effect enhancement process.
It should be noted that augmented reality (Augmented Reality is called for short AR), be one in real time
Calculating the position of camera image and angle the technology plus respective image, the target of this technology is to shield
On Mu, virtual world it is enclosed within real world and carries out interaction.Along with the extensive application of mobile terminal, strengthen existing
Real technology is the most gradually integrated in the very multifunctional application of mobile electronic device.
In the present embodiment, described augmented reality can be fused in the camera function of mobile terminal, thus
Taking pictures when can based on augmented reality real-time captured image is carried out effect or scene
Strengthen.In the present embodiment, based on augmented reality, destination object determined by outdoor scene image frame is entered
Row effect strengthens, to reach the Expected Results of image procossing.
The method of a kind of image procossing that the embodiment of the present invention one provides, is first in shooting mould at mobile terminal
After formula, determine preliminary election object based on display outdoor scene image frame in camera preview interface, be then based on the depth of field
Value determines the object type of preliminary election object, and object type based on preliminary election object is determined for compliance with the target of condition
Object, finally carries out enhancement process to the destination object determined based on augmented reality.Utilize the method, it is possible to
Captured image is chosen and meets pre-conditioned destination object, and augmented reality is fused to
In the shoot function of mobile terminal, thus reach based on augmented reality in real time to the target chosen
Object carries out the purpose of effect enhancing, the most i.e. simplifies image processing process and makes again captured image reach
User Expected Results, improves Consumer's Experience.
Embodiment two
The schematic flow sheet of the method for a kind of image procossing that Fig. 2 provides for the embodiment of the present invention two, the present invention
Embodiment two is optimized based on above-described embodiment, in the present embodiment, also optimizes and adds step:
Obtain the current picture frame caught respectively by least two photographic head on mobile terminal;To capture respectively
At least two current picture frames carry out image synthesis process, meet the outdoor scene picture presetting field depth with synthesis
Frame;Described outdoor scene image frame is shown in described camera preview interface.
As in figure 2 it is shown, the method for a kind of image procossing of the embodiment of the present invention two offer, specifically include as follows
Operation:
S201, after mobile terminal is in screening-mode, obtain by least two photographic head on mobile terminal
The current picture frame caught respectively.
In the present embodiment, employing carries out the seizure of image frame based at least two photographic head to same picture.
Exemplary, described at least two photographic head can be the dual camera be arrangeding in parallel;Usually, used
At least two photographic head in camera lens arrange often different, have plenty of long angle mirror head, have plenty of wide-angle lens,
So when catching same picture based on above-mentioned multiple photographic head, same picture is entered by each photographic head
Seizure emphasis when row catches is the most different, and some photographic head focus on the profile catching image to be captured,
Only carry out black and white seizure, so can capture the image of close shot and distant view clearly, retain more thin
Joint, some photographic head focus in the color catching image to be captured, only carry out rendering of color, protect
The verity of card color.
S202, at least two the current picture frames captured respectively are carried out image synthesis process, full with synthesis
Foot presets the outdoor scene image frame of field depth.
In the present embodiment, draw when at least two outdoor scenes capturing same picture based at least two photographic head
During the frame of face, the emphasis of every outdoor scene image frame owing to being caught is different, when carrying out these outdoor scene image frames
During image synthesis, the new outdoor scene image frame formed both remained image clearly, had highlighted more figure
As details (having highlighted the details of distant view and close shot clearly, add the depth of field value of outdoor scene image frame).
In the present embodiment, for the easier depth of field value determining image in outdoor scene image frame it is necessary to ensure
The depth of field value of described outdoor scene image frame is at presetting field depth.Process based on above-mentioned image synthesis, can
To be met the outdoor scene image frame of default field depth.
S203, described outdoor scene image frame is shown in described camera preview interface.
In the present embodiment, after at least two the outdoor scene image frames caught are carried out image synthesis process,
Can be shown forming the outdoor scene image frame meeting default field depth in described camera preview interface.
It should be noted that each photographic head carries out outdoor scene image frame seizure, and outdoor scene is drawn by least two
It is the ofest short duration that face frame carries out the process of synthesis process, and user is even not felt by the behaviour that this synthesis processes
Make, it becomes possible in camera preview interface, see the outdoor scene image frame after synthesizing.
S204, determine preliminary election object based on the outdoor scene image frame in camera preview interface.
Exemplary, described outdoor scene image frame, can be in institute by processing the image frame formed through image synthesis
State in image frame and be determined to the preliminary election object as destination object based on the image attributes set.
S205, determine described preliminary election object based on described preliminary election object depth of field value in described outdoor scene image frame
Object type.
Exemplary, meet owing to processing, through image synthesis, the depth of field value that the outdoor scene image frame formed had
Preset field depth, when the depth of field value that outdoor scene image frame is had is in default field depth, be just easy to
Determine the depth of field value of preliminary election object in outdoor scene image frame.
Exemplary, when image depth of field value in outdoor scene image frame is more than setting value, it is believed that this figure
Picture is stereo-picture, and corresponding object type can be solid type.
If the object type of S206 described preliminary election object meets preset kind, then by true for described preliminary election object
It is set to pending destination object.
Exemplary, when after the object type determining preliminary election object based on step S205, it is possible to determine that this is right
As whether type meets preset kind, it is assumed that preset kind is solid type, then can be solid type by object type
Preliminary election object as pending destination object.
S207, based on augmented reality, described destination object is carried out effect enhancement process.
Exemplary, augmented reality can be fused in the shoot function of mobile terminal, thus at base
When mobile terminal shoots, fixed destination object to be reinforced is carried out effect enhancing.
The method of a kind of image procossing that the embodiment of the present invention two provides, embodies and is determined for compliance with presetting the depth of field
The process of the outdoor scene image frame of scope, i.e. catches outdoor scene image frame by least two photographic head, and by closing
And the current picture frame caught is to determine the outdoor scene meeting default field depth of display in camera preview interface
Image frame.Utilize the method, it is possible to quickly determine preliminary election object depth of field value and can be based on preliminary election object
Depth of field value determines corresponding object type, it is possible to determine destination object to be reinforced quickly and accurately, this
Outward, also augmented reality is fused in the shoot function of mobile terminal, thus has reached based on enhancing
Reality technology carries out the purpose of effect enhancing in real time to the destination object chosen, and the most i.e. simplifies image
Processing procedure makes again captured image reach user's Expected Results, improves Consumer's Experience.
Embodiment three
The schematic flow sheet of the method for a kind of image procossing that Fig. 3 a provides for the embodiment of the present invention three, the present invention
Embodiment three is optimized based on above-described embodiment, in the present embodiment, step is " pre-based on camera
The outdoor scene image frame look in interface determines preliminary election object " be optimized for: in described outdoor scene picture photo frame extract with
The image characteristic point that pre-set image attribute matches;Image outline is determined based on described image characteristic point, and will
The image that described image outline is formed is defined as preliminary election object.
Further, step " is determined based on described preliminary election object depth of field value in described outdoor scene image frame
The object type of described preliminary election object " it is optimized for: if described preliminary election object is in described outdoor scene image frame
Depth of field value is more than setting value, it is determined that the object type of described preliminary election object is solid type;If described preliminary election
Object depth of field value in described outdoor scene image frame is less than or equal to setting value, it is determined that described preliminary election object
Object type is plane.
Optimize additionally, also step " is carried out effect enhancement process based on augmented reality to described destination object "
For: based on the virtual content mated with described destination object in augmented reality storehouse, described destination object is imitated
Really enhancement process.
As shown in Figure 3 a, the method for a kind of image procossing that the embodiment of the present invention three provides, specifically include as follows
Operation:
S301, after mobile terminal is in screening-mode, obtain by least two photographic head on mobile terminal
The current picture frame caught respectively.
S302, at least two the current picture frames captured respectively are carried out image synthesis process, full with synthesis
Foot presets the outdoor scene image frame of field depth.
S303, described outdoor scene image frame is shown in described camera preview interface.
In the present embodiment, step S301~step S303 process based on image synthesis to determine to meet and preset scape
The outdoor scene image frame of deep scope, and outdoor scene image frame will be stated show in described camera preview interface.
S304, the image characteristic point that extraction matches with pre-set image attribute in described outdoor scene picture photo frame.
In the present embodiment, the figure matched with pre-set image attribute can be extracted in described outdoor scene image frame
As characteristic point.Wherein, described default image attributes specifically can be arranged before shooting outdoor scene picture, can
To think the image attributes that described default image attributes is destination object to be reinforced.Exemplary, as in advance
If the attribute that had by Flos Rosae Rugosae of image attributes, then can be using Flos Rosae Rugosae as needing the preliminary election object that strengthens.
In the present embodiment, using Flos Rosae Rugosae as preliminary election object to be reinforced as a example by, first can be in described reality
Extracting the image characteristic point matched with described Flos Rosae Rugosae attribute in scape image frame, described image characteristic point is permissible
There are Feature Points, size characteristic point and color characteristic point etc..
S305, determine image outline, and the image formed by described image outline based on described image characteristic point
It is defined as preliminary election object.
In the present embodiment, determine that based on step S304 the image matched with described pre-set image attribute is special
After levying a little, the image outline of correspondence can be formed in described region to be identified based on described image characteristic point,
Finally can be using the image that determines based on described image outline as preliminary election object to be reinforced.
It should be noted that in described outdoor scene image frame, the characteristics of image matched with pre-set image attribute
The preliminary election object number that point is formed can be one, it is also possible to is multiple.
If the depth of field value that S306 described preliminary election object is in described outdoor scene image frame is more than setting value, the most really
The object type of fixed described preliminary election object is solid type.
In the present embodiment, described preliminary election pair can be determined in the outdoor scene image frame meet default field depth
As corresponding depth of field value, when determining described depth of field value more than setting value, then it is believed that described preliminary election object is
Stereo-picture, this object type corresponding to preliminary election object is solid type.
Exemplary, preliminary election object that object type is solid type can be that caught one of photographic head is true
Subject image.
If the depth of field value that S307 described preliminary election object is in described outdoor scene image frame is less than or equal to setting value,
The object type then determining described preliminary election object is plane.
In the present embodiment, when determining described depth of field value less than or equal to setting value, then it is believed that described pre-
Selecting object is plane picture, and this object type corresponding to preliminary election object is plane.
Exemplary, the preliminary election object that object type is plane can be that the plane that photographic head is caught is shown up
Or a non-genuine image of display on poster.
If the object type of S308 described preliminary election object meets preset kind, then by true for described preliminary election object
It is set to pending destination object.
In the present embodiment, before destination object being carried out effect enhancing, it will usually the waiting of goal-selling object increases
Strongly-typed, so that the reinforced effects of destination object is more preferable, usually, if the object type symbol of preliminary election object
Close the type to be reinforced preset, then show that this default object can carry out effect enhancing as destination object.
S309, based on the virtual content mated with described destination object in augmented reality storehouse to described destination object
Carry out effect enhancement process.
In the present embodiment, when carrying out effect or scene enhancing based on augmented reality, Main Basis stores
Virtual content in augmented reality storehouse realizes, as long as determining in described augmented reality storehouse and being present in described target
The virtual content of match objects, it is possible to carry out strengthening behaviour to described destination object based on described virtual content
Make.
The method of a kind of image procossing that the embodiment of the present invention three provides, embodies the determination of destination object
Journey so that destination object can be determined based on the object type of the preliminary election object in outdoor scene image frame, this
Outward, the step that destination object is carried out strengthens operation is also embodied, so that destination object can be at augmented reality
Effect enhancing is carried out when storehouse exists the virtual content of correspondence.Utilize the method, it is possible to determine quickly and accurately
Destination object to be reinforced, additionally, also augmented reality has been fused in the shoot function of mobile terminal,
Thus reached in real time the destination object chosen to be carried out the mesh of effect enhancing based on augmented reality
, the most i.e. simplify image processing process and make again captured image reach user's Expected Results, promote
Consumer's Experience.
On the basis of above-described embodiment, it is real in camera preview interface that the embodiment of the present invention three provides two width
Scape image frame determines the exemplary plot of destination object based on depth of field value, and wherein, Fig. 3 b and Fig. 3 c is respectively in phase
The outdoor scene image frame of machine preview interface determines the exemplary plot of destination object.
Concrete, as shown in Figure 3 b, display outdoor scene image frame 31 in camera preview interface, for based on extremely
Few two photographic head catch and through image merging treatment gained, it can be seen that have one in outdoor scene image frame 31
Individual meet the pre-selected images 311 imposed a condition, and in outdoor scene image frame 31, may determine that pre-selected images 311
Depth of field value, owing to the depth of field value determined is more than setting value, then it is believed that pre-selected images 311 is one
Stereo-picture, corresponding object type is solid type.Now, if preset destination object to be reinforced
Ground object type is solid type, then be easy for can determine that pre-selected images 311 in outdoor scene image frame 31
For destination object to be reinforced.
Additionally, as shown in Figure 3 c, display outdoor scene image frame 32 in camera preview interface, for based at least
Two photographic head catch and through image merging treatment gained, it can be seen that have one in outdoor scene image frame 32
Meet the pre-selected images 321 imposed a condition, and in outdoor scene image frame 32, may determine that pre-selected images 321
Depth of field value, owing to the depth of field value determined is less than setting value, then it is believed that pre-selected images 321 is one puts down
Face image, corresponding object type is plane.Now, if the destination object ground to be reinforced preset
Object type is solid type, then be easy for can determine that pre-selected images 321 not in outdoor scene image frame 32
Can be as destination object to be reinforced.
Embodiment four
The structured flowchart of the device of a kind of image procossing that Fig. 4 provides for the embodiment of the present invention four, this device is fitted
For when user uses mobile terminal to shoot, captured image being carried out the situation of effect enhancement process.
Wherein this device can be realized by software and/or hardware, and is typically integrated in mobile terminal.As shown in Figure 4,
This identification device includes: preliminary election object determines that module 41, object type determination module 42, destination object determine
Module 43 and augmented reality processing module 44.
Wherein, preliminary election object determines module 41, for after mobile terminal is in screening-mode, based on camera
Outdoor scene image frame in preview interface determines preliminary election object;
Object type determination module 42, for based on the described preliminary election object depth of field in described outdoor scene image frame
Value determines the object type of described preliminary election object;
Destination object determines module 43, is used for when the object type of described preliminary election object meets preset kind,
Described preliminary election object is defined as pending destination object;
Augmented reality processing module 44, for carrying out at effect enhancing described destination object based on augmented reality
Reason.
In the present embodiment, this device first passes through preliminary election object and determines that module 41 is in shooting at mobile terminal
After pattern, determine preliminary election object based on the outdoor scene image frame in camera preview interface;Then object type is passed through
Determination module 42 determines described preliminary election object based on described preliminary election object depth of field value in described outdoor scene image frame
Object type;Determine that module 43 meets pre-when the object type of described preliminary election object by destination object afterwards
If during type, described preliminary election object is defined as pending destination object;Process eventually through augmented reality
Module 44 carries out effect enhancement process based on augmented reality to described destination object.
The device of a kind of image procossing that the embodiment of the present invention four provides, it is possible to choose in captured image
Meet pre-conditioned destination object, and augmented reality be fused in the shoot function of mobile terminal,
Thus reached in real time the destination object chosen to be carried out the mesh of effect enhancing based on augmented reality
, the most i.e. simplify image processing process and make again captured image reach user's Expected Results, promote
Consumer's Experience.
Further, further comprises:
Image capture module, for obtain by least two photographic head on mobile terminal catch respectively current
Image frame;
Image synthesis unit, for carrying out at image synthesis at least two the current picture frames captured respectively
Reason, meets the outdoor scene image frame presetting field depth with synthesis;
Image display, for showing described outdoor scene image frame in described camera preview interface.
Further, described preliminary election object determines module 41, specifically for:
The image characteristic point matched with pre-set image attribute is extracted in described outdoor scene picture photo frame;
Determine image outline based on described image characteristic point, and the image that described image outline is formed is defined as
Preliminary election object.
Further, described object type determination module 42, specifically for:
When described preliminary election object depth of field value in described outdoor scene image frame is more than setting value, determine described pre-
The object type selecting object is solid type;
When described preliminary election object depth of field value in described outdoor scene image frame is less than or equal to setting value, determine
The object type of described preliminary election object is plane.
Further, described augmented reality processing module 44, specifically include:
Based on the virtual content mated with described destination object in augmented reality storehouse, described destination object is imitated
Really enhancement process.
Embodiment five
The embodiment of the present invention five provides a kind of mobile terminal, and this mobile terminal is integrated with above-described embodiment and provides
The device of a kind of image procossing.Captured figure can be carried out in real time by the method performing image procossing
The process of picture.
Exemplary, the mobile terminal in the present embodiment is specifically as follows mobile phone, notebook and panel computer
Deng intelligent electronic device.When mobile terminal during user uses the present embodiment, mobile terminal is based on being integrated in
The device of image procossing therein is after mobile terminal is in screening-mode, based on the reality in camera preview interface
Scape image frame determines preliminary election object, is then based on described preliminary election object depth of field value in described outdoor scene image frame
Determine the object type of described preliminary election object, meet preset kind when the object type of described preliminary election object afterwards
Time, then described preliminary election object is defined as pending destination object, is based ultimately upon augmented reality to described mesh
Mark object carries out effect enhancement process.
Mobile terminal in the present embodiment utilizes the device of the image procossing that the present invention provides, it is possible to captured
Image in choose and meet pre-conditioned destination object, and augmented reality has been fused to mobile terminal
Shoot function in, thus reached in real time the destination object chosen to be carried out based on augmented reality
The purpose that effect strengthens, the most i.e. simplifying image processing process, to make again captured image reach user pre-
Phase effect, and then improve Consumer's Experience.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.Those skilled in the art
It will be appreciated that the invention is not restricted to specific embodiment described here, can enter for a person skilled in the art
Row various obvious changes, readjust and substitute without departing from protection scope of the present invention.Therefore, though
So by above example, the present invention is described in further detail, but the present invention be not limited only to
Upper embodiment, without departing from the inventive concept, it is also possible to include other Equivalent embodiments more,
And the scope of the present invention is determined by scope of the appended claims.
Claims (11)
1. the method for an image procossing, it is characterised in that including:
After mobile terminal is in screening-mode, determine preliminary election based on the outdoor scene image frame in camera preview interface
Object;
The object of described preliminary election object is determined based on described preliminary election object depth of field value in described outdoor scene image frame
Type;
If the object type of described preliminary election object meets preset kind, then it is defined as treating by described preliminary election object
The destination object processed;
Based on augmented reality, described destination object is carried out effect enhancement process.
Method the most according to claim 1, it is characterised in that also include:
Obtain the current picture frame caught respectively by least two photographic head on mobile terminal;
At least two the current picture frames captured respectively are carried out image synthesis process, meets with synthesis and preset
The outdoor scene image frame of field depth;
Described outdoor scene image frame is shown in described camera preview interface.
Method the most according to claim 1, it is characterised in that described based in camera preview interface
Outdoor scene image frame determines preliminary election object, specifically includes:
The image characteristic point matched with pre-set image attribute is extracted in described outdoor scene picture photo frame;
Determine image outline based on described image characteristic point, and the image that described image outline is formed is defined as
Preliminary election object.
Method the most according to claim 1, it is characterised in that described based on described preliminary election object in institute
State the depth of field value in outdoor scene image frame and determine the object type of described preliminary election object, specifically include:
If the depth of field value that described preliminary election object is in described outdoor scene image frame is more than setting value, it is determined that described
The object type of preliminary election object is solid type;
If the depth of field value that described preliminary election object is in described outdoor scene image frame is less than or equal to setting value, the most really
The object type of fixed described preliminary election object is plane.
Method the most according to claim 1, it is characterised in that described based on augmented reality to described mesh
Mark object carries out effect enhancement process, specifically includes:
Based on the virtual content mated with described destination object in augmented reality storehouse, described destination object is imitated
Really enhancement process.
6. the device of an image procossing, it is characterised in that including:
Preliminary election object determines module, for after mobile terminal is in screening-mode, based on camera preview interface
In outdoor scene image frame determine preliminary election object;
Object type determination module, for based on described preliminary election object depth of field value in described outdoor scene image frame
Determine the object type of described preliminary election object;
Destination object determines module, is used for when the object type of described preliminary election object meets preset kind, then
Described preliminary election object is defined as pending destination object;
Augmented reality processing module, for carrying out effect enhancement process based on augmented reality to described destination object.
Device the most according to claim 6, it is characterised in that also include:
Image capture module, for obtain by least two photographic head on mobile terminal catch respectively current
Image frame;
Image synthesis unit, for carrying out at image synthesis at least two the current picture frames captured respectively
Reason, meets the outdoor scene image frame presetting field depth with synthesis;
Image display, for showing described outdoor scene image frame in described camera preview interface.
Method the most according to claim 6, it is characterised in that described preliminary election object determines module, tool
Body is used for:
The image characteristic point matched with pre-set image attribute is extracted in described outdoor scene picture photo frame;
Determine image outline based on described image characteristic point, and the image that described image outline is formed is defined as
Preliminary election object.
Method the most according to claim 6, it is characterised in that described object type determination module, tool
Body is used for:
When described preliminary election object depth of field value in described outdoor scene image frame is more than setting value, determine described pre-
The object type selecting object is solid type;
When described preliminary election object depth of field value in described outdoor scene image frame is less than or equal to setting value, determine
The object type of described preliminary election object is plane.
Method the most according to claim 6, it is characterised in that described augmented reality processing module,
Specifically include:
Based on the virtual content mated with described destination object in augmented reality storehouse, described destination object is imitated
Really enhancement process.
11. 1 kinds of mobile terminals, it is characterised in that this mobile terminal is integrated with as claim 6-10 is arbitrary
The device of described image procossing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503138.2A CN105933613A (en) | 2016-06-28 | 2016-06-28 | Image processing method and apparatus and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503138.2A CN105933613A (en) | 2016-06-28 | 2016-06-28 | Image processing method and apparatus and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105933613A true CN105933613A (en) | 2016-09-07 |
Family
ID=56828335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610503138.2A Pending CN105933613A (en) | 2016-06-28 | 2016-06-28 | Image processing method and apparatus and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105933613A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108765278A (en) * | 2018-06-05 | 2018-11-06 | Oppo广东移动通信有限公司 | A kind of image processing method, mobile terminal and computer readable storage medium |
CN108776800A (en) * | 2018-06-05 | 2018-11-09 | Oppo广东移动通信有限公司 | A kind of image processing method, mobile terminal and computer readable storage medium |
CN109660714A (en) * | 2018-10-31 | 2019-04-19 | 百度在线网络技术(北京)有限公司 | Image processing method, device, equipment and storage medium based on AR |
CN110198411A (en) * | 2019-05-31 | 2019-09-03 | 努比亚技术有限公司 | Depth of field control method, equipment and computer readable storage medium during a kind of video capture |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101587542A (en) * | 2009-06-26 | 2009-11-25 | 上海大学 | Field depth blending strengthening display method and system based on eye movement tracking |
KR20120116168A (en) * | 2011-04-12 | 2012-10-22 | 네무스텍(주) | Accuracy improvement system for an outdoor augmented reality (ar) and the method |
CN102981616A (en) * | 2012-11-06 | 2013-03-20 | 中兴通讯股份有限公司 | Identification method and identification system and computer capable of enhancing reality objects |
CN104639839A (en) * | 2015-03-16 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Method and device for shooting |
CN105100615A (en) * | 2015-07-24 | 2015-11-25 | 青岛海信移动通信技术股份有限公司 | Image preview method, apparatus and terminal |
CN105468142A (en) * | 2015-11-16 | 2016-04-06 | 上海璟世数字科技有限公司 | Interaction method and system based on augmented reality technique, and terminal |
-
2016
- 2016-06-28 CN CN201610503138.2A patent/CN105933613A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101587542A (en) * | 2009-06-26 | 2009-11-25 | 上海大学 | Field depth blending strengthening display method and system based on eye movement tracking |
KR20120116168A (en) * | 2011-04-12 | 2012-10-22 | 네무스텍(주) | Accuracy improvement system for an outdoor augmented reality (ar) and the method |
CN102981616A (en) * | 2012-11-06 | 2013-03-20 | 中兴通讯股份有限公司 | Identification method and identification system and computer capable of enhancing reality objects |
CN104639839A (en) * | 2015-03-16 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Method and device for shooting |
CN105100615A (en) * | 2015-07-24 | 2015-11-25 | 青岛海信移动通信技术股份有限公司 | Image preview method, apparatus and terminal |
CN105468142A (en) * | 2015-11-16 | 2016-04-06 | 上海璟世数字科技有限公司 | Interaction method and system based on augmented reality technique, and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108765278A (en) * | 2018-06-05 | 2018-11-06 | Oppo广东移动通信有限公司 | A kind of image processing method, mobile terminal and computer readable storage medium |
CN108776800A (en) * | 2018-06-05 | 2018-11-09 | Oppo广东移动通信有限公司 | A kind of image processing method, mobile terminal and computer readable storage medium |
CN108776800B (en) * | 2018-06-05 | 2021-03-12 | Oppo广东移动通信有限公司 | Image processing method, mobile terminal and computer readable storage medium |
CN108765278B (en) * | 2018-06-05 | 2023-04-07 | Oppo广东移动通信有限公司 | Image processing method, mobile terminal and computer readable storage medium |
CN109660714A (en) * | 2018-10-31 | 2019-04-19 | 百度在线网络技术(北京)有限公司 | Image processing method, device, equipment and storage medium based on AR |
CN110198411A (en) * | 2019-05-31 | 2019-09-03 | 努比亚技术有限公司 | Depth of field control method, equipment and computer readable storage medium during a kind of video capture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106412458A (en) | Image processing method and apparatus | |
CN105247567B (en) | A kind of image focusing device, method, system and non-transient program storage device again | |
CN110809101B (en) | Image zooming processing method and device, electronic equipment and storage medium | |
CN101465972A (en) | Apparatus and method for blurring image background in digital image processing device | |
CN105933613A (en) | Image processing method and apparatus and mobile terminal | |
JP2007020029A (en) | Image processor and method, program and recording medium | |
JP2009044463A (en) | Electronic camera and field image reproduction device | |
US20220329729A1 (en) | Photographing method, storage medium and electronic device | |
CN106254790A (en) | Take pictures processing method and processing device | |
CN106803920A (en) | A kind of method of image procossing, device and intelligent meeting terminal | |
CN108259767B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110557556A (en) | Multi-object shooting method and device | |
CN106815237B (en) | Search method, search device, user terminal and search server | |
CN108495038B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
JP5509621B2 (en) | Image processing apparatus, camera, and program | |
CN111654623B (en) | Photographing method and device and electronic equipment | |
CN114286004A (en) | Focusing method, shooting device, electronic equipment and medium | |
JP5463688B2 (en) | Focus evaluation device, camera and program | |
JP2013081136A (en) | Image processing apparatus, and control program | |
CN115037867B (en) | Shooting method, shooting device, computer readable storage medium and electronic equipment | |
CN112188085B (en) | Image processing method and handheld pan-tilt camera | |
JP2010028370A (en) | Imaging device | |
CN110913121B (en) | Shooting method, electronic equipment and computer storage medium | |
KR101474304B1 (en) | Method for controlling the digital image processing apparatus and the digital image processing apparatus of operating by the method | |
CN117793534A (en) | Zoom method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160907 |
|
RJ01 | Rejection of invention patent application after publication |