KR101920998B1 - apparatus and device for extracting contour by connected component labeling in gray images - Google Patents

apparatus and device for extracting contour by connected component labeling in gray images Download PDF

Info

Publication number
KR101920998B1
KR101920998B1 KR1020170068405A KR20170068405A KR101920998B1 KR 101920998 B1 KR101920998 B1 KR 101920998B1 KR 1020170068405 A KR1020170068405 A KR 1020170068405A KR 20170068405 A KR20170068405 A KR 20170068405A KR 101920998 B1 KR101920998 B1 KR 101920998B1
Authority
KR
South Korea
Prior art keywords
pixel
edge type
edge
background
label
Prior art date
Application number
KR1020170068405A
Other languages
Korean (ko)
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 KR1020170068405A priority Critical patent/KR101920998B1/en
Application granted granted Critical
Publication of KR101920998B1 publication Critical patent/KR101920998B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a device and a method to extract a contour by labeling connection components. The device includes: a scanning part performing raster scanning on each pixel constituting a grayscale image inputted from the outside; an edge type determining part determining the edge type of an X pixel, which is a pixel being currently scanned, as one type among a strong edge, a weak edge, and a background based on high and low thresholds which are predetermined; a determination tree selecting part selecting one among two preset determination trees based on an edge type of an S pixel, which is a pixel scanned right before the X pixel; a provisional label assigning part assigning a provisional label for the X pixel based on the selected determination tree; and a label flattening part flattening the provisional label based on Vs, which is a memory component storing whether the provisional label includes a strong edge or not.

Description

그레이 영상에서 연결 구성요소 라벨링을 통한 컨투어 추출 장치 및 방법{apparatus and device for extracting contour by connected component labeling in gray images}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an apparatus and method for extracting contours from a gray image,

기술분야는 그레이 영상에서의 컨투어 추출 장치 및 방법에 관한 것으로서, 보다 상세하게는 그레이 영상에서 연결 구성요소 라벨링(connected component labeling)을 통한 컨투어 추출 장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to a contour extracting apparatus and method in a gray image, and more particularly, to a contour extracting apparatus and method through connected component labeling in a gray image.

임계화(Thresholding)는 다수의 이미지 처리 응용 동작에서 가장 기본적인 저레벨 동작이다. 임계화는 객체를 추출하기 위해 처리될 수 있는 전경 및 배경 픽셀들을 포함하는 이진 이미지를 얻기 위해 입력되는 이미지 상에 수행된다.Thresholding is the most basic low-level operation in many image processing application operations. The thresholding is performed on the input image to obtain a binary image containing foreground and background pixels that can be processed to extract the object.

히스테리시스 임계화(Hysteresis Thresholding)는 잡음의 존재 시에 더 효과적인 임계화 기술이다. 히스테리시스 임계화는 높은 임계값과 낮은 임계값을 포함하며, 높은 임계값 보다 더 큰 크기를 갖는 픽셀들은 강한 에지 픽셀들로 표시되고, 임계값 보다 더 낮은 크기를 갖는 픽셀들은 배경 픽셀들로 표시된다.Hysteresis Thresholding is a more effective thresholding technique in the presence of noise. The hysteresis thresholding includes a high threshold and a low threshold, pixels with a size larger than a high threshold are denoted by strong edge pixels, and pixels with a size lower than the threshold are denoted by background pixels .

또한, 높은 임계값 보다는 낮지만 낮은 임계값 보다 높은 크기를 갖는 픽셀들은 초기에 약한 에지 픽셀들로 식별된다. 약한 에지 픽셀들은 강한 에지 픽셀(예를 들어, 높은 임계값 보다 큰 크기를 갖는 픽셀)에 연결되는 경우에만 추후에 강한 에지 픽셀들로 간주된다.Also, pixels with a size lower than the high threshold but higher than the low threshold are initially identified as weak edge pixels. Weak edge pixels are considered strong edge pixels in the future only if they are connected to a strong edge pixel (e.g., a pixel having a magnitude greater than a high threshold).

종래의 컨투어 추출 방법은 이진 이미지들에 대한 속성을 추출하기 위해 연결 구성요소 분석 또는 컨투어 추적을 사용한다. 종래의 방법에서는 연결 구성요소 라벨링(connected component labeling)이 우선 수행되고, 그 다음에 속성들이 각각의 라벨링된 객체로부터 추출된다. 또한, 히스테리시스 임계화된 이미지들에서 약한 에지 픽셀들을 강한 에지 또는 배경 픽셀들로 분류하는 작업 수행된다.Conventional contour extraction methods use connection component analysis or contour tracing to extract attributes for binary images. In the conventional method, connected component labeling is performed first, and then attributes are extracted from each labeled object. Further, in hysteresis-thresholded images, an operation of classifying weak edge pixels into strong edge or background pixels is performed.

전술한 종래의 방법은 먼저 그레이 영상을 에지 검출기에 통과시켜 이진 에지맵(edge map)을 추출한 후에, 에지맵에 연결 구성요소 라벨링을 적용해야만 했다.The conventional method described above had to first apply a connection component labeling to an edge map after passing a gray image through an edge detector to extract a binary edge map.

그러나, 에지맵의 사용으로 인하여 많은 양의 메모리를 필요로 하였으며, 컨투어 추출을 위한 시간 소모가 많다는 문제점이 있었다.However, since the use of the edge map requires a large amount of memory, there is a problem in that there is a lot of time for contour extraction.

한국등록특허 제10-1626538호, "이미지 객체 및 윤곽 특징 추출을 위한 시스템, 방법, 및 매체"Korean Patent No. 10-1626538, " System, Method, and Medium for Extracting Image Objects and Contour Feature " 한국등록특허 제10-1679968호, "캐니 에지 검출을 이용한 트랙 이미지 카운팅 방법"Korean Patent No. 10-1679968, " Track Image Counting Method Using Cannier Edge Detection "

본 발명은 상술한 문제점을 해결하기 위한 것으로서, 본 발명에서 제안하는 2개의 결정트리 알고리즘과, 메모리 요소 Vs를 이용하여 히스테리시스 임계화 단계에서 바로 연결 구성요소 라벨링을 제공하는 컨투어 추출 장치 및 방법을 제공하고자 한다.The present invention provides a contour extracting apparatus and method for providing connected component labeling directly in a hysteresis thresholding step using two decision tree algorithms proposed by the present invention and a memory element Vs I want to.

또한, 에지맵 대신 메모리 요소 Vs를 이용하여 메모리 공간 및 컨투어 추출을 위한 시간을 최소화 할 수 있는 컨투어 추출 장치 및 방법을 제공하고자 한다.It is also intended to provide a contour extracting apparatus and method capable of minimizing time for memory space and contour extraction using a memory element Vs instead of an edge map.

본 발명의 일실시예에 따른 컨투어 추출장치는 외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행하는 스캐닝부와, 상기 스캐닝이 진행중인 현재 픽셀인 X픽셀현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정하는 에지 유형 결정부와, 상기 현재 픽셀인 X픽셀현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택하는 결정트리 선택부와, 상기 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)하는 임시 라벨 할당부 및 상기 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 상기 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행하는 라벨 플래튼부를 포함한다.The contour extracting apparatus according to an embodiment of the present invention includes a scanning unit for performing raster scanning on each pixel constituting a gray-scale image input from the outside, Pixel X pixels The edge type of the current pixel, X pixels, is defined as a strong edge, a weak edge, and a background (i.e., a high edge and a low edge) based on a predetermined high threshold and a low threshold and an edge type of the S pixel which is the immediately preceding pixel scanned immediately before the X pixel which is a current pixel of the X pixel which is the current pixel, A decision tree selecting unit for selecting one decision tree, and assigning a provisional label of an X pixel which is a current pixel based on the selected decision tree. Label assignment unit, and based on whether or not strong edge Vs memory element storing the inclusion of the temporary labels assigned to the label includes a platen unit that performs the platen (flatten) for the work of the temporary label the assigned.

일측에 따르면, 상기 메모리 요소 Vs는 해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)일 수 있다.According to one aspect, the memory element Vs is represented by '1' if the edge type of the pixel is strong edge, '0' if the edge is not strong edge, and a Boolean vector).

일측에 따르면, 상기 결정트리 선택부는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 상기 현재 픽셀인 X픽셀과, 상기 스캐닝된 주변 픽셀들 중 상기 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, 상기 Q픽셀 직전에 스캐닝된 P픽셀, 및 상기 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다. According to one aspect of the present invention, when the edge type of the S pixel which is the immediately preceding pixel is background, the decision tree selection unit selects the X pixel which is the current pixel and the X pixel which is the same as the current pixel, , A P-pixel scanned immediately before the Q-pixel, and a temporary tree of X-pixels that are the current pixel based on the edge type of the R-pixel scanned immediately after the Q-pixel .

