For dark and flat field (open beam)images,the correction was done by applying a median filter over 10 images by the Octopus software.
For each pixel the median pixel value (with in the 10 values of the 10 images)was taken to obtain the resulting dark current and flat field (open beam)images.