From comparison to classification: A cortical tool for boosting perception