CN106341593A - Photographing control method and terminal - Google Patents

Photographing control method and terminal Download PDF

Info

Publication number
CN106341593A
CN106341593A CN201610698612.1A CN201610698612A CN106341593A CN 106341593 A CN106341593 A CN 106341593A CN 201610698612 A CN201610698612 A CN 201610698612A CN 106341593 A CN106341593 A CN 106341593A
Authority
CN
China
Prior art keywords
terminal
length
target distance
focal length
camera
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
CN201610698612.1A
Other languages
Chinese (zh)
Other versions
CN106341593B (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 invention provides a photographing control method comprising the steps that the length of a selfie stick is detected through a photoelectric displacement sensor or laser distance sensor arranged in the stick body of the selfie stick; the target distance between a photographing object and a terminal is determined according to the length of the selfie stick; and the terminal is controlled to adjust imaging parameters according to the target distance. Besides, the embodiment of the invention also provides the terminal. According to the photographing control method and the terminal, automatic control of the imaging parameters of the terminal can be realized according to the length of the selfie stick.

Description

Photographing control method and terminal
Technical Field
The invention relates to the technical field of photography, in particular to a photographing control method and a terminal.
Background
With the popularization of mobile terminals such as smart phones and tablet computers, the use of the photographing function of the mobile terminals is more and more extensive. In order to obtain a better shooting angle, users generally prefer to take a desired image by means of a selfie stick when taking a self-timer. The length of the self-timer rod can be adjusted according to shooting requirements, and different shooting effects can be obtained by different lengths. At present, in the aspect of the application from rapping bar, mainly as the support arm to the distance between extension camera lens and the people's face, thereby get good angle of autodyning and the effect of finding a view. Use from rapping bar in-process of autodyning, if the imaging parameter of camera, for example the light intensity of focus, light filling lamp etc. need be adjusted, then need pack up from rapping bar and just can realize. Consequently, current from rapping bar is too single in function application, leads to the in-process of autodyning too loaded down with trivial details to imaging parameter's control, is unfavorable for promoting the user experience of product.
Disclosure of Invention
The embodiment of the invention provides a photographing control method and a terminal, which are used for realizing automatic control of imaging parameters of the terminal when a selfie stick is used for selfie, so that the functional application of the selfie stick is enriched, and the user experience is improved.
A photographing control method comprising:
detecting the length of a selfie stick through a photoelectric displacement sensor or a laser distance sensor arranged in a stick body of the selfie stick;
determining a target distance between a shooting object and a terminal according to the length of the self-timer rod;
and controlling the terminal to adjust imaging parameters according to the target distance.
A terminal, comprising:
a length acquisition unit for acquiring the length of a selfie stick detected by a photoelectric displacement sensor or a laser distance sensor arranged in a stick body of the selfie stick;
the distance determining unit is used for determining the target distance between a shooting object and a terminal according to the length of the self-timer rod;
and the photographing control unit is used for controlling the terminal to adjust imaging parameters according to the target distance.
The photographing control method and the terminal detect the length of the selfie stick through the photoelectric displacement sensor or the laser distance sensor arranged in the stick body of the selfie stick, so that in the process of self-photographing by adopting the selfie stick, the target distance between a photographing object and the terminal can be determined according to the length of the selfie stick, and then the terminal is controlled to adjust imaging parameters according to the target distance, so that the automatic control of the imaging parameters of the terminal in the self-photographing process is realized, the functional application of the selfie stick is favorably enriched, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of a photographing control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first structure of a selfie stick to which a photographing control method according to an embodiment of the present invention is applied;
FIG. 3 is a schematic diagram of a second structure of a selfie stick to which the photographing control method according to the embodiment of the present invention is applied;
fig. 4 is a second flowchart of the photographing control method according to the embodiment of the invention;
fig. 5 is a third flowchart of a photographing control method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a first structure of a terminal according to an embodiment of the present invention;
fig. 7 is a first structural diagram of a length acquisition unit of the terminal shown in fig. 6;
fig. 8 is a second structural diagram of a length acquisition unit of the terminal shown in fig. 6;
fig. 9 is a first configuration diagram of a photographing control unit of the terminal shown in fig. 6;
fig. 10 is a second configuration diagram of the photographing control unit of the terminal shown in fig. 6;
fig. 11 is a schematic diagram of a second structure of the terminal according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, in an embodiment of the present invention, a photographing control method is provided, including:
step 101: detecting the length of a selfie stick through a photoelectric displacement sensor or a laser distance sensor arranged in a stick body of the selfie stick;
step 102: determining a target distance between a shooting object and a terminal according to the length of the self-timer rod;
step 103: and controlling the terminal to adjust imaging parameters according to the target distance.
Specifically, the selfie stick can establish communication connection with the terminal through an emitter, and can control the terminal to take pictures. The self-timer rod can detect the length of the self-timer rod through a photoelectric displacement sensor or a laser distance sensor arranged in a rod body of the self-timer rod, the terminal can acquire the length of the self-timer rod through the communication connection, and the target distance between a shooting object (such as a human face) and the terminal is determined according to the length of the self-timer rod. For example, if the length of the selfie stick is L and the empirical length of the arm of the user is s, the target distance may be L + s, where the empirical length of the arm of the user may be used as a preset basic length, and the preset length is preset by the user according to the length of the arm of the user and stored in the terminal. After the target distance is determined, the terminal can adjust imaging parameters such as focal length, zoom factor and the like according to the target distance so as to obtain an ideal view finding effect.
In one embodiment, the detecting a length of the selfie stick by a photoelectric displacement sensor disposed in a body of the selfie stick includes:
detecting the displacement of an inner rod piece of each level of nested telescopic structures of the selfie stick relative to an outer rod piece through a photoelectric displacement sensor;
and calculating the length of the self-timer rod according to the displacement of the inner rod relative to the outer rod of each level of the nested telescopic structure.
Referring to fig. 2, in the present embodiment, a selfie stick 100 using the photographing control method is provided, which includes a stick body 10, where the stick body 10 includes at least two stick members 11 nested in sequence, and any two adjacent stick members 11 form a first-level nested telescopic structure 110.
Each stage of the nested telescopic structure 110 includes an inner rod 111, an outer rod 112 and a photoelectric displacement sensor 113, the outer rod 112 of each stage of the nested telescopic structure 110 is used as the inner rod of the previous stage of the nested telescopic structure, and the inner rod 111 of each stage of the nested telescopic structure 110 is used as the outer rod of the next stage of the nested telescopic structure.
The inner rod 111 comprises a nested end 1111, the outer rod 112 comprises a nested end 1121, the nested end 1111 of the inner rod is slidably nested in the outer rod 112 through the nested end 1121, and the photoelectric displacement sensor 113 is disposed on the outer wall of the nested end 1111 of the inner rod 111 for detecting the displacement of the inner rod 111 relative to the outer rod 112 to calculate the length of the selfie stick 100 according to the displacement. It can be understood that when the optical electric displacement sensor 113 is arranged, a groove with a corresponding size may be arranged on the outer wall of the nested end 1111 of the inner rod 111, and the optical electric displacement sensor 113 is accommodated in the groove, so as to ensure good smoothness of the outer wall of the inner rod 111.
During the sliding extension or contraction of the inner rod 111 relative to the outer rod 112, the photoelectric displacement sensor 113 on the outer wall of the nested end 1111 of the inner rod 111 emits a set of detection light to illuminate the inner wall of the outer rod 112. When the inner rod 111 slides and stretches relative to the outer rod 112, the photoelectric displacement sensor 113 continuously acquires images of the inner wall of the outer rod 112, and calculates the displacement of the inner rod 111 relative to the outer rod 112 by analyzing the change of the position of the feature point on the images. It is understood that, in order to improve the accuracy of the displacement of the inner rod 111 relative to the outer rod 112 detected by the photoelectric displacement sensor 113, the inner wall of the outer rod 112 may be provided with a rough or textured surface. It is understood that the photoelectric displacement sensor 113 may also be disposed on the inner wall of the nesting end 1121 of the outer rod 112, and correspondingly, the outer wall of the inner rod 111 is disposed as a rough or textured surface.
Each stage of the nested telescopic structure 110 further includes an optical coupler 114, where the optical coupler 114 is disposed on an inner wall of one end of the outer rod 112 opposite to the nesting end 1121, and is configured to detect an absolute displacement of the inner rod 111 relative to the outer rod 112 at a preset position, and trigger the photoelectric displacement sensor 113 to correct a displacement detection error according to the absolute displacement.
Specifically, the optical coupler 114 includes an optical detection signal emitter 1141 and an optical detection signal receiver 1142, and the optical detection signal emitter 1141 and the optical detection signal receiver 1142 are disposed on an inner wall of one end of the outer rod 112 opposite to the nesting end 1121. The optical detection signal transmitter 1141 is configured to transmit light, and the optical detection signal receiver 1142 is configured to receive the light transmitted by the optical detection signal transmitter 1141. When the optical detection signal receiver 1142 can normally receive the light emitted from the optical detection signal emitter 1141, the optical coupler 114 outputs a first coupling state, and when the optical detection signal receiver 1142 cannot receive the light emitted from the optical detection signal emitter 1141 (for example, when the light is blocked by the inner rod 111), the optical coupler 114 outputs a second coupling state. The preset position is a position where the light emitted by the optical detection signal emitter 1141 is just shielded by the nested end 1111 of the inner rod 111, that is, a position of the inner rod 111 at the moment when the output of the optical coupler 114 is switched from the first coupling state to the second coupling state.
It can be understood that, since the position of the optical coupler 114 on the inner wall of the outer rod 112 is known, and the lengths of the inner rod 111 and the outer rod 112 are known, the absolute displacement of the inner rod 111 relative to the outer rod 112 is also determined when the inner rod 111 is slidably extended and retracted to just block the light emitted by the optical detection signal emitter 1141. Since the displacement detected by the photoelectric displacement sensor 113 inevitably has an error during the sliding and expansion of the inner rod 111 relative to the outer rod 112, the error is accumulated as the expansion and contraction times increase. Therefore, when the output of the optical coupler 114 is switched from the first coupling state to the second coupling state, the absolute displacement of the inner rod 111 with respect to the outer rod 112 can be set as the output of the photoelectric displacement sensor 113, thereby achieving correction of the error of the photoelectric displacement sensor 113.
The selfie stick 100 further comprises a transmitter 115 and a fixing frame 116, wherein the fixing frame 116 is connected with one end of the stick body 10 and is used for fixing the terminal 300. The emitter 115 is electrically connected to the photoelectric displacement sensor 113 and the optical coupler 114, and is configured to calculate a length of the selfie stick 100 according to the displacement, and send the length of the selfie stick 100 to the terminal 300, so as to trigger the terminal 300 to adjust an imaging parameter according to the length of the selfie stick 100. It is understood that the transmitter 115 can also directly transmit the position detected by the photoelectric displacement sensor 113 to the terminal 300, and the terminal 300 calculates the length of the selfie stick 100 according to the displacement. The transmitter 115 may be a bluetooth or Wi-Fi probe transmitter, and is configured to establish a communication connection with the terminal 300. The terminal 300 may be a smart phone, a digital camera, or the like. The imaging parameters may be focal length, zoom factor, etc.
In one embodiment, the detecting a length of the selfie stick by a laser distance sensor disposed in a body of the selfie stick includes:
emitting a detection signal through a detection signal emitter arranged at one end of the selfie stick;
receiving the detection signal through a detection signal receiver arranged at the other end of the selfie stick;
and calculating the time difference between the emission and the reception of the detection signal, and calculating the length of the self-timer rod according to the time difference and the propagation speed of the detection signal.
Referring to fig. 3, in the present embodiment, a selfie stick 200 using the photographing control method is provided, including a stick body 20, the stick body 20 includes at least two hollow stick members 21 nested in sequence, and the hollow stick members 21 can be relatively extended or contracted, so as to adjust the length of the selfie stick 200. Any two adjacent hollow rods 21 form a first-stage nested telescopic structure 210, each stage of the nested telescopic structure 210 comprises an inner rod 211 and an outer rod 212, the outer rod 212 of each stage of the nested telescopic structure 210 serves as the inner rod of the previous stage of the nested telescopic structure, and the inner rod 211 of each stage of the nested telescopic structure 210 serves as the outer rod of the next stage of the nested telescopic structure.
The selfie stick 200 further comprises a ranging sensor 220, the ranging sensor 220 comprises a detection signal transmitter 221 and a detection signal receiver 222, the detection signal transmitter 221 is arranged at one end of the stick body 20 and used for transmitting a detection signal, the detection signal receiver 222 is arranged at the other end of the stick body 20 and used for receiving the detection signal, the ranging sensor 220 is used for calculating a time difference between transmission and reception of the detection signal and calculating the length of the selfie stick 200 according to the time difference and the propagation speed of the detection signal.
The inner rod 211 comprises a nested end 2111, the outer rod 212 comprises a nesting end 2121, and the nested end 2111 of the inner rod is slidably nested within the outer rod 212 by the nesting end 2121. The inner rod 211 and the outer rod 212 of each stage of the nested telescoping structures 210 can be relatively stretched or contracted, thereby changing the length of each stage of the nested telescoping structures 210. During the sliding extension or contraction of the inner rod 211 relative to the outer rod 212, the probe signal emitter 221 emits a probe signal, which passes through the inner cavity of the sequentially nested hollow rods 21 and is received by the probe signal receiver 222, and the length of the selfie stick 200 can be calculated by calculating the time difference between the emission and the reception of the probe signal and combining the propagation velocity of the probe signal in the air. For example, assuming that the time difference between the transmission and reception of the probe signal is Δ t, the propagation speed of the probe signal in the air is c, the length of the self-timer stick is L, the calculation formula of the length L of the self-timer stick can be expressed as: l ═ Δ t × c. In this embodiment, the distance measuring sensor 220 is a laser distance measuring sensor, and the detection signal is a laser beam. It can be understood that, in order to reduce the reflection of the detection signal during the propagation of the inner cavities of the sequentially nested hollow bars 21 and improve the accuracy of the length measurement of the selfie stick 200, a light absorption paint layer 2101 may be further disposed on the inner wall of the hollow bars 21.
The selfie stick 200 further comprises a transmitter 215 and a fixing frame 216, wherein the fixing frame 216 is connected with one end of the stick body 20 and is used for fixing the terminal 300. The transmitter 215 is electrically connected to the range sensor 220, and is configured to receive the length of the selfie stick 200 output by the range sensor 220, and send the length of the selfie stick 200 to the terminal 300, so as to trigger the terminal 200 to adjust an imaging parameter according to the length of the selfie stick 200. Wherein the transmitter 215 may be a bluetooth, Wi-Fi transmitter for establishing a communication connection with the terminal 300. The terminal 300 may be a smart phone, a digital camera, or the like. The imaging parameters may be focal length, zoom factor, etc.
Referring to fig. 4, in an embodiment, the controlling the terminal to adjust the imaging parameter according to the target distance includes:
step 401: calculating a zoom multiple required for reaching a preset imaging proportion according to the target distance;
step 402: if the zoom multiple is smaller than or equal to the maximum optical zoom multiple of the terminal, controlling the terminal to perform optical zooming;
step 403: and if the zoom multiple is larger than the maximum optical zoom multiple of the terminal, controlling the terminal to carry out digital zoom on the basis of the maximum optical zoom.
In particular, the camera of the terminal can have optical zooming and digital zooming functions, wherein the optical zooming is to change the focal length of the lens by changing the relative position of each lens in the zoom lens of the camera, the image quality loss is small, and a good zooming effect can be obtained. Digital zooming is an effect of zooming an image captured by a camera by an image processing algorithm (for example, interpolation) and is equivalent to a focal length change, but digital zooming inevitably loses the quality of an image, and is therefore generally used as an auxiliary zooming means. In this embodiment, the zoom factor required for reaching the preset imaging ratio is calculated according to the target distance, and when the zoom factor is less than or equal to the maximum optical zoom factor of the terminal, the terminal is controlled to perform optical zoom, so as to ensure a good zoom effect. And when the zoom multiple is larger than the maximum optical zoom multiple of the terminal, controlling the terminal to carry out digital zoom on the basis of the maximum optical zoom. For example, if the zoom factor required to achieve the preset imaging ratio is 5 times and the maximum optical zoom factor of the terminal is 3 times, the terminal is controlled to perform 3 times of optical zoom first, and then digital zoom is performed on the basis of the optical zoom, and finally the imaging effect of 5 times of zoom is achieved. Therefore, the zooming performance of the camera of the terminal can be fully utilized, and the image imaging quality is improved.
Referring to fig. 5, in an embodiment, the controlling the terminal to adjust the imaging parameter according to the target distance includes:
step 501: comparing the target distance with a first preset focal length of the terminal, and comparing the target distance with a second preset focal length of the terminal;
step 502: if the target distance is equal to the first preset focal length, controlling the terminal to select a first camera for imaging; or,
step 503: if the target distance is larger than the first preset focal length and smaller than the second preset focal length, controlling the terminal to select a first camera and a second camera to perform fusion imaging; or,
step 504: if the target distance is equal to the second preset focal length, controlling the terminal to select a second camera for imaging; or,
step 505: and if the target distance is greater than the second preset focal length, controlling the terminal to select a second camera to perform digital zoom imaging.
Specifically, in this embodiment, the terminal may include a first camera and a second camera, where the first camera has a first preset focal length and the second camera has a second preset focal length. The first focal length is smaller than the second focal length, the first camera is a wide-angle camera, and the second camera is a long-focus camera. It can be understood that the first camera and the second camera can be respectively and independently turned on and can independently image; the two can be started simultaneously and imaged simultaneously, and then a final fused image is obtained through image fusion. The wide-angle lens is suitable for short-distance photographing due to the large field angle and the short focal length; the telephoto lens is small in field angle and long in focal length, and is suitable for long-distance photographing, so that when the double-camera fusion photographing is adopted, a first image with a large visual angle can be obtained through the first camera, a second image after local zooming and amplification is obtained through the second camera, and then the first image and the second image are fused through an image fusion algorithm to obtain a fusion image approximate to an optical zooming effect, so that the image quality is ensured.
After the terminal acquires the length of the self-timer rod and calculates the target distance according to the length of the self-timer rod, the target distance can be compared with the first preset focal length and the second preset focal length respectively, and then different imaging modes can be selected according to the section where the target distance is located. For example, assume that the target distance is f, the first preset focal length is f1, the second preset focal length is f2, f1 < f2, and typically f ≧ f 1. If f is f1, controlling the terminal to select a first camera to form an image and output the image; if f is greater than f1 and less than f2, controlling the terminal to select the first camera and the second camera to perform fusion imaging and output a fused image; if f is f2, controlling the terminal to select a second camera to form an image and output the image; and if f is larger than f2, controlling the terminal to select the second camera for imaging, and digitally amplifying and outputting an image imaged by the second camera according to the proportional relation between f and f 2.
In one embodiment, the controlling the terminal to select the first camera and the second camera to perform fused imaging includes:
controlling the first camera to image and output a first image of the shooting object;
controlling the second camera to image and output a second image of the shooting object;
and taking the first image as a main image and the second image as an auxiliary image to perform image fusion to form a fused image of the shot object.
Specifically, a view angle (FOV) of the first camera is larger than a view angle of the second camera, and therefore, the first image existence partial region overlaps with the second image. Meanwhile, the focal length of the first camera is smaller than that of the second camera, so that the second image is amplified by a certain factor relative to the image overlapping region of the second image in the first image. It can be understood that, when the first camera and the second camera are used for fusion imaging, the target object is in the overlapping region, and the first image includes a wider background region relative to the second image besides the target object, so as to present a wide-angle imaging effect; and the target object in the second image is at a greater magnification than the target object in the first image, thereby presenting a tele-imaging pass. On the basis, the first image is used as a main image, the second image is used as an auxiliary image, and then the image fusion processing is carried out, so that a fused image similar to an optical zoom effect can be obtained. It is understood that the fused image may contain a wider background region than the second image, and the data of the background region is obtained by fusing the data of the background region of the first image; meanwhile, the fused image also has a zooming effect similar to the second image, and zooming data corresponding to the zooming effect is obtained by fusing the zooming data of the second image. Therefore, the terminal can be controlled to select different cameras to image according to the different lengths of the self-timer rods, namely the different target distances, so as to realize a better imaging effect. Meanwhile, when the target distance is between the first preset focal length and the second preset focal length, the terminal is controlled to select the first camera and the second camera to perform fusion imaging, and therefore the imaging effect of simulating optical zooming is achieved through the double cameras.
Referring to fig. 6, in an embodiment of the present invention, a terminal 60 is provided, including:
a length acquisition unit 61 for acquiring the length of the selfie stick detected by a photoelectric displacement sensor or a laser distance sensor provided in the body of the selfie stick;
a distance determining unit 62 for determining a target distance between the shooting object and the terminal according to the length of the self-timer rod;
and the photographing control unit 63 is used for controlling the terminal to adjust imaging parameters according to the target distance.
Referring to fig. 7, in one embodiment, the length obtaining unit 61 includes:
a displacement acquisition unit 611, configured to acquire a displacement of the inner rod member of each level of the nested telescopic structure of the selfie stick relative to the outer rod member, which is detected by the photoelectric displacement sensor; the rod body comprises at least two rod pieces which are sequentially nested, and any two adjacent rod pieces form a primary nested telescopic structure;
and a length calculating unit 612, configured to calculate a length of the self-timer rod according to displacement of the inner rod relative to the outer rod of each stage of the nested telescopic structure.
Referring to fig. 8, in one embodiment, the length obtaining unit 61 includes:
a transmitted signal acquiring unit 613 for acquiring a detection signal transmitted by a detection signal transmitter provided at one end of the selfie stick;
a received signal acquiring unit 614 for acquiring a detection signal received by a detection signal receiver provided at the other end of the self-timer stick;
the length calculating unit 612 is further configured to calculate a time difference between transmission and reception of the detection signal, and calculate a length of the self-timer rod according to the time difference and a propagation speed of the detection signal.
Referring to fig. 9, in one embodiment, the photographing control unit 63 includes:
a multiple calculating unit 631, configured to calculate a zoom multiple required to achieve a preset imaging ratio according to the target distance;
a zoom control unit 632, configured to control the terminal to perform optical zooming when the zoom factor is less than or equal to a maximum optical zoom factor of the terminal;
the zoom control unit 632 is further configured to control the terminal to perform digital zooming on the basis of the maximum optical zooming when the zoom factor is greater than the maximum optical zooming factor of the terminal.
Referring to fig. 10, in one embodiment, the photographing control unit 63 includes:
a focal length comparing unit 633, configured to compare the target distance with a first preset focal length of the terminal, and compare the target distance with a second preset focal length of the terminal, where the first preset focal length is smaller than the second preset focal length;
an imaging control unit 634, configured to control the terminal to select a first camera for imaging if the target distance is equal to the first preset focal length;
the imaging control unit 634 is further configured to control the terminal to select a first camera and a second camera for fusion imaging when the target distance is greater than the first preset focal length and less than the second preset focal length;
the imaging control unit 634 is further configured to control the terminal to select a second camera for imaging when the target distance is equal to the second preset focal length; and the number of the first and second groups,
the imaging control unit 634 is further configured to control the terminal to select a second camera for digital zoom imaging when the target distance is greater than the second preset focal length.
It can be understood that the functions and specific implementations of the units of the terminal 60 in this embodiment may also refer to the descriptions related to the method embodiments shown in fig. 1 to fig. 5, and are not described herein again.
Referring to fig. 11, in an embodiment of the present invention, a photographing terminal 70 is provided, including:
one or more processors 701; one or more input devices 702, one or more output devices 703, a communication interface 704, a first camera 705, a second camera 706, and a memory 707. The processor 701, the input device 702, the output device 703, the communication interface 704, the first camera 705, the second camera 706, and the memory 707 described above are connected by a bus 708. The memory 707 is used for storing program codes, and the processor 701 is used for calling and executing the program codes stored in the memory 707.
Wherein the communication interface 704 is used for establishing a communication connection with the self-timer stick 100/200 and receiving the length of the self-timer stick 100/200 sent by the transmitter 115. The processor 701 is configured to control the first camera 705 and/or the second camera 706 to adjust an imaging parameter according to the length of the selfie stick 100/200. Meanwhile, the communication interface 704 is also used for receiving shooting control instructions sent by the transmitter 115. The processor 701 is further configured to analyze the shooting control instruction, and control the first camera 705 and/or the second camera 706 to complete image shooting.
It is understood that, in one embodiment, the processor 701 is further configured to obtain the displacement of the inner rod 111 of each stage of the nested telescopic structure 110 of the selfie stick 100 relative to the outer rod 112 detected by the photoelectric displacement sensor 113 disposed on the outer wall of the nested end 1111 of the inner rod 111 or the inner wall of the nested end 1121 of the outer rod 112 of the selfie stick 100, and calculate the length of the selfie stick 100 according to the displacement of the inner rod 111 of each stage of the nested telescopic structure 110 relative to the outer rod 112, so as to control the first camera 705 and/or the second camera 706 to adjust the imaging parameters according to the length of the selfie stick 100.
It is understood that, in an embodiment, the processor 701 is further configured to obtain a detection signal transmitted by a detection signal transmitter 221 disposed at one end of the stick body 20 of the selfie stick 200, obtain a detection signal received by a detection signal receiver 222 disposed at the other end of the stick body 20, calculate a time difference between transmission and reception of the detection signal according to the detection signal transmitted by the detection signal transmitter 221 and the detection signal received by the detection signal receiver 222, calculate a length of the selfie stick 200 according to the time difference and a propagation speed of the detection signal, and control the first camera 705 and/or the second camera 706 to adjust an imaging parameter according to the length of the selfie stick 200.
It is understood that, in the embodiment of the present invention, the Processor 701 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 702 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., the output device 703 may include a display (LCD, etc.), a speaker, etc., and the communication interface 704 may include bluetooth, Wi-Fi, etc.
The memory 707 may include a read-only memory and a random access memory, and provides instructions and data to the processor 701. A portion of the memory 707 may also include non-volatile random access memory. For example, the memory 707 may also store information of device types.
Those of ordinary skill in the art will appreciate that the elements and steps of the various examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described embodiments of the terminal are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when the terminal is actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (10)

1. A photographing control method, comprising:
detecting the length of a selfie stick through a photoelectric displacement sensor or a laser distance sensor arranged in a stick body of the selfie stick;
determining a target distance between a shooting object and a terminal according to the length of the self-timer rod;
and controlling the terminal to adjust imaging parameters according to the target distance.
2. The method of claim 1, wherein said detecting a length of a selfie stick via a photoelectric displacement sensor disposed within a body of the selfie stick comprises:
detecting the displacement of an inner rod piece of each level of nested telescopic structures of the selfie stick relative to an outer rod piece through a photoelectric displacement sensor; the rod body comprises at least two rod pieces which are sequentially nested, and any two adjacent rod pieces form a primary nested telescopic structure;
and calculating the length of the self-timer rod according to the displacement of the inner rod relative to the outer rod of each level of the nested telescopic structure.
3. The method of claim 1, wherein detecting the length of a selfie stick via a laser distance sensor disposed within a body of the selfie stick comprises:
emitting a detection signal through a detection signal emitter arranged at one end of the selfie stick;
receiving the detection signal through a detection signal receiver arranged at the other end of the selfie stick;
and calculating the time difference between the emission and the reception of the detection signal, and calculating the length of the self-timer rod according to the time difference and the propagation speed of the detection signal.
4. The method according to any one of claims 1-3, wherein the controlling the terminal to adjust imaging parameters according to the target distance comprises:
calculating a zoom multiple required for reaching a preset imaging proportion according to the target distance;
if the zoom multiple is smaller than or equal to the maximum optical zoom multiple of the terminal, controlling the terminal to perform optical zooming;
and if the zoom multiple is larger than the maximum optical zoom multiple of the terminal, controlling the terminal to carry out digital zoom on the basis of the maximum optical zoom.
5. The method according to any one of claims 1-3, wherein the controlling the terminal to adjust imaging parameters according to the target distance comprises:
comparing the target distance with a first preset focal length of the terminal, and comparing the target distance with a second preset focal length of the terminal, wherein the first preset focal length is smaller than the second preset focal length;
if the target distance is equal to the first preset focal length, controlling the terminal to select a first camera for imaging; or,
if the target distance is larger than the first preset focal length and smaller than the second preset focal length, controlling the terminal to select a first camera and a second camera to perform fusion imaging; or,
if the target distance is equal to the second preset focal length, controlling the terminal to select a second camera for imaging; or,
and if the target distance is greater than the second preset focal length, controlling the terminal to select a second camera to perform digital zoom imaging.
6. A terminal, comprising:
a length acquisition unit for acquiring the length of a selfie stick detected by a photoelectric displacement sensor or a laser distance sensor arranged in a stick body of the selfie stick;
the distance determining unit is used for determining the target distance between a shooting object and a terminal according to the length of the self-timer rod;
and the photographing control unit is used for controlling the terminal to adjust imaging parameters according to the target distance.
7. The terminal of claim 6, wherein the length acquisition unit comprises:
the displacement acquisition unit is used for acquiring the displacement of the inner rod piece of each level of the nested telescopic structure of the selfie stick relative to the outer rod piece, which is detected by the photoelectric displacement sensor; the rod body comprises at least two rod pieces which are sequentially nested, and any two adjacent rod pieces form a primary nested telescopic structure;
and the length calculating unit is used for calculating the length of the self-timer rod according to the displacement of the inner rod piece of each level of the nested telescopic structure relative to the outer rod piece.
8. The terminal of claim 6, wherein the length acquisition unit comprises:
a transmission signal acquisition unit for acquiring a detection signal transmitted by a detection signal transmitter provided at one end of the selfie stick;
a received signal acquiring unit for acquiring a detection signal received by a detection signal receiver provided at the other end of the selfie stick;
and the length calculating unit is used for calculating the time difference between the emission and the reception of the detection signal and calculating the length of the self-timer according to the time difference and the propagation speed of the detection signal.
9. The terminal according to any one of claims 6 to 8, wherein the photographing control unit comprises:
the multiple calculating unit is used for calculating the zoom multiple required by reaching the preset imaging proportion according to the target distance;
the zoom control unit is used for controlling the terminal to perform optical zooming under the condition that the zoom multiple is smaller than or equal to the maximum optical zoom multiple of the terminal;
the zoom control unit is further used for controlling the terminal to perform digital zooming on the basis of the maximum optical zooming when the zoom multiple is larger than the maximum optical zooming multiple of the terminal.
10. The terminal according to any one of claims 6 to 8, wherein the photographing control unit comprises:
the focal length comparison unit is used for comparing the target distance with a first preset focal length of the terminal and comparing the target distance with a second preset focal length of the terminal, wherein the first preset focal length is smaller than the second preset focal length;
the imaging control unit is used for controlling the terminal to select a first camera for imaging under the condition that the target distance is equal to the first preset focal length; or,
under the condition that the target distance is greater than the first preset focal length and less than the second preset focal length, controlling the terminal to select a first camera and a second camera for fusion imaging; or,
under the condition that the target distance is equal to the second preset focal length, controlling the terminal to select a second camera for imaging; or,
and controlling the terminal to select a second camera to perform digital zoom imaging under the condition that the target distance is greater than the second preset focal length.
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 true CN106341593A (en) 2017-01-18
CN106341593B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277360A (en) * 2017-07-17 2017-10-20 惠州Tcl移动通信有限公司 A kind of dual camera switching carries out method, mobile terminal and the storage device of zoom
CN107277394A (en) * 2017-06-15 2017-10-20 上海大兮软件科技有限公司 A kind of self-heterodyne system based on mixed reality technology
CN110661970A (en) * 2019-09-03 2020-01-07 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
WO2020187197A1 (en) * 2019-03-19 2020-09-24 杭州海康威视数字技术股份有限公司 Zooming method for imaging device, and image processing method and imaging device
CN112601028A (en) * 2021-03-02 2021-04-02 浙江华创视讯科技有限公司 Image pickup control method and device, computer equipment and storage medium

Citations (6)

* 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
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

Patent Citations (6)

* 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
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

Cited By (11)

* 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
CN107277360A (en) * 2017-07-17 2017-10-20 惠州Tcl移动通信有限公司 A kind of dual camera switching carries out method, mobile terminal and the storage device of zoom
WO2019015571A1 (en) * 2017-07-17 2019-01-24 惠州Tcl移动通信有限公司 Method for zooming by switching between dual cameras, mobile terminal and storage device
US11050915B2 (en) 2017-07-17 2021-06-29 Huizhou Tcl Mobile Communication Co., Ltd. Method for zooming by switching between dual cameras, mobile terminal, and storage apparatus
WO2020187197A1 (en) * 2019-03-19 2020-09-24 杭州海康威视数字技术股份有限公司 Zooming method for imaging device, and image processing method and imaging device
US11588974B2 (en) 2019-03-19 2023-02-21 Hangzhou Hikvision Digital Technology Co., Ltd. Zooming method for imaging device, and image processing method and imaging device
CN110661970A (en) * 2019-09-03 2020-01-07 RealMe重庆移动通信有限公司 Photographing method and device, storage medium and electronic 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
CN112601028A (en) * 2021-03-02 2021-04-02 浙江华创视讯科技有限公司 Image pickup control method and device, computer equipment and storage medium
CN112601028B (en) * 2021-03-02 2021-05-04 浙江华创视讯科技有限公司 Image pickup control method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106341593B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN106341593B (en) Camera control method and terminal
US10564392B2 (en) Imaging apparatus and focus control method
KR101990073B1 (en) Method and apparatus for shooting and storing multi-focused image in electronic device
KR102299566B1 (en) Systems and methods for autofocus trigger
CN104363378B (en) camera focusing method, device and terminal
WO2020221012A1 (en) Method for determining motion information of image feature point, task execution method, and device
US10277889B2 (en) Method and system for depth estimation based upon object magnification
RU2612892C2 (en) Method and device of auto focus
WO2013146269A1 (en) Image capturing device, image processing method, and program
JP2012185161A (en) Method for measuring real dimension of object by using camera included in portable terminal
WO2012063376A1 (en) Device for processing stereo images, method for processing stereo images, and program
KR101259598B1 (en) Apparatus and Method for Providing Road View
KR20170020736A (en) Method, apparatus and terminal device for determining spatial parameters by image
KR100955386B1 (en) Apparatus for measuring the distance in golf course and method for measuring the distance using the same
CN106303277A (en) The parameter control method of light compensating lamp, terminal and self-shooting bar
CN104215216A (en) Ranging device and terminal
CN112204941A (en) Camera device
CN104282041A (en) Three-dimensional modeling method and device
CN111083375A (en) Focusing method and electronic equipment
KR20140142441A (en) Shooting Method for Three-Dimensional Modeling And Electrical Device Thereof
EP2981065B1 (en) Light metering method and device
CN112911059B (en) Photographing method and device, electronic equipment and readable storage medium
KR20100033634A (en) Distance estimation apparatus and method
KR101684337B1 (en) Smart terminal and Method for measurement of object length using the same
CN114422706A (en) Shooting parameter adjusting method and device, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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