KR100190702B1 - Method for detecting bezel of monitor - Google Patents

Method for detecting bezel of monitor Download PDF

Info

Publication number
KR100190702B1
KR100190702B1 KR1019960018839A KR19960018839A KR100190702B1 KR 100190702 B1 KR100190702 B1 KR 100190702B1 KR 1019960018839 A KR1019960018839 A KR 1019960018839A KR 19960018839 A KR19960018839 A KR 19960018839A KR 100190702 B1 KR100190702 B1 KR 100190702B1
Authority
KR
South Korea
Prior art keywords
pixels
bezel
image
monitor screen
outline
Prior art date
Application number
KR1019960018839A
Other languages
Korean (ko)
Other versions
KR970078697A (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 KR1019960018839A priority Critical patent/KR100190702B1/en
Publication of KR970078697A publication Critical patent/KR970078697A/en
Application granted granted Critical
Publication of KR100190702B1 publication Critical patent/KR100190702B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0014Image feed-back for automatic industrial control, e.g. robot with camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • 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
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • 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/20182Noise reduction or smoothing in the temporal domain; Spatio-temporal filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Robotics (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

검사할 모니터의 화면과 전면커버의 경계를 이루는 베젤의 정확한 인식을 통하여 모니터 화면 조정에 사용되는 모니터의 위치, 틀어짐 각도 및 거리를 측정하고 모니터 화면에 표시된 패턴의 좌표를 정확하게 인식할 수 있는 모니터 화면의 베젤 검출방법에 관한 것으로, 화상 인식 카메라로 모니터 화면을 촬영하고 그 영상을 처리하여 베젤의 외곽선을 구하고, 임의의 외곽선 화소 k 에서 소정 화소 떨어진 화소 까지의 위치벡터 A, B 를 산출하고 그 합 벡터 Vsum(k)= A + B ,(k= 0 ... N-1, 여기서 N 은 외곽 화소의수)를 구하여 상기 벡터섬이 최대로 되는 점을 모서리로 판단하여 모서리의 위치를 구하고, 각 모서리의 해당 위치를 찾아 이를 기준으로 두 장변의 각도의 평균값으로 베젤의 틀어진 각도를 계산하여 보정하고 그 보정된 데이타를 저장한다.A monitor screen that measures the position, angle of deflection, and distance of the monitor used to adjust the monitor screen and accurately recognizes the coordinates of the pattern displayed on the monitor screen through accurate recognition of the bezel that forms the boundary between the screen of the monitor to be inspected and the front cover A bezel detection method for capturing a monitor screen with an image recognition camera, processing the image to obtain an outline of a bezel, calculating position vectors A and B from a pixel k to a pixel at a predetermined distance from an arbitrary outline pixel k, (K = 0, ..., N-1, where N is the number of outermost pixels) is determined as a vector Vsum (k) = A + B, Finds the corresponding position of each corner, calculates the angle of the bezel by calculating the average value of the angles of the two sides based on the corrected angle, and stores the corrected data.

Description

모니터 화면의 베젤 검출방법How to detect the bezel on the monitor screen

제 1 도는 본 발명이 적용되는 모니터 화면 조정장치의 구성을 보이는 블록도이다.FIG. 1 is a block diagram showing a configuration of a monitor screen adjusting apparatus to which the present invention is applied.

제 2 도는 본 발명에 의해 카메라로 촬영한 모니터 화면의 영상이다.FIG. 2 is an image of a monitor screen photographed by a camera according to the present invention.

제 3 도는 본 발명에 의한 모니터 화면의 베젤 검출방법을 보이는 플로우 챠트이다.FIG. 3 is a flow chart showing a bezel detection method of a monitor screen according to the present invention.

* 도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

10 : 카메라부 20 : 화상처리부10: camera unit 20: image processing unit

30 : 제어부 40 : 패턴 발생부30: control unit 40: pattern generating unit

50 : 모니터50: Monitor

본 발명은 모니터 화면의 베젤 검출방법에 관한 것으로서, 특히 검사할 모니터의 화면과 전면커버의 경계를 이루는 베젤의 정확한 인식을 통하여 모니터 화면 조정에 사용되는 모니터의 위치, 틀어짐 각도 및 거리를 측정하고 모니터 화면에 표시된 패턴의 좌표를 정확하게 인식할 수 있는 모니터 화면의 베젤 검출방법에 관한 것이다.The present invention relates to a method of detecting a bezel of a monitor screen, and more particularly, to a method of detecting a bezel of a monitor screen by measuring a position, a turning angle and a distance of a monitor used for adjusting the monitor screen through accurate recognition of a bezel, The present invention relates to a bezel detection method of a monitor screen capable of accurately recognizing coordinates of a pattern displayed on a screen.

종래에는 모니터의 화면 상태를 계측및 조정하는데 있어 작업자가 거울을 이용하여 반사되는 모니터의 화면을 보면서 조정하였으므로 작업자의숙련도에 따라 오차가 발생하여 품질의 균일성과 검사속도에 문제가 있었고 각 조정항목에서 세밀한 계측이 어려웠다.Conventionally, in order to measure and adjust the screen condition of the monitor, the operator adjusts the monitor by looking at the screen of the monitor which is reflected by using a mirror. Therefore, an error occurs according to the skill of the operator, Detailed measurement was difficult.

따라서, 카메라를 이용하여 자동으로 계측하는 시스템이 개발되었으며, 이러한 시스템에서는 카메라로 모니터 화면을 촬영하여 영상을 획득하고, 그 획득한 영상을 처리하여 각 점검 포인트(point)의 좌표를 구하여 소정 포인트들의 거리 및 위치등의 기하학적 관계를 측정하고, 그 기하학적 관계를 조정함으로써 모니터 화면을 조정한다.Accordingly, a system for automatically measuring by using a camera has been developed. In such a system, a monitor screen is photographed with a camera to acquire an image, and the acquired image is processed to obtain coordinates of each check point, Measures geometric relationships such as distance and position, and adjusts the monitor screen by adjusting its geometric relationships.

이와같은 시스템에서는 모니터 화면과 전면카바의 경계를 이루는 베젤부분의 정확한 측정이 모니터 화면 조정의 정확성을 높이는 변수가 된다.In such a system, accurate measurement of the bezel portion that forms the boundary between the monitor screen and the front cover becomes a parameter that increases the accuracy of the monitor screen adjustment.

본 발명은 상기와 같은 점을 감안하여 안출된 것으로서, 본 발명의 목적은 모니터를 카메라로 촬영하고 그 영상을 처리하여 모니터의 베젤을 정확히 인식하는 모니터 화면의 베젤 검출장치및 그 방법을 제공하는 것이다.SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for detecting a bezel on a monitor screen that photographs a monitor with a camera and processes the image to accurately recognize the bezel of the monitor .

상기의 목적을 달성하기 위하여 본 발명에 의한 방법은In order to achieve the above object,

화상 인식 카메라로부터 영상을 입력받아 이진화 과정을 실행하고, 상기 입력받은 화면의 왼쪽 상부화소부터 스캔하여 가면서 검색하여 베젤의 영상을 검출하는 단계와,Performing a binarization process by receiving an image from an image recognition camera, scanning the image from the upper left pixel of the input image to detect an image of the bezel,

상기 영상으로 부터 베젤의 외곽선을 구하고, 상기 외곽선의 화소중에서 설정된 시작점에서 우측으로 이동하여 외곽선의 화소수를 산출하여 기준 화소수보다 작은지를 판단하는 단계와,Calculating a number of pixels of the outline by determining whether the number of pixels of the outline is less than a reference number of pixels by moving to the right from the set start point among the pixels of the outline,

기준 화소수보다 작은 경우, 에러로 판단하여 상기 단계를 반복하고, 기준 화소수보다 큰 경우, 구해진 외곽선으로 다음과 같이 각 점의 벡터섬(Vecter Sum)을 구하는 단계와,Determining a vector sum (Vecter Sum) of each point as an outline if the number of reference pixels is smaller than a reference number of pixels,

임의의 외곽선 화소 k 에서 소정 화소 떨어진 화소 까지의 위치벡터 A, B 를 산출하고 그 합 벡터 Vsum(k)= A + B , (k= 0 ... N-1, 여기서 N 은 외곽 화소의수)를 구하는 단계와,(K = 0 ... N-1, where N is the number of outline pixels (A), B (A) ),

상기 단계에서 구한 벡터섬을 스무딩(Smoothing)하는 단계와A step of smoothing the vector island obtained in the step

상기 벡터섬이 최대로 되는When the vector island is maximized

Vmax = V(maxi) = max(Vsum(k), k=0...N-1),Vmax = V (maxi) = max (Vsum (k), k = 0 ... N-1)

(단, maxi 는 Vsum(k)이 최대인 k 값)(Where maxi is the k-value where Vsum (k) is the maximum)

를 산출하여 그 위치를 모서리로 판단하여 모서리의 위치를 구하는 단계와,Calculating a position of the corner by determining the position as an edge,

상기 구해진 모서리에 소정순서에 의해 번호를 할당하여 재배열하는 단계와,Assigning numbers to the found edges in a predetermined order and rearranging the numbers;

서로 인접한 모서리 화소가 만드는 직선이 최대가 되는 두 모서리가 장변이므로 이에 따라 각 모서리의 해당 위치를 찾을 수 있고, 이를 기준으로 두 장변의 각도의 평균값으로 베젤의 틀어진 각도를 계산하여 보정하고 그 보정된 데이타를 저장한다.Since the two edges where the straight line made by the neighboring edge pixels make the maximum are the long side, it is possible to find the corresponding position of each corner. Based on this, the angle of the bezel is calculated by the average value of the angles of the two long sides, And stores the data.

이하 첨부한 도면을 참조하여 본 발명을 상세히 설명한다.BRIEF DESCRIPTION OF THE DRAWINGS FIG.

제 1 도에 본 발명이 적용되는 모니터 화면 조정장치의 구성을 보이는 블록도가 도시된다.FIG. 1 is a block diagram showing a configuration of a monitor screen adjusting apparatus to which the present invention is applied.

모니터 화면 조정장치는 모니터(50)의 화면을 촬영하여 그 영상을 획득하는 카메라부(10)와, 상기 카메라부(10)로 부터 영상 데이타를 입력받아 화상 처리하는 화상 처리부(20)와, 상기 화상 처리부(20)로 부터 화상 처리 데이터를 입력받아 화면의 상태를 측정하여 측정결과에 따라 화면 조정신호를 출력하는 제어부(30)와, 상기 제어부(30)의 제어를 받아 상기 모니터부(50)에 일정한 패턴을 표시하는 패턴 표시신호를 출력하는 패턴 발생부(40)로 구성된다.The monitor screen adjustment device includes a camera section 10 that captures a screen of the monitor 50 and acquires the image, an image processing section 20 that receives image data from the camera section 10 and performs image processing, A control unit 30 that receives image processing data from the image processing unit 20 and measures the state of the screen and outputs a screen adjustment signal according to the measurement result; And a pattern generator 40 for outputting a pattern display signal for displaying a predetermined pattern on the display screen.

제 2 도에 본 발명에 의해 카메라로 촬영한 모니터 화면의 영상이 도시된다.FIG. 2 shows an image of a monitor screen photographed by a camera according to the present invention.

모니터 화면(100)에서 외곽에 모니터의 전면 카바(10)가 표시되며, 그 내부에 모니터의 전면카바(10)와 화면의 경계를 이루는 베젤(20)이 도시된다. 베젤(20)은 사각형이지만 모니터 화면의 곡률때문에 도시된 바와같이 가장자리가 볼록한 형태로 표시된다.A front cover 10 of the monitor is displayed on the monitor screen 100 in an outer area and a bezel 20 is shown inside the front cover 10 to form a boundary between the front cover 10 and the screen. The bezel 20 is rectangular but is displayed in a convex shape as shown because of the curvature of the monitor screen.

제 3 도에 본 발명에 의한 모니터 화면의 베젤 검출방법을 보이는 플로우 차트가 도시된다.FIG. 3 is a flowchart showing a bezel detection method of a monitor screen according to the present invention.

단계 301 에서 화상 카메라로 부터 화면의 영상을 입력받고, 단계 302 에서 상기 모니터 화면의 영상을 이진화한다. 단계 303 에서 상기 입력받은 화면의 왼쪽 상부화소부터 스캔하여 가면서 검색하여 베젤의 영상을 검출한다.In step 301, the image of the screen is input from the image camera, and in step 302, the image of the monitor screen is binarized. In step 303, the image of the bezel is detected by scanning from the upper left pixel of the input screen.

단계 304에서 상기 영상으로 부터 베젤의 외곽선을 구하고, 상기 외곽선의 화소중에서 설정된 시작점에서 우측으로 이동하여 외곽선의 화소수를 산출하고, 단계305에서 상기 외곽선의 화소수가 기준 화소수부다 작은지를 판단한다.In step 304, the outline of the bezel is obtained from the image, and the number of pixels on the outline is calculated by moving to the right from the set start point among the outline pixels. In step 305, it is determined whether the number of pixels on the outline is smaller than the reference number of pixels.

기준 화소수보다 작은 경우, 에러로 판단하여 상기 301 단계이하의 과정을 반복하고, 기준 화소수보다 큰 경우, 단계 306 으로 진행하여 구해진 외곽선으로 임의의 외곽선 화소 k 에서 소정 화소 떨어진 화소 까지의 위치벡터 A, B 를 산출하고 그 합 벡터 Vsum(k) = A + B , (k= 0 ... N-1, 여기서 N은 외곽 화소의수)를 구한다.If the number of reference pixels is smaller than the reference number of pixels, it is determined as an error and the process of step 301 and subsequent steps is repeated. If the number of reference pixels is larger than the reference number of pixels, A and B are calculated, and the sum vector Vsum (k) = A + B (k = 0 ... N-1, where N is the number of outer pixels) is obtained.

단계 307에서 상기 벡터섬이 최대로 되는In step 307, the vector is maximized

Vmax = V(maxi) = max(Vsum(k), k=0...N-1),Vmax = V (maxi) = max (Vsum (k), k = 0 ... N-1)

(단, maxi 는 Vsum(k)이 최대인 k 값)(Where maxi is the k-value where Vsum (k) is the maximum)

를 산출하여 그 위치를 모서리로 판단하여 모서리의 위치를 구한다.And the position of the corner is determined by determining the position as an edge.

단계 308에서 상기 구해진 모서리에 소정순서에 의해 번호를 할당하여 재배열하고, 단계 309에서 서로 인접한 모서리 화소가 만드는 직선이 최대가 되는 두 모서리가 장변이므로 이에따라 각 모서리의 해당 위치를 찾을 수 있고, 이를 기준으로 두 장변의 각도의 평균값으로 베젤의 틀어진 각도를 계산하여 보정하고 그 보정된 데이타를 저장한다.In step 309, the two edges at which the straight line formed by the neighboring corner pixels are at the longest side are determined so that the corresponding positions of the respective edges can be found. Based on the average of the angles of the two sides, calculate the angles of the bezel, and store the corrected data.

이상 설명한 바와 같이 본 발명에 의하면 카메라를 이용하여 모니터 화면을 촬영하고, 그 영상에서 베젤을 정확히 인식함으로써, 모니터 화면 조정의 정확성을 높일 수 있다.As described above, according to the present invention, the monitor screen is photographed using the camera, and the bezel is accurately recognized in the image, so that the accuracy of the monitor screen adjustment can be improved.

Claims (1)

모니터 화면을 카메라로 촬영하여 그 영상을 처리하여 그 처리결과에 의해 상기 모니터 화면을 조정하는 모니터 화면 조정장치에 사용되는 베젤 검출 방법에 있어서,A bezel detecting method for use in a monitor screen adjusting apparatus which photographs a monitor screen with a camera, processes the image, and adjusts the monitor screen according to a result of the processing, 화상 인식 카메라로부터 영상을 입력받아 이진화 과정을 실행하고, 상기 입력받은 화면의 왼쪽 상부화소부터 스캔하여 가면서 검색하여 베젤의 영상을 검출하는 단계와,Performing a binarization process by receiving an image from an image recognition camera, scanning the image from the upper left pixel of the input image to detect an image of the bezel, 상기 영상으로 부터 베젤의 외곽선을 구하고, 상기 외곽선의 화소중에서 설정된 시작점에서 우측으로 이동하여 외곽선의 화소수를 산출하여 기준 화소수보다 작은지를 판단하는 단계와,Calculating a number of pixels of the outline by determining whether the number of pixels of the outline is less than a reference number of pixels by moving to the right from the set start point among the pixels of the outline, 기준 화소수보다 작은 경우, 에러로 판단하여 상기 단계를 반복하고, 기준 화소수보다 큰 경우, 구해진 외곽선으로 다음과 같이 각 점의 벡터섬(Vecter Sum)을 구하는 단계와,Determining a vector sum (Vecter Sum) of each point as an outline if the number of reference pixels is smaller than a reference number of pixels, 임의의 외곽선 화소 k 에서 소정 화소 떨어진 화소 까지의 위치벡터 A, B 를 산출하고 그 합 벡터 Vsum(k)= A + B , (k= 0 ... N-1, 여기서 N 은 외곽 화소의수)를 구하는 단계와,(K = 0 ... N-1, where N is the number of outline pixels (A), B (A) ), 상기 단계에서 구한 벡터섬을 스무딩(Smoothing)하는 단계와A step of smoothing the vector island obtained in the step 상기 벡터섬이 최대로 되는When the vector island is maximized Vmax = V(maxi) = max(Vsum(k), k=0...N-1),Vmax = V (maxi) = max (Vsum (k), k = 0 ... N-1) (단, maxi 는 Vsum(k)이 최대인 k 값)(Where maxi is the k-value where Vsum (k) is the maximum) 를 산출하여 그 위치를 모서리로 판단하여 모서리의 위치를 구하는 단계와,Calculating a position of the corner by determining the position as an edge, 상기 구해진 모서리에 소정순서에 의해 번호를 할당하여 재배열하는 단계와,Assigning numbers to the found edges in a predetermined order and rearranging the numbers; 서로 인접한 모서리 화소가 만드는 직선이 최대가 되는 두 모서리가 장변이므로 이에 따라 각 모서리의 해당 위치를 찾을 수 있고, 이를 기준으로 두 장변의 각도의 평균값으로 베젤의 틀어진 각도를 계산하여 보정하고 그 보정된 데이타를 저장하는 단계를 구비하는 것을 특징으로 하는 모니터 화면의 베젤 검출 방법.Since the two edges where the straight line made by the neighboring edge pixels make the maximum are the long side, it is possible to find the corresponding position of each corner. Based on this, the angle of the bezel is calculated by the average value of the angles of the two long sides, And storing the bezel data in the monitor screen.
KR1019960018839A 1996-05-30 1996-05-30 Method for detecting bezel of monitor KR100190702B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960018839A KR100190702B1 (en) 1996-05-30 1996-05-30 Method for detecting bezel of monitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960018839A KR100190702B1 (en) 1996-05-30 1996-05-30 Method for detecting bezel of monitor

Publications (2)

Publication Number Publication Date
KR970078697A KR970078697A (en) 1997-12-12
KR100190702B1 true KR100190702B1 (en) 1999-06-01

Family

ID=19460253

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960018839A KR100190702B1 (en) 1996-05-30 1996-05-30 Method for detecting bezel of monitor

Country Status (1)

Country Link
KR (1) KR100190702B1 (en)

Also Published As

Publication number Publication date
KR970078697A (en) 1997-12-12

Similar Documents

Publication Publication Date Title
US7139424B2 (en) Stereoscopic image characteristics examination system
KR100499764B1 (en) Method and system of measuring an object in a digital
US20150153158A1 (en) Length measurement method and device of the same
US11562478B2 (en) Method and system for testing field of view
JPH1144533A (en) Preceding vehicle detector
KR100190702B1 (en) Method for detecting bezel of monitor
US8102516B2 (en) Test method for compound-eye distance measuring apparatus, test apparatus, and chart used for the same
US10511780B2 (en) Detecting device, and method for controlling the same
JPH0875454A (en) Range finding device
EP1676238B1 (en) A method for measuring dimensions by means of a digital camera
JP2961140B2 (en) Image processing method
KR101703715B1 (en) The apparatus for measuring camera principal point and the method thereof
WO2001022070A1 (en) Method and system of lcd inspection by pattern comparison
JP2001280939A (en) Method of evaluating abnormal condition of object surface
JPH03186706A (en) Three-dimensional shape dimension measuring instrument
KR940003791B1 (en) Width measuring device
JP2020129187A (en) Contour recognition device, contour recognition system and contour recognition method
JP2001258054A (en) Image quality inspection device and detector for center of gravity of luminance used therefor
KR100216951B1 (en) Apparatus and method of cross hatch pattern recognition
KR970012877A (en) Cathode ray tube screen inspection adjusting device and method
JPH01315884A (en) Pattern tracking method
JPH0310107A (en) Inspecting method utilizing gradation pattern matching
US20220383526A1 (en) Method for measuring a distance separating a camera from a reference object
JPH0554127A (en) Visual recognizing device
JP3755319B2 (en) Main subject detection device and apparatus using the same

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee