Blind detection of median filtering in digital images: a difference domain based approach