CN106341593B - Camera control method and terminal - Google Patents

Camera control method and terminal Download PDF

Info

Publication number
CN106341593B
CN106341593B CN201610698612.1A CN201610698612A CN106341593B CN 106341593 B CN106341593 B CN 106341593B CN 201610698612 A CN201610698612 A CN 201610698612A CN 106341593 B CN106341593 B CN 106341593B
Authority
CN
China
Prior art keywords
terminal
self
length
shooting bar
target range
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.)
Expired - Fee Related
Application number
CN201610698612.1A
Other languages
Chinese (zh)
Other versions
CN106341593A (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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610698612.1A priority Critical patent/CN106341593B/en
Publication of CN106341593A publication Critical patent/CN106341593A/en
Application granted granted Critical
Publication of CN106341593B publication Critical patent/CN106341593B/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/67Focus control based on electronic image sensor signals

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of camera control method, comprising: the length of the intracorporal photoelectric displacement sensor of bar or laser distance sensor detection self-shooting bar by being set to self-shooting bar;The target range between reference object and terminal is determined according to the length of the self-shooting bar;The terminal, which is controlled, according to the target range adjusts imaging parameters.In addition, the embodiment of the present invention also provides a kind of terminal.The camera control method and terminal can realize the automatic control to the imaging parameters of terminal according to the length of self-shooting bar.

Description

Camera control method and terminal
Technical field
The present invention relates to camera work field more particularly to a kind of camera control method and terminals.
Background technique
With popularizing for the mobile terminals such as smart phone, tablet computer, the use of mobile terminal camera function is more and more wider It is general.To obtain better shooting angle, user is generally preferred that when self-timer by self-shooting bar, to shoot desired figure Picture.The length of self-shooting bar can be adjusted according to shooting demand, and different length can obtain different shooting effects.Mesh Before, in the application aspect of self-shooting bar, primarily as support arm, to extend the distance between camera lens and face, thus Good self-timer angle and effect of finding a view.During carrying out self-timer using self-shooting bar, if necessary to adjust the imaging of camera Parameter, such as the light intensity of focal length, light compensating lamp etc., then need to pack up self-shooting bar and be just able to achieve.Therefore, existing self-shooting bar is in function Using upper excessively single, cause excessively cumbersome for the control of imaging parameters during self-timer, is unfavorable for promoting the user of product Experience.
Summary of the invention
The embodiment of the present invention provides a kind of camera control method and terminal, to realize when carrying out self-timer using self-shooting bar Automatic control to the imaging parameters of terminal, so that the functional application of abundant self-shooting bar, promotes user experience.
A kind of camera control method, comprising:
The intracorporal photoelectric displacement sensor of bar or laser distance sensor by being set to self-shooting bar detect self-shooting bar Length;
The target range between reference object and terminal is determined according to the length of the self-shooting bar;
The terminal, which is controlled, according to the target range adjusts imaging parameters.
A kind of terminal, comprising:
Length acquiring unit, for obtain by the intracorporal photoelectric displacement sensor of the bar for being set to self-shooting bar or laser away from Length from the self-shooting bar that sensor detects;
Distance determining unit, for according to the length of the self-shooting bar determine the target between reference object and terminal away from From;
It takes pictures control unit, adjusts imaging parameters for controlling the terminal according to the target range.
The camera control method and terminal pass through the intracorporal photoelectric displacement sensor of the bar for being set to self-shooting bar or laser Range sensor detects the length of self-shooting bar, so that during carrying out self-timer using self-shooting bar, it can be according to self-timer The length of bar controls the terminal tune according to the target range to determine the target range between reference object and terminal Imaging parameters are saved, the automatic control of the imaging parameters of terminal during self-timer is realized, the function of being conducive to abundant self-shooting bar is answered With promotion user experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the first pass schematic diagram of camera control method provided in an embodiment of the present invention;
Fig. 2 is the first structure diagram using the self-shooting bar of camera control method provided in an embodiment of the present invention;
Fig. 3 is the second structural schematic diagram using the self-shooting bar of camera control method provided in an embodiment of the present invention;
Fig. 4 is the second procedure schematic diagram of camera control method provided in an embodiment of the present invention;
Fig. 5 is the third flow diagram of camera control method provided in an embodiment of the present invention;
Fig. 6 is the first structure diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is the first structure diagram of the length acquiring unit of terminal shown in Fig. 6;
Fig. 8 is the second structural schematic diagram of the length acquiring unit of terminal shown in Fig. 6;
Fig. 9 is the first structure diagram of the control unit of taking pictures of terminal shown in Fig. 6;
Figure 10 is the second structural schematic diagram of the control unit of taking pictures of terminal shown in Fig. 6;
Figure 11 is the second structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but there is touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal may include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
The various application programs that can be executed at the terminal can be used such as touch sensitive surface at least one is public Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch Sensing surface) it can support the various application programs with user interface intuitive and transparent for a user.
Referring to Fig. 1, in an embodiment of the invention, providing a kind of camera control method, comprising:
Step 101: the intracorporal photoelectric displacement sensor of bar or laser distance sensor detection by being set to self-shooting bar The length of self-shooting bar;
Step 102: the target range between reference object and terminal is determined according to the length of the self-shooting bar;
Step 103: the terminal being controlled according to the target range and adjusts imaging parameters.
Specifically, the self-shooting bar can be established by transmitter and the terminal and be communicated to connect, and can control described Terminal is taken pictures.The self-shooting bar can be by be set to the bar of self-shooting bar intracorporal photoelectric displacement sensor or laser distance Sensor detects the length of self-shooting bar, and the terminal can obtain the length of the self-shooting bar, and root by the communication connection The target range between reference object (such as face) and terminal is determined according to the length of the self-shooting bar.For example, if the self-timer The length of bar is L, and the experience length of user's arm is s, then the target range can be L+s, wherein the experience of user's arm Length can be used as default foundation length, and is preset by user according to the length of oneself arm and be stored in the end In end.After determining the target range, the terminal can according to the target range adjust imaging parameters, such as focal length, Zoom magnification etc., to obtain effect of preferably finding a view.
In one embodiment, the intracorporal photoelectric displacement sensor of the bar by being set to self-shooting bar detects self-timer The length of bar, comprising:
The interior rod piece of every level-one nesting stretching structure of self-shooting bar is detected relative to outer rod piece by photoelectric displacement sensor Displacement;
Displacement according to the interior rod piece of nesting stretching structure described in every level-one relative to outer rod piece, calculates the self-shooting bar Length.
Referring to Fig. 2, in the present embodiment, a kind of self-shooting bar 100 using the camera control method is provided, including The body of rod 10, the body of rod 10 include at least two successively nested rod pieces 11, and it is embedding that the adjacent rod piece 11 of any two constitutes level-one Cover stretching structure 110.
Nesting stretching structure 110 described in every level-one includes interior rod piece 111, outer rod piece 112 and photoelectric displacement sensor 113, Interior rod piece of the outer rod piece 112 of every level-one nesting stretching structure 110 as previous stage nesting stretching structure, every level-one nesting are flexible Outer rod piece of the interior rod piece 111 of structure 110 as rear stage nesting stretching structure.
The interior rod piece 111 includes being nested end 1111, and the outer rod piece 112 includes nested end 1121, the interior rod piece The end 1111 that is nested be nested in the outer rod piece 112 by the nested sliding of end 1121, the photoelectric displacement sensor 113 are set to the outer wall for being nested end 1111 of the interior rod piece 111, for detecting the interior rod piece 111 relative to described outer The displacement of rod piece 112, to calculate the length of the self-shooting bar 100 according to the displacement.It is appreciated that the setting photoelectric displacement When sensor 113, one groove of corresponding size can be set in the outer wall for being nested end 1111 of the interior rod piece 111, and will The photoelectric displacement sensor 113 is placed in the groove, to guarantee the good slickness of 111 outer wall of interior rod piece.
During the interior rod piece 111 is stretched or shunk relative to the outer sliding of rod piece 112, it is located at the interior bar It is described to illuminate that the photoelectric displacement sensor 113 on the outer wall for being nested end 1111 of part 111 issues one group of probing light The inner wall of outer rod piece 112.When the interior rod piece 111 is relative to outer 112 sliding extension of rod piece, the photoelectric displacement sensing Device 113 passes through the image of the inner wall of outer rod piece 112 described in continuous acquisition, and passes through the change to the characteristic point position in described image Change the displacement analyzed to calculate the interior rod piece 111 relative to the outer rod piece 112.It is appreciated that promote the light Accuracy of the interior rod piece 111 that electric displacement sensor 113 detects relative to the displacement of the outer rod piece 112 can incite somebody to action The inner wall of the outer rod piece 112 is set as coarse or grain surface.It is appreciated that the photoelectric displacement sensor 113 can also To be set to the inner wall at the nested end 1121 of the outer rod piece 112, correspondingly, set thick for the outer wall of the interior rod piece 111 Rough or grain surface.
Nesting stretching structure 110 described in every level-one further includes photo-coupler 114, and the photo-coupler 114 is set to described Inner wall of the outer rod piece 112 relative to the one end at the nested end 1121, for detecting the interior rod piece 111 phase under predeterminated position Absolute displacement for the outer rod piece 112, and 113 correction bit of photoelectric displacement sensor is triggered according to the absolute displacement Move detection error.
Specifically, the photo-coupler 114 includes light detecting signal transmitter 1141 and light detecting signal receiver 1142, The light detecting signal transmitter 1141 is relatively arranged on the outer rod piece 112 relative to institute with light detecting signal receiver 1142 State the inner wall of the one end at nested end 1121.The light detecting signal transmitter 1141 is for emitting light, the light detecting signal Receiver 1142 is used to receive the light that the light detecting signal transmitter 1141 emits.When the light detecting signal receiver 1142 when can normally receive the light that the light detecting signal transmitter 1141 emits, the output of photo-coupler 114 first Couple state, when the light detecting signal receiver 1142 can not receive the light that the light detecting signal transmitter 1141 emits When line while being blocked by the interior rod piece 111 (such as the light), the photo-coupler 114 exports the second couple state.It is described Predeterminated position is that the light of the sending of light detecting signal transmitter 1141 is just nested end by the interior rod piece 111 The output of 1111 positions sheltered from, i.e., the described photo-coupler 114 is switched to the wink of the second couple state by the first couple state Between, the location of described interior rod piece 111.
It is appreciated that since position of the photo-coupler 114 on the inner wall of the outer rod piece 112 is it is known that and described The length of interior rod piece 111 and the outer rod piece 112 is it is known that then described to just sheltering from when interior 111 sliding extension of rod piece When the light that light detecting signal transmitter 1141 emits, absolute displacement of the interior rod piece 111 relative to the outer rod piece 112 It is determining.Due to during the interior rod piece 111 is relative to outer 112 sliding extension of rod piece, the photoelectric displacement The displacement that sensor 113 detects can inevitably have error, and the error can be accumulated with the increase of flexible number.Therefore, It, can be by the interior rod piece 111 when the output of the photo-coupler 114 is switched to the second couple state by the first couple state Absolute displacement relative to the outer rod piece 112 is set as the output of the photoelectric displacement sensor 113, to realize to described The correction of the error of photoelectric displacement sensor 113.
The self-shooting bar 100 further includes transmitter 115 and fixed frame 116, the fixed frame 116 and the one of the body of rod 10 End connection, is used for fixed terminal 300.The transmitter 115 and the photoelectric displacement sensor 113 and the photo-coupler 114 Electrical connection for calculating the length of the self-shooting bar 100 according to the displacement, and the length of the self-shooting bar 100 is sent to The terminal 300, to trigger the terminal 300 according to the length adjustment imaging parameters of the self-shooting bar 100.It is appreciated that institute Stating transmitter 115 directly can also be sent to the terminal 300 for the position that the photoelectric displacement sensor 113 detects, into And the length of the self-shooting bar 100 is calculated according to the displacement by the terminal 300.Wherein, the transmitter 115 can be indigo plant Tooth, Wi-Fi detectable signal transmitter are communicated to connect for establishing with the terminal 300.The terminal 300 can be intelligent hand Machine, digital camera etc..The imaging parameters can be focal length, zoom magnification etc..
In one embodiment, the intracorporal laser distance sensor of the bar by being set to self-shooting bar detects self-timer The length of bar, comprising:
By the detectable signal transmitter emission detection signal for being set to described self-shooting bar one end;
Detectable signal receiver by being set to the other end of the self-shooting bar receives the detectable signal;
The time difference between the transmitting and reception of the detectable signal is calculated, and is believed according to the time difference and the detection Number spread speed, calculate the length of the self-shooting bar.
Referring to Fig. 3, in the present embodiment, a kind of self-shooting bar 200 using the camera control method is provided, including The body of rod 20, the body of rod 20 include at least two successively nested hollow rods 21, opposite can be drawn between the hollow rods 21 It stretches or shrinks, to adjust the length of the self-shooting bar 200.It is flexible that the adjacent hollow rods 21 of any two constitute level-one nesting Structure 210, nesting stretching structure 210 described in every level-one include interior rod piece 211 and outer rod piece 212, every level-one nesting stretching structure Interior rod piece of the 210 outer rod piece 212 as previous stage nesting stretching structure, the interior rod piece 211 of every level-one nesting stretching structure 210 Outer rod piece as rear stage nesting stretching structure.
The self-shooting bar 200 further includes distance measuring sensor 220, and the distance measuring sensor 220 includes detectable signal transmitter 221 and detectable signal receiver 222, the detectable signal transmitter 221 be set to one end of the body of rod 20, for emit visit Signal is surveyed, the detectable signal receiver 222 is set to the other end of the body of rod 20, for receiving the detectable signal, institute The time difference between transmitting and reception of the distance measuring sensor 220 for calculating the detectable signal is stated, and according to the time difference And the spread speed of the detectable signal, calculate the length of the self-shooting bar 200.
The interior rod piece 211 includes being nested end 2111, and the outer rod piece 212 includes nested end 2121, the interior rod piece The end 2111 that is nested be nested in the outer rod piece 212 by the nested sliding of end 2121.Nesting described in every level-one is flexible It opposite can stretch or shrink between the interior rod piece 211 and outer rod piece 212 of structure 210, be stretched to change nesting described in every level-one The length of shrinking structure 210.During the interior rod piece 211 is stretched or shunk relative to the outer sliding of rod piece 212, pass through The 221 emission detection signal of detectable signal transmitter, the detectable signal pass through the successively hollow rods 21 of nesting Inner cavity is simultaneously received by the detectable signal receiver 222, the time between transmitting and reception by calculating the detectable signal Difference, and in conjunction with the aerial spread speed of the detectable signal, the length of the self-shooting bar 200 can be calculated.For example, false If the time difference between the transmitting and reception of the detectable signal is △ t, the aerial spread speed of detectable signal is The length of c, the self-shooting bar are L, then the calculation formula of the length L of the self-shooting bar can be expressed as: L=△ t*c.In this reality It applies in example, the distance measuring sensor 220 is laser range sensor, and the detectable signal is laser beam.It is appreciated that reduce Reflection of the detectable signal in the successively inner cavity communication process of the hollow rods 21 of nesting, promotes the self-shooting bar Light absorption paint layer 2101 can also be arranged in the inner wall of the hollow rods 21 in the accuracy of 200 linear measure longimetry.
The self-shooting bar 200 further includes transmitter 215 and fixed frame 216, the fixed frame 216 and the one of the body of rod 20 End connection, is used for fixed terminal 300.The transmitter 215 is electrically connected with the distance measuring sensor 220, for receiving the survey Length away from the self-shooting bar 200 that sensor 220 exports, and the length of the self-shooting bar 200 is sent to the terminal 300, to trigger the terminal 200 according to the length adjustment imaging parameters of the self-shooting bar 200.Wherein, the transmitter 215 can Think bluetooth, Wi-Fi transmitter, is communicated to connect for being established with the terminal 300.The terminal 300 can for smart phone, Digital camera etc..The imaging parameters can be focal length, zoom magnification etc..
Referring to Fig. 4, in one embodiment, it is described that the terminal adjusting imaging ginseng is controlled according to the target range Number, comprising:
Step 401: zoom magnification required for reaching default imaging scale according to target range calculating;
Step 402: if greatest optical zoom magnification of the zoom magnification less than or equal to the terminal, described in control Terminal carries out optical zoom;
Step 403: if the zoom magnification is greater than the greatest optical zoom magnification of the terminal, controlling the terminal and exist Digital zoom is carried out on the basis of greatest optical zoom.
Specifically, the camera of the terminal can have optical zoom and digital zoom functions, wherein optical zoom is The relative position for each eyeglass crossed in the zoom lens for changing camera changes the focal length of camera lens, and image quality loss is small, can To obtain preferable Zoom effect.Digital zoom is the image for being taken camera by image processing algorithm (such as interpolation) It amplifies, and produces the effect for being equivalent to focal length variations, but the quality of image will necessarily be lost by digital zoom, therefore Usually as the zoom means of auxiliary.In the present embodiment, by reaching default imaging scale according to target range calculating Required zoom magnification then controls institute when greatest optical zoom magnification of the zoom magnification less than or equal to the terminal It states terminal and carries out optical zoom, to guarantee good Zoom effect.When the zoom magnification is greater than the greatest optical of the terminal Zoom magnification then controls the terminal and carries out digital zoom on the basis of greatest optical zoom.For example, if reaching default imaging Zoom magnification required for ratio is 5 times, and the greatest optical zoom magnification of the terminal is 3 times, then controls the terminal first 3 times of optical zoom is carried out, and then carries out digital zoom on the basis of optical zoom, and be finally reached the imaging of 5 times of zooms Effect.In this way, the zoom performance of the camera of the terminal can be made full use of, image image quality is promoted.
Referring to Fig. 5, in one embodiment, it is described that the terminal adjusting imaging ginseng is controlled according to the target range Number, comprising:
Step 501: the target range is compared with the first default focal length of the terminal, and by the target away from It is compared from the second of the terminal the default focal length;
Step 502: if the target range is equal to the described first default focal length, controlling first camera shooting of terminal selection Head is imaged;Alternatively,
Step 503: if the target range is greater than the described first default focal length and is less than the described second default focal length, controlling Make first camera shooting of terminal selection and second camera fusion of imaging;Alternatively,
Step 504: if the target range is equal to the described second default focal length, controlling second camera shooting of terminal selection Head is imaged;Alternatively,
Step 505: if the target range is greater than the described second default focal length, controlling second camera shooting of terminal selection Head carries out digital zoom imaging.
Specifically, in the present embodiment, the terminal may include the first camera and second camera, and described first takes the photograph Picture head has the first default focal length, and the second camera has the second default focal length.Wherein, first focal length is less than described Second focal length, first camera are wide-angle camera, and the second camera is focal length camera.It is appreciated that described First camera and second camera respectively can be opened individually and be individually imaged;Can also both simultaneously open and simultaneously at Picture, and then final blending image is obtained by image co-registration.Since the field angle of wide-angle lens is big, focal length is short, it is suitble to low coverage From taking pictures;And the field angle of telephoto lens is small, focal length is long, is suitble to take pictures at a distance, therefore, takes pictures when using dual camera fusion When, the first image of large viewing can be obtained by first camera, and part is obtained by the second camera Amplified second image of zoom, and then by Image Fusion by the first image and the second image co-registration, it obtains close Like the blending image of optical zoom effect, to guarantee picture quality.
When the terminal gets the length of the self-shooting bar, and the target is calculated according to the length gauge of the self-shooting bar Distance after, can by the way that the target range is compared with the described first default focal length and the second default focal length respectively, into And different imaging patterns is selected according to section locating for the target range.For example, it is assumed that the target range is f, institute Stating the first default focal length is f1, and the second default focal length is f2, f1 < f2, and f >=f1 under normal conditions.If f=f1 is controlled The terminal is made to select the first camera imaging and export;If f1 < f < f2, the first camera shooting of terminal selection and the are controlled Two camera fusion of imaging simultaneously export fused image;If f=f2, the terminal selection second camera imaging is controlled simultaneously Output;If f > f2, control terminal selection second camera and be imaged, and according to the proportionate relationship of f and f2 by second The image that camera imaging obtains exports after carrying out digital amplification.
In one embodiment, the control first camera shooting of terminal selection and second camera fusion of imaging, packet It includes:
It controls first camera imaging and exports the first image of the reference object;
Control the second image that the second camera is imaged and exports the reference object;
Using the first image as master image, and image co-registration, shape are carried out using second image as assistant images At the blending image of the reference object.
Specifically, the visual angle (FOV) of first camera is greater than the visual angle of the second camera, therefore, described the That there are partial regions is Chong Die with second image for one image.Simultaneously as the focal length of first camera is less than described the The focal length of two cameras, so that second image is relative to the picture overlay region in the first image with second figure Domain is amplified certain multiple.It is appreciated that carrying out fusion of imaging using first camera and the second camera When, the target object is in the overlapping region, and in the first image in addition to comprising the target object, relatively Include wider array of background area in second image, so that wide-angle image effect be presented;And it is described in second image Target object then relative to the target object in the first image have bigger amplification factor, thus present focal length at As handing over.Herein on basis, by using the first image as master image, and will second image as assisting figure Picture, and then handled by image co-registration, the blending image of similar optical zoom effect can be obtained.It is appreciated that the fusion Image may include background area more wider array of than second image, and the data of the background area are by merging first figure The data of the background area of picture obtain;Meanwhile the blending image also has the Zoom effect with second image approximate, institute It states the corresponding zoom data of Zoom effect and is obtained by merging the zoom data of second image.In this way, then can be according to described The difference of the length of self-shooting bar, i.e., the difference of the described target range control the terminal and different cameras are selected to be imaged, To realize better imaging effect.Meanwhile the described first default focal length and the described second default coke are in the target range It when away between, controls the terminal and selects the first camera and second camera fusion of imaging, to be realized by dual camera The imaging effect of simulated optical zoom.
Referring to Fig. 6, in an embodiment of the invention, providing a kind of terminal 60, comprising:
Length acquiring unit 61, for obtaining through the intracorporal photoelectric displacement sensor of the bar for being set to self-shooting bar or laser The length for the self-shooting bar that range sensor detects;
Distance determining unit 62, for according to the length of the self-shooting bar determine the target between reference object and terminal away from From;
Control unit of taking pictures 63 adjusts imaging parameters for controlling the terminal according to the target range.
Referring to Fig. 7, in one embodiment, the length acquiring unit 61 includes:
It is displaced acquiring unit 611, every level-one for obtaining the self-shooting bar detected by photoelectric displacement sensor is nested Displacement of the interior rod piece of stretching structure relative to outer rod piece;Wherein, the body of rod includes at least two successively nested rod pieces, is appointed Two adjacent rod pieces of anticipating constitute level-one nesting stretching structure;
Length computation unit 612, the interior rod piece for the nesting stretching structure according to every level-one is relative to outer rod piece Displacement, calculates the length of the self-shooting bar.
Referring to Fig. 8, in one embodiment, the length acquiring unit 61 includes:
Emit signal acquiring unit 613, for obtaining the detectable signal transmitter by being set to described self-shooting bar one end The detectable signal of transmitting;
Signal acquiring unit 614 is received, is connect for obtaining by the detectable signal for the other end for being set to the self-shooting bar Receive the detectable signal that device receives;
The length computation unit 612 is also used to calculate the time difference between the transmitting and reception of the detectable signal, and According to the time difference and the spread speed of the detectable signal, the length of the self-shooting bar is calculated.
Referring to Fig. 9, in one embodiment, the control unit 63 of taking pictures includes:
Multiple computing unit 631, for zoom required for reaching default imaging scale according to target range calculating Multiple;
Zoom control unit 632, for being less than or equal to the greatest optical zoom times of the terminal in the zoom magnification In the case where number, controls the terminal and carry out optical zoom;
The Zoom control unit 632 is also used to be greater than the greatest optical zoom times of the terminal in the zoom magnification In the case where number, controls the terminal and carry out digital zoom on the basis of greatest optical zoom.
Referring to Fig. 10, in one embodiment, the control unit 63 of taking pictures includes:
Focal length comparing unit 633, for the target range to be compared with the first default focal length of the terminal, and The target range is compared with the second default focal length of the terminal, wherein the first default focal length is less than described Second default focal length;
Control unit 634 is imaged, for controlling institute in the case where the target range is equal to the first default focal length Stating terminal selects the first camera to be imaged;
The imaging control unit 634 is also used to be greater than the described first default focal length in the target range and is less than institute In the case where stating the second default focal length, first camera shooting of terminal selection and second camera fusion of imaging are controlled;
The imaging control unit 634 is also used in the case where the target range is equal to the second default focal length, The terminal selection second camera is controlled to be imaged;And
The imaging control unit 634 is also used in the case where the target range is greater than the second default focal length, It controls the terminal selection second camera and carries out digital zoom imaging.
It is appreciated that the function of each unit of terminal 60 described in the present embodiment and its specific implementation can also be referring to figures 1 associated description into embodiment of the method shown in Fig. 5, details are not described herein again.
Figure 11 is please referred to, in an embodiment of the invention, provides a kind of camera terminal 70, comprising:
One or more processors 701;One or more input equipments 702, one or more output equipments 703, communication Interface 704, the first camera 705, second camera 706 and memory 707.Above-mentioned processor 701, input equipment 702, output Equipment 703, communication interface 704, the first camera 705, second camera 706 and memory 707 are connected by bus 708.Institute Memory 707 is stated for storing program code, the processor 701 is used to calling and execute and stores in the memory 707 Program code.
Wherein, the communication interface 704 is used to establish with the self-shooting bar 100/200 and communicate to connect, and receives the hair The length for the self-shooting bar 100/200 that emitter 115 is sent.The processor 701 is used for according to the self-shooting bar 100/200 Length controls first camera 705 and/or the second camera 706 adjusts imaging parameters.Meanwhile the communication interface 704 are also used to receive the shooting control instruction that the transmitter 115 is sent.The processor 701 is also used to parse the shooting Control instruction, and control first camera 705 and/or the completion image taking of the second camera 706.
It is appreciated that in one embodiment, the processor 701 is also used to obtain by being set to the self-shooting bar The photoelectric displacement sensing of the inner wall at the nested end 1121 of the outer wall for being nested end 1111 or outer rod piece 112 of 100 interior rod piece 111 Position of the interior rod piece 111 of the every level-one nesting stretching structure 110 for the self-shooting bar 100 that device 113 detects relative to outer rod piece 112 It moves, and displacement of the interior rod piece 111 of the nesting stretching structure 110 according to every level-one relative to outer rod piece 112, calculating is described certainly The length of dabber 100, and then taken the photograph according to the length of the self-shooting bar 100 control first camera 705 and/or described second As head 706 adjusts imaging parameters.
It is appreciated that in one embodiment, the processor 701 is also used to obtain by being set to the self-shooting bar The detectable signal that the detectable signal transmitter 221 of 200 20 one end of the body of rod emits, and obtain by being set to the body of rod 20 The detectable signal that the detectable signal receiver 222 of the other end receives, and then according to the detectable signal transmitter 221 transmitting The detectable signal that the detectable signal and the detectable signal receiver 222 receive, calculates the hair of the detectable signal Time difference between penetrating and receiving, and according to the time difference and the spread speed of the detectable signal, calculate the self-shooting bar 200 length, and then first camera 705 and/or the second camera are controlled according to the length of the self-shooting bar 200 706 adjust imaging parameters.
It is appreciated that in embodiments of the present invention, alleged processor 701 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 702 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 703 may include display (LCD etc.), loudspeaker etc., and communication interface 704 can be with Including bluetooth, Wi-Fi etc..
The memory 707 may include read-only memory and random access memory, and to processor 701 provide instruction and Data.The a part of of memory 707 can also include nonvolatile RAM.For example, memory 707 can also be deposited Store up the information of device type.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and step, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and soft The interchangeability of part generally describes each exemplary composition and step according to function in the above description.These function It can be implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional skill Art personnel can use different methods to achieve the described function each specific application, but this realization should not be recognized It is beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it Its mode is realized.For example, the embodiment of terminal described above is only schematical, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or logical Letter connection is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
Above disclosed is only presently preferred embodiments of the present invention, cannot limit the right of the present invention with this certainly Range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to right of the present invention Equivalent variations made by it is required that, still belongs to the scope covered by the invention.

Claims (8)

1. a kind of camera control method characterized by comprising
The length of the intracorporal photoelectric displacement sensor of bar or laser distance sensor detection self-shooting bar by being set to self-shooting bar;
The target range between reference object and terminal is determined according to the length of the self-shooting bar;
The terminal is controlled according to the target range and adjusts imaging parameters, comprising: reaches pre- according to target range calculating If zoom magnification required for imaging scale, if the zoom magnification is less than or equal to the greatest optical zoom times of the terminal Number then controls the terminal and carries out optical zoom, if the zoom magnification is greater than the greatest optical zoom magnification of the terminal, It controls the terminal and carries out digital zoom on the basis of greatest optical zoom.
2. the method as described in claim 1, which is characterized in that the intracorporal photoelectric displacement of the bar by being set to self-shooting bar The length of sensor detection self-shooting bar, comprising:
Position of the interior rod piece of every level-one nesting stretching structure of self-shooting bar relative to outer rod piece is detected by photoelectric displacement sensor It moves;Wherein, the body of rod includes at least two successively nested rod pieces, and it is flexible that the adjacent rod piece of any two constitutes level-one nesting Structure;
Displacement according to the interior rod piece of nesting stretching structure described in every level-one relative to outer rod piece, calculates the length of the self-shooting bar Degree.
3. the method as described in claim 1, which is characterized in that the intracorporal laser distance of the bar by being set to self-shooting bar The length of sensor detection self-shooting bar, comprising:
By the detectable signal transmitter emission detection signal for being set to described self-shooting bar one end;
Detectable signal receiver by being set to the other end of the self-shooting bar receives the detectable signal;
Calculate the time difference between the transmitting and reception of the detectable signal, and according to the time difference and the detectable signal Spread speed calculates the length of the self-shooting bar.
4. method as claimed in any one of claims 1-3, which is characterized in that described according to target range control Terminal adjusts imaging parameters, comprising:
The target range is compared with the first default focal length of the terminal, and by the target range and the terminal The second default focal length be compared, wherein the first default focal length be less than the described second default focal length;
If the target range is equal to the described first default focal length, controls the terminal and the first camera is selected to be imaged; Alternatively,
If the target range is greater than the described first default focal length and is less than the described second default focal length, the terminal choosing is controlled Select the first camera shooting and second camera fusion of imaging;Alternatively,
If the target range is equal to the described second default focal length, controls the terminal selection second camera and be imaged; Alternatively,
If the target range is greater than the described second default focal length, controls the terminal selection second camera and carry out digital change Coke imaging.
5. a kind of terminal characterized by comprising
Length acquiring unit, for obtaining through the intracorporal photoelectric displacement sensor of the bar for being set to self-shooting bar or laser distance biography The length for the self-shooting bar that sensor detects;
Distance determining unit, for determining the target range between reference object and terminal according to the length of the self-shooting bar;
It takes pictures control unit, adjusts imaging parameters for controlling the terminal according to the target range, comprising: according to the mesh Subject distance calculating reaches zoom magnification required for default imaging scale, if the zoom magnification is less than or equal to the terminal Greatest optical zoom magnification then controls the terminal and carries out optical zoom, if the zoom magnification is greater than the maximum of the terminal Optical zoom multiple then controls the terminal and carries out digital zoom on the basis of greatest optical zoom.
6. terminal as claimed in claim 5, which is characterized in that the length acquiring unit includes:
It is displaced acquiring unit, for obtaining every level-one nesting stretching structure of the self-shooting bar detected by photoelectric displacement sensor Displacement of the interior rod piece relative to outer rod piece;Wherein, the body of rod includes at least two successively nested rod pieces, any two phase Adjacent rod piece constitutes level-one nesting stretching structure;
Length computation unit, displacement of the interior rod piece relative to outer rod piece for the nesting stretching structure according to every level-one, meter Calculate the length of the self-shooting bar.
7. terminal as claimed in claim 5, which is characterized in that the length acquiring unit includes:
Emit signal acquiring unit, for obtaining the spy emitted by the detectable signal transmitter for being set to described self-shooting bar one end Survey signal;
Signal acquiring unit is received, for obtaining the detectable signal receiver reception by the other end for being set to the self-shooting bar The detectable signal arrived;
Length computation unit, the time difference between transmitting and reception for calculating the detectable signal, and according to the time The spread speed of the poor and described detectable signal, calculates the length of the self-shooting bar.
8. the terminal as described in claim 5-7 any one, which is characterized in that the control unit of taking pictures includes:
Focal length comparing unit, for the target range to be compared with the first default focal length of the terminal, and will be described Target range is compared with the second default focal length of the terminal, wherein it is pre- that the first default focal length is less than described second If focal length;
Control unit is imaged, for controlling the terminal in the case where the target range is equal to the first default focal length The first camera is selected to be imaged;Alternatively,
In the case where the target range is greater than the described first default focal length and is less than the second default focal length, described in control The first camera shooting of terminal selection and second camera fusion of imaging;Alternatively,
In the case where the target range is equal to the second default focal length, controls the terminal selection second camera and carry out Imaging;Alternatively,
In the case where the target range is greater than the second default focal length, controls the terminal selection second camera and carry out Digital zoom imaging.
CN201610698612.1A 2016-08-22 2016-08-22 Camera control method and terminal Expired - Fee Related CN106341593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610698612.1A CN106341593B (en) 2016-08-22 2016-08-22 Camera control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610698612.1A CN106341593B (en) 2016-08-22 2016-08-22 Camera control method and terminal

Publications (2)

Publication Number Publication Date
CN106341593A CN106341593A (en) 2017-01-18
CN106341593B true CN106341593B (en) 2019-04-23

Family

ID=57824242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610698612.1A Expired - Fee Related CN106341593B (en) 2016-08-22 2016-08-22 Camera control method and terminal

Country Status (1)

Country Link
CN (1) CN106341593B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277394A (en) * 2017-06-15 2017-10-20 上海大兮软件科技有限公司 A kind of self-heterodyne system based on mixed reality technology
CN107277360B (en) 2017-07-17 2020-07-14 惠州Tcl移动通信有限公司 Method for zooming through switching of double cameras, mobile terminal and storage device
CN111726513A (en) * 2019-03-19 2020-09-29 杭州海康威视数字技术股份有限公司 Zooming method and device of imaging equipment and imaging equipment
CN110661970B (en) * 2019-09-03 2021-08-24 RealMe重庆移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN111432116A (en) * 2020-03-16 2020-07-17 浙江大华技术股份有限公司 Automatic zooming method, device and equipment of electronic camera equipment and storage medium
CN112601028B (en) * 2021-03-02 2021-05-04 浙江华创视讯科技有限公司 Image pickup control method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203148412U (en) * 2013-03-07 2013-08-21 浙江工贸职业技术学院 Simple length-measuring appliance
CN105227835A (en) * 2015-09-11 2016-01-06 浙江宇视科技有限公司 A kind of assisted focused method and apparatus
CN105402578A (en) * 2015-12-23 2016-03-16 方琦 Novel shooting auxiliary pole
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
CN105657251A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Photographing control method, photographing control device and photographing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006013803A1 (en) * 2004-08-03 2006-02-09 Matsushita Electric Industrial Co., Ltd. Imaging device and imaging method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203148412U (en) * 2013-03-07 2013-08-21 浙江工贸职业技术学院 Simple length-measuring appliance
CN105227835A (en) * 2015-09-11 2016-01-06 浙江宇视科技有限公司 A kind of assisted focused method and apparatus
CN105402578A (en) * 2015-12-23 2016-03-16 方琦 Novel shooting auxiliary pole
CN105657251A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Photographing control method, photographing control device and photographing system
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick

