by default, edge will be 1/2*thresh (method=1) or 2/3*thresh (method=21)
Subregion fits files (data,err,mask) will be exported if the xyrange option is used (requires some cleanup)