terminalAndGliaMitoAnalysis: tolerate a small divergence in npix and image size