1. A method for motion detection, the method comprising: determining a first motion measure for a pixel based on differences between first neighboring pixels of the pixel, wherein determining a first motion measure comprises determining a frame difference measure for the pixel based on a subset of the first neighboring pixels, determining a slow motion frame difference measure for the pixel based on the first neighboring pixels, and mixing the frame difference measure and the slow motion frame difference measure based on the detail measure to generate the first motion measure; determining a detail measure for the pixel, wherein the detail measure is indicative of an amount of detail in second neighboring pixels of the pixel; adapting a first coring threshold and a first gain of a first transfer function based on the detail measure; and using the adapted first transfer function to map the first motion measure to a first motion parameter.