Update analyze.cpp

getOptimalSizeImage commented.