Show all scripts

Remove FEG Fluctuations

Category: Image Filters
Description: Script to remove horizontal striping due to FEG fluctuations This script works by creating an average vertical profile of the image intensity. This meanprofile is propagated into an image the same size as the original image. This image (divideimg) is then divided into the front image. The resulting image shows marked reduction in the FEG banding.
Comments: Tested on DM 3.7, 3.8 and 3.9. An alternative strategy is to use FFT processing, since the banding occurs as a very narrow vertical strip in the FFT. This can be excluded with a narrow vertical wedge mask, and a very clean result is obtained. This approach should be readily scriptable and usable, provided images are 2n x 2n square.
Script version: 1.3
DM/GMS version: 3.8.2
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download