DOI QR코드

DOI QR Code

Automatic Defect Inspection with Adaptive Binarization and Bresenham's Algorithm for Spectacle Lens Products

적응적 이진화 기법과 Bresenham's algorithm을 이용한 안경 렌즈 제품의 자동 흠집 검출

  • Received : 2017.06.01
  • Accepted : 2017.06.15
  • Published : 2017.07.31

Abstract

In automatic defect detection problem for spectacle lenses, it is important to extract lens area accurately. Many existing detection methods fail to do it due to insufficient minute noise removal. In this paper, we propose an automatic defect detection method using Bresenham algorithm and adaptive binarization strategy. After usual average binarization, we apply Bresenham algorithm that has the power in extracting ellipse shape from image. Then, adaptive binarization strategy is applied to the critical minute noise removal inside the lens area. After noise removal, We can also compute the influence factor of the defect based on the fuzzy logic with two membership functions such as the size of the defect and the distance of the defect from the center of the lens. In experiment, our method successfully extracts defects in 10 out of 12 example images that include CHEMI, MID, HL, HM type lenses.

기존의 안경 렌즈 흠집 검출 방법은 영상내의 미세 잡음이 제거되지 않아 렌즈 영역이 정확히 추출되지 않는 경우가 발생하여 흠집 영역을 검출할 수 없다는 문제점이 발생한다. 따라서 본 논문에서는 이러한 문제점을 개선하기 위해 적응적 이진화 기법과 Bresenham algorithm을 적용하여 흠집 영역을 검출한다. 제안된 방법은 안경 렌즈 영상에서 명암 대비를 적용하여 렌즈의 명암을 강조한다. 명암이 강조된 영상에서 렌즈 밖의 배경 영역은 흠집 검출에 불필요하므로 이진화 기법을 적용한 후에 Bresenham algorithm을 적용하여 렌즈의 윤곽선을 검출하고 렌즈 이외의 배경을 제거한다. 렌즈 이외의 배경이 제거된 렌즈 영상에서 렌즈 내부의 배경과 흠집의 명암 대비를 높인다. 명암이 강조된 렌즈 내부 영역에서 적응적 이진화 기법을 적용하여 흠집과 잡음을 검출한다. 잡음은 중간값 필터를 적용하여 제거한 후에 흠집 영역을 추출한다. 추출된 흠집 영역에서 렌즈의 중심으로부터의 거리와 흠집의 크기를 퍼지 추론 규칙에 적용하여 눈에 미치는 영향 정도를 분석한다. 제안된 방법의 성능을 분석하기 위해 CHEMI, MID, HL, HM과 같은 시력 보정용 렌즈 영상을 대상으로 실험한 결과, 12개의 시력 보정용 렌즈 영상 중에서 10개에서 결함을 성공적으로 추출하였다.

Keywords

References

  1. J. H. Kim, J. S. Hong, H. J. Lee, "A Research on the Actual Condition of Wearing Progressive addition Lens in accordance with the Occupations and Refractive State of Presbyopia," The Korean Society of Vision Science, vol. 11, no. 2, pp. 93-104, Jun. 2009.
  2. W. J. Lee, "A Study on DLC Hard Coating in Ocular Lens (CR - 39)," Journal of Korean Ophthalmic Optics Society, vol. 6, no. 1, pp. 87-91, Jun. 2001.
  3. K. B.Kim, D. H. Song, Y. W. Woo, "Fuzzy Scratch Inspection of Sight-Corrective Spectacle Lenses," International Journal of Multimedia and Ubiquitous Engineering, vol. 9, no. 3, pp. 1-10, Mar. 2014.
  4. F. L. Gaol, "Bresenham Algorithm: Implementation and Analysis in Raster Shape," JOURNAL OF COMPUTERS, vol. 8, no. 1, pp. 69-78, Jan. 2013.
  5. J. H. Joo, J. S. Oh, "An Adaptive Binarization Algorithm for Degraded Document Images," Journal of Communications and Networks, vol. 37, no. 7, pp. 581-585, Jul, 2012.
  6. S. H. Jung, H. S. Kim, "The Study for Pupil Position in the Eye size After Glasses," The Korean Society of Vision Science, vol. 11, no. 4, pp. 285-291, Dec. 2009.
  7. K. B. Kim, H. J. Park, D. H. Song, "Vision-based Crack Identification on the Concrete Slab Surface using Fuzzy Reasoning Rules and Self-Organizing," International Journal of Electrical and Computer Engineering, vol.6, no.4, pp. 1577-1586, Aug. 2016.