Testing algorithm with real size image