A C++ LGPL implementation of this has been as been developed as part of last year Inkscape GSoC and is available as a standalone library: https://launchpad.net/libdepixelize
It will be released in the next Inkscape major version, expected soon :)
It will be released in the next Inkscape major version, expected soon :)