Reconfigurable imaging systems using elliptical nanowires