CN105491297A - Image photographing parameter adjusting method and device - Google Patents

Image photographing parameter adjusting method and device Download PDF

Info

Publication number
CN105491297A
CN105491297A CN201610038985.6A CN201610038985A CN105491297A CN 105491297 A CN105491297 A CN 105491297A CN 201610038985 A CN201610038985 A CN 201610038985A CN 105491297 A CN105491297 A CN 105491297A
Authority
CN
China
Prior art keywords
vibration signal
adjustment
mobile terminal
adjustment modes
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610038985.6A
Other languages
Chinese (zh)
Other versions
CN105491297B (en
Inventor
王英茂
李应伟
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610038985.6A priority Critical patent/CN105491297B/en
Publication of CN105491297A publication Critical patent/CN105491297A/en
Application granted granted Critical
Publication of CN105491297B publication Critical patent/CN105491297B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an image photographing parameter adjusting method and device. The method comprises the steps that a vibration signal generated by a user through tapping a mobile terminal is acquired in image photographing; the vibration signal is matched with a preset signal sample; entering a corresponding adjusting mode is performed when consistency of the vibration signal and the preset signal sample is determined; and an image photographing area is zoomed or reduced based on the adjusting mode. When the user performs image photographing, the action of tapping the mobile phone of the user is identified by the vibration signal so that the image photographing area is zoomed or reduced according to the vibration signal without using physical buttons, adjusting operation is simplified for the user, adjustment of the image photographing area is easier and more convenient in the image photographing process in comparison with the methods in the prior art, and thus operation efficiency and operation flexibility of adjustment can be enhanced.

Description

A kind of method of adjustment of camera parameter and device
Technical field
The invention belongs to communication technical field, particularly relate to a kind of method of adjustment and device of camera parameter.
Background technology
Along with the fast development of mobile communication technology, the function of mobile terminal (as mobile phone, panel computer etc.) also gets more and more; Such as, user can use mobile terminal to make a video recording.
In shooting process, because each Man's Demands is different, the camera parameter (as resolution, focal length, white balance etc.) that mobile terminal regulates automatically may can't meet the individual demand of user, therefore user can adjust camera parameter according to demand, such as, if user needs to zoom in or out the object of shooting, the object being about to shooting is when carrying out furthering or zooming out, need by for volume adjusting physical button or need user to utilize screen touch-control to realize adjustment.
To in the research and practice process of prior art, the present inventor finds, if desired utilizes the physical button of volume adjusting to regulate, then brings inconvenience to the adjustment of volume in shooting process; And screen touch-control regulate mode, needing user's both hands to operate could regulate camera parameter simultaneously, operates comparatively loaded down with trivial details inconvenience, cause operating efficiency and operating flexibility lower.
Summary of the invention
The object of the present invention is to provide a kind of method of adjustment and device of camera parameter, be intended to the step that simplifies the operation, improve operating efficiency and the operating flexibility of camera parameter adjustment.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
A method of adjustment for camera parameter, comprising:
When making a video recording, obtain the vibration signal that user produces by knocking mobile terminal;
Described vibration signal is mated with preset signals sample;
When determining that described vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes;
Based under described adjustment modes, camera watch region is zoomed in or out.
For solving the problems of the technologies described above, the embodiment of the present invention also provides following technical scheme:
An adjusting device for camera parameter, comprising:
Acquiring unit, for when making a video recording, obtains the vibration signal that user produces by knocking mobile terminal;
Matching unit, for mating described vibration signal with preset signals sample;
Pattern enters unit, during for determining that described vibration signal is consistent with preset signals sample matches, enters corresponding adjustment modes;
Adjustment unit, for based under described adjustment modes, zooms in or out camera watch region.
Relative to prior art, the embodiment of the present invention, when detecting that mobile terminal is in shooting state, obtain the vibration signal that user produces by knocking mobile terminal, and this vibration signal is mated with preset signals sample, thereafter when determining that vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes, and based under this adjustment modes, camera watch region is zoomed in or out.The present invention is directed to when user makes a video recording, the action of mobile terminal is knocked by vibration signal identification user, thus realize zooming in or out camera watch region according to this vibration signal, not only without the need to by physical button, also simplify the adjustment operation of user, relative to prior art, the program is more easy to the adjustment of camera watch region in shooting process, improves operating efficiency and the operating flexibility of adjustment.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention describe in detail, will make technical scheme of the present invention and other beneficial effect apparent.
The schematic flow sheet of the method for adjustment of the camera parameter that Fig. 1 a provides for first embodiment of the invention;
The principle analysis schematic diagram that in the method for adjustment of the camera parameter that Fig. 1 b provides for first embodiment of the invention, vibration signal produces;
The schematic flow sheet of the method for adjustment of the camera parameter that Fig. 2 provides for second embodiment of the invention;
The structural representation of the adjusting device of the camera parameter that Fig. 3 a provides for third embodiment of the invention;
Another structural representation of the adjusting device of the camera parameter that Fig. 3 b provides for third embodiment of the invention.
Embodiment
Please refer to graphic, wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
In the following description, specific embodiments of the invention illustrate, unless otherwise stating clearly with reference to the step performed by or multi-section computer and symbol.Therefore, these steps and operation will have to mention for several times and performed by computer, and computer execution as referred to herein includes by representing with the operation of the computer processing unit of the electronic signal of the data in a structuring pattern.These data of this operation transformation or the position maintained in the memory system of this computer, its reconfigurable or other running changing this computer in the mode known by the tester of this area.The data structure that these data maintain is the provider location of this internal memory, and it has the particular characteristics defined by this data format.But the principle of the invention illustrates with above-mentioned word, it is not represented as a kind of restriction, and this area tester can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to operate.The known example being suitable for arithmetic system of the present invention, environment and configuration can include, but is not limited to cell-phone, personal computer, server, multicomputer system, microcomputer are system, body frame configuration computer and the distributed computing environment led, which includes any said system or device.
To be described in detail respectively below.
First embodiment
In the present embodiment, the angle of the adjusting device from camera parameter be described, the adjusting device of this camera parameter specifically can be integrated in dull and stereotyped PC (PersonalComputer), mobile phone etc. to be possessed storage element and is provided with microprocessor and has in the terminating machine of operational capability.
A method of adjustment for camera parameter, comprising: when making a video recording, and obtains the vibration signal that user produces by knocking mobile terminal; This vibration signal is mated with preset signals sample; When determining that this vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes; Based under this adjustment modes, camera watch region is zoomed in or out.
Refer to Fig. 1 a, Fig. 1 a is the schematic flow sheet of the method for adjustment of the camera parameter that first embodiment of the invention provides, and idiographic flow can comprise:
In step S101, when making a video recording, obtain the vibration signal that user produces by knocking mobile terminal.
Be understandable that, the embodiment of the present invention is when being in shooting state based on mobile terminal, according to the triggering of knocking the vibration signal (also can be called acoustic signals) that this mobile terminal produces, realize the adjustment to camera parameter, wherein, camera parameter can specifically comprise resolution, focal length etc.
In actual applications, because some device of mobile terminal itself carries vibrating diaphragm, such as, the microphone on mobile terminal, loud speaker, receiver etc., therefore, the vibrating diaphragms such as microphone, loud speaker or the receiver that can be carried by mobile terminal obtain the vibration signal for mobile terminal.
Such as, mobile terminal detects current state, and when mobile terminal is in shooting state, the microphone of mobile terminal by carrying, obtains the vibration signal that user produces by knocking this mobile terminal.
In the embodiment of the present invention, because the vibration signal received for mobile terminal can be subject to external forces generation mechanical oscillation for mobile terminal, thus the vibration signal produced.
Such as, when user knocks mobile terminal (as mobile phone), mobile terminal can vibrate, thus mobile terminal can produce vibration signal, and meanwhile, this vibration signal also can be mobile terminal transmission, and the vibration signal produced by outside vibration source.
It is contemplated that the mode that in the present embodiment, user knocks mobile terminal has a lot, such as, for directly clicking mobile terminal with finger, also can be able to be utilize other hard object, such as using penholder, key etc., click mobile terminal.
In step s 102, this vibration signal is mated with preset signals sample.
In step s 103, when determining that this vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes.
In step S104, based under this adjustment modes, camera watch region is zoomed in or out.
Wherein, described step S102 to step S104 can be specially:
Further, whether can meet pre-conditioned according to the attribute information determination vibration signal of vibration signal, such as, when judging that attribute information meets pre-conditioned, then judge that vibration signal is consistent with preset signals sample matches, otherwise, judge that this vibration signal does not mate with preset signals sample.
Such as, attribute information comprises: when frequency information, amplitude information, temporal information, judges whether this frequency information meets predeterminated frequency requirement respectively, and whether this amplitude information meets is preset amplitude requirement, and whether this temporal information meets Preset Time requirement.
Below for signals shown processing unit, the present embodiment is determined that the detailed process that user passes through to knock vibration signal that this mobile terminal produces consistent with preset signals sample matches is analyzed.
As shown in Figure 1 b, this signal processing apparatus comprises: microphone circuit 101, analog-to-digital conversion module 102, sample rate conversion module 103, Fourier transform (FFT, FastFourierTransformation) module 104, time series analysis module 105, frequency analysis module 106, amplitude analysis module 107, statistics identification module 108 and action executing module 109.
A, microphone circuit 101, by obtaining the vibration signal for mobile terminal, and convert this vibration signal to analog signal; Wherein, microphone circuit 101 comprises various types of microphone, as electret microphone, silicon microphone etc., even comprises the device of any sound-electric conversion, as: loud speaker and receiver.If digital microphone then direct output digit signals, if simulation microphone, this needs D/A converter module 102 to be below converted to digital signal.
Can be particularly, when mobile terminal vibration produces vibration signal, vibrating diaphragm in microphone circuit 101 senses vibration signal, and all can follow and vibrate together, vibrating diaphragm will drive the coil in microphone circuit 101 to do the motion of cutting magnetic line, thus corresponding current signal will be produced in coil, i.e. analog signal.
Can also replace this microphone with receiver or loud speaker in the present embodiment and realize same function, the course of work type of its course of work and microphone, just repeats no more here.
B, analog-to-digital conversion module 102, i.e. A/D module, the analog signal for being exported by microphone circuit 101 converts corresponding digital signal to, so that subsequent treatment analysis.
C, sample rate conversion module 103, for adjusting the sample rate of digital signal; Wherein, the sample rate according to circumstances adjusting digital signal is the computing requirement analyzed to reduce following digital; Preferably, sample rate can not lower than 16Khz, and bit rate can not lower than 10bit, otherwise may impact analysis precision.
D, Fourier transform module 104, carry out Fourier transform to digital signal, thus be converted to frequency-domain analysis.
Thereafter, to this digital signal frequency-domain analysis, can specifically comprise:
D1, time series analysis module 105, namely the time (Time) is analyzed;
After carrying out Fourier transform in digital signal, the time of digital signal is analyzed; Particularly, obtain the temporal information of digital signal, and judge whether this temporal information meets Preset Time requirement, such as, obtain time cycle of digital signal, judge this time cycle whether within the scope of preset time period, if, then meet Preset Time requirement, show that this digital signal meets the time requirement of digital signal of knocking mobile terminal and generating, vibration signal corresponding to this digital signal is likely knock the vibration signal that mobile terminal produces.
Further, such as, based on the feature of hammer action and the design feature of mobile terminal, provide the time cycle [T1, T2] of a hammer action, go beyond the scope and illustrate it is not normal hammer action; If meet the time of hammer action feature, then export OK signal.According to the recorded audio signals analysis of actual user's finger tapping mobile terminal, T1 is generally not more than 5ms, and T2 is not more than 20ms.
D2, frequency analysis module 106, for frequency (Frequency) distributional analysis;
Whether determination frequency distribution meets predeterminated frequency requirement, such as, if frequency distribution continuously and frequency band is broad, then thinks that the frequency distribution of this digital signal meets the frequency distribution of the digital signal of knocking generation.From reality contrast, especially between 6Khz to highest frequency (sample rate frequency ÷ 2), frequency distribution is continuous.
D3, amplitude analysis module 107, analyze for amplitude (Amplitude);
Analyze the signal energy of whole frequency range; Particularly, the averaged amplitude value of whole frequency range can be analyzed, and judge whether this averaged amplitude value meets default amplitude requirement, such as, judge whether this averaged amplitude value is greater than default amplitude, if, then meet and preset amplitude requirement, otherwise, do not meet and preset amplitude requirement.
E, statistics identification module 108, for add up and according to the analysis result identification of time series analysis module 105, frequency analysis module 106, amplitude analysis module 107 or to judge whether current vibration signal meets pre-conditioned.
Such as, add up the interval of knocking, if it is not connected action of knocking for twice is too short, as lower than T3 (as 50ms), so fast owing to considering the action of people, therefore can judge not output action instruction; If be connected, the time of twice action is longer than T4 (such as 500ms), then think that last action does not belong to the secondary action of front N (N is positive integer); If all action intervals all meet in [T3, T4], then think that this is some actions of specifying, and export the signal of this required movement.
F, action executing module 109, for the instruction according to statistics identification module 108, perform the action of specifying in conjunction with current applied environment; Namely according to the vibration signal knocking generation, enter corresponding adjustment modes, thus realize when user makes a video recording, based on zooming in or out camera watch region of flexible and convenient under this adjustment modes.
From the above, the method of adjustment of the camera parameter that the present embodiment provides, when detecting that mobile terminal is in shooting state, obtain the vibration signal that user produces by knocking mobile terminal, and this vibration signal is mated with preset signals sample, thereafter when determining that vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes, and based under this adjustment modes, camera watch region is zoomed in or out.The present invention is directed to when user makes a video recording, the action of mobile terminal is knocked by vibration signal identification user, thus realize zooming in or out camera watch region according to this vibration signal, not only without the need to by physical button, also simplify the adjustment operation of user, relative to prior art, the program is more easy to the adjustment of camera watch region in shooting process, improves operating efficiency and the operating flexibility of adjustment.
Second embodiment
According to the method described by the first embodiment, below citing is described in further detail.
Refer to Fig. 2, the schematic flow sheet of the method for adjustment of the camera parameter that Fig. 2 provides for second embodiment of the invention, wherein, in this embodiment, executive agent is mobile terminal, as being specially dull and stereotyped PC and mobile phone etc.Idiographic flow can comprise:
In step s 201, mobile terminal detects current state.
In step S202, when mobile terminal is in shooting state, the microphone of mobile terminal by carrying, obtains the vibration signal that user produces by knocking this mobile terminal.
Wherein, described step S201 and step S202 can be specially:
Be understandable that, mobile terminal can detect its current state in predetermined interval, such as, and every 10 minutes or every 15 minutes etc.; Further, in some comparatively accurate scenes, what mobile terminal can be real-time detects current state.
Such as, when determining that mobile terminal is in shooting state, mobile terminal can by the microphone carried, obtain the vibration signal that user produces by knocking this mobile terminal, such as, open camera when determining that mobile terminal is current, then can determine that mobile terminal is in shooting state.
In the present embodiment, the vibration signal obtaining mobile terminal can have multiple, such as, vibration signal can be obtained by the vibrating diaphragm on mobile terminal, when vibration occurs mobile terminal, this vibrating diaphragm also can be followed and vibrate together, therefore, the vibration of mobile terminal can be responded to by vibrating diaphragm, thus get the vibration signal triggered on mobile terminals.
In actual applications, because some device of mobile terminal itself carries vibrating diaphragm, such as, the microphone on mobile terminal, loud speaker, receiver etc., therefore, the vibrating diaphragms such as microphone, loud speaker or the receiver that can be carried by mobile terminal obtain the vibration signal for mobile terminal.
It is contemplated that the mode that in the present embodiment, user knocks mobile terminal has a lot, such as, can for directly clicking mobile terminal with finger, can be utilize other hard object yet, such as use penholder, key etc., click mobile terminal, do concrete restriction herein.
In step S203, vibration signal mates with preset signals sample by mobile terminal.
In embodiments of the present invention, such as, vibration signal and preset signals sample carry out mating and can specifically comprise by mobile terminal:
(1) determine whether this vibration signal is digital signal;
(2) when determining that this vibration signal is digital signal, the attribute information of vibration signal is obtained;
Wherein, attribute information comprises one or more combination in frequency information, amplitude information and temporal information;
(3) it is pre-conditioned if determine, this attribute information meets, then determine that vibration signal is consistent with preset signals sample matches.
First, be understandable that, because the hammer action time is very of short duration, and propagated by the solid of equipment, therefore, it is a kind of special vibration signal that mobile terminal is subject to the vibration signal that user knocks generation, and itself and mobile terminal are subject to the vibration signal that other active forces produce, or the vibration signal that the outside vibration source that transmits of mobile terminal produces is not identical.
Analyze the vibration signal knocking generation from electrical point, such as convert the vibration signal knocking generation to digital signal, following digital processing analysis is carried out to this digital signal:
A, signal time: the time very short (millisecond rank) that this signal continues.
B, signal amplitude size compare: the level of this digital signal is relatively large, are the microphone directly shaking mobile terminal itself during owing to knocking, and be that solid is propagated, the signal strength signal intensity of therefore corresponding than General Oscillation signal digital signal is larger.
The frequency spectrum of C, signal: the whole digital signal frequency range of frequency coverage, and the amplitude difference of each frequency is little.
Thus, the present embodiment based on the feature of digital signal corresponding to above-mentioned vibration signal or feature, can identify or judge that whether the vibration signal got is consistent with preset signals sample matches.
Such as, if when vibration signal is analog signal, need this vibration signal to be converted to corresponding vibration digital signal, same, obtain its attribute information, if determine, this attribute information meets corresponding preset threshold range, then determine that this vibration signal is consistent with preset signals sample matches.
Further, such as, the microphone carried by mobile terminal, receiver or loud speaker convert this vibration signal to analog electrical signal, then, this analog electrical signal are carried out analog-to-digital conversion (such as, changed by analog to digital converter), obtain digital signal, digital processing is carried out to this digital signal, to obtain attribute information, then, judge that whether this vibration signal is consistent with preset signals sample matches according to attribute information.For the ease of judging, the present embodiment is after obtaining analog electrical signal, before carrying out analog-to-digital conversion, amplification process can also be carried out to analog electrical signal, as by programmable gain amplifier, amplification process is carried out to this analog electrical signal, wherein, can be performed by digital processing chip the process of digital signal.
Wherein, the attribute information of digital signal can comprise: more than at least one or two in other attribute informations such as frequency information (comprising frequency distribution, frequency bandwidth etc.), amplitude information, temporal information combine.
Further, such as, attribute information comprises: when frequency information, amplitude information and temporal information, judge whether this frequency information meets predeterminated frequency scope respectively, whether this amplitude information meets is preset amplitude range, whether this temporal information meets preset time range, wherein, predeterminated frequency scope, preset frequency information, amplitude information that amplitude range, preset time range can be corresponding according to preset number signal respectively, temporal information is arranged, and this preset number signal is that mobile terminal is subject to user and knocks digital signal corresponding to the vibration signal of generation.
Wherein, at needs, the present embodiment judges whether multiple attribute information meets pre-conditioned, when identifying the vibration signal knocking generation, such as, said frequencies information, amplitude information, temporal information judges for three times, can identify based on judged result repeatedly, further, when three judged results be time, just determine that attribute information meets pre-conditioned (namely determining that vibration signal is consistent with preset signals sample matches), or, when there being certain several judged result for being in multiple judged result, determine that attribute information meets pre-conditioned, these all can set according to actual conditions, the situation that judged result is yes is more, accuracy of identification is higher.
In step S204, when mobile terminal determination vibration signal is consistent with preset signals sample matches, knock the number of times of this mobile terminal according to user, enter corresponding adjustment modes.
In step S205, mobile terminal, based under this adjustment modes, zooms in or out camera watch region.
Wherein, described step S204 and step S205 can be specially:
In a kind of possible execution mode, if preset signals sample indicates this vibration signal once to trigger by knocking mobile terminal, then enter the first adjustment modes, wherein, the instruction of this first adjustment modes is amplified camera watch region according to the first preset ratio;
Based on this, mobile terminal is based under adjustment modes, and zooming in or out (step S205) to camera watch region can be specially:
If determine, adjustment modes is the first adjustment modes, then amplify camera watch region according to this first preset ratio; Further, under this first adjustment modes, the volume of current shooting recording can also be promoted according to the 3rd preset ratio.
That is, store in preset signals sample that adjustment modes is corresponding with the relation of the number of times knocking this mobile terminal to be shown, when preset signals sample indicate this vibration signal by knock mobile terminal once triggered time, can determine according to relation correspondence table and enter the first adjustment modes, thus according to the instruction of the first adjustment modes, according to this first preset ratio, camera watch region can be amplified.
Preferably, while camera watch region is amplified, can adjust the volume of current shooting recording, e.g., the volume of current shooting recording can be promoted according to the 3rd preset ratio.
In the execution mode that another kind is possible, if preset signals sample indicates this vibration signal to trigger for twice by knocking mobile terminal, then enter the second adjustment modes, wherein, the instruction of this second adjustment modes is reduced camera watch region according to the second preset ratio;
Based on this, mobile terminal is based under adjustment modes, and zooming in or out (step S205) to camera watch region can be specially:
If determine, adjustment modes is the second adjustment modes, then reduce camera watch region according to this second preset ratio; Further, under this second adjustment modes, the volume of current shooting recording can also be reduced according to the 4th preset ratio.
That is, store in preset signals sample that adjustment modes is corresponding with the relation of the number of times knocking this mobile terminal to be shown, when preset signals sample indicate this vibration signal by knock mobile terminal twice trigger time, can determine according to relation correspondence table and enter the second adjustment modes, thus according to the instruction of the second adjustment modes, according to this second preset ratio, camera watch region can be reduced.
Preferably, while camera watch region is reduced, can adjust the volume of current shooting recording, e.g., the volume of current shooting recording can be reduced according to the 4th preset ratio.
It is contemplated that, can also adjust other camera parameters such as resolution, focal length, brightness, white balances, such as, when can to set number of times that user knocks mobile terminal be within a preset time interval three times, adjustment shooting resolution etc. is gone according to preset ratio, the present embodiment is only described to adjust camera watch region, does not form limitation of the invention.
Be understandable that in this embodiment, there is no the part described in detail, as to contents such as the generation of vibration signal and the acquisition detections of vibration signal, can describe see correlation step in the first embodiment, repeat no more herein.
From the above, the method of adjustment of the camera parameter that the present embodiment provides, when detecting that mobile terminal is in shooting state, obtain the vibration signal that user produces by knocking mobile terminal, and this vibration signal is mated with preset signals sample, thereafter when determining that vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes, and based under this adjustment modes, camera watch region is zoomed in or out.The present invention is directed to when user makes a video recording, the action of mobile terminal is knocked by vibration signal identification user, thus realize zooming in or out camera watch region according to this vibration signal, not only without the need to by physical button, also simplify the adjustment operation of user, relative to prior art, the program is more easy to the adjustment of camera watch region in shooting process, improves operating efficiency and the operating flexibility of adjustment.
3rd embodiment
For ease of better implementing the method for adjustment of the camera parameter that the embodiment of the present invention provides, the embodiment of the present invention also provides a kind of device of the method for adjustment based on above-mentioned camera parameter.Wherein the implication of noun is identical with the method for the adjustment of above-mentioned camera parameter, and specific implementation details can explanation in reference method embodiment.
Refer to Fig. 3 a, the structural representation of the adjusting device of the camera parameter that Fig. 3 a provides for the embodiment of the present invention, this device can comprise acquiring unit 301, matching unit 302, pattern enter unit 303 and adjustment unit 304.
Wherein acquiring unit 301, for when making a video recording, obtains the vibration signal that user produces by knocking mobile terminal.
Be understandable that, the embodiment of the present invention is when being in shooting state based on mobile terminal, according to the triggering of knocking the vibration signal (also can be called acoustic signals) that this mobile terminal produces, realize the adjustment to camera parameter, wherein, camera parameter can specifically comprise resolution, focal length etc.
In actual applications, because some device of mobile terminal itself carries vibrating diaphragm, such as, microphone on mobile terminal, loud speaker, receiver etc., therefore, described acquiring unit 301, may be used for the vibrating diaphragms such as microphone, receiver or the loud speaker carried by mobile terminal, obtains the vibration signal that user produces by knocking described mobile terminal.
Such as, mobile terminal detects current state, and when mobile terminal is in shooting state, the microphone of mobile terminal by carrying, obtains the vibration signal that user produces by knocking this mobile terminal.
In the embodiment of the present invention, because the vibration signal received for mobile terminal can be subject to external forces generation mechanical oscillation for mobile terminal, thus the vibration signal produced.
Such as, when user knocks mobile terminal (as mobile phone), mobile terminal can vibrate, thus mobile terminal can produce vibration signal, and meanwhile, this vibration signal also can be mobile terminal transmission, and the vibration signal produced by outside vibration source.
It is contemplated that the mode that in the present embodiment, user knocks mobile terminal has a lot, such as, for directly clicking mobile terminal with finger, also can be able to be utilize other hard object, such as using penholder, key etc., click mobile terminal.
Matching unit 302, for mating described vibration signal with preset signals sample; Pattern enters unit 303, during for determining that described vibration signal is consistent with preset signals sample matches, enters corresponding adjustment modes; Adjustment unit 304, for based under described adjustment modes, zooms in or out camera watch region.
Further, whether can meet pre-conditioned according to the attribute information determination vibration signal of vibration signal, such as, when judging that attribute information meets pre-conditioned, then judge that vibration signal is consistent with preset signals sample matches, otherwise, judge that this vibration signal does not mate with preset signals sample.
Such as, attribute information comprises: when frequency information, amplitude information, temporal information, judges whether this frequency information meets predeterminated frequency requirement respectively, and whether this amplitude information meets is preset amplitude requirement, and whether this temporal information meets Preset Time requirement.
Further, the adjusting device of this camera parameter can also comprise determining unit 305, mainly can comprise:
First determines subelement 3051, for determining whether described vibration signal is digital signal;
Obtaining subelement 3052, for when determining that described vibration signal is digital signal, obtaining the attribute information of described vibration signal, described attribute information comprises one or more combination in frequency information, amplitude information and temporal information;
Second subelement 3053, if pre-conditioned for determining that described attribute information meets, then determines that described vibration signal is consistent with preset signals sample matches.
Such as, if when vibration signal is analog signal, need this vibration signal to be converted to corresponding vibration digital signal, same, obtain its attribute information, if determine, this attribute information meets corresponding preset threshold range, then determine that this vibration signal is consistent with preset signals sample matches.
Wherein, the attribute information of digital signal can comprise: more than at least one or two in other attribute informations such as frequency information (comprising frequency distribution, frequency bandwidth etc.), amplitude information, temporal information combine.
Further, such as, attribute information comprises: when frequency information, amplitude information and temporal information, judge whether this frequency information meets predeterminated frequency scope respectively, whether this amplitude information meets is preset amplitude range, whether this temporal information meets preset time range, wherein, predeterminated frequency scope, preset frequency information, amplitude information that amplitude range, preset time range can be corresponding according to preset number signal respectively, temporal information is arranged, and this preset number signal is that mobile terminal is subject to user and knocks digital signal corresponding to the vibration signal of generation.
In a kind of possible execution mode, described pattern enters unit 303, if indicate described vibration signal once to trigger by knocking mobile terminal for described preset signals sample, then enter the first adjustment modes, described first adjustment modes instruction is amplified camera watch region according to the first preset ratio;
Based on this, described adjustment unit 304, if for determining that described adjustment modes is the first adjustment modes, then amplify camera watch region according to described first preset ratio.
Further, under this first adjustment modes, described adjustment unit 304, can also be used for the volume promoting current shooting recording according to the 3rd preset ratio.
That is, store in preset signals sample that adjustment modes is corresponding with the relation of the number of times knocking this mobile terminal to be shown, when preset signals sample indicate this vibration signal by knock mobile terminal once triggered time, can determine according to relation correspondence table and enter the first adjustment modes, thus can according to the instruction of the first adjustment modes, according to this first preset ratio, camera watch region is amplified, and, while camera watch region is amplified, can adjust the volume of current shooting recording.
In the execution mode that another kind is possible, described pattern enters unit 303, if indicate described vibration signal to trigger for twice by knocking mobile terminal for described preset signals sample, then enter the second adjustment modes, described second adjustment modes instruction is reduced camera watch region according to the second preset ratio;
Based on this, described adjustment unit 304, if for determining that described adjustment modes is the second adjustment modes, then reduce camera watch region according to described second preset ratio.
Further, under this second adjustment modes, described adjustment unit 304, also for reducing the volume of current shooting recording according to the 4th preset ratio.
That is, store in preset signals sample that adjustment modes is corresponding with the relation of the number of times knocking this mobile terminal to be shown, when preset signals sample indicate this vibration signal by knock mobile terminal twice trigger time, can determine according to relation correspondence table and enter the second adjustment modes, thus can according to the instruction of the second adjustment modes, according to this second preset ratio, camera watch region is reduced, further, while camera watch region is reduced, can adjust the volume of current shooting recording
During concrete enforcement, above unit can realize as independently entity, and can carry out combination in any yet, realize as same or several entities, the concrete enforcement of above unit see embodiment of the method above, can not repeat them here.
The adjusting device of this camera parameter specifically can be integrated in dull and stereotyped PC, mobile phone etc. to be possessed storage element and is provided with microprocessor and has in the terminating machine of operational capability.
From the above, the adjusting device of the camera parameter that the present embodiment provides, when detecting that mobile terminal is in shooting state, obtain the vibration signal that user produces by knocking mobile terminal, and this vibration signal is mated with preset signals sample, thereafter when determining that vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes, and based under this adjustment modes, camera watch region is zoomed in or out.The present invention is directed to when user makes a video recording, the action of mobile terminal is knocked by vibration signal identification user, thus realize zooming in or out camera watch region according to this vibration signal, not only without the need to by physical button, also simplify the adjustment operation of user, relative to prior art, the program is more easy to the adjustment of camera watch region in shooting process, improves operating efficiency and the operating flexibility of adjustment.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part described in detail in certain embodiment, see above for the detailed description of the method for adjustment of camera parameter, can repeat no more herein.
The adjusting device of the described camera parameter that the embodiment of the present invention provides, be for example computer, panel computer, the mobile phone with touch function etc., the method of adjustment of the camera parameter in the adjusting device of described camera parameter and foregoing embodiments belongs to same design, the adjusting device of described camera parameter can run the either method provided in the method for adjustment embodiment of described camera parameter, its specific implementation process refers to the method for adjustment embodiment of described camera parameter, repeats no more herein.
It should be noted that, for the method for adjustment of camera parameter of the present invention, this area common test personnel are appreciated that all or part of flow process of the method for adjustment realizing camera parameter described in the embodiment of the present invention, that the hardware that can control to be correlated with by computer program has come, described computer program can be stored in a computer read/write memory medium, as being stored in the memory of terminal, and performed by least one processor in this terminal, can comprise in the process of implementation as described in the flow process of embodiment of method of adjustment of camera parameter.Wherein, described storage medium can be magnetic disc, CD, read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory) etc.
For the adjusting device of the described camera parameter of the embodiment of the present invention, its each functional module can be integrated in a process chip, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium, described storage medium such as be read-only memory, disk or CD etc.
Above the method for adjustment of a kind of camera parameter that the embodiment of the present invention provides and device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. a method of adjustment for camera parameter, is characterized in that, comprising:
When making a video recording, obtain the vibration signal that user produces by knocking mobile terminal;
Described vibration signal is mated with preset signals sample;
When determining that described vibration signal is consistent with preset signals sample matches, enter corresponding adjustment modes;
Based under described adjustment modes, camera watch region is zoomed in or out.
2. the method for adjustment of camera parameter according to claim 1, is characterized in that, describedly determines that described vibration signal is consistent with preset signals sample matches, comprising:
Determine whether described vibration signal is digital signal;
When determining that described vibration signal is digital signal, obtain the attribute information of described vibration signal, described attribute information comprises one or more combination in frequency information, amplitude information and temporal information;
It is pre-conditioned if determine, described attribute information meets, then determine that described vibration signal is consistent with preset signals sample matches.
3. the method for adjustment of camera parameter according to claim 2, is characterized in that, described in enter corresponding adjustment modes, comprising:
If described preset signals sample indicates described vibration signal once to trigger by knocking mobile terminal, then enter the first adjustment modes, described first adjustment modes instruction is amplified camera watch region according to the first preset ratio;
Describedly based under described adjustment modes, camera watch region to be zoomed in or out, comprising:
If determine, described adjustment modes is the first adjustment modes, then amplify camera watch region according to described first preset ratio.
4. the method for adjustment of camera parameter according to claim 3, is characterized in that, describedly determines that described adjustment modes is the first adjustment modes, also comprises:
The volume of current shooting recording is promoted according to the 3rd preset ratio.
5. the method for adjustment of camera parameter according to claim 2, is characterized in that, described in enter corresponding adjustment modes, comprising:
If described preset signals sample indicates described vibration signal to trigger for twice by knocking mobile terminal, then enter the second adjustment modes, described second adjustment modes instruction is reduced camera watch region according to the second preset ratio;
Describedly based under described adjustment modes, camera watch region to be zoomed in or out, comprising:
If determine, described adjustment modes is the second adjustment modes, then reduce camera watch region according to described second preset ratio.
6. the method for adjustment of camera parameter according to claim 5, is characterized in that, describedly determines that described adjustment modes is the second adjustment modes, also comprises:
The volume of current shooting recording is reduced according to the 4th preset ratio.
7. the method for adjustment of the camera parameter according to any one of claim 1 to 6, is characterized in that, the vibration signal that described acquisition user produces by knocking mobile terminal, comprising:
The microphone carried by mobile terminal, receiver or loud speaker, obtain the vibration signal that user produces by knocking described mobile terminal.
8. an adjusting device for camera parameter, is characterized in that, comprising:
Acquiring unit, for when making a video recording, obtains the vibration signal that user produces by knocking mobile terminal;
Matching unit, for mating described vibration signal with preset signals sample;
Pattern enters unit, during for determining that described vibration signal is consistent with preset signals sample matches, enters corresponding adjustment modes;
Adjustment unit, for based under described adjustment modes, zooms in or out camera watch region.
9. the adjusting device of camera parameter according to claim 8, is characterized in that, described device also comprises determining unit, comprising:
First determines subelement, for determining whether described vibration signal is digital signal;
Obtaining subelement, for when determining that described vibration signal is digital signal, obtaining the attribute information of described vibration signal, described attribute information comprises one or more combination in frequency information, amplitude information and temporal information;
Second subelement, if pre-conditioned for determining that described attribute information meets, then determines that described vibration signal is consistent with preset signals sample matches.
10. the adjusting device of camera parameter according to claim 9, it is characterized in that, described pattern enters unit, if indicate described vibration signal once to trigger by knocking mobile terminal for described preset signals sample, then enter the first adjustment modes, described first adjustment modes instruction is amplified camera watch region according to the first preset ratio;
Described adjustment unit, if for determining that described adjustment modes is the first adjustment modes, then amplify camera watch region according to described first preset ratio.
The adjusting device of 11. camera parameters according to claim 10, is characterized in that, described adjustment unit, also for promoting the volume of current shooting recording according to the 3rd preset ratio.
The adjusting device of 12. camera parameters according to claim 9, it is characterized in that, described pattern enters unit, if indicate described vibration signal to trigger for twice by knocking mobile terminal for described preset signals sample, then enter the second adjustment modes, described second adjustment modes instruction is reduced camera watch region according to the second preset ratio;
Described adjustment unit, if for determining that described adjustment modes is the second adjustment modes, then reduce camera watch region according to described second preset ratio.
The adjusting device of 13. camera parameters according to claim 12, is characterized in that, described adjustment unit, also for reducing the volume of current shooting recording according to the 4th preset ratio.
The adjusting device of the camera parameter described in 14. any one of according to Claim 8 to 13, it is characterized in that, described acquiring unit, for the microphone, receiver or the loud speaker that are carried by mobile terminal, obtains the vibration signal that user produces by knocking described mobile terminal.
CN201610038985.6A 2016-01-20 2016-01-20 A kind of method of adjustment and device of camera parameter Expired - Fee Related CN105491297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038985.6A CN105491297B (en) 2016-01-20 2016-01-20 A kind of method of adjustment and device of camera parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038985.6A CN105491297B (en) 2016-01-20 2016-01-20 A kind of method of adjustment and device of camera parameter

Publications (2)

Publication Number Publication Date
CN105491297A true CN105491297A (en) 2016-04-13
CN105491297B CN105491297B (en) 2019-02-12

Family

ID=55677982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038985.6A Expired - Fee Related CN105491297B (en) 2016-01-20 2016-01-20 A kind of method of adjustment and device of camera parameter

Country Status (1)

Country Link
CN (1) CN105491297B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126082A (en) * 2016-06-24 2016-11-16 北京小米移动软件有限公司 Control the method for terminal, device and terminal
CN107014481A (en) * 2017-03-01 2017-08-04 北京小米移动软件有限公司 Action identification method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436345A (en) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 Method for interface operation and control of mobile device and implement device
CN104123024A (en) * 2013-04-27 2014-10-29 华为技术有限公司 Terminal device and device control method
EP2813917A2 (en) * 2013-06-10 2014-12-17 LG Electronics, Inc. Mobile terminal and controlling method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436345A (en) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 Method for interface operation and control of mobile device and implement device
CN104123024A (en) * 2013-04-27 2014-10-29 华为技术有限公司 Terminal device and device control method
EP2813917A2 (en) * 2013-06-10 2014-12-17 LG Electronics, Inc. Mobile terminal and controlling method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126082A (en) * 2016-06-24 2016-11-16 北京小米移动软件有限公司 Control the method for terminal, device and terminal
CN106126082B (en) * 2016-06-24 2020-01-14 北京小米移动软件有限公司 Terminal control method and device and terminal
CN107014481A (en) * 2017-03-01 2017-08-04 北京小米移动软件有限公司 Action identification method and device
US10718398B2 (en) 2017-03-01 2020-07-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for identifying an action

Also Published As

Publication number Publication date
CN105491297B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN105611064A (en) Mobile terminal mode switching method and device
CN108519871B (en) Audio signal processing method and related product
JP2021509963A (en) Multi-beam selection method and equipment
CN104092809A (en) Communication sound recording method and recorded communication sound playing method and device
CN105719672A (en) Recording scene mode switching method and recording scene mode switching mode device
CN105549744B (en) A kind of screen luminance of terminal adjusting method and device
CN105848061B (en) Control method and electronic equipment
CN105491297A (en) Image photographing parameter adjusting method and device
CN105682258B (en) A kind of switching method and apparatus of subscriber identification card
CN105704839B (en) A kind of Bluetooth connecting method and device
CN105718165A (en) Startup method and device of terminal background application
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
CN105718178B (en) A kind of methods of exhibiting and device of PUSH message
CN105718773A (en) Terminal unlocking method and device
CN108108144B (en) Electronic equipment and information processing method
CN105718162A (en) Transverse and vertical screen switching method and apparatus
CN105718175A (en) Screen display parameter adjusting method and device
CN103108078A (en) Mobile terminal with call reminding control system and call reminding control method
CN108680181B (en) Wireless earphone, step counting method based on earphone detection and related product
CN105472172A (en) Conversation mode switching method and device
CN205843806U (en) High sensitivity hydrophone for sonic detection
CN105577863A (en) Sound recording method and apparatus
KR101442027B1 (en) Sound processing system to recognize earphones for portable devices using sound patterns, mathod for recognizing earphone for portable devices using sound patterns, and mathod for sound processing using thereof
CN109032482A (en) Split screen control method, device, storage medium and electronic equipment
CN114264365A (en) Wind noise detection method and device, terminal equipment and storage 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190212