Graph cuts segmentation with kernel shape priors