Also Published As

Publication number Publication date
CN106341593A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106341593B (en) Camera control method and terminal
EP3628121B1 (en) Electronic device for storing depth information in connection with image depending on properties of depth information obtained using image and control method thereof
KR102085766B1 (en) Method and Apparatus for controlling Auto Focus of an photographing device
CN107113415B (en) The method and apparatus for obtaining and merging for more technology depth maps
US9386297B2 (en) Image generating apparatus generating reconstructed image, method, and computer-readable recording medium
CN109862267B (en) Shooting method and terminal equipment
KR101879586B1 (en) Method and system for managing implementation of augmented reality
EP0829798A2 (en) Image-based touchscreen
KR20180114296A (en) Method and electronic device for focus control
KR20180035899A (en) Dual Aperture Zoom Digital Camera User Interface
JP2014225797A (en) Information processor, electronic apparatus, server, information processing program and information processing method
KR20160056928A (en) White balance adjustment method and device
CN104204848B (en) There is the search equipment of range finding camera
CN109068055B (en) Composition method, terminal and storage medium
CN110072078A (en) Monitor camera, the control method of monitor camera and storage medium
JP2011015163A (en) Imaging apparatus
CN107040716A (en) The method and its control system of control device motion
CN103188434A (en) Method and device of image collection
CN106303277A (en) The parameter control method of light compensating lamp, terminal and self-shooting bar
CN107682691B (en) A kind of method, terminal and the computer readable storage medium of camera focus calibration
KR20200045136A (en) Online operating system for hunting contest
CN106303244A (en) Self-shooting bar and length calculation method, acquisition parameters control method and terminal
KR102059114B1 (en) Image compensation device for matching virtual space and real space and image matching system using the same
CN107952240B (en) Game control method and device realized by using selfie stick and computing equipment
KR101247316B1 (en) Security system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190423

Termination date: 20200822

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