KR102191747B1 - Distance measurement device and method - Google Patents

Distance measurement device and method Download PDF

Info

Publication number
KR102191747B1
KR102191747B1 KR1020190035302A KR20190035302A KR102191747B1 KR 102191747 B1 KR102191747 B1 KR 102191747B1 KR 1020190035302 A KR1020190035302 A KR 1020190035302A KR 20190035302 A KR20190035302 A KR 20190035302A KR 102191747 B1 KR102191747 B1 KR 102191747B1
Authority
KR
South Korea
Prior art keywords
distance
image
distance measuring
aperture
distance measurement
Prior art date
Application number
KR1020190035302A
Other languages
Korean (ko)
Other versions
KR20200114117A (en
Inventor
전국진
김유미
Original Assignee
서울대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 서울대학교산학협력단 filed Critical 서울대학교산학협력단
Priority to KR1020190035302A priority Critical patent/KR102191747B1/en
Publication of KR20200114117A publication Critical patent/KR20200114117A/en
Application granted granted Critical
Publication of KR102191747B1 publication Critical patent/KR102191747B1/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/18Focusing aids
    • G03B13/20Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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
    • G03B9/00Exposure-making shutters; Diaphragms
    • G03B9/02Diaphragms

Abstract

본 발명은 거리 측정 기술에 관한 것으로 더욱 상세하게는 가변조리개를 이용하여 취득한 복수의 영상 정보를 이용하여 거리를 측정하는 장치 및 방법에 관한 것이다. 본 발명의 일 실시 예에 따르면, 제작이 복잡하지 않고, 실시간으로 거리 측정이 가능하여 자동차, 로봇, 드론 등에 적용되는 경우 자율 주행 이동체에 활용될 수 있다. The present invention relates to a distance measurement technology, and more particularly, to an apparatus and method for measuring a distance using a plurality of image information acquired using a variable aperture. According to an embodiment of the present invention, manufacturing is not complicated and distance measurement is possible in real time, so that when applied to a vehicle, a robot, a drone, etc., it can be used for an autonomous moving object.

Description

거리 측정 장치 및 방법{DISTANCE MEASUREMENT DEVICE AND METHOD}Distance measuring device and method {DISTANCE MEASUREMENT DEVICE AND METHOD}

본 발명은 거리 측정 기술에 관한 것으로 더욱 상세하게는 초점이 다른 복수의 영상정보를 이용하여 거리를 측정하는 거리 측정 장치 및 방법에 관한 것이다.The present invention relates to a distance measurement technology, and more particularly, to a distance measurement apparatus and method for measuring a distance using a plurality of image information having different focus.

거리 측정 기술은 이동 로봇이나 자율 주행 차량 등의 자율 주행을 위한 핵심 기술이다. 이동 로봇은 신뢰성 있는 사물과의 거리 측정 결과에 기반하여 최적화된 경로 계획을 수립하고 이를 기반으로 안전한 운전 제어를 수행할 수 있다. 따라서, 근래에도 거리 측정 기술은 폭넓게 연구되고 있다.Distance measurement technology is a key technology for autonomous driving such as mobile robots and autonomous vehicles. The mobile robot can establish an optimized route plan based on the result of measuring the distance to a reliable object and perform safe driving control based on this. Therefore, even in recent years, a distance measurement technique has been widely studied.

특히 자율주행 차량의 핵심이 되는 기술은 첨단운전보조시스템 즉, ADAS(Advanced Driver Assistant System)이다. 첨단운전보조시스템은 크게 인지, 판단, 제어 총 세 분야의 기술로 구성된다. 첨단운전보조시스템의 핵심은 센서라고 할 수 있다. 첨단운전보조시스템의 인지 영역은 센서를 사용해 장애물, 도로표식, 교통신호 등을 인식하는 기술이다. 첨단운전보조시스템 센서는 크게 카메라, 레이더(Laser), 라이다(LiDAR )로 나눌 수 있다. 레이저 거리 센서(Laser Range Finder) 또는 라이더(LiDAR) 센서는 이동 로봇의 거리 측정을 위해 이용되는 대표적인 센서이다. 레이저 또는 라이더 거리 센서는 주변 환경에 대한 직관적인 정보를 제공하기 때문에 관측모델의 구현이 용이할 뿐만 아니라, 높은 정확도와 정밀도, 넓은 관측 범위, 조명에 강인함 등의 장점을 갖는다. 하지만, 레이저 또는 라이더 거리 센서는 아직까지 가격이 고가여서 적용에 한계가 있으며, 광학적 특이 환경, 예를 들어, 유리 또는 거울이 다수 존재하는 환경에서는 정확성을 보장할 수 없다. 또한 거리 측정에는 뛰어난 기능성이 있지만 영상을 추출할 수는 없어 영상 촬영과 거리 측정으로 동시에 하려면 별도의 영상촬영용 카메라를 따로 적용해야 한다.In particular, the core technology of autonomous vehicles is the advanced driving assistance system, or ADAS (Advanced Driver Assistant System). The advanced driving assistance system is largely composed of technologies in three areas: recognition, judgment, and control. The core of the advanced driving assistance system is the sensor. The recognition area of advanced driving assistance systems is a technology that uses sensors to recognize obstacles, road signs, and traffic signals. Advanced driving assistance system sensors can be largely divided into cameras, radars, and LiDARs. A laser range finder or LiDAR sensor is a typical sensor used to measure the distance of a mobile robot. Since the laser or lidar distance sensor provides intuitive information on the surrounding environment, it is easy to implement an observation model, and has advantages such as high accuracy and precision, a wide viewing range, and robustness to lighting. However, the laser or lidar distance sensor is still expensive and has limitations in its application, and accuracy cannot be guaranteed in an optically specific environment, for example, an environment in which a large number of glass or mirrors exist. In addition, although it has excellent functionality for distance measurement, it cannot extract an image, so a separate camera for shooting video must be applied separately to simultaneously capture video and measure distance.

반면 카메라는 영상을 촬영하면서 동시에 촬영한 영상에서의 객체를 추출하여 거리 측정도 가능하다. 하지만 단일 카메라로는 거리 측정이 어려울 뿐만 아니라 정확도도 낮다.On the other hand, the camera can measure the distance by extracting the object from the captured image while capturing the image. However, not only is it difficult to measure distances with a single camera, but the accuracy is also low.

본 발명의 배경기술은 대한민국 공개특허 제10-2018-0078596호에 개시되어 있다.The background technology of the present invention is disclosed in Korean Patent Application Publication No. 10-2018-0078596.

본 발명은 가변조리개를 이용하여 취득한 복수의 영상정보를 이용하여 거리를 측정하는 거리 측정 장치를 제공한다.The present invention provides a distance measuring apparatus for measuring a distance using a plurality of image information acquired using a variable aperture.

또한, 본 발명은 복수의 카메라 모듈을 사용하지 않고 하나의 카메라 모듈을 이용하여 정확하게 거리를 측정하는 거리 측정 장치를 제공한다.In addition, the present invention provides a distance measuring device that accurately measures a distance using one camera module without using a plurality of camera modules.

또한, 본 발명은 하나의 영상정보를 이용하지 않고 복수의 영상정보를 이용하여 더욱 정확성이 높은 거리 측정 장치를 제공한다.In addition, the present invention provides a distance measuring apparatus with higher accuracy by using a plurality of image information without using one image information.

또한, 본 발명은 거리 측정과 동시에 영상정보도 저장하는 거리 측정 장치를 제공한다.In addition, the present invention provides a distance measurement apparatus that stores image information as well as distance measurement.

본 발명의 일 측면에 따르면, 거리 측정 장치가 제공된다According to an aspect of the present invention, a distance measuring device is provided

본 발명의 일 실시 예에 따른 거리 측정 장치는 조리개 개구부의 직경을 조절하여 초점이 다른 이미지를 획득하는 카메라 모듈 및 카메라 모듈에서 획득된 초점이 다른 복수의 이미지를 이용하여 거리를 계산하는 거리 측정 모듈을 포함할 수 있다.A distance measuring apparatus according to an embodiment of the present invention includes a camera module that obtains an image with a different focus by adjusting a diameter of an aperture opening, and a distance measuring module that calculates a distance using a plurality of images with different focus obtained from the camera module It may include.

본 발명의 다른 일 측면에 따르면, 거리 측정 방법 및 이를 실행하는 컴퓨터 프로그램이 기록된 컴퓨터가 판독 가능한 기록매체가 제공된다.According to another aspect of the present invention, a computer-readable recording medium in which a method for measuring a distance and a computer program for executing the same is recorded is provided.

본 발명의 일 실시 예에 따른 거리 측정 방법 및 이를 실행하는 컴퓨터 프로그램이 기록된 컴퓨터가 판독 가능한 기록매체는 가변조리개를 이용하여 초점이 다른 영상을 획득하는 단계, 초점이 다른 영상에서 거리 산출을 위한 객체를 탐지하는 단계, 객체의 착란원에 대한 픽셀 값을 계산하는 단계 및 픽셀 값의 차이로 거리를 추정하는 단계를 포함할 수 있다.A computer-readable recording medium in which a method for measuring distance and a computer program for executing the same according to an embodiment of the present invention is recorded is acquiring an image having a different focus using a variable aperture, for calculating a distance from an image having a different focus. It may include detecting an object, calculating a pixel value for a source of confusion of the object, and estimating a distance based on a difference between the pixel values.

본 발명의 일 실시 예에 따르면, 제작이 복잡하지 않고, 실시간으로 거리 측정이 가능하여 자동차, 로봇, 드론 등에 적용되는 경우 자율 주행 이동체에 활용될 수 있다.According to an embodiment of the present invention, manufacturing is not complicated and distance measurement is possible in real time, so that when applied to a vehicle, a robot, a drone, etc., it can be used for an autonomous moving object.

본 발명의 일 실시 예에 따르면, 제작이 복잡하지 않고, 실시간으로 거리 측정이 가능하여 자동차, 로봇, 드론 등에 적용되는 경우 자율 주행 이동체에 활용될 수 있다.According to an embodiment of the present invention, manufacturing is not complicated and distance measurement is possible in real time, so that when applied to a vehicle, a robot, a drone, etc., it can be used for an autonomous moving object.

본 발명의 일 실시 예에 따르면, 하나의 카메라 모듈에서 촬상한 복수의 영상정보를 이용하여 거리를 정확하게 산출할 수 있다.According to an embodiment of the present invention, a distance may be accurately calculated by using a plurality of image information captured by one camera module.

도 1은 본 발명의 일 실시 예에 따른 거리 측정 장치의 구성도.
도 2은 본 발명의 일 실시 예에 따른 거리 측정 장치의 블록도.
도 3는 본 발명의 일 실시 예에 따른 거리 측정 모듈의 블록도.
도 4는 본 발명의 일 실시 예에 따른 거리 측정 장치가 탈초점 깊이 알고리즘으로 깊이 맵을 추출하는 방법을 나타낸 도면.
도 5은 본 발명의 일 실시 예에 따른 거리 측정 장치가 획득한 영상에서 가변 조리개에 따른 초점면의 변화를 나타낸 도면.
도 6은 본 발명의 일 실시 예에 따른 거리측정 방법의 흐름도.
도 7은 본 발명의 일 실시 예에 따른 거리 측정 장치의 카메라 모듈 단면도.
도 8내지 도 10은 본 발명의 일 실시 예에 따른 거리 측정 장치의 빔을 나타낸 도면들.
도 11및 도 12는 본 발명의 일 실시 예에 따른 거리 측정 장치를 자율주행차에 장착하여 획득한 영상을 나타낸 도면들.
도 13은 본 발명의 일 실시 예에 따른 거리 측정 장치가 추출한 블러 값을 표시한 그래프.
1 is a block diagram of a distance measuring apparatus according to an embodiment of the present invention.
2 is a block diagram of a distance measuring apparatus according to an embodiment of the present invention.
3 is a block diagram of a distance measurement module according to an embodiment of the present invention.
4 is a diagram illustrating a method of extracting a depth map by a distance measuring apparatus according to an embodiment of the present invention using a defocal depth algorithm.
5 is a diagram illustrating a change in a focal plane according to a variable aperture in an image acquired by a distance measuring apparatus according to an embodiment of the present invention.
6 is a flowchart of a distance measuring method according to an embodiment of the present invention.
7 is a cross-sectional view of a camera module of a distance measuring apparatus according to an embodiment of the present invention.
8 to 10 are views showing a beam of a distance measuring apparatus according to an embodiment of the present invention.
11 and 12 are diagrams showing images obtained by mounting a distance measuring device according to an embodiment of the present invention to an autonomous vehicle.
13 is a graph showing a blur value extracted by a distance measuring apparatus according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 이를 상세한 설명을 통해 상세히 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. In the present invention, various modifications may be made and various embodiments may be provided. Specific embodiments are illustrated in the drawings and will be described in detail through detailed description. However, this is not intended to limit the present invention to a specific embodiment, it is to be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the present invention, when it is determined that a detailed description of a related known technology may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

이하, 본 발명의 바람직한 실시 예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, and in the description with reference to the accompanying drawings, the same or corresponding components are assigned the same reference numbers, and redundant descriptions thereof will be omitted. To

도1은 본 발명의 일 실시 예에 따른 거리 측정 장치의 구성도이다.1 is a configuration diagram of a distance measuring apparatus according to an embodiment of the present invention.

도1을 참조하면, 거리 측정 장치(10)는 영상정보를 기초한 실시간 거리 정보를 제공하여 자동차, 로봇, 드론 등에 적용되어 자율주행차, 스마트 홈 및 스마트 팩토리 등에 적용될 수 있다.Referring to FIG. 1, the distance measuring apparatus 10 may be applied to automobiles, robots, drones, etc. by providing real-time distance information based on image information, and may be applied to autonomous vehicles, smart homes, and smart factories.

도 2는 본 발명의 일 실시 예에 따른 거리 측정 장치의 블록도이다. 2 is a block diagram of a distance measuring apparatus according to an embodiment of the present invention.

도 2을 참조하면, 본 발명의 일 실시 예에 따른 거리 측정 장치(10)는 카메라 모듈(100) 및 거리 측정 모듈(200)을 포함한다.Referring to FIG. 2, a distance measurement apparatus 10 according to an embodiment of the present invention includes a camera module 100 and a distance measurement module 200.

카메라 모듈(100)은 일반적인 카메라 또는 블랙박스와 같이 주변 영상과 조리개 개구부의 직경을 조절하여 초점이 다른 복수의 이미지를 동시에 획득한다. 카메라 모듈(100)은 촬영한 영상을 저장하고 동시에 초점이 다른 복수의 이미지는 거리 측정 모듈(200)에 전달한다. 예를 들면, 카메라 모듈(100)은 촬영한 영상을 블랙박스처럼 모니터링 영상으로 이용할 수도 있다. 또한 카메라 모듈(100)은 촬영한 영상을 자율주행차량에서 교통표지판 인식, 신호등 인식, 사각 지대 탐지, 차선 이탈 등을 판단하 데이터로 이용할 수도 있다.The camera module 100 simultaneously acquires a plurality of images having different focal points by adjusting the diameter of the peripheral image and the aperture opening, like a general camera or a black box. The camera module 100 stores a captured image and simultaneously transmits a plurality of images having different focuses to the distance measurement module 200. For example, the camera module 100 may use the captured image as a monitoring image like a black box. In addition, the camera module 100 may use the captured image as data to determine traffic sign recognition, traffic light recognition, blind spot detection, lane departure, and the like in the autonomous vehicle.

카메라 모듈(100)은 가변조리개부(110) 및 카메라부(160)를 포함한다.The camera module 100 includes a variable aperture unit 110 and a camera unit 160.

가변조리개부(110)는 초점이 다른 이미지를 획득하기 위해 조리개 개구부의 직경을 조절한다. 가변조리개부(110)는 카메라부(160) 앞단에 결합되며 예를 들면, 일반적인 카메라에 별도 수정없이 조립하는 방식으로도 이용할 수 있다. The variable aperture unit 110 adjusts the diameter of the aperture aperture in order to obtain an image with a different focus. The variable aperture unit 110 is coupled to the front end of the camera unit 160 and may be used in a manner of assembling, for example, a general camera without any modification.

카메라부(160)는 초점이 다른 복수의 영상정보들을 생성한다. 카메라부(160)는 카메라 렌즈, 이미지 센서 및 적외선 필터(IR 필터)를 포함한다.The camera unit 160 generates a plurality of image information having different focus. The camera unit 160 includes a camera lens, an image sensor, and an infrared filter (IR filter).

카메라 렌즈는 이미지 센서에 빛을 전달한다. The camera lens delivers light to the image sensor.

적외선 필터는 적외선을 차단하는 필터로 이미지 센서가 가시광선 뿐만 아니라 근적외선 영역을 감지하므로 근적외선 영역을 반사시킨다. The infrared filter is a filter that blocks infrared rays. Since the image sensor detects not only visible rays but also near infrared rays, the near infrared rays are reflected.

이미지 센서는 적외선 필터를 통과한 빛을 전기적 신호로 변경하여 영상 정보를 생성한다. The image sensor generates image information by converting the light passing through the infrared filter into an electrical signal.

거리 측정 모듈(200)은 초점이 다른 복수의 영상정보들을 이용하여 객체까지의 거리를 측정한다. 거리 측정 모듈(200)은 입력부(210) 및 거리 측정부(220)를 포함한다. 거리 측정 모듈(200)은 이하 도 3을 참조하여 더욱 상세히 설명한다.The distance measurement module 200 measures a distance to an object using a plurality of image information having different focus. The distance measurement module 200 includes an input unit 210 and a distance measurement unit 220. The distance measurement module 200 will be described in more detail below with reference to FIG. 3.

도 3은 본 발명의 일 실시 예에 따른 거리 측정 모듈의 블록도이다.3 is a block diagram of a distance measurement module according to an embodiment of the present invention.

도 3을 참조하면, 거리 측정 모듈(200)은 카메라 모듈(100)에서 생성된 영상 정보 중에 초점이 다른 영상을 비교하여 객체와의 거리를 측정한다. 거리 측정 모듈(200)은 탈초점 깊이(Depth From Defocus) 알고리즘을 이용하여 거리를 측정한다. 탈초점 깊이 알고리즘은 깊이 값과 블러(흐림)의 비례 관계를 이용하는 것으로 흐림의 양을 측정하여 깊이 값을 산출할 수 있다. 거리 측정 모듈(200)은 단일 이미지를 이용한 탈초점 깊이 알고리즘 방식에 비해 측정의 정확도를 높일 수 있다. 거리 측정 모듈(200)은 입력부(210) 및 거리 측정부(220)를 포함한다.Referring to FIG. 3, the distance measurement module 200 compares images with different focus among image information generated by the camera module 100 to measure a distance to an object. The distance measurement module 200 measures a distance using a Defocus Depth (Depth From Defocus) algorithm. The out-of-focus depth algorithm uses a proportional relationship between a depth value and a blur (blur), and can calculate a depth value by measuring the amount of blur. The distance measurement module 200 may increase measurement accuracy compared to a defocus depth algorithm method using a single image. The distance measurement module 200 includes an input unit 210 and a distance measurement unit 220.

입력부(210)는 카메라 모듈(100)을 통해 가변조리개부(110)를 이용한 초점이 다른 복수의 영상 정보를 획득할 수 있다.The input unit 210 may obtain information on a plurality of images having different focuses using the variable aperture unit 110 through the camera module 100.

거리 측정부(220)는 초점이 다른 복수의 영상 정보를 이용하여 객체까지의 거리를 측정한다. 거리 측정부(220)는 더욱 상세하게는 큰 조리개를 이용하여 얻은 얕은 피사계 심도의 영상 정보와 작은 조리개를 이용하여 얻은 심도가 깊은 영상 정보를 이용하여 거리 정보를 추출한다. 거리 측정부(220)는 탐지부(221) 및 깊이 산출부(223)를 포함한다. The distance measuring unit 220 measures a distance to an object by using information on a plurality of images having different focal points. In more detail, the distance measurement unit 220 extracts distance information by using image information of a shallow depth of field obtained using a large aperture and image information having a deep depth of field obtained using a small aperture. The distance measurement unit 220 includes a detection unit 221 and a depth calculation unit 223.

탐지부(221)는 영상 정보에서 거리를 측정할 객체를 검출한다. 탐지부(221)는 객체 탐지를 위한 알고리즘은 공지의 다양한 알고리즘을 적용할 수 있다. 탐지부(221)는 예를 들면, 물체인식 알고리즘 중 하나인 YOLO2 버전을 사용할 수 있다. The detection unit 221 detects an object to measure a distance from the image information. The detection unit 221 may apply various known algorithms as an algorithm for object detection. The detection unit 221 may use, for example, the YOLO2 version, which is one of object recognition algorithms.

깊이 산출부(223)는 복수의 영상 정보에 포함된 객체까지의 거리를 산출한다. 거리 측정 장치(10)가 가변조리개를 이용해 획득한 초점이 맞지 않는 영상은 착란원(circle of confusion)을 형성하게 된다. 깊이 산출부(223)는 초점이 다른 복수의 영상에서 착란원의 픽셀 값의 차를 이용하여 거리를 산출한다. 깊이 산출부(223)는 가변조리개의 직경이 최소일 때 획득한 피사계 심도가 낮은 영상과 최대일 때 획득한 피사계 심도가 높은 영상은 각각 다른 착란원을 가지게 된다. 착란원의 지름은 픽셀의 크기로 나타낼 수 있다.The depth calculator 223 calculates a distance to an object included in a plurality of image information. An out-of-focus image acquired by the distance measuring apparatus 10 using a variable iris forms a circle of confusion. The depth calculator 223 calculates a distance by using a difference between pixel values of a confusion circle in a plurality of images having different focal points. The depth calculator 223 has different sources of confusion between the image with a low depth of field acquired when the diameter of the variable iris is the minimum and the image with a high depth of field acquired when the diameter of the variable iris is the maximum. The diameter of the circle of confusion can be expressed in terms of the size of a pixel.

단일 이미지를 이용하는 탈초점 깊이 알고리즘은 아래의 [수학식1]로부터 흐려진 픽셀(blurred pixel)의 수를 정확하게 세어야 역으로 거리 환산할 수 있다.In the defocal depth algorithm using a single image, the distance can be converted in reverse by accurately counting the number of blurred pixels from the following [Equation 1].

Figure 112019031565925-pat00001
Figure 112019031565925-pat00001

[수학식1]에서 S1은 초점이 맞춰진 물체 평면의 거리, S2는 초점이 맞지 않은 물체의 가상 이미지의 거리, f는 유효 초점 거리 (EFL), f1은 렌즈에서 이미지 평면까지의 거리 및 c는 이미지 평면에서의 착란원(circle of confusion)의 지름이다.In [Equation 1], S1 is the distance of the object plane in focus, S2 is the distance of the virtual image of the unfocused object, f is the effective focal length (EFL), f1 is the distance from the lens to the image plane, and c is It is the diameter of the circle of confusion in the image plane.

단일 이미지를 이용한 탈초점 깊이 알고리즘은 흐려진 픽셀의 수를 정확히 세기 위해 어디까지가 블러된 구간인지 분석하는 기술이 필요하며 높은 정확도를 요구한다. 하지만 초점이 다른 두 장의 이미지로 탈초점 깊이 알고리즘 방식을 사용하게 되면 두 이미지 간 착란원의 픽셀값의 차를 이용하여 더 정확한 거리를 추출할 수 있다. The defocal depth algorithm using a single image requires a technique to analyze how far the blurred section is in order to accurately count the number of blurred pixels and requires high accuracy. However, if the out-of-focus depth algorithm is used with two images with different focus, a more accurate distance can be extracted by using the difference in pixel values of the confusion circle between the two images.

도 4는 본 발명의 일 실시 예에 따른 거리 측정 장치가 탈초점 깊이 알고리즘으로 깊이 맵을 추출하는 방법을 나타낸 도면이다4 is a diagram illustrating a method of extracting a depth map by a distance measuring apparatus according to an embodiment of the present invention using a defocus depth algorithm

도 4를 참조하면, 거리 측정 장치(10)는 가변조리개를 이용하여 획득한 초점이 다른 영상을 탈초점 깊이 알고리즘으로 깊이 맵 정보를 추출한다.Referring to FIG. 4, the distance measuring apparatus 10 extracts depth map information from an image having a different focus acquired using a variable aperture using a defocal depth algorithm.

도 5은 본 발명의 일 실시 예에 따른 거리 측정 장치가 획득한 영상에서 가변 조리개에 따른 초점면의 변화를 나타낸 도면이다.5 is a diagram illustrating a change in a focal plane according to a variable aperture in an image acquired by a distance measuring apparatus according to an embodiment of the present invention.

도 5을 참조하면, 거리 측정 장치(10)가 가변조리개를 이용해 획득한 영상은 블러, 즉 초점이 맞지 않는 정도에 따라 착란원(circle of confusion)을 형성한다. 깊이 산출부(223)는 가변조리개의 직경이 최소일 때와 최대일 때 획득한 영상의 착란원을 이용한다. 이를 더욱 상세히 설명하면, 도 5에 표시된 S1은 초점이 맞춰진 물체 평면의 거리, S2는 초점이 맞지 않은 물체의 가상 이미지의 거리, f는 유효 초점 거리 (EFL), f1은 렌즈에서 이미지 평면까지의 거리, c는 이미지 평면에서의 착란원(circle of confusion)의 지름이다. 초점이 다른 두 장의 이미지로 탈초점 깊이 알고리즘 방식을 사용하게 되면 두 이미지 간 착란원의 픽셀 값의 차를 이용하여 더 정확한 거리를 추출할 수 있다. Referring to FIG. 5, an image obtained by the distance measuring apparatus 10 using a variable iris forms a circle of confusion depending on the degree of blur, that is, out of focus. The depth calculation unit 223 uses the source of confusion of the image acquired when the diameter of the variable iris is the minimum and the maximum. To explain this in more detail, S1 shown in FIG. 5 is the distance of the object plane in focus, S2 is the distance of the virtual image of the unfocused object, f is the effective focal length (EFL), and f1 is the distance from the lens to the image plane. The distance, c, is the diameter of the circle of confusion in the image plane. If the defocal depth algorithm method is used with two images with different focus, a more accurate distance can be extracted by using the difference in pixel values of the confusion circle between the two images.

표 1은 임의로 조성된 NYU-v2 데이터 세트로 여러가지 깊이 측정 방법을 수행하여 실제 거리와 각 방법으로 구한 값 사이의 상대 오차, 로그 오차 및 평균 제곱근 오차에 대한 결과를 나타낸 표이다. 본 발명에 따른 실시 예에 따른 거리 측정 방법은 SNU 방법으로 표시한다. 본 발명의 거리측정 방법(SNU 방법)의 상대오차는 0.028, 상용로그오차는 0.012 및 평균 제곱근 오차는 0.154이다. 표 1에 나타난 것과 같이 본 발명의 거리측정 방법이 여러가지 방법 중 가장 오차가 적은 것이 확인된다. Table 1 is a table showing the results of the relative error, log error, and root mean square error between the actual distance and the value obtained by each method by performing various depth measurement methods with an arbitrary NYU-v2 data set. The distance measurement method according to the embodiment of the present invention is indicated by the SNU method. The relative error of the distance measurement method (SNU method) of the present invention is 0.028, the common log error is 0.012, and the root mean square error is 0.154. As shown in Table 1, it is confirmed that the distance measurement method of the present invention has the least error among various methods.

거리측정 방법 간의 오차 비교Comparison of errors between distance measurement methods 방법Way 상대오차Relative error 상용로그오차Common log error 평균제곱근오차Root mean square error 입력 값Input value DFDDFD 0.6090.609 -- 2.7582.758 탈초점 단일 이미지Out of focus single image SaxenaSaxena 0.3490.349 -- 1.2141.214 초점 단일 이미지Single image in focus DTDT 0.3500.350 0.1310.131 1.21.2 초점 단일 이미지Single image in focus DCCRFDCCRF 0.3350.335 0.1270.127 1.061.06 초점 단일 이미지Single image in focus EigenEigen 0.2150.215 -- 0.9070.907 초점 단일 이미지Single image in focus DCNFDCNF 0.2130.213 0.0870.087 0.7590.759 초점 단일 이미지Single image in focus JCNFJCNF 0.2010.201 0.0770.077 0.7080.708 초점 단일 이미지Single image in focus EigenEigen 0.1580.158 -- 0.6410.641 초점 단일 이미지Single image in focus AnwarAnwar 0.0940.094 0.0390.039 0.3470.347 초점 단일 이미지Single image in focus SNUSNU 0.0280.028 0.0120.012 0.1540.154 탈초점 더블 이미지Out of focus double image

상대오차, 상용로그 오차 및 평균 제곱근 오차는 [수학식2]를 이용하여 계산한다.Relative error, common log error, and root mean square error are calculated using [Equation 2].

Figure 112019031565925-pat00002
Figure 112019031565925-pat00002

도 6은 본 발명의 일 실시 예에 따른 거리측정 방법의 흐름도이다.6 is a flowchart of a distance measurement method according to an embodiment of the present invention.

도6을 참고하면, 단계 S610에서 거리 측정 장치(10)는 카메라 모듈(100)에서 가변조리개를 이용해 촬상한 초점이 다른 복수의 영상을 획득한다.Referring to FIG. 6, in step S610, the distance measuring apparatus 10 acquires a plurality of images with different focuses captured by the camera module 100 using a variable iris.

단계 S620에서 거리 측정 장치(10)는 획득한 초점이 다른 영상에서 거리 계산을 하기 위한 객체를 탐지한다. In step S620, the distance measuring apparatus 10 detects an object for calculating a distance in an image having a different focus.

단계 S630에서 거리 측정 장치(10)는 탈초점 깊이 알고리즘을 이용해 객체의 블러(흐림) 정도인 착란원의 지름을 계산한다. In step S630, the distance measuring apparatus 10 calculates the diameter of the circle of confusion, which is the degree of blurring of the object, using the defocal depth algorithm.

단계 S640에서 거리 측정 장치(10) 탐지한 객체의 착란원의 픽셀 차이를 이용하여 거리를 산출한다. In step S640, the distance measuring apparatus 10 calculates a distance by using a pixel difference of a source of confusion of an object detected.

도7은 본 발명의 일 실시 예에 따른 거리 측정 장치의 카메라 모듈 단면도이다.7 is a cross-sectional view of a camera module of a distance measuring apparatus according to an embodiment of the present invention.

도 7을 참조하면, 카메라 모듈(100)은 카메라부(160) 앞단에 조리개의 직경이 변하는 가변조리개부(110)를 결합할 수 있다. 거리 측정 장치(10)는 직경이 가변적인 가변조리개부(110)를 이용하여 초점이 다른 영상을 제공할 수 있다.Referring to FIG. 7, the camera module 100 may couple a variable aperture portion 110 having a variable aperture diameter to the front end of the camera portion 160. The distance measuring apparatus 10 may provide an image having a different focus using the variable aperture unit 110 having a variable diameter.

도 8 내지 도 10은 본 발명의 일 실시 예에 따른 거리 측정 장치의 가변 조리개부를 설명하기 위한 도면들이다. 8 to 10 are views for explaining a variable aperture part of a distance measuring apparatus according to an embodiment of the present invention.

도8을 참조하면, 가변조리개부(110)는 열팽창을 이용해 조리개 개구부의 직경을 가변적으로 변경시킬 수 있다. 가변조리개부(110)는 블레이드(120), 빔(130) 및 고정패드(140)를 포함한다. 고정패드(140)는 빔(130)과 결합되어 빔(130)을 고정시킨다. 예를 들면 2개의 고정패드(140)는 하나의 빔(130)을 고정시킬 수 있고, 고정패드(140)는 10개를 이용할 수 있다. 빔(130)은 일측은 고정패드(140)와 결합하고 타측은 블레이드(120)와 결합된다. 고정패드(140)에 전압이 인가되면 고정패드(140)와 결합된 빔(130)에 전류가 전달이 되어 열팽창이 발생한다. 열팽창이 발생한 빔(130)은 타측에 결합된 블레이드(120)에 변위를 발생시킨다. 블레이드(120)는 오각형으로 배치되어 변위가 발생하면 오각형의 크기가 작아져서 렌즈로 전달되는 광원의 양이 작아진다. 예를 들면 가변조리개부(110)는 실리콘 웨이퍼를 이용하여 제작될 수 있고, 전체 크기는 10.2mm X 10.2mm X 0.365mm일 수 있다. Referring to FIG. 8, the variable aperture part 110 may variably change the diameter of the aperture aperture using thermal expansion. The variable aperture part 110 includes a blade 120, a beam 130 and a fixed pad 140. The fixing pad 140 is coupled to the beam 130 to fix the beam 130. For example, two fixing pads 140 may fix one beam 130, and ten fixing pads 140 may be used. One side of the beam 130 is coupled to the fixed pad 140 and the other side is coupled to the blade 120. When a voltage is applied to the fixed pad 140, current is transmitted to the beam 130 coupled with the fixed pad 140 to cause thermal expansion. The beam 130 in which thermal expansion has occurred generates a displacement in the blade 120 coupled to the other side. The blade 120 is arranged in a pentagon, and when displacement occurs, the size of the pentagon decreases, and the amount of light source transmitted to the lens decreases. For example, the variable aperture part 110 may be manufactured using a silicon wafer, and the total size may be 10.2mm X 10.2mm X 0.365mm.

도9를 참조하면, 빔(130)은 전류가 전달되면 열팽창이 발생하여 가변조리개의 직경이 변동시킬 수 있다. 빔(130)은 제1빔(131), 제2빔(132) 및 제3빔(133)을 포함한다. 제1빔(131)은 양측이 각각 고정패드(140)와 결합되고, 중심부에 제2빔(132)이 결합된다. 제2빔(132)은 일측은 제1빔(131)과 결합되고, 타측은 제3빔(133)과 결합되고, 제2빔(132)에 전달된 힘은 제3빔(133)으로 전달된다. 제3빔(133)과 결합되는 2개의 제2빔(132)은 서로 어긋나게 제3빔(133)에 결합됨으로 제3빔(133)이 반시계 방향으로 회전한다. 제3빔(133)의 타측은 블레이드(120)와 결합된다. 제3빔(133)이 반시계방향으로 회전하게 되면 타측에 결합된 블레이드(120)는 변위가 발생하고, 블레이드(120)는 내부 원 방향으로 이동하여 가변조리개의 직경을 변동시킨다.Referring to FIG. 9, when current is transmitted to the beam 130, thermal expansion may occur, so that the diameter of the variable aperture may vary. The beam 130 includes a first beam 131, a second beam 132 and a third beam 133. Both sides of the first beam 131 are coupled to the fixing pad 140, respectively, and the second beam 132 is coupled to the center. One side of the second beam 132 is combined with the first beam 131, the other side is combined with the third beam 133, and the force transmitted to the second beam 132 is transferred to the third beam 133 do. The two second beams 132 coupled to the third beam 133 are coupled to the third beam 133 so as to shift from each other, so that the third beam 133 rotates in a counterclockwise direction. The other side of the third beam 133 is coupled to the blade 120. When the third beam 133 rotates counterclockwise, the blade 120 coupled to the other side is displaced, and the blade 120 moves in the inner circle direction to change the diameter of the variable aperture.

도10을 참조하면, 제1빔(131)은 쉐브론(Chevron) 모양으로 양측은 고정패드(140)에 고정되고 중심부에 제2빔(132)이 결합될 수 있다. 제1빔(131)은 고정패드(140)로부터 전달된 인가전압에 따라 줄 발열(joule's heating)로 인해 열팽창이 발생한다. 고정패드(140)에 전압을 가하면, 제1빔(131)에 전류가 전달되고, 이때 줄 발열로 인해 제1빔(131)의 길이 방향으로 열팽창이 발생한다. 제1빔(131)의 양측은 쉐브론 모양(갈매기 모양)으로 비스듬하게 고정패드(140)에 고정된다. 기울어진 각도로 인해 제1빔(131)이 선형(linear) 방향으로 열팽창이 발생한다. 제1빔(131)의 일측이 고정패드(140)에 고정되어 있기 때문에 선형 확장은 제1빔(131)의 수직방향으로 발생하고, 제1빔(131)의 중심부에 결합된 제2빔(132)으로 전달된다. 제2빔(132)의 변위는 [수학식3]으로 계산할 수 있다.Referring to FIG. 10, the first beam 131 has a chevron shape, and both sides are fixed to the fixing pad 140 and the second beam 132 may be coupled to the center. Thermal expansion of the first beam 131 occurs due to joule's heating according to an applied voltage transmitted from the fixed pad 140. When a voltage is applied to the fixed pad 140, current is transmitted to the first beam 131, and at this time, thermal expansion occurs in the longitudinal direction of the first beam 131 due to Joule heating. Both sides of the first beam 131 are fixed to the fixing pad 140 at an angle in a chevron shape (seagull shape). Thermal expansion of the first beam 131 occurs in a linear direction due to the inclined angle. Since one side of the first beam 131 is fixed to the fixing pad 140, linear expansion occurs in the vertical direction of the first beam 131 and a second beam coupled to the center of the first beam 131 ( 132). The displacement of the second beam 132 can be calculated by [Equation 3].

Figure 112019031565925-pat00003
Figure 112019031565925-pat00003

Figure 112019031565925-pat00004
Figure 112019031565925-pat00004

다시 도 9를 참조하면, 제3빔(133)에 결합되는 제2빔(132)을 어긋나게 정렬하여 지렛대의 원리로 블레이드(120)의 변위를 증폭할 수 있다. 예를 들면 제3빔(133)에 결합되는 2개의 제2빔(132)을 서로 75㎛ 어긋나게 정렬할 수 있다.Referring back to FIG. 9, the displacement of the blade 120 may be amplified by the principle of a lever by aligning the second beam 132 coupled to the third beam 133 to be offset. For example, two second beams 132 coupled to the third beam 133 may be aligned to be 75 μm shifted from each other.

지렛대의 원리로 증폭된 블레이드(120)의 변위는 [수학식4]를 이용하여 계산할 수 있다.The displacement of the blade 120 amplified by the principle of the lever can be calculated using [Equation 4].

Figure 112019031565925-pat00005
Figure 112019031565925-pat00005

블레이드(120)는 5개로 이루어지고 오각형 형태로 배치되어 가변조리개의 기능을 한다. 블레이드(120)는 인가 전압에 따른 열 팽창으로 변위가 발생하여 조리개의 직경이 변경된다. 예를 들면 전압 없는 상태에서 조리개 직경은 1.6mm이고, 전압이 인가되는 경우 최소 0.46mm까지 변경될 수 있다.The blade 120 is made of five and is arranged in a pentagonal shape to function as a variable aperture. The blade 120 is displaced due to thermal expansion according to the applied voltage, and the diameter of the diaphragm is changed. For example, the aperture diameter is 1.6mm in the absence of voltage, and can be changed to at least 0.46mm when voltage is applied.

본 발명의 일 실시 예에 따르면 전압인가에 따른 조리개 직경의 변화는 표2와 같다.According to an embodiment of the present invention, the change in the aperture diameter according to the application of voltage is shown in Table 2.

조리개의 직경변화Change in diameter of aperture 전압[V]Voltage[V] 전류[A]Current[A] 블레이드 변위[㎛]Blade displacement [㎛] 개구부의 면적 비율 (%)Area ratio of opening (%) 00 00 00 100.00100.00 1One 1.371.37 15.715.7 99.2999.29 22 2.522.52 67.767.7 87.7987.79 33 3.113.11 153153 75.8575.85

도 11및 도 12는 본 발명의 일 실시 예에 따른 거리 측정 장치를 자율주행차에 장착하여 획득한 영상을 나타낸 도면들이다.11 and 12 are diagrams illustrating images obtained by mounting a distance measuring device according to an embodiment of the present invention to an autonomous vehicle.

도 11을 참조하여 예를 들면, 거리 측정 장치(10)는 라이다로부터 3D 포인트 클라우드(point cloud) 데이터와 본 발명의 거리 측정 장치를 통해 얻은 영상 데이터 값을 딥러닝 학습을 위한 데이터로 활용할 수 있다. 거리 측정 장치(10)는 영상에 대하여 연속적으로 거리 정보를 획득할 수 있다.Referring to FIG. 11, for example, the distance measuring device 10 may utilize 3D point cloud data from LiDAR and image data values obtained through the distance measuring device of the present invention as data for deep learning learning. have. The distance measuring apparatus 10 may continuously acquire distance information for an image.

도 12을 참조하면, 거리 측정 장치(10)는 라이다가 획득한 영상을 기준 값으로 하여 입력부(210)가 F1.8과 F4.0의 가변조리개로 획득한 초점이 다른 영상의 블러 정도를 분석할 수 있다. Referring to FIG. 12, the distance measuring apparatus 10 uses the image acquired by the lidar as a reference value, and the input unit 210 determines the degree of blurring of the image with different focus acquired by the variable aperture of F1.8 and F4.0. Can be analyzed.

도 13은 본 발명의 일 실시 예에 따른 거리 측정 장치가 추출한 블러 값을 표시한 그래프이다.13 is a graph showing a blur value extracted by a distance measuring apparatus according to an embodiment of the present invention.

도 13을 참조하면, 거리 측정 장치(10)는 거리가 증가할수록 각 영상의 블러 정도는 커지고, 영상 간의 블러 차이도 증가하는 경향성을 이용하여 거리를 측정할 수 있다. Referring to FIG. 13, as the distance increases, the distance measuring apparatus 10 may measure the distance by using a tendency that the degree of blurring of each image increases and the difference in blur between the images increases.

상술한 본 발명의 실시 예들은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 본 발명의 실시 예들은 하드웨어, 펌웨어(firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다. 펌웨어나 소프트웨어에 의한 구현의 경우, 본 발명의 실시 예들에 따른 방법은 이상에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차 또는 함수 등의 형태로 구현될 수 있다. 소프트웨어 코드 등이 기록된 컴퓨터 프로그램은 컴퓨터 판독 가능 기록 매체 또는 메모리 유닛에 저장되어 프로세서에 의해 구동될 수 있다. 이와 같이, 본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The above-described embodiments of the present invention can be implemented through various means. For example, embodiments of the present invention may be implemented by hardware, firmware, software, or a combination thereof. In the case of implementation by firmware or software, the method according to the embodiments of the present invention may be implemented in the form of a module, procedure, or function that performs the functions or operations described above. A computer program in which software codes and the like are recorded may be stored in a computer-readable recording medium or a memory unit and driven by a processor. As such, those skilled in the art to which the present invention pertains will be able to understand that the present invention can be implemented in other specific forms without changing the technical spirit or essential features. Therefore, the embodiments described above are illustrative in all respects and should be understood as non-limiting. The scope of the present invention is indicated by the claims to be described later rather than the detailed description, and all changes or modified forms derived from the meaning and scope of the claims and their equivalent concepts should be interpreted as being included in the scope of the present invention. .

거리 측정 장치(10)
카메라 모듈(100)
가변조리개부(110)
블레이드(120)
빔(130)
제1빔(131)
제2빔(132)
제3빔(133)
고정패드(140)
카메라부(160)
거리 측정 모듈(200)
입력부(210)
거리 측정부(220)
탐지부(221)
깊이 산출부(223)
Distance Measuring Device(10)
Camera module (100)
Variable aperture (110)
Blade(120)
Beam(130)
First beam (131)
2nd beam (132)
3rd beam (133)
Fixed pad (140)
Camera unit 160
Distance Measurement Module(200)
Input unit 210
Distance measuring unit 220
Detection unit 221
Depth calculation unit 223

Claims (8)

거리 측정 장치에 있어서,
조리개 개구부의 직경을 조절하여 초점이 다른 이미지를 획득하는 카메라 모듈; 및
상기 카메라 모듈에서 획득된 초점이 다른 복수개의 이미지를 이용하여 거리를 계산하는 거리 측정 모듈을 포함하되,
상기 카메라 모듈은
상기 조리개 개구부의 직경이 변하는 가변조리개부를 포함하고,
상기 가변조리개부는
고정패드에 전압을 인가하여 결합된 빔에 열팽창을 발생시키고,
상기 빔은
하나 이상을 어긋나게 정렬하여 일측에 결합된 블레이드의 변위를 증폭시켜 상기 조리개 개구부의 직경을 조절하는 거리 측정 장치.
In the distance measuring device,
A camera module that adjusts the diameter of the aperture opening to obtain an image having a different focus; And
Including a distance measurement module for calculating a distance using a plurality of images having different focus obtained from the camera module,
The camera module
Including a variable aperture portion of which the diameter of the aperture aperture changes,
The variable aperture part
By applying voltage to the fixed pad, thermal expansion is generated in the combined beam,
The beam is
Distance measuring device for adjusting the diameter of the aperture opening by amplifying the displacement of the blade coupled to one side by displacing one or more.
제1항에 있어서,
상기 거리 측정 모듈은
상기 가변조리개부를 이용한 초점이 다른 영상을 획득하는 입력부; 및
상기 영상에서 객체까지의 거리를 산출하는 거리 측정부를 포함하는 거리 측정 장치.
The method of claim 1,
The distance measurement module
An input unit for obtaining an image having a different focus using the variable aperture unit; And
A distance measuring device comprising a distance measuring unit that calculates a distance from the image to an object.
제2항에 있어서,
상기 거리 측정부는,
상기 가변조리개부를 이용해 획득한 초점이 맞지 않는 복수의 영상에서 착란원(circle of confusion)의 픽셀 값의 차이를 이용하여 거리를 산출하는 깊이 산출부를 포함하는 거리 측정 장치.
The method of claim 2,
The distance measuring unit,
A distance measuring apparatus comprising a depth calculator configured to calculate a distance by using a difference between pixel values of a circle of confusion in a plurality of out-of-focus images obtained using the variable iris.
제3항에 있어서,
상기 거리 측정부는
상기 영상에서 거리 산출을 위한 객체를 탐지하는 탐지부를 더 포함하는 거리 측정 장치.
The method of claim 3,
The distance measuring unit
Distance measuring apparatus further comprising a detector for detecting an object for calculating a distance in the image.
거리 측정 장치에서 실행되는 거리 측정 방법에 있어서,
가변조리개를 이용하여 초점이 다른 영상을 획득하는 단계;
상기 초점이 다른 영상에 포함된 객체의 착란원에 대한 픽셀 값을 계산하는 단계; 및
상기 픽셀 값의 차이로 거리를 추정하는 단계를 포함하되,
상기 가변조리개는
고정패드에 전압을 인가하여 결합된 빔에 열팽창을 발생시키고,
상기 빔은
하나 이상을 어긋나게 정렬하여 일측에 결합된 블레이드의 변위를 증폭시켜 조리개 개구부의 직경을 조절하는 거리 측정 방법.
In the distance measurement method executed in the distance measurement device,
Acquiring an image having a different focus using a variable aperture;
Calculating a pixel value for a source of confusion of an object included in the image with a different focus; And
Including the step of estimating a distance based on the difference between the pixel values,
The variable aperture is
By applying voltage to the fixed pad, thermal expansion is generated in the combined beam,
The beam is
A distance measuring method for adjusting the diameter of the aperture opening by amplifying the displacement of the blade coupled to one side by displacing at least one.
제5항에 있어서,
상기 초점이 다른 영상에 포함된 객체의 착란원에 대한 픽셀 값을 계산하는 단계는
탈초점 깊이 알고리즘을 이용해 탐지한 객체의 블러 정도인 착란원의 지름을 계산하는 것을 특징으로 하는 거리 측정 방법.
The method of claim 5,
The step of calculating a pixel value for a circle of confusion of an object included in an image having a different focus is
A distance measurement method comprising calculating the diameter of a circle of confusion, which is a degree of blurring of an object detected using a defocal depth algorithm.
제5항에 있어서,
상기 초점이 다른 영상에서 거리 산출을 위한 객체를 탐지하는 단계를 더 포함하는 거리 측정 방법.
The method of claim 5,
The distance measurement method further comprising detecting an object for calculating a distance in the image having a different focus.
제5항 내지 제7항의 방법 중 어느 하나의 거리 측정 방법을 실행하는 컴퓨터 프로그램이 저장된 컴퓨터가 판독 가능한 기록매체.

A computer-readable recording medium in which a computer program that executes any one of the methods of claim 5 to 7 is stored.

KR1020190035302A 2019-03-27 2019-03-27 Distance measurement device and method KR102191747B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190035302A KR102191747B1 (en) 2019-03-27 2019-03-27 Distance measurement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190035302A KR102191747B1 (en) 2019-03-27 2019-03-27 Distance measurement device and method

Publications (2)

Publication Number Publication Date
KR20200114117A KR20200114117A (en) 2020-10-07
KR102191747B1 true KR102191747B1 (en) 2020-12-16

Family

ID=72883849

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190035302A KR102191747B1 (en) 2019-03-27 2019-03-27 Distance measurement device and method

Country Status (1)

Country Link
KR (1) KR102191747B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101737260B1 (en) 2016-01-05 2017-05-17 재단법인 다차원 스마트 아이티 융합시스템 연구단 Camera system for extracting depth from images of different depth of field and opertation method thereof
JP2017161512A (en) * 2016-03-04 2017-09-14 キヤノン株式会社 Range finder and moving body
KR101829534B1 (en) * 2016-05-25 2018-02-19 재단법인 다차원 스마트 아이티 융합시스템 연구단 Depth extracting camera system using multi focus image and operation method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100080704A (en) * 2009-01-02 2010-07-12 삼성전자주식회사 Method and apparatus for obtaining image data
KR101563799B1 (en) * 2014-01-27 2015-10-27 충북대학교 산학협력단 Method for estimating relative depth using focus measure
KR102228456B1 (en) * 2014-03-13 2021-03-16 삼성전자주식회사 Image pickup apparatus and image pickup method of generating image having depth information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101737260B1 (en) 2016-01-05 2017-05-17 재단법인 다차원 스마트 아이티 융합시스템 연구단 Camera system for extracting depth from images of different depth of field and opertation method thereof
JP2017161512A (en) * 2016-03-04 2017-09-14 キヤノン株式会社 Range finder and moving body
KR101829534B1 (en) * 2016-05-25 2018-02-19 재단법인 다차원 스마트 아이티 융합시스템 연구단 Depth extracting camera system using multi focus image and operation method thereof

Also Published As

Publication number Publication date
KR20200114117A (en) 2020-10-07

Similar Documents

Publication Publication Date Title
US11002538B2 (en) Device, method, and medium for measuring distance information using a parallax calculated from multi-viewpoint images
US8718326B2 (en) System and method for extracting three-dimensional coordinates
KR102166691B1 (en) Device for estimating three-dimensional shape of object and method thereof
US20160379066A1 (en) Method and Camera System for Distance Determination of Objects from a Vehicle
JP6589926B2 (en) Object detection device
EP3205084B1 (en) Image processing method
US20040125228A1 (en) Apparatus and method for determining the range of remote objects
US8593536B2 (en) Image pickup apparatus with calibration function
KR102151815B1 (en) Method and Apparatus for Vehicle Detection Using Lidar Sensor and Camera Convergence
US20180276844A1 (en) Position or orientation estimation apparatus, position or orientation estimation method, and driving assist device
JP2002139304A (en) Distance measuring device and distance measuring method
JP6881917B2 (en) Distance measuring device, imaging control device
US20210150744A1 (en) System and method for hybrid depth estimation
WO2015080164A1 (en) Focal point detection device, and imaging device
KR20180096102A (en) Apparatus and method for obtaining target information using infrared sensor
KR102191747B1 (en) Distance measurement device and method
WO2018062368A1 (en) Image pickup device and image pickup system
KR102191743B1 (en) Distance measurement device
JP5533739B2 (en) Optical information reader
US20230084212A1 (en) Three-dimensional space camera and photographing method therefor
KR102061087B1 (en) Method, apparatus and program stored in storage medium for focusing for video projector
TW202311781A (en) Obstacle detection method utilizing an obstacle recognition model to recognize obstacle category corresponding to each obstacle
RU2552123C2 (en) Method of selecting objects on remote background
JP5046004B2 (en) Non-contact vibration measurement system, non-contact vibration measurement method, and computer program
JPH11223516A (en) Three dimensional image pickup device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant