CN110266926A - Image processing method, device, mobile terminal and storage medium - Google Patents
Image processing method, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN110266926A CN110266926A CN201910579229.8A CN201910579229A CN110266926A CN 110266926 A CN110266926 A CN 110266926A CN 201910579229 A CN201910579229 A CN 201910579229A CN 110266926 A CN110266926 A CN 110266926A
- Authority
- CN
- China
- Prior art keywords
- image
- target object
- images
- mobile terminal
- target
- 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
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/45—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
-
- 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/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- 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/62—Control of parameters via user interfaces
Abstract
This application discloses a kind of image processing method, device, mobile terminal and storage mediums, are related to technical field of mobile terminals.This method is applied to mobile terminal, this method comprises: mobile terminal simultaneously shoots target scene with different perspectives by multiple camera, obtain multiple first images, one or more objects in target scene are obtained based on multiple first images, target object is determined from one or more objects, and obtain the first subject image corresponding with target object, get parms configuration-direct, the parameter information for updating target object is instructed based on parameter configuration, obtain the second subject image corresponding with target object, first subject image of any first image in multiple first images is updated to the second subject image, obtain multiple second images.This programme simultaneously shoots target scene with different perspectives by multiple cameras, can be obtained the image of other more multi-angle of view, to promote display effect, promotes user experience.
Description
Technical field
This application involves technical field of mobile terminals, eventually more particularly, to a kind of image processing method, device, movement
End and storage medium.
Background technique
With the development of science and technology, mobile terminal have become in people's daily life most common electronic product it
One.Also, user often passes through mobile terminal and takes pictures, and still, current shooting is only capable of obtaining the image of fixed angle, uses
The image that all angles are wanted to obtain in family then needs all to shoot all angles, cumbersome.
Summary of the invention
In view of the above problems, present applicant proposes a kind of image processing method, device, mobile terminal and storage medium,
To solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of image processing method, it is applied to mobile terminal, the method packet
Include: the mobile terminal with different perspectives shoots target scene simultaneously by the multiple camera, obtains multiple the
One image;One or more objects in the target scene are obtained based on the multiple first image, from one or more
Target object is determined in a object, and obtains the first subject image corresponding with the target object;Get parms configuration-direct,
Configuration-direct updates the parameter information of the target object based on the parameter, obtains the second object corresponding with the target object
Body image, corresponding visual angle is different with second subject image for first subject image;It will be in the multiple first image
The first subject image of any first image be updated to second subject image, obtain multiple second images.
Second aspect, the embodiment of the present application provide a kind of image processing apparatus, are applied to mobile terminal, described device packet
Include: shooting module simultaneously claps target scene with different perspectives by the multiple camera for the mobile terminal
It takes the photograph, obtains multiple first images;Object obtains module, for being obtained in the target scene based on the multiple first image
One or more objects determine target object from one or more of objects, and obtain corresponding with the target object
First subject image;Instruction acquisition module, for the configuration-direct that gets parms, configuration-direct updates the mesh based on the parameter
The parameter information of object is marked, obtains corresponding with the target object the second subject image, first subject image and described
The corresponding visual angle of second subject image is different;Update module, for by any first image in the multiple first image
First subject image is updated to second subject image, obtains multiple second images.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including memory and processor, the memory
It is couple to the processor, the memory store instruction, the processor is held when executed by the processor
The row above method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable
Program code is stored in storage medium, said program code can be called by processor and execute the above method.
The embodiment of the present application provides image processing method, device, mobile terminal and storage medium, and this method is applied to move
Dynamic terminal obtains this method comprises: mobile terminal simultaneously shoots target scene with different perspectives by multiple camera
Multiple first images are obtained, one or more objects in target scene are obtained based on multiple first images, from one or more objects
Target object is determined in body, and obtains the first subject image corresponding with target object, and get parms configuration-direct, is based on parameter
Configuration-direct updates the parameter information of target object, the second subject image corresponding with target object is obtained, by multiple first figures
First subject image of any first image as in is updated to the second subject image, obtains multiple second images.This programme is logical
It crosses multiple cameras while target scene is shot with different perspectives, can be obtained the image of other more multi-angle of view, thus
Display effect is promoted, user experience is promoted.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of an image processing method provided by the embodiments of the present application;
Fig. 3 shows the interface schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 4 shows the flow diagram of another image processing method provided by the embodiments of the present application;
Fig. 5 shows a kind of schematic diagram of mobile terminal operation provided by the embodiments of the present application;
Fig. 6 shows the schematic diagram of another mobile terminal operation provided by the embodiments of the present application;
Fig. 7 shows the flow diagram of another image processing method provided by the embodiments of the present application;
Fig. 8 shows the module frame chart of image processing apparatus provided by the embodiments of the present application;
Fig. 9 shows the embodiment of the present application for executing the mobile terminal of the image processing method according to the embodiment of the present application
Block diagram;
Figure 10 shows realizing at according to the image of the embodiment of the present application for saving or carrying for the embodiment of the present application
The storage unit of the program code of reason method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Currently, camera function has become the standard configuration of most mobile terminals, mobile terminal user can be carried around movement
Terminal simultaneously passes through the fine moment of the mobile terminal records at one's side, in addition, with the intelligentized fast development of mobile terminal, very much
User new, characteristic picture is required daily to show outward, mobile terminal user to the quality requirement of photo, take pictures
The requirement of mode capabilities is also higher and higher.But current user goes for the picture of target object all angles, needs to object
All angles all shot, when shooting, also needs to keep certain track, cumbersome for users and exist certain
Operation difficulty.
In view of the above-mentioned problems, inventor has found by long-term research, and propose image provided by the embodiments of the present application
Processing method, device, mobile terminal and storage medium simultaneously carry out target scene with different perspectives by multiple cameras
Shooting, can be obtained the image of other more multi-angle of view, to promote display effect, promote user experience.Wherein, specific image
Processing method is described in detail in subsequent embodiment.
Mobile terminal involved in this programme as shown in Figure 1, mobile terminal 100 may include multiple cameras 140, and this
The visual angles of multiple cameras 140 is different, this multiple camera 140 can all be the front camera of mobile terminal, that is, be located at
The ipsilateral camera of mobile terminal operation interface;It can also all be the rear camera of mobile terminal, that is, be located at and mobile terminal
The camera (as shown in Figure 1) at the operation interface back side;It can be the rear camera of mobile terminal with a part, a part is position
In the camera of other positions, it is not limited here.Above-mentioned Fig. 1 is only schematic diagram, the mobile terminal not being related to this programme
Generate restriction.
Referring to Fig. 2, the flow diagram of the image processing method provided Fig. 2 shows the application one embodiment.Institute
Image processing method is stated for shooting simultaneously with different perspectives to target scene by multiple cameras, can be obtained other
The image of more multi-angle of view promotes user experience to promote display effect.In the particular embodiment, described image processing side
Method is applied to image processing apparatus 200 as shown in Figure 8 and the mobile terminal 100 configured with described image processing unit 200
(Fig. 9).It will illustrate the detailed process of the present embodiment by taking mobile terminal as an example below, it will of course be understood that, the present embodiment institute
The mobile terminal of application can include the electronic equipment of camera for smart phone, tablet computer, wearable mobile terminal etc.,
This does not do specific restriction.It will be explained in detail below for process shown in Fig. 2, described image processing method specifically may be used
With the following steps are included:
Step S110: the mobile terminal simultaneously claps target scene with different perspectives by the multiple camera
It takes the photograph, obtains multiple first images.
Mobile terminal simultaneously can shoot target scene with different perspectives by multiple cameras, as a kind of side
Formula, mobile terminal can user click take pictures software icon enter take pictures interface when and meanwhile open multiple camera simultaneously
Target scene is shot, multiple camera and right can also be opened simultaneously again after user selects preset photographing mode
Target scene is shot simultaneously, and so as to be shot simultaneously to target scene by multiple cameras, obtaining includes not
With multiple first images of the target scene under visual angle, the visual angle of the different corresponding target scenes of the first image is different.
Step S120: one or more objects in the target scene are obtained based on the multiple first image, from institute
It states and determines target object in one or more objects, and obtain the first subject image corresponding with the target object.
In the present embodiment, mobile terminal simultaneously can carry out target scene with different visual angles by multiple cameras
Shooting is to obtain multiple first images.Mobile terminal can be based on image recognition technology, multiple first figures obtained to shooting
As being identified, and therefrom identify one or more objects of the target scene.At the same time it can also from one identified or
Target object is determined in multiple objects, wherein can be and determine target object by the operation of user, such as based on operation interface
On clicking operation determine target object, be also possible to identify the focus position in the first image of each of multiple first images
It sets, the corresponding object in focal position is determined as target object.It is possible to further based on determining target object respectively from more
Multiple first subject images corresponding with the target object are obtained in a first image, it only includes mesh that the first subject image, which can be,
Object is marked, does not include the image in other regions except target object.
As an implementation, any one first image can also be selected to go to determine object from multiple first images
Body selectes any one first image by user for example, multiple first images can successively be shown, to this any one
One image carries out image recognition and gets one or more objects in the target scene for including in first image, and therefrom really
Make target object.
Step S130: get parms configuration-direct, and configuration-direct updates the parameter of the target object based on the parameter
Information obtains the second subject image corresponding with the target object, first subject image and second subject image
Corresponding visual angle is different.
In the present embodiment, mobile terminal is available to the first subject image, and can further obtain and the first object
The image of target object under other different visual angles of body image aspects, i.e. the second subject image.The available ginseng of mobile terminal
Number configuration-direct, parameter configuration instruction can be for carrying out parameter configuration to target object, extract from parameter configuration instruction
Relevant parameter information and the information of parameter adjustment, are updated the parameter information of target object, thus acquisition and target
Corresponding second subject image of object.Wherein, the second subject image is the image for including the updated target object of parameter information.
In some embodiments, parameter configuration instruction, which can be, configures the angle of target object, is based on parameter
Configuration-direct is then available to rotate angle to target, is rotated based on target rotation angle to target object, while can be with
Obtain target object corresponding multiple second subject images in rotary course, wherein the corresponding view of multiple second subject images
Angle is different.For example, being rotated based on target rotation angle to automobile, when target object is automobile as shown in figure 3, can be right
Automobile shown in a is rotated in Fig. 3, so as to get visual angle corresponding with the first image 410 shown in a in Fig. 3 not
With, the second image 420 shown in b in Fig. 3.
Step S140: the first subject image of any first image in the multiple first image is updated to described
Two subject images obtain multiple second images.
In the present embodiment, corresponding multiple second subject images of target object are got, mobile terminal can will be multiple
First subject image of any first image in the first image is updated to the second subject image, to obtain multiple second figures
Picture.As a kind of mode, the first subject image, which is updated to the second subject image, be can be with the second subject image replacement first
Subject image is also possible to for the second subject image being covered in the first subject image.For example, referring to Fig. 3, c in Fig. 3
It is shown the first image, the first subject image 410 can be replaced with the second subject image 420 by mobile terminal, to obtain the
Two images, i.e. image shown in d in Fig. 3.
The image processing method that the application one embodiment provides, mobile terminal is by multiple camera simultaneously with difference
Visual angle shoots target scene, obtains multiple first images, obtains one in target scene based on multiple first images
Or multiple objects, target object is determined from one or more objects, and obtain the first subject image corresponding with target object,
Get parms configuration-direct, and the parameter information for updating target object is instructed based on parameter configuration, obtains corresponding with target object
First subject image of any first image in multiple first images is updated to the second subject image by the second subject image,
Obtain multiple second images.To be shot simultaneously with different perspectives to target scene by multiple cameras, can be obtained
The image of other more multi-angle of view promotes user experience to promote display effect.
Referring to Fig. 4, Fig. 4 shows the flow diagram of the image processing method of another embodiment of the application offer.
Described image processing method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 4, described
Method can specifically include following steps:
Step S210: the mobile terminal simultaneously claps target scene with different perspectives by the multiple camera
It takes the photograph, obtains multiple first images.
Step S220: based on default object condition, one in the target scene is obtained from the multiple first image
A or multiple objects.
In the present embodiment, mobile terminal simultaneously shoots target scene with different visual angles by multiple cameras
To obtain multiple first images.Based on default object condition, can be obtained in the target scene from multiple first images
One or more objects, wherein default object condition can be the condition of system setting, be also possible to be preset by user
, default object condition can be the type of object, such as default object condition can be personage, then mobile terminal can be from more
It is identified in a first image and obtains all persons in target scene;Default object condition is also possible to the color of object, example
Such as default object condition can be green, and mobile terminal can then identify from multiple first images and obtain institute in target scene
Viridescent object.
Step S230: one or more of objects are highlighted.
In the present embodiment, it when getting one or more objects based on default object condition, can also highlight
The one or more object meets the object of default object condition to facilitate user to confirm in the target scene.Wherein it is possible to logical
It crosses and the one or more object is subjected to frame choosing to highlight the object, one or more object place can also be deepened
The color in region is to highlight the object.
Step S240: receive selection operation, based on the selection operation from one or more of objects determination described in
Target object, and obtain the first subject image corresponding with the target object.
In the present embodiment, mobile terminal can identify from multiple first images and obtain one or more objects, and
The one or more object can be highlighted in the display interface.User then can by carry out selection operation from this or
Target object is determined in multiple objects, for example, it may be carrying out touch control operation in the display interface to selection target object.Into
One step, the object being located among display interface can also be determined as target object, focal position can also be identified, by focus
The corresponding object in position is determined as target object.Mobile terminal after receiving selection operation, can based on selection operation from this
Target object is determined in one or more objects, and can position display area of the target object in the first image, to obtain
The first subject image corresponding with target object is taken, it does not include except target that it only includes target object that the first subject image, which can be,
The image in other regions of object.
Step S250: get parms configuration-direct, and configuration-direct updates the parameter of the target object based on the parameter
Information obtains the second subject image corresponding with the target object, first subject image and second subject image
Corresponding visual angle is different.
Wherein, the specific descriptions of step S250 please refer to step S130, and details are not described herein.
Step S260: the first subject image of any first image in the multiple first image is updated to described
Two subject images obtain multiple second images.
In the present embodiment, corresponding multiple second subject images of target object are got, mobile terminal can will be multiple
First subject image of any first image in the first image is updated to the second subject image, to obtain multiple second figures
Picture.
In some embodiments, mobile terminal can also show multiple second images of acquisition, can be by
Multiple second images are shown in same display interface, can also successively show multiple images.Further, it can also show multiple
Any second image in second image, and based on other second images in multiple second images of handover operation rotational display.
Wherein, handover operation can be it is as shown in Figure 5 mobile phone is rotated so that in multiple second images of display
Other images.It can also be as shown in FIG. 6 to be slided in the operation interface of mobile terminal, to carry out the second image
Switching is to show other images in multiple second images.
The image processing method that another embodiment of the application provides, mobile terminal is by multiple cameras simultaneously with difference
Visual angle shoots target scene, obtains multiple first images, based on default object condition, obtains from multiple first images
One or more objects in target scene, highlight one or more objects, receive selection operation, based on selection operation from
Target object is determined in one or more objects, and obtains the first subject image corresponding with target object, and get parms configuration
Instruction instructs the parameter information for updating target object based on parameter configuration, obtains the second subject image corresponding with target object,
Corresponding visual angle is different with the second subject image for first subject image, by first of any first image in multiple first images
Subject image is updated to the second subject image, multiple second images is obtained, compared to image processing method shown in FIG. 1, this reality
It applies example and is also based on preset condition, from the one or more objects obtained in the first image in target scene, and highlight
One or more objects so that user can from one or more objects clearer selection target object.
Referring to Fig. 7, Fig. 7 is to show the process signal of the image processing method of the application further embodiment offer
Figure.Described image processing method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 7,
The method can specifically include following steps:
Step S310: the mobile terminal simultaneously claps target scene with different perspectives by the multiple camera
It takes the photograph, obtains multiple first images.
Step S320: one or more objects in the target scene are obtained based on the multiple first image, from institute
It states and determines target object in one or more objects, and obtain the first subject image corresponding with the target object.
Wherein, the specific descriptions of step S310- step S320 please refer to step S110- step S120, and details are not described herein.
Step S330: picture material benefit is carried out to the target object based on preset algorithm and the multiple first image
It repays, obtains target object image, wherein the corresponding visual angle of the target object image includes that the multiple first image is corresponding
Visual angle other than visual angle and the corresponding visual angle of the multiple first image.
In the present embodiment, multiple first images that mobile terminal is shot by multiple cameras simultaneously with acquisition,
One or more objects in target scene are obtained based on multiple first image, and determine object from one or more objects
Body obtains corresponding first subject image of target object, wherein corresponding first subject image of target object only includes object
Image under a part of visual angle of body, i.e., the image under the corresponding visual angle of multiple cameras on mobile terminal, can not include should
Image under all visual angles of target object can obtain for example, being shot by front of multiple cameras to target object
The image in target object front and a part of side, and the image of target object behind is unknown.Thus it is possible to by pre-
Image of the imputation method simulated target object under the visual angle other than the corresponding visual angle of multiple first images, it can by imputing in advance
Image of the target object under the visual angle other than the corresponding visual angle of multiple first images is carried out picture material compensation by method, so as to
To obtain including the mesh under the visual angle other than under the corresponding visual angle of the multiple first images and corresponding visual angle of multiple first images
Mark subject image.
Further, in the present embodiment, step S330 may comprise steps of:
Step S331A: the Partial Feature parameter of the target object is extracted from the multiple first image.
In the present embodiment, after determining target object in multiple first images, mesh can be extracted from the first image
Mark the Partial Feature parameter of object, wherein characteristic parameter may include brightness, edge, texture and color etc..From multiple first figures
The Partial Feature parameter of target object is extracted as in, it can be by positioning target object region, by target object location
The image gray processing in domain divides the image into small connected region, then acquire connected region in each pixel gradient or side
These set of histograms finally can be obtained by feature vector by the direction histogram of edge altogether.It, can be with as a kind of mode
Based on neural network, by the way that the corresponding image in target object region in multiple first images is inputted in neural network,
So as to export the Partial Feature parameter of the target object extracted from multiple first images.Also based on multiple first images
The Partial Feature parameter of target object can be extracted by other means, it is not limited here.
Step S332A: the object type of the target object is identified according to the Partial Feature parameter, and is based on the object
The global feature parameter of target object described in body type queries.
In the present embodiment, the Partial Feature parameter that target object can be extracted based on multiple first images, to right
Target object carries out picture material compensation, needs to obtain the global feature parameter of target object.Mobile terminal can be based on image
Identification technology is compared according to Partial Feature parameter by characteristic parameter, so that the object type of the target object is identified, into one
Step ground, the object type based on target object can inquire the global feature parameter of corresponding server or network objectives object.
For example, the Partial Feature parameter such as color of automobile can be extracted from multiple first images when target object is automobile, profile,
And the type based on the Partial Feature parameter identification automobile extracted, if identifying, automobile is " XX " board automobile, can basis
The official website of the brand is inquired to get the global feature parameter of the automobile.
Step S333A: picture material compensation is carried out to the target object based on the global feature parameter, is obtained described
Target object image.
In the present embodiment, the Partial Feature ginseng based on the target object in multiple first images and multiple first images
Number, determines the corresponding relationship between the Partial Feature parameter of target object and the first image, in the entirety for getting target object
After characteristic parameter, it can determine target object image based on the corresponding relationship with the first image.
Further, in the present embodiment, step S330 can with the following steps are included:
Step S331B: the parallax of the multiple first image is obtained.
It in the present embodiment, can be by obtaining two the first images in multiple first images respectively, to this two
One image carries out identification to obtain the corresponding relationship between two the first images, and is based on principle of triangulation, to calculate
The parallax of first image is obtained, is based on the above method, then the parallax of available multiple first view.Further, also
It can be based on Stereo Matching Algorithm, the calculating of matching cost is carried out to the first image, and carry out cost polymerization, complete matching cost
Polymerization after choose the optimal point of cascade matching cost in a certain range as Corresponding matching point, the corresponding parallax of the match point
The as parallax of first image, specific disparity computation mode is it is not limited here.
Step S332B: the different parallaxes based on the multiple first image obtain pending figure in the target object
As the angle information of the part of content augmentation.
In the present embodiment, mobile terminal can determine target object multiple based on the different parallaxes of multiple first images
The parallax of image corresponding to visual angle other than the corresponding visual angle of first image, and based on the parallax determine in target object into
The angle information of the part of row picture material compensation.
Step S333B: corresponding picture material is matched and based on described image content to described based on the angle information
Target object compensates, and obtains the target object image.
In the present embodiment, the part that pending picture material compensates in parallax and target object based on first view
Angle information, search for match point on the corresponding virtual view of the angle information, obtain in the corresponding pixel of the match point
Hold, which is moved to the match point, to obtain the virtual view, i.e. target object image.
The image processing method that the application further embodiment provides, mobile terminal is by multiple cameras simultaneously with difference
Visual angle shoots target scene, obtains multiple first images, obtains one in target scene based on multiple first images
Or multiple objects, target object is determined from one or more objects, and obtain the first subject image corresponding with target object,
Picture material compensation is carried out to target object based on preset algorithm and multiple first images, obtains target object image, wherein
The corresponding visual angle of target object image include the corresponding visual angle of multiple first images and the corresponding visual angle of multiple first images with
Outer visual angle.The present embodiment carries out picture material to target object by preset algorithm and compensates to obtain target object image, thus
Get the image of the unspecified angle different from the first image taking angle.
Referring to Fig. 8, Fig. 8 shows the module frame chart of image processing apparatus 200 provided by the embodiments of the present application.The figure
As processing unit 200 is applied to above-mentioned mobile terminal.It will be illustrated below for block diagram described in Fig. 8, described image processing
Device 200 includes: shooting module 210, object acquisition module 220, instruction acquisition module 230 and update module 240, in which:
Shooting module 210, for the mobile terminal by the multiple camera simultaneously with different perspectives to target field
Scape is shot, and multiple first images are obtained.
Object obtains module 220, for obtaining one or more in the target scene based on the multiple first image
A object determines target object from one or more of objects, and obtains the first object corresponding with the target object
Image.
Further, it includes: acquisition submodule, display sub-module and receiving submodule that the object, which obtains module 220,
Wherein:
Acquisition submodule, for obtaining the target scene from the multiple first image based on default object condition
In one or more objects.
Display sub-module, for highlighting one or more of objects.
Receiving submodule, it is true from one or more of objects based on the selection operation for receiving selection operation
The fixed target object, and obtain the first subject image corresponding with the target object.
Instruction acquisition module 230, for the configuration-direct that gets parms, configuration-direct updates the target based on the parameter
The parameter information of object, obtains corresponding with the target object the second subject image, first subject image and described the
The corresponding visual angle of two subject images is different.
Further, described instruction obtains module 230 further include: and instruction acquisition submodule and image obtain submodule,
Wherein:
Acquisition submodule is instructed, for the configuration-direct that gets parms, configuration-direct obtains target rotation based on the parameter
Angle.
Image obtains submodule, for being obtained with the target object in rotary course based on target rotation angle
Corresponding multiple second subject images, the corresponding visual angle of the multiple second subject image are different.
Update module 240, for updating the first subject image of any first image in the multiple first image
For second subject image, multiple second images are obtained.
Further, described image processing unit 200 can also include: the first display module and the second display module,
Wherein:
First display module, for showing the multiple second image.
Second display module for showing any second image in the multiple second image, and is based on handover operation
Other second images in the multiple second image of rotational display.
Further, described image processing unit 200 can also include: picture material compensating module, in which:
Picture material compensating module, for based on preset algorithm and the multiple first image to the target object into
The compensation of row picture material, obtains target object image, wherein the corresponding visual angle of the target object image includes the multiple the
Visual angle other than the corresponding visual angle of one image and the corresponding visual angle of the multiple first image.
Further, described image content augmentation module can also include: extracting sub-module, identification submodule and first
Compensate submodule, in which:
Extracting sub-module, for extracting the Partial Feature parameter of the target object from the multiple first image.
It identifies submodule, for identifying the object type of the target object according to the Partial Feature parameter, and is based on
The object type inquires the global feature parameter of the target object.
First compensation submodule, for carrying out picture material benefit to the target object based on the global feature parameter
It repays, obtains the target object image.
Further, described image content augmentation module can also include: parallax acquisition submodule, angle information acquisition
Module and the second compensation submodule, in which:
Parallax acquisition submodule, for obtaining the parallax of the multiple first image.
Angle information acquisition submodule obtains the object for the different parallaxes based on the multiple first image
The angle information of the part of pending picture material compensation in body.
Second compensation submodule, for matching corresponding picture material based on the angle information and based in described image
Appearance compensates the target object, obtains the target object image.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and
The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other
The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
Referring to Fig. 9, it illustrates a kind of structural block diagrams of mobile terminal 100 provided by the embodiments of the present application.The movement
Terminal 100, which can be smart phone, tablet computer, e-book etc., can run the mobile terminal of application program.In the application
Mobile terminal 100 may include one or more such as lower component: processor 110, memory 120, screen 130, camera 140 with
And one or more application program, wherein one or more application programs can be stored in memory 120 and be configured as
It is executed by one or more processors 110, one or more programs are configured to carry out as described in preceding method embodiment
Method.
Wherein, processor 110 may include one or more processing core.Processor 110 utilizes various interfaces and route
The various pieces in entire mobile terminal 100 are connected, by running or executing the instruction being stored in memory 120, program, generation
Code collection or instruction set, and the data being stored in memory 120 are called, execute the various functions and processing of mobile terminal 100
Data.Optionally, processor 110 can be using Digital Signal Processing (Digital Signal Processing, DSP), scene
Programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable
Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central
Processing Unit, CPU), in graphics processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem
It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits
Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system
Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for
Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use
According to (such as phone directory, audio, video data, chat record data) etc..
Further, the screen 130 can be liquid crystal display (Liquid Crystal Display, LCD), can be with
For Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) etc..The screen 130 for show by with
The information of family input is supplied to the information of user and the various graphical user interface of the mobile terminal, these graphical users
Interface can be made of figure, text, icon, number, video and any combination thereof.
Camera 140 can be fixedly installed on mobile terminal 100, can be slideably positioned in mobile terminal 100, can also turn
It is dynamic to be set to mobile terminal 100, it is not limited here.
Referring to Fig. 10, it illustrates a kind of structural frames of computer-readable storage medium provided by the embodiments of the present application
Figure.Program code is stored in the computer-readable storage medium 300, said program code can be called by processor and be executed
State method described in embodiment of the method.
Computer-readable storage medium 300 can be (the read-only storage of electrically erasable of such as flash memory, EEPROM
Device), the electronic memory of EPROM, hard disk or ROM etc.Optionally, computer-readable storage medium 300 includes non-easy
The property lost computer-readable medium (non-transitory computer-readable storage medium).Computer can
Read the memory space that storage medium 300 has the program code 310 for executing any method and step in the above method.These journeys
Sequence code can read or be written to this one or more computer journey from one or more computer program product
In sequence product.Program code 310 can for example be compressed in a suitable form.
In conclusion image processing method provided by the embodiments of the present application, device, mobile terminal and storage medium, are moved
Dynamic terminal simultaneously shoots target scene with different perspectives by multiple camera, obtains multiple first images, is based on
Multiple first images obtain one or more objects in target scene, and target object is determined from one or more objects, and
The first subject image corresponding with target object is obtained, get parms configuration-direct, instructs more new object based on parameter configuration
The parameter information of body obtains the second subject image corresponding with target object, by any first image in multiple first images
The first subject image be updated to the second subject image, obtain multiple second images.This programme by multiple cameras simultaneously with
Different perspectives shoots target scene, can be obtained the image of the target object of different angle, so that user's operation is reduced,
Promoting user experience can be obtained the image of other more multi-angle of view, to promote display effect, promote user experience.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of image processing method, which is characterized in that it is applied to mobile terminal, the mobile terminal includes multiple cameras,
The visual angle of the multiple camera is different, which comprises
The mobile terminal with different perspectives shoots target scene simultaneously by the multiple camera, obtains multiple the
One image;
One or more objects in the target scene are obtained based on the multiple first image, from one or more of objects
Target object is determined in body, and obtains the first subject image corresponding with the target object;
Get parms configuration-direct, and configuration-direct updates the parameter information of the target object, acquisition and institute based on the parameter
Corresponding second subject image of target object is stated, first subject image and the corresponding visual angle of second subject image are not
Together;
First subject image of any first image in the multiple first image is updated to second subject image, is obtained
Obtain multiple second images.
2. the method according to claim 1, wherein the configuration-direct that gets parms, matches based on the parameter
The parameter information that instruction updates the target object is set, the second subject image corresponding with the target object is obtained, comprising:
Get parms configuration-direct, and configuration-direct obtains target rotation angle based on the parameter;
Based on the target rotation angle obtain with the target object in rotary course corresponding multiple second subject images,
The corresponding visual angle of the multiple second subject image is different.
3. the method according to claim 1, wherein any first figure by the multiple first image
First subject image of picture is updated to second subject image, after obtaining multiple second images, further includes:
Show the multiple second image;Or
It shows any second image in the multiple second image, and is based on the multiple second figure of handover operation rotational display
Other second images as in.
4. the method according to claim 1, wherein described obtain the target based on the multiple first image
One or more objects in scene determine target object from one or more of objects, and obtain and the object
Corresponding first subject image of body, comprising:
Based on default object condition, one or more objects in the target scene are obtained from the multiple first image;
Highlight one or more of objects;
Selection operation is received, the target object is determined from one or more of objects based on the selection operation, and obtain
Take the first subject image corresponding with the target object.
5. method according to claim 1-4, which is characterized in that described to be obtained based on the multiple first image
One or more objects in the target scene determine target object, and acquisition and institute from one or more of objects
After stating corresponding first subject image of target object, further includes:
Picture material compensation is carried out to the target object based on preset algorithm and the multiple first image, obtains object
Body image, wherein the corresponding visual angle of the target object image includes the corresponding visual angle of the multiple first image and described
Visual angle other than the corresponding visual angle of multiple first images.
6. according to the method described in claim 5, it is characterized in that, described be based on preset algorithm and the multiple first image
Picture material compensation is carried out to the target object, obtains target object image, comprising:
The Partial Feature parameter of the target object is extracted from the multiple first image;
The object type of the target object is identified according to the Partial Feature parameter, and based on described in object type inquiry
The global feature parameter of target object;
Picture material compensation is carried out to the target object based on the global feature parameter, obtains the target object image.
7. according to the method described in claim 5, it is characterized in that, described be based on preset algorithm and the multiple first image
Picture material compensation is carried out to the target object, obtains target object image, comprising:
Obtain the parallax of the multiple first image;
Different parallaxes based on the multiple first image obtain the portion of pending picture material compensation in the target object
The angle information divided;
Corresponding picture material is matched based on the angle information and the target object is mended based on described image content
It repays, obtains the target object image.
8. a kind of image processing apparatus, which is characterized in that it is applied to mobile terminal, the mobile terminal includes multiple cameras,
The visual angle of the multiple camera is different, and described device includes:
Shooting module simultaneously claps target scene with different perspectives by the multiple camera for the mobile terminal
It takes the photograph, obtains multiple first images;
Object obtains module, for obtaining one or more objects in the target scene based on the multiple first image,
Target object is determined from one or more of objects, and obtains the first subject image corresponding with the target object;
Instruction acquisition module, for the configuration-direct that gets parms, configuration-direct updates the target object based on the parameter
Parameter information obtains the second subject image corresponding with the target object, first subject image and second object
The corresponding visual angle of image is different;
Update module, for the first subject image of any first image in the multiple first image to be updated to described
Two subject images obtain multiple second images.
9. a kind of mobile terminal, which is characterized in that including memory and processor, the memory is couple to the processor,
The memory store instruction, the processor executes claim 1-7 such as and appoints when executed by the processor
Method described in one.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium
Sequence code, said program code can be called by processor and execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579229.8A CN110266926B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579229.8A CN110266926B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266926A true CN110266926A (en) | 2019-09-20 |
CN110266926B CN110266926B (en) | 2021-08-17 |
Family
ID=67923236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910579229.8A Active CN110266926B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266926B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010599A (en) * | 2019-12-18 | 2020-04-14 | 浙江大华技术股份有限公司 | Method and device for processing multi-scene video stream and computer equipment |
CN112633300A (en) * | 2020-12-30 | 2021-04-09 | 中国人民解放军国防科技大学 | Multi-dimensional interactive image characteristic parameter extraction and matching method |
US11263762B2 (en) | 2019-12-31 | 2022-03-01 | Sensetime International Pte. Ltd. | Image recognition method and apparatus, and computer-readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080057151A (en) * | 2006-12-19 | 2008-06-24 | 이문기 | Rotating 3d display |
CN101321299A (en) * | 2007-06-04 | 2008-12-10 | 华为技术有限公司 | Parallax generation method, generation cell and three-dimensional video generation method and device |
JP2008312058A (en) * | 2007-06-15 | 2008-12-25 | Fujifilm Corp | Imaging apparatus, imaging method, and program |
CN101651841A (en) * | 2008-08-13 | 2010-02-17 | 华为技术有限公司 | Method, system and equipment for realizing stereo video communication |
CN102222357A (en) * | 2010-04-15 | 2011-10-19 | 温州大学 | Foot-shaped three-dimensional surface reconstruction method based on image segmentation and grid subdivision |
CN102780873A (en) * | 2011-05-13 | 2012-11-14 | 索尼公司 | Image processing apparatus and method |
US20120307068A1 (en) * | 2011-06-01 | 2012-12-06 | Roy Feinson | Surround video recording |
CN103345736A (en) * | 2013-05-28 | 2013-10-09 | 天津大学 | Virtual viewpoint rendering method |
CN103763543A (en) * | 2014-02-13 | 2014-04-30 | 北京大学 | Collecting method of resultant hologram |
CN106257909A (en) * | 2015-06-16 | 2016-12-28 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN106464847A (en) * | 2014-06-20 | 2017-02-22 | 歌乐株式会社 | Image synthesis system, image synthesis device therefor, and image synthesis method |
CN106998430A (en) * | 2017-04-28 | 2017-08-01 | 北京瑞盖科技股份有限公司 | 360 degree of video playback methods based on polyphaser |
-
2019
- 2019-06-28 CN CN201910579229.8A patent/CN110266926B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080057151A (en) * | 2006-12-19 | 2008-06-24 | 이문기 | Rotating 3d display |
CN101321299A (en) * | 2007-06-04 | 2008-12-10 | 华为技术有限公司 | Parallax generation method, generation cell and three-dimensional video generation method and device |
JP2008312058A (en) * | 2007-06-15 | 2008-12-25 | Fujifilm Corp | Imaging apparatus, imaging method, and program |
CN101651841A (en) * | 2008-08-13 | 2010-02-17 | 华为技术有限公司 | Method, system and equipment for realizing stereo video communication |
CN102222357A (en) * | 2010-04-15 | 2011-10-19 | 温州大学 | Foot-shaped three-dimensional surface reconstruction method based on image segmentation and grid subdivision |
CN102780873A (en) * | 2011-05-13 | 2012-11-14 | 索尼公司 | Image processing apparatus and method |
US20120307068A1 (en) * | 2011-06-01 | 2012-12-06 | Roy Feinson | Surround video recording |
CN103345736A (en) * | 2013-05-28 | 2013-10-09 | 天津大学 | Virtual viewpoint rendering method |
CN103763543A (en) * | 2014-02-13 | 2014-04-30 | 北京大学 | Collecting method of resultant hologram |
CN106464847A (en) * | 2014-06-20 | 2017-02-22 | 歌乐株式会社 | Image synthesis system, image synthesis device therefor, and image synthesis method |
CN106257909A (en) * | 2015-06-16 | 2016-12-28 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN106998430A (en) * | 2017-04-28 | 2017-08-01 | 北京瑞盖科技股份有限公司 | 360 degree of video playback methods based on polyphaser |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010599A (en) * | 2019-12-18 | 2020-04-14 | 浙江大华技术股份有限公司 | Method and device for processing multi-scene video stream and computer equipment |
US11263762B2 (en) | 2019-12-31 | 2022-03-01 | Sensetime International Pte. Ltd. | Image recognition method and apparatus, and computer-readable storage medium |
CN112633300A (en) * | 2020-12-30 | 2021-04-09 | 中国人民解放军国防科技大学 | Multi-dimensional interactive image characteristic parameter extraction and matching method |
CN112633300B (en) * | 2020-12-30 | 2023-06-20 | 中国人民解放军国防科技大学 | Multi-dimensional interactive image feature parameter extraction and matching method |
Also Published As
Publication number | Publication date |
---|---|
CN110266926B (en) | 2021-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110300264B (en) | Image processing method, image processing device, mobile terminal and storage medium | |
US11756223B2 (en) | Depth-aware photo editing | |
CN111462311B (en) | Panorama generation method and device and storage medium | |
EP3457683B1 (en) | Dynamic generation of image of a scene based on removal of undesired object present in the scene | |
CN106899781B (en) | Image processing method and electronic equipment | |
CN110288534B (en) | Image processing method, device, electronic equipment and storage medium | |
WO2022076116A1 (en) | Segmentation for image effects | |
CN110266926A (en) | Image processing method, device, mobile terminal and storage medium | |
CN110636276B (en) | Video shooting method and device, storage medium and electronic equipment | |
CN111193961B (en) | Video editing apparatus and method | |
CN107623819B (en) | A kind of method taken pictures and mobile terminal and related media production | |
CN112207821B (en) | Target searching method of visual robot and robot | |
CN112308977B (en) | Video processing method, video processing device, and storage medium | |
US20190208124A1 (en) | Methods and apparatus for overcapture storytelling | |
CN114926351B (en) | Image processing method, electronic device, and computer storage medium | |
CN110611768B (en) | Multiple exposure photographic method and device | |
CN110177216B (en) | Image processing method, image processing device, mobile terminal and storage medium | |
WO2022083118A1 (en) | Data processing method and related device | |
CN110266955B (en) | Image processing method, image processing apparatus, electronic device, and storage medium | |
CN115623313A (en) | Image processing method, image processing apparatus, electronic device, and storage medium | |
CN114119701A (en) | Image processing method and device | |
CN112634339A (en) | Commodity object information display method and device and electronic equipment | |
JP2016071496A (en) | Information terminal device, method, and program | |
JP2017184021A (en) | Content providing device and content providing program | |
CN115760584A (en) | Image processing method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |