A method for displaying an autostereoscopic image