Box spaces in pictorial space: Linear perspective versus templates