KR101889645B1 - Apparatus and method for providing road weather information - Google Patents

Apparatus and method for providing road weather information Download PDF

Info

Publication number
KR101889645B1
KR101889645B1 KR1020170016183A KR20170016183A KR101889645B1 KR 101889645 B1 KR101889645 B1 KR 101889645B1 KR 1020170016183 A KR1020170016183 A KR 1020170016183A KR 20170016183 A KR20170016183 A KR 20170016183A KR 101889645 B1 KR101889645 B1 KR 101889645B1
Authority
KR
South Korea
Prior art keywords
road
weather information
information providing
pattern
regions
Prior art date
Application number
KR1020170016183A
Other languages
Korean (ko)
Other versions
KR20180091254A (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 KR1020170016183A priority Critical patent/KR101889645B1/en
Publication of KR20180091254A publication Critical patent/KR20180091254A/en
Application granted granted Critical
Publication of KR101889645B1 publication Critical patent/KR101889645B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/254Analysis of motion involving subtraction of images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W2201/00Weather detection, monitoring or forecasting for establishing the amount of global warming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30192Weather; Meteorology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle
    • G06T2207/30256Lane; Road marking

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Traffic Control Systems (AREA)

Abstract

도로 기상정보 제공 장치 및 방법이 개시된다. 도로 기상정보 제공 장치는 현장 단말로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 수신된 도로 영상 각각에서, 일정한 규칙으로 배열된 복수 개의 관심 영역을 설정하는 인터페이스부와, 상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력하는 프로세서를 포함할 수 있다.An apparatus and method for providing road weather information are disclosed. The road weather information providing apparatus includes an interface unit configured to receive a road image of a road and to set a plurality of ROIs arranged in a predetermined rule in each of the received road images according to a set period from a field terminal, Generates a first pattern graph for each of the plurality of ROIs by using pixel values in the ROI images corresponding to the ROIs and generates weather information on the road through comparison analysis between the first pattern graphs And outputting the processed data.

Description

도로 기상정보 제공 장치 및 방법{APPARATUS AND METHOD FOR PROVIDING ROAD WEATHER INFORMATION}TECHNICAL FIELD [0001] The present invention relates to an apparatus and method for providing weather information,

본 발명의 실시예는 복수의 도로 영상 각각에 복수 개의 관심 영역을 설정하고, 상기 복수 개의 관심 영역에 대응하는 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성한 후, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 기상정보를 생성하는 기술에 관한 것이다.The embodiment of the present invention sets up a plurality of ROIs in each of a plurality of road images and generates a first pattern graph for each ROI using pixel values in each ROI image corresponding to the ROIs And then generating weather information through comparison analysis between the first pattern graphs.

교통사고는 다양한 요인 예컨대, 도로 환경요인, 기상 환경요인, 교통 환경요인, 차량요인 등으로 인해 발생할 수 있다. 특히, 기상 상태는 운전자의 시인성, 차량 및 도로 간 마찰력에 결정적인 역할을 하게 되므로, 도로 이용시 안정성과 이동성에 큰 영향을 미침에 따라, 교통사고와 관련도가 높은 요인일 수 있다.Traffic accidents can be caused by various factors such as road environmental factors, weather environmental factors, traffic environment factors, and vehicle factors. In particular, since the weather condition plays a crucial role in the visibility of the driver and the friction between the vehicle and the road, it has a great influence on the stability and mobility of the road, which may be a factor related to traffic accidents.

따라서, 운전자가 도로의 기상정보를 파악하는 것이 중요할 수 있으며, 도로의 기상정보 파악을 통해, 운전자는 교통사고를 미연에 방지하거나 또는 줄일 수 있다.Therefore, it may be important for the driver to grasp the weather information of the road, and the driver can prevent or reduce the traffic accident beforehand by grasping the weather information of the road.

이를 위해, 기상정보 제공 장치는 지역별로 도로에서의 기상정보를 정확하게 파악하고, 운전자의 기상정보 요청시 해당 기상정보를 제공할 수 있는 기술이 필요하다.To this end, the weather information providing apparatus needs a technology that accurately grasps the weather information on the road by region and provides the weather information when the driver requests weather information.

본 발명의 실시예는 현장 단말로부터 수신한 복수의 도로 영상 각각에 복수 개의 관심 영역을 설정하고, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성한 후, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 현장 단말과 연관된 지역 내 도로에서의 기상정보를 생성하여 출력 함으로써, 복수의 도로 영상에 대한 분석을 통해 지역별로 보다 정확한 기상정보를 제공하는 것을 목적으로 한다.In an embodiment of the present invention, a plurality of ROIs are set for each of a plurality of road images received from a field terminal, a first pattern graph is generated for each of the plurality of ROIs, And generating and outputting weather information on a road in an area associated with the field terminal, thereby providing more accurate weather information for each region through analysis of a plurality of road images.

또한, 본 발명의 실시예는 복수의 도로 영상 각각에서, 물체가 이동한 이동 영역을 도출하고, 각 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 복수 개의 관심 영역을 설정 함으로써, 도로 영상 분석에 방해가 될 수 있는 이동 영역을 제거하여, 보다 정확한 기상정보를 생성할 수 있게 하는 것을 목적으로 한다.Further, in the embodiment of the present invention, a moving area in which an object has moved is derived from each of a plurality of road images, and a plurality of interest areas are set in an object area excluding the moving area in each road image, And it is an object of the present invention to be able to generate more precise weather information by removing a moving region that may become an obstacle.

본 발명의 실시예에 따른 도로 기상정보 제공 장치는 현장 단말로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 수신된 도로 영상 각각에서, 일정한 규칙으로 배열된 복수 개의 관심 영역을 설정하는 인터페이스부와, 상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력하는 프로세서를 포함할 수 있다.The road weather information providing apparatus according to the embodiment of the present invention receives a road image photographed from a road according to a set period from a field terminal and sets a plurality of interest regions arranged in a predetermined rule in each of the received road images Generating a first pattern graph for each of the plurality of ROIs by using pixel values in the ROI images corresponding to the plurality of ROIs, And a processor for generating and outputting weather information on the road.

본 발명의 실시예에 따른 도로 기상정보 제공 방법은 현장 단말로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 수신된 도로 영상 각각에서, 일정한 규칙으로 배열된 복수 개의 관심 영역을 설정하는 단계와, 상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하는 단계와, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력하는 단계를 포함할 수 있다.A road weather information providing method according to an embodiment of the present invention includes receiving a road image of a road in accordance with a set period from a field terminal and setting a plurality of interest areas arranged in a predetermined rule in each of the received road images Generating a first pattern graph for each of the plurality of ROIs using pixel values in the ROI images corresponding to the plurality of ROIs; And generating and outputting weather information on the road.

본 발명의 실시예에 따르면, 현장 단말로부터 수신한 복수의 도로 영상 각각에 복수 개의 관심 영역을 설정하고, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성한 후, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 현장 단말과 연관된 지역 내 도로에서의 기상정보를 생성하여 출력 함으로써, 복수의 도로 영상에 대한 분석을 통해 지역별로 보다 정확한 기상정보를 제공할 수 있다.According to an embodiment of the present invention, a plurality of ROIs are set for each of a plurality of road images received from a field terminal, a first pattern graph is generated for each of the plurality of ROIs, The weather information on the road in the area associated with the field terminal is generated and output, so that more accurate weather information can be provided for each region by analyzing the plurality of road images.

또한, 본 발명의 실시예에 따르면, 복수의 도로 영상 각각에서, 물체가 이동한 이동 영역을 도출하고, 각 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 복수 개의 관심 영역을 설정 함으로써, 도로 영상 분석에 방해가 될 수 있는 이동 영역을 제거하여, 보다 정확한 기상정보를 생성할 수 있게 한다.According to the embodiment of the present invention, a moving region in which an object has moved is derived from each of a plurality of road images, and a plurality of interest regions are set in an object region excluding the moving region in each road image, It is possible to remove the moving region that may interfere with the analysis, thereby generating more accurate weather information.

도 1은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치를 포함하는 네트워크의 구성을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치의 구성을 도시한 도면이다.
도 3은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 이용하는 도로 영상에 대한 일례를 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 이동 영역에 대한 도출 일례를 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 대상 영역에 대한 구별 일례를 설명하기 위한 도면이다.
도 6은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 영역 분할에 대한 일례를 설명하기 위한 도면이다.
도 7은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 관심 영역 설정에 대한 일례를 설명하기 위한 도면이다.
도 8a는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프의 일례를 설명하기 위한 도면이다.
도 8b는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프의 다른 일례를 설명하기 위한 도면이다.
도 9는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프를 이용하여 기상정보를 생성하는 일례를 설명하기 위한 도면이다.
도 10은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 패턴 그래프 간 유사도 결정에 관한 일례를 설명하기 위한 도면이다.
도 11은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 그룹별 패턴 그래프에 기초하여, 기상정보를 생성하는 일례를 설명하기 위한 도면이다.
도 12는 본 발명의 일실시예에 따른 도로 기상정보 제공 방법을 나타내는 흐름도이다.
1 is a diagram illustrating a configuration of a network including a road weather information providing apparatus according to an embodiment of the present invention.
2 is a diagram showing a configuration of a road weather information providing apparatus according to an embodiment of the present invention.
3 is a view showing an example of a road image used in the road weather information providing apparatus according to an embodiment of the present invention.
4 is a view for explaining an example of derivation of a moving region in a road image in the road weather information providing apparatus according to an embodiment of the present invention.
5 is a view for explaining an example of distinguishing a target area in a road image in a road weather information providing apparatus according to an embodiment of the present invention.
FIG. 6 is a view for explaining an example of area division in a road image in the road weather information providing apparatus according to an embodiment of the present invention.
7 is a view for explaining an example of setting a ROI in a road image in a road weather information providing apparatus according to an embodiment of the present invention.
8A is a view for explaining an example of a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.
8B is a view for explaining another example of a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.
9 is a diagram for explaining an example of generating weather information using a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.
10 is a view for explaining an example of determination of similarity between pattern graphs in the road weather information providing apparatus according to an embodiment of the present invention.
11 is a diagram for explaining an example of generating weather information based on a group-by-group pattern graph in the road weather information providing apparatus according to an embodiment of the present invention.
12 is a flowchart illustrating a road weather information providing method according to an embodiment of the present invention.

이하, 첨부 도면들 및 첨부 도면들에 기재된 내용들을 참조하여 본 발명의 일실시예에 따른 도로 기상정보 제공 장치 및 방법에 대해 상세히 설명한다.Hereinafter, an apparatus and method for providing road weather information according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings and accompanying drawings.

도 1은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치를 포함하는 네트워크의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of a network including a road weather information providing apparatus according to an embodiment of the present invention.

도 1을 참조하면, 도로 기상정보 제공 장치를 포함하는 네트워크(100)는 사용자 단말(101), 현장 단말(103) 및 도로 기상정보 제공 장치(105)를 포함할 수 있다.Referring to FIG. 1, a network 100 including a road weather information providing apparatus may include a user terminal 101, a field terminal 103, and a road weather information providing apparatus 105.

사용자 단말(101)은 예컨대, 스마트폰, PC(Personal Computer) 등일 수 있으며, 사용자로부터 기상정보 요청이 입력되면, 상기 기상정보 요청을 도로 기상정보 제공 장치(105)에 전송할 수 있다. 이때, 사용자 단말(101)은 사용자로부터 입력된 지역(예컨대, 도로 주소, 대교 식별정보 등)을, 상기 기상정보 요청에 포함시켜 전송할 수 있다.The user terminal 101 may be, for example, a smart phone, a PC (personal computer), or the like, and may transmit the weather information request to the road weather information providing device 105 when a weather information request is input from the user. At this time, the user terminal 101 may transmit an area (for example, a road address, bridge identification information, etc.) input from the user in the weather information request.

사용자 단말(101)은 도로 기상정보 제공 장치(105)로부터 상기 기상정보 요청에 대한 응답으로서, 상기 지역과 연관된 기상 정보(예컨대, 맑음 여부, 강수량 등)를 수신하여 출력할 수 있다.The user terminal 101 can receive and output weather information (for example, whether it is sunny, precipitation, etc.) related to the area as a response to the weather information request from the road weather information providing device 105.

현장 단말(103)은 예컨대, CCTV(Closed Circuit Television), 스마트폰 등일 수 있으며, 설정된 주기에 따라 도로를 촬영하여 도로 영상을 생성하고, 생성된 도로 영상을 도로 기상정보 제공 장치(105)에 전송할 수 있다.The field terminal 103 may be, for example, a closed circuit television (CCTV), a smart phone, or the like, generates a road image by photographing a road in accordance with a set cycle, and transmits the generated road image to the road weather information providing device 105 .

도로 기상정보 제공 장치(105)는 현장 단말(103)로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 각 도로 영상에 대한 분석을 통해 도로에서의 기상정보를 생성하여 출력할 수 있다. 이때, 도로 기상정보 제공 장치(105)는 지역별로 위치하는 각 현장 단말(103)로부터 도로 영상을 수신할 수 있으며, 각 도로 영상에 대한 분석을 통해 생성된 기상정보를, 지역별로 관리할 수 있다.The road weather information providing device 105 receives the road image photographed by the road according to the set period from the field terminal 103 and generates and outputs weather information on the road through analysis of each road image . At this time, the road weather information providing device 105 can receive road images from the respective field terminals 103 located in each region, and manage the weather information generated through the analysis of each road image by region .

상기 기상정보 출력시, 도로 기상정보 제공 장치(105)는 지역별 기상정보를 디스플레이부를 통해 출력할 수 있다. 또한, 도로 기상정보 제공 장치(105)는 사용자 단말(101)로부터 기상정보 요청을 수신하면, 상기 기상정보 요청으로부터 지역을 검출하고, 상기 검출된 지역에 대응하는 기상정보를, 상기 기상정보 요청에 대한 응답으로서 사용자 단말(101)에 제공할 수 있다.When the weather information is outputted, the road weather information providing device 105 can output the weather information of each region through the display unit. When receiving the weather information request from the user terminal 101, the road weather information providing device 105 detects the area from the weather information request and transmits the weather information corresponding to the detected area to the weather information request To the user terminal 101 as a response.

도 2는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치의 구성을 도시한 도면이다.2 is a diagram showing a configuration of a road weather information providing apparatus according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일실시예에 따른 도로 기상정보 제공 장치(200)는 인터페이스부(201), 프로세서(203) 및 데이터베이스(205)를 포함할 수 있다.2, the road weather information providing apparatus 200 according to an embodiment of the present invention may include an interface unit 201, a processor 203, and a database 205.

인터페이스부(201)는 현장 단말로부터 설정된 주기(예컨대, 0.1초)에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 수신된 도로 영상 각각에서, 일정한 규칙으로 배열된 복수 개의 관심 영역(ROI: Region of Interest)을 설정할 수 있다. 이때, 인터페이스부(201)는 설정된 수(예컨대, 3개)의 도로 영상을 합성하여, 하나의 도로 영상으로 생성할 수 있다.The interface unit 201 receives a road image of a road in accordance with a set period (for example, 0.1 second) from a field terminal and acquires a plurality of ROIs (ROIs) Region of Interest) can be set. At this time, the interface unit 201 may synthesize a predetermined number (for example, three) of road images to generate a single road image.

