Kevin Mader
3 September 2015, VT Scientific Retreat
Inspired by: imagej-pres
Proper processing and quantitative analysis is however much more difficult with images.
What does the average of an image even mean?
Furthermore in image processing there is a plethora of tools available
Look for potentially cancerous nodules in the following lung image, taken from NPR
Which center square seems brighter?
Are the intensities constant in the image?
Science demands repeatability! and really wants reproducability
Easy to follow the list, anyone with the right steps can execute and repeat (if not reproduce) the soup
Here it is harder to follow and you need to carefully keep track of what is being performed
Clearly a linear set of instructions is ill-suited for even a fairly easy soup, it is then even more difficult when there are dozens of steps and different pathsways
Furthermore a clean workflow allows you to better parallelize the task since it is clear which tasks can be performed independently
\[ \Downarrow \textrm{Represented in KNIME} \]
A very abstract definition: A pairing between spatial information (position) and some other kind of information (value).
In most cases this is a 2 dimensional position (x,y coordinates) and a numeric value (intensity)
| x | y | Intensity |
|---|---|---|
| 1 | 1 | 44 |
| 2 | 1 | 12 |
| 3 | 1 | 13 |
| 4 | 1 | 48 |
| 5 | 1 | 97 |
| 1 | 2 | 1 |
This can then be rearranged from a table form into an array form and displayed as we are used to seeing images
The next step is to apply a color map (also called lookup table, LUT) to the image so it is a bit more exciting
Which can be arbitrarily defined based on how we would like to visualize the information in the image
Formally a lookup table is a function which \[ f(\textrm{Intensity}) \rightarrow \textrm{Color} \]
These transformations can also be non-linear as is the case of the graph below where the mapping between the intensity and the color is a \( \log \) relationship meaning the the difference between the lower values is much clearer than the higher ones
On a real image the difference is even clearer
Changing a 'lookup table' can also be called “Normalization”, “Equalization”, “Auto-Enhance” and many other names. It must be used very carefully when displaying scientific results.
\[ \Downarrow \textrm{After} \]
For a 3D image, the position or spatial component has a 3rd dimension (z if it is a spatial, or t if it is a movie)
| x | y | z | Intensity |
|---|---|---|---|
| 1 | 1 | 1 | 31 |
| 2 | 1 | 1 | 93 |
| 3 | 1 | 1 | 26 |
| 1 | 2 | 1 | 98 |
| 2 | 2 | 1 | 99 |
| 3 | 2 | 1 | 28 |
This can then be rearranged from a table form into an array form and displayed as a series of slices
Control of in vitro tissue-engineered bone-like structures using human mesenchymal stem cells and porous silk scaffolds in Biomaterials 2007 by Sandra Hofmann, et. al
tissue engineered bone-like structure resulting from silk fibroin (SF) implants is pre-determined by the scaffolds’ geometry
SF scaffolds with different pore diameters were prepared and seeded with human mesenchymal stem cells (hMSC). As compared to static seeding, dynamic cell seeding in spinner flasks resulted in equal cell viability and proliferation, and better cell distribution throughout the scaffold as visualized by histology and confocal microscopy
Natural bone consists of cortical and trabecular morphologies, the latter having variable pore sizes. This study aims at engineering different bone-like structures using scaffolds with small pores (112–224 μm) in diameter on one side and large pores (400–500 μm) on the other, while keeping scaffold porosities constant among groups. We hypothesized that tissue engineered bone-like structure resulting from silk fibroin (SF) implants is pre-determined by the scaffolds’ geometry. To test this hypothesis, SF scaffolds with different pore diameters were prepared and seeded with human mesenchymal stem cells (hMSC). As compared to static seeding, dynamic cell seeding in spinner flasks resulted in equal cell viability and proliferation, and better cell distribution throughout the scaffold as visualized by histology and confocal microscopy, and was, therefore, selected for subsequent differentiation studies. Differentiation of hMSC in osteogenic cell culture medium in spinner flasks for 3 and 5 weeks resulted in increased alkaline phosphatase activity and calcium deposition when compared to control medium. Micro-computed tomography (μCT) detailed the pore structures of the newly formed tissue and suggested that the structure of tissue-engineered bone was controlled by the underlying scaffold geometry.
Copyright 2003-2013 J. Konrad in EC520 lecture, reused with permission
\[ \left[\left([b(x,y)*s_{ab}(x,y)]\otimes h_{fs}(x,y)\right)*h_{op}(x,y)\right]*h_{det}(x,y)+d_{dark}(x,y) \]
\( s_{ab} \) is the only information you are really interested in, so it is important to remove or correct for the other components
For color (non-monochromatic) images the problem becomes even more complicated \[ \int_{0}^{\infty} {\left[\left([b(x,y,\lambda)*s_{ab}(x,y,\lambda)]\otimes h_{fs}(x,y,\lambda)\right)*h_{op}(x,y,\lambda)\right]*h_{det}(x,y,\lambda)}\mathrm{d}\lambda+d_{dark}(x,y) \]
Since we know the modality, standard microscopy, we can simplify these equations a bit and basically say we have 4 primary sources of problems (warning this is a very strong oversimplification).
\[ \textrm{Output}_{image}= \left(\textbf{Illumination} * \textrm{Object}+\textbf{Dirt}\right) \otimes \textbf{PointSpreadFunction} + \textbf{CameraNoise} \]
We have refered to an object up until now, but what exactly does that mean? It depends heavily on what is being measured and how. the terms we use for this is contrast.
The light which is reflected by the object is measured by the camera.
Dark \( \downarrow \) not reflective
Can be quantitative for flat objects
The light which passes through is measured