IRAF's starfind algorithm allows to set datamin and datamax values to filter out detections.
datamin
datamax
Would be a nice (and relatively simple?) addition for both star finders.