KR101900429B1 - Method and apparatus for determining lens focus - Google Patents
Method and apparatus for determining lens focus Download PDFInfo
- Publication number
- KR101900429B1 KR101900429B1 KR1020170019913A KR20170019913A KR101900429B1 KR 101900429 B1 KR101900429 B1 KR 101900429B1 KR 1020170019913 A KR1020170019913 A KR 1020170019913A KR 20170019913 A KR20170019913 A KR 20170019913A KR 101900429 B1 KR101900429 B1 KR 101900429B1
- Authority
- KR
- South Korea
- Prior art keywords
- lens
- distance
- contrast
- aoi
- focus
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B27/00—Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
- G02B27/64—Imaging systems using optical elements for stabilisation of the lateral and angular position of the image
- G02B27/646—Imaging systems using optical elements for stabilisation of the lateral and angular position of the image compensating for small deviations, e.g. due to vibration or shake
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/282—Autofocusing of zoom lenses
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B3/00—Focusing arrangements of general interest for cameras, projectors or printers
- G03B3/10—Power-operated focusing
Abstract
본 발명은 렌즈 초점 결정 방법 및 장치에 관한 발명이며, 본 발명의 일 실시예에 따른 렌즈 초점 결정 방법은 거리 측정 센서를 통해 피사체와 렌즈 사이의 거리를 측정하는 단계, 거리를 기초로 적어도 하나의 AOI (Area Of Interest) 를 설정하는 단계, 렌즈의 이동 방향을 변경시키도록 지시하는 단계, 렌즈의 이동 방향에 따른 초점에 대응하여 촬영되는 프레임 내 AOI의 대비를 추출하는 단계, 예측 대비점으로부터 대비가 감소되는 것을 감지한 경우, 렌즈의 이동을 중지시키는 단계 및 중지된 렌즈의 위치에 대응하는 초점을 촬영 초점으로 결정하는 단계를 포함하고, 렌즈를 통해 촬영되는 프레임에 대한 대비가 감소되는 순간을 감지하여 렌즈의 이동을 중지시킴으로써, 초점의 흐려짐과 선명해짐을 반복하지 않는 렌즈 초점 결정 방법 및 장치를 제공할 수 있는 효과가 있다.A method of determining a focus of a lens according to an embodiment of the present invention includes the steps of measuring a distance between a subject and a lens through a distance measuring sensor, AOI (Area Of Interest), instructing to change the moving direction of the lens, extracting the contrast of the AOI in the frame photographed corresponding to the focus in accordance with the movement direction of the lens, Stopping the movement of the lens and determining a focal point corresponding to the position of the stopped lens as the focal point, wherein when the contrast for the frame photographed through the lens is reduced, There is provided a method and an apparatus for determining a focus of a lens that does not repeat blurring and sharpening of a focus by stopping movement of the lens That there is an effect.
Description
본 발명은 렌즈 초점 결정 방법 및 장치에 관한 것으로서, 보다 상세하게는 피사체와 렌즈의 거리 및 렌즈에 촬영되는 프레임에 대한 대비를 기초로 촬영 초점을 결정하는, 렌즈 초점 결정 방법 및 장치에 관한 것이다. Field of the Invention [0002] The present invention relates to a method and apparatus for determining a focus of a lens, and more particularly, to a method and apparatus for determining a focus of a lens based on a distance between the subject and a lens and a contrast of a frame to be photographed by the lens.
다양한 기능을 수행하는 전자 장치가 개발됨에 따라 카메라가 내장된 장치의 수가 증가하고 있다. 예를 들어, 노트북, 스마트폰 등의 처리 단말기, 휴대용 확대기, 방송 촬영 로봇 등에 카메라가 내장되어 있다.With the development of electronic devices that perform various functions, the number of devices with built-in cameras is increasing. For example, a camera is incorporated in a processing terminal such as a notebook or a smart phone, a portable expander, and a broadcasting photographing robot.
카메라는 일반적으로 초점을 결정할 때, 렌즈를 최소에서 최대까지 이동시키면서 렌즈를 통해 촬영되는 복수의 이미지에 대한 대비를 추출한다. 이 때, 카메라는 대비가 제일 큰 위치를 추출하여 해당 위치에 렌즈를 고정시킴으로써 초점을 결정한다. 즉, 렌즈를 전체적으로 이동시켜 모든 이미지에 대한 대비를 추출함에 따라 초점은 흐렸다가 선명해지는 것을 반복한다. 이에 따라, 사용자는 카메라를 사용할 때 초점의 흐려짐과 선명해짐의 반복됨을 확인할 수 있다.The camera typically extracts the contrast for a plurality of images taken through the lens while moving the lens from min to max when determining the focus. At this time, the camera determines the focus by extracting the position having the largest contrast and fixing the lens to the corresponding position. That is, as the lens is moved globally to extract the contrast for all images, the focus is blurred and repeated. Accordingly, the user can confirm that the focus blurring and sharpening are repeated when the camera is used.
초점의 흐려짐과 선명해짐을 반복함으로써 사용자에게 불필요하게 부정확한 초점까지 제공할 뿐만 아니라, 렌즈의 전체적인 이동에 따른 대비를 추출하기 때문에 초점을 결정하는데 시간이 오래 걸릴 수 있다. 따라서, 사용자에게 부정확한 초점을 제공하지 않고, 보다 빠르게 초점을 결정할 수 있는 방법에 대한 요구가 존재한다. Not only unnecessarily inaccurate focus is provided to the user by repeating the blurring and sharpening of the focus, but also it may take a long time to determine the focus because the contrast of the entire movement of the lens is extracted. Thus, there is a need for a method that can determine the focus faster, without providing the user with an inaccurate focus.
[관련기술문헌][Related Technical Literature]
카메라의 초점을 변경하는 방법 및 장치(공개특허 10-2016-046037호)A method and apparatus for changing a focus of a camera (Patent Document 10-2016-046037)
본 발명이 해결하고자 하는 과제는 렌즈를 통해 촬영되는 프레임에 대한 대비가 감소되는 순간을 감지하여 렌즈의 이동을 중지시킴으로써, 초점의 흐려짐과 선명해짐을 반복하지 않는 렌즈 초점 결정 방법 및 장치를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention provides a method and apparatus for determining a focus of a lens that does not repeat blurring and sharpening of a focus by stopping movement of the lens by detecting a moment when the contrast of a frame photographed through the lens is reduced will be.
본 발명이 해결하고자 하는 다른 과제는 초점을 결정하기 위해 판단할 범위를 한정하여, 한정된 범위에 대한 대비만을 추출함으로써, 초점을 결정하는데 필요한 연산량을 감소시킬 수 있는 렌즈 초점 결정 방법 및 장치를 제공하는 것이다.Another problem to be solved by the present invention is to provide a method and apparatus for determining a focus of a lens which can reduce a calculation amount required for determining a focus by extracting only a contrast for a limited range by limiting a range to be determined for determining a focus will be.
본 발명의 과제들은 이상에서 언급한 과제들로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problems of the present invention are not limited to the above-mentioned problems, and other problems not mentioned can be clearly understood by those skilled in the art from the following description.
전술한 바와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 렌즈 초점 결정 방법은 거리 측정 센서를 통해 피사체와 렌즈 사이의 거리를 측정하는 단계, 거리를 기초로 적어도 하나의 AOI (Area Of Interest) 를 설정하는 단계, 렌즈의 이동 방향을 변경시키도록 지시하는 단계, 렌즈의 이동 방향에 따른 초점에 대응하여 촬영되는 프레임 내 AOI의 대비를 추출하는 단계, 대비점으로부터 대비가 감소되는 것을 감지한 경우, 렌즈의 이동을 중지시키는 단계 및 중지된 렌즈의 위치에 대응하는 초점을 촬영 초점으로 결정하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method for determining a focus of a lens, comprising: measuring a distance between a subject and a lens through a distance measuring sensor; measuring at least one Area Of Interest (AOI) ), Instructing to change the moving direction of the lens, extracting the contrast of the AOI in the frame photographed corresponding to the focus in accordance with the movement direction of the lens, detecting the contrast reduction from the contrast point Stopping the movement of the lens, and determining the focus corresponding to the position of the stopped lens as the focus point.
본 발명의 다른 특징에 따르면, 거리를 측정하는 단계 이후에, 미리 결정된 거리 및 측정된 거리에 대한 변화를 감지하는 단계를 더 포함하고, 렌즈의 이동 방향을 변경시키도록 지시하는 단계는, 미리 결정된 거리 및 측정된 거리에 대한 변화에 따라 렌즈의 이동 방향을 결정하는 단계를 더 포함한다.According to another feature of the invention, the method further comprises the step of, after the step of measuring the distance, sensing a change in the predetermined distance and the measured distance, the step of instructing to change the direction of movement of the lens, And determining a moving direction of the lens in accordance with the distance and the change in the measured distance.
본 발명의 다른 특징에 따르면, 미리 결정된 거리는, 피사체와 렌즈 사이의 초기 거리값 또는 직전에 측정된 거리일 수 있다.According to another aspect of the present invention, the predetermined distance may be an initial distance value between the subject and the lens or a distance measured immediately before.
본 발명의 다른 특징에 따르면, 감지를 결정하는 단계는, 미리 결정된 거리 및 거리 측정 센서를 통해 측정된 거리를 기초로 변화를 감지하는 단계일 수 있다.According to another aspect of the present invention, the step of determining the sensing may include sensing a change based on a predetermined distance and a distance measured through the distance measuring sensor.
본 발명의 또 다른 특징에 따르면, 변화를 감지하는 단계는, 미리 결정된 거리에서 촬영된 프레임 및 측정된 거리에서 촬영되는 프레임의 대비를 기초로 변화를 감지하는 단계일 수 있다.According to still another aspect of the present invention, the step of detecting the change may be a step of detecting a change based on a contrast between a frame photographed at a predetermined distance and a frame photographed at a measured distance.
본 발명의 또 다른 특징에 따르면, AOI를 설정하는 단계는, 미리 결정된 거리보다 거리가 큰 경우, AOI를 1개의 범위로 설정하는 단계일 수 있다.According to another aspect of the present invention, the step of setting the AOI may be a step of setting the AOI to one range when the distance is larger than the predetermined distance.
본 발명의 또 다른 특징에 따르면, 1개의 범위로 설정하는 단계는, 1개의 범위를 프레임의 중앙으로 설정하는 단계를 포함할 수 있다.According to still another aspect of the present invention, the step of setting to one range may include the step of setting one range to the center of the frame.
본 발명의 또 다른 특징에 따르면, AOI를 설정하는 단계는, 미리 결정된 거리보다 거리가 작은 경우, AOI를 2개의 범위로 설정하는 단계를 더 포함할 수 있다.According to another aspect of the present invention, the step of setting the AOI may further comprise setting the AOI to two ranges when the distance is smaller than the predetermined distance.
본 발명의 또 다른 특징에 따르면, 2개의 범위로 설정하는 단계는, 2개의 범위를 프레임의 상측 및 하측 또는 프레임의 좌측 및 우측으로 설정하는 단계를 포함할 수 있다.According to another aspect of the present invention, the step of setting the two ranges may comprise setting the two ranges to the top and bottom of the frame or to the left and right of the frame.
본 발명의 또 다른 특징에 따르면, AOI의 대비를 추출하는 단계는, 현재 촬영되는 프레임 내 AOI 및 직전의 프레임 내 AOI의 대비를 연속해서 추출하는 단계일 수 있다.According to still another aspect of the present invention, the step of extracting the contrast of the AOI may be a step of continuously extracting the contrast of the AOI in the current frame and the AOI in the immediately preceding frame.
전술한 바와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 렌즈 초점 결정 장치는 피사체를 촬영하는 렌즈, 렌즈와 피사체 사이의 거리를 측정하도록 구성된 거리 측정 센서 및 거리를 기초로 적어도 하나의 AOI (Area Of Interest) 를 설정하도록 구성된 프로세서를 포함하고, 프로세서는, 렌즈의 이동 방향을 변경시키도록 지시하고, 렌즈의 이동 방향에 따른 초점 대응하여 촬영되는 프레임 내 AOI의 대비를 추출하고, 예측 대비점으로부터 대비가 감소되는 것을 감지한 경우, 렌즈의 이동을 중지시키고, 중지된 렌즈의 위치에 대응하는 초점을 촬영 초점으로 결정하도록 구성된다.According to an aspect of the present invention, there is provided a lens focus determination apparatus including a lens for photographing a subject, a distance measurement sensor configured to measure a distance between the lens and the subject, and at least one AOI Wherein the processor instructs to change the direction of movement of the lens, extracts the contrast of the intra-frame AOI photographed in focus with respect to the direction of movement of the lens, Stopping the movement of the lens and determining the focus corresponding to the position of the stopped lens as the photographing focus when it is detected that the contrast is reduced from the point.
본 발명의 다른 특징에 따르면, 프로세서는, 미리 결정된 거리 및 측정된 거리에 대한 변화를 감지하고, 미리 결정된 거리 및 측정된 거리에 대한 변화에 따라 렌즈의 이동 방향을 결정하도록 구성된다.According to another aspect of the present invention, a processor is configured to detect a change in a predetermined distance and a measured distance, and to determine a direction of movement of the lens in accordance with a predetermined distance and a change in the measured distance.
본 발명의 또 다른 특징에 따르면, 프로세서는, 미리 결정된 거리보다 거리가 큰 경우, AOI를 1개의 범위로 설정하도록 구성된다.According to another aspect of the present invention, the processor is configured to set the AOI to one range if the distance is greater than a predetermined distance.
본 발명의 또 다른 특징에 따르면, 프로세서는, 미리 결정된 거리보다 거리가 작은 경우, AOI를 2개의 범위로 설정하도록 구성될 수 있다.According to another aspect of the present invention, the processor may be configured to set the AOI to two ranges if the distance is less than a predetermined distance.
본 발명의 또 다른 특징에 따르면, 프로세서는, 현재 촬영되는 프레임 내 AOI 및 직전의 프레임 내 AOI의 대비를 연속해서 추출하도록 구성될 수 있다.According to another aspect of the present invention, the processor can be configured to successively extract the contrast of the AOI in the currently captured frame and the AOI in the immediately preceding frame.
기타 실시예의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.The details of other embodiments are included in the detailed description and drawings.
본 발명은 과제는 렌즈를 통해 촬영되는 프레임에 대한 대비가 감소되는 순간을 감지하여 렌즈의 이동을 중지시킴으로써, 초점의 흐려짐과 선명해짐을 반복하지 않는 렌즈 초점 결정 방법 및 장치를 제공할 수 있는 효과가 있다.The object of the present invention is to provide a method and an apparatus for determining a focus of a lens that does not repeat blurring and sharpening of focus by stopping the movement of the lens by detecting a moment when the contrast for a frame photographed through the lens is reduced, .
본 발명은 초점을 결정하기 위해 판단할 범위를 한정하여, 한정된 범위에 대한 대비만을 추출함으로써, 초점을 결정하는데 필요한 연산량을 감소시킬 수 있는 렌즈 초점 결정 방법 및 장치를 제공할 수 있는 효과가 있다.The present invention has the effect of providing a method and apparatus for determining a focus of a lens that can reduce the amount of calculation required to determine the focus by limiting the range to be determined for determining the focus and extracting only the contrast for the limited range.
본 발명에 따른 효과는 이상에서 예시된 내용에 의해 제한되지 않으며, 더욱 다양한 효과들이 본 명세서 내에 포함되어 있다.The effects according to the present invention are not limited by the contents exemplified above, and more various effects are included in the specification.
도 1은 본 발명의 일 실시예에 따른 렌즈 초점 결정 장치의 개략적인 구성을 도시한 블록도이다.
도 2는 본 발명의 일 실시예에 따른 렌즈 초점 결정 방법에 따라 렌즈의 초점을 결정하는 절차를 도시한 것이다.
도 3a 내지 도 3d는 본 발명의 일 실시예에 따라 렌즈 위치에 따른 대비에 대한 그래프 및 초점에 따른 피사체에 대한 화면을 도시한 개략도이다.
도 4a 내지 도 4e는 본 발명의 일 실시예에 따라 피사체와 렌즈 사이의 거리에 따라 AOI를 설정하는 화면을 도시한 개략도이다.
도 5는 본 발명의 다른 실시예에 따른 렌즈 초점 결정 장치가 구현된 단말기의 개략적인 구성을 도시한 블록도이다.
도 6a 내지 도 6d는 본 발명의 실시예에 따라 단말기의 렌즈 위치에 따른 대비에 대한 그래프 및 초점에 따른 피사체에 대한 화면을 도시한 개략도이다.1 is a block diagram showing a schematic configuration of a lens focus determination apparatus according to an embodiment of the present invention.
FIG. 2 illustrates a procedure for determining a focus of a lens according to a method for determining a focus of a lens according to an embodiment of the present invention.
3A to 3D are schematic views showing a graph of contrast according to a lens position and a screen of a subject according to focus according to an embodiment of the present invention.
4A to 4E are schematic views showing a screen for setting an AOI according to a distance between a subject and a lens according to an embodiment of the present invention.
5 is a block diagram showing a schematic configuration of a terminal in which a lens focus determining apparatus according to another embodiment of the present invention is implemented.
FIGS. 6A to 6D are graphs showing contrasts according to lens positions of a terminal according to an embodiment of the present invention, and schematic views illustrating a screen for a subject according to focus. FIG.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described hereinafter in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims.
본 발명의 실시예를 설명하기 위한 도면에 개시된 형상, 크기, 비율, 각도, 개수 등은 예시적인 것이므로 본 발명이 도시된 사항에 한정되는 것은 아니다. 또한, 본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다. 본 명세서 상에서 언급된 '포함한다', '갖는다', '이루어진다' 등이 사용되는 경우, '~만'이 사용되지 않는 이상 다른 부분이 추가될 수 있다. 구성요소를 단수로 표현한 경우에 특별히 명시적인 기재 사항이 없는 한 복수를 포함하는 경우를 포함한다.The shapes, sizes, ratios, angles, numbers, and the like disclosed in the drawings for describing the embodiments of the present invention are illustrative, and thus the present invention is not limited thereto. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Where the terms 'comprises', 'having', 'done', and the like are used herein, other parts may be added as long as '~ only' is not used. Unless the context clearly dictates otherwise, including the plural unless the context clearly dictates otherwise.
구성요소를 해석함에 있어서, 별도의 명시적 기재가 없더라도 오차 범위를 포함하는 것으로 해석한다.In interpreting the constituent elements, it is construed to include the error range even if there is no separate description.
비록 제1, 제2 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않는다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있다.Although the first, second, etc. are used to describe various components, these components are not limited by these terms. These terms are used only to distinguish one component from another. Therefore, the first component mentioned below may be the second component within the technical spirit of the present invention.
별도로 명시하지 않는 한 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Like reference numerals refer to like elements throughout the specification unless otherwise specified.
본 발명의 여러 실시예들의 각각 특징들이 부분적으로 또는 전체적으로 서로 결합 또는 조합 가능하며, 당업자가 충분히 이해할 수 있듯이 기술적으로 다양한 연동 및 구동이 가능하며, 각 실시예들이 서로에 대하여 독립적으로 실시 가능할 수도 있고 연관 관계로 함께 실시 가능할 수도 있다.It is to be understood that each of the features of the various embodiments of the present invention may be combined or combined with each other partially or entirely and technically various interlocking and driving is possible as will be appreciated by those skilled in the art, It may be possible to cooperate with each other in association.
도 1은 본 발명의 일 실시예에 따른 렌즈 초점 결정 장치의 개략적인 구성을 도시한 블록도이다.1 is a block diagram showing a schematic configuration of a lens focus determination apparatus according to an embodiment of the present invention.
도 1을 참조하면, 렌즈 초점 결정 장치 (100) 는 렌즈를 통해 촬영되는 피사체 (200) 에 대한 대비로 렌즈의 초점을 결정하여, 결정된 초점에 따라 피사체 (200) 를 촬영하는 장치이다. 이 때, 렌즈 초점 결정 장치 (100) 는 전원 공급부 (110), 피사체 수용부 (120), 거리 측정 센서 (130), 렌즈 (140) 및 프로세서 (150) 를 포함한다. Referring to FIG. 1, the lens
렌즈 초점 결정 장치 (100) 의 전원 공급부 (110) 는 렌즈 초점 결정 장치 (100) 가 작동할 수 있도록 전압을 인가시킨다. 구체적으로, 전원 공급부 (110) 는 거리 측정 센서 (130), 렌즈 (140) 및 프로세서 (150) 에 전압을 인가시킨다.The
렌즈 초점 결정 장치 (100) 의 피사체 수용부 (120) 는 촬영할 피사체 (200) 를 수용하도록 구성된 형상을 갖는다. 따라서, 피사체 수용부 (120) 는 렌즈 (140) 가 피사체 (200) 를 촬영할 수 있도록 렌즈 (140) 와 마주보게 배치된다. 이 때, 예를 들어 피사체 (200) 는 책일 수 있다.The
렌즈 초점 결정 장치 (100) 의 거리 측정 센서 (130) 는 렌즈 (140) 와 피사체 (200) 사이의 거리 d를 측정하도록 구성된다. 예를 들어, 거리 측정 센서 (130) 는 적외선 센서로, 수광부와 발광부를 포함한다. 발광부는 적외선을 피사체 (200) 로 발산하고, 수광부는 피사체 (200) 에서 반사된 적외선을 받음으로써 렌즈 (140) 와 피사체 (200) 사이의 거리 d를 측정하도록 구성된다. 따라서, 거리 측정 센서 (130) 는 렌즈 (140) 와 같은 높이에 배치될 수 있다.The
렌즈 초점 결정 장치 (100) 의 렌즈 (140) 는 피사체 (200) 를 촬영한다. 예를 들어, 렌즈 (140) 는 볼록 렌즈와 오목 렌즈로 구성될 수 있다. 피사체 (200) 와 렌즈 (140) 사이의 거리 d가 미리 결정된 거리보다 먼 경우, 볼록 렌즈가 피사체 (200) 를 촬영할 수 있다. 또한, 피사체 (200) 와 렌즈 (140) 사이의 거리 d가 미리 결정된 거리보다 가까운 경우, 오목 렌즈가 피사체 (200) 를 촬영할 수 있다. 이 때, 렌즈 (140) 를 통해 촬영되는 피사체 (200) 는 단말기 (300) 의 표시부 (310) 를 통해 표시될 수 있다.The
렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 렌즈 (140) 의 촬영 초점을 결정하기 위한 연산 처리를 수행한다. 구체적으로, 프로세서 (150) 는 렌즈 (140) 를 통해 촬영되는 프레임 내에서 대비를 추출할 범위인 AOI (Area Of Interest) 를 설정한다. 또한, 프로세서 (150) 는 미리 결정된 피사체 (200) 와 렌즈 (140) 사이의 거리 및 측정된 피사체 (200) 와 렌즈 사이의 거리 d에 대한 변화를 감지하고, 감지한 변화에 따라 렌즈의 이동 방향을 결정한다. 이 때, 프로세서 (150) 는 렌즈의 이동 방향에 따라 초점을 변경시키도록 지시한다. 따라서, 프로세서 (150) 는 초점에 대응하여 촬영되는 복수의 프레임 내 AOI의 대비를 추출한다. 만약, 예측 대비점으로부터 대비가 감소되는 것을 감지한 경우, 프로세서 (150) 는 렌즈의 이동을 중지하고, 예측 대비점에 대응하는 초점을 촬영 초점으로 결정한다. 여기서, 예측 대비점이란, 복수의 프레임 내 AOI의 대비를 추출하여 비교하였을 때, 최대의 대비값을 가지는 것으로 예측되는 지점을 의미한다. 예측 대비점은 대비가 증가하다가 감소해야 추출될 수 있다. The
도 1 에서는 설명의 편의를 위해 렌즈 초점 결정 장치 (100) 가 휴대용 확대기에 구현된 것으로 도시되었으나, 이에 제한되지 않고, 다양한 전자 장치에 구현될 수 있다.In FIG. 1, for convenience of explanation, the lens
이하에서는 렌즈 초점 결정 장치 (100) 에서의 렌즈 초점 결정 방법에 대한 상세한 설명을 위해 도 2를 함께 참조한다.Hereinafter, FIG. 2 will be referred to for a detailed description of the lens focus determination method in the lens
도 2는 본 발명의 일 실시예에 따른 렌즈 초점 결정 방법에 따라 렌즈의 초점을 결정하는 절차를 도시한 것이다. 설명의 편의를 위해 도 1의 구성요소들과 도면 부호를 참조하여 설명한다.FIG. 2 illustrates a procedure for determining a focus of a lens according to a method for determining a focus of a lens according to an embodiment of the present invention. For convenience of explanation, the components will be described with reference to FIG. 1 and reference numerals.
렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 거리 측정 센서 (130) 를 통해 피사체 (200) 와 렌즈 (140) 사이의 거리를 측정한다 (S210).The
예를 들어, 프로세서 (150) 는 거리 측정 센서 (130) 를 통해 피사체 (200) 와 렌즈 (140) 사이의 거리 d를 측정한다. For example, the
몇몇 실시예에서, 프로세서 (150) 는 피사체 (200) 와 렌즈 (140) 사이의 거리 d를 측정한 이후에, 미리 결정된 피사체 (200) 와 렌즈 (140) 사이의 거리 d' 및 거리 d에 대한 변화를 감지할 수 있다. 즉, 프로세서 (150) 는 미리 결정된 거리 d' 에서 측정된 피사체 (200) 와 렌즈 (140) 사이의 거리가 d로 변화되었다는 것을 감지할 수 있다. 여기서, 미리 결정된 거리 d'는 피사체 (200) 와 렌즈 (140) 사이의 초기 거리값 또는 직전에 측정된 피사체 (200) 와 렌즈 (140) 사이의 거리일 수 있다.In some embodiments, after measuring the distance d between the subject 200 and the
이 때, 프로세서 (150) 는 거리 측정 센서 (130) 를 통해 미리 결정된 피사체 (200) 와 렌즈 (140) 사이의 거리 d'를 측정하여 피사체 (200) 와 렌즈 (140) 사이의 거리 d와의 변화를 감지할 수 있다. 또한, 프로세서 (150) 는 미리 결정된 거리 d'에서 촬영된 프레임 및 측정된 거리 d에서 촬영된 프레임의 대비를 기초로 변화를 감지할 수 있다. 즉, 프로세서 (150) 는 각각의 프레임의 대비를 연산하여 거리의 변화를 감지할 수 있다.At this time, the
이어서, 렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 피사체 (200) 와 렌즈 (140) 사이의 거리를 기초로 적어도 하나의 AOI를 설정한다 (S220).The
구체적으로, 프로세서 (150) 는 미리 결정된 거리보다 피사체 (200) 와 렌즈 (140) 사이의 거리 d가 큰 경우, AOI 범위를 1개의 범위로 설정할 수 있다. 여기서, 미리 결정된 거리는 AOI 범위를 결정하는 기준 거리로, 예를 들어, 5cm일 수 있다. AOI 범위가 1개의 범위로 설정된 경우, 프로세서 (150) 는 1개의 범위를 프레임의 중앙으로 설정할 수 있다. 1개의 범위를 프레임의 중앙으로 설정함으로써, 프로세서 (150) 는 프레임에 대한 전체적인 초점을 확보할 수 있다.Specifically, when the distance d between the subject 200 and the
또한, 프로세서 (150) 는 미리 결정된 거리보다 피사체 (200) 와 렌즈 (140) 사이의 거리 d가 작은 경우, AOI 범위를 2개의 범위로 설정할 수 있다. 이 때, 프로세서 (150) 는 2개의 범위를 프레임의 상측 및 하측 또는 프레임의 좌측 및 우측으로 설정할 수 있다. 즉, 접사인 경우에는 프로세서 (150) 가 2개의 범위로 프레임의 상측 및 하측 또는 프레임의 좌측 및 우측으로 AOI를 설정함으로써, 초점이 프레임의 중앙, 상, 하, 좌, 우 모두 균일하도록 한다. 따라서, 렌즈 (140) 에 촬영되는 피사체 (200) 가 글자인 경우, 이진 영상으로 변환시에 글자의 두께가 다르게 되는 문제점이 해결될 수 있다.In addition, when the distance d between the subject 200 and the
이어서, 렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 렌즈 (140) 의 이동 방향을 변경시키도록 지시한다 (S230).Subsequently, the
먼저, 프로세서 (150) 는 감지한 미리 결정된 거리 d'와 측정된 거리 d에 대한 변화에 따라 렌즈 (140) 의 이동 방향을 결정할 수 있다. 구체적으로, 측정된 거리 d가 미리 결정된 거리 d'보다 큰 경우, 프로세서 (150) 는 렌즈 (140) 의 이동 방향을 제1 방향, 예컨대 앞쪽을 향한 방향으로 결정할 수 있다. 또한, 측정된 거리 d가 미리 결정된 거리 d' 보다 작은 경우, 프로세서 (150) 는 렌즈 (140) 의 이동 방향을 제2 방향, 예컨대 뒤쪽을 향한 방향으로 결정할 수 있다. 따라서, 프로세서 (150) 는 앞쪽 또는 뒤쪽으로 결정된 렌즈 (140) 의 이동 방향에 따라 렌즈 (140) 의 이동 방향을 변경시키도록 지시한다.First, the
이어서, 렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 렌즈 (140) 의 이동 방향에 따른 초점에 대응하여 촬영되는 프레임 내 AOI의 대비를 추출한다 (S240).Then, the
렌즈 (140) 의 이동 방향에 따라 초점은 변경된다. 따라서, 프로세서 (140) 는 렌즈 (140) 의 이동 방향에 따라 변경되는 각각의 초점에 대응하여 촬영되는 복수의 프레임 내 AOI의 대비를 추출한다. 즉, 프로세서 (140) 는 현재 촬영되는 프레임 내 AOI 및 직전의 프레임 내 AOI의 대비를 연속해서 추출할 수 있다. 이 때, 미리 결정된 거리보다 피사체 (200) 와 렌즈 (140) 사이의 거리가 큰 경우, 프로세서 (150) 는 프레임의 중앙에 1개의 범위로 결정된 AOI의 대비를 추출한다. 또한, 미리 결정된 거리보다 피사체 (200) 와 렌즈 (140) 사이의 거리가 작은 경우, 프로세서 (150) 는 프레임의 상측 및 하측 또는 프레임의 좌측 및 우측에 2개의 범위로 결정된 AOI의 대비를 추출한다. The focus is changed in accordance with the moving direction of the
이어서, 렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 예측 대비점으로부터 대비가 감소되는 것을 감지한 경우, 렌즈 (140) 의 이동을 중지시킨다 (S250).Then, the
여기서, 예측 대비점은 복수의 프레임 내 AOI의 대비를 추출하여 비교하였을 때, 최대의 대비값을 가지는 것으로 예측되는 지점을 의미한다. 예측 대비점은 대비가 증가하다가 감소해야 추출될 수 있다. 즉, 프로세서 (150) 는 연속해서 추출한 대비가 증가되다가 감소되는 것을 감지한 경우, 프로세서 (150) 는 렌즈 (140) 의 이동을 중지시킨다. Here, the predicted contrast point refers to a point that is predicted to have a maximum contrast value when the contrast of AOIs in a plurality of frames is extracted and compared. The predicted contrast point can be extracted if the contrast increases and then decreases. That is, when the
이어서, 렌즈 초점 결정 장치 (100) 의 프로세서 (150) 는 중지된 렌즈의 위치에 대응하는 초점을 촬영 초점으로 결정한다 (S260).Subsequently, the
즉, 프로세서 (150) 는 대비가 감소되는 것을 감지한 순간의 렌즈 (140) 의 위치에 대응하는 초점을 촬영 초점으로 결정한다. 결정된 촬영 초점으로 렌즈 (140) 를 통해 촬영했을 때, 사용자가 가장 선명하게 피사체 (200) 를 인식할 수 있다. That is, the
이에 따라, 렌즈 초점 결정 장치 (100) 는 렌즈의 이동 방향에 따라 변경되는 초점에 대응하여 촬영되는 프레임 내 AOI의 대비를 추출함으로써, 대비가 증가하다가 감소하는 순간을 감지하여 촬영 초점을 결정할 수 있다. 따라서, 대비가 증가하다가 감소하는 것을 반복하여 즉, 초점이 흐려졌다가 선명해지는 것을 반복하여 촬영 초점을 결정하는 종래의 방법에 비해 렌즈 초점 결정 장치 (100) 는 대비가 증가하다가 감소하는 순간 즉, 초점이 흐려졌다가 선명해지고 다시 흐려지는 순간, 렌즈의 이동을 중지시키기 때문에 대비 추출량이 상대적으로 적어 보다 빠르게 촬영 초점을 결정할 수 있다. Accordingly, the lens-
도 3a 내지 도 3d는 본 발명의 일 실시예에 따라 렌즈 위치에 따른 대비에 대한 그래프 및 초점에 따른 피사체에 대한 화면을 도시한 개략도이다.3A to 3D are schematic views showing a graph of contrast according to a lens position and a screen of a subject according to focus according to an embodiment of the present invention.
도 3a를 참조하면, 제1 대비 그래프 (410) 는 제1 렌즈 위치 (411) 에 따른 대비를 나타낸다. 렌즈 초점 결정 장치 (100) 의 렌즈 (140) 가 결정된 이동 방향에 따라 이동하는 경우, 렌즈의 이동에 따라 대비는 변경된다. 예를 들어, 렌즈 (140) 가 제1 렌즈 위치 (411) 까지 이동하는 경우, 대비는 증가할 수 있다. 이 때, 제1 렌즈 위치 (411) 는 렌즈 (140) 가 최대로 이동할 수 있는 거리 중 3분의 1에 해당하는 위치이다.Referring to FIG. 3A, the
도 3b를 참조하면, 단말기 (300) 의 표시부 (310) 는 제1 대비 그래프 (410) 에 표시된 대비 및 제1 렌즈 위치 (411) 에 따른 피사체에 대한 화면을 표시한다. 구체적으로, 표시부 (310) 는 대비가 최소 및 최대의 중간일 때, 렌즈 위치에 대응하는 초점으로 촬영된 피사체에 대한 화면을 표시한다. 이 때, 초점은 흐릿하여 피사체도 흐릿하게 표시된다.Referring to FIG. 3B, the
도 3c를 참조하면, 제2 대비 그래프 (420) 는 제2 렌즈 위치 (421) 에 따른 대비를 나타낸다. 예를 들어, 렌즈 (140) 가 최대로 이동할 수 있는 거리 중 중간 거리인 제2 렌즈 위치 (421) 까지 이동한 경우, 대비 (422) 는 최대값까지 증가하다가 감소할 수 있다. 이 때, 렌즈 (140) 는 이동을 중지하고, 최대 대비 (423) 에 대응하는 제3 렌즈 위치 (424) 로 이동할 수 있다.Referring to FIG. 3C, the
도 3d를 참조하면, 단말기 (300) 의 표시부 (310) 는 제2 대비 그래프 (420) 에 표시된 대비 및 제3 렌즈 위치 (424) 에 따른 피사체에 대한 화면을 표시한다. 구체적으로, 표시부 (310) 는 대비가 최대값일 ?의, 제3 렌즈 위치 (424) 에 대응하는 초점으로 촬영된 피사체에 대한 화면을 표시한다. 제3 렌즈 위치 (424) 에 대응하는 초점으로 촬영된 피사체는 선명하게 표시된다. 따라서, 제3 렌즈 위치 (424) 에 대응하는 초점은 촬영 초점으로 결정된다. 즉, 촬영 초점은 대비가 최대값에서 감소할 때의 렌즈 위치에 대응하는 초점이다.Referring to FIG. 3D, the
이에 따라, 렌즈 초점 결정 장치 (100) 는 초점이 선명해지고 다시 흐려지려는 순간에 렌즈 (140) 의 이동을 중지시킴으로써, 빠르게 촬영 초점을 결정할 수 있다. Accordingly, the lens-
도 4a 내지 도 4e는 본 발명의 일 실시예에 따라 피사체와 렌즈 사이의 거리에 따라 AOI를 설정하는 화면을 도시한 개략도이다.4A to 4E are schematic views showing a screen for setting an AOI according to a distance between a subject and a lens according to an embodiment of the present invention.
도 4a를 참조하면, 렌즈 초점 결정 장치 (100) 의 피사체 수용부 (120) 는 책인 피사체 (200) 를 수용할 수 있다. 이 때, 렌즈 (140) 와 피사체 (200) 사이의 거리는 13cm일 수 있다.Referring to FIG. 4A, the
도 4b를 참조하면, 렌즈 초점 결정 장치 (100) 는 피사체 (200) 와 렌즈 (140) 사이의 거리를 기초로 AOI (311) 를 설정한다. 따라서, 단말기 (300) 의 표시부 (310) 에 표시된 피사체 (200) 에 대한 프레임 중 일부 영역에 AOI (311) 가 설정될 수 있다. 예를 들어, AOI (311) 를 설정하는 기준 거리가 10cm이고, 피사체 (200) 와 렌즈 (140) 사이의 거리가 10cm 이상인 경우, 렌즈 초점 결정 장치 (100) 는 AOI (311) 를 1개의 범위로 프레임의 중앙에 설정할 수 있다. 따라서, 렌즈 초점 결정 장치 (100) 는 프레임의 모든 범위에 대한 대비를 추출하는 것이 아닌 프레임의 중앙에 설정된 AOI (311) 의 대비만을 추출한다.Referring to FIG. 4B, the lens
도 4c를 참조하면, 렌즈 초점 결정 장치 (100) 의 렌즈 (140) 와 피사체 (200) 사이의 거리는 5cm일 수 있다.Referring to FIG. 4C, the distance between the
도 4d를 참조하면, 렌즈 초점 결정 장치 (100) 의 렌즈 (140) 와 피사체 (200) 사이의 거리가 10 cm 미만인 경우, 렌즈 초점 결정 장치 (100) 는 제1 AOI (312) 및 제2 AOI (313) 로 즉, 2개의 범위로 설정할 수 있다. 이 때, 제1 AOI (312) 및 제2 AOI (313) 의 배열은 단말기 (300) 의 표시부 (310) 의 배치에 따라 달라질 수 있다. 예를 들어, 단말기 (300) 의 표시부 (310) 가 세로로 배치되어 있는 경우, 제1 AOI (312) 는 프레임의 상측에 설정될 수 있다. 또한, 제2 AOI (313) 는 프레임의 하측에 설정될 수 있다.4D, when the distance between the
도 4e를 참조하면, 단말기 (300) 의 표시부 (310) 가 가로로 배치되어 있는 경우, 제1 AOI (312) 는 프레임의 좌측에 설정될 수 있다. 또한, 제2 AOI (313) 는 프레임의 우측에 설정될 수 있다. 이 때, 렌즈 초점 결정 장치 (100) 의 렌즈 (140) 와 피사체 (200) 사이의 거리가 5cm로, 기준 거리보다 작으므로 AOI는 2개의 범위로 설정된다.Referring to FIG. 4E, when the
이에 따라, 렌즈 초점 결정 장치 (100) 는 프레임 전체 영역에 대한 대비가 아닌 설정된 AOI에 대한 대비만 추출하여 촬영 초점을 결정함으로써, 대비 추출에 대한 연산량이 줄어 빠르게 피사체를 또렷하게 촬영할 수 있다.Accordingly, the lens-
도 5는 본 발명의 다른 실시예에 따른 렌즈 초점 결정 장치가 구현된 단말기의 개략적인 구성을 도시한 블럭도이다.5 is a block diagram illustrating a schematic configuration of a terminal in which a lens focus determination apparatus according to another embodiment of the present invention is implemented.
도 5를 참조하면, 단말기 (300) 에 렌즈 초점 결정 장치가 구현될 수 있다. 따라서, 단말기 (300) 는 렌즈를 통해 촬영되는 피사체 (200) 에 대한 대비를 통해 렌즈의 초점을 결정하여, 결정된 초점에 따라 피사체 (200) 를 촬영할 수 있다. 단말기 (300) 는 표시부 (310), 거리 측정 센서 (320), 렌즈 (330) 및 프로세서 (340) 를 포함한다.Referring to FIG. 5, a lens focus determination apparatus may be implemented in the
단말기 (300) 의 표시부 (310) 는 렌즈 (330) 를 통해 촬영되는 피사체 (200) 를 표시할 수 있다. 이 때, 표시부 (310) 는 렌즈 (330) 의 위치에 대응하는 초점으로 촬영되는 피사체 (200) 를 표시할 수 있다.The
단말기 (300) 의 거리 측정 센서 (320), 렌즈 (330) 및 프로세서 (340) 는 도 1을 참조하여 설명한 구성 요소와 동일하므로 설명은 생략한다.The
이에 따라, 단말기 (300) 는 렌즈 초점 결정 장치를 포함하여 빠르게 초점을 결정함으로써 사용자가 사물, 배경, 인물 등의 피사체를 촬영할 때 빠른 시간 내에 또렷하게 촬영할 수 있도록 한다.Accordingly, the terminal 300 includes the lens focus determination device to quickly determine the focus, thereby allowing the user to take a clear picture in a short time when photographing a subject such as an object, a background, or a portrait.
도 6a 내지 도 6d는 본 발명의 실시예에 따라 단말기의 렌즈 위치에 따른 대비에 대한 그래프 및 초점에 따른 피사체에 대한 화면을 도시한 개략도이다.FIGS. 6A to 6D are graphs showing contrasts according to lens positions of a terminal according to an embodiment of the present invention, and schematic views illustrating a screen for a subject according to focus. FIG.
도 6a를 참조하면, 제3 대비 그래프 (510) 는 제4 렌즈 위치 (511) 에 따른 대비를 나타낸다. 단말기 (300) 의 렌즈 (330) 가 결정된 이동 방향에 따라 이동하는 경우, 렌즈의 이동에 따라 대비는 변경된다. 예를 들어, 렌즈 (140) 가 제4 렌즈 위치 (511) 까지 이동하는 경우, 대비는 증가할 수 있다. 이 때, 제4 렌즈 위치 (511) 는 렌즈 (330) 가 최대로 이동할 수 있는 거리 중 3분의 1에 해당하는 위치이다.Referring to FIG. 6A, the
도 6b를 참조하면, 단말기 (300) 의 표시부 (310) 는 제3 대비 그래프 (510) 에 표시된 대비 및 제4 렌즈 위치 (511) 에 따른 피사체에 대한 화면을 표시한다. 구체적으로, 표시부 (310) 는 대비가 최소 및 최대의 중간일 때, 렌즈 위치에 대응하는 초점으로 촬영된 피사체에 대한 화면을 표시한다. 이 때, 초점은 흐릿하여 피사체도 흐릿하게 표시된다.Referring to FIG. 6B, the
도 6c를 참조하면, 제4 대비 그래프 (520) 는 제5 렌즈 위치 (521) 에 따른 대비를 나타낸다. 예를 들어, 렌즈 (330) 가 최대로 이동할 수 있는 거리 중 중간 거리인 제5 렌즈 위치 (521) 까지 이동한 경우, 대비는 최대값까지 증가하다가 감소할 수 있다. 이 때, 렌즈 (330) 는 이동을 중지할 수 있다.Referring to FIG. 6C, the
도 6d를 참조하면, 단말기 (300) 의 표시부 (310) 는 제4 대비 그래프 (520) 에 표시된 대비 및 제5 렌즈 위치 (521) 에 따른 피사체에 대한 화면을 표시한다. 구체적으로, 표시부 (310) 는 대비가 최대값에서 감소할 때, 제5 렌즈 위치 (521) 에 대응하는 초점으로 촬영된 피사체에 대한 화면을 표시한다. 제5 렌즈 위치 (521) 에 대응하는 초점으로 촬영된 피사체는 선명하게 표시된다. 따라서, 제5 렌즈 위치 (521) 에 대응하는 초점은 촬영 초점으로 결정된다. 즉, 촬영 초점은 대비가 최대값에서 감소할 때의 렌즈 위치에 대응하는 초점이다.6D, the
이에 따라, 단말기 (300) 는 초점이 선명해지고 다시 흐려지려는 순간에 렌즈 (330) 의 이동을 중지시킴으로써, 빠르게 촬영 초점을 결정하여 선명하게 피사체를 촬영할 수 있다. Accordingly, the terminal 300 stops the movement of the
본 명세서에서, 각 블록 또는 각 단계는 특정된 논리적 기능 (들) 을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또한, 몇 가지 대체 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들 또는 단계들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.In this specification, each block or each step may represent a part of a module, segment or code that includes one or more executable instructions for executing the specified logical function (s). It should also be noted that in some alternative embodiments, the functions mentioned in the blocks or steps may occur out of order. For example, two blocks or steps shown in succession may in fact be performed substantially concurrently, or the blocks or steps may sometimes be performed in reverse order according to the corresponding function.
본 명세서에 개시된 실시예들과 관련하여 설명된 방법 또는 알고리즘의 단계는 프로세서에 의해 실행되는 하드웨어, 소프트웨어 모듈 또는 그 2 개의 결합으로 직접 구현될 수도 있다. 소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터, 하드 디스크, 착탈형 디스크, CD-ROM 또는 당업계에 알려진 임의의 다른 형태의 저장 매체에 상주할 수도 있다. 예시적인 저장 매체는 프로세서에 커플링되며, 그 프로세서는 저장 매체로부터 정보를 판독할 수 있고 저장 매체에 정보를 기입할 수 있다. 다른 방법으로, 저장 매체는 프로세서와 일체형일 수도 있다. 프로세서 및 저장 매체는 주문형 집적회로 (ASIC) 내에 상주할 수도 있다. ASIC는 사용자 단말기 내에 상주할 수도 있다. 다른 방법으로, 프로세서 및 저장 매체는 사용자 단말기 내에 개별 컴포넌트로서 상주할 수도 있다.The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, which is capable of reading information from, and writing information to, the storage medium. Alternatively, the storage medium may be integral with the processor. The processor and the storage medium may reside within an application specific integrated circuit (ASIC). The ASIC may reside within the user terminal. Alternatively, the processor and the storage medium may reside as discrete components in a user terminal.
이상 첨부된 도면을 참조하여 본 발명의 실시예들을 더욱 상세하게 설명하였으나, 본 발명은 반드시 이러한 실시예로 국한되는 것은 아니고, 본 발명의 기술사상을 벗어나지 않는 범위 내에서 다양하게 변형실시될 수 있다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those embodiments and various changes and modifications may be made without departing from the scope of the present invention. . Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. Therefore, it should be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
100: 렌즈 초점 결정 장치
110: 전원 공급부
120: 피사체 수용부
130: 거리 측정 센서
140: 렌즈
150: 프로세서
200: 피사체
300: 단말기
310: 표시부
311: AOI
312: 제1 AOI
313: 제2 AOI
320: 거리 측정 센서
330: 렌즈
340: 프로세서
410: 제1 대비 그래프
411: 제1 렌즈 위치
420: 제2 대비 그래프
421: 제2 렌즈 위치
422: 대비
423: 최대 대비
424: 제3 렌즈 위치
510: 제3 대비 그래프
511: 제4 렌즈 위치
520: 제4 대비 그래프
521: 제5 렌즈 위치100: lens focus determination device
110: Power supply
120:
130: Distance measuring sensor
140: lens
150: Processor
200: Subject
300:
310:
311: AOI
312: 1st AOI
313: 2nd AOI
320: Distance measuring sensor
330: lens
340: Processor
410: First contrast graph
411: First lens position
420: second contrast graph
421: second lens position
422: Contrast
423: maximum contrast
424: Third lens position
510: Third contrast graph
511: fourth lens position
520: Fourth contrast graph
521: fifth lens position
Claims (15)
거리 측정 센서를 통해 피사체와 렌즈 사이의 거리를 측정하는 단계;
상기 거리를 기초로 상기 렌즈에 의해 촬영되는 프레임 내에서 적어도 하나의 AOI (Area Of Interest) 를 설정하는 단계;
상기 렌즈의 이동 방향을 변경시키도록 지시하는 단계;
상기 렌즈의 이동 방향에 따른 초점에 대응하여 촬영되는 프레임 내 상기 AOI의 대비를 추출하는 단계;
예측 대비점으로부터 상기 대비가 감소되는 것을 감지한 경우, 상기 렌즈의 이동을 중지시키는 단계; 및
중지된 상기 렌즈의 위치에 대응하는 상기 초점을 촬영 초점으로 결정하는 단계를 포함하는, 렌즈 초점 결정 방법.A method of determining a focus of a lens in which an operation is implemented by a processor,
Measuring a distance between the subject and the lens through the distance measuring sensor;
Setting at least one Area Of Interest (AOI) within a frame photographed by the lens based on the distance;
Directing the lens to change the moving direction of the lens;
Extracting a contrast of the AOI in a frame photographed corresponding to a focus according to a moving direction of the lens;
Stopping the movement of the lens when it is sensed that the contrast is reduced from a predicted contrast point; And
And determining the focus corresponding to the position of the stopped lens as the focus point.
상기 거리를 측정하는 단계 이후에,
미리 결정된 거리 및 측정된 상기 거리에 대한 변화를 감지하는 단계를 더 포함하고,
상기 렌즈의 이동 방향을 변경시키도록 지시하는 단계는,
상기 미리 결정된 거리 및 상기 측정된 거리에 대한 변화에 따라 상기 렌즈의 이동 방향을 결정하는 단계를 더 포함하는, 렌즈 초점 결정 방법.The method according to claim 1,
After the step of measuring the distance,
Further comprising sensing a change in a predetermined distance and the measured distance,
The step of instructing to change the moving direction of the lens comprises:
Further comprising determining a direction of movement of the lens in accordance with the predetermined distance and the change in the measured distance.
상기 미리 결정된 거리는,
상기 피사체와 상기 렌즈 사이의 초기 거리값 또는 직전에 상기 측정된 거리인, 렌즈 초점 결정 방법.3. The method of claim 2,
The predetermined distance may be,
The initial distance value between the subject and the lens or the measured distance immediately before the subject.
상기 감지를 결정하는 단계는,
상기 미리 결정된 거리 및 상기 거리 측정 센서를 통해 상기 측정된 거리를 기초로 상기 변화를 감지하는 단계인, 렌즈 초점 결정 방법.3. The method of claim 2,
The method of claim 1,
And sensing the change based on the predetermined distance and the measured distance through the distance measurement sensor.
상기 변화를 감지하는 단계는,
상기 미리 결정된 거리에서 촬영된 프레임 및 상기 측정된 거리에서 촬영되는 프레임의 대비를 기초로 상기 변화를 감지하는 단계인, 렌즈 초점 결정 방법.3. The method of claim 2,
Wherein the step of sensing the change comprises:
And detecting the change based on a contrast of a frame photographed at the predetermined distance and a frame photographed at the measured distance.
상기 AOI를 설정하는 단계는,
미리 결정된 거리보다 상기 거리가 큰 경우,
상기 AOI를 1개의 범위로 설정하는 단계인, 렌즈 초점 결정 방법.The method according to claim 1,
The step of setting the AOI comprises:
If the distance is greater than the predetermined distance,
And setting the AOI to one range.
상기 1개의 범위로 설정하는 단계는,
상기 1개의 범위를 상기 프레임의 중앙으로 설정하는 단계를 포함하는, 렌즈 초점 결정 방법.The method according to claim 6,
Wherein the setting of the one range includes:
And setting the one range to the center of the frame.
상기 AOI를 설정하는 단계는,
미리 결정된 거리보다 상기 거리가 작은 경우,
상기 AOI를 2개의 범위로 설정하는 단계인, 렌즈 초점 결정 방법.The method according to claim 1,
The step of setting the AOI comprises:
If the distance is smaller than the predetermined distance,
And setting the AOI to two ranges.
상기 2개의 범위로 설정하는 단계는,
상기 2개의 범위를 상기 프레임의 상측 및 하측 또는 상기 프레임의 좌측 및 우측으로 설정하는 단계를 포함하는, 렌즈 초점 결정 방법.9. The method of claim 8,
Wherein setting the two ranges comprises:
And setting the two ranges to the upper and lower sides of the frame or to the left and right sides of the frame.
상기 AOI의 대비를 추출하는 단계는,
현재 촬영되는 프레임 내 상기 AOI 및 직전의 프레임 내 상기 AOI의 대비를 연속해서 추출하는 단계인, 렌즈 초점 결정 방법.The method according to claim 1,
The step of extracting the contrast of the AOI comprises:
And continuously extracting the contrast of the AOI in the immediately preceding frame and the AOI in the frame currently being photographed.
상기 렌즈와 상기 피사체 사이의 거리를 측정하도록 구성된 거리 측정 센서; 및
상기 거리를 기초로 상기 렌즈에 의해 촬영되는 프레임 내에서 적어도 하나의 AOI (Area Of Interest) 를 설정하도록 구성된 프로세서를 포함하고,
상기 프로세서는,
상기 렌즈의 이동 방향을 변경시키도록 지시하고, 상기 렌즈의 이동 방향에 따른 초점 대응하여 촬영되는 프레임 내 상기 AOI의 대비를 추출하고, 예측 대비점으로부터 상기 대비가 감소되는 것을 감지한 경우, 상기 렌즈의 이동을 중지시키고, 중지된 상기 렌즈의 위치에 대응하는 상기 초점을 촬영 초점으로 결정하도록 구성된, 렌즈 초점 결정 장치.A lens for photographing a subject;
A distance measuring sensor configured to measure a distance between the lens and the subject; And
And a processor configured to set at least one Area Of Interest (AOI) within a frame photographed by the lens based on the distance,
The processor comprising:
Wherein the control unit instructs to change the moving direction of the lens and extracts a contrast of the AOI in a frame photographed corresponding to the moving direction of the lens and when it is sensed that the contrast is reduced from the predicted contrast point, And to determine the focal point corresponding to the position of the stopped lens as the photographing focal point.
상기 프로세서는,
미리 결정된 거리 및 측정된 상기 거리에 대한 변화를 감지하고,
상기 미리 결정된 거리 및 상기 측정된 거리에 대한 변화에 따라 상기 렌즈의 이동 방향을 결정하도록 구성된, 렌즈 초점 결정 장치.12. The method of claim 11,
The processor comprising:
Detecting a predetermined distance and a change to the measured distance,
And to determine a moving direction of the lens in accordance with the predetermined distance and the change in the measured distance.
상기 프로세서는,
미리 결정된 거리보다 상기 거리가 큰 경우,
상기 AOI를 1개의 범위로 설정하도록 구성된, 렌즈 초점 결정 장치.12. The method of claim 11,
The processor comprising:
If the distance is greater than the predetermined distance,
And to set the AOI to one range.
상기 프로세서는,
미리 결정된 거리보다 상기 거리가 작은 경우,
상기 AOI를 2개의 범위로 설정하도록 구성된, 렌즈 초점 결정 장치.12. The method of claim 11,
The processor comprising:
If the distance is smaller than the predetermined distance,
And to set the AOI to two ranges.
상기 프로세서는,
현재 촬영되는 프레임 내 상기 AOI 및 직전의 프레임 내 상기 AOI의 대비를 연속해서 추출하도록 구성된, 렌즈 초점 결정 장치.12. The method of claim 11,
The processor comprising:
And to continuously extract the contrast of the AOI in the immediately preceding frame and the AOI in the currently photographed frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170019913A KR101900429B1 (en) | 2017-02-14 | 2017-02-14 | Method and apparatus for determining lens focus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170019913A KR101900429B1 (en) | 2017-02-14 | 2017-02-14 | Method and apparatus for determining lens focus |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180093606A KR20180093606A (en) | 2018-08-22 |
KR101900429B1 true KR101900429B1 (en) | 2018-09-19 |
Family
ID=63453068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170019913A KR101900429B1 (en) | 2017-02-14 | 2017-02-14 | Method and apparatus for determining lens focus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101900429B1 (en) |
-
2017
- 2017-02-14 KR KR1020170019913A patent/KR101900429B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR20180093606A (en) | 2018-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018228467A1 (en) | Image exposure method and device, photographing device, and storage medium | |
US9154697B2 (en) | Camera selection based on occlusion of field of view | |
US9973743B2 (en) | Electronic device having dynamically controlled flashlight for image capturing and related control method | |
TWI520600B (en) | A multimodal camera and a method for selecting an operation mode of a camera | |
EP2768214A2 (en) | Method of tracking object using camera and camera system for object tracking | |
US9060129B2 (en) | Imaging device, control method of imaging device, and computer program | |
KR20170106325A (en) | Method and apparatus for multiple technology depth map acquisition and fusion | |
KR20120022512A (en) | Electronic camera, image processing apparatus, and image processing method | |
KR102059598B1 (en) | Digital photographing apparatus and control method thereof | |
JP4732299B2 (en) | Method for detecting specific subject image and digital camera | |
US20020150308A1 (en) | Image processing method, and an apparatus provided with an image processing function | |
US20140071318A1 (en) | Imaging apparatus | |
JP5725194B2 (en) | Night scene image blur detection system | |
US10121067B2 (en) | Image processing apparatus that determines processing target area of an image based on degree of saliency, image processing method, and storage medium | |
US10574904B2 (en) | Imaging method and electronic device thereof | |
US9071760B2 (en) | Image pickup apparatus | |
WO2018228466A1 (en) | Focus region display method and apparatus, and terminal device | |
WO2016203536A1 (en) | Calculation method, calculation program, and imaging device | |
JP2009105559A (en) | Method of detecting and processing object to be recognized from taken image, and portable electronic device with camera | |
US10965877B2 (en) | Image generating method and electronic apparatus | |
JP4771536B2 (en) | Imaging device and method of selecting face as main subject | |
US20200177814A1 (en) | Image capturing apparatus and method of controlling image capturing apparatus | |
US9591213B2 (en) | Electronic device, method and storage medium for generating an image | |
KR101900429B1 (en) | Method and apparatus for determining lens focus | |
JP6172973B2 (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |