你可以试试腐蚀膨胀 http://book.openmv.cc/example/04-Image-Filters/erode-and-dilate.html