1. 表面划伤检测
例程:suface_scratch.dev
描述:Detect scratches on a surface via local thresholding and morphology
通过使用局部阈值实现表面划伤的检出,核心函数是dyn_threshold(动态阈值),通过使用平滑图与实际的图作差来凸显真的缺陷,对于拍摄相对清晰的图有很好的效果。
2.基于结构光的用于反光表面的缺陷检测(偏析法 deflectometry)
例程:structured_light_tap_collar.dev
描述:Detect defect on specular surface using deflectometry
利用镜面反射,通过显示器投影条纹,再通过相机采集反射的条纹信息,最终获取缺陷图,解决了带有镜面反射的物体表面的缺陷和划痕检测。
例程2:structured_light_partially_specular.hdev
描述:Detect defects on partially specular surfaces using deflectometry
利用单条纹结构光解决部分反射表面的误检问题。