the offset image really only needs a median filter