Difference: MedipixMATLABScripts (3 vs. 4)

Revision 42008-11-26 - DavidPennicard

Line: 1 to 1
 
META TOPICPARENT name="MedipixUSBReadout"

MATLAB scripts for Medipix2 analysis

Line: 18 to 18
  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.
Added:
>
>
NoisePowerSpectrum.m - As discussed on the previous page, to measure the frequency response of a detector you need to consider the signal-to-noise ratio, rather than the MTF alone. For example, some processes in a detector such as charge sharing will "blur" both the signal and the noise, whereas others like poor optics will blur the signal without reducing the noise. This script is used to calculate the noise power spectrum from a large number of flood images.
 ClusterAnalysis.m - If you use a short acquisition time or a lower-intensity source, so that most pixels have 0 hits and very few have more than 1, it becomes possible to distinguish between hits produced by alphas (large round clusters), betas (smaller, irregular clusters due to scattering) and gammas (photoelectric absorption, hitting only 1 or 2 pixels). See the image below. This example script uses histogramming and image erosion to distinguish between the different clusters. Example ASCII image files are available for a mixed alpha, beta, gamma source, and the same source with alphas removed using a slide.
Line: 34 to 36
 
META FILEATTACHMENT attachment="MeanImage.m" attr="" comment="Mean image script" date="1217439028" name="MeanImage.m" path="MeanImage.m" size="1245" stream="MeanImage.m" tmpFilename="/usr/tmp/CGItemp31727" user="DavidPennicard" version="1"
META FILEATTACHMENT attachment="FlatFieldCoefficients.m" attr="" comment="Flat field script" date="1217439041" name="FlatFieldCoefficients.m" path="FlatFieldCoefficients.m" size="1904" stream="FlatFieldCoefficients.m" tmpFilename="/usr/tmp/CGItemp31680" user="DavidPennicard" version="1"
META FILEATTACHMENT attachment="NoiseAnalysis.m" attr="" comment="Noise analysis script" date="1217439053" name="NoiseAnalysis.m" path="NoiseAnalysis.m" size="4825" stream="NoiseAnalysis.m" tmpFilename="/usr/tmp/CGItemp31658" user="DavidPennicard" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="FindMTFFromEdge_testbeam.m" attr="" comment="Modulation Transfer Function script" date="1217439070" name="FindMTFFromEdge_testbeam.m" path="FindMTFFromEdge_testbeam.m" size="15939" stream="FindMTFFromEdge_testbeam.m" tmpFilename="/usr/tmp/CGItemp31782" user="DavidPennicard" version="1"
>
>
META FILEATTACHMENT attachment="FindMTFFromEdge_testbeam.m" attr="" comment="" date="1227700078" name="FindMTFFromEdge_testbeam.m" path="FindMTFFromEdge_testbeam.m" size="17086" stream="FindMTFFromEdge_testbeam.m" tmpFilename="/usr/tmp/CGItemp29954" user="DavidPennicard" version="2"
 
META FILEATTACHMENT attachment="ClusterAnalysis.m" attr="" comment="Cluster analysis script" date="1217439082" name="ClusterAnalysis.m" path="ClusterAnalysis.m" size="2865" stream="ClusterAnalysis.m" tmpFilename="/usr/tmp/CGItemp31677" user="DavidPennicard" version="1"
META FILEATTACHMENT attachment="MixedSourceImage.jpg" attr="" comment="Image with mixed source showing clusters" date="1217440419" name="MixedSourceImage.jpg" path="MixedSourceImage.jpg" size="39367" stream="MixedSourceImage.jpg" tmpFilename="/usr/tmp/CGItemp31761" user="DavidPennicard" version="1"
META FILEATTACHMENT attachment="Image_aby.txt" attr="" comment="Alpha, beta, gamma ASCII file" date="1217440437" name="Image_aby.txt" path="Image_aby.txt" size="131328" stream="Image_aby.txt" tmpFilename="/usr/tmp/CGItemp31848" user="DavidPennicard" version="1"
META FILEATTACHMENT attachment="Image_by.txt" attr="" comment="Beta, gamma ASCII file" date="1217440460" name="Image_by.txt" path="Image_by.txt" size="131328" stream="Image_by.txt" tmpFilename="/usr/tmp/CGItemp31788" user="DavidPennicard" version="1"
Added:
>
>
META FILEATTACHMENT attachment="NoisePowerSpectrum.m" attr="" comment="" date="1227700184" name="NoisePowerSpectrum.m" path="NoisePowerSpectrum.m" size="4804" stream="NoisePowerSpectrum.m" tmpFilename="/usr/tmp/CGItemp35005" user="DavidPennicard" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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