Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|

## MATLAB scripts for Medipix2 analysis | ||||||||

Line: 14 to 14 | ||||||||

MeanImage.m - If you use Pixelman to take multiple acquisitions, an index will be added to the filename of each image. This is a very simple function to find the mean of the images, by looping through them. | ||||||||

Changed: | ||||||||

< < | FlatFieldCoefficients.m - After taking a series of flat field images and finding their mean, this generates an matrix containing flat field coefficients. Flat field correction can then be applied in MATLAB by multiplying an image by this matrix. Note that any pixels in the flat-field image containing zero counts cannot be corrected – this function sets the corresponding FF coefficients to 1. | |||||||

> > | FlatFieldCoefficients.m - After you take a series of flat field images and find their mean, this can be used to generate a matrix containing flat field coefficients. Flat field correction can then be applied in MATLAB by multiplying an image by this matrix. Note that any pixels in the flat-field image containing zero counts cannot be corrected – this function sets the corresponding FF coefficients to 1. | |||||||

FindMTFFromEdge_testbeam.m - This script takes an image of an edge, and finds the edge spread function from it. It then differentiates this to find the line spread function, and takes the Fourier transform to get the Modulation Transfer Function. (Insert reference.) There are also a few bits of code to extract data directly from the line spread function, such as the full-width half maximum. Ideally, the image of the edge should have been flat-field corrected. |

View topic | History: r6 < r5 < r4 < r3 | More topic actions...

Copyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

Ideas, requests, problems regarding TWiki? Send feedback