일측에 따르면, 상기 결정트리 선택부는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 상기 현재 픽셀인 X픽셀, 상기 Q픽셀, 및 상기 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다.According to one aspect, if the edge type of the S pixel which is the immediately preceding pixel is not background, the decision tree selection unit determines that the X pixel, the Q pixel, and the X pixel which is the current pixel based on the edge type of the R pixel You can select a decision tree to assign a temporary label.

일측에 따르면, 상기 임시라벨 할당부는 상기 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이고 상기 Q픽셀의 에지 유형이 배경이 아니면 상기 Q픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당하고 상기 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경하며, 상기 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 상기 Q픽셀의 에지 유형이 배경이 아니면 상기 Q픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.According to one aspect, the temporary label assigning unit assigns the temporary label of the Q pixel to an X pixel which is a current pixel if the edge type of the X pixel as the current pixel is strong edge and the edge type of the Q pixel is not background, Changes the memory element Vs corresponding to the temporary label to " 1 ", and if the edge type of the X pixel as the current pixel is a weak edge and the edge type of the Q pixel is not background, Can be assigned to pixels.

일측에 따르면, 상기 임시라벨 할당부는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이면, 상기 P픽셀 및 상기 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하고, 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이면, 상기 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당할 수 있다.According to one aspect, if the edge type of the S pixel which is the immediately preceding pixel is the background, the edge type of the X pixel which is the current pixel is not the background, and the edge type of the Q pixel is the background, Assigning a temporary label of an X pixel which is a current pixel based on an edge type of a pixel and determining whether the edge type of the immediately preceding pixel is not the background and the edge type of the X pixel being the current pixel is not background, If the type is background, it may assign a temporary label of X pixels which is the current pixel based on the edge type of the R pixel.

일측에 따르면, 상기 임시라벨 할당부는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이고 상기 P픽셀 및 상기 R픽셀의 에지 유형이 배경이 아니면 상기 P픽셀 및 상기 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 상기 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당하며, 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이고 상기 R픽셀의 에지 유형이 배경이 아닌 경우에 상기 직전 픽셀인 S픽셀 및 상기 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 상기 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.According to one aspect, the temporary label assigning unit assigns the edge type of the S pixel which is the immediately preceding pixel as the background and the edge type of the X pixel as the current pixel as the background, and the edge type of the Q pixel is the background and the P pixel and the R pixel If the edge type of the previous pixel is not background, perform a label equivalence operation on the temporary label of the P pixel and the R pixel, assign the integrated temporary label to the X pixel which is the current pixel, The edge type of the current pixel is not the background and the edge type of the X pixel is not the background and the edge type of the Q pixel is the background and the edge type of the R pixel is not the background, A label equivalence operation may be performed on the temporary label of the pixel and the integrated temporary label may be assigned to the X pixel which is the current pixel.

일측에 따르면, 상기 라벨 통합 동작은 상기 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이면 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들에 대응되는 메모리 요소 Vs를 '1'로 변경하고, 상기 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들을 통합하는 강한 에지 라벨 통합 동작(

Figure 112017052516001-pat00001
)을 수행하고, 상기 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들 중 어느 하나의 임시 라벨에 대응되는 메모리 요소 Vs가 '1'이면 나머지 하나의 임시 라벨에 대응되는 메모리 요소 Vs도 '1'로 변경하고, 상기 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들을 통합하는 약한 에지 라벨 통합 동작(
Figure 112017052516001-pat00002
)을 수행할 수 있다.According to one aspect, in the label integration operation, if the edge type of the X pixel which is the current pixel is a strong edge, the memory element Vs corresponding to the temporary labels assigned to the plurality of integration target pixels is changed to '1' Strong edge label integration operation < RTI ID = 0.0 >(< / RTI >
Figure 112017052516001-pat00001
), And if the memory element Vs corresponding to the temporary label of any temporary label assigned to the plurality of integration target pixels is '1', the edge type of the X pixel which is the current pixel is a weak edge, A weak edge label integration operation (" 1 ") in which the memory element Vs corresponding to the temporary label is also changed to ' 1 ' and integrates the temporary labels assigned to the plurality of integration target pixels
Figure 112017052516001-pat00002
) Can be performed.

본 발명의 일실시예에 따른 컨투어 추출방법은 외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행하는 단계와, 상기 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정하는 단계와, 상기 현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택하는 단계와, 상기 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)하는 단계와 상기 현재 픽셀인 X픽셀 이후에 스캐닝 되는 픽셀의 존재 유무에 따라 스캐닝의 완료를 판단하는 단계 및 상기 스캐닝 완료 후에 상기 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 상기 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행하는 단계를 포함한다.The contour extracting method according to an exemplary embodiment of the present invention includes performing raster scanning on each pixel constituting a gray-scale image input from the outside, A weak edge, and a background, based on a predetermined high threshold and a low threshold, based on the edge type of the X pixels, Selecting one of two predetermined decision trees based on the edge type of the S pixel which is the immediately preceding pixel scanned immediately before the X pixel which is the current pixel; Assigning a provisional label of an X pixel which is a current pixel based on a decision tree of the current pixel and determining whether there is a pixel to be scanned after the X pixel which is the current pixel Determining a completion of the scanning according to the determined temporary labels, and performing a flattening operation on the allocated temporary labels based on the memory element Vs storing the strong edges of the allocated temporary labels after completion of the scanning .

일측에 따르면, 상기 메모리 요소 Vs는 해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)일 수 있다.According to one aspect, the memory element Vs is represented by '1' if the edge type of the pixel is strong edge, '0' if the edge is not strong edge, and a Boolean vector).

일측에 따르면, 상기 결정트리를 선택하는 단계는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 상기 현재 픽셀인 X픽셀과, 상기 스캐닝된 주변 픽셀들 중 상기 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, 상기 Q픽셀 직전에 스캐닝된 P픽셀, 및 상기 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다. According to one aspect of the present invention, the selecting of the decision tree comprises: if the edge type of the S pixel which is the immediately preceding pixel is background, the X pixel which is the current pixel and the X pixel which is the same as the current pixel y axis), a P pixel scanned immediately before the Q pixel, and a temporary tree of X pixels that are the current pixel based on the edge type of the R pixel scanned immediately after the Q pixel You can choose.

일측에 따르면, 상기 결정트리를 선택하는 단계는 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 상기 현재 픽셀인 X픽셀, 상기 Q픽셀, 및 상기 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다.According to one aspect, the step of selecting the decision tree comprises: if the edge type of the S pixel, which is the immediately preceding pixel, is not background, the current pixel is determined based on the X pixel, the Q pixel, and the edge type of the R pixel You can select a decision tree to assign a temporary label of X pixels.

본 발명에 따르면, 본 발명에서 제안하는 2개의 결정트리 알고리즘과 메모리 요소 Vs를 이용하여 히스테리시스 임계화 단계에서 바로 연결 구성요소 라벨링을 수행할 수 있다.According to the present invention, connection element labeling can be performed directly in the hysteresis thresholding step using the two decision tree algorithms proposed in the present invention and the memory element Vs.

또한, 에지맵 대신 메모리 요소 Vs를 이용하여, 메모리 공간 및 컨투어 추출을 위한 시간을 최소화 할 수 있다.In addition, using the memory element Vs instead of the edge map, the time for memory space and contour extraction can be minimized.

도 1은 본 발명의 일실시예에 따른 컨투어 추출장치를 도시하는 구성도이다.
도 2는 래스터 스캐닝이 수행되는 픽셀의 구조를 도시한 것이다.
도 3a는 결정트리A를 도시한 것이다.
도 3b는 결정트리B를 도시한 것이다.
도 4는 본 발명의 일실시예에 따른 컨투어 추출방법을 도시하는 순서도이다.
1 is a configuration diagram showing a contour extracting apparatus according to an embodiment of the present invention.
Figure 2 shows the structure of a pixel on which raster scanning is performed.
FIG. 3A shows the decision tree A. FIG.
FIG. 3B shows the decision tree B. FIG.
4 is a flowchart showing a contour extraction method according to an embodiment of the present invention.

이하, 본 문서의 다양한 실시 예들이 첨부된 도면을 참조하여 기재된다.Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings.

실시 예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다.It is to be understood that the embodiments and terminologies used herein are not intended to limit the invention to the particular embodiments described, but to include various modifications, equivalents, and / or alternatives of the embodiments.

