HK1237162B - Control method, control device and electronic apparatus - Google Patents
Control method, control device and electronic apparatus Download PDFInfo
- Publication number
- HK1237162B HK1237162B HK17110805.5A HK17110805A HK1237162B HK 1237162 B HK1237162 B HK 1237162B HK 17110805 A HK17110805 A HK 17110805A HK 1237162 B HK1237162 B HK 1237162B
- Authority
- HK
- Hong Kong
- Prior art keywords
- focus
- imaging device
- imaging
- control
- focusing
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及成像技术,特别涉及一种控制方法、控制装置及电子装置。The present invention relates to imaging technology, and in particular to a control method, a control device and an electronic device.
背景技术Background Art
相机若在对焦时接收到成像命令,一般是在经历一段等待时间之后进行成像。等待时间出厂时便已设置好,若等待时间太短,相机容易在对焦未完成时便成像,导致拍摄出的图像品质不高。若等待时间太长,在对焦完成前相机一直处于等待状态,从而影响相机的工作效率。When the camera receives an image capture command while focusing, it typically waits for a period of time before capturing the image. This waiting time is set at the factory. If the waiting time is too short, the camera may capture the image before focusing is complete, resulting in poor image quality. If the waiting time is too long, the camera will remain in a waiting state until focusing is complete, affecting its efficiency.
发明内容Summary of the Invention
本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明的实施例提供一种控制方法、控制装置及电子装置。The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, embodiments of the present invention provide a control method, a control device, and an electronic device.
一种控制方法,用于控制电子装置,所述电子装置包括成像装置,所述控制方法包括以下步骤:A control method for controlling an electronic device, wherein the electronic device includes an imaging device, the control method comprising the following steps:
在接收到成像命令时判断所述成像装置是否合焦;determining whether the imaging device is in focus upon receiving an imaging command;
在所述成像装置未合焦时,根据所述成像装置的当前帧率和预设对焦帧数确定成像等待时间的阈值;When the imaging device is not in focus, determining a threshold value of the imaging waiting time according to the current frame rate of the imaging device and a preset number of focus frames;
在所述成像等待时间小于所述阈值时控制所述成像装置进行对焦;和controlling the imaging device to focus when the imaging waiting time is less than the threshold; and
在所述成像等待时间大于或等于所述阈值时控制所述成像装置成像。The imaging device is controlled to perform imaging when the imaging waiting time is greater than or equal to the threshold.
一种控制装置,用于控制电子装置,所述电子装置包括成像装置,所述控制装置包括第一判断模块、确定模块、第一控制模块和第二控制模块。A control device is provided for controlling an electronic device, wherein the electronic device includes an imaging device. The control device includes a first judgment module, a determination module, a first control module, and a second control module.
所述第一判断模块用于在接收到成像命令时判断所述成像装置是否合焦。The first determination module is configured to determine whether the imaging device is in focus upon receiving an imaging command.
所述确定模块用于在所述成像装置未合焦时,根据所述成像装置的当前帧率和预设对焦帧数确定成像等待时间的阈值。The determining module is used to determine a threshold value of the imaging waiting time according to a current frame rate of the imaging device and a preset number of focus frames when the imaging device is not in focus.
所述第一控制模块用于在所述成像等待时间小于所述阈值时控制所述成像装置进行对焦。The first control module is used to control the imaging device to focus when the imaging waiting time is less than the threshold.
所述第二控制模块用于在所述成像等待时间大于或等于所述阈值时控制所述成像装置成像。The second control module is used to control the imaging device to perform imaging when the imaging waiting time is greater than or equal to the threshold.
一种电子装置包括成像装置和所述控制装置,所述控制装置与所述成像装置电连接。An electronic device includes an imaging device and the control device, wherein the control device is electrically connected to the imaging device.
本发明的控制方法、控制装置及电子装置根据成像装置的当前帧率和预设对焦帧数确定成像装置在未合焦时进行成像需要的等待时间,从而在合理的等待时间后获得品质较高的图像,提高了成像装置的工作效率。The control method, control device and electronic device of the present invention determine the waiting time required for the imaging device to perform imaging when it is not in focus based on the current frame rate of the imaging device and the preset focus frame number, thereby obtaining a high-quality image after a reasonable waiting time, thereby improving the working efficiency of the imaging device.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments with reference to the following drawings, in which:
图1是本发明实施方式的控制方法的流程示意图;FIG1 is a schematic flow chart of a control method according to an embodiment of the present invention;
图2是本发明实施方式的控制装置的功能模块示意图;FIG2 is a schematic diagram of functional modules of a control device according to an embodiment of the present invention;
图3是本发明实施方式的电子装置的结构示意图;FIG3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图4是本发明某些实施方式的控制方法的流程示意图;FIG4 is a schematic flow chart of a control method according to certain embodiments of the present invention;
图5是本发明某些实施方式的控制装置的功能模块示意图;FIG5 is a schematic diagram of functional modules of a control device according to certain embodiments of the present invention;
图6是本发明某些实施方式的控制方法的流程示意图;FIG6 is a schematic flow chart of a control method according to certain embodiments of the present invention;
图7是本发明某些实施方式的确定模块的功能模块示意图;FIG7 is a schematic diagram of functional modules of a determination module according to certain embodiments of the present invention;
图8是本发明某些实施方式的控制方法的流程示意图;FIG8 is a schematic flow chart of a control method according to certain embodiments of the present invention;
图9是本发明某些实施方式的成像装置的结构示意图;FIG9 is a schematic structural diagram of an imaging device according to some embodiments of the present invention;
图10是本发明某些实施方式的第一控制模块的功能模块示意图;FIG10 is a functional module diagram of a first control module according to certain embodiments of the present invention;
图11是本发明某些实施方式的控制方法的流程示意图;FIG11 is a flow chart of a control method according to certain embodiments of the present invention;
图12是本发明某些实施方式的控制装置的功能模块示意图。FIG12 is a schematic diagram of functional modules of a control device according to certain embodiments of the present invention.
主要元件符号说明:Description of main component symbols:
电子装置100、控制装置10、第一判断模块11、确定模块12、第一计算单元122、获取单元124、第二计算单元126、第一控制模块13、第一控制单元131、第一处理单元133、第二控制单元135、第二处理单元137、确定单元139、第二控制模块14、第三控制模块15、第二判断模块16、第四控制模块17、成像装置20、对焦镜片22、马达24。Electronic device 100, control device 10, first judgment module 11, determination module 12, first calculation unit 122, acquisition unit 124, second calculation unit 126, first control module 13, first control unit 131, first processing unit 133, second control unit 135, second processing unit 137, determination unit 139, second control module 14, third control module 15, second judgment module 16, fourth control module 17, imaging device 20, focusing lens 22, motor 24.
具体实施方式DETAILED DESCRIPTION
下面详细描述本发明的实施方式,所述实施方式的实施方式在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。The embodiments of the present invention are described in detail below. Implementations of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention and are not to be construed as limiting the present invention.
请参阅图1,本发明实施方式的控制方法可以用于控制电子装置,电子装置包括成像装置,控制方法包括以下步骤:Referring to FIG. 1 , a control method according to an embodiment of the present invention may be used to control an electronic device, including an imaging device. The control method includes the following steps:
S11:在接收到成像命令时判断成像装置是否合焦;S11: upon receiving an imaging command, determining whether the imaging device is in focus;
S12:在成像装置未合焦时,根据成像装置的当前帧率和预设对焦帧数确定成像等待时间的阈值;S12: When the imaging device is not in focus, determining a threshold value of the imaging waiting time according to the current frame rate of the imaging device and a preset number of focus frames;
S13:在成像等待时间小于阈值时控制成像装置进行对焦;和S13: controlling the imaging device to focus when the imaging waiting time is less than a threshold; and
S14:在成像等待时间大于或等于阈值时控制成像装置成像。S14: When the imaging waiting time is greater than or equal to the threshold, the imaging device is controlled to perform imaging.
请一并参阅图2和图3,本发明实施方式的控制装置10可以用于控制电子装置100。电子装置100还可以包括成像装置20。2 and 3 , the control device 10 according to the embodiment of the present invention can be used to control an electronic device 100 . The electronic device 100 can further include an imaging device 20 .
控制装置10包括第一判断模块11、确定模块12、第一控制模块13和第二控制模块14。第一判断模块11用于在接收到成像命令时判断成像装置20是否合焦。确定模块12用于在成像装置20未合焦时,根据成像装置20的当前帧率和预设对焦帧数确定成像等待时间的阈值。第一控制模块13用于在成像等待时间小于阈值时控制成像装置20进行对焦。第二控制模块14用于在成像等待时间大于或等于阈值时控制成像装置20成像。The control device 10 includes a first judgment module 11, a determination module 12, a first control module 13, and a second control module 14. The first judgment module 11 is configured to determine whether the imaging device 20 is in focus upon receiving an imaging command. If the imaging device 20 is not in focus, the determination module 12 is configured to determine a threshold for the imaging wait time based on the current frame rate of the imaging device 20 and a preset number of focus frames. The first control module 13 is configured to control the imaging device 20 to focus when the imaging wait time is less than the threshold. The second control module 14 is configured to control the imaging device 20 to perform imaging when the imaging wait time is greater than or equal to the threshold.
也即是说,本发明实施方式的控制方法可以由本发明实施方式的控制装置10实现,其中,步骤S11可以由第一判断模块11实现,步骤S12可以由确定模块12实现,步骤S13可以由第一控制模块13实现,步骤S14可以由第二控制模块14实现。That is to say, the control method of the embodiment of the present invention can be implemented by the control device 10 of the embodiment of the present invention, wherein step S11 can be implemented by the first judgment module 11, step S12 can be implemented by the determination module 12, step S13 can be implemented by the first control module 13, and step S14 can be implemented by the second control module 14.
在某些实施方式中,本发明实施方式的控制装置10可以应用于本发明实施方式的电子装置100,或者说本发明实施方式的电子装置100包括本发明实施方式的控制装置10。In some embodiments, the control device 10 according to the embodiment of the present invention may be applied to the electronic device 100 according to the embodiment of the present invention, or the electronic device 100 according to the embodiment of the present invention includes the control device 10 according to the embodiment of the present invention.
本发明实施方式的控制方法、控制装置10及电子装置100根据成像装置20的当前帧率和预设对焦帧数确定成像装置20在未合焦时进行成像需要的等待时间,从而在合理的等待时间后获得品质较高的图像,提高用户体验。The control method, control device 10 and electronic device 100 of the embodiment of the present invention determine the waiting time required for the imaging device 20 to perform imaging when it is not in focus based on the current frame rate of the imaging device 20 and the preset focus frame number, thereby obtaining a higher quality image after a reasonable waiting time and improving the user experience.
可以理解,若成像装置20在未合焦时接收到成像命令,为了保证图像的品质,成像装置20一般在成像等待时间大于或等于阈值时才进行成像。成像等待时间太长或太短都影响了用户的体验,所以可以根据成像装置20的当前帧率和预设对焦帧数确定成像等待时间的阈值,从而均衡成像等待时间和图像品质等多个方面的需求。It is understood that if the imaging device 20 receives an imaging command while it is not in focus, to ensure image quality, the imaging device 20 generally waits for the imaging wait time to be greater than or equal to a threshold before imaging begins. Both excessively long and short imaging wait times can negatively impact the user experience. Therefore, a threshold for the imaging wait time can be determined based on the current frame rate of the imaging device 20 and the preset number of focus frames, thereby balancing requirements for imaging wait time and image quality.
在某些实施方式中,电子装置100包括手机、平板电脑、智能手表、笔记本电脑、智能手环、智能眼镜或智能头盔。在本发明实施方式中,电子装置100是手机。In some embodiments, the electronic device 100 includes a mobile phone, a tablet computer, a smart watch, a laptop computer, a smart bracelet, smart glasses, or a smart helmet. In an embodiment of the present invention, the electronic device 100 is a mobile phone.
在某些实施方式中,成像装置20包括前置相机或后置相机。在本发明实施方式中,成像装置20是前置相机。In some embodiments, the imaging device 20 includes a front camera or a rear camera. In an embodiment of the present invention, the imaging device 20 is a front camera.
请参阅图4,在某些实施方式中,控制方法包括以下步骤:Referring to FIG4 , in certain embodiments, the control method includes the following steps:
S15:在成像装置合焦时,控制成像装置成像。S15: When the imaging device is in focus, controlling the imaging device to form an image.
请参阅图5,在某些实施方式中,控制装置10还包括第三控制模块15。第三控制模块15用于在成像装置20合焦时,控制成像装置20成像。5 , in some embodiments, the control device 10 further includes a third control module 15. The third control module 15 is configured to control the imaging device 20 to form an image when the imaging device 20 is in focus.
也即是说,步骤S15可以由第三控制模块15实现。That is to say, step S15 can be implemented by the third control module 15 .
如此,若在接收到成像命令时,成像装置20已经合焦,那么成像装置可直接成像,从而不用经过成像等待时间,加快成像速度,提高用户体验。In this way, if the imaging device 20 has already achieved focus when receiving the imaging command, the imaging device can directly form an image without having to wait for imaging, thereby speeding up the imaging speed and improving the user experience.
请参阅图6,在某些实施方式中,步骤S12包括以下步骤:Referring to FIG. 6 , in some embodiments, step S12 includes the following steps:
S122:根据曝光时间计算当前帧率;S122: Calculate the current frame rate according to the exposure time;
S124:获取预设对焦帧数;和S124: Obtaining a preset focus frame number; and
S126:根据当前帧率与预设对焦帧数计算阈值。S126: Calculating a threshold value according to the current frame rate and the preset focus frame number.
请参阅图7,在某些实施方式中,确定模块12包括第一计算单元122、获取单元124和第二计算单元126。第一计算单元122用于根据曝光时间计算当前帧率。获取单元124用于获取预设对焦帧数。第二计算单元126用于根据当前帧率与预设对焦帧数计算阈值。Referring to FIG. 7 , in some embodiments, the determination module 12 includes a first calculation unit 122, an acquisition unit 124, and a second calculation unit 126. The first calculation unit 122 is configured to calculate the current frame rate based on the exposure time. The acquisition unit 124 is configured to obtain a preset number of focus frames. The second calculation unit 126 is configured to calculate a threshold value based on the current frame rate and the preset number of focus frames.
也即是说,步骤S122可以由第一计算单元122实现,步骤S124可以由获取单元124实现,步骤S126可以由第二计算单元126实现。That is, step S122 may be implemented by the first computing unit 122 , step S124 may be implemented by the acquiring unit 124 , and step S126 may be implemented by the second computing unit 126 .
如此,在不同情况下,如不同环境亮度,可以确定成像装置20对焦所需的时间,从而确定成像等待时间的阈值。In this way, under different circumstances, such as different ambient brightness, the time required for the imaging device 20 to focus can be determined, thereby determining the threshold of the imaging waiting time.
在某些实施方式中,成像装置20可以设置为自动曝光模式。In some embodiments, the imaging device 20 may be set to an automatic exposure mode.
如此,成像装置20的当前帧率会随着环境亮度的变化而变化,例如,在环境亮度较高的情况下,成像装置20的曝光时间较短,当前帧率较大;在环境亮度较低的情况下,成像装置20的曝光时间增加,当前帧率较小。In this way, the current frame rate of the imaging device 20 will change with the change of ambient brightness. For example, when the ambient brightness is high, the exposure time of the imaging device 20 is short and the current frame rate is high; when the ambient brightness is low, the exposure time of the imaging device 20 increases and the current frame rate is low.
在某些实施方式中,对焦方式可以是反差式对焦。反差式对焦是通过比较每帧图像的对比度来确定成像装置20的合焦位置。如此,可根据大量实验数据计算出反差式对焦所需的平均帧数。在一个例子中,反差式对焦所需的平均帧数为14帧或15帧。也即是说,预设对焦帧数可以设置为14帧或者15帧。In some embodiments, the focusing method may be contrast focusing. Contrast focusing determines the focal position of the imaging device 20 by comparing the contrast of each frame. Thus, the average number of frames required for contrast focusing can be calculated based on a large amount of experimental data. In one example, the average number of frames required for contrast focusing is 14 or 15 frames. In other words, the preset number of focus frames can be set to 14 or 15 frames.
在某些实施方式中,成像等待时间的阈值可以与预设对焦帧数成正比,与成像装置20的当前帧率成反比。例如,预设对焦帧数为15帧,成像装置20的当前帧率为15帧每秒,那么对焦时间就是1秒,即成像等待时间的阈值为1秒。In some embodiments, the threshold of the imaging wait time may be proportional to the preset number of focus frames and inversely proportional to the current frame rate of the imaging device 20. For example, if the preset number of focus frames is 15 frames and the current frame rate of the imaging device 20 is 15 frames per second, then the focus time is 1 second, that is, the threshold of the imaging wait time is 1 second.
如此,可根据预设对焦帧数和当前帧率确定并设置成像等待时间的阈值。In this way, the threshold of the imaging waiting time can be determined and set according to the preset focus frame number and the current frame rate.
请一并参阅图8和图9,在某些实施方式中,成像装置20包括对焦镜片22和用于驱动对焦镜片22沿光轴在近焦位置和远焦位置之间移动以实现对焦的马达24,步骤S13包括以下步骤:8 and 9 , in some embodiments, the imaging device 20 includes a focus lens 22 and a motor 24 for driving the focus lens 22 to move along the optical axis between a near focus position and a far focus position to achieve focusing. Step S13 includes the following steps:
S131:控制马达驱动对焦镜片从近焦位置向远焦位置以第一步距逐步移动寻焦;S131: Control the motor to drive the focus lens to move from the near focus position to the far focus position step by step to find focus;
S133:处理对焦镜片的每个第一步距对应的缓存图像以判断缓存图像的对比度是否出现第一拐点;S133: Processing the cached image corresponding to each first step of the focus lens to determine whether the contrast of the cached image has a first inflection point;
S135:在出现第一拐点时控制驱动马达驱动对焦镜片返回一步并以第二步距向远焦位置移动,第二步距小于第一步距;S135: When the first inflection point appears, controlling the driving motor to drive the focus lens to return one step and move toward the telefocus position by a second step distance, where the second step distance is smaller than the first step distance;
S137:处理对焦镜片的每个第二步距对应的缓存图像以判断缓存图像的对比度是否出现第二拐点;和S137: Processing the buffered image corresponding to each second step of the focusing lens to determine whether a second inflection point appears in the contrast of the buffered image; and
S139:在出现第二拐点时确定成像装置合焦。S139: Determine whether the imaging device is in focus when the second inflection point appears.
请参阅图10,在某些实施方式中,第一控制模块13包括第一控制单元131、第一处理单元133、第二控制单元135、第二处理单元137和确定单元139。第一控制单元131用于控制马达24驱动对焦镜片22从近焦位置向远焦位置以第一步距逐步移动寻焦。第一处理单元133用于处理对焦镜片22的每个第一步距对应的缓存图像以判断缓存图像的对比度是否出现第一拐点。第二控制单元135用于在出现第一拐点时控制驱动马达24驱动对焦镜片22返回一步并以第二步距向远焦位置移动,第二步距小于第一步距。第二处理单元137用于处理对焦镜片22的每个第二步距对应的缓存图像以判断缓存图像的对比度是否出现第二拐点。确定单元139用于在出现第二拐点时确定成像装置20合焦。Referring to FIG. 10 , in certain embodiments, the first control module 13 includes a first control unit 131, a first processing unit 133, a second control unit 135, a second processing unit 137, and a determination unit 139. The first control unit 131 is configured to control the motor 24 to drive the focus lens 22 to move from a near focus position to a far focus position in steps of a first step to search for focus. The first processing unit 133 is configured to process the cached images corresponding to each first step of the focus lens 22 to determine whether a first inflection point has occurred in the contrast of the cached images. The second control unit 135 is configured to control the drive motor 24 to drive the focus lens 22 to return one step and move toward the far focus position in a second step, the second step being smaller than the first step, when the first inflection point has occurred. The second processing unit 137 is configured to process the cached images corresponding to each second step of the focus lens 22 to determine whether a second inflection point has occurred in the contrast of the cached images. The determination unit 139 is configured to determine whether the imaging device 20 is in focus when the second inflection point has occurred.
也即是说,步骤S131可以由第一控制单元131实现,步骤S133可以由第一处理单元133实现,步骤S135可以由第二控制单元135实现,步骤S137可以由第二处理单元137实现,步骤S139可以由确定单元139实现。That is, step S131 can be implemented by the first control unit 131, step S133 can be implemented by the first processing unit 133, step S135 can be implemented by the second control unit 135, step S137 can be implemented by the second processing unit 137, and step S139 can be implemented by the determination unit 139.
如此,可以控制成像装置20对焦,最终获得成像装置20的合焦位置。In this way, the imaging device 20 can be controlled to focus, and finally the focus position of the imaging device 20 is obtained.
可以理解,拐点是指多帧缓存图像对应的多个对比度的极大值点。由于马达24驱动对焦镜片22的移动,从而使得成像装置20从未合焦状态变成合焦状态,再到合焦状态变为未合焦状态,在整个过程中,缓存图像的对比度先增加再减小,所以出现了一个拐点,即极大值点,此时可以认为成像装置20处于合焦状态。第一拐点是指对焦镜片22以第一步距移动对应的缓存图像的对比度的极大值点,第二拐点是指对焦镜片22以第二步距移动对应的缓存图像的对比度的极大值点。It can be understood that inflection points refer to multiple contrast maxima corresponding to multiple frames of cached images. As motor 24 drives the movement of focus lens 22, causing imaging device 20 to shift from an unfocused state to a focused state and then back to an unfocused state, the contrast of the cached images increases and then decreases throughout this process, resulting in an inflection point, or maximum point, at which point the imaging device 20 can be considered in focus. The first inflection point refers to the contrast maximum point of the cached image corresponding to the first step movement of focus lens 22, and the second inflection point refers to the contrast maximum point of the cached image corresponding to the second step movement of focus lens 22.
可以理解,近焦位置和远焦位置分别是指对焦镜片22移动的起点和终点。在对焦镜片22以第一步距移动过程中,若对应的缓存图像的对比度出现第一拐点,可以判断成像装置20初步合焦。为了提高对焦的精度,对焦镜片22返回一步后以第二步距移动,由于第二步距比第一步距小,所以在出现第二拐点时,成像装置20的合焦位置更加接近精确合焦位置,可以认为成像装置20已经精确合焦。It will be understood that the near focus position and far focus position refer to the starting and ending points of the movement of the focusing lens 22, respectively. During the movement of the focusing lens 22 in the first step, if the contrast of the corresponding cached image shows a first inflection point, it can be determined that the imaging device 20 has initially achieved focus. To improve focusing accuracy, the focusing lens 22 returns one step and then moves in a second step. Because the second step is smaller than the first step, when the second inflection point appears, the imaging device 20's focus position is closer to the precise focus position, and the imaging device 20 can be considered to have achieved precise focus.
请参阅图11,在某些实施方式中,在成像等待时间小于阈值时,控制方法还包括以下步骤:Referring to FIG. 11 , in certain embodiments, when the imaging waiting time is less than a threshold, the control method further includes the following steps:
S16:判断成像装置是否合焦;和S16: Determine whether the imaging device is in focus; and
S17:在成像装置合焦时,控制成像装置成像。S17: When the imaging device is in focus, controlling the imaging device to form an image.
请参阅图12,在某些实施方式中,控制装置10还包括第二判断模块16和第四控制模块17。第二判断模块16用于判断成像装置20是否合焦。第四控制模块17用于在成像装置20合焦时,控制成像装置20成像。12 , in some embodiments, the control device 10 further includes a second determination module 16 and a fourth control module 17. The second determination module 16 is configured to determine whether the imaging device 20 is in focus. The fourth control module 17 is configured to control the imaging device 20 to perform imaging when the imaging device 20 is in focus.
如此,在成像装置20合焦时,控制装置10可控制成像装置20直接成像,而不需要在成像等待时间大于或等于阈值后才进行成像,从而避免不必要的等待时间,加快成像装置20的成像速度。In this way, when the imaging device 20 is in focus, the control device 10 can control the imaging device 20 to directly image without having to wait for the imaging waiting time to be greater than or equal to the threshold, thereby avoiding unnecessary waiting time and speeding up the imaging speed of the imaging device 20.
在本发明的实施方式的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的实施方式的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present invention, "plurality" means two or more, unless otherwise specifically specified.
在本发明的实施方式的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明的实施方式中的具体含义。In the description of the embodiments of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections, electrical connections, or mutual communication; they can refer to direct connections or indirect connections through an intermediate medium; they can refer to internal communication between two components or the interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the embodiments of the present invention based on specific circumstances.
在本说明书的描述中,参考术语“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "example," "specific example," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理模块的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.
应当理解,本发明的实施方式的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the embodiments of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
此外,在本发明的各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing module, each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施方式进行变化、修改、替换和变型。Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims (11)
Publications (3)
| Publication Number | Publication Date |
|---|---|
| HK1237162A1 HK1237162A1 (en) | 2018-04-06 |
| HK1237162A HK1237162A (en) | 2018-04-06 |
| HK1237162B true HK1237162B (en) | 2020-05-08 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109951644B (en) | Control method, control device, and electronic device | |
| EP3641301B1 (en) | Method and apparatus for inhibiting aec jump, and terminal device | |
| CN101548232A (en) | Method and system for providing background blur when capturing an image using an image capture device | |
| JP6063634B2 (en) | Focus adjustment device | |
| CN104252029B (en) | Follow zoom action and carry out picture pick-up device and the image capture method of focusing action | |
| CN107465856B (en) | Image pickup method and device and terminal equipment | |
| JP2011248159A (en) | Imaging apparatus, imaging system, imaging apparatus control method and program | |
| CN107241549A (en) | Imaging method and imaging device for dual cameras | |
| WO2019019820A1 (en) | Method and apparatus for accelerating aec convergence, and terminal device | |
| CN110519504B (en) | Electronic device, control device for electronic device, storage medium, and control method | |
| CN101489047A (en) | Imaging apparatus and program thereof | |
| CN105323471A (en) | Lens device, image pickup device and image pickup system | |
| JP6087714B2 (en) | Imaging apparatus and control method thereof | |
| CN105681668A (en) | Control method, control device and electronic device | |
| CN106338807B (en) | An automatic focusing method, device and terminal | |
| HK1237162B (en) | Control method, control device and electronic apparatus | |
| JP7703505B2 (en) | Imaging device, control device, operation method of imaging device, and program | |
| CN107257437B (en) | Method, device and terminal equipment for accelerating AEC convergence | |
| US10469733B2 (en) | Imaging apparatus, control method of imaging apparatus, and storage medium storing control program of imaging apparatus for controlling focus-related communications | |
| US11449228B2 (en) | Recording control apparatus and control method thereof | |
| JP6112761B2 (en) | Imaging apparatus and control method thereof | |
| HK1237162A (en) | Control method, control device and electronic apparatus | |
| HK1237162A1 (en) | Control method, control device and electronic apparatus | |
| US9692969B2 (en) | Lens apparatus, image capturing apparatus, method of controlling camera system, and storage medium | |
| JP6320095B2 (en) | Imaging device, control method thereof, and control program |