CN107395962A - Image capturing method and device - Google Patents
Image capturing method and device Download PDFInfo
- Publication number
- CN107395962A CN107395962A CN201710551960.0A CN201710551960A CN107395962A CN 107395962 A CN107395962 A CN 107395962A CN 201710551960 A CN201710551960 A CN 201710551960A CN 107395962 A CN107395962 A CN 107395962A
- Authority
- CN
- China
- Prior art keywords
- relative coordinate
- positional information
- coordinate system
- vertical direction
- mode
- 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/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/617—Upgrading or updating of programs or applications for camera control
-
- 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 disclosure provides a kind of image capturing method and device, applied to the electronic equipment with acceleration transducer and camera function.Disclosure image capturing method includes:Obtain the first spatial positional information of acceleration transducer collection;First spatial positional information is mapped into relative coordinate to fasten, obtains the relative coordinate position that the first spatial positional information is fastened in relative coordinate, wherein, the relative coordinate system is established according to second space positional information;When relative coordinate position overlaps with the central point of relative coordinate system, shooting image.The disclosure can obtain the upright image in position, lifting photographer's experience.
Description
Technical field
This disclosure relates to image technique, more particularly to a kind of image capturing method and device.
Background technology
With the development of science and technology, the electronic equipment such as mobile phone, tablet personal computer, digital camera may be provided with camera to shoot
Image.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of image capturing method and device.The technology
Scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of image capturing method, applied to acceleration sensing
The electronic equipment of device and camera function.This method includes:Obtain the first spatial positional information of the acceleration transducer collection;
First spatial positional information is mapped into relative coordinate to fasten, obtains first spatial positional information in the relative seat
The relative coordinate position fastened is marked, wherein, the relative coordinate system is established according to second space positional information;When the phase
When being overlapped to coordinate position with the central point of the relative coordinate system, shooting image.
The technical scheme provided by this disclosed embodiment can include the following benefits:By the way that acceleration transducer is adopted
First spatial positional information of collection is mapped to relative coordinate and fastened, and obtains the phase that the first spatial positional information is fastened in relative coordinate
To coordinate position, wherein, the relative coordinate system is established according to second space positional information;And work as relative coordinate position and phase
When being overlapped to the central point of coordinate system, shooting image, to obtain the upright image in position, lifting photographer's experience.
Alternatively, it is described first spatial positional information is mapped to relative coordinate to fasten, obtain first space
Before the relative coordinate position that the relative coordinate is fastened, methods described can also include positional information:Obtain the acceleration
Spend the second space positional information of sensor collection;According to the second space positional information, photographed scene is determined, wherein, clap
Scene is taken the photograph as any of horizontal screening-mode, vertical screening-mode and the vertical screening-mode of transverse screen;According to the shooting field
Scape, the central point for setting up imaging region is the central point of the relative coordinate system, establishes the relative coordinate system.
Wherein, in the horizontal screening-mode, the reference axis of the relative coordinate system is respectively vertical direction and vertical
Direction;In the vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction;Institute
State in the vertical screening-mode of transverse screen, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction.
Alternatively, the second space positional information includes horizontal direction value, vertical direction value and vertical direction value, described
According to the second space positional information, photographed scene is determined, can be included:Compare the horizontal direction value, vertical direction value
With the size of vertical direction value;When the horizontal direction value maximum, it is the vertical screening-mode of transverse screen to determine photographed scene;Or
Person, when the vertical direction value maximum, it is vertical screening-mode to determine photographed scene;Or when the vertical direction value most
When big, it is horizontal screening-mode to determine photographed scene.
Alternatively, maximum and both maximums in the second space positional information in first spatial positional information
Represented direction is identical.
Alternatively, it is described first spatial positional information is mapped to relative coordinate to fasten, obtain first space
The relative coordinate position that positional information is fastened in the relative coordinate, it can include:According to preset algorithm and first space
Positional information, angle of inclination and coordinate value of the electronic equipment relative to the relative coordinate system are determined, obtained described relative
Coordinate position.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of image capturing device, applied to acceleration sensing
The electronic equipment of device and camera function.The image capturing device includes:Acquisition module, it is configured as obtaining the acceleration sensing
First spatial positional information of device collection;Processing module, it is configured as first space bit for obtaining the acquisition module
Confidence breath is mapped to relative coordinate and fastened, and obtains the relative coordinate that first spatial positional information is fastened in the relative coordinate
Position, wherein, the relative coordinate system is established according to second space positional information;Taking module, it is configured as described
When the relative coordinate position that processing module obtains overlaps with the central point of the relative coordinate system, shooting image.
The technical scheme provided by this disclosed embodiment can include the following benefits:By the way that acceleration transducer is adopted
First spatial positional information of collection is mapped to relative coordinate and fastened, and obtains the phase that the first spatial positional information is fastened in relative coordinate
To coordinate position, wherein, the relative coordinate system is established according to second space positional information;And in relative coordinate position and phase
When being overlapped to the central point of coordinate system, shooting image, to obtain the upright image in position, lifting photographer's experience.
Alternatively, the acquisition module, it is configured as mapping first spatial positional information in the processing module
Fastened to relative coordinate, obtain first spatial positional information before the relative coordinate position that the relative coordinate is fastened,
Obtain the second space positional information of the acceleration transducer collection.
Described device can also include:Determining module, be configured as being obtained according to the acquisition module described second are empty
Between positional information, determine photographed scene, wherein, photographed scene be horizontal screening-mode, vertical screening-mode and transverse screen clap vertically
Take the photograph any of pattern;Establishment of coordinate system module, the photographed scene determined according to the determining module is configured as, if
The central point of vertical imaging region is the central point of the relative coordinate system, establishes the relative coordinate system.
Wherein, in the horizontal screening-mode, the reference axis of the relative coordinate system is respectively vertical direction and vertical
Direction;In the vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction;Institute
State in the vertical screening-mode of transverse screen, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction.
Alternatively, the second space positional information includes horizontal direction value, vertical direction value and vertical direction value.It is described
Determining module can include:Comparison sub-module, it is configured as horizontal direction value described in comparison, vertical direction value and vertical direction value
Size;Determination sub-module, it is configured as when the result that the comparison sub-module obtains is the horizontal direction value maximum, really
It is the vertical screening-mode of transverse screen to determine photographed scene;Or in the result that the comparison sub-module obtains it is the vertical direction value
When maximum, it is vertical screening-mode to determine photographed scene;Or in the result that the comparison sub-module obtains it is the Vertical Square
To when being worth maximum, it is horizontal screening-mode to determine photographed scene.
Alternatively, maximum and both maximums in the second space positional information in first spatial positional information
Represented direction is identical.
Alternatively, the processing module can be configured as:According to preset algorithm and first spatial positional information, it is determined that
Angle of inclination and coordinate value of the electronic equipment relative to the relative coordinate system, obtain the relative coordinate position.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, the electronic equipment include:Processor and use
In the memory of storage executable instruction;Wherein, processor is configured as performing the executable instruction, to perform such as first party
Method described in any one of face.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present disclosure or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some disclosed embodiments, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of example images figure that gained is shot using correlation technique;
Fig. 2 is a kind of flow chart of image capturing method according to an exemplary embodiment;
Fig. 3 is space coordinates exemplary plot;
Fig. 4 is a kind of flow chart of image capturing method according to another exemplary embodiment;
Fig. 5 is a kind of relative coordinate system exemplary plot shown in the disclosure;
Fig. 6 is a kind of structural representation of image capturing device according to an exemplary embodiment;
Fig. 7 is a kind of structural representation of image capturing device according to another exemplary embodiment;
Fig. 8 is a kind of electronic equipment block diagram according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Term " first ", " second " in the specification and claims of the disclosure etc. are for distinguishing similar pair
As without for describing specific order or precedence.It should be appreciated that the data so used in the appropriate case can be with
Exchange, so that embodiment of the disclosure described herein for example can be with suitable in addition to those for illustrating or describing herein
Sequence is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover it is non-exclusive include, example
Such as, process, method, system, product or the equipment for containing series of steps or unit are not necessarily limited to those clearly listed
Step or unit, but may include not list clearly or for intrinsic other of these processes, method, product or equipment
Step or unit.
, may be due to failing to ajust the position of electronic equipment when using being shot with the electronic equipment of camera function
Cause the shooting effect of image unsatisfactory.For example, when shooting document information using mobile phone 10, the image of gained is shot
11 be it is crooked, as shown in Figure 1.
Based on above mentioned problem, the disclosure provides a kind of image capturing method and device, is passed according to acceleration in electronic equipment
The spatial positional information that sensor collects, photographer is assisted to carry out the position correction of image to be captured.
Fig. 2 is a kind of flow chart of image capturing method according to an exemplary embodiment.The present embodiment provides one
Kind image capturing method, applied to the electronic equipment with acceleration transducer.This method can be held by image capturing device
OK, the image capturing device can be realized by way of hardware and/or software, and can be integrated in electronic equipment, and the electronics is set
Standby can be the electronic equipment that smart mobile phone, digital camera etc. have camera function.As shown in Fig. 2 the image capturing method bag
Include following steps:
In step 201, the first spatial positional information of acceleration transducer collection is obtained.
Wherein, acceleration transducer could alternatively be gravity sensor.
In the disclosed embodiments, acceleration transducer is 3-axis acceleration sensor, can return to X-axis, Y-axis and Z axis three
The acceleration value of individual reference axis, unit are meter per second ^2 (m/s^2).Acceleration transducer can embody electronic equipment in level
Direction (i.e. X-axis), vertical direction (i.e. Y-axis), the inclination conditions of vertical direction (i.e. Z axis), as shown in Figure 3.
When electronic equipment is in fully horizontal direction, on Z axis for maximum (i.e. gravity coefficient g, can value be
9.80665m/s^2), the value of X-direction and Y direction should be 0;
When electronic equipment is in substantially vertical direction, in Y-axis for maximum (i.e. gravity coefficient g, can value be
9.80665m/s^2), the value of X-direction and Y direction should be 0;
Be when electronic equipment is in complete transverse screen vertical direction, in X-axis for maximum (i.e. gravity coefficient g, can value be
9.80665m/s^2), the value of X-direction and Y direction should 0.
When first spatial positional information is that electronic equipment is in shooting state, space that acceleration transducer collects in real time
Positional information.
In step 202, the first spatial positional information is mapped into relative coordinate to fasten, obtains the first spatial positional information
In the relative coordinate position that relative coordinate is fastened, wherein, the relative coordinate system is established according to second space positional information.
In the step, relative coordinate system be collected according to acceleration transducer, prior to the first spatial positional information
What second space positional information was established.It will be understood by those skilled in the art that maximum and second in the first spatial positional information
The represented direction of both maximums is identical in spatial positional information.For example, in the first spatial positional information X (- X ,+X) axle,
Numerical value (i.e. horizontal direction value, vertical direction value and vertical direction value) in three reference axis of Y (- Y ,+Y) axles and Z (- Z ,+Z) axle
In, the numerical value (i.e. horizontal direction value) in X-axis is maximum;Three X-axis, Y-axis and Z axis coordinates in second space positional information
In numerical value on axle, the numerical value in X-axis is also maximum.
Wherein, the first spatial positional information is mapped to method used by relative coordinate is fastened and refers to correlation technique,
Here is omitted.
In step 203, when relative coordinate position overlaps with the central point of relative coordinate system, shooting image.
Wherein, relative coordinate position overlaps the position side of being of the current image to be captured of explanation with the central point of relative coordinate system
Positive, electronic equipment can automatically snap the image to be captured.
In summary, the image capturing method that the present embodiment provides, passes through the first space for gathering acceleration transducer
Positional information is mapped to relative coordinate and fastened, and obtains the relative coordinate position that the first spatial positional information is fastened in relative coordinate,
Wherein, the relative coordinate system is established according to second space positional information;And when relative coordinate position and relative coordinate system
When central point overlaps, shooting image, to obtain the upright image in position, lifting photographer's experience.
Fig. 4 is a kind of flow chart of image capturing method according to another exemplary embodiment.As shown in figure 4,
On the basis of flow shown in Fig. 2, the image capturing method can also comprise the following steps:
In step 401, the second space positional information of acceleration transducer collection is obtained.
In step 402, according to second space positional information, photographed scene is determined.
Wherein, photographed scene can be appointing in horizontal screening-mode, vertical screening-mode and the vertical screening-mode of transverse screen
One kind, but the disclosure is not limited system.
Based on second space positional information, when the maximum absolute value of the data in Y-axis, it can assert that photographer wishes to shoot
The image of vertical direction, so as to which electronic equipment is arranged into vertical screening-mode;When the maximum absolute value of the data in X-axis,
It can assert that photographer wishes to shoot the photo of transverse screen vertical direction, so as to which electronic equipment is arranged into the vertical screening-mode of transverse screen;
When the maximum absolute value of the data on Z axis, it can be assumed that photographer wishes the photo in shooting level direction, so as to which electronics be set
It is standby to be arranged to horizontal screening-mode.
Therefore, according to second space positional information, photographed scene is determined, can be included:Comparison level direction value, vertical side
To value and the size of vertical direction value;When horizontal direction value maximum, it is the vertical screening-mode of transverse screen to determine photographed scene;Or
Person, when vertical direction value maximum, it is vertical screening-mode to determine photographed scene;Or when vertical direction value maximum, it is determined that
Photographed scene is horizontal screening-mode.
In step 403, according to photographed scene, the central point for setting up imaging region is the central point of relative coordinate system, is built
Vertical relative coordinate system.
Wherein, in horizontal screening-mode, the reference axis of relative coordinate system is respectively vertical direction and vertical direction;Perpendicular
In straight screening-mode, the reference axis of relative coordinate system is respectively horizontal direction and vertical direction;In the vertical screening-mode of transverse screen,
The reference axis of relative coordinate system is respectively horizontal direction and vertical direction.
For imaging region, it will be understood by those skilled in the art that imaging region can be whole screen or screen
A part for curtain.
For example, pressing abovementioned steps 402, it is vertical screening-mode to determine photographed scene, then needs to ensure to take maximum in Y-axis,
And the numerical value in X-axis and Z axis is needed for 0.At this moment, the central point of relative coordinate system can be set up in the central point of imaging region,
As shown in Fig. 5 empty circles, then in the horizontal direction x and vertical direction y of the relative coordinate system, set characterize X-axis and Z respectively
The reference sign of the inclined degree of axle.When the acceleration that photographer rotates to the locus of electronic equipment in X-axis and Z axis passes
When sensor data are 0, relative coordinate position just and relative coordinate central point coincidence, it is achieved thereby that captured by electronic equipment
Image is substantially vertical.
On the basis of above-described embodiment, the first spatial positional information is mapped to relative coordinate and fastened, it is empty to obtain first
Between the relative coordinate position fastened in relative coordinate of positional information, can include:According to preset algorithm and the first space bit confidence
Breath, determines angle of inclination and coordinate value of the electronic equipment relative to relative coordinate system, obtains relative coordinate position.
Wherein, preset algorithm can be specially mapping relations, that is, the numerical value acquired in acceleration transducer with it is relative
The corresponding relation of coordinate value on coordinate system, the mapping relations can be one-to-one mapping, or many-one maps, or,
One-to-many mapping is can also be, the disclosure not limits;Or illustrate by taking vertical screening-mode as an example, preset algorithm can be:
Set the first spatial positional information to be expressed as (x, y, z), the central point of relative coordinate system is expressed as (0, g, 0), according to related skill
Art, angle of inclination and coordinate value of the electronic equipment relative to relative coordinate system are determined, here is omitted.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 6 is a kind of structural representation of image capturing device according to an exemplary embodiment.The disclosure provides
A kind of image capturing device, applied to the electronic equipment with acceleration transducer and camera function.Reference picture 6, the image are clapped
Taking the photograph device 60 includes acquisition module 61, processing module 62 and taking module 63.
The acquisition module 61, it is configured as obtaining the first spatial positional information of acceleration transducer collection.
The processing module 62, the first spatial positional information for being configured as obtaining acquisition module 61 are mapped to relative coordinate
Fasten, obtain the relative coordinate position that the first spatial positional information is fastened in relative coordinate.Wherein, the relative coordinate system is basis
What second space positional information was established.
The taking module 63, it is configured as the center of the relative coordinate position and relative coordinate system obtained in processing module 62
When point overlaps, shooting image.
In summary, the image capturing device that the present embodiment provides, passes through the first space for gathering acceleration transducer
Positional information is mapped to relative coordinate and fastened, and obtains the relative coordinate position that the first spatial positional information is fastened in relative coordinate,
Wherein, the relative coordinate system is established according to second space positional information;And when relative coordinate position and relative coordinate system
When central point overlaps, shooting image, to obtain the upright image in position, lifting photographer's experience.
Fig. 7 is a kind of structural representation of image capturing device according to another exemplary embodiment.Reference picture 7,
On the basis of structure shown in Fig. 7, image capturing device 70 can also include determining module 71 and establishment of coordinate system module 72.
Wherein, acquisition module 61 can be configured as that first spatial positional information is mapped into relative coordinate in processing module 62
Fasten, obtain the first spatial positional information before the relative coordinate position that relative coordinate is fastened, obtain acceleration transducer and adopt
The second space positional information of collection.
The determining module 71, the second space positional information obtained according to acquisition module 61 is configured as, it is determined that shooting field
Scape.Wherein, photographed scene can be any of horizontal screening-mode, vertical screening-mode and the vertical screening-mode of transverse screen.
The establishment of coordinate system module 72, the photographed scene determined according to determining module 71 is configured as, sets up imaging region
Central point be relative coordinate system central point, establish relative coordinate system.
Wherein, in horizontal screening-mode, the reference axis of relative coordinate system is respectively vertical direction and vertical direction;Perpendicular
In straight screening-mode, the reference axis of relative coordinate system is respectively horizontal direction and vertical direction;In the vertical screening-mode of transverse screen,
The reference axis of relative coordinate system is respectively horizontal direction and vertical direction.
In a kind of implementation, second space positional information can include horizontal direction value, vertical direction value and Vertical Square
To value.
In the implementation, determining module 71 can include:Comparison sub-module 711 and determination sub-module 712.
The comparison sub-module 711, it is configured as the size of comparison level direction value, vertical direction value and vertical direction value.
The determination sub-module 712, be configured as the result that comparison sub-module 711 obtains be horizontally oriented value it is maximum when,
It is the vertical screening-mode of transverse screen to determine photographed scene;Or the result that comparison sub-module 711 obtains be vertical direction value maximum
When, it is vertical screening-mode to determine photographed scene;Or it is vertically oriented value maximum in the result that comparison sub-module 711 obtains
When, it is horizontal screening-mode to determine photographed scene.
In the above-described embodiments, maximum and both maximums in second space positional information in the first spatial positional information
Represented direction is identical.
Alternatively, processing module 62 can be configured as:According to preset algorithm and the first spatial positional information, determine that electronics is set
Standby angle of inclination and coordinate value relative to relative coordinate system, obtain relative coordinate position.
Fig. 8 is a kind of electronic equipment block diagram according to an exemplary embodiment.Reference picture 8, electronic equipment 800 can be with
Including following one or more assemblies:Processing component 802, memory 804, power supply module 806, multimedia groupware 808, audio group
Part 810, and input/output (input/output, referred to as:I/O) interface 812, sensor cluster 814, and communication component 816.
The integrated operation of the usual control electronics 800 of processing component 802, such as communicated with display, data, camera operation
The associated operation with record operation.Processing component 802 can carry out execute instruction including one or more processors 820, with complete
Into all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, it is easy to handle
Interaction between component 802 and other assemblies.For example, processing component 802 can include multi-media module, to facilitate multimedia group
Interaction between part 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in electronic equipment 800.These data
Example include being used for the instruction of any application program or method operated on electronic equipment 800, contact data, telephone directory
Data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or it
Combination realize, as static RAM (Static Random Access Memory, referred to as:SRAM), electricity can
Erasable programmable read-only memory (EPROM) (Electrically Erasable Programmable Read-Only Memory, letter
Claim:EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, letter
Claim:EPROM), programmable read only memory (Programmable Red-Only Memory, abbreviation:PROM), read-only storage
(Read-Only Memory, referred to as:ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 can include power supply pipe
Reason system, one or more power supplys, and other components associated with generating, managing and distributing electric power for electronic equipment 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the electronic equipment 800 and user.
In certain embodiments, screen can include liquid crystal display (Liquid Crystal Display, abbreviation:LCD) and touch
Panel (Touch Panel, referred to as:TP).If screen includes touch panel, screen may be implemented as touch-screen, to receive
Input signal from user.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel
On gesture.The touch sensor can the not only border of sensing touch or sliding action, but also detect and the touch
Or the duration and pressure that slide is related.In certain embodiments, multimedia groupware 808 includes a front camera
And/or rear camera.When electronic equipment 800 is in operator scheme, during such as screening-mode or video mode, front camera
And/or rear camera can receive the multi-medium data of outside.Each front camera and rear camera can be one
Fixed optical lens system has focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (Microphone, referred to as:MIC), when electronic equipment 800 is in operator scheme, as call model, logging mode and voice are known
During other pattern, microphone is configured as receiving external audio signal.The audio signal received can be further stored in and deposit
Reservoir 804 is sent via communication component 816.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, is used for
Exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800
Assess.Wherein, sensor cluster 814 includes acceleration transducer.For example, sensor cluster 814 can detect electronic equipment
800 opening/closed mode, the relative positioning of component, such as the component are the display and keypad of electronic equipment 800,
The position that sensor cluster 814 can also detect 800 1 components of electronic equipment 800 or electronic equipment changes, user and electronics
The existence or non-existence that equipment 800 contacts, the orientation of electronic equipment 800 or acceleration/deceleration and the temperature change of electronic equipment 800.
Sensor cluster 814 can include proximity transducer, be configured to detect object nearby in no any physical contact
Presence.Sensor cluster 814 can also include optical sensor, such as complementary metal oxide semiconductor (Complementary
Metal Oxide Semiconductor, referred to as:CMOS) or charge coupled cell (Charge-coupled Device, letter
Claim:CCD) photosensitive imaging element, for being used in imaging applications.In certain embodiments, the sensor cluster 814 can be with
Including pressure sensor, gyro sensor, Magnetic Sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment.
Electronic equipment 800 can access the wireless network based on communication standard, such as Wireless Fidelity (Wireless-Fidelity, abbreviation:
Wi-Fi), 2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 816 comes via broadcast channel reception
From the broadcast singal or broadcast related information of external broadcasting management system.In one exemplary embodiment, the communication component
816 also include near-field communication (Near Field Communication, abbreviation:NFC) module, to promote junction service.For example,
Radio frequency identification (Radio Frequency Identification, abbreviation can be based in NFC module:RFID) technology, infrared number
According to association (Infrared Data Association, abbreviation:IrDA) technology, and ultra wide band (Ultra Wideband, referred to as:
UWB) technology, and bluetooth (Bluetooth, referred to as:BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuits
(Application Specific Integrated Circuit, referred to as:ASIC), digital signal processor (Digital
Signal Processor, referred to as:DSP), digital signal processing appts (Digital Signal Processing Device,
Referred to as:DSPD), PLD (Programmable Logic Device, abbreviation:PLD), field-programmable gate array
Row (Field Programmable Gate Array, referred to as:FPGA), controller, microcontroller, microprocessor or other electricity
Subcomponent is realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of electronic equipment 800.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (Random Access
Memory, referred to as:RAM), read-only optical disc (Compact Disc Read-Only Memory, abbreviation:CD-ROM), tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of electronic equipment
When device performs so that electronic equipment is able to carry out a kind of image capturing method, and methods described includes:Acceleration transducer is obtained to adopt
First spatial positional information of collection;First spatial positional information is mapped into relative coordinate to fasten, obtains the first space bit confidence
The relative coordinate position fastened in relative coordinate is ceased, wherein, the relative coordinate system is established according to second space positional information;
When relative coordinate position overlaps with the central point of relative coordinate system, shooting image.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims
System.
Claims (11)
- A kind of 1. image capturing method, it is characterised in that applied to the electronic equipment with acceleration transducer and camera function, Methods described includes:Obtain the first spatial positional information of the acceleration transducer collection;First spatial positional information is mapped into relative coordinate to fasten, obtains first spatial positional information in the phase To the relative coordinate position on coordinate system, wherein, the relative coordinate system is established according to second space positional information;When the relative coordinate position overlaps with the central point of the relative coordinate system, shooting image.
- 2. according to the method for claim 1, it is characterised in that described to be mapped to first spatial positional information relatively On coordinate system, first spatial positional information is obtained before the relative coordinate position that the relative coordinate is fastened, the side Method also includes:Obtain the second space positional information of the acceleration transducer collection;According to the second space positional information, photographed scene is determined, wherein, photographed scene is horizontal screening-mode, vertical bat Take the photograph any of pattern and the vertical screening-mode of transverse screen;According to the photographed scene, the central point for setting up imaging region is the central point of the relative coordinate system, establishes the phase To coordinate system;Wherein, in the horizontal screening-mode, the reference axis of the relative coordinate system is respectively vertical direction and vertical direction; In the vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction;In the horizontal stroke Shield in vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction.
- 3. according to the method for claim 2, it is characterised in that the second space positional information include horizontal direction value, Vertical direction value and vertical direction value, it is described according to the second space positional information, photographed scene is determined, including:Compare the size of the horizontal direction value, vertical direction value and vertical direction value;When the horizontal direction value maximum, it is the vertical screening-mode of transverse screen to determine photographed scene;Or when the vertical direction value maximum, it is vertical screening-mode to determine photographed scene;Or when the vertical direction value maximum, it is horizontal screening-mode to determine photographed scene.
- 4. according to the method in any one of claims 1 to 3, it is characterised in that in first spatial positional information most Big value is identical with the direction that both maximums in the second space positional information are represented.
- 5. according to the method in any one of claims 1 to 3, it is characterised in that described by the first space bit confidence Breath is mapped to relative coordinate and fastened, and obtains first spatial positional information in the relative coordinate position that the relative coordinate is fastened Put, including:According to preset algorithm and first spatial positional information, determine the electronic equipment relative to the relative coordinate system Angle of inclination and coordinate value, obtain the relative coordinate position.
- A kind of 6. image capturing device, it is characterised in that applied to the electronic equipment with acceleration transducer and camera function, Described device includes:Acquisition module, it is configured as obtaining the first spatial positional information of the acceleration transducer collection;Processing module, first spatial positional information for being configured as obtaining the acquisition module are mapped to relative coordinate system On, the relative coordinate position that first spatial positional information is fastened in the relative coordinate is obtained, wherein, the relative coordinate System is established according to second space positional information;Taking module, it is configured as in the relative coordinate position and the relative coordinate system that the processing module obtains When heart point overlaps, shooting image.
- 7. device according to claim 6, it is characterised in thatThe acquisition module, it is configured as that first spatial positional information is mapped into relative coordinate system in the processing module On, first spatial positional information is obtained before the relative coordinate position that the relative coordinate is fastened, and obtains the acceleration Spend the second space positional information of sensor collection;Described device also includes:Determining module, the second space positional information obtained according to the acquisition module is configured as, determines photographed scene, Wherein, photographed scene is any of horizontal screening-mode, vertical screening-mode and the vertical screening-mode of transverse screen;Establishment of coordinate system module, the photographed scene determined according to the determining module is configured as, sets up imaging region Central point is the central point of the relative coordinate system, establishes the relative coordinate system;Wherein, in the horizontal screening-mode, the reference axis of the relative coordinate system is respectively vertical direction and vertical direction; In the vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction;In the horizontal stroke Shield in vertical screening-mode, the reference axis of the relative coordinate system is respectively horizontal direction and vertical direction.
- 8. device according to claim 7, it is characterised in that the second space positional information include horizontal direction value, Vertical direction value and vertical direction value, the determining module include:Comparison sub-module, it is configured as the size of horizontal direction value, vertical direction value and vertical direction value described in comparison;Determination sub-module, it is configured as when the result that the comparison sub-module obtains is the horizontal direction value maximum, it is determined that Photographed scene is the vertical screening-mode of transverse screen;Or the result that the comparison sub-module obtains be the vertical direction value most When big, it is vertical screening-mode to determine photographed scene;Or in the result that the comparison sub-module obtains it is the vertical direction When being worth maximum, it is horizontal screening-mode to determine photographed scene.
- 9. the device according to any one of claim 6 to 8, it is characterised in that in first spatial positional information most Big value is identical with the direction that both maximums in the second space positional information are represented.
- 10. the device according to any one of claim 6 to 8, it is characterised in that the processing module is configured as:According to preset algorithm and first spatial positional information, determine the electronic equipment relative to the relative coordinate system Angle of inclination and coordinate value, obtain the relative coordinate position.
- 11. a kind of electronic equipment, it is characterised in that including:Processor and the memory for storing executable instruction;Wherein, The processor is configured as performing the executable instruction, to perform such as method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710551960.0A CN107395962A (en) | 2017-07-07 | 2017-07-07 | Image capturing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710551960.0A CN107395962A (en) | 2017-07-07 | 2017-07-07 | Image capturing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107395962A true CN107395962A (en) | 2017-11-24 |
Family
ID=60334529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710551960.0A Pending CN107395962A (en) | 2017-07-07 | 2017-07-07 | Image capturing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107395962A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108366207A (en) * | 2018-03-20 | 2018-08-03 | 广东欧珀移动通信有限公司 | Control method, apparatus, electronic equipment and the computer readable storage medium of shooting |
CN114683267A (en) * | 2020-12-31 | 2022-07-01 | 北京小米移动软件有限公司 | Calibration method, calibration device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166500A (en) * | 2014-08-12 | 2014-11-26 | Tcl通讯(宁波)有限公司 | Method, system and terminal for providing reference coordinate systems in lens image |
CN104917964A (en) * | 2015-05-25 | 2015-09-16 | 百度在线网络技术(北京)有限公司 | Shooting realization method and apparatus of smart mobile device |
CN106791151A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method that mobile terminal and control shoot |
-
2017
- 2017-07-07 CN CN201710551960.0A patent/CN107395962A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166500A (en) * | 2014-08-12 | 2014-11-26 | Tcl通讯(宁波)有限公司 | Method, system and terminal for providing reference coordinate systems in lens image |
CN104917964A (en) * | 2015-05-25 | 2015-09-16 | 百度在线网络技术(北京)有限公司 | Shooting realization method and apparatus of smart mobile device |
CN106791151A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method that mobile terminal and control shoot |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108366207A (en) * | 2018-03-20 | 2018-08-03 | 广东欧珀移动通信有限公司 | Control method, apparatus, electronic equipment and the computer readable storage medium of shooting |
CN108366207B (en) * | 2018-03-20 | 2020-06-23 | Oppo广东移动通信有限公司 | Method and device for controlling shooting, electronic equipment and computer-readable storage medium |
CN114683267A (en) * | 2020-12-31 | 2022-07-01 | 北京小米移动软件有限公司 | Calibration method, calibration device, electronic equipment and storage medium |
CN114683267B (en) * | 2020-12-31 | 2023-09-19 | 北京小米移动软件有限公司 | Calibration method, calibration device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109891874B (en) | Panoramic shooting method and device | |
CN101674409B (en) | Mobile terminal having panorama photographing function and method for controlling operation thereof | |
RU2649862C2 (en) | Method and device for shooting management | |
CN105120144A (en) | Image shooting method and device | |
CN104243819A (en) | Photo acquiring method and device | |
CN109547987A (en) | The call method and device of nfc card | |
CN111327953B (en) | Live broadcast voting method and device and storage medium | |
CN107155060A (en) | Image processing method and device | |
CN106210496A (en) | Method, photo taking and device | |
CN104933419A (en) | Method and device for obtaining iris images and iris identification equipment | |
CN106210495A (en) | Image capturing method and device | |
CN109600549A (en) | Photographic method, device, equipment and storage medium | |
CN105631804A (en) | Image processing method and device | |
CN105959545A (en) | Camera and camera control method and device | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN105208284A (en) | Photographing reminding method and device | |
CN106303198A (en) | Photographing information acquisition methods and device | |
CN105549300A (en) | Automatic focusing method and device | |
CN104506770A (en) | Method and device for photographing image | |
CN105959594A (en) | Metering method and device for photographic equipment | |
CN106973275A (en) | The control method and device of projector equipment | |
CN107395962A (en) | Image capturing method and device | |
CN106289161A (en) | Height measurement method and device | |
CN106817532A (en) | Image processing method and device | |
CN104284093A (en) | Panorama shooting method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |