Computational evaluation of sparse coding on off-axis electron holograms: comparison between charge-coupled device