Computational Mid-Level Vision: From Border Ownership to Categorical Object Recognition