remove dependency on lat2 parameter because is determined by image height