DOI QR코드

DOI QR Code

임베디드 시스템을 위한 터치스크린 패널의 터치 영역 인식 기법의 성능 비교

Performance Comparison of the Recognition Methods of a Touched Area on a Touch-Screen Panel for Embedded Systems

  • 오삼권 (호서대학교 컴퓨터공학부) ;
  • 박근덕 (호서대학교 컴퓨터공학부) ;
  • 김병국 (호서대학교 컴퓨터공학부)
  • 발행 : 2009.09.30

초록

터치스크린 기능이 있는 LCD 패널이 부착된 임베디드 시스템의 경우, 사용자 입력 명령의 전달을 위해 사각형, 오각형, 원, 화살표 같은 다양한 도형들이 자주 사용된다. 이 경우, 특정 명령 입력 여부의 판단을 위해 터치된 지점이 그 명령을 의미하는 도형 내에 있는지의 여부를 판단하는 알고리즘이 필요하다. 그러나 이런 알고리즘들은 제한된 컴퓨팅 자원을 갖는 임베디드 시스템의 경우 상당한 오버헤드를 유발 할 수 있다. 본 논문의 목적은 현재 널리 쓰이고 있는 터치 영역 인식 알고리즘들을 구현하고, 그 성능을 평가하여 가장 효율적인 인식 방법을 제시하는데 있다. 따라서 본 논문은 우선 터치스크린 LCD 모듈이 부착된 LN2440SBC 임베디드 보드를 위한 터치스크린의 초기화 및 구동 방법과 터치스크린의 좌표를 LCD 패널의 좌표에 맞춰 조절하는 좌표보정 방법을 설명하고, 다음에 도형 영역의 터치 여부의 판단을 위해 사용 되고 있는 사각형의 범위 검사법, 오각형과 같은 다각형의 교차 수(crossing number) 검사법, 원의 거리 측정법, 그리고 모든 도형들에 적용 가능한 색상 비교법을 구현한다. 이 방법들의 성능평가를 위해, 사각형, 오각형, 원, 그림 등을 그리기 위한 이차원 그래픽스 함수들을 구현하고 도형을 생성한 후, 각 방법에 따라 해당 도형들의 영역 터치 여부를 판단하는데 걸리는 시간을 측정한다. 이 측정 결과, 사각형은 범위 검사법이, 원은 거리 측정법이, 다각형 및 그림을 이용한 도형일 경우에는 색상 비교법이 가장 적합한 것으로 나타났다.

In case of an embedded system having an LCD panel with touch-screen capability, various figures such as rectangles, pentagons, circles, and arrows are frequently used for the delivery of user-input commands. In such a case, it is necessary to have an algorithm that can recognize whether a touched location is within a figure on which a specific user-input command is assigned. Such algorithms, however, impose a considerable amount of overhead for embedded systems with restricted amount of computing resources. This paper first describes a method for initializing and driving a touch-screen LCD and a coordinate-calibration method that converts touch-screen coordinates into LCD panel coordinates. Then it introduces methods that can be used for recognizing touched areas of rectangles, many-sided figures like pentagons, and circles; they are a range checking method for rectangles, a crossing number checking method for many-sided figures, a distance measurement method for circles, and a color comparison method that can be applied to all figures. In order to evaluate the performance of these methods, we implement two-dimensional graphics functions for drawing figures like triangles, rectangles, circles, and images. Then, we draw such figures and measures times spent for the touched-area recognition of these figures. Measurements show that the range checking is the most suitable method for rectangles, the distance measurement for circles, and the color comparison for many-sided figures and images.

키워드

참고문헌

  1. Samsung Electronics, "S3C2440A 32-BIT CMOS MICROCONTROLLER USER'S MANUAL Revision 1", Samsung Electronics, 2004.
  2. 홍건표, 하동호, "ARM920T S3C2440A를 이용한 개발자들을 위한 ARM 프로세서", OHM, 2006.
  3. ROBERT SEDGEWICK, "Algorithms in C++", Addison Wesley, 1992.
  4. 이준호, 박영진, 박윤식, "보 보강재 배치 최적화 문제에서의 기하구속조건 처리기법 ", 한국소음진동공학회 춘계학술발표대회 논문집, 단일호, pp. 870-875, 2004.
  5. John Catsoulis, "Designing Embedded Hardware, 2nd ED의 역서", 한빛미디어, 2007.
  6. Samsung Electronics, "Product Information LTV350QV-F04", Samsung Electronics, 2005.
  7. Donald Hearn, M.Pauline Baker, "COMPUTER GRAPHICS의 역서", 아진, 2002.
  8. 최윤철, 임순범, "컴퓨터 그래픽스 배움터(개정판)", 생능, 2006.