A newer improved version is available here: MEDPSeg.
If you got here trough an older paper link and are interested on older code, check the legacy branch on this repository. We strongly recommend using MEDPSeg for better performance and information on newer publications.