본 발명에 따른 주차 구역 감지 방법은 주차 구역을 YCbCr 영상으로 촬영하는 촬영 단계, 상기 YCbCr 영상에 주요인분석 방법(LDA, Linear Discriminant Analysis)을 적용하여 상기 주차 구역에서 지면과 주차선의 밝기 차이가 최대가 되게 하는 변환 행렬을 산출하는 변환 행렬 산출 단계, 상기 변환 행렬을 이용하여 상기 YCbCr 영상을 제1 그레이 스케일(Gray scale) 영상으로 변환하는 영상 변환 단계 및 상기 제1 그레이 스케일 영상에서의 상기 주차 구역 내 지면과 주차선의 밝기 차이를 이용하여 상기 주차선을 검출하는 주차선 검출 단계를 포함한다. 본 발명에 따른 주차 구역 감지 장치는, 주차 구역을 YCbCr 영상으로 촬영하는 촬영부, 상기 YCbCr 영상에 주요인분석 방법(LDA, Linear Discriminant Analysis)을 적용하여 상기 주차 구역에서 지면과 주차선의 밝기 차이가 최대가 되게 하는 변환 행렬을 산출하는 변환 행렬 산출부, 상기 변환 행렬을 이용하여 상기 YCbCr 영상을 제1 그레이 스케일(Gray scale) 영상으로 변환하는 영상 변환부 및 상기 제1 그레이 스케일 영상에서의 상기 주차 구역 내 지면과 주차선의 밝기 차이를 이용하여 상기 주차선을 검출하는 주차선 검출부를 포함한다.
A method for detecting a parking space according to the present invention comprises: a photographing step of photographing a parking space into a YCbCr image; a transformation matrix production step of producing a transformation matrix to make a brightness difference between the ground and a parking line be the maximum in the parking space by applying linear discriminant analysis (LDA) to the YCbCr image; an image conversion step of transforming the YCbCr image to a first gray scale image using the transformation matrix; and a parking line detection step of detecting the parking line using the brightness difference between the ground and the parking line in the parking space of the first gray scale image; an apparatus for detecting a parking space according to the present invention comprises: a photographing unit configured to photograph a parking space into a YCbCr image; a transformation matrix production unit configured to produce a transformation matrix which makes a brightness difference between the ground and a parking line in the parking space by applying LDA to the YCbCr image; an image conversion unit configured to convert the YCbCr image to a first gray scale image using the transformation matrix; and a parking line detection unit configured to detect the parking line using the brightness difference between the ground and the parking line in the parking space of the first gray scale image.
Method and apparatus for detecting parking area
주차 구역 감지 방법 및 장치
29.08.2022
Patent
Elektronische Ressource
Koreanisch