Simple 'smart' glass can tell images apart without needing power