또한, 인터페이스부(201)는 현장 단말로부터 도로를 촬영한 동영상을 수신하고, 상기 동영상으로부터 설정된 시간 간격으로 도로 영상을 추출할 수도 있다.In addition, the interface unit 201 may receive a moving image of a road from a field terminal, and may extract a road image at a predetermined time interval from the moving image.

상기 관심 영역 설정시, 인터페이스부(201)는 상기 주기에 따라 수신된 도로 영상 간에 동일한 위치의 픽셀에 대한 픽셀값 변화에 기초하여, 상기 도로 영상 내 물체가 이동한 이동 영역을 도출하고, 상기 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 수직 또는 수평으로 배열되는 일정 크기의 영역(예컨대, 다각형 영역)을, 상기 복수 개의 관심 영역으로서 설정할 수 있다.In setting the ROI, the interface unit 201 derives a moving region in which the object moves in the road image based on the pixel value change for the pixel at the same position among the road images received according to the period, (For example, a polygonal area) vertically or horizontally arranged in the object area excluding the moving area in the image as the plurality of interest areas.

상기 이동 영역 도출시, 인터페이스부(201)는 예컨대, 제1 도로 영상 내 제1 픽셀에 대한 픽셀값, 제2 도로 영상 내 제1 픽셀에 대한 픽셀값, 제3 도로 영상 내 제1 픽셀에 대한 픽셀값 중 적어도 하나의 픽셀값이 다른 픽셀값 보다 설정치 이상 클 경우, 제1 픽셀을 이동 영역으로 도출할 수 있다. 여기서, 제1 픽셀 각각은 제1 내지 제3 도로 영상에서 동일한 위치에 해당할 수 있다.In deriving the moving area, the interface unit 201 calculates a pixel value for the first pixel in the first road image, a pixel value for the first pixel in the second road image, If at least one pixel value among the pixel values is greater than a set value by another pixel value, the first pixel can be derived as a moving region. Here, each of the first pixels may correspond to the same position in the first to third road images.

이때, 인터페이스부(201)는 적어도 하나의 도로 영상에서 일부 픽셀이 이동 영역으로 도출되면, 다른 도로 영상 내 상기 일부 픽셀과 동일한 위치의 픽셀을 이동 영역으로 도출할 수 있다.At this time, if some pixels are derived from the at least one road image to the moving region, the interface unit 201 may derive a pixel at the same position as the certain pixels in the other road image as a moving region.

또한, 인터페이스부(201)는 현장 단말로부터 수신된 각 도로 영상(또는, 이동 영역을 제외한 도로 영상) 내 인접한 픽셀 간 픽셀값 차이에 기초하여, 상기 도로 영상을 복수의 영역으로 분할하고, 상기 분할된 복수의 영역 중 어느 하나의 영역에서 상기 복수 개의 관심 영역을 설정할 수 있다. 이때, 인터페이스부(201)는 각 도로 영상에서, 인접한 픽셀 간 픽셀값 차이가 설정된 기준 차이값 이상일 경우, 인접한 픽셀을 각각 상이한 영역으로 분할하고, 상기 인접한 픽셀 간 픽셀값 차이가 상기 기준 차이값 미만일 경우, 하나의 영역으로 분류할 수 있다.In addition, the interface unit 201 divides the road image into a plurality of areas based on pixel value differences between adjacent pixels in each road image (or a road image excluding the moving area) received from the field terminal, The plurality of ROIs can be set in any one of the plurality of ROIs. In this case, the interface unit 201 divides the adjacent pixels into different areas when the pixel value difference between adjacent pixels is equal to or greater than the set reference difference value in each road image, and when the pixel value difference between adjacent pixels is less than the reference difference value , It can be classified into one area.

프로세서(203)는 인터페이스부(201)에 의해, 각 도로 영상이 복수의 영역으로 분할되면, 상기 도로 영상 별로 영역을 대표하는 픽셀값(예컨대, 해당 영역 내 모든 픽셀에 대한 픽셀값의 평균값, 중간값, 해당 영역 내 특정 위치(도로 영상 별로 동일한 위치)의 픽셀에 대한 픽셀값)을 이용하여 제2 패턴 그래프를 생성하고, 설정된 타입별 패턴 그래프에 기초하여, 상기 제2 패턴 그래프에 연관된 타입(예컨대, 숲, 도로)을 결정하며, 상기 결정된 타입을, 상기 영역에 대응하는 지형으로서, 추출할 수 있다. 여기서, 프로세서(203)는 상기 타입별 패턴 그래프를 데이터베이스(205)로부터 검색할 수 있다.When each road image is divided into a plurality of regions by the interface unit 201, the processor 203 calculates a pixel value representative of the region for each road image (for example, an average value of pixel values for all pixels in the region, (A pixel value for a pixel at a specific position within the region (the same position for each road image)), and generates a second pattern graph using the type (e.g., For example, a forest, a road), and extracts the determined type as a terrain corresponding to the area. Here, the processor 203 may search the database 205 for the type-specific pattern graph.

상기 제2 패턴 그래프 생성시, 프로세서(203)는 제1 도로 영상 내 제1 영역을 대표하는 픽셀값, 제2 도로 영상 내 제1 영역을 대표하는 픽셀값, 제3 도로 영상 내 제1 영역을 대표하는 픽셀값을 연결하여, 제2 패턴 그래프를 생성할 수 있다. 이후, 프로세서(203)는 제2 패턴 그래프와 유사도가 가장 높은 패턴 그래프를, 상기 타입별 패턴 그래프에서 식별하고, 식별된 패턴 그래프의 타입이 '숲'일 경우, 제1 영역에 대응하는 지형으로서, '숲'을 추출할 수 있다.When generating the second pattern graph, the processor 203 calculates a pixel value representing a first region in the first road image, a pixel value representing the first region in the second road image, a first region in the third road image, By connecting representative pixel values, a second pattern graph can be generated. Then, the processor 203 identifies the pattern graph having the highest degree of similarity with the second pattern graph from the pattern graph according to the type, and when the type of the identified pattern graph is 'forest' , 'Forest' can be extracted.

프로세서(203)는 각 도로 영상(또는, 도로 영상 내 분할된 영역) 내 상기 복수 개의 관심 영역에 대응하는 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 현장 단말과 연관된 지역 내 도로에서의 기상정보(도로 주변의 기상정보)를 생성하여 출력할 수 있다. 이때, 프로세서(203)는 상기 복수 개의 관심 영역 중 이격 거리가 가장 먼 두 개의 관심 영역을 선택하고, 상기 두 개의 관심 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여, 유사도를 결정하며, 상기 유사도에 비례하여, 안개 또는 강수량이 증가하는 것(또는, 유사도가 설정된 유사 기준치 이상일 경우, 안개 또는 강수량이 평균치 이상인 것)으로 상기 기상정보를 생성할 수 있다.The processor 203 generates a first pattern graph for each of the plurality of ROIs using pixel values corresponding to the plurality of ROIs in each road image (or a divided area in the road image) The weather information (weather information around the road) on the road in the area associated with the field terminal can be generated and output through comparison analysis between the pattern graphs. At this time, the processor 203 selects two ROIs having the greatest separation distance from the plurality of ROIs, determines the similarity based on the difference between the first ROIs for the two ROIs, (Or the fog or precipitation amount is equal to or higher than the average value when the similarity value is set to be equal to or higher than the similar reference value for which the degree of similarity is set).

상기 제1 패턴 그래프 간의 차이 산출시, 프로세서(203)는 상기 두 개의 관심 영역 각각에 대응하는 픽셀값 내 요소 간 거리에 기초하여, 상기 제1 패턴 그래프 간의 차이를 산출할 수 있다. 여기서, 픽셀값은 H(Hue), S(Saturation), V(Value) 중 적어도 하나의 요소를 포함할 수 있다.When calculating the difference between the first pattern graphs, the processor 203 may calculate a difference between the first pattern graphs based on distances between elements within the pixel values corresponding to the two regions of interest. Here, the pixel value may include at least one of H (Hue), S (Saturation), and V (Value).

다른 일례로서, 프로세서(203)는 계층적 클러스터링(hierarchical clustering)을 이용하여, 도로에서의 기상정보를 생성할 수 있다. 이를 위해, 프로세서(203)는 이전에 수신된 도로 영상에 대해, 복수 개의 관심 영역별 패턴 그래프를 생성하고, 생성한 패턴 그래프를 지역, 계절, 지형 및 시간대 중 적어도 하나에 매칭(matching)시켜, 데이터베이스(205)에 저장 함으로써, 그룹별 패턴 그래프를 미리 생성할 수 있다. 즉, 프로세서(203)는 도로 영상에 대한 관심 영역별 패턴 그래프를 반복적으로 학습하여, 특징에 따라 분류 함으로써, 상기 그룹별 패턴 그래프를 구축할 수 있다.As another example, the processor 203 may generate weather information on the road using hierarchical clustering. For this purpose, the processor 203 generates a pattern graph for each of the ROIs previously received, and matches the generated pattern graph to at least one of the region, the season, the terrain, and the time zone, And stored in the database 205, pattern graphs for each group can be generated in advance. That is, the processor 203 can repeatedly learn a pattern graph for each region of interest on the road image, and classify the pattern graph according to the characteristic to construct the pattern graph for each group.

이후, 프로세서(203)는 지역, 계절, 지형 및 시간대 중 적어도 하나를 고려하여, 분류된 상기 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프가 속하는 그룹을 선정하고, 상기 선정된 그룹의 속성을 상기 기상정보로서 생성할 수 있다. 이때, 프로세서(203)는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹을, 상기 제1 패턴 그래프가 속하는 그룹으로 선정할 수 있다. 즉, 프로세서(203)는 상기 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프와 연관된 패턴 그래프를 판별하고, 판별 결과에 기초하여 기상정보를 생성할 수 있다.Thereafter, the processor 203 selects a group to which the first pattern graph belongs based on the classified pattern graph for each group, considering at least one of region, season, topography and time zone, Can be generated as the weather information. At this time, the processor 203 may select a group having a pattern graph having the highest degree of similarity with the first pattern graph as a group to which the first pattern graph belongs. That is, the processor 203 may determine the pattern graph associated with the first pattern graph based on the pattern graph for each group, and generate the weather information based on the determination result.

한편, 프로세서(203)는 기상정보를 디스플레이부를 통해 출력하거나, 또는 기상정보 요청을 발생한 사용자 단말로 기상정보를 제공할 수 있다.Meanwhile, the processor 203 may output the weather information through the display unit, or may provide the weather information to the user terminal that generated the weather information request.

데이터베이스(205)는 그룹별 패턴 그래프를 저장할 수 있다. 또한, 데이터베이스(205)는 타입별 패턴 그래프를 더 저장할 수 있다.The database 205 may store a pattern graph for each group. In addition, the database 205 may further store a pattern graph for each type.

도 3은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 이용하는 도로 영상에 대한 일례를 도시한 도면이다.3 is a view showing an example of a road image used in the road weather information providing apparatus according to an embodiment of the present invention.

도 3을 참조하면, 도로 기상정보 제공 장치는 현장 단말로부터 도로를 촬영한 동영상을 수신하고, 상기 동영상으로부터 설정된 시간 간격(i, 예컨대, 0.1초)으로 도로 영상(1fimage, 3fimage,…, 9fimage)을 추출할 수 있다.3, the road weather information providing apparatus receives a moving picture of a road from a field terminal and displays road images (1 file, 3 file, ..., 9 file) at a predetermined time interval (i, Can be extracted.

도 4는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 이동 영역에 대한 도출 일례를 설명하기 위한 도면이다.4 is a view for explaining an example of derivation of a moving region in a road image in the road weather information providing apparatus according to an embodiment of the present invention.

도 4를 참조하면, 도로 기상정보 제공 장치는 복수의 도로 영상 간에 동일한 위치의 픽셀에 대한 픽셀값 변화가 설정치 이상일 경우, 이동하는 물체가 존재하는 것으로 판단하여, 상기 픽셀을 이동 영역을 도출할 수 있다. 예컨대, 도로 기상정보 제공 장치는 제1 도로 영상(401-1) 내 제1 픽셀(403-1)에 대한 픽셀값(405-1), 제2 도로 영상(401-2) 내 제1 픽셀(403-2)에 대한 픽셀값(405-2), 제3 도로 영상(401-3) 내 제1 픽셀(403-3)에 대한 픽셀값(405-3) 중 제2 도로 영상(401-2) 내 제1 픽셀(403-2)에 대한 픽셀값(405-2)이, 다른 픽셀값(405-1, 405-5) 보다 설정치(예컨대, 5) 이상 큼에 따라, 제1 픽셀(403-1, 403-2, 403-3)을 이동 영역으로 도출할 수 있다. 반면, 도로 기상정보 제공 장치는 제1 도로 영상(401-1) 내 제2 픽셀(407-1)에 대한 픽셀값(409-1), 제2 도로 영상(401-2) 내 제2 픽셀(407-2)에 대한 픽셀값(409-2), 제3 도로 영상(401-3) 내 제2 픽셀(407-3)에 대한 픽셀값(409-3) 간의 차이가, 설정치 미만에 해당 함에 따라, 이동하는 물체가 존재하지 않는 것으로 판단하여, 제2 픽셀(407-1, 407-2, 407-3)을 이동 영역에서 제외시킬 수 있다.Referring to FIG. 4, when a pixel value change for a pixel at the same position among a plurality of road images is equal to or greater than a set value, the road weather information providing apparatus determines that a moving object exists, have. For example, the road weather information providing apparatus may include a pixel value 405-1 for the first pixel 403-1 in the first road image 401-1, a pixel value 405-1 for the first pixel 403-1 in the second road image 401-2, 403-2 among the pixel values 405-3 for the first pixel 403-3 in the third road image 401-3 and the pixel value 405-2 for the second road image 401-2 The pixel value 405-2 for the first pixel 403-2 in the first pixel 403-2 is greater than the set value (e.g., 5) than the other pixel values 405-1 and 405-5. -1, 403-2, and 403-3 can be derived as a moving area. On the other hand, the road weather information providing apparatus includes a pixel value 409-1 for the second pixel 407-1 in the first road image 401-1, a pixel value 409-1 for the second pixel 407-1 in the second road image 401-2, The difference between the pixel value 409-2 for the second pixel 407-2 and the pixel value 409-3 for the second pixel 407-3 in the third road image 401-3 is less than the set value Accordingly, it is determined that there is no moving object, and the second pixels 407-1, 407-2, and 407-3 can be excluded from the moving region.

도 5는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 대상 영역에 대한 구별 일례를 설명하기 위한 도면이다.5 is a view for explaining an example of distinguishing a target area in a road image in a road weather information providing apparatus according to an embodiment of the present invention.

도 5를 참조하면, 도로 기상정보 제공 장치는 예컨대, 3개의 도로 영상(501, 503, 505)을 합성하여, 하나의 제1 도로 영상(507)으로 생성할 수 있다. 이때, 도로 기상정보 제공 장치는 3개의 도로 영상(501, 503, 505) 간에 동일한 위치의 픽셀에 대한 픽셀값 변화에 기초하여, 이동 영역을 도출하고, 합성된 제1 도로 영상(507-1)에, 상기 이동 영역을 동일한 위치에 적용할 수 있다.Referring to FIG. 5, the road weather information providing apparatus may synthesize three road images 501, 503, and 505 to generate a first road image 507, for example. At this time, the road weather information providing device derives the moving area based on the pixel value change for the pixels at the same position among the three road images 501, 503, and 505, and outputs the combined first road image 507-1, The moving region can be applied to the same position.

또한, 도로 기상정보 제공 장치는 제1 도로 영상(507-1)과 마찬가지로, 다른 3개의 도로 영상이 합성된 제2 도로 영상(509-1) 및 제3 도로 영상(511-1)을 이용하여, 최종의 이동 영역(513)을 도출하고, 제1 내지3 도로 영상(507-1, 509-1, 511-1) 각각에서 최종의 이동 영역(513)을 제외한 부분을 대상 영역(507-2, 509-2, 511-2)으로서 구별할 수 있다.In addition, the road weather information providing apparatus may use the second road image 509-1 and the third road image 511-1 in which three different road images are synthesized in the same manner as the first road image 507-1 , The final moving area 513 is derived and the portion of the first to third road images 507-1, 509-1 and 511-1 excluding the final moving area 513 is divided into the target area 507-2 , 509-2, and 511-2.

도 6은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 영역 분할에 대한 일례를 설명하기 위한 도면이다.FIG. 6 is a view for explaining an example of area division in a road image in the road weather information providing apparatus according to an embodiment of the present invention.

도 6을 참조하면, 도로 기상정보 제공 장치는 복수의 도로 영상 각각에 대해, 인접한 픽셀 간 픽셀값 차이에 기초하여, 복수의 영역으로 분할하거나, 또는 각 픽셀에 대한 픽셀값을, 설정된 영역 별 픽셀 기준치에 비교한 결과에 기초하여, 각 픽셀을 복수의 영역 중 하나의 영역으로 분류할 수 있다. 도로 기상정보 제공 장치는 예컨대, 3개의 도로 영상 각각에 대해, 3개의 영역(제1 내지 제3 영역)으로 분할할 수 있다.Referring to FIG. 6, the road weather information providing apparatus divides the road image into a plurality of areas based on the difference between adjacent pixel values for each of the plurality of road images, or divides the pixel value for each pixel into pixels Based on the comparison result with the reference value, each pixel can be classified into one of the plurality of regions. The road weather information providing device can be divided into three areas (first to third areas), for example, for each of three road images.

상기 영역 분할시, 도로 기상정보 제공 장치는 복수의 도로 영상을 하나의 도로 영상으로 합성하고, 합성된 도로 영상에서 분할된 복수의 영역을, 상기 복수의 도로 영상 각각에 적용할 수도 있다.The road weather information providing apparatus may combine a plurality of road images into one road image at the time of area division and apply a plurality of regions divided from the synthesized road image to each of the plurality of road images.

도로 기상정보 제공 장치는 제1 도로 영상(601-1) 내 제1 영역(603-1)을 대표하는 픽셀값(605-1), 제2 도로 영상(601-2) 내 제1 영역(603-2)을 대표하는 픽셀값(605-2) 및 제3 도로 영상(601-3) 내 제1 영역(603-3)을 대표하는 픽셀값(605-3)을 연결하여, 제2 패턴 그래프_#1(607)을 생성할 수 있다.The road weather information providing apparatus includes a pixel value 605-1 representing the first area 603-1 in the first road image 601-1, a first area 603-1 in the second road image 601-2, -2) and the pixel value 605-3 representative of the first area 603-3 in the third road image 601-3 are connected to each other, 1 < / RTI > (607).

이후, 도로 기상정보 제공 장치는 설정된 타입별 패턴 그래프 중 제2 패턴 그래프_#1(607)와 유사도가 가장 높은 패턴 그래프를 식별하고, 식별된 패턴 그래프의 타입이 '숲1'일 경우, 제1 영역(603-1, 603-2, 603-3)에 대응하는 지형으로서, '숲1'을 추출할 수 있다.Hereinafter, the road weather information providing apparatus identifies a pattern graph having the highest degree of similarity to the second pattern graph_ # 1 (607) among the pattern graphs according to the set types, and when the identified pattern graph type is 'forest 1' 1 " can be extracted as the terrain corresponding to the " 1 " areas 603-1, 603-2, and 603-3.

또한, 도로 기상정보 제공 장치는 제1 내지 제3 도로 영상(601-1, 601-2, 601-3) 내 제2 영역(609-1, 609-2, 609-3)에 대해서도, 제2 패턴 그래프_#2(611)를 생성할 수 있으며, 설정된 타입별 패턴 그래프 중 제2 패턴 그래프_#2(611)와 유사도가 가장 높은 패턴 그래프의 타입이 '도로'일 경우, 제2 영역(609-1, 609-2, 609-3)에 대응하는 지형으로서, '도로'를 추출할 수 있다.The road weather information providing apparatus is also provided with the second regions 609-1, 609-2 and 609-3 in the first to third road images 601-1, 601-2 and 601-3, The second pattern graph_ # 2 611 can be generated. If the type of the pattern graph having the highest degree of similarity to the second pattern graph_ # 2 611 among the pattern graphs of the type set is' 609-1, 609-2, and 609-3), the 'road' can be extracted.

여기서, 각 영역을 대표하는 픽셀값이 H(Hue), S(Saturation) 및 V(Value)를 포함하고, 시간 개념을 가지는 도로 영상별로 존재 함에 따라, 각 제2 패턴 그래프는 4차원 데이터로 표시될 수 있으나, 편의상 2차원으로 매핑하여 표시될 수 있다.Here, since the pixel values representative of the respective regions include H (Hue), S (Saturation) and V (Value), and exist for each road image having a time concept, each second pattern graph is represented by four- However, it can be displayed as a two-dimensional mapping for the sake of convenience.

도 7은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 관심 영역 설정에 대한 일례를 설명하기 위한 도면이다.7 is a view for explaining an example of setting a ROI in a road image in a road weather information providing apparatus according to an embodiment of the present invention.

도 7을 참조하면, 도로 기상정보 제공 장치는 도로 영상 각각을 복수의 영역으로 분할하고, 상기 분할된 복수의 영역(예컨대, 도로, 숲1, 숲2, 숲3, 하늘) 각각에서 복수 개의 관심 영역을 설정할 수 있다.7, the road weather information providing apparatus divides each road image into a plurality of areas, and a plurality of areas (for example, a road, a forest 1, a forest 2, a forest 3, Area can be set.

예컨대, 도로 기상정보 제공 장치는 도로 영상 내 '숲2'를 지형으로 갖는 제3 영역(700)에서, 수직으로 이격되어 배열된 4개의 사각형 영역(701, 702, 703, 704)을 상기 복수 개의 관심 영역으로서 설정할 수 있다. 또한, 도로 기상정보 제공 장치는 도로 영상 내 '숲1'를 지형으로 갖는 제1 영역에서, 수평으로 이격되어 배열된 3개의 사각형 영역(705, 706, 707)을 상기 복수 개의 관심 영역으로서 설정할 수 있다.For example, in the road weather information providing apparatus, four rectangular areas 701, 702, 703, and 704 vertically spaced apart from each other in a third area 700 having a 'forest 2' Can be set as a region of interest. In addition, the road weather information providing apparatus can set three rectangular areas 705, 706, and 707 arranged horizontally in the first area having the 'Forest 1' as a terrain in the road image as the plurality of interest areas have.

도 8a는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프의 일례를 설명하기 위한 도면이다.8A is a view for explaining an example of a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.

도 8a를 참조하면, 도로 기상정보 제공 장치는 각 도로 영상 내 복수 개의 관심 영역에 대응하는 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 제1 패턴 그래프 간의 비교 분석을 통해, 도로에서의 기상정보를 생성할 수 있다.Referring to FIG. 8A, the road weather information providing apparatus generates a first pattern graph for each of the plurality of ROIs using pixel values corresponding to a plurality of ROIs in each road image, It is possible to generate the weather information on the road.

예컨대, 도로 기상정보 제공 장치는 제1 내지 제3 도로 영상 각각에 대해, 도 7에서의 제3 영역 내에 수직으로 배열된 4개의 사각형 영역(701, 702, 703, 704)에 대응하는 픽셀값을 이용하여, 복수 개의 제1 패턴 그래프를 생성할 수 있다. 구체적으로, 도로 기상정보 제공 장치는 제1 도로 영상의 제3 영역 내 제1 사각형 영역(701)에 대응하는 픽셀값(예컨대, 해당 사각형 영역 내 모든 픽셀에 대한 픽셀값의 평균값, 중간값, 해당 사각형 영역 내 특정 위치의 픽셀에 대한 픽셀값), 제2 도로 영상의 제3 영역 내 제1 사각형 영역(701)에 대응하는 픽셀값, 제3 도로 영상의 제3 영역 내 제1 사각형 영역(701)에 대응하는 픽셀값을 연결하여, 제1 사각형 영역(701)에 관한 제1 패턴 그래프(801)를 생성할 수 있다. 도로 기상정보 제공 장치는 제1 사각형 영역(701)과 마찬가지로, 제2 내지 제4 사각형 영역(702, 703, 704)에 관한 제1 패턴 그래프(802, 803, 804)를 생성할 수 있다.For example, for each of the first to third road images, the road weather information providing apparatus may calculate pixel values corresponding to the four rectangular areas 701, 702, 703, and 704 arranged vertically in the third area in FIG. 7 A plurality of first pattern graphs can be generated. More specifically, the road weather information providing apparatus may calculate a pixel value corresponding to the first rectangular area 701 in the third area of the first road image (for example, an average value, a median value, A pixel value corresponding to the first rectangular area 701 in the third area of the second road image, a pixel value corresponding to the first rectangular area 701 in the third area of the third road image ) To generate a first pattern graph 801 related to the first rectangular area 701. The first pattern graph 801 may be generated by connecting the pixel values corresponding to the first rectangular area 701. [ The road weather information providing apparatus can generate the first pattern graph 802, 803, 804 relating to the second to fourth rectangular areas 702, 703, 704, similarly to the first rectangular area 701.

이때, 도로 기상정보 제공 장치는 제3 영역 내 4개의 사각형 영역(701, 702, 703, 704) 중 이격 거리가 가장 먼 두 개의 관심 영역 즉, 제1 사각형 영역(701) 및 제4 사각형 영역(704) 각각에 관한 제1 패턴 그래프 간의 차이에 기초하여, 유사도를 결정하고, 상기 유사도를 고려하여, 도로에서의 기상정보를 생성할 수 있다. 여기서, 도로 기상정보 제공 장치는 제1 사각형 영역(701) 및 제4 사각형 영역(704) 각각에 관한 제1 패턴 그래프 간의 차이(편차)가 작아짐에 따라, 유사도가 설정된 유사 기준치 이상으로 높아지는 경우, 안개가 많은 날씨로 판단하고, 제1 사각형 영역(701) 및 제4 사각형 영역(704) 각각에 관한 제1 패턴 그래프 간의 차이가 커짐에 따라, 유사도가 설정된 유사 기준치 미만으로 낮아지는 경우, 안개가 적은 날씨로 판단하여, 제1 기상정보를 생성할 수 있다. 이때, 도로 기상정보 제공 장치는 복수 개의 관심 영역 즉, 4개의 사각형 영역(701, 702, 703, 704)이 설정된 제3 영역의 지형, '숲2'를 고려하여, 제1 기상정보를 조정할 수 있다.At this time, the road weather information providing apparatus includes two rectangular areas 701, 702, 703, and 704 in the third area that are the farthest from each other, that is, the first rectangular area 701 and the fourth rectangular area 701 704, it is possible to determine the degree of similarity and to generate the weather information on the road in consideration of the similarity. Here, when the degree of similarity between the first pattern graphs of the first rectangular area 701 and the fourth rectangular area 704 becomes smaller than the similar reference value, If the degree of similarity is lowered below the set similar reference value as the difference between the first pattern graphs for the first rectangular area 701 and the fourth rectangular area 704 becomes larger as judged by foggy weather, The first weather information can be generated by judging that the weather is low. At this time, the road weather information providing apparatus can adjust the first weather information in consideration of the terrain of the third area, 'Forest 2', in which a plurality of interest areas, that is, four rectangular areas 701, 702, 703 and 704, have.

또한, 도로 기상정보 제공 장치는 제1 내지 제3 도로 영상 각각에 대해, 도 7에서의 제1 영역 내에 수평으로 배열된 3개의 사각형 영역(705, 706, 707)에 대응하는 픽셀값을 연결하여, 복수 개의 제1 패턴 그래프(805, 806, 807)를 생성할 수 있다.Also, for each of the first to third road images, the road weather information providing apparatus connects the pixel values corresponding to the three rectangular areas 705, 706, and 707 horizontally arranged in the first area in Fig. 7 , A plurality of first pattern graphs 805, 806, and 807 can be generated.

이때, 도로 기상정보 제공 장치는 제1 영역 내 3개의 사각형 영역(705, 706, 707) 중 이격 거리가 가장 먼 두 개의 관심 영역 즉, 제5 사각형 영역(705) 및 제7 사각형 영역(707) 각각에 관한 제1 패턴 그래프(805, 805) 간의 차이에 기초하여, 유사도를 결정하고, 상기 유사도를 고려하여, 도로에서의 기상정보를 생성할 수 있다. 여기서, 도로 기상정보 제공 장치는 제5 사각형 영역(705) 및 제7 사각형 영역(707) 각각에 관한 제1 패턴 그래프(805, 807) 간의 차이(편차)가 작아짐에 따라, 유사도가 설정된 유사 기준치 이상으로 높아지는 경우, 안개가 많은 날씨로 판단하고, 제5 사각형 영역(705) 및 제7 사각형 영역(707) 각각에 관한 제1 패턴 그래프(805, 807) 간의 차이가 커짐에 따라, 유사도가 설정된 유사 기준치 미만으로 낮아지는 경우, 안개가 적은 날씨로 판단하여, 제2 기상정보를 생성할 수 있다. 이때, 도로 기상정보 제공 장치는 복수 개의 관심 영역 즉, 3개의 사각형 영역(705, 706, 707)이 설정된 제1 영역의 지형, '숲1'를 고려하여, 제2 기상정보를 조정할 수 있다.In this case, the road weather information providing apparatus includes two rectangular areas 705, 706 and 707 in the first area, that is, a fifth rectangular area 705 and a seventh rectangular area 707, The degree of similarity can be determined based on the difference between the first pattern graphs 805 and 805 with respect to each of them and the weather information on the road can be generated in consideration of the similarity. Here, as the difference (deviation) between the first pattern graphs 805 and 807 with respect to the fifth rectangle area 705 and the seventh rectangle area 707 becomes smaller, The degree of similarity is set as the difference between the first pattern graphs 805 and 807 regarding the fifth rectangular area 705 and the seventh rectangular area 707 increases. If it is lower than the similar reference value, the second weather information can be generated by judging the weather to be low in fog. At this time, the road weather information providing apparatus can adjust the second weather information in consideration of the topography of the first area, the 'forest 1', in which a plurality of interest areas, that is, three rectangular areas 705, 706 and 707 are set.

한편, 도로 기상정보 제공 장치는 각 도로 영상에 대해, 2개 이상의 분할된 영역(예컨대, 제1 영역, 제3 영역)에서 설정된 관심 영역을 이용하여, 패턴 그래프가 생성되고, 각 패턴 그래프를 이용하여 기상정보(제1, 2 기상정보)가 생성되는 경우, 설정된 기준(예컨대, 특정 지형을 갖는 영역에 관한 패턴 그래프에 높은 우선순위를 부여함)에 따라, 선택된 기상정보를 최종의 기상정보로서 생성하거나, 또는 각 패턴 그래프를 이용한 기상정보(제1, 2 기상정보)를 모두 고려하여, 최종의 기상정보를 생성할 수 있다.On the other hand, in the road weather information providing apparatus, a pattern graph is generated for each road image using a region of interest set in two or more divided regions (for example, the first region and the third region), and each pattern graph is used (First and second weather information) is generated, the selected weather information is set as final weather information according to a set reference (for example, a high priority is given to a pattern graph relating to a region having a specific terrain) Or the weather information (first and second weather information) using the respective pattern graphs can be all taken into consideration and final weather information can be generated.

도 8b는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프의 다른 일례를 설명하기 위한 도면이다.8B is a view for explaining another example of a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.

도 8b를 참조하면, 도로 기상정보 제공 장치는 도로 기상정보 제공 장치는 관심 영역 간의 차이(예컨대, 관심 영역 내 모든 픽셀에 대한 픽셀값의 평균값, 중간값, 특정 위치의 픽셀에 대한 픽셀값 간의 차이)에 기초하여, 패턴 그래프를 생성할 수 있다.Referring to FIG. 8B, in the road weather information providing apparatus, the road weather information providing apparatus calculates the difference between the interest areas (for example, the average value, the median value, and the difference ), It is possible to generate a pattern graph.

이때, 도로 기상정보 제공 장치는 하나의 도로 영상에서, 설정된 기준에 따라 분할된 하나의 영역 내 관심 영역 간의 차이에 기초하여 패턴 그래프를 생성할 수 있다. 예컨대, 도로 기상정보 제공 장치는 제1 도로 영상(810-1)에서, 동일한 영역(그룹)(예컨대, '하늘' 영역) 내 관심 영역(S1, S2) 간의 차이(811)에 기초하여, 제1 패턴 그래프(type1)를 생성할 수 있다.At this time, the road weather information providing apparatus can generate a pattern graph based on a difference between ROIs in one region divided according to a set reference, in one road image. For example, in the first road image 810-1, the road weather information providing apparatus calculates the difference between the first road image 810-1 and the second road image 810-1 based on the difference 811 between the ROIs S 1 and S 2 in the same area (group) (for example, , And a first pattern graph (type 1).

도로 기상정보 제공 장치는 하나의 도로 영상에서, 설정된 기준에 따라 분할된 복수의 영역 내 각 관심 영역 간의 차이에 기초하여 패턴 그래프를 생성할 수 있다. 예컨대, 도로 기상정보 제공 장치는 제1 도로 영상(810-1)에서, 상이한 영역(그룹)(예컨대, '숲', '도로', '하늘' 영역) 내 각 관심 영역(F1, R1 S1) 간의 차이(813)에 기초하여, 제2 패턴 그래프(type2)를 생성할 수 있다.The road weather information providing apparatus can generate a pattern graph based on a difference between respective interest areas in a plurality of areas divided according to a set reference in one road image. For example, in the first road image 810-1, the road weather information providing device displays each of the areas of interest F 1 , R 1 (for example, S 1 ), a second pattern graph (type 2) can be generated.

또한, 도로 기상정보 제공 장치는 설정된 주기에 따라 촬영된 복수의 도로 영상 각각에서, 분할된 하나의 영역 내 동일한 하나의 관심 영역 간의 차이에 기초하여 패턴 그래프를 생성할 수 있다. 예컨대, 도로 기상정보 제공 장치는 제1, 2 3 도로 영상(810-1, 810-2, 810-3) 각각에서 분할된 하나의 영역(그룹)(예컨대, '숲' 영역) 내 동일한 관심 영역(Fn, Fn , Fn) 간의 차이(815)에 기초하여, 시계열 차이에 기반한 제3 패턴 그래프(type3)를 생성할 수 있다.In addition, the road weather information providing apparatus can generate a pattern graph based on a difference between the same one interest area in one divided area in each of a plurality of road images photographed according to a set period. For example, the road weather information providing apparatus is provided with the same area of interest (e.g., a forest area) within one area (group) (e.g., a 'forest' area) divided by the first and second road images 810-1, 810-2, (Type 3) based on the time series difference, based on the difference 815 between the time series F n , F n , and F n .

도 9는 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서의 도로 영상 내 복수 개의 관심 영역에 관한 패턴 그래프를 이용하여 기상정보를 생성하는 일례를 설명하기 위한 도면이다.9 is a diagram for explaining an example of generating weather information using a pattern graph of a plurality of ROIs in a road image in the road weather information providing apparatus according to an embodiment of the present invention.

도 9를 참조하면, 도로 기상정보 제공 장치는 각 도로 영상 내 복수 개의 관심 영역에 대응하는 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 제1 패턴 그래프 간의 차이 정도에 따라, 강수량을 판단할 수 있다.Referring to FIG. 9, the road weather information providing apparatus generates a first pattern graph for each of the plurality of ROIs using pixel values corresponding to a plurality of ROIs in each road image, , It is possible to determine the amount of precipitation.

예컨대, 도로 기상정보 제공 장치는 제1 내지 제3 도로 영상의 제3 영역 내 수직으로 배열된 사각형 영역에 관한 복수 개의 제1 패턴 그래프(801, 802, 803, 804)를 이용하여, 강수량을 판단할 수 있다. 이때, 도로 기상정보 제공 장치는 복수 개의 제1 패턴 그래프(801, 802, 803, 804) 중 이격 거리가 가장 먼 제1 사각형 영역(701) 및 제4 사각형 영역(704) 각각에 관한 제1 패턴 그래프(801, 804) 간의 차이를, 강우량별 편차와 비교하고, 비교 결과에 따라, 강수량을 판단할 수 있다. 즉, 도로 기상정보 제공 장치는 제1 패턴 그래프(801, 804) 간의 차이가, '5㎜' 강우량에 대응하는 제1 편차 길이(3∼5㎝)를 만족하는 경우, '5㎜' 강우량이 내리는 것으로 판단할 수 있다.For example, the road weather information providing apparatus determines the amount of precipitation using a plurality of first pattern graphs 801, 802, 803, and 804 related to a rectangular area vertically arranged in a third area of the first to third road images can do. At this time, the road-weather information providing apparatus is configured to provide the first pattern data 801, 802, 803, 804 with respect to each of the first rectangular area 701 and the fourth rectangular area 704, The difference between the graphs 801 and 804 can be compared with the deviation by rainfall amount, and the precipitation amount can be determined according to the comparison result. That is, when the difference between the first pattern graphs 801 and 804 satisfies the first deviation length (3 to 5 cm) corresponding to the '5 mm' rainfall amount, the '5 mm' It can be judged that it is falling.

도 10은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 패턴 그래프 간 유사도 결정에 관한 일례를 설명하기 위한 도면이다.10 is a view for explaining an example of determination of similarity between pattern graphs in the road weather information providing apparatus according to an embodiment of the present invention.

도 10을 참조하면, 도로 기상정보 제공 장치는 패턴 그래프_#1(1001)과 패턴 그래프_#2(1002) 간의 차이에 기초하여, 패턴 그래프 간 유사도를 결정할 수 있다.Referring to FIG. 10, the road weather information providing apparatus can determine the degree of similarity between pattern graphs based on the difference between pattern graph_ # 1 1001 and pattern graph_ # 2 1002.

도로 기상정보 제공 장치는 패턴 그래프_#1(1001) 내 픽셀값과 패턴 그래프_#2(1002) 내 픽셀값 간의 거리(각 픽셀값 내 요소 간 거리)(

Figure 112017012125610-pat00001
)를 [수학식 1]에 따라 산출할 수 있다.The road weather information providing apparatus calculates the distance between the pixel values in the pattern graph_ # 1 (1001) and the pixel values in the pattern graph_ # 2 (1002)
Figure 112017012125610-pat00001
) Can be calculated according to Equation (1).

Figure 112017012125610-pat00002
Figure 112017012125610-pat00002

이후, 도로 기상정보 제공 장치는 모든 시간축(도로 영상)의 픽셀값 간의 거리를 이용하여, 패턴 그래프_#1(1001)과 패턴 그래프_#2(1002) 간의 차이를 산출할 수 있다. 도로 기상정보 제공 장치는 예컨대, 3개의 도로 영상과 연관된 픽셀값 간의 거리에 대한 평균값((g1+g2+g3)/3)을, 패턴 그래프_#1(1001)과 패턴 그래프_#2(1002) 간의 차이로서 산출하고, 산출된 차이에 기초하여, 패턴 그래프_#1(1001)과 패턴 그래프_#2(1002) 간 유사도를 결정할 수 있다.Then, the road weather information providing apparatus can calculate the difference between the pattern graph_ # 1 1001 and the pattern graph_ # 2 1002 using the distance between pixel values of all the time axes (road images). The road weather information providing apparatus calculates the average value (g 1 + g 2 + g 3 ) / 3 of the distance between pixel values associated with three road images, for example, from the pattern graph_ # 1 1001 and the pattern graph_ # 2 (1002), and the degree of similarity between the pattern graph_ # 1 (1001) and the pattern graph_ # 2 (1002) can be determined based on the calculated difference.

도 11은 본 발명의 일실시예에 따른 도로 기상정보 제공 장치에서 그룹별 패턴 그래프에 기초하여, 기상정보를 생성하는 일례를 설명하기 위한 도면이다.11 is a diagram for explaining an example of generating weather information based on a group-by-group pattern graph in the road weather information providing apparatus according to an embodiment of the present invention.

도 11을 참조하면, 도로 기상정보 제공 장치는 각 도로 영상 내 복수 개의 관심 영역에 대응하는 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프가 속하는 그룹을 선정하고, 상기 선정된 그룹의 속성을 기상정보로서 생성할 수 있다.Referring to FIG. 11, the road weather information providing apparatus generates a first pattern graph for each of the plurality of ROIs using pixel values corresponding to a plurality of ROIs in each road image, , A group to which the first pattern graph belongs, and an attribute of the selected group as weather information.

이때, 도로 기상정보 제공 장치는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹을, 상기 제1 패턴 그래프가 속하는 그룹으로 선정할 수 있다. 예컨대, 도로 기상정보 제공 장치는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹(1101)을 선정하고, 그룹(1101)의 속성이 '맑음'일 경우, '맑음'을 기상정보로서 생성할 수 있다.At this time, the road weather information providing apparatus can select, as a group to which the first pattern graph belongs, a group having a pattern graph having the highest degree of similarity to the first pattern graph. For example, the road weather information providing apparatus selects a group 1101 having a pattern graph having the highest degree of similarity with the first pattern graph, and when the attribute of the group 1101 is 'clear', 'clear' Can be generated.

여기서, 도로 기상정보 제공 장치는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프가 추가 속성을 갖는 경우, 상기 추가 속성을 더 고려하여, 기상정보를 생성할 수 있다. 예컨대, 도로 기상정보 제공 장치는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹(1103)의 속성이 '비'이고, 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프의 추가 속성이 '10㎜'일 경우, '10㎜의 강수량'을 기상정보로서 생성할 수 있다.Here, when the pattern graph having the highest degree of similarity with the first pattern graph has an additional attribute, the road weather information providing apparatus can generate weather information by further considering the additional attribute. For example, when the attribute of the group 1103 having the pattern graph having the highest degree of similarity with the first pattern graph is' non 'and the additional attribute of the pattern graph having the highest degree of similarity with the first pattern graph is' '10 mm', '10 mm of precipitation' can be generated as the weather information.

도 12는 본 발명의 일실시예에 따른 도로 기상정보 제공 방법을 나타내는 흐름도이다.12 is a flowchart illustrating a road weather information providing method according to an embodiment of the present invention.

도 12를 참조하면, 단계 1201에서, 도로 기상정보 제공 장치는 도로 영상 각각에서, 일정한 규칙으로 배열된 복수 개의 관심 영역을 설정할 수 있다.Referring to FIG. 12, in step 1201, the road weather information providing apparatus can set a plurality of ROIs arranged in a predetermined rule in each road image.

도로 기상정보 제공 장치는 현장 단말로부터 설정된 주기(예컨대, 0.1초)에 따라, 도로를 촬영한 도로 영상을 수신하거나, 또는 현장 단말로부터 수신한 동영상으로부터 설정된 시간 간격으로 도로 영상을 추출할 수 있다.The road weather information providing apparatus can receive a road image photographed from a road or extract a road image at a set time interval from a moving picture received from a site terminal according to a predetermined period (for example, 0.1 second) from a field terminal.

상기 관심 영역 설정시, 도로 기상정보 제공 장치는 상기 주기에 따라 수신된 도로 영상 간에 동일한 위치의 픽셀에 대한 픽셀값 변화에 기초하여, 상기 도로 영상 내 물체가 이동한 이동 영역을 도출하고, 상기 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 수직 또는 수평으로 배열되는 일정 크기의 영역(예컨대, 다각형 영역)을, 상기 복수 개의 관심 영역으로서 설정할 수 있다.The road weather information providing apparatus derives a moving area in which the object moves in the road image based on the pixel value change for the pixel at the same position between the road images received according to the period, (For example, a polygonal area) vertically or horizontally arranged in the object area excluding the moving area in the image as the plurality of interest areas.

상기 이동 영역 도출시, 도로 기상정보 제공 장치는 예컨대, 제1 도로 영상 내 제1 픽셀에 대한 픽셀값, 제2 도로 영상 내 제1 픽셀에 대한 픽셀값, 제3 도로 영상 내 제1 픽셀에 대한 픽셀값 중 적어도 하나의 픽셀값이 다른 픽셀값 보다 설정치 이상 클 경우, 제1 픽셀을 이동 영역으로 도출할 수 있다. 여기서, 제1 픽셀 각각은 제1 내지 제3 도로 영상에서 동일한 위치에 해당할 수 있다.When deriving the moving area, for example, the road weather information providing device may calculate the pixel value for the first pixel in the first road image, the pixel value for the first pixel in the second road image, If at least one pixel value among the pixel values is greater than a set value by another pixel value, the first pixel can be derived as a moving region. Here, each of the first pixels may correspond to the same position in the first to third road images.

또한, 도로 기상정보 제공 장치는 현장 단말로부터 수신된 각 도로 영상(또는, 이동 영역을 제외한 도로 영상) 내 인접한 픽셀 간 픽셀값 차이에 기초하여, 상기 도로 영상을 복수의 영역으로 분할하고, 상기 분할된 복수의 영역 중 어느 하나의 영역에서 상기 복수 개의 관심 영역을 설정할 수 있다. 이때, 도로 기상정보 제공 장치는 도로 영상 별로 영역을 대표하는 픽셀값(예컨대, 해당 영역 내 모든 픽셀에 대한 픽셀값의 평균값, 중간값, 해당 영역 내 특정 위치(도로 영상 별로 동일한 위치)의 픽셀에 대한 픽셀값)을 이용하여 제2 패턴 그래프를 생성하고, 설정된 타입별 패턴 그래프에 기초하여, 상기 제2 패턴 그래프에 연관된 타입(예컨대, 숲, 도로)을 결정하며, 상기 결정된 타입을, 상기 영역에 대응하는 지형으로서, 추출할 수 있다.The road weather information providing device may divide the road image into a plurality of areas based on a pixel value difference between adjacent pixels in each road image (or a road image excluding the moving area) received from the field terminal, The plurality of ROIs can be set in any one of the plurality of ROIs. At this time, the road weather information providing apparatus is provided with a pixel value representative of an area for each road image (for example, an average value, a middle value, and a specific position in the corresponding area And determines the type (e.g., forest, road) associated with the second pattern graph based on the pattern graph of the set type, Can be extracted as the terrain corresponding to the area.

단계 1203에서, 도로 기상정보 제공 장치는 상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성할 수 있다.In step 1203, the road weather information providing apparatus may generate a first pattern graph for each of the plurality of ROIs using pixel values in the ROI images corresponding to the plurality of ROIs.

단계 1205에서, 도로 기상정보 제공 장치는 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력할 수 있다.In step 1205, the road weather information providing apparatus can generate and output weather information on the road through comparison analysis between the first pattern graphs.

이때, 도로 기상정보 제공 장치는 상기 복수 개의 관심 영역 중 이격 거리가 가장 먼 두 개의 관심 영역을 선택하고, 상기 두 개의 관심 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여, 유사도를 결정하며, 상기 유사도에 비례하여, 안개 또는 강수량이 증가하는 것으로 상기 기상정보를 생성할 수 있다.At this time, the road weather information providing apparatus selects two ROIs with the greatest separation distance among the ROIs, determines the similarity based on the difference between the first ROIs of the two ROIs, The weather information can be generated by increasing the amount of mist or precipitation in proportion to the degree of similarity.

상기 제1 패턴 그래프 간의 차이 산출시, 도로 기상정보 제공 장치는 상기 두 개의 관심 영역 각각에 대응하는 픽셀값 내 요소 간 거리에 기초하여, 상기 제1 패턴 그래프 간의 차이를 산출할 수 있다. 여기서, 픽셀값은 H(Hue), S(Saturation), V(Value) 중 적어도 하나의 요소를 포함할 수 있다.The road weather information providing apparatus may calculate a difference between the first pattern graphs based on distances between elements in pixel values corresponding to the two regions of interest when calculating the difference between the first pattern graphs. Here, the pixel value may include at least one of H (Hue), S (Saturation), and V (Value).

다른 일례로서, 도로 기상정보 제공 장치는 지역, 계절, 지형 및 시간대 중 적어도 하나를 고려하여, 분류된 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프가 속하는 그룹을 선정하고, 상기 선정된 그룹의 속성을 상기 기상정보로서 생성할 수 있다. 이때, 도로 기상정보 제공 장치는 상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹을, 상기 제1 패턴 그래프가 속하는 그룹으로 선정할 수 있다.As another example, the road weather information providing apparatus selects a group to which the first pattern graph belongs based on the classified pattern graph of each group, considering at least one of region, season, topography and time zone, Can be generated as the weather information. At this time, the road weather information providing apparatus can select, as a group to which the first pattern graph belongs, a group having a pattern graph having the highest degree of similarity to the first pattern graph.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the apparatus and components described in the embodiments may be implemented within a computer system, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA) A programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For ease of understanding, the processing apparatus may be described as being used singly, but those skilled in the art will recognize that the processing apparatus may have a plurality of processing elements and / As shown in FIG. For example, the processing unit may comprise a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device , Or may be permanently or temporarily embodied in a transmitted signal wave. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

100: 도로 기상정보 제공 장치를 포함하는 네트워크
101: 사용자 단말 103: 현장 단말
105: 도로 기상정보 제공 장치
100: a network including a road weather information providing device
101: user terminal 103: field terminal
105: road weather information providing device

Claims (13)

현장 단말로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 도로 영상을 복수의 지형으로 분할하고, 상기 분할된 복수의 지형 각각에 복수 개의 관심 영역을 설정하는 인터페이스부; 및
상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하고, 상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력하는 프로세서
를 포함하고,
상기 프로세서는,
ⅰ)동일 지형에 속하여 수직으로 설정된 m개(상기 m은 4이상의 자연수)의 관심 영역 중, 이격 거리가 가장 먼 두 개의 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여 유사도를 결정하며, 상기 유사도에 따른 안개의 많고 적음에 관한 제1 기상정보를 생성하고,
ⅱ)동일 지형에 속하여 수평으로 배열된 n개(상기 n은 3이상의 자연수)의 관심 영역 중, 이격 거리가 가장 먼 두 개의 관심 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여 유사도를 결정하며, 상기 유사도에 따른 안개의 많고 적음에 관한 제2 기상정보를 생성하고,
상기 제1 및 제2 기상정보 중, 설정된 기준에 따라, 선택되는 하나의 기상정보를 출력하는
도로 기상정보 제공 장치.
An interface unit configured to receive a road image of a road in accordance with a set period from a field terminal, to divide the road image into a plurality of terrains, and to set a plurality of interest areas in each of the plurality of divided terrains; And
Generating a first pattern graph for each of the plurality of ROIs by using pixel values in the ROI images corresponding to the plurality of ROIs, And outputs
Lt; / RTI >
The processor comprising:
I) determine a degree of similarity based on a difference between first pattern graphs of two regions with the greatest separation distance among m (m is a natural number of four or more) regions vertically set in the same terrain, To generate first weather information about the number of fogs depending on the number of fogs,
Ii) determining a similarity based on a difference between first pattern graphs of two regions of interest that are the farthest from the n regions (n is a natural number of 3 or more) of horizontally arranged regions belonging to the same terrain, Generates second weather information about the number of fogs according to the degree of similarity,
And outputs one selected weather information according to a set reference among the first and second weather information
Road weather information providing device.
제1항에 있어서,
상기 인터페이스부는,
상기 주기에 따라 수신된 도로 영상 간에 동일한 위치의 픽셀에 대한 픽셀값 변화에 기초하여, 상기 도로 영상 내 물체가 이동한 이동 영역을 도출하고, 상기 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 수직 또는 수평으로 배열되는 일정 크기의 영역을, 상기 복수 개의 관심 영역으로서 설정하는
도로 기상정보 제공 장치.
The method according to claim 1,
The interface unit includes:
A moving area in which the object moves in the road image is derived based on a pixel value change with respect to a pixel at the same position among the road images received according to the period, Or a region of a predetermined size horizontally arranged as the plurality of regions of interest
Road weather information providing device.
제1항에 있어서,
상기 인터페이스부는,
상기 도로 영상 내 인접한 픽셀 간 픽셀값 차이에 기초하여, 상기 도로 영상을 복수의 영역으로 분할하고, 상기 분할된 복수의 영역 중 어느 하나의 영역에서 상기 복수 개의 관심 영역을 설정하는
도로 기상정보 제공 장치.
The method according to claim 1,
The interface unit includes:
The road image is divided into a plurality of regions based on a pixel value difference between adjacent pixels in the road image, and the plurality of interest regions are set in any one of the plurality of divided regions
Road weather information providing device.
제3항에 있어서,
상기 프로세서는,
상기 도로 영상 별로 영역을 대표하는 픽셀값을 이용하여 제2 패턴 그래프를 생성하고, 설정된 타입별 패턴 그래프에 기초하여, 상기 제2 패턴 그래프에 연관된 타입을 결정하며, 상기 결정된 타입을, 상기 영역에 대응하는 지형으로서, 추출하는
도로 기상정보 제공 장치.
The method of claim 3,
The processor comprising:
Generating a second pattern graph using a pixel value representative of an area for each road image, determining a type associated with the second pattern graph based on the pattern graph for each type, setting the determined type to the area As a corresponding topography,
Road weather information providing device.
제1항에 있어서,
상기 프로세서는,
복수의 패턴 그래프 내 픽셀값 간의 거리(
Figure 112018004431511-pat00016
)를 [수학식 1]에 따라 산출하고,
[수학식 1]
Figure 112018004431511-pat00017

상기 픽셀값 간의 거리(
Figure 112018004431511-pat00018
)를 이용하여, 상기 복수의 패턴 그래프 간 유사도를 결정하는
도로 기상정보 제공 장치.
The method according to claim 1,
The processor comprising:
Distance between pixel values in a plurality of pattern graphs (
Figure 112018004431511-pat00016
) Is calculated according to Equation (1)
[Equation 1]
Figure 112018004431511-pat00017

The distance between the pixel values
Figure 112018004431511-pat00018
) Is used to determine the degree of similarity between the plurality of pattern graphs
Road weather information providing device.
제1항에 있어서,
상기 픽셀값은 H(Hue), S(Saturation), V(Value) 중 적어도 하나의 요소를 포함하고,
상기 프로세서는,
상기 두 개의 관심 영역 각각에 대응하는 픽셀값 내 요소 간 거리에 기초하여, 상기 제1 패턴 그래프 간의 차이를 산출하는
도로 기상정보 제공 장치.
The method according to claim 1,
Wherein the pixel value includes at least one of H (Hue), S (Saturation), and V (Value)
The processor comprising:
Calculating a difference between the first pattern graphs based on distances between elements in pixel values corresponding to each of the two regions of interest
Road weather information providing device.
제1항에 있어서,
상기 프로세서는,
지역, 계절, 지형 및 시간대 중 적어도 하나를 고려하여, 분류된 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프가 속하는 그룹을 선정하고, 상기 선정된 그룹의 속성을 상기 기상정보로서 생성하는
도로 기상정보 제공 장치.
The method according to claim 1,
The processor comprising:
Selecting a group to which the first pattern graph belongs based on the classified pattern graph for each group in consideration of at least one of the region, the season, the terrain, and the time zone and generating the attribute of the selected group as the weather information
Road weather information providing device.
제7항에 있어서,
상기 프로세서는,
상기 제1 패턴 그래프와 유사도가 가장 높은 패턴 그래프를 갖는 그룹을, 상기 제1 패턴 그래프가 속하는 그룹으로 선정하는
도로 기상정보 제공 장치.
8. The method of claim 7,
The processor comprising:
Selecting a group having a pattern graph having the highest degree of similarity with the first pattern graph as a group to which the first pattern graph belongs
Road weather information providing device.
현장 단말로부터 설정된 주기에 따라, 도로를 촬영한 도로 영상을 수신하고, 상기 도로 영상을 복수의 지형으로 분할하고, 상기 분할된 복수의 지형 각각에 복수 개의 관심 영역을 설정하는 단계;
상기 복수 개의 관심 영역에 대응하는 상기 각 도로 영상 내 픽셀값을 이용하여, 상기 복수 개의 관심 영역별로 제1 패턴 그래프를 생성하는 단계; 및
상기 제1 패턴 그래프 간의 비교 분석을 통해, 상기 도로에서의 기상정보를 생성하여 출력하는 단계
를 포함하고,
상기 도로에서의 기상정보를 생성하여 출력하는 단계는,
ⅰ)동일 지형에 속하여 수직으로 설정된 m개(상기 m은 4이상의 자연수)의 관심 영역 중, 이격 거리가 가장 먼 두 개의 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여 유사도를 결정하며, 상기 유사도에 따른 안개의 많고 적음에 관한 제1 기상정보를 생성하는 단계;
ⅱ)동일 지형에 속하여 수평으로 배열된 n개(상기 n은 3이상의 자연수)의 관심 영역 중, 이격 거리가 가장 먼 두 개의 관심 영역에 관한 제1 패턴 그래프 간의 차이에 기초하여 유사도를 결정하며, 상기 유사도에 따른 안개의 많고 적음에 관한 제2 기상정보를 생성하는 단계; 및
상기 제1 및 제2 기상정보 중, 설정된 기준에 따라, 선택되는 하나의 기상정보를 출력하는 단계
를 포함하는 도로 기상정보 제공 방법.
Receiving a road image of a road in accordance with a set period from a field terminal, dividing the road image into a plurality of terrains, and setting a plurality of interest areas in each of the plurality of divided terrains;
Generating a first pattern graph for each of the plurality of ROIs using pixel values in the ROI images corresponding to the plurality of ROIs; And
Generating and outputting weather information on the road through comparative analysis between the first pattern graphs
Lt; / RTI >
The step of generating and outputting the weather information on the road includes:
I) determine a degree of similarity based on a difference between first pattern graphs of two regions with the greatest separation distance among m (m is a natural number of four or more) regions vertically set in the same terrain, Generating first meteorological information related to the number of fogs according to the number of fogs;
Ii) determining a similarity based on a difference between first pattern graphs of two regions of interest that are the farthest from the n regions (n is a natural number of 3 or more) of horizontally arranged regions belonging to the same terrain, Generating second meteorological information about the number of fogs according to the degree of similarity; And
Outputting one selected weather information according to a set reference among the first and second weather information;
And a road weather information providing method.
제9항에 있어서,
상기 복수 개의 관심 영역을 설정하는 단계는,
상기 주기에 따라 수신된 도로 영상 간에 동일한 위치의 픽셀에 대한 픽셀값 변화에 기초하여, 상기 도로 영상 내 물체가 이동한 이동 영역을 도출하는 단계; 및
상기 도로 영상에서 상기 이동 영역을 제외한 대상 영역에, 수직 또는 수평으로 배열되는 일정 크기의 영역을, 상기 복수 개의 관심 영역으로서 설정하는 단계
를 포함하는 도로 기상정보 제공 방법.
10. The method of claim 9,
Wherein the setting of the plurality of ROIs comprises:
Deriving a moving region in which the object moves in the road image based on the pixel value change for the pixel at the same position among the road images received according to the period; And
Setting an area of a predetermined size arranged vertically or horizontally in the object area excluding the moving area in the road image as the plurality of areas of interest
And a road weather information providing method.
제9항에 있어서,
상기 복수 개의 관심 영역을 설정하는 단계는,
상기 도로 영상 내 인접한 픽셀 간 픽셀값 차이에 기초하여, 상기 도로 영상을 복수의 영역으로 분할하는 단계; 및
상기 분할된 복수의 영역 중 어느 하나의 영역에서 상기 복수 개의 관심 영역을 설정하는 단계
를 포함하는 도로 기상정보 제공 방법.
10. The method of claim 9,
Wherein the setting of the plurality of ROIs comprises:
Dividing the road image into a plurality of regions based on a pixel value difference between adjacent pixels in the road image; And
Setting the plurality of ROIs in any one of the plurality of divided regions
And a road weather information providing method.
제9항에 있어서,
상기 도로에서의 기상정보를 생성하여 출력하는 단계는,
복수의 패턴 그래프 내 픽셀값 간의 거리(
Figure 112018004431511-pat00019
)를 [수학식 1]에 따라 산출하고,
[수학식 1]
Figure 112018004431511-pat00020

상기 픽셀값 간의 거리(
Figure 112018004431511-pat00021
)를 이용하여, 상기 복수의 패턴 그래프 간 유사도를 결정하는 단계
를 더 포함하는 도로 기상정보 제공 방법.
10. The method of claim 9,
The step of generating and outputting the weather information on the road includes:
Distance between pixel values in a plurality of pattern graphs (
Figure 112018004431511-pat00019
) Is calculated according to Equation (1)
[Equation 1]
Figure 112018004431511-pat00020

The distance between the pixel values
Figure 112018004431511-pat00021
), Determining the degree of similarity between the plurality of pattern graphs
Further comprising the steps of:
제9항에 있어서,
상기 도로에서의 기상정보를 생성하여 출력하는 단계는,
지역, 계절, 지형 및 시간대 중 적어도 하나를 고려하여, 분류된 그룹별 패턴 그래프에 기초하여, 상기 제1 패턴 그래프가 속하는 그룹을 선정하는 단계; 및
상기 선정된 그룹의 속성을 상기 기상정보로서 생성하는 단계
를 더 포함하는 도로 기상정보 제공 방법.
10. The method of claim 9,
The step of generating and outputting the weather information on the road includes:
Selecting a group to which the first pattern graph belongs based on at least one of a region, a season, a terrain, and a time zone based on the classified pattern graph of each group; And
Generating the attribute of the selected group as the weather information
Further comprising the steps of:
KR1020170016183A 2017-02-06 2017-02-06 Apparatus and method for providing road weather information KR101889645B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170016183A KR101889645B1 (en) 2017-02-06 2017-02-06 Apparatus and method for providing road weather information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170016183A KR101889645B1 (en) 2017-02-06 2017-02-06 Apparatus and method for providing road weather information

Publications (2)

Publication Number Publication Date
KR20180091254A KR20180091254A (en) 2018-08-16
KR101889645B1 true KR101889645B1 (en) 2018-08-20

Family

ID=63442929

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170016183A KR101889645B1 (en) 2017-02-06 2017-02-06 Apparatus and method for providing road weather information

Country Status (1)

Country Link
KR (1) KR101889645B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349492A (en) 2005-06-15 2006-12-28 Denso Corp On-vehicle fog determination device
JP2008070979A (en) 2006-09-12 2008-03-27 Denso Corp Onboard fog decision unit
JP2009211490A (en) 2008-03-05 2009-09-17 Kddi Corp Image recognition method and image recognition device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101620068B1 (en) * 2014-08-12 2016-05-11 부산대학교 산학협력단 Satellite sea-fog detection system using the gaussian mixture mode, and fog detection method with unSupervised Learning mode based on gaussian mixture model
KR20170099089A (en) * 2016-02-23 2017-08-31 주식회사 바이텍코리아 System and method for observing road weather
KR101858339B1 (en) * 2016-04-18 2018-06-28 주식회사 월드텍 Apparatus for weather observation using camera captured images and method thereof
KR101800388B1 (en) * 2016-06-13 2017-12-22 주식회사 바이텍코리아 System and method for observing precipitation using image processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349492A (en) 2005-06-15 2006-12-28 Denso Corp On-vehicle fog determination device
JP2008070979A (en) 2006-09-12 2008-03-27 Denso Corp Onboard fog decision unit
JP2009211490A (en) 2008-03-05 2009-09-17 Kddi Corp Image recognition method and image recognition device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CCTV 영상 기반 그래프 패턴 비교를 통한 교통량 측정 기법, 한국정보과학회 학술발표논문집 (2015.12.)*
CCTV 카메라를 이용한 도로시정측정시스템의 성능평가 및 경제성 분석, 한국산학기술학회 논문지 제14권 제1호 (2013)*
이중결정트리를 이용한 CCTV영상에서의 도로 날씨정보검출알고리즘 개발, 정보처리학회논문지B, v.14B, no.6(2007)*

Also Published As

Publication number Publication date
KR20180091254A (en) 2018-08-16

Similar Documents

Publication Publication Date Title
EP3007099B1 (en) Image recognition system for a vehicle and corresponding method
US9460352B2 (en) Lane boundary line recognition device
EP3290864A1 (en) Driver assistance system for determining a position of a vehicle
CN108629292B (en) Curved lane line detection method and device and terminal
JP5663352B2 (en) Image processing apparatus, image processing method, and image processing program
EP2372611A2 (en) Scene matching reference data generation system and position measurement system
KR102633140B1 (en) Method and apparatus of determining driving information
EP2372607A2 (en) Scene matching reference data generation system and position measurement system
EP2960829A2 (en) Lane boundary estimation device and lane boundary estimation method
US8934669B2 (en) Self-adaptive image-based obstacle detection method
CN103366155B (en) Temporal coherence in unobstructed pathways detection
KR101922852B1 (en) Method for Detecting Border of Grassland Using Image-Based Color Information
US20200143176A1 (en) Advanced driver assistance system and method
KR20200092842A (en) Learning method and learning device for improving segmentation performance to be used for detecting road user events using double embedding configuration in multi-camera system and testing method and testing device using the same
JP2021165913A (en) Road area correction device, road area correction method, and computer program for road area correction
JP2015194397A (en) Vehicle location detection device, vehicle location detection method, vehicle location detection computer program and vehicle location detection system
Kühnl et al. Visual ego-vehicle lane assignment using spatial ray features
CN112699711B (en) Lane line detection method and device, storage medium and electronic equipment
CN117078717A (en) Road vehicle track extraction method based on unmanned plane monocular camera
CN108415051A (en) Method for correcting error, device and the storage medium of vehicle position information
CN110334652A (en) Image processing method, electronic equipment and storage medium
KR101889645B1 (en) Apparatus and method for providing road weather information
CN114972470B (en) Road surface environment obtaining method and system based on binocular vision
Ding et al. Various lane marking detection and classification for vision-based navigation system?
US20240071104A1 (en) Image processing device, image processing method, and recording medium

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