# Bologna University/Image Acquisition and Elaboration

(Difference between revisions)
 Revision as of 13:31, 22 October 2007 (view source)← Older edit Revision as of 13:32, 22 October 2007 (view source)Newer edit → Line 44: Line 44: For every spot, we take a picture and we elaborate it using the algorithm above, obtaining as output a normalized intensity value. Finally, for each of the two sets of values, we calculate mean and standard deviation; for the B test, we calculate both values either on the 10 intensities indistinctly (B1) and on the five slide means (B2). For every spot, we take a picture and we elaborate it using the algorithm above, obtaining as output a normalized intensity value. Finally, for each of the two sets of values, we calculate mean and standard deviation; for the B test, we calculate both values either on the 10 intensities indistinctly (B1) and on the five slide means (B2). Here are the results: Here are the results: - {| align="center" style="color:black;" border="1" + {| align="left" style="color:black;" border="1" |- |- - | bgcolor="white" color="white" height="30pt" align="center" | + | bgcolor="white" color="white" align="center" | '''Mean''' | bgcolor="white" color="white" align="center" | '''Mean''' | bgcolor="white" color="white" align="center" | '''Std''' | bgcolor="white" color="white" align="center" | '''Std'''

## Revision as of 13:32, 22 October 2007

Image Acquisition

Using the experimental set up illustrated here, we obtain short film segments of our fluorescent bacteria; then, with an apposite software, we extract several frames from each of them. Examples of images we get are shown below.

Image Elaboration

Since we need to know how much of the total image area is occupied by bacteria, we process the images with our segmentation algorithm implemented in Matlab.

Here are the processing phases:

• the RGB image is read and the green channel is extracted;
• a morphological top hat filtering is performed on the grayscale image;
• by means of an adaptive threshold, the image is tranformed in a binary one;
• the distance between every point and the nearest black pixel is calculated;
• on this last image the watershed algorithm is applied: every pixel is assigned a label, depending on the segmentated region it belongs; then, every labeled region is represented with a different colour, as in the images shown below;

• the area of every segmented region is calculated, checking that the summation of these areas (including the background) balances the image total area;
• two complementary matrices are created:

-ImageWithOutBackground, containing the intensity positive values corresponding only to pixels recognised as bacteria, with zeros elsewhere; -ImageBackground, which contains the intensity positive values of pixels recognised as background, with zeros as other entries;

• with a summation over all the ImageWithOutBackground matrix' entries, the total intensity is obtained;
• dividing this value by the total bacteria area, the output is the normalized intensity we use to compare the fluorescence of different kinds of bacteria.

Measures to validate acquisition and elaboration protocol

We use bacteria with I763004 plasmid, since we know all of them beam fluorescence also when not inducted; we check that the OD value is 1.2. We then execute two different observations:

• ten different spots within the same slide (test A);
• five slides, and two spots each (10 total spots, test B).

For every spot, we take a picture and we elaborate it using the algorithm above, obtaining as output a normalized intensity value. Finally, for each of the two sets of values, we calculate mean and standard deviation; for the B test, we calculate both values either on the 10 intensities indistinctly (B1) and on the five slide means (B2). Here are the results:

 Mean Std A B1 B2 97,577 96,0866 96,0866 17,58063866 18,84548307 19,06161313