Boofcv converter: fix contour processing and test