Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| pattern_matching [2014/02/13 14:13] – rosario | pattern_matching [2026/08/18 09:39] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Pattern Matching ====== | ||
| - | ===== Summary ===== | ||
| - | |||
| - | |||
| - | Pattern Matching Analysis by decomposing a recorded image into different user-defined patterns. Display of the calculated data using an RGB false color model. The calculated amplitudes of the first three defined patterns are depicted in three different colors for each pixel. | ||
| - | |||
| - | ==== Open an Image ==== | ||
| - | |||
| - | The following steps describe how to perform a Pattern Matching Analysis on raw data. This allows for separating different dyes or regions of different lifetime/ | ||
| - | |||
| - | * Copy the sample workspace from the DVD to a local disc drive and open it.\\ | ||
| - | **Response: | ||
| - | |||
| - | {{ pattern_matching_Image_1.png }} | ||
| - | |||
| - | * Click on the file '' | ||
| - | **Response: | ||
| - | * The file is highlighted in the workspace tree view. | ||
| - | |||
| - | * Open the //Imaging// drop down window of the // | ||
| - | {{ pattern_matching_Image_2.png }} | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | ==== Select Patterns ==== | ||
| - | |||
| - | **Note:** Once an image is generated, the next step is to select the patterns which are to be used for decomposing the image. | ||
| - | |||
| - | * Variate the settings of the Rainbow-image via the sliders for intensity and lifetime to enhance the contrast between the different regions. | ||
| - | {{ pattern_matching_Image_3.png? | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | **Note:** Have a look at the //Decay Diversity Map//. This new feature tells you more about the different populations in the picture. The //Decay Diversity Map// is a 2D histogram. The x-axis shows a histogram of the average lifetimes of the pixels in the image. The y-axis shows a histogram of the Delta-Tau values of each pixel in the image.\\ | ||
| - | This quantity relates to the deviation of the fluorescence decay from a mono-exponential decay. While a small value depicts a mono-exponential decay, a bigger Delta-Tau value indicates a multi-exponential one.\\ | ||
| - | |||
| - | {{ pattern_matching_Image_4.png? | ||
| - | |||
| - | **Note:** In the example, two peaks in the average lifetime (x-axis) can already be seen. | ||
| - | |||
| - | * Zoom into the //Decay Diversity Map// to see the two different populations and their different lifetime-properties. | ||
| - | {{ pattern_matching_Image_5.png? | ||
| - | |||
| - | |||
| - | |||
| - | **Response: ** The zoomed region is now displayed in the same resolution as before. | ||
| - | {{ pattern_matching_Image_6.png? | ||
| - | |||
| - | * Click the //Optimize View// button to enhance the resolution.\\ | ||
| - | |||
| - | **Response: | ||
| - | {{ pattern_matching_Image_7.png? | ||
| - | |||
| - | * In the right-click menu select the magic wand ROI (region-of-interest). | ||
| - | |||
| - | {{ pattern_matching_Image_8.png? | ||
| - | |||
| - | * Select the innermost contour line by clicking on it. | ||
| - | {{ pattern_matching_Image_9.png? | ||
| - | |||
| - | **Response: | ||
| - | * The selected ROI is highlighted in the //Decay Diversity Map//. Also the location of the selected pixels in the intensity image is depicted. | ||
| - | * Click //Add ROI// in the // | ||
| - | {{ pattern_matching_Image_10.png }} | ||
| - | |||
| - | **Response: | ||
| - | {{ pattern_matching_Image_11.png? | ||
| - | |||
| - | * Rename the pattern by clicking on it. Change the name to "// | ||
| - | {{ pattern_matching_Image_12.png }} | ||
| - | |||
| - | * Now repeat steps 5-8 to add the second population as "// | ||
| - | {{ pattern_matching_Image_13.png? | ||
| - | |||
| - | {{ pattern_matching_Image_10.png }} | ||
| - | |||
| - | **Response: | ||
| - | {{ pattern_matching_Image_15.png? | ||
| - | |||
| - | **Note:** Another option to acquire the patterns would be to select the different populations in the intensity image also using the magic wand ROI. Several non-connected regions can be selected by pressing the Shift-key while clicking. The procedure resembles the one described above.\\ | ||
| - | Patterns can also be imported from other measurements. For more details, see **Additional Information** at the end of this step-by-step manual.\\ | ||
| - | Patterns can be saved by simply clicking the save button in the Pattern box. This allows for analyzing them with the TCSPC Fitting feature and calculating the values of the average FRET efficiency and binding (not shown). | ||
| - | |||
| - | ==== Perform a Pattern Fit ==== | ||
| - | |||
| - | **Note:** The desired patterns are already selected (in the example the FRET and the non-FRET pattern) and can now be used for fitting.\\ | ||
| - | It is recommended to perform an initial fit before starting the Pattern Fit. This is because some parameters of the initial fit will be used in the Pattern Fit as start parameters and also because an initial fit is a good indicator, whether the defined patterns suffice to describe the image.\\ | ||
| - | The initial fit {{initial_fit.png}} feature decomposes the overall decay (average over all pixels) into the user-defined patterns. This is done in terms of a linear combination. In general, for i Patterns it finds the corresponding amplitude αi: | ||
| - | |||
| - | // | ||
| - | |||
| - | In addition, a shift parameter can shift the decay in time.\\ | ||
| - | If the residuals of the initial fit show no trend or outliers, it is safe to assume that the selected patterns suffice to describe the image and a Pattern Fit can be started. | ||
| - | |||
| - | {{ pattern_matching_Image_16.png }} | ||
| - | |||
| - | **Note:** The Pattern Fit {{pattern_fit.png}} algorithm is similar to the initial fitting one, but instead of decomposing the overall decay, it performs the decomposition on each pixel. The linear decompositions of the particular pixels give different αi's for every pixel.\\ | ||
| - | After the fitting process a false color RGB image is displayed which shows the amplitudes αi of the first three patterns in three different colors for each pixel. | ||
| - | |||
| - | * Since the patterns are taken from the same measurement as the overall decay, it is justified to first set the //Limits of the Shift// values to 0, as there shouldn' | ||
| - | |||
| - | {{ pattern_matching_Image_17.png }} | ||
| - | |||
| - | * Clicking //Initial Fit// will perform a fit for the overall decay (all photons of the image) by mixing the different patterns. As standard a Monte-Carlo search algorithm will be followed by a MLE optimization procedure. | ||
| - | |||
| - | {{ pattern_matching_Image_18.png }} | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | {{ pattern_matching_Image_19.png? | ||
| - | |||
| - | * Start fitting the image by pressing //Pattern Fit// in the //Pattern Matching// box. This process may take several minutes. | ||
| - | |||
| - | {{ pattern_matching_Image_20.png }} | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | {{ pattern_matching_Image_21.png? | ||
| - | |||
| - | * Pressing //Pattern Distribution// | ||
| - | {{ pattern_matching_Image_22.png? | ||
| - | |||
| - | === Additional Information === | ||
| - | |||
| - | **Note:** There is a lot of possibilities to tailor the Pattern Matching Analysis to your needs and the given sample. Here are some examples using the same demonstration sample as above.\\ | ||
| - | If decay measurements of the different components are available, one can also import patterns from different measurements. | ||
| - | |||
| - | * To import a non-FRET pattern in our example: Click //Import// in the // | ||
| - | |||
| - | {{ pattern_matching_Image_23.png }} | ||
| - | |||
| - | * In the pop-up window, select the reference-measurement (in the example select //'' | ||
| - | |||
| - | {{ pattern_matching_Image_24.png }} | ||
| - | |||
| - | **Note:** This will import the overall decay of the reference measurement. Make sure the measurement contains only the desired component. To make a better selection of the pattern to be imported, open the external measurement (in the example " | ||
| - | |||
| - | * After selecting this pattern, click Save in the Patterns box. | ||
| - | |||
| - | {{ pattern_matching_Image_25.png }} | ||
| - | |||
| - | * Close the Analysis and import the saved pattern in the main analysis as described above, but instead of " | ||
| - | |||
| - | {{ pattern_matching_Image_26.png }} | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | **Note:** The fit of the overall decay can be improved by using a background pattern besides the patterns for the different regions. | ||
| - | |||
| - | * Extract the two patterns as described above and add them to the list of patterns. | ||
| - | |||
| - | {{ pattern_matching_Image_27.png }} | ||
| - | |||
| - | * Select the //Free ROI// tool in the right-click menu in the intensity image. | ||
| - | |||
| - | {{ pattern_matching_Image_28.png }} | ||
| - | |||
| - | * Mark a region in the black part of the image to extract a background pattern. | ||
| - | |||
| - | {{ pattern_matching_Image_29.png }} | ||
| - | |||
| - | **Response: | ||
| - | * The selected ROI is highlighted in the intensity image (although hardly visible at standard settings). Also the location of the selected pixels in the //Decay Diversity Map// is depicted. | ||
| - | * Click //Add ROI// in the Patterns box. | ||
| - | |||
| - | {{ pattern_matching_Image_30.png }} | ||
| - | |||
| - | **Response: | ||
| - | * The selected ROI appears as pattern in the box and its overall decay is displayed in the // | ||
| - | * Rename the new pattern by clicking on it. Change the name to " | ||
| - | * Limit the Shift values to 0 and perform an initial fit as described in the step-by-step instructions, | ||
| - | |||
| - | {{ pattern_matching_Image_31.png? | ||
| - | |||
| - | **Response: | ||
| - | * All pattern decays, the overall decay and the resulting fit are displayed in the //Fit// window. The residuals are better than before, as they show no trends or waves at all, but only noise. | ||
| - | * Start fitting the image by pressing //Pattern Fit// in the //Pattern Matching// box. This process may take several minutes. | ||
| - | |||
| - | {{ pattern_matching_Image_20.png }} | ||
| - | |||
| - | **Response: | ||
| - | |||
| - | {{ pattern_matching_Image_33.png? | ||
| - | |||
| - | * Pressing //Pattern Distribution// | ||
| - | |||
| - | {{ pattern_matching_Image_34.png? | ||