The classification and integration of edges as critical to the perception of reflectance and illumination