=Compute median dark frame