Determination of border ownership based on the surround context of contrast