CN108494996A - Image processing method, device, storage medium and mobile terminal - Google Patents
Image processing method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108494996A CN108494996A CN201810455796.8A CN201810455796A CN108494996A CN 108494996 A CN108494996 A CN 108494996A CN 201810455796 A CN201810455796 A CN 201810455796A CN 108494996 A CN108494996 A CN 108494996A
- Authority
- CN
- China
- Prior art keywords
- image
- occlusion area
- occlusion
- area
- shooting
- 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/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Image Analysis (AREA)
Abstract
The embodiment of the present application discloses image processing method, device, storage medium and mobile terminal.This method includes:When occlusion detection event is triggered, the shooting image of camera is obtained;Occlusion detection is carried out to the shooting image, determines the first occlusion area in the shooting image;When the characteristic value of first occlusion area is less than default characteristic threshold value, target decorative image is obtained;Wherein, the characteristic value of first occlusion area includes the area of the first occlusion area, the sum of all pixels of the first occlusion area and the first occlusion area at least one of proportion in the shooting image;First occlusion area is modified based on the target decorative image.The embodiment of the present application can modify occlusion area by trim when occlusion area is smaller by using above-mentioned technical proposal, can not only eliminate beautiful influence of the occlusion area to shooting image, but also can effectively improve the quality of shooting image.
Description
Technical field
The invention relates to image processing field more particularly to image processing method, device, storage medium and movements
Terminal.
Background technology
With the fast development of electronic technology and the increasingly raising of people's living standard, terminal device has become people's life
An essential part in work.Most of terminal all has camera function of taking pictures now, and takes pictures or camera function is deep
Liked by user, and had been more and more widely used.User is by the camera function of taking pictures of terminal, the point point in record life
Drop drop, and preserve in the terminal, convenient for recalling, appreciating and check in the future.
However, in some cases, during user shoots photo or video, there are the camera shootings of shelter shield portions
The case where head, cause shooting picture second-rate, influences the beauty for shooting image.Therefore, improving the quality of shooting image becomes
It is most important.
Invention content
The embodiment of the present application provides image processing method, device, storage medium and mobile terminal, can effectively improve shooting
The quality of image.
In a first aspect, an embodiment of the present invention provides a kind of image processing methods, including:
When occlusion detection event is triggered, the shooting image of camera is obtained;
Occlusion detection is carried out to the shooting image, determines the first occlusion area in the shooting image;
When the characteristic value of first occlusion area is less than default characteristic threshold value, target decorative image is obtained;Wherein, institute
The characteristic value for stating the first occlusion area includes the area of the first occlusion area, the sum of all pixels of the first occlusion area and first blocks
Region at least one of proportion in the shooting image;
First occlusion area is modified based on the target decorative image.
Second aspect, an embodiment of the present invention provides a kind of image processing apparatus, including:
Image collection module is shot, for when occlusion detection event is triggered, obtaining the shooting image of camera;
Occlusion area determining module is determined for carrying out occlusion detection to the shooting image in the shooting image
First occlusion area;
Decorative image acquisition module, for when the characteristic value of first occlusion area is less than default characteristic threshold value, obtaining
Take target decorative image;Wherein, the characteristic value of first occlusion area includes the area of the first occlusion area, the first blocked area
The sum of all pixels in domain and the first occlusion area at least one of proportion in the shooting image;
Occlusion area modifies module, is modified first occlusion area for being based on the target decorative image.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the image processing method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage
It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real
Apply the image processing method described in example.
The image procossing scheme provided in the embodiment of the present invention obtains camera when occlusion detection event is triggered
Image is shot, occlusion detection is carried out to shooting image, determines the first occlusion area in shooting image, and when the first occlusion area
Characteristic value when being less than default characteristic threshold value, obtain target decorative image, wherein the characteristic value of the first occlusion area includes first
The area of occlusion area, the sum of all pixels of the first occlusion area and the first occlusion area in shooting image in proportion extremely
It is one few, it is then based on target decorative image and occlusion area is modified.By technical solution provided by the embodiments of the present application,
Occlusion area can be modified by trim when occlusion area is smaller, can not only eliminate occlusion area to shooting
The beautiful influence of image, and can effectively improve the quality of shooting image.
Description of the drawings
Fig. 1 is a kind of flow diagram of image processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another image processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another image processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of image processing apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the present invention rather than limitation of the invention.It further needs exist for illustrating
, only the parts related to the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is the flow diagram of image processing method provided in an embodiment of the present invention, and the present embodiment is applicable to image
The case where occlusion detection, this method can be executed by image processing apparatus, wherein the device can by software and or hardware realization,
It can generally integrate in the terminal.As shown in Figure 1, this method includes:
Step 101, when occlusion detection event is triggered, obtain the shooting image of camera.
Illustratively, the mobile terminal in the embodiment of the present application may include the mobile devices such as mobile phone and tablet computer.
When occlusion detection event is triggered, the shooting image of camera is obtained, to start occlusion detection event.
Illustratively, in order to carry out occlusion detection on suitable opportunity, occlusion detection event can be pre-set and be triggered
Condition.Optionally, it monitors and whether receives occlusion detection instruction;When receiving the occlusion detection instruction, determination is blocked
Detecting event is triggered, and can more accurately meet real demand of the user to occlusion detection in this way.It is understood that when connecing
When receiving occlusion detection instruction input by user, show to detect that active user actively opens occlusion detection permission, at this point, triggering
Occlusion detection event.Optionally, in order to make occlusion detection be applied to more valuable Time window, to save occlusion detection institute band
The extra power consumption come, can be analyzed or be investigated to the Time window and application scenarios of occlusion detection, be arranged rational default
Scene triggers occlusion detection event when detecting that mobile terminal is in default scene.Illustratively, shooting image is obtained
Exposure;When the exposure is more than default threshold exposure, determine that occlusion detection event is triggered.It is understood that working as
When the exposure of shooting image is larger, illustrate in photographing phase, user is likely to occur in order to avoid the case where overexposure, uses
Clothing or hand etc. reduce the exposure of image as far as possible.Therefore, when the exposure of shooting image is more than default threshold exposure
When, triggering occlusion detection event is triggered.For another example, when the environmental light brightness of mobile terminal present position is more than predetermined luminance threshold value
When, trigger occlusion detection event.It is understood that when environmental light brightness is larger, it is be easy to cause the image overexposure of shooting,
User is for the possibility that occurs the case where reducing environmental light brightness, reduce overexposure, it will usually be reduced with clothing or hand
Influence of the bright ambient light to taking pictures.But in this process, be easy it is careless in user, to camera produce
First portion blocks.It should be noted that the embodiment of the present application does not limit the specific manifestation form that occlusion detection event is triggered
It is fixed.
In the embodiment of the present application, when occlusion detection event is triggered, the shooting image of camera is obtained.It is appreciated that
, when user needs to take pictures, the shooting function to open a terminal, the camera applications in such as opening a terminal open a terminal
Camera is treated reference object by camera and is shot, and shooting image is generated.Wherein, shooting image can be camera
An at least frame image in the video image of shooting, can also be camera continuous shooting multiple images in an at least frame image,
It can also be that the single image of camera shooting, the embodiment of the present application do not limit this.It is imaged in addition, camera can be 2D
Head, or 3D cameras.3D cameras are properly termed as 3D sensors again.3D cameras and common camera (namely 2D takes the photograph
As head) difference lies in, 3D cameras can not only obtain flat image, can also obtain the depth information of reference object,
It is exactly the positions and dimensions information of three-dimensional.When camera is 2D cameras, the shooting image of the camera of acquisition shoots for 2D
Image;When camera is 3D cameras, the shooting image of acquisition is that 3D shoots image.
Step 102 carries out occlusion detection to the shooting image, determines the first occlusion area in the shooting image.
In the embodiment of the present application, occlusion detection is carried out to shooting image, determines the first occlusion area in shooting image,
May include:Shooting image is analyzed based on image recognition technology, first in shooting image is determined according to analysis result
Occlusion area.Illustratively, the fuzziness for shooting image is analyzed, the image district that fuzziness is larger in image will be shot
Domain is determined as the first occlusion area.It is understood that the fuzziness of shooting image reflects the picture quality of shooting image,
Fuzziness is higher, and corresponding picture quality is poorer, conversely, fuzziness is lower, corresponding picture quality is higher.It is appreciated that
Be, when shoot in image there are when occlusion area, cause the shelter of occlusion area usually except the focal range of camera,
Namely camera can not typically be directed at camera focal length, can cause shelter corresponding figure when being shot to shelter
As the fuzziness in region is higher namely the fog-level of occlusion area is larger, occlusion area lacks apparent textural characteristics or point
Sharp edge feature can further influence the fuzziness of entire shooting preview image.It therefore, can be by the larger image of fuzziness
Fuzziness is such as more than the image-region of default fuzziness threshold value, is determined as the first occlusion area by region.
Optionally, shooting image is input to occlusion area trained in advance to determine in model, is determined according to occlusion area
The output result of model determines the first occlusion area in shooting image.It should be noted that the embodiment of the present application is clapped determining
The mode for the first occlusion area taken the photograph in image does not limit.
Step 103, when the characteristic value of first occlusion area is less than default characteristic threshold value, obtain target modification figure
Picture.
Wherein, the characteristic value of first occlusion area includes the picture of the area of the first occlusion area, the first occlusion area
Plain sum and the first occlusion area at least one of proportion in the shooting image.
In the embodiment of the present application, the characteristic value of the first occlusion area reflects the first occlusion area in shooting image
Size.Wherein, the characteristic value of the first occlusion area is bigger, indicates the first occlusion area image scaled shared in shooting image
It is bigger.Illustratively, when the characteristic value of the first occlusion area is the area of the first occlusion area, the feature of the first occlusion area
Value is less than default characteristic threshold value, it can be understood as the area of the first occlusion area is less than preset area threshold value, that is, indicates that first hides
The area for keeping off region is sufficiently small.When the characteristic value of the first occlusion area is the sum of all pixels of the first occlusion area, first blocks
The characteristic value in region is less than default characteristic threshold value, it can be understood as the sum of all pixels of the first occlusion area is less than presetted pixel number threshold
Value, that is, indicate that pixel number included in the first occlusion area correspondence image is few enough.When the characteristic value of the first occlusion area is
For first occlusion area in proportion in shooting image, the characteristic value of the first occlusion area is less than default characteristic threshold value, can be with
It is interpreted as the first occlusion area proportion in shooting image and is less than preset ratio threshold value, that is, indicate that the first occlusion area accounts for this
The ratio of a shooting image is sufficiently small.
When the characteristic value of the first occlusion area is less than default characteristic threshold value, target decorative image is obtained.Wherein, target is repaiied
Jewelry can be understood as the image modified the first occlusion area.Target decorative image may include:Cartoon character, cartoon
At least one of decorative images such as personage, paster, word, expression packet and modification frame, the embodiment of the present application does not limit this
It is fixed.
Step 104 modifies first occlusion area based on the target decorative image.
In the embodiment of the present application, the first occlusion area is covered with target decorative image, to beautify to shooting image.
Illustratively, target decorative image is image full of joy, then covers the first occlusion area with image full of joy, i.e., in shooting image
In the first occlusion area position on, add an image full of joy, make the first occlusion area that can not show, to reach
To the effect of shooting image beautification.
The image processing method provided in the embodiment of the present invention obtains camera when occlusion detection event is triggered
Image is shot, occlusion detection is carried out to shooting image, determines the first occlusion area in shooting image, and when the first occlusion area
Characteristic value when being less than default characteristic threshold value, obtain target decorative image, wherein the characteristic value of the first occlusion area includes first
The area of occlusion area, the sum of all pixels of the first occlusion area and the first occlusion area in shooting image in proportion extremely
It is one few, it is then based on target decorative image and occlusion area is modified.By technical solution provided by the embodiments of the present application,
Occlusion area can be modified by trim when occlusion area is smaller, can not only eliminate occlusion area to shooting
The beautiful influence of image, and can effectively improve the quality of shooting image.
In some embodiments, when the characteristic value of first occlusion area is less than default characteristic threshold value, target is obtained
Decorative image, including:When the characteristic value of first occlusion area is less than default characteristic threshold value, first blocked area is obtained
The pixel jump value of the peripheral region in domain;When the pixel jump value is more than default saltus step threshold value, target decorative image is obtained.
The advantages of this arrangement are as follows under the premise of ensureing to shoot image integrity, occlusion area can be not only eliminated to shooting figure
The beautiful influence of picture, and the quality of shooting image can be further increased.
In the embodiment of the present application, when the characteristic value of the first occlusion area is less than default characteristic threshold value, illustrate the first screening
Gear region image scaled shared in entirely shooting image is sufficiently small, at this point, obtain the peripheral region of the first occlusion area
Pixel jump value.Wherein, peripheral region may include be distributed in the first occlusion area surrounding, and with the shape of the first occlusion area
And the identical image-region of size, can also include be distributed in the first occlusion area surrounding, and with the first blocked area
The identical image-region of external regular figure in domain.For example, the first occlusion area is irregular shape, then blocked from first
The surrounding in region intercepts, with the boundary rectangle of the first occlusion area or the area of circumscribed circle and the identical image district of shape
Domain, the peripheral region as the first occlusion area.Certainly, peripheral region can also be and the first occlusion area or the first blocked area
The shape of the external regular figure in domain is identical, the image-region of area bigger.Peripheral region can also be and the first occlusion area
Or first occlusion area external regular figure shape it is identical, the slightly smaller image-region of area.In addition, the number of peripheral region
It can be one, or multiple.Illustratively, the first occlusion area is distributed in the upper right corner of shooting image, then from first
A peripheral region corresponding with the first occlusion area is intercepted in the left of occlusion area and the peripheral region of lower section respectively.Show again
Example property, the different peripheral region of multiple sizes can also be intercepted from the surrounding of the first occlusion area.When peripheral region is
When multiple, the shape and size of each peripheral region may be the same or different.It should be noted that the application is real
Peripheral region quantity, the form and dimension for applying the first occlusion area of example pair do not limit.
Pixel jump value reflects the situation of change of the pixel value of the corresponding image in peripheral region.Wherein, pixel jump value
It may include the maximum value of the pixel value of adjacent pixel in the corresponding image in peripheral region, can also include peripheral region pair
The mean value of the pixel value of adjacent pixel in the image answered.Pixel jump value is bigger, indicates the corresponding image in peripheral region
Color change is more apparent, conversely, pixel jump value is smaller, indicates that the color change of the corresponding image in peripheral region is smaller, such as week
It is single color image to enclose the corresponding image in region, or to approach the image of single color.When pixel jump value is more than default saltus step
When threshold value, show that the peripheral region corresponding color of image (i.e. pixel value) of the first occlusion area surrounding changes greatly, at this point, nothing
Method substantially determines the definite relation between the pixel value and peripheral region pixel value of the first occlusion area, can not determine first in other words
The approximate range of the pixel value of occlusion area can not carry out the first occlusion area by the peripheral region of the first occlusion area
Processing.At this point, in order to which influence of first occlusion area to shooting image can also be eliminated, target trim can be obtained, is based on
The first occlusion area of target trim pair is modified, to achieve the effect that shooting image beautification.
Optionally, this method further includes:It is determining from the peripheral region to repair when pixel jump value is less than predetermined threshold value
Multiblock, and first occlusion area is repaired based on the reparation block.The advantages of this arrangement are as follows ensureing to shoot
Under the premise of image integrity, the image shot when shooting figure picture can be made not to be blocked closer to camera further increases
Shoot the quality of image.
Illustratively, when pixel jump value is less than default saltus step threshold value, show the peripheral region of the first occlusion area surrounding
The corresponding color of image in domain (i.e. pixel value) variation is smaller, or is single color, at this point, the corresponding image of the first occlusion area of explanation
It is not very big that color (i.e. pixel value) is differed with the color of peripheral region, can be determined from peripheral region and repair block, and is based on
The first occlusion area of block pair is repaired to repair.
Illustratively, when peripheral region is the identical image-region of shape and size with the first occlusion area
When, with reparation block pair the first occlusion area memory reparation, namely surrounding can be used directly using the peripheral region as block is repaired
Region overlay first occlusion area.When peripheral region is the identical image of external regular figure with the first occlusion area
When region, it can be intercepted from the peripheral region and the shape of the first occlusion area and the identical image district of size
The first occlusion area is repaired as block is repaired in domain, can also intercept the figure for presetting size at random from the peripheral region
Block is repaired as block is used as, is repaired by the first occlusion area of multiple reparation blocks pair.When the area of peripheral region is less than first
When the area of occlusion area, the image block of pixel jump value minimum can be intercepted from the peripheral region as reparation block, or
The image block adjacent with the first occlusion area is intercepted from peripheral region as reparation block, and is blocked based on the reparation block pair first
It is repaired in region.Wherein, it is repaired based on reparation the first occlusion area of block pair, may include:With reparation block correspondence image
Pixel value replace the first occlusion area correspondence image pixel value.
In some embodiments, when the characteristic value of first occlusion area is less than default characteristic threshold value, target is obtained
Decorative image, including:When the characteristic value of first occlusion area is less than default characteristic threshold value, to the master of the shooting picture
Body image is identified;Determine the classification of the subject image;It is determined and the main body figure according to the classification of the subject image
As matched target decorative image.The advantages of this arrangement are as follows can be by more matched with the subject image of shooting image
Decorative image modifies the occlusion area in shooting image, can not only eliminate beauty of the occlusion area to shooting image
Influence, and can further increase shooting image quality.
In the embodiment of the present application, when the characteristic value of the first occlusion area is less than default characteristic threshold value, illustrate the first screening
It is sufficiently small to keep off region image scaled shared in entirely shooting image, at this point, if with the first occlusion area of decorative image pair
It is modified, is not interfered with the visual effect and aesthetics of entire shooting image.Subject image in shooting image is known
Not, wherein the main subject of camera, the image presented in shooting image when subject image includes shooting.For example, shooting
Object may include museum, children, doggie, spend the different reference objects such as sea and trees, then subject image is and subject pair
The image answered.According to the subject image identified, the classification of subject image is determined, and determine and master according to the classification of subject image
The target decorative image of body images match.Illustratively, when subject image is doggie, it is determined that subject image belongs to " animal
The classification of class " image namely subject image is " animal class ", then can will be with the more matched animal class image conduct of subject image
Target decorative image, such as using cartoon image full of joy as target decorative image.It is again illustrative, when subject image is to spend sea
When, it is determined that subject image belongs to " landscape class " image, then can will be with the more matched landscape class image of subject image as mesh
Decorative image is marked, such as using the image of a rose as target decorative image.It is illustrative again, when subject image is children
When, it is determined that subject image belongs to " figure kind " image, then can will be with the more matched cartoon figure of subject image or animation people
Object is as target decorative image, such as using ultraman or Winnie the Pooh as target decorative image.
Wherein, according to the determination of the classification of subject image and the matched target decorative image of subject image, may include:According to
The classification of determining subject image is searched and main from the correspondence list of preset subject image and decorative image
The decorative image of body images match is as target decorative image.It is carried out based on determining the first occlusion area of target decorative image pair
It modifies, may include:The first occlusion area is covered with target decorative image, to beautify to shooting image.Certainly, when first
Occlusion area be located at shooting image surrounding position when, and the first occlusion area area it is sufficiently small when, can be shooting figure picture
Addition and the more matched photo frame of subject image, make photo frame cover in the first occlusion area as much as possible, not only can eliminate
Influence of first occlusion area to shooting image can also beautify shooting image.
In some embodiments, when the characteristic value of first occlusion area is less than default characteristic threshold value, target is obtained
Decorative image, including:When the characteristic value of first occlusion area is less than default characteristic threshold value, determine in the shooting image
Body region;Judge first occlusion area with the body region with the presence or absence of Chong Die;When first occlusion area
When being not present Chong Die with the body region, target decorative image is obtained.The advantages of this arrangement are as follows can ensure to block
Under the premise of region does not influence the subject image in shooting image, namely before ensureing the integrality of subject image of shooting
It puts, by decorative image, the occlusion area in shooting image is modified, the matter of shooting image can be further increased
Amount.
In the embodiment of the present application, when the characteristic value of the first occlusion area is less than default characteristic threshold value, illustrate the first screening
It is sufficiently small to keep off region image scaled shared in entirely shooting image, but if the first occlusion area is located just at bat at this time
It takes the photograph in the subject image of image namely the presence of the first occlusion area keeps the subject image of shooting image imperfect, if continued
It is modified with the first occlusion area of decorative image pair, although influence of first occlusion area to shooting image can be eliminated,
It is the integrality that can not ensure to shoot the subject image in image, but also can makes entirely to shoot image and seem loftier,
Not enough coordinate, is beautiful.Therefore, it when the characteristic value of the first occlusion area is less than default characteristic threshold value, determines in shooting image
Body region, and when the first occlusion area is not present Chong Die with body region, obtain target decorative image.Wherein, body region
Domain is to contain shooting image in the corresponding image-region of subject image namely the corresponding image of body region shot in image
Subject image.Illustratively, the subject image in shooting image is identified based on image recognition technology, wherein main body
The main subject of camera, the image presented in shooting image when image includes shooting.For example, subject may include winning
The different reference objects such as sea and trees, doggie, are spent at children in object shop, then subject image is image corresponding with subject.It can be with
It, can also be by the external regular image area corresponding to subject image using the image-region corresponding to subject image as body region
Domain is as body region.When the first occlusion area is not be overlapped with subject image, illustrate although the first occlusion area affects this
The aesthetics of a shooting image, but do not influence the integrality of subject image, i.e. the first occlusion area and unmasked portion master
Body image, at this point it is possible to be modified occlusion area by decorative image, to reach the effect to shooting image beautification.
In some embodiments, occlusion detection is carried out to the shooting image, determines that first in the shooting image hides
Region is kept off, including:The shooting image is input to occlusion area trained in advance to determine in model;Wherein, the blocked area
Domain determines that model is generated based on the characteristic rule that occlusion area is presented in the picture;The defeated of model is determined according to the occlusion area
Go out result and determines first occlusion area shot in image.The advantages of this arrangement are as follows being blocked by what is built in advance
Region determines that model carries out occlusion detection to shooting image, can accurately and rapidly determine the occlusion area in shooting image.
In the embodiment of the present application, occlusion area determines that model can be understood as after input shoots image, can be quick
The learning model for determining the occlusion area in shooting image, also can quickly judge tool of the occlusion area in shooting image
The learning model of body distributed areas.Occlusion area determines that model may include neural network model, decision-tree model and random gloomy
Any one in the machine learning models such as woods model.Occlusion area determines that model can be to sample database includes in the presence of blocking
The sample image in region, and the sample training collection for being labelled in sample image occlusion area is trained generation.It is exemplary
, occlusion area determines that model is generated based on the characteristic rule that occlusion area is presented in the picture.It is understood that at one
The feature that occlusion area and de-occlusion region are presented in image is different, and therefore, can in the picture be presented to occlusion area
Characteristic rule learnt, generate occlusion area determine model.Wherein, the feature that occlusion area is presented in the picture can wrap
It includes:Occlusion area size in the picture, occlusion area position in the picture, occlusion area shape in the picture are blocked
The brightness in region, the color of occlusion area, the fuzziness of occlusion area and occlusion area at least one of texture.It is blocking
When detecting event is triggered, the shooting image of camera is obtained, and the shooting image of acquisition is input to occlusion area and determines mould
In type, occlusion area determines that model can analyze the characteristic information of the shooting image, and can be true according to analysis result
Occlusion area in the fixed shooting image, namely determine which specific partial image region is the first blocked area in shooting image
Domain.
Illustratively, shooting image is input to after occlusion area determines model, occlusion area determines that model is true through analyzing
Surely it shoots in image there are occlusion area, then occlusion area determines that model can have the shooting figure of the first occlusion area with output token
Picture.That is, occlusion area determines that the output result of model is also shooting image at this time, only remembers in shooting image acceptance of the bid and the
One occlusion area.Shooting image is input to after occlusion area determines model, occlusion area determines that model determines shooting through analysis
Occlusion area is not present in image, then occlusion area determines the identical figure of shooting image that model can be exported and be inputted
Picture, that is, without any label in the shooting image exported.
In some embodiments, in the shooting image to be input to in advance trained occlusion area and determines model it
Before, further include:Obtain sample image, wherein the sample image includes that there are the images of the second occlusion area;In the sample
Second occlusion area is labeled in image, and using the sample image after the second occlusion area of mark as training sample
Collection;Machine learning model is preset using the training sample set pair to be trained with the characteristic rule to second occlusion area
Learnt, obtains occlusion area and determine model.The advantages of this arrangement are as follows using the sample image including occlusion area as
Occlusion area determines the samples sources of model, and is labeled to the occlusion area in sample image, can greatly improve to hiding
Gear region determines the precision of model training.
In the embodiment of the present application, sample image is obtained, wherein sample image includes that there are the figures of the second occlusion area
Picture.Wherein it is possible to determine the second occlusion area in sample image based on image processing techniques, can also be selected according to the circle of user
Operation determines the second occlusion area in sample image.The second occlusion area is labeled in sample image, also i.e. by the
The corresponding image-region of two occlusion areas is labeled in corresponding second sample image.By second after the second occlusion area of mark
Sample image is preset machine learning model using training sample set pair and is trained as training sample set, to be hidden to second
The characteristic rule in gear region is learnt, and is obtained occlusion area and is determined model.Illustratively, machine learning model is preset to training
Shape, color, brightness, fuzziness, texture information and the second occlusion area of the second occlusion area in sample are in sample image
In the range of information such as position learnt, according to the characteristic rule that the second occlusion area is presented in sample image, generate
Occlusion area determines model.Wherein, default machine learning model may include neural network model, it is decision-tree model, random gloomy
Any one in woods model and model-naive Bayesian.The embodiment of the present application does not limit default machine learning model.
Wherein, it is input to before in advance trained occlusion area determines in model image will be shot, obtains occlusion area
Determine model.It should be noted that can be the above-mentioned sample image of acquisition for mobile terminal, and the of the second occlusion area will be marked
Two sample images are preset machine learning model as training sample set, using the training sample set pair and are trained, and directly generate
Occlusion area determines model.It can also be that mobile terminal directly invokes the occlusion area that the training of other mobile terminals generates and determines mould
Type.Training sample set is trained it is of course also possible to be based on default machine learning model by server, obtains occlusion area
Determine model.When mobile terminal it needs to be determined that when shooting the occlusion area in image, blocked from server calls are trained
Region determines model.
Fig. 2 is the flow diagram of image processing method provided by the embodiments of the present application.As shown in Fig. 2, this method includes:
Step 201, when occlusion detection event is triggered, obtain the shooting image of camera.
Wherein, it monitors and whether receives occlusion detection instruction;When receiving occlusion detection instruction, occlusion detection thing is determined
Part is triggered;Or obtain the exposure of shooting image;When exposure is more than default threshold exposure, occlusion detection event quilt is determined
Triggering.
Step 202 carries out occlusion detection to shooting image, determines the first occlusion area in shooting image.
Step 203, when the characteristic value of the first occlusion area is less than default characteristic threshold value, obtain the week of the first occlusion area
Enclose the pixel jump value in region.
Wherein, the characteristic value of the first occlusion area includes that the area of the first occlusion area, the pixel of the first occlusion area are total
Number and the first occlusion area at least one of proportion in shooting image.
Step 204 judges whether pixel jump value is more than default saltus step threshold value and otherwise, is held if so, thening follow the steps 205
Row step 208.
The subject image for shooting picture is identified in step 205, determines the classification of subject image.
Step 206 determines and the matched target decorative image of subject image according to the classification of subject image.
Step 207 is modified based on the first occlusion area of target decorative image pair.
Step 208 determines from peripheral region and repairs block, and is based on reparation the first occlusion area of block pair and repairs, with
Shooting image is beautified.
Image processing method provided by the embodiments of the present application is obtained when the area of the first occlusion area is less than predetermined threshold value
Take the pixel jump value of the peripheral region of the first occlusion area, and when pixel jump value is more than default saltus step threshold value, obtain with
The matched target decorative image of subject image, and modified based on the first occlusion area of target decorative image pair, when pixel is jumped
When variate is less than default saltus step threshold value, is determined from peripheral region and repair block, and carried out based on the first occlusion area of block pair is repaired
It repairs.By using above-mentioned technical proposal shooting image can be further increased under the premise of ensureing to shoot image integrity
Quality.
Fig. 3 is the flow diagram of image processing method provided by the embodiments of the present application.As shown in figure 3, this method includes:
Step 301 obtains sample image.
Wherein, sample image includes that there are the images of the second occlusion area.
Step 302 is labeled the second occlusion area in sample image, and by mark the second occlusion area after sample
This image is used as training sample set.
Step 303 is trained using the default machine learning model of training sample set pair with the spy to the second occlusion area
Sign rule is learnt, and is obtained occlusion area and is determined model.
Wherein, the feature that occlusion area is presented in the picture includes:Occlusion area size in the picture, occlusion area exist
Position, occlusion area in image shape in the picture, the brightness of occlusion area, the color of occlusion area, occlusion area
At least one of the texture of fuzziness and occlusion area.
Step 304, when occlusion detection event is triggered, obtain the shooting image of camera.
Wherein, it monitors and whether receives occlusion detection instruction;When receiving occlusion detection instruction, occlusion detection thing is determined
Part is triggered;Or obtain the exposure of shooting image;When exposure is more than default threshold exposure, occlusion detection event quilt is determined
Triggering.
Step 305 will shoot image and be input in advance trained occlusion area and determines in model.
Wherein, occlusion area determines that model is generated based on the characteristic rule that occlusion area is presented in the picture;
Step 306 determines that the output result of model determines the first occlusion area in shooting image according to occlusion area.
Step 307, when the area of the first occlusion area be less than predetermined threshold value when, determine shooting image in body region.
Step 308 judges the first occlusion area and body region with the presence or absence of Chong Die, if so, 311 are thened follow the steps, it is no
Then, step 309 is executed.
Step 309 obtains target trim.
Step 310 is modified based on the first occlusion area of target decorative image pair, to beautify to shooting image.
Step 311 does not carry out processing operation to the first occlusion area.
Image processing method provided by the embodiments of the present application will shoot image and be input to occlusion area determination trained in advance
In model, determine that the output result of model determines the first occlusion area in shooting image according to occlusion area, and when the first screening
When gear region is not present Chong Die with body region, modified based on the first occlusion area of target decorative image pair.By using
Above-mentioned technical proposal can determine that model carries out occlusion detection to shooting image by the occlusion area built in advance, accurate, fast
The occlusion area in shooting image is determined fastly, and under the premise of ensureing the integrality of subject image of shooting, by repairing
Decorations image modifies the occlusion area in shooting image, can further increase the quality of shooting image.
Fig. 4 is a kind of structure diagram of image processing apparatus provided by the embodiments of the present application, the device can by software and/or
Hardware realization is typically integrated in mobile terminal, can improve the quality of shooting image by executing image processing method.Such as figure
Shown in 4, which includes:
Image collection module 401 is shot, for when occlusion detection event is triggered, obtaining the shooting image of camera;
Occlusion area determining module 402 is determined for carrying out occlusion detection to the shooting image in the shooting image
The first occlusion area;
Decorative image acquisition module 403 is used for when the characteristic value of first occlusion area is less than default characteristic threshold value,
Obtain target decorative image;Wherein, the characteristic value of first occlusion area includes the area of the first occlusion area, first blocks
The sum of all pixels in region and the first occlusion area at least one of proportion in the shooting image;
Occlusion area modifies module 404, is repaiied to first occlusion area for being based on the target decorative image
Decorations.
Image processing apparatus provided by the embodiments of the present application obtains the bat of camera when occlusion detection event is triggered
Image is taken the photograph, occlusion detection is carried out to shooting image, determines the first occlusion area in shooting image, and when the first occlusion area
When characteristic value is less than default characteristic threshold value, target decorative image is obtained, wherein the characteristic value of the first occlusion area includes the first screening
Keep off the area in region, the sum of all pixels of the first occlusion area and the first occlusion area in shooting image in proportion at least
It one, is then based on target decorative image and occlusion area is modified.It, can by technical solution provided by the embodiments of the present application
When occlusion area is smaller, to be modified occlusion area by trim, occlusion area can be not only eliminated to shooting figure
The beautiful influence of picture, and can effectively improve the quality of shooting image.
Optionally, the decorative image acquisition module, is used for:
When the characteristic value of first occlusion area is less than default characteristic threshold value, the week of first occlusion area is obtained
Enclose the pixel jump value in region;
When the pixel jump value is more than default saltus step threshold value, target decorative image is obtained.
Optionally, the decorative image acquisition module, is used for:
When the characteristic value of first occlusion area is less than default characteristic threshold value, to the subject image of the shooting picture
It is identified;
Determine the classification of the subject image;
It is determined and the matched target decorative image of the subject image according to the classification of the subject image.
Optionally, the decorative image acquisition module, is used for:
When the characteristic value of first occlusion area is less than default characteristic threshold value, the main body in the shooting image is determined
Region;
Judge first occlusion area with the body region with the presence or absence of Chong Die;
When first occlusion area is not present Chong Die with the body region, target decorative image is obtained.
Optionally, occlusion area determining module is used for:
The shooting image is input to occlusion area trained in advance to determine in model;Wherein, the occlusion area is true
Cover half type is generated based on the characteristic rule that occlusion area is presented in the picture;
Determine that the output result of model determines the first occlusion area in the shooting image according to the occlusion area.
Optionally, which further includes:
Sample image acquisition module, for determining model the shooting image is input in advance trained occlusion area
In before, obtain sample image, wherein the sample image includes that there are the images of the second occlusion area;
Occlusion area labeling module, for being labeled to second occlusion area in the sample image, and will
The sample image after the second occlusion area is marked as training sample set;
Occlusion area determines model training module, is carried out for presetting machine learning model using the training sample set pair
Training is learnt with the characteristic rule to second occlusion area, is obtained occlusion area and is determined model.
Optionally, occlusion detection event is triggered, including:
Whether monitoring receives occlusion detection instruction;When receiving the occlusion detection instruction, occlusion detection thing is determined
Part is triggered;Or
Obtain the exposure of shooting image;When the exposure is more than default threshold exposure, occlusion detection event is determined
It is triggered.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable
When being executed by computer processor for executing image processing method, this method includes for instruction:
When occlusion detection event is triggered, the shooting image of camera is obtained;
Occlusion detection is carried out to the shooting image, determines the first occlusion area in the shooting image;
When the characteristic value of first occlusion area is less than default characteristic threshold value, target decorative image is obtained;Wherein, institute
The characteristic value for stating the first occlusion area includes the area of the first occlusion area, the sum of all pixels of the first occlusion area and first blocks
Region at least one of proportion in the shooting image;
First occlusion area is modified based on the target decorative image.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other types
Memory or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet)
Calculation machine system.Second computer system can provide program instruction to the first computer for executing.Term " storage medium " can
To include two or more that may reside in different location (such as in different computer systems by network connection)
Storage medium.Storage medium can store the program instruction that can be executed by one or more processors and (such as be implemented as counting
Calculation machine program).
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer
The image that the application any embodiment is provided can also be performed in the image processing operations that executable instruction is not limited to the described above
Relevant operation in processing method.
The embodiment of the present application provides a kind of mobile terminal, and figure provided by the embodiments of the present application can be integrated in the mobile terminal
As processing unit.Fig. 5 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.Mobile terminal 500 can wrap
It includes:Memory 501, processor 502 and storage on a memory and can processor operation computer program, the processor
502 realize the image processing method as described in the embodiment of the present application when executing the computer program.
Mobile terminal provided by the embodiments of the present application, can be when occlusion area be smaller, by trim to occlusion area
It is modified, can not only eliminate beautiful influence of the occlusion area to shooting image, but also can effectively improve shooting image
Quality.
Fig. 6 is the structural schematic diagram of another mobile terminal provided by the embodiments of the present application, which may include:
Shell (not shown), memory 601, central processing unit (central processing unit, CPU) 602 (are also known as located
Manage device, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in institute
State the space interior that shell surrounds;The CPU602 and the memory 601 are arranged on the circuit board;The power supply electricity
Road, for being each circuit or the device power supply of the mobile terminal;The memory 601, for storing executable program generation
Code;The CPU602 is run and the executable journey by reading the executable program code stored in the memory 601
The corresponding computer program of sequence code, to realize following steps:
When occlusion detection event is triggered, the shooting image of camera is obtained;
Occlusion detection is carried out to the shooting image, determines the first occlusion area in the shooting image;
When the characteristic value of first occlusion area is less than default characteristic threshold value, target decorative image is obtained;Wherein, institute
The characteristic value for stating the first occlusion area includes the area of the first occlusion area, the sum of all pixels of the first occlusion area and first blocks
Region at least one of proportion in the shooting image;
First occlusion area is modified based on the target decorative image.
The mobile terminal further includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio-frequency electric
Road 606, loud speaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devicess 610,
Touch screen 612, other input/control devicess 610 and outside port 604, these components pass through one or more communication bus
Or signal wire 607 communicates.
It should be understood that diagram mobile terminal 600 is only an example of mobile terminal, and mobile terminal 600
Can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Below just the mobile terminal provided in this embodiment for image procossing be described in detail, the mobile terminal with
For mobile phone.
Memory 601, the memory 601 can be by access such as CPU602, Peripheral Interfaces 603, and the memory 601 can
Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603
Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch screen 612
With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystems 609 may include 6091 He of display controller
One or more input controllers 6092 for controlling other input/control devicess 610.Wherein, one or more input controls
Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610,
Other input/control devicess 610 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 6092 can with it is following any one connect:Keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 612, the touch screen 612 are the input interface and output interface between customer mobile terminal and user,
Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 6091 in I/O subsystems 609 receives electric signal from touch screen 612 or is sent out to touch screen 612
Electric signals.Touch screen 612 detects the contact on touch screen, and the contact detected is converted to and is shown by display controller 6091
The interaction of user interface object on touch screen 612, that is, realize human-computer interaction, the user interface being shown on touch screen 612
Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuits 605 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated with mobile communications network and other equipment by the electromagnetic signal.RF circuits 605 may include being used for
Execute the known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuning
Device, one or more oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, Yong Hubiao
Know module (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 611.
Loud speaker 611, the voice signal for receiving mobile phone from wireless network by RF circuits 605, is reduced to sound
And play the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered
And power management.
Image processing apparatus, storage medium and the mobile terminal provided in above-described embodiment, which can perform the application, arbitrarily to be implemented
The image processing method that example is provided has and executes the corresponding function module of this method and advantageous effect.Not in above-described embodiment
In detailed description technical detail, reference can be made to the image processing method that the application any embodiment is provided.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of image processing method, which is characterized in that including:
When occlusion detection event is triggered, the shooting image of camera is obtained;
Occlusion detection is carried out to the shooting image, determines the first occlusion area in the shooting image;
When the characteristic value of first occlusion area is less than default characteristic threshold value, target decorative image is obtained;Wherein, described
The characteristic value of one occlusion area includes the area of the first occlusion area, the sum of all pixels of the first occlusion area and the first occlusion area
At least one of proportion in the shooting image;
First occlusion area is modified based on the target decorative image.
2. according to the method described in claim 1, it is characterized in that, when the characteristic value of first occlusion area is less than default spy
When levying threshold value, target decorative image is obtained, including:
When the characteristic value of first occlusion area is less than default characteristic threshold value, the peripheral region of first occlusion area is obtained
The pixel jump value in domain;
When the pixel jump value is more than default saltus step threshold value, target decorative image is obtained.
3. according to the method described in claim 1, it is characterized in that, when the characteristic value of first occlusion area is less than default spy
When levying threshold value, target decorative image is obtained, including:
When the characteristic value of first occlusion area is less than default characteristic threshold value, the subject image of the shooting picture is carried out
Identification;
Determine the classification of the subject image;
It is determined and the matched target decorative image of the subject image according to the classification of the subject image.
4. according to the method described in claim 1, it is characterized in that, when the characteristic value of first occlusion area is less than default spy
When levying threshold value, target decorative image is obtained, including:
When the characteristic value of first occlusion area is less than default characteristic threshold value, the body region in the shooting image is determined
Domain;
Judge first occlusion area with the body region with the presence or absence of Chong Die;
When first occlusion area is not present Chong Die with the body region, target decorative image is obtained.
5. according to the method described in claim 1, it is characterized in that, to shooting image progress occlusion detection, described in determination
The first occlusion area in image is shot, including:
The shooting image is input to occlusion area trained in advance to determine in model;Wherein, the occlusion area determines mould
Type is generated based on the characteristic rule that occlusion area is presented in the picture;
Determine that the output result of model determines the first occlusion area in the shooting image according to the occlusion area.
6. according to the method described in claim 5, it is characterized in that, the shooting image is input to blocking for training in advance
Before region determines in model, further include:
Obtain sample image, wherein the sample image includes that there are the images of the second occlusion area;
Second occlusion area is labeled in the sample image, and by mark the second occlusion area after sample graph
As being used as training sample set;
Machine learning model is preset using the training sample set pair to be trained to advise the feature of second occlusion area
Rule is learnt, and is obtained occlusion area and is determined model.
7. according to any methods of claim 1-6, which is characterized in that occlusion detection event is triggered, including:
Whether monitoring receives occlusion detection instruction;When receiving the occlusion detection instruction, occlusion detection event quilt is determined
Triggering;Or
Obtain the exposure of shooting image;When the exposure is more than default threshold exposure, determine that occlusion detection event is touched
Hair.
8. a kind of image processing apparatus, which is characterized in that including:
Image collection module is shot, for when occlusion detection event is triggered, obtaining the shooting image of camera;
Occlusion area determining module determines first in the shooting image for carrying out occlusion detection to the shooting image
Occlusion area;
Decorative image acquisition module, for when the characteristic value of first occlusion area is less than default characteristic threshold value, obtaining mesh
Mark decorative image;Wherein, the characteristic value of first occlusion area includes the area of the first occlusion area, the first occlusion area
Sum of all pixels and the first occlusion area at least one of proportion in the shooting image;
Occlusion area modifies module, is modified first occlusion area for being based on the target decorative image.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The image processing method as described in any in claim 1-7 is realized when row.
10. a kind of mobile terminal, which is characterized in that including memory, processor and storage are on a memory and can be in processor
The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when executing the computer program
Image processing method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810455796.8A CN108494996B (en) | 2018-05-14 | 2018-05-14 | Image processing method, device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810455796.8A CN108494996B (en) | 2018-05-14 | 2018-05-14 | Image processing method, device, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108494996A true CN108494996A (en) | 2018-09-04 |
CN108494996B CN108494996B (en) | 2021-01-15 |
Family
ID=63353878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810455796.8A Active CN108494996B (en) | 2018-05-14 | 2018-05-14 | Image processing method, device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108494996B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110598217A (en) * | 2019-09-19 | 2019-12-20 | 广东小天才科技有限公司 | Identification method and device of point-to-read content, family education machine and storage medium |
CN111145135A (en) * | 2019-12-30 | 2020-05-12 | 腾讯科技(深圳)有限公司 | Image descrambling processing method, device, equipment and storage medium |
CN112256891A (en) * | 2020-10-26 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Multimedia resource recommendation method and device, electronic equipment and storage medium |
CN113692222A (en) * | 2019-02-15 | 2021-11-23 | 阿普哈维斯特技术股份有限公司 | Maturity detection system using hue color space and peak lookup |
WO2024067145A1 (en) * | 2022-09-30 | 2024-04-04 | 北京字跳网络技术有限公司 | Image inpainting method and apparatus, and device, computer-readable storage medium and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006109398A1 (en) * | 2005-03-15 | 2006-10-19 | Omron Corporation | Image processing device and method, program, and recording medium |
CN101266685A (en) * | 2007-03-14 | 2008-09-17 | 中国科学院自动化研究所 | A method for removing unrelated images based on multiple photos |
CN105763812A (en) * | 2016-03-31 | 2016-07-13 | 北京小米移动软件有限公司 | Intelligent photographing method and device |
CN106454093A (en) * | 2016-10-18 | 2017-02-22 | 北京小米移动软件有限公司 | Image processing method, image processing device and electronic equipment |
CN106454085A (en) * | 2016-09-30 | 2017-02-22 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
-
2018
- 2018-05-14 CN CN201810455796.8A patent/CN108494996B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006109398A1 (en) * | 2005-03-15 | 2006-10-19 | Omron Corporation | Image processing device and method, program, and recording medium |
CN101266685A (en) * | 2007-03-14 | 2008-09-17 | 中国科学院自动化研究所 | A method for removing unrelated images based on multiple photos |
CN105763812A (en) * | 2016-03-31 | 2016-07-13 | 北京小米移动软件有限公司 | Intelligent photographing method and device |
CN106454085A (en) * | 2016-09-30 | 2017-02-22 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN106454093A (en) * | 2016-10-18 | 2017-02-22 | 北京小米移动软件有限公司 | Image processing method, image processing device and electronic equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113692222A (en) * | 2019-02-15 | 2021-11-23 | 阿普哈维斯特技术股份有限公司 | Maturity detection system using hue color space and peak lookup |
CN110598217A (en) * | 2019-09-19 | 2019-12-20 | 广东小天才科技有限公司 | Identification method and device of point-to-read content, family education machine and storage medium |
CN110598217B (en) * | 2019-09-19 | 2023-10-20 | 广东小天才科技有限公司 | Click-to-read content identification method and device, home teaching machine and storage medium |
CN111145135A (en) * | 2019-12-30 | 2020-05-12 | 腾讯科技(深圳)有限公司 | Image descrambling processing method, device, equipment and storage medium |
CN111145135B (en) * | 2019-12-30 | 2021-08-10 | 腾讯科技(深圳)有限公司 | Image descrambling processing method, device, equipment and storage medium |
CN112256891A (en) * | 2020-10-26 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Multimedia resource recommendation method and device, electronic equipment and storage medium |
WO2024067145A1 (en) * | 2022-09-30 | 2024-04-04 | 北京字跳网络技术有限公司 | Image inpainting method and apparatus, and device, computer-readable storage medium and product |
Also Published As
Publication number | Publication date |
---|---|
CN108494996B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566516B (en) | Image processing method, device, storage medium and mobile terminal | |
CN108712606B (en) | Reminding method, device, storage medium and mobile terminal | |
US11412153B2 (en) | Model-based method for capturing images, terminal, and storage medium | |
CN108494996A (en) | Image processing method, device, storage medium and mobile terminal | |
CN110675310B (en) | Video processing method and device, electronic equipment and storage medium | |
CN108551552A (en) | Image processing method, device, storage medium and mobile terminal | |
CN107820020A (en) | Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters | |
CN109685746A (en) | Brightness of image method of adjustment, device, storage medium and terminal | |
US11189071B2 (en) | Electronic device for providing avatar animation and method thereof | |
CN109547701A (en) | Image capturing method, device, storage medium and electronic equipment | |
CN109741281A (en) | Image processing method, device, storage medium and terminal | |
CN108765380A (en) | Image processing method, device, storage medium and mobile terminal | |
CN108830892B (en) | Face image processing method and device, electronic equipment and computer readable storage medium | |
CN109348135A (en) | Photographic method, device, storage medium and terminal device | |
CN108683845A (en) | Image processing method, device, storage medium and mobile terminal | |
CN109089043A (en) | Shoot image pre-processing method, device, storage medium and mobile terminal | |
CN109285178A (en) | Image partition method, device and storage medium | |
CN109005350A (en) | Image repeats shooting reminding method, device, storage medium and mobile terminal | |
CN109360222A (en) | Image partition method, device and storage medium | |
CN108881875A (en) | Image white balancing treatment method, device, storage medium and terminal | |
CN108965770A (en) | Image processing template generation method, device, storage medium and mobile terminal | |
US20100289912A1 (en) | Camera arrangement with image modification | |
CN110363702B (en) | Image processing method and related product | |
CN112950525A (en) | Image detection method and device and electronic equipment | |
CN112184540A (en) | Image processing method, image processing device, electronic equipment and storage medium |
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 |