The MATLAB code used for the Master Thesis "Multi-spectral X-ray imaging with a laser-plasma accelerator" in photonics at Lund University, written by me, Andrea Angella.
There are 8 MATLAB code files. The most important one is "xrayMatrix.m" which contains the definition of the class "xrayMatrix" and many of the methods that are used. Please refer to the descriptions of all functions within the files to know exactly how they work.
The file "main_test.m" has an example code that can be run to detect the metals a Ross filter. Make sure to include the folder "x-rays" which contains a sub-folder "31-03-2022" with the image files in the directory with the other matlab files. Just make sure to keep the folder "x-rays" as it is (do not extract the subfolder, the selection of the image files is done within the "main_text.m" script.