Atomic resolution in three dimensions using STEM and OpenCV