Giter VIP home page Giter VIP logo

lgp_mura_detector's Introduction

导光板缺陷检测

背景介绍


该项目用于导光板(Light Guide Plate)的缺陷检测,检测的缺陷类型为线缺陷(mura?)。通过对输入图像进行处理,标记图像中存在的缺陷位置。(目前尚未完成)

方法


该方法包含以下几个步骤:

       
图像说明
输入 原始图像,缺陷所处像素与周围像素非常接近
裁剪 裁掉了部分背景,保留导光板部分。(当时手动裁了)
直方图均衡化 此时可以较为容易地看到需要检测的那条曲线。
二值化
膨胀腐蚀 形态学操作
连通区域检测
输出 图中有颜色部分即为检测到的缺陷部分

文件


  1. gt1.jpg,gt2.jpg以及gt3.jpg为标注图像;
  2. 1.BMP,2.BMP以及3.PNG为对应图像裁剪后的图像;
  3. detect.cpp即为本项目代码文件。

实验环境


1.硬件环境:Windows 7x64,i3处理器; 2.软件环境:VS2013, openCV 3.0

To Do


有空在学习下Halcon。目前Halcon 1.2的mura detector的例子不能正常检测出缺陷。

lgp_mura_detector's People

Contributors

liang-yc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.