KR101480072B1 - Vehicle pattern histogram generating method and venicle pattern detecting method using the same - Google Patents

Vehicle pattern histogram generating method and venicle pattern detecting method using the same Download PDF

Info

Publication number
KR101480072B1
KR101480072B1 KR20130070748A KR20130070748A KR101480072B1 KR 101480072 B1 KR101480072 B1 KR 101480072B1 KR 20130070748 A KR20130070748 A KR 20130070748A KR 20130070748 A KR20130070748 A KR 20130070748A KR 101480072 B1 KR101480072 B1 KR 101480072B1
Authority
KR
South Korea
Prior art keywords
pattern
vehicle
patterns
histogram
cell
Prior art date
Application number
KR20130070748A
Other languages
Korean (ko)
Other versions
KR20140147454A (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 KR20130070748A priority Critical patent/KR101480072B1/en
Publication of KR20140147454A publication Critical patent/KR20140147454A/en
Application granted granted Critical
Publication of KR101480072B1 publication Critical patent/KR101480072B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

본 발명은 차량패턴의 생성방법 및 이를 이용한 차량패턴 검출방법에 관한 것으로, 정해진 크기의 셀에 차량패턴의 생성방법에 있어서, 정해진 크기의 셀에 차량패턴의 생성방법에 있어서, 셀의 중심을 1픽셀을 두께로 수평으로 통과하는 수평라인 패턴, 수평중심선에 대해 서로 대칭적인 패턴인 한 쌍의 수평 패턴, 수직중심선에 대해 서로 대칭적인 패턴인 한 쌍의 수직 패턴, 수직중심선에 대해 서로 대칭적인 패턴인 한 쌍 또는 여러 쌍의 상부경사패턴 및 수직중심선에 대해 서로 대칭적인 패턴인 한 쌍 또는 여러 쌍의 하부경사패턴으로 이루어지며, 상기 상부경사패턴 및 하부경사패턴은 서로 대칭적인 패턴의 쌍들로 이루어진 것을 특징으로 한다.
본 발명에 따르면 이미 개발된 인식기 또는 분류기에 특징으로 차량패턴 히스토그램을 적용함으로써 그 성능을 개선할 수 있는 효과가 있고, 차량객체와 유사한 객체들을 빠르게 검출할 수 있는 효과가 있다.
The present invention relates to a method of generating a vehicle pattern and a method of detecting a vehicle pattern using the method. In a method of generating a vehicle pattern in a cell of a predetermined size, A pair of horizontal patterns that are symmetrical patterns with respect to the horizontal center line, a pair of vertical patterns that are symmetrical patterns with respect to the vertical center line, a mutually symmetrical pattern with respect to the vertical center line, Wherein the upper inclined pattern and the lower inclined pattern are symmetrical with respect to the upper inclined pattern and the vertical center line of one pair or a plurality of pairs of the upper inclined pattern and the lower inclined pattern, .
According to the present invention, the performance of the vehicle pattern histogram is improved by applying the vehicle pattern histogram to the recognizer or classifier that has been developed, and the object similar to the vehicle object can be detected quickly.

Description

차량패턴 히스토그램 생성방법 및 이를 이용한 차량패턴 검출방법{VEHICLE PATTERN HISTOGRAM GENERATING METHOD AND VENICLE PATTERN DETECTING METHOD USING THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle pattern histogram generation method and a vehicle pattern detection method using the same, and more particularly to a VEHICLE PATTERN HISTOGRAM GENERATING METHOD AND VENICLE PATTERN DETECTING METHOD USING THE SAME,

본 발명은 차량패턴 히스토그램 생성방법 및 이를 이용한 차량패턴 검출 방법에 관한 것으로, 더욱 상세하게는 객체의 외곽선 정보는 인식기 또는 분류기의 특징으로 사용하기 때문에 이를 분석 및 응용하기 위하여 단위 길이의 외곽선에서 나타나는 이진 패턴(모형)의 종류와 발생 빈도에 대한 데이터를 도출할 수 있는데 이중 차량패턴을 검출할 수 있도록 하고, 관심 객체 즉 차량체(혹은 차량 패턴)의 외곽선 패턴과 발생 빈도에 대한 정보를 담고 있는 패턴 히스토그램과 이진 입력 영상의 일부 또는 전체에 대한 패턴 히스토그램의 비교를 통해 입력 영상에 차량 객체의 포함 유무 및 위치를 개략적이며 빠르게 검출하는 차량패턴 히스토그램 생성방법 및 이를 이용한 차량패턴 검출방법에 관한 것이다.The present invention relates to a method of generating a vehicle pattern histogram and a method of detecting a vehicle pattern using the same, and more particularly, to a method of detecting a vehicle pattern by using a binocular It is possible to derive data on the type and occurrence frequency of the pattern (model), which allows detection of the double vehicle pattern, and a pattern containing information on the outline pattern of the object of interest, that is, the vehicle body (or vehicle pattern) The present invention relates to a vehicle pattern histogram generation method and a vehicle pattern detection method using the same, and more particularly, to a vehicle pattern histogram generation method and a vehicle pattern histogram generation method in which the presence or absence of a vehicle object is roughly and quickly detected in an input image by comparing a histogram of a part or all of a histogram and a binary input image.

인간이 야간에 물체를 인식하거나 구분하는 기준들 중 하나는 물체의 외각 모형이다. 따라서 물체의 외각 정보를 자동 물체 인식의 특징으로 사용할 수 있음을 의미한다. One of the criteria by which a person recognizes or distinguishes objects at night is the external model of the object. This means that the external information of the object can be used as a feature of automatic object recognition.

종래 폐쇄회로 시스템(CCTV) 또는 디지털 카메라로 부터 입력된 영상에서 물체, 차량 혹은 사람 등과 같은 대상체를 인식하기 위해 먼저 대상체의 특징(feature)을 정의, 추출, 그리고 학습 과정을 수행한다. 다음으로, 학습 결과를 검출기 또는 분류기에서 사용함으로써 물체를 자동으로 인식한다. 이러한 자동 인식 시스템에서 어떤 특징을 어떻게 추출하는가는 매우 중요한 요소들로 인식기의 성능에 매우 큰 영향을 미치지만, 불행하게도 현재까지 상용화 수준의 성능을 만족하는 특징에 대한 가이드라인은 제시되지 못하고 있는 실정이다. 현재 인식기(분류기)의 특징으로 널리 사용되는 Haar 특징, HoG(Histogram of oriented Gradient) 특징, 그리고 LBP(Local Binary Pattern) 특징 또한 앞서 언급한 바와 크게 다르지 않은 상황이다. 따라서 인식기의 성능 및 처리 속도 등을 향상시키기 위해서는 특징을 정의하고 이를 추출하는 방법에 대한 다각적 연구가 필요하다. 특히 객체의 종류가 차량인 경우에도 이를 식별하기 위한 연구도 필요한 실정이다.In order to recognize an object such as an object, a vehicle, or a person from an image input from a conventional closed circuit system (CCTV) or a digital camera, a feature of the object is first defined, extracted, and learned. Next, an object is automatically recognized by using a learning result in a detector or a classifier. In this automatic recognition system, how to extract a feature is very important factor, which has a great influence on the performance of the recognizer. However, unfortunately, there is no guideline for the feature that satisfies the commercialization level until now to be. Haar, HoG (Histogram of Oriented Gradient), and LBP (Local Binary Pattern) features, which are widely used as characteristics of the classifier, are not significantly different from those mentioned above. Therefore, in order to improve the performance and processing speed of the recognizer, it is necessary to study various methods of defining and extracting features. Especially, it is necessary to study to identify the object type even if it is a vehicle.

또한 종래 관심 객체 검출 또는 인식을 위해 bootstrap, boosting 또는 adaboosting 알고리즘을 사용하였다. 이들 알고리즘과 더불어 Haar, HoG(Histogram of oriented Gradient), 또는 LBP(Local Binary Pattern) 등의 특징을 함께 사용한다. 이들 특징과 결합한 boosting 계열의 알고리즘은 학습 속도는 말할 것도 없고 분류(검출) 속도가 매우 느린 치명적인 단점을 갖는다. 특히, 전역 탐색의 경우 분류 속도가 현저히 저하되고 인식률이 매우 낮아진다. 이런 단점을 보완하기 위해 사전에 관심객체, 특히 차량객체의 존재 유무와 위치를 개략적이며 빠른 수행속도로 검출하여 그 결과를 boosting 또는 adaboosting 인식기에 넘겨주면 앞서 언급한 단점을 보완할 수 있다.We also used bootstrap, boosting or adaboosting algorithms to detect or recognize objects of interest. In addition to these algorithms, we use Haar, HoG (Histogram of Oriented Gradient), or LBP (Local Binary Pattern) together. The boosting sequence algorithm combined with these features has a fatal disadvantage that the classification (detection) speed is very slow, not to mention the learning speed. Particularly, in the case of the global search, the classification speed is remarkably lowered and the recognition rate is very low. In order to compensate for these drawbacks, it is possible to compensate for the aforementioned disadvantages by detecting the existence and location of the object of interest, in particular, the vehicle object, in a rough and fast manner, and passing the result to the boosting or adaboosting recognizer.

이 분야의 종래기술로서 관심영역 검출 장치와 방법 및 상기 방법을 구현하는 프로그램이 기록된 기록매체(대한민국특허 등록번호 10-1272448, 등록일자 2013년05월31일)가 있으나, 이 기술은 사용자의 선긋기 입력을 통해 미리 정해진 기준점을 이용하여 관심영역(ROI)을 결정하기 위한 적어도 두 개의 정점들을 검출하고 검출된 정점들에 기반하여 관심영역 지정을 위한 나머지 정점들을 예측 및 예측된 지점에서 재검출하여 목적하는 오브젝트가 포함된 관심영역을 검출하는 관심영역 검출 장치 및 방법을 제안하고 있다.As a conventional art of this field, there is a device and method for detecting a region of interest, and a recording medium (Korean Patent Registration No. 10-1272448, registered on May 31, 2013) in which a program implementing the above method is recorded. However, Detecting at least two vertices for determining a region of interest (ROI) using a predetermined reference point through a line drawing input, and re-detecting the remaining vertices for specifying a region of interest based on the detected vertices at a predicted and predicted point And an interest region detecting apparatus and method for detecting a region of interest including a target object.

그러나 이 방법 역시 관심영역을 검출하는 과정이 복잡하고 시간이 많이 소요되는 문제점이 있다.
However, this method also involves a complicated and time-consuming process of detecting a region of interest.

본 발명의 목적은 차량 객체의 외곽선 특징을 추출하기 위해 객체의 외곽선에서 나타나는 차량 패턴들을 정의하고, 이진 에지 입력 영상에서 사전에 정의된 차량패턴들의 발생 빈도를 계산할 수 있는 메커니즘을 제공하며, 그 결과물인 차량패턴 히스토그램을 생성하는데 소스 코드 복잡도와 수행시간을 최소화한 차량패턴히스토그램 생성방법을 제공하는 데 있다.It is an object of the present invention to provide a mechanism for defining vehicle patterns appearing on an outline of an object to extract an outline feature of a vehicle object and calculating the occurrence frequency of predefined vehicle patterns in the binary edge input image, In which the source code complexity and the execution time are minimized in generating the vehicle pattern histogram.

본 발명의 목적은 종류가 다른 객체들은 외곽선 정보가 다르다는 점을 활용하여 차량 객체와 유사한 외곽선 특징을 갖는 영역을 빠르게 개략적으로 검출하는 차량패턴 히스토그램을 이용한 차량패턴의 검출방법을 제공하는 데 있다
It is an object of the present invention to provide a method of detecting a vehicle pattern using a vehicle pattern histogram that quickly and roughly detects an area having an outline characteristic similar to a vehicle object by utilizing the fact that objects of different kinds are different in outline information

상기한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따르면,입력 영상에서 일정한 크기의 슬라이딩 윈도우(Sliding Window)를 이동하면서 슬라이딩 윈도우(Sliding Window) 영역에서 패턴 히스토그램을 생성하는 단계,
미리 생성된 차량패턴인 수평라인패턴, 수평 패턴, 수직 패턴 및 상부 및 하부 경사패턴들에 대한 상기 패턴 히스토그램에서의 발생빈도를 추출하는 단계;
추출된 다수개의 특징 패턴들의 발생 빈도가 각각의 쓰레스홀드(Threshold)를 넘는 개수를 카운트하는 단계,
카운트된 패턴의 개수가 일정한 수치를 넘으면 차량이 존재한다고 판단하는 단계를 포함하는 것을 특징으로 하는 차량패턴의 검출방법이 제공된다.
According to another aspect of the present invention, there is provided a method for generating a pattern histogram in a sliding window area by moving a sliding window of a predetermined size in an input image,
Extracting a frequency of occurrences in the pattern histogram for a horizontal line pattern, a horizontal pattern, a vertical pattern, and upper and lower inclination patterns, which are pre-generated vehicle patterns;
Counting the number of occurrences of the plurality of extracted feature patterns exceeding respective thresholds,
And judging that the vehicle exists if the number of the counted patterns exceeds a predetermined value.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

바람직하게는,Preferably,

패턴들의 발생 빈도의 쓰레스홀드(Threshold)들을 기준 이미지(Reference image)들의 패턴 발생빈도를 참조하여 결정하는 단계를 더 포함하는 것을 특징으로 한다.And determining the thresholds of occurrence frequencies of the patterns with reference to the pattern occurrence frequency of the reference images.

삭제delete

삭제delete

또한 바람직하게는,Also preferably,

상기 추출된 특징 패턴들의 발생 빈도가 각각의 쓰레스홀드(Threshold)를 넘는 개수를 카운트하는 단계는 The step of counting the number of occurrences of the extracted feature patterns exceeding respective thresholds

입력 영상을 에지 추출 알고리즘을 이용하여 에지를 추출하고, An edge is extracted by using an edge extraction algorithm,

차량의 에지가 선명하게 추출되면, 추출된 에지 패턴들 중에서 항상 발생하는 패턴인, 수평라인 패턴, 수평패턴, 수직 패턴 및 상부 및 하부 경사 패턴의 발생빈도를 추출하는 단계를 포함하는 것을 특징으로 한다.
The horizontal pattern, the vertical pattern, and the occurrence frequencies of the upper and lower inclination patterns, which are patterns that always occur among the extracted edge patterns, when the edge of the vehicle is clearly extracted .

이상 설명한 바와 같이, 본 발명에 따른 차량패턴 히스토그램 및 이를 이용한 차량패턴 검출방법에 의하면, 사전에 차량 객체 외곽선을 분석하여 차량 패턴이 얼마만큼 분포하는가를 계산할 수 있는 차량패턴 히스토그램을 제공함으로써 차량 객체의 외곽선 패턴 분석을 용이하게 하는 효과가 있다.As described above, according to the vehicle pattern histogram of the present invention and the vehicle pattern detection method using the same, the vehicle pattern histogram analyzing the outline of the vehicle object and calculating how much the vehicle pattern is distributed can be provided, The outline pattern analysis is facilitated.

본 발명에 따르면 차량패턴 히스토그램의 데이터를 통하여 역으로 차량 객체의 유형을 추정할 수 있는 효과가 있다.According to the present invention, there is an effect that the type of the vehicle object can be inversely estimated through the data of the vehicle pattern histogram.

본 발명에 따르면 이미 개발된 인식기 또는 분류기에 특징으로 차량패턴 히스토그램을 적용함으로써 그 성능을 개선할 수 있는 효과가 있다.According to the present invention, the performance of the recognizer or classifier developed by applying the vehicle pattern histogram is improved.

본 발명에 따르면 차량객체와 유사한 객체들을 빠르게 검출할 수 있는 효과가 있다.According to the present invention, it is possible to quickly detect objects similar to vehicle objects.

본 발명에 따르면, 차량패턴 인식까지의 처리시간을 줄임으로써 기존에 인식기를 사용한 경우보다 빠르게 검출할 수 있는 효과가 있다.
According to the present invention, it is possible to detect a vehicle pattern faster than when a recognizer is used by reducing the processing time until recognition of the vehicle pattern.

도 1은 본 발명에 따른 패턴 히스토그램 생성방법에서 NxN셀 공간을 도식적으로 나타낸 도면이다.
도 2 및 도 3은 본 발명에 따른 패턴 히스토그램 생성방법에서 셀 코드가 할당된 3x3 셀공간 예제들을 나타낸 도면이다.
도 4는 본 발명에 따른 객체 검출 기법에 대한 과정을 나타낸 순서도이다.
도 5는 이진 에지 영상의 특정 영역에 대한 패턴 히스토그램을 나타낸 것이다.
도 6은 객체 정보를 담고 있는 기준 영상(reference image)의 이진 에지 영상으로 템플릿 영상에 대한 템플릿의 패턴 히스토그램을 나타낸 것이다.
도 7은 차량 영상을 처리한 에지영상을 나타낸 도면이다.
도 8은 차량영상에지의 패턴 히스토그램을 나타낸 도면이다.
도 9 내지 도 17은 본 발명에 따른 차량패턴 히스토그램의 예를 나타낸 도면들이다.
1 is a diagram schematically illustrating an NxN cell space in a method of generating a pattern histogram according to the present invention.
FIGS. 2 and 3 are diagrams illustrating examples of 3x3 cell space to which a cell code is allocated in the pattern histogram generation method according to the present invention.
4 is a flowchart illustrating a process of an object detection method according to the present invention.
FIG. 5 shows a pattern histogram for a specific region of a binary edge image.
6 shows a pattern histogram of a template for a template image as a binary edge image of a reference image containing object information.
7 is a view showing an edge image processed with a vehicle image.
8 is a diagram showing a pattern histogram of a vehicle image edge.
9 to 17 are views showing an example of a vehicle pattern histogram according to the present invention.

이하 본 발명에 따른 차량패턴 히스토그램 생성방법 및 이를 이용한 차량패턴 검출방법에 대하여 첨부도면을 참조로 상세히 설명한다.
Hereinafter, a vehicle pattern histogram generation method and a vehicle pattern detection method using the same according to the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서는, 사전에 정의한 객체에 따른 이진 외곽선 정보를 기반으로 촬영영상의 어느 위치에 어떤 관심 객체가 위치하는 지를 찾을 수 있을 있는 정보를 제공하고자 N x N 셀 공간에서 셀 코드를 부여하여 관심객체의 외곽선 패턴(모양)을 코드화하는 패턴코드를 생성하는 방법과 관심객체가 가지는 패턴 유형의 발생 빈도를 누적하는 패턴 히스토그램의 생성 방법을 제시한다.In the present invention, a cell code is assigned in an N x N cell space in order to provide information on which object of interest is located at a certain position on the photographed image based on binary outline information according to a previously defined object, We propose a method of generating a pattern code that encodes an outline pattern of a target object and a method of generating a pattern histogram that accumulates the occurrence frequency of a pattern type of interest objects.

이때, 패턴 히스토그램은 분석 객체에 대하여 어떤 외곽선 패턴이 얼마만큼의 빈도로 존재하는지를 나타내는 패턴 분포도이다. At this time, the pattern histogram is a pattern distribution diagram showing how much the contour line pattern exists with respect to the analysis object.

일반적인 히스토그램은 어떤 값이 어떤 영상에 얼마만큼 있느냐를 보는 것인데 비해, 본 발명에서 사용된 패턴 히스토그램은 패턴이 특정 영역에 얼마만큼 있느냐를 찾는 점에서 차이가 있다.The general histogram is a view of what value is in which image and how much. In contrast, the pattern histogram used in the present invention differs in finding out how much the pattern is in a specific region.

예를 들어 입력영상에서 관심영역 크기만큼 떼어내어(3x3크기의 영역을 떼어낸다고 가정), 확대하면 이것이 하나의 패턴이 된다. 입력영상에 대해 이런식으로 관심영역을 모두 떼어내어 확대하여 코드화 시킨다(이후 수학식 1 내지 3에서 설명됨). 즉 패턴을 코드화하여 빈도를 센다(수학식 1 및 2에 의해, 이후 설명됨). 예를 들면 50이라고 하면 50이라는 숫자는 어떤 패턴이라고 사전에 정의가 되어 있다(제어부(미도시)에서 미리 정의된 숫자를 메모리(미도시)를 통해 연산하게 된다). 상기 제어부와 메모리는 일반적인 내용이므로 도면이 표시하지 않기로 한다.For example, if you zoom out of the input image by the size of the region of interest (assuming you are stripping out a 3x3 region) and zoom in, this becomes a pattern. In this way, all regions of interest are removed from the input image and enlarged and coded (as described in Equations 1 to 3 hereinafter). In other words, the pattern is coded to count frequencies (as described below by equations (1) and (2)). For example, if the number is 50, the number 50 is defined in advance as a certain pattern (the control unit (not shown) calculates a predefined number through a memory (not shown)). The control unit and the memory are general contents, and therefore, the drawings are not shown.

유사한 모양은 유사한 패턴을 가지게 되므로 나중에 값하나로 패턴을 정하게 된다. A similar shape will have a similar pattern, so you will later decide on a pattern with one value.

본 발명에서는 패턴을 코드화 하기 위해서 3x3에서 나올 수 있는 경우의 수는 2^8(2의 8승)개로 분류하고, 가운데 셀은 제외한다. 5x5에서 나올 수 있는 경우의 수는 2^24(2의 24승)개가 나올 수 있다. 참고로 셀은 홀수여야 효율적으로 동작된다.In the present invention, in order to encode a pattern, the number of cases that can be extracted from 3x3 is divided into 2 ^ 8 (8th power of 2), and the middle cell is excluded. The number of cases that can come out from 5x5 can be 2 ^ 24 (2 24 times). For reference, cells must be odd to operate efficiently.

그러나, 셀 크기가 계속 커질 수는 없고, 계속 커지면 나올 수 있는 경우의수는 많아지는데 그렇다고 정확도가 보장되는 것은 아니며 패턴 히스토그램의 용량이 늘어나기 때문에 속도는 떨어지게 된다.
However, the cell size can not be increased continuously, and the number of cases that can be increased is increased, but the accuracy is not guaranteed, and the speed of the pattern histogram is decreased because the capacity of the pattern histogram is increased.

본 발명에 따르면 특정 공간상에서 코드를 어떻게 만들라는 알고리즘이 구비된다. 또한, 5x5 셀 영역인데 실제 패턴이 2개밖에 안 나오는 경우에는, 만약 필요한 패턴 수가 2개뿐이면 0,1만 쓰고, 다른 코드로 그냥 매핑(mapping) 시키라고도 할 수 있다. 이를 매핑-사상 선택이라고 한다. 즉, 쓰지 않는 코드는 히스토그램만 늘어나게 되므로 필요한 코드만 사용하려는 의도이다.According to the present invention, there is provided an algorithm for creating a code in a specific space. In addition, if there are only 2 actual patterns in a 5x5 cell area, if the number of required patterns is only 2, write 0, 1, and then just map to another code. This is called mapping-mapping. That is, the code that is not used increases the histogram, so the intention is to use only the necessary code.

한편, 셀코드 부여를 정했다가 바꿀 수 있다.
On the other hand, cell code assignment can be changed and changed.

도 1 및 도 2의 셀의 하나 하나가 셀코드이다(정사각형 하나를 셀이라 칭함). 실제패턴(입력 영상의 패턴)으로 어떤 패턴이 들어오는지는 알 수 없으나, 조합하면 어떤 숫자가 나온다. 그 숫자를 패턴 코드라고 호칭하였다.Each of the cells of Figs. 1 and 2 is a cell code (one square is called a cell). It is not known what pattern comes in the actual pattern (input image pattern), but when it is combined, some number comes out. The number was called a pattern code.

패턴 히스토그램의 크기를 결정하기 위해서는 수학식 2와 같이 셀공간의 셀들에 부여된 셀코드를 모두 더하고 최종적으로 1을 추가로 더한다. 예로, 3x3 셀공간에서 셀코드가 정의되었을 때 셀코드의 총 합은 255이므로 패턴 히스토그램의 크기는 256이다. 그리고 패턴 히스토그램의 인덱스하기 위한 패턴코드는 수학식 1에 의해 결정되는 인덱스 방법은 수학식 3과 같다.
To determine the size of the pattern histogram, all of the cell codes assigned to the cells in the cell space are added as shown in Equation (2), and finally 1 is added. For example, when a cell code is defined in a 3x3 cell space, the total sum of cell codes is 255, so that the size of the pattern histogram is 256. And the pattern code for indexing the pattern histogram is expressed by Equation (3).

상기에서 설명한 바와 같이, 본 발명에서는 중요한 특징으로 입력 영상에서 관심객체를 검출하는데 사용될 수 있는 객체 정보를 제공한다(이 부분은 이미 선출원된 내용이고 필요한 경우 중복설명되는 부분도 있다.).
As described above, an important feature of the present invention is to provide object information that can be used to detect an object of interest in an input image (this part has already been described and may be duplicated if necessary).

도 1 및 도 2를 참조하면, 본 발명의 출원인에 의해 선 출원된 패턴 히스토그램 생성방법을 살펴본다.Referring to FIGS. 1 and 2, a method of generating a pattern histogram previously filed by the applicant of the present invention will be described.

먼저, 셀 공간(100)에 대해 설명한다.First, the cell space 100 will be described.

셀 공간(또는 셀 테이블)은 셀코드(110)를 저장하며 위치에 따라 구분되는 셀(cell)들의 집합이고 도 1과 같으며 여기에서 N은 정수이며 홀수이다.
A cell space (or a cell table) is a set of cells that store a cell code 110 and are classified according to a location, and is shown in FIG. 1, where N is an integer and an odd number.

셀 코드에 대해 설명한다. The cell code will be described.

셀 코드는 하나의 패턴을 코드로 표현하기 위해 상기 셀 공간의 각 셀에 부여되며 다음과 같은 제약조건을 갖는다.A cell code is given to each cell of the cell space in order to express one pattern as a code, and has the following constraint.

-셀의 위치와 관계없이 임의의 순서로 셀에 셀 코드를 부여한다. 셀과 코드는 일대일 대응관계이다.- Assign cell codes to cells in any order regardless of cell location. Cells and codes are one-to-one correspondence.

-셀 코드는 다른 셀 코드와 중복되지 않아야 한다.- The cell code should not overlap with other cell codes.

-셀 코드는 2진수로 표현되었을 때 '1'이 아니면 하나만 존재해야 한다.- The cell code must be present in binary if it is not '1'.

-중심 위치에 있는 중심 셀(120)에는 코드를 부여하지 않거나 0으로 부여한다.- No code is assigned to the center cell 120 in the center position or zero is given.

-코드 0은 중심 셀 외에 사용하지 못한다.
- Code 0 can not be used other than the center cell.

예를 들면, NxN 셀 공간에서 중심 셀에 코드를 할당하지 않는 경우, 이진 셀 코드의 길이는 (NxN)-1이다. 3x3 셀 공간에 부여된 셀 코드 예제가 도 2이다.
For example, if no code is allocated to the center cell in the NxN cell space, the length of the binary cell code is (NxN) -1. An example of a cell code assigned to a 3x3 cell space is shown in FIG.

셀 코드의 사상에 대해 설명한다.The mapping of the cell code will be described.

셀 코드의 길이는 셀 공간의 크기에 의해 결정된다. 이로 인하여 관심 있는 패턴의 수가 적더라도 셀공간의 크기가 크면 셀 코드 길이가 길어지는 비효율을 야기한다. 왜냐하면 셀 코드의 길이는 추후 설명될 패턴 히스토그램의 빈(bin)의 크기를 결정하는 인자이기 때문이다.The length of the cell code is determined by the size of the cell space. As a result, even if the number of patterns of interest is small, a large cell space causes inefficiency which leads to a long cell code length. This is because the length of the cell code is a factor that determines the size of the bin of the pattern histogram to be described later.

따라서 관심 있는 패턴 수가 적을 때 셀 코드 길이를 줄이기 위해 셀 코드를 다른 짧은 코드로 사상시킨다. 해쉬 함수(hash function) 함수 또는 룩업 테이블(lookup table) 등과 같은 방법을 이용하여 필요한 셀 코드만을 다른 짧은 코드로 일대일 사상(one-to-one mapping)한다. 그러나 필요에 따라 셀 코드의 사상은 생략할 수 있다.
Therefore, when the number of patterns of interest is small, the cell code is mapped to another short code to reduce the cell code length. One-to-one mapping of only necessary cell codes to other short codes using a method such as a hash function or a lookup table. However, the mapping of cell codes can be omitted as needed.

셀 코드를 이용한 패턴 코드에 대해 설명한다.
The pattern code using the cell code will be described.

단채널 이진(0 or 1) 입력 영상의 일부 영역과 셀 공간의 위치 별 곱의 합에 의해 패턴 코드를 만든다. 패턴 코드를 생성하는 식은 아래 수학식 1과 같다.A short channel binary (0 or 1) pattern code is formed by summing the product of the partial area of the input image and the position of the cell space. The equation for generating the pattern code is shown in Equation 1 below.

Figure 112013054899014-pat00001
Figure 112013054899014-pat00001

상기 수학식 1에서, pcode(x,y)는 위치 (x,y)에서 패턴 코드이고 N은 셀 공간의 크기이며, N/2는 정수연산으로 소수점 이하는 무조건 버린다. cell_space(i,j)는 사전에 정의된 셀 코드를 담고 있는 셀 공간으로 중심 셀의 코드는 0이다. 그리고 region(x,y)는 이진 에지 영상의 일부 영역으로 중심이 1일 때만 패턴 코드를 계산한다. 그리고 *는 곱셈 연산자이다.
In the above Equation 1, pcode (x, y) is a pattern code at position (x, y), N is the size of cell space, N / 2 is an integer operation, and decimals are discarded unconditionally. cell_space (i, j) is a cell space holding a predefined cell code, and the center cell code is 0. And region (x, y) is a partial region of the binary edge image, and the pattern code is calculated only when the center is 1. And * is a multiplication operator.

패턴 코드에 의한 패턴 히스토그램에 대해 설명한다.The pattern histogram by the pattern code will be described.

패턴 히스토그램의 크기를 의미하는 빈의 개수 total_bins는 수학식 2에 의해 결정된다.The number of beans total_bins, which means the size of the pattern histogram, is determined by Equation (2).

Figure 112013054899014-pat00002
Figure 112013054899014-pat00002

수학식 2에서 cell_space()는 셀공간이고 1을 더한 것은 패턴 히스토그램의 여유분으로 필요에 따라 1을 제거할 수 있다. 이진 입력영상에 대한 패턴들의 발생 빈도를 누적하는 방법은 수학식 3에 의해 결정된다.In Equation (2), cell_space () is a cell space, and 1 is added to the pattern histogram, and 1 can be removed as needed. The method of accumulating the occurrence frequency of the patterns for the binary input image is determined by Equation (3).

Figure 112013054899014-pat00003
Figure 112013054899014-pat00003

수학식 3에서 phist[]는 패턴 히스토그램이고 pcode(x,y)는 패턴 코드로 수학식 1에 의해 결정되며 기호 <---은 대입 연산자이다. 이때 패턴 히스토그램의 빈 개수는 수학식 2에 제시된 total_bins이다.
In the equation (3), phist [] is a pattern histogram, pcode (x, y) is a pattern code determined by the equation (1), and the symbol <--- is an assignment operator. The empty number of the pattern histogram is total_bins shown in Equation (2).

종래 전역 탐색의 경우 분류 속도가 현저히 저하되고 인식률이 매우 낮아진다. 이런 단점을 보안하기 위해 사전에 관심객체의 존재 유무와 위치를 개략적이며 빠른 수행속도로 검출하여 그 결과를 boosting 또는 adaboosting 인식기에 넘겨주면 앞서 언급한 단점을 보안할 수 있다.In the case of the conventional global search, the classification speed is significantly lowered and the recognition rate is very low. In order to secure such a disadvantage, it is possible to secure the above-mentioned disadvantages by detecting the existence and position of the object of interest in a rough and fast speed and forwarding the result to the boosting or adaboosting recognizer.

이로부터 본 발명이 시작되었다. 따라서 패턴 히스토그램을 이용한 객체 검출 방법은 기존의 boosting 계열의 알고리즘에서 전처리 단계로 사용할 수 있으나 독자적으로도 사용 가능하다.
From this, the present invention has been started. Therefore, the object detection method using the pattern histogram can be used as a preprocessing step in the existing boosting algorithm, but it can also be used independently.

도 4 내지 도 6을 참조하면, 본 발명은 종류가 다른 객체들은 다른 외곽선 정보를 갖는 점을 활용하여 사전에 분석된 관심객체의 외각선 정보를 기반으로 입력영상에서 관심 객체와 유사한 에지 특징을 갖는 영역을 빠르고 개략적으로 검출한다.
Referring to FIGS. 4 to 6, the object of the present invention can be classified into an object having an edge characteristic similar to the object of interest in the input image, based on the outline information of the object of interest analyzed in advance using the point having different outline information The area is detected quickly and roughly.

이를 위해, 관심 객체로 주어지는 템플릿의 에지 특징을 사전에 분석한다. 이를 기반하여 입력으로 주어진 에지 영상의 영역별 에지 특징과 비교함으로써 관심 객체의 위치 및 존재 유무를 판단한다.
To do this, we analyze in advance the edge features of the template given as objects of interest. Based on this, it is judged whether the object of interest exists or not by comparing the edge feature of the given edge image with the input edge.

도 4는 본 발명에 따른 객체 검출 기법에 대한 과정을 나타낸 순서도이다.4 is a flowchart illustrating a process of an object detection method according to the present invention.

처리 방법을 설명한다.The processing method will be explained.

처리 영역 설정을 먼저 한다(S2).The process area setting is performed first (S2).

단채널 이진(0 과 1) 에지 영상 전체를 중첩 가능한 여러 부분 영역으로 나누어 처리한다. 처리 방식은 처리할 영역을 선택한 후, 그 영역에 대해 일련의 과정들을 처리한다. 그리고 다시 다른 영역을 설정하고 일련의 과정들을 처리한다. 처리 영역은 윈도우라 불리는 시작위치, 가로크기, 그리고 세로 크기로 구성되는 사각형에 의해 설정되며 그 방법은 아래와 같다.The entire single-channel binary (0 and 1) edge image is divided into several sub-areas. The processing method selects an area to be processed, and then processes a series of processes for the area. It then sets up another area and processes a series of processes. The processing area is set by a rectangle composed of a starting position called a window, a horizontal size, and a vertical size, and the method is as follows.

영역 설정 방법 1How to set the zone 1

단계 1. 초기에 설정된 고정 크기 윈도우를 초기 시작점부터 양의 가로 방향으로 특정 양만큼 증가시켜 윈도우를 설정한다.Step 1. Set the window by increasing the initially fixed size window from the initial starting point by a certain amount in the positive horizontal direction.

단계 2. 가로 한 줄에 대한 설정이 완료되면, 양의 세로 방향으로 특정 양만큼 이동시켜 변경된 세로 위치에서 단계 1과 같이 가로줄에 영역을 설정한다.Step 2. When the setting for one line is completed, the area is set in the horizontal line as in Step 1 at the changed vertical position by moving a certain amount in the positive vertical direction.

단계 3. 영상 전체에 대하여 단계 2를 수행한다.Step 3. Perform Step 2 for the entire image.

단계 4. 윈도우의 크기를 가로 그리고/또는 세로를 특정량 만큼 변경한다.Step 4. Change the size of the window by a specific amount in the horizontal and / or vertical direction.

단계 5. 종료 조건으로 주어진 윈도우 크기를 만족할 때까지 단계 1-4를 반복한다.
Step 5. Repeat steps 1-4 until the given window size is satisfied with the termination condition.

영역 설정 방법 2How to set the area 2

단계 1. 초기 윈도우의 크기와 위치를 정하여 초기 영역을 설정한다. Step 1. Set the initial area by setting the size and position of the initial window.

단계 2. 윈도우의 위치를 고정한 채 윈도우 크기를 조절하면서 영역을 설정한다. 윈도우 크기가 사전에 정한 특정 크기와 같을 때까지 계속한다.Step 2. Set the area while keeping the position of the window fixed while adjusting the window size. Continue until the window size is equal to a predefined size.

단계 3. 윈도우의 위치를 양의 가로 방향으로 특정 양만큼 이동시키고 단계 2를 반복한다. 그러나 윈도우의 위치가 그 줄의 특정 위치(줄의 끝부분)에 놓이면 단계 4를 수행한다.Step 3. Move the position of the window by a certain amount in the positive horizontal direction and repeat step 2. However, if the position of the window is at a specific position on the line (end of line), proceed to step 4.

단계 4. 윈도우의 위치를 양의 세로 방향을 특정 양만큼 이동시키고 단계 2-3을 반복한다. Step 4. Move the position of the window by a certain amount in the positive vertical direction and repeat steps 2-3.

단계 5. 종료 조건을 주어진 윈도우의 세로 위치에 이르면 영역 설정을 종료한다.
Step 5. When the end condition reaches the vertical position of the given window, end the area setting.

처리영역에 대한 패턴 히스토그램 생성(S4)Pattern histogram generation for the processing area (S4)

선택된 영역의 패턴 종류와 빈도를 찾기 위해 NxN 셀 공간에서 패턴 코드를 계산하여 패턴 히스토그램을 생성한다. 패턴 히스토그램에 대한 설명은 본 발명의 출원인에 의해 출원된 내용인 패턴 히스토그램 생성방법이다.
To find the pattern type and frequency of the selected region, we generate pattern histogram by calculating pattern code in NxN cell space. The description of the pattern histogram is a method of generating a pattern histogram, which is the contents filed by the applicant of the present invention.

도 5는 이진 에지 영상의 특정 영역에 대한 패턴 히스토그램을 나타낸 것으로서, 좌측 이진 에지 영상에서 확대된 우측의 적색 사각영역에 대한 패턴 히스토그램이다.
FIG. 5 shows a pattern histogram for a specific region of a binary edge image, which is a pattern histogram for the red square region on the right side expanded in the left binary edge image.

템플릿의 패턴 히스토그램Pattern histogram of templates

템플릿이란 객체 정보를 담고 있는 기준 영상(reference image)의 이진 에지 영상으로 도 6 좌측(a)에서 그 예가 나타나 있다. 템플릿의 패턴 히스토그램은 사전에 분석되어야 하며 패턴 히스토그램 생성 방법은 위에 이미 설명한 바와 같으므로(수학식 1 내지 3 참조) 더 자세한 설명은 생략하기로 한다. A template is a binary edge image of a reference image containing object information, and an example thereof is shown on the left side (a) of FIG. The pattern histogram of the template must be analyzed in advance, and the method of generating the pattern histogram has already been described above (see Equations 1 to 3), so that a detailed description thereof will be omitted.

또한 관심 객체에 대해 다수의 템플릿을 분석해야 하며 패턴 히스토그램의 어떤 인덱스(패턴 코드)를 그리고 몇 개를 특징으로 사용할지에 관해 사전에 분석한다.
We also need to analyze a number of templates for the objects of interest and analyze in advance which indices (pattern codes) in the pattern histogram and how to use them as features.

특징비교(S6)Feature comparison (S6)

템플릿의 패턴히스토그램과 처리영역 패턴 히스토그램을 비교하여 관심 객체인지를 판별한다. 수학식 4를 만족시키는 패턴 코드의 개수를 센다.The pattern histogram of the template is compared with the histogram of the processing region pattern to determine whether it is the object of interest. The number of pattern codes satisfying the expression (4) is counted.

Figure 112013054899014-pat00004
Figure 112013054899014-pat00004

수학식 4에서, R[ ]은 처리영역의 패턴히스토그램, T[ ]은 템플릿의 패턴 히스토그램, pi는 패턴 히스토그램의 i번째 인덱스이고 , F는 비교 패턴으로 선정된 패턴의 집합이다. 즉, 비교 대상이 되는 패턴 히스토그램의 인덱스 집합이다. Si는 스케일 인자, X는 곱셈 연산자, >는 대소 연산자, 그리고 α는 수학식 5에 의해 결정되는 윈도우 크기 비율을 나타내는 인자이다.In Equation 4, R [] is the pattern histogram of the processing region, T [] is the pattern histogram of the template, pi is the i-th index of the pattern histogram, and F is a set of patterns selected as the comparison pattern. That is, it is an index set of a pattern histogram to be compared. Si is a scale factor, X is a multiplication operator, > is a large / small operator, and a is a factor representing a window size ratio determined by equation (5).

Figure 112013054899014-pat00005
Figure 112013054899014-pat00005

상기 단계 S6이후, 관심객체가 포함되어 있는가를 판단한다.(S8)After step S6, it is determined whether an object of interest is included (S8)

수학식 4를 만족하는 특징 패턴 코드의 개수가 주어진 임계값 보다 크면 그 영역에 관심 객체가 포함된 것으로 그렇지 않으면 포함되어 있지 않은 것으로 판단한다.If the number of the feature pattern codes satisfying Equation (4) is greater than a given threshold value, it is determined that the region includes the object of interest or is not included in the region.

이후 전체영역을 처리했는가를 판단한다(S10).Then, it is determined whether the entire area has been processed (S10).

본 발명에 따른 패턴 히스토그램을 이용한 객체검출방법에 의하면, 관심객체와 유사한 객체들을 빠르게 검출할 수 있다.According to the object detection method using the pattern histogram according to the present invention, objects similar to the object of interest can be detected quickly.

본 발명에 따르면, 관심객체의 인식을 위한 처리시간을 줄임으로써 기존에 인식기를 사용한 경우보다 빠르게 검출할 수 있다.
According to the present invention, by reducing the processing time for recognizing an object of interest, it is possible to detect it faster than the conventional method using the recognizer.

상기 도 5 및 도 6은 차량 객체를 예를 들어 설명한 것이다.
5 and 6 illustrate vehicle objects as an example.

도 7은 차량영상을 소벨(Sobel)방식으로 처리한 에지영상이다. 즉 입력영상을 소벨 에지 추출알고리즘을 이용하여 에지를 추출한다.7 is an edge image obtained by processing a vehicle image in a Sobel fashion. In other words, the edge is extracted using the Sobel edge extraction algorithm.

본 발명에서는 특히 차량 객체에 대한 차량 패턴을 미리 도 9 내지 도 17과 같이 총 9가지로 생성하였다.In the present invention, in particular, a vehicle pattern for a vehicle object has been created in total of nine types as shown in Figs. 9 to 17 in advance.

즉, 차량의 검출에 유용한 패턴으로서, 본 발명에서 생성한 차량패턴을 설명한다. 먼저 입력 영상을 Sobel 에지 추출 알고리즘을 이용하여 에지를 추출한다(도 7참조).That is, the vehicle pattern generated by the present invention as a pattern useful for detecting the vehicle will be described. First, edges of the input image are extracted using a Sobel edge extraction algorithm (see FIG. 7).

차량의 에지가 선명하게 추출되면 도 9 내지 도 17과 같은 패턴들이 항상 발생한다. 즉, 수평라인 패턴, 상측 및 하측 수평 패턴, 좌측 및 우측 수직패턴, 좌측 및 우측 상부 경사 패턴, 및 좌측 및 우측하부 경사패턴들이다. 이런 특징패턴들의 발생 빈도를 상술한 패턴 히스토그램 알고리즘을 이용하여 추출한 후 해당 영역에 차량이 존재하는지를 판단한다. 아래에서는 각 패턴들의 3x3인 경우를 예시하고 있다.
When the edges of the vehicle are clearly extracted, the patterns shown in Figs. 9 to 17 always occur. That is, the horizontal line pattern, the upper and lower horizontal patterns, the left and right vertical patterns, the left and right upper inclination patterns, and the left and right lower inclination patterns. The frequency of occurrence of such feature patterns is extracted using the above-described pattern histogram algorithm, and then it is determined whether or not a vehicle exists in the corresponding region. Below is a case of 3x3 of each pattern.

수평라인패턴(도 9)The horizontal line pattern (Figure 9)

cell의 중심을 1픽셀을 두께로 수평으로 통과하는 패턴을 지칭한다. 도 9는 셀의 크기가 3x3인 경우의 예제이다. 패턴 코드는 34이고 패턴의 모양은 도 9와 같다. 도 9에서 밝은 부분은 에지를 나타내고 검은 부분은 배경을 나타낸다.
refers to a pattern that horizontally passes the center of a cell to a thickness of 1 pixel. 9 shows an example in which the size of the cell is 3x3. The pattern code is 34 and the shape of the pattern is as shown in FIG. In Fig. 9, the bright part represents the edge and the black part represents the background.

상측 수평 및 하측 수평패턴(도 10 및 도 11)The upper and lower horizontal patterns (Figs. 10 and 11)

에지가 수평 방향으로 향하였을 때의 패턴을 지칭한다. 도 10 및 도11은 cell의 크기가 3x3인 경우의 예제이다. 패턴 코드는 62(도 10), 227(도 11)이고 패턴의 모양은 도 10 및 도 11과 같다. 도면에서 밝은 부분은 에지를 나타내고 검은 부분은 배경을 나타낸다.
Refers to a pattern when the edge is oriented in the horizontal direction. Figs. 10 and 11 show an example in which the cell size is 3x3. The pattern codes are 62 (FIG. 10) and 227 (FIG. 11), and the patterns are shown in FIGS. 10 and 11. In the drawing, a bright part represents an edge and a black part represents a background.

좌측 수직 및 우측 수직패턴Left vertical and right vertical patterns

에지가 수직 방향으로 향하였을 때의 패턴을 지칭한다. 도 12 및 도 13은 cell의 크기가 3x3인 경우의 예제이다. 패턴 코드는 143(도 12), 248(도 13)이고 패턴의 모양은 도 12 및 도 13과 같다. 도면에서 밝은 부분은 에지를 나타내고 검은 부분은 배경을 나타낸다.
Refers to a pattern when the edge is directed in the vertical direction. Figs. 12 and 13 show an example in which the cell size is 3x3. The pattern codes are 143 (FIG. 12) and 248 (FIG. 13), and the patterns are shown in FIGS. 12 and 13. In the drawing, a bright part represents an edge and a black part represents a background.

좌측 상부 및 우측 상부 경사패턴 Left upper and right upper inclined patterns

에지의 상단이 경사졌을 때의 패턴을 지칭한다. 도 14 및 도 15는 cell의 크기가 3x3인 경우의 예제이다. 패턴 코드는 30(도 14) 및 60(도 15)이고 패턴의 모양은 아래의 도 14 및 도 15와 같다. 도면에서 밝은 부분은 에지를 나타내고 검은 부분은 배경을 나타낸다.
Quot; refers to a pattern when the top of the edge is inclined. Figs. 14 and 15 show an example in which the cell size is 3x3. Pattern codes are 30 (FIG. 14) and 60 (FIG. 15), and the patterns are shown in FIGS. 14 and 15 below. In the drawing, a bright part represents an edge and a black part represents a background.

좌측 하부 및 우측 하부 경사패턴Left lower and right lower inclined patterns

에지의 하단이 경사졌을 때의 패턴을 지칭한다. 도 16 및 도 17은 cell의 크기가 3x3인 경우의 예제이다. 패턴 코드는 195(도 16) 및 225(도 17)이고 패턴의 모양은 아래의 도 16 및 도 17과 같다. 도면에서 흰 부분은 에지(밝은 부분)를 나타내고 검은 부분(밝기가 0인 부분)은 배경을 나타낸다.
Refers to a pattern when the lower edge of the edge is inclined. FIGS. 16 and 17 show an example in which the cell size is 3x3. Pattern codes are 195 (Fig. 16) and 225 (Fig. 17), and the patterns are shown in Figs. 16 and 17 below. In the drawing, a white part represents an edge (a bright part) and a black part (a brightness part represents a background).

차량 패턴의 검출 방법에 대해 설명한다.A method of detecting a vehicle pattern will be described.

위에서 서술한 특징 패턴들의 발생 빈도 및 특징 패턴들의 발생 빈도 사이의 상관 관계를 이용하여 차량을 검출한다.The vehicle is detected using the correlation between the occurrence frequency of the feature patterns and the occurrence frequency of the feature patterns.

차량패턴의 검출 방법은 다음과 같이 진행될 수 있다.The method of detecting the vehicle pattern can be proceeded as follows.

ST-1. 입력 영상에서 일정한 크기의 Sliding Window를 이동하면서 Sliding Window 영역에서 패턴 히스토그램을 생성한다.ST-1. The pattern histogram is generated in the sliding window area while moving the sliding window of a certain size in the input image.

ST-2. 미리 생성된 차량패턴인 수평라인패턴, 수평 패턴, 수직 패턴 및 상부 및 하부 경사패턴들에 대한 상기 패턴 히스토그램에서의 발생빈도를 추출한다.ST-2. The occurrence frequency in the pattern histogram of the horizontal line pattern, the horizontal pattern, the vertical pattern, and the upper and lower inclination patterns, which are the previously-generated vehicle patterns, is extracted.

ST-3. 각 패턴들의 발생 빈도의 Threshold들을(임의로 정한다) Reference image들의 패턴 발생빈도를 참조하여 결정한다.ST-3. Thresholds of occurrence frequency of each pattern (arbitrarily determined) are determined with reference to pattern occurrence frequency of reference images.

ST-4. 추출된 특징 패턴들의 발생 빈도가 각각의 Threshold를 넘는 개수를 카운트한다.ST-4. And counts the number of occurrences of the extracted feature patterns exceeding respective thresholds.

ST-5. 카운트된 패턴의 개수가 일정한 수치를 넘으면 차량이 존재한다고 판단한다.
ST-5. If the number of counted patterns exceeds a predetermined value, it is determined that the vehicle exists.

본 발명에 따른 차량패턴 히스토그램 및 이를 이용한 차량패턴 검출방법에 의하면, 사전에 차량 객체 외곽선을 분석하여 차량 패턴이 얼마만큼 분포하는가를 계산할 수 있는 차량패턴 히스토그램을 제공함으로써 차량 객체의 외곽선 패턴 분석을 용이하게 된다.According to the vehicle pattern histogram and the vehicle pattern detection method using the same according to the present invention, it is possible to easily analyze the outline pattern of the vehicle object by providing a vehicle pattern histogram that can calculate how much the vehicle pattern is distributed by analyzing the outline of the vehicle object in advance .

본 발명에 따르면 차량패턴 히스토그램의 데이터를 통하여 역으로 차량 객체의 유형을 추정할 수 있다.According to the present invention, the type of the vehicle object can be inversely estimated through the data of the vehicle pattern histogram.

본 발명에 따르면 이미 개발된 인식기 또는 분류기에 특징으로 차량패턴 히스토그램을 적용함으로써 그 성능을 개선할 수 있다.According to the present invention, its performance can be improved by applying a vehicle pattern histogram to a recognizer or classifier that has already been developed.

본 발명에 따르면 차량객체와 유사한 객체들을 빠르게 검출할 수 있다.According to the present invention, objects similar to vehicle objects can be detected quickly.

본 발명에 따르면, 차량패턴 인식까지의 처리시간을 줄임으로써 기존에 인식기를 사용한 경우보다 빠르게 검출할 수 있다.
According to the present invention, by reducing the processing time until recognition of the vehicle pattern, it is possible to detect it faster than in the case of using the recognizer.

100: 3x3 셀공간
110: 10진 셀 코드
120: 중심셀
100: 3x3 cell space
110: decimal cell code
120: center cell

Claims (6)

삭제delete 삭제delete 입력 영상에서 일정한 크기의 슬라이딩 윈도우(Sliding Window)를 이동하면서 슬라이딩 윈도우(Sliding Window) 영역에서 패턴 히스토그램을 생성하는 단계,
미리 생성된 차량패턴인 수평라인패턴, 수평 패턴, 수직 패턴 및 상부 및 하부 경사패턴들에 대한 상기 패턴 히스토그램에서의 발생빈도를 추출하는 단계;
추출된 다수개의 특징 패턴들의 발생 빈도가 각각의 쓰레스홀드(Threshold)를 넘는 개수를 카운트하는 단계,
카운트된 패턴의 개수가 일정한 수치를 넘으면 차량이 존재한다고 판단하는 단계를 포함하는 것을 특징으로 하는 차량패턴의 검출방법.
Generating a pattern histogram in a sliding window area while moving a sliding window of a predetermined size in an input image,
Extracting a frequency of occurrences in the pattern histogram for a horizontal line pattern, a horizontal pattern, a vertical pattern, and upper and lower inclination patterns, which are pre-generated vehicle patterns;
Counting the number of occurrences of the plurality of extracted feature patterns exceeding respective thresholds,
And judging that the vehicle exists if the number of counted patterns exceeds a predetermined value.
제 3 항에 있어서,
패턴들의 발생 빈도의 쓰레스홀드(Threshold)들을 기준 이미지(Reference image)들의 패턴 발생빈도를 참조하여 결정하는 단계를 더 포함하는 것을 특징으로 하는 차량패턴의 검출방법.
The method of claim 3,
Further comprising the step of determining thresholds of occurrence frequencies of the patterns with reference to the pattern occurrence frequency of the reference images.
삭제delete 제 3 항에 있어서,
상기 추출된 특징 패턴들의 발생 빈도가 각각의 쓰레스홀드(Threshold)를 넘는 개수를 카운트하는 단계는
입력 영상을 에지 추출 알고리즘을 이용하여 에지를 추출하고,
차량의 에지가 선명하게 추출되면, 추출된 에지 패턴들 중에서 항상 발생하는 패턴인, 수평라인 패턴, 수평패턴, 수직 패턴 및 상부 및 하부 경사 패턴의 발생빈도를 추출하는 단계를 포함하는 것을 특징으로 하는 차량패턴의 검출방법.
The method of claim 3,
The step of counting the number of occurrences of the extracted feature patterns exceeding respective thresholds
An edge is extracted by using an edge extraction algorithm,
A horizontal pattern, a vertical pattern, and an occurrence frequency of the upper and lower inclination patterns, which are patterns that always occur among the extracted edge patterns when the edge of the vehicle is clearly extracted A method for detecting a vehicle pattern.
KR20130070748A 2013-06-20 2013-06-20 Vehicle pattern histogram generating method and venicle pattern detecting method using the same KR101480072B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130070748A KR101480072B1 (en) 2013-06-20 2013-06-20 Vehicle pattern histogram generating method and venicle pattern detecting method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130070748A KR101480072B1 (en) 2013-06-20 2013-06-20 Vehicle pattern histogram generating method and venicle pattern detecting method using the same

Publications (2)

Publication Number Publication Date
KR20140147454A KR20140147454A (en) 2014-12-30
KR101480072B1 true KR101480072B1 (en) 2015-01-09

Family

ID=52588163

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130070748A KR101480072B1 (en) 2013-06-20 2013-06-20 Vehicle pattern histogram generating method and venicle pattern detecting method using the same

Country Status (1)

Country Link
KR (1) KR101480072B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101619627B1 (en) 2014-10-28 2016-05-10 현대자동차주식회사 Welding structure of inlet portion in engine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110076219A (en) * 2009-12-29 2011-07-06 전자부품연구원 Real time image recognition system, and method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110076219A (en) * 2009-12-29 2011-07-06 전자부품연구원 Real time image recognition system, and method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
박종천 외 3인. 문자-에지 맵의 패턴 히스토그램을 이용한 자연이미지에서 텍스트 영역 추출. 한국산학기술학회 논문지. 2006년, Vol. 7, No. 6, pp.1167-1174 *
박종천 외 3인. 문자-에지 맵의 패턴 히스토그램을 이용한 자연이미지에서 텍스트 영역 추출. 한국산학기술학회 논문지. 2006년, Vol. 7, No. 6, pp.1167-1174*

Also Published As

Publication number Publication date
KR20140147454A (en) 2014-12-30

Similar Documents

Publication Publication Date Title
JP6397986B2 (en) Image object region recognition method and apparatus
CN110991465B (en) Object identification method, device, computing equipment and storage medium
EP3203417B1 (en) Method for detecting texts included in an image and apparatus using the same
WO2016080913A1 (en) Method and device for traffic sign recognition
Sung et al. Scene text detection with robust character candidate extraction method
US9443137B2 (en) Apparatus and method for detecting body parts
KR101825459B1 (en) Multi-class objects detection apparatus and method thereof
Wang et al. Natural scene text detection with multi-channel connected component segmentation
Kulkarni et al. Text detection and recognition: a review
KR20170087817A (en) Face detecting method and apparatus
Hato et al. Fast algorithm for video shot boundary detection using SURF features
KR102195940B1 (en) System and Method for Detecting Deep Learning based Human Object using Adaptive Thresholding Method of Non Maximum Suppression
Giri Text information extraction and analysis from images using digital image processing techniques
CN112560856B (en) License plate detection and identification method, device, equipment and storage medium
Bardeh et al. New approach for human detection in images using histograms of oriented gradients
KR101480072B1 (en) Vehicle pattern histogram generating method and venicle pattern detecting method using the same
KR101847175B1 (en) Method for object recognition and apparatus thereof
US9418286B2 (en) Information processing device, information processing method, and program
Thai et al. Learning bag of visual words for motorbike detection
KR101480067B1 (en) Human pattern detecting method using human pattern histogram
Taschwer et al. Compound figure separation combining edge and band separator detection
KR101496734B1 (en) Pattern histogram creating method
Gaikwad et al. Video scene segmentation to separate script
KR101480065B1 (en) Object detecting method using pattern histogram
Hema et al. Estimating maximum likelihood using the combined linear and nonlinear function in NMS for object detection

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
FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20181227

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20191231

Year of fee payment: 6