Cosmetic - change order of calls so that default params are calculated first, then all image processing done.