文章目录
*这个示例程序展示了如何使用局部可变形匹配来查找变形的对象。
*在这个例子中,物体的变形是由模拟的棉塞印刷效果产生的。
*准备MVTec徽标的局部可变形模型。
*这个示例程序展示了如何使用局部可变形匹配来查找变形的对象。
*在这个例子中,物体的变形是由模拟的棉塞印刷效果产生的。
*准备MVTec徽标的局部可变形模型。
dev_update_off ()
Width := 256
Height := 256
create_mvtec_logo_broadened (LogoImage, 0, 200, Width, Height)
decompose3 (LogoImage, ImageR, ImageG, ImageB)
WindowWidth := 2 * Width
WindowHeight := 2 * Height
Smoothness := 21
dev_close_window ()
dev_open_window (0, 0, WindowWidth, WindowHeight, 'black', WindowHandle1)
dev_display (LogoImage)
set_display_font (WindowHandle1, 16, 'mono', 'true', 'false')
disp_message (WindowHandle1, 'Model image', 'window', 12, 12, 'black', 'true')
rgb1_to_gray (LogoImage, GrayImage)
gen_rectangle1 (Rectangle, 82, 17, 177, 235)
reduce_domain

该程序演示了通过局部可变形匹配技术来检测和识别经历变形的物体,如由棉塞印刷效果造成的物体变形。重点介绍了在MVTec徽标上的应用。
最低0.47元/天 解锁文章
4万+

被折叠的 条评论
为什么被折叠?



