CN107820013A - A kind of photographic method and terminal - Google Patents
A kind of photographic method and terminal Download PDFInfo
- Publication number
- CN107820013A CN107820013A CN201711194058.4A CN201711194058A CN107820013A CN 107820013 A CN107820013 A CN 107820013A CN 201711194058 A CN201711194058 A CN 201711194058A CN 107820013 A CN107820013 A CN 107820013A
- Authority
- CN
- China
- Prior art keywords
- picture
- captured
- terminal
- current
- objects interfered
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- 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)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a kind of photographic method and terminal.Methods described includes:Terminal sends prompt message after it objects interfered be present in detecting current picture to be captured, to remind user currently objects interfered to be present in picture to be captured;Terminal carries out Processing for removing after the elimination instruction that user makes according to the prompt message is received, to the objects interfered in current picture to be captured.By this method, terminal detects objects interfered be present in current picture to be captured after, remind user in advance so that user can decide whether to continue to take pictures according to the prompt message, so as to reduce it is unnecessary take pictures, avoid passerby from entering the situation of mirror;Further, terminal instructs according to the elimination of user, objects interfered is eliminated from shooting picture, to improve image quality.
Description
Technical field
The present invention relates to Digital image technology field, more particularly to a kind of photographic method and terminal.
Background technology
At present, with the continuous development of camera, requirement of the people to camera shooting technology also more and more higher is existing
Although shooting technology disclosure satisfy that the basic demand of taking pictures of people, but under some special screnes, the defects of camera also with
Exposure, for example, tourist attractions shoot, because visitor is numerous, has some visitors in the moment that user takes pictures and enter bat
Take the photograph in picture, influence image quality, bring very bad shooting to experience to user.
In the prior art, the background blurring method of generally use, the passerby for entering mirror in the background of shooting picture is blurred.But
It is that the program can also influence background in shooting picture so that user can not enjoy shooting picture while passerby is blurred
Background, reduce image quality.
Based on this, a kind of photographic method is needed badly at present, for solving objects interfered occur in shooting picture in the prior art
The problem of so as to influence image quality.
The content of the invention
The embodiment of the present invention provides a kind of photographic method and terminal, to solve to disturb in shooting picture in the prior art
Object is so as to influenceing the technical problem of image quality.
The embodiment of the present invention provides a kind of photographic method, and methods described includes:
Terminal detects under preview shooting pattern objects interfered be present in current picture to be captured after, send prompting letter
Breath;The prompt message is used to remind user currently objects interfered to be present in picture to be captured;
After the terminal receives the elimination instruction that user is made according to the prompt message, appointing in following information is obtained
One or any combination:Picture to be captured in preset time period before current time, in current picture to be captured with it is described
The parameter value of each pixel in the adjacent region in objects interfered region, terminal local storage picture in it is described
M similar picture of current image content to be captured;
The terminal carries out Processing for removing according to the information got to the objects interfered in current picture to be captured.
Alternatively, the information that the terminal is got is the picture to be captured in the preset time period before current time
And/or the M picture similar to the current image content to be captured in the picture of terminal local storage;
The terminal carries out Processing for removing, bag according to the information got to the objects interfered in current picture to be captured
Include:
The terminal is according to the picture to be captured in the preset time period before the current time and/or the terminal sheet
The M picture similar to the current image content to be captured in the picture of ground storage, is obtained in the current picture to be captured
The content that is covered of objects interfered;
The objects interfered in the current picture to be captured is replaced with the objects interfered and covered by the terminal
Content.
Alternatively, the information that the terminal is got be in current picture to be captured with objects interfered region phase
The parameter value of each pixel in adjacent region;
The terminal carries out Processing for removing, bag according to the information got to the objects interfered in current picture to be captured
Include:
The terminal deletes the objects interfered from the current picture to be captured;
The terminal is according in region adjacent with the objects interfered region in the current picture to be captured
The white space after the objects interfered is deleted in the parameter value of each pixel, filling.
Alternatively, the terminal detects in current picture to be captured objects interfered be present under preview shooting pattern, wraps
Include:
The terminal obtains the picture to be captured of the previous moment at current time;
The terminal detection current picture to be captured and the picture to be captured of the previous moment at the current time
Diversity factor, however, it is determined that the diversity factor is more than or equal to predetermined threshold value, it is determined that objects interfered be present;Or if the terminal exists
Face, and the face are identified in the picture to be captured of the previous moment at the current time and the current picture to be captured
Position in the picture to be captured of the previous moment at the current time and the position in the current picture to be captured are not
Unanimously, it is determined that objects interfered be present.
Alternatively, after the terminal sends prompt message, in addition to:
If the terminal receives the wait that user makes according to the prompt message and instructed, detect under current time
The picture to be captured at one moment, and it is determined that the current time subsequent time picture to be captured be not present objects interfered after
Taken pictures.
The embodiment of the present invention provides a kind of terminal, and the terminal includes:
Detection unit, for after being detected under preview shooting pattern and objects interfered being present in current picture to be captured, hair
Go out prompt message;The prompt message is used to remind user currently objects interfered to be present in picture to be captured;
Acquiring unit, for after the elimination instruction that user makes according to the prompt message is received, obtaining following letter
Any one of breath or any combination:Picture to be captured, current picture to be captured in preset time period before current time
In each pixel in the region adjacent with the objects interfered region parameter value, the picture of terminal local storage
In the M picture similar to the current image content to be captured;
Processing unit, for according to the information got, being carried out to the objects interfered in current picture to be captured at elimination
Reason.
Alternatively, the information that the acquiring unit is got is the picture to be captured in the preset time period before current time
The M picture similar to the current image content to be captured in the picture of face and/or terminal local storage;
The processing unit is specifically used for:
Stored according to the picture to be captured in the preset time period before the current time and/or the terminal local
The M picture similar to the current image content to be captured in picture, obtains the interference pair in the current picture to be captured
As the content covered;
The objects interfered in the current picture to be captured is replaced with into the content that the objects interfered covered.
Alternatively, the information that the acquiring unit is got in the current picture to be captured with the objects interfered institute
The parameter value of each pixel in the adjacent region in region;
The processing unit is specifically used for:
Terminal is stated to delete the objects interfered from the current picture to be captured;
According to each pixel in region adjacent with the objects interfered region in the current picture to be captured
Parameter value, filling deletes the white space after the objects interfered.
Alternatively, the detection unit is specifically used for:
Obtain the picture to be captured of the previous moment at current time;
The diversity factor of the current picture to be captured and the picture to be captured of the previous moment at the current time is detected, if
Determine that the diversity factor is more than or equal to predetermined threshold value, it is determined that objects interfered be present;Or if the terminal when described current
Face is identified in the picture to be captured of the previous moment at quarter and the current picture to be captured, and the face is described current
Position in the picture to be captured of the previous moment at moment and the position in the current picture to be captured are inconsistent, it is determined that
Objects interfered be present.
Alternatively, after prompt message is sent, the processing unit is additionally operable to the detection unit:
If receiving the wait that user makes according to the prompt message to instruct, the subsequent time at current time is detected
Picture to be captured, and it is determined that the current time subsequent time picture to be captured be not present objects interfered after clapped
According to.
In the embodiment of the present invention, terminal sends prompting letter after it objects interfered be present in detecting current picture to be captured
Breath, to remind user currently objects interfered to be present in picture to be captured;Terminal is made according to the prompt message receiving user
After the elimination instruction gone out, the picture to be captured in preset time period before acquisition current time, or, obtain the interference pair
As the pixel value of the close region of region, or, obtain in the picture of terminal local storage and currently wait to clap with described
Take the photograph M similar picture of image content;And the information got more than, the objects interfered in current picture to be captured is entered
Row Processing for removing.In the present invention, terminal detects objects interfered be present in current picture to be captured after, remind user in advance, make
User can be decided whether to continue to take pictures according to the prompt message, so as to reduce it is unnecessary take pictures, avoid passerby from entering mirror
Situation;Further, terminal instructs according to the elimination of user, objects interfered is eliminated from shooting picture, to improve picture matter
Amount.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is schematic flow sheet corresponding to a kind of photographic method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that terminal operates according to corresponding to being carried out the instruction of user in the embodiment of the present invention;
Fig. 3 is that a kind of picture to be captured according in preset time period provided in an embodiment of the present invention eliminates objects interfered
Schematic diagram;
Fig. 4 a are a kind of schematic diagram of the adjacent area of objects interfered provided in an embodiment of the present invention;
Fig. 4 b are the schematic diagram of the adjacent area of another objects interfered provided in an embodiment of the present invention;
Fig. 4 c are a kind of schematic diagram for eliminating objects interfered in current picture to be captured provided in an embodiment of the present invention;
Fig. 5 is the signal that the similar picture that a kind of basis provided in an embodiment of the present invention is locally stored eliminates objects interfered
Figure;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
Fig. 1 illustrates schematic flow sheet corresponding to a kind of photographic method provided in an embodiment of the present invention, such as Fig. 1 institutes
Show, specifically comprise the following steps:
Step 101, terminal detects under preview shooting pattern objects interfered be present in current picture to be captured after, send
Prompt message;The prompt message is used to remind user currently objects interfered to be present in picture to be captured.
Step 102, after the terminal receives the elimination instruction that user is made according to the prompt message, obtain and following believe
Any one of breath or any combination:Picture to be captured, current picture to be captured in preset time period before current time
In each pixel in the region adjacent with the objects interfered region parameter value, the picture of terminal local storage
In the M picture similar to the current image content to be captured.
Step 103, the terminal eliminates according to the information got to the objects interfered in current picture to be captured
Processing.
In the embodiment of the present invention, terminal detects objects interfered be present in current picture to be captured after, remind user in advance,
Allow user to decide whether to continue to take pictures according to the prompt message, so as to reduce it is unnecessary take pictures, avoid passerby from entering mirror
Situation;Further, terminal can be instructed according to the elimination of user, and objects interfered is eliminated from shooting picture, to improve
Image quality.
Specifically, in step 101, after preview shooting pattern starts camera for user, before pressing shutter, end panel
Curtain shows the pattern of picture to be captured.
In the embodiment of the present invention, terminal is detected in current picture to be captured under preview shooting pattern with the presence or absence of interference pair
The mode of elephant has a variety of, is specifically described below.
(1) terminal obtains the picture to be captured of the previous moment at current time, it is then detected that the current picture to be captured
With the diversity factor of the picture to be captured of the previous moment at the current time, however, it is determined that the diversity factor is more than or equal to default threshold
Value, it is determined that objects interfered be present.
Specifically, in the embodiment of the present invention, the moment can be in units of frame, can also be in seconds, that is to say, that
The picture to be captured of the previous moment at current time can be the picture to be captured of current time former frame, or when current
The picture to be captured of previous second is carved, can not limited according to actual conditions sets itself, the embodiment of the present invention at the time of specific.
The method of the diversity factor of the current picture to be captured of terminal detection and the picture to be captured of the previous moment at current time
Have a variety of, a kind of possible implementation is, using the method for mobile detection, when picture changes, as someone passes by, calculates
If comparing the diversity factor that currently picture to be captured and the picture to be captured of the previous moment at current time obtain is more than predetermined threshold value,
Then determine objects interfered be present, wherein, predetermined threshold value can voluntarily determine according to actual conditions, not limit specifically.
Alternatively possible implementation is that, using image comparison algorithm, detection obtains the previous moment at current time
Diversity factor between picture to be captured and current picture to be captured.For example, difference is obtained using image comparison algorithm, detection
Degree, if diversity factor is 30%, it is to be understood that if the picture to be captured of the previous moment at current time and current picture to be captured
Diversity factor between face is 30%, illustrates to deposit between the picture to be captured of the previous moment at current time and current picture to be captured
In 30% difference, remaining is 70% relatively or unanimously.If it is determined that diversity factor is more than or equal to predetermined threshold value, it is determined that exists dry
Object is disturbed, wherein, predetermined threshold value can voluntarily determine according to actual conditions, not limit specifically.
(2) terminal obtains the picture to be captured of the previous moment at current time, if the previous moment at current time is treated
Face is identified in shooting picture and current picture to be captured, and the face is in the picture to be captured of the previous moment at current time
Position in face and the position in current picture to be captured are inconsistent, it is determined that objects interfered be present.
Specifically, in the embodiment of the present invention, in the picture to be captured of the previous moment at current time and current to be captured
Identified in picture face method have it is a variety of:(1) reference template method is used, according to standard faces template, passes through standard of comparison
Face and picture to be captured at different moments, judge the picture to be captured of the previous moment at current time and current picture to be captured
Face whether there is the face for being less than similarity threshold with standard faces template similarity;(2) face rule method is used, extracts face
Structure distribution feature, and generate corresponding human face structure rule, judge current time previous moment picture to be captured with
Current picture to be captured whether there is the face for being less than similarity threshold with human face structure rule similarity;(3) sample is used
Habit method, i.e., by artificial neural network isotype recognition methods, train human face recognition model, and by the previous moment at current time
Picture to be captured and current picture input human face recognition model to be captured, so as to judge that the previous moment at current time is waited to clap
Take the photograph picture and whether there is face with current picture to be captured.
Further, because the image of shooting is in addition to scenery class image, it is also possible to it is figure kind's image, therefore,
The picture to be captured for determining at different moments is present after face, it is also necessary to determines the face in picture to be captured at different moments
Whether location is unanimously in face, if unanimously, the face for illustrating to detect is the reference object in picture to be captured;
If inconsistent, the face for illustrating to detect is the objects interfered in picture to be captured.By this method, can avoid clapping
Take the photograph object and be mistaken for objects interfered, so as to improve the accuracy rate of identification objects interfered.
Further, in the embodiment of the present invention, determine that the face is residing in picture to be captured at different moments
The whether consistent method in position have it is a variety of, can be according in picture to be captured at different moments the centre coordinate of face away from
From if the distance is more than pre-determined distance threshold value, it is determined that face location in picture to be captured at different moments
It is inconsistent;If the distance is less than pre-determined distance threshold value, it is determined that the face is residing in picture to be captured at different moments
Position consistency.Wherein, pre-determined distance threshold value rule of thumb can be voluntarily configured by those skilled in the art with actual conditions,
The embodiment of the present invention is not specifically limited.
After terminal detects under preview shooting pattern objects interfered be present in current picture to be captured, hair can be passed through
Going out prompt message reminds user currently objects interfered to be present in picture to be captured.Specifically, the prompt message can be voice
Any one of prompt message, text prompt information, vibration prompt information or any combination, are not limited specifically.Using this
Mode, testing result can be fed back in time, provide the user the service of more hommization.
Further, detected under preview shooting pattern before whether there is objects interfered in current picture to be captured, can
Destination object in current picture to be captured is determined with the instruction sent according to user, so as to avoid target pair in detection process
As objects interfered, causing maloperation.
In step 102 and step 103, after terminal sends prompt message, according to the user received according to prompt message
The difference for the instruction made, carry out different operations.As shown in Fig. 2 the operation according to corresponding to being carried out the instruction of user for terminal
Schematic diagram, it is specific as follows:
(1) if terminal receives the normal photographing instruction that user makes according to the prompt message, according to what is received
The normal photographing instruction of user, is taken pictures.
(2) if terminal receives the wait that user makes according to the prompt message and instructed, detect under current time
The picture to be captured at one moment, and it is determined that the current time subsequent time picture to be captured be not present objects interfered after
Taken pictures.
(3) if terminal receives the elimination that user makes according to the prompt message and instructed, obtain in following information
Any one or any combination:Picture to be captured in preset time period before current time, in current picture to be captured with institute
State each pixel in the adjacent region in objects interfered region parameter value, the terminal local storage picture in institute
State M similar picture of current image content to be captured;And according to the information got, to the interference in current picture to be captured
Object carries out Processing for removing.
In the embodiment of the present invention, terminal is according to the difference of the information got, to the interference pair in current picture to be captured
As the mode for carrying out Processing for removing has a variety of, it is specifically described below.
Mode one:
The information that terminal is got is the picture to be captured in the preset time period before current time, then when basis is default
Between picture to be captured in section, obtain the content that the objects interfered in current picture to be captured is covered, and will be current to be captured
The objects interfered in picture replaces with the content that the objects interfered is covered.
In the embodiment of the present invention, preset time period can rule of thumb be set by those skilled in the art with actual conditions
Put, for example, could be arranged to 10 seconds, further, terminal can obtain current time before 10 seconds in each frame wait to clap
Picture is taken the photograph, or, the picture to be captured of the designated frame in can also be before current time 10 seconds, for example obtained one every one second
Frame picture to be captured, is not limited specifically.
Based on above-mentioned described content, when Fig. 3 illustrates one kind provided in an embodiment of the present invention according to presetting
Between picture to be captured in section eliminate the schematic diagram of objects interfered, as shown in figure 3, preset time of the terminal before current time
2 two pictures to be captured of moment 1 and moment are got in section, wherein, in the picture to be captured at moment 1, objects interfered is located at position
Put one;In the picture to be captured at moment 2, objects interfered is located at position two.And in current picture to be captured, objects interfered is located at position
Three are put, terminal by the picture to be captured at moment 1, the picture to be captured at moment 2 and current picture to be captured by overlapping onto one
Rise, objects interfered in current picture to be captured can be got from the picture to be captured, the picture to be captured at moment 2 at moment 1
The content (i.e. the content of position three) covered, the objects interfered in current picture to be captured can be replaced with the objects interfered
The content covered.
Mode two:
The information that terminal is got is in region adjacent with the objects interfered region in current picture to be captured
Each pixel parameter value, then the objects interfered is deleted from the current picture to be captured, and according to described current
The parameter value of each pixel in picture to be captured in the region adjacent with the objects interfered region, fill described in deleting
White space after objects interfered.
In the embodiment of the present invention, the region adjacent with the objects interfered region can be in current picture to be captured
The region (as shown in fig. 4 a) adjacent with the rectangle that the boundary point of objects interfered is formed, or taken turns with the periphery of objects interfered
Wide adjacent region (as shown in Figure 4 b), wherein, the scope of adjacent area can be rule of thumb and real by those skilled in the art
In the case that border situation is configured, such as pixel color is more in picture, the scope of adjacent area will can be suitably reduced, such as
The scope of adjacent area is defined to 5 pixels;In the case that pixel color is less in picture, it will can suitably expand adjacent region
The scope in domain, the scope of adjacent area is such as defined to 20 pixels.
Based on content described above, Fig. 4 c illustrate a kind of eliminate provided in an embodiment of the present invention and currently wait to clap
The schematic diagram of objects interfered in picture is taken the photograph, as illustrated in fig. 4 c, is specifically comprised the following steps:
Step 1, terminal determine that current picture to be captured has objects interfered;
Step 2, terminal determine region adjacent with objects interfered region in current picture to be captured;
Objects interfered is deleted, obtains deleting the blank after objects interfered by step 3, terminal from current picture to be captured
Region;
Step 4, the pixel value of each pixel of the terminal in adjacent area, after the objects interfered is deleted in filling
White space.
Mode three:
The information that terminal is got be terminal local storage picture in the current image content phase to be captured
As M picture, then M picture similar with currently image content to be captured in the picture that is locally stored according to, is obtained
The content that objects interfered in current picture to be captured is covered, and the objects interfered in current picture to be captured is replaced
The content covered by the objects interfered.
In the embodiment of the present invention, the mode of terminal acquisition picture similar to current image content to be captured in being locally stored
Have a variety of, a kind of possible implementation is, terminal is compared each picture being locally stored and current picture to be captured
Compared with selection similarity is less than the picture of similarity threshold;Alternatively possible implementation is that terminal determines to be locally stored first
Picture in the geographical position of current picture to be captured similar in picture, then will picture similar in the geographical position that be locally stored
Each picture in face chooses the picture that similarity is less than similarity threshold compared with current picture to be captured, uses
Latter approach, the number of run of terminal can be reduced, reduce the energy consumption of terminal.
Based on above-mentioned described content, it is exemplified below, as shown in figure 5, being provided in an embodiment of the present invention
The similar picture that a kind of basis is locally stored eliminates the schematic diagram of objects interfered, and terminal obtains the similar picture being locally stored first
Face, it is then determined that the currently region where the objects interfered and objects interfered in picture to be captured, and in the phase being locally stored
Like the region similar or consistent to the objects interfered position in current picture to be captured is determined in picture, local deposit is obtained
The content that objects interfered in the similar picture of storage is covered, finally the objects interfered in current picture to be captured is replaced with dry
Disturb the content that object is covered.
Based on same idea, a kind of terminal provided in an embodiment of the present invention, as Fig. 6 shows, the terminal 600 includes detection unit
601st, acquiring unit 602, processing unit 603;Wherein,
Detection unit 601, for after being detected under preview shooting pattern and objects interfered being present in current picture to be captured,
Send prompt message;The prompt message is used to remind user currently objects interfered to be present in picture to be captured;
Acquiring unit 602, for after the elimination instruction that user makes according to the prompt message is received, obtaining following
Any one of information or any combination:Picture to be captured, current picture to be captured in preset time period before current time
Parameter value, the picture of terminal local storage of each pixel in face in the region adjacent with the objects interfered region
The M picture similar to the current image content to be captured in face;
Processing unit 603, for according to the information got, being eliminated to the objects interfered in current picture to be captured
Processing.
Alternatively, the information that the acquiring unit 602 is got be current time before preset time period in wait clap
Take the photograph M picture similar to the current image content to be captured in picture and/or the picture of terminal local storage;
The processing unit 603 is specifically used for:
Stored according to the picture to be captured in the preset time period before the current time and/or the terminal local
The M picture similar to the current image content to be captured in picture, obtains the interference pair in the current picture to be captured
As the content covered;
The objects interfered in the current picture to be captured is replaced with into the content that the objects interfered covered.
Alternatively, the information that the acquiring unit 602 is got in the current picture to be captured with the interference pair
As the parameter value of each pixel in the adjacent region in region;
The processing unit 603 is specifically used for:
Terminal is stated to delete the objects interfered from the current picture to be captured;
According to each pixel in region adjacent with the objects interfered region in the current picture to be captured
Parameter value, filling deletes the white space after the objects interfered.
Alternatively, the detection unit 601 is specifically used for:
Obtain the picture to be captured of the previous moment at current time;
The diversity factor of the current picture to be captured and the picture to be captured of the previous moment at the current time is detected, if
Determine that the diversity factor is more than or equal to predetermined threshold value, it is determined that objects interfered be present;Or if the terminal when described current
Face is identified in the picture to be captured of the previous moment at quarter and the current picture to be captured, and the face is described current
Position in the picture to be captured of the previous moment at moment and the position in the current picture to be captured are inconsistent, it is determined that
Objects interfered be present.
Alternatively, after prompt message is sent, the processing unit 603 is additionally operable to the detection unit 601:
If receiving the wait that user makes according to the prompt message to instruct, the subsequent time at current time is detected
Picture to be captured, and it is determined that the current time subsequent time picture to be captured be not present objects interfered after clapped
According to.
In the embodiment of the present invention, terminal sends prompting letter after it objects interfered be present in detecting current picture to be captured
Breath, to remind user currently objects interfered to be present in picture to be captured;Terminal is made according to the prompt message receiving user
After the elimination instruction gone out, the picture to be captured in preset time period before acquisition current time, or, obtain the interference pair
As the pixel value of the close region of region, or, obtain in the picture of terminal local storage and currently wait to clap with described
Take the photograph M similar picture of image content;And the information got more than, the objects interfered in current picture to be captured is entered
Row Processing for removing.In the present invention, terminal detects objects interfered be present in current picture to be captured after, remind user in advance, make
User can be decided whether to continue to take pictures according to the prompt message, so as to reduce it is unnecessary take pictures, avoid passerby from entering mirror
Situation;Further, terminal instructs according to the elimination of user, objects interfered is eliminated from shooting picture, to improve picture matter
Amount.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of photographic method, it is characterised in that methods described includes:
Terminal detects under preview shooting pattern objects interfered be present in current picture to be captured after, send prompt message;Institute
Prompt message is stated to be used to remind user currently objects interfered to be present in picture to be captured;
After the terminal receives the elimination instruction that user is made according to the prompt message, any one of following information is obtained
Or any combination:Picture to be captured in preset time period before current time, in current picture to be captured with the interference
The parameter value of each pixel in the adjacent region in object region, terminal local storage picture in it is described current
M similar picture of image content to be captured;
The terminal carries out Processing for removing according to the information got to the objects interfered in current picture to be captured.
2. according to the method for claim 1, it is characterised in that before the information that the terminal is got is current time
In picture to be captured in preset time period and/or the picture of terminal local storage with the current image content to be captured
M similar picture;
The terminal carries out Processing for removing according to the information got, to the objects interfered in current picture to be captured, including:
The terminal is deposited according to the picture to be captured in the preset time period before the current time and/or the terminal local
The M picture similar to the current image content to be captured in the picture of storage, obtain dry in the current picture to be captured
Disturb the content that object is covered;
The terminal replaces with the objects interfered in the current picture to be captured in the objects interfered covered
Hold.
3. according to the method for claim 1, it is characterised in that the information that the terminal is got is current picture to be captured
In each pixel in the region adjacent with the objects interfered region parameter value;
The terminal carries out Processing for removing according to the information got, to the objects interfered in current picture to be captured, including:
The terminal deletes the objects interfered from the current picture to be captured;
The terminal is each in region adjacent with the objects interfered region in the current picture to be captured
The white space after the objects interfered is deleted in the parameter value of pixel, filling.
4. according to the method in any one of claims 1 to 3, it is characterised in that the terminal is under preview shooting pattern
Detect in current picture to be captured objects interfered be present, including:
The terminal obtains the picture to be captured of the previous moment at current time;
The difference of the terminal detection current picture to be captured and the picture to be captured of the previous moment at the current time
Degree, however, it is determined that the diversity factor is more than or equal to predetermined threshold value, it is determined that objects interfered be present;Or if the terminal described
Face is identified in the picture to be captured of the previous moment at current time and the current picture to be captured, and the face is in institute
State the position in the picture to be captured of the previous moment at current time and the position in the current picture to be captured be inconsistent,
Then determine objects interfered be present.
5. according to the method for claim 1, it is characterised in that after the terminal sends prompt message, in addition to:
If the terminal receives the wait that user makes according to the prompt message and instructed, the lower a period of time at current time is detected
Carve picture to be captured, and it is determined that the current time subsequent time picture to be captured be not present objects interfered after carry out
Take pictures.
6. a kind of terminal, it is characterised in that the terminal includes:
Detection unit, for after being detected under preview shooting pattern and objects interfered being present in current picture to be captured, sending and carrying
Show information;The prompt message is used to remind user currently objects interfered to be present in picture to be captured;
Acquiring unit, for after the elimination instruction that user makes according to the prompt message is received, obtaining in following information
Any one or any combination:Picture to be captured in preset time period before current time, in current picture to be captured with
The parameter value of each pixel in the adjacent region in the objects interfered region, terminal local storage picture in
M similar picture of the current image content to be captured;
Processing unit, for according to the information got, Processing for removing to be carried out to the objects interfered in current picture to be captured.
7. terminal according to claim 6, it is characterised in that the information that the acquiring unit is got be current time it
In picture to be captured in preceding preset time period and/or the picture of terminal local storage with the current picture to be captured
M similar picture of content;
The processing unit is specifically used for:
The picture stored according to the picture to be captured in the preset time period before the current time and/or the terminal local
In the M picture similar to the current image content to be captured, obtain the objects interfered institute in the currently picture to be captured
The content of covering;
The objects interfered in the current picture to be captured is replaced with into the content that the objects interfered covered.
8. terminal according to claim 6, it is characterised in that the information that the acquiring unit is got currently is treated to be described
The parameter value of each pixel in shooting picture in the region adjacent with the objects interfered region;
The processing unit is specifically used for:
Terminal is stated to delete the objects interfered from the current picture to be captured;
The ginseng of each pixel in region adjacent with the objects interfered region in the current picture to be captured
The white space after the objects interfered is deleted in numerical value, filling.
9. the terminal according to any one of claim 6 to 8, it is characterised in that the detection unit is specifically used for:
Obtain the picture to be captured of the previous moment at current time;
Detect the diversity factor of the current picture to be captured and the picture to be captured of the previous moment at the current time, however, it is determined that
The diversity factor is more than or equal to predetermined threshold value, it is determined that objects interfered be present;Or if the terminal at the current time
Face is identified in the picture to be captured of previous moment and the current picture to be captured, and the face is at the current time
Previous moment picture to be captured in position and position in the current picture to be captured it is inconsistent, it is determined that exist
Objects interfered.
10. terminal according to claim 6, it is characterised in that the detection unit is described after prompt message is sent
Processing unit is additionally operable to:
Instructed if receiving the wait that user makes according to the prompt message, the subsequent time at detection current time is waited to clap
Take the photograph picture, and it is determined that the picture to be captured of the subsequent time at the current time objects interfered is not present after taken pictures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711194058.4A CN107820013A (en) | 2017-11-24 | 2017-11-24 | A kind of photographic method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711194058.4A CN107820013A (en) | 2017-11-24 | 2017-11-24 | A kind of photographic method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107820013A true CN107820013A (en) | 2018-03-20 |
Family
ID=61610105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711194058.4A Pending CN107820013A (en) | 2017-11-24 | 2017-11-24 | A kind of photographic method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107820013A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924418A (en) * | 2018-07-02 | 2018-11-30 | 珠海市魅族科技有限公司 | A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing |
CN109040604A (en) * | 2018-10-23 | 2018-12-18 | Oppo广东移动通信有限公司 | Shoot processing method, device, storage medium and the mobile terminal of image |
CN109379531A (en) * | 2018-09-29 | 2019-02-22 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN110300253A (en) * | 2018-03-22 | 2019-10-01 | 佳能株式会社 | The storage medium of image processing apparatus and method and store instruction |
WO2019205170A1 (en) * | 2018-04-28 | 2019-10-31 | 华为技术有限公司 | Photographic method and terminal device |
CN111752450A (en) * | 2020-05-28 | 2020-10-09 | 维沃移动通信有限公司 | Display method and device and electronic equipment |
CN112637477A (en) * | 2019-10-08 | 2021-04-09 | 华为技术有限公司 | Image processing method and electronic equipment |
CN112672057A (en) * | 2020-12-25 | 2021-04-16 | 维沃移动通信有限公司 | Shooting method and device |
WO2021077426A1 (en) * | 2019-10-25 | 2021-04-29 | 深圳市欢太科技有限公司 | Image processing method and apparatus, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213833A (en) * | 2005-06-08 | 2008-07-02 | 汤姆逊许可公司 | Method, device and system for alternate image/video insertion |
CN103079033A (en) * | 2012-12-28 | 2013-05-01 | 东莞宇龙通信科技有限公司 | Photographing method and device |
US20160165135A1 (en) * | 2014-12-05 | 2016-06-09 | Samsung Electronics Co., Ltd | Image photographing apparatus, method of photographing image and non-transitory recordable medium |
CN107135351A (en) * | 2017-04-01 | 2017-09-05 | 宇龙计算机通信科技(深圳)有限公司 | Photographic method and camera arrangement |
CN107343149A (en) * | 2017-07-31 | 2017-11-10 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
-
2017
- 2017-11-24 CN CN201711194058.4A patent/CN107820013A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213833A (en) * | 2005-06-08 | 2008-07-02 | 汤姆逊许可公司 | Method, device and system for alternate image/video insertion |
CN103079033A (en) * | 2012-12-28 | 2013-05-01 | 东莞宇龙通信科技有限公司 | Photographing method and device |
US20160165135A1 (en) * | 2014-12-05 | 2016-06-09 | Samsung Electronics Co., Ltd | Image photographing apparatus, method of photographing image and non-transitory recordable medium |
CN107135351A (en) * | 2017-04-01 | 2017-09-05 | 宇龙计算机通信科技(深圳)有限公司 | Photographic method and camera arrangement |
CN107343149A (en) * | 2017-07-31 | 2017-11-10 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300253A (en) * | 2018-03-22 | 2019-10-01 | 佳能株式会社 | The storage medium of image processing apparatus and method and store instruction |
CN110300253B (en) * | 2018-03-22 | 2021-06-29 | 佳能株式会社 | Image processing apparatus and method, and storage medium storing instructions |
WO2019205170A1 (en) * | 2018-04-28 | 2019-10-31 | 华为技术有限公司 | Photographic method and terminal device |
WO2019206316A1 (en) * | 2018-04-28 | 2019-10-31 | 华为技术有限公司 | Photographic method and terminal device |
US11863856B2 (en) | 2018-04-28 | 2024-01-02 | Huawei Technologies Co., Ltd. | Method and terminal device for matching photographed objects and preset text information |
US11470240B2 (en) | 2018-04-28 | 2022-10-11 | Huawei Technologies Co., Ltd. | Method and terminal device for matching photgraphed objects and preset text imformation |
CN112204942A (en) * | 2018-04-28 | 2021-01-08 | 华为技术有限公司 | Photographing method and terminal equipment |
CN114793267A (en) * | 2018-04-28 | 2022-07-26 | 华为技术有限公司 | Photographing method and terminal equipment |
CN112204942B (en) * | 2018-04-28 | 2022-03-11 | 华为技术有限公司 | Photographing method and terminal equipment |
AU2019259066B2 (en) * | 2018-04-28 | 2021-12-02 | Huawei Technologies Co., Ltd. | Photographic method and terminal device |
CN108924418A (en) * | 2018-07-02 | 2018-11-30 | 珠海市魅族科技有限公司 | A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing |
CN109379531A (en) * | 2018-09-29 | 2019-02-22 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN109040604A (en) * | 2018-10-23 | 2018-12-18 | Oppo广东移动通信有限公司 | Shoot processing method, device, storage medium and the mobile terminal of image |
CN109040604B (en) * | 2018-10-23 | 2020-09-15 | Oppo广东移动通信有限公司 | Shot image processing method and device, storage medium and mobile terminal |
CN112637477A (en) * | 2019-10-08 | 2021-04-09 | 华为技术有限公司 | Image processing method and electronic equipment |
WO2021077426A1 (en) * | 2019-10-25 | 2021-04-29 | 深圳市欢太科技有限公司 | Image processing method and apparatus, and electronic device |
CN111752450A (en) * | 2020-05-28 | 2020-10-09 | 维沃移动通信有限公司 | Display method and device and electronic equipment |
CN112672057A (en) * | 2020-12-25 | 2021-04-16 | 维沃移动通信有限公司 | Shooting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107820013A (en) | A kind of photographic method and terminal | |
US10284789B2 (en) | Dynamic generation of image of a scene based on removal of undesired object present in the scene | |
US10708491B2 (en) | Adaptive camera control for reducing motion blur during real-time image capture | |
US20170285916A1 (en) | Camera effects for photo story generation | |
JP5553141B2 (en) | Image processing system, image processing apparatus, image processing method, and program | |
US20140184841A1 (en) | Photographing device for producing composite image and method using the same | |
US9838616B2 (en) | Image processing method and electronic apparatus | |
CN107770312A (en) | Method for information display, device and terminal | |
CN108833785A (en) | Fusion method, device, computer equipment and the storage medium of multi-view image | |
CN107172354B (en) | Video processing method and device, electronic equipment and storage medium | |
CN106604005B (en) | A kind of projection TV Atomatic focusing method and system | |
CN112884637A (en) | Special effect generation method, device, equipment and storage medium | |
CN106971165A (en) | The implementation method and device of a kind of filter | |
KR101598159B1 (en) | Image providing method and image providing device | |
CN113627306B (en) | Key point processing method and device, readable storage medium and terminal | |
JP2019087945A (en) | Information processing apparatus, program, and information processing method | |
CN103369238A (en) | Image creating device and image creating method | |
CN107622497A (en) | Image cropping method, apparatus, computer-readable recording medium and computer equipment | |
KR101672691B1 (en) | Method and apparatus for generating emoticon in social network service platform | |
CN106888333A (en) | A kind of image pickup method and device | |
JP2017117457A (en) | Method, system, and device for spatially arranging multiple image frames to be displayed | |
CN104954656B (en) | A kind of information processing method and device | |
US20240153038A1 (en) | Image processing method and device, and training method of image processing model and training method thereof | |
KR20150011714A (en) | Device for determining orientation of picture | |
CN106101528A (en) | A kind of method and device at video playback window operation video |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |
|
RJ01 | Rejection of invention patent application after publication |