Want to outline based on the edge of the area is extracted
Images are few, above is a black belt and a square piece, I wanted to do, according to the edge but only test the code on the net, not after the edge of the connection, and the edge inside a block of code to painted white, bosses can be achieved with this, c + + and matlab can, thank you very much