read and analyse 2 photon images from ScanImage