Notebook name: fix_images.ipynb
This notebook allows you to fix a set of images by replacing all the pixels having the same value, by another value. For example, you can replace all the Inf values by 0 or np.NaN.
Here is the list of things you can fix:
and here is the list of things you can replace with:
Need help using the IPTS selector?
Using the files selection tool, select the images you want to fix.
In order to get an idea of what you need to correct, the next cell will display the following informations.
A slider allows you to check those parameters for each of the images you loaded.
This is where you are able to visualize the corrections you are about to apply to the data. You can select which corrections you want to apply and see the effect on the image and its histogram.
You can make the following corrections
where np.NaN is the numpy NaN.
You can slide through the images to display
Using the folder selection tool to select the output location of all the images corrected.