Here’s a plugin for the GIMP that you can use to erase the background.. a Windows .exe is included, and source but not a Makefile. My interest doesn’t extend to writing one unfortunately!
Gimp plugin for “intelligent Erasor”
replace the selection with an interpollated background. If the border along the selection is relatively continuous, i.e. a pretty boring background, then this tool works as an erasor.
I added the complete sources from the gimp-plugin-template,
and a linux and windows binary…