Learning the Material Physics of Graphite Electrodes through Image Inversion