하기에서 다양한 실시 예들을 설명에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.

그리고 후술되는 용어들은 다양한 실시 예들에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.The following terms are defined in consideration of functions in various embodiments and may vary depending on the intention of a user, an operator, or the like. Therefore, the definition should be based on the contents throughout this specification.

도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, like reference numerals may be used for similar components.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다.The singular expressions may include plural expressions unless the context clearly dictates otherwise.

본 문서에서, "A 또는 B" 또는 "A 및/또는 B 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다.In this document, the expressions " A or B " or " at least one of A and / or B " and the like may include all possible combinations of the items listed together.

"제1," "제2," "첫째," 또는 "둘째," 등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다.Expressions such as " first, " " second, " " first, " or " second, " But is not limited to those components.

어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다.When it is mentioned that some (e.g., first) component is "(functionally or communicatively) connected" or "connected" to another (second) component, May be connected directly to the component, or may be connected through another component (e.g., a third component).

본 명세서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다.As used herein, the term " configured to " is intended to encompass all types of information, including, but not limited to, " , "" Made to "," can do ", or" designed to ".

어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다.In some situations, the expression " a device configured to " may mean that the device can " do " with other devices or components.

예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다.For example, a processor configured (or configured) to perform the phrases " A, B, and C " may be implemented by executing one or more software programs stored in a memory device or a dedicated processor (e.g., an embedded processor) , And a general purpose processor (e.g., a CPU or an application processor) capable of performing the corresponding operations.

또한, '또는' 이라는 용어는 배타적 논리합 'exclusive or' 이기보다는 포함적인 논리합 'inclusive or' 를 의미한다.Also, the term 'or' implies an inclusive or 'inclusive' rather than an exclusive or 'exclusive'.

즉, 달리 언급되지 않는 한 또는 문맥으로부터 명확하지 않는 한, 'x가 a 또는 b를 이용한다' 라는 표현은 포함적인 자연 순열들(natural inclusive permutations) 중 어느 하나를 의미한다.That is, unless expressly stated otherwise or clear from the context, the expression 'x uses a or b' means any of the natural inclusive permutations.

상술한 구체적인 실시 예들에서, 발명에 포함되는 구성 요소는 제시된 구체적인 실시 예에 따라 단수 또는 복수로 표현되었다.In the above-described specific embodiments, elements included in the invention have been expressed singular or plural in accordance with the specific embodiments shown.

그러나, 단수 또는 복수의 표현은 설명의 편의를 위해 제시한 상황에 적합하게 선택된 것으로서, 상술한 실시 예들이 단수 또는 복수의 구성 요소에 제한되는 것은 아니며, 복수로 표현된 구성 요소라 하더라도 단수로 구성되거나, 단수로 표현된 구성 요소라 하더라도 복수로 구성될 수 있다.It should be understood, however, that the singular or plural representations are selected appropriately for the sake of convenience of description and that the above-described embodiments are not limited to the singular or plural constituent elements, , And may be composed of a plurality of elements even if they are represented by a single number.

한편 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 다양한 실시 예들이 내포하는 기술적 사상의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다.While the invention has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims.

그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니되며 후술하는 청구범위뿐만 아니라 이 청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims, as well as the appended claims.

도 1은 본 발명의 일실시예에 따른 컨투어 추출장치를 도시하는 구성도이고, 도 2는 래스터 스캐닝이 수행되는 픽셀의 구조를 도시한 것이다.FIG. 1 is a configuration diagram showing a contour extracting apparatus according to an embodiment of the present invention, and FIG. 2 shows a structure of a pixel on which raster scanning is performed.

도 2는 래스터 스캐닝(raster scanning)이 진행되고 있는 현재 픽셀인 X픽셀, X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀, 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, Q픽셀 직전에 스캐닝된 P픽셀 및 Q픽셀 직후에 스캐닝된 R픽셀을 도시하고 있다.FIG. 2 is a schematic diagram showing an example of a pixel in which raster scanning is in progress; X pixel which is the current pixel, S pixel which is the immediately preceding pixel scanned just before X pixel, Q pixel which is located above the same column (y axis) The P pixel scanned just before the Q pixel and the R pixel scanned immediately after the Q pixel.

도 1 내지 도 2를 참조하면, 본 발명의 일실시예에 따른 컨투어 추출장치(100)는 그레이 이미지를 구성하는 전체 픽셀들에 대하여 래스터 스캐닝(raster scanning)을 수행하고, 기 설정된 임계값에 기초하여 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 결정하며, X픽셀의 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택하고, 선택된 결정트리에 기초하여 현재 픽셀의 임시 라벨(provisional label)을 할당(assign)하며, 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs(미도시)에 기초하여 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행한다.1 and 2, a contour extracting apparatus 100 according to an embodiment of the present invention performs raster scanning on all the pixels constituting a gray image, and performs a raster scanning based on a preset threshold value Determines the edge type of the X pixel which is the current pixel under scanning, selects one of the two determined decision trees based on the edge type of the S pixel which is the immediately preceding pixel scanned immediately before the X pixel, Assigns a provisional label of the current pixel based on the selected decision tree, assigns a provisional label of the current pixel to the provisional labels assigned based on the memory element Vs (not shown) that stores whether or not the strong edges of the assigned temporary labels are included, Perform a flattening operation on the surface.

이를 위해 본 발명의 일 실시예에 따른 컨투어 추출장치(100)는 스캐닝부(110), 에지 유형 검출부(120), 결정트리 선택부(130), 임시 라벨 할당부(140), 및 라벨 플래튼부(150)를 포함한다.The contour extracting apparatus 100 according to an embodiment of the present invention includes a scanning unit 110, an edge type detecting unit 120, a decision tree selecting unit 130, a temporary label assigning unit 140, (150).

실시예에 따라서는, 메모리 요소 Vs는 해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)일 수 있다.According to an embodiment, the memory element Vs may be represented as '1' if the edge type of the pixel is strong, '0' if it is not a strong edge, and a boolean vector of length one longer each time a new temporary label is assigned Boolean vector).

스캐닝부(110)는 외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행한다. The scanning unit 110 performs raster scanning on each pixel constituting a gray-scale image input from the outside.

예를 들어, 스캐닝부(110)는 그레이 이미지를 캐니 에지 디텍터(Canny Edge Detector)로부터 수신할 수 있다.For example, the scanning unit 110 may receive a gray image from a Canny Edge Detector.

에지 유형 결정부(120)는 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정한다.The edge type determination unit 120 determines the edge type of the X pixel which is the current pixel in the progress of scanning based on a strong threshold and a strong edge based on a predetermined high threshold and a low threshold weak edge), and background (background).

예를 들어, 에지 유형 결정부(120)는 현재 픽셀인 X픽셀의 그래디언트 매그니튜드(gradient magnitude) 값이 높은 임계값 보다 크면 강한 에지로 결정하고, 높은 임계값과 낮은 임계값 사이의 범위에 포함되면 약한 에지로 결정하며, 낮은 임계값 보다 작으면 배경으로 결정할 수 있다.For example, when the gradient magnitude value of the X pixel which is the current pixel is greater than the high threshold value, the edge type determination unit 120 determines that the edge is strong edge, and if the gradient magnitude value is included in the range between the high threshold value and the low threshold value It is determined as a weak edge. If it is smaller than a low threshold value, it can be determined as a background.

결정트리 선택부(130)는 현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택한다.The decision tree selection unit 130 selects any one of the two decision trees preset based on the edge type of the S pixel which is the immediately preceding pixel scanned immediately before the current pixel X pixels.

실시예에 따라서는, 결정트리 선택부(130)는 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 현재 픽셀인 X픽셀과, 스캐닝된 주변 픽셀들 중 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, Q픽셀 직전에 스캐닝된 P픽셀, 및 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리A를 선택할 수 있다.According to an embodiment, if the edge type of the S pixel which is the immediately preceding pixel is the background, the decision tree selection unit 130 selects the X pixel which is the current pixel and the X pixel which is the current pixel among the scanned peripheral pixels ), A P-pixel scanned just before the Q-pixel, and a temporary tree of X-pixels being the current pixel based on the edge type of the R-pixel scanned immediately after the Q-pixel .

실시예에 따라서는, 결정트리 선택부(130)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 현재 픽셀인 X픽셀, Q픽셀 및 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리B를 선택할 수 있다.According to the embodiment, if the edge type of the S pixel which is the previous pixel is not background, the decision tree selection unit 130 selects the edge pixel of the X pixel, the Q pixel, and the R pixel, A decision tree B for assigning a temporary label can be selected.

임시 라벨 할당부(140)는 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)한다.The temporary label assigning unit 140 assigns a provisional label of the current pixel X pixels based on one selected decision tree.

이하에서는 도 3a, 도 3b, [표 1] 및 [표 2]를 참조하여 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 컨투어 추출장치의 상세한 동작을 설명 하기로 한다.Hereinafter, the detailed operation of the contour extracting apparatus for assigning temporary labels of X pixels, which is the current pixel, based on any one decision tree selected with reference to FIGS. 3A, 3B, [Table 1] and [Table 2] do.

도 3a는 결정트리A를 도시한 것이고, 도 3b는 결정트리B를 도시한 것이다.Fig. 3A shows a decision tree A, and Fig. 3B shows a decision tree B. Fig.

결정트리A 또는 결정트리B에 기초한 라벨링 동작(labeling operation)의 방법은 하기의 표1과 같다.The method of labeling operation based on decision tree A or decision tree B is shown in Table 1 below.

[표 1][Table 1]

Figure 112017052516001-pat00003
Figure 112017052516001-pat00003

또한, 결정트리A 또는 결정트리B에 기초한 메모리 요소 Vs의 수정 동작(Vs Modifying Operation)의 방법은 하기의 표2와 같다.The method of the Vs Modifying Operation of the memory element Vs based on the decision tree A or the decision tree B is shown in Table 2 below.

[표 2][Table 2]

Figure 112017052516001-pat00004
Figure 112017052516001-pat00004

한편, 결정트리A 및 결정트리B에서 We는 약한 에지에 해당하는 브렌치를 나타내고, Se는 강한 에지에 해당하는 브렌치를 나타낸다. 그리고, b는 배경에 해당하는 경우의 브렌치를 나타낸다. On the other hand, in decision tree A and decision tree B, We represents a branch corresponding to a weak edge, and Se indicates a branch corresponding to a strong edge. And b represents a branch corresponding to the background.

도 3a, 도 3b, [표 1] 및 [표 2]를 참조하면, 임시라벨 할당부(140)는 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이고 Q픽셀의 에지 유형이 배경이 아니면, 라벨링 동작 및 Vs 의 수정 동작을 "4,γ"로 결정할 수 있다. Referring to FIGS. 3A, 3B, and 1 and 2, if the edge type of the X pixel which is the current pixel is a strong edge and the edge type of the Q pixel is not the background, the temporary label allocation unit 140 assigns labeling Operation and the correcting operation of Vs can be determined as " 4, gamma ".

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 4에 해당하는 동작과 [표 2]의 γ에 해당하는 동작인, Q픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당하고 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the temporary label of the Q pixel, which is the operation corresponding to Number 4 in [Table 1] and the operation corresponding to? In Table 2, to the X pixel which is the current pixel, The memory element Vs corresponding to the temporary label can be changed to '1'.

한편, 임시라벨 할당부(140)는 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 Q픽셀의 에지 유형이 배경이 아니면 라벨링 동작을 [표 1]의 Number 4로 결정하고, Q픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.On the other hand, if the edge type of the current pixel X is a weak edge and the edge type of the Q pixel is not background, the temporary label assigning unit 140 determines the labeling operation as Number 4 in Table 1, To the X pixel which is the current pixel.

실시예에 따라서는, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 Q픽셀의 에지 유형이 배경이면, P픽셀 및 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당할 수 있다. According to the embodiment, the temporary label assigning unit 140 assigns the P pixel and the R pixel of the current pixel to the P pixel and the R pixel, respectively, if the edge type of the S pixel as the previous pixel is the background and the edge type of the X pixel as the current pixel is not the background, And assign a temporary label of X pixels which is the current pixel based on the edge type of the pixel.

한편, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 Q픽셀의 에지 유형이 배경이면, R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당할 수 있다.On the other hand, if the edge type of the X pixel, which is the background pixel, is not the background and the edge type of the Q pixel is the background, the temporary label assigning unit 140 assigns the edge type of the S pixel To assign a temporary label of X pixels which is the current pixel.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이 아니며 R픽셀의 에지 유형이 배경이면 라벨링 동작 및 Vs의 수정 동작을 "3,γ"로 결정할 수 있다.For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the strong edge, the edge type of the Q pixel is the background, And the edge type of the R pixel is background, the labeling operation and the correction operation of Vs can be determined as " 3, gamma ".

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 3에 해당하는 동작과 [표 2]의 γ에 해당하는 동작인, P픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당하고 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the temporary label of the P pixel, which is the operation corresponding to Number 3 in Table 1 and the operation corresponding to? In Table 2, to the X pixel which is the current pixel, The memory element Vs corresponding to the temporary label can be changed to '1'.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이며 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작 및 Vs 의 수정 동작을 "5,γ"로 결정할 수 있다.For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the strong edge, the edge type of the Q pixel is the background, And if the edge type of the R pixel is not background, the labeling operation and the correcting operation of Vs can be determined as " 5, y ".

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 5에 해당하는 동작과 [표 2]의 γ에 해당하는 동작인, R픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당하고, 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the temporary label of the R pixel, which is the operation corresponding to Number 5 in Table 1 and the operation corresponding to? In Table 2, to the X pixel which is the current pixel, The memory element Vs corresponding to the temporary label can be changed to '1'.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이며 R픽셀의 에지 유형이 배경이면 라벨링 동작 및 Vs 의 수정 동작을 "2,β"로 결정할 수 있다.For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the strong edge, the edge type of the Q pixel is the background, And the edge type of the R pixel is background, the labeling operation and the correction operation of Vs can be determined as " 2, "

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 2에 해당하는 동작과 [표 2]의 β에 해당하는 동작인, 현재 픽셀인 X픽셀에 대한 새로운 임시 라벨을 생성하고, 새로운 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 할당할 수 있다.Accordingly, the temporary label assigning unit 140 generates a new temporary label for an X pixel which is a current pixel, which is an operation corresponding to Number 2 in [Table 1] and an operation corresponding to? In [Table 2] The memory element Vs corresponding to the label can be assigned '1'.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이 아니며 R픽셀의 에지 유형이 배경이면 라벨링 동작을 "3"으로 결정할 수 있다.For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the weak edge, the edge type of the Q pixel is the background, And the labeling operation is set to " 3 " if the edge type of the R pixel is background.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 3에 해당하는 동작인, P픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다. Therefore, the temporary label assigning unit 140 can assign the temporary label of the P pixel, which is an operation corresponding to Number 3 in Table 1, to the X pixel which is the current pixel.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이며 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작을 "5'로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the weak edge, the edge type of the Q pixel is the background, And the labeling operation is determined to be " 5 " if the edge type of the R pixel is not background.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 5에 해당하는 동작인, R픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Accordingly, the temporary label assigning unit 140 can assign the temporary label of the R pixel, which is the operation corresponding to the Number 5 in Table 1, to the X pixel which is the current pixel.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀의 에지 유형이 배경이며 R픽셀의 에지 유형이 배경이면 라벨링 동작 및 Vs 의 수정 동작을 "2,

Figure 112017052516001-pat00005
"로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the weak edge, the edge type of the Q pixel is the background, And the edge type of the R pixel is background, the labeling operation and the correction operation of Vs are set to " 2,
Figure 112017052516001-pat00005
"Can be determined.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 2에 해당하는 동작과 [표 2]의

Figure 112017052516001-pat00006
에 해당하는 동작인, 현재 픽셀인 X픽셀에 대한 새로운 임시 라벨을 생성하고, 새로운 임시 라벨에 대응되는 메모리 요소 Vs를 '0'으로 할당할 수 있다.Therefore, the temporary label assigning unit 140 assigns the operations corresponding to Number 2 in [Table 1]
Figure 112017052516001-pat00006
A new temporary label for the X pixel which is the current pixel, and assigns the memory element Vs corresponding to the new temporary label to '0'.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 R픽셀의 에지 유형이 배경이면, 라벨링 동작 및 Vs의 수정 동작을 "6, γ"로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the previous pixel, to the current pixel, that is, the edge type of the X pixel whose edge type is strong, the edge type of the Q pixel is the background, If it is background, the labeling operation and the correction operation of Vs can be determined as " 6, gamma ".

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 6에 해당하는 동작과 [표 2]의 γ에 해당하는 동작인, 직전 픽셀인 S픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당하고, 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the temporary label of the S pixel which is the immediately preceding pixel, which is the operation corresponding to Number 6 in [Table 1] and the operation corresponding to? In Table 2, to the X pixel which is the current pixel , And the memory element Vs corresponding to the assigned temporary label can be changed to '1'.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이며 Q픽셀의 에지 유형이 배경이고 R픽셀의 에지 유형이 배경이면 라벨링 동작을 "6"으로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the edge of the X pixel whose edge type is not the background, the edge type of the Q pixel is the background, If the background is the background, the labeling operation can be determined to be " 6 ".

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 6에 해당하는 동작인, 직전 픽셀인 S픽셀의 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Therefore, the temporary label assigning unit 140 can assign the temporary label of the S pixel which is the immediately preceding pixel, which is the operation corresponding to Number 6 in [Table 1], to the X pixel which is the current pixel.

또한, 임시라벨 할당부(140)는 현재 픽셀인 X픽셀의 에지 유형이 배경이면 라벨링 동작을 "1"로 결정하고, [표 1]의 Number 1에 해당하는 동작인, 현재 픽셀인 X픽셀에 대한 라벨링 동작을 수행하지 않을 수 있다. The temporary label assigning unit 140 determines the labeling operation to be " 1 " if the edge type of the X pixel as the current pixel is the background, and sets the labeling operation to the X pixel which is the current pixel It may not perform the labeling operation.

실시예에 따라서는, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 Q픽셀의 에지 유형이 배경이고 P픽셀 및 R픽셀의 에지 유형이 배경이 아니면 P픽셀 및 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다. According to the embodiment, the temporary label assigning unit 140 assigns the edge type of the S pixel which is the immediately preceding pixel as background and the edge type of the X pixel whose current pixel is not the background, the edge type of the Q pixel as the background, A label equalence operation may be performed on the temporary label of the P pixel and the R pixel, and the integrated temporary label may be assigned to the X pixel which is the current pixel.

한편, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 Q픽셀의 에지 유형이 배경이고 R픽셀의 에지 유형이 배경이 아닌 경우에 직전 픽셀인 S픽셀 및 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.On the other hand, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, not the background but the edge type of the X pixel where the current pixel is not the background, the edge type of the Q pixel is the background and the edge type of the R pixel is the background It is possible to perform a label equivalence operation on the temporary label of the S pixel and the R pixel, which are the immediately preceding pixels, and assign the integrated temporary label to the X pixel which is the current pixel.

실시예에 따라서는, 라벨 통합 동작은 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이면 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들에 대응되는 메모리 요소 Vs를 '1'로 변경하고, 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들을 통합하는 강한 에지 라벨 통합 동작(

Figure 112017052516001-pat00007
)을 수행할 수 있다. Depending on the embodiment, the label integration operation may change the memory element Vs corresponding to the temporary labels assigned to the plurality of integration target pixels to '1' if the edge type of the X pixel which is the current pixel is strong edge, A strong edge label integration operation that incorporates temporary labels assigned to the target pixels of integration
Figure 112017052516001-pat00007
) Can be performed.

한편, 라벨 통합 동작은 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들 중 어느 하나의 임시 라벨에 대응되는 메모리 요소 Vs가 '1'이면 나머지 하나의 임시 라벨에 대응되는 메모리 요소 Vs도 '1'로 변경하고, 복수개의 통합 대상 픽셀에 할당된 임시 라벨들을 통합하는 약한 에지 라벨 통합 동작(

Figure 112017052516001-pat00008
)을 수행할 수 있다.On the other hand, if the memory element Vs corresponding to the temporary label of one of the temporary labels assigned to the plurality of integration target pixels is '1', the edge integration type of the X pixel, which is the current pixel, A weak edge label integration operation (" 1 ") that changes the memory element Vs corresponding to the temporary label to ' 1 ' and integrates temporary labels assigned to a plurality of integration target pixels
Figure 112017052516001-pat00008
) Can be performed.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀 및 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작 및 Vs 의 수정 동작을 "7,

Figure 112017052516001-pat00009
"로 결정할 수 있다.For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background and the edge type of the X pixel which is the current pixel is the strong edge, the edge type of the Q pixel is the background, If the type is not background, the labeling operation and the corrective action of Vs are " 7,
Figure 112017052516001-pat00009
"Can be determined.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 7에 해당하는 동작과 [표 2]의

Figure 112017052516001-pat00010
에 해당하는 동작인, P픽셀 및 R픽셀의 임시 라벨들에 대하여 강한 에지 라벨 통합 동작(
Figure 112017052516001-pat00011
)을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the operation corresponding to the number 7 in Table 1 and the operation
Figure 112017052516001-pat00010
A strong edge label integration operation (see < RTI ID = 0.0 >
Figure 112017052516001-pat00011
) And assign the integrated temporary label to the current pixel, X pixels.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이며 Q픽셀의 에지 유형이 배경이고 P픽셀 및 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작 및 Vs 의 수정 동작을 "7,

Figure 112017052516001-pat00012
"으로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the immediately preceding pixel, to the background, and the edge type of the X pixel whose current pixel is the weak edge, and the edge type of the Q pixel is the background, If the type is not background, the labeling operation and the corrective action of Vs are " 7,
Figure 112017052516001-pat00012
"Can be determined.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 7에 해당하는 동작과 [표 2]의

Figure 112017052516001-pat00013
에 해당하는 동작인, P픽셀 및 R픽셀의 임시 라벨들에 대하여 약한 에지 라벨 통합 동작(
Figure 112017052516001-pat00014
)을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the operation corresponding to the number 7 in Table 1 and the operation
Figure 112017052516001-pat00013
A weak edge label integration operation (see < RTI ID = 0.0 >
Figure 112017052516001-pat00014
) And assign the integrated temporary label to the current pixel, X pixels.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이며 Q픽셀의 에지 유형이 배경이고 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작 및 Vs의 수정 동작을 "8,

Figure 112017052516001-pat00015
"로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel, which is the previous pixel, to the current pixel, that is, the edge type of the X pixel whose edge type is strong, the edge type of the Q pixel is the background, If the background is not the labeling operation and the correction operation of Vs is " 8,
Figure 112017052516001-pat00015
"Can be determined.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 8에 해당하는 동작과 [표 2]의

Figure 112017052516001-pat00016
에 해당하는 동작인, 직전 픽셀인 S픽셀 및 R픽셀의 임시 라벨들에 대하여 강한 에지 라벨 통합 동작(
Figure 112017052516001-pat00017
)을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the operation corresponding to the Number 8 in Table 1 and the operation corresponding to [Table 2]
Figure 112017052516001-pat00016
A strong edge label integration operation (see < RTI ID = 0.0 >
Figure 112017052516001-pat00017
) And assign the integrated temporary label to the current pixel, X pixels.

예를 들어, 임시라벨 할당부(140)는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 현재 픽셀인 X픽셀의 에지 유형이 약한 에지(We)이며 Q픽셀의 에지 유형이 배경이고 R픽셀의 에지 유형이 배경이 아니면 라벨링 동작 및 Vs 의 수정 동작을 "8,

Figure 112017052516001-pat00018
"로 결정할 수 있다. For example, the temporary label assigning unit 140 assigns the edge type of the S pixel of the immediately preceding pixel to a weak edge (We) of the X pixel whose background pixel is not the background, If the edge type is not background, the labeling operation and the correction operation of Vs are " 8,
Figure 112017052516001-pat00018
"Can be determined.

따라서, 임시라벨 할당부(140)는 [표 1]의 Number 8에 해당하는 동작과 [표 2]의

Figure 112017052516001-pat00019
에 해당하는 동작인, 직전 픽셀인 S픽셀 및 R픽셀의 임시 라벨들은 약한 에지 라벨 통합 동작(
Figure 112017052516001-pat00020
)을 수행하고 통합된 임시 라벨을 현재 픽셀인 X픽셀에 할당할 수 있다.Accordingly, the temporary label assigning unit 140 assigns the operation corresponding to the Number 8 in Table 1 and the operation corresponding to [Table 2]
Figure 112017052516001-pat00019
The temporary labels of the S pixel and the R pixel, which are the immediately preceding pixels, are the weak edge label integration operation
Figure 112017052516001-pat00020
) And assign the integrated temporary label to the current pixel, X pixels.

현재 픽셀인 X픽셀의 에지 유형이 강한 에지일 때 수행되는 강한 에지 라벨 통합 동작(

Figure 112017052516001-pat00021
)은 하기의 알고리즘1에 의하여 수행될 수 있다.A strong edge label integration operation performed when the edge type of the current pixel X pixels is strong edge
Figure 112017052516001-pat00021
) Can be performed by the following algorithm 1.

[알고리즘1][Algorithm 1]

Figure 112017052516001-pat00022
Figure 112017052516001-pat00022

알고리즘1에 의한 강한 에지 라벨 통합 동작(

Figure 112017052516001-pat00023
)은 임시 라벨
Figure 112017052516001-pat00024
Figure 112017052516001-pat00025
의 대표 라벨(representative label)들(
Figure 112017052516001-pat00026
Figure 112017052516001-pat00027
)이 강한 에지로 간주되어 대표 라벨들(
Figure 112017052516001-pat00028
Figure 112017052516001-pat00029
)에 대응되는 메모리 요소 Vs가 '1'로 변경되고, 대표 라벨
Figure 112017052516001-pat00030
이 대표 라벨
Figure 112017052516001-pat00031
보다 큰 경우에, 대표 라벨
Figure 112017052516001-pat00032
를 대표 라벨
Figure 112017052516001-pat00033
로 변경함으로써, 임시 라벨
Figure 112017052516001-pat00034
Figure 112017052516001-pat00035
의 라벨 통합 동작이 수행될 수 있다.Strong edge label integration operation by Algorithm 1 (
Figure 112017052516001-pat00023
) Is a temporary label
Figure 112017052516001-pat00024
And
Figure 112017052516001-pat00025
Of representative labels (
Figure 112017052516001-pat00026
And
Figure 112017052516001-pat00027
) Are regarded as strong edges, and the representative labels (
Figure 112017052516001-pat00028
And
Figure 112017052516001-pat00029
) Is changed to " 1 ", and the representative label
Figure 112017052516001-pat00030
This representative label
Figure 112017052516001-pat00031
If greater, the representative label
Figure 112017052516001-pat00032
Representative label
Figure 112017052516001-pat00033
, The temporary label
Figure 112017052516001-pat00034
And
Figure 112017052516001-pat00035
Can be performed.

현재 픽셀인 X픽셀의 에지 유형이 약한 에지일 때 수행되는 약한 에지 라벨 통합 동작(

Figure 112017052516001-pat00036
)은 하기의 알고리즘2에 의하여 수행될 수 있다.A weak edge label integration operation performed when the edge type of the current pixel X pixels is a weak edge
Figure 112017052516001-pat00036
) Can be performed by the following algorithm 2.

[알고리즘2][Algorithm 2]

Figure 112017052516001-pat00037
Figure 112017052516001-pat00037

알고리즘2에 의한 약한 에지 라벨 통합 동작(

Figure 112017052516001-pat00038
)은 임시 라벨
Figure 112017052516001-pat00039
Figure 112017052516001-pat00040
의 대표 라벨(representative label)들(
Figure 112017052516001-pat00041
Figure 112017052516001-pat00042
) 중 어느 하나의 임시 라벨에 대응되는 메모리 요소 Vs가 1인 경우에, 나머지 하나의 임시 라벨에 대응되는 메모리 요소 Vs도 '1'로 변경되고, 대표 라벨
Figure 112017052516001-pat00043
이 대표 라벨
Figure 112017052516001-pat00044
보다 큰 경우에, 대표 라벨
Figure 112017052516001-pat00045
를 대표 라벨
Figure 112017052516001-pat00046
로 변경함으로써, 임시 라벨
Figure 112017052516001-pat00047
Figure 112017052516001-pat00048
의 라벨 통합 동작이 수행될 수 있다.Weak Edge Label Integration Operation by Algorithm 2 (
Figure 112017052516001-pat00038
) Is a temporary label
Figure 112017052516001-pat00039
And
Figure 112017052516001-pat00040
Of representative labels (
Figure 112017052516001-pat00041
And
Figure 112017052516001-pat00042
) Is 1, the memory element Vs corresponding to the remaining one temporary label is also changed to " 1 ", and the representative label
Figure 112017052516001-pat00043
This representative label
Figure 112017052516001-pat00044
If greater, the representative label
Figure 112017052516001-pat00045
Representative label
Figure 112017052516001-pat00046
, The temporary label
Figure 112017052516001-pat00047
And
Figure 112017052516001-pat00048
Can be performed.

다시 도 1를 참조하면, 본 발명의 일실시예에 따른 컨투어 추출장치(100)의 라벨 플래튼부(150)는 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행한다.Referring again to FIG. 1, the label platen part 150 of the contour extracting apparatus 100 according to an embodiment of the present invention determines whether a strong edge of the assigned temporary labels is included, Perform flattening of labels.

예를 들어, 라벨 플래튼부(150)는 전체 픽셀에 대하여 래스터 스캔 동작이 1회 완료되면 스캐닝이 완료된 것으로 판단하여 플래튼(flatten) 작업을 수행할 수 있다.For example, when the raster scan operation is completed once for all the pixels, the label platen unit 150 determines that the scanning is completed and performs the flattening operation.

메모리 요소 Vs에 기초한 플래튼(flatten) 작업은 하기의 알고리즘 3에 의해 수행될 수 있다.The flattening operation based on the memory element Vs can be performed by the following algorithm 3.

[알고리즘3][Algorithm 3]

Figure 112017052516001-pat00049
Figure 112017052516001-pat00049

알고리즘3에 의하여, 라벨 플래튼부(150)는 메모리 요소 Vs가 '1'인 임시 라벨들은 남겨두고, 메모리 요소 Vs가 '0'인 임시 라벨들을 제거함으로써 컨투어를 추출할 수 있다. By algorithm 3, the label platen section 150 can extract contours by removing temporary labels with memory element Vs '0', leaving temporary labels with memory element Vs '1'.

도 4는 본 발명의 일실시예에 따른 컨투어 추출방법을 도시하는 순서도이다.4 is a flowchart showing a contour extraction method according to an embodiment of the present invention.

도 4에 도시된 방법은 본 발명의 일실시예에 따른 컨투어 추출장치(100)에 의해 수행될 수 있다.The method shown in Fig. 4 can be performed by the contour extracting apparatus 100 according to an embodiment of the present invention.

도 4을 참조하면, S410 단계에서 상기 장치는 외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행한다.Referring to FIG. 4, in step S410, the apparatus performs raster scanning on each pixel constituting a gray-scale image input from the outside.

예를 들어, S410 단계에서 상기 장치는 그레이 이미지를 캐니 에지 디텍터(Canny Edge Detector)로부터 수신할 수 있다.For example, in step S410, the device may receive a gray image from a Canny Edge Detector.

S420 단계에서 상기 장치는 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정한다.In step S420, the apparatus determines whether the edge type of the X pixel, which is a current pixel in the scanning process, is a strong edge, a weak edge (low edge) based on a predetermined high threshold and a low threshold ), And background (background).

예를 들어, S420 단계에서 상기 장치는 현재 픽셀인 X픽셀의 그래디언트 매그니튜드(gradient magnitude) 값이 높은 임계값 보다 크면 강한 에지로 결정하고, 높은 임계값과 낮은 임계값 사이의 범위에 포함되면 약한 에지로 결정하며, 낮은 임계값 보다 작으면 배경으로 결정할 수 있다.For example, in step S420, the apparatus determines a strong edge if the gradient magnitude value of the X pixel, which is the current pixel, is greater than the high threshold value, and if the gradient magnitude value is included in the range between the high threshold value and the low threshold value, And if it is smaller than the lower threshold value, it can be determined as a background.

S430 단계에서 상기 장치는 현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택한다.In step S430, the device selects any one of two preset decision trees based on the edge type of the S pixel which is the immediately preceding pixel scanned just before the current pixel X pixels.

실시예에 따라서는, 결정트리를 선택하는 S430 단계에서 상기 장치는 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 현재 픽셀인 X픽셀과, 스캐닝된 주변 픽셀들 중 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, Q픽셀 직전에 스캐닝된 P픽셀, 및 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다.According to an embodiment, in step S430 of selecting a decision tree, the apparatus determines whether the edge type of the S pixel, which is the immediately preceding pixel, is the background, the X pixel which is the current pixel and the X pixel which is the current pixel of the scanned peripheral pixels (y-axis), a P-pixel scanned just before the Q-pixel, and a decision tree that allocates a temporary label of the X-pixel which is the current pixel based on the edge type of the R-pixel scanned immediately after the Q-pixel .

실시예에 따라서는, 결정트리를 선택하는 S430 단계에서 상기 장치는 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 현재 픽셀인 X픽셀, Q픽셀, 및 R픽셀의 에지 유형에 기초하여 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택할 수 있다.Depending on the embodiment, in step S430 of selecting a decision tree, the device determines whether the edge type of the S pixel, which is the immediately preceding pixel, is background, based on the edge type of X pixels, Q pixels, You can select a decision tree that assigns a temporary label of X pixels.

S440 단계에서 상기 장치는 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)한다.In step S440, the device assigns a provisional label of an X pixel which is a current pixel based on a selected decision tree.

S450 단계에서 상기 장치는 현재 픽셀인 X픽셀 이후에 스캐닝 되는 픽셀의 존재 유무에 따라 스캐닝의 완료를 판단한다.In step S450, the device determines the completion of scanning according to the presence or absence of a pixel to be scanned after the current pixel X pixels.

예를 들어, S450 단계에서 상기 장치는 그레이 이미지를 구성하는 전체 픽셀에 대하여 래스터 스캔 동작이 1회 완료되면 스캐닝이 완료된 것으로 판단할 수 있다.For example, in step S450, the apparatus can determine that scanning has been completed once the raster scan operation has been completed for all the pixels constituting the gray image.

예를 들어, S451 단계에서 상기 장치는 레스터 스캐닝이 완료되지 않은 것으로 판단되면, 다음 픽셀에 대하여 스캐닝 동작을 수행할 수 있다.For example, if it is determined in step S451 that the laster scanning is not completed, the apparatus can perform a scanning operation on the next pixel.

S460단계에서 상기 장치는 스캐닝 완료 후에 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행한다.In step S460, the device performs a flattening operation on the assigned temporary labels based on the memory element Vs storing the strong edges of the temporary labels allocated after the completion of the scanning.

실시예에 따라서는, 메모리 요소 Vs는 해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)일 수 있다.Depending on the embodiment, the memory element Vs may be represented as '1' if the edge type of the pixel is strong, '0' if it is not a strong edge, and as a Boolean vector Boolean vector).

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, 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.

100 : 컨투어 추출장치
110 : 스캐닝부
120 : 에지 유형 결정부
130 : 결정트리 선택부
140 : 임시라벨 할당부
150 : 라벨 플래튼부
Se : 강한 에지
We : 약한 에지
b : 배경
100: contour extracting device
110: Scanning section
120: edge type determination unit
130: decision tree selector
140: Temporary label assigning unit
150: Label platen
Se: strong edge
We: Weak Edge
b: Background

Claims (12)

외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행하는 스캐닝부;
상기 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정하는 에지 유형 결정부;
상기 현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택하는 결정트리 선택부;
상기 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)하는 임시 라벨 할당부; 및
상기 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 상기 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행하는 라벨 플래튼부
를 포함하고,
상기 메모리 요소 Vs는
해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)이며,
상기 결정트리 선택부는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 상기 현재 픽셀인 X픽셀과 상기 스캐닝된 주변 픽셀들 중 상기 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, 상기 Q픽셀 직전에 스캐닝된 P픽셀, 및 상기 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택하는
컨투어 추출장치.
A scanning unit for performing raster scanning on each pixel constituting a gray-scale image input from the outside;
The edge type of the X pixel which is the current pixel in which the scanning is in progress is set to a strong edge, a weak edge, and a background (i.e., a high edge and a low edge) based on a predetermined high threshold and a low threshold an edge type determining unit determining the type of the edge type;
A decision tree selection unit for selecting any decision tree from among two previously determined decision trees based on the edge type of the S pixel which is the immediately preceding pixel scanned immediately before the current pixel X pixels;
A temporary label assigning unit for assigning a provisional label of an X pixel which is a current pixel based on the selected decision tree; And
A label platen part for performing a flattening operation on the allocated temporary labels based on the memory element Vs storing the strong edge of the allocated temporary labels,
Lt; / RTI >
The memory element Vs
If the edge type of the pixel is '1' for strong edges and '0' for non-strong edges, it is a Boolean vector with one longer length each time a new temporary label is assigned.
The decision tree selection unit
If the edge type of the S pixel which is the immediately preceding pixel is the background, the Q pixel located on the same column (y axis) as the current pixel X pixel among the scanned neighboring pixels, Selects a decision tree that allocates a temporary label of the X pixel that is the current pixel based on the immediately previous scanned P pixel and the edge type of the R pixel scanned immediately after the Q pixel
Contour extraction device.
삭제delete 삭제delete 제1항에 있어서,
상기 결정트리 선택부는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 상기 현재 픽셀인 X픽셀, 상기 Q픽셀, 및 상기 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택하는
컨투어 추출장치.
The method according to claim 1,
The decision tree selection unit
If the edge type of the S pixel which is the immediately preceding pixel is not background, a decision tree for assigning the temporary label of the X pixel which is the current pixel based on the X pixel, the Q pixel, and the edge type of the R pixel, To choose
Contour extraction device.
제4항에 있어서,
상기 임시라벨 할당부는
상기 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이고 상기 Q픽셀의 에지 유형이 배경이 아니면 상기 Q픽셀의 임시 라벨을 상기 현재 픽셀인 X픽셀에 할당하고 상기 할당된 임시 라벨에 대응되는 메모리 요소 Vs를 '1'로 변경하며, 상기 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 상기 Q픽셀의 에지 유형이 배경이 아니면 상기 Q픽셀의 임시 라벨을 상기 현재 픽셀인 X픽셀에 할당하는
컨투어 추출장치.
5. The method of claim 4,
The temporary label assigning unit
If the edge type of the current pixel X pixel is a strong edge and the edge type of the Q pixel is not background, a temporary label of the Q pixel is assigned to the X pixel which is the current pixel, and a memory element Vs To '1', and if the edge type of the current pixel X is a weak edge and the edge type of the Q pixel is not background, the temporary label of the Q pixel is assigned to the current pixel X pixel
Contour extraction device.
제4항에 있어서,
상기 임시라벨 할당부는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이면, 상기 P픽셀 및 상기 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하고, 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이면, 상기 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하는
컨투어 추출장치.
5. The method of claim 4,
The temporary label assigning unit
Wherein if the edge type of the S pixel which is the immediately preceding pixel is the background and the edge type of the X pixel which is the current pixel is not the background and the edge type of the Q pixel is the background, based on the edge type of the P pixel and the R pixel, If the edge type of the S pixel which is the immediately preceding pixel is not the background and the edge type of the X pixel which is the current pixel is not the background and the edge type of the Q pixel is the background, Based on the edge type of the current pixel
Contour extraction device.
제6항에 있어서,
상기 임시라벨 할당부는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이고 상기 P픽셀 및 상기 R픽셀의 에지 유형이 배경이 아니면 상기 P픽셀 및 상기 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 상기 통합된 임시 라벨을 상기 현재 픽셀인 X픽셀에 할당하며, 상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니고 상기 현재 픽셀인 X픽셀의 에지 유형이 배경이 아니며 상기 Q픽셀의 에지 유형이 배경이고 상기 R픽셀의 에지 유형이 배경이 아닌 경우에 상기 직전 픽셀인 S픽셀 및 상기 R픽셀의 임시 라벨에 대하여 라벨 통합(label equivalence) 동작을 수행하고 상기 통합된 임시 라벨을 상기 현재 픽셀인 X픽셀에 할당하는
컨투어 추출장치.
The method according to claim 6,
The temporary label assigning unit
If the edge type of the S pixel which is the immediately preceding pixel is the background and the edge type of the X pixel which is the current pixel is not the background and the edge type of the Q pixel is the background and the edge type of the P pixel and the R pixel is not the background, Pixel and a temporary label of the R pixel, assigns the integrated temporary label to the X pixel which is the current pixel, and if the edge type of the S pixel which is the immediately preceding pixel is not the background, If the edge type of the current pixel X pixel is not background and the edge type of the Q pixel is the background and the edge type of the R pixel is not background, the label integration of the S pixel immediately before and the temporary label of the R pixel performs a label equivalence operation and allocates the integrated temporary label to the X pixel which is the current pixel
Contour extraction device.
제7항에 있어서,
라벨 통합 동작은
상기 현재 픽셀인 X픽셀의 에지 유형이 강한 에지이면 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들에 대응되는 메모리 요소 Vs를 '1'로 변경하고, 상기 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들을 통합하는 강한 에지 라벨 통합 동작(
Figure 112017052516001-pat00050
)을 수행하고, 상기 현재 픽셀인 X픽셀의 에지 유형이 약한 에지이고 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들 중 어느 하나의 임시 라벨에 대응되는 메모리 요소 Vs가 '1'이면 나머지 하나의 임시 라벨에 대응되는 메모리 요소 Vs도 '1'로 변경하고, 상기 복수개의 통합 대상 픽셀들에 할당된 임시 라벨들을 통합하는 약한 에지 라벨 통합 동작(
Figure 112017052516001-pat00051
)을 수행하는
컨투어 추출장치.
8. The method of claim 7,
The label integration operation
If the edge type of the X pixel as the current pixel is a strong edge, changing the memory element Vs corresponding to temporary labels assigned to a plurality of integration target pixels to '1' Strong edge label integration behavior that integrates labels (
Figure 112017052516001-pat00050
), And if the memory element Vs corresponding to the temporary label of any temporary label assigned to the plurality of integration target pixels is '1', the edge type of the X pixel which is the current pixel is a weak edge, A weak edge label integration operation (" 1 ") in which the memory element Vs corresponding to the temporary label is also changed to ' 1 ' and integrates the temporary labels assigned to the plurality of integration target pixels
Figure 112017052516001-pat00051
) To perform
Contour extraction device.
외부로부터 입력되는 그레이 이미지(gray-scale image)를 구성하는 각각의 픽셀에 대하여 래스터 스캐닝(raster scanning)을 수행하는 단계;
상기 스캐닝이 진행중인 현재 픽셀인 X픽셀의 에지 유형을 기 설정된 높은 임계값(high threshold)과 낮은 임계값(low threshold)에 기초하여 강한 에지(strong edge), 약한 에지(weak edge), 및 배경(background) 중 어느 하나의 유형으로 결정하는 단계;
상기 현재 픽셀인 X픽셀 직전에 스캐닝된 직전 픽셀인 S픽셀의 에지 유형에 기초하여 기 설정된 2개의 결정트리 중 어느 하나의 결정트리를 선택하는 단계;
상기 선택된 어느 하나의 결정트리에 기초하여 현재 픽셀인 X픽셀의 임시 라벨(provisional label)을 할당(assign)하는 단계;
상기 현재 픽셀인 X픽셀 이후에 스캐닝 되는 픽셀의 존재 유무에 따라 스캐닝의 완료를 판단하는 단계; 및
상기 스캐닝의 완료 후에 상기 할당된 임시 라벨들의 강한 에지 포함 여부를 저장한 메모리 요소 Vs에 기초하여 상기 할당된 임시 라벨들에 대한 플래튼(flatten) 작업을 수행하는 단계
를 포함하고,
상기 메모리 요소 Vs는
해당 픽셀의 에지 유형이 강한 에지이면 '1', 강한 에지가 아니면 '0'으로 표시하며 새로운 임시 라벨이 할당될 때마다 길이가 하나씩 길어지는 불리안 벡터(Boolean vector)이며,
상기 결정트리를 선택하는 단계는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이면, 상기 현재 픽셀인 X픽셀과 상기 스캐닝된 주변 픽셀들 중 상기 현재 픽셀인 X픽셀과 동일 열(y축)의 상측에 위치한 Q픽셀, 상기 Q픽셀 직전에 스캐닝된 P픽셀, 및 상기 Q픽셀 직후에 스캐닝된 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택하는
컨투어 추출방법.
Performing raster scanning on each pixel constituting a gray-scale image input from the outside;
The edge type of the X pixel which is the current pixel in which the scanning is in progress is set to a strong edge, a weak edge, and a background (i.e., a high edge and a low edge) based on a predetermined high threshold and a low threshold background);
Selecting any of the two decision trees from among the two previously determined decision trees based on the edge type of the S pixel which is the immediately preceding pixel scanned immediately before the current pixel is X pixels;
Assigning a provisional label of an X pixel which is a current pixel based on the selected decision tree;
Determining completion of scanning according to presence or absence of a pixel to be scanned after X pixels as the current pixel; And
Performing a flatten operation on the assigned temporary labels based on a memory element Vs storing the strong edges of the allocated temporary labels after completion of the scanning
Lt; / RTI >
The memory element Vs
If the edge type of the pixel is '1' for strong edges and '0' for non-strong edges, it is a Boolean vector with one longer length each time a new temporary label is assigned.
The step of selecting the decision tree
If the edge type of the S pixel which is the immediately preceding pixel is the background, the Q pixel located on the same column (y axis) as the current pixel X pixel among the scanned neighboring pixels, Selects a decision tree that allocates a temporary label of the X pixel that is the current pixel based on the immediately previous scanned P pixel and the edge type of the R pixel scanned immediately after the Q pixel
Contour extraction method.
삭제delete 삭제delete 제9항에 있어서,
상기 결정트리를 선택하는 단계는
상기 직전 픽셀인 S픽셀의 에지 유형이 배경이 아니면, 상기 현재 픽셀인 X픽셀, 상기 Q픽셀, 및 상기 R픽셀의 에지 유형에 기초하여 상기 현재 픽셀인 X픽셀의 임시 라벨을 할당하는 결정트리를 선택하는
컨투어 추출방법.
10. The method of claim 9,
The step of selecting the decision tree
If the edge type of the S pixel which is the immediately preceding pixel is not background, a decision tree for assigning the temporary label of the X pixel which is the current pixel based on the X pixel, the Q pixel, and the edge type of the R pixel, To choose
Contour extraction method.
KR1020170068405A 2017-06-01 2017-06-01 apparatus and device for extracting contour by connected component labeling in gray images KR101920998B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170068405A KR101920998B1 (en) 2017-06-01 2017-06-01 apparatus and device for extracting contour by connected component labeling in gray images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170068405A KR101920998B1 (en) 2017-06-01 2017-06-01 apparatus and device for extracting contour by connected component labeling in gray images

Publications (1)

Publication Number Publication Date
KR101920998B1 true KR101920998B1 (en) 2018-11-21

Family

ID=64602800

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170068405A KR101920998B1 (en) 2017-06-01 2017-06-01 apparatus and device for extracting contour by connected component labeling in gray images

Country Status (1)

Country Link
KR (1) KR101920998B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109696788A (en) * 2019-01-08 2019-04-30 武汉精立电子技术有限公司 A kind of fast automatic focusing method based on display panel
CN112287948A (en) * 2020-10-30 2021-01-29 西安工程大学 Sketch mark-based rapid edge detection method for extracting middle-level features
KR102478457B1 (en) 2022-03-10 2022-12-19 주식회사 아이코드랩 Apparatus and method for generating contours of image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109696788A (en) * 2019-01-08 2019-04-30 武汉精立电子技术有限公司 A kind of fast automatic focusing method based on display panel
CN109696788B (en) * 2019-01-08 2021-12-14 武汉精立电子技术有限公司 Quick automatic focusing method based on display panel
CN112287948A (en) * 2020-10-30 2021-01-29 西安工程大学 Sketch mark-based rapid edge detection method for extracting middle-level features
CN112287948B (en) * 2020-10-30 2024-05-03 西安工程大学 Sketch mark-based middle-level feature extraction rapid edge detection method
KR102478457B1 (en) 2022-03-10 2022-12-19 주식회사 아이코드랩 Apparatus and method for generating contours of image

Similar Documents

Publication Publication Date Title
US10936911B2 (en) Logo detection
US20200193208A1 (en) Performing object detection in an image
KR101920998B1 (en) apparatus and device for extracting contour by connected component labeling in gray images
US11354889B2 (en) Image analysis and processing pipeline with real-time feedback and autocapture capabilities, and visualization and configuration system
JP2010525486A (en) Image segmentation and image enhancement
CN104424482A (en) Image processing apparatus and image processing method
US20160133046A1 (en) Image processing apparatus
JP2007200246A (en) Method for evaluating image processing algorithm, method, device, and program for generating same algorithm, and recording medium
JP5881625B2 (en) Region dividing apparatus, program, and method
KR101600183B1 (en) Method and apparatus for extracting depth information from image
KR102102394B1 (en) Method and apparatus for preprocessing image for recognition of character
US9269031B2 (en) Method of detecting regions in an edge-based representation
JP7382479B1 (en) Image processing device, program, and image processing method
CN108038514A (en) A kind of method, equipment and computer program product for being used to identify image
US9767376B2 (en) Drawing apparatus, drawing method, and recording medium for use in displaying a character defined in a predetermined outline font format
KR101693106B1 (en) Motion segmentation method and system in video using randomized voting
US20240177475A1 (en) Data processing apparatus and data processing method
KR102614119B1 (en) Method and apparatus for detecting data matrix
US9076074B2 (en) System and method for processing a digital image
CN109558876B (en) Character recognition processing method and device
JP6513311B2 (en) Character recognition device and character recognition method
KR101981039B1 (en) Method and apparatus for image processing using histogram
Li et al. Scale adaptive ensemble tracking
CN117593581A (en) Image classification data augmentation method and system
CN112771566A (en) Image processing apparatus, image processing method, and program

Legal Events

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