Thanks, your command works. However it only works for small objects, it doesn't for a larger and more complicate one. Input: http://www.upsieutoc.com/images/2014/07/25/overlaycba2f.png Result: http://www.upsieutoc.com/images/2014/07/25/result.png If possible, the small dot outside the border should ...
I have many monochrome images which always have a closed border. I want everything inside that border to be cleared, the output is only the border. Input: http://www.upsieutoc.com/images/2014/07/25/e1.png Output: http://www.upsieutoc.com/images/2014/07/25/e.png If you have a direct option, then it's...