add crop image function
improve selfcalibration function
remove maskedge option