CN104811603B - Auxiliary focusing device and method - Google Patents
Auxiliary focusing device and method Download PDFInfo
- Publication number
- CN104811603B CN104811603B CN201410037022.5A CN201410037022A CN104811603B CN 104811603 B CN104811603 B CN 104811603B CN 201410037022 A CN201410037022 A CN 201410037022A CN 104811603 B CN104811603 B CN 104811603B
- Authority
- CN
- China
- Prior art keywords
- real
- distance
- time imaging
- sharp keen
- angle value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Studio Devices (AREA)
Abstract
本发明提供一种辅助对焦装置与方法,所述方法包括下列步骤,首先于相对待摄物的第一距离撷取第一实时影像。接着,计算第一实时影像的锐利度值。接着,于相对待摄物的第二距离撷取第二实时影像。接着,计算第二实时影像的锐利度值。接着,比较第一实时影像的锐利度值及第二实时影像的锐利度值并传送通知信号,通知信号表示第一距离、第二距离与焦点距离的相对关系。此方法可指示用户待摄物位置与摄影装置的焦点距离的关系,以协助使用者判断适当的移动方向。
The present invention provides an auxiliary focusing device and method, the method comprising the following steps: first, capturing a first real-time image at a first distance relative to the object to be photographed. Then, calculating the sharpness value of the first real-time image. Then, capturing a second real-time image at a second distance relative to the object to be photographed. Then, calculating the sharpness value of the second real-time image. Then, comparing the sharpness value of the first real-time image with the sharpness value of the second real-time image and transmitting a notification signal, the notification signal indicating the relative relationship between the first distance, the second distance and the focal distance. This method can indicate to the user the relationship between the position of the object to be photographed and the focal distance of the photographic device, so as to assist the user in determining the appropriate direction of movement.
Description
技术领域technical field
本发明涉及一种辅助对焦装置及方法,特别是一种针对具有单一焦距的辅助对焦装置及方法。The invention relates to an auxiliary focusing device and method, in particular to an auxiliary focusing device and method with a single focal length.
背景技术Background technique
目前市面上的相机种类繁多,针对对焦功能的话可区分为具有自动对焦功能与没有自动对焦功能的相机,具有自动对焦功能的相机在使用时,使用者仅需要轻按快门即可启动自动对焦,待相机自动对准焦距后再按下快门,即可拍出清晰的照片。但在使用没有对焦功能的相机时,使用者须通过旋转镜头上的对焦环,选取对待摄物而言适当的焦距,待眼睛确认观景窗中待摄物的影像清晰后再按下快门拍照。There are many types of cameras currently on the market. Regarding the focus function, it can be divided into cameras with auto focus function and cameras without auto focus function. When using a camera with auto focus function, the user only needs to tap the shutter button to start auto focus. After the camera automatically adjusts the focus and then press the shutter, you can take a clear photo. However, when using a camera without focusing function, the user must rotate the focus ring on the lens to select an appropriate focal length for the subject to be photographed, and press the shutter button to take a photo after confirming that the subject’s image in the viewing window is clear with the eyes .
但若是镜头并无法选取不同的焦距,即镜头仅具有单一焦距的情形时,用户便需要通过移动位置的方式找到此镜头的焦点距离,待观景窗的待摄物影像因位置移动而从模糊变清晰后即停止移动并按下快门拍照。然而,若没有辅助对焦的设备,使用者不方便判断适当的移动方向或者距离。However, if the lens cannot select different focal lengths, that is, the lens only has a single focal length, the user needs to find the focal length of the lens by moving the position. When it becomes clear, stop moving and press the shutter to take a picture. However, without a focus-assisting device, it is inconvenient for the user to judge the appropriate moving direction or distance.
发明内容Contents of the invention
本发明的目的在于提供一种辅助对焦装置及方法,使其可以辅助用户对焦。The purpose of the present invention is to provide an auxiliary focusing device and method, which can assist a user in focusing.
为实现上述目的,本发明提出一种多媒体管理装置、多媒体管理方法及执行多媒体管理方法的计算机可读取媒体,借由在播放媒体接口上显示播放纪录,以帮助用户可以得知哪些多媒体档案的影像画面已被别的用户所查看。In order to achieve the above object, the present invention proposes a multimedia management device, a multimedia management method, and a computer-readable medium for executing the multimedia management method. By displaying playback records on the playback media interface, the user can know which multimedia files are The video screen has been viewed by another user.
为实现上述目的,本发明提供一种辅助对焦装置,所述辅助对焦装置具有影像撷取模块与图像处理模块。所述影像撷取模块用以于相对待摄物的第一距离撷取第一实时影像及于相对待摄物的第二距离撷取第二实时影像。所述图像处理模块耦接影像撷取模块,图像处理模块用以计算第一实时影像的锐利度值及第二实时影像的锐利度值,比较第一实时影像的锐利度值及第二实时影像的锐利度值并传送通知信号,通知信号表示第一距离、第二距离与焦点距离的相对关系。To achieve the above object, the present invention provides an auxiliary focusing device, the auxiliary focusing device has an image capturing module and an image processing module. The image capturing module is used for capturing a first real-time image at a first distance relative to the object to be photographed and a second real-time image at a second distance relative to the object to be photographed. The image processing module is coupled to the image capture module, and the image processing module is used to calculate the sharpness value of the first real-time image and the sharpness value of the second real-time image, and compare the sharpness value of the first real-time image with the second real-time image and transmit a notification signal, the notification signal represents the relative relationship between the first distance, the second distance and the focus distance.
其中,当该图像处理模块判断第一实时影像的锐利度值大于该第二实时影像的锐利度值时,该第一实时影像的锐利度值为比较一第三实时影像的锐利度值的一门槛值,该第三实时影像被撷取于相对该待摄物的一第三距离。Wherein, when the image processing module determines that the sharpness value of the first real-time image is greater than the sharpness value of the second real-time image, the sharpness value of the first real-time image is compared with a sharpness value of a third real-time image. Threshold value, the third real-time image is captured at a third distance relative to the object to be photographed.
其中,当该图像处理模块判断第一实时影像的锐利度值小于该第二实时影像的锐利度值时,该第二实时影像的锐利度值为比较一第三实时影像的锐利度值的一门槛值,该第三实时影像被撷取于相对该待摄物的一第三距离。Wherein, when the image processing module determines that the sharpness value of the first real-time image is smaller than the sharpness value of the second real-time image, the sharpness value of the second real-time image is compared with a sharpness value of a third real-time image. Threshold value, the third real-time image is captured at a third distance relative to the object to be photographed.
其中,当该图像处理模块判断该第三实时影像的锐利度值小于该门槛值时,该门槛值为于一移动区域的最大锐利度值。Wherein, when the image processing module determines that the sharpness value of the third real-time image is smaller than the threshold value, the threshold value is the maximum sharpness value in a moving area.
其中,当该图像处理模块判断该第三实时影像的锐利度值等于该移动区域的最大锐利度值时,该通知信号表示该第三距离为该焦点距离。Wherein, when the image processing module determines that the sharpness value of the third real-time image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance is the focus distance.
其中,该通知信号显示于一显示界面上。Wherein, the notification signal is displayed on a display interface.
为实现上述目的,本发明提供一种辅助对焦方法,于相对待摄物的第一距离撷取第一实时影像。计算第一实时影像的锐利度值。于相对待摄物的第二距离撷取第二实时影像。计算第二实时影像的锐利度值以及比较第一实时影像的锐利度值及第二实时影像的锐利度值并传送通知信号,通知信号表示第一距离、第二距离与焦点距离的相对关系。To achieve the above object, the present invention provides an auxiliary focus method for capturing a first real-time image at a first distance from an object to be photographed. A sharpness value of the first real-time image is calculated. A second real-time image is captured at a second distance relative to the object to be photographed. Calculate the sharpness value of the second real-time image and compare the sharpness value of the first real-time image with the sharpness value of the second real-time image and send a notification signal, the notification signal indicates the relative relationship between the first distance, the second distance and the focus distance.
其中,当该第一实时影像的锐利度值大于该第二实时影像的锐利度值时,该第一实时影像的锐利度值为比较一第三实时影像的锐利度值的一门槛值,该第三实时影像被撷取于相对该待摄物的一第三距离。Wherein, when the sharpness value of the first real-time image is greater than the sharpness value of the second real-time image, the sharpness value of the first real-time image is compared with a threshold value of the sharpness value of a third real-time image, the The third real-time image is captured at a third distance relative to the subject.
其中,当该第一实时影像的锐利度值小于该第二实时影像的锐利度值时,该第二实时影像的锐利度值为比较一第三实时影像的锐利度值的一门槛值,该第三实时影像被撷取于相对该待摄物的一第三距离。Wherein, when the sharpness value of the first real-time image is smaller than the sharpness value of the second real-time image, the sharpness value of the second real-time image is compared with a threshold value of the sharpness value of a third real-time image, the The third real-time image is captured at a third distance relative to the subject.
其中,当该第三实时影像的锐利度值小于该门槛值时,该门槛值为于一移动区域的最大锐利度值。Wherein, when the sharpness value of the third real-time image is smaller than the threshold value, the threshold value is the maximum sharpness value in a moving area.
其中,当该第三实时影像的锐利度值等于该移动区域的最大锐利度值时,该通知信号表示该第三距离即为该焦点距离。Wherein, when the sharpness value of the third real-time image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance is the focus distance.
其中,该通知信号显示于一显示界面上。Wherein, the notification signal is displayed on a display interface.
综上所述,本发明可通过比较相对于待摄物的不同距离上撷取实时影像的锐利度值,依此来判断此次相对于待摄物的距离相较于上次相对于待摄物的距离是靠近或是远离拍摄待摄物的焦点距离,并依据此次相对于待摄物的距离与与拍摄待摄物的焦点距离之间的相对关系传送不同种类的通知信号,从而辅助用户对焦。To sum up, the present invention can compare the sharpness values of real-time images captured at different distances from the object to be photographed, based on which it can be judged that the distance to the object to be photographed this time is compared with the distance to the object to be photographed last time. Whether the distance of the object is close to or far from the focal distance of the object to be photographed, and according to the relative relationship between the distance to the object to be photographed and the focal distance to the object to be photographed, different types of notification signals are sent to assist User focuses.
以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.
附图说明Description of drawings
图1为依据本发明一实施例的辅助对焦装置的功能方块图。FIG. 1 is a functional block diagram of an auxiliary focusing device according to an embodiment of the present invention.
图2为依据本发明一实施例的辅助对焦方法的流程图。FIG. 2 is a flow chart of a method for assisting focusing according to an embodiment of the invention.
图3A为依据本发明一实施例的第一距离、第二距离与焦点距离相对关系的示意图。FIG. 3A is a schematic diagram of the relative relationship between the first distance, the second distance and the focus distance according to an embodiment of the present invention.
图3B为依据本发明另一实施例的第一距离、第二距离与焦点距离相对关系的示意图。3B is a schematic diagram of the relative relationship between the first distance, the second distance and the focus distance according to another embodiment of the present invention.
图4为依据本发明一实施例的辅助对焦方法的示意图。FIG. 4 is a schematic diagram of a method for assisting focusing according to an embodiment of the invention.
其中,附图标记:Among them, reference signs:
1 辅助对焦装置1 Auxiliary focusing device
10 影像撷取模块10 Image capture module
12 图像处理模块12 image processing module
14 储存模块14 storage modules
16 电源供应模块16 power supply module
D1 第一距离D1 first distance
D2 第二距离D2 second distance
D3 第三距离D3 third distance
D4 焦点距离D4 focal length
具体实施方式detailed description
以下在实施方式中详细叙述本发明的详细特征以及优点,其内容足以使任何本领域技术人员了解本发明的技术内容并据以实施,且根据本说明书所揭露的内容、申请专利范围及图式,任何本领域技术人员可轻易地理解本发明相关的目的及优点。以下的实施例进一步详细说明本发明的观点,但非以任何观点限制本发明的范畴。The detailed features and advantages of the present invention are described in detail below in the embodiments, the content of which is sufficient to enable any person skilled in the art to understand the technical content of the present invention and implement it accordingly, and according to the content disclosed in this specification, the patent scope of the application and the drawings , any person skilled in the art can easily understand the related objects and advantages of the present invention. The following examples further illustrate the concept of the present invention in detail, but do not limit the scope of the present invention in any way.
请一并参照图1、图3A、图3B及图4。其中图1为依据本发明一实施例的辅助对焦装置功能方块图、图3A为依据本发明一实施例的第一距离、第二距离与焦点距离相对关系的示意图、图3B为依据本发明另一实施例的第一距离、第二距离与焦点距离相对关系的示意图及图4为依据本发明一实施例的辅助对焦方法的示意图。如图1所示,辅助对焦装置1包含影像撷取模块10、图像处理模块12及储存模块14。其中图像处理模块12耦接影像撷取模块10及储存模块14。Please refer to FIG. 1 , FIG. 3A , FIG. 3B and FIG. 4 together. 1 is a functional block diagram of an auxiliary focusing device according to an embodiment of the present invention; FIG. 3A is a schematic diagram of the relative relationship between the first distance, the second distance and the focus distance according to an embodiment of the present invention; FIG. 3B is another schematic diagram according to the present invention. A schematic diagram of the relative relationship between the first distance, the second distance and the focus distance according to an embodiment and FIG. 4 is a schematic diagram of an auxiliary focusing method according to an embodiment of the present invention. As shown in FIG. 1 , the focusing aid device 1 includes an image capturing module 10 , an image processing module 12 and a storage module 14 . The image processing module 12 is coupled to the image capture module 10 and the storage module 14 .
影像撷取模块10用以于相对待摄物的第一距离D1撷取第一实时影像及于相对待摄物的第二距离D2撷取第二实时影像。换句话说,影像撷取模块10可以在不同位置上撷取待摄物的实时影像。于实务上,影像撷取模块10可以是一个具有单一焦距的相机镜头、摄影机镜头、网络摄装置镜头或是或是其他适当的摄影设备。除此之外,影像撷取模块10更包含一种由电荷耦合元件(charge coupled device,CCD)或是互补式金属氧化物半导体(complementary metal oxide semiconductor,CMOS)所制成的影像传感器(imagesensor),但本发明不以上述叙述为限。The image capturing module 10 is used for capturing a first real-time image at a first distance D1 relative to the subject and capturing a second real-time image at a second distance D2 relative to the subject. In other words, the image capturing module 10 can capture real-time images of the object to be photographed at different positions. In practice, the image capture module 10 can be a camera lens with a single focal length, a video camera lens, a network camera lens, or other suitable photographic equipment. In addition, the image capture module 10 further includes an image sensor (image sensor) made of charge coupled device (CCD) or complementary metal oxide semiconductor (CMOS). , but the present invention is not limited to the above description.
图像处理模块12用以分别计算第一实时影像的锐利度值及第二实时影像的锐利度值之后,比较第一实时影像的锐利度值及第二实时影像的锐利度值并传送通知信号。该通知信号表示第一距离D1、第二距离D2与焦点距离D4的相对关系。于一个例子中,当图像处理模块12计算出第一次接收到的实时影像的锐利度值后,即将计算出来的锐利度值暂时储存至储存模块14。接着,图像处理模块12再计算出第二次接收到的实时影像的锐利度值,并将计算出来的次一个锐利度值也暂时储存至储存模块14。The image processing module 12 is used for calculating the sharpness value of the first real-time image and the sharpness value of the second real-time image respectively, comparing the sharpness value of the first real-time image and the sharpness value of the second real-time image and sending a notification signal. The notification signal indicates the relative relationship between the first distance D1, the second distance D2 and the focal distance D4. In one example, after the image processing module 12 calculates the sharpness value of the real-time image received for the first time, it temporarily stores the calculated sharpness value in the storage module 14 . Next, the image processing module 12 calculates the sharpness value of the real-time image received for the second time, and temporarily stores the calculated next sharpness value in the storage module 14 .
接着,当图像处理模块12从储存模块14取出并比较此两个锐利度值大小,其中实时影像的锐利度值较大者当作下一个实时影像(例如相距待摄物第三距离D3的第三实时影像)的锐利度值的门槛值。比较结果代表辅助对焦装置1相对于待摄物的距离与拍摄待摄物的焦点距离D4之间的差距。更详细来说,即辅助对焦装置1所在的位置与以待摄物为焦点时辅助对焦装置1所在的位置之间的差距,并依据比较结果传送相对应的通知信号。如图3A及图3B所示,当第一距离D1大于第二距离D2时会传送第一信号,用以通知用户正远离焦点距离D4,当第一距离D1小于第二距离D2时会传送第二信号,用以通知用户正靠近焦点距离D4。除此之外,当第三距离D3小于门槛值的时候及第三距离D3大于门槛值时亦会分别传送第一信号及第二信号,而当第三距离D3与焦点距离D4相等时,则会传送第三信号,用以通知用户以到达焦点距离D4。由于实时影像的锐利度值计算已为本技术领域技术人员所熟知,故不再赘述。Next, when the image processing module 12 takes it out from the storage module 14 and compares the two sharpness values, the one with the larger sharpness value of the real-time image is regarded as the next real-time image (for example, the third distance D3 away from the object to be photographed). Three real-time images) the threshold value of the sharpness value. The comparison result represents the gap between the distance of the auxiliary focusing device 1 relative to the subject and the focal distance D4 for photographing the subject. More specifically, it refers to the difference between the position of the auxiliary focusing device 1 and the position of the auxiliary focusing device 1 when the subject is in focus, and a corresponding notification signal is transmitted according to the comparison result. As shown in FIG. 3A and FIG. 3B , when the first distance D1 is greater than the second distance D2, the first signal will be transmitted to notify the user that the focus distance D4 is far away; when the first distance D1 is smaller than the second distance D2, the first signal will be transmitted. The second signal is used to notify the user that the focus distance D4 is approaching. In addition, when the third distance D3 is less than the threshold value and when the third distance D3 is greater than the threshold value, the first signal and the second signal will be transmitted respectively, and when the third distance D3 is equal to the focal distance D4, then A third signal is sent to notify the user to reach the focus distance D4. Since the calculation of the sharpness value of the real-time image is well known to those skilled in the art, details are not repeated here.
不仅如此,通知信号可为显示传送至显示界面上、通过光源、声源的方式亦或是传送至计算器装置,计算器装置可通过接受不同种类通知信号传送相对应的信号至影像应用程序中,用以通知用户相对于待摄物的距离与拍摄待摄物的焦点距离D4的差距的相对应关系。于实务上,计算器装置可以是计算机、笔记本电脑、智能型手机或是平板计算机,而图像处理模块12可以是微处理器(micro processor)或是图像处理器(graphics processingunit),储存模块14可以为一种可程序化只读存储器(programmable read-only memory,PROM)、可擦可程序化只读存储器(erasable programmable read-only memory,EPROM)、可电擦可程序化只读存储器(electrically erasable programmable read-only memory,EEPROM)、闪存(flash memory)等非挥发性内存(non-volatile memory),但本发明不以此为限。Not only that, the notification signal can be displayed and sent to the display interface, through a light source, a sound source, or sent to the calculator device. The calculator device can send corresponding signals to the image application program by accepting different types of notification signals , which is used to inform the user of the corresponding relationship between the distance to the subject and the distance of the focus distance D4 for photographing the subject. In practice, the calculator device can be a computer, a notebook computer, a smart phone or a tablet computer, and the image processing module 12 can be a microprocessor (micro processor) or a graphics processing unit (graphics processing unit), and the storage module 14 can be It is a kind of programmable read-only memory (programmable read-only memory, PROM), erasable programmable read-only memory (erasable programmable read-only memory, EPROM), electrically erasable programmable read-only memory (electrically erasable Programmable read-only memory (EEPROM), flash memory (flash memory) and other non-volatile memory (non-volatile memory), but the present invention is not limited thereto.
于实务上,辅助对焦装置1更包含一个电源供应模块16,此电源供应模块16用以提供电能至影像撷取模块10、图像处理模块12及储存模块14。电源供应模块16可以是电池模块如太阳能电池或是燃料电池,亦可以是交流电路模块,包括交流电电源、一组用以改变电流波形的交流/直流转换器(AC/DC converter)以及一组用以调整充电电流大小的直流斩波器,但本发明并不以此为限。In practice, the focusing aid device 1 further includes a power supply module 16 , and the power supply module 16 is used to provide electric energy to the image capture module 10 , the image processing module 12 and the storage module 14 . The power supply module 16 can be a battery module such as a solar cell or a fuel cell, and can also be an AC circuit module, including an AC power supply, a set of AC/DC converters (AC/DC converter) for changing the current waveform, and a set of A DC chopper for adjusting the charging current, but the present invention is not limited thereto.
本发明一实施例中的方法,请一并参照图1、图2及图4。图2为依据本发明一实施例的方法流程图。如步骤S200所示,影像撷取模块10于相对待摄物的一段第一距离D1撷取第一实时影像。如步骤S202所示,图像处理模块12计算此第一实时影像的锐利度值并储存至储存模块14。如步骤S204所示,影像撷取模块10于相对待摄物的第二距离D2撷取第二实时影像。如步骤S206所示,图像处理模块12计算第二实时影像的锐利度值,并将此结果储存至储存模块14。For the method in an embodiment of the present invention, please refer to FIG. 1 , FIG. 2 and FIG. 4 together. FIG. 2 is a flowchart of a method according to an embodiment of the present invention. As shown in step S200 , the image capture module 10 captures a first real-time image at a first distance D1 relative to the object to be photographed. As shown in step S202 , the image processing module 12 calculates the sharpness value of the first real-time image and stores it in the storage module 14 . As shown in step S204 , the image capture module 10 captures a second real-time image at a second distance D2 relative to the object to be photographed. As shown in step S206 , the image processing module 12 calculates the sharpness value of the second real-time image, and stores the result in the storage module 14 .
在此,当辅助对焦装置1从一位置(例如相距待摄物第一距离D1)移动到另一位置(例如相距待摄物第二距离D2)上时,影像撷取模块10即以此不同的位置撷取待摄物的实时影像,并将此实时影像传送至图像处理模块12,接着图像处理模块12分别计算不同位置的实时影像的锐利度值。Here, when the auxiliary focus device 1 moves from one position (for example, the first distance D1 from the subject) to another position (for example, the second distance D2 from the subject), the image capture module 10 is thus different. The real-time image of the object to be photographed is captured at a position, and the real-time image is sent to the image processing module 12, and then the image processing module 12 calculates the sharpness values of the real-time images at different positions respectively.
值得一提的是,上述步骤S200到S206的顺序可以相互调换,即影像撷取模块10可先撷取第一距离D1与第二距离D2的实时影像后,图像处理模块12再径行计算第一实时影像及第二实时影像的锐利度值。It is worth mentioning that the order of the above steps S200 to S206 can be interchanged, that is, the image capture module 10 can first capture the real-time images of the first distance D1 and the second distance D2, and then the image processing module 12 can directly calculate the first The sharpness value of the real-time image and the second real-time image.
如步骤S208所示,图像处理模块12比较第一实时影像的锐利度值及第二实时影像的锐利度值,并依据第一距离D1、第二距离D2与焦点距离D4的相对关系传送通知信号。如步骤S210所示,当第一实时影像的锐利度值大于第二实时影像的锐利度值时,即第一距离D1与焦点距离D4的差值小于第二距离D2与焦点距离D4的差值的情况下,传送通知信号。更详细地说,当移动到第二距离D2的方向为往焦距方向的反方向时,在此位置上撷取待摄物的实时影像的锐利度值会较前一次撷取的实时影像的锐利度值为低,即第二距离D2与焦点距离D4的差距增加。此时图像处理模块12传送第一信号,以通知用户正远离辅助对焦装置1拍摄待摄物的焦点距离D4,并将前一个实时影像的锐利度值设定为一个门槛值,用以跟下一个实时影像的锐利度值做比较。As shown in step S208, the image processing module 12 compares the sharpness value of the first real-time image and the sharpness value of the second real-time image, and transmits a notification signal according to the relative relationship between the first distance D1, the second distance D2 and the focus distance D4 . As shown in step S210, when the sharpness value of the first real-time image is greater than the sharpness value of the second real-time image, that is, the difference between the first distance D1 and the focus distance D4 is smaller than the difference between the second distance D2 and the focus distance D4 In the case of , transmit a notification signal. More specifically, when moving to the second distance D2 is in the opposite direction to the focal length direction, the sharpness value of the real-time image captured at this position will be sharper than that of the real-time image captured last time When the degree value is low, that is, the difference between the second distance D2 and the focal distance D4 increases. At this time, the image processing module 12 transmits a first signal to notify the user that the focus distance D4 of the object to be photographed is far away from the auxiliary focusing device 1, and sets the sharpness value of the previous real-time image as a threshold value for following Compare the sharpness value of a live image.
如步骤S212所示,当第一实时影像的锐利度值小于第二实时影像的锐利度值时,即第一距离D1与焦点距离D4的差值大于第二距离D2与焦点距离D4的差值的情况下,传送通知信号。换句话说,当移动到第二距离D2的方向为往焦距方向的方向时,在此位置上撷取待摄物的实时影像的锐利度值会较前一次撷取的实时影像的锐利度值为高,即第二距离D2与焦点距离D4的差距减少。此时图像处理模块12传送第二信号,以通知用户正靠近辅助对焦装置1拍摄待摄物的焦点距离D4,并将此次实时影像的锐利度值设定为一个门槛值,以跟下一个实时影像的锐利度值做比较。As shown in step S212, when the sharpness value of the first real-time image is smaller than the sharpness value of the second real-time image, that is, the difference between the first distance D1 and the focus distance D4 is greater than the difference between the second distance D2 and the focus distance D4 In the case of , transmit a notification signal. In other words, when the direction moving to the second distance D2 is toward the focus direction, the sharpness value of the real-time image captured at this position will be higher than the sharpness value of the real-time image captured last time is high, that is, the difference between the second distance D2 and the focal distance D4 decreases. At this time, the image processing module 12 transmits a second signal to inform the user that the focus distance D4 of the object to be photographed is approaching the auxiliary focusing device 1, and the sharpness value of this real-time image is set as a threshold value to keep up with the next one. Live image sharpness values for comparison.
如步骤S214所示,影像撷取模块10于相对待摄物的一段第三距离D3撷取第三实时影像。如步骤S216所示,图像处理模块12计算此第三实时影像的锐利度值并储存至储存模块14。如步骤S218所示,比较第三实时影像是否大于门槛值,而当第三实时影像的锐利度值大于门槛值时,第三实时影像的锐利度值即取代此门槛值为比较下一个实时影像的锐利度值的门槛值,并通过图像处理模块12传送第二信号以通知用户正靠近辅助对焦装置1拍摄待摄物的焦点距离D4。As shown in step S214 , the image capture module 10 captures a third real-time image at a third distance D3 relative to the object to be photographed. As shown in step S216 , the image processing module 12 calculates the sharpness value of the third real-time image and stores it in the storage module 14 . As shown in step S218, compare whether the third real-time image is greater than the threshold value, and when the sharpness value of the third real-time image is greater than the threshold value, the sharpness value of the third real-time image replaces the threshold value to compare the next real-time image The threshold value of the sharpness value, and the second signal is sent through the image processing module 12 to notify the user of the focus distance D4 of the subject being approached by the auxiliary focusing device 1 for shooting.
如步骤S220所示,当第三实时影像的锐利度值不大于门槛值时,即判断此锐利度值是否相等于门槛值。如步骤S222所示,当第三实时影像的锐利度值小于门槛值时,用以表示第二距离D2及焦点距离D4的差距增加,门槛值为于移动区域的最大锐利度值。换句话说,当越靠进焦点距离D4时,其撷取的实时影像的锐利度值会逐渐升高,直到越过焦点距离D4后,其锐利度值会逐渐降低,因此,若是下一个撷取的实时影像的锐利度值小于门槛值,即代表此门槛值为此移动区域内的最大锐利度值。As shown in step S220, when the sharpness value of the third real-time image is not greater than the threshold value, it is determined whether the sharpness value is equal to the threshold value. As shown in step S222, when the sharpness value of the third real-time image is smaller than the threshold value, it is used to indicate that the difference between the second distance D2 and the focus distance D4 increases, and the threshold value is the maximum sharpness value of the moving area. In other words, when getting closer to the focal distance D4, the sharpness value of the captured real-time image will gradually increase, and until the focal distance D4 is exceeded, the sharpness value will gradually decrease. Therefore, if the next capture The sharpness value of the real-time image is smaller than the threshold value, which means that the threshold value is the maximum sharpness value in this moving area.
如步骤S224所示,当第三实时影像的锐利度值等于移动区域的最大锐利度值时,通知信号表示第三距离D3为焦点距离D4。更详尽的说,在获取此移动区域的最大锐利度值后,当后续撷取的其中之一实时影像的锐利度值与此最大锐利度值相等,即代表此撷取实时影像的位置为移动区域内的最佳焦点距离D4,此时图像处理模块12传送第三信号告知用户已经移动到拍摄待摄物的最佳焦点距离D4。As shown in step S224, when the sharpness value of the third real-time image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance D3 is the focus distance D4. More specifically, after obtaining the maximum sharpness value of the moving area, when the sharpness value of one of the real-time images captured subsequently is equal to the maximum sharpness value, it means that the position of the captured real-time image is moving. The best focus distance D4 in the area, at this time, the image processing module 12 transmits a third signal to inform the user that the best focus distance D4 has been moved to shoot the subject.
本发明于此以一个例子说明整体流程,当用户开启网络摄影机相对应的影像应用程序后,网络摄影机即先撷取待摄物的实时影像,并计算此实时影像的锐利度值,尔后用户开始移动网络摄影机。此时,网络摄影机即通过位置上的变化撷取另一待摄物的实时影像,并比较此次移动的实时影像的锐利度值与前次实时影像的锐利度值的大小。若是往远离此网络摄影机的焦点距离方向上移动,则发送第一种通知信号(第一信号)通知用户正在远离拍摄待摄物的焦点位置。若是往靠近此网络摄影机的焦点距离方向上移动,则发送第二种通知信号(第二信号)通知用户正在靠近拍摄待摄物的焦点位置。而当用户往焦点位置的方向移动而越过此焦点位置时,因实时影像的锐利度值会逐渐降低,此时即找到移动范围内的实时影像的最大锐利度值,亦找到拍摄待摄物的最佳焦点位置,当用户移动到此焦点位置时,网络摄影机即发送第三种通知信号(第三信号)通知用户以到达最佳拍摄距离。Here is an example of the present invention to illustrate the overall process. When the user opens the corresponding image application program of the network camera, the network camera first captures the real-time image of the object to be photographed, and calculates the sharpness value of the real-time image, and then the user starts Mobile webcam. At this time, the network camera captures a real-time image of another object to be photographed through the change in position, and compares the sharpness value of the real-time image moving this time with the sharpness value of the previous real-time image. If it moves away from the focus distance of the network camera, a first notification signal (first signal) is sent to inform the user that the focus position of the object to be photographed is moving away from it. If it moves toward the focus distance direction of the network camera, a second notification signal (second signal) is sent to inform the user that the camera is approaching the focus position of the object to be photographed. When the user moves in the direction of the focus position and crosses the focus position, the sharpness value of the real-time image will gradually decrease. At this time, the maximum sharpness value of the real-time image within the moving range is found, and the shooting target is also found. Best focus position, when the user moves to the focus position, the network camera will send a third notification signal (third signal) to notify the user to reach the best shooting distance.
综上所述,本发明通过影像捕获设备在相对于待摄物的不同距离上撷取实时影像、图像处理装置计算所撷取实时影的锐利度值及比较此锐利度值大小以判断此次相对于待摄物的距离较上次相对于待摄物的距离靠近或是远离拍摄待摄物的焦点距离,并依据此次所在距离与拍摄待摄物的焦点距离的相对关系传送不同种类的通知信号,从而辅助用户对焦。To sum up, the present invention captures real-time images at different distances relative to the object to be photographed by the image capture device, and the image processing device calculates the sharpness value of the captured real-time images and compares the sharpness value to judge the current time. The distance to the subject is closer to or farther from the focus distance of the subject than the previous distance to the subject, and different types of images are sent according to the relative relationship between the distance this time and the focus distance of the subject. Notification signal to assist the user in focusing.
当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明权利要求的保护范围。Certainly, the present invention also can have other various embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes All changes and modifications should belong to the protection scope of the claims of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410037022.5A CN104811603B (en) | 2014-01-24 | 2014-01-24 | Auxiliary focusing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410037022.5A CN104811603B (en) | 2014-01-24 | 2014-01-24 | Auxiliary focusing device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104811603A CN104811603A (en) | 2015-07-29 |
CN104811603B true CN104811603B (en) | 2017-09-19 |
Family
ID=53696073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410037022.5A Expired - Fee Related CN104811603B (en) | 2014-01-24 | 2014-01-24 | Auxiliary focusing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104811603B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112463269B (en) * | 2019-09-06 | 2022-03-15 | 青岛海信传媒网络技术有限公司 | User interface display method and display equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1865849A (en) * | 2005-05-20 | 2006-11-22 | 日产自动车株式会社 | Image display apparatus and method |
CN100429546C (en) * | 2002-10-24 | 2008-10-29 | 夏普株式会社 | Focus state display |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101415872B1 (en) * | 2007-09-14 | 2014-07-11 | 삼성전기주식회사 | METHOD AND APPARATUS FOR AUTO-FOCUS ADJUSTMENT |
CN101614858B (en) * | 2008-06-26 | 2011-08-31 | 深圳富泰宏精密工业有限公司 | Focusing system |
-
2014
- 2014-01-24 CN CN201410037022.5A patent/CN104811603B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100429546C (en) * | 2002-10-24 | 2008-10-29 | 夏普株式会社 | Focus state display |
CN1865849A (en) * | 2005-05-20 | 2006-11-22 | 日产自动车株式会社 | Image display apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
CN104811603A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103197491B (en) | The method of fast automatic focusing and image collecting device | |
CN105339841B (en) | The photographic method and bimirror head apparatus of bimirror head apparatus | |
US8817134B2 (en) | Imaging control device, subject detection method, and program | |
CN108076278B (en) | A kind of automatic focusing method, device and electronic equipment | |
US20110134311A1 (en) | Imaging device and imaging method | |
CN111277760B (en) | Shooting composition method, terminal and storage medium | |
WO2016115805A1 (en) | Shooting method, shooting device, mobile terminal and computer storage medium | |
US9386229B2 (en) | Image processing system and method for object-tracing | |
CN104159000B (en) | A kind of scan image acquisition methods and device | |
WO2017008353A1 (en) | Capturing method and user terminal | |
US8648960B2 (en) | Digital photographing apparatus and control method thereof | |
CN103988227A (en) | Method and apparatus for image capture target locking | |
TWI530180B (en) | Linking-up photographing system and control method for cameras thereof | |
WO2016184131A1 (en) | Image photographing method and apparatus based on dual cameras and computer storage medium | |
WO2016029465A1 (en) | Image processing method and apparatus and electronic device | |
CN101369089B (en) | Continuous image shooting system and method | |
CN105493493A (en) | Imaging device, imaging method, and image processing device | |
CN105635570A (en) | Shooting preview method and system | |
CN104184935A (en) | Image shooting device and method | |
CN104994280B (en) | A kind of preview image processing method and user terminal | |
CN104811603B (en) | Auxiliary focusing device and method | |
CN105007410B (en) | A kind of big visual angle camera control method and user terminal | |
CN104601883B (en) | A kind of method and device of image taking | |
TWI495920B (en) | Device and method for assistant focusing | |
CN104994288A (en) | Shooting method and user terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170919 Termination date: 20220124 |