A cognitive architecture for artificial vision