Three-dimensional imaging of carbon nanotubes deformed by metal islands