Added code to analyze high intensity images