CN106131391B - A kind of image pickup method and device - Google Patents
A kind of image pickup method and device Download PDFInfo
- Publication number
- CN106131391B CN106131391B CN201610792759.7A CN201610792759A CN106131391B CN 106131391 B CN106131391 B CN 106131391B CN 201610792759 A CN201610792759 A CN 201610792759A CN 106131391 B CN106131391 B CN 106131391B
- Authority
- CN
- China
- Prior art keywords
- registration
- display pixel
- pixel array
- shooting
- module
- 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.)
- Active
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/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
-
- 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/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- 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/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
Abstract
The invention discloses a kind of image pickup method and devices, by the display pixel array for obtaining current screen to be captured;Calculate the registration of the pixels sampled array of display pixel array and capture apparatus;When registration is lower than preset first threshold value, the moving direction so that capture apparatus that registration increases is calculated;Prompt the user with moving direction.The application passes through the display pixel array of real-time detection screen and the registration of the pixels sampled array of camera sensing device, and user is guided to step up the registrations of two pixel arrays, so that two arrays tend to be overlapped as far as possible, weaken interference when two array overlappings, it can substantially reduce and even be eliminated moire fringes, so that user, which can be convenient, quickly obtains the high screen shot picture of clarity.
Description
Technical field
The present invention relates to field of photographing technology, more particularly to a kind of image pickup method and device.
Background technique
In life, the contacts of person to person are more and more embodied on network, and many people pass through the network social intercourses such as microblogging
Using the dynamic of real-time sharing oneself, it often will appear using camera or the mobile terminals such as the mobile phone with shooting function go to shoot
The scene of computer screen picture.
However, due to pixels sampled in the camera CCD of the capture apparatus such as mobile phone or digital camera and display screen shot
Waveform interference is produced between display pixel, will lead to the appearance of intensive curved colored lines.Such moire fringes are spread
Whole image, is difficult to go to optimize by software, causes the picture clarity shot very poor, influences the viewing to picture.
In consideration of it, provide a kind of image pickup method and device, to weaken rubbing of generating when mobile terminal photographed screen picture
You are necessary at line phenomenon.
Summary of the invention
The object of the present invention is to provide a kind of image pickup method and device, production when solving existing capture apparatus photographed screen
The problem of giving birth to moire fringes phenomenon and leading to lower picture quality, influence shooting effect.
In order to solve the above technical problems, the present invention provides a kind of image pickup method, comprising:
Obtain the display pixel array of current screen to be captured;
Calculate the registration of the pixels sampled array of the display pixel array and capture apparatus;
When the registration is lower than preset first threshold value, the movement so that capture apparatus that the registration increases is calculated
Direction;
Prompt the user with the moving direction.
Optionally, before the display pixel array for obtaining current screen to be captured further include:
Receive the instruction into screen-picture screening-mode of user's input;
Or when detecting that moire fringes phenomenon occurs in shooting picture, into screen-picture screening-mode.
Optionally, the display pixel array for obtaining current screen to be captured includes:
By identifying the model of the current screen to be captured, the display pixel battle array corresponding with the model is determined
Column;
Or the instruction of the size and resolution ratio of the selection current screen to be captured of user's input is received, according to described
Size and the resolution ratio determine the display pixel array;
Or pass through what interference on the currently picture of screen to be captured taken to different angle different distance generated
Moire fringes and known pixels sampled array, determine the display pixel array.
Optionally, the registration of the pixels sampled array for calculating the display pixel array and capture apparatus includes:
All pixels point in the pixels sampled array being calculated is fallen in first on the display pixel array
Ratio is as the registration;
Or all pixels point in the display pixel array being calculated is fallen on the pixels sampled array
Two ratios are as the registration;
Or using the weighted value of first ratio and second ratio as the registration.
Optionally, described to calculate so that the moving direction for the capture apparatus that the registration increases includes:
Registration after movement, which calculates, to be assumed to default multiple directions, chooses the highest direction of calculated registration
As the moving direction;
Or the change rate of registration is calculated in the capture apparatus moving process, choose the maximum point of positive change rate
Moving direction is as the moving direction.
Optionally, described to prompt the user with the moving direction and include:
It is prompted by way of arrow, direction, picture inclination or voice to the user.
Optionally, it is described prompt the user with the moving direction after further include:
When meeting default shooting condition, the current screen to be captured is shot.
Optionally, described when meeting default shooting condition, carrying out shooting to the current screen to be captured includes:
The shooting instruction for receiving user's input shoots the current screen to be captured;
Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic
Shoot the current screen to be captured.
Optionally, described to include: to the optimal shooting prompt information of user prompt
It is mentioned by way of text, sound, screen flicker, the switching of shooting button color or shooting button chromatic flicker
Show.
The present invention also provides a kind of filming apparatus, comprising:
Display pixel array obtains module, for obtaining the display pixel array of current screen to be captured;
Registration computing module, for calculating being overlapped for the display pixel array and the pixels sampled array of capture apparatus
Degree;
Moving direction computing module, for calculating so that the coincidence when the registration is lower than preset first threshold value
Spend the moving direction of the capture apparatus increased;
Cue module, for prompting the user with the moving direction.
Optionally, further includes:
Screen-picture screening-mode enters module, current to be captured for obtaining module acquisition in the display pixel array
Before the display pixel array of screen, the instruction into screen-picture screening-mode of user's input is received;Or works as and detect bat
When taking the photograph picture and moire fringes phenomenon occur, into screen-picture screening-mode.
Optionally, the display pixel array obtains module specifically:
By identifying the model of the current screen to be captured, the display pixel array corresponding with the model is determined
Module;
Or the instruction of the size and resolution ratio of the selection current screen to be captured of user's input is received, according to described
Size and the resolution ratio determine the module of the display pixel array;
Or pass through what interference on the currently picture of screen to be captured taken to different angle different distance generated
Moire fringes and known pixels sampled array, determine the module of the display pixel array.
Optionally, the registration computing module specifically:
All pixels point in the pixels sampled array being calculated is fallen in first on the display pixel array
Module of the ratio as the registration;
Or all pixels point in the display pixel array being calculated is fallen on the pixels sampled array
Module of two ratios as the registration;
Or using the weighted value of first ratio and second ratio as the module of the registration.
Optionally, the moving direction computing module specifically:
Registration after movement, which calculates, to be assumed to default multiple directions, chooses the highest direction of calculated registration
Module as the moving direction;
Or the change rate of registration is calculated in the capture apparatus moving process, choose the maximum point of positive change rate
Module of the moving direction as the moving direction.
Optionally, the cue module specifically:
The module prompted by way of arrow, direction, picture inclination or voice to the user.
Optionally, further includes:
Shooting module, for meeting default shooting after the cue module prompts the user with the moving direction
When condition, the current screen to be captured is shot.
Optionally, the shooting module specifically:
The shooting instruction for receiving user's input, the module that the current screen to be captured is shot;
Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic
Shoot the module of the current screen to be captured.
Optionally, the shooting module specifically:
It is mentioned by way of text, sound, screen flicker, the switching of shooting button color or shooting button chromatic flicker
The module shown.
Image pickup method and device provided by the present invention, by the display pixel array for obtaining current screen to be captured;
Calculate the registration of the pixels sampled array of display pixel array and capture apparatus;When registration is lower than preset first threshold value,
Calculate the moving direction so that the capture apparatus that registration increases;Prompt the user with moving direction.The application passes through real-time detection
The registration of the pixels sampled array of the display pixel array and camera sensing device of screen, and user is guided to step up two
The registration of a pixel array weakens interference when two array overlappings so that two arrays tend to be overlapped as far as possible, can be significant
Moire fringes are decreased or even eliminated, so that user, which can be convenient, quickly obtains the high screen shot picture of clarity.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the production principle schematic diagram of moire fringes;
Fig. 2 be screen and camera sensing device display and pixels sampled keep special angle and apart from when one kind it is specific
Arrange schematic diagram;
Fig. 3 is schematic diagram after screen and the interference of the display pixel array and pixels sampled array of camera sensing device;
Fig. 4 is a kind of flow chart of specific embodiment of image pickup method provided by the present invention;
Fig. 5 is the flow chart of another specific embodiment of image pickup method provided by the present invention;
Fig. 6 is the flow chart of another specific embodiment of image pickup method provided by the present invention;
Fig. 7 is the structural block diagram of filming apparatus provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of capture apparatus 1 provided in an embodiment of the present invention;
Fig. 9 be another embodiment of the present invention provides capture apparatus 2 structural block diagram.
Specific embodiment
Moire fringes are a kind of phenomenons caused by the wave crest of two sine waves is superimposed, actually namely mobile phone or number
Waveform interference has occurred in the camera CCD of capture apparatus such as code camera between pixels sampled and the display pixel of display screen shot
Phenomenon.As shown in the production principle schematic diagram of Fig. 1 moire fringes.Fig. 2 is the display and pixels sampled of screen and camera sensing device
Keep special angle and apart from when the specific arrangement schematic diagram of one kind.It will appear situation as shown in fig. 3 after the two interference, weight
There are moire fringes in folded part.Since film camera is not no pixel, so how will not staggeredly occur irregular dry
Relate to striped.
Based on the above principles it is found that the main reason for moire fringes phenomenon occur is the display pixel array and camera of screen
The pixels sampled array of sensor can not correspond, and lead to that interference phenomenon has occurred.And between two pixel arrays of adjustment
Away from the relative size that can change two arrays, the direction for adjusting camera can change the relative direction of two pixel arrays,
Therefore two arrays can be made to tend to be overlapped as far as possible with direction by adjusting spacing, then can substantially reduces and even is eliminated mole
Line.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The flow chart of specific embodiment of image pickup method provided by the present invention a kind of as shown in figure 4, this method comprises:
Step S101: the display pixel array of current screen to be captured is obtained;
Step S102: the registration of the pixels sampled array of the display pixel array and capture apparatus is calculated;
The pixels sampled array of capture apparatus can be the pixels sampled array of the CCD of capture apparatus, can specifically pass through
The sensor data of capture apparatus itself determines the pixels sampled array of CCD.Further, it is also possible to by read chip data or
Person prestores the modes such as configuration information, obtains pixels sampled array.
What registration was used to indicate pixels sampled array and display pixel array is overlapped degree.The overlapping of two arrays more it is more then
Registration is higher.
Step S103: it when the registration is lower than preset first threshold value, calculates so that the shooting that the registration increases
The moving direction of equipment;
Step S104: the moving direction is prompted the user with.
Specifically, it can be prompted by way of arrow, direction, picture inclination or voice to the user.It is mobile
Direction can for relative to current screen forward, backward, to the left, to the right or other directions.
Image pickup method provided by the present invention, by the display pixel array for obtaining current screen to be captured;Calculate display
The registration of the pixels sampled array of pixel array and capture apparatus;When registration be lower than preset first threshold value when, calculate so that
The moving direction for the capture apparatus that registration increases;Prompt the user with moving direction.The application passes through the aobvious of real-time detection screen
Show the registration of the pixels sampled array of pixel array and camera sensing device, and user is guided to step up two pixel battle arrays
The registration of column weakens interference when two array overlappings, can substantially reduce in this way so that two arrays tend to be overlapped as far as possible
Moire fringes even are eliminated, so that user, which can be convenient, quickly obtains the high screen shot picture of clarity.
On capture apparatus, setting screen-picture screening-mode can be increased to realize shooting side provided by the present invention
Method.The Starting mode of screen-picture screening-mode can be the instruction into screen-picture screening-mode of reception user's input;
Or when detecting that moire fringes phenomenon, i.e. capture apparatus photographed screen picture occurs in shooting picture, mould is shot into screen-picture
Formula.After entering screen-picture screening-mode, it can be shot using image pickup method provided by the present invention.
The flow chart of another specific embodiment of image pickup method provided by the present invention is as shown in figure 5, this method packet
It includes:
Step S201: enter screen-picture screening-mode;
Specifically, into screen-picture screening-mode can for receive user input into screen-picture screening-mode
Instruction.The triggering mode of instruction can be physical button, the mode of virtual key or voice.It can also be in normal photographing mode
Under, when detecting that moire fringes phenomenon occurs in shooting picture, automatically into screen-picture screening-mode.
Step S202: the display pixel array of current screen to be captured is obtained;
Step S203: the registration of the pixels sampled array of display pixel array and capture apparatus is calculated;
Step S204: it when the registration is lower than preset first threshold value, calculates so that the shooting that the registration increases
The moving direction of equipment;
A kind of method of determining moving direction can be with are as follows: to default multiple directions assume it is mobile after registration count
It calculates, chooses the highest direction of calculated registration as the moving direction.
Specifically, using the central point of capture apparatus as origin, three-dimensional system of coordinate is established, forms spherical surface by radius of R.By ball
The area in face carries out N equal part, and the central point of each equal part is taken to assume direction, that is, there is N number of default hypothesis direction as default.N
More than or equal to 6, specific value can be configured according to actual accuracy and calculation amount.Respectively to N number of default hypothesis side
It is calculated to the registration after movement, and compares its size, determine that the highest direction of registration is moving direction.
By taking N=6 as an example, it is equivalent to and space is divided into front and back six direction up and down.It calculates and distinguishes to the six direction
Registration size after a mobile preset displacement unit is chosen the highest direction of registration as moving direction, is such as calculated
After moving right when registration highest, then by the moving direction to the right as the prompt lower moved further of capture apparatus.Certainly, work as N
When being selected as 6, calculation amount is minimum, and accuracy rate is then worst.
Optionally, the determination method of another moving direction can be with are as follows: weight is calculated in the capture apparatus moving process
Right change rate chooses the moving direction of the maximum point of positive change rate as the moving direction.
There are motion track in the moving process of capture apparatus, the registration of every bit can change in track, each
Point is different relative to the change rate of upper registration.Therefore, the change rate of registration is calculated in moving process, is chosen just
To direction of the moving direction as registration increase tendency maximum probability of the maximum point of change rate, as prompt capture apparatus is moved
Dynamic moving direction.
Step S205: the moving direction is prompted the user with.
Further, can also include: after prompting the user with the moving direction
When meeting default shooting condition, the current screen to be captured is shot.
Preset shooting condition can be with are as follows: the shooting instruction for receiving user's input carries out the current screen to be captured
Shooting;Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic bat
Take the photograph the current screen to be captured.
User can be according to the direction follow shot equipment of prompt, when registration is greater than default second threshold, on the screen
The optimal shooting prompt information or capture apparatus that prompt user can be shot can be shot automatically, further certainly
It is dynamic to save shooting picture.Further, it is also possible to receive the instruction that user is shot, directly in the moving process of capture apparatus
It is shot.
In the present embodiment under screen-picture screening-mode, according to shooting key photographed screen picture or automatic shooting screen
After picture, shooting interface can not be exited, continues the direction prompt that display further increases registration on the screen, Zhi Daojie
Receive the instruction of user's input exited screen-picture screening-mode or exit shooting picture.
By taking registration is more than to preset second threshold as default shooting condition as an example, below to shooting side provided by the present invention
Another specific embodiment of method is illustrated, and the flow chart of this method is as shown in fig. 6, it is specifically included:
Step S301: when detecting that moire fringes phenomenon occurs in photographed screen picture, into screen-picture screening-mode;
Step S302: by the screen-picture taken, the display pixel array of current screen is determined;
Specifically, the determination method of display pixel array can be with are as follows: by identifying the model of the current screen to be captured,
Determine the display pixel array corresponding with the model.After the model for identifying current screen to be captured, pass through search
Data, it can determine the display pixel array of the corresponding screen of the model.
The determination method of display pixel array can be with are as follows: receives the selection current screen to be captured of user's input
The instruction of size and resolution ratio determines the display pixel array according to the size and the resolution ratio.The process is
Under the premise of the size of current screen known to user and resolution ratio, by user to size and resolution comprising current screen
The choice box of rate is voluntarily selected, and the pixel for needing resolution ratio can be obtained according to rule further according to size and resolution ratio
Then it is evenly distributed on the pixel array formed on the screen of correspondingly-sized size.
The method that another kind determines display pixel array are as follows: described current by being taken to different angle different distance
The moire fringes and known pixels sampled array for interfering generation on the picture of screen to be captured, determine the display pixel battle array
Column.Due to camera pixels sampled array be it is fixed, display pixel array is also fixed, different angle different distance shooting
Screen-picture on interfere the moire fringes of generation also different.Pass through the screen-picture taken to multiple and different angle different distances
On moire fringes and known pixels sampled array, can solve and obtain display pixel array.
Step S303: the pixels sampled array of sensor is determined;
It should be pointed out that above-mentioned steps S302 and the position of step S303 can be interchanged, this does not influence of the invention
It realizes.
Step S304: the display pixel array of current screen and being overlapped for current sensor pixels sampled array are calculated
Degree;
Specifically, the calculation method of registration can be with are as follows: by all pixels in the pixels sampled array being calculated
Point falls in the first ratio on the display pixel array as the registration.
The calculation method of registration can be with are as follows: falls in all pixels point in the display pixel array being calculated
The second ratio on the pixels sampled array is as the registration;
Further, it is also possible to using the weighted value of first ratio and second ratio as the registration.Or it will
After the weighted value of first ratio and the second ratio carries out other calculating, obtained correspondence numerical value is as registration.
Step S305: when the registration of calculating is lower than preset first threshold value, the moving direction for increasing registration is calculated;
Step S306: the moving direction is prompted the user with;
Step S307: during user's follow shot equipment, lasting detection and calculating repeat step S304 to step
S307, when the registration of calculating is greater than default second threshold, onscreen cue user can shoot or mobile terminal
Automatically it carries out shooting and saves picture.
The mode that specific prompt user can be shot can for text prompt, auditory tone cues, screen flicker prompt,
Shooting button color tips or the prompt of shooting button chromatic flicker etc..
Image pickup method provided by the present invention is further elaborated with a concrete scene below.In this scenario, it uses
Family opens camera and enters photographed screen picture, and mobile terminal detects that screen-picture has moire fringes, shoots mould into screen-picture
Formula.The display pixel array and pixels sampled array for determining screen, calculate the registration of two arrays, when registration is less than
One threshold value shows the calculated movement for increasing registration if first threshold can be taken as 70% on screen shot interface
Direction, user is according to the moving direction such as posteriorly or anteriorly dollying head of prompt, and calculated registration is greater than second at this time
Threshold value, second threshold can be taken as 85%, and mobile terminal automatic shooting current picture simultaneously saves, and continuing display increases registration
Moving direction, when registration increases to 94%, user press shooting key save shooting picture, and exit shooting interface.
Filming apparatus provided in an embodiment of the present invention is introduced below, filming apparatus described below and above description
Image pickup method can correspond to each other reference.
Fig. 7 is the structural block diagram of filming apparatus provided in an embodiment of the present invention, may include: referring to Fig. 7 filming apparatus
Display pixel array obtains module 100, for obtaining the display pixel array of current screen to be captured;
Registration computing module 200, for calculating the pixels sampled array of the display pixel array and capture apparatus
Registration;
Moving direction computing module 300, for calculating so that described heavy when the registration is lower than preset first threshold value
The moving direction of the capture apparatus of right increase;
Cue module 400, for prompting the user with the moving direction.
On the basis of the above embodiments, filming apparatus provided by the present invention can also include:
Screen-picture screening-mode enters module, current to be captured for obtaining module acquisition in the display pixel array
Before the display pixel array of screen, the instruction into screen-picture screening-mode of user's input is received;Or works as and detect bat
When taking the photograph picture and moire fringes phenomenon occur, into screen-picture screening-mode.
As a kind of specific embodiment, the display pixel array obtains module specifically:
By identifying the model of the current screen to be captured, the display pixel array corresponding with the model is determined
Module;
Or the instruction of the size and resolution ratio of the selection current screen to be captured of user's input is received, according to described
Size and the resolution ratio determine the module of the display pixel array;
Or pass through what interference on the currently picture of screen to be captured taken to different angle different distance generated
Moire fringes and known pixels sampled array, determine the module of the display pixel array.
As a kind of specific embodiment, the registration computing module specifically:
All pixels point in the pixels sampled array being calculated is fallen in first on the display pixel array
Module of the ratio as the registration;
Or all pixels point in the display pixel array being calculated is fallen on the pixels sampled array
Module of two ratios as the registration;
Or using the weighted value of first ratio and second ratio as the module of the registration.
As a kind of specific embodiment, the moving direction computing module specifically:
Registration after movement, which calculates, to be assumed to default multiple directions, chooses the highest direction of calculated registration
Module as the moving direction;
Or the change rate of registration is calculated in the capture apparatus moving process, choose the maximum point of positive change rate
Module of the moving direction as the moving direction.
As a kind of specific embodiment, the cue module specifically:
The module prompted by way of arrow, direction, picture inclination or voice to the user.
Filming apparatus provided by the present invention can further include:
Shooting module, for meeting default shooting after the cue module prompts the user with the moving direction
When condition, the current screen to be captured is shot.
Wherein, the shooting module can be with specifically:
The shooting instruction for receiving user's input, the module that the current screen to be captured is shot;
Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic
Shoot the module of the current screen to be captured.
The shooting module specifically:
It is mentioned by way of text, sound, screen flicker, the switching of shooting button color or shooting button chromatic flicker
The module shown.
Filming apparatus provided by the present invention passes through the display pixel array and camera sensing device of real-time detection screen
Pixels sampled array registration, and user is guided to step up the registrations of two pixel arrays, so that two arrays are most
Amount tends to be overlapped, and weakens interference when two array overlappings, can substantially reduce and even be eliminated moire fringes, so that user can
Conveniently and efficiently to obtain the high screen shot picture of clarity.
Referring to Fig. 8, Fig. 8 is the schematic diagram of capture apparatus 1 provided in an embodiment of the present invention, and capture apparatus 1 may include processing
Device 11, memory 12 and display 13, processor 11, memory 12 are communicated with display 13 by communication bus 14.
The memory 12, for storing program code.
After the processor 11 is used to read the program code stored in the memory 12, the following contents is executed: obtaining
The display pixel array of current screen to be captured;Calculate the weight of the pixels sampled array of the display pixel array and capture apparatus
It is right;When the registration is lower than preset first threshold value, the mobile side so that the capture apparatus that the registration increases is calculated
To;Prompt the user with the moving direction.
The display 13 is used to receive the idsplay order of processor 11, shows to the moving direction.
In some embodiment of the invention, processor 11 calls the code stored in memory 12 with also by bus 14
For: receive the instruction into screen-picture screening-mode of user's input;Or works as and detect that shooting picture moire fringes occurs and shows
As when, into screen-picture screening-mode.
In some embodiment of the invention, in terms of above-mentioned acquisition currently the display pixel array of screen to be captured, place
Device 11 is managed by bus 14, calls the code stored in memory 12 to be specifically used for: by identifying the current screen to be captured
The model of curtain determines the display pixel array corresponding with the model;Or receive user input selection it is described currently to
The instruction of the size and resolution ratio of photographed screen determines the display pixel battle array according to the size and the resolution ratio
Column;Or interfere the moire fringes of generation on the picture by the current screen to be captured taken to different angle different distance
And known pixels sampled array, determine the display pixel array.
In some embodiment of the invention, in the pixels sampled battle array of the above-mentioned calculating display pixel array and capture apparatus
The aspect of the registration of column, processor 11 are called the code stored in memory 12 to be specifically used for: will be calculated by bus 14
All pixels point falls in the first ratio on the display pixel array as described heavy in the obtained pixels sampled array
It is right;Or fall in all pixels point in the display pixel array being calculated on the pixels sampled array second is compared
Example is used as the registration;Or using the weighted value of first ratio and second ratio as the registration.
In some embodiment of the invention, in above-mentioned calculating so that the moving direction for the capture apparatus that the registration increases
Aspect, processor 11 calls the code stored in memory 12 to be specifically used for by bus 14: false to default multiple directions
Registration after fixed movement is calculated, and chooses the highest direction of calculated registration as the moving direction;Or institute
The change rate for calculating registration in capture apparatus moving process is stated, chooses the moving direction of the maximum point of positive change rate as institute
State moving direction.
In some embodiment of the invention, it is above-mentioned prompt the user with the moving direction include in terms of, processor 11
By bus 14, idsplay order is sent to be specifically used for display 13: by the side of arrow, direction, picture inclination or voice
Formula is prompted to the user.
In some embodiment of the invention, processor 11 calls the code stored in memory 12 with also by bus 14
For: it is described prompt the user with the moving direction after, when meeting default shooting condition, to the current screen to be captured
Curtain is shot.
In some embodiment of the invention, above-mentioned when meeting default shooting condition, to the current screen to be captured
The aspect shot, processor 11 call the code stored in memory 12 to be specifically used for by bus 14: receiving user
The shooting instruction of input shoots the current screen to be captured;Or when the registration is more than default second threshold,
Optimal shooting prompt information or the automatic shooting current screen to be captured are prompted to the user.
In some embodiment of the invention, above-mentioned when meeting default shooting condition, to the current screen to be captured
The aspect shot, processor 11 send idsplay order by bus 14, to display 13 to be specifically used for: by text,
Sound, screen flicker, shooting button color switches or the mode of shooting button chromatic flicker is prompted.
It is understood that the function of each functional module of the capture apparatus 1 of the present embodiment can be implemented according to the above method
Method specific implementation in example, specific implementation process are referred to the associated description of above method embodiment, no longer superfluous herein
It states.
Capture apparatus provided herein passes through the display pixel array and camera sensing device of real-time detection screen
Pixels sampled array registration, and user is guided to step up the registrations of two pixel arrays, so that two arrays are most
Amount tends to be overlapped, and weakens interference when two array overlappings, can substantially reduce and even be eliminated moire fringes, so that user can
Conveniently and efficiently to obtain the high screen shot picture of clarity.
Referring to Fig. 9, Fig. 9 be another embodiment of the present invention provides capture apparatus 2 structural block diagram.Wherein, it shoots
Equipment 2 may include: at least one processor 21, at least one network interface 22 or other users interface 23, and memory 24 is shown
Show device 25, camera 26, at least one communication bus 27, imaging sensor 28.Communication bus 27 for realizing these components it
Between connection communication.
Wherein, memory 24 may include read-only memory and random access memory, and provide instruction to processor 21
And data.The a part of of memory 24 can also include nonvolatile RAM (NVRAM).
In some embodiments, memory 24 stores following element, executable modules or data structures, or
Their subset or their superset:
Operating system 241 includes various system programs, for realizing various basic businesses and hardware based of processing
Business.
Application program module 242 includes various application programs, for realizing various applied business.
It include but is not limited to that display pixel array obtains module 100, registration computing module in application program module 242
200, moving direction computing module 300 and/or cue module 400 etc..
In some embodiments of the invention, by the program or instruction of calling memory 24 to store, processor 21 is also used
In: receive the instruction into screen-picture screening-mode of user's input;Or works as and detect that moire fringes phenomenon occurs in shooting picture
When, into screen-picture screening-mode.
In some embodiments of the invention, in terms of above-mentioned acquisition currently the display pixel array of screen to be captured,
By the program or instruction for calling memory 24 to store, processor 21 is specifically used for: by identifying the current screen to be captured
Model, determine corresponding with the model display pixel array;Or the selection of reception user's input is described currently wait clap
The instruction for taking the photograph the size and resolution ratio of screen determines the display pixel array according to the size and the resolution ratio;
Or interfere on the picture by the current screen to be captured taken to different angle different distance the moire fringes of generation with
And known pixels sampled array, determine the display pixel array.
In some embodiments of the invention, in the pixels sampled of the above-mentioned calculating display pixel array and capture apparatus
The aspect of the registration of array, by the program or instruction for calling memory 24 to store, processor 21 is specifically used for: will calculate
To the pixels sampled array in all pixels point fall in the first ratio on the display pixel array as the coincidence
Degree;Or all pixels point in the display pixel array being calculated is fallen in into the second ratio on the pixels sampled array
As the registration;Or using the weighted value of first ratio and second ratio as the registration.
In some embodiment of the invention, in above-mentioned calculating so that the moving direction for the capture apparatus that the registration increases
Aspect, by the program or instruction for calling memory 24 to store, processor 21 is specifically used for: assuming to move to default multiple directions
Registration after dynamic is calculated, and chooses the highest direction of calculated registration as the moving direction;Or in the bat
It takes the photograph in equipment moving process and calculates the change rate of registration, choose the moving direction of the maximum point of positive change rate as the shifting
Dynamic direction.
In some embodiment of the invention, it is above-mentioned prompt the user with the moving direction include in terms of, processor 21
By bus 27, idsplay order is sent to be specifically used for display 25: by the side of arrow, direction, picture inclination or voice
Formula is prompted to the user.
In some embodiment of the invention, by the program or instruction of calling memory 24 to store, processor 21 is also used to:
It is described prompt the user with the moving direction after, when meeting default shooting condition, to the current screen to be captured into
Row shooting.
In some embodiment of the invention, above-mentioned when meeting default shooting condition, to the current screen to be captured
The aspect shot, by the program or instruction for calling memory 24 to store, processor 21 is specifically used for: receiving user's input
Shooting instruction, the current screen to be captured is shot;Or when the registration is more than default second threshold, to institute
It states user and prompts optimal shooting prompt information or the automatic shooting current screen to be captured.
In some embodiment of the invention, above-mentioned when meeting default shooting condition, to the current screen to be captured
The aspect shot, processor 21 send idsplay order by bus 27, to display 25 to be specifically used for: by text,
Sound, screen flicker, shooting button color switches or the mode of shooting button chromatic flicker is prompted.
It is understood that the function of each functional module of the capture apparatus 2 of the present embodiment can be implemented according to the above method
Method specific implementation in example, specific implementation process are referred to the associated description of above method embodiment, no longer superfluous herein
It states.
Specifically, which can be terminal devices or the cameras such as mobile phone, plate.
Capture apparatus provided by the present application passes through the display pixel array of real-time detection screen and camera sensing device
The registration of pixels sampled array, and user is guided to step up the registrations of two pixel arrays, so that two arrays are as far as possible
Tend to be overlapped, weaken the interference when overlapping of two arrays, can substantially reduce and even be eliminated moire fringes, so that user can be with
Conveniently and efficiently obtain the high screen shot picture of clarity.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Image pickup method provided by the present invention, device and equipment are described in detail above.It is used herein
A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand originally
The method and its core concept of invention.It should be pointed out that for those skilled in the art, not departing from this hair
, can be with several improvements and modifications are made to the present invention under the premise of bright principle, these improvement and modification also fall into power of the present invention
In the protection scope that benefit requires.
Claims (16)
1. a kind of image pickup method characterized by comprising
Obtain the display pixel array of current screen to be captured;
Calculate the registration of the pixels sampled array of the display pixel array and capture apparatus;
When the registration is lower than preset first threshold value, the mobile side so that the capture apparatus that the registration increases is calculated
To;
Prompt the user with the moving direction;
Wherein, the registration of the pixels sampled array for calculating the display pixel array and capture apparatus includes:
All pixels point in the pixels sampled array being calculated is fallen in into the first ratio on the display pixel array
As the registration;
Or fall in all pixels point in the display pixel array being calculated on the pixels sampled array second is compared
Example is used as the registration;
Or using the weighted value of first ratio and second ratio as the registration.
2. image pickup method as described in claim 1, which is characterized in that in the display pixel for obtaining current screen to be captured
Before array further include:
Receive the instruction into screen-picture screening-mode of user's input;
Or when detecting that moire fringes phenomenon occurs in shooting picture, into screen-picture screening-mode.
3. image pickup method as claimed in claim 2, which is characterized in that the display pixel battle array for obtaining current screen to be captured
Column include:
By identifying the model of the current screen to be captured, the display pixel array corresponding with the model is determined;
Or the instruction of the size and resolution ratio of the selection current screen to be captured of user's input is received, according to the size
And the resolution ratio determines the display pixel array;
Or mole that interference generates on the picture for passing through the current screen to be captured taken to different angle different distance
Line and known pixels sampled array, determine the display pixel array.
4. image pickup method as described in claim 1, which is characterized in that described to calculate so that the shooting that the registration increases is set
Standby moving direction includes:
Registration after movement, which calculates, to be assumed to default multiple directions, chooses the highest direction conduct of calculated registration
The moving direction;
Or the change rate of registration is calculated in the capture apparatus moving process, choose the movement of the maximum point of positive change rate
Direction is as the moving direction.
5. image pickup method as claimed in claim 4, which is characterized in that described to prompt the user with the moving direction and include:
It is prompted by way of arrow, direction, picture inclination or voice to the user.
6. image pickup method as claimed in claim 4, which is characterized in that prompted the user with after the moving direction also described
Include:
When meeting default shooting condition, the current screen to be captured is shot.
7. image pickup method as claimed in claim 6, which is characterized in that it is described when meeting default shooting condition, work as to described
Preceding screen to be captured carries out shooting
The shooting instruction for receiving user's input shoots the current screen to be captured;
Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic shooting
The current screen to be captured.
8. image pickup method as claimed in claim 7, which is characterized in that described to prompt optimal shooting prompt information to the user
Include:
It is prompted by way of text, sound, screen flicker, the switching of shooting button color or shooting button chromatic flicker.
9. a kind of filming apparatus characterized by comprising
Display pixel array obtains module, for obtaining the display pixel array of current screen to be captured;
Registration computing module, the registration of the pixels sampled array for calculating the display pixel array and capture apparatus;
Moving direction computing module, for calculating so that the registration increases when the registration is lower than preset first threshold value
The moving direction of big capture apparatus;
Cue module, for prompting the user with the moving direction;
Wherein, the registration computing module specifically:
All pixels point in the pixels sampled array being calculated is fallen in into the first ratio on the display pixel array
Module as the registration;
Or fall in all pixels point in the display pixel array being calculated on the pixels sampled array second is compared
Module of the example as the registration;
Or using the weighted value of first ratio and second ratio as the module of the registration.
10. filming apparatus as claimed in claim 9, which is characterized in that further include:
Screen-picture screening-mode enters module, obtains current screen to be captured for obtaining module in the display pixel array
Display pixel array before, receive user input the instruction into screen-picture screening-mode;Or works as and detect shooting picture
When moire fringes phenomenon occurs in face, into screen-picture screening-mode.
11. filming apparatus as claimed in claim 10, which is characterized in that the display pixel array obtains module specifically:
By identifying the model of the current screen to be captured, the mould of the display pixel array corresponding with the model is determined
Block;
Or the instruction of the size and resolution ratio of the selection current screen to be captured of user's input is received, according to the size
And the resolution ratio determines the module of the display pixel array;
Or mole that interference generates on the picture for passing through the current screen to be captured taken to different angle different distance
Line and known pixels sampled array, determine the module of the display pixel array.
12. filming apparatus as claimed in claim 9, which is characterized in that the moving direction computing module specifically:
Registration after movement, which calculates, to be assumed to default multiple directions, chooses the highest direction conduct of calculated registration
The module of the moving direction;
Or the change rate of registration is calculated in the capture apparatus moving process, choose the movement of the maximum point of positive change rate
Module of the direction as the moving direction.
13. filming apparatus as claimed in claim 12, which is characterized in that the cue module specifically:
The module prompted by way of arrow, direction, picture inclination or voice to the user.
14. filming apparatus as claimed in claim 12, which is characterized in that further include:
Shooting module, for meeting default shooting condition after the cue module prompts the user with the moving direction
When, the current screen to be captured is shot.
15. filming apparatus as claimed in claim 14, which is characterized in that the shooting module specifically:
The shooting instruction for receiving user's input, the module that the current screen to be captured is shot;
Or when the registration is more than default second threshold, Xiang Suoshu user prompts optimal shooting prompt information or automatic shooting
The module of the current screen to be captured.
16. filming apparatus as claimed in claim 15, which is characterized in that the shooting module specifically:
It is prompted by way of text, sound, screen flicker, the switching of shooting button color or shooting button chromatic flicker
Module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610792759.7A CN106131391B (en) | 2016-08-31 | 2016-08-31 | A kind of image pickup method and device |
PCT/CN2016/100793 WO2018040180A1 (en) | 2016-08-31 | 2016-09-29 | Photographing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610792759.7A CN106131391B (en) | 2016-08-31 | 2016-08-31 | A kind of image pickup method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106131391A CN106131391A (en) | 2016-11-16 |
CN106131391B true CN106131391B (en) | 2019-03-22 |
Family
ID=57271414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610792759.7A Active CN106131391B (en) | 2016-08-31 | 2016-08-31 | A kind of image pickup method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106131391B (en) |
WO (1) | WO2018040180A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657747B (en) * | 2017-01-04 | 2022-11-15 | 京东方科技集团股份有限公司 | Camera module, electronic equipment, camera control method and device |
WO2018176261A1 (en) * | 2017-03-29 | 2018-10-04 | 深圳配天智能技术研究院有限公司 | Method for determining detection parameter, and detection device |
CN107509040A (en) * | 2017-09-15 | 2017-12-22 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107948498B (en) * | 2017-10-30 | 2019-10-18 | 维沃移动通信有限公司 | A kind of elimination camera Morie fringe method and mobile terminal |
CN112995452B (en) * | 2019-12-17 | 2022-11-11 | 英属开曼群岛商音飞光电科技股份有限公司 | Moire pattern image processing device |
CN113497957A (en) * | 2020-03-18 | 2021-10-12 | 摩托罗拉移动有限责任公司 | Electronic device and method for capturing images from an external display of a remote electronic device |
CN111586298A (en) * | 2020-05-09 | 2020-08-25 | 北京华严互娱科技有限公司 | Real-time moire removing method based on multi-scale network and dynamic feature coding |
WO2022040936A1 (en) * | 2020-08-25 | 2022-03-03 | 深圳市大疆创新科技有限公司 | Method for filming video in zooming manner, and filming system, filming apparatus and storage medium |
CN112312032B (en) * | 2020-10-21 | 2022-03-25 | Tcl通讯(宁波)有限公司 | Method and device for shooting by using off-screen camera, storage medium and mobile terminal |
CN114449150A (en) * | 2020-10-30 | 2022-05-06 | 中兴通讯股份有限公司 | Photographing method, photographing device, terminal and computer-readable storage medium |
CN114449230A (en) * | 2020-10-30 | 2022-05-06 | 中兴通讯股份有限公司 | Photographing method, photographing device, terminal and computer-readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010057042A (en) * | 2008-08-29 | 2010-03-11 | Nikon Corp | Photographing device |
CN104704822A (en) * | 2012-09-25 | 2015-06-10 | 宜客斯股份有限公司 | Image quality adjustment device, correction data generation method, and image quality adjustment technique utilizing same |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6873338B2 (en) * | 2002-03-21 | 2005-03-29 | International Business Machines Corporation | Anti-moire pixel array having multiple pixel types |
KR100630557B1 (en) * | 2004-12-28 | 2006-09-29 | 주식회사 팬택 | Method for providing osd in mobile communication terminal using qcamera |
CN103123691B (en) * | 2013-02-26 | 2019-02-12 | 百度在线网络技术(北京)有限公司 | A kind of filter method and device of Moire fringe |
JP2015115726A (en) * | 2013-12-10 | 2015-06-22 | 株式会社イクス | Luminance measuring method, luminance measuring device and image quality adjustment technology employing the same |
CN103985320A (en) * | 2014-05-27 | 2014-08-13 | 利亚德光电股份有限公司 | Method for restraining moire and display device capable of restraining moire |
CN104486534B (en) * | 2014-12-16 | 2018-05-15 | 西安诺瓦电子科技有限公司 | Moire fringes detect suppressing method and device |
-
2016
- 2016-08-31 CN CN201610792759.7A patent/CN106131391B/en active Active
- 2016-09-29 WO PCT/CN2016/100793 patent/WO2018040180A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010057042A (en) * | 2008-08-29 | 2010-03-11 | Nikon Corp | Photographing device |
CN104704822A (en) * | 2012-09-25 | 2015-06-10 | 宜客斯股份有限公司 | Image quality adjustment device, correction data generation method, and image quality adjustment technique utilizing same |
Also Published As
Publication number | Publication date |
---|---|
WO2018040180A1 (en) | 2018-03-08 |
CN106131391A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131391B (en) | A kind of image pickup method and device | |
JP5911846B2 (en) | Viewpoint detector based on skin color area and face area | |
CN111586282B (en) | Shooting method, shooting device, terminal and readable storage medium | |
KR101977638B1 (en) | Method for correcting user’s gaze direction in image, machine-readable storage medium and communication terminal | |
CN105338238B (en) | A kind of photographic method and electronic equipment | |
CN106161943A (en) | A kind of kinescope method and mobile terminal | |
CN103297696A (en) | Photographing method, photographing device and photographing terminal | |
CN108632536B (en) | Camera control method and device, terminal and storage medium | |
CN101938604A (en) | Image processing method and camera | |
CN109639896A (en) | Block object detecting method, device, storage medium and mobile terminal | |
JP2017022587A (en) | Information processing device, program and information processing method | |
CN108513069B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN104601876A (en) | Method and device for detecting passerby | |
US20220329729A1 (en) | Photographing method, storage medium and electronic device | |
CN110458870B (en) | Image registration, fusion and occlusion detection method and device and electronic equipment | |
CN110300268A (en) | Camera switching method and equipment | |
CN112954212B (en) | Video generation method, device and equipment | |
CN104378576B (en) | Information processing method and electronic equipment | |
CN111835941B (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN111586280B (en) | Shooting method, shooting device, terminal and readable storage medium | |
CN111885371A (en) | Image occlusion detection method and device, electronic equipment and computer readable medium | |
CN112135117A (en) | Test box, system, method and device of camera module and storage medium | |
CN114070993B (en) | Image pickup method, image pickup apparatus, and readable storage medium | |
CN111835977B (en) | Image sensor, image generation method and device, electronic device, and storage medium | |
CN113747011A (en) | Auxiliary shooting method and device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |