tangsanli5201 / DeepPCB

A PCB defect dataset.
MIT License
358 stars 97 forks source link

图像裁剪 #2

Closed zhao-create closed 5 years ago

zhao-create commented 5 years ago

请问一下怎么将16K16K图像裁剪为640640的?

tangsanli5201 commented 5 years ago

先把模板图均等裁剪为640x640,然后再在被测图相应位置把模板图贴上去,在周围一定范围区域内做模板匹配,找到最匹配的那块被测图,裁下来。

tangsanli5201 commented 5 years ago